/* ==========================================================================
   FullStack Forge — styles
   Palette: espresso · coffee · mocha · brown · terracotta · clay · peach · cream
   ========================================================================== */

:root {
    --espresso:   #24150E;
    --coffee:     #3A2419;
    --mocha:      #5E3D2C;
    --brown:      #8A5A3F;
    --terracotta: #C0643F;
    --terracotta-deep: #A24E2D;
    --clay:       #D9825B;
    --peach:      #F2B896;
    --apricot:    #F8D8C2;
    --cream:      #F5EADA;
    --linen:      #EEDFCB;
    --sand:       #E4CFB6;

    --ink:   var(--espresso);
    --muted: #6E5546;
    --line:  rgba(36, 21, 14, .12);

    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans:  'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius: 22px;
    --radius-sm: 12px;
    --shadow: 0 30px 60px -28px rgba(36, 21, 14, .35);
    --shadow-sm: 0 10px 24px -14px rgba(36, 21, 14, .3);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
/* subtle paper grain */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.02em; }
h1 em, h2 em, h3 em, h4 em { font-style: italic; color: var(--terracotta); font-weight: 300; }
p { margin: 0; }
::selection { background: var(--peach); color: var(--espresso); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--espresso); color: var(--cream); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 5px rgba(192, 100, 63, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(192, 100, 63, 0); } }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--espresso); --fg: var(--cream);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    background: var(--bg); color: var(--fg);
    font-weight: 500; font-size: 15.5px; text-decoration: none; line-height: 1;
    transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { --bg: var(--terracotta); --fg: #fff; box-shadow: 0 14px 28px -14px rgba(192, 100, 63, .8); }
.btn--primary:hover { --bg: var(--terracotta-deep); }
.btn--dark { --bg: var(--espresso); --fg: var(--cream); }
.btn--dark:hover { --bg: var(--terracotta); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: rgba(36, 21, 14, .25); }
.btn--outline:hover { --bg: var(--espresso); --fg: var(--cream); border-color: var(--espresso); }
.btn--sm { padding: 11px 20px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
    position: fixed; inset: 0 0 auto; z-index: 50;
    padding: 16px 0;
    transition: padding .45s var(--ease);
}
.nav__inner {
    position: relative; isolation: isolate;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding-block: 8px;
    border-radius: 999px;
    transition: padding .45s var(--ease), max-width .45s var(--ease);
}
/* The pill's glass lives on its own layer: a blur on .nav__inner itself would
   trap the full-screen mobile menu (position: fixed) inside the pill. */
.nav__inner::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border-radius: inherit;
    background: rgba(36, 21, 14, .86);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: 0 18px 40px -18px rgba(20, 10, 5, .55), inset 0 0 0 1px rgba(251, 244, 236, .08);
    opacity: 0;
    transition: opacity .45s var(--ease);
}
.nav.is-scrolled { padding: 10px 0; }
.nav.is-scrolled .nav__inner { max-width: calc(var(--container) + 24px); padding: 8px 8px 8px 22px; }
.nav.is-scrolled .nav__inner::before { opacity: 1; }
.nav.is-scrolled .brand__word { color: var(--cream); }
.nav.is-scrolled .brand__word span { color: var(--peach); }
.nav.is-scrolled .nav__links a:not(.btn) { color: rgba(251, 244, 236, .72); }
.nav.is-scrolled .nav__links a:not(.btn):hover { color: var(--cream); }
.nav.is-scrolled .nav__links a:not(.btn)::after { background: var(--peach); }
.nav.is-scrolled .nav__cta { --bg: var(--terracotta); --fg: #fff; }
.nav.is-scrolled .nav__toggle { background: rgba(251, 244, 236, .1); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { height: 34px; width: auto; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.05); }
.brand__word { font-family: 'Outfit', var(--sans); font-weight: 500; font-size: 23px; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.brand__word span { color: var(--terracotta); }
.brand--light .brand__word { color: var(--cream); }
.brand--light .brand__word span { color: var(--peach); }
.brand--lg { gap: 18px; }
.brand--lg .brand__mark { height: 50px; }
.brand--lg .brand__word { font-size: 34px; }
.brand__rule { width: 1px; align-self: stretch; background: rgba(242, 184, 150, .45); }
.brand__stack { display: grid; gap: 8px; }
.brand__tag { font-family: 'Outfit', var(--sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(251, 244, 236, .75); white-space: nowrap; }
.brand__tag i { font-style: normal; color: var(--peach); margin: 0 4px; }
@media (max-width: 420px) {
    .brand--lg { gap: 12px; }
    .brand--lg .brand__mark { height: 40px; }
    .brand--lg .brand__word { font-size: 27px; }
    .brand__tag { font-size: 9px; letter-spacing: .18em; }
    .brand__tag i { margin: 0 2px; }
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { font-size: 15px; text-decoration: none; color: var(--muted); position: relative; transition: color .25s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--terracotta); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--espresso); border-radius: 50%; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--cream); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav.is-scrolled .nav__inner { margin-inline: 12px; width: auto; padding-left: 18px; }
    .nav__toggle { display: block; }
    /* compact dropdown card under the bar, page stays visible behind it */
    .nav__links {
        position: absolute; top: calc(100% + 8px); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        padding: 8px;
        border-radius: 22px;
        background: rgba(36, 21, 14, .97);
        box-shadow: 0 24px 50px -20px rgba(20, 10, 5, .6), inset 0 0 0 1px rgba(251, 244, 236, .08);
        opacity: 0; visibility: hidden;
        transform: translateY(-8px) scale(.98); transform-origin: top center;
        transition: opacity .25s, transform .3s var(--ease), visibility .25s;
    }
    .nav:not(.is-scrolled) .nav__links { left: var(--gutter); right: var(--gutter); }
    .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__links a:not(.btn), .nav.is-scrolled .nav__links a:not(.btn) {
        padding: 13px 14px; border-radius: 14px;
        font-size: 16px; color: rgba(251, 244, 236, .88);
    }
    .nav__links a:not(.btn)::after { display: none; }
    .nav__links a:not(.btn):hover { background: rgba(251, 244, 236, .07); color: var(--cream); }
    .nav__links .nav__cta { --bg: var(--terracotta); --fg: #fff; margin-top: 6px; padding: 14px; }
}
/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: clamp(120px, 16vw, 170px) 0 clamp(60px, 8vw, 100px);
    background:
        radial-gradient(60% 60% at 85% 20%, rgba(242, 184, 150, .55), transparent 70%),
        radial-gradient(40% 50% at 5% 90%, rgba(232, 214, 195, .7), transparent 70%),
        var(--cream);
    overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__title { font-size: clamp(44px, 6.6vw, 88px); font-weight: 350; margin-bottom: 26px; }
.hero__lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 34em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }
.assurances { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.assurances li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.assurances li::before {
    content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
    background: var(--apricot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%23A24E2D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* hero visual */
/* hero visual: an example client site on a phone, with what happens behind the scenes */
.hero__visual { position: relative; display: grid; place-items: center; width: 100%; max-width: 480px; min-height: 520px; justify-self: end; }
.hero__visual > * { transition: transform .5s var(--ease); }
.hv-glow {
    position: absolute; width: 84%; aspect-ratio: 1;
    background: linear-gradient(160deg, var(--peach), var(--clay) 55%, var(--terracotta));
    border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
    animation: morph 14s ease-in-out infinite;
}
@keyframes morph { 50% { border-radius: 56% 44% 58% 42% / 42% 56% 44% 58%; transform: rotate(6deg) scale(1.02); } }
@keyframes rise { 50% { transform: translateY(-14%); } }

.hv-phone { position: relative; width: 232px; padding: 8px; border-radius: 40px; background: var(--espresso); box-shadow: 0 50px 90px -30px rgba(36, 21, 14, .6), inset 0 0 0 1px rgba(255, 255, 255, .06); }
/* the phone cycles through three example businesses, each with its own colours */
.hv-screen {
    --s-bg: #12202D; --s-ink: #EEF2F6; --s-acc: #F2B33D; --s-on-acc: #12202D; --s-soft: #1D3142; --s-card: #182A3A; --s-muted: #A9B6C4; --s-line: rgba(238, 242, 246, .12);
    position: relative; height: 484px; border-radius: 32px; overflow: hidden;
    background: var(--s-bg); color: var(--s-ink);
    transition: background .6s, color .6s;
}
.hv-screen[data-site="cafe"] { --s-bg: #F6F1E7; --s-ink: #1F2A22; --s-acc: #2F5D46; --s-on-acc: #F6F1E7; --s-soft: #DCE6D9; --s-card: #FFFDF8; --s-muted: #5E6B60; --s-line: rgba(31, 42, 34, .12); }
.hv-screen[data-site="spa"]  { --s-bg: #F4F2F9; --s-ink: #2A2540; --s-acc: #6A5ACD; --s-on-acc: #FFFFFF; --s-soft: #E2DDF3; --s-card: #FFFFFF; --s-muted: #6C6685; --s-line: rgba(42, 37, 64, .12); }
.hv-status { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 8px 22px 0; font-size: 11px; font-weight: 600; }
.hv-status i { width: 74px; height: 20px; border-radius: 99px; background: #000; }
.hv-status span:last-child { font-size: 6px; letter-spacing: 1px; }
.hv-site { position: absolute; inset: 36px 0 auto; padding: 6px 15px 15px; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); }
.hv-site.is-on { opacity: 1; transform: none; }
.hv-sitenav { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 14px; margin-bottom: 16px; border-bottom: 1px solid var(--s-line); }
.hv-sitenav b { font-size: 13px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.hv-sitenav b i { font-style: normal; color: var(--s-acc); }
.hv-burger { width: 18px; height: 10px; border-block: 2px solid var(--s-ink); opacity: .7; }
.hv-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--s-soft); font-size: 10px; white-space: nowrap; }
.hv-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--s-acc); }
.hv-h { margin: 12px 0 8px; font-size: 22px; font-weight: 600; line-height: 1.02; letter-spacing: -.04em; }
.hv-h span { color: var(--s-acc); }
.hv-p { margin-bottom: 14px; font-size: 11.5px; line-height: 1.45; color: var(--s-muted); }
.hv-quote { padding: 14px; border-radius: 16px; background: var(--s-card); border: 1px solid var(--s-line); }
.hv-quote small { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--s-muted); }
.hv-qchips { display: flex; gap: 5px; margin: 8px 0 12px; }
.hv-qchips span { white-space: nowrap; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--s-line); font-size: 10.5px; }
.hv-qchips .on { background: var(--s-ink); border-color: var(--s-ink); color: var(--s-bg); }
.hv-qprice { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--s-acc); white-space: nowrap; }
.hv-qnote { display: block; font-size: 10px; color: var(--s-muted); }
.hv-qbtn { display: block; margin-top: 12px; padding: 9px; border-radius: 99px; background: var(--s-acc); color: var(--s-on-acc); font-size: 12px; font-weight: 600; text-align: center; }
.hv-rating { margin-top: 14px; font-size: 9.5px; color: var(--s-muted); white-space: nowrap; }
.hv-rating span { color: var(--s-acc); letter-spacing: 1px; }

.hv-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    max-width: 262px; padding: 11px 16px 11px 11px;
    border-radius: 16px;
    background: rgba(251, 244, 236, .97);
    box-shadow: var(--shadow);
    animation: cardIn .8s var(--ease) backwards;
}
.hv-card small { display: block; font-size: 11px; line-height: 1.3; color: var(--muted); }
.hv-card strong { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.hv-card__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--apricot); font-size: 16px; }
.hv-card__icon--ok { background: var(--terracotta); color: #fff; font-weight: 700; }
.hv-card__icon--logo { background: rgba(251, 244, 236, .08); }
.hv-card__icon--logo img { width: 22px; }
.hv-card--a { top: 8%; right: -4%; background: linear-gradient(150deg, #7A5039, #5E3D2C); color: var(--cream); animation-delay: .5s; }
.hv-card--a small { color: rgba(251, 244, 236, .6); }
.hv-card--b { top: 44%; left: -22%; animation-delay: 1.2s; }
.hv-card--c { bottom: 6%; right: -6%; animation-delay: 1.9s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.eyebrow .sep { font-style: normal; opacity: .55; }

.hv-feed-head, .hv-time { display: none; }

/* tablet and phone: the phone mockup becomes one tidy activity feed card */
@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; gap: 36px; }
    .hero__visual {
        display: block; place-items: normal; justify-self: stretch; max-width: 460px; min-height: 0;
        padding: 18px 18px 6px;
        border-radius: 24px;
        background: linear-gradient(160deg, #7A5039 0%, #5E3D2C 55%, #4E3123 100%);
        color: var(--cream);
        box-shadow: 0 30px 60px -30px rgba(78, 49, 35, .6);
    }
    .hv-glow, .hv-phone { display: none; }
    .hv-feed-head { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin: 0 0 4px; text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(251, 244, 236, .55); }
    .hv-live { width: 7px; height: 7px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 4px rgba(242, 184, 150, .18); animation: pulse 2.4s infinite; }
    .hv-card, .hv-card--a, .hv-card--b, .hv-card--c, .hv-card--a {
        position: static; width: 100%; max-width: none; margin: 0;
        padding: 14px 0; gap: 12px;
        border-radius: 0; border-top: 1px solid rgba(251, 244, 236, .09);
        background: none; box-shadow: none; color: var(--cream);
        transform: none !important;
    }
    .hv-card--a { border-top: 0; }
    .hv-card > div { flex: 1; min-width: 0; }
    .hv-card small, .hv-card--a small { color: rgba(251, 244, 236, .55); }
    .hv-card strong { font-size: 14px; }
    .hv-card__icon { width: 36px; height: 36px; border-radius: 11px; background: rgba(251, 244, 236, .08); font-size: 15px; }
    .hv-card__icon--ok { background: var(--terracotta); }
    .hv-time { display: block; align-self: flex-start; padding-top: 2px; font-style: normal; font-size: 11.5px; color: rgba(251, 244, 236, .45); white-space: nowrap; }
}
/* ---------- Marquee ---------- */
.marquee { background: var(--espresso); color: var(--apricot); overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); font-style: italic; font-weight: 300; white-space: nowrap; }
.marquee i { color: var(--terracotta); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { max-width: 820px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.section__head h2 { font-size: clamp(36px, 4.8vw, 62px); font-weight: 350; margin-bottom: 18px; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 36em; margin-inline: auto; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head--left p:not(.eyebrow) { margin-inline: 0; }
.section__head--light h2 { color: var(--cream); }
.section__head--light h2 em { color: var(--peach); }
.section__head--light p:not(.eyebrow) { color: rgba(251, 244, 236, .7); }
.section__head--light .eyebrow { color: var(--peach); }

/* ---------- Services ---------- */
.services { background: var(--linen); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
    padding: 34px 28px 36px;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: transform .45s var(--ease), box-shadow .45s, background .45s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--apricot); color: var(--terracotta-deep); margin-bottom: 26px; transition: background .4s, color .4s, transform .4s var(--ease); }
.service__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .service__icon { background: var(--terracotta); color: #fff; transform: rotate(-6deg); }
.service h3 { font-size: 24px; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .services__grid { grid-template-columns: 1fr; } }

/* ---------- Showcase ---------- */
.showcase {
    background:
        radial-gradient(50% 40% at 50% 0%, rgba(192, 100, 63, .25), transparent 70%),
        var(--espresso);
    color: var(--cream);
}
.studio {
    display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px;
    padding: 22px;
    background: rgba(251, 244, 236, .04);
    border: 1px solid rgba(251, 244, 236, .09);
    border-radius: 30px;
}
.studio__controls { display: flex; flex-direction: column; gap: 26px; padding: 8px 4px; min-width: 0; }
.control__label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(251, 244, 236, .55); margin-bottom: 12px; }

.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills button {
    padding: 9px 15px; border-radius: 99px;
    border: 1px solid rgba(251, 244, 236, .14);
    background: rgba(251, 244, 236, .04);
    color: rgba(251, 244, 236, .82);
    font-size: 14px;
    transition: background .25s, color .25s, border-color .25s;
}
.pills button:hover { border-color: rgba(251, 244, 236, .4); color: var(--cream); }
.pills button[aria-pressed="true"] { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.pills--light button { border-color: var(--line); background: transparent; color: var(--muted); }
.pills--light button:hover { border-color: rgba(36, 21, 14, .35); color: var(--ink); }
.pills--light button[aria-pressed="true"] { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

.features { display: grid; gap: 6px; }
.feature {
    position: relative;
    display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px;
    padding: 9px 12px;
    border-radius: 14px;
    border: 1px solid rgba(251, 244, 236, .08);
    background: rgba(251, 244, 236, .03);
    cursor: pointer;
    transition: background .25s, border-color .25s;
}
.feature:hover { border-color: rgba(251, 244, 236, .22); }
.feature input { position: absolute; opacity: 0; pointer-events: none; }
.feature__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(251, 244, 236, .07); color: var(--peach); transition: background .25s, color .25s; }
.feature__icon svg { width: 18px; height: 18px; }
.feature__text { min-width: 0; }
.feature__text b { display: block; font-weight: 500; font-size: 14.5px; color: var(--cream); line-height: 1.25; }
.feature__text small { font-size: 12px; color: rgba(251, 244, 236, .5); }
.feature .switch { width: 38px; height: 22px; background: rgba(251, 244, 236, .16); }
.feature .switch span { width: 16px; height: 16px; }
.feature input:checked ~ .switch { background: var(--terracotta); }
.feature input:checked ~ .switch span { transform: translateX(16px); }
.feature:has(input:checked) { background: rgba(192, 100, 63, .14); border-color: rgba(217, 130, 91, .4); }
.feature:has(input:checked) .feature__icon { background: var(--terracotta); color: #fff; }
.feature input:focus-visible ~ .switch { outline: 2px solid var(--peach); outline-offset: 2px; }

.feature__icon svg, .seg svg, .tabs svg, .flow__icon svg, .dash__nav svg {
    fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.studio__stage {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    padding: 16px 22px 26px;
    background:
        radial-gradient(circle at 1px 1px, rgba(251, 244, 236, .09) 1px, transparent 0) 0 0 / 22px 22px,
        rgba(0, 0, 0, .18);
    border-radius: 20px;
    min-width: 0;
}
.stage__bar { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: flex; gap: 6px; }
.seg button {
    display: grid; place-items: center;
    width: 44px; height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(251, 244, 236, .12);
    background: rgba(251, 244, 236, .04);
    color: rgba(251, 244, 236, .8);
    transition: background .25s, color .25s, border-color .25s;
}
.seg button:hover { border-color: rgba(251, 244, 236, .35); color: var(--cream); }
.seg button[aria-pressed="true"] { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.seg svg { width: 20px; height: 20px; }
.stage__summary { display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(251, 244, 236, .7); flex-wrap: wrap; }
.stage__summary b { color: var(--cream); font-weight: 600; }

.frame {
    flex: 1; display: flex; flex-direction: column; min-height: 0;
    width: 100%; max-width: 100%;
    background: var(--coffee);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(251, 244, 236, .1);
    transition: max-width .7s var(--ease), border-radius .7s var(--ease);
}
.frame[data-device="tablet"] { max-width: 640px; border-radius: 26px; }
.frame[data-device="mobile"] { max-width: 360px; border-radius: 34px; }
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #2F1D14; }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(251, 244, 236, .18); }
.frame__bar i:first-child { background: var(--clay); }
.frame__bar span { flex: 1; text-align: center; font-size: 12px; color: rgba(251, 244, 236, .6); background: rgba(0, 0, 0, .22); border-radius: 99px; padding: 4px 12px; margin: 0 24px 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame[data-device="mobile"] .frame__bar i { display: none; }
.frame[data-device="mobile"] .frame__bar span { margin: 0; }
.frame__screen { flex: 1 1 0; min-height: 620px; overflow-y: auto; overflow-x: hidden; container-type: inline-size; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .25) transparent; overscroll-behavior: contain; }

@media (max-width: 1000px) {
    .studio { grid-template-columns: 1fr; padding: 16px; }
    .features { grid-template-columns: 1fr 1fr; }
    .studio__stage { padding: 14px; }
}
@media (max-width: 640px) {
    .studio { padding: 12px; gap: 16px; border-radius: 24px; }
    .studio__controls { gap: 20px; padding: 6px 4px 0; }
    .features { grid-template-columns: 1fr 1fr; gap: 6px; }
    .feature { grid-template-columns: 26px 1fr; gap: 8px; padding: 9px 10px; border-radius: 12px; }
    .feature__icon { width: 26px; height: 26px; border-radius: 8px; }
    .feature__icon svg { width: 15px; height: 15px; }
    .feature__text b { font-size: 13px; }
    .feature__text small, .feature .switch { display: none; }
    .seg { display: none; }
    .studio__stage { padding: 0; background: none; gap: 12px; }
    .stage__summary { width: 100%; justify-content: space-between; }
    .frame { border-radius: 18px; }
    .frame__screen { flex: none; height: 560px; min-height: 0; }
}

/* ---------- Preview mini-site (.pv) ---------- */
.pv {
    --pbg: #FBF4EC; --pink: #2B1A12; --pacc: #C0643F; --psoft: #F3DCCB; --pmuted: #7A6152; --pcard: #FFF9F3; --pline: rgba(43, 26, 18, .1);
    --phead: var(--serif); --pbody: var(--sans); --phw: 380; --pls: -.02em;
    min-height: 100%;
    background: var(--pbg);
    color: var(--pink);
    font-family: var(--pbody);
    font-size: 15px;
    line-height: 1.55;
    transition: background .6s var(--ease), color .6s var(--ease);
    position: relative;
}
/* Example-client palettes — deliberately different from FullStack Forge's own brand */
.pv[data-theme="navy"]   { --pbg: #12202D; --pink: #EEF2F6; --pacc: #F2B33D; --psoft: #1D3142; --pmuted: #A9B6C4; --pcard: #182A3A; --pline: rgba(238, 242, 246, .12); }
.pv[data-theme="forest"] { --pbg: #F6F1E7; --pink: #1F2A22; --pacc: #2F5D46; --psoft: #DCE6D9; --pmuted: #5E6B60; --pcard: #FFFDF8; --pline: rgba(31, 42, 34, .12); }
.pv[data-theme="lilac"]  { --pbg: #F4F2F9; --pink: #2A2540; --pacc: #6A5ACD; --psoft: #E2DDF3; --pmuted: #6C6685; --pcard: #FFFFFF; --pline: rgba(42, 37, 64, .1); }
.pv[data-theme="cobalt"] { --pbg: #FAF8F3; --pink: #161616; --pacc: #2F4BD8; --psoft: #E4E8FB; --pmuted: #5E5E66; --pcard: #FFFFFF; --pline: rgba(22, 22, 22, .1); }
.pv[data-theme="olive"]  { --pbg: #ECEAE3; --pink: #1A1A17; --pacc: #5E6232; --psoft: #D9D8C8; --pmuted: #66665C; --pcard: #F6F5F0; --pline: rgba(26, 26, 23, .12); }
.pv[data-font="modern"]    { --phead: var(--sans); --phw: 600; --pls: -.035em; }
.pv[data-font="editorial"] { --phead: 'Cormorant Garamond', Georgia, serif; --phw: 500; --pls: -.01em; }

.pv h3, .pv h4, .pv h5, .pv .pv-logo { font-family: var(--phead); font-weight: var(--phw); letter-spacing: var(--pls); }
.pv h4 em, .pv h3 em { font-style: italic; color: var(--pacc); font-weight: inherit; }
.pv[data-font="modern"] h3 em { font-style: normal; }
.pv-inner { transition: opacity .35s, transform .35s var(--ease); }
.pv.is-swapping .pv-inner { opacity: 0; transform: translateY(8px); }

.pv-nav { display: flex; align-items: center; gap: 18px; padding: 18px clamp(18px, 5cqi, 44px); border-bottom: 1px solid var(--pline); }
.pv-logo { font-size: 21px; margin-right: auto; white-space: nowrap; }
.pv-logo i { font-style: italic; color: var(--pacc); }
.pv[data-font="modern"] .pv-logo i { font-style: normal; }
.pv-links { display: flex; gap: 20px; font-size: 14px; color: var(--pmuted); }
.pv[data-font="editorial"] .pv-links { text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; }
.pv-cart {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px; border-radius: 99px;
    border: 1px solid var(--pline); background: transparent; color: var(--pink); font-size: 13px;
}
.pv-cart b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--pacc); color: var(--pbg); font-size: 11px; font-weight: 600; }
.pv-cart.bump b { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.pv-pill { padding: 9px 15px; border-radius: 99px; border: 0; background: var(--pacc); color: var(--pbg); font-size: 13px; font-weight: 500; white-space: nowrap; }

.pv-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4cqi, 48px); align-items: center; padding: clamp(28px, 6cqi, 64px) clamp(18px, 5cqi, 44px); }
.pv-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; padding: 6px 12px; border-radius: 99px; background: var(--psoft); color: var(--pink); margin-bottom: 18px; }
.pv-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pacc); }
.pv-hero h3 { font-size: clamp(30px, 6.4cqi, 60px); line-height: 1.02; margin-bottom: 16px; }
.pv-hero p { color: var(--pmuted); max-width: 30em; margin-bottom: 24px; }
.pv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pv-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; border: 1.5px solid var(--pacc); background: var(--pacc); color: var(--pbg); font-size: 14px; font-weight: 500; transition: transform .25s var(--ease), filter .25s, opacity .25s; }
.pv-btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.pv-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: none; }
.pv-btn--ghost { background: transparent; color: var(--pink); border-color: var(--pline); }

/* hero art */
.pv-art { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden; background: linear-gradient(180deg, var(--psoft), color-mix(in srgb, var(--pacc) 70%, var(--psoft))); }
.pv-art span { position: absolute; display: block; }
.pv-art .a1 { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--pbg); left: 27%; top: 22%; opacity: .92; animation: rise 7s ease-in-out infinite; }
.pv-art .a2 { left: 0; right: 0; bottom: 0; height: 34%; background: color-mix(in srgb, var(--pacc) 85%, black 15%); border-radius: 60% 60% 0 0 / 40% 40% 0 0; }
.pv-art .a3 { left: 12%; right: 12%; bottom: 22%; height: 2px; background: var(--pbg); opacity: .5; }

.pv-art[data-art="trades"] { border-radius: 18px; background: linear-gradient(180deg, var(--psoft) 0 70%, color-mix(in srgb, var(--pink) 14%, var(--psoft)) 70%); }
.pv-art[data-art="trades"] .a1 { width: 22%; left: auto; right: 12%; top: 10%; background: var(--pacc); opacity: 1; }
.pv-art[data-art="trades"] .a2 { left: 18%; right: auto; width: 60%; bottom: 30%; height: 42%; border-radius: 0; clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); background: var(--pink); }
.pv-art[data-art="trades"] .a3 { left: 42%; right: auto; width: 12%; bottom: 30%; height: 16%; border-radius: 6px 6px 0 0; background: var(--pacc); opacity: 1; }

.pv-art[data-art="studio"] { border-radius: 18px; background: linear-gradient(135deg, var(--psoft), color-mix(in srgb, var(--pacc) 55%, var(--psoft))); }
.pv-art[data-art="studio"] .a1 { width: 50%; height: 62%; aspect-ratio: auto; border-radius: 999px 999px 0 0; top: auto; bottom: 0; left: 25%; animation: none; opacity: .85; }
.pv-art[data-art="studio"] .a2 { width: 24%; height: auto; aspect-ratio: 1; border-radius: 50%; left: auto; right: 12%; top: 12%; bottom: auto; }
.pv-art[data-art="studio"] .a3 { left: 8%; right: 8%; bottom: 0; height: 12%; background: var(--pink); opacity: .85; }

.pv-art[data-art="boutique"] { border-radius: 18px; background: linear-gradient(180deg, var(--psoft) 0 62%, color-mix(in srgb, var(--pacc) 25%, var(--psoft)) 62%); }
.pv-art[data-art="boutique"] .a1 { width: 38%; height: 48%; aspect-ratio: auto; left: 31%; top: 16%; border-radius: 40% 40% 46% 46% / 28% 28% 70% 70%; background: var(--pacc); opacity: 1; animation: sway 6s ease-in-out infinite; transform-origin: bottom center; }
.pv-art[data-art="boutique"] .a2 { width: 22%; height: auto; aspect-ratio: 1; left: 15%; top: auto; bottom: 30%; border-radius: 50% 50% 12px 12px; background: var(--pink); }
.pv-art[data-art="boutique"] .a3 { left: 8%; right: 8%; bottom: 37%; height: 2px; background: var(--pink); opacity: .25; }
@keyframes sway { 50% { transform: rotate(-3deg); } }

.pv-art[data-art="wellness"] { border-radius: 50%; aspect-ratio: 1; background: radial-gradient(circle, var(--pbg) 0 18%, var(--psoft) 18% 36%, color-mix(in srgb, var(--pacc) 40%, var(--psoft)) 36% 56%, color-mix(in srgb, var(--pacc) 75%, var(--psoft)) 56%); }
.pv-art[data-art="wellness"] .a1 { inset: 0; width: auto; aspect-ratio: auto; border-radius: 50%; background: transparent; border: 2px solid var(--pbg); opacity: .5; animation: ripple 4s ease-out infinite; }
.pv-art[data-art="wellness"] .a2, .pv-art[data-art="wellness"] .a3 { display: none; }
@keyframes ripple { from { transform: scale(.25); opacity: .9; } to { transform: scale(1); opacity: 0; } }

/* modules */
.pv-module { padding: clamp(24px, 5cqi, 44px) clamp(18px, 5cqi, 44px); border-top: 1px solid var(--pline); }
.pv-module.is-new { animation: modIn 1s var(--ease); }
@keyframes modIn { from { opacity: 0; transform: translateY(16px); } }
.pv-mhead { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pv-mhead h4 { font-size: clamp(20px, 3.4cqi, 30px); }
.pv-mhead span { font-size: 13px; color: var(--pmuted); }
.pv-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--pmuted); margin: 0 0 8px; }
.pv-label:not(:first-child) { margin-top: 18px; }
.pv-label b { color: var(--pink); font-weight: 600; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-chips button { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--pline); background: transparent; color: var(--pink); font-size: 13px; transition: background .25s, color .25s, border-color .25s; }
.pv-chips button:hover { border-color: var(--pacc); }
.pv-chips button.is-on { background: var(--pink); color: var(--pbg); border-color: var(--pink); }
.pv-chips small { opacity: .7; font-size: 11px; }
.pv-range { width: 100%; accent-color: var(--pacc); }

/* quote form: step by step (unlike FullStack Forge's own estimator) */
.pv-wiz { max-width: 560px; padding: 20px; border-radius: 20px; background: var(--pcard); border: 1px solid var(--pline); }
.pv-wiz__top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 12px; color: var(--pmuted); white-space: nowrap; }
.pv-wiz__bar { flex: 1; height: 4px; border-radius: 99px; background: var(--psoft); overflow: hidden; }
.pv-wiz__bar i { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: var(--pacc); transition: width .4s var(--ease); }
.pv-wiz__panel { animation: fadeUp .35s var(--ease); }
.pv-wiz__q { margin-bottom: 12px; font-family: var(--phead); font-weight: var(--phw); font-size: 19px; letter-spacing: var(--pls); }
.pv-tiles { display: grid; gap: 8px; }
.pv-tile { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--pline); background: var(--pbg); color: var(--pink); text-align: left; transition: border-color .2s, transform .2s var(--ease); }
.pv-tile:hover { border-color: var(--pacc); transform: translateX(3px); }
.pv-tile b { font-weight: 600; font-size: 14.5px; }
.pv-tile small { grid-row: 2; font-size: 12.5px; color: var(--pmuted); }
.pv-tile span { grid-row: 1 / 3; grid-column: 2; color: var(--pacc); font-size: 18px; }
.pv-stepper { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 18px; border-radius: 14px; background: var(--pbg); border: 1px solid var(--pline); font-size: 14px; }
.pv-stepper div { display: flex; align-items: center; gap: 14px; }
.pv-stepper button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pline); background: var(--pcard); color: var(--pink); font-size: 18px; line-height: 1; }
.pv-stepper button:hover { border-color: var(--pacc); }
.pv-stepper b { min-width: 24px; text-align: center; font-size: 16px; }
.pv-opts { display: grid; gap: 6px; margin-bottom: 18px; }
.pv-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--pline); background: transparent; color: var(--pink); font-size: 14px; text-align: left; }
.pv-opt::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--pline); box-sizing: border-box; }
.pv-opt span { flex: 1; }
.pv-opt small { font-size: 12px; color: var(--pmuted); }
.pv-opt.is-on { border-color: var(--pacc); }
.pv-opt.is-on::before { border: 5px solid var(--pacc); }
.pv-wiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pv-link { border: 0; background: none; padding: 8px 2px; color: var(--pmuted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.pv-wiz__price { padding: 18px; margin-bottom: 14px; border-radius: 16px; background: var(--psoft); }
.pv-wiz__price small { display: block; font-size: 12px; color: var(--pmuted); }
.pv-wiz__price strong { display: block; margin: 2px 0 4px; font-family: var(--phead); font-weight: var(--phw); font-size: clamp(26px, 4.6cqi, 36px); line-height: 1.1; letter-spacing: -.02em; color: var(--pacc); }
.pv-wiz__price span { font-size: 12.5px; color: var(--pmuted); }
.pv-wiz__form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.pv-wiz__form input { min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--pline); background: var(--pbg); color: var(--pink); font: inherit; font-size: 14px; }
.pv-wiz__form input:focus { outline: 2px solid var(--pacc); outline-offset: 1px; }
.pv-wiz__note { margin-top: 12px; font-size: 12px; color: var(--pmuted); }
.pv-wiz__note .pv-link { padding: 0; margin-left: 6px; font-size: 12px; color: var(--pink); }
.pv-tile--unsure { background: transparent; border-style: dashed; }
.pv-tile--unsure b { color: var(--pacc); }
.pv-wiz__alert { display: grid; gap: 6px; justify-items: start; padding: 14px 16px; margin-bottom: 16px; border-radius: 14px; border: 1px solid #E5484D; background: color-mix(in srgb, #E5484D 14%, var(--pcard)); font-size: 13px; line-height: 1.45; }
.pv-wiz__alert b { font-size: 14px; }
.pv-wiz__alert .pv-btn { margin-top: 4px; background: #E5484D; border-color: #E5484D; color: #fff; }
.pv-wiz__text { display: block; width: 100%; min-height: 64px; padding: 12px 14px; margin-bottom: 8px; border-radius: 12px; border: 1px solid var(--pline); background: var(--pbg); color: var(--pink); font: inherit; font-size: 14px; resize: vertical; }
.pv-wiz__text:focus { outline: 2px solid var(--pacc); outline-offset: 1px; }
.pv-photo { margin-bottom: 18px; padding: 9px 14px; border-radius: 10px; border: 1px dashed var(--pline); background: transparent; color: var(--pink); font-size: 13px; }
.pv-photo:hover { border-color: var(--pacc); }
.pv-photo.is-on { border-style: solid; border-color: var(--pacc); color: var(--pacc); }
.pv-wiz__match { margin-bottom: 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--pline); font-size: 13px; line-height: 1.45; color: var(--pink); }
/* booking */
.pv-chips--days { margin-bottom: 12px; }
.pv-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 16px; }
.pv-slots button { padding: 12px 8px; border-radius: 12px; border: 1px solid var(--pline); background: var(--pcard); color: var(--pink); font-size: 13.5px; transition: all .25s; }
.pv-slots button:hover { border-color: var(--pacc); }
.pv-slots button.is-on { background: var(--pacc); color: var(--pbg); border-color: var(--pacc); }
.pv-slots button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

/* shop + gallery thumbs */
.pv-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pv-card { background: var(--pcard); border: 1px solid var(--pline); border-radius: 16px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.pv-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .45); }
.pv-thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--psoft); overflow: hidden; }
.pv-thumb::before, .pv-thumb::after { content: ""; position: absolute; }
:is(.pv-card, .pv-gal):nth-child(1) .pv-thumb { background: linear-gradient(160deg, var(--psoft), color-mix(in srgb, var(--pacc) 45%, var(--psoft))); }
:is(.pv-card, .pv-gal):nth-child(1) .pv-thumb::before { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--pacc); left: 27%; top: 26%; }
:is(.pv-card, .pv-gal):nth-child(2) .pv-thumb { background: color-mix(in srgb, var(--pacc) 80%, var(--pink) 20%); }
:is(.pv-card, .pv-gal):nth-child(2) .pv-thumb::before { width: 40%; height: 70%; border-radius: 999px 999px 0 0; background: var(--psoft); left: 30%; bottom: 0; }
:is(.pv-card, .pv-gal):nth-child(3) .pv-thumb { background: var(--pink); }
:is(.pv-card, .pv-gal):nth-child(3) .pv-thumb::before { width: 60%; height: 40%; border-radius: 50% 50% 8px 8px / 100% 100% 8px 8px; background: var(--pacc); left: 20%; bottom: 20%; }
:is(.pv-card, .pv-gal):nth-child(3) .pv-thumb::after { width: 14%; aspect-ratio: 1; border-radius: 50%; background: var(--psoft); right: 16%; top: 16%; }
:is(.pv-card, .pv-gal):nth-child(4) .pv-thumb { background: linear-gradient(180deg, var(--psoft), var(--pbg)); }
:is(.pv-card, .pv-gal):nth-child(4) .pv-thumb::before { inset: 22% 22%; border-radius: 50%; border: 10px solid var(--pacc); }
.pv-card__body { padding: 12px 14px 14px; }
.pv-card__body h5 { margin: 0 0 4px; font-size: 16px; line-height: 1.25; }
.pv-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--pmuted); }
.pv-add { padding: 6px 11px; border-radius: 99px; border: 1px solid var(--pline); background: transparent; color: var(--pink); font-size: 12px; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.pv-add:hover { border-color: var(--pacc); }
.pv-add.is-on { background: var(--pacc); border-color: var(--pacc); color: var(--pbg); }

.pv-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; grid-auto-flow: dense; }
.pv-gal { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; background: none; cursor: zoom-in; transition: transform .35s var(--ease); }
.pv-gal:hover { transform: scale(1.02); }
.pv-gal .pv-thumb { position: absolute; inset: 0; aspect-ratio: auto; }
.pv-gal.is-open { grid-column: span 2; aspect-ratio: auto; cursor: zoom-out; }
.pv-gal__cap { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px 10px; border-radius: 8px; background: color-mix(in srgb, var(--pbg) 88%, transparent); color: var(--pink); font-size: 12px; text-align: left; }

/* reviews */
.pv-reviews { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 12px; }
.pv-rating { padding: 20px; border-radius: 18px; background: var(--psoft); display: flex; flex-direction: column; justify-content: center; }
.pv-rating b { font-family: var(--phead); font-weight: var(--phw); font-size: clamp(38px, 6cqi, 54px); line-height: 1; }
.pv-stars { color: var(--pacc); letter-spacing: 2px; margin: 6px 0 2px; }
.pv-rating small { color: var(--pmuted); font-size: 12.5px; }
.pv-review { margin: 0; padding: 18px; border-radius: 18px; background: var(--pcard); border: 1px solid var(--pline); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.pv-review p { font-family: var(--phead); font-weight: var(--phw); font-size: 15.5px; line-height: 1.4; letter-spacing: var(--pls); }
.pv-review cite { font-style: normal; font-size: 12.5px; color: var(--pmuted); }

/* newsletter */
.pv-news { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; align-items: center; padding: 24px; border-radius: 20px; background: var(--psoft); }
.pv-news h4 { font-size: clamp(20px, 3.4cqi, 28px); margin-bottom: 4px; }
.pv-news p { color: var(--pmuted); font-size: 14px; }
.pv-news__row { display: flex; gap: 8px; }
.pv-news input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 99px; border: 1px solid var(--pline); background: var(--pbg); color: var(--pink); font: inherit; font-size: 14px; }
.pv-news input:focus { outline: 2px solid var(--pacc); outline-offset: 1px; }

/* call + map */
.pv-call { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.pv-map {
    position: relative; min-height: 190px; border-radius: 18px; overflow: hidden;
    background-color: var(--psoft);
    background-image: linear-gradient(var(--pline) 1px, transparent 1px), linear-gradient(90deg, var(--pline) 1px, transparent 1px);
    background-size: 28px 28px;
}
.pv-map__road { position: absolute; background: var(--pbg); }
.pv-map__road.r1 { left: 0; right: 0; top: 42%; height: 10px; }
.pv-map__road.r2 { top: 0; bottom: 0; left: 30%; width: 8px; }
.pv-map__road.r3 { left: -10%; width: 120%; top: 72%; height: 6px; transform: rotate(-10deg); }
.pv-map__area { position: absolute; width: 46%; aspect-ratio: 1; left: 42%; top: 10%; border-radius: 50%; background: color-mix(in srgb, var(--pacc) 18%, transparent); border: 2px dashed color-mix(in srgb, var(--pacc) 60%, transparent); }
.pv-map__pin { position: absolute; left: 62%; top: 34%; width: 20px; height: 20px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pacc); box-shadow: 0 0 0 4px var(--pbg); }
.pv-map__pin::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--pacc); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.pv-call__info { padding: 22px; border-radius: 18px; background: var(--pcard); border: 1px solid var(--pline); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; }
.pv-call__info h4 { font-size: clamp(18px, 2.8cqi, 24px); }
.pv-call__info p { color: var(--pmuted); font-size: 13.5px; margin-bottom: 8px; }

.pv-foot { display: flex; justify-content: space-between; gap: 12px; padding: 20px clamp(18px, 5cqi, 44px) 90px; border-top: 1px solid var(--pline); font-size: 12px; color: var(--pmuted); }

/* floating toast + chat (stick to the bottom of the frame) */
.pv-float { position: sticky; bottom: 0; height: 0; z-index: 5; }
.pv-toast {
    position: absolute; left: 50%; bottom: 18px;
    width: max-content; max-width: calc(100% - 120px);
    padding: 10px 18px; border-radius: 16px;
    background: var(--pink); color: var(--pbg); font-size: 13px; text-align: center;
    box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .45);
    opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
    transition: opacity .3s, transform .4s var(--ease);
}
.pv-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.pv-chat { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.pv-chat__launch { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--pacc); color: var(--pbg); box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.pv-chat__launch:hover { transform: scale(1.07); }
.pv-chat__teaser { position: absolute; right: 62px; bottom: 10px; white-space: nowrap; padding: 8px 14px; border-radius: 14px 14px 4px 14px; background: var(--pcard); color: var(--pink); font-size: 13px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.pv-chat__teaser.is-on { opacity: 1; transform: none; }
.pv-chat__panel { width: min(300px, calc(100cqi - 32px)); display: flex; flex-direction: column; background: var(--pcard); border: 1px solid var(--pline); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .5); animation: pop .35s var(--ease); }
.pv-chat__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--pink); color: var(--pbg); }
.pv-chat__head b { display: block; font-size: 14px; font-weight: 600; }
.pv-chat__head small { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; opacity: .8; }
.pv-chat__head small i { width: 7px; height: 7px; border-radius: 50%; background: #5FC58A; }
.pv-chat__head button { border: 0; background: none; color: inherit; font-size: 22px; line-height: 1; padding: 0 4px; }
.pv-chat__msgs { display: flex; flex-direction: column; gap: 8px; max-height: 210px; padding: 12px; overflow-y: auto; }
.pv-chat__msgs p { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; animation: fadeUp .3s var(--ease); }
.pv-chat__msgs .bot { align-self: flex-start; background: var(--psoft); color: var(--pink); border-bottom-left-radius: 4px; }
.pv-chat__msgs .me { align-self: flex-end; background: var(--pacc); color: var(--pbg); border-bottom-right-radius: 4px; }
.pv-chat__msgs .typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .4; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; } }
.pv-chat__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px; }
.pv-chat__quick button { padding: 7px 10px; border-radius: 99px; border: 1px solid var(--pacc); background: transparent; color: var(--pink); font-size: 12px; text-align: left; }
.pv-chat__quick button:hover { background: var(--pacc); color: var(--pbg); }

/* the mini-site responds to its frame width, not the window */
@container (max-width: 680px) {
    .pv-links { display: none; }
    .pv-cards, .pv-gallery { grid-template-columns: repeat(2, 1fr); }
    .pv-call, .pv-news, .pv-wiz__form { grid-template-columns: 1fr; }
    .pv-reviews { grid-template-columns: 1fr 1fr; }
    .pv-rating { grid-column: 1 / -1; }
}
@container (max-width: 480px) {
    .pv-hero { grid-template-columns: 1fr; }
    .pv-art { order: -1; aspect-ratio: 16 / 11; border-radius: 999px 999px 16px 16px; }
    .pv-art[data-art="trades"], .pv-art[data-art="studio"], .pv-art[data-art="boutique"] { border-radius: 16px; }
    .pv-art[data-art="wellness"] { aspect-ratio: 1; width: 70%; justify-self: center; border-radius: 50%; }
    .pv-reviews { grid-template-columns: 1fr; }
    .pv-pill { display: none; }
    .pv-foot { flex-direction: column; }
    .pv-toast { max-width: calc(100% - 96px); }
}

/* ---------- Tiers ---------- */
.packages { background: var(--cream); }
.subs { background: linear-gradient(180deg, var(--apricot) 0%, var(--linen) 100%); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
    position: relative;
    display: flex; flex-direction: column;
    padding: 38px 32px 32px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 28px;
    transition: transform .45s var(--ease), box-shadow .45s;
}
.subs .tier { background: rgba(251, 244, 236, .75); }
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tier--featured, .subs .tier--featured {
    background: var(--espresso);
    color: var(--cream);
    border-color: var(--espresso);
    box-shadow: 0 40px 70px -35px rgba(36, 21, 14, .8);
}
.tier--featured::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(80% 50% at 100% 0%, rgba(192, 100, 63, .35), transparent 70%);
}
.tier__badge { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 99px; background: var(--terracotta); color: #fff; font-size: 12px; font-weight: 500; }
.tier h3 { font-size: 30px; margin-bottom: 10px; }
.tier__blurb { color: var(--muted); font-size: 15.5px; min-height: 3.2em; }
.tier--featured .tier__blurb, .tier--featured .tier__meta { color: rgba(251, 244, 236, .7); }
.tier__price { display: flex; align-items: baseline; gap: 6px; margin: 28px 0 4px; }
.tier__price span { font-family: var(--serif); font-size: clamp(44px, 4.4vw, 58px); font-weight: 350; letter-spacing: -.03em; line-height: 1; transition: opacity .25s; }
.tier__price small { color: var(--muted); font-size: 15px; }
.tier--featured .tier__price small { color: rgba(251, 244, 236, .6); }
.tier__price span.is-flip { opacity: 0; }
.tier__meta { font-size: 14px; color: var(--muted); padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.tier--featured .tier__meta { border-color: rgba(251, 244, 236, .14); }
.checklist { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; flex: 1; align-content: start; }
.checklist li { display: flex; gap: 12px; font-size: 15.5px; }
.checklist li::before {
    content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
    background: var(--apricot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%23A24E2D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.tier--featured .checklist li::before { background-color: rgba(242, 184, 150, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%23F2B896' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tier--featured .btn--primary { position: relative; }

@media (max-width: 960px) {
    .tiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .tier__blurb { min-height: 0; }
}

/* billing toggle */
.billing { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 8px 18px; border-radius: 99px; background: rgba(251, 244, 236, .7); border: 1px solid var(--line); }
.billing__opt { font-size: 15px; color: var(--muted); transition: color .25s; }
.billing__opt.is-active { color: var(--ink); font-weight: 500; }
.save { font-style: normal; font-size: 12px; margin-left: 4px; padding: 3px 9px; border-radius: 99px; background: var(--terracotta); color: #fff; }
.switch { position: relative; width: 50px; height: 28px; border-radius: 99px; border: 0; padding: 0; background: var(--sand); transition: background .3s; flex: none; }
.switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .35s var(--ease); }
.switch[aria-checked="true"] { background: var(--terracotta); }
.switch[aria-checked="true"] span { transform: translateX(22px); }

/* ---------- Estimator ---------- */
.estimate { background: var(--linen); }
.estimator { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.estimator__fields { display: grid; gap: 14px; }
.estimator fieldset { margin: 0; padding: 26px 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--cream); min-width: 0; }
.estimator legend { float: left; width: 100%; display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 21px; margin-bottom: 18px; padding: 0; }
.estimator legend output { font-family: var(--sans); font-size: 14px; font-weight: 600; min-width: 36px; text-align: center; padding: 4px 10px; border-radius: 99px; background: var(--espresso); color: var(--cream); }
.estimator legend + * { clear: both; }
.cards-radio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cards-radio label, .chips label { position: relative; cursor: pointer; }
.cards-radio input, .chips input, .toggle-line input { position: absolute; opacity: 0; pointer-events: none; }
.cards-radio span { display: block; height: 100%; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.cards-radio b { display: block; font-weight: 500; margin-bottom: 2px; }
.cards-radio small { color: var(--muted); font-size: 13px; line-height: 1.35; display: block; }
.cards-radio label:hover span { border-color: rgba(36, 21, 14, .3); }
.cards-radio input:checked + span { border-color: var(--terracotta); background: rgba(242, 184, 150, .2); }
.cards-radio input:focus-visible + span, .chips input:focus-visible + span, .toggle-line input:focus-visible + .switch { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1.5px solid var(--line); font-size: 14.5px; transition: all .25s; }
.chips span::before { content: "+"; font-size: 16px; line-height: 1; color: var(--terracotta); transition: transform .3s var(--ease); }
.chips label:hover span { border-color: rgba(36, 21, 14, .3); }
.chips input:checked + span { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.chips input:checked + span::before { transform: rotate(45deg); color: var(--peach); }
.toggle-line { display: flex; align-items: center; gap: 14px; cursor: pointer; font-weight: 500; }
.toggle-line small { color: var(--muted); font-weight: 400; }
.toggle-line input:checked + .switch { background: var(--terracotta); }
.toggle-line input:checked + .switch span { transform: translateX(22px); }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--terracotta) var(--fill, 0%), var(--sand) var(--fill, 0%)); outline-offset: 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); border: 6px solid var(--terracotta); box-shadow: 0 4px 10px rgba(0, 0, 0, .2); cursor: grab; }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 6px solid var(--terracotta); box-shadow: 0 4px 10px rgba(0, 0, 0, .2); cursor: grab; }

.estimator__summary {
    position: sticky; top: 96px;
    padding: 34px 32px;
    border-radius: 26px;
    background: var(--espresso);
    color: var(--cream);
    overflow: hidden;
}
.estimator__summary::before { content: ""; position: absolute; width: 280px; height: 280px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(192, 100, 63, .5), transparent 70%); pointer-events: none; }
.estimator__summary .eyebrow { color: var(--peach); }
.estimator__total { font-family: var(--serif); font-size: clamp(50px, 5.4vw, 72px); font-weight: 350; line-height: 1; letter-spacing: -.03em; margin-bottom: 24px; }
.estimator__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 22px; }
.estimator__facts div { padding: 14px 16px; border-radius: 14px; background: rgba(251, 244, 236, .06); }
.estimator__facts dt { font-size: 12px; color: rgba(251, 244, 236, .55); }
.estimator__facts dd { margin: 0; font-size: 17px; font-weight: 500; }
.estimator__lines { list-style: none; margin: 0 0 26px; padding: 0; font-size: 14px; color: rgba(251, 244, 236, .72); }
.estimator__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed rgba(251, 244, 236, .14); animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateX(-6px); } }
.fine { margin-top: 14px; font-size: 12.5px; color: rgba(251, 244, 236, .5); text-align: center; }

@media (max-width: 960px) {
    .estimator { grid-template-columns: 1fr; }
    .estimator__summary { position: static; }
}
@media (max-width: 560px) {
    .cards-radio { grid-template-columns: 1fr; }
    .estimator fieldset { padding: 22px 18px; }
}

/* ---------- Process ---------- */
.process { background: var(--cream); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 4%; right: 4%; height: 1px; background: repeating-linear-gradient(90deg, var(--sand) 0 8px, transparent 8px 14px); }
.step { position: relative; padding-right: 10px; }
.step__num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cream); border: 1.5px solid var(--terracotta); color: var(--terracotta); font-family: var(--serif); font-size: 18px; margin-bottom: 26px; transition: background .35s, color .35s, transform .35s var(--ease); }
.step:hover .step__num { background: var(--terracotta); color: #fff; transform: scale(1.08); }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
    .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, var(--peach), var(--terracotta)); color: var(--espresso); font-family: var(--serif); font-size: 20px; }

/* ---------- FAQ ---------- */
.faq { background: var(--linen); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq .section__head { position: sticky; top: 110px; }
.faq .section__head a { color: var(--terracotta); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--serif); font-size: clamp(19px, 1.8vw, 23px); cursor: pointer; transition: color .25s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--terracotta); }
.plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.accordion details[open] .plus { background: var(--terracotta); border-color: var(--terracotta); color: #fff; transform: rotate(180deg); }
.accordion details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.accordion__body { overflow: hidden; }
.accordion__body p { padding: 0 60px 28px 0; color: var(--muted); }
@media (max-width: 900px) {
    .faq__grid { grid-template-columns: 1fr; }
    .faq .section__head { position: static; }
    .accordion__body p { padding-right: 0; }
}

/* ---------- Contact ---------- */
.contact {
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(242, 184, 150, .45), transparent 60%),
        linear-gradient(150deg, var(--terracotta) 0%, var(--terracotta-deep) 55%, var(--mocha) 100%);
    color: var(--cream);
}
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact h2 { font-size: clamp(44px, 6vw, 80px); font-weight: 350; margin-bottom: 22px; }
.contact h2 em { color: var(--apricot); }
.contact .eyebrow { color: var(--apricot); }
.contact__copy > p:not(.eyebrow) { color: rgba(251, 244, 236, .82); font-size: 18px; max-width: 30em; margin-bottom: 36px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.contact__list li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid rgba(251, 244, 236, .2); }
.contact__list span { color: rgba(251, 244, 236, .6); font-size: 14px; }
.contact__list a { text-decoration: none; border-bottom: 1px solid rgba(251, 244, 236, .4); justify-self: start; word-break: break-all; }
.contact__card { padding: clamp(26px, 4vw, 44px); border-radius: 30px; background: var(--cream); color: var(--ink); box-shadow: 0 50px 90px -40px rgba(36, 21, 14, .7); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13.5px; font-weight: 500; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1.5px solid var(--line);
    background: #fff;
    font: inherit; font-size: 15.5px; color: var(--ink);
    transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input.range { height: 6px; padding: 0; border: 0; border-radius: 99px; background: linear-gradient(90deg, var(--terracotta) var(--fill, 0%), var(--sand) var(--fill, 0%)); box-shadow: none; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%236E5546' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(192, 100, 63, .15); }
.field__error { display: none; color: #B23A1E; font-size: 13px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B23A1E; }
.field.has-error .field__error { display: block; }
.hp { position: absolute; left: -9999px; }
.sent { text-align: center; padding: 30px 0; }
.sent[hidden] { display: none; }
.sent__icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; background: var(--terracotta); color: #fff; font-size: 30px; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.sent h3 { font-size: 30px; margin-bottom: 10px; }
.sent p { color: var(--muted); margin-bottom: 24px; }
.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 30% { box-shadow: 0 0 0 4px rgba(192, 100, 63, .35); border-color: var(--terracotta); } }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
    .form__row { grid-template-columns: 1fr; }
    .contact__list li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: rgba(251, 244, 236, .7); padding: 80px 0 30px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid rgba(251, 244, 236, .1); }
.footer__brand p { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--peach); }
.footer__cols { display: flex; gap: clamp(40px, 7vw, 100px); flex-wrap: wrap; }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(251, 244, 236, .45); font-weight: 500; margin-bottom: 6px; }
.footer a { text-decoration: none; transition: color .25s; }
.footer a:hover { color: var(--peach); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13.5px; }

/* ---------- Systems ---------- */
.systems { background: var(--linen); }
.tabs {
    display: flex; gap: 4px;
    width: max-content; max-width: 100%;
    margin: 0 auto 30px; padding: 5px;
    border-radius: 99px;
    background: var(--cream);
    border: 1px solid var(--line);
    overflow-x: auto; scrollbar-width: none;
}
.tabs button {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px;
    border: 0; border-radius: 99px;
    background: transparent; color: var(--muted);
    font-size: 15px; font-weight: 500; white-space: nowrap;
    transition: background .3s, color .3s;
}
.tabs button:hover { color: var(--ink); }
.tabs svg { width: 17px; height: 17px; }
.tabs button[aria-selected="true"] { background: var(--espresso); color: var(--cream); }
.tabpanel { animation: fadeUp .5s var(--ease); }
@media (max-width: 560px) {
    .tabs { width: 100%; }
    .tabs button { flex: 1; justify-content: center; padding: 11px 8px; font-size: 14px; }
    .tabs svg { display: none; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

.sys-card {
    padding: clamp(18px, 3vw, 32px);
    border-radius: 30px;
    background: var(--cream);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.auto__side h3, .seo__controls h3 { font-size: clamp(26px, 2.6vw, 34px); }

/* automation */
.auto { display: grid; grid-template-columns: 1fr 1.15fr 290px; gap: 26px; align-items: stretch; }
.auto__side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.auto__side > p { color: var(--muted); font-size: 15.5px; }
.calc { width: 100%; margin-top: auto; padding: 18px; border-radius: 18px; background: var(--linen); }
.calc__label { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.calc__label output { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.calc__grid div { padding: 12px 14px; border-radius: 12px; background: var(--cream); }
.calc__grid b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--terracotta-deep); }
.calc__grid span { display: block; font-size: 12.5px; line-height: 1.3; color: var(--muted); }

.flow { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.flow::before { content: ""; position: absolute; left: 27px; top: 34px; bottom: 34px; width: 2px; background: repeating-linear-gradient(180deg, var(--sand) 0 6px, transparent 6px 11px); }
.flow__step { position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 12px 14px 12px 0; border-radius: 16px; opacity: .5; transition: background .4s, opacity .4s, box-shadow .4s; }
.flow__step.is-active, .flow__step.is-done { opacity: 1; }
.flow__step.is-active { background: #fff; box-shadow: var(--shadow-sm); }
.flow__icon { position: relative; z-index: 1; justify-self: center; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--cream); border: 1.5px solid var(--sand); color: var(--muted); transition: all .4s var(--ease); }
.flow__icon svg { width: 19px; height: 19px; }
.flow__step.is-active .flow__icon { background: var(--terracotta); border-color: var(--terracotta); color: #fff; box-shadow: 0 0 0 6px rgba(192, 100, 63, .18); }
.flow__step.is-done .flow__icon { background: var(--espresso); border-color: var(--espresso); color: var(--peach); }
.flow__step b { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.flow__step p { font-size: 13px; color: var(--muted); line-height: 1.4; }
.flow__time { font-size: 11.5px; padding: 4px 9px; border-radius: 99px; background: var(--linen); color: var(--muted); white-space: nowrap; }

.phone { justify-self: center; align-self: center; width: 100%; max-width: 290px; padding: 9px; border-radius: 42px; background: var(--espresso); box-shadow: 0 30px 60px -25px rgba(36, 21, 14, .6); }
.phone__screen { display: flex; flex-direction: column; height: 520px; border-radius: 34px; background: #FFFDFB; overflow: hidden; }
.phone__top { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 6px; font-size: 12px; font-weight: 600; }
.phone__top span:last-child { font-size: 7px; letter-spacing: 1px; }
.phone__island { width: 78px; height: 22px; border-radius: 99px; background: var(--espresso); }
.phone__head { text-align: center; padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
.phone__head b { display: block; font-size: 14px; font-weight: 600; }
.phone__head small { font-size: 11px; color: var(--muted); }
.phone__msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; overflow-y: auto; scrollbar-width: none; }
.msg { max-width: 84%; padding: 9px 12px; border-radius: 16px; font-size: 13px; line-height: 1.4; animation: fadeUp .35s var(--ease); }
.msg--biz { align-self: flex-start; background: #EFE6DC; border-bottom-left-radius: 5px; }
.msg--me { align-self: flex-end; background: var(--terracotta); color: #fff; border-bottom-right-radius: 5px; }
.msg--sys { align-self: center; max-width: 100%; padding: 5px 12px; border: 1px dashed var(--sand); border-radius: 99px; color: var(--muted); font-size: 11.5px; text-align: center; }
.msg--sys::before { content: "🔔 "; }

@media (max-width: 1100px) {
    .auto { grid-template-columns: 1fr 1fr; }
    .auto__side { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .auto { grid-template-columns: 1fr; }
    .flow__step { grid-template-columns: 50px 1fr; }
    .flow__time { grid-column: 2; justify-self: start; }
    .flow::before { left: 24px; }
    .phone__screen { height: 440px; }
}

/* SEO */
.seo { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 26px; }
.seo__controls { display: flex; flex-direction: column; gap: 18px; }
.seo__intro { margin-top: -6px; font-size: 15px; color: var(--muted); }
.input-prefix { position: relative; display: block; }
.input-prefix i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); }
.field .input-prefix input { padding-left: 30px; }
.seg-light { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--linen); }
.seg-light label { position: relative; cursor: pointer; }
.seg-light input { position: absolute; opacity: 0; pointer-events: none; }
.seg-light span { display: block; padding: 10px; border-radius: 10px; text-align: center; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.seg-light input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg-light input:focus-visible + span { outline: 2px solid var(--terracotta); outline-offset: 1px; }
.seo__panel { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.kpi span { display: block; font-size: 12.5px; color: var(--muted); }
.kpi b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 2vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
.kpi small { font-size: 12px; color: var(--muted); }
.kpi--accent { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.kpi--accent span, .kpi--accent small { color: rgba(251, 244, 236, .65); }

.chart-card { --viz-a: #C0643F; --viz-b: #00829B; padding: 18px 18px 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.chart-card__head { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 6px; }
.chart-card__head h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 7px; }
.sw { display: inline-block; flex: none; width: 16px; height: 3px; border-radius: 2px; background: var(--viz-a); }
.sw--band { width: 16px; height: 10px; border-radius: 3px; background: color-mix(in srgb, var(--viz-a) 22%, transparent); box-shadow: inset 0 -2px 0 var(--viz-a); }
.sw--b { background: repeating-linear-gradient(90deg, var(--viz-b) 0 5px, transparent 5px 8px); }
.chart { position: relative; }
.chart svg { display: block; width: 100%; overflow: visible; touch-action: pan-y; border-radius: 4px; }
.chart svg:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.chart .grid line { stroke: rgba(36, 21, 14, .08); stroke-width: 1; }
.chart .axis text { font-family: var(--sans); font-size: 11.5px; fill: var(--muted); }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line--a { stroke: var(--viz-a); }
.chart .band { fill: var(--viz-a); fill-opacity: .16; }
.chart .line--b { stroke: var(--viz-b); stroke-dasharray: 6 5; }
.chart .end-labels text { font-family: var(--sans); font-size: 12px; font-weight: 600; fill: var(--ink); }
.chart .crosshair { stroke: var(--ink); stroke-opacity: .25; stroke-width: 1; }
.chart .dot { stroke: #fff; stroke-width: 2; }
.chart .dot--a { fill: var(--viz-a); }
.chart .dot--b { fill: var(--viz-b); }
.chart__tip { position: absolute; z-index: 2; display: grid; gap: 4px; min-width: 160px; padding: 10px 12px; border-radius: 12px; background: var(--espresso); color: var(--cream); font-size: 12.5px; box-shadow: var(--shadow-sm); pointer-events: none; transform: translate(14px, -100%); }
.chart__tip.is-flip { transform: translate(calc(-100% - 14px), -100%); }
.chart__tip b { font-weight: 600; }
.chart__tip span { display: flex; align-items: center; gap: 7px; }
.chart__tip strong { margin-left: auto; font-weight: 600; }
.table-view { font-size: 13.5px; }
.table-view summary { padding: 8px 0 4px; color: var(--terracotta-deep); font-weight: 500; cursor: pointer; }
.table-view table { width: 100%; margin: 6px 0 8px; border-collapse: collapse; }
.table-view th, .table-view td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.table-view th:first-child, .table-view td:first-child { text-align: left; }
.table-view th { color: var(--muted); font-weight: 500; }
.fine--dark { margin-top: 0; color: var(--muted); text-align: left; }
@media (max-width: 960px) { .seo { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr 1fr; } .kpi--accent { grid-column: 1 / -1; } }

/* ---------- Admin dashboard demo ---------- */
.dash-picker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 18px; }
.dash-picker > span { font-size: 14px; font-weight: 500; color: var(--muted); }
.dash-intro { display: grid; grid-template-columns: .9fr 1.6fr; gap: 18px 40px; align-items: start; margin-bottom: 24px; }
.dash-intro h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 10px; }
.dash-intro__copy p { color: var(--muted); font-size: 15.5px; }
.dash-intro__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; counter-reset: di; }
.dash-intro__list li { position: relative; padding: 16px 18px 16px 52px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); counter-increment: di; }
.dash-intro__list li::before { content: counter(di); position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--terracotta); color: #fff; font-size: 12px; font-weight: 600; }
.dash-intro__list b { display: block; font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.dash-intro__list span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.dash-intro__try { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--terracotta-deep); font-weight: 500; }
.dash-intro__try::before { content: "↓"; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--apricot); }
@media (max-width: 960px) { .dash-intro { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .dash-intro__list { grid-template-columns: 1fr; } }
.dash { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 620px; border-radius: 28px; overflow: hidden; background: #FBF8F5; border: 1px solid var(--line); box-shadow: var(--shadow); }
.dash__side { display: flex; flex-direction: column; gap: 26px; padding: 22px 14px; background: var(--espresso); color: var(--cream); }
.dash__brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; font-family: 'Outfit', var(--sans); font-weight: 500; font-size: 18px; }
.dash__brand small { margin-left: 2px; font-size: 12px; color: var(--peach); }
.dash__nav { display: flex; flex-direction: column; gap: 4px; }
.dash__nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: rgba(251, 244, 236, .68); font-size: 14.5px; text-align: left; transition: background .25s, color .25s; }
.dash__nav svg { flex: none; width: 18px; height: 18px; }
.dash__nav button:hover { background: rgba(251, 244, 236, .06); color: var(--cream); }
.dash__nav button[aria-pressed="true"] { background: rgba(251, 244, 236, .11); color: var(--cream); }
.dash__nav b { display: grid; place-items: center; min-width: 22px; height: 20px; margin-left: auto; padding: 0 6px; border-radius: 99px; background: var(--terracotta); color: #fff; font-size: 11.5px; }
.dash__user { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px; border-radius: 14px; background: rgba(251, 244, 236, .06); font-size: 13.5px; }
.dash__user b { display: block; font-weight: 500; }
.dash__user small { font-size: 12px; color: rgba(251, 244, 236, .55); }
.avatar--sm { width: 34px; height: 34px; font-size: 15px; flex: none; }
.dash__main { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 22px clamp(14px, 2.4vw, 28px) 26px; }
.dash__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash__top h4 { font-size: 26px; }
.dash__top small { font-size: 13.5px; color: var(--muted); }
.dash__view { display: flex; flex-direction: column; gap: 12px; animation: fadeUp .4s var(--ease); }
.dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dkpi { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.dkpi span { display: block; font-size: 12.5px; color: var(--muted); }
.dkpi b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.2; }
.dkpi small { font-size: 11.5px; color: var(--muted); }
.dkpi small.up { color: #2F7D4F; }
.dash__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.dash__grid--edit { grid-template-columns: 1fr 1.1fr; }
.dcard { min-width: 0; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.dcard__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.dcard__head h5 { margin: 0; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.dcard__head small { font-size: 12.5px; color: var(--muted); }
.seg-mini { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--linen); }
.seg-mini button { padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 12.5px; transition: background .2s, color .2s; }
.seg-mini button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 200px; margin: 30px 0 24px; border-bottom: 1px solid var(--line); }
.bar { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; outline: none; }
.bar__fill { position: relative; width: 100%; max-width: 36px; border-radius: 4px 4px 0 0; background: var(--terracotta); transition: height .6s var(--ease), background .25s; }
.bar:hover .bar__fill, .bar:focus-visible .bar__fill { background: var(--terracotta-deep); }
.bar__label { position: absolute; bottom: -22px; font-size: 11.5px; color: var(--muted); }
.bar--today .bar__label { color: var(--ink); font-weight: 600; }
.bar__tip { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); padding: 4px 8px; border-radius: 8px; background: var(--espresso); color: var(--cream); font-size: 11.5px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.bar:hover .bar__tip, .bar:focus-visible .bar__tip { opacity: 1; }

.activity { list-style: none; margin: 0; padding: 0; }
.activity li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.35; animation: fadeUp .35s var(--ease); }
.activity li:last-child { border-bottom: 0; }
.activity__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--linen); font-size: 13px; }
.activity small { font-size: 12px; color: var(--muted); white-space: nowrap; }

.dhint { margin: -4px 0 10px; font-size: 12.5px; color: var(--muted); }
.dtable-wrap { overflow-x: auto; }
.dtable { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.dtable th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.dtable td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
.dtable b { font-weight: 500; }
.dtable .muted { color: var(--muted); }
.dtable tr.is-new td { animation: rowIn 1.8s var(--ease); }
@keyframes rowIn { from { background: rgba(242, 184, 150, .55); } }
.status { padding: 5px 12px; border: 0; border-radius: 99px; font-size: 12.5px; font-weight: 500; transition: transform .2s var(--ease); }
.status:hover { transform: scale(1.06); }
.status--s0 { background: #FCE3D3; color: #8F3A18; }
.status--s1 { background: #F4E8C8; color: #6E5110; }
.status--s2 { background: #D3EBEF; color: #00596A; }
.status--s3 { background: #DAEEDF; color: #2A6239; }

.autolist { list-style: none; margin: 0; padding: 0; }
.autolist li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.autolist li:last-child { border-bottom: 0; }
.autolist__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--apricot); }
.autolist b { font-weight: 500; }
.autolist p { font-size: 13px; color: var(--muted); }
.autolist small { font-size: 12px; color: var(--terracotta-deep); }

.editor { display: flex; flex-direction: column; gap: 14px; }
.editor .field input { padding: 11px 14px; font-size: 14.5px; }
.editor .btn { align-self: flex-start; }
.live { display: inline-flex; align-items: center; gap: 6px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #2F9E5B; animation: pulse 2s infinite; }
.mini { --m-bg: #12202D; --m-ink: #EEF2F6; --m-acc: #F2B33D; --m-muted: #A9B6C4; overflow: hidden; border-radius: 14px; background: var(--m-bg); color: var(--m-ink); border: 1px solid var(--line); transition: background .4s, color .4s; }
.mini__banner { padding: 8px 14px; background: var(--m-acc); color: var(--m-bg); font-size: 12.5px; font-weight: 500; text-align: center; }
.mini__nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid color-mix(in srgb, var(--m-ink) 12%, transparent); font-size: 13px; }
.mini__nav b { font-weight: 600; font-size: 15px; }
.mini__nav b i { font-style: normal; color: var(--m-acc); }
.mini__nav span { padding: 6px 12px; border-radius: 99px; background: var(--m-acc); color: var(--m-bg); font-size: 12px; font-weight: 500; }
.mini__hero { padding: 34px 22px 40px; }
.mini__hero h6 { margin: 0 0 10px; font-family: var(--sans); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -.035em; overflow-wrap: anywhere; }
.mini__hero p { margin-bottom: 18px; font-size: 14px; color: var(--m-muted); }
.mini__btn { display: inline-block; padding: 10px 18px; border-radius: 99px; background: var(--m-acc); color: var(--m-bg); font-size: 13.5px; font-weight: 500; }
.dash__toast { position: absolute; right: 20px; bottom: 20px; max-width: calc(100% - 40px); padding: 11px 16px; border-radius: 12px; background: var(--espresso); color: var(--cream); font-size: 13.5px; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.dash__toast.is-on { opacity: 1; transform: none; }

@media (max-width: 1000px) {
    .dash { grid-template-columns: 1fr; }
    .dash__side { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; overflow-x: auto; scrollbar-width: none; }
    .dash__nav { flex-direction: row; }
    .dash__nav button { width: auto; white-space: nowrap; }
    .dash__user { display: none; }
    .dash__kpis { grid-template-columns: repeat(2, 1fr); }
    .dash__grid, .dash__grid--edit { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .dash__brand { display: none; }
    .dash__nav svg { display: none; }
    .dash__nav button { padding: 9px 11px; font-size: 13.5px; }
    .dash__top h4 { font-size: 22px; }
    .dkpi b { font-size: 26px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .marquee__track { animation: none; }
}
