/* =====================================================================
   The Galway Group — v2 design system ("Heard")
   Warm-minimal: cream/off-white surfaces, warm ink, ONE terracotta accent.
   The brand is the customer's own voice — quotes are the recurring motif.
   Source Serif 4 for display (a clean serif that nods to the wordmark), DM Sans for text, Inter for text, JetBrains Mono
   for the technical accents that say "we ship software."
   ===================================================================== */

/* Fonts load from a <link> in templates/v2/_partials/head.html (display=swap),
   not an @import here, so they don't wait on this file. */

/* =====================================================================
   1 — DESIGN TOKENS
   ===================================================================== */
:root {
    /* Color — "Galway": navy + gold on warm ivory. Heritage-premium and
       trust-coded, but navy reads as a serious TECHNOLOGY partner rather than
       a financial service (the green felt too financial for a vCTO firm).
       NOTE: --brand is NAVY (primary CTAs + structure) and --accent is GOLD
       (sparing jewel accent — marks, key numbers, quote attributions; never
       large fields). Every existing btn--primary / var(--brand) reference
       shifts to navy with no markup changes. Warm ivory surfaces retained. */
    --ink:           #15203A;
    --ink-2:         #20304F;
    --muted:         #5C6577;
    --faint:         #99A1B2;
    --hairline:      #E6E4DD;
    --hairline-2:    #D4D2C9;
    --surface:       #FFFFFF;
    --surface-2:     #FBFAF4;
    --surface-3:     #F3F0E6;
    --brand:         #1B3A6B;
    --brand-2:       #132B52;
    --brand-soft:    #E6EBF3;
    --brand-faint:   #F3F6FB;
    --accent:        #B8932E;
    --accent-2:      #8F7220;
    --accent-soft:   #F7EFD6;
    --ok:            #1B3A6B;
    --ok-soft:       #E6ECF7;
    /* Deep sapphire navy for the dark anchor section (one visual climax per
       page). Rich enough to anchor, light enough that body text stays legible. */
    --espresso:      #142B50;
    --espresso-2:    #0D1E3B;

    /* Spacing */
    --space-section:    120px;
    --space-section-sm: 80px;
    --space-card:       32px;
    --space-card-sm:    22px;
    --gap:              24px;
    --gap-sm:           16px;
    --gap-lg:           48px;

    /* Radius */
    --r:    10px;
    --r-lg: 14px;
    --r-xl: 20px;
    --r-pill: 999px;

    /* Shadow — restrained, mostly used on hover */
    --shadow-sm:     0 1px 2px rgba(21,32,58,0.04);
    --shadow:        0 1px 2px rgba(21,32,58,0.04), 0 8px 24px rgba(21,32,58,0.06);
    --shadow-lg:     0 4px 12px rgba(21,32,58,0.06), 0 24px 56px rgba(21,32,58,0.10);
    --shadow-modal:  0 16px 40px rgba(21,32,58,0.20), 0 48px 96px rgba(21,32,58,0.16);

    /* Type */
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Fraunces', Georgia, serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-fast: 150ms;
    --dur: 240ms;
    --dur-slow: 400ms;
}

/* Laptop / mid-size screens (most 13"–15" laptops at 1280–1366px) — the old
   design jumped straight from full-desktop scale to the 768px mobile tier, so
   13" laptops got the same oversized type + 120px section padding as a 27"
   monitor. This tier reins in the vertical rhythm and headline scale. */
@media (max-width: 1366px) {
    :root {
        --space-section: 88px;
        --space-section-sm: 64px;
        --gap-lg: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-section: 80px;
        --space-section-sm: 56px;
        --space-card: 22px;
        --gap: 16px;
        --gap-lg: 32px;
    }
}

/* =====================================================================
   2 — RESET + BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--surface);
    overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) ease; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; }
hr { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

::selection { background: var(--brand); color: white; }

/* Default focus ring — let elements keep their own radius; outline-offset gives breathing room */
:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}
/* Clean focus on form inputs (uses internal box-shadow ring elsewhere) */
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: none;
}
/* Buttons get their own crisp focus ring matching their corner radius */
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
/* Strip the default browser button outline + the sticky :focus halo on click */
button:focus, a:focus { outline: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* =====================================================================
   3 — TYPOGRAPHY
   ===================================================================== */
.h1, h1.h1 {
    font-family: var(--font-display);
    /* Grows gently so 13" laptops (~1280px) don't get the full-desktop max.
       3.3vw hits the 3.25rem cap only around ~1575px+. */
    font-size: clamp(2.2rem, 3.6vw, 3.6rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.012em;
    color: var(--ink);
    margin: 0;
}

.h2, h2.h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.4vw, 2.4rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
}

.h3, h3.h3 {
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    /* "The Galway gold" — a short gold rule, the recurring signature mark
       on every section header. A small ownable device, not just a dot. */
    width: 22px; height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

.eyebrow--accent { color: var(--accent); }
.eyebrow--accent::before { background: var(--accent); }
.eyebrow--white { color: rgba(255,255,255,0.7); }
.eyebrow--white::before { background: var(--accent); }

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.55;
    color: var(--muted);
    letter-spacing: -0.005em;
    margin: 0;
    max-width: 60ch;
}

.mono {
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0;
}

.fine {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

.text-ink     { color: var(--ink) !important; }
.text-muted   { color: var(--muted) !important; }
.text-brand   { color: var(--brand) !important; }
.text-accent  { color: var(--accent) !important; }
.text-ok      { color: var(--ok) !important; }
.text-white   { color: white !important; }
.text-center  { text-align: center; }

/* =====================================================================
   4 — LAYOUT
   ===================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}
@media (max-width: 768px) {
    .container { padding: 0 20px; }
}

.section {
    padding: var(--space-section) 0;
    position: relative;
}
.section--sm  { padding: var(--space-section-sm) 0; }
.section--soft { background: var(--surface-2); }
.section--ink {
    background: linear-gradient(165deg, var(--espresso) 0%, var(--espresso-2) 100%);
    color: rgba(251,247,240,0.92);
}
.section--ink .h1, .section--ink .h2, .section--ink .h3 { color: #FBF7F0; }
.section--ink .lead { color: rgba(251,247,240,0.86); }
.section--ink .eyebrow { color: #E5C46A; }
.section--ink .eyebrow::before { background: #E5C46A; }
.section--ink hr { border-top-color: rgba(255,255,255,0.1); }

.section-head {
    max-width: 720px;
    margin-bottom: 64px;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head .h2 { margin-bottom: 16px; }
.section-head .lead { margin: 0; }
@media (max-width: 768px) {
    .section-head { margin-bottom: 44px; }
}

/* Grids */
.grid { display: grid; gap: var(--gap); }
.grid-2  { grid-template-columns: repeat(2, 1fr); }
.grid-3  { grid-template-columns: repeat(3, 1fr); }
.grid-4  { grid-template-columns: repeat(4, 1fr); }
.grid-6  { grid-template-columns: repeat(6, 1fr); }
.grid-gap-lg { gap: var(--gap-lg); }
.grid-gap-sm { gap: var(--gap-sm); }

.grid-split  { grid-template-columns: 1fr 1fr; }
.grid-7-5    { grid-template-columns: 7fr 5fr; }
.grid-5-7    { grid-template-columns: 5fr 7fr; }
.grid-6-6    { grid-template-columns: 1fr 1fr; }

@media (max-width: 991px) {
    .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .grid-split, .grid-7-5, .grid-5-7, .grid-6-6 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}

.stack { display: flex; flex-direction: column; gap: var(--gap); }
.stack-sm { display: flex; flex-direction: column; gap: var(--gap-sm); }
.stack-lg { display: flex; flex-direction: column; gap: var(--gap-lg); }

.row { display: flex; align-items: center; gap: var(--gap); flex-wrap: wrap; }
.row-tight { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); }

.align-start { align-items: flex-start; }
.align-center { align-items: center; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mt-6 { margin-top: 64px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden { display: none !important; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =====================================================================
   5 — BUTTONS
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    padding: 13px 22px;
    border-radius: var(--r);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
}
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--sm { padding: 10px 16px; font-size: 0.85rem; }
.btn--block { width: 100%; }

.btn--primary {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}
.btn--primary:hover {
    background: var(--brand-2);
    border-color: var(--brand-2);
    box-shadow: 0 4px 12px rgba(44,80,153,0.24);
}

.btn--secondary {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--hairline-2);
}
.btn--secondary:hover {
    border-color: var(--ink);
    background: var(--surface);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: transparent;
    padding-left: 12px; padding-right: 12px;
}
.btn--ghost:hover { background: var(--surface-2); }

.btn--dark {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}
.btn--dark:hover {
    background: var(--brand);
    border-color: var(--brand);
}

/* Inside .section--ink, invert secondary */
.section--ink .btn--secondary {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.3);
}
.section--ink .btn--secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

/* Inline arrow link */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap var(--dur-fast) var(--ease-out);
}
.link-arrow:hover {
    color: var(--brand-2);
    gap: 10px;
}

/* =====================================================================
   6 — PILLS + STATUS
   ===================================================================== */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 11px;
    background: var(--surface-2);
    color: var(--muted);
    border: 1px solid var(--hairline);
    border-radius: var(--r-pill);
    white-space: nowrap;
}
.pill--brand {
    background: var(--brand-soft);
    color: var(--brand-2);
    border-color: #C9DAFF;
}
.pill--accent {
    background: var(--accent-soft);
    color: var(--accent-2);
    border-color: #FFDF99;
}
.pill--ok {
    background: var(--ok-soft);
    color: var(--ok);
    border-color: #B7E4CF;
}
.pill--ink {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}

.status-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ok);
    flex-shrink: 0;
}
.status-dot--brand { background: var(--brand); }
.status-dot--accent { background: var(--accent); }
.status-dot--muted { background: var(--faint); }

/* Pulsing status dot for "live" / "in progress" */
.status-dot--live {
    background: var(--ok);
    position: relative;
    box-shadow: 0 0 0 0 rgba(15,138,95,0.6);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0% { box-shadow: 0 0 0 0 rgba(15,138,95,0.5); }
    70% { box-shadow: 0 0 0 8px rgba(15,138,95,0); }
    100% { box-shadow: 0 0 0 0 rgba(15,138,95,0); }
}

/* =====================================================================
   7 — CARDS
   ===================================================================== */
.card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: var(--space-card);
    transition: border-color var(--dur-fast) ease, box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.card--hover { cursor: pointer; }
.card--hover:hover {
    border-color: var(--hairline-2);
    box-shadow: var(--shadow);
}
.card--feature {
    border-color: var(--brand);
    box-shadow: 0 0 0 1px var(--brand);
}
.card--ink {
    background: var(--ink);
    color: rgba(255,255,255,0.82);
    border-color: rgba(255,255,255,0.08);
}
.card--ink .h2, .card--ink .h3, .card--ink h2, .card--ink h3 { color: white; }
.card--sm { padding: var(--space-card-sm); }
.card--bare { padding: 0; border: 0; }

/* =====================================================================
   8 — NAV
   ===================================================================== */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--hairline);
}
.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
    font-size: 1.12rem;
    letter-spacing: -0.01em;
}
.nav-brand img { width: 28px; height: 28px; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    padding: 8px 14px;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--ink-2);
    border-radius: 8px;
    transition: all var(--dur-fast) ease;
}
.nav-link:hover { color: var(--brand); background: var(--surface-2); }
/* Quiet "Client login" text link in the nav actions — clients recognize it,
   prospects ignore it. Kept understated so it doesn't compete with the CTAs. */
.nav-link--signin { color: var(--muted); font-size: 0.88rem; }
.nav-link--login { order: 99; opacity: 0.85; }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-toggle {
    display: none;
    padding: 8px 12px;
    border: 1px solid var(--hairline-2);
    border-radius: 8px;
    color: var(--ink);
}
@media (max-width: 991px) {
    .nav-toggle { display: inline-flex; align-items: center; }
    .nav-inner { padding: 14px 20px; }

    /* Default closed state: top bar is just brand + toggle; menu hidden */
    .nav-links, .nav-actions { display: none; }

    /* Open state: full-width drawer that drops below the bar. Premium feel —
       generous tap targets, gold-rule section divider, navy active states. */
    .nav-bar.nav-open {
        box-shadow: var(--shadow-lg);
    }
    .nav-bar.nav-open .nav-inner {
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
    }
    .nav-bar.nav-open .nav-links,
    .nav-bar.nav-open .nav-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0;
        background: transparent;
    }
    .nav-bar.nav-open .nav-links {
        margin-top: 18px;
        gap: 2px;
    }
    .nav-bar.nav-open .nav-link {
        padding: 15px 16px;
        font-size: 1.15rem;
        font-family: var(--font-display);
        font-weight: 500;
        color: var(--ink);
        border-radius: var(--r);
    }
    .nav-bar.nav-open .nav-link:active,
    .nav-bar.nav-open .nav-link:hover {
        background: var(--brand-faint);
        color: var(--brand);
    }
    /* Gold-rule divider — the Galway signature, separating links from actions */
    .nav-bar.nav-open .nav-actions {
        margin-top: 20px;
        padding-top: 22px;
        gap: 12px;
        position: relative;
    }
    .nav-bar.nav-open .nav-actions::before {
        content: "";
        position: absolute;
        top: 0; left: 16px;
        width: 28px; height: 2px;
        border-radius: 2px;
        background: var(--accent);
    }
    .nav-bar.nav-open .btn {
        justify-content: center;
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
    .nav-bar.nav-open .nav-link--signin {
        text-align: center;
        font-size: 0.95rem;
        padding: 10px;
        color: var(--muted);
    }
}

/* =====================================================================
   9 — HERO
   ===================================================================== */
.hero {
    position: relative;
    padding-top: 96px;
    padding-bottom: 96px;
    overflow: hidden;
    /* Brand-glow canvas: near-white with a faint navy glow top-right (behind the
       product visual) and a gold whisper bottom-left. Bright/open fold with its
       own branded identity; the cream content sections below read as warm
       contrast. The trust band shares this same glow so the top is one zone. */
    background:
        radial-gradient(120% 130% at 88% 6%, rgba(44,80,153,0.09) 0%, transparent 48%),
        radial-gradient(95% 130% at 8% 100%, rgba(184,147,46,0.08) 0%, transparent 52%),
        var(--surface);
}
@media (max-width: 1366px) {
    .hero { padding-top: 72px; padding-bottom: 72px; }
}
@media (max-width: 768px) {
    .hero { padding-top: 56px; padding-bottom: 56px; }
}
/* Compact hero (About) — tighter so the hero + trust bar fit a laptop fold. */
.hero--compact { padding-top: 64px; padding-bottom: 60px; }
@media (max-width: 1366px) {
    .hero--compact { padding-top: 52px; padding-bottom: 48px; }
}

.hero--split {
    /* split layout: text + visual */
}
.hero-text {
    display: flex;
    flex-direction: column;
    align-self: center;
    /* Let this column shrink to its 1fr share. Grid items default to
       min-width:auto, so a wide non-wrapping child (e.g. the trust strip)
       can otherwise blow the column past 1fr and starve the visual. */
    min-width: 0;
}
.hero-text > .eyebrow { margin-bottom: 20px; }
.hero-text > .h1, .hero-text > h1 { margin-bottom: 20px; }
.hero-text > .lead { margin-bottom: 32px; }
.hero-text > .compliance-pill { margin-bottom: 20px; }
.hero-h1 { max-width: 17ch; }
.hero-h1 .accent { color: var(--brand); }
.hero-lead { max-width: 56ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-text > .trust-strip { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hairline); border-bottom: 0; padding-bottom: 0; }
.hero-text > .row-tight { margin-top: 20px; }

/* Hero right-column visual — fills its grid column so the chart reads at
   full size instead of collapsing to the SVG's intrinsic width. */
.hero-visual { align-self: center; width: 100%; min-width: 0; }
/* Legacy light panel (old non-v2 pricing template) — kept for that page. */
.hero-panel-light {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    width: 100%;
}

/* Dot grid background — Stripe-style */
.dotted-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(21,32,58,0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    background-position: 0 0;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Subtle radial glow — used once or twice */
.glow-bg {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44,80,153,0.12), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.glow-bg--top-right { top: -120px; right: -180px; }
.glow-bg--bottom-left { bottom: -180px; left: -180px; }
.glow-bg--accent {
    background: radial-gradient(circle, rgba(199,116,0,0.12), transparent 60%);
}

.hero-content { position: relative; z-index: 1; }

/* Hero "operating layer" mockup — light app-UI panel showing what we manage */
.mockup {
    background: var(--surface);
    border-radius: var(--r-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    color: var(--ink-2);
    border: 1px solid var(--hairline);
    position: relative;
    overflow: hidden;
}
.mockup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hairline);
}
.mockup-title {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.mockup-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
}
.mockup-traffic {
    display: inline-flex;
    gap: 6px;
}
.mockup-traffic span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--surface-3);
}
.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.mockup-panel {
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    border-radius: var(--r);
    padding: 14px 16px;
}
.mockup-panel-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 8px;
}
.mockup-panel-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    font-family: var(--font-mono);
}
.mockup-panel-delta {
    font-size: 0.78rem;
    color: var(--ok);
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Queue item rows inside the mockup — light theme */
.mockup-queue {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.queue-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: var(--surface-2);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--ink-2);
    border-left: 2px solid transparent;
}
.queue-row--active {
    border-left-color: var(--brand);
    background: var(--brand-soft);
}
.queue-row--done { color: var(--muted); }
.queue-row .icon { font-size: 0.78rem; }

/* Vendor SVG container inside hero mockup */
.mockup-svg-wrap {
    padding: 8px 0 0 0;
}

/* =====================================================================
   10 — TRUST STRIP
   ===================================================================== */
/* Trust-strip: the CREDENTIAL band — structured authority, not a flat label row.
   A leading gold-ruled label anchors it; items sit in a divided row like a
   reference/credential list. Reads as institutional, not generic. */
/* Full-width band continuing the hero's glow canvas, so the hero + trust strip
   read as one seamless zone. The gold whisper sits at the bottom-left here,
   picking up where the hero's gradient leaves off. */
.trust-band {
    background:
        radial-gradient(120% 220% at 12% 0%, rgba(184,147,46,0.07) 0%, transparent 60%),
        var(--surface);
}
.trust-strip {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 24px 0;
    /* Hairline parts it from the hero content above; both are cream. */
    border-top: 1px solid var(--hairline);
    background: transparent;
}
.trust-strip-label {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.4;
    color: var(--accent-2);
    padding-left: 16px;
    border-left: 2px solid var(--accent);
}
.trust-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 0;
    flex: 1;
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-2);
    padding: 0 18px;
    position: relative;
    white-space: nowrap;
}
.trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 16px;
    background: var(--hairline-2);
}
.trust-item i { color: var(--brand); font-size: 0.95rem; flex-shrink: 0; }
@media (max-width: 991px) {
    .trust-strip { flex-direction: column; align-items: flex-start; gap: 16px; }
    .trust-strip-label { line-height: 1.2; }
    .trust-item:first-child { padding-left: 0; }
}

/* Hero-trust: a compact single-row reassurance strip under hero CTAs.
   Designed to never wrap on desktop — labels must be short (3-4 words). */
/* Hero-trust: quiet inline reassurances — NOT pills (those read as buttons and
   competed with the real CTAs above). Plain text with a gold check; reads as
   facts, not actions. */
.hero-trust {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    line-height: 1.2;
}
.hero-trust li i { color: var(--accent); font-size: 0.92rem; flex-shrink: 0; }
.hero-aside { font-size: 0.9rem; color: var(--muted); margin-top: 14px; }
.hero-aside a { color: var(--brand); font-weight: 600; }
.hero-aside a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Hero proof token — hard credibility above the fold (authority, not benefits) */
.hero-proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--hairline);
}
.hero-proof-label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-2);
}
.hero-proof-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-2);
}
.hero-proof-item i { color: var(--brand); font-size: 0.85rem; }
.hero-proof-divider { width: 1px; height: 14px; background: var(--hairline-2); }
@media (max-width: 768px) {
    .hero-proof { gap: 10px 14px; }
    .hero-proof-divider { display: none; }
}

/* "Before" pain band on home — names the problem so the solution lands. */
.pain-grid { margin-top: 4px; }
.pain-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: var(--space-card-sm);
    transition: border-color var(--dur-fast) ease, box-shadow var(--dur) var(--ease-out);
}
.pain-card:hover { border-color: var(--hairline-2); box-shadow: var(--shadow); }
.pain-card i { font-size: 1.4rem; color: var(--muted); display: block; margin-bottom: 12px; }
.pain-card p { color: var(--muted); line-height: 1.65; margin: 0; font-size: 0.97rem; }
.pain-card strong { color: var(--ink); font-weight: 600; }
.pain-turn {
    text-align: center;
    max-width: 60ch;
    margin: 28px auto 0;
    color: var(--ink);
    font-weight: 500;
}
/* Tablet: tighten gap so 3 items still hold a single row */
@media (max-width: 1100px) {
    .hero-trust { gap: 14px; }
    .hero-trust li { font-size: 0.78rem; gap: 6px; }
}
/* Mobile: stack vertically with tight gap — solid look, no wrapping ugliness */
@media (max-width: 640px) {
    .hero-trust { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 18px; }
    .hero-trust li { font-size: 0.85rem; }
}

/* =====================================================================
   11 — NUMBERED LIST (DES-CPA style services lineup)
   ===================================================================== */
.numbered-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.numbered-item {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid var(--hairline);
    transition: all var(--dur) var(--ease-out);
    cursor: pointer;
}
.numbered-item:first-child { border-top: 0; padding-top: 8px; }
.numbered-item:last-child { border-bottom: 1px solid var(--hairline); }
.numbered-num {
    font-family: var(--font-mono);
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--faint);
    letter-spacing: -0.02em;
    line-height: 1;
    transition: color var(--dur-fast) ease;
    font-variant-numeric: tabular-nums;
}
.numbered-body { min-width: 0; }
.numbered-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
    transition: color var(--dur-fast) ease;
}
.numbered-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}
.numbered-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 1.15rem;
    transition: all var(--dur) var(--ease-out);
}
a.numbered-item:hover .numbered-num { color: var(--brand); }
a.numbered-item:hover .numbered-title { color: var(--brand); }
a.numbered-item:hover .numbered-cta {
    background: var(--brand);
    color: white;
    transform: translateX(4px);
}
@media (max-width: 640px) {
    .numbered-item { grid-template-columns: 56px 1fr auto; gap: 16px; padding: 22px 0; }
    .numbered-num { font-size: 1.35rem; }
    .numbered-title { font-size: 1.05rem; }
    .numbered-cta { width: 36px; height: 36px; font-size: 0.95rem; }
}

/* =====================================================================
   12 — UNEXPECTED VALUE GRID
   ===================================================================== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}
@media (max-width: 991px) { .value-grid { grid-template-columns: 1fr; } }

.value-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: var(--space-card);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color var(--dur-fast) ease, box-shadow var(--dur) var(--ease-out);
}
.value-card:hover {
    border-color: var(--hairline-2);
    box-shadow: var(--shadow);
}
.value-svg-wrap {
    height: 120px;
    border-radius: var(--r);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--hairline);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.value-svg { width: 100%; height: 100%; display: block; }

.value-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: -8px;
}
.value-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}
.value-desc {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.55;
    margin: 0;
}

/* =====================================================================
   13 — PROCESS STEPPER
   ===================================================================== */
.process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: process;
}
.process-step {
    position: relative;
    z-index: 1;
    padding-top: 56px;
}
/* The connector line */
.process::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--hairline);
    z-index: 0;
}
/* The fill that grows on scroll-reveal */
.process::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 12.5%;
    height: 2px;
    width: 0;
    background: var(--brand);
    z-index: 0;
    transition: width 1.6s var(--ease-out);
}
.process.process--in::after { width: 75%; }

.process-num {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--hairline);
    color: var(--muted);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur) var(--ease-out);
    box-shadow: 0 0 0 6px var(--surface);
    z-index: 2;
}
.process.process--in .process-num {
    background: var(--brand);
    border-color: var(--brand);
    color: white;
}
.section--soft .process-num { box-shadow: 0 0 0 6px var(--surface-2); }

/* Process stepper on the dark espresso anchor — invert for legibility.
   Gold accents (numbers + "when" labels) so it pops against the deep green. */
.section--ink .process::before { background: rgba(255,255,255,0.16); }
.section--ink .process::after { background: var(--accent); }
.section--ink .process-num {
    background: var(--espresso);
    border-color: rgba(229,196,106,0.45);
    color: rgba(255,255,255,0.85);
    box-shadow: 0 0 0 6px var(--espresso);
}
.section--ink .process.process--in .process-num {
    background: #E5C46A;
    border-color: #E5C46A;
    color: var(--espresso);
}
.section--ink .process-title { color: #FBF7F0; }
.section--ink .process-desc { color: rgba(255,255,255,0.86); }
.section--ink .process-when { color: #E5C46A; }
.section--ink .fine { color: rgba(255,255,255,0.62); }

.process-when {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
    text-align: center;
}
.process-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin: 6px 0 8px 0;
    text-align: center;
    letter-spacing: -0.01em;
}
.process-desc {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
    text-align: center;
}
@media (max-width: 991px) {
    .process { grid-template-columns: 1fr; gap: 12px; }
    .process::before, .process::after { display: none; }
    .process-step {
        padding: 22px 22px 22px 80px;
        background: var(--surface);
        border: 1px solid var(--hairline);
        border-radius: var(--r-lg);
        position: relative;
    }
    .process-num {
        top: 22px;
        left: 22px;
        transform: none;
        box-shadow: none;
    }
    .process-when, .process-title, .process-desc { text-align: left; }
    /* Cards are white on mobile, so reset the dark-anchor (white) text back to
       readable ink. Without this the titles render white-on-white (ghosted). */
    .section--ink .process-step .process-title { color: var(--ink); }
    .section--ink .process-step .process-desc { color: var(--muted); }
    .section--ink .process-step .process-when { color: var(--accent-2); }
    .section--ink .process-step .process-num {
        background: var(--brand);
        border-color: var(--brand);
        color: #fff;
    }
    .section--ink .process-step .fine { color: var(--muted); }
}

/* =====================================================================
   14 — PROOF GRID (artifacts)
   ===================================================================== */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}
@media (max-width: 991px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .proof-grid { grid-template-columns: 1fr; } }

.proof-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 24px;
    transition: all var(--dur) var(--ease-out);
    text-decoration: none;
    color: inherit;
}
.proof-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow);
}
.proof-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.proof-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin: 0;
}
.proof-card-kind {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--brand);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.proof-card-desc {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}
.proof-card-foot {
    margin-top: auto;
    padding-top: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Rich proof card with preview band */
.proof-grid--2x2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .proof-grid--2x2 { grid-template-columns: 1fr; } }

.proof-card--rich {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.proof-card-preview {
    height: 132px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--hairline);
}
.proof-card-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.0), rgba(255,255,255,0.0) 60%, rgba(255,255,255,0.4)),
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.15), transparent 50%);
}
/* Subtle "screen frame" mini-mockup baked in via gradient + grid pattern */
.proof-card-preview--baselines {
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 16px),
        linear-gradient(135deg, #1B3A6B, #112250);
}
.proof-card-preview--des {
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 14px),
        linear-gradient(135deg, #3B62A8, #064E36);
}
.proof-card-preview--nucash {
    background:
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.16), transparent 40%),
        linear-gradient(135deg, #C77400, #8E5400);
}
.proof-card-preview--coinpurse {
    background:
        radial-gradient(circle at 20% 70%, rgba(255,255,255,0.18), transparent 40%),
        linear-gradient(135deg, #B4830A, #6E4D00);
}
.proof-card-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* =====================================================================
   "What you get" — radial hub-and-spokes SVG
   ===================================================================== */
.covered-wrap {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 8px;
}
.covered-svg { width: 100%; height: auto; display: block; overflow: visible; }

/* Chips: fade/scale in on load, then float gently so the diagram feels alive. */
.covered-chip {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation:
        coveredChipIn 0.6s var(--ease-out) forwards,
        coveredFloat 6s ease-in-out infinite;
}
.covered-chip-1 { animation-delay: 0.20s, 0.9s; }
.covered-chip-2 { animation-delay: 0.32s, 1.4s; }
.covered-chip-3 { animation-delay: 0.44s, 0.4s; }
.covered-chip-4 { animation-delay: 0.56s, 1.9s; }
.covered-chip-5 { animation-delay: 0.68s, 0.7s; }
.covered-chip-6 { animation-delay: 0.80s, 1.6s; }
@keyframes coveredChipIn {
    from { opacity: 0; transform: scale(0.82); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes coveredFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* Hub: subtle breathing scale. */
.covered-hub {
    transform-box: fill-box;
    transform-origin: center;
    animation: coveredHubBreathe 5s ease-in-out infinite;
}
@keyframes coveredHubBreathe {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.025); }
}

/* Soft glow behind the hub pulses. */
.covered-halo {
    transform-box: fill-box;
    transform-origin: center;
    animation: coveredGlow 5s ease-in-out infinite;
}
@keyframes coveredGlow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.08); }
}

/* Gold pulse traveling outward along each spoke — "everything powered from one firm". */
.covered-pulse {
    stroke-dasharray: 34 220;
    stroke-dashoffset: 254;
    opacity: 0;
    animation: coveredPulse 3s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}
@keyframes coveredPulse {
    0%   { stroke-dashoffset: 254; opacity: 0; }
    12%  { opacity: 0.9; }
    55%  { stroke-dashoffset: 0; opacity: 0; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .covered-chip { opacity: 1; animation: none; transform: none; }
    .covered-hub, .covered-halo { animation: none; }
    .covered-pulse { display: none; }
}

/* =====================================================================
   Proof strip — compact "shipped products" row inside testimony section
   ===================================================================== */
.proof-strip {
    border-top: 1px solid var(--hairline);
    padding-top: 28px;
}
.proof-strip-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 14px 0;
}
.proof-strip-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.proof-strip-row--3 { grid-template-columns: repeat(3, 1fr); }
.proof-strip-row--2 { grid-template-columns: repeat(2, 1fr); }
/* Five own-products. In the default 4-up grid a fifth tile wraps alone onto a
   second row; this keeps the set on one line on wide screens. */
.proof-strip-row--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) {
    /* Five across gets cramped before the general 768px breakpoint, so step it
       down early. Three-then-two reads better than four-then-one. */
    .proof-strip-row--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .proof-strip-row, .proof-strip-row--3 { grid-template-columns: repeat(2, 1fr); }
    .proof-strip-row--5 { grid-template-columns: repeat(2, 1fr); }
    /* Five is prime, so 2-up always leaves a fifth tile alone on the last row
       at half width. Let it span the full width instead of sitting orphaned. */
    .proof-strip-row--5 > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
    /* One column: the span is redundant and would be a no-op, but reset it so
       the rule cannot interact with the single-column layout. */
    .proof-strip-row--5 > :last-child { grid-column: auto; }
}
@media (max-width: 420px) {
    .proof-strip-row, .proof-strip-row--3, .proof-strip-row--2,
    .proof-strip-row--5 { grid-template-columns: 1fr; }
}

.proof-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r);
    color: var(--ink) !important;
    transition: all var(--dur-fast) ease;
}
.proof-strip-item:hover {
    border-color: var(--brand);
    background: var(--brand-faint);
}
.proof-strip-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.proof-strip-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--ink);
    flex: 1;
}
.proof-strip-kind {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* "We build" stylized product preview — looks like a real app frame */
.ship-mock {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}
.ship-mock-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--hairline);
}
.ship-mock-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--hairline-2);
}
.ship-mock-dot:nth-child(1) { background: #FCA5A5; }
.ship-mock-dot:nth-child(2) { background: #FCD34D; }
.ship-mock-dot:nth-child(3) { background: #6EE7B7; }
.ship-mock-url {
    margin-left: 12px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0;
}
.ship-mock-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 240px;
}
.ship-mock-side {
    background: var(--surface-2);
    border-right: 1px solid var(--hairline);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ship-mock-side-row {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ship-mock-side-row--active {
    background: var(--brand-soft);
    color: var(--brand-2);
    font-weight: 600;
}
.ship-mock-side-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--faint);
    flex-shrink: 0;
}
.ship-mock-side-row--active .ship-mock-side-dot { background: var(--brand); }
.ship-mock-main {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ship-mock-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.ship-mock-stat {
    padding: 10px 12px;
    background: var(--surface-2);
    border-radius: 8px;
    border: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ship-mock-stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.ship-mock-stat-val {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.ship-mock-stat-unit {
    font-size: 0.7rem;
    color: var(--muted);
    margin-left: 1px;
}
.ship-mock-spark {
    width: 100%;
    height: 60px;
    display: block;
}
.ship-mock-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ship-mock-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    border-radius: 6px;
    font-size: 0.78rem;
    color: var(--ink-2);
}
.ship-mock-row-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}
.ship-mock-row-dot--ok { background: var(--ok); }
.ship-mock-row-name { flex: 1; font-weight: 500; }
.ship-mock-row-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 2px 8px;
    border-radius: var(--r-pill);
}
.ship-mock-row-tag--ok {
    color: var(--ok);
    background: var(--ok-soft);
}

@media (max-width: 480px) {
    .ship-mock-body { grid-template-columns: 1fr; }
    .ship-mock-side { flex-direction: row; flex-wrap: wrap; padding: 10px; border-right: 0; border-bottom: 1px solid var(--hairline); }
}

/* Pricing comparison cards (replaces compacting anchor pills) */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 768px) { .compare-grid { grid-template-columns: 1fr; } }

.compare-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.compare-card-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.compare-card-price {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.compare-card-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}
.compare-card--us {
    background: var(--brand-soft);
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-faint);
}
.compare-card--us .compare-card-label { color: var(--brand-2); }
.compare-card--us .compare-card-price { color: var(--brand-2); }
.compare-card-tick {
    position: absolute;
    top: 10px; right: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--brand);
    background: var(--surface);
    border: 1px solid var(--brand);
    border-radius: var(--r-pill);
    padding: 3px 8px;
}

/* =====================================================================
   15 — TESTIMONIAL (dark moment)
   ===================================================================== */
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.testimonial-card--center {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 44px 40px;
}
.testimonial-card--center .testimonial-stars { display: inline-block; }
.testimonial-author--center {
    justify-content: center;
    border-top: 1px solid var(--hairline);
    padding-top: 20px;
    margin-top: 8px;
}
.testimonial-author--center > div { text-align: left; }
@media (max-width: 540px) {
    .testimonial-card--center { padding: 32px 26px; }
}
.testimonial-stars {
    color: var(--accent);
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0 0 20px 0;
}
.testimonial-quote--small {
    font-size: 0.95rem;
    color: var(--muted);
}
.testimonial-quote--big {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    line-height: 1.45;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.01em;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--hairline);
    margin-top: auto;
}
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    /* Source photos are portrait 2:3, so a centred crop lands on the torso.
       Bias upward to the face. Previously done with per-image inline
       object-position + transform: scale(), which rendered the avatar larger
       than its 44px slot (transform does not affect layout) and overlapped
       the name beside it. */
    object-position: 50% 25%;
    flex-shrink: 0;
}
/* Initials fallback when we don't have a photo of the client */
.testimonial-avatar--initials {
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}
.testimonial-name { font-weight: 700; color: var(--ink); margin: 0; font-size: 0.95rem; }
.testimonial-role {
    color: var(--muted);
    font-size: 0.82rem;
    margin: 0;
    font-family: var(--font-mono);
}
.testimonial-role a { color: var(--brand); }

/* =====================================================================
   16 — FAQ ACCORDION
   ===================================================================== */
.faq-list {
    list-style: none;
    margin: 0; padding: 0;
    max-width: 880px;
}
.faq-item {
    border-bottom: 1px solid var(--hairline);
}
.faq-item:first-child { border-top: 1px solid var(--hairline); }
.faq-question {
    width: 100%;
    text-align: left;
    padding: 22px 0;
    background: none; border: 0;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    letter-spacing: -0.01em;
    transition: color var(--dur-fast) ease;
}
.faq-question:hover { color: var(--brand); }
.faq-question .faq-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--hairline-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--muted);
    transition: all var(--dur) var(--ease-out);
}
.faq-item.is-open .faq-icon {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur) var(--ease-in-out);
}
.faq-item.is-open .faq-answer { max-height: 400px; }
.faq-answer-inner {
    padding: 0 0 22px 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 720px;
}

/* =====================================================================
   17 — PRICING (calculator, plan cards, matrix, anchor pills)
   ===================================================================== */
.anchor-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.anchor-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r);
    font-size: 0.92rem;
    color: var(--muted);
}
.anchor-pill .price {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--ink);
}
.anchor-pill.is-us {
    background: var(--brand-soft);
    border-color: #BFD3FF;
    color: var(--ink);
}
.anchor-pill.is-us .price { color: var(--brand-2); }
.anchor-divider {
    color: var(--faint);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

/* Size slider toolbar */
.size-toolbar {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 24px 28px;
    margin-bottom: 32px;
}
.size-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}
.size-count {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.size-unit {
    font-size: 0.95rem;
    color: var(--muted);
}
.size-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--hairline);
    border-radius: var(--r-pill);
    outline: none;
}
.size-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--brand);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(44,80,153,0.4), 0 0 0 4px var(--surface);
    border: 2px solid var(--brand);
    transition: transform var(--dur-fast) ease;
}
.size-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.size-slider::-moz-range-thumb {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--brand);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(44,80,153,0.4);
}
.size-ticks {
    position: relative;
    height: 1em;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--faint);
    margin-top: 10px;
}
.size-ticks span {
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
}
.size-ticks span:first-child { transform: none; }
.size-ticks span:last-child { transform: translateX(-100%); }

/* Plan cards */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: start;
}
@media (max-width: 991px) { .plan-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 540px) { .plan-grid { grid-template-columns: 1fr; } }

/* ── Plan finder: slider/explanation on the left, single flipping
   "your plan" card on the right. No grid of options to choose from. ── */
.plan-finder {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 64px;
    align-items: start;
    /* Full container width — matches every other section so the calculator
       doesn't pinch in narrower than the rest of the page. */
}
@media (max-width: 1100px) {
    .plan-finder { grid-template-columns: 1fr 400px; gap: 48px; }
}
@media (max-width: 880px) {
    .plan-finder { grid-template-columns: 1fr; gap: 36px; max-width: 460px; margin: 0 auto; }
}
.plan-finder-left { align-self: center; }
/* The "vs one hire" value line, folded into the finder (no separate section) */
.finder-anchor {
    margin: 28px 0 24px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--muted);
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
}
.finder-anchor strong { color: var(--ink); }

/* The "your plan" card — emerald-edged, elevated, clearly THE answer.
   Content fades + slides on tier change; the price counts up via JS. */
.plan-flip-stage {
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.plan-flip-stage.is-swapping { opacity: 0; transform: translateY(8px); }

.plan-card--yours {
    position: relative;
    border-color: var(--brand);
    box-shadow: var(--shadow);
    padding-top: 38px;
    gap: 12px;
}
.plan-flip-badge {
    position: absolute;
    top: -1px; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brand);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: var(--r-pill);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(21,32,58,0.18);
}
/* The live price gets a gentle pop as it settles */
.plan-card--yours .plan-price { transition: none; }
.plan-card--yours.is-talk .plan-price { font-family: var(--font-display); }
@media (prefers-reduced-motion: reduce) {
    .plan-flip-stage { transition: none; }
    .plan-flip-stage.is-swapping { opacity: 1; transform: none; }
}

.plan-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all var(--dur) var(--ease-out);
    position: relative;
}
.plan-card.recommendation {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}
/* One-line differentiator under the tier range */
.plan-diff {
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--muted);
    margin: 0 0 6px 0;
    min-height: 2.6em;
}
.plan-best {
    display: none;
    position: absolute;
    top: -1px; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brand);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    white-space: nowrap;
}
.plan-card.recommendation .plan-best { display: inline-block; animation: pillIn var(--dur) var(--ease-out); }
@keyframes pillIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.plan-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}
.plan-range {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0 0 12px 0;
}
.plan-price {
    font-family: var(--font-mono);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    margin: 0;
}
.plan-price-unit {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--muted);
    margin-left: 4px;
    font-weight: 500;
}
.plan-price-note {
    font-size: 0.82rem;
    color: var(--muted);
    margin: -4px 0 2px;
    line-height: 1.4;
}
.plan-card--yours.is-talk .plan-price-note { color: var(--muted); }
.plan-includes {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 12px 0 18px 0;
    flex: 1;
}

/* New plan-card rate block: two hourly rates above, included hours below */
.plan-rates {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 14px 0 12px;
    padding: 14px 0 12px;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}
.plan-rate-label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 4px;
}
.plan-rate-num {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1;
}
.plan-rate-unit {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0;
    margin-left: 1px;
}
.plan-rate--partner .plan-rate-num { color: var(--brand); }
.plan-included {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.4;
    margin: 0 0 18px 0;
    flex: 1;
}
.plan-cta {
    background: var(--ink);
    color: white;
    border: 1px solid var(--ink);
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--r);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all var(--dur-fast) ease;
}
.plan-cta:hover { background: var(--brand); border-color: var(--brand); }
.plan-cta-note {
    margin: 9px 0 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--muted);
    text-align: center;
}
.plan-card.recommendation .plan-cta { background: var(--brand); border-color: var(--brand); }
.plan-card.recommendation .plan-cta:hover { background: var(--brand-2); border-color: var(--brand-2); }

/* Hiring-anchor line — the "vs $X for full-time hire" deal cue.
   Brand color, visible weight — this is the line that makes the price look cheap. */
.plan-anchor {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--brand);
    margin: 10px 0 6px;
    font-weight: 500;
}
.plan-anchor strong { color: var(--brand-2); font-weight: 700; }

/* Struck rack rate next to the partner rate — universal "this is a discount" signal */
.plan-rate-strike {
    color: var(--faint);
    text-decoration: line-through;
    font-size: 0.7rem;
    font-weight: 500;
    margin-right: 4px;
    letter-spacing: 0;
}
.plan-rate-foot {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    margin: 2px 0 0;
    letter-spacing: 0;
}

/* Enterprise card price slot — text ("Let's talk") instead of number */
.plan-price--talk {
    font-size: 1.55rem;
    letter-spacing: -0.01em;
}
.plan-rate-num--word {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
}

/* "What you're getting" perks list — Baselines value tag + included hours */
.plan-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.plan-perks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--ink-2);
    line-height: 1.5;
}
.plan-perks li i {
    color: var(--ok);
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.plan-perks-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    flex: 1;
    min-width: 0;
}
.plan-perks-body strong { color: var(--ink); font-weight: 600; }
.plan-perks-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ok);
    background: var(--ok-soft);
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Risk-reversal callout — the "30-day trial, drop us anytime" line.
   Sits above the plan grid as a confidence anchor before the buyer sees prices. */
.risk-reversal {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 26px;
    margin: 0 0 40px;
    background: var(--brand-soft);
    border: 1px solid #BFD3FF;
    border-radius: var(--r-lg);
}
.risk-reversal-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid var(--brand);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.risk-reversal-body { min-width: 0; }
.risk-reversal-headline {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.risk-reversal-text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0;
}
/* The one billing caveat. Deliberately quieter than the reassurance above:
   it has to be visible and findable, but it shouldn't be what the eye lands on. */
.risk-reversal-note {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 10px 0 0;
}
@media (max-width: 640px) {
    .risk-reversal { flex-direction: column; gap: 12px; padding: 18px 20px; }
}

/* Disabled plan card (out-of-band for the current slider value).
   We dim individual elements via color rather than the whole card via opacity,
   so the strikethrough rack rates and "$3,000 VALUE" badge stay readable. */
.plan-card.is-disabled {
    pointer-events: none;
    background: var(--surface-2);
    border-color: var(--hairline);
}
.plan-card.is-disabled .plan-name,
.plan-card.is-disabled .plan-range,
.plan-card.is-disabled .plan-price,
.plan-card.is-disabled .plan-price-unit,
.plan-card.is-disabled .plan-anchor,
.plan-card.is-disabled .plan-anchor strong,
.plan-card.is-disabled .plan-rate-label,
.plan-card.is-disabled .plan-rate-num,
.plan-card.is-disabled .plan-rate-unit,
.plan-card.is-disabled .plan-perks-body > span:not(.plan-perks-tag),
.plan-card.is-disabled .plan-perks-body strong,
.plan-card.is-disabled .plan-perks li i {
    color: var(--faint) !important;
}
.plan-card.is-disabled .plan-rate-strike { color: var(--faint) !important; }
.plan-card.is-disabled .plan-cta {
    background: var(--faint);
    border-color: var(--faint);
    color: white;
    cursor: not-allowed;
}
/* .plan-perks-tag keeps its full green styling — passive trust signal */

/* Service matrix table */
.matrix-wrap {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    overflow-x: auto;
}
.matrix {
    width: 100%;
    border-collapse: collapse;
}
.matrix thead th {
    background: var(--surface-2);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 14px 16px;
    border-bottom: 1px solid var(--hairline);
    text-align: center;
    white-space: nowrap;
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
}
.matrix thead th:first-child { text-align: left; }
.matrix tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--hairline);
    color: var(--ink-2);
    font-size: 0.88rem;
    text-align: center;
    font-family: var(--font-mono);
}
.matrix tbody td:first-child {
    text-align: left;
    color: var(--muted);
    font-family: var(--font-sans);
}
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix .partner { color: var(--brand); font-weight: 600; }
.matrix .check { color: var(--brand); }
.matrix-cat td {
    background: var(--surface-2);
    font-weight: 700;
    color: var(--ink) !important;
    text-align: left !important;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 16px !important;
    font-family: var(--font-mono);
}
.matrix-cat td i { color: var(--brand); margin-right: 6px; }

.scroll-hint {
    display: none;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
    margin-bottom: 8px;
    font-family: var(--font-mono);
}
@media (max-width: 768px) {
    .scroll-hint { display: block; }
    .matrix-hide-mobile { display: none; }
}

/* =====================================================================
   17b — SERVICES PAGE (jump nav + step number + checklist)
   ===================================================================== */
.services-jump {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 8px;
    box-shadow: var(--shadow-sm);
}
.services-jump-item {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--ink) !important;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all var(--dur-fast) ease;
}
.services-jump-item:hover {
    background: var(--brand-soft);
    color: var(--brand-2) !important;
}
.services-jump-item:hover .services-jump-num {
    color: var(--brand-2);
}
.services-jump-item i {
    color: var(--faint);
    transition: transform var(--dur-fast) ease, color var(--dur-fast) ease;
}
.services-jump-item:hover i {
    color: var(--brand);
    transform: translateX(2px);
}
.services-jump-num {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--faint);
    text-align: center;
}

.services-step-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 -4px 0;
}

/* Services hero animated SVG — "service catalog" with cycling highlight */
.svc-svg {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Highlight rectangle that cycles down the 6 service rows.
   Each row is 58px tall (rows at y=74, 132, 190, 248, 306, 364).
   Loops over 14s. */
.svc-highlight {
    animation: svcHighlightCycle 14s ease-in-out infinite;
}
@keyframes svcHighlightCycle {
    0%, 13%    { transform: translateY(0); }
    16%, 30%   { transform: translateY(58px); }
    33%, 47%   { transform: translateY(116px); }
    50%, 64%   { transform: translateY(174px); }
    67%, 81%   { transform: translateY(232px); }
    84%, 96%   { transform: translateY(290px); }
    100%       { transform: translateY(0); }
}

/* Pulsing green status dot in the header */
.svc-status-pulse {
    transform-origin: 38px 40px;
    transform-box: fill-box;
    animation: svcStatusDotPulse 2s ease-in-out infinite;
}
@keyframes svcStatusDotPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
    .svc-highlight, .svc-status-pulse { animation: none; }
}

/* ---- The growth-journey hero visual (Scattered -> One firm -> Growing) ---- */
.journey-svg {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* Gold progress line draws along the track, then holds, then resets. */
.journey-svg .j-progress {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: jDraw 9s ease-in-out infinite;
}
@keyframes jDraw {
    0%        { stroke-dashoffset: 600; }
    45%, 88%  { stroke-dashoffset: 0; }
    100%      { stroke-dashoffset: 600; }
}
/* Stages fade/lift in sequence as the line reaches them. */
.journey-svg .j-stage { opacity: 0; animation: jStageIn 9s ease-in-out infinite; }
.journey-svg .j-stage[data-stage="1"] { animation-delay: 0s; }
.journey-svg .j-stage[data-stage="2"] { animation-delay: 1.6s; }
.journey-svg .j-stage[data-stage="3"] { animation-delay: 3.2s; }
@keyframes jStageIn {
    0%        { opacity: 0; }
    8%, 90%   { opacity: 1; }
    100%      { opacity: 0; }
}
/* The scatter dots drift together slightly (the "mess" before the firm). */
.journey-svg .j-scatter circle { animation: jDrift 9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes jDrift {
    0%, 100% { transform: translate(0,0); }
    40%      { transform: translate(2px, -2px); }
}
/* Hub + gold node give a gentle pop when reached. */
.journey-svg .j-node { transform-box: fill-box; transform-origin: center; animation: jPop 9s ease-in-out infinite; }
.journey-svg .j-stage[data-stage="3"] .j-node { animation-delay: 1.4s; }
@keyframes jPop {
    0%, 14%   { transform: scale(0.86); }
    20%, 88%  { transform: scale(1); }
    100%      { transform: scale(0.86); }
}
/* Growth bars rise in. */
.journey-svg .j-bars rect { transform-box: fill-box; transform-origin: bottom; animation: jBars 9s ease-in-out infinite; }
.journey-svg .j-bars rect:nth-child(1) { animation-delay: 3.4s; }
.journey-svg .j-bars rect:nth-child(2) { animation-delay: 3.6s; }
.journey-svg .j-bars rect:nth-child(3) { animation-delay: 3.8s; }
@keyframes jBars {
    0%, 100% { transform: scaleY(0.2); }
    44%, 88% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
    .journey-svg .j-progress { stroke-dashoffset: 0; animation: none; }
    .journey-svg .j-stage, .journey-svg .j-node, .journey-svg .j-bars rect, .journey-svg .j-scatter circle { opacity: 1; animation: none; transform: none; }
}

/* Compact services grid (services page main layout) */
.services-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 980px) { .services-compact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-compact-grid { grid-template-columns: 1fr; } }

/* Scannable service tile: icon + title + one outcome line + a tight list.
   No dense paragraph — the eye gets "what is it / what do I get" instantly. */
.svc-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color var(--dur-fast) ease, box-shadow var(--dur) var(--ease-out), transform var(--dur-fast) ease;
}
.svc-card:hover {
    border-color: var(--brand-soft);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.svc-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.svc-card-ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.25rem;
    flex-shrink: 0;
}
.svc-card-ico--gold { background: var(--surface-3); color: var(--accent-2); }
.svc-card-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--faint);
    letter-spacing: 0.04em;
}
.svc-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}
.svc-card-outcome {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}
.svc-card-list {
    list-style: none;
    padding: 14px 0 0;
    margin: 6px 0 0;
    border-top: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.svc-card-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.85rem;
    color: var(--ink-2);
    line-height: 1.4;
}
.svc-card-list li::before {
    content: "";
    position: absolute;
    left: 2px; top: 7px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.svc-card .link-arrow { margin-top: auto; padding-top: 6px; font-size: 0.86rem; }
/* The "and everything around it" closer tile — visually quieter */
.svc-card--more {
    background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface-3) 100%);
    border-style: dashed;
    border-color: var(--hairline-2);
    justify-content: flex-start;
}
.svc-card--more .svc-card-outcome { flex: 1; }

.services-compact-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 26px 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color var(--dur-fast) ease, box-shadow var(--dur) var(--ease-out);
}
.services-compact-card:hover {
    border-color: var(--hairline-2);
    box-shadow: var(--shadow);
}
.services-compact-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.services-compact-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-soft);
    padding: 4px 9px;
    border-radius: var(--r-pill);
    letter-spacing: 0.04em;
}
.services-compact-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}
/* Plain-English outcome line — what a non-techie reads first */
.services-compact-plain {
    color: var(--brand-2);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 6px 0 8px;
}
.services-compact-desc {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}
.services-compact-card .checklist li {
    font-size: 0.88rem;
}
.services-compact-card .link-arrow {
    margin-top: auto;
    font-size: 0.88rem;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-2);
    font-size: 0.92rem;
    line-height: 1.5;
}
.checklist li::before {
    content: "";
    flex-shrink: 0;
    margin-top: 7px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
}
.checklist li strong { color: var(--ink); font-weight: 600; }
.checklist--ok li::before { background: var(--ok); }
.checklist .fine { display: block; margin-top: 4px; }

/* "Whole firm < one internal hire" comparison strip on pricing */
.vs-hire {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
    max-width: 760px;
    margin: 0 auto 40px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface);
}
.vs-hire-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 28px;
}
.vs-hire-col--us { background: var(--brand-faint); }
.vs-hire-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.vs-hire-col--us .vs-hire-label { color: var(--brand-2); }
.vs-hire-num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1;
    color: var(--faint);
    letter-spacing: -0.01em;
}
.vs-hire-col--us .vs-hire-num { color: var(--brand); }
.vs-hire-unit { font-size: 0.9rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.vs-hire-sub { font-size: 0.85rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.vs-hire-vs {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    padding: 0 6px;
    border-left: 1px solid var(--hairline);
    border-right: 1px solid var(--hairline);
    background: var(--surface-2);
}
@media (max-width: 600px) {
    .vs-hire { grid-template-columns: 1fr; }
    .vs-hire-vs { border: 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 8px; justify-content: center; }
}

/* Layer cards on pricing — colored top accent + clean term/def list */
.layer-card { padding: 36px 32px; }
.layer-card--base { border-top: 3px solid var(--brand); }
.layer-card--hourly { border-top: 3px solid var(--accent); }
/* Scannable layer bullets — bigger, more air, exec-friendly */
.layer-checklist { margin-top: 18px; gap: 14px; }
.layer-checklist li { font-size: 1rem; font-weight: 500; color: var(--ink); align-items: center; }
.layer-checklist li::before { margin-top: 0; width: 7px; height: 7px; }
.layer-card--hourly .layer-checklist li::before { background: var(--accent); }

.layer-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
    margin: 0 0 16px 0;
}
.layer-tag--ok { color: var(--ok); }

.layer-h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.layer-sub {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 28px 0;
}

.layer-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.layer-item {
    padding-top: 16px;
    border-top: 1px solid var(--hairline);
}
.layer-item:first-child {
    padding-top: 0;
    border-top: 0;
}
.layer-term {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}
.layer-def {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

/* =====================================================================
   18 — CPA-SPECIFIC
   ===================================================================== */
.compliance-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-soft);
    color: var(--accent-2);
    border: 1px solid #FFDF99;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    letter-spacing: 0.03em;
}
.compliance-pill i { font-size: 0.92rem; color: var(--accent); }

.amber-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Req → control map */
.req-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.req-row {
    display: grid;
    grid-template-columns: 1fr 32px 1.3fr;
    gap: 12px;
    align-items: stretch;
}
.req-cell, .control-cell {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r);
    padding: 18px 20px;
}
.req-cell {
    border-left: 3px solid var(--accent);
}
.control-cell {
    border-left: 3px solid var(--brand);
}
.req-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
}
.req-text {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.45;
}
.control-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}
.control-title i { color: var(--brand); }
.control-text {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}
.req-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--faint);
    font-size: 1.1rem;
}
@media (max-width: 768px) {
    .req-row { grid-template-columns: 1fr; gap: 8px; }
    .req-arrow { transform: rotate(90deg); padding: 4px 0; }
}

.guardrail-callout {
    background: var(--brand-soft);
    border: 1px solid #BFD3FF;
    border-left: 4px solid var(--brand);
    border-radius: var(--r);
    padding: 20px 24px;
    color: var(--ink-2);
    font-size: 0.93rem;
    line-height: 1.65;
}
.guardrail-callout strong { color: var(--ink); }
.guardrail-callout em { font-style: italic; color: var(--brand-2); font-weight: 600; }

/* CPA hero proof card (Brian quote in white card on light hero) */
.proof-quote-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}
.proof-quote-stars {
    color: #FBBF24;
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.proof-quote-text {
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0 0 18px 0;
    font-style: italic;
}
.proof-quote-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--hairline);
}
.proof-quote-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.proof-quote-name {
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    font-size: 0.95rem;
}
.proof-quote-role {
    color: var(--muted);
    font-size: 0.82rem;
    margin: 0;
    font-family: var(--font-mono);
}

/* =====================================================================
   19 — ABOUT-SPECIFIC
   ===================================================================== */
.about-avatar-wrap {
    display: inline-block;
    padding: 6px;
    background: linear-gradient(135deg, var(--brand-soft), var(--surface-2));
    border-radius: 50%;
    box-shadow: var(--shadow);
}
.about-avatar {
    width: 260px; height: 260px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--surface);
}
@media (max-width: 768px) {
    .about-avatar { width: 200px; height: 200px; }
}

/* Story icon (card head) */
.story-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* Stat row */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.stat-cell {
    padding: 28px 22px;
    text-align: center;
    border-right: 1px solid var(--hairline);
}
.stat-cell:last-child { border-right: 0; }
.stat-num {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-2);
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0 0 6px 0;
    font-variant-numeric: tabular-nums;
}
.stat-label {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .stat-cell { border-right: 0; border-bottom: 1px solid var(--hairline); }
    .stat-cell:nth-child(odd) { border-right: 1px solid var(--hairline); }
    .stat-cell:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Cert grid — generous breathing room. 2-col fits 4 certs cleanly. */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
@media (max-width: 480px) { .cert-grid { grid-template-columns: 1fr; } }

.cert-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 26px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all var(--dur-fast) ease;
}
.cert-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-sm);
}
.cert-badge {
    width: 68px; height: 68px;
    object-fit: contain;
    margin-bottom: 10px;
}
.cert-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
}
.cert-level {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--muted);
    margin: 4px 0 0 0;
    line-height: 1.3;
}
/* On the dark anchor, cert cards become glass tiles so they don't glare white */
.section--ink .cert-card {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.14);
}
.section--ink .cert-card:hover {
    border-color: rgba(229,196,106,0.5);
    box-shadow: none;
}
.section--ink .cert-name { color: #FBF7F0; }
.section--ink .cert-level { color: rgba(255,255,255,0.62); }

/* Stack SVG container */
.stack-svg-wrap {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 12px;
}
.stack-svg { width: 100%; height: auto; display: block; }

/* =====================================================================
   20 — VENDOR SVG ANIMATIONS (preserved verbatim)
   ===================================================================== */
.vendor-svg-wrap { width: 100%; padding: 8px; }
.vendor-svg { width: 100%; height: auto; display: block; }

.tgg-vendor-node {
    opacity: 0;
    animation: tggVendorIn 0.6s ease forwards;
}
.tgg-vendor-node-1 { animation-delay: 0.10s; }
.tgg-vendor-node-2 { animation-delay: 0.25s; }
.tgg-vendor-node-3 { animation-delay: 0.40s; }
.tgg-vendor-node-4 { animation-delay: 0.55s; }
.tgg-vendor-node-5 { animation-delay: 0.70s; }
.tgg-vendor-node-6 { animation-delay: 0.85s; }
@keyframes tggVendorIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.tgg-vendor-flow {
    stroke-dashoffset: 0;
    animation: tggFlowMove 2.4s linear infinite;
}
.tgg-vendor-flow-1 { animation-delay: 0s; }
.tgg-vendor-flow-2 { animation-delay: 0.6s; }
.tgg-vendor-flow-3 { animation-delay: 1.2s; }
.tgg-vendor-flow-4 { animation-delay: 1.8s; }
.tgg-vendor-flow-5 { animation-delay: 2.4s; }
.tgg-vendor-flow-6 { animation-delay: 3.0s; }
@keyframes tggFlowMove {
    from { stroke-dashoffset: 374; }
    to   { stroke-dashoffset: 0; }
}

.tgg-vendor-pulse {
    transform-origin: 500px 180px;
    transform-box: fill-box;
    animation: tggPulse 2.8s ease-in-out infinite;
}
@keyframes tggPulse {
    0%, 100% { opacity: 0.6;  transform: scale(1); }
    50%      { opacity: 0.25; transform: scale(1.12); }
}

.tgg-vendor-one-svg {
    opacity: 0;
    animation: tggOneIn 0.8s ease 0.7s forwards;
}
@keyframes tggOneIn {
    from { opacity: 0; transform: scale(0.85); transform-origin: 500px 180px; transform-box: fill-box; }
    to   { opacity: 1; transform: scale(1); }
}

/* =====================================================================
   21 — COST CHART SVG ANIMATIONS (preserved)
   ===================================================================== */
.cost-chart-wrap { width: 100%; padding: 8px; }
.cost-chart { width: 100%; height: auto; display: block; }

.tgg-cost-col {
    transform-origin: center 220px;
    transform-box: fill-box;
    animation: tggColGrow 0.7s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
    animation-delay: calc(var(--i) * 0.12s);
    opacity: 0;
}
@keyframes tggColGrow {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tgg-cost-hour {
    transform-origin: bottom;
    transform-box: fill-box;
    animation: tggHourBob 4.5s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.3s);
}
@keyframes tggHourBob {
    0%, 100% { transform: scaleY(1); }
    50%      { transform: scaleY(0.94); }
}

/* =====================================================================
   22 — STACK SVG ANIMATIONS (preserved)
   ===================================================================== */
.stack-layer {
    opacity: 0;
    animation: stackLayerIn 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
    transform-origin: center bottom;
    transform-box: fill-box;
}
.stack-layer-1 { animation-delay: 0.05s; }
.stack-layer-2 { animation-delay: 0.20s; }
.stack-layer-3 { animation-delay: 0.35s; }
.stack-layer-4 { animation-delay: 0.50s; }
.stack-layer-5 { animation-delay: 0.65s; }
@keyframes stackLayerIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.stack-layer-5 {
    animation: stackLayerIn 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) 0.65s forwards,
               stackTopPulse 3.6s ease-in-out 1.5s infinite;
}
@keyframes stackTopPulse {
    0%, 100% { filter: brightness(1); }
    50%      { filter: brightness(1.10); }
}

/* =====================================================================
   23 — VALUE-CARD MICRO SVG ANIMATIONS (new)
   ===================================================================== */
/* Savings counter ticking */
.svg-savings-digit { font-family: var(--font-mono); font-weight: 700; }
.svg-savings-arrow {
    animation: svgSavingsArrow 2.2s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}
@keyframes svgSavingsArrow {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%      { transform: translateY(-4px); opacity: 0.7; }
}

/* Direct vendor invoice arrows */
.svg-invoice-arrow {
    stroke-dasharray: 6 6;
    animation: svgInvoiceFlow 1.8s linear infinite;
}
@keyframes svgInvoiceFlow {
    from { stroke-dashoffset: 12; }
    to   { stroke-dashoffset: 0; }
}
.svg-invoice-bypass {
    animation: svgBypassFade 3s ease-in-out infinite;
}
@keyframes svgBypassFade {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.8; }
}

/* Apps materializing */
.svg-app-brick {
    opacity: 0;
    animation: svgAppIn 0.5s ease forwards;
    transform-origin: center;
    transform-box: fill-box;
}
.svg-app-brick-1 { animation-delay: 0.10s; }
.svg-app-brick-2 { animation-delay: 0.30s; }
.svg-app-brick-3 { animation-delay: 0.50s; }
.svg-app-brick-4 { animation-delay: 0.70s; }
@keyframes svgAppIn {
    from { opacity: 0; transform: translateY(8px) scale(0.85); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Number counter (used in unexpected value + mockup) — JS animates via attribute */
.num-counter {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

/* =====================================================================
   24 — SCROLL REVEAL UTILITY
   ===================================================================== */
/* Scroll-reveal: use animation (one-shot) instead of transition so the
   reveal doesn't leave a long-lived transform-transition on the element
   that would slow down hover state changes. After animation completes,
   the element has no transition-on-transform, so hovers feel snappy. */
.reveal {
    opacity: 0;
}
.reveal.is-in {
    animation: revealIn 0.65s var(--ease-out) forwards;
}
@keyframes revealIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Staggered children — same animation, individual delays */
.reveal-stagger > * { opacity: 0; }
.reveal-stagger.is-in > * {
    animation: revealStaggerIn 0.55s var(--ease-out) forwards;
}
.reveal-stagger.is-in > *:nth-child(1) { animation-delay: 0.05s; }
.reveal-stagger.is-in > *:nth-child(2) { animation-delay: 0.15s; }
.reveal-stagger.is-in > *:nth-child(3) { animation-delay: 0.25s; }
.reveal-stagger.is-in > *:nth-child(4) { animation-delay: 0.35s; }
.reveal-stagger.is-in > *:nth-child(5) { animation-delay: 0.45s; }
.reveal-stagger.is-in > *:nth-child(6) { animation-delay: 0.55s; }
@keyframes revealStaggerIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
   25 — CONTACT MODAL
   ===================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(21,32,58,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    /* Critical: shell + children must NOT catch clicks when closed.
       Without this, the invisible modal-window (560px × 92vh) sits at
       z-index 1001 over the page center, intercepting hovers and clicks
       on cards behind it. visibility: hidden takes the modal out of the
       hit-testing layer entirely until body.modal-open is set. */
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear var(--dur);
}
@media (min-width: 769px) {
    .modal-shell {
        align-items: center;
        padding: 40px 20px;
    }
}
.modal-window {
    background: var(--surface);
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    box-shadow: var(--shadow-modal);
    transform: translateY(40px);
    opacity: 0;
    pointer-events: none; /* only active when body.modal-open */
    transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
    position: relative;
    overflow-x: hidden;
}
@media (min-width: 769px) {
    .modal-window {
        border-radius: var(--r-xl);
        transform: translateY(24px) scale(0.98);
    }
}
body.modal-open .modal-backdrop {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity var(--dur) var(--ease-out);
}
body.modal-open .modal-shell {
    pointer-events: auto;
    visibility: visible;
    transition: none;
}
body.modal-open .modal-window {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.modal-header {
    padding: 28px 32px 16px;
    border-bottom: 1px solid var(--hairline);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}
.modal-sub {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
    max-width: 38ch;
}
.modal-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all var(--dur-fast) ease;
    flex-shrink: 0;
}
.modal-close:hover {
    background: var(--ink);
    color: white;
}
.modal-body {
    padding: 24px 32px 32px;
}
@media (max-width: 480px) {
    .modal-header { padding: 22px 22px 14px; }
    .modal-body { padding: 20px 22px 28px; }
    .modal-window { max-height: 100vh; border-radius: 0; }
}

body.modal-open { overflow: hidden; }

/* Modal success state */
.modal-success {
    text-align: center;
    padding: 32px 16px 16px;
}
.modal-success-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--ok-soft);
    color: var(--ok);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

/* =====================================================================
   26 — FORM (contact)
   ===================================================================== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 12px;
}
.form-row--single { grid-template-columns: 1fr; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-label, form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
    font-family: var(--font-sans) !important;
}

.form-control {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--hairline-2);
    border-radius: var(--r);
    padding: 11px 14px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
    appearance: none;
}
.form-control:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-control.is-invalid {
    border-color: #DC2626;
    background-image: none;
    padding-right: 14px;
}
.form-control.is-valid {
    border-color: var(--ok);
    background-image: none;
    padding-right: 14px;
}
.invalid-feedback {
    display: none;
    color: #DC2626;
    font-size: 0.82rem;
    margin-top: 4px;
}
.form-control.is-invalid ~ .invalid-feedback { display: block; }

/* intl-tel-input blend */
.iti { width: 100%; display: block; }
.iti__tel-input.form-control { padding-left: 92px !important; }
.iti--separate-dial-code .iti__selected-dial-code { font-weight: 500; font-family: var(--font-mono); }

/* Turnstile widget */
.tgg-turnstile-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}
.tgg-turnstile-wrap .cf-turnstile { width: 100%; }
.tgg-turnstile-wrap iframe { border-radius: var(--r) !important; }

/* Submit button styling — override the contact.html include's Bootstrap classes */
form [name=submit] {
    background: var(--brand);
    color: white;
    border: 1px solid var(--brand);
    width: 100%;
    padding: 13px 22px;
    border-radius: var(--r);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    transition: all var(--dur-fast) ease;
    margin-top: 8px;
}
form [name=submit]:hover:not(:disabled) {
    background: var(--brand-2);
    border-color: var(--brand-2);
}
form [name=submit]:disabled {
    background: var(--surface-3);
    color: var(--faint);
    border-color: var(--hairline-2);
    cursor: not-allowed;
}

/* Bootstrap-grid escape hatch — form was originally Bootstrap. We make
   the .row + .col classes inside the contact form work without Bootstrap. */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
form .row > .col-12 { grid-column: 1 / -1; }
form .row > .col-sm-6 { grid-column: span 1; }
@media (max-width: 540px) {
    form .row { grid-template-columns: 1fr; }
    form .row > .col-sm-6 { grid-column: 1 / -1; }
}
form .g-3 { gap: 14px; }
form h3 { display: none; } /* Hide the inline "Contact Us" heading since modal has its own */

/* =====================================================================
   27 — FOOTER
   ===================================================================== */
.footer {
    /* Deepest near-black navy — a clear step DOWN from the brighter CTA band,
       so the two dark zones read as distinct, not one undifferentiated mass. */
    background: linear-gradient(165deg, #0D1A30 0%, #091324 100%);
    color: rgba(251,247,240,0.72);
    padding: 56px 0 28px 0;
}
.footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 991px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; } }

.footer-brand-row { display: flex; align-items: center; gap: 10px; }
.footer-brand-row img { width: 28px; height: 28px; }
.footer-brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: #FBF7F0;
    letter-spacing: -0.01em;
}
.footer-tagline {
    color: rgba(251,247,240,0.66);
    font-size: 0.88rem;
    margin: 10px 0 6px;
    max-width: 28ch;
}
.footer .fine { color: rgba(251,247,240,0.5); }
.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 14px;
}
.footer-social a {
    color: rgba(251,247,240,0.6);
    font-size: 1.15rem;
    transition: color var(--dur-fast) ease;
}
.footer-social a:hover { color: var(--accent); }
.footer-col-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #E5C46A;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 14px 0;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 4px 0; }
.footer-links a,
.footer-links button {
    color: rgba(251,247,240,0.72);
    font-size: 0.9rem;
    transition: color var(--dur-fast) ease;
}
.footer-links a:hover,
.footer-links button:hover { color: #E5C46A; }
/* The contact trigger is a button, not an anchor: it opens a modal rather than
   navigating, so href="#" would jump to the top of the page without JS. */
.footer-links button {
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    line-height: inherit;
    cursor: pointer;
    text-align: left;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: rgba(251,247,240,0.5);
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(251,247,240,0.5); }
.footer-bottom-links a:hover { color: #E5C46A; }

/* =====================================================================
   28 — TEAMS FAB (floating action button)
   ===================================================================== */
.teams-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
}
.teams-fab-button {
    background: var(--ink);
    color: white;
    border-radius: var(--r-pill);
    padding: 12px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--dur-fast) ease;
    cursor: pointer;
}
.teams-fab-button:hover {
    background: var(--brand);
    box-shadow: var(--shadow-lg);
}
.teams-fab-button i { font-size: 1rem; }

/* =====================================================================
   29 — FINAL CTA STRIP
   ===================================================================== */
.cta-strip {
    /* Brighter sapphire-navy band, a clear tonal step above the near-black
       footer. Layered with a faint dot-grid texture and a soft gold glow so it
       reads as a crafted closing statement, not a flat slab. */
    background:
        radial-gradient(110% 130% at 88% -10%, rgba(184,147,46,0.16) 0%, transparent 50%),
        radial-gradient(circle at center, rgba(255,255,255,0.05) 0.8px, transparent 0.8px),
        linear-gradient(168deg, #2B4D88 0%, #1E3D74 100%);
    background-size: auto, 22px 22px, auto;
    color: rgba(251,247,240,0.82);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(184,147,46,0.5);
}
/* When the CTA directly follows a dark anchor (e.g. About's certs), add a gold
   hairline so the two dark bands don't merge into one mass. */
.section--ink + .cta-strip {
    border-top: 1px solid rgba(184,147,46,0.5);
}
/* Oversized signature shield watermark — editorial detail, very faint */
.cta-strip::after {
    content: "";
    position: absolute;
    right: -60px; bottom: -80px;
    width: 360px; height: 360px;
    background: url("/static/images/SmallLogoCompressedWhiteClean.png") no-repeat center / contain;
    opacity: 0.04;
    pointer-events: none;
}
.cta-strip-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 56px;
}
.cta-strip-copy { max-width: 52ch; }
@media (max-width: 768px) {
    .cta-strip-inner { grid-template-columns: 1fr; gap: 32px; }
}
.cta-strip-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E5C46A;
    margin-bottom: 18px;
}
.cta-strip-eyebrow::before {
    content: "";
    width: 26px; height: 2px; border-radius: 2px;
    background: var(--accent);
}
.cta-strip h2 {
    color: #FBF7F0;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.8vw, 2.4rem);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}
.cta-strip .lead { color: rgba(251,247,240,0.68); max-width: 42ch; margin-top: 14px; font-size: 1rem; }
.cta-strip-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 200px; }
.cta-strip .btn--primary {
    background: var(--accent);
    color: var(--espresso);
    border-color: var(--accent);
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(184,147,46,0.28);
    transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease, background var(--dur-fast) ease;
}
.cta-strip .btn--primary:hover {
    background: #CDA63F;
    border-color: #CDA63F;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(184,147,46,0.38);
}
/* A frosted fill and a firm border, so the second button reads as a button
   even over the photograph behind the band. */
.cta-strip .btn--secondary {
    background: rgba(255,255,255,0.14);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    color: #FFFFFF;
    border: 1.5px solid rgba(255,255,255,0.75);
    box-shadow: 0 6px 18px -10px rgba(0,0,0,0.45);
}
.cta-strip .btn--secondary:hover {
    background: #FFFFFF;
    color: var(--brand-2);
    border-color: #FFFFFF;
}
@media (max-width: 768px) {
    .cta-strip { padding: 64px 0; }
    .cta-strip-actions { width: 100%; }
}

/* =====================================================================
   30 — PROBLEM / SOLUTION SECTION
   ===================================================================== */
.tension {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
@media (max-width: 991px) {
    .tension { grid-template-columns: 1fr; gap: 32px; }
}
.tension-side {
    padding: 32px;
    border-radius: var(--r-lg);
}
.tension-side--without {
    background: var(--surface-2);
    border: 1px solid var(--hairline);
}
.tension-side--with {
    background: var(--surface);
    color: var(--ink-2);
    border: 1px solid var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-sm);
    position: relative;
}
.tension-side--with::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 3px;
    background: var(--brand);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.tension-side--with .h3 { color: var(--ink); }
.tension-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.tension-side--without .tension-label { color: var(--muted); }
.tension-side--with .tension-label { color: var(--brand); }

/* Tangle SVG container */
.tangle-svg { width: 100%; max-width: 320px; margin: 0 auto; display: block; }
.tangle-line {
    stroke-dasharray: 4 4;
    animation: tangleFlow 4s linear infinite;
    animation-delay: var(--d, 0s);
}
@keyframes tangleFlow {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: 16; }
}

/* =====================================================================
   31 — REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .tgg-vendor-node, .tgg-vendor-one-svg,
    .stack-layer, .tgg-cost-col,
    .svg-app-brick, .reveal, .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
    }
    .tgg-vendor-flow, .tgg-vendor-pulse,
    .tgg-cost-hour, .stack-layer-5,
    .svg-savings-arrow, .svg-invoice-arrow, .svg-invoice-bypass,
    .status-dot--live, .tangle-line, .process::after,
    .scan-log-spinner, .scan-progress-bar {
        animation: none !important;
    }
    .process::after { width: 75% !important; }
}

/* =====================================================================
   36 — PROCESS 3-COLUMN VARIANT (used on /tenant)
   ===================================================================== */
.process--3 { grid-template-columns: repeat(3, 1fr); }
.process--3::before, .process--3::after { left: 16.67%; right: 16.67%; }
.process--3.process--in::after { width: 66.66%; }
@media (max-width: 991px) {
    .process--3 { grid-template-columns: 1fr; }
}

/* =====================================================================
   37 — TENANT / ASSESSMENT PAGES
   ===================================================================== */

/* --- Scanning page (tenant_processing.html) --- */
.scan-progress {
    height: 6px;
    background: var(--hairline);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 28px;
}
.scan-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
    border-radius: 999px;
    transition: width 0.4s var(--ease-out);
}
.scan-log {
    height: 140px;
    overflow: hidden;
    position: relative;
}
.scan-log-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    font-size: 0.92rem;
    color: var(--muted);
    transition: opacity 0.4s ease, height 0.3s ease, padding 0.3s ease;
}
.scan-log-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.scan-log-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--hairline);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: scan-spin 0.7s linear infinite;
}
@keyframes scan-spin { to { transform: rotate(360deg); } }
.scan-log-check { color: var(--ok); font-size: 1.05rem; }
.scan-log-item.active { color: var(--ink); font-weight: 500; opacity: 1; }
.scan-log-item.done { color: var(--muted); opacity: 1; }
.scan-log-item.faded { opacity: 0; height: 0; padding: 0; overflow: hidden; }

.scan-done-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ok-soft);
    color: var(--ok);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto;
}
.scan-consent-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
}
.scan-consent-check {
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
    cursor: pointer;
}

/* --- Report (tenant_assessment.html) --- */
.grade-hero { text-align: center; }
.grade-ring {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
.grade-of {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}
.grade-1 { background: linear-gradient(135deg, #EF4444, #DC2626); }
.grade-2 { background: linear-gradient(135deg, #F97316, #EA580C); }
.grade-3 { background: linear-gradient(135deg, #EAB308, #CA8A04); }
.grade-4 { background: linear-gradient(135deg, #22C55E, #16A34A); }
.grade-5 { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.grade-label {
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
    font-size: 0.95rem;
}
.grade-note {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0;
}

/* Stat tiles */
.stat-tile {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r);
    padding: 22px 18px;
    text-align: center;
}
.stat-tile-value {
    font-family: var(--font-mono);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-tile-label {
    font-size: 0.72rem;
    color: var(--muted);
    margin: 8px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
@media (max-width: 767px) {
    .stat-tile-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Findings */
.finding-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--hairline);
}
.finding-item:last-child { border-bottom: 0; }
.finding-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}
.finding-icon.is-pass { background: var(--ok-soft); color: var(--ok); }
.finding-icon.is-warn { background: var(--accent-soft); color: var(--accent); }
.finding-icon.is-fail { background: #FEE2E2; color: #DC2626; }
.finding-body { min-width: 0; }
.finding-title {
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
    font-size: 0.98rem;
}
.finding-desc {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}
.finding-desc strong { color: var(--ink); font-weight: 600; }

/* Sidebar cards */
.sidebar-card { padding: 24px; }
.sidebar-card--brand { border-top: 3px solid var(--brand); }
.sidebar-card--ok { border-top: 3px solid var(--ok); }
.eyebrow--ok { color: var(--ok); }

/* --- Mobile tightening: high-density cards + hero CTAs --- */
@media (max-width: 768px) {
    /* Hide decorative hero SVGs on mobile — text-first on small screens */
    .hero-visual { display: none; }
}
@media (max-width: 640px) {
    /* Hero CTAs become full-width and stack — bigger tap targets */
    .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-actions .btn--lg { padding: 14px 20px; }

    /* CTA strip stacks and CTAs go full-width */
    .cta-strip-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .cta-strip-inner .row-tight { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; }
    .cta-strip-inner .row-tight .btn { width: 100%; justify-content: center; }

    /* Tighten heavy card paddings */
    .layer-card { padding: 24px 20px; }
    .sidebar-card { padding: 20px; }
    .testimonial-card--center { padding: 24px 22px; }
    .modal-window { padding: 20px; }
}

/* =====================================================================
   38 — "YOUR ASSISTANT" — checklist variant + home process teaser
   ===================================================================== */

/* Quoted-question variant of checklist (the "things you'd ask it" list) */
.checklist--quotes li {
    font-style: italic;
    color: var(--ink-2);
}

/* Home: "Built on top" feature card — proper 2-column panel with animated chat preview */
.process-next {
    margin-top: 64px;
    display: flex;
    justify-content: center;
}
.process-next-card {
    max-width: 1000px;
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: var(--r-lg);
    padding: 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
    box-shadow: none;
}
.process-next-visual {
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    border-radius: var(--r);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.process-next-svg { width: 100%; height: auto; display: block; max-width: 340px; }
.process-next-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.process-next-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #E5C46A;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(229,196,106,0.12);
}
.process-next-headline {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.25;
    color: #FBF7F0;
    margin: 0;
    letter-spacing: -0.018em;
}
.process-next-text {
    margin: 0;
    color: rgba(251,247,240,0.78);
    font-size: 0.96rem;
    line-height: 1.6;
}
.process-next-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: #E5C46A;
    margin-top: 4px;
}
.process-next-link:hover { color: var(--brand-2); }

/* Mini chat SVG animations */
.next-mini-status {
    transform-origin: center;
    transform-box: fill-box;
    animation: nextMiniStatusPulse 2s ease-in-out infinite;
}
@keyframes nextMiniStatusPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}
/* Action rows stagger in on first reveal — one-shot reveal */
.next-mini-action {
    opacity: 0;
    animation: nextMiniActionIn 0.5s ease-out forwards;
}
.next-mini-action-1 { animation-delay: 0.45s; }
.next-mini-action-2 { animation-delay: 0.75s; }
.next-mini-action-3 { animation-delay: 1.05s; }
.next-mini-action-4 { animation-delay: 1.35s; }
.next-mini-action-5 { animation-delay: 1.65s; }
@keyframes nextMiniActionIn {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0); }
}
.next-mini-user, .next-mini-ai {
    opacity: 0;
    animation: nextMiniBubbleIn 0.4s ease-out forwards;
}
.next-mini-user { animation-delay: 0.05s; }
.next-mini-ai   { animation-delay: 0.25s; }
@keyframes nextMiniBubbleIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .process-next-card { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
    .process-next-visual { padding: 14px; }
    .process-next-headline { font-size: 1.2rem; }
}

/* =====================================================================
   38b — FEATURE SPOTLIGHT (services page · "Your assistant" closer look)
   ===================================================================== */
/* On the dark anchor, the headline accent must be GOLD (emerald-on-emerald
   was invisible). */
.feature-spotlight .h2 .accent,
.section--ink .h2 .accent,
.section--ink .h1 .accent { color: #E5C46A; }
.ask-list-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
    margin: 28px 0 12px;
}
.ask-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ask-list li {
    color: rgba(255,255,255,0.88);
    font-size: 0.96rem;
    line-height: 1.45;
    padding: 11px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r);
    font-style: italic;
}
/* Icon variant: integration system list (left side of feature spotlight) */
.ask-list--icons li {
    font-style: normal;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
}
.ask-list--icons li i {
    color: #E5C46A;
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Spec table (Stack / Prereq / Pricing) inside the spotlight */
.spotlight-meta {
    margin-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.spotlight-meta-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    align-items: baseline;
}
.spotlight-meta-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.68);
}
.spotlight-meta-val {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.4;
}

/* Chat-mock panel (right column of spotlight) */
.ask-mock {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--r-lg);
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ask-mock-head {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ask-mock-tag {
    margin-left: auto;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-2);
}
.ask-mock-bubble {
    padding: 14px 16px;
    border-radius: var(--r);
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 92%;
}
.ask-mock-bubble--user {
    align-self: flex-end;
    background: var(--brand);
    color: white;
    border-bottom-right-radius: 4px;
}
.ask-mock-bubble--ai {
    align-self: flex-start;
    background: rgba(255,255,255,0.13);
    color: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.12);
    border-bottom-left-radius: 4px;
    max-width: 96%;
}
.ask-mock-bubble--ai ul {
    list-style: none;
    padding: 8px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ask-mock-bubble--ai ul li {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
}
.ask-mock-bubble--ai strong { color: white; font-weight: 600; }

/* Inline label chips inside an AI bubble (e.g. "Owner", "Stage", "Blocker") */
.ask-mock-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #E5C46A;
    margin-right: 8px;
    min-width: 56px;
}

/* Action confirmation list inside an AI bubble (multi-system "I did X, Y, Z") */
.ask-mock-actions {
    list-style: none !important;
    padding: 12px 0 2px !important;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px !important;
}
.ask-mock-actions li {
    display: flex !important;
    align-items: flex-start;
    gap: 11px;
    color: rgba(255,255,255,0.92) !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}
.ask-mock-actions li i {
    color: #E5C46A;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
/* Status dot in the assistant header reads gold on the dark panel */
.feature-spotlight .ask-mock-head .status-dot--live { background: #E5C46A; box-shadow: 0 0 0 0 rgba(229,196,106,0.6); }
.ask-mock-actions li strong {
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .next-mini-status, .next-mini-user, .next-mini-ai, .next-mini-action {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


/* User directory table */
.user-table-scroll {
    width: 100%;
    overflow-x: auto;
}
.user-table-inner {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.user-table-inner thead th {
    background: var(--surface-2);
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    text-align: left;
    padding: 14px 20px;
    border-bottom: 1px solid var(--hairline);
}
.user-table-inner tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--hairline);
    color: var(--ink-2);
}
.user-table-inner tbody tr:last-child td { border-bottom: 0; }
.user-table-inner tbody tr:hover { background: var(--surface-2); }
.user-table-mono {
    font-family: var(--font-mono);
    color: var(--muted);
    font-size: 0.85rem;
}

/* =====================================================================
   PORTAL page (/portal) — static mockups of the My CTO client portal.
   Pure presentation; mirrors the real portal's home, guardrails, and
   sign-in screens so prospects see what they'll actually use.
===================================================================== */
/* Pull-quote placed where cost-doubt peaks (pricing FAQ). */
/* Centered editorial pull-quote — a deliberate proof moment, not a small card */
.pricing-quote {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
/* Gold quotation mark — the Galway signature on proof moments */
.pricing-quote::before {
    content: "\201C";
    display: block;
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 0.5;
    color: var(--accent);
    margin-bottom: 18px;
}
.pricing-quote blockquote {
    margin: 0 0 22px;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    line-height: 1.4;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.01em;
}
.pricing-quote figcaption { display: inline-flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--muted); }
/* Fixed square box so the circle stays a circle. Without an explicit
   height the image keeps its own aspect ratio (the source photos are
   portrait 2:3), and border-radius: 50% then renders an oval. */
.pricing-quote-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 25%;
    flex-shrink: 0;
}
.pricing-quote figcaption strong { color: var(--ink); }

.portal-mock { overflow: hidden; }
/* "Preview" badge so a not-yet-client reads the mock as an illustration,
   not a real logged-in account they've somehow landed in. */
.portal-mock--preview { position: relative; }
.pm-preview-badge {
    /* Bottom-right, clear of the CTO comms buttons in the header. */
    position: absolute; bottom: 12px; right: 12px; z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--muted);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(2px);
    border: 1px solid var(--hairline-2);
    padding: 3px 9px; border-radius: 999px;
}
.pm-label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
}
.pm-eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
    margin-bottom: 12px;
}
.pm-hint { font-size: 0.78rem; color: var(--muted); line-height: 1.45; display: block; }

/* Home-screen mock: top bar + body */
.pm-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid var(--hairline);
    background: var(--surface-2);
}
.pm-brand { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink); }
.pm-crumb { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.pm-body { padding: 20px 22px 22px; }
.pm-hello { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 0 0 16px; }

/* Top-right assigned-CTO chip — the "I can reach my CTO from anywhere" bit. */
.pm-cto { display: flex; align-items: center; gap: 8px; }
.pm-cto-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(180deg, var(--brand), var(--brand-2));
    color: #fff; font-size: 0.7rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pm-cto-meta { display: flex; flex-direction: column; line-height: 1.15; }
.pm-cto-label { font-family: var(--font-mono); font-size: 0.56rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.pm-cto-name { font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.pm-cto-btn {
    width: 26px; height: 26px; border-radius: 7px;
    background: var(--surface); border: 1px solid var(--hairline-2);
    color: var(--muted); font-size: 0.78rem;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.pm-hours {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    border-radius: var(--r);
    padding: 16px;
    margin-bottom: 12px;
}
.pm-donut--lg { width: 96px; height: 96px; }
.pm-donut { position: relative; flex-shrink: 0; width: 78px; height: 78px; }
.pm-donut-mid {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pm-donut-num { font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1; }
.pm-donut-sub { font-size: 0.6rem; color: var(--muted); margin-top: 2px; }
.pm-hours-body { display: flex; flex-direction: column; gap: 6px; }
.pm-hours-strong { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.35; }
.pm-hours-line { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.5; }
.pm-hours-line strong { color: var(--ink); font-weight: 600; }
.pm-pillbtn {
    align-self: flex-start;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 7px 13px;
    border-radius: var(--r);
    margin-top: 2px;
}

/* CTO-direction choice cards (the "you decide how your CTO works" bit). */
.pm-choices { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.pm-choice {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 11px 13px;
    border: 1px solid var(--hairline-2);
    border-radius: var(--r);
    background: var(--surface);
}
.pm-choice--on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: rgba(44,80,153,0.05); }
.pm-choice-dot {
    width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
    border: 2px solid var(--hairline-2); background: var(--surface);
}
.pm-choice--on .pm-choice-dot { border-color: var(--brand); background: radial-gradient(circle, var(--brand) 0 4px, #fff 5px); }
.pm-choice-title { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.pm-choice-desc { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.4; margin-top: 1px; }

/* Guardrails mock: slider rows */
.pm-guard { display: flex; flex-direction: column; gap: 8px; }
.pm-guard-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pm-guard-val { font-size: 1.05rem; font-weight: 700; color: var(--brand); white-space: nowrap; }
.pm-slider { position: relative; height: 6px; border-radius: 999px; background: var(--surface-3); }
.pm-slider-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #3B62A8, #1B3A6B); }
.pm-slider-knob {
    position: absolute; top: 50%; width: 16px; height: 16px;
    transform: translate(-50%, -50%);
    background: #fff; border: 2px solid var(--brand); border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

/* Sign-in mock */
.pm-signin-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pm-signin-brand b { color: var(--ink); display: block; font-size: 0.95rem; }
.pm-signin-sub { font-size: 0.75rem; color: var(--muted); }
.pm-signin-h { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.pm-signin-lead { font-size: 0.9rem; color: var(--muted); display: block; margin-bottom: 16px; }
.portal-signin { display: flex; flex-direction: column; gap: 10px; }
.portal-signin .ps-ms,
.portal-signin .ps-btn,
.portal-signin .ps-field {
    border-radius: var(--r);
    padding: 11px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}
.portal-signin .ps-ms {
    background: var(--surface);
    border: 1px solid var(--hairline-2);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.portal-signin .ps-or {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-align: center;
}
.portal-signin .ps-field {
    background: var(--surface-2);
    border: 1px solid var(--hairline-2);
    color: var(--muted);
    font-weight: 500;
    text-align: left;
}
.portal-signin .ps-btn { background: var(--brand); color: #fff; }

/* =====================================================================
   CASE-STUDY CARDS (anonymized client outcomes on Services)
   ===================================================================== */
.case-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.case-card-head { display: flex; flex-direction: column; gap: 8px; }
.case-card-tag {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
    background: var(--brand-soft);
    padding: 5px 11px;
    border-radius: var(--r-pill);
}
.case-card-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}
.case-card-body {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    font-size: 0.96rem;
}
.case-card-results {
    list-style: none;
    padding: 18px 0 0;
    margin: auto 0 0;
    border-top: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.case-card-results li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--ink-2);
    line-height: 1.4;
}
/* The Galway gold on the hard numbers — the proof tokens */
.case-stat {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--accent-2);
    white-space: nowrap;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .case-card { padding: 24px; }
}

/* Relief section — structured feature rows (icon chip + title + sub), so the
   text column reads as clean cards, not a wordy blob. */
.relief-points {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.relief-points li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.relief-ico {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.05rem;
}
.relief-body { display: flex; flex-direction: column; gap: 2px; }
.relief-title {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}
.relief-sub {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.45;
}

/* "What we do" hero card — polished UI-mock style (matches portal/AI mocks) */
.whatwedo { padding: 0; overflow: hidden; }
.whatwedo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hairline);
    background: var(--surface-2);
}
.whatwedo-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
}
.whatwedo-tag {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--brand);
    background: var(--brand-soft);
    padding: 4px 10px;
    border-radius: var(--r-pill);
}
.whatwedo-list { list-style: none; margin: 0; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.whatwedo-list li {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 12px;
    border-radius: var(--r);
    transition: background var(--dur-fast) ease;
}
.whatwedo-list li:hover { background: var(--surface-2); }
.whatwedo-ico {
    width: 40px; height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.1rem;
}
.whatwedo-body { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.whatwedo-name { font-size: 0.96rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.whatwedo-sub { font-size: 0.82rem; color: var(--muted); line-height: 1.3; }
.whatwedo-check { color: var(--brand); font-size: 1.1rem; flex-shrink: 0; }
.whatwedo-badge {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-2);
    background: var(--surface-3);
    border: 1px solid var(--accent);
    padding: 3px 8px;
    border-radius: var(--r-pill);
}
.whatwedo-foot {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 20px;
    border-top: 1px solid var(--hairline);
    background: var(--surface-2);
}
.whatwedo-foot-avatar {
    width: 32px; height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--brand), var(--brand-2));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}
.whatwedo-foot-text { font-size: 0.9rem; color: var(--muted); line-height: 1.4; }
.whatwedo-foot-text strong { color: var(--ink); }

/* "What their CTO did" mini-label on case cards — makes vCTO concrete */
.case-card-label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-2);
    margin: 0 0 -6px;
}

/* About hero "firm credibility" SVG — a verified seal with credentials.
   Distinct from the Services "What we do" card so the two pages don't twin. */
.firm-svg { width: 100%; max-width: 540px; height: auto; display: block; margin: 0 auto; overflow: visible; }
.firm-svg-foot {
    text-align: center;
    font-size: 0.88rem;
    color: var(--muted);
    margin: 14px auto 0;
}
.firm-svg-foot strong { color: var(--ink); }

/* gold glow breathes */
.firm-glow { transform-box: fill-box; transform-origin: center; animation: firmGlow 5s ease-in-out infinite; }
@keyframes firmGlow { 0%,100%{opacity:0.85; transform:scale(1);} 50%{opacity:1; transform:scale(1.07);} }
/* two orbit rings rotate in opposite directions */
.firm-ring { transform-box: fill-box; transform-origin: center; }
.firm-ring-a { animation: firmRingSpin 60s linear infinite; }
.firm-ring-b { animation: firmRingSpinRev 45s linear infinite; }
@keyframes firmRingSpin { to { transform: rotate(360deg); } }
@keyframes firmRingSpinRev { to { transform: rotate(-360deg); } }
/* seal breathes subtly */
.firm-seal { transform-box: fill-box; transform-origin: 220px 220px; animation: firmSealBreathe 5s ease-in-out infinite; }
@keyframes firmSealBreathe { 0%,100%{transform:scale(1);} 50%{transform:scale(1.03);} }
/* the verified badge in the seal gives a gentle pop on load */
.firm-seal-badge { transform-box: fill-box; transform-origin: center; animation: firmBadgePop 0.7s var(--ease-out) 0.3s backwards; }
@keyframes firmBadgePop { from{opacity:0; transform:scale(0.4);} to{opacity:1; transform:scale(1);} }
/* skill chips pop in around the ring, then float gently */
.firm-skill { opacity: 0; transform-box: fill-box; transform-origin: center;
    animation: firmSkillIn 0.5s var(--ease-out) forwards, firmFloat 6s ease-in-out infinite; }
.firm-skill-1 { animation-delay: 0.30s, 1.2s; }
.firm-skill-2 { animation-delay: 0.40s, 0.5s; }
.firm-skill-3 { animation-delay: 0.50s, 1.7s; }
.firm-skill-4 { animation-delay: 0.60s, 0.8s; }
.firm-skill-5 { animation-delay: 0.70s, 2.0s; }
.firm-skill-6 { animation-delay: 0.80s, 0.3s; }
.firm-skill-7 { animation-delay: 0.90s, 1.4s; }
.firm-skill-8 { animation-delay: 1.00s, 0.9s; }
@keyframes firmSkillIn { from{opacity:0; transform:scale(0.5);} to{opacity:1; transform:scale(1);} }
@keyframes firmFloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-4px);} }
@media (prefers-reduced-motion: reduce) {
    .firm-glow, .firm-ring, .firm-seal, .firm-seal-badge { animation: none; }
    .firm-skill { opacity: 1; animation: none; transform: none; }
}

/* "Two layers" model as a scannable equation: Base + Capped = No surprises */
.layer-eq {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 0.85fr;
    align-items: stretch;
    gap: 16px;
}
.layer-tile {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.layer-tile--base   { border-top: 3px solid var(--brand); }
.layer-tile--hourly { border-top: 3px solid var(--accent); }
.layer-tile--result {
    border: none;
    background: linear-gradient(165deg, #1B3A6B 0%, #1A3158 100%);
    align-items: center;
    text-align: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(21,41,76,0.20);
}
.layer-tile--result .layer-tile-h3 { color: #FBF7F0; }
.layer-tile--result .layer-tile-sub { color: rgba(251,247,240,0.78); }
.layer-tile--result .layer-tile-ico--solid { background: var(--accent); color: var(--espresso); }
.layer-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.layer-tile-ico {
    width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand); font-size: 1.2rem;
}
.layer-tile-ico--gold  { background: var(--surface-3); color: var(--accent-2); }
.layer-tile-ico--solid { background: var(--brand); color: #fff; }
.layer-tile-tag {
    font-family: var(--font-mono); font-size: 0.64rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.07em; color: var(--brand);
}
.layer-tile-tag--gold { color: var(--accent-2); }
.layer-tile-h3 {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 600; color: var(--ink);
    margin: 0; line-height: 1.25; letter-spacing: -0.01em;
}
.layer-tile-sub { font-size: 0.88rem; color: var(--muted); line-height: 1.5; margin: 0; }
.layer-tile-h3 em { font-style: italic; color: var(--accent-2); }
.layer-op {
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.9rem; font-weight: 600; color: var(--faint);
}
.layer-reassure {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px;
    margin-top: 28px; padding-top: 24px;
    border-top: 1px solid var(--hairline);
}
.layer-reassure span {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.9rem; font-weight: 500; color: var(--ink-2);
}
.layer-reassure i { color: var(--brand); font-size: 1rem; }
@media (max-width: 900px) {
    .layer-eq { grid-template-columns: 1fr; }
    .layer-op { padding: 2px 0; font-size: 1.5rem; }
    .layer-tile--result { text-align: left; align-items: flex-start; }
}

/* "What's included" — abundant included side + short honest priced side */
.incl-split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) { .incl-split { grid-template-columns: 1fr; } }

.incl-included, .incl-priced {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
}
.incl-priced {
    background: var(--surface);
}
.incl-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding-bottom: 18px; margin-bottom: 18px;
    border-bottom: 1px solid var(--hairline);
}
.incl-head-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.07em; color: var(--brand);
}
.incl-head-label i { font-size: 0.95rem; }
.incl-head-label--gold { color: var(--accent-2); }
.incl-head-value {
    font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
    color: var(--accent-2); background: var(--surface-3);
    border: 1px solid var(--accent); border-radius: var(--r-pill);
    padding: 4px 11px;
}

/* Included items — 2-col grid; grows to fill card height, rows distribute evenly */
.incl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
    flex: 1;
    align-content: space-between;
}
@media (max-width: 560px) { .incl-grid { grid-template-columns: 1fr; } }
.incl-item { display: flex; gap: 12px; align-items: flex-start; }
.incl-ico {
    width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand); font-size: 1.05rem;
}
.incl-name {
    margin: 0; font-size: 0.92rem; font-weight: 700; color: var(--ink); line-height: 1.35;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.incl-name strong { font-weight: 800; }
.incl-tag {
    font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--accent-2); background: var(--surface-3);
    border: 1px solid var(--accent); border-radius: var(--r-pill); padding: 2px 7px;
}
.incl-sub { margin: 3px 0 0; font-size: 0.82rem; color: var(--muted); line-height: 1.45; }

/* Priced side — item/note on the left, price anchored right (menu-style) */
.incl-price-list { margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.incl-price-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 0; border-bottom: 1px solid var(--hairline);
}
.incl-price-row:last-of-type { border-bottom: none; }
.incl-price-left { display: flex; align-items: center; gap: 13px; min-width: 0; }
.incl-price-ico {
    width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-3); color: var(--accent-2); font-size: 1.05rem;
}
.incl-price-row dt { font-size: 0.94rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.incl-price-row dd { margin: 0; flex-shrink: 0; text-align: right; }
.incl-price {
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--ink);
    letter-spacing: -0.01em; white-space: nowrap;
}
.incl-price--free { color: var(--accent-2); }
.incl-unit { font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-left: 1px; }
.incl-note { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
/* The priced column sizes to its own content (see .incl-split align-items:
   start), so the row list and footnote just stack naturally. Row spacing stays
   constant regardless of how many rows the block holds. */
.incl-price-list { flex: 0 0 auto; }
.incl-priced-foot {
    display: flex; align-items: center; gap: 8px;
    margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--hairline);
    font-size: 0.82rem; font-weight: 600; color: var(--ink-2);
}
.incl-priced-foot i { color: var(--brand); }

/* Portal links inside the model section */
.layer-tile--result .layer-tile-link {
    color: #E5C46A; font-weight: 700; text-decoration: underline;
    text-underline-offset: 2px; text-decoration-thickness: 1px;
}
.layer-tile--result .layer-tile-link:hover { color: #FBF7F0; }
.layer-reassure-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.9rem; font-weight: 600; color: var(--brand);
    transition: color var(--dur-fast) ease;
}
.layer-reassure-link i:first-child { color: var(--brand); font-size: 1rem; }
.layer-reassure-link:hover { color: var(--brand-2); text-decoration: underline; text-underline-offset: 2px; }

/* ===== Tech-overhead budget mock (portal) ===== */
.budget-mock { overflow: hidden; }
.budget-mock-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 16px 20px; border-bottom: 1px solid var(--hairline); background: var(--surface-2);
}
.budget-mock-title { display: inline-flex; align-items: center; gap: 9px; font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.budget-mock-title i { color: var(--brand); }
.budget-mock-sub { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

.budget-tier { padding: 16px 20px; border-bottom: 1px solid var(--hairline); }
.budget-tier-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 9px; }
.budget-tier-name { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.budget-tier-cost { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.budget-tier-unit { font-family: var(--font-sans); font-size: 0.74rem; font-weight: 600; color: var(--muted); margin-left: 1px; }
.budget-bar {
    display: flex; gap: 3px; height: 12px; border-radius: 6px; overflow: hidden;
    background: var(--surface-3); margin-bottom: 8px;
}
.budget-seg { height: 100%; border-radius: 3px; }
.budget-seg--lic { background: var(--brand); }
.budget-seg--hw  { background: #6E91C9; }
.budget-seg--ai  { background: var(--accent); }
.budget-tier-detail { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }

/* Infrastructure — visually set apart (detached from a human) */
.budget-infra {
    padding: 16px 20px;
    background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface-3) 100%);
    border-bottom: 1px solid var(--hairline);
}
.budget-infra-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.budget-infra-name { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.budget-infra-name i { color: var(--accent-2); }
.budget-infra-cost { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.budget-infra-detail { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }

.budget-legend {
    display: flex; gap: 18px; padding: 12px 20px; flex-wrap: wrap;
    font-size: 0.74rem; color: var(--muted);
}
.budget-legend span { display: inline-flex; align-items: center; gap: 6px; }
.budget-legend .dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.dot--lic { background: var(--brand); }
.dot--hw  { background: #6E91C9; }
.dot--ai  { background: var(--accent); }

/* Budget receipt extras: qty, subtotal, total, gold infra slider */
.budget-qty { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.budget-tier-detail { display: block; margin-top: 8px; }
.pm-slider-fill--gold { background: var(--accent); }
.pm-slider-knob--gold { border-color: var(--accent); }
.budget-subtotal {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 13px 20px; background: var(--surface-2);
    border-bottom: 1px solid var(--hairline);
    font-size: 0.84rem; font-weight: 600; color: var(--ink-2);
}
.budget-subtotal-val { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.budget-total {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(165deg, var(--brand) 0%, #1F3D77 100%);
}
.budget-total-label { font-size: 0.9rem; font-weight: 700; color: #FBF7F0; }
.budget-total-val { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #FBF7F0; letter-spacing: -0.01em; }
.budget-total-unit { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; color: rgba(251,247,240,0.7); margin-left: 2px; }

/* Compact portal screen cards — scannable, not a wall of text */
.screen-grid { gap: 16px; }
.screen-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 22px 20px;
    transition: border-color var(--dur-fast) ease, box-shadow var(--dur) var(--ease-out), transform var(--dur-fast) ease;
}
.screen-card:hover { border-color: var(--brand-soft); box-shadow: var(--shadow); transform: translateY(-2px); }
.screen-ico {
    width: 40px; height: 40px; border-radius: 11px; margin-bottom: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand); font-size: 1.1rem;
}
.screen-name { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin: 0 0 4px; letter-spacing: -0.01em; }
.screen-line { font-size: 0.88rem; color: var(--muted); line-height: 1.45; margin: 0; }

/* TGG all-in line per tier + total sub */
.budget-tier-tgg {
    display: block; margin-top: 8px;
    font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted);
}
.budget-tier-tgg strong { color: var(--brand); font-weight: 700; }
.budget-min {
    font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--accent-2); background: var(--surface-3); border: 1px solid var(--accent);
    border-radius: var(--r-pill); padding: 1px 6px; margin-right: 4px;
}
.budget-total-label { display: flex; flex-direction: column; gap: 2px; }
.budget-total-sub {
    font-family: var(--font-mono); font-size: 0.64rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.05em; color: rgba(251,247,240,0.6);
}

/* Scannable points list for portal text columns (replaces dense paragraphs) */
.portal-points {
    list-style: none; padding: 0; margin: 22px 0 0;
    display: flex; flex-direction: column; gap: 12px;
}
.portal-points li {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.98rem; font-weight: 500; color: var(--ink-2); line-height: 1.4;
}
.portal-points li i {
    flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand); font-size: 0.95rem;
}

/* Two detached budget totals: per-person vs infrastructure */
.budget-min-row { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--muted); }
.budget-split {
    display: grid; grid-template-columns: 1fr 1fr;
}
.budget-split-cell {
    padding: 18px 20px;
    display: flex; flex-direction: column; gap: 6px;
}
.budget-split-cell:first-child { border-right: 1px solid var(--hairline); background: var(--brand-faint); }
.budget-split-cell--infra { background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface-3) 100%); }
.budget-split-label {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
}
.budget-split-cell:first-child .budget-split-label i { color: var(--brand); }
.budget-split-cell--infra .budget-split-label i { color: var(--accent-2); }
.budget-split-val { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

/* Infrastructure as its own draggable budget block */
.budget-infra-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 14px 20px 6px; border-top: 1px solid var(--hairline);
    background: var(--surface-2);
}
.budget-infra-headlabel { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.budget-infra-headlabel i { color: var(--accent-2); }
.budget-infra-headsub { font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.budget-tier--infra { background: var(--surface-2); border-bottom: none; }

/* ===== Portal: Requests mock ===== */
.req-list { padding: 6px 0; }
.req-row { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--hairline); }
.req-status { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.req-status--prog { background: var(--brand); }
.req-status--review { background: var(--accent); }
.req-status--done { background: #9AA89F; }
.req-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.req-title { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.req-meta { font-size: 0.74rem; color: var(--muted); }
.req-tag { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 9px; border-radius: var(--r-pill); flex-shrink: 0; }
.req-tag--prog { color: var(--brand); background: var(--brand-soft); }
.req-tag--review { color: var(--accent-2); background: var(--surface-3); }
.req-tag--done { color: #5A6A60; background: #EAEFEA; }
.req-compose { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--hairline); background: var(--surface-2); }
.req-compose-field { flex: 1; font-size: 0.85rem; color: var(--muted); }
.req-compose-send { width: 32px; height: 32px; border-radius: 8px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; }

/* ===== Portal: Billing mock ===== */
.bill-list { padding: 8px 0; }
.bill-row { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--hairline); }
.bill-name { font-size: 0.9rem; color: var(--ink-2); }
.bill-free { font-family: var(--font-mono); font-size: 0.58rem; font-weight: 700; text-transform: uppercase; color: var(--accent-2); background: var(--surface-3); border: 1px solid var(--accent); border-radius: var(--r-pill); padding: 1px 6px; margin-right: 6px; }
.bill-amt { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); }
.bill-amt--free { color: var(--accent-2); }
.bill-total { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: linear-gradient(165deg, var(--brand) 0%, #1F3D77 100%); }
.bill-total span:first-child { font-size: 0.9rem; font-weight: 700; color: #FBF7F0; }
.bill-total-amt { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: #FBF7F0; }

/* ===== Portal: My plan mock ===== */
.plan-badge { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: var(--r-pill); }
.planm-body { padding: 16px 20px; }
.planm-row { display: flex; align-items: baseline; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--hairline); }
.planm-k { font-size: 0.82rem; color: var(--muted); }
.planm-v { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.planm-incl { padding: 14px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.planm-incl-label { width: 100%; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 4px; }
.planm-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 4px 10px; }
.planm-chip i { color: var(--brand); font-size: 0.8rem; }
.planm-doc { display: flex; align-items: center; gap: 9px; margin-top: 14px; padding: 11px 13px; border: 1px solid var(--hairline); border-radius: var(--r); font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.planm-doc > i:first-child { color: #C0392B; font-size: 1rem; }
.planm-doc span { flex: 1; }
.planm-doc-dl { color: var(--muted); }

/* =====================================================================
   Web Collab — public /webcollab page + home teaser.
   The indigo is the extension's own product color; it appears only INSIDE
   the mocks (logo tray, review highlight, pill, bubble submit) so the
   page chrome around them stays navy/gold like everything else.
   ===================================================================== */
/* The extension's real UI palette (popup.css in the extension repo):
   accent #4f46e5, hover #4338ca, online #16a34a, border #e5e7eb. The mocks
   wear exactly these so they match the shipped product. */
:root {
    --wcb:      #4F46E5;
    --wcb-2:    #4338CA;
    --wcb-soft: #EEF0FE;
    --wcb-ok:   #16A34A;
}

/* ── Browser-chrome frame the mocks sit in ──
   Width-capped and centered: a mock that stretches across its whole grid
   column reads as a wireframe, not a product. */
.wcb-browser { width: 100%; max-width: 430px; margin-left: auto; margin-right: auto; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.wcb-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--hairline); }
.wcb-dots { display: inline-flex; gap: 5px; flex: none; }
.wcb-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--hairline-2); }
.wcb-omnibox { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 5px 12px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; }
.wcb-omnibox i { font-size: 0.68rem; color: var(--faint); }
.wcb-ext { width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--faint); }
.wcb-ext img { width: 16px; height: 16px; display: block; border-radius: 3px; }
.wcb-ext--active { background: #E7E6FD; box-shadow: 0 0 0 2px rgba(79,70,229,0.35); }
.wcb-body { position: relative; padding: 26px 26px 30px; }

/* ── The scene: page content behind, popup hanging from the toolbar icon.
   Grid keeps ghost lines and popup overlaid while the (in-flow) popup
   drives the frame's height — exactly how a real extension dropdown sits. ── */
.wcb-scene { position: relative; display: grid; padding: 16px 16px 22px; background: linear-gradient(180deg, #FDFAF4, #FFFDF9); }
.wcb-scene > * { grid-area: 1 / 1; }
.wcb-ghost { display: flex; flex-direction: column; gap: 9px; opacity: 0.5; padding-top: 6px; }
.wcb-ghost span { height: 9px; border-radius: 5px; background: #E8E3D8; }
.wcb-ghost .w90 { width: 90%; } .wcb-ghost .w85 { width: 85%; }
.wcb-ghost .w75 { width: 75%; } .wcb-ghost .w60 { width: 60%; }
.wcb-ghost .w50 { width: 50%; }
/* the panel hangs top-right, beneath the lit extension icon */
.wcb-scene .wcb-popup { justify-self: end; align-self: start; width: 286px; margin: 0; box-shadow: 0 16px 40px rgba(21,32,58,0.28); }
/* little nub pointing up at the icon that opened it */
.wcb-scene .wcb-popup::before { content: ""; position: absolute; top: -5px; right: 16px; width: 9px; height: 9px; background: #fff; border-left: 1px solid #E5E7EB; border-top: 1px solid #E5E7EB; transform: rotate(45deg); }
@media (max-width: 720px) { .wcb-scene .wcb-popup { width: 240px; } }

/* ── Floating review pill ── */
.wcb-pill { position: absolute; right: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 0.76rem; font-weight: 600; box-shadow: var(--shadow-lg); white-space: nowrap; }
.wcb-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wcb); animation: wcbPulse 2.2s infinite; flex: none; }
@keyframes wcbPulse {
    0% { box-shadow: 0 0 0 0 rgba(79,70,229,0.55); }
    70% { box-shadow: 0 0 0 7px rgba(79,70,229,0); }
    100% { box-shadow: 0 0 0 0 rgba(79,70,229,0); }
}
@media (prefers-reduced-motion: reduce) { .wcb-pill-dot { animation: none; } }

/* ── Comment bubble pinned to the highlighted element ── */
.wcb-bubble { background: var(--surface); border: 1px solid #D8DAE0; border-radius: 10px; box-shadow: 0 10px 32px rgba(0,0,0,0.22); padding: 12px; max-width: 340px; margin-top: 22px; position: relative; text-align: left; }
.wcb-bubble::before { content: ""; position: absolute; top: -7px; left: 34px; width: 12px; height: 12px; background: var(--surface); border-left: 1px solid var(--hairline); border-top: 1px solid var(--hairline); transform: rotate(45deg); }
.wcb-bubble-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.wcb-bubble-title { font-size: 0.78rem; font-weight: 700; color: var(--ink); }
.wcb-selector { font-family: var(--font-mono); font-size: 0.64rem; color: var(--wcb-2); background: var(--wcb-soft); border-radius: 6px; padding: 3px 8px; }
.wcb-textarea { border: 1px solid var(--hairline); border-radius: var(--r); background: var(--surface-2); padding: 10px 12px; font-size: 0.82rem; color: var(--ink-2); min-height: 54px; }
.wcb-bubble-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.wcb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 14px; border-radius: 8px; font-size: 0.78rem; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--hairline-2); white-space: nowrap; }
.wcb-btn--primary { background: var(--wcb); border-color: var(--wcb-2); color: #fff; }

/* ── Extension popup (the panel under the toolbar icon) ──
   Mirrors the shipped popup exactly: 13px UI type, plain white header and
   footer with hairline rules, #e5e7eb borders, indigo primary. overflow
   stays visible so the nub can poke out the top; the rounded corners come
   from the first/last children instead. */
.wcb-popup { position: relative; width: 300px; max-width: 100%; background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.45; color: #1A1D21; }
.wcb-popup > :first-child { border-radius: 12px 12px 0 0; }
.wcb-popup > :last-child { border-radius: 0 0 12px 12px; }
.wcb-pop-head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid #E5E7EB; background: #fff; }
.wcb-pop-head img { width: 20px; height: 20px; border-radius: 5px; }
.wcb-pop-head span { font-size: 14px; font-weight: 600; color: #1A1D21; }
.wcb-pop-body { padding: 14px; background: #fff; }
.wcb-lede { font-size: 13px; color: #1A1D21; margin: 0 0 12px; }
.wcb-divider { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: #6B7280; font-size: 12px; }
.wcb-divider::before, .wcb-divider::after { content: ""; flex: 1; border-top: 1px solid #E5E7EB; }
.wcb-input { border: 1px solid #E5E7EB; border-radius: 6px; padding: 7px 10px; font-size: 13px; color: #9CA3AF; margin-bottom: 8px; background: #fff; }
/* block buttons mirror the extension's: 7px 14px, radius 6px, no icon */
.wcb-btn--block { display: flex; align-items: center; justify-content: center; width: 100%; padding: 7px 14px !important; }
.wcb-btn--block.wcb-btn--primary { border: none; }
.wcb-company { display: flex; align-items: center; gap: 9px; }
.wcb-dot-on { width: 9px; height: 9px; border-radius: 50%; background: var(--wcb-ok); box-shadow: 0 0 0 3px rgba(22,163,74,0.22); flex: none; }
.wcb-company-name { font-size: 15px; font-weight: 700; color: #1A1D21; }
.wcb-company-status { font-size: 12px; color: #6B7280; margin: 4px 0 0 18px; }
.wcb-company-status b { color: var(--wcb-ok); font-weight: 700; }
.wcb-pop-actions { display: flex; gap: 8px; margin-top: 12px; }
.wcb-pop-actions .wcb-btn { flex: 1; white-space: nowrap; }
.wcb-pop-foot { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; border-top: 1px solid #E5E7EB; font-size: 12px; color: #6B7280; background: #fff; }
.wcb-pop-foot .wcb-link { color: var(--wcb); font-weight: 600; }

/* QR side-panel of the popup mock */
.wcb-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 16px 16px; border-top: 1px dashed var(--hairline); background: var(--surface); }
.wcb-qr svg { width: 84px; height: 84px; }
.wcb-qr span { font-size: 0.7rem; color: var(--muted); }

/* ── "My requests" mock — mirrors the REAL My CTO requests page so what
   we show prospects is exactly what clients see after signing in:
   serif page title, navy "+ Ask your CTO", mono section label with a
   count chip, white row card with "Updated" metas and status pills. ── */
.mcr { width: 100%; max-width: 460px; margin-left: auto; margin-right: auto; background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 20px 20px 22px; }
.mcr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mcr-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.mcr-sub { font-size: 0.76rem; color: var(--muted); margin: 0; line-height: 1.5; }
.mcr-cta { flex: none; background: var(--brand); color: #fff; font-size: 0.76rem; font-weight: 700; border-radius: 8px; padding: 8px 12px; white-space: nowrap; }
.mcr-label { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.mcr-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 1px solid var(--hairline); color: var(--ink-2); font-size: 0.66rem; }
.mcr-list { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
.mcr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.mcr-row + .mcr-row { border-top: 1px solid var(--hairline); }
.mcr-row-title { font-size: 0.84rem; font-weight: 700; color: var(--ink); margin: 0 0 2px; }
.mcr-row-meta { font-size: 0.72rem; color: var(--faint); margin: 0; }
.mcr-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); border-radius: var(--r-pill); padding: 4px 10px; }
.mcr-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mcr-pill--done { color: #5A6A60; background: #EAEFEA; }

/* ── The confirmation email, open in a webmail tab (the receipt) ── */
.wcb-mail { padding: 16px 18px 18px; }
.wcb-mail-subject { display: flex; align-items: center; gap: 8px; font-size: 0.94rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.wcb-ticket-id { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; color: var(--wcb-2); background: var(--wcb-soft); border-radius: 4px; padding: 2px 7px; }
.wcb-mail-from { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); margin-bottom: 13px; }
.wcb-mail-avatar { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--espresso); color: #fff; font-weight: 700; font-size: 0.8rem; flex: none; }
.wcb-mail-who { display: flex; flex-direction: column; min-width: 0; }
.wcb-mail-name { font-size: 0.78rem; font-weight: 700; color: var(--ink); }
.wcb-mail-name span { font-weight: 400; color: var(--muted); }
.wcb-mail-to { font-size: 0.72rem; color: var(--muted); }
.wcb-mail-body > p { font-size: 0.78rem; color: var(--ink-2); line-height: 1.55; margin: 0 0 12px; }
.wcb-ticket-title { font-size: 0.84rem; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 11px; }
/* the attached screenshot shows the CUSTOMER's element, wearing their brand
   with the extension's indigo ring still on it */
.wcb-ticket-shot { position: relative; display: flex; align-items: center; justify-content: center; height: 78px; border: 1px dashed var(--hairline-2); border-radius: 8px; background: linear-gradient(180deg, #FDFAF4, #FFFDF9); margin-bottom: 12px; }
.wcb-shot-cta { background: var(--wcb-shop); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 3px; padding: 8px 18px; box-shadow: 0 0 0 2px var(--wcb), 0 0 0 6px rgba(79,70,229,0.18); }
.wcb-ticket-meta { margin: 0; display: flex; flex-direction: column; gap: 5px; }
.wcb-ticket-meta > div { display: flex; gap: 10px; font-size: 0.75rem; }
.wcb-ticket-meta dt { color: var(--muted); width: 58px; flex: 0 0 auto; }
.wcb-ticket-meta dd { margin: 0; color: var(--ink); font-family: var(--font-mono); font-size: 0.7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcb-mail-attach { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; border: 1px solid var(--hairline); border-radius: 6px; padding: 5px 10px; font-size: 0.72rem; color: var(--muted); background: var(--surface-2); }
.wcb-mail-attach i { font-size: 0.78rem; }

/* ── Teams-style heads-up chat (anatomy matters: tinted "me" bubbles,
   avatars at the bubble's foot, a compose bar — it reads as Teams). ── */
.wcb-chat { --tm: #5B5FC7; width: 100%; max-width: 400px; margin-left: auto; margin-right: auto; background: #fff; border: 1px solid #E1E1E6; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; color: #242424; }
.wcb-chat-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #E1E1E6; }
.wcb-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--tm, #5B5FC7); color: #fff; font-size: 0.72rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; letter-spacing: 0.02em; }
.wcb-chat-who { display: flex; flex-direction: column; min-width: 0; }
.wcb-chat-name { font-size: 0.84rem; font-weight: 700; }
.wcb-chat-sub { font-size: 0.7rem; color: #616161; }
.wcb-thread { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: #FAF9F8; }
.wcb-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; }
.wcb-msg--me { margin-left: auto; flex-direction: row-reverse; }
.wcb-msg .wcb-avatar { width: 26px; height: 26px; font-size: 0.62rem; align-self: flex-end; }
.wcb-msg-bubble { background: #fff; border: 1px solid #E1E1E6; border-radius: 8px; padding: 9px 12px; font-size: 0.8rem; line-height: 1.5; }
.wcb-msg--me .wcb-msg-bubble { background: #E8EBFA; border-color: #E8EBFA; }
.wcb-compose { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid #E1E1E6; color: #616161; background: #fff; }
.wcb-compose-box { flex: 1; font-size: 0.8rem; }
.wcb-compose i { color: var(--tm, #5B5FC7); flex: none; }

/* ── "How a build round works" step cards ── */
.wcb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-sm); }
@media (max-width: 991px) { .wcb-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .wcb-steps { grid-template-columns: 1fr; } }
.wcb-step { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 22px; }
.wcb-step-num { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; color: var(--wcb-2); background: var(--wcb-soft); border-radius: var(--r-pill); padding: 3px 10px; display: inline-block; margin-bottom: 12px; }
.wcb-step-title { font-size: 0.98rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.wcb-step-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* ── Animated review walkthrough (same 12s loop as the portal's page) ──
   0–17%   cursor travels to the review pill
   17–21%  click — pill activates, pointer becomes a crosshair
   21–38%  crosshair travels up to the CTA
   38–42%  click — element highlight locks on
   42–50%  comment bubble opens
   50–83%  the request types itself in
   83–100% holds the finished state, then repeats.
   The sample site is a CUSTOMER's (a barbershop: oxblood + brass), a
   deliberately different palette from the extension's indigo so the tool
   chrome reads as separate — and so "not the dark red" in the typed
   request refers to a button that is actually dark red. */
:root { --wcb-shop: #8C2F39; --wcb-shop-ink: #24201C; --wcb-shop-muted: #8A7F72; }
.wcb-stage { width: 100%; max-width: 420px; margin: 0 auto; }
/* Pin the stage's typographic context (14.5px/1.55 — the context the cursor
   keyframe coordinates were tuned in) so the click targets sit exactly where
   the animation expects them regardless of the page's base type. */
.wcb-stage .wcb-body { padding: 24px 22px 62px; background: linear-gradient(180deg, #FDFAF4, #FFFDF9); font-size: 14.5px; line-height: 1.55; }
.wcb-stage .wcb-bubble-head { margin-bottom: 8px; }
.wcb-stage .wcb-bubble-title { font-size: 13px; }
.wcb-stage .wcb-selector { font-size: 11px; }
.wcb-stage .wcb-textarea { padding: 7px 9px; font-size: 12.5px; line-height: 1.5; min-height: 56px; }
.wcb-stage .wcb-bubble-row { margin-top: 9px; }
.wcb-stage .wcb-btn, .wcb-popup .wcb-btn { font-size: 13px; padding: 7px 10px; border-color: #E5E7EB; color: #1A1D21; border-radius: 6px; }
.wcb-stage .wcb-btn--primary, .wcb-popup .wcb-btn--primary { border-color: var(--wcb); color: #fff; }
.wcb-stage .wcb-pill { padding: 8px 15px; font-size: 12.5px; }
.wcb-block { text-align: center; }
.wcb-shop-brand { display: block; font-family: var(--font-display); font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wcb-shop); margin-bottom: 10px; }
.wcb-shop-brand span { color: var(--wcb-shop-muted); font-weight: 600; }
.wcb-shop-h { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--wcb-shop-ink); }
.wcb-shop-sub { font-size: 12.5px; color: var(--wcb-shop-muted); margin: 6px 0 14px; }
.wcb-shop-cta { display: inline-block; background: var(--wcb-shop); color: #fff; font-weight: 700; font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 3px; padding: 9px 20px; position: relative; }
/* bubble sits flowed below the element (never covering it), nub centered */
.wcb-stage .wcb-bubble { width: 250px; max-width: none; margin: 14px auto 0; }
.wcb-stage .wcb-bubble::before { left: 50%; margin-left: -6px; }
.wcb-stage .wcb-pill { right: 16px; bottom: 16px; }
.wcb-stage .wcb-pill-dot { background: #22C55E; animation: none; }
/* both pill labels stack in one grid cell so the pill never resizes */
.wcb-pill-label { display: grid; }
.wcb-pill-label > span { grid-area: 1 / 1; white-space: nowrap; }
.wcb-pill-label .lbl-on { opacity: 0; }

.wcb-anim .wcb-body { cursor: none; }
.wcb-anim .wcb-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 5; pointer-events: none; animation: wcbCursor 12s cubic-bezier(0.4,0,0.2,1) infinite; }
.wcb-anim .wcb-cursor svg { position: absolute; inset: 0; width: 22px; height: 22px; }
.wcb-anim .cur-arrow { animation: wcbArrow 12s steps(1,end) infinite; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.wcb-anim .cur-cross { opacity: 0; fill: none; animation: wcbCross 12s steps(1,end) infinite; }
.wcb-anim .wcb-click-ring { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid var(--wcb); opacity: 0; animation: wcbClick 12s ease-out infinite; }
.wcb-anim .wcb-pill { animation: wcbPillBg 12s steps(1,end) infinite; }
.wcb-anim .lbl-off { animation: wcbLblOff 12s steps(1,end) infinite; }
.wcb-anim .lbl-on  { animation: wcbLblOn  12s steps(1,end) infinite; }
/* the element highlight only locks on after the second click */
.wcb-anim .wcb-mark .wcb-shop-cta { box-shadow: none; animation: wcbHlOn 12s steps(1,end) infinite; }
.wcb-stage:not(.wcb-anim) .wcb-mark .wcb-shop-cta { box-shadow: 0 0 0 2px var(--wcb), 0 0 0 6px rgba(79,70,229,0.18); }
/* bubble opens, then the request types across */
.wcb-anim .wcb-bubble { opacity: 0; transform: scale(0.94); transform-origin: top center; animation: wcbBubbleIn 12s cubic-bezier(0.2,0.8,0.2,1) infinite; }
.wcb-anim .wcb-textarea { min-height: 56px; }
.wcb-anim .wcb-typed { display: inline-block; width: 100%; clip-path: inset(0 100% 0 0); animation: wcbType 12s steps(52,end) infinite; }

/* Coordinates measured from the stage body's top-left (418px-wide stage),
   offset so the pointer TIP, not its box, lands on target. */
@keyframes wcbCursor {
    0%       { transform: translate(390px, 400px); }   /* rests off in the corner */
    17%, 21% { transform: translate(290px, 370px); }   /* on the review pill (measured center - 8) */
    38%, 42% { transform: translate(201px, 134px); }   /* on the "Get started" CTA (measured) */
    56%,100% { transform: translate(150px, 250px); }   /* drifts down into the bubble */
}
@keyframes wcbArrow { 0%, 20.9% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes wcbCross { 0%, 20.9% { opacity: 0; } 21%, 100% { opacity: 1; } }
@keyframes wcbClick {
    0%, 16.9%   { opacity: 0; transform: scale(0.4); }
    17%         { opacity: 0.9; transform: scale(0.4); }
    23%         { opacity: 0; transform: scale(1.6); }
    37.9%       { opacity: 0; transform: scale(0.4); }
    38%         { opacity: 0.9; transform: scale(0.4); }
    44%, 100%   { opacity: 0; transform: scale(1.6); }
}
@keyframes wcbPillBg { 0%, 20.9% { background: #1F2937; } 21%, 100% { background: var(--wcb); } }
@keyframes wcbLblOff { 0%, 20.9% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes wcbLblOn  { 0%, 20.9% { opacity: 0; } 21%, 100% { opacity: 1; } }
@keyframes wcbHlOn {
    0%, 37.9% { box-shadow: none; }
    38%, 100% { box-shadow: 0 0 0 2px var(--wcb), 0 0 0 6px rgba(79,70,229,0.18); }
}
@keyframes wcbBubbleIn {
    0%, 41.9% { opacity: 0; transform: scale(0.94); }
    50%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes wcbType {
    0%, 49.9% { clip-path: inset(0 100% 0 0); }
    83%, 100% { clip-path: inset(0 0 0 0); }
}

/* Reduced motion: freeze on the finished state as a static mock. */
@media (prefers-reduced-motion: reduce) {
    .wcb-anim .wcb-cursor { display: none; }
    .wcb-anim .wcb-pill, .wcb-anim .lbl-off, .wcb-anim .lbl-on,
    .wcb-anim .wcb-mark .wcb-shop-cta, .wcb-anim .wcb-bubble,
    .wcb-anim .wcb-typed, .wcb-anim .cur-arrow, .wcb-anim .cur-cross,
    .wcb-anim .wcb-click-ring { animation: none; }
    .wcb-anim .wcb-pill { background: var(--wcb); }
    .wcb-anim .lbl-off { opacity: 0; }
    .wcb-anim .lbl-on { opacity: 1; }
    .wcb-anim .wcb-mark .wcb-shop-cta { box-shadow: 0 0 0 2px var(--wcb), 0 0 0 6px rgba(79,70,229,0.18); }
    .wcb-anim .wcb-bubble { opacity: 1; transform: none; }
    .wcb-anim .wcb-typed { clip-path: none; }
}

/* =============================================================
   STAFFING GRID — 4-up coverage tiles on /about
   Reuses .svc-card. 2x2 on tablet rather than 3+1, so the row never
   leaves a single orphan tile on its own line.
============================================================= */
.staffing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 1100px) { .staffing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .staffing-grid { grid-template-columns: 1fr; } }

/* Align the four cards' internals, not just their outer heights. The outcome
   lines run 3 lines on cards 01/03 and 4 on 02/04, which pushed the bullet
   lists (and their top rule) 22px lower on the even cards. Reserving 4 lines
   on every card puts every divider and first bullet on the same baseline.
   4 lines x 1.5 line-height x 0.92rem = 5.52rem. */
.staffing-grid .svc-card-outcome { min-height: 5.52rem; }
@media (max-width: 1100px) {
    /* 2-up and 1-up give the text more width, so the reservation would leave a
       gap instead of closing one. */
    .staffing-grid .svc-card-outcome { min-height: 0; }
}

/* The continuity tile closes the set: quieter surface, same rhythm. */
.svc-card--continuity {
    background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface-3) 100%);
    border-color: var(--hairline-2);
}

/* =============================================================
   CARD HEADING ROW — icon + title on one line
   .row-tight is a global utility with flex-wrap: wrap, which drops a long
   title below its icon and misaligns it against neighbouring cards. Opt in
   to no-wrap on the heading row only, so the shared utility is untouched.
============================================================= */
.card-head-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    margin-bottom: 14px;
}
.card-head-row > h3 { margin: 0; min-width: 0; }

/* Numbers carried in a scannable list should read as the emphasis they are. */
.svc-card-list li strong { color: var(--ink); font-weight: 700; }

/* /about background cards: the two intro paragraphs are length-matched in the
   template (~92 and ~96 visible chars) so they wrap to the same line count at
   almost every width, keeping both bullet lists on a shared baseline.

   The single exception is the narrow band around 960-1000px, where the left
   wraps to 3 lines while the right is still on 2. A 3-line floor closes it and
   is inert elsewhere: above that band both are 2 lines and the floor would
   over-reserve, so it is only applied inside the band.

   If either intro is edited, keep the two roughly the same length. */
@media (min-width: 901px) and (max-width: 1050px) {
    .background-cards > .card > p:first-of-type { min-height: 5.1rem; }
}
}
}

/* =============================================================
   CONTINUITY LIST — /about bus-factor answer
============================================================= */
.continuity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.continuity-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    line-height: 1.65;
    color: var(--muted);
}
.continuity-list li:last-child { margin-bottom: 0; }
.continuity-list li strong { color: var(--ink); }
.continuity-list li > i {
    position: absolute;
    left: 0;
    top: 0.28em;
    font-size: 1rem;
    color: var(--brand);
}

/* =============================================================
   LEGAL PAGES — /privacy, /terms
   Long-form reading column. Narrower than the grid pages on purpose:
   ~68ch is the comfortable measure for dense prose.
============================================================= */
.legal-page { padding-top: 48px; }
.legal-wrap {
    max-width: 720px;
    margin: 0 auto;
}
.legal-h1 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    margin: 6px 0 10px;
}
.legal-updated {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0 0 34px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hairline);
}
.legal-body { color: var(--ink-2); }
.legal-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin: 36px 0 10px;
    letter-spacing: -0.01em;
}
.legal-body h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ink);
    margin: 22px 0 6px;
}
.legal-body p { line-height: 1.7; margin: 0 0 14px; }
/* The global `ul, ol { list-style: none }` reset suits nav and card lists but
   not legal prose, where markers carry meaning. Restore them here only. */
.legal-body ul { list-style: disc; margin: 0 0 16px; padding-left: 22px; }
.legal-body ol { list-style: decimal; margin: 0 0 16px; padding-left: 22px; }
.legal-body li { line-height: 1.65; margin-bottom: 8px; }
.legal-body li::marker { color: var(--muted); }
.legal-body a { color: var(--brand); text-decoration: underline; }
.legal-body strong { color: var(--ink); }
/* Attorney-review callout: these drafts are not reviewed legal advice. */
.legal-notice {
    background: var(--surface-3);
    border: 1px solid var(--hairline-2);
    border-left: 3px solid var(--accent-2);
    border-radius: var(--r);
    padding: 16px 18px;
    margin: 0 0 30px;
}
.legal-notice p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
    color: var(--ink-2);
}
.legal-toc {
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    border-radius: var(--r);
    padding: 18px 20px;
    margin: 0 0 32px;
}
.legal-toc p {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 10px;
}
.legal-toc ol { list-style: decimal; margin: 0; padding-left: 20px; }
.legal-toc ol li::marker { color: var(--muted); font-family: var(--font-mono); font-size: 0.8rem; }
.legal-toc li { font-size: 0.9rem; margin-bottom: 5px; }

/* =============================================================
   CLIENT BUILD CARDS — /home and /about "what we've shipped"
   Reuses .svc-card so this stays consistent with the services grid and the
   /about staffing cards. Two adjustments: the whole card is a link, and the
   type is a touch smaller so this reads as supporting proof rather than
   competing with the service catalogue.
============================================================= */
.client-build-grid { margin-top: 4px; }
.client-build-card {
    text-decoration: none;
    color: inherit !important;
}
.client-build-card .svc-card-num {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.client-build-card .svc-card-outcome { font-size: 0.88rem; }
.client-build-card .svc-card-list li { font-size: 0.82rem; }
.client-build-card:hover .svc-card-title { color: var(--brand); }

/* Keep the three cards internally aligned, not just equal in outer height.
   .svc-card is already a flex column, so letting the outcome grow pushes each
   card's list to the bottom of the card. Since the grid stretches all three to
   the tallest, their lists land on the same baseline at every width without a
   hand-tuned min-height per breakpoint (the approach that needed three
   attempts on the /about background cards). */
.client-build-card .svc-card-outcome { flex: 1 0 auto; }
.client-build-card .svc-card-list { margin-top: 0; }

/* =============================================================
   PHOTOGRAPHY — people, paired with the diagrams
   Stock photos and short loops (static/images/photos/CREDITS.md) of the
   owners and teams the copy is written for. Each one carries an existing
   diagram or mock laid over it, so the picture sets the scene and the
   diagram still does the explaining. Partials: _partials/photo.html and
   _partials/loop.html; clips are driven by /static/js/v2/loop.js.
============================================================= */
.photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--r-xl);
    background: var(--surface-3);
}
.photo img,
.photo video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pos, 50% 50%);
}
.loop { cursor: default; }
.loop video { pointer-events: none; }

/* Media stage: a photo (or clip) up top, with the section's diagram card
   overlapping its lower edge, and a gold corner bracket behind the photo.
   Tunables, set inline where a crop needs it:
     --photo-w  photo width as a share of the column
     --card-w   card width
     --overlap  how far the card rides up over the photo (% of column width)
     --ratio    photo aspect ratio */
.media-stage {
    --photo-w: 90%;
    --card-w: 88%;
    --overlap: 9%;
    --ratio: 3 / 2;
    position: relative;
    width: 100%;
    min-width: 0;
}
.media-stage__media {
    width: var(--photo-w);
    margin-left: auto;
    aspect-ratio: var(--ratio);
    box-shadow: var(--shadow);
}
.media-stage::before {
    content: "";
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34%;
    height: 30%;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    border-top-right-radius: calc(var(--r-xl) + 14px);
    opacity: 0.75;
    pointer-events: none;
}
.media-stage__card {
    position: relative;
    z-index: 1;
    width: var(--card-w);
    margin-top: calc(-1 * var(--overlap));
    box-shadow: var(--shadow-lg);
}
/* The card class goes straight onto an existing mock, which keeps its own
   box; the Teams chat drops its centring cap so the stage sizes it. */
.media-stage__card.wcb-chat { max-width: none; margin-left: 0; margin-right: 0; }
.media-stage--flip .media-stage__card.wcb-chat { margin-left: auto; }

/* Mirrored: photo on the left, card riding up on the right. */
.media-stage--flip .media-stage__media { margin-left: 0; margin-right: auto; }
.media-stage--flip .media-stage__card { margin-left: auto; }
.media-stage--flip::before {
    right: auto;
    left: -14px;
    border-right: 0;
    border-left: 2px solid var(--accent);
    border-top-right-radius: 0;
    border-top-left-radius: calc(var(--r-xl) + 14px);
}

/* On the navy anchor sections the card needs a solid face over footage. */
.section--ink .media-stage__media { box-shadow: 0 24px 60px -24px rgba(0,0,0,0.55); }
.section--ink .media-stage__card { box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7); }
.section--ink .media-stage__card.ask-mock {
    background: var(--espresso-2);
    border-color: rgba(255,255,255,0.16);
}
.section--ink .media-stage::before { border-color: #E5C46A; opacity: 0.6; }

@media (max-width: 991px) {
    .media-stage { --photo-w: 100%; --card-w: 92%; --overlap: 7%; --ratio: 16 / 10; margin-top: 8px; }
    .media-stage__card { margin-left: auto; margin-right: auto; }
    .media-stage--flip .media-stage__card { margin-right: auto; }
    .media-stage::before { display: none; }
}

/* Film: a wide photo or clip across the container, with an optional
   caption block. --------------------------------------------------- */
.film {
    position: relative;
    margin: 0;
}
.film__media {
    aspect-ratio: 21 / 9;
    box-shadow: var(--shadow);
}
.film__media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(15,29,56,0.62) 0%, rgba(15,29,56,0.08) 58%, rgba(15,29,56,0) 100%);
    pointer-events: none;
}
.film--plain .film__media::after { display: none; }
.film__label {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 1;
    max-width: 25rem;
    padding: 20px 22px;
    background: var(--espresso-2);
    border: 1px solid rgba(229,196,106,0.35);
    border-radius: var(--r-lg);
}
.film__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px 10px;
    border: 1px solid rgba(229,196,106,0.45);
    border-radius: var(--r-pill);
    font-size: 0.78rem;
    font-weight: 600;
    color: #E5C46A;
    text-decoration: none;
    transition: background var(--dur-fast) var(--ease-out);
}
.film__tag:hover { background: rgba(229,196,106,0.12); color: #F0D58A; }
.film__text {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #FBF7F0;
}
.section--ink .film__media { box-shadow: 0 24px 60px -24px rgba(0,0,0,0.55); }

/* Home: the takeover clip, between the section head and the four steps. */
.process-film { margin: 8px 0 64px; }
/* Caption at the foot, over the table, so every face in the clip stays clear. */
.process-film .film__label { top: auto; bottom: 28px; }
@media (max-width: 768px) { .process-film .film__label { top: auto; bottom: 14px; } }

/* Services: the late-night still between "It's 6pm..." and the three pains. */
.pain-film { margin: 8px 0 40px; }
.pain-film .film__media { aspect-ratio: 24 / 9; }

@media (max-width: 768px) {
    .film__media { aspect-ratio: 4 / 3; }
    .pain-film .film__media { aspect-ratio: 16 / 10; }
    .film__label { top: 14px; left: 14px; right: 14px; max-width: none; padding: 14px 16px; }
    .film__text { font-size: 1.05rem; }
    .process-film { margin-bottom: 40px; }
}

/* Closing CTA over a photograph: the photo fills the right of the band
   behind a navy veil, so the buttons keep their contrast. */
.cta-strip--photo .cta-strip__photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: 56%;
    border-radius: 0;
    background: transparent;
}
/* Masked rather than hard-edged, so the photo dissolves into the band's own
   gradient instead of leaving a seam where it starts. */
.cta-strip--photo .cta-strip__photo {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 35%, #000 70%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 35%, #000 70%);
}
.cta-strip--photo .cta-strip__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30,61,116,0.58);
}
.cta-strip--photo::after { display: none; }
@media (max-width: 768px) {
    .cta-strip--photo .cta-strip__photo { width: 100%; -webkit-mask-image: none; mask-image: none; }
    .cta-strip--photo .cta-strip__photo::after { background: rgba(30,61,116,0.86); }
}

/* Phones hide .hero-visual to keep the hero short. The photo is worth the
   space even there, so a staged hero keeps its photo as a short banner and
   drops only the diagram card. */
@media (max-width: 768px) {
    .hero-visual.media-stage { display: block; }
    .hero-visual.media-stage .media-stage__card { display: none; }
    .hero-visual.media-stage .media-stage__media { aspect-ratio: 16 / 10; }
}

/* =============================================================
   PHOTO HERO — the photograph owns the right half
   After wolcott's page heads: the photo fills the right of the hero to the
   screen edge, cut on a slant (gold hairline on the cut, a white trace just
   inside it), and the page's diagram floats over its lower left, straddling
   the cut. The faces sit up and to the right, so the people stay in view.
   Partial: _partials/hero_photo.html. The diagram goes in .hero-float.
============================================================= */
.hero--photo {
    --hero-photo-w: 54%;
    --float-w: min(400px, 29vw);
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(95% 130% at 8% 100%, rgba(184,147,46,0.08) 0%, transparent 52%),
        var(--surface);
}
/* The copy has to finish before the photo's lower-left corner (the cut
   leans right as it rises, so the bottom is the tightest point): 46vw is
   where the photo starts at the foot, less the container's left inset and
   a breathing gap. */
.hero--photo .hero-text {
    max-width: min(520px, calc(46vw - max(28px, (100vw - 1240px) / 2 + 28px) - 44px));
}
.hero--photo .hero-h1 {
    max-width: none;
    /* The cut leans right as it rises, so at headline height there is more
       room than at the foot of the copy; the headline takes it. */
    width: calc(100% + 72px);
    font-size: clamp(2.5rem, 4.3vw, 4.6rem);
    line-height: 0.98;
    margin-bottom: 26px;
}
@media (max-width: 1100px) {
    .hero--photo .hero-h1 { width: auto; font-size: clamp(2.3rem, 7vw, 3.6rem); }
}

.hero-photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--hero-photo-w);
    z-index: 0;
}
.hero-photo__img {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow: hidden;
    background: var(--surface-3);
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo__img img,
.hero-photo__img video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pos, 50% 30%);
}
/* A soft lift along the cut, so the photo meets the page instead of
   stopping dead against it. */
.hero-photo__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 32%);
    pointer-events: none;
}
.hero-photo__edge {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.hero-photo__edge line { vector-effect: non-scaling-stroke; }
.hero-photo__cut { stroke: var(--accent); stroke-width: 2; }
.hero-photo__trace { stroke: rgba(255,255,255,0.7); stroke-width: 1; }

/* The diagram, floated over the photo's lower left. */
.hero-float {
    position: absolute;
    z-index: 2;
    left: calc(100% - var(--hero-photo-w) + 72px);
    bottom: 44px;
    width: var(--float-w);
}
/* Kept small and quiet: the people in the picture lead, the diagram is a
   supporting note on top. A translucent face and a soft shadow so it sits
   on the picture rather than shouting over it. */
.hero-float > .card,
.hero-float > .wcb-browser {
    background: rgba(255,255,255,0.93);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 14px 34px -18px rgba(21,32,58,0.32);
}
.hero-float > .card { padding: 16px 18px !important; }
.hero-float .value-tag { margin-bottom: 8px !important; font-size: 0.66rem; }
.hero-float .card > .fine { margin-top: 6px !important; font-size: 0.74rem; }
/* The services summary card keeps just its four headline rows up here. */
.hero-float .whatwedo { padding: 0 !important; }
.hero-float .whatwedo-sub,
.hero-float .whatwedo-foot { display: none; }
.hero-float > .wcb-browser { max-width: none; }
.hero-float .wcb-stage { max-width: none; }

@media (max-width: 1366px) {
    .hero--photo { min-height: 660px; --float-w: min(380px, 29vw); }
    .hero-float { bottom: 44px; }
}

/* Tablet and small laptops: the photo drops under the copy as a wide
   panel, the diagram riding up over its lower edge. */
@media (max-width: 1100px) {
    .hero--photo { min-height: 0; display: flex; }
    .hero--photo .hero-text { max-width: none; }
    .hero-photo {
        order: 2;
        position: relative;
        width: auto;
        margin: 36px 28px 0;
        aspect-ratio: 16 / 10;
    }
    .hero-photo__img { border-radius: var(--r-xl); clip-path: none; }
    .hero-photo__edge { display: none; }
    .hero-float {
        order: 3;
        position: relative;
        left: auto;
        bottom: auto;
        width: min(400px, 72%);
        margin: -72px auto 0;
    }
}
/* Phones: the photo stays as a short banner; the diagram goes, as every
   hero visual does at this size. */
@media (max-width: 768px) {
    .hero-photo { margin: 28px 20px 0; }
    .hero-float { display: none; }
}

/* Home: the film hero. A montage of all kinds of businesses plays behind
   the whole hero; a frosted pane covers the left, cut on the same slant
   (and with the same gold hairline and white trace) as the photo heroes,
   so the headline sits on glass and the footage shows clear to the right.
   The footage starts a little in from the left so more of the faces land
   in the clear side of the pane. */
.hero--film .hero-photo { left: 0; width: 100%; }
.hero--film .hero-photo__img {
    left: 30%;
    clip-path: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}
.hero--film .hero-photo__img::after { display: none; }
.hero--film .hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255,255,255,0.84);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    clip-path: polygon(0 0, 54.64% 0, 46% 100%, 0 100%);
    pointer-events: none;
}
/* The edge sits where the photo heroes' cut sits: the right 54% of the
   hero, leaning from 16% across at the top to its left edge at the foot. */
.hero--film .hero-photo__edge { left: 46%; width: 54%; z-index: 2; }
@media (max-width: 1100px) {
    .hero--film .hero-photo { left: auto; width: auto; }
    .hero--film .hero-photo__img { left: 0; -webkit-mask-image: none; mask-image: none; }
    .hero--film .hero-photo::after { display: none; }
}

/* Three testimonials across: quotes run different lengths, so the author
   row is pinned to the foot of each card and the three line up. */
.testimonial-card { display: flex; flex-direction: column; }
.testimonial-card .testimonial-quote { flex: 1 0 auto; }

/* The wordmark sets GROUP in italic capitals under a roman GALWAY; the
   coloured turn in a headline takes the same italic. */
.h1 .accent, .h2 .accent, .h2 .text-brand, .cta-strip h2 em { font-style: italic; font-weight: 600; }

/* Services, "It's 6pm": kept plain. The photo as a photo, the three
   frustrations as ordinary paragraphs between hairlines. */
.pain-plain {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: center;
}
.pain-plain__photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.pain-plain__copy .h2 { margin-bottom: 20px; }
.pain-plain__list p {
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid var(--hairline);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--muted);
}
.pain-plain__list p:last-child { border-bottom: 1px solid var(--hairline); }
.pain-plain__list strong { color: var(--ink); font-weight: 600; }
.pain-plain__turn { margin: 22px 0 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
@media (max-width: 991px) {
    .pain-plain { grid-template-columns: 1fr; gap: 32px; }
    .pain-plain__photo { aspect-ratio: 16 / 10; }
}

/* Services, "One screen": calm on purpose. Three plain points and a
   single exchange with your CTO, rather than a dashboard of numbers. */
.relief-points--plain li { display: block; padding: 14px 0; border-top: 1px solid var(--hairline); }
.relief-points--plain li:last-child { border-bottom: 1px solid var(--hairline); }
.relief-chat {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.relief-chat__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hairline);
    background: var(--surface-2);
}
.relief-chat__who { display: flex; flex-direction: column; line-height: 1.2; }
.relief-chat__who b { font-size: 0.95rem; color: var(--ink); }
.relief-chat__who span { font-size: 0.78rem; color: var(--muted); }
.relief-chat__app { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.relief-chat__thread { display: flex; flex-direction: column; gap: 10px; padding: 24px 20px 20px; }
.relief-chat__msg {
    margin: 0;
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 14px 14px 14px 4px;
    background: var(--surface-3);
    color: var(--ink);
    font-size: 0.95rem;
}
.relief-chat__msg--me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--brand); color: #FFFFFF; }
.relief-chat__meta { margin: 2px 0 0; font-size: 0.76rem; color: var(--faint); }
/* A headline straight into its intro paragraph needs a breath (sibling
   margins collapse, so where a section head already spaces it, nothing
   changes). */
.h2 + .lead { margin-top: 14px; }

.work-tile {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.work-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-tile img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    border-bottom: 1px solid var(--hairline);
}
.work-tile__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.work-tile__tag { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-2); }
.work-tile__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.work-tile__outcome { font-size: 0.9rem; line-height: 1.55; color: var(--muted); }
.work-tile__items { margin-top: 6px; font-size: 0.8rem; font-weight: 500; color: var(--ink-2); }

/* Services, CRM spotlight: three plain lines, and a small before/after
   table where every job that says "You" today has a queue and a person. */
.crm-points { list-style: none; margin: 26px 0 28px; padding: 0; }
.crm-points li {
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(251,247,240,0.86);
}
.crm-points li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.crm-hats { padding: 8px 20px 12px !important; background: #FFFFFF; color: var(--ink); }
.crm-hats__head,
.crm-hats__row {
    display: grid;
    grid-template-columns: 1.25fr 0.6fr 1.4fr;
    gap: 10px;
    align-items: center;
}
.crm-hats__head {
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}
.crm-hats__row { padding: 13px 0; border-bottom: 1px solid var(--hairline); font-size: 0.9rem; }
.crm-hats__row:last-child { border-bottom: 0; }
.crm-hats__job { font-weight: 600; }
.crm-hats__you { color: var(--faint); text-decoration: line-through; }
.crm-hats__q { display: flex; flex-direction: column; line-height: 1.25; color: var(--brand); font-weight: 600; }
.crm-hats__q em { font-style: normal; font-weight: 400; font-size: 0.8rem; color: var(--muted); }

/* Pricing, "Hourly work, with a cap you set": the cost chart, now the
   centrepiece of the explanation. Beside it, the three parts of the model,
   each with a swatch matching what it explains on the chart. The bars rise
   once when the section scrolls in, then hold still. */
.model {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: center;
    margin-top: 8px;
}
.model__chart { margin: 0; padding: 26px 26px 18px; box-shadow: var(--shadow); }
.model__caption {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 10px;
}
.model__chart .tgg-cost-hour { animation: none; }
.model:not(.is-in) .tgg-cost-col { animation-play-state: paused; }
.model__key { list-style: none; margin: 0; padding: 0; }
.model__key li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid var(--hairline);
}
.model__key li:last-child { border-bottom: 1px solid var(--hairline); }
.model__h { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.model__h em { color: var(--accent-2); }
.model__key p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--muted); }
.model__key a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.model__swatch { margin-top: 6px; width: 22px; height: 22px; border-radius: 5px; }
.model__swatch--base { background: linear-gradient(180deg, #3B62A8, #1B3A6B); }
.model__swatch--cap { height: 0; margin-top: 16px; border-radius: 0; border-top: 2px dashed var(--accent); }
.model__swatch--ok {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--ink); color: #FFFFFF; font-size: 0.85rem;
}
@media (max-width: 991px) {
    .model { grid-template-columns: 1fr; gap: 28px; }
}

/* =====================================================================
   CONSISTENCY LAYER
   One way to deliver a block of text, sitewide, so pages stop competing:
   - section heads are left-aligned everywhere;
   - text blocks are open columns under a thin rule, not boxes;
   - no monospace capitals or numbered tags in page copy (the monospace
     stays inside the product mock-ups, where it belongs);
   - icons sit plain beside their line, not in tinted squares;
   - card copy is set a little larger and darker so it reads, not greys.
   ===================================================================== */

/* About: client builds as a static grid of the live sites. */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 991px) { .work-grid { grid-template-columns: 1fr; } }

/* Section heads */
.section-head[style] { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; }
.section-head[style] .lead { margin-left: 0 !important; margin-right: 0 !important; }

/* Text blocks: open columns under a rule */
.svc-card,
.svc-card--more,
.svc-card--continuity,
.value-card,
.case-card,
.background-cards > .card {
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid var(--hairline-2) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 24px 4px 0 0 !important;
    transform: none !important;
}
.svc-card:hover, .value-card:hover, .case-card:hover { box-shadow: none !important; transform: none !important; }
.svc-card-ico, .svc-card-num, .story-icon { display: none !important; }
.svc-card-top:not(:has(.pill)) { display: none; }
.svc-card-title,
.value-title,
.case-card-name,
.background-cards .h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.15;
    color: var(--ink);
}
.svc-card-outcome,
.value-desc,
.case-card-body,
.background-cards > .card > p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: var(--ink-2) !important;
}
.svc-card-list li,
.case-card-results li { font-size: 0.94rem; color: var(--muted); }

/* Labels in page copy: plain small sans, not monospace capitals */
.value-tag,
.case-card-tag,
.case-card-label,
.process-when,
.proof-strip-label,
.proof-strip-kind,
.ask-list-label,
.spotlight-meta-label,
.layer-tag,
.work-tile__tag,
.trust-strip-label,
.mockup-panel-label,
.footer-col-title {
    font-family: var(--font-sans) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
}
.value-tag, .case-card-tag, .case-card-label, .work-tile__tag { color: var(--accent-2) !important; background: none !important; padding: 0 !important; border: 0 !important; }
.proof-strip-label {
    font-family: var(--font-display) !important;
    font-style: italic;
    font-size: 1.35rem !important;
    font-weight: 500 !important;
    color: var(--ink) !important;
}
.testimonial-role { font-family: var(--font-sans) !important; letter-spacing: 0 !important; font-size: 0.84rem !important; }

/* Icons beside list lines: plain, no tinted squares */
.relief-ico,
.portal-points li i {
    background: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    color: var(--accent) !important;
}

/* Web Collab steps: open columns, the step number as a serif numeral. */
.wcb-step { background: transparent; border: 0; border-top: 1px solid var(--hairline-2); border-radius: 0; padding: 22px 4px 0 0; }
.wcb-step-num {
    background: none; padding: 0; border-radius: 0;
    font-family: var(--font-display); font-style: italic; font-weight: 600;
    font-size: 1.6rem; line-height: 1; color: var(--accent);
}
.wcb-step-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.15; }
.wcb-step-desc { font-size: 0.98rem; line-height: 1.6; color: var(--ink-2); }

/* Pricing, "Almost everything's included": two open lists under a rule
   instead of two boxed panels, labels in plain type, icons without chips. */
.incl-included, .incl-priced {
    background: transparent !important;
    border: 0 !important;
    border-top: 2px solid var(--ink) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 20px 0 0 !important;
}
.incl-head-label, .incl-head-value {
    font-family: var(--font-display) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    background: none !important;
    padding: 0 !important;
    border: 0 !important;
}
.incl-head-value { color: var(--accent-2) !important; font-style: italic; }
.incl-head-label i { display: none; }
.incl-ico { background: none !important; width: auto !important; height: auto !important; color: var(--accent) !important; }
.incl-sub { font-size: 0.94rem !important; line-height: 1.55 !important; color: var(--ink-2) !important; }
.incl-price-ico { background: none !important; width: auto !important; height: auto !important; color: var(--accent) !important; }
.incl-note { font-size: 0.9rem !important; color: var(--ink-2) !important; }


/* =====================================================================
   SECTION SYSTEM (2027)
   After Google Careers, Zelis, Wolcott, Shape and awsmd: a short list of
   section shapes, used everywhere, so pages stop competing.
     .mission     one big serif line
     .split-head  headline left, short intro + action right
     .biglist     services as big type, one line each (Shape)
     .tiles       tinted tiles, art on top (Google Careers)
     .photocard   a big photo with one card overlapping it (Google, Zelis)
     .quotes      testimonials, set large
     closing      .cta-strip--photo: photo with the closing card (Zelis)
   Buttons are pills; the one dark section per page is an inset panel.
   ===================================================================== */

:root {
    --tint-navy: #E6EBF3;
    --tint-sand: #F4ECDC;
    --tint-sage: #E3ECE5;
    --r-panel: 28px;
}

/* Buttons: one shape, everywhere */
.btn { border-radius: var(--r-pill); }
.btn--primary { background: var(--brand); border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-2); border-color: var(--brand-2); }

/* The dark section, as an inset rounded panel */
.section--ink { margin: 0 16px; border-radius: var(--r-panel); overflow: hidden; }
@media (max-width: 640px) { .section--ink { margin: 0 8px; border-radius: 20px; } }

/* Mission */
.mission { padding: 96px 0 72px; }
.mission__label { margin: 0 0 18px; font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.mission__line {
    margin: 0;
    max-width: 24ch;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.4vw, 4rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.mission__line em { color: var(--brand); }

/* Split head */
.split-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: end;
    margin-bottom: 52px;
}
.split-head .h2 { font-size: clamp(2rem, 3.2vw, 3rem); max-width: 16ch; }
.split-head .lead { margin: 0 0 22px; color: var(--ink-2); }
.split-head > p.lead:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; gap: 18px; } }

/* Big list */
.biglist { border-bottom: 1px solid var(--hairline-2); }
.biglist__row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 40px;
    gap: 32px;
    align-items: center;
    padding: 24px 4px;
    border-top: 1px solid var(--hairline-2);
    color: var(--ink);
    text-decoration: none;
    transition: padding var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.biglist__name {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.6vw, 3.2rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.015em;
}
.biglist__desc { font-size: 1.02rem; line-height: 1.5; color: var(--muted); max-width: 36ch; }
.biglist__arrow { justify-self: end; font-size: 1.3rem; color: var(--brand); transition: transform var(--dur) var(--ease-out); }
.biglist__row:hover { padding-left: 16px; padding-right: 16px; background: var(--surface); }
.biglist__row:hover .biglist__name { color: var(--brand); }
.biglist__row:hover .biglist__arrow { transform: translate(3px, -3px); }
@media (max-width: 760px) {
    .biglist__row { grid-template-columns: 1fr 28px; gap: 6px 12px; padding: 18px 2px; }
    .biglist__desc { grid-column: 1; grid-row: 2; }
    .biglist__arrow { grid-row: 1 / span 2; grid-column: 2; }
}

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { border-radius: 24px; padding: 18px 18px 30px; background: var(--tint-navy); }
.tile--sand { background: var(--tint-sand); }
.tile--sky, .tile--sage { background: var(--tint-sage); }
.tile__art {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
}
.tile__art svg { width: 100%; max-width: 300px; height: auto; display: block; }
.tile__title {
    margin: 0 10px 10px;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--ink);
}
.tile__text { margin: 0 10px; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 991px) { .tiles { grid-template-columns: 1fr; } }

/* Photo with an overlapping card */
.photocard { position: relative; min-height: 560px; }
.photocard__photo {
    width: 64%;
    aspect-ratio: auto;
    height: 560px;
    border-radius: var(--r-panel);
}
.photocard__card {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 46%;
    padding: 48px 48px 44px;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 30px 70px -30px rgba(13,30,59,0.35), 0 2px 8px rgba(13,30,59,0.05);
}
.photocard__card .h2 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); margin-bottom: 18px; }
.photocard__text { margin: 0 0 14px; font-size: 1.08rem; line-height: 1.6; color: var(--ink-2); }
.photocard__fine { margin: 0 0 26px; font-size: 0.92rem; line-height: 1.55; color: var(--muted); }
.photocard--flip .photocard__photo { margin-left: auto; }
.photocard--flip .photocard__card { right: auto; left: 0; }
@media (max-width: 991px) {
    .photocard { min-height: 0; }
    .photocard__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; }
    .photocard__card, .photocard--flip .photocard__card {
        position: relative; top: auto; left: auto; right: auto; transform: none;
        width: auto; margin: -64px 16px 0; padding: 32px 26px;
    }
}

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 48px; }
.quote { margin: 0; display: flex; flex-direction: column; padding-top: 26px; border-top: 3px solid var(--brand); }
.quote__text {
    margin: 0 0 28px;
    flex: 1 0 auto;
    font-family: var(--font-display);
    font-size: 1.32rem;
    line-height: 1.42;
    color: var(--ink);
}
.quote__by { display: flex; align-items: center; gap: 14px; }
.quote__by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote__by b { display: block; font-size: 0.98rem; color: var(--ink); }
.quote__by span span { display: block; font-size: 0.86rem; color: var(--muted); }
.quote__by a { color: var(--brand); }
@media (max-width: 991px) { .quotes { grid-template-columns: 1fr; gap: 40px; } }

/* Closing: the photo with the closing card over its left edge */
.cta-strip--photo {
    background: var(--surface-2);
    padding: 96px 0;
    border: 0;
    color: var(--ink);
}
.cta-strip--photo::after { display: none; }
.cta-strip--photo .cta-strip__photo {
    position: absolute;
    top: 96px;
    bottom: 96px;
    right: max(28px, calc((100vw - 1240px) / 2 + 28px));
    left: calc(max(28px, calc((100vw - 1240px) / 2 + 28px)) + 22%);
    width: auto;
    border-radius: var(--r-panel);
    -webkit-mask-image: none;
            mask-image: none;
}
.cta-strip--photo .cta-strip__photo::after { display: none; }
.cta-strip--photo .cta-strip-inner {
    display: block;
    max-width: 520px;
    margin: 64px 0;
    padding: 48px;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 30px 70px -30px rgba(13,30,59,0.35);
}
.cta-strip--photo h2 { color: var(--ink); font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.cta-strip--photo .lead { color: var(--ink-2); max-width: none; }
.cta-strip--photo .cta-strip-actions { flex-direction: row; flex-wrap: wrap; margin-top: 28px; min-width: 0; }
.cta-strip--photo .btn--primary { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.cta-strip--photo .btn--secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--hairline-2); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cta-strip--photo .btn--secondary:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
@media (max-width: 860px) {
    .cta-strip--photo { padding: 0 0 64px; }
    .cta-strip--photo .cta-strip__photo { position: relative; top: auto; bottom: auto; left: auto; right: auto; display: block; height: 300px; margin: 0 16px; border-radius: 24px; }
    .cta-strip--photo .cta-strip-inner { margin: -64px 0 0; padding: 32px 26px; }
}
.cta-strip--photo .cta-strip-actions { display: flex; align-items: center; gap: 12px; }
.cta-strip--photo .cta-strip-actions .btn { width: auto; flex: 0 0 auto; }
.cta-strip--photo .cta-strip-actions { flex-direction: row !important; align-items: center !important; }
.cta-strip--photo .btn--lg { padding: 14px 22px; font-size: 0.95rem; }


/* =====================================================================
   PREMIUM LAYER (Home v4; the pattern for every page)
   ===================================================================== */

/* Type: Garamond display at a lighter weight once it is large */
.h1, .h2 { font-weight: 500; letter-spacing: -0.015em; }

/* Buttons: pills, with the arrow in its own circle (Shape) */
.btn--primary > .bi-arrow-right,
.btn--light > .bi-arrow-right {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    margin: -8px -12px -8px 8px;
    transition: transform var(--dur) var(--ease-out);
}
.btn--primary > .bi-arrow-right { background: #FFFFFF; color: var(--brand); }
.btn--primary:hover > .bi-arrow-right,
.btn--light:hover > .bi-arrow-right { transform: translateX(3px); }
.btn--light { background: #FFFFFF; color: var(--brand); border: 1px solid #FFFFFF; }
.btn--light:hover { background: #F1F4F9; color: var(--brand-2); }
.btn--light > .bi-arrow-right { background: var(--brand); color: #FFFFFF; }
.link-arrow-lg {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 0.98rem; color: var(--ink);
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: background-size var(--dur) var(--ease-out);
    padding-bottom: 2px;
}
.link-arrow-lg:hover { background-size: 100% 1.5px; color: var(--ink); }

/* Nav: links in a soft pill (awsmd) */
.nav-bar { border-bottom: 0; background: rgba(255,255,255,0.88); }
.nav-links { background: var(--surface-3); border-radius: var(--r-pill); padding: 5px; gap: 2px; }
.nav-link { padding: 9px 18px; border-radius: var(--r-pill); color: var(--ink); }
.nav-link:hover { background: #FFFFFF; color: var(--ink); }
.nav-brand { font-size: 1.2rem; }

/* Headline words assemble on load */
.is-split .split-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.45em);
    transition: opacity 0.7s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: calc(var(--w) * 55ms + 120ms);
}
.is-split.is-in .split-word { opacity: 1; transform: none; }

/* Scroll reveal: a gentle rise */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---- Credentials row ------------------------------------------------- */
.trust-band { background: var(--surface); padding-bottom: 96px; }
.trust-strip { border-top: 1px solid var(--hairline-2); border-bottom: 1px solid var(--hairline-2); padding: 30px 0; }
.trust-strip-label { display: none; }
.trust-items { justify-content: space-between; gap: 18px 32px; }
.trust-item { padding: 0; font-size: 1rem; font-weight: 500; color: var(--muted); }
.trust-item:not(:last-child)::after { display: none; }
.trust-item i { color: var(--ink); font-size: 1.1rem; }

/* ---- Tiles ----------------------------------------------------------- */
.tile { border-radius: 30px; padding: 20px 20px 34px; }
.tile__art { min-height: 210px; border-radius: 20px; }
.tile__title { font-size: 1.9rem; font-weight: 500; letter-spacing: -0.01em; }
.tile__text { font-size: 1.02rem; }

/* ---- Footer: the dark panel with the big line -------------------------- */
.xfooter { background: var(--surface); padding: 0 16px 16px; border: 0; }
.xfooter__panel { background: var(--espresso-2); border-radius: 30px; padding: 96px 0 30px; color: rgba(255,255,255,0.72); overflow: hidden; }
.xfooter__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 72px; }
.xfooter__ask { margin: 0 0 26px; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.1; color: #FFFFFF; }
.xfooter__mail { display: inline-block; margin-top: 22px; color: #FFFFFF; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,0.35); }
.xfooter__mail:hover { color: #FFFFFF; text-decoration-color: #FFFFFF; }
.xfooter__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.xfooter__title { margin: 0 0 16px; font-size: 0.86rem; font-weight: 600; color: rgba(255,255,255,0.45); }
.xfooter__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xfooter__cols a, .xfooter__cols button { color: #FFFFFF; font: inherit; font-size: 1rem; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.xfooter__cols a:hover, .xfooter__cols button:hover { color: #E8CD84; }
.xfooter__social { display: flex; gap: 16px; margin-top: 24px; font-size: 1.15rem; }
.xfooter__big {
    margin: 96px 0 28px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(4rem, 15.5vw, 15rem);
    line-height: 0.85;
    letter-spacing: -0.045em;
    color: #FFFFFF;
    white-space: nowrap;
}
.xfooter__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.xfooter__bottom a { color: rgba(255,255,255,0.8); }
.xfooter__brand { display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; font-family: var(--font-display); font-size: 1rem; }
@media (max-width: 860px) {
    .xfooter { padding: 0 8px 8px; }
    .xfooter__panel { padding: 64px 0 24px; border-radius: 22px; }
    .xfooter__top { grid-template-columns: 1fr; gap: 48px; }
    .xfooter__cols { grid-template-columns: 1fr 1fr; }
    .xfooter__big { margin-top: 64px; font-size: 19vw; }
}

/* v4 polish */
@media (max-width: 900px) {  }
@media (max-width: 1100px) {  }
.xfooter__mail { display: block; width: fit-content; }
@media (max-width: 900px) {  }
@media (max-width: 860px) { .xfooter__big { font-size: 13.5vw; } }
/* Phones: the fixed chat button sits where the client pill would; the pill
   goes rather than collide. */
@media (max-width: 900px) {  }


/* =====================================================================
   HOME v5
   Designed at 1280x720 first: every section fits one screen there.
   Sizes scale with the window's width AND height (min(vw, vh)), with caps,
   so a 1920x1080 monitor gets more room, not a stretched layout. Phones
   get swipe rows instead of tall stacks.
   ===================================================================== */
:root {
    --wrap: 1240px;
    --h-sp: clamp(56px, min(9vw, 11vh), 132px);
    --h-r: clamp(20px, 2.2vw, 34px);
    --h-edge: clamp(8px, 1.4vw, 20px);
    /* distance from the hero frame's edge to the container's text edge */
    --h-cx: calc(max(28px, (100vw - var(--wrap)) / 2 + 28px) - var(--h-edge));
}
@media (min-width: 1600px) {
    :root { --wrap: 1360px; }
    .container, .nav-inner { max-width: 1360px; }
}
.h-h2, .h-hero__title, .h-mission__line { text-wrap: balance; }
.h-lead, .h-mission__text, .h-tile__text, .h-step__text, .h-photocard__text { text-wrap: pretty; }

.h-sec { padding: var(--h-sp) 0; background: var(--surface); }
.h-h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, min(3.2vw, 5.6vh), 3.5rem);
    line-height: 1.04;
    letter-spacing: -0.018em;
    color: var(--ink);
}
.h-lead { margin: 0; font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.h-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 72px);
    align-items: end;
    margin-bottom: clamp(28px, 5vh, 56px);
}
.h-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.h-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border: 1px solid var(--hairline-2); border-radius: var(--r-pill);
    background: #FFFFFF; font-size: 0.85rem; font-weight: 600; color: var(--brand); text-decoration: none;
}
.h-tag:hover { border-color: var(--brand); color: var(--brand); }

/* Panels: the rounded, inset sections (dark services, cream voices) */
.h-panel { margin: 0 var(--h-edge); border-radius: var(--h-r); padding: var(--h-sp) 0; overflow: hidden; }
.h-panel--dark { background: var(--espresso-2); color: rgba(255,255,255,0.75); }
.h-panel--cream { background: var(--tint-sand); }
.h-panel--dark .h-h2 { color: #FFFFFF; }
.h-panel--dark .h-lead { color: rgba(255,255,255,0.72); }

/* Concave corners where a notch meets its frame */
.h-notch-corners::before,
.h-notch-corners::after {
    content: ""; position: absolute; width: var(--r); height: var(--r);
    background: radial-gradient(circle at 100% 0, transparent calc(var(--r) - 0.5px), var(--notch-bg) var(--r));
}

/* ---- Hero -------------------------------------------------------------- */
.h-hero { padding: 6px var(--h-edge) 0; background: var(--surface); }
.h-hero__frame {
    position: relative;
    height: clamp(520px, calc(100svh - 82px), 940px);
    border-radius: var(--h-r);
    overflow: hidden;
    background: var(--surface-3);
}
.h-hero__media { position: absolute; inset: 0; margin: 0; }
.h-hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; display: block; }
.h-hero__notch {
    --r: var(--h-r); --notch-bg: var(--surface);
    position: absolute; left: 0; bottom: 0; z-index: 2;
    box-sizing: border-box;
    width: calc(var(--h-cx) + min(700px, 52vw) + clamp(28px, 3.4vw, 56px));
    padding: clamp(22px, 3.4vh, 40px) clamp(28px, 3.4vw, 56px) 0 var(--h-cx);
    background: var(--surface);
    border-top-right-radius: var(--h-r);
}
.h-hero__notch::before,
.h-hero__notch::after {
    content: ""; position: absolute; width: var(--h-r); height: var(--h-r);
    background: radial-gradient(circle at 100% 0, transparent calc(var(--h-r) - 0.5px), var(--surface) var(--h-r));
}
.h-hero__notch::before { left: 0; top: calc(-1 * var(--h-r)); }
.h-hero__notch::after { right: calc(-1 * var(--h-r)); bottom: 0; }
.h-hero__title {
    margin: 0 0 clamp(18px, 3vh, 30px);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.4rem, min(4.4vw, 8vh), 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: var(--ink);
}
.h-hero__title em { color: var(--brand); }
.h-hero__pill {
    position: absolute; top: clamp(14px, 2.4vh, 28px); right: clamp(14px, 2vw, 28px); z-index: 2;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 6px 22px 6px 6px; background: #FFFFFF; border-radius: var(--r-pill);
    color: var(--ink); text-decoration: none; box-shadow: 0 16px 40px -16px rgba(13,30,59,0.45);
    transition: transform var(--dur) var(--ease-out);
}
.h-hero__pill:hover { transform: translateY(-2px); color: var(--ink); }
.h-hero__pill img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.h-hero__pill b { display: block; font-size: 0.9rem; line-height: 1.2; }
.h-hero__pill span span { display: block; font-size: 0.8rem; color: var(--muted); }

/* ---- Mission ------------------------------------------------------------ */
.h-mission__line {
    margin: 0 0 clamp(28px, 5vh, 56px);
    max-width: 23em;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.9rem, min(3.7vw, 6.6vh), 4.2rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--ink);
    text-indent: 2.2em;
}
.h-mission__line em { color: var(--brand); }
.h-mission__row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.h-mission__text { margin: 0; font-size: clamp(1.02rem, 1.2vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 52ch; }
.h-facts { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.h-facts li { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; color: var(--ink); }
.h-facts i { color: var(--brand); }
.h-creds {
    list-style: none; margin: clamp(36px, 7vh, 80px) 0 0; padding: 22px 0 0;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px;
    border-top: 1px solid var(--hairline-2);
}
.h-creds li { display: inline-flex; align-items: center; gap: 9px; font-size: 0.95rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.h-creds i { color: var(--ink); }

/* ---- Services ----------------------------------------------------------- */
.h-services__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.h-services__intro { position: sticky; top: 104px; }
.h-services__intro .h-lead { margin: 18px 0 30px; }
.h-services__row {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
    padding: clamp(12px, 2.1vh, 24px) 0;
    border-top: 1px solid rgba(255,255,255,0.14);
    color: #FFFFFF; text-decoration: none;
}
.h-services__row:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.h-services__name {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(1.9rem, min(3.6vw, 6.1vh), 4.4rem);
    line-height: 1; letter-spacing: -0.025em; white-space: nowrap;
    transition: transform 0.6s var(--ease-out), color 0.3s ease;
}
.h-services__desc { max-width: 22ch; text-align: right; font-size: 0.92rem; line-height: 1.4; color: rgba(255,255,255,0.55); transition: color 0.3s ease; }
.h-services__row:hover { color: #FFFFFF; }
.h-services__row:hover .h-services__name { transform: translateX(14px); color: #E8CD84; }
.h-services__row:hover .h-services__desc { color: rgba(255,255,255,0.9); }

/* ---- Tiles -------------------------------------------------------------- */
.h-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.h-tile { border-radius: 24px; padding: 14px 14px clamp(20px, 3vh, 32px); background: var(--tint-navy); }
.h-tile--sand { background: var(--tint-sand); }
.h-tile--sage { background: var(--tint-sage); }
.h-tile__art {
    height: clamp(118px, 19vh, 220px);
    display: flex; align-items: center; justify-content: center;
    background: #FFFFFF; border-radius: 16px; padding: 14px; margin-bottom: clamp(16px, 2.6vh, 26px);
}
.h-tile__art svg { width: 100%; height: 100%; max-width: 300px; }
.h-tile__title { margin: 0 10px 8px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.1; color: var(--ink); }
.h-tile__text { margin: 0 10px; font-size: 0.96rem; line-height: 1.55; color: var(--ink-2); }

/* ---- Takeover ----------------------------------------------------------- */
.h-film { position: relative; }
.h-film__media { margin: 0; height: clamp(260px, 50vh, 600px); border-radius: var(--h-r); overflow: hidden; background: var(--surface-3); }
.h-film__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.h-film__notch {
    position: absolute; left: 0; bottom: 0; max-width: 480px;
    padding: 22px 36px 0 0; background: var(--surface);
    border-top-right-radius: var(--h-r);
}
.h-film__notch::before,
.h-film__notch::after {
    content: ""; position: absolute; width: var(--h-r); height: var(--h-r);
    background: radial-gradient(circle at 100% 0, transparent calc(var(--h-r) - 0.5px), var(--surface) var(--h-r));
}
.h-film__notch::before { left: 0; top: calc(-1 * var(--h-r)); }
.h-film__notch::after { right: calc(-1 * var(--h-r)); bottom: 0; }
.h-film__text { margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(1.3rem, 1.9vw, 1.85rem); line-height: 1.18; color: var(--ink); }
.h-steps { list-style: none; margin: clamp(32px, 6vh, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 40px); }
.h-step { padding-top: 20px; border-top: 1px solid var(--hairline-2); }
.h-step__num { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 3vw, 3rem); line-height: 0.9; color: var(--brand); }
.h-step__when { display: block; margin: 16px 0 4px; font-size: 0.84rem; font-weight: 600; color: var(--accent-2); }
.h-step__title { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(1.3rem, 1.7vw, 1.6rem); font-weight: 500; color: var(--ink); }
.h-step__text { margin: 0; font-size: 0.94rem; line-height: 1.55; color: var(--ink-2); }
.h-note { margin: 28px 0 0; font-size: 0.92rem; color: var(--muted); }

/* ---- Pricing: photo and card ------------------------------------------- */
.h-photocard { position: relative; }
.h-photocard__photo { width: 62%; height: clamp(380px, 70vh, 640px); border-radius: var(--h-r); }
.h-photocard__photo img { object-position: var(--pos, 50% 50%); }
.h-photocard__card {
    position: absolute; top: 50%; right: 0; transform: translateY(-50%);
    width: 46%; box-sizing: border-box;
    padding: clamp(28px, 3.6vw, 56px);
    background: #FFFFFF; border-radius: 24px;
    box-shadow: 0 30px 70px -30px rgba(13,30,59,0.35), 0 2px 8px rgba(13,30,59,0.05);
}
.h-photocard__card .h-h2 { font-size: clamp(1.8rem, min(2.7vw, 4.8vh), 2.8rem); margin-bottom: 16px; }
.h-photocard__text { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); }
.h-photocard__fine { margin: 0 0 24px; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }

/* ---- Voices ------------------------------------------------------------- */
.h-voices {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
    grid-template-areas: "title stage" "tabs tabs";
    gap: clamp(28px, 5vh, 56px) clamp(32px, 5vw, 96px);
    align-items: start;
}
.h-voices__title { grid-area: title; font-size: clamp(1.8rem, min(2.8vw, 5vh), 3rem); }
.h-voices__stage { grid-area: stage; }
.h-voices__stage .voices__quote { margin: 0; }
.h-voices__stage .voices__quote p {
    margin: 0; font-family: var(--font-display); font-weight: 400;
    font-size: clamp(1.4rem, min(2.4vw, 4.3vh), 2.6rem);
    line-height: 1.24; letter-spacing: -0.01em; color: var(--ink);
    text-indent: -0.42em; text-wrap: pretty;
}
.h-voices__tabs { grid-area: tabs; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 22px; border-top: 1px solid rgba(21,32,58,0.14); }
.voices__tab {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px 10px 10px; background: transparent; border: 0; border-radius: 18px;
    text-align: left; cursor: pointer; font: inherit;
    transition: background var(--dur) ease, box-shadow var(--dur) ease;
}
.voices__tab img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; filter: grayscale(0.6); opacity: 0.8; transition: filter var(--dur) ease, opacity var(--dur) ease; }
.voices__tab b { display: block; font-size: 0.98rem; color: var(--ink); }
.voices__tab span span { display: block; font-size: 0.84rem; color: var(--muted); }
.voices__tab span span a { color: inherit; }
.voices__tab:hover { background: rgba(255,255,255,0.5); }
.voices__tab.is-active { background: #FFFFFF; box-shadow: 0 12px 30px -18px rgba(13,30,59,0.35); }
.voices__tab.is-active img { filter: none; opacity: 1; }
.voices.is-js .voices__stage { display: grid; }
.voices.is-js .voices__quote { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out); pointer-events: none; }
.voices.is-js .voices__quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.voices:not(.is-js) .voices__stage { display: grid; gap: 32px; }

/* ---- Closing card and footer follow the same spacing -------------------- */
.cta-strip--photo { background: var(--surface) !important; padding: var(--h-sp) 0 !important; }
.cta-strip--photo .cta-strip__photo { top: var(--h-sp) !important; bottom: var(--h-sp) !important; right: max(28px, calc((100vw - var(--wrap)) / 2 + 28px)) !important; left: calc(max(28px, calc((100vw - var(--wrap)) / 2 + 28px)) + 22%) !important; border-radius: var(--h-r) !important; }
.xfooter { padding: 0 var(--h-edge) var(--h-edge) !important; }
.xfooter__panel { border-radius: var(--h-r) !important; padding-top: var(--h-sp) !important; }

/* ---- Tablet ------------------------------------------------------------- */
@media (max-width: 1100px) {
    .h-services__grid { grid-template-columns: 1fr; }
    .h-services__intro { position: static; }
    .h-photocard__card { width: 52%; }
}
@media (max-width: 900px) {
    .h-hero__frame { height: auto; display: flex; flex-direction: column; background: none; border-radius: 0; overflow: visible; }
    .h-hero__notch { position: static; order: -1; width: auto; padding: 28px 12px 26px; background: none; border-radius: 0; }
    .h-hero__notch::before, .h-hero__notch::after { display: none; }
    .h-hero__media { position: relative; inset: auto; height: min(62svh, 520px); border-radius: 22px; overflow: hidden; }
    .h-hero__pill { display: none; }
    .h-head, .h-mission__row { grid-template-columns: 1fr; gap: 16px; }
    .h-mission__line { text-indent: 0; }
    .h-photocard__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; }
    .h-photocard__card { position: relative; top: auto; right: auto; transform: none; width: auto; margin: -56px 12px 0; }
    .h-voices { grid-template-columns: 1fr; grid-template-areas: "title" "stage" "tabs"; }
}

/* ---- Phone -------------------------------------------------------------- */
@media (max-width: 760px) {
    .h-swipe {
        display: flex !important; gap: 12px;
        overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin: 0 -20px; padding: 0 20px 6px; scroll-padding: 0 20px;
    }
    .h-swipe::-webkit-scrollbar { display: none; }
    .h-swipe > * { flex: 0 0 84%; scroll-snap-align: start; }
    .h-steps > .h-step { flex-basis: 78%; }
    .h-creds { display: grid; grid-template-columns: 1fr; gap: 12px; }
    .h-creds li { white-space: normal; font-size: 0.9rem; }
    .h-services__row { grid-template-columns: 1fr; gap: 4px; }
    .h-services__name { white-space: normal; }
    .h-services__desc { text-align: left; max-width: none; }
    .h-film__media { height: 300px; }
    .h-film__notch { position: static; max-width: none; padding: 18px 0 0; }
    .h-film__notch::before, .h-film__notch::after { display: none; }
    .h-voices__tabs { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 18px 20px 0; }
    .h-voices__tabs::-webkit-scrollbar { display: none; }
    .voices__tab { flex: 0 0 auto; }
    /* The chat button shrinks to an icon so it stops covering content. */
    .teams-fab-button span { display: none; }
    .teams-fab-button { width: 54px; height: 54px; padding: 0; justify-content: center; border-radius: 50%; }
    .teams-fab-button i { font-size: 1.25rem; }
}

.xfooter__brand--lg { font-size: 1.5rem; gap: 12px; }
.xfooter__tag { margin: 18px 0 0; max-width: 30ch; font-size: 1.05rem; line-height: 1.5; color: rgba(255,255,255,0.7); }
.xfooter__big { font-size: clamp(3.4rem, min(15vw, 26vh), 15rem) !important; }
/* Hero: leave a breath under the buttons on short screens */
.h-hero__frame { height: clamp(520px, calc(100svh - 104px), 920px); }
.h-hero__notch { padding-bottom: clamp(0px, 1.4vh, 14px); }
@media (max-width: 900px) { .h-hero__frame { height: auto; } }
/* Closing card on phones: photo full width above the card */
@media (max-width: 860px) {
    .cta-strip--photo { padding: 32px 0 var(--h-sp) !important; }
    .cta-strip--photo .cta-strip__photo { position: relative !important; top: auto !important; bottom: auto !important; left: auto !important; right: auto !important; height: 280px; margin: 0 var(--h-edge); }
}

/* =====================================================================
   HOME v6: big screens, products, mission
   ===================================================================== */

/* Big screens: the rounded panels stop at the content column plus a
   margin, so the page reads as one column instead of a full-bleed video
   beside a narrow block of text. */
:root {
    --h-bleed: clamp(0px, 4vw, 96px);
    --h-frame: calc(var(--wrap) + 2 * var(--h-bleed));
    --h-cx: calc(max(28px, (100vw - var(--wrap)) / 2 + 28px) - max(var(--h-edge), (100vw - var(--h-frame)) / 2));
}
.h-hero__frame, .h-panel, .xfooter__panel { max-width: var(--h-frame); margin-left: auto; margin-right: auto; }
.h-panel { margin-left: max(var(--h-edge), (100vw - var(--h-frame)) / 2); margin-right: max(var(--h-edge), (100vw - var(--h-frame)) / 2); }

/* Credentials, straight under the hero */
.h-creds--top { margin: 0; padding: 22px 0; border-top: 0; border-bottom: 1px solid var(--hairline-2); }

/* Products ---------------------------------------------------------------- */
.h-products { padding: clamp(48px, min(7vw, 8vh), 112px) 0; }
.prods-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: auto 1fr; gap: 0 clamp(32px, 4.4vw, 80px); }
.prods-intro { grid-column: 1; grid-row: 1; margin-bottom: clamp(18px, 3vh, 32px); }
.prods-intro .h-h2 em { color: var(--brand); }
.prods-intro .h-lead { margin: 14px 0 20px; font-size: 1rem; }
.prods { display: contents; }
.prod { display: contents; }
.prod__row {
    grid-column: 1;
    display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px;
    width: 100%; padding: clamp(7px, 1.25vh, 14px) 4px;
    background: none; border: 0; border-top: 1px solid var(--hairline-2);
    font: inherit; text-align: left; cursor: pointer; color: var(--muted);
    transition: color var(--dur) ease, padding var(--dur) var(--ease-out);
}
.prod:last-child .prod__row { border-bottom: 1px solid var(--hairline-2); }
.prod__num { font-size: 0.8rem; font-weight: 600; color: var(--faint); }
.prod__name {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(1.35rem, min(2.2vw, 3.8vh), 2.15rem);
    line-height: 1.1; letter-spacing: -0.012em; color: inherit;
}
.prod__tag { font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: var(--surface-3); color: var(--muted); }
.prod__row:hover { color: var(--ink); }
.prod.is-active .prod__row { color: var(--ink); padding-left: 14px; box-shadow: inset 3px 0 0 var(--brand); }
.prod.is-active .prod__num { color: var(--brand); }
.prod.is-active .prod__tag { background: var(--brand); color: #FFFFFF; }

.prod__panel {
    grid-column: 2; grid-row: 1 / span 30;
    position: relative; display: none;
    min-height: clamp(440px, 74vh, 700px);
    border-radius: var(--h-r); overflow: hidden; background: var(--surface-3);
}
.prod.is-active .prod__panel { display: block; animation: prodIn 0.55s var(--ease-out); }
@keyframes prodIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.prod__photo { position: absolute; inset: 0; border-radius: 0; }
.prod__card {
    position: absolute; left: 16px; right: 16px; bottom: 16px;
    padding: clamp(20px, 2.6vw, 34px);
    background: #FFFFFF; border-radius: calc(var(--h-r) - 8px);
    box-shadow: 0 24px 50px -28px rgba(13,30,59,0.45);
}
.prod__pitch { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(1.35rem, min(1.9vw, 3.4vh), 1.9rem); line-height: 1.15; color: var(--ink); text-wrap: balance; }
.prod__desc { margin: 0 0 14px; font-size: 0.96rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.prod__list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prod__list li { font-size: 0.82rem; font-weight: 500; color: var(--ink); padding: 5px 12px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--hairline); }

@media (max-width: 991px) {
    .prods-wrap { display: block; }
    .prods { display: block; }
    .prod { display: block; }
    .prod__panel { min-height: 0; margin: 4px 0 18px; }
    .prod.is-active .prod__panel { display: flex; flex-direction: column; }
    .prod__photo { position: relative; inset: auto; aspect-ratio: 16 / 10; }
    .prod__card { position: relative; left: auto; right: auto; bottom: auto; margin: -40px 10px 10px; }
}
@media (prefers-reduced-motion: reduce) { .prod.is-active .prod__panel { animation: none; } }

/* Mission: one centred line and the guarantees */
.h-mission { text-align: center; }
.h-mission .h-mission__line { margin: 0 auto 28px; text-indent: 0; max-width: 22em; }
.h-mission .h-facts { justify-content: center; margin: 0; }

/* Products, tightened for a 720px screen: heading across the top, the list
   and the panel side by side under it; each panel shows its photo beside
   the pitch so the photo is seen whole. */
.prods-intro {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 12px clamp(32px, 4.4vw, 80px); align-items: end;
    margin-bottom: clamp(20px, 3.4vh, 40px);
}
.prods-intro .h-lead { margin: 0 0 14px; }
.prods-intro .btn { justify-self: start; }
.prods-intro > div { display: flex; flex-direction: column; align-items: flex-start; }
.prod__row { grid-row: auto; }
.prod__panel {
    grid-row: 2 / span 8;
    min-height: 0;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    background: #FFFFFF; border: 1px solid var(--hairline);
    box-shadow: 0 30px 60px -40px rgba(13,30,59,0.4);
}
.prod.is-active .prod__panel { display: grid; }
.prod__photo { position: relative; inset: auto; height: 100%; min-height: 100%; }
.prod__card {
    position: static; display: flex; flex-direction: column; justify-content: center;
    padding: clamp(20px, 2.6vw, 40px); box-shadow: none; border-radius: 0; background: none;
}
.h-hero__frame { border-bottom-left-radius: 0; }
@media (max-width: 991px) {
    .prods-intro { display: block; }
    .prod.is-active .prod__panel { display: flex; }
    .prod__photo { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
    .prod__card { margin: 0; }
}
/* The list sets the height; the panel fills it rather than stretching it. */
.h-products { padding: clamp(32px, min(6vw, 5vh), 96px) 0 clamp(48px, min(7vw, 8vh), 112px); }
.prod__row { padding: clamp(7px, 1.15vh, 14px) 4px; }
@media (min-width: 992px) {
    .prod__panel { height: 0; min-height: 100%; }
    .prod__photo { min-height: 0; }
}
.prod__panel { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.prod__card { padding: clamp(18px, 2.2vw, 36px); }
.prod__pitch { font-size: clamp(1.25rem, min(1.7vw, 3.1vh), 1.85rem); }
.prod__desc { font-size: clamp(0.88rem, 1vw, 0.98rem); }
.prod__list { gap: 6px; }
.prod__list li { font-size: 0.78rem; padding: 4px 10px; }

/* =====================================================================
   HOME v7: five sections, two patterns (open section, rounded panel)
   ===================================================================== */
.c-title { margin-bottom: clamp(24px, 4vh, 44px); max-width: 18em; }
.c-title em, .h-h2 em { color: var(--brand); }
.h-hero__sub { margin: 0 0 clamp(18px, 3vh, 28px); max-width: 36ch; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.h-hero__title { margin-bottom: clamp(12px, 2vh, 20px); }

/* Proof */
.c-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 56px); }
.c-quote { margin: 0; display: flex; flex-direction: column; padding-top: 22px; border-top: 2px solid var(--ink); }
.c-quote__kind { margin: 0 0 14px; font-size: 0.85rem; font-weight: 600; color: var(--accent-2); }
.c-quote__text { margin: 0 0 24px; flex: 1 0 auto; font-family: var(--font-display); font-size: clamp(1.12rem, min(1.4vw, 2.6vh), 1.4rem); line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.c-quote__by { display: flex; align-items: center; gap: 12px; }
.c-quote__by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.c-quote__by b { display: block; font-size: 0.95rem; color: var(--ink); }
.c-quote__by span span { display: block; font-size: 0.84rem; color: var(--muted); }
.c-quote__by a { color: inherit; }

/* Offer: three cards on the cream panel */
.c-more { margin-top: 14px; }
.c-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 28px); }
.c-card { background: #FFFFFF; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 44px -34px rgba(13,30,59,0.45); }
.c-card__photo { height: clamp(140px, 22vh, 260px); border-radius: 0; }
.c-card__body { padding: clamp(18px, 2.4vw, 30px); display: flex; flex-direction: column; flex: 1; }
.c-card__title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.1; color: var(--ink); }
.c-card__text { margin: 0 0 16px; font-size: 0.97rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.c-card__list { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid var(--hairline); }
.c-card__list a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--hairline);
    font-weight: 600; font-size: 0.95rem; color: var(--ink); text-decoration: none;
}
.c-card__list li:last-child a { border-bottom: 0; padding-bottom: 0; }
.c-card__list a i { color: var(--brand); transition: transform var(--dur) var(--ease-out); }
.c-card__list a:hover { color: var(--brand); }
.c-card__list a:hover i { transform: translate(2px, -2px); }

/* Start and cost */
.c-start__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.c-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.c-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: clamp(14px, 2.2vh, 22px) 0; border-top: 1px solid var(--hairline-2); }
.c-steps li:last-child { border-bottom: 1px solid var(--hairline-2); }
.c-steps__n { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); font-family: var(--font-display); font-size: 1.25rem; }
.c-steps h3 { margin: 4px 0 4px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.6vw, 1.5rem); color: var(--ink); }
.c-steps p { margin: 0; font-size: 0.98rem; line-height: 1.55; color: var(--ink-2); }
.c-price { background: var(--espresso-2); color: rgba(255,255,255,0.8); border-radius: 24px; padding: clamp(26px, 3.2vw, 48px); }
.c-price__label { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.25; color: #FFFFFF; }
.c-price__num { margin: 18px 0 20px; font-family: var(--font-display); font-size: clamp(3rem, min(5vw, 9vh), 4.6rem); line-height: 1; color: #FFFFFF; letter-spacing: -0.02em; }
.c-price__num span { font-family: var(--font-sans); font-size: 1rem; color: rgba(255,255,255,0.6); letter-spacing: 0; }
.c-price__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.c-price__list li { display: flex; align-items: center; gap: 10px; font-size: 0.97rem; }
.c-price__list i { color: #E8CD84; }
.c-price .btn--primary { background: #FFFFFF; color: var(--brand); border-color: #FFFFFF; }
.c-price .btn--primary > .bi-arrow-right { background: var(--brand); color: #FFFFFF; }

/* Mission, the closing statement */
.c-mission { padding: var(--h-sp) 0 0; text-align: center; }
.c-mission__line { margin: 0 auto; max-width: 22em; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, min(3.4vw, 6vh), 3.6rem); line-height: 1.12; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.c-mission__line em { color: var(--brand); }

/* Footer credentials */
.xfooter__creds { list-style: none; margin: 48px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 10px 28px; }
.xfooter__creds li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: rgba(255,255,255,0.6); }

@media (max-width: 991px) {
    .c-start__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .c-quotes > *, .c-cards > * { flex-basis: 86%; }
}

/* =====================================================================
   HOME v8
   ===================================================================== */

/* Type: the serif at 600, nearer the wordmark's weight; small titles in
   the sans so they stay crisp at card size. */
.h1, .h2, .h-h2, .h-hero__title, .c-price__label { font-weight: 600; }
.h-h2 { letter-spacing: -0.02em; }
.h-hero__title { letter-spacing: -0.03em; }
.h-h2 em, .h-hero__title em { font-weight: 600; }
.c-card__title, .h-tile__title, .c-steps h3, .c-path__when {
    font-family: var(--font-sans) !important;
    font-weight: 650;
    letter-spacing: -0.015em;
}
.c-card__title, .h-tile__title { font-size: clamp(1.15rem, 1.45vw, 1.35rem) !important; }
body { color: var(--ink-2); }
.h-lead, .c-card__text, .h-tile__text, .c-path__text, .c-quote__text { color: var(--ink-2); }

/* The path to getting bigger */
.c-path__steps {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px);
}
.c-path__step { display: grid; grid-template-rows: 1fr auto; gap: 18px; }
.c-path__bar {
    align-self: end;
    height: calc(clamp(64px, 9vh, 96px) + var(--i) * clamp(34px, 5.4vh, 58px));
    border-radius: 18px 18px 6px 6px;
    background: #E6EBF3;
    padding: 14px 16px;
    display: flex; align-items: flex-start;
}
.c-path__step:nth-child(2) .c-path__bar { background: #C8D3E6; }
.c-path__step:nth-child(3) .c-path__bar { background: #6E86B3; }
.c-path__step:nth-child(4) .c-path__bar { background: var(--brand); }
.c-path__team { display: flex; flex-wrap: wrap; gap: 2px; font-size: 1.15rem; color: var(--brand); }
.c-path__step:nth-child(n+3) .c-path__team { color: #FFFFFF; }
.c-path__when { margin: 0 0 6px; font-size: 1.1rem; color: var(--ink); }
.c-path__text { margin: 0; font-size: 0.96rem; line-height: 1.55; }
.c-path__mission { font-family: var(--font-display); font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.35; color: var(--ink); }

/* Pricing with the base-and-ceiling chart */
.c-pricing { background: var(--surface-2); }
.c-pricing__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.c-pricing__lead { margin: 18px 0 18px; }
.c-pricing__facts { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.c-pricing__facts li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.c-pricing__facts i { color: var(--brand); }
.c-chart { margin: 0; padding: clamp(20px, 2.4vw, 32px); background: #FFFFFF; border-radius: 24px; box-shadow: 0 24px 50px -36px rgba(13,30,59,0.4); border: 1px solid var(--hairline); }
.c-chart__cap { margin: 0 0 8px; font-weight: 600; color: var(--ink); }
.c-chart .cost-chart { width: 100%; height: auto; display: block; }
.c-chart__key { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.88rem; color: var(--muted); }
.c-chart__key li { display: inline-flex; align-items: center; gap: 8px; }
.c-chart__sw { width: 12px; height: 12px; border-radius: 3px; }
.c-chart__sw--base { background: var(--brand); }
.c-chart__sw--hour { background: var(--accent); }
.c-chart__sw--cap { height: 0; width: 18px; border-top: 2px dashed var(--accent); border-radius: 0; }

@media (max-width: 991px) {
    .c-pricing__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .c-path__steps > * { flex-basis: 70%; }
}
/* Bars share a baseline: the stages use the list's rows */
@media (min-width: 761px) {
    .c-path__steps { grid-template-rows: auto auto; row-gap: 0; }
    .c-path__step { grid-row: span 2; grid-template-rows: subgrid; }
}

/* Testimonials: a face, their own words pulled large, the full quote under */
.v-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 28px); }
.v-card { margin: 0; display: flex; flex-direction: column; background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 24px; overflow: hidden; }
.v-card__photo { display: block; width: 100%; height: clamp(170px, 27vh, 300px); object-fit: cover; object-position: 50% 30%; }
.v-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(18px, 2.2vw, 28px); }
.v-card__pull { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, min(1.8vw, 3.2vh), 1.75rem); line-height: 1.15; letter-spacing: -0.015em; color: var(--brand); text-wrap: balance; text-indent: -0.4em; }
.v-card__quote { margin: 0 0 18px; flex: 1 0 auto; font-size: 0.92rem; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.v-card__by { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 0.95rem; color: var(--muted); }
.v-card__by b { color: var(--ink); }
.v-card__by a { color: var(--brand); font-weight: 600; text-decoration: none; }
.v-card__by a:hover { text-decoration: underline; }
.v-card__kind { margin-left: auto; font-size: 0.8rem; font-weight: 600; color: var(--accent-2); }
@media (max-width: 760px) { .v-cards > * { flex-basis: 86%; } }
.c-proof { padding: clamp(40px, min(6vw, 7vh), 112px) 0; }
.c-proof .c-title { margin-bottom: clamp(18px, 3vh, 36px); }
.v-card__photo { height: clamp(140px, 21vh, 280px); }
.v-card__pull { text-indent: 0; font-size: clamp(1.2rem, min(1.7vw, 3vh), 1.7rem); }
.v-card__quote { font-size: clamp(0.86rem, 0.95vw, 0.94rem); margin-bottom: 14px; }
.v-card__body { padding: clamp(16px, 2vw, 28px); }

/* Footer credentials: one tidy row with a label, evenly spaced */
.xfooter__creds {
    display: grid; grid-template-columns: auto repeat(5, auto); justify-content: space-between; align-items: center;
    gap: 14px 24px; margin: 56px 0 0; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12);
}
.xfooter__creds::before { content: "Certified & recognized"; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.45); }
.xfooter__creds li { font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.82); white-space: nowrap; }
.xfooter__creds i { color: #E8CD84; font-size: 0.95rem; }
.xfooter__bottom { border-top: 0 !important; }
.xfooter__legal { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 1100px) {
    .xfooter__creds { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: start; }
    .xfooter__creds::before { grid-column: 1 / -1; }
    .xfooter__creds li { white-space: normal; }
}
@media (max-width: 560px) { .xfooter__creds { grid-template-columns: 1fr; } }

/* Hero entrance: the white notch swells up out of the page from the lower
   left like a soft blob, wobbles once, settles into its rounded corner, and
   then the words, the line and the button arrive. Desktop only; nothing
   moves under reduced motion. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
    .h-hero__notch { background: transparent; }
    .h-hero__blob {
        position: absolute; inset: 0; z-index: -1;
        background: var(--surface);
        border-top-right-radius: var(--h-r);
        transform-origin: 0% 100%;
        animation: heroBlob 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .h-hero__notch::before, .h-hero__notch::after { opacity: 0; animation: heroFade 0.35s ease-out 1s forwards; }
    .h-hero__title.is-split .split-word { transition-delay: calc(var(--w) * 55ms + 620ms); }
    .h-hero__sub { animation: heroUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both; }
    .h-hero__notch > .btn { animation: heroUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both; }
}
@keyframes heroBlob {
    0%   { transform: scale(0.06, 0.12); border-top-right-radius: 50% 50%; }
    45%  { transform: scale(1.035, 1.07); border-top-right-radius: 46% 70%; }
    68%  { transform: scale(0.99, 0.975); border-top-right-radius: 22% 34%; }
    84%  { transform: scale(1.006, 1.01); }
    100% { transform: scale(1, 1); border-top-right-radius: var(--h-r); }
}
@keyframes heroFade { to { opacity: 1; } }
@keyframes heroUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.h-hero__blob { display: none; }
@media (min-width: 901px) { .h-hero__blob { display: block; } }
@media (min-width: 901px) and (prefers-reduced-motion: reduce) { .h-hero__blob { display: none; } }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
    .h-hero__blob { animation-duration: 1.4s; }
    .h-hero__notch::before, .h-hero__notch::after { animation-delay: 1.15s; }
    .h-hero__title.is-split .split-word { transition-delay: calc(var(--w) * 50ms + 950ms); }
    .h-hero__sub { animation-delay: 1.55s; }
    .h-hero__notch > .btn { animation-delay: 1.7s; }
}

/* Hero entrance, take two: the white rises straight up from the bottom with
   a soft domed top edge, then settles flat into its notch. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
    .h-hero__blob { transform-origin: 50% 100%; animation-name: heroRise; }
}
@keyframes heroRise {
    0%   { transform: scaleY(0.04); border-top-left-radius: 50% 100%; border-top-right-radius: 50% 100%; }
    45%  { transform: scaleY(1.07); border-top-left-radius: 38% 55%; border-top-right-radius: 44% 60%; }
    68%  { transform: scaleY(0.975); border-top-left-radius: 10% 14%; border-top-right-radius: 18% 24%; }
    84%  { transform: scaleY(1.01); }
    100% { transform: scaleY(1); border-top-left-radius: 0; border-top-right-radius: var(--h-r); }
}

/* Testimonials, with a little more warmth */
.v-card { border: 0; background: var(--tint-navy); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.v-card:nth-child(2) { background: var(--tint-sand); }
.v-card:nth-child(3) { background: var(--tint-sage); }
.v-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(13,30,59,0.45); }
.v-card__media { position: relative; overflow: hidden; margin: 10px 10px 0; border-radius: 16px; }
.v-card__photo { transition: transform 0.9s var(--ease-out); }
.v-card:hover .v-card__photo { transform: scale(1.04); }
.v-card__biz {
    position: absolute; left: 10px; bottom: 10px;
    display: inline-flex; align-items: baseline; gap: 8px;
    padding: 7px 14px; border-radius: var(--r-pill);
    background: rgba(255,255,255,0.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: var(--ink); text-decoration: none; font-size: 0.86rem;
    box-shadow: 0 8px 20px -10px rgba(13,30,59,0.4);
}
.v-card__biz b { font-weight: 700; }
.v-card__biz span { color: var(--muted); font-size: 0.8rem; }
.v-card__biz:hover { color: var(--brand); }
.v-card__stars { margin: 0 0 8px; color: var(--accent); letter-spacing: 3px; font-size: 0.95rem; line-height: 1; }
.v-card__by { justify-content: space-between; border-top-color: rgba(21,32,58,0.12); }
.v-card__by a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; }
/* Let the film play on its own for a second before the panel rises */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
    .h-hero__blob { animation-delay: 1s; }
    .h-hero__notch::before, .h-hero__notch::after { animation-delay: 2.15s; }
    .h-hero__title.is-split .split-word { transition-delay: calc(var(--w) * 50ms + 1950ms); }
    .h-hero__sub { animation-delay: 2.55s; }
    .h-hero__notch > .btn { animation-delay: 2.7s; }
}
@keyframes heroRise {
    0%   { transform: scaleY(0); border-top-left-radius: 50% 100%; border-top-right-radius: 50% 100%; }
    45%  { transform: scaleY(1.07); border-top-left-radius: 38% 55%; border-top-right-radius: 44% 60%; }
    68%  { transform: scaleY(0.975); border-top-left-radius: 10% 14%; border-top-right-radius: 18% 24%; }
    84%  { transform: scaleY(1.01); }
    100% { transform: scaleY(1); border-top-left-radius: 0; border-top-right-radius: var(--h-r); }
}
/* The rise is held until the script says the film has played a second.
   Without the script the hold never applies and it simply runs. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
    .h-hero__blob { animation-delay: 0s; }
    .h-hero__notch::before, .h-hero__notch::after { animation-delay: 1.15s; }
    .h-hero__title.is-split .split-word { transition-delay: calc(var(--w) * 50ms + 950ms); }
    .h-hero__sub { animation-delay: 1.55s; }
    .h-hero__notch > .btn { animation-delay: 1.7s; }
    .h-hero.is-waiting .h-hero__blob,
    .h-hero.is-waiting .h-hero__notch::before,
    .h-hero.is-waiting .h-hero__notch::after,
    .h-hero.is-waiting .h-hero__sub,
    .h-hero.is-waiting .h-hero__notch > .btn { animation-play-state: paused; }
    .h-hero.is-waiting .h-hero__title .split-word { opacity: 0; transform: translateY(0.45em); transition: none; }
}
.v-card__photo { height: clamp(170px, 26vh, 330px); }
.v-card__biz { align-items: center; gap: 0; flex-direction: column; align-items: flex-start; padding: 8px 16px; border-radius: 16px; line-height: 1.2; }
.v-card__biz b { font-size: 0.95rem; }
.v-card__biz span { font-size: 0.8rem; font-weight: 600; color: var(--brand); }
.v-card__pull { font-size: clamp(1.35rem, min(2vw, 3.6vh), 2.05rem); line-height: 1.1; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.02em; }
.v-card__about { font-size: 0.86rem; font-weight: 600; color: var(--accent-2); }
.v-card__by { align-items: center; }
/* Hero entrance, final: the panel keeps its finished shape and slides up
   out of the bottom edge, settling with the slightest ease. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
    .h-hero__blob { animation-name: heroSlide; animation-duration: 1s; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); border-top-left-radius: 0; border-top-right-radius: var(--h-r); }
    .h-hero__notch::before, .h-hero__notch::after { animation-delay: 0.85s; }
    .h-hero__title.is-split .split-word { transition-delay: calc(var(--w) * 50ms + 650ms); }
    .h-hero__sub { animation-delay: 1.2s; }
    .h-hero__notch > .btn { animation-delay: 1.35s; }
}
@keyframes heroSlide {
    from { transform: translateY(105%); }
    to   { transform: translateY(0); }
}

/* Source Serif 4 + DM Sans: Source Serif sets well at 600 with a little
   less negative tracking than Garamond needed. */
.h1, .h2, .h-h2, .h-hero__title, .v-card__pull, .h-h2 em, .h-hero__title em { font-weight: 600; }
.h-h2 { letter-spacing: -0.015em; }
.h-hero__title { letter-spacing: -0.022em; }
.c-card__title, .h-tile__title, .c-steps h3, .c-path__when { font-weight: 600 !important; letter-spacing: -0.01em; }

/* =====================================================================
   HERO v9 ("film"): the clip fills the frame edge to edge; a soft navy
   shade rises from the lower left so the words sit on the picture, not in
   a box. White headline, the answer in warm gold, a white button. A small
   "Borrowed by" badge rides the top-right. Same on phones: words over the
   bottom of the film.
   ===================================================================== */
.h-hero__frame { background: var(--espresso-2); border-bottom-left-radius: var(--h-r); }
.h-hero__notch { background: transparent; border-radius: 0; }
.h-hero__notch::before, .h-hero__notch::after, .h-hero__blob { display: none !important; }
.h-hero__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(22deg, rgba(13, 30, 59, 0.9) 0%, rgba(13, 30, 59, 0.62) 34%, rgba(13, 30, 59, 0.12) 62%, rgba(13, 30, 59, 0) 76%),
        linear-gradient(0deg, rgba(13, 30, 59, 0.35) 0%, rgba(13, 30, 59, 0) 40%);
}
.h-hero__notch {
    width: auto;
    max-width: calc(var(--h-cx) + min(1080px, 64vw));
    padding: 0 clamp(36px, 3.6vw, 64px) clamp(40px, 8vh, 96px) var(--h-cx);
}
.h-hero__title { color: #FFFFFF; text-shadow: 0 2px 24px rgba(8, 18, 38, 0.25); }
.h-hero__title em { color: #EBD9A6; }
.h-hero__sub { color: rgba(255, 255, 255, 0.9); }
.h-hero__notch > .btn--primary { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); }
.h-hero__notch > .btn--primary:hover { background: #F3F0E6; border-color: #F3F0E6; color: var(--ink); }
.h-hero__notch > .btn--primary i { background: var(--brand); color: #FFFFFF; }

@media (min-width: 901px) {
    .h-hero__title { font-size: clamp(2.6rem, min(4.4vw, 7.6vh), 4.9rem); line-height: 1; }
    .h-hero__title em { display: block; white-space: nowrap; }
    .h-hero__sub { max-width: 34em; font-size: clamp(1.02rem, 1.2vw, 1.22rem); }
}

/* Phones: keep the film behind the words instead of stacking them. */
@media (max-width: 900px) {
    .h-hero__frame {
        display: block; position: relative;
        height: min(86svh, 760px); min-height: 560px;
        border-radius: 22px; overflow: hidden; background: var(--espresso-2);
    }
    .h-hero__media { position: absolute; inset: 0; height: auto; border-radius: 0; }
    .h-hero__media::after {
        background: linear-gradient(0deg, rgba(13, 30, 59, 0.94) 0%, rgba(13, 30, 59, 0.78) 38%, rgba(13, 30, 59, 0.15) 66%, rgba(13, 30, 59, 0) 80%);
    }
    .h-hero__notch { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; padding: 0 20px 24px; }
    .h-hero__sub { font-size: 1rem; }
}

/* The proof badge. */
.h-hero__proof {
    position: absolute; z-index: 2;
    top: clamp(14px, 2.4vh, 28px); right: clamp(14px, 1.8vw, 28px);
    display: inline-flex; align-items: center; gap: 12px;
    padding: 7px 18px 7px 7px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-radius: 999px;
    color: var(--ink); text-decoration: none;
    box-shadow: 0 18px 40px -18px rgba(13, 30, 59, 0.5);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.h-hero__proof:hover { transform: translateY(-2px); color: var(--ink); }
.h-hero__faces { display: flex; flex-shrink: 0; }
.h-hero__faces img {
    width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
    border: 2px solid #fff; margin-left: -10px;
}
.h-hero__faces img:first-child { margin-left: 0; }
.h-hero__proof-text { display: flex; flex-direction: column; line-height: 1.25; font-size: 0.82rem; font-weight: 500; }
.h-hero__kicker { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
@media (max-width: 900px) {
    .h-hero__proof { top: 12px; right: 12px; left: 12px; padding: 6px 16px 6px 6px; gap: 10px; border-radius: 20px; }
    .h-hero__faces img { width: 28px; height: 28px; margin-left: -8px; }
    .h-hero__proof-text { font-size: 0.72rem; }
    .h-hero__kicker { font-size: 0.6rem; }
}

/* Entrance: the film settles in from a slight push, the shade deepens,
   then the words, the line, the button and the badge arrive. Nothing
   moves under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    .h-hero__media video { animation: heroSettle 2.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
    .h-hero__media::after { animation: heroShade 1.2s ease-out both; }
    .h-hero__title.is-split .split-word { transition-delay: calc(var(--w) * 50ms + 350ms); }
    .h-hero__sub { animation: heroUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both; }
    .h-hero__notch > .btn { animation: heroUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both; }
    .h-hero__proof { animation: heroUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.25s both; }
}
@keyframes heroSettle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes heroShade { from { opacity: 0; } to { opacity: 1; } }

/* =====================================================================
   VALUE TILES v2 + CAP CHART: the three little illustrations (the
   network, the chat, the capped months) drawn in HTML so the type is
   real type. The capped-months chart is one partial (cap_chart.html)
   shared by the tile, the home pricing section and the pricing page.
   ===================================================================== */
.h-tile__art { height: clamp(184px, 23vh, 236px); padding: 0; overflow: hidden; }
.h-tile__art--chart { padding: 16px clamp(16px, 1.8vw, 24px) 12px; }
.va { position: relative; width: 100%; height: 100%; }

/* 1. Network */
.va-net {
    background: radial-gradient(circle at 50% 50%, var(--brand-faint) 0 58px, transparent 59px);
}
.h-tile__art .va-net__lines { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.va-net__lines path { fill: none; stroke: rgba(27, 58, 107, 0.22); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.va-net__lines .va-net__flow { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 200; }
.va-net__hub {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 64px; height: 64px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(145deg, #2A4E8A, var(--brand-2));
    color: #fff; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.08em;
    box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--brand-soft), 0 16px 30px -10px rgba(19, 43, 82, 0.55);
}
.va-chip {
    position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 13px 5px 5px; border-radius: 999px;
    background: #fff; border: 1px solid var(--hairline);
    box-shadow: 0 10px 20px -14px rgba(19, 43, 82, 0.5);
    font-size: 0.8rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.va-chip i {
    display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand); font-size: 0.74rem;
}

/* 2. Chat */
.va-chat {
    display: flex; flex-direction: column; justify-content: center; gap: 12px;
    padding: 0 clamp(16px, 2vw, 28px);
    background: radial-gradient(rgba(143, 114, 32, 0.08) 1px, transparent 1.5px) 0 0 / 16px 16px;
}
.va-msg { display: flex; align-items: flex-end; gap: 8px; }
.va-msg--out { justify-content: flex-end; }
.va-ava {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--surface-3); color: var(--muted); font-size: 0.9rem;
    box-shadow: 0 0 0 2px #fff;
}
.va-ava--tgg { background: var(--brand); color: #fff; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.05em; }
.va-bubble {
    margin: 0; padding: 9px 14px;
    background: var(--surface-3); color: var(--ink-2);
    border-radius: 16px 16px 16px 4px;
    font-size: 0.88rem; line-height: 1.3;
}
.va-bubble--brand {
    display: flex; flex-direction: column; gap: 4px;
    background: linear-gradient(160deg, #24467D, var(--brand));
    color: #fff;
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 14px 26px -14px rgba(19, 43, 82, 0.75);
}
.va-bubble--brand b { font-weight: 600; font-size: 0.92rem; }
.va-bubble--brand small { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.75); }
.va-bubble--brand small i { color: #EBD9A6; font-size: 0.9rem; }
.va-live { width: 6px; height: 6px; border-radius: 50%; background: #7BD3A0; box-shadow: 0 0 0 3px rgba(123, 211, 160, 0.25); }

/* 3. The capped months (tile, home pricing, pricing page) */
.va-cap { --cap-top: 34px; display: flex; flex-direction: column; width: 100%; }
.va-cap__plot {
    position: relative;
    height: clamp(190px, 20vw, 250px);
    display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 2vw, 28px);
    align-items: end;
    padding: var(--cap-top) clamp(4px, 1vw, 14px) 0;
    border-bottom: 1px solid var(--hairline);
}
.va-cap__line { position: absolute; left: 0; right: 0; top: var(--cap-top); border-top: 1.5px dashed var(--accent); }
.va-cap__line span {
    position: absolute; right: 0; bottom: 6px;
    padding: 4px 10px; border-radius: 999px;
    background: var(--accent-soft); border: 1px solid #EBDCA8; color: var(--accent-2);
    font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    white-space: nowrap;
}
.va-col { height: 100%; display: flex; align-items: flex-end; }
.va-bar {
    width: 100%; height: calc((29 + var(--hn)) * 1%);
    display: flex; flex-direction: column; gap: 3px;
    transform-origin: bottom;
}
.va-bar__hr { flex: var(--hn) 1 0; min-height: 4px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #DDB84A, var(--accent)); }
.va-bar__base { flex: 29 1 0; border-radius: 3px 3px 8px 8px; background: linear-gradient(180deg, #3B62A8, var(--brand)); }
.va-cap__months {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 2vw, 28px);
    padding: 8px clamp(4px, 1vw, 14px) 0;
    font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); text-align: center;
}

.va-cap--sm { --cap-top: 26px; height: 100%; }
.va-cap--sm .va-cap__plot { flex: 1; height: auto; min-height: 0; gap: clamp(6px, 1vw, 12px); padding-inline: 2px; }
.va-cap--sm .va-cap__months { gap: clamp(6px, 1vw, 12px); padding: 5px 2px 0; font-size: 0.64rem; }
.va-cap--sm .va-cap__line span { font-size: 0.6rem; padding: 3px 8px; bottom: 5px; }
.va-cap--sm .va-bar__hr { border-radius: 5px 5px 2px 2px; }
.va-cap--sm .va-bar__base { border-radius: 2px 2px 5px 5px; }
.va-cap__key { display: flex; gap: 14px; margin-top: 8px; font-size: 0.72rem; color: var(--muted); }
.va-cap__key span { display: inline-flex; align-items: center; gap: 6px; }
.va-key { width: 9px; height: 9px; border-radius: 3px; }
.va-key--base { background: var(--brand); }
.va-key--hr { background: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
    .va-net__flow { animation: vaFlow 3.2s linear infinite; }
    .va-net__flow:nth-of-type(6) { animation-delay: -0.8s; }
    .va-net__flow:nth-of-type(7) { animation-delay: -1.6s; }
    .va-net__flow:nth-of-type(8) { animation-delay: -2.4s; }
    .va-live { animation: vaPulse 2s ease-in-out infinite; }
    .va-bar { animation: vaGrow 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--i) * 0.08s); }
}
@keyframes vaFlow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -202; } }
@keyframes vaPulse { 50% { box-shadow: 0 0 0 6px rgba(123, 211, 160, 0); } }
@keyframes vaGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* =====================================================================
   PALETTE v3: NAVY · SAGE · MARIGOLD. Three colours, three jobs.
     Navy      structure: buttons, headings, the chart's monthly base.
     Sage      calm: tile and panel tints, small marks (chip icons, the
               network's travelling dots, "online" ticks), the path's
               early steps.
     Marigold  energy: the hero's answer line, accents and highlights,
               hourly work in the charts, the path's last step.
   The cap line is navy (dashed) so it never competes with marigold hours.
   ===================================================================== */
:root {
    --accent:       #D99A2B;
    --accent-2:     #A8731A;
    --accent-soft:  #FBEFD6;
    --marigold-light: #F5D27F;

    --sage:         #5E7D6A;
    --sage-2:       #46624F;
    --sage-soft:    #E1EAE2;
    --sage-light:   #B9D3C0;

    --surface-2:    #F8F9F5;
    --surface-3:    #EEF1EA;
    --hairline:     #E2E6DE;
    --hairline-2:   #D0D6CC;

    --tint-navy:    #E8EDF4;
    --tint-sand:    #EEF2EA;
    --tint-sage:    #E1EAE2;
}

/* Hero: the answer line in marigold over the navy shade. */
.h-hero__title em { color: var(--marigold-light); }

/* Sage for the small marks. */
.va-chip i { background: var(--sage-soft); color: var(--sage-2); }
.h-tile__art .va-net__lines .va-net__flow { stroke: var(--sage); }
.va-bubble--brand small i { color: var(--sage-light); }

/* Hourly work in marigold. */
.va-bar__hr { background: linear-gradient(180deg, #EDB94F, var(--accent)); }
.va-key--hr, .c-chart__sw--hour { background: var(--accent); }

/* The cap: navy dashed line, navy label. */
.va-cap__line { border-top-color: var(--brand); }
.va-cap__line span { background: var(--brand-soft); border-color: #C9D4E6; color: var(--brand); }
.c-chart__sw--cap, .model__swatch--cap { border-top-color: var(--brand); }
.model__h em { color: var(--brand); }

/* The path to growth, told in colour: one even ramp from light sage to
   navy (the third step is the sage-to-navy midpoint), and the last step's
   team lit in marigold. */
.c-path__step:nth-child(1) .c-path__bar { background: #DCE6DE; }
.c-path__step:nth-child(2) .c-path__bar { background: #9DB8A9; }
.c-path__step:nth-child(3) .c-path__bar { background: linear-gradient(160deg, #557771, #3B5A6B); }
.c-path__step:nth-child(4) .c-path__bar { background: linear-gradient(160deg, #24467D, var(--brand-2)); }
.c-path__step:nth-child(1) .c-path__team,
.c-path__step:nth-child(2) .c-path__team { color: var(--sage-2); }
.c-path__step:nth-child(4) .c-path__team { color: var(--marigold-light); }

/* =====================================================================
   TYPE v2: FRAUNCES for display (a warm, soft-cornered serif with real
   character), DM Sans for text, JetBrains Mono for small labels.
   Fraunces is heavier than Source Serif at the same weight, so headings
   drop to 500 and pick up a little softness on the SOFT axis.
   ===================================================================== */
.h1, .h2, .h-h2, .h-hero__title, .v-card__pull, .c-price__label,
.h-h2 em, .h-hero__title em, .model__h, .c-path__mission, .cta-strip h2, .model__caption {
    font-family: var(--font-display);
    font-weight: 500;
    font-variation-settings: "SOFT" 60, "WONK" 0;
}
.h-hero__title { letter-spacing: -0.02em; }
.h-h2 { letter-spacing: -0.012em; }
.h-hero__title em, .h-h2 em { font-weight: 450; font-variation-settings: "SOFT" 100, "WONK" 1; }
.c-path__mission { font-weight: 400; }

/* =====================================================================
   SECTION SCHEME: the page is white. A coloured section is always a
   rounded inset panel (.h-panel, same margin and radius as the hero and
   footer), never a full-bleed band, and comes in one tint (--tint-sand,
   the sage-ivory). Cards on white sit on that tint; cards on a panel are
   white. The film hero and the navy footer are the two dark frames.
   ===================================================================== */
.c-pricing.h-panel { background: var(--tint-sand); }

/* Cards on white come in sets of three and cycle the palette's soft
   tints in order: navy, sage, marigold. */
:root { --tint-marigold: #FAF0DA; }
.v-card:nth-child(3n+1), .h-tile:nth-child(3n+1) { background: var(--tint-navy); }
.v-card:nth-child(3n+2), .h-tile:nth-child(3n+2) { background: var(--tint-sage); }
.v-card:nth-child(3n+3), .h-tile:nth-child(3n+3) { background: var(--tint-marigold); }

/* The path sits directly under the hero, then the reviews: two white
   sections back to back, so the second drops its top padding. */
.c-path + .c-proof { padding-top: 0; }

/* Cap chart, de-templated: no monospace caps, no pill. The caption and the
   cap label are set like the rest of the page's voice (Fraunces italic),
   the cap label sits on the line itself, and months use the body face. */
.c-chart__cap, .model__caption {
    font-family: var(--font-display); font-style: italic; font-weight: 450;
    font-size: clamp(1.1rem, 1.3vw, 1.25rem); color: var(--ink);
    font-variation-settings: "SOFT" 100, "WONK" 0;
}
.va-cap__line span {
    right: 0; bottom: 4px; padding: 0 0 0 10px;
    background: none; border: 0; border-radius: 0;
    font-family: var(--font-display); font-style: italic; font-weight: 500;
    font-size: 0.95rem; letter-spacing: 0; text-transform: none;
    color: var(--brand);
    font-variation-settings: "SOFT" 100, "WONK" 0;
}
.va-cap--sm .va-cap__line span { font-size: 0.8rem; padding: 0; bottom: 3px; }
.va-cap__months { font-family: inherit; font-size: 0.8rem; letter-spacing: 0.01em; }
.va-cap--sm .va-cap__months { font-size: 0.68rem; }

/* Review cards: a long quote shows its first paragraph, the rest behind
   "Read more". */
.v-card__toggle {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 6px;
    margin: 12px 0 16px; padding: 0;
    background: none; border: 0; cursor: pointer;
    font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--brand);
}
.v-card__toggle:hover { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.v-card__toggle i { font-size: 0.75rem; transition: transform 0.2s ease; }
.v-card__toggle[aria-expanded="true"] i { transform: rotate(180deg); }

/* =====================================================================
   SITE v2: the home page's design language on every inner page.
   1. Heroes become the film: the photo fills a rounded inset frame, a navy
      shade rises from the lower left, white words, the answer in marigold,
      a white button. The page's diagram still floats on the right.
   2. Soft sections become rounded inset panels in the one tint.
   3. Dark sections become rounded inset navy frames.
   4. The closing call to action is a light rounded panel (the navy footer
      sits right under it, so a second navy slab would merge with it).
   5. No monospace anywhere: small labels use the body face.
   ===================================================================== */
:root { --font-mono: var(--font-sans); }

/* 1. Film hero (desktop) */
@media (min-width: 1101px) {
    .hero--photo {
        --hero-photo-w: 100%;
        margin: 6px var(--h-edge) 0;
        max-width: var(--h-frame, none);
        margin-inline: max(var(--h-edge), (100% - var(--h-frame, 100%)) / 2);
        border-radius: var(--h-r);
        overflow: hidden;
        min-height: clamp(560px, calc(100svh - 104px), 860px);
        justify-content: flex-end;
        padding-bottom: clamp(48px, 8vh, 96px);
        background: var(--espresso-2);
    }
    .hero--photo .hero-photo { left: 0; width: 100%; }
    .hero--photo .hero-photo__img { clip-path: none; }
    .hero--photo .hero-photo__img::after {
        background:
            linear-gradient(22deg, rgba(13,30,59,0.92) 0%, rgba(13,30,59,0.66) 36%, rgba(13,30,59,0.14) 64%, rgba(13,30,59,0) 78%),
            linear-gradient(0deg, rgba(13,30,59,0.35) 0%, rgba(13,30,59,0) 40%);
    }
    .hero--photo .hero-photo__edge { display: none; }
    .hero--photo .hero-text { max-width: min(640px, 50vw); }
    .hero--photo .hero-h1 { width: auto; color: #fff; text-shadow: 0 2px 24px rgba(8,18,38,0.25); }
    .hero--photo .hero-h1 .accent { color: var(--marigold-light); }
    .hero--photo .hero-lead { color: rgba(255,255,255,0.9); }
    .hero--photo .hero-aside, .hero--photo .hero-trust li, .hero--photo .hero-trust a { color: rgba(255,255,255,0.8); }
    .hero--photo .hero-trust i { color: var(--marigold-light); }
    .hero--photo .btn--primary { background: #fff; border-color: #fff; color: var(--ink); }
    .hero--photo .btn--primary:hover { background: #F3F0E6; border-color: #F3F0E6; color: var(--ink); }
    .hero--photo .btn--secondary { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.45); color: #fff; }
    .hero--photo .btn--secondary:hover { background: rgba(255,255,255,0.18); color: #fff; }
    .hero--photo .hero-float { left: auto; right: clamp(28px, 4vw, 64px); bottom: clamp(32px, 6vh, 64px); }
}

/* 2. Soft sections: rounded inset panels */
.section--soft {
    margin: 0 var(--h-edge);
    border-radius: var(--h-r);
    background: var(--tint-sand);
}
@media (min-width: 1101px) {
    .section--soft, .section--ink, .cta-strip {
        max-width: var(--h-frame, none);
        margin-inline: max(var(--h-edge), (100% - var(--h-frame, 100%)) / 2);
    }
}
.section--soft + .section--soft { margin-top: var(--h-edge); }

/* 3. Dark sections: rounded inset navy frames */
.section--ink {
    margin: 0 var(--h-edge);
    border-radius: var(--h-r);
    background: linear-gradient(160deg, #1E3D74, var(--espresso-2));
    overflow: hidden;
}
.section--ink .eyebrow { color: var(--marigold-light); }
.section--ink .eyebrow::before { background: var(--marigold-light); }

/* 4. Closing CTA: light rounded panel */
.cta-strip:not(.cta-strip--photo) {
    margin: var(--h-sp) var(--h-edge) var(--h-edge);
    border-radius: var(--h-r);
    border: 0;
    background: var(--tint-sand);
    color: var(--ink-2);
}
.cta-strip:not(.cta-strip--photo)::after { display: none; }
.cta-strip:not(.cta-strip--photo) h2 { color: var(--ink); }
.cta-strip:not(.cta-strip--photo) .lead { color: var(--ink-2); }
.cta-strip:not(.cta-strip--photo) .btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: none; }
.cta-strip:not(.cta-strip--photo) .btn--primary:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.cta-strip:not(.cta-strip--photo) .btn--secondary { background: #fff; border-color: var(--hairline-2); color: var(--ink); }
.cta-strip:not(.cta-strip--photo) .btn--secondary:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.section--ink + .cta-strip { border-top: 0; }

/* Film hero on tablets and phones too: words over the bottom of the photo,
   like Home. The floating diagram is hidden at this size. */
@media (max-width: 1100px) {
    .hero--photo {
        position: relative;
        margin: 6px var(--h-edge) 0;
        border-radius: 22px;
        overflow: hidden;
        min-height: min(88svh, 780px);
        display: flex; flex-direction: column; justify-content: flex-end;
        padding: 0 0 28px;
        background: var(--espresso-2);
    }
    .hero--photo .hero-photo { position: absolute; inset: 0; margin: 0; width: auto; aspect-ratio: auto; order: 0; }
    .hero--photo .hero-photo__img { border-radius: 0; clip-path: none; }
    .hero--photo .hero-photo__img::after {
        background: linear-gradient(0deg, rgba(13,30,59,0.95) 0%, rgba(13,30,59,0.82) 42%, rgba(13,30,59,0.2) 70%, rgba(13,30,59,0) 84%);
    }
    .hero--photo .hero-photo__edge, .hero--photo .hero-float { display: none; }
    .hero--photo .hero-content { position: relative; z-index: 1; padding-inline: 20px; }
    .hero--photo .hero-h1 { color: #fff; }
    .hero--photo .hero-h1 .accent { color: var(--marigold-light); }
    .hero--photo .hero-lead { color: rgba(255,255,255,0.9); }
    .hero--photo .hero-aside, .hero--photo .hero-trust li, .hero--photo .hero-trust a { color: rgba(255,255,255,0.8); }
    .hero--photo .hero-trust i { color: var(--marigold-light); }
    .hero--photo .btn--primary { background: #fff; border-color: #fff; color: var(--ink); }
    .hero--photo .btn--secondary { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.45); color: #fff; }
}

/* The client badge on inner-page heroes sits above the photo and words. */
.hero--photo .h-hero__proof { z-index: 3; }
@media (max-width: 1100px) {
    .hero--photo .h-hero__proof { top: 12px; right: 12px; left: 12px; bottom: auto; }
}

/* With the credentials row gone, keep a breath between the hero and a panel right under it. */
.hero--photo + .section--soft, .hero--photo + .section--ink { margin-top: clamp(14px, 1.6vw, 24px); }

/* =====================================================================
   SERVICES v2: every section has one visual anchor and scans in seconds.
   ===================================================================== */

/* Problem: three headed points instead of paragraphs */
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pain-list li { padding: clamp(14px, 2vh, 20px) 0; border-top: 1px solid var(--hairline-2); }
.pain-list li:last-child { border-bottom: 1px solid var(--hairline-2); }
.pain-list h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.2; color: var(--ink); }
.pain-list p { margin: 0; font-size: 0.97rem; line-height: 1.5; color: var(--ink-2); }
.pain-turn { margin: clamp(18px, 3vh, 28px) 0 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.2; color: var(--ink); }
.pain-turn em { color: var(--brand); font-variation-settings: "SOFT" 100, "WONK" 1; }
.pain-plain__photo { aspect-ratio: 1 / 1; }

/* Every hat: copy on the left, the queue board as the visual */
.hats__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hats__copy .h2 { margin: 0 0 16px; }
.hats__copy .lead { margin: 0 0 18px; }
.hats__key { margin: 0 0 26px; padding-left: 14px; border-left: 3px solid var(--marigold-light); font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.35; color: #fff; }
.hats__meta { margin: 16px 0 0; font-size: 0.86rem; color: rgba(255,255,255,0.62); }
.qboard { background: #fff; border-radius: 20px; padding: clamp(10px, 1.6vw, 20px) clamp(16px, 2.2vw, 28px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5); }
.qboard__head, .qboard__row { display: grid; grid-template-columns: 1.25fr 0.6fr 1.3fr; gap: 12px; align-items: center; }
.qboard__head { padding: 10px 0; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.qboard__row { padding: clamp(14px, 2.2vh, 20px) 0; border-top: 1px solid var(--hairline); }
.qboard__job { font-weight: 600; font-size: 1rem; color: var(--ink); }
.qboard__you { color: var(--faint); text-decoration: line-through; font-size: 0.95rem; }
.qboard__q { display: flex; flex-direction: column; line-height: 1.25; }
.qboard__q b { font-weight: 600; font-size: 1rem; color: var(--brand); }
.qboard__q b::before { content: "\2192\00a0"; color: var(--accent); }
.qboard__q em { font-style: normal; font-size: 0.85rem; color: var(--sage-2); }
@media (max-width: 900px) {
    .hats__grid { grid-template-columns: 1fr; }
    .qboard__head, .qboard__row { grid-template-columns: 1.2fr 0.5fr 1.3fr; gap: 8px; }
    .qboard__job, .qboard__q b { font-size: 0.92rem; }
}

/* Services: photo cards, a small tag where one applies */
.svc-cards { row-gap: clamp(14px, 1.8vw, 28px); }
.svc-cards .c-card__photo { height: clamp(150px, 18vh, 210px); }
.svc-cards .c-card__title { font-size: clamp(1.3rem, 1.7vw, 1.6rem); }
.c-card__tag { margin: 0 0 8px; font-size: 0.8rem; font-weight: 600; color: var(--sage-2); }
@media (max-width: 900px) {
    .svc-cards { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
    .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Case studies: results first, big */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 28px); }
.case-grid .case-card { background: #fff; border: 0; border-radius: 22px; padding: clamp(22px, 2.6vw, 36px); gap: 0; box-shadow: 0 20px 44px -34px rgba(13,30,59,0.45); }
.case-grid .case-card-tag { align-self: auto; margin: 0 0 6px; padding: 0; background: none; border-radius: 0; font-family: inherit; font-size: 0.85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--sage-2); }
.case-grid .case-card-name { margin: 0 0 20px; font-weight: 500; }
.case-stats { list-style: none; margin: 0 0 20px; padding: 18px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.case-stats li { display: flex; flex-direction: column; gap: 4px; }
.case-stats b { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1; color: var(--brand); }
.case-stats span { font-size: 0.84rem; line-height: 1.35; color: var(--ink-2); }
.case-grid .case-card-body { color: var(--ink-2); line-height: 1.55; }
.case-grid .case-card-body strong { color: var(--ink); }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }

/* Services v2 fixes: older global rules used !important on case cards. */
.case-grid .case-card { background: #fff !important; border: 0 !important; border-radius: 22px !important; padding: clamp(22px, 2.6vw, 36px) !important; box-shadow: 0 20px 44px -34px rgba(13,30,59,0.45) !important; }
.case-grid .case-card-tag { color: var(--sage-2) !important; }
.pain-turn { text-align: left; }
.hats .btn--primary { background: #fff; border-color: #fff; color: var(--ink); }
.hats .btn--primary:hover { background: #F3F0E6; border-color: #F3F0E6; color: var(--ink); }

@media (max-width: 600px) {
    .case-stats { grid-template-columns: 1fr; gap: 12px; }
    .case-stats li { flex-direction: row; align-items: baseline; gap: 10px; }
    .case-stats b { font-size: 1.4rem; white-space: nowrap; }
}

/* Every inset frame (hero, panels, navy sections, CTA) shares one width and
   centre on wide screens. Declared last so no section-specific margin wins. */
@media (min-width: 1101px) {
    .hero--photo, .section--soft, .section--ink, .cta-strip:not(.cta-strip--photo) {
        margin-left: max(var(--h-edge), (100% - var(--h-frame, 100%)) / 2) !important;
        margin-right: max(var(--h-edge), (100% - var(--h-frame, 100%)) / 2) !important;
    }
}

/* =====================================================================
   WEB COLLAB DEMO v2: same scene, modern finish and a calmer timeline.
   The cursor path is measured by motion.js (--pill-x, --cta-x, ...) so it
   lands on target at every mockup width. 10s loop:
     0-14  cursor fades in, glides to the pill       15  click: review mode on
    17-30  crosshair to the button, dashed hover     33  click: element selected
    35-42  comment bubble rises                   44-72  text box focused, typing
    75-80  to Submit, press                       84-96  bubble settles away, reset
   ===================================================================== */
.wcb-browser { border: 1px solid rgba(21,32,58,0.08); border-radius: 18px; box-shadow: 0 1px 2px rgba(21,32,58,0.06), 0 28px 60px -28px rgba(21,32,58,0.38); }
.wcb-bar { background: #fff; border-bottom: 1px solid rgba(21,32,58,0.06); padding: 10px 12px; }
.wcb-dots span { width: 10px; height: 10px; border: 0; background: #E6E8EC; }
.wcb-omnibox { border: 0; background: #F3F4F6; font-family: inherit; font-size: 0.74rem; }
.wcb-ext--active { border-radius: 8px; box-shadow: 0 0 0 1.5px rgba(79,70,229,0.4); }
.wcb-shop-cta { position: relative; border-radius: 8px; }
.wcb-shop-cta::after { content: ""; position: absolute; inset: -6px; border-radius: 12px; border: 1.5px dashed rgba(79,70,229,0.7); opacity: 0; pointer-events: none; }
.wcb-bubble { border: 0; border-radius: 14px; padding: 14px; box-shadow: 0 0 0 1px rgba(21,32,58,0.06), 0 22px 44px -16px rgba(21,32,58,0.38); }
.wcb-bubble::before { border: 0; box-shadow: -1px -1px 0 0 rgba(21,32,58,0.06); }
.wcb-bubble-title { font-weight: 600; }
.wcb-selector { font-family: inherit; border-radius: 999px; padding: 3px 9px; }
.wcb-textarea { border-radius: 10px; background: #F7F8FA; border-color: transparent; }
.wcb-btn { border-radius: 9px; }
.wcb-pill { background: rgba(17,24,39,0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 12px 28px -12px rgba(17,24,39,0.6); }
.wcb-anim .wcb-click-ring { left: 5px; top: 3px; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-width: 0; background: rgba(79,70,229,0.28); }
.wcb-anim .cur-cross { left: -6px; top: -8px; }

@media (prefers-reduced-motion: no-preference) {
    .wcb-anim .wcb-cursor { animation: wcb2Cursor 10s cubic-bezier(0.45,0,0.2,1) infinite; }
    .wcb-anim .cur-arrow { animation: wcb2Arrow 10s linear infinite; }
    .wcb-anim .cur-cross { animation: wcb2Cross 10s linear infinite; }
    .wcb-anim .wcb-click-ring { animation: wcb2Click 10s ease-out infinite; }
    .wcb-anim .wcb-pill { animation: wcb2Pill 10s ease infinite; }
    .wcb-anim .lbl-off { animation: wcb2LblOff 10s ease infinite; }
    .wcb-anim .lbl-on { animation: wcb2LblOn 10s ease infinite; }
    .wcb-anim .wcb-mark .wcb-shop-cta { animation: wcb2Hl 10s ease infinite; }
    .wcb-anim .wcb-shop-cta::after { animation: wcb2Hover 10s ease infinite; }
    .wcb-anim .wcb-bubble { animation: wcb2Bubble 10s cubic-bezier(0.2,0.8,0.2,1) infinite; }
    .wcb-anim .wcb-textarea { animation: wcb2Focus 10s ease infinite; }
    .wcb-anim .wcb-typed { animation: wcb2Type 10s steps(52,end) infinite; }
    .wcb-anim .wcb-btn--primary { animation: wcb2Press 10s ease infinite; }
}
@keyframes wcb2Cursor {
    0%       { opacity: 0; transform: translate(var(--rest-x), var(--rest-y)); }
    4%       { opacity: 1; transform: translate(var(--rest-x), var(--rest-y)); }
    14%, 16% { opacity: 1; transform: translate(var(--pill-x), var(--pill-y)); }
    30%, 34% { transform: translate(var(--cta-x), var(--cta-y)); }
    46%, 72% { transform: translate(var(--txt-x), var(--txt-y)); }
    79%, 84% { opacity: 1; transform: translate(var(--sub-x), var(--sub-y)); }
    92%      { opacity: 0; transform: translate(var(--rest-x), var(--rest-y)); }
    100%     { opacity: 0; transform: translate(var(--rest-x), var(--rest-y)); }
}
@keyframes wcb2Arrow { 0%, 15.9% { opacity: 1; } 16%, 33.9% { opacity: 0; } 34%, 100% { opacity: 1; } }
@keyframes wcb2Cross { 0%, 15.9% { opacity: 0; } 16%, 33.9% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes wcb2Click {
    0%, 14.9%   { opacity: 0; transform: scale(0.3); }
    15%         { opacity: 1; transform: scale(0.3); }
    19%, 32.9%  { opacity: 0; transform: scale(1.5); }
    33%         { opacity: 1; transform: scale(0.3); }
    37%, 79.9%  { opacity: 0; transform: scale(1.5); }
    80%         { opacity: 1; transform: scale(0.3); }
    84%, 100%   { opacity: 0; transform: scale(1.5); }
}
@keyframes wcb2Pill {
    0%, 15%   { background: rgba(17,24,39,0.88); }
    17%, 90%  { background: var(--wcb); }
    94%, 100% { background: rgba(17,24,39,0.88); }
}
@keyframes wcb2LblOff { 0%, 15% { opacity: 1; } 15.6%, 91% { opacity: 0; } 92%, 100% { opacity: 1; } }
@keyframes wcb2LblOn  { 0%, 15.6% { opacity: 0; } 16.4%, 91% { opacity: 1; } 91.6%, 100% { opacity: 0; } }
@keyframes wcb2Hover  { 0%, 25% { opacity: 0; } 28%, 32.9% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes wcb2Hl {
    0%, 32.9% { box-shadow: 0 0 0 0 rgba(79,70,229,0); }
    34%, 86%  { box-shadow: 0 0 0 2px var(--wcb), 0 0 0 7px rgba(79,70,229,0.16); }
    92%, 100% { box-shadow: 0 0 0 0 rgba(79,70,229,0); }
}
@keyframes wcb2Bubble {
    0%, 35%   { opacity: 0; transform: translateY(10px) scale(0.97); filter: blur(4px); }
    42%, 85%  { opacity: 1; transform: none; filter: blur(0); }
    92%, 100% { opacity: 0; transform: translateY(6px) scale(0.98); filter: blur(2px); }
}
@keyframes wcb2Focus {
    0%, 43%   { box-shadow: 0 0 0 0 rgba(79,70,229,0); background: #F7F8FA; }
    45%, 76%  { box-shadow: 0 0 0 2px rgba(79,70,229,0.45); background: #fff; }
    80%, 100% { box-shadow: 0 0 0 0 rgba(79,70,229,0); background: #F7F8FA; }
}
@keyframes wcb2Type {
    0%, 46%   { clip-path: inset(0 100% 0 0); }
    72%, 92%  { clip-path: inset(0 0 0 0); }
    93%, 100% { clip-path: inset(0 100% 0 0); }
}
@keyframes wcb2Press {
    0%, 79.5% { transform: none; }
    80.5%     { transform: scale(0.94); }
    83%, 100% { transform: none; }
}

/* =====================================================================
   SECTION GAPS: two framed blocks (panels, navy frames, the CTA) never
   touch. The same breath as hero -> first panel.
   ===================================================================== */
:root { --h-gap: clamp(14px, 1.6vw, 24px); }
:is(.section--soft, .section--ink, .h-panel, .cta-strip) + :is(.section--soft, .section--ink, .h-panel, .cta-strip) { margin-top: var(--h-gap); }

/* =====================================================================
   STAGE: a photo that says the section's message, with the section's
   diagram (queue board, demo) laid over its lower edge.
   ===================================================================== */
.stage { position: relative; padding-bottom: clamp(120px, 14vw, 200px); }
.stage__media { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; margin: 0; box-shadow: 0 24px 60px -30px rgba(0,0,0,0.45); }
.stage__card { position: absolute; left: clamp(-56px, -3vw, -16px); right: clamp(16px, 4vw, 56px); bottom: 0; }
.stage--queue .stage__card .qboard { box-shadow: 0 30px 60px -24px rgba(0,0,0,0.55); }
.stage--demo { padding-bottom: clamp(200px, 22vw, 300px); }
.stage--demo .stage__card { left: auto; right: auto; width: min(418px, 100%); left: 50%; transform: translateX(-50%); }
.stage--demo .stage__card .wcb-browser { max-width: none; }
@media (max-width: 900px) {
    .stage { padding-bottom: 0; }
    .stage__card, .stage--demo .stage__card { position: relative; left: auto; right: auto; transform: none; width: auto; margin: -64px 12px 0; }
    .stage__media { aspect-ratio: 16 / 10; }
}

/* Case studies open on a photo of that kind of business */
.case-grid .case-card { overflow: hidden; }
.case-card__photo { margin: calc(-1 * clamp(22px, 2.6vw, 36px)) calc(-1 * clamp(22px, 2.6vw, 36px)) clamp(18px, 2vw, 26px); aspect-ratio: 16 / 7; border-radius: 0; }

/* Queue stage: board slides to the right so the new hire on the left stays in view. */
@media (min-width: 901px) {
    .stage--queue .stage__card { left: 22%; right: clamp(-48px, -2.5vw, -16px); }
    .stage--queue .stage__media img { object-position: 30% 45%; }
}
/* Services closing clip: zoom from the left edge so both people clear the card. */
@media (min-width: 992px) {
    .cta-strip--photo .cta-strip__photo.loop video { transform: scale(1.3); transform-origin: 0% 40%; }
}

/* =====================================================================
   SERVICES v3
   1. Spreadsheet -> queue: the messy shared sheet, an arrow, the queue.
   2. Web Collab feature: big centred demo flanked by its four steps.
   3. Portfolio marquee: real client builds, results and quotes, drifting.
   ===================================================================== */

/* 1. Spreadsheet -> queue */
.sheetq__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(32px, 5vh, 56px); }
.sheetq__head .h2 { margin: 0; }
.sheetq__head .lead { margin: 0 0 22px; }
.sheetq .btn--primary { background: #fff; border-color: #fff; color: var(--ink); }
.sheetq .btn--primary:hover { background: #F3F0E6; border-color: #F3F0E6; color: var(--ink); }
.sheetq__visual { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr); gap: clamp(14px, 2vw, 28px); align-items: center; }
.sheetq__arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--marigold-light); color: var(--ink); font-size: 1.3rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5); }

.xl { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; transform: rotate(-1.5deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); opacity: 0.94; }
.xl__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #1E6B43; color: #fff; font-size: 0.8rem; font-weight: 600; }
.xl__bar span { margin-left: auto; font-weight: 400; opacity: 0.8; font-size: 0.72rem; }
.xl__grid { display: grid; grid-template-columns: 28px 1.2fr 1fr 0.7fr 1.1fr; font-size: 0.78rem; color: #222; }
.xl__grid > * { padding: 7px 8px; border-right: 1px solid #E3E5E8; border-bottom: 1px solid #E3E5E8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 31px; }
.xl__grid b { font-weight: 700; background: #F6F7F8; }
.xl__h, .xl__n { background: #F0F1F3; color: #888; text-align: center; font-size: 0.7rem; }
.xl__q { background: #FDE8E8; }
.xl__y { background: #FFF6C7; }
.xl__r { color: #C0392B; font-weight: 700; }
.xl__note { margin: 0; padding: 9px 14px; font-size: 0.76rem; color: #555; background: #FAFAF7; display: flex; gap: 8px; align-items: center; }
.xl__note i { color: #E0A21A; }

.qx { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 34px 70px -28px rgba(0,0,0,0.65); }
.qx__head { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.qx__tab { padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.qx__tab em { font-style: normal; margin-left: 4px; color: var(--faint); }
.qx__tab.is-on { background: var(--brand-soft); color: var(--brand); }
.qx__tab.is-on em { color: var(--brand); }
.qx__list { list-style: none; margin: 0; padding: 4px 14px; }
.qx__list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 56px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--hairline); }
.qx__list li:last-child { border-bottom: 0; }
.qx__ava { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 700; font-size: 0.8rem; }
.qx__what { display: flex; flex-direction: column; font-size: 0.82rem; color: var(--muted); line-height: 1.3; min-width: 0; }
.qx__what b { color: var(--ink); font-size: 0.9rem; font-weight: 600; }
.qx__chip { padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: var(--surface-3); color: var(--ink-2); white-space: nowrap; }
.qx__chip--go { background: var(--brand-soft); color: var(--brand); }
.qx__chip--new { background: var(--sage-soft); color: var(--sage-2); }
.qx__chip--late { background: #FBEFD6; color: #8A5A10; }
.qx__due { font-size: 0.78rem; color: var(--muted); text-align: right; }
.qx__you { margin: 0; padding: 12px 16px; background: var(--sage-soft); color: var(--sage-2); font-size: 0.86rem; display: flex; gap: 8px; align-items: center; }
.qx__you b { color: var(--ink); }

.sheetq__points { list-style: none; margin: clamp(32px, 5vh, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); }
.sheetq__points li { padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.75); font-size: 0.96rem; line-height: 1.5; }
.sheetq__points b { display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: #fff; }
.sheetq__meta { margin: 24px 0 0; font-size: 0.84rem; color: rgba(255,255,255,0.55); }

@media (prefers-reduced-motion: no-preference) {
    .sheetq__visual .qx__list li { animation: qxIn 0.6s cubic-bezier(0.2,0.8,0.2,1) both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
}
@keyframes qxIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
    .sheetq__head { grid-template-columns: 1fr; }
    .sheetq__visual { grid-template-columns: 1fr; justify-items: stretch; }
    .sheetq__arrow { justify-self: center; transform: rotate(90deg); }
    .xl { transform: none; }
    .xl__grid { font-size: 0.72rem; }
    .qx__list li { grid-template-columns: 30px minmax(0, 1fr) auto; }
    .qx__due { display: none; }
    .sheetq__points { grid-template-columns: 1fr; }
}

/* 2. Web Collab feature */
.wcx__head { max-width: 760px; margin: 0 auto clamp(32px, 5vh, 56px); text-align: center; }
.wcx__head .h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin: 0 0 16px; }
.wcx__head .accent { color: #4F46E5; }
.wcx__head .lead { margin: 0 auto; max-width: 60ch; }
.wcx__brand { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #EEF0FE; color: #4338CA; font-weight: 600; font-size: 0.9rem; }
.wcx__brand img { border-radius: 6px; }
.wcx__brand span { padding-left: 10px; margin-left: 2px; border-left: 1px solid rgba(67,56,202,0.25); font-weight: 500; color: #5B55C9; }
.wcx__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(24px, 4vh, 48px) 0; }
.wcx__stage::before { content: ""; position: absolute; inset: 8% 18%; border-radius: 40px; background: radial-gradient(60% 60% at 50% 50%, rgba(79,70,229,0.16), transparent 70%); z-index: 0; }
.wcx__demo { position: relative; z-index: 1; }
.wcx__demo .wcb-browser { max-width: 520px; }
.wcx__steps { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 4vh, 40px); }
.wcx__steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; font-size: 0.94rem; line-height: 1.45; color: var(--ink-2); }
.wcx__steps li span { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #EEF0FE; color: #4338CA; font-weight: 700; }
.wcx__steps b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--ink); margin-bottom: 2px; }
.wcx__steps--l li { text-align: right; grid-template-columns: minmax(0, 1fr) 36px; }
.wcx__steps--l li span { grid-column: 2; grid-row: 1 / span 2; }
.wcx__steps--l li b { grid-column: 1; }
.wcx__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: clamp(24px, 4vh, 40px); }
@media (max-width: 1100px) {
    .wcx__stage { grid-template-columns: 1fr; }
    .wcx__steps--l li { text-align: left; grid-template-columns: 36px minmax(0, 1fr); }
    .wcx__steps--l li span { grid-column: 1; }
    .wcx__steps--l li b { grid-column: 2; }
    .wcx__steps { order: 2; }
    .wcx__demo { order: 1; }
    .wcx__stage::before { inset: 0; }
}

/* 3. Portfolio marquee */
.pfx { overflow: hidden; }
.pfx .section-head { margin-bottom: clamp(24px, 4vh, 40px); }
.pfx__marquee { display: flex; width: max-content; }
.pfx__track { display: flex; gap: 18px; padding-right: 18px; align-items: stretch; }
.pf { flex: none; height: 300px; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 20px 44px -34px rgba(13,30,59,0.45); text-decoration: none; color: inherit; }
.pf--shot { position: relative; width: 420px; }
.pf--shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.6s ease; }
.pf--shot:hover img { transform: scale(1.03); }
.pf__cap { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pf__cap b { font-weight: 700; color: var(--ink); }
.pf__cap em { font-style: normal; color: var(--sage-2); font-size: 0.86rem; align-self: center; }
.pf__cap span { grid-column: 1 / -1; font-size: 0.84rem; color: var(--muted); }
.pf--stat { width: 260px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--brand); color: rgba(255,255,255,0.8); }
.pf--stat b { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 3vw, 2.8rem); line-height: 1; color: var(--marigold-light); margin-bottom: 10px; }
.pf--stat span { font-size: 0.95rem; line-height: 1.4; }
.pf--quote { width: 300px; margin: 0; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: var(--tint-marigold, #FAF0DA); }
.pf--quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2; color: var(--ink); }
.pf--quote figcaption { font-size: 0.86rem; color: var(--muted); }
.pf--quote figcaption b { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
    .pfx__marquee { animation: pfxScroll 60s linear infinite; }
    .pfx__marquee:hover, .pfx__marquee:focus-within { animation-play-state: paused; }
}
@keyframes pfxScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .pfx__marquee { width: auto; overflow-x: auto; padding: 0 20px 12px; }
    .pfx__track[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) {
    .pf { height: 240px; }
    .pf--shot { width: 300px; }
    .pf--stat { width: 210px; padding: 22px; }
    .pf--quote { width: 240px; padding: 22px; }
    .pf--quote blockquote { font-size: 1.2rem; }
}

/* Closing photo: size it from the content column, not the viewport. The old
   rule took 22% of the screen off its left edge, so on wide screens the photo
   shrank and finally vanished. Desktop only; tablet/phone keep their stacked layout. */
@media (min-width: 992px) {
    /* % here is the section's own width, which is capped on wide screens */
    .cta-strip--photo .cta-strip__photo {
        --cta-m: max(28px, calc((100% - var(--wrap)) / 2 + 28px));
        right: var(--cta-m) !important;
        left: calc(var(--cta-m) + (100% - 2 * var(--cta-m)) * 0.3) !important;
    }
}

/* =====================================================================
   QUEUE DEMO (inside the queue card, 28s loop). Both leads go through
   the same steps: open it, click Details on the meeting, read the AI check.
      0-40%  QuickFlip Leads: score 18, Dana clicks "Disqualify lead",
             the row is struck out for the rest of the loop
     40-100% Bloom Studio: score 86, she joins the Teams meeting, and the
             meeting, quote, contract and close tick off
   Cursor targets are measured by motion.js (--bad-x, --helpa-x, --dqb-x,
   --row-x, --help-x, --join-x). Reduced motion: the queue sits still.
   ===================================================================== */
.qxd { position: relative; overflow: hidden; min-height: 430px; display: flex; flex-direction: column; }
.qxd .qx__list { flex: 1; }
.sheetq__visual .qxd .qx__list li { animation: none; }
.qxd__cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 6; pointer-events: none; opacity: 0; }
.qxd__cursor svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.qxd__ring { position: absolute; left: 5px; top: 3px; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(27,58,107,0.25); opacity: 0; }

.qxd__why { display: inline-flex; align-items: center; gap: 4px; color: #8A5A10; }
.qxd__why i { color: var(--accent); }
.qxd__state { display: grid; justify-items: end; }
.qxd__state > * { grid-area: 1 / 1; }
.qxd__off { opacity: 0; background: var(--surface-3); color: var(--muted); }
.qxd__bad .qx__what b { text-decoration-color: var(--muted); }
@media (max-width: 600px) { .qxd__why { display: none; } .qxd__bad .qx__what::after { content: "AI score 18"; color: #8A5A10; } }

.dlg__sheet { position: absolute; inset: 0; z-index: 3; background: #fff; display: flex; flex-direction: column; transform: translateX(101%); }
.dlg__top { display: grid; grid-template-columns: 28px 1fr; gap: 6px 10px; align-items: center; padding: 14px 18px 12px; border-bottom: 1px solid var(--hairline); }
.dlg__back { color: var(--muted); }
.dlg__title { display: flex; flex-direction: column; font-size: 0.82rem; color: var(--muted); }
.dlg__title b { font-size: 1.02rem; color: var(--ink); }
.dlg__count { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.dlg__bar { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--sage); }
.dlg__steps { list-style: none; margin: 0; padding: 6px 18px; flex: 1; }
.dlg__step { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.dlg__step b { display: block; font-size: 0.92rem; color: var(--ink); font-weight: 600; }
.dlg__tick { position: relative; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--hairline-2); background: #fff; color: var(--muted); font-size: 0.78rem; }
.dlg__sheet--a .dlg__step:first-child .dlg__tick { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.dlg__tick em { font-style: normal; font-weight: 600; }
.dlg__tick i { position: absolute; opacity: 0; color: #fff; font-size: 0.95rem; }
.dlg__help { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 0.76rem; white-space: nowrap; }
.dlg__done { margin: 0; padding: 12px 18px; display: flex; gap: 8px; align-items: center; background: var(--sage-soft); color: var(--sage-2); font-weight: 600; font-size: 0.88rem; opacity: 0; }
.dlg__done--bad { background: #FBEDEB; color: #A0362A; }

.qxd__info { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 4; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(21,32,58,0.08), 0 24px 48px -16px rgba(21,32,58,0.45); opacity: 0; }
.qxd__info-h { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 12px; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.qxd__info-h span { font-weight: 400; font-size: 0.8rem; color: var(--muted); }
.qxd__score { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; }
.qxd__ring-score { --v: 86; --ring: var(--sage); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ring) calc(var(--v) * 1%), var(--surface-3) 0); }
.qxd__info--bad .qxd__ring-score { --v: 18; --ring: #C2553F; }
.qxd__ring-score b { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--ink); }
.qxd__fit { margin: 0 0 6px; display: flex; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--ink-2); }
.qxd__fit i { color: var(--accent); }
.qxd__fit b { color: var(--sage-2); }
.qxd__info--bad .qxd__fit b { color: #A0362A; }
.qxd__score ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.qxd__score li { display: flex; gap: 6px; font-size: 0.78rem; line-height: 1.35; color: var(--ink-2); }
.qxd__score li i { color: var(--sage); }
.qxd__info--bad .qxd__score li i { color: #C2553F; }
.qxd__join, .qxd__dqbtn { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border-radius: 10px; color: #fff; font-weight: 600; font-size: 0.86rem; }
.qxd__join { background: #5059C9; }
.qxd__dqbtn { background: #A0362A; }

@property --v { syntax: '<number>'; inherits: false; initial-value: 86; }
@media (prefers-reduced-motion: no-preference) {
    .qxd__cursor { animation: qxdCursor 28s cubic-bezier(0.45,0,0.2,1) infinite; }
    .qxd__ring { animation: qxdRing 28s ease-out infinite; }
    .sheetq__visual .qxd .qx__list li.qxd__bad { animation: qxdBad 28s ease infinite; }
    .qxd__bad .qx__what b { animation: qxdStrike 28s ease infinite; }
    .qxd__new { animation: qxdNew 28s ease infinite; }
    .qxd__off { animation: qxdOff 28s ease infinite; }
    .qxd .dlg__sheet--a { animation: qxdSheetA 28s cubic-bezier(0.2,0.8,0.2,1) infinite; }
    .qxd .dlg__sheet--a .dlg__help { animation: qxdHelpA 28s ease infinite; }
    .qxd__info--bad { animation: qxdInfoA 28s cubic-bezier(0.2,0.8,0.2,1) infinite; }
    .qxd__info--bad .qxd__ring-score { animation: qxdScoreA 28s ease-out infinite; }
    .qxd__info--bad .qxd__score li:nth-child(1) { animation: qxdRA1 28s ease infinite; }
    .qxd__info--bad .qxd__score li:nth-child(2) { animation: qxdRA2 28s ease infinite; }
    .qxd__info--bad .qxd__score li:nth-child(3) { animation: qxdRA3 28s ease infinite; }
    .qxd__dqbtn { animation: qxdDqb 28s ease infinite; }
    .qxd .dlg__done--bad { animation: qxdDoneA 28s ease infinite; }
    .sheetq__visual .qxd .qx__list li.qxd__target { animation: qxdPick 28s ease infinite; }
    .qxd .dlg__sheet--b { animation: qxdSheetB 28s cubic-bezier(0.2,0.8,0.2,1) infinite; }
    .qxd .dlg__sheet--b .dlg__bar { animation: qxdBar 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__done { animation: qxdDone 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__help { animation: qxdHelp 28s ease infinite; }
    .qxd__info--good { animation: qxdInfo 28s cubic-bezier(0.2,0.8,0.2,1) infinite; }
    .qxd__info--good .qxd__ring-score { animation: qxdScore 28s ease-out infinite; }
    .qxd__join { animation: qxdJoin 28s ease infinite; }
    .qxd__info--good .qxd__score li:nth-child(1) { animation: qxdR1 28s ease infinite; }
    .qxd__info--good .qxd__score li:nth-child(2) { animation: qxdR2 28s ease infinite; }
    .qxd__info--good .qxd__score li:nth-child(3) { animation: qxdR3 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__step:nth-child(1) .dlg__tick { animation: qxdT1 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__step:nth-child(1) .dlg__tick i { animation: qxdI1 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__step:nth-child(1) .dlg__tick em { animation: qxdE1 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__step:nth-child(2) .dlg__tick { animation: qxdT2 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__step:nth-child(2) .dlg__tick i { animation: qxdI2 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__step:nth-child(2) .dlg__tick em { animation: qxdE2 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__step:nth-child(3) .dlg__tick { animation: qxdT3 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__step:nth-child(3) .dlg__tick i { animation: qxdI3 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__step:nth-child(3) .dlg__tick em { animation: qxdE3 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__step:nth-child(4) .dlg__tick { animation: qxdT4 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__step:nth-child(4) .dlg__tick i { animation: qxdI4 28s ease infinite; }
    .qxd .dlg__sheet--b .dlg__step:nth-child(4) .dlg__tick em { animation: qxdE4 28s ease infinite; }
}
@keyframes qxdCursor {
    0%    { opacity: 0; transform: translate(var(--rest-x), var(--rest-y)); }
    2%    { opacity: 1; transform: translate(var(--rest-x), var(--rest-y)); }
    5%, 7% { opacity: 1; transform: translate(var(--bad-x), var(--bad-y)); }
    10%   { opacity: 0; transform: translate(var(--bad-x), var(--bad-y)); }
    11%   { opacity: 0; transform: translate(calc(var(--helpa-x) - 40px), calc(var(--helpa-y) + 90px)); }
    13%   { opacity: 1; transform: translate(calc(var(--helpa-x) - 40px), calc(var(--helpa-y) + 90px)); }
    15%, 17% { opacity: 1; transform: translate(var(--helpa-x), var(--helpa-y)); }
    22%   { opacity: 1; transform: translate(calc(var(--dqb-x) + 30px), calc(var(--dqb-y) - 60px)); }
    27%, 30% { opacity: 1; transform: translate(var(--dqb-x), var(--dqb-y)); }
    34%   { opacity: 0; transform: translate(var(--dqb-x), var(--dqb-y)); }
    40.0% { opacity: 0; transform: translate(var(--rest-x), var(--rest-y)); }
    41.8% { opacity: 1; transform: translate(var(--rest-x), var(--rest-y)); }
    44.8%, 46.0% { opacity: 1; transform: translate(var(--row-x), var(--row-y)); }
    47.8% { opacity: 0; transform: translate(var(--row-x), var(--row-y)); }
    49.0% { opacity: 0; transform: translate(calc(var(--help-x) - 40px), calc(var(--help-y) + 90px)); }
    50.2% { opacity: 1; transform: translate(calc(var(--help-x) - 40px), calc(var(--help-y) + 90px)); }
    52.6%, 53.8% { opacity: 1; transform: translate(var(--help-x), var(--help-y)); }
    56.8% { opacity: 1; transform: translate(calc(var(--join-x) + 30px), calc(var(--join-y) - 60px)); }
    64.0%, 67.6% { opacity: 1; transform: translate(var(--join-x), var(--join-y)); }
    70.0%, 100% { opacity: 0; transform: translate(var(--join-x), var(--join-y)); }
}
@keyframes qxdRing { 0%, 5.9% { opacity: 0; transform: scale(0.3); } 6% { opacity: 1; transform: scale(0.3); } 8.5%, 15.9% { opacity: 0; transform: scale(1.6); } 16% { opacity: 1; transform: scale(0.3); } 18.5%, 28.9% { opacity: 0; transform: scale(1.6); } 29% { opacity: 1; transform: scale(0.3); } 31.5%, 45.3% { opacity: 0; transform: scale(1.6); } 45.4% { opacity: 1; transform: scale(0.3); } 47.9%, 53.1% { opacity: 0; transform: scale(1.6); } 53.2% { opacity: 1; transform: scale(0.3); } 55.7%, 66.9% { opacity: 0; transform: scale(1.6); } 67.0% { opacity: 1; transform: scale(0.3); } 69.5%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes qxdBad { 0%, 4% { background: transparent; opacity: 1; } 6%, 9% { background: #FBEDEB; opacity: 1; } 13%, 38% { background: transparent; opacity: 1; } 40%, 97% { background: transparent; opacity: 0.5; } 100% { opacity: 1; } }
@keyframes qxdStrike { 0%, 39% { text-decoration-line: none; } 40%, 97% { text-decoration-line: line-through; } 100% { text-decoration-line: none; } }
@keyframes qxdNew { 0%, 38% { opacity: 1; } 40%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes qxdOff { 0%, 38% { opacity: 0; } 40%, 97% { opacity: 1; } 100% { opacity: 0; } }
@keyframes qxdSheetA { 0%, 8% { transform: translateX(101%); } 12%, 36% { transform: translateX(0); } 40%, 100% { transform: translateX(101%); } }
@keyframes qxdHelpA { 0%, 15% { background: var(--brand-soft); color: var(--brand); } 16%, 32% { background: var(--brand); color: #fff; } 34%, 100% { background: var(--brand-soft); color: var(--brand); } }
@keyframes qxdInfoA { 0%, 17% { opacity: 0; transform: translateY(14px) scale(0.97); } 19%, 30.5% { opacity: 1; transform: none; } 32%, 100% { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes qxdScoreA { 0%, 18.5% { --v: 0; } 23%, 100% { --v: 18; } }
@keyframes qxdRA1 { 0%, 20% { opacity: 0; transform: translateX(-6px); } 21.2%, 30.5% { opacity: 1; transform: none; } 32%, 100% { opacity: 0; } }
@keyframes qxdRA2 { 0%, 22% { opacity: 0; transform: translateX(-6px); } 23.2%, 30.5% { opacity: 1; transform: none; } 32%, 100% { opacity: 0; } }
@keyframes qxdRA3 { 0%, 24% { opacity: 0; transform: translateX(-6px); } 25.2%, 30.5% { opacity: 1; transform: none; } 32%, 100% { opacity: 0; } }
@keyframes qxdDqb { 0%, 28.5% { transform: none; filter: none; } 29.2% { transform: scale(0.96); filter: brightness(0.88); } 30%, 100% { transform: none; filter: none; } }
@keyframes qxdDoneA { 0%, 31% { opacity: 0; transform: translateY(8px); } 33%, 99% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes qxdPick { 0%, 44.2% { background: transparent; } 45.4%, 48.4% { background: var(--brand-soft); } 50.8%, 100% { background: transparent; } }
@keyframes qxdSheetB { 0%, 46.6% { transform: translateX(101%); } 49.6%, 95.8% { transform: translateX(0); } 99.4%, 100% { transform: translateX(101%); } }
@keyframes qxdBar { 0%, 70.6% { width: 0; } 71.8% { width: 25%; } 77.8% { width: 50%; } 83.8% { width: 75%; } 88.6%, 95.8% { width: 100%; } 99.4%, 100% { width: 0; } }
@keyframes qxdDone { 0%, 89.2% { opacity: 0; transform: translateY(8px); } 91.0%, 95.8% { opacity: 1; transform: none; } 98.2%, 100% { opacity: 0; } }
@keyframes qxdHelp { 0%, 51.4% { background: var(--brand-soft); color: var(--brand); } 52.6%, 69.4% { background: var(--brand); color: #fff; } 71.2%, 100% { background: var(--brand-soft); color: var(--brand); } }
@keyframes qxdInfo { 0%, 53.8% { opacity: 0; transform: translateY(14px) scale(0.97); } 55.6%, 68.8% { opacity: 1; transform: none; } 70.6%, 100% { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes qxdScore { 0%, 55.0% { --v: 0; } 59.8%, 100% { --v: 86; } }
@keyframes qxdJoin { 0%, 66.7% { transform: none; filter: none; } 67.3% { transform: scale(0.96); filter: brightness(0.9); } 68.2%, 100% { transform: none; filter: none; } }
@keyframes qxdR1 { 0%, 56.8% { opacity: 0; transform: translateX(-6px); } 58.0%, 69.4% { opacity: 1; transform: none; } 70.6%, 100% { opacity: 0; } }
@keyframes qxdR2 { 0%, 58.6% { opacity: 0; transform: translateX(-6px); } 59.8%, 69.4% { opacity: 1; transform: none; } 70.6%, 100% { opacity: 0; } }
@keyframes qxdR3 { 0%, 60.4% { opacity: 0; transform: translateX(-6px); } 61.6%, 69.4% { opacity: 1; transform: none; } 70.6%, 100% { opacity: 0; } }
@keyframes qxdT1 { 0%, 49.6% { background: #fff; border-color: var(--hairline-2); box-shadow: none; } 50.1%, 71.1% { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); } 71.8%, 96% { background: var(--sage); border-color: var(--sage); box-shadow: none; } 98%, 100% { background: #fff; border-color: var(--hairline-2); box-shadow: none; } }
@keyframes qxdI1 { 0%, 71.2% { opacity: 0; transform: scale(0.4); } 72.2%, 96% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes qxdE1 { 0%, 71.2% { opacity: 1; } 71.8%, 96% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes qxdT2 { 0%, 71.8% { background: #fff; border-color: var(--hairline-2); box-shadow: none; } 72.3%, 77.1% { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); } 77.8%, 96% { background: var(--sage); border-color: var(--sage); box-shadow: none; } 98%, 100% { background: #fff; border-color: var(--hairline-2); box-shadow: none; } }
@keyframes qxdI2 { 0%, 77.2% { opacity: 0; transform: scale(0.4); } 78.2%, 96% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes qxdE2 { 0%, 77.2% { opacity: 1; } 77.8%, 96% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes qxdT3 { 0%, 77.8% { background: #fff; border-color: var(--hairline-2); box-shadow: none; } 78.3%, 83.1% { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); } 83.8%, 96% { background: var(--sage); border-color: var(--sage); box-shadow: none; } 98%, 100% { background: #fff; border-color: var(--hairline-2); box-shadow: none; } }
@keyframes qxdI3 { 0%, 83.2% { opacity: 0; transform: scale(0.4); } 84.2%, 96% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes qxdE3 { 0%, 83.2% { opacity: 1; } 83.8%, 96% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes qxdT4 { 0%, 83.8% { background: #fff; border-color: var(--hairline-2); box-shadow: none; } 84.3%, 87.9% { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); } 88.6%, 96% { background: var(--sage); border-color: var(--sage); box-shadow: none; } 98%, 100% { background: #fff; border-color: var(--hairline-2); box-shadow: none; } }
@keyframes qxdI4 { 0%, 88.0% { opacity: 0; transform: scale(0.4); } 89.0%, 96% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes qxdE4 { 0%, 88.0% { opacity: 1; } 88.6%, 96% { opacity: 0; } 98%, 100% { opacity: 1; } }

/* =====================================================================
   WEB COLLAB + MY CTO: two panes, both sides of one request.
   Left: the client points at the button (Web Collab demo).
   Right: the same request in My CTO (14s loop):
      0-11  cursor to the request, click     12-17  the request opens
     20-30  scrolls down to the chat         31-38  our message, options A/B/C
     44-52  client typing, then "B!"         60-64  our thumbs-up, then reply
     92-98  closes and resets
   Scroll distance is measured by motion.js (--ptl-scroll).
   Reduced motion: the finished conversation, scrolled to the end.
   ===================================================================== */
.wcx__panes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: start; }
.wcx__pane { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.wcx__pane > .wcx__demo, .wcx__pane > .ptl { width: 100%; max-width: 520px; }
.wcx__label { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.wcx__label span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #EEF0FE; color: #4338CA; font-family: var(--font-sans); font-weight: 700; font-size: 0.9rem; }
.wcx__label em { color: var(--muted); font-size: 1.05rem; }
.wcx__demo .wcb-browser { max-width: none; }
@media (max-width: 1000px) { .wcx__panes { grid-template-columns: 1fr; gap: 48px; } }

.ptl { position: relative; height: 470px; display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(21,32,58,0.08); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(21,32,58,0.06), 0 28px 60px -28px rgba(21,32,58,0.38); text-align: left; }
.ptl__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--hairline); font-size: 0.9rem; color: var(--ink); }
.ptl__nav { margin-left: 14px; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 0.78rem; font-weight: 600; }
.ptl__me { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: #fff; font-size: 0.7rem; font-weight: 700; }
.ptl__view { position: relative; flex: 1; overflow: hidden; }
.ptl__list { padding: 16px; }
.ptl__h { display: flex; justify-content: space-between; margin: 0 4px 10px; font-weight: 600; color: var(--ink); }
.ptl__h span { font-weight: 400; font-size: 0.82rem; color: var(--muted); }
.ptl__list ul { list-style: none; margin: 0; padding: 0; }
.ptl__row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 10px; border-radius: 12px; border-bottom: 1px solid var(--hairline); }
.ptl__src { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #EEF0FE; }
.ptl__src--chat { background: var(--brand-soft); color: var(--brand); }
.ptl__what { display: flex; flex-direction: column; min-width: 0; font-size: 0.78rem; color: var(--muted); }
.ptl__what b { font-size: 0.9rem; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptl__chip { padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; white-space: nowrap; background: var(--surface-3); color: var(--ink-2); }
.ptl__chip--new { background: #EEF0FE; color: #4338CA; }
.ptl__chip--go { background: var(--brand-soft); color: var(--brand); }
.ptl__chip--done { background: var(--sage-soft); color: var(--sage-2); }

.ptl__detail { position: absolute; inset: 0; background: #fff; overflow: hidden; }
.ptl__scroll { padding: 14px 18px 18px; transform: translateY(var(--ptl-scroll, 0px)); }
.ptl__back { margin: 0 0 8px; font-size: 0.8rem; color: var(--muted); }
.ptl__title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--ink); }
.ptl__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.ptl__meta span { padding: 3px 9px; border-radius: 999px; background: var(--surface-3); font-size: 0.72rem; color: var(--ink-2); }
.ptl__meta span:first-child { background: #EEF0FE; color: #4338CA; }
.ptl__shot { height: 96px; border-radius: 12px; display: grid; place-items: center; background: #FBF7EF; border: 1px solid var(--hairline); }
.ptl__shot span { padding: 8px 16px; border-radius: 6px; background: #8B2E35; color: #fff; font-weight: 700; font-size: 0.78rem; box-shadow: 0 0 0 2px #4F46E5, 0 0 0 6px rgba(79,70,229,0.18); }
.ptl__note { margin: 10px 0 16px; font-size: 0.84rem; color: var(--ink-2); font-style: italic; }
.ptl__thread { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.ptl__msg { display: flex; gap: 8px; align-items: flex-end; }
.ptl__msg p { position: relative; margin: 0; padding: 9px 13px; border-radius: 14px; font-size: 0.86rem; line-height: 1.4; }
.ptl__msg--us p { background: var(--surface-3); color: var(--ink); border-bottom-left-radius: 4px; }
.ptl__msg--me { justify-content: flex-end; }
.ptl__msg--me p { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.ptl__ava { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 0.6rem; font-weight: 700; }
.ptl__opts { display: grid; gap: 6px; margin-top: 8px; }
.ptl__opt { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--hairline); border-radius: 10px; background: #fff; }
.ptl__opt em { font-style: normal; font-weight: 700; font-size: 0.78rem; color: var(--muted); width: 14px; }
.ptl__btn { font-style: normal; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 6px; background: #A8813A; color: #fff; font-size: 0.72rem; font-weight: 700; }
.ptl__btn--ghost { background: none; color: #A8813A; border: 1.5px solid #A8813A; }
.ptl__o2 { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.ptl__slot { display: grid; }
.ptl__slot > * { grid-area: 1 / 1; }
.ptl__typing { justify-self: end; display: flex; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--brand-soft); opacity: 0; }
.ptl__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: 0.5; }
.ptl__react { position: absolute; left: -10px; bottom: -10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 2px 8px rgba(21,32,58,0.25); font-size: 0.85rem; }
.ptl__cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 6; pointer-events: none; opacity: 0; }
.ptl__cursor svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.ptl__ring { position: absolute; left: 5px; top: 3px; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(27,58,107,0.25); opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
    .ptl__cursor { animation: ptlCursor 14s cubic-bezier(0.45,0,0.2,1) infinite; }
    .ptl__ring { animation: ptlRing 14s ease-out infinite; }
    .ptl__row--target { animation: ptlPick 14s ease infinite; }
    .ptl__detail { animation: ptlDetail 14s cubic-bezier(0.2,0.8,0.2,1) infinite; }
    .ptl__scroll { animation: ptlScroll 14s cubic-bezier(0.45,0,0.2,1) infinite; }
    .ptl__m1 { animation: ptlM1 14s ease infinite; }
    .ptl__o1 { animation: ptlO1 14s ease infinite; }
    .ptl__o2 { animation: ptlO2 14s ease infinite; }
    .ptl__o3 { animation: ptlO3 14s ease infinite; }
    .ptl__typing { animation: ptlTyping 14s ease infinite; }
    .ptl__typing span { animation: ptlDot 0.9s ease-in-out infinite; }
    .ptl__typing span:nth-child(2) { animation-delay: 0.15s; }
    .ptl__typing span:nth-child(3) { animation-delay: 0.3s; }
    .ptl__msg--me { animation: ptlMe 14s ease infinite; }
    .ptl__react { animation: ptlReact 14s cubic-bezier(0.3,1.6,0.5,1) infinite; }
    .ptl__m3 { animation: ptlM3 14s ease infinite; }
}
@keyframes ptlCursor {
    0%      { opacity: 0; transform: translate(var(--prest-x), var(--prest-y)); }
    3%      { opacity: 1; transform: translate(var(--prest-x), var(--prest-y)); }
    9%, 11% { opacity: 1; transform: translate(var(--prow-x), var(--prow-y)); }
    14%, 100% { opacity: 0; transform: translate(var(--prow-x), var(--prow-y)); }
}
@keyframes ptlRing { 0%, 9.9% { opacity: 0; transform: scale(0.3); } 10% { opacity: 1; transform: scale(0.3); } 13%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes ptlPick { 0%, 8% { background: transparent; } 10%, 15% { background: var(--brand-soft); } 18%, 100% { background: transparent; } }
@keyframes ptlDetail { 0%, 12% { transform: translateX(101%); } 17%, 92% { transform: translateX(0); } 98%, 100% { transform: translateX(101%); } }
@keyframes ptlScroll { 0%, 20% { transform: translateY(0); } 30%, 94% { transform: translateY(var(--ptl-scroll, 0px)); } 98%, 100% { transform: translateY(0); } }
@keyframes ptlM1 { 0%, 29% { opacity: 0; transform: translateY(8px); } 31%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes ptlO1 { 0%, 33% { opacity: 0; transform: translateY(6px); } 35%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes ptlO2 { 0%, 35% { opacity: 0; transform: translateY(6px); border-color: var(--hairline); box-shadow: none; } 37%, 52% { opacity: 1; transform: none; border-color: var(--hairline); box-shadow: none; } 54%, 95% { opacity: 1; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); } 98%, 100% { opacity: 0; } }
@keyframes ptlO3 { 0%, 37% { opacity: 0; transform: translateY(6px); } 39%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes ptlTyping { 0%, 44% { opacity: 0; } 46%, 51% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes ptlDot { 0%, 100% { transform: none; opacity: 0.4; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes ptlMe { 0%, 51% { opacity: 0; transform: translateY(8px); } 53%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes ptlReact { 0%, 60% { opacity: 0; transform: scale(0.3); } 63%, 95% { opacity: 1; transform: scale(1); } 98%, 100% { opacity: 0; } }
@keyframes ptlM3 { 0%, 66% { opacity: 0; transform: translateY(8px); } 68%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

/* Both panes bigger and the same height, so the My CTO chat has room. */
.wcx { --pane-h: clamp(540px, 42vw, 640px); }
.wcx__pane > .wcx__demo, .wcx__pane > .ptl { max-width: 600px; }
.ptl { height: var(--pane-h); }
.ptl__scroll { padding-bottom: 28px; }
.wcx__demo .wcb-browser { height: var(--pane-h); display: flex; flex-direction: column; }
.wcx__demo .wcb-body { flex: 1; }
@media (max-width: 600px) { .wcx { --pane-h: 560px; } }

/* =====================================================================
   HOW IT WORKS (Services): four steps on one line, the circles running
   the same sage-to-navy ramp as Home's path to growth.
   ===================================================================== */
.hiw__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); position: relative; }
.hiw__steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: linear-gradient(90deg, #DCE6DE, #9DB8A9, #557771, var(--brand)); }
.hiw__step { position: relative; }
.hiw__n { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; box-shadow: 0 0 0 6px var(--surface); }
.hiw__step:nth-child(1) .hiw__n { background: #DCE6DE; color: var(--sage-2); }
.hiw__step:nth-child(2) .hiw__n { background: #9DB8A9; color: #fff; }
.hiw__step:nth-child(3) .hiw__n { background: linear-gradient(160deg, #557771, #3B5A6B); color: #fff; }
.hiw__step:nth-child(4) .hiw__n { background: linear-gradient(160deg, #24467D, var(--brand-2)); color: var(--marigold-light); }
.hiw__when { margin: 0 0 4px; font-size: 0.85rem; font-weight: 600; color: var(--sage-2); }
.hiw__step h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.2; color: var(--ink); }
.hiw__step > p:not(.hiw__when) { margin: 0 0 12px; font-size: 0.96rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 900px) {
    .hiw__steps { grid-template-columns: 1fr; gap: 0; }
    .hiw__steps::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: linear-gradient(180deg, #DCE6DE, #9DB8A9, #557771, var(--brand)); }
    .hiw__step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding-bottom: 24px; }
    .hiw__step > * { grid-column: 2; }
    .hiw__n { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
}
/* The line runs from the first circle to the last, no further. */
.hiw__steps::before { right: calc(25% - 22px); }
@media (max-width: 900px) {
    .hiw__steps::before { display: none; }
    .hiw__step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; }
    .hiw__step:nth-child(1)::after { background: linear-gradient(#DCE6DE, #9DB8A9); }
    .hiw__step:nth-child(2)::after { background: linear-gradient(#9DB8A9, #557771); }
    .hiw__step:nth-child(3)::after { background: linear-gradient(#557771, var(--brand)); }
    .hiw__step:last-child { padding-bottom: 0; }
}

/* =====================================================================
   WEB COLLAB PAGE v2: one-time setup (two small mockups side by side)
   and a short questions list. The old gold corner bracket behind
   media-stage photos is retired site-wide.
   ===================================================================== */
.media-stage::before { display: none !important; }
.wcs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.wcs__step { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.wcs__step figcaption { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.wcs__step figcaption span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #EEF0FE; color: #4338CA; font-family: var(--font-sans); font-weight: 700; font-size: 0.85rem; }
.wcs__step figcaption em { color: var(--muted); font-size: 1rem; }
.wcs__step .wcb-browser { max-width: none; }
.wcs__step > p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }
.wcs__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(24px, 4vh, 40px); }
.wcs__actions span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 900px) { .wcs__grid { grid-template-columns: 1fr; } }

.wcq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.wcq__grid .lead a { color: var(--brand); font-weight: 600; }
.wcq__list details { border-top: 1px solid var(--hairline-2); }
.wcq__list details:last-child { border-bottom: 1px solid var(--hairline-2); }
.wcq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--ink); }
.wcq__list summary::-webkit-details-marker { display: none; }
.wcq__list summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform 0.2s ease; }
.wcq__list details[open] summary::after { transform: rotate(45deg); }
.wcq__list details p { margin: 0 0 18px; max-width: 60ch; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 900px) { .wcq__grid { grid-template-columns: 1fr; } }
.hiw__loop { display: inline-flex; align-items: center; gap: 10px; margin: clamp(20px, 3vh, 32px) 0 0; padding: 10px 16px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 0.92rem; }
.hiw__loop i { font-size: 1.1rem; }

/* "The same contact from day one", under each process. */
.same-contact { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: clamp(24px, 4vh, 40px) 0 0; padding: 16px 20px; border-radius: 18px; background: var(--tint-sand); }
.same-contact__ava { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #24467D, var(--brand-2)); color: var(--marigold-light); font-size: 1.1rem; box-shadow: 0 0 0 4px #fff; }
.same-contact p { margin: 0; font-size: 0.96rem; line-height: 1.5; color: var(--ink-2); }
.same-contact b { color: var(--ink); }
.hiw__loop + .same-contact { margin-top: 14px; }

/* =====================================================================
   ONE TYPE + SPACING SYSTEM. Inner-page sections (.section) use exactly
   Home's rhythm: the same section padding (--h-sp), the same heading
   size as .h-h2, the same lead size and ink colour as .h-lead, and the
   same gap from a section's heading block to its content.
   ===================================================================== */
body > .section { padding-top: var(--h-sp); padding-bottom: var(--h-sp); }
body > .section .h2 {
    font-size: clamp(2rem, min(3.2vw, 5.6vh), 3.5rem);
    font-weight: 500; line-height: 1.04; letter-spacing: -0.018em;
    text-wrap: balance;
}
body > .section:not(.section--ink) .lead {
    font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.6;
    color: var(--ink-2) !important;
}
body > .section--ink .lead { font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.6; }
body > .section .section-head { margin-bottom: clamp(28px, 4.5vh, 48px); }
body > .section .section-head .h2 { margin-bottom: 14px; }
.wcx__head .h2 { font-size: clamp(2.2rem, min(3.6vw, 6vh), 3.9rem); }

/* Section heads made of just a heading and a lead sit like Home's .h-head:
   heading left, lead right, bottoms aligned. */
@media (min-width: 901px) {
    body > .section .section-head:has(> .h2 + .lead:last-child):not(:has(.eyebrow)) {
        display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(24px, 4vw, 72px); align-items: end; max-width: none;
    }
    body > .section .section-head:has(> .h2 + .lead:last-child):not(:has(.eyebrow)) .h2 { margin: 0; }
    body > .section .section-head:has(> .h2 + .lead:last-child):not(:has(.eyebrow)) .lead { max-width: 54ch; }
}
/* The weekly-loop note is a plain line, so the same-contact card is the only box. */
.hiw__loop { padding: 0; background: none; border-radius: 0; color: var(--sage-2); font-weight: 500; }
.hiw__loop + .same-contact { margin-top: 18px; }
/* Heads-up section: a wider text column so the heading doesn't stack in three short lines. */
@media (min-width: 992px) {
    #how ~ .section .grid-5-7 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}

/* =====================================================================
   HOW IT WORKS as one board. The four steps, the weekly-loop note and
   the same-contact line sit inside a single bordered frame, so they
   read as one unit instead of loose text: steps are columns split by
   hairlines, the sage-to-navy line runs circle to circle, and the
   notes sit in a tinted footer strip along the bottom.
   ===================================================================== */
.hiw__board { --hp: clamp(22px, 2.2vw, 34px); border: 1px solid var(--hairline-2); border-radius: var(--h-r, 28px); background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 35, 60, 0.04), 0 12px 32px -18px rgba(20, 35, 60, 0.18); }
.hiw__board .hiw__steps { gap: 0; }
.hiw__board .hiw__steps::before { display: none; }
.hiw__board .hiw__step { display: flex; flex-direction: column; padding: var(--hp); }
.hiw__board .hiw__step + .hiw__step { border-left: 1px solid var(--hairline-2); }
.hiw__board .hiw__step > p:last-of-type { margin-bottom: 0; }
.hiw__board .hiw__step .link-arrow { margin-top: auto; padding-top: 14px; }
.hiw__board .hiw__n { box-shadow: 0 0 0 6px #fff; }
/* the connector: from each circle to the next one, across the divider */
.hiw__board .hiw__step:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: calc(var(--hp) + 21px); left: calc(var(--hp) + 56px); right: calc(12px - var(--hp)); height: 2px; }
.hiw__board .hiw__step:nth-child(1)::after { background: linear-gradient(90deg, #DCE6DE, #9DB8A9); }
.hiw__board .hiw__step:nth-child(2)::after { background: linear-gradient(90deg, #9DB8A9, #557771); }
.hiw__board .hiw__step:nth-child(3)::after { background: linear-gradient(90deg, #557771, var(--brand)); }
.hiw__board .hiw__step:nth-child(1) { z-index: 3; }
.hiw__board .hiw__step:nth-child(2) { z-index: 2; }
.hiw__board .hiw__step:nth-child(3) { z-index: 1; }

.hiw__foot { display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); padding: 18px var(--hp); background: var(--tint-sand); border-top: 1px solid var(--hairline-2); }
.hiw__foot .hiw__loop { flex: 0 1 34%; margin: 0; align-items: flex-start; line-height: 1.5; }
.hiw__foot .hiw__loop i { margin-top: 2px; }
.hiw__foot .same-contact { flex: 1 1 0; max-width: none; margin: 0 !important; padding: 0; background: none; border-radius: 0; }
.hiw__foot .hiw__loop + .same-contact { padding-left: clamp(16px, 3vw, 48px); border-left: 1px solid var(--hairline-2); }

@media (max-width: 900px) {
    .hiw__board .hiw__step { display: grid; padding: var(--hp) var(--hp) 0; }
    .hiw__board .hiw__step:last-child { padding-bottom: var(--hp); }
    .hiw__board .hiw__step + .hiw__step { border-left: 0; }
    .hiw__board .hiw__step .link-arrow { padding-top: 4px; }
    .hiw__board .hiw__step:not(:last-child)::after { top: calc(var(--hp) + 50px); bottom: 6px; left: calc(var(--hp) + 21px); right: auto; width: 2px; height: auto; }
    .hiw__board .hiw__step:nth-child(1)::after { background: linear-gradient(#DCE6DE, #9DB8A9); }
    .hiw__board .hiw__step:nth-child(2)::after { background: linear-gradient(#9DB8A9, #557771); }
    .hiw__board .hiw__step:nth-child(3)::after { background: linear-gradient(#557771, var(--brand)); }
    .hiw__foot { flex-direction: column; align-items: stretch; gap: 14px; }
    .hiw__foot .hiw__loop + .same-contact { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--hairline-2); }
}

/* Client quote under the Web Collab demo heading. */
.wcx__quote { margin: clamp(22px, 3.5vh, 32px) auto 0; max-width: 560px; padding-top: clamp(18px, 3vh, 26px); border-top: 1px solid var(--hairline-2); }
.wcx__quote blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.4; color: var(--ink); text-wrap: balance; }
.wcx__quote figcaption { margin-top: 10px; font-size: 0.88rem; font-weight: 600; color: var(--sage-2); }

/* =====================================================================
   SERVICES fixes: the Web Collab head sits like every other section head
   (heading left, lead right); the six service cards use the display serif
   for their titles like the rest of the page, and the one "included" note
   sits under its card's text so all three cards in a row line up.
   ===================================================================== */
#web-collab .wcx__head { max-width: none; text-align: left; margin: 0 0 clamp(28px, 4.5vh, 48px); }
#web-collab .wcx__head .lead { margin: 0; max-width: 54ch; }
@media (min-width: 901px) {
    #web-collab .wcx__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
    #web-collab .wcx__head .h2 { margin: 0; }
}
.svc-cards .c-card__title { font-family: var(--font-display) !important; font-weight: 500 !important; letter-spacing: -0.01em; font-size: clamp(1.3rem, 1.7vw, 1.6rem) !important; }
.svc-cards .c-card__tag { margin: -4px 0 12px; }

/* =====================================================================
   WEB COLLAB + MY CTO, tidied: every piece snaps to one two-column grid.
   Each pane fills its column, its label and button sit on the pane's left
   edge, and on Services the heading/lead split uses the same gap as the
   panes, so the heading lines up over pane 1 and the lead over pane 2.
   ===================================================================== */
.wcx__panes { --wcx-gap: clamp(24px, 3vw, 48px); gap: var(--wcx-gap); }
.wcx__pane { align-items: stretch; gap: 16px; }
.wcx__pane > .wcx__demo, .wcx__pane > .ptl { max-width: none; }
.wcx__pane > .btn { align-self: flex-start; }
@media (min-width: 901px) {
    #web-collab .wcx__head { gap: clamp(24px, 3vw, 48px); }
}
.wcx__pane > .btn { order: 3; }

/* Both panes are browser windows with the same top bar; the My CTO app
   header sits under it like the barber site does on the left. Panes are
   sized to the viewport height too, so label + demo + button fit on a
   1280x720 screen. */
.ptl__chrome { flex: none; }
.ptl__bar { padding: 10px 16px; }
.wcx { --pane-h: 480px; }
@media (max-width: 600px) { .wcx { --pane-h: 500px; } }

/* My CTO demo scrolls like a real chat: once to bring our options into
   view, then again to the latest message after the client replies. */
@keyframes ptlScroll {
    0%, 20%   { transform: translateY(0); }
    30%, 50%  { transform: translateY(var(--ptl-scroll-1, var(--ptl-scroll, 0px))); }
    54%, 94%  { transform: translateY(var(--ptl-scroll, 0px)); }
    98%, 100% { transform: translateY(0); }
}

/* =====================================================================
   PORTAL v2 (/portal): the My CTO tour. Copy beside a mock of the real
   screen, alternating white sections and sand panels. Mocks follow the
   portal itself: white cards, warm hairlines, round status pills.
   Prefix: .pt-
   ===================================================================== */
.pt-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.pt-split--flip > .pt-copy { order: 2; }
.pt-copy .h-h2 { margin: 0 0 16px; }
.pt-copy .h-lead { margin: 0; }
.pt-points { list-style: none; margin: clamp(22px, 3.4vh, 32px) 0 0; padding: 0; display: grid; gap: 14px; }
.pt-points li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 0.98rem; line-height: 1.5; color: var(--ink-2); }
.pt-points li i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--tint-navy); color: var(--brand); font-size: 1rem; }
.h-panel .pt-points li i { background: #fff; }
.pt-points b { color: var(--ink); font-weight: 600; }
.pt-points a { color: var(--brand); font-weight: 600; }
.pt-foot { margin: 22px 0 0; display: flex; gap: 10px; align-items: center; font-size: 0.92rem; color: var(--sage-2); font-weight: 500; }

/* The app window every mock sits in */
.pt-app { background: #fff; border-radius: 18px; border: 1px solid var(--hairline); box-shadow: 0 1px 2px rgba(21,32,58,0.05), 0 30px 60px -32px rgba(21,32,58,0.35); overflow: hidden; color: var(--ink); }
.pt-app__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--hairline); }
.pt-app__title { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.95rem; }
.pt-app__save, .pt-ask { padding: 6px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.pt-ask { background: var(--accent); color: var(--ink); }

/* How we work together: tabs */
.pt-tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--hairline); overflow-x: auto; scrollbar-width: none; }
.pt-tabs::-webkit-scrollbar { display: none; }
.pt-tab { appearance: none; border: 0; background: none; padding: 10px 12px 12px; font: inherit; font-size: 0.86rem; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.pt-tab:hover { color: var(--ink); }
.pt-tab.is-on { color: var(--brand); border-bottom-color: var(--accent); }
.pt-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 6px; }
.pt-pane { padding: 22px clamp(18px, 2vw, 26px) 24px; min-height: 380px; }
.pt-q { margin: 0 0 14px; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.25; }
.pt-hint { margin: 14px 0 0; font-size: 0.82rem; color: var(--muted); }
.pt-choices { display: grid; gap: 10px; }
.pt-choice { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border: 1px solid var(--hairline-2); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.pt-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pt-choice__dot { width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--hairline-2); background: #fff; }
.pt-choice b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 0.94rem; }
.pt-choice b em { font-style: normal; font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--tint-marigold, #FAF0DA); color: var(--accent-2); }
.pt-choice small { display: block; margin-top: 3px; font-size: 0.82rem; line-height: 1.45; color: var(--muted); }
.pt-choice:hover { border-color: var(--brand); }
.pt-choice:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--brand-faint); }
.pt-choice:has(input:checked) .pt-choice__dot { border-color: var(--brand); background: radial-gradient(circle, var(--brand) 0 4px, #fff 5px); }
.pt-choice:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Monthly hours: a real slider */
.pt-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.pt-cap__val { font-family: var(--font-display); font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-weight: 500; color: var(--brand); line-height: 1; }
.pt-cap__money { font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.pt-range { --p: 21%; width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.pt-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) var(--p), var(--surface-3) var(--p)); }
.pt-range::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) var(--p), var(--surface-3) var(--p)); }
.pt-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 4px 10px rgba(21,32,58,0.25); }
.pt-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 4px 10px rgba(21,32,58,0.25); }
.pt-range:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 8px; }
.pt-range__ends { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.pt-callout { margin: 18px 0 0; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--tint-sage); font-size: 0.86rem; line-height: 1.5; color: var(--ink-2); }
.pt-callout i { color: var(--sage-2); font-size: 1.05rem; }

/* Budgets */
.pt-budgets { display: grid; gap: 14px; }
.pt-budget > small { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--muted); }
.pt-budget u { color: var(--brand); text-decoration-color: rgba(27,58,107,0.35); text-underline-offset: 2px; }
.pt-budget__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; font-size: 0.92rem; }
.pt-budget__top span { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.pt-budget__top small { font-family: var(--font-sans); font-size: 0.72rem; color: var(--muted); margin-left: 2px; }
.pt-bar { height: 7px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.pt-bar span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.pt-budget--infra { padding-top: 14px; border-top: 1px dashed var(--hairline-2); }
.pt-budget--infra .pt-bar span { background: var(--accent); }

/* Devices */
.pt-fields { display: grid; gap: 14px; }
.pt-field { display: grid; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.pt-select { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--hairline-2); border-radius: 10px; font-size: 0.92rem; font-weight: 500; color: var(--ink); }

/* Billing */
.pt-month { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.pt-month i { color: var(--muted); }
.pt-bill__body { padding: 8px clamp(18px, 2vw, 24px) 22px; }
.pt-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 0.94rem; font-weight: 600; }
.pt-line small { display: block; font-size: 0.8rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.pt-line--meter { display: block; }
.pt-meter { position: relative; height: 10px; margin-top: 10px; border-radius: 999px; background: var(--surface-3); }
.pt-meter span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--accent); }
.pt-meter i { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #fff; border-radius: 1px; }
.pt-free { margin: 12px 0 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--tint-sage); color: var(--sage-2); font-size: 0.82rem; font-weight: 600; }
.pt-did { margin-top: 16px; border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
.pt-did__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface-2); font-size: 0.86rem; }
.pt-pdf { display: inline-flex; gap: 6px; align-items: center; font-size: 0.78rem; font-weight: 600; color: var(--brand); white-space: nowrap; }
.pt-did__row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--hairline); font-size: 0.84rem; color: var(--ink-2); }
.pt-did__row > span:first-child { color: var(--muted); }
.pt-did__row b { font-variant-numeric: tabular-nums; color: var(--ink); }
.pt-switches { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.pt-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 0.84rem; font-weight: 600; color: var(--ink-2); }
.pt-switch i, .pt-sw i { position: relative; display: block; width: 34px; height: 20px; border-radius: 999px; background: var(--hairline-2); flex: none; }
.pt-switch i::after, .pt-sw i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.pt-switch.is-on i, .pt-sw.is-on i { background: var(--brand); }
.pt-switch.is-on i::after, .pt-sw.is-on i::after { left: 16px; }

/* Requests */
.pt-stack { position: relative; padding-bottom: clamp(70px, 9vw, 110px); }
.pt-req__tabs { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.pt-req__tabs span { padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.pt-req__tabs span.is-on { background: var(--brand-soft); color: var(--brand); }
.pt-req__tabs em { font-style: normal; margin-left: 3px; opacity: 0.7; }
.pt-req__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--hairline); }
.pt-req__row:last-child { border-bottom: 0; }
.pt-req { padding-bottom: clamp(40px, 5vw, 70px); }
.pt-req__n { font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pt-req__t { font-size: 0.92rem; font-weight: 600; min-width: 0; }
.pt-req__t small { display: block; font-size: 0.76rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.pt-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; white-space: nowrap; }
.pt-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pt-pill--new { background: var(--surface-3); color: var(--muted); }
.pt-pill--ready { background: var(--brand-soft); color: var(--brand); }
.pt-pill--prog { background: var(--accent-soft); color: var(--accent-2); }
.pt-pill--review { background: #fff; color: var(--sage-2); box-shadow: inset 0 0 0 1px var(--sage-light); }
.pt-thread { position: absolute; right: clamp(-28px, -2vw, 0px); bottom: 0; width: min(330px, 78%); padding: 16px; box-shadow: 0 30px 60px -24px rgba(21,32,58,0.45); }
.pt-thread__h { margin: 0 0 12px; display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 700; }
.pt-thread__h span { font-weight: 500; color: var(--muted); }
.pt-msg { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; }
.pt-msg p { margin: 0; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); border: 1px solid var(--hairline); font-size: 0.82rem; line-height: 1.45; color: var(--ink-2); }
.pt-msg--me { justify-content: flex-end; }
.pt-msg--me p { border-radius: 14px 14px 4px 14px; background: var(--brand); border-color: var(--brand); color: #fff; }
.pt-msg__ava { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 0.62rem; font-weight: 700; }

/* Tile art (inside the white box of .h-tile__art) */
.pt-art { width: 100%; max-width: 320px; font-size: 0.82rem; color: var(--ink-2); }
.pt-art p { margin: 0; }
.pt-art--cap { padding: 0 6px; }
.pt-art__meter { position: relative; height: 12px; border-radius: 999px; background: var(--surface-3); margin: 34px 0 0; }
.pt-art__fill { position: absolute; inset: 0 22% 0 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand) 60%, var(--accent)); }
.pt-art__flag { position: absolute; left: 78%; bottom: -6px; height: 50px; border-right: 2px dashed var(--brand); padding: 0 6px 0 0; display: flex; align-items: flex-start; gap: 4px; font-size: 0.72rem; font-weight: 700; color: var(--brand); white-space: nowrap; transform: translateX(-100%); }
.pt-art__note { margin-top: 26px !important; display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: var(--brand); color: #fff; font-weight: 500; }
.pt-art--bill p { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--hairline); }
.pt-art--bill b { font-variant-numeric: tabular-nums; color: var(--ink); }
.pt-art .pt-art__free, .pt-art .pt-art__free b { color: var(--sage-2); }
.pt-art .pt-art__total { border-bottom: 0; font-weight: 700; color: var(--ink); }
.pt-art__total b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.pt-art--cto { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--hairline); border-radius: 14px; box-shadow: 0 14px 30px -20px rgba(21,32,58,0.4); }
.pt-art__ava { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; font-size: 0.9rem; }
.pt-art__ava--sm { width: 30px; height: 30px; font-size: 0.66rem; }
.pt-art__who { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.pt-art__who small { font-size: 0.72rem; color: var(--muted); }
.pt-art__who b { font-size: 0.98rem; color: var(--ink); }
.pt-art__btns { display: flex; gap: 6px; }
.pt-art__btns i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--tint-navy); color: var(--brand); }
.pt-art--team p, .pt-art--dev p { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--hairline); }
.pt-art--team p > span:nth-child(2), .pt-art--dev p > span { font-weight: 600; color: var(--ink); line-height: 1.2; }
.pt-art small { display: block; font-size: 0.72rem; font-weight: 400; color: var(--muted); }
.pt-art .pt-sw { display: inline-flex; }
.pt-art .pt-art__add { display: flex; gap: 6px; border-bottom: 0; padding-top: 10px; font-weight: 600; color: var(--brand); }
.pt-art--dev p > i { color: var(--brand); font-size: 1.05rem; }
.pt-art--dev em { font-style: normal; font-size: 0.7rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pt-art--dev em.ok { background: var(--tint-sage); color: var(--sage-2); }
.pt-art--dev em.warn { background: var(--accent-soft); color: var(--accent-2); }
.pt-art--plan p { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--hairline); }
.pt-art--plan p > span { color: var(--muted); }
.pt-art--plan b { color: var(--ink); }
.pt-art--plan .pt-art__doc { margin-top: 10px; justify-content: flex-start; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 10px; font-weight: 600; color: var(--ink); }
.pt-art__doc .bi-file-earmark-pdf { color: #B4403B; }
.pt-art__doc .bi-download { margin-left: auto; color: var(--brand); }

/* Everything inside: white items on the panel */
.pt-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.pt-index li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: clamp(16px, 1.6vw, 22px); background: #fff; border-radius: 16px; }
.pt-index i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--tint-navy); color: var(--brand); font-size: 1.1rem; }
.pt-index b { display: block; font-size: 1rem; color: var(--ink); margin-bottom: 3px; }
.pt-index span { display: block; font-size: 0.88rem; line-height: 1.5; color: var(--ink-2); }

@media (max-width: 1100px) {
    .pt-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .pt-split { grid-template-columns: minmax(0, 1fr); }
    .pt-split--flip > .pt-copy { order: 0; }
    .pt-thread { right: 0; }
}
@media (max-width: 600px) {
    .pt-index { grid-template-columns: minmax(0, 1fr); }
    .pt-pane { min-height: 0; }
    .pt-stack { padding-bottom: 0; }
    .pt-req { padding-bottom: 0; }
    .pt-thread { position: relative; right: auto; width: auto; margin: -12px 12px 0; }
    .pt-req__row { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 14px; }
    .pt-req__n { display: none; }
    .pt-did__row { grid-template-columns: 46px minmax(0, 1fr) auto; }
}
@media (max-width: 420px) { .pt-tabs { padding-inline: 8px; gap: 0; } .pt-tab { padding: 10px 8px 12px; font-size: 0.8rem; } }
/* Portal hero card: plain sentence-case labels, no shouting. */
.hero-float .pm-eyebrow, .hero-float .pm-cto-label, .hero-float .pm-preview-badge { text-transform: none; letter-spacing: 0; }
/* No surprises tile: a plain invoice, the way a real bill reads. */
.pt-inv__meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 0.78rem; color: var(--muted); }
.pt-inv__meta b { color: var(--ink); font-weight: 700; }
.pt-inv { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; column-gap: 12px; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.pt-inv > span { padding: 6px 0; border-bottom: 1px solid var(--hairline); color: var(--ink-2); }
.pt-inv > span:not(:nth-child(4n+1)) { text-align: right; }
.pt-inv .pt-inv__h { padding-top: 0; font-size: 0.7rem; font-weight: 600; color: var(--muted); border-bottom-color: var(--hairline-2); }
.pt-inv .pt-inv__credit { color: var(--sage-2); font-weight: 600; }
.pt-inv .pt-inv__total { border-bottom: 0; padding-top: 8px; font-weight: 700; color: var(--ink); }
.pt-inv > span { white-space: nowrap; }
.pt-art--bill { container-type: inline-size; }
@container (max-width: 260px) { .pt-inv { font-size: 0.7rem; column-gap: 7px; } .pt-inv .pt-inv__h { font-size: 0.64rem; } .pt-inv__meta { font-size: 0.7rem; } }
.pt-inv .pt-c { font-style: normal; }
@container (max-width: 225px) { .pt-inv .pt-c { display: none; } }

/* =====================================================================
   WEB COLLAB v2 (/webcollab): promise tiles and the request record.
   Reuses the .pt- app window, points, pills and messages from /portal.
   Prefix: .wc-
   ===================================================================== */
.wc-art { text-align: center; }
.wc-art p { margin: 0; }
.wc-art__q { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--ink); margin-bottom: 14px !important; }
.wc-art__btns { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.wc-art__btns span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.82rem; }
.wc-art__go { background: var(--brand); color: #fff; }
.wc-art__more { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline-2); }
.wc-art__note { margin-top: 12px !important; font-size: 0.76rem; color: var(--muted); }
.wc-art--point { position: relative; display: grid; place-items: center; min-height: 120px; }
.wc-art__target { position: relative; padding: 9px 20px; border-radius: 8px; background: #8E2B2B; color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; outline: 2px dashed #4F46E5; outline-offset: 6px; }
.wc-art__tag { position: absolute; left: 50%; top: calc(50% - 46px); transform: translateX(-50%); padding: 2px 9px; border-radius: 999px; background: #4F46E5; color: #fff; font-size: 0.68rem; font-weight: 600; }
.h-tile__art svg.wc-art__cursor { position: absolute; left: calc(100% - 26px); top: calc(100% - 14px); width: 22px; height: 22px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.wc-art--log { text-align: left; }
.wc-art--log p { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--hairline); font-weight: 600; color: var(--ink); }
.wc-art--log p:last-child { border-bottom: 0; }

.pt-foot a { color: var(--brand); font-weight: 600; }

/* My CTO demo as a chat: a reply bar pinned to the bottom of the request,
   drawn in CSS so the demo's markup stays the /services original. The
   scroll (motion.js) stops with the last message just above the bar. */
.ptl { --ptl-compose: 58px; }
.ptl__detail::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: var(--ptl-compose); background: #fff; border-top: 1px solid var(--hairline); box-shadow: 0 -10px 18px -12px rgba(21,32,58,0.18); }
.ptl__detail::after {
    content: "Reply to John\2026"; position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 11px; height: 36px;
    display: flex; align-items: center; padding: 0 44px 0 14px; box-sizing: border-box; border-radius: 999px;
    background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill='%231B3A6B'/%3E%3Cpath d='M9 14.2 19 9.5l-3.6 10-2-4.1z' fill='%23fff'/%3E%3C/svg%3E") no-repeat right 4px center / 28px 28px;
    border: 1px solid var(--hairline); font-size: 0.82rem; color: var(--muted);
}
.ptl__scroll { padding-bottom: calc(var(--ptl-compose) + 22px); }

/* /webcollab "Then follow it": the billing screen's time entries, with the
   demo's request (#214) selected and linked to its task. */
.wc-bill { font-variant-numeric: tabular-nums; }
.wc-bill__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--hairline); }
.wc-bill__top .pt-app__title { padding: 14px 0; }
.wc-bill__tabs { display: flex; gap: 2px; align-self: stretch; }
.wc-bill__tabs span { display: flex; align-items: center; padding: 0 10px; font-size: 0.8rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.wc-bill__tabs .is-on { color: var(--brand); border-bottom-color: var(--brand); }
.wc-bill__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.wc-bill__period { display: inline-flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.wc-bill__period i { font-size: 0.72rem; color: var(--muted); }
.wc-bill__acts { display: flex; gap: 6px; }
.wc-bill__btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border: 1px solid var(--hairline-2); border-radius: 8px; font-size: 0.74rem; font-weight: 600; color: var(--ink-2); background: #fff; }
.wc-bill__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 18px; border: 1px solid var(--hairline); border-radius: 10px; }
.wc-bill__stats > div { padding: 10px 12px; }
.wc-bill__stats > div + div { border-left: 1px solid var(--hairline); }
.wc-bill__stats small { display: block; font-size: 0.7rem; font-weight: 600; color: var(--muted); }
.wc-bill__stats b { display: block; margin-top: 2px; font-size: 0.98rem; color: var(--ink); white-space: nowrap; }
.wc-bill__stats em { font-style: normal; font-weight: 500; font-size: 0.78rem; color: var(--muted); }
.wc-bill__table { margin-top: 14px; }
.wc-bill__row { display: grid; grid-template-columns: 50px minmax(0, 1fr) 30px 62px 62px; gap: 10px; align-items: center; padding: 11px 18px; border-top: 1px solid var(--hairline); font-size: 0.82rem; color: var(--ink-2); }
.wc-bill__row > :nth-child(4), .wc-bill__row > :nth-child(5) { text-align: right; }
.wc-bill__row > :nth-child(3) { display: flex; justify-content: center; }
.wc-bill__row--h { padding-block: 8px; background: var(--surface-2); font-size: 0.7rem; font-weight: 600; color: var(--muted); }
.wc-bill__row > :first-child { color: var(--muted); }
.wc-bill__row b { font-weight: 600; color: var(--ink); }
.wc-bill__row.is-sel { background: var(--brand-faint); box-shadow: inset 3px 0 0 var(--brand); }
.wc-bill__task { color: var(--brand); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(27,58,107,0.3); text-underline-offset: 3px; }
.wc-bill__tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #EEF0FE; color: #4F46E5; font-size: 0.68rem; font-weight: 600; text-decoration: none; white-space: nowrap; vertical-align: 1px; }
.wc-bill__ava { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-style: normal; font-size: 0.58rem; font-weight: 700; }
.wc-bill__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px 14px; border-top: 1px solid var(--hairline-2); font-size: 0.78rem; color: var(--muted); }
.wc-bill__sum { display: flex; gap: 16px; align-items: baseline; font-size: 0.84rem; color: var(--ink-2); }
.wc-bill__sum b { font-size: 1rem; color: var(--ink); }
.wc-bill__stats .wc-bill__of { display: block; margin-top: 1px; font-size: 0.7rem; }
.wc-bill__stats .wc-bill__of { white-space: normal; }
.wc-bill__row > :nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
@container wcbill (max-width: 340px) { .wc-bill__period { font-size: 0.78rem; gap: 5px; } .wc-bill__stats b { font-size: 0.88rem; white-space: normal; } .wc-bill__stats > div { padding: 9px 9px; } }
/* Narrow card (phones, and the two-column layout around 900px): keep task,
   duration and amount; drop date, person and the extra tabs. */
.wc-bill { container: wcbill / inline-size; }
@container wcbill (max-width: 460px) {
    .wc-bill__top { padding: 0 14px; }
    .wc-bill__tabs span:not(.is-on) { display: none; }
    .wc-bill__head, .wc-bill__row, .wc-bill__foot { padding-inline: 14px; }
    .wc-bill__stats { margin-inline: 14px; }
    .wc-bill__row { grid-template-columns: minmax(0, 1fr) 58px 62px; }
    .wc-bill__row > :first-child, .wc-bill__row > :nth-child(3) { display: none; }
    .wc-bill__acts .wc-bill__btn:first-child { display: none; }
}
@container wcbill (max-width: 300px) { .wc-bill__stats b em:not(.wc-bill__of) { display: none; } }

/* /webcollab rhythm: "How we build it" follows another white section, so it
   drops its own top padding (one gap between them, not two), and the demo's
   heading sits like every other section head on the page (heading left,
   lead right), the same as the demo on /services. */
#promises + #how { padding-top: 0; }
#demo .wcx__head { max-width: none; text-align: left; margin: 0 0 clamp(28px, 4.5vh, 48px); }
#demo .wcx__head .lead { margin: 0; max-width: 54ch; }
@media (min-width: 901px) {
    #demo .wcx__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: end; }
    #demo .wcx__head .h2 { margin: 0; }
}

/* =====================================================================
   /webcollab "How we build it": four steps, each with a small picture of
   what you see at that stage (Iron Pole, as elsewhere on the page), one
   line joining the numbers, and a loop under steps 3 and 4.
   Prefix: .hb
   ===================================================================== */
.hb { --g: clamp(20px, 2.4vw, 40px); --art-h: 168px; }
.hb__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.hb__step { position: relative; min-width: 0; }
.hb__step h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.2; color: var(--ink); }
.hb__step > p:not(.hb__when) { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--ink-2); }
.hb__when { margin: 0 0 4px; font-size: 0.84rem; font-weight: 600; color: var(--sage-2); }

/* the numbers and the line that joins them */
.hb__n { position: relative; z-index: 1; width: 40px; height: 40px; margin: 20px 0 14px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; box-shadow: 0 0 0 6px var(--surface); }
.hb__step:nth-child(1) .hb__n { background: #DCE6DE; color: var(--sage-2); }
.hb__step:nth-child(2) .hb__n { background: #9DB8A9; color: #fff; }
.hb__step:nth-child(3) .hb__n { background: linear-gradient(160deg, #557771, #3B5A6B); color: #fff; }
.hb__step:nth-child(4) .hb__n { background: linear-gradient(160deg, #24467D, var(--brand-2)); color: var(--marigold-light); }
.hb__step:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--art-h) + 39px); left: 52px; right: calc(-1 * var(--g) + 6px); height: 2px; }
.hb__step:nth-child(1)::after { background: linear-gradient(90deg, #DCE6DE, #9DB8A9); }
.hb__step:nth-child(2)::after { background: linear-gradient(90deg, #9DB8A9, #557771); }
.hb__step:nth-child(3)::after { background: linear-gradient(90deg, #557771, var(--brand)); }

/* the pictures */
.hb__art { position: relative; height: var(--art-h); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; background: var(--tint-navy); font-size: 0.78rem; color: var(--ink-2); }
.hb__step:nth-child(2) .hb__art { background: var(--tint-sage); }
.hb__step:nth-child(3) .hb__art { background: var(--tint-marigold, #FAF0DA); }
.hb__step:nth-child(4) .hb__art { background: var(--tint-navy); }
.hb__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; color: #8E2B2B; }
.hb__logo em { font-style: normal; font-weight: 500; color: #8A7A62; }
.hb__swatches { display: flex; gap: 8px; }
.hb__swatches i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px #fff, 0 4px 10px -4px rgba(0,0,0,0.35); }
.hb__type { font-size: 0.76rem; color: var(--muted); }
.hb__type b { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); margin-right: 4px; }
.hb__note { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 12px 12px 12px 4px; background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 600; white-space: nowrap; }
.hb__browser { width: 100%; border-radius: 10px; background: #fff; box-shadow: 0 10px 24px -14px rgba(21,32,58,0.45); overflow: hidden; }
.hb__bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--hairline); }
.hb__bar > i { width: 6px; height: 6px; border-radius: 50%; background: #E1E3E7; }
.hb__bar b { flex: 1; min-width: 0; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: #F3F4F6; font-size: 0.62rem; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb__bar img { border-radius: 4px; box-shadow: 0 0 0 2px rgba(79,70,229,0.35); }
.hb__page { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; background: #FBF8F2; }
.hb__page b { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: #222; }
.hb__btn { padding: 4px 10px; border-radius: 5px; background: #8E2B2B; color: #fff; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.hb__target { padding: 8px 18px; border-radius: 7px; background: #8E2B2B; color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; outline: 2px dashed #4F46E5; outline-offset: 5px; }
.hb__bubble { margin-top: 8px; padding: 8px 12px; border-radius: 12px; background: #fff; color: var(--ink); font-size: 0.76rem; font-weight: 600; box-shadow: 0 10px 24px -12px rgba(21,32,58,0.4); white-space: nowrap; }
.hb__target { position: relative; }
.hb__cursor { position: absolute; left: calc(100% - 26px); top: calc(100% - 14px); width: 22px; height: 22px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.hb__q { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.hb__choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.hb__choices span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; white-space: nowrap; }
.hb__go { background: var(--brand); color: #fff; }
.hb__more { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline-2); }

/* the weekly loop under steps 3 and 4 */
.hb__loop { position: relative; margin: 18px 0 0 calc(50% + var(--g) / 2); text-align: center; }
.hb__arc { display: block; width: 100%; height: 40px; overflow: visible; }
.hb__arc path { stroke: var(--sage); }
.hb__head { position: absolute; left: calc(25% - 7px); top: -2px; font-size: 0.9rem; line-height: 1; color: var(--sage); }
.hb__loop p { margin: 8px 0 0; display: inline-flex; gap: 8px; align-items: flex-start; text-align: left; font-size: 0.9rem; line-height: 1.5; color: var(--sage-2); font-weight: 500; }
.hb__loop p i { margin-top: 2px; }

@media (max-width: 1100px) {
    .hb__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .hb__step:nth-child(2)::after { display: none; }
    .hb__loop { margin-left: 0; }
    .hb__arc, .hb__head { display: none; }
    .hb__loop p { margin-top: 0; }
}
@media (max-width: 600px) {
    .hb { --art-h: 150px; }
    .hb__steps { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
    .hb__step::after { display: none; }
    .hb__loop { text-align: left; }
}
@media (max-width: 600px) { .hb__art { height: auto; min-height: var(--art-h); } }
.h-tile__art svg.wc-art__cursor { max-width: none; }

/* /services "How it works" in the same timeline style: its own pictures,
   the "see more" links under each step, and the same-contact note as a
   quiet line instead of a footer bar. */
.hb__step { display: flex; flex-direction: column; }
.hb__step .link-arrow { display: inline-flex; align-self: flex-start; margin-top: auto; padding-top: 12px; }
.hb__card { width: min(100%, 220px); display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -14px rgba(21,32,58,0.4); }
.hb__card > b { font-size: 0.8rem; color: var(--ink); margin-bottom: 2px; }
.hb__check { display: flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 500; color: var(--ink-2); }
.hb__check i { width: 18px; height: 18px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; }
.hb__check.is-ok i { background: var(--tint-sage); color: var(--sage-2); }
.hb__check.is-flag i { background: var(--accent-soft); color: var(--accent-2); }
.hb__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.hb__chips span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: #fff; font-size: 0.7rem; font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1px var(--hairline); }
.hb__down { color: var(--sage); font-size: 0.95rem; line-height: 1; }
.hb__one { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 0.8rem; font-weight: 600; }
.hb__ava { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); font-style: normal; font-size: 0.58rem; font-weight: 700; }
.hb__queue { width: min(100%, 220px); display: flex; flex-direction: column; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -14px rgba(21,32,58,0.4); overflow: hidden; }
.hb__queue span { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 0.78rem; font-weight: 600; color: var(--ink); }
.hb__queue span + span { border-top: 1px solid var(--hairline); }
.hb__queue i { color: var(--brand); }
.hb__queue em { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-style: normal; font-size: 0.7rem; text-align: center; }

/* /services "How it works": one picture for the whole journey. Time spent
   running the business falls as time spent growing it rises; they cross
   under step 3 (the off-ramp). The steps sit straight under it, with no
   picture of their own. */
.hb-arc { position: relative; height: 150px; margin: 0 0 18px; }
.hb-arc__svg { position: absolute; left: 0; right: 0; top: 34px; width: 100%; height: 104px; overflow: visible; }
.hb-arc__fill { fill: var(--tint-marigold, #FAF0DA); }
.hb-arc__run, .hb-arc__grow { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hb-arc__run { stroke: var(--hairline-2); }
.hb-arc__grow { stroke: var(--accent); }
.hb-arc__key { position: absolute; left: 0; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.hb-arc__key--run { top: 30px; color: var(--muted); }
.hb-arc__key--grow { top: 99px; color: var(--accent-2); }
.hb-arc__tag { position: absolute; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.hb-arc__tag--off { left: 62.73%; transform: translateX(-50%); background: var(--brand); color: #fff; }
.hb-arc__tag--off::after { content: ""; position: absolute; left: 50%; margin-left: -1px; top: 100%; height: 60px; border-left: 2px dashed var(--brand); opacity: 0.45; }
.hb-arc__tag--grow { right: 0; background: var(--accent-soft); color: var(--accent-2); }
#process .hb__n { margin-top: 0; }
#process .hb__step:not(:last-child)::after { top: 19px; }
@media (max-width: 1100px) {
    .hb-arc { height: auto; padding-top: 150px; margin-bottom: 28px; }
    .hb-arc__tag--off { position: static; transform: none; display: flex; width: fit-content; margin-top: 4px; white-space: normal; }
    .hb-arc__tag--off::after { display: none; }
}
/* Tidy: an icon in each step's circle (the step number moves to its label),
   and the "running it" line in faded navy so both lines read as one chart. */
#process .hb__n { font-size: 1.05rem; }
#process .hb__n i { line-height: 1; }
.hb-arc__run { stroke: var(--brand); stroke-opacity: 0.35; }
.hb-arc__key--run { color: var(--brand); opacity: 0.7; }

/* /services: Web Collab (white) now sits right above the client results
   (white), so the results drop their top padding: one gap, not two. */
#web-collab + .pfx { padding-top: 0; }

/* =====================================================================
   PRICING v2 (/pricing): the plan finder. Slide to your headcount; the
   card on the right is your first month's bill, line by line, in the same
   invoice style as /portal and /webcollab. Prefix: .pz
   ===================================================================== */
.pz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.pz__count { margin: 0 0 18px; display: flex; align-items: baseline; gap: 12px; }
.pz__count #count { font-family: var(--font-display); font-weight: 500; font-size: clamp(3.2rem, 5vw, 4.4rem); line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.pz__unit { font-size: 1.05rem; font-weight: 500; color: var(--ink-2); }
.pz__slider { --p: 20%; width: 100%; height: 32px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.pz__slider::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) var(--p), var(--surface-3) var(--p)); }
.pz__slider::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) var(--p), var(--surface-3) var(--p)); }
.pz__slider::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 6px 14px rgba(21,32,58,0.25); }
.pz__slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 6px 14px rgba(21,32,58,0.25); }
.pz__slider:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; border-radius: 10px; }
.pz__rail { list-style: none; margin: 10px 0 0; padding: 0; display: flex; }
.pz__rail li { flex: 0 0 var(--w); min-width: 0; padding: 8px 6px 0 0; border-top: 3px solid var(--hairline); display: flex; flex-direction: column; gap: 1px; transition: border-color .2s; }
.pz__rail li + li { border-left: 2px solid #fff; }
.pz__rail b { font-size: 0.8rem; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .2s; }
.pz__rail span { font-size: 0.74rem; color: var(--faint, var(--muted)); }
.pz__rail li.is-on { border-top-color: var(--accent); }
.pz__rail li.is-on b { color: var(--ink); }
.pz__rail li:last-child { align-items: flex-end; padding-right: 0; }
.pz__anchor { margin: clamp(26px, 4vh, 36px) 0 0; padding-top: 22px; border-top: 1px solid var(--hairline); font-size: 0.98rem; line-height: 1.55; color: var(--ink-2); }
.pz__anchor strong { color: var(--ink); }
.pz__safe { margin-top: 18px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--tint-sage); }
.pz__safe > i { color: var(--sage-2); font-size: 1.15rem; margin-top: 1px; }
.pz__safe p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.pz__safe .pz__safe-h { margin-bottom: 4px; font-weight: 600; color: var(--ink); }
.pz__safe .pz__safe-note { margin-top: 6px; font-size: 0.82rem; color: var(--muted); }
.pz__safe a { color: var(--brand); font-weight: 600; }

/* the bill */
.pz__bill { font-variant-numeric: tabular-nums; }
.pz__bill-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 22px 16px; border-bottom: 1px solid var(--hairline); }
.pz__plan { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
.pz__range { margin: 4px 0 0; font-size: 0.86rem; color: var(--muted); }
.pz__badge { flex: none; padding: 4px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 0.76rem; font-weight: 600; }
.pz__row { display: grid; grid-template-columns: minmax(0, 1fr) 62px 66px 78px; gap: 10px; align-items: baseline; padding: 11px 22px; border-bottom: 1px solid var(--hairline); font-size: 0.9rem; color: var(--ink-2); }
.pz__row > :nth-child(n+2) { text-align: right; }
.pz__row > :nth-child(2), .pz__row > :nth-child(3) { color: var(--muted); white-space: nowrap; }
.pz__row b { font-weight: 600; color: var(--ink); }
.pz__row small { display: block; margin-top: 2px; font-size: 0.76rem; color: var(--muted); }
.pz__row--h { padding-block: 8px; background: var(--surface-2); font-size: 0.74rem; font-weight: 600; color: var(--muted); }
.pz__row--h > * { color: var(--muted); }
.pz__row b.pz__free { color: var(--sage-2); }
.pz__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 22px 4px; }
.pz__total > span { font-weight: 600; color: var(--ink); }
.pz__total b { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1; color: var(--brand); }
.pz__total small { font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.pz__after { margin: 6px 22px 0; font-size: 0.84rem; line-height: 1.5; color: var(--muted); }
.pz__cta { display: flex; justify-content: center; width: calc(100% - 44px); margin: 18px 22px 0; }
.pz__cta-note { margin: 10px 22px 20px; text-align: center; font-size: 0.8rem; color: var(--muted); }
.pz__bill.is-talk .pz__total b { font-size: clamp(1.6rem, 2.4vw, 2rem); }

@media (max-width: 900px) {
    .pz { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    /* too narrow for four names: show only the tier you're in, under its segment */
    .pz__rail li:not(.is-on) b { visibility: hidden; }
    .pz__rail span { display: none; }
    .pz__rail li.is-on { overflow: visible; }
    .pz__rail li.is-on b { position: relative; z-index: 1; }
    .pz__rail li[data-tier="foundation"].is-on b { margin-left: 0; }
}
@media (max-width: 520px) {
    .pz__row { grid-template-columns: minmax(0, 1fr) 54px 72px; gap: 8px; padding-inline: 16px; }
    .pz__row > :nth-child(3) { display: none; }
    .pz__bill-top, .pz__total { padding-inline: 16px; }
    .pz__after { margin-inline: 16px; }
    .pz__cta { width: calc(100% - 32px); margin-inline: 16px; }
}

/* /pricing "Almost everything's included": six white cards on the panel
   (two rows of three), the two priced items as one small ledger, then the
   client quote. Prefix: .inc */
.inc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.inc__card { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2vw, 28px); border-radius: 20px; background: #fff; }
.inc__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-navy); color: var(--brand); font-size: 1.15rem; }
.inc__card:nth-child(3n+2) .inc__ico { background: var(--tint-sage); color: var(--sage-2); }
.inc__card:nth-child(3n+3) .inc__ico { background: var(--tint-marigold, #FAF0DA); color: var(--accent-2); }
.inc__card h3 { margin: 4px 0 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.4vw, 1.3rem); line-height: 1.25; color: var(--ink); }
.inc__worth { display: table; margin-top: 6px; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-family: var(--font-sans); font-size: 0.74rem; font-weight: 600; vertical-align: 3px; white-space: nowrap; }
.inc__card p { margin: 0; font-size: 0.93rem; line-height: 1.55; color: var(--ink-2); }
.inc__priced { margin-top: clamp(28px, 4vh, 44px); }
.inc__priced-h { margin: 0 0 12px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.6vw, 1.45rem); color: var(--ink); }
.inc__ledger { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 20px; background: #fff; overflow: hidden; }
.inc__ledger > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px clamp(20px, 2vw, 28px); }
.inc__ledger > div + div { border-left: 1px solid var(--hairline); }
.inc__ledger dt { font-weight: 600; color: var(--ink); }
.inc__ledger dt small { display: block; margin-top: 2px; font-weight: 400; font-size: 0.84rem; color: var(--muted); }
.inc__ledger dd { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; line-height: 1; color: var(--brand); white-space: nowrap; }
.inc__ledger dd span { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.inc__foot { margin: 14px 0 0; display: flex; gap: 8px; align-items: center; font-size: 0.88rem; font-weight: 600; color: var(--sage-2); }
.pricing-quote.inc__quote { margin-top: clamp(48px, 7vh, 72px); }
@media (max-width: 1000px) { .inc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .inc { grid-template-columns: minmax(0, 1fr); }
    .inc__ledger { grid-template-columns: minmax(0, 1fr); }
    .inc__ledger > div + div { border-left: 0; border-top: 1px solid var(--hairline); }
}
/* the "hands-on work in a month" slider under the headcount one */
.pz__hours { margin-top: clamp(24px, 3.5vh, 32px); padding: 18px 20px 16px; border-radius: 16px; background: var(--tint-marigold, #FAF0DA); }
.pz__hours-h { margin: 0 0 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; color: var(--ink); }
.pz__hours-h b { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.pz__slider--hours::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--accent) var(--p), #fff var(--p)); }
.pz__slider--hours::-moz-range-track { background: linear-gradient(90deg, var(--accent) var(--p), #fff var(--p)); }
.pz__slider--hours::-webkit-slider-thumb { border-color: var(--brand); }
.pz__slider--hours::-moz-range-thumb { border-color: var(--brand); }
.pz__hours-note { margin: 6px 0 0; font-size: 0.84rem; line-height: 1.5; color: var(--ink-2); }
.pz__hours.is-off { opacity: 0.45; pointer-events: none; }
/* One column: keep the bill right under the sliders so it changes in view,
   with the "less than one hire" line and the cancel note after it. */
@media (max-width: 900px) {
    .pz { gap: 0; }
    .pz__left { display: contents; }
    .pz__count, .pz__slider, .pz__rail, .pz__hours { order: 1; }
    .pz__bill { order: 2; margin-top: 24px; }
    .pz__anchor, .pz__safe { order: 3; }
}
/* The note under the total wraps differently per plan; reserve two lines so the bill never changes height as you slide. */
.pz__after { min-height: 3em; }

/* Cleaner plan finder: two matching sliders, plan names only on the rail,
   and two quiet notes instead of the big cancellation box. */
.pz__rail span { display: none; }
.pz__hours { margin-top: clamp(30px, 4.5vh, 44px); padding: 0; background: none; border-radius: 0; }
.pz__count--hours #hours-out { color: var(--accent-2); font-size: clamp(2.4rem, 3.6vw, 3.2rem); }
.pz__count--hours { margin-bottom: 12px; }
.pz__hours-note { margin: 12px 0 0; min-height: 3em; font-size: 0.92rem; line-height: 1.5; color: var(--muted); }
.pz__hours-note b { font-weight: 600; color: var(--ink); }
.pz__slider--hours::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--accent) var(--p), var(--surface-3) var(--p)); }
.pz__slider--hours::-moz-range-track { background: linear-gradient(90deg, var(--accent) var(--p), var(--surface-3) var(--p)); }
.pz__notes { list-style: none; margin: clamp(26px, 4vh, 36px) 0 0; padding: 20px 0 0; border-top: 1px solid var(--hairline); display: grid; gap: 10px; }
.pz__notes li { display: block; padding-left: 26px; text-indent: -26px; font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
.pz__notes i { display: inline-block; width: 16px; margin-right: 10px; text-indent: 0; color: var(--sage-2); }
.pz__notes strong { color: var(--ink); }
.pz__notes a { color: var(--brand); font-weight: 600; }
@media (max-width: 900px) { .pz__notes { order: 3; } }

/* /pricing limit section, tighter: shorter chart, closer key rows. */
.model { gap: clamp(32px, 4vw, 56px); }
.model .va-cap__plot { height: clamp(170px, 20vw, 220px); }
.model__chart { padding: 20px 22px 14px; }
.model__key li { padding: 14px 0; }
.model__h { font-size: 1.2rem; }

/* Included, compact: one white card, a three-across checklist with thin
   rules between rows, one short line per item. */
.inc--list { gap: 0; background: #fff; border-radius: 20px; padding: 8px clamp(20px, 2.2vw, 32px); }
.inc--list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; padding: 20px 0; }
.inc--list li:nth-child(n+4) { border-top: 1px solid var(--hairline); }
.inc--list li:nth-child(3n+2), .inc--list li:nth-child(3n+3) { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--hairline); }
.inc--list .inc__ico { width: 36px; height: 36px; border-radius: 10px; font-size: 1rem; }
.inc--list li:nth-child(3n+2) .inc__ico { background: var(--tint-sage); color: var(--sage-2); }
.inc--list li:nth-child(3n+3) .inc__ico { background: var(--tint-marigold, #FAF0DA); color: var(--accent-2); }
.inc--list h3 { margin: 0 0 3px; font-family: var(--font-sans); font-weight: 600; font-size: 0.98rem; line-height: 1.35; color: var(--ink); }
.inc--list .inc__worth { display: inline-block; margin: 0 0 0 6px; vertical-align: 1px; }
.inc--list p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink-2); }
.inc__priced { margin-top: clamp(20px, 3vh, 28px); }
@media (max-width: 1000px) {
    .inc--list li:nth-child(n) { padding-left: 0; border-left: 0; border-top: 1px solid var(--hairline); }
    .inc--list li:nth-child(odd) { padding-right: clamp(16px, 2vw, 28px); }
    .inc--list li:nth-child(even) { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--hairline); }
    .inc--list li:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 640px) {
    .inc--list li:nth-child(n) { padding: 16px 0; border-left: 0; border-top: 1px solid var(--hairline); }
    .inc--list li:first-child { border-top: 0; }
}

/* /pricing: the client quote as its own short band. The FAQ under it is
   white too, so it drops its top padding: one gap, not two. */
.pq { padding-block: clamp(56px, 8vh, 96px); }
.pq .pricing-quote { margin: 0 auto; }
.pq + #faq { padding-top: 0; }

/* Plan finder: a small label over each slider and a rule between them, so
   "your team" and "your hands-on work" read as two separate questions. */
.pz__label { margin: 0 0 6px; font-size: 0.86rem; font-weight: 600; color: var(--sage-2); }
.pz__hours { margin-top: clamp(28px, 4vh, 40px); padding-top: clamp(24px, 3.5vh, 34px); border-top: 1px solid var(--hairline-2); }
@media (max-width: 900px) { .pz__label { order: 1; } }

/* Plan finder, two steps: "1 Your team" on the page, "2 See what a month
   looks like" in its own soft marigold card, so the hours read as a
   what-if on top of the plan. */
.pz__label { display: flex; align-items: center; gap: 8px; }
.pz__label span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 700; }
.pz__hours { margin-top: clamp(30px, 4.5vh, 44px); padding: clamp(20px, 2.2vw, 28px); border-top: 0; border-radius: 20px; background: var(--tint-marigold, #FAF0DA); }
.pz__hours .pz__label { color: var(--accent-2); }
.pz__hours .pz__label span { background: var(--accent-2); }
.pz__slider--hours::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--accent) var(--p), #fff var(--p)); }
.pz__slider--hours::-moz-range-track { background: linear-gradient(90deg, var(--accent) var(--p), #fff var(--p)); }
.pz__hours .pz__hours-note { color: var(--ink-2); }
.pz__hours + .pz__notes { border-top: 0; padding-top: 0; }

/* Nav: the current page is lit inside the pill. */
.nav-links .nav-link.is-active { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 1px 2px rgba(21,32,58,0.08), 0 4px 10px -6px rgba(21,32,58,0.25); }

/* =====================================================================
   ABOUT v2 (/about): more picture, less paragraph.
   .org  the staffing structure as a diagram
   .mq   two small marquees (client builds one way, our products the other)
   .rec  the track record as number tiles
   ===================================================================== */

/* Staffing, drawn: principal on top, two lanes under it, and the handoff
   promise as the base everything sits on. */
.org { display: grid; gap: 0; }
.org__top { display: flex; justify-content: center; }
.org__node { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: clamp(20px, 2vw, 26px); border-radius: 20px; background: #fff; box-shadow: 0 18px 40px -32px rgba(13,30,59,0.45); }
.org__node--lead { width: min(100%, 620px); box-shadow: 0 0 0 2px var(--brand), 0 22px 44px -30px rgba(13,30,59,0.5); }
.org__node h3, .org__base h3 { margin: 2px 0 6px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.2; color: var(--ink); }
.org__node p, .org__base p { margin: 0; font-size: 0.93rem; line-height: 1.55; color: var(--ink-2); }
.org__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.3rem; }
.org__ico--sage { background: var(--tint-sage); color: var(--sage-2); }
.org__ico--gold { background: var(--tint-marigold, #FAF0DA); color: var(--accent-2); }
.org__ico--white { background: rgba(255,255,255,0.12); color: var(--marigold-light); }
.org__node .org__chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.org__chips span { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hairline); font-size: 0.76rem; font-weight: 600; color: var(--ink-2); }
/* the connector: down from the principal, across, and down into both lanes */
.org__row { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); padding-top: 56px; }
.org__row::before { content: ""; position: absolute; left: 50%; top: 0; height: 28px; border-left: 2px solid var(--brand); }
.org__row::after { content: ""; position: absolute; top: 28px; left: 25%; right: 25%; height: 28px; border: 2px solid var(--brand); border-bottom: 0; border-radius: 14px 14px 0 0; }
.org__base { margin-top: clamp(18px, 2.4vw, 28px); display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px 22px; align-items: center; padding: clamp(20px, 2vw, 26px); border-radius: 20px; background: var(--brand); color: #fff; }
.org__base h3 { color: #fff; }
.org__base p { color: rgba(255,255,255,0.82); }
.org__keep { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.org__keep li { display: flex; gap: 8px; align-items: center; font-size: 0.86rem; color: rgba(255,255,255,0.9); white-space: nowrap; }
.org__keep i { color: var(--marigold-light); }
@media (max-width: 900px) {
    .org__base { grid-template-columns: 48px minmax(0, 1fr); }
    .org__keep { grid-column: 1 / -1; }
    .org__keep li { white-space: normal; }
}
@media (max-width: 700px) {
    .org__row { grid-template-columns: minmax(0, 1fr); padding-top: 32px; row-gap: 32px; }
    .org__row::after { display: none; }
    .org__row::before { height: 32px; }
    .org__row > .org__node + .org__node::before { content: ""; position: absolute; left: 50%; top: -32px; height: 32px; border-left: 2px solid var(--brand); }
    .org__node { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
    .org__ico { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* Two small marquees: pictures first, a little name pill on each. */
.about-ship { overflow: hidden; }
.mq__label { margin: clamp(10px, 2vh, 18px) 0 12px; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--ink); }
.mq { display: flex; width: max-content; }
.mq + .container .mq__label { margin-top: clamp(26px, 4vh, 40px); }
.mq__track { display: flex; gap: 14px; padding-right: 14px; }
.mq__tile { position: relative; flex: none; width: 300px; height: 188px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 16px 34px -26px rgba(13,30,59,0.5); text-decoration: none; color: inherit; }
.mq__tile img, .mq__tile .mq__media { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; }
.mq__tile img, .mq__tile video { object-fit: cover; object-position: top center; transition: transform 0.6s ease; }
.mq__tile:hover img, .mq__tile:hover video { transform: scale(1.04); }
.mq__cap { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 16px -10px rgba(13,30,59,0.5); }
.mq__cap b { font-size: 0.86rem; color: var(--ink); }
.mq__cap em { font-style: normal; font-size: 0.76rem; color: var(--sage-2); }
@media (prefers-reduced-motion: no-preference) {
    .mq { animation: mqLeft 70s linear infinite; }
    .mq--rev { animation-name: mqRight; }
    .mq:hover, .mq:focus-within { animation-play-state: paused; }
}
@keyframes mqLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mqRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
    .mq { width: auto; overflow-x: auto; padding: 0 20px 10px; }
    .mq__track[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) { .mq__tile { width: 240px; height: 150px; } }

/* Track record as number tiles: white on the panel. */
.rec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.rec__h { margin: 0 0 12px; display: flex; gap: 10px; align-items: center; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.rec__h i { color: var(--brand); }
.rec__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rec__tile { display: flex; flex-direction: column; gap: 6px; min-height: 132px; justify-content: space-between; padding: 18px 20px; border-radius: 18px; background: #fff; }
.rec__tile b { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; color: var(--brand); }
.rec__tile--gold b { color: var(--accent-2); }
.rec__tile span { font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); }
.rec__tile--icon { justify-content: space-between; }
.rec__tile--icon i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-sage); color: var(--sage-2); font-size: 1.15rem; }
@media (max-width: 900px) { .rec { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .rec__grid { grid-template-columns: minmax(0, 1fr); } .rec__tile { min-height: 0; } }

/* /about "Why we do this": the mission as the section head, the mission
   drawn as three rising bars (one person, three, six), then the three
   pillars as picture tiles in the home/portal tile style. */
.why__grow { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); align-items: end; height: clamp(230px, 24vw, 300px); padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.4vw, 30px) 0; border-radius: 24px; background: var(--tint-sand); overflow: hidden; }
.why__bar { position: relative; height: var(--h); min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px; border-radius: 18px 18px 0 0; background: var(--brand); color: #fff; }
.why__bar:nth-child(2) { background: var(--sage-2); }
.why__bar:nth-child(3) { background: var(--accent-2); }
.why__ppl { display: flex; flex-wrap: wrap; gap: 2px; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1; color: rgba(255,255,255,0.95); }
.why__bar p { margin: 0; font-size: 0.9rem; line-height: 1.4; color: rgba(255,255,255,0.85); }
.why__bar p b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.5vw, 1.35rem); color: #fff; }
.why__tiles { margin-top: clamp(14px, 1.8vw, 22px); }

/* the little pictures inside each pillar tile */
.why__art { width: 100%; max-width: 300px; font-size: 0.82rem; color: var(--ink-2); }
.why__art p { margin: 0; }
.why__line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--hairline); font-variant-numeric: tabular-nums; }
.why__line b { color: var(--ink); }
.why__line--ok, .why__line--ok b { color: var(--sage-2); }
.why__ai { margin-top: 14px !important; display: inline-flex; gap: 7px; align-items: center; padding: 7px 12px; border-radius: 999px; background: var(--tint-navy); color: var(--ink-2); }
.why__ai i { color: var(--accent-2); }
.why__ai b { color: var(--brand); }
.why__timer { display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.why__timer i { color: var(--marigold-light); }
.why__meter { position: relative; height: 12px; margin-top: 18px; border-radius: 999px; background: var(--surface-3); }
.why__meter span { position: absolute; inset: 0 auto 0 0; width: 46%; border-radius: inherit; background: var(--accent); }
.why__meter i { position: absolute; right: 12%; top: -6px; bottom: -6px; border-left: 2px dashed var(--brand); }
.why__meter-cap { display: flex; justify-content: space-between; margin-top: 8px !important; padding-right: 6%; font-size: 0.74rem; color: var(--muted); }
.why__day { display: flex; gap: 10px; align-items: center; margin-bottom: 8px !important; }
.why__ava { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-2); color: #fff; font-size: 0.68rem; font-weight: 700; }
.why__day b { display: block; color: var(--ink); font-size: 0.9rem; }
.why__day small { color: var(--muted); font-size: 0.74rem; }
.why__check { display: flex; gap: 8px; align-items: center; padding: 5px 0; color: var(--ink-2); }
.why__check i { color: var(--sage-2); }
@media (max-width: 700px) {
    .why__grow { height: auto; grid-template-columns: minmax(0, 1fr); align-items: stretch; padding-bottom: clamp(20px, 2.4vw, 30px); }
    .why__bar { height: auto; min-height: 0; border-radius: 16px; gap: 10px; }
}

/* Home "This is the path to growth", in the About growth-bar style: bold
   rising bars on a sand panel, the words inside each bar, bars sitting on
   the panel's bottom edge. Same content as before. */
.c-path .c-path__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; align-items: end; gap: clamp(12px, 1.6vw, 20px); padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.4vw, 30px) 0; border-radius: 24px; background: var(--tint-sand); overflow: hidden; }
.c-path .c-path__step { display: block; grid-row: auto; }
.c-path .c-path__step .c-path__bar { height: auto; min-height: calc(clamp(170px, 15vw, 200px) + var(--i) * clamp(46px, 4.6vw, 64px)); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 18px 20px 22px; border-radius: 18px 18px 0 0; background: var(--brand); }
.c-path .c-path__step:nth-child(1) .c-path__bar { background: var(--brand); }
.c-path .c-path__step:nth-child(2) .c-path__bar { background: var(--sage-2); }
.c-path .c-path__step:nth-child(3) .c-path__bar { background: #3F5F67; }
.c-path .c-path__step:nth-child(4) .c-path__bar { background: var(--accent-2); }
.c-path .c-path__step:nth-child(n) .c-path__team { color: rgba(255,255,255,0.95); font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
.c-path .c-path__step .c-path__when { margin: 0 0 6px; font-family: var(--font-display) !important; font-weight: 500 !important; font-size: clamp(1.15rem, 1.5vw, 1.35rem); color: #fff; }
.c-path .c-path__step .c-path__text { font-size: 0.92rem; line-height: 1.5; color: rgba(255,255,255,0.85); }
@media (max-width: 760px) {
    .c-path .c-path__steps { display: flex; padding-bottom: 0; margin: 0; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-padding: 0 20px; }
    .c-path .c-path__steps > * { scroll-snap-align: start; }
    .c-path .c-path__steps > * { flex: 0 0 78%; }
}
.c-path .c-path__step .c-path__when { line-height: 1.2; }
/* Narrower screens: the words need more room, so start the staircase taller
   so it always rises left to right. */
@media (min-width: 761px) and (max-width: 1100px) {
    .c-path .c-path__step .c-path__bar { min-height: calc(270px + var(--i) * 52px); }
}
@media (max-width: 760px) {
    .c-path .c-path__step .c-path__bar { min-height: calc(260px + var(--i) * 44px); }
}
/* About growth bars: one navy ramp that deepens as the team grows, so the
   three bars don't read as matching the three coloured pillars below. */
.why__bar { background: #4F6EA6; }
.why__bar:nth-child(2) { background: #2F5390; }
.why__bar:nth-child(3) { background: var(--brand-2); }
.why__bar:nth-child(3) .why__ppl { color: var(--marigold-light); }
/* Ethically picture: a small local AI model, its energy bill at $0 on solar. */
.why__model { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-bottom: 6px !important; }
.why__chip { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.05rem; }
.why__model b { display: block; font-size: 0.9rem; color: var(--ink); }
.why__model small { font-size: 0.74rem; color: var(--muted); }
.why__model em { font-style: normal; align-self: start; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-size: 0.68rem; font-weight: 600; white-space: nowrap; }
.why__line--ok i { color: var(--accent); margin-right: 4px; }
.why__art--ethic .why__line:last-child { border-bottom: 0; }
.why__art--ethic .why__line:nth-of-type(2) b { color: var(--sage-2); }

/* 404: the film hero like every page, then three "where to next" cards on
   white (navy, sage, marigold tints). */
.nf-code { margin: 0 0 14px; font-size: 0.9rem; font-weight: 600; color: var(--marigold-light); }
.hero--photo .nf-code { color: var(--marigold-light); }
@media (min-width: 1101px) { .nf-hero { min-height: clamp(480px, calc(100svh - 160px), 640px); } }
.nf__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.nf__card { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.2vw, 30px); border-radius: 22px; background: var(--tint-navy); text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.nf__card:nth-child(2) { background: var(--tint-sage); }
.nf__card:nth-child(3) { background: var(--tint-marigold, #FAF0DA); }
.nf__card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(13,30,59,0.5); }
.nf__ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: var(--brand); font-size: 1.2rem; }
.nf__card:nth-child(2) .nf__ico { color: var(--sage-2); }
.nf__card:nth-child(3) .nf__ico { color: var(--accent-2); }
.nf__card h3 { margin: 8px 0 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1.7vw, 1.55rem); color: var(--ink); }
.nf__card p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }
.nf__go { margin-top: auto; padding-top: 8px; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--brand); }
@media (max-width: 900px) { .nf__cards { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   PHONES (iPhone SE and up). Mobile-only polish; nothing here applies
   above 600px, so desktop is unchanged.
   ===================================================================== */
/* "Hover to pause" means nothing on a touch screen. */
@media (hover: none) { .hover-only { display: none; } }

@media (max-width: 600px) {
    /* iOS zooms the page into any text field under 16px; keep the form still. */
    input:not([type=range]):not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px; }

    /* Hero badge: the tiny kicker was 9.6px. */
    .h-hero__kicker { font-size: 0.68rem; }

    /* Home growth path: a gentler staircase, so the first bar isn't under
       a tall empty band. */
    .c-path .c-path__step .c-path__bar { min-height: calc(236px + var(--i) * 22px); }

    /* Web Collab / My CTO demo labels wrap instead of pushing the page wide. */
    .wcx__label { flex-wrap: wrap; row-gap: 2px; font-size: 1.15rem; }
    .wcx__label em { font-size: 0.95rem; }
    .wcx__panes { grid-template-columns: minmax(0, 1fr); }
    .wcx__pane, .wcx__pane > * { min-width: 0; max-width: 100%; }

    /* About: the Ethically picture gets breathing room from its frame. */
    .why__art { padding: 0 6px; }

    /* About track record: number tiles two-up instead of eight stacked. */
    .rec__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .rec__tile { min-height: 0; padding: 14px; gap: 6px; justify-content: flex-start; }
    .rec__tile b { font-size: 1.6rem; }
    .rec__tile span { font-size: 0.82rem; }
    .rec__tile--icon i { width: 34px; height: 34px; font-size: 1rem; }

    /* About certifications: four badges two-up and compact. */
    .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cert-card { padding: 16px 10px; gap: 2px; }
    .cert-badge { width: 52px; height: 52px; margin-bottom: 6px; }
    .cert-name { font-size: 0.86rem; }
    .cert-level { font-size: 0.74rem; }

    /* Portal "Everything inside": tighter cards so nine screens don't run on. */
    .pt-index { gap: 8px; }
    .pt-index li { padding: 14px 16px; gap: 12px; grid-template-columns: 34px minmax(0, 1fr); }
    .pt-index i { width: 34px; height: 34px; font-size: 1rem; }
    .pt-index b { font-size: 0.95rem; }
    .pt-index span { font-size: 0.84rem; }

    /* Legal pages: contents links far enough apart to tap. */
    .legal-toc li { margin-bottom: 0; }
    .legal-toc li a { display: inline-block; padding: 6px 0; }
}

/* /services on phones: a swipeable card row instead of six stacked cards,
   a shorter 6pm photo, and results tiles that fit the screen. */
@media (max-width: 600px) {
    .pain-plain__photo { aspect-ratio: 16 / 10; }
    #services-grid .svc-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 14px; scroll-padding: 0 20px; overscroll-behavior-x: contain; }
    #services-grid .svc-cards::-webkit-scrollbar { display: none; }
    #services-grid .svc-cards > .c-card { flex: 0 0 82%; scroll-snap-align: start; }
    #services-grid .svc-cards .c-card__photo { height: 150px; }
    .pfx .pf { height: 230px; }
    .pfx .pf--shot { width: 300px; }
    .pfx .pf--stat, .pfx .pf--quote { width: 230px; padding: 22px; }
    .pfx .pf--quote blockquote { font-size: 1.2rem; }
    .pfx .pf--stat b { font-size: 2rem; }
}

/* About growth chart on phones: the same swipeable rising bars as the home
   path, instead of three stacked cards. */
@media (max-width: 700px) {
    .why__grow { display: flex; height: auto; align-items: flex-end; gap: 12px; padding: 20px 20px 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
    .why__grow::-webkit-scrollbar { display: none; }
    .why__bar { flex: 0 0 78%; scroll-snap-align: start; border-radius: 18px 18px 0 0; gap: 18px; padding: 18px 20px 22px; }
    .why__bar:nth-child(1) { min-height: 210px; }
    .why__bar:nth-child(2) { min-height: 250px; }
    .why__bar:nth-child(3) { min-height: 290px; }
}
@media (max-width: 600px) {
    /* About staffing: the handoff bar reads top-down, icon beside its heading. */
    .org__base { align-items: start; }
    /* Firm facts: four short cells, not tall columns. */
    .stat-row .stat-cell { padding: 16px 10px; }
}

/* Web Collab + My CTO demo on phones: the two steps side by side in a
   swipe row (step 1, then step 2 peeking in), instead of two full-height
   browser windows stacked into one long column. Same on /webcollab. */
@media (max-width: 600px) {
    .wcx .wcx__panes { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 6px; scroll-padding: 0 20px; }
    .wcx .wcx__panes::-webkit-scrollbar { display: none; }
    .wcx .wcx__pane { flex: 0 0 86%; scroll-snap-align: start; gap: 12px; }
    .wcx .wcx__label { font-size: 1.05rem; }
    .wcx .wcx__label em { font-size: 0.88rem; }
    .wcx .wcx__pane > .btn { align-self: stretch; justify-content: center; }
}
@media (max-width: 360px) {
    /* Smallest phones: wider panes, a bubble that fits, a compact button. */
    .wcx .wcx__pane { flex-basis: 92%; }
    .wcx .wcb-stage .wcb-bubble { width: auto; max-width: calc(100% - 16px); }
    .wcx .wcx__pane > .btn { font-size: 0.86rem; padding-inline: 14px; }
    .wcx .wcx__label em { display: none; }
}

/* =====================================================================
   PHONES: lighter /portal and /webcollab. Same content on desktop; on a
   phone the long lists collapse to their headline phrase, the screen
   index loses its descriptions, and step-by-step blocks become swipe rows.
   ===================================================================== */
@media (max-width: 600px) {
    /* Point lists: keep the icon and the bold headline, drop the sentence. */
    .pt-points { gap: 10px; }
    .pt-points li { align-items: center; }
    .pt-points li > span { font-size: 0; line-height: 0; }
    .pt-points li > span b { font-size: 0.98rem; line-height: 1.4; }
    .pt-points li > span b::after { content: none; }
    .pt-points li:not(:has(b)) { display: none; }
    .pt-foot { display: none; }

    /* Portal "Everything inside": a compact two-up list of screen names. */
    .pt-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .pt-index li { grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 10px; padding: 12px; }
    .pt-index i { width: 30px; height: 30px; font-size: 0.9rem; }
    .pt-index b { margin: 0; font-size: 0.86rem; line-height: 1.25; }
    .pt-index span { display: none; }

    /* Web Collab "How we build it": four steps as a swipe row. */
    .hb .hb__steps { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 6px; scroll-padding: 0 20px; }
    .hb .hb__steps::-webkit-scrollbar { display: none; }
    .hb .hb__step { flex: 0 0 82%; scroll-snap-align: start; }

    /* Web Collab "One-time setup": the two steps as a swipe row too. */
    .wcs__grid { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 6px; scroll-padding: 0 20px; }
    .wcs__grid::-webkit-scrollbar { display: none; }
    .wcs__step { flex: 0 0 86%; scroll-snap-align: start; }
    .wcs__step > p { font-size: 0.9rem; }
}
