/* ============================================================
   Unbury — site.css · Brand v4 "Daylight"
   Public-site stylesheet. Admin + PHP surfaces stay on styles.css.

   Register: light, airy, dawn-gradient SaaS. White canvases
   floating on page gray, soft blurred auras, pill chrome,
   one gradient word per headline, light product artifacts
   with a dawn glow. Bricolage Grotesque + Figtree + mono data.
   ============================================================ */

:root {
    --canvas:      #FFFFFF;
    --page:        #F3F1EF;
    --well:        #F7F5F3;
    --ink:         #1A140F;
    --body-c:      #5C5248;
    --faint:       #988D82;
    --hairline:    rgba(26, 20, 15, 0.08);
    --hairline-2:  rgba(26, 20, 15, 0.16);
    --sun:         #FF5A2E;
    --peach:       #FF8A55;
    --blush:       #FFAF9E;
    --lilac:       #CFA4F4;
    --coral-text:  #C93A10;
    --ok:          #2E7D3E;
    --dawn: linear-gradient(120deg, #FF5A2E, #FF8A55 38%, #FFAF9E 66%, #CFA4F4 100%);
    --dawn-soft: linear-gradient(120deg, rgba(255,90,46,.08), rgba(255,138,85,.06) 38%, rgba(255,175,158,.08) 66%, rgba(207,164,244,.1) 100%);

    --display: 'Bricolage Grotesque', 'Avenir Next', sans-serif;
    --sans:    'Figtree', -apple-system, 'Helvetica Neue', sans-serif;
    --mono:    'JetBrains Mono', 'SF Mono', monospace;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --glow: 0 24px 80px -24px rgba(255, 90, 46, 0.35);
    --lift: 0 24px 80px -24px rgba(26, 20, 15, 0.16);

    --r-input: 12px;
    --r-card: 20px;
    --r-canvas: 32px;

    --z-nav: 50;
    --z-menu: 60;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    background: var(--page);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    padding: 16px;
}

img { max-width: 100%; display: block; }

::selection { background: var(--sun); color: #FFF; }

a { color: inherit; }

/* The floating site canvas — everything lives inside */
.frame {
    background: var(--canvas);
    border-radius: var(--r-canvas);
    max-width: 1440px;
    margin: 0 auto;
    overflow: clip;
    position: relative;
}

.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}
.container-narrow { max-width: 880px; }

.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; position: relative; }

/* Auras — soft dawn washes. Position per use. */
.aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}
.aura-sun   { background: radial-gradient(circle, rgba(255, 90, 46, 0.34), transparent 64%); }
.aura-lilac { background: radial-gradient(circle, rgba(207, 164, 244, 0.4), transparent 64%); }
.aura-blush { background: radial-gradient(circle, rgba(255, 175, 158, 0.38), transparent 64%); }
@media (prefers-reduced-motion: no-preference) {
    .aura { animation: auraDrift 70s var(--ease) infinite alternate; }
    @keyframes auraDrift { to { transform: translate(4%, 6%) scale(1.06); } }
}

/* ---------- Type ---------- */
h1, h2, h3 { text-wrap: balance; }

.h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.6rem, 5.6vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.h2 {
    font-family: var(--display);
    font-weight: 650;
    font-size: clamp(1.9rem, 3.5vw, 2.85rem);
    line-height: 1.08;
    letter-spacing: -0.018em;
    color: var(--ink);
}

.h3 {
    font-family: var(--display);
    font-weight: 630;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.16;
    letter-spacing: -0.012em;
}

/* One gradient word per headline — the meaning-carrying one. */
.signal {
    background: var(--dawn);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    line-height: 1.65;
    color: var(--body-c);
    max-width: 62ch;
    text-wrap: pretty;
}

p { text-wrap: pretty; }

.section-label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: var(--coral-text);
    margin-bottom: 14px;
}

/* ---------- Links / buttons / chips ---------- */
.link-underline {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--hairline-2);
    transition: color 160ms var(--ease), text-decoration-color 160ms var(--ease);
}
.link-underline:hover { color: var(--coral-text); text-decoration-color: currentColor; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    padding: 15px 27px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease),
                border-color 300ms var(--ease), background 300ms var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--ink);
    color: #FFF;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--glow); }

.btn-secondary,
.btn-outline {
    background: var(--canvas);
    color: var(--ink);
    border-color: var(--hairline-2);
}
.btn-secondary:hover,
.btn-outline:hover { border-color: var(--ink); transform: translateY(-1px); }

.btn-arrow::after {
    content: '→';
    transition: transform 200ms var(--ease);
}
.btn-arrow:hover::after { transform: translateX(3px); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--canvas);
    border: 1px solid var(--hairline-2);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 12.5px;
    color: var(--body-c);
    text-decoration: none;
}
.chip i {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--dawn);
    flex: none;
}
.chip .chip-link { color: var(--coral-text); text-decoration: none; }
.chip .chip-link:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 200ms var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--hairline); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--display);
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -0.03em;
    line-height: 1;
}
.nav-brand img { width: 30px; height: 30px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-links a {
    color: var(--body-c);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 9px 13px;
    border-radius: 999px;
    transition: color 150ms var(--ease), background 150ms var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); background: var(--well); }

.nav-cta {
    background: var(--ink);
    color: #FFF !important;
    font-weight: 600;
    font-size: 14px;
    padding: 11px 19px !important;
    margin-left: 10px;
    transition: box-shadow 300ms var(--ease), transform 300ms var(--ease) !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--glow); }

.nav-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--hairline-2);
    border-radius: 999px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--ink);
    padding: 10px 16px;
    cursor: pointer;
}

@media (max-width: 820px) {
    .nav-links {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 100%;
        z-index: var(--z-menu);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline-2);
        padding: 8px 28px 20px;
    }
    .nav.menu-open .nav-links { display: flex; }
    .nav-links a {
        padding: 14px 4px;
        border-bottom: 1px solid var(--hairline);
        border-radius: 0;
        font-size: 16px;
    }
    .nav-links a.nav-cta {
        margin: 14px 0 0;
        border-bottom: none;
        text-align: center;
        border-radius: 999px;
        padding: 14px !important;
        font-size: 15px;
    }
    .nav-menu-btn { display: inline-block; }
}

/* ---------- Hero — centered, product below ---------- */
.hero {
    padding: 76px 0 88px;
    position: relative;
    overflow: clip;
    text-align: center;
}
.hero .aura { z-index: 0; }
.hero > .container { position: relative; z-index: 2; }

.hero-chip { margin-bottom: 26px; }

.hero-headline { max-width: 17ch; margin: 0 auto; }

.hero-sub {
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    line-height: 1.65;
    color: var(--body-c);
    max-width: 54ch;
    margin: 24px auto 0;
    text-wrap: pretty;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 34px;
}

.hero-proof {
    margin-top: 24px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--faint);
}
.hero-proof b { color: var(--coral-text); font-weight: 500; }

/* ---------- The revenue feed — hero artifact ----------
   One campaign goes out; orders, replies and delivery events
   stream in while attributed revenue ticks up.
   (AnimatedList + CountUp, ported to vanilla.) */
.hero-stagewrap {
    position: relative;
    max-width: 620px;
    margin: 64px auto 0;
    z-index: 2;
}
@media (prefers-reduced-motion: no-preference) {
    .hero-stagewrap { animation: floaty 6s ease-in-out infinite alternate; }
    @keyframes floaty { to { transform: translateY(-7px); } }
}

/* The asset — one letter radiating real returns across your list.
   A central campaign pulses out; subscribers around it light up and flip to
   funnel outcomes. Sonar is pure CSS; the outcome rotation is driven by JS. */
.orbit {
    position: relative;
    height: 420px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-card);
    background:
        radial-gradient(60% 60% at 50% 50%, var(--dawn-soft) 0%, rgba(255,255,255,0) 62%),
        var(--canvas);
    box-shadow: var(--glow);
    overflow: hidden;
}
.orbit-label {
    position: absolute;
    top: 18px; left: 22px;
    z-index: 6;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--faint);
}
.orbit-label b { color: var(--ink); font-weight: 600; }

/* sonar rings — the letter reaching your people */
.orbit-pulse {
    position: absolute;
    left: 50%; top: 50%;
    width: 300px; height: 300px;
    margin: -150px 0 0 -150px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,90,46,0.5);
    opacity: 0;
    z-index: 1;
    animation: orbitSonar 4s ease-out infinite;
}
.orbit-pulse.p2 { animation-delay: 1.33s; }
.orbit-pulse.p3 { animation-delay: 2.66s; }
@keyframes orbitSonar {
    0%   { transform: scale(0.18); opacity: 0.55; }
    70%  { opacity: 0.12; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* the campaign at the centre */
.orbit-core {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 17px;
    background: var(--canvas);
    border: 1px solid var(--hairline-2);
    border-radius: 15px;
    box-shadow: 0 18px 40px rgba(26,20,15,0.12);
}
.orbit-core .oc-mark {
    width: 34px; height: 34px;
    border-radius: 10px;
    flex: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orbit-core .oc-mark img { width: 100%; height: 100%; display: block; }
.orbit-core .oc-t { font-family: var(--display); font-weight: 650; font-size: 14px; color: var(--ink); line-height: 1.15; }
.orbit-core .oc-s { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-top: 2px; }

/* subscribers */
.orbit-node {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    transition: transform 0.5s var(--ease);
}
.orbit-node .oz-av {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--faint);
    background: var(--well, #EFEBE6);
    border: 1px solid var(--hairline);
    box-shadow: 0 6px 16px rgba(26,20,15,0.05);
    transition: background 0.5s var(--ease), color 0.5s var(--ease),
                box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.orbit-node .oz-av svg { width: 19px; height: 19px; }
.orbit-node .oz-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 12px;
    color: var(--faint);
    transition: color 0.5s var(--ease);
}
.orbit-node.active .oz-name { color: var(--ink); }
.orbit-node .oz-chip {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--canvas);
    border: 1px solid var(--hairline-2);
    color: var(--coral-text);
    box-shadow: 0 6px 16px rgba(26,20,15,0.08);
    opacity: 0;
    transform: translateY(4px) scale(0.94);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
/* active — a subscriber the current letter just converted */
.orbit-node.active .oz-av {
    background: var(--dawn);
    color: #fff;
    box-shadow: 0 10px 22px rgba(255,90,46,0.28);
    transform: scale(1.06);
}
.orbit-node.active .oz-chip { opacity: 1; transform: none; }

/* scatter — clear of the centre, spread to the corners */
.orbit-node.n1 { top: 15%;  left: 8%;  }
.orbit-node.n2 { top: 11%;  right: 9%; }
.orbit-node.n3 { top: 45%;  left: 3%;  }
.orbit-node.n4 { top: 47%;  right: 4%; }
.orbit-node.n5 { bottom: 12%; left: 15%; }
.orbit-node.n6 { bottom: 10%; right: 16%; }

@media (prefers-reduced-motion: reduce) {
    .hero-stagewrap { animation: none; }
    .orbit-pulse { animation: none; opacity: 0; }
}
@media (max-width: 640px) {
    .orbit { height: 380px; }
    .orbit-node .oz-av { width: 36px; height: 36px; font-size: 14px; }
    .orbit-node.n1 { left: 4%; } .orbit-node.n2 { right: 4%; }
    .orbit-node.n5 { left: 6%; } .orbit-node.n6 { right: 7%; }
}

/* ---------- Trusted-by marquee ---------- */
.trust-strip {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}
.trust-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--faint);
    margin-bottom: 22px;
}
.trust-marquee {
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.trust-track {
    display: flex;
    align-items: center;
    gap: clamp(52px, 7vw, 84px);
    width: max-content;
}
@media (prefers-reduced-motion: no-preference) {
    .trust-track { animation: trustScroll 28s linear infinite; }
    @keyframes trustScroll { to { transform: translateX(-50%); } }
}
.trust-track img {
    height: 30px;
    width: auto;
    flex: none;
    filter: grayscale(1);
    opacity: 0.55;
    transition: filter 300ms var(--ease), opacity 300ms var(--ease);
}
.trust-track img.logo-tall { height: 46px; }
.trust-track img.logo-tbv { height: 78px; }
.trust-track img:hover { filter: none; opacity: 1; }

/* ---------- ESP strip ---------- */
.esp-strip {
    margin-top: 56px;
    position: relative;
    z-index: 2;
    text-align: center;
}
.esp-strip .esp-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--faint);
    margin-bottom: 18px;
}
.esp-names {
    display: flex;
    gap: clamp(20px, 4vw, 44px);
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
}
.esp-names span {
    font-family: var(--display);
    font-weight: 650;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: var(--faint);
}

/* ---------- Quiet band / split ---------- */
.band-quiet { background: var(--well); }

.split {
    display: grid;
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
    position: relative;
    z-index: 2;
}
.split-copy p { margin-top: 18px; font-size: 16.5px; line-height: 1.7; color: var(--body-c); }
.split-copy p:first-of-type { margin-top: 22px; }
.split-ctas { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 44px; }
}

/* ---------- The system — connected legs that must all work for revenue to flow ---------- */
.sysflow {
    position: relative;
    padding: 30px 32px 26px;
    border-radius: var(--r-card);
    border: 1px solid var(--hairline);
    background:
        radial-gradient(130% 70% at 50% -12%, var(--dawn-soft) 0%, rgba(255,255,255,0) 56%),
        var(--canvas);
    box-shadow: var(--lift);
    overflow: hidden;
}
.sf-head {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 22px;
}
.sf-rows { position: relative; }

.sf-row {
    display: flex;
    align-items: stretch;
    gap: 16px;
    min-height: 74px;
}
.sf-row-rev { min-height: 66px; }

/* left rail — node marker with a pipe dropping to the next leg */
.sf-rail {
    position: relative;
    width: 34px;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sf-node {
    position: relative;
    z-index: 2;
    width: 34px; height: 34px;
    flex: none;
    border-radius: 11px;
    background: #C4BCB2;                 /* neutral until the state machine lights it */
    box-shadow: inset 0 0 0 1px rgba(26,20,15,0.04);
    transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.4s var(--ease);
}
.sf-pipe {
    flex: 1;
    width: 3px;
    margin: 4px 0;
    border-radius: 3px;
    background: var(--hairline-2);       /* idle: faint static line */
    background-size: 3px 16px;
    transition: opacity 0.4s var(--ease);
}
.sf-row-rev .sf-pipe { display: none; }  /* revenue is the destination — nothing flows past it */
.sf-node-rev {
    background: var(--dawn);
    box-shadow: 0 6px 16px rgba(255,90,46,0.24);
}

/* text */
.sf-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 0;
}
.sf-name {
    font-family: var(--display);
    font-weight: 650;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.sf-note {
    font-size: 12.5px;
    color: var(--faint);
    margin-top: 2px;
}

/* status flag on the right */
.sf-flag {
    flex: none;
    align-self: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 12px;
    color: var(--faint);
    background: rgba(26,20,15,0.05);
    transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}

/* ----- lit (working) state ----- */
.sf-row.is-lit .sf-node {
    background: var(--dawn);
    box-shadow: 0 6px 16px rgba(255,90,46,0.28);
}
.sf-row.is-lit .sf-flag {
    background: rgba(46,125,62,0.14);
    color: var(--ok);
}
/* ----- broken state ----- */
.sf-row.is-broken .sf-node {
    background: #D8D0C6;
    box-shadow: inset 0 0 0 1.5px rgba(255,90,46,0.55);
    animation: sfBrokenPulse 1.1s ease-in-out infinite;
}
.sf-row.is-broken .sf-flag {
    background: rgba(255,90,46,0.14);
    color: var(--coral-text);
    transform: scale(1.06);
}
@keyframes sfBrokenPulse {
    0%, 100% { box-shadow: inset 0 0 0 1.5px rgba(255,90,46,0.55); }
    50%      { box-shadow: inset 0 0 0 1.5px rgba(255,90,46,0.55), 0 0 0 5px rgba(255,90,46,0.10); }
}

/* ----- flowing pipe (energy travelling down toward revenue) ----- */
.sf-row.is-flowing .sf-pipe {
    background-image: repeating-linear-gradient(
        to bottom,
        var(--coral-text) 0 7px,
        rgba(255,90,46,0) 7px 16px);
    background-repeat: repeat-y;
    animation: sfFlow 0.62s linear infinite;
}
@keyframes sfFlow {
    to { background-position-y: 16px; }
}

/* ----- revenue meter ----- */
.sf-rev { gap: 0; }
.sf-rev-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.sf-rev-num {
    font-family: var(--display);
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.02em;
    color: var(--coral-text);
    font-variant-numeric: tabular-nums;
}
.sf-rev-per { font-family: var(--mono); font-size: 12px; color: var(--faint); font-weight: 400; }
.sf-rev-bar {
    margin-top: 12px;
    height: 10px;
    border-radius: 999px;
    background: rgba(26,20,15,0.06);
    overflow: hidden;
}
.sf-rev-bar i {
    display: block;
    height: 100%;
    width: 8%;
    border-radius: 999px;
    background: var(--dawn);
    transition: width 0.7s var(--ease);
}

.sf-caption {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
    font-size: 14px;
    line-height: 1.5;
    color: var(--body-c);
    transition: opacity 0.3s var(--ease);
}
.sf-caption b { color: var(--ink); font-weight: 650; }

@media (max-width: 900px) {
    .sysflow { padding: 26px 24px 22px; }
    .sf-row { min-height: 66px; }
}
/* Reduced motion: no looping demo — the JS paints the "all working" end state. */
@media (prefers-reduced-motion: reduce) {
    .sf-row.is-broken .sf-node { animation: none; }
    .sf-row.is-flowing .sf-pipe { animation: none; }
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 56px;
    position: relative;
    z-index: 2;
}
.step {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-card);
    padding: 30px 30px 34px;
}
.step-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--dawn);
    color: #FFF;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 16px;
}
.step-title {
    font-family: var(--display);
    font-weight: 650;
    font-size: 20px;
    letter-spacing: -0.012em;
    margin-bottom: 8px;
}
.step p { font-size: 15px; line-height: 1.6; color: var(--body-c); }

@media (max-width: 800px) {
    .steps { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.price-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--hairline-2);
    border-radius: 24px;
    overflow: clip;
    margin-top: 52px;
    background: var(--canvas);
    position: relative;
    z-index: 2;
}
.price-col {
    display: flex;
    flex-direction: column;
    padding: 38px 34px;
    border-left: 1px solid var(--hairline);
    min-width: 0;
}
.price-col:first-child { border-left: none; }
.price-col.is-featured { background: var(--dawn-soft); }

/* Two-offer layout: the free audit + the engagement */
.price-table.price-two { grid-template-columns: 1fr 1.1fr; }

.price-flag { min-height: 30px; margin-bottom: 10px; }
.price-flag .chip { font-size: 11.5px; padding: 6px 13px; }
.price-name {
    font-family: var(--display);
    font-weight: 650;
    font-size: 21px;
    letter-spacing: -0.012em;
    line-height: 1.2;
}
.price-amount {
    margin-top: 18px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 32px;
    letter-spacing: -0.02em;
    line-height: 1;
}
.price-terms {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--faint);
    margin-top: 8px;
}
.price-desc {
    font-size: 15px;
    line-height: 1.62;
    color: var(--body-c);
    margin-top: 18px;
    flex: 1;
}
.price-cta { margin-top: 26px; }
.price-cta .btn { width: 100%; }

@media (max-width: 860px) {
    .price-table, .price-table.price-two { grid-template-columns: 1fr; }
    .price-col { border-left: none; border-top: 1px solid var(--hairline); }
    .price-col:first-child { border-top: none; }
    .price-flag { min-height: 0; }
    .price-flag:empty { display: none; }
}

/* ---------- FAQ ---------- */
.faq {
    margin-top: 44px;
    border-top: 1px solid var(--hairline-2);
    position: relative;
    z-index: 2;
}
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 4px;
    font-family: var(--display);
    font-weight: 630;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    letter-spacing: -0.012em;
    transition: color 160ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--coral-text);
    flex: none;
    transition: transform 240ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--coral-text); }
.faq-item .answer {
    max-width: 66ch;
    padding: 0 4px 26px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--body-c);
}

/* ---------- CTA — aura canvas ---------- */
.cta-panel {
    position: relative;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 28px;
    padding: clamp(52px, 7vw, 88px) clamp(28px, 5vw, 72px);
    text-align: center;
    overflow: clip;
}
.cta-panel .aura { position: absolute; z-index: 0; }
.cta-panel > *:not(.aura) { position: relative; z-index: 2; }
.cta-panel h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    line-height: 1.06;
    letter-spacing: -0.018em;
    max-width: 21ch;
    margin: 0 auto;
    color: var(--ink);
}
.cta-panel p {
    font-size: 17px;
    line-height: 1.65;
    max-width: 56ch;
    margin: 20px auto 0;
    color: var(--body-c);
}
.cta-panel .cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 34px;
}

/* ---------- Footer — light colophon ---------- */
.footer {
    border-top: 1px solid var(--hairline);
    margin-top: 96px;
    padding: 64px 0 36px;
    position: relative;
    overflow: clip;
}
.footer.footer-flush { margin-top: 0; }
.footer .aura { z-index: 0; }
.footer .container { position: relative; z-index: 2; }
.footer-masthead {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.footer-masthead img { width: clamp(44px, 6vw, 68px); height: auto; }
.footer-masthead b {
    background: var(--dawn);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--hairline);
}
.footer-byline {
    font-size: 14.5px;
    color: var(--body-c);
    max-width: 36ch;
    line-height: 1.55;
}
.footer-byline a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-byline a:hover { color: var(--coral-text); }

.footer-links { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.footer-links a {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 150ms var(--ease);
}
.footer-links a:hover { color: var(--coral-text); }

.footer-fine {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 36px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--faint);
}
.footer-fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-fine a:hover { color: var(--ink); }

/* ---------- Interior page header ---------- */
.page-head { padding: 48px 0 0; }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--faint);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 150ms var(--ease);
}
.back-link:hover { color: var(--coral-text); }

/* ---------- Forms ---------- */
.form-block { display: flex; flex-direction: column; gap: 7px; margin-bottom: 24px; }
.form-block label {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
}
.form-block .help {
    font-size: 13px;
    color: var(--faint);
    line-height: 1.5;
}
.form-block .help strong { color: var(--ink); font-weight: 600; }
.form-block input,
.form-block select,
.form-block textarea {
    font-family: var(--sans);
    font-size: 15.5px;
    color: var(--ink);
    background: var(--canvas);
    border: 1px solid var(--hairline-2);
    border-radius: var(--r-input);
    padding: 13px 16px;
    width: 100%;
    transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.form-block input::placeholder,
.form-block textarea::placeholder { color: #A39A91; }
.form-block textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.form-block input:hover, .form-block select:hover, .form-block textarea:hover { border-color: var(--ink); }
.form-block input:focus, .form-block select:focus, .form-block textarea:focus {
    outline: none;
    border-color: var(--sun);
    box-shadow: 0 0 0 4px rgba(255, 90, 46, 0.12);
}
.form-block select {
    background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                      linear-gradient(-45deg, transparent 50%, var(--ink) 50%);
    background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

.form-subhead {
    font-family: var(--display);
    font-weight: 650;
    font-size: 15px;
    color: var(--ink);
    margin: 34px 0 18px;
    padding-top: 26px;
    border-top: 1px solid var(--hairline);
}
.form-subhead span { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--faint); }

.form-note {
    font-size: 13.5px;
    color: var(--faint);
    margin-top: 18px;
}

/* ---------- Byline ---------- */
.byline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    font-size: 14px;
    color: var(--faint);
}
.byline strong { color: var(--ink); font-weight: 600; }
.byline-avatar {
    width: 36px; height: 36px;
    flex: none;
    border-radius: 50%;
    background: var(--dawn);
    color: #FFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12.5px;
}

/* ---------- Guide article template ---------- */
.guide-hero { padding: 48px 0 36px; }
.guide-hero .h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }

.guide-body { padding-bottom: 96px; }
.guide-body .container-narrow { max-width: 760px; }

.guide-toc {
    background: var(--well);
    border-radius: var(--r-card);
    padding: 24px 28px;
    margin-bottom: 56px;
}
.guide-toc-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 10px;
}
.guide-toc ol {
    list-style: none;
    counter-reset: toc;
}
.guide-toc li { counter-increment: toc; }
.guide-toc a {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 7px 0;
    text-decoration: none;
    color: var(--body-c);
    font-weight: 500;
    font-size: 15px;
    transition: color 150ms var(--ease);
}
.guide-toc a::before {
    content: counter(toc);
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--coral-text);
    min-width: 18px;
}
.guide-toc a:hover { color: var(--coral-text); }

.guide-body h2 {
    font-family: var(--display);
    font-weight: 650;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    line-height: 1.14;
    letter-spacing: -0.015em;
    margin: 60px 0 18px;
}
.guide-body h2 .num {
    font-family: var(--mono);
    font-weight: 500;
    font-size: 0.6em;
    color: var(--coral-text);
    margin-right: 12px;
    vertical-align: 2px;
}
.guide-body h3 {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.005em;
    margin: 32px 0 10px;
}
.guide-body p {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--body-c);
    margin-bottom: 17px;
    max-width: 70ch;
}
.guide-body ul, .guide-body ol {
    padding-left: 22px;
    margin-bottom: 17px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.guide-body li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body-c);
}
.guide-body li::marker { color: var(--coral-text); font-weight: 600; }
.guide-body li strong, .guide-body p strong { color: var(--ink); font-weight: 650; }
.guide-body a:not(.btn) {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 150ms var(--ease);
}
.guide-body a:not(.btn):hover { color: var(--coral-text); }
.guide-body a.related-card { text-decoration: none; color: inherit; }
.guide-body code {
    font-family: var(--mono);
    font-size: 0.85em;
    background: var(--well);
    border: 1px solid var(--hairline);
    color: var(--coral-text);
    padding: 2px 6px;
    border-radius: 6px;
}
.guide-body blockquote {
    background: var(--well);
    border-radius: var(--r-card);
    padding: 20px 24px;
    margin: 26px 0;
    font-size: 1.05rem;
    color: var(--ink);
}

/* CTA block inside guides — aura card */
.guide-cta {
    position: relative;
    background:
        radial-gradient(420px 260px at 88% 0%, rgba(207, 164, 244, 0.28), transparent 65%),
        radial-gradient(420px 260px at 4% 100%, rgba(255, 90, 46, 0.16), transparent 65%),
        var(--canvas);
    border: 1px solid var(--hairline-2);
    border-radius: 24px;
    padding: 40px 42px;
    margin: 64px 0 0;
}
.guide-cta h3 {
    font-family: var(--display);
    font-weight: 650;
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
    letter-spacing: -0.012em;
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--ink);
}
.guide-cta p { color: var(--body-c); font-size: 15.5px; margin-bottom: 0; }
.guide-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 640px) { .guide-cta { padding: 30px 24px; } }

/* Read next */
.related { margin-top: 72px; border-top: 1px solid var(--hairline-2); }
.related-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--faint);
    padding: 18px 0 6px;
}
.related-grid { display: flex; flex-direction: column; }
.related-card {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 0;
    border-bottom: 1px solid var(--hairline);
    text-decoration: none;
    color: inherit;
}
.related-card h4 {
    font-family: var(--display);
    font-weight: 630;
    font-size: 16.5px;
    letter-spacing: -0.008em;
    transition: color 160ms var(--ease);
}
.related-card p {
    font-size: 13.5px;
    color: var(--faint);
    margin: 0;
    text-align: right;
    flex: none;
    max-width: 44%;
}
.related-card:hover h4 { color: var(--coral-text); }
@media (max-width: 640px) {
    .related-card { flex-direction: column; gap: 3px; }
    .related-card p { text-align: left; max-width: none; }
}

/* ---------- Guides index ---------- */
.index-list {
    margin-top: 48px;
    border-top: 1px solid var(--hairline-2);
    position: relative;
    z-index: 2;
}
.index-entry {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) auto;
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
    padding: 30px 10px;
    border-bottom: 1px solid var(--hairline);
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    transition: background 200ms var(--ease);
}
.index-entry:hover { background: var(--dawn-soft); }
.index-entry:hover .index-title { color: var(--coral-text); }
.index-entry:hover .index-arrow { transform: translateX(4px); color: var(--coral-text); }

.index-tag {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--coral-text);
    display: block;
    margin-bottom: 8px;
}
.index-title {
    font-family: var(--display);
    font-weight: 650;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    line-height: 1.18;
    letter-spacing: -0.012em;
    transition: color 180ms var(--ease);
}
.index-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--body-c);
}
.index-arrow {
    font-size: 1.2rem;
    color: var(--faint);
    transition: transform 180ms var(--ease), color 180ms var(--ease);
}
@media (max-width: 800px) {
    .index-entry { grid-template-columns: 1fr; gap: 8px; }
    .index-arrow { display: none; }
}

/* ---------- About page ---------- */
.about-split {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 4fr);
    gap: clamp(40px, 6vw, 72px);
    align-items: center;
    position: relative;
    z-index: 2;
}
.about-portrait {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--well);
    box-shadow: var(--lift);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-caption {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--faint);
    margin-top: 12px;
}
@media (max-width: 900px) {
    .about-split { grid-template-columns: 1fr; gap: 32px; }
    .about-portrait { max-width: 340px; }
}

.chapter { padding: 52px 0; border-top: 1px solid var(--hairline); }
.chapter:first-of-type { border-top: none; }
.chapter-title {
    font-family: var(--display);
    font-weight: 650;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
    max-width: 28ch;
}
.chapter-body { max-width: 66ch; }
.chapter-body p { font-size: 16.5px; line-height: 1.75; color: var(--body-c); }
.chapter-body p + p { margin-top: 17px; }

.principle-list {
    list-style: none;
    border-top: 1px solid var(--hairline-2);
    margin-top: 6px;
}
.principle {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--hairline);
}
.principle-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--dawn);
    color: #FFF;
    font-weight: 700;
    font-size: 12.5px;
    margin-top: 3px;
}
.principle-text .lead-line {
    font-family: var(--display);
    font-weight: 650;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 7px;
    line-height: 1.3;
}
.principle-text p { font-size: 16px; line-height: 1.7; color: var(--body-c); max-width: 62ch; }
@media (max-width: 640px) {
    .principle { grid-template-columns: 1fr; gap: 8px; }
}

/* Signoff — aura card */
.signoff {
    position: relative;
    background:
        radial-gradient(460px 280px at 90% 0%, rgba(207, 164, 244, 0.3), transparent 65%),
        radial-gradient(460px 280px at 2% 100%, rgba(255, 90, 46, 0.18), transparent 65%),
        var(--canvas);
    border: 1px solid var(--hairline-2);
    border-radius: 24px;
    padding: 44px 48px;
    margin-top: 52px;
}
.signoff > p {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.45;
    max-width: 40ch;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.signoff-name {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 28px;
    font-size: 14px;
    color: var(--faint);
}
.signoff-name strong { color: var(--ink); font-weight: 600; }
.signoff-monogram {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--dawn);
    color: #FFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}
.about-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 640px) { .signoff { padding: 32px 26px; } }

/* ---------- Booking frame ---------- */
.booking-frame {
    margin-top: 36px;
    background: var(--canvas);
    border: 1px solid var(--hairline-2);
    border-radius: var(--r-card);
    overflow: hidden;
    min-height: 720px;
    box-shadow: var(--lift);
}
.booking-frame iframe { width: 100%; height: 720px; border: 0; display: block; }
@media (max-width: 640px) {
    .cta-panel { padding: 40px 16px; }
    .cta-panel h2 { font-size: clamp(1.5rem, 6.4vw, 2rem); }
    .booking-frame { margin-left: -6px; margin-right: -6px; min-height: 980px; }
    .booking-frame iframe { height: 980px; }
}

/* ---------- Sidebar list (audit page) ---------- */
.side-list {
    background: var(--well);
    border-radius: var(--r-card);
    padding: 26px 28px;
}
.side-list-label {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink);
    padding-bottom: 8px;
}
.side-list ul { list-style: none; }
.side-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
}
.side-list li:last-child { border-bottom: none; }
.side-list li strong {
    display: block;
    font-family: var(--display);
    font-weight: 630;
    font-size: 15px;
    letter-spacing: -0.008em;
    margin-bottom: 4px;
    color: var(--ink);
}
.side-list li p { font-size: 13.5px; color: var(--body-c); line-height: 1.55; margin: 0; }

.turnaround {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 18px 28px;
    background: var(--dawn-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--r-card);
    margin-top: 14px;
}
.turnaround-num {
    font-family: var(--display);
    font-weight: 700;
    font-size: 40px;
    line-height: 1;
    color: var(--coral-text);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.turnaround-text {
    font-size: 13.5px;
    color: var(--body-c);
}

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose h2 {
    font-family: var(--display);
    font-weight: 650;
    font-size: 1.35rem;
    letter-spacing: -0.012em;
    margin: 40px 0 12px;
}
.prose h3 { font-weight: 700; font-size: 16.5px; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.7; color: var(--body-c); margin-bottom: 13px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--coral-text); }
.prose strong { color: var(--ink); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
    body { padding: 8px; }
    .frame { border-radius: 20px; }
    .section { padding: 64px 0; }
    .cta-panel { border-radius: 22px; }
}

/* ---------- "In short" answer block (top of every article) ----------
   Plain-English direct answer + key points: what a reader skims first
   and what an AI assistant quotes when it cites the page. */
.guide-short {
    background: var(--dawn-soft);
    border: 1px solid var(--hairline-2);
    border-radius: var(--r-card);
    padding: 26px 28px;
    margin: 0 0 40px;
}
.guide-short-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coral-text);
    margin-bottom: 12px;
}
.guide-short-answer {
    font-size: 17.5px;
    line-height: 1.55;
    color: var(--ink);
    margin: 0 0 16px;
}
.guide-short-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.guide-short-points li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--body-c);
}
.guide-short-points li::before {
    content: '';
    position: absolute; left: 0; top: 9px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--dawn);
}
.guide-short-for {
    margin: 16px 0 0;
    font-size: 13.5px;
    color: var(--faint);
}
.guide-short-for b { color: var(--body-c); font-weight: 600; }
@media (max-width: 600px) {
    .guide-short { padding: 20px 18px; margin-bottom: 32px; }
    .guide-short-answer { font-size: 16.5px; }
}

/* ---------- Email landing pages: VSL slot + client story ---------- */
.vsl { max-width: 880px; margin: 48px auto 0; position: relative; z-index: 2; }
.vsl-frame {
    position: relative; border-radius: var(--r-card); overflow: hidden;
    background: var(--ink); box-shadow: var(--lift);
}
.vsl-frame .masirah-video { border-radius: var(--r-card); }
.vsl-placeholder {
    position: relative; aspect-ratio: 16 / 9; color: #fff;
    display: grid; align-items: center; text-align: left; overflow: hidden;
}
.vsl-placeholder > img {
    position: absolute; top: 0; right: 0; bottom: 0; width: 58%; height: 100%;
    object-fit: cover; object-position: center 12%;
}
.vsl-placeholder::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--ink) 40%, rgba(26,20,15,.92) 50%, rgba(26,20,15,.45) 72%, rgba(26,20,15,.08) 100%);
}
.vsl-placeholder-inner { position: relative; z-index: 1; padding: 36px 44px; max-width: 62%; }
.vsl-play {
    width: 64px; height: 64px; border-radius: 50%; background: var(--dawn);
    display: grid; place-items: center; margin: 0 0 20px; box-shadow: var(--glow);
}
.vsl-play::after {
    content: ''; border-left: 20px solid #fff;
    border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px;
}
.vsl-placeholder h3 {
    font-family: var(--display); font-weight: 650; letter-spacing: -0.015em;
    font-size: clamp(1.25rem, 2.6vw, 1.85rem); line-height: 1.15; max-width: 20ch; margin: 0 0 10px;
}
.vsl-placeholder p { color: rgba(255,255,255,.74); font-size: 14.5px; margin: 0; }
@media (max-width: 600px) {
    .vsl-placeholder { aspect-ratio: 4 / 3; }
    .vsl-placeholder > img { width: 58%; }
    .vsl-placeholder::after { background: linear-gradient(90deg, var(--ink) 38%, rgba(26,20,15,.6) 70%, rgba(26,20,15,.1)); }
    .vsl-placeholder-inner { padding: 22px 22px; max-width: 72%; }
    .vsl-play { width: 48px; height: 48px; margin-bottom: 14px; }
}
.vsl-note { text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 12px; }

.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.story-copy p { color: var(--body-c); font-size: 16.5px; line-height: 1.65; }
.story-video { position: relative; z-index: 2; }
.story-video .masirah-video { border-radius: var(--r-card); box-shadow: var(--lift); max-width: 380px; margin: 0 auto; }
.story-who { display: flex; gap: 14px; align-items: center; margin-top: 18px; }
.story-logo { height: 44px; width: auto; flex: none; }
.story-name { font-weight: 650; color: var(--ink); }
.story-role { font-size: 13.5px; color: var(--body-c); }
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.reason {
    background: var(--canvas); border: 1px solid var(--hairline-2); border-radius: var(--r-card);
    padding: 26px 24px;
}
.reason-n { font-family: var(--mono); font-size: 12px; color: var(--coral-text); display: block; margin-bottom: 12px; }
.reason h3 { font-family: var(--display); font-weight: 650; font-size: 1.2rem; letter-spacing: -0.012em; margin: 0 0 10px; }
.reason p { color: var(--body-c); font-size: 15px; line-height: 1.6; margin: 0; }
@media (max-width: 900px) {
    .story { grid-template-columns: 1fr; }
    .story-video { order: -1; }
    .reasons { grid-template-columns: 1fr; }
}

/* Static trust row (replaces the marquee) */
.trust-static { display: flex; align-items: center; gap: clamp(36px, 7vw, 80px); flex-wrap: wrap; }
.trust-static img { height: 34px; width: auto; opacity: .7; filter: grayscale(1) contrast(.9); }
.trust-static img.logo-tall { height: 46px; }
.trust-static img.logo-tbv { height: 78px; }

/* Exit Strategy Partners wordmark is wide; slightly taller than default */
.trust-track img.logo-esp, .trust-static img.logo-esp { height: 34px; }


/* ---------- Split hero: headline left, animation right ---------- */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    gap: clamp(36px, 5vw, 80px);
    align-items: center;
    text-align: left;
}
.hero-grid .hero-chip { margin-bottom: 22px; }
.hero-grid .hero-headline { margin: 0; max-width: 14ch; font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.hero-grid .hero-sub { margin: 20px 0 0; }
.hero-grid .hero-ctas { justify-content: flex-start; margin-top: 30px; }
.hero-grid .hero-visual { min-width: 0; }
.hero-grid .hero-stagewrap { margin: 0 auto; max-width: 560px; }
.hero-compact { padding: 48px 0 56px; }
.hero-compact .trust-strip { margin-top: 40px; }
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 8px; }
    .hero-grid .hero-headline { margin: 0 auto; }
    .hero-grid .hero-sub { margin: 20px auto 0; }
    .hero-grid .hero-ctas { justify-content: center; }
    .hero-grid .hero-stagewrap { margin: 40px auto 0; }
    .hero-compact { padding: 44px 0 56px; }
}

/* ---------- Video facade: instant poster, player loads on click ---------- */
.video-facade {
    position: relative;
    width: 100%;
    border-radius: var(--r-card);
    overflow: hidden;
    background: #000 center/cover no-repeat;
    cursor: pointer;
    box-shadow: var(--lift);
    border: 0;
    padding: 0;
    display: block;
}
.video-facade::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26,20,15,.05), rgba(26,20,15,.35));
    transition: background 200ms var(--ease);
}
.video-facade:hover::after { background: linear-gradient(180deg, rgba(26,20,15,0), rgba(26,20,15,.25)); }
.video-facade .vf-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    z-index: 2; width: 74px; height: 74px; border-radius: 50%;
    background: var(--dawn); display: grid; place-items: center;
    box-shadow: 0 10px 30px -6px rgba(255,90,46,.6);
    transition: transform 200ms var(--ease);
}
.video-facade:hover .vf-play { transform: translate(-50%, -50%) scale(1.08); }
.video-facade .vf-play::after {
    content: ''; border-left: 22px solid #fff;
    border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px;
}
.video-facade .vf-label {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 16px 18px; color: #fff;
    font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.story-video .video-facade { max-width: 380px; margin: 0 auto; }

/* Inner Sanctuary lockup: wide, like the ESP wordmark */
.trust-track img.logo-is, .trust-static img.logo-is { height: 34px; }

/* ---------- Case studies ---------- */
.case { padding: 72px 0; border-top: 1px solid var(--hairline); position: relative; }
.case:first-of-type { border-top: 0; }
.case-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.case-grid.is-reversed .case-media { order: -1; }
.case-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.case-eyebrow img { height: 30px; width: auto; }
.case-eyebrow span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--faint); }
.case h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 10px; }
.case-body p { color: var(--body-c); font-size: 16.5px; line-height: 1.68; margin-top: 16px; }
.case-metrics { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 4px; }
.case-metric { flex: 1 1 150px; background: var(--dawn-soft); border: 1px solid var(--hairline-2); border-radius: var(--r-card); padding: 18px 20px; }
.case-metric b { display: block; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); }
.case-metric span { font-size: 13.5px; color: var(--body-c); line-height: 1.4; display: block; margin-top: 4px; }
.case-media { position: relative; z-index: 2; }
.case-media .video-facade { max-width: 380px; margin: 0 auto; }
.case-cta { margin-top: 28px; }
/* Pull-quote card (for cases without a video) */
.pullquote { background: var(--canvas); border: 1px solid var(--hairline-2); border-radius: var(--r-card); box-shadow: var(--lift); padding: 34px 32px; position: relative; }
.pullquote::before { content: '\201C'; position: absolute; top: 6px; left: 22px; font-family: var(--display); font-size: 90px; line-height: 1; color: var(--sun); opacity: .28; }
.pullquote blockquote { position: relative; z-index: 1; margin: 8px 0 0; font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
.pullquote .who { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.pullquote .who img { height: 40px; width: auto; }
.pullquote .who b { display: block; font-weight: 650; color: var(--ink); font-size: 15px; }
.pullquote .who span { font-size: 13px; color: var(--body-c); }
@media (max-width: 900px) {
    .case { padding: 52px 0; }
    .case-grid { grid-template-columns: 1fr; gap: 28px; }
    .case-grid.is-reversed .case-media { order: 0; }
    .case-media { order: -1; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-bottom: 20px; }
.crumbs a { color: var(--coral-text); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 2px; }
.crumbs span { color: var(--faint); }

/* ---------- Category hub + blog index ---------- */
.hub-head { padding: 52px 0 8px; }
.hub-head .h1 { max-width: 20ch; }
.hub-head .lead { max-width: 60ch; margin-top: 20px; }
.hub-help { background: var(--well); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 26px 28px; margin-top: 32px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hub-help p { flex: 1 1 340px; color: var(--body-c); font-size: 15.5px; line-height: 1.6; margin: 0; }
.hub-help .btn { flex: none; }
.blog-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.blog-cat { display: block; background: var(--canvas); border: 1px solid var(--hairline-2); border-radius: var(--r-card); padding: 28px 26px; text-decoration: none; color: inherit; transition: background 200ms var(--ease), border-color 200ms var(--ease); }
.blog-cat:hover { background: var(--dawn-soft); border-color: var(--sun); }
.blog-cat h2 { font-family: var(--display); font-weight: 650; font-size: 1.35rem; letter-spacing: -0.015em; margin: 0 0 8px; }
.blog-cat p { color: var(--body-c); font-size: 14.5px; line-height: 1.55; margin: 0 0 14px; }
.blog-cat .count { font-family: var(--mono); font-size: 12px; color: var(--coral-text); }
@media (max-width: 760px) { .blog-cats { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.svc-card { background: var(--canvas); border: 1px solid var(--hairline-2); border-radius: var(--r-card); padding: 28px 26px; display: flex; flex-direction: column; }
.svc-card .num { font-family: var(--mono); font-size: 12px; color: var(--coral-text); margin-bottom: 12px; }
.svc-card h2 { font-family: var(--display); font-weight: 650; font-size: 1.3rem; letter-spacing: -0.015em; margin: 0 0 10px; }
.svc-card p { color: var(--body-c); font-size: 15px; line-height: 1.6; margin: 0 0 16px; flex: 1; }
.svc-card a.svc-link { font-weight: 600; font-size: 14px; color: var(--coral-text); text-decoration: none; }
.svc-card a.svc-link:hover { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

/* ---------- Cases slider + cards ---------- */
.case-slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 0 18px; margin-top: 28px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.case-slider::-webkit-scrollbar { display: none; }
.case-card { scroll-snap-align: start; flex: 0 0 clamp(280px, 80%, 400px); display: flex; flex-direction: column; background: var(--canvas); border: 1px solid var(--hairline-2); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--lift); transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.case-card:hover { border-color: var(--sun); transform: translateY(-3px); }
.case-card-media { position: relative; aspect-ratio: 4 / 5; background: var(--ink) center 22% / cover no-repeat; }
.case-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,20,15,.05), rgba(26,20,15,.55)); }
.case-card-logo { position: absolute; left: 16px; bottom: 14px; z-index: 1; height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.case-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.case-card-name { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--faint); margin-bottom: 8px; }
.case-card h3 { font-family: var(--display); font-weight: 650; font-size: 1.22rem; line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 10px; }
.case-card .result { font-size: 14.5px; line-height: 1.55; color: var(--body-c); margin: 0 0 16px; flex: 1; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.case-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em; border: 1px solid var(--hairline-2); border-radius: 999px; padding: 4px 10px; color: var(--body-c); text-decoration: none; }
.case-card .read { font-weight: 600; font-size: 14px; color: var(--coral-text); }
.case-slider-hint { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 4px; }

/* Case page: "what we helped with" service chips (links) */
.case-services { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.case-service { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--hairline-2); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 13.5px; color: var(--body-c); text-decoration: none; transition: border-color 180ms var(--ease), color 180ms var(--ease); }
.case-service:hover { border-color: var(--sun); color: var(--coral-text); }
.case-service::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dawn); flex: none; }

/* Cases: stack vertically on mobile instead of horizontal scroll */
@media (max-width: 700px) {
    .case-slider { flex-direction: column; overflow-x: visible; scroll-snap-type: none; }
    .case-card { flex: 1 1 auto; width: 100%; }
    .case-slider-hint { display: none; }
}

/* ---------- Cases: selectable tag filters ---------- */
.case-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.case-filters-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-right: 6px; }
.case-filter { font-family: var(--mono); font-size: 12px; border: 1px solid var(--hairline-2); background: var(--canvas); border-radius: 999px; padding: 8px 15px; color: var(--body-c); cursor: pointer; transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
.case-filter:hover { border-color: var(--sun); color: var(--coral-text); }
.case-filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.case-card.is-hidden { display: none; }
.case-empty { margin-top: 28px; color: var(--body-c); }
.case-empty a { color: var(--coral-text); }
