/* Layout and components for the Astro pages. Values come from tokens.css only.
   The legal pages use site.css, which stays untouched. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + var(--space-2)); interpolate-size: allow-keywords; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; border-radius: var(--radius-xs); }

.skip-link { position: absolute; left: var(--space-2); top: -100px; z-index: 100; background: var(--color-card); padding: var(--space-1) var(--space-2); border-radius: var(--radius); }
.skip-link:focus { top: var(--space-2); }

.wrap { width: 100%; max-width: var(--w-wide); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Mockup-only marks ---------- */
.mockup-bar { background: var(--color-dark); color: var(--color-on-dark); font-size: var(--text-xs); text-align: center; padding: var(--space-0) var(--space-2); letter-spacing: 0.04em; }
.off-tag { display: inline-block; background: var(--color-off); color: var(--color-on-dark); font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: 0.06em; padding: 2px var(--space-1); border-radius: var(--radius-xs); margin: 0 auto var(--space-2); }
section[data-off] > .off-tag { display: block; width: fit-content; }
.off-tag--inline { display: block; width: fit-content; margin: 0 auto var(--space-1); }
[data-off] { outline: 2px dashed var(--color-off); outline-offset: 4px; }
section[data-off] { outline-offset: -6px; }
.ph { background: var(--color-ph); border-radius: var(--radius-xs); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 0.2em; }
.ph__words { font-size: 0.8em; }
.ph-box { display: grid; place-items: center; background: var(--color-ph); border: 1px dashed var(--color-ph-line); border-radius: var(--radius-lg); color: var(--color-text-muted); font-size: var(--text-sm); text-align: center; padding: var(--space-2); width: 100%; }
[data-draft] { text-decoration: underline dotted var(--color-ph-line); text-underline-offset: 4px; }
.draft-note { font-size: var(--text-xs); color: var(--color-text-muted); text-align: center; margin-top: var(--space-2); }

/* ---------- Bands ---------- */
.band { padding: var(--section-pad) 0; position: relative; }
.band--light { background: var(--color-bg); }
.band--white { background: var(--color-card); }
.band--beige { background: var(--color-sand); } /* warm, not grey (CEO 11-11) */
.band--dark { background: var(--color-dark); color: var(--color-on-dark); }
@media (max-width: 760px) { .band { padding: var(--section-pad-phone) 0; } }

.section-head { text-align: center; max-width: var(--w-text); margin: 0 auto var(--space-5); }
.eyebrow { font-family: var(--font-body); font-size: var(--text-xs); font-weight: var(--weight-medium); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-accent-text); margin-bottom: 16px; }
/* Tanker: one weight, capitals only. Lowercase keys draw its plain capitals. */
.section-title, .contact h2, .cta-band h2, .page-hero h1, .open-app h3 { font-family: var(--font-title); font-weight: var(--weight-serif); text-transform: lowercase; letter-spacing: var(--tracking-title); }
.section-title { font-size: var(--text-h2); line-height: var(--line-height-heading); text-wrap: balance; } /* 10-30: no word left alone on the last line */
.section-title--bold { font-size: var(--text-h2-bold); } /* was the reference's bold sans; every section title is Tanker since 10-25 */
.section-sub { color: var(--color-text-muted); margin-top: var(--space-2); }
.band--dark .eyebrow { color: var(--color-accent-on-dark); }
.band--dark .section-sub { color: var(--color-on-dark-muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--text-cta); font-weight: var(--weight-bold); line-height: normal; text-decoration: none; padding: 15px 30px; border-radius: var(--radius); border: 0; cursor: pointer; transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), background-color var(--duration-fast); }
.btn:hover { transform: translate(-1px, -1px); }
.btn:active { transform: translate(1px, 1px); }
/* "Lighter" style (locked 10-25): thin edge + small solid offset shadow. Press: no shadow. */
.btn--primary { background: var(--color-accent); color: var(--color-on-accent); border: var(--btn-border); box-shadow: var(--btn-shadow); }
.btn--primary:hover { box-shadow: var(--btn-shadow-hover); }
.btn--primary:active, .btn--dark:active { box-shadow: none; }
.btn--dark { background: var(--color-dark-card); color: var(--color-on-dark); border: var(--btn-border-on-dark); box-shadow: var(--btn-shadow-on-dark); }
.band--dark .btn--primary { border: var(--btn-border-on-dark); box-shadow: var(--btn-shadow-on-dark); }
.btn--outline { background: transparent; border: 1.5px solid var(--color-accent); color: var(--color-text); padding: var(--space-1h) var(--space-3); font-size: var(--text-base); }
.btn--full { width: 100%; }
.btn [data-ph] { background: transparent; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; border-radius: var(--radius); cursor: pointer; }

.section-cta { display: flex; flex-direction: column; align-items: center; gap: var(--cta-pill-gap); margin-top: 48px; text-align: center; }
/* Guarantee pill under the hero button. */
.pill { display: inline-flex; align-items: center; gap: var(--space-1); font-size: 13px; font-weight: var(--weight-bold); line-height: 1.4; color: var(--color-on-dark); background: var(--color-dark); border-radius: var(--radius); padding: 6px 14px 6px 10px; text-align: left; }
.shield { flex: none; }
.shield__body { fill: var(--color-accent); stroke: var(--color-accent); }
.shield__check { stroke: var(--color-dark); }
/* Guarantee pill (CEO 10-30): a faded Cocoa Tea, soft on the eyes like the reference's pale pill.
   A pale Cocoa tint with Cocoa Tea text. */
.pill { background: color-mix(in srgb, var(--color-text) 10%, color-mix(in srgb, var(--color-accent) 8%, var(--color-bg))); color: var(--color-text); border: 1px solid color-mix(in srgb, var(--color-text) 20%, transparent); } /* warm milky Cocoa, not grey */
.pill .shield__check { stroke: var(--color-text); }
.icon--accent { color: var(--color-accent); flex: none; }
/* Guarantee line under every other button: section buttons, the case file, the phone menu (CEO 10-30: "Yes, plain line").
   Only the hero keeps the box, like the reference. No box, no shield, one line.
   Weight 600 asked; Satoshi ships 500 and 700 only, so 600 draws as 700. */
/* 10-30 (CEO, matched to the reference): tucked 10px under the button, a small outline shield, faded text.
   Reference: 11.2px semi-bold faded grey, 11x12 outline shield, 6px gap. Ours: 12px medium, the faintest Cocoa Tea mix that
   still passes AA (4.5:1) on the cream band, Sweet Mango outline shield. */
.gpill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 12px; font-weight: var(--weight-medium); line-height: 1.4; color: color-mix(in srgb, var(--color-text) 62%, var(--color-bg)); white-space: nowrap; } /* 62%: the faintest that stays AA on the cream band */
.band--dark .gpill { color: var(--color-on-dark-muted); }
.band--beige .gpill { color: color-mix(in srgb, var(--color-text) 72%, var(--color-sand)); } /* 62% is too faint on Sand; 72% stays AA (11-11) */
.gpill .shield { width: 11px; height: 13px; }
.gpill .shield__body { fill: none; stroke: var(--color-accent); stroke-width: 2.6; }
.gpill .shield__check { stroke: var(--color-accent); stroke-width: 2.6; }
.section-cta { gap: 10px; }

/* ---------- Top bar + menu ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--color-nav-bg); -webkit-backdrop-filter: blur(var(--blur-nav)); backdrop-filter: blur(var(--blur-nav)); border-bottom: 1px solid var(--color-border); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); max-width: calc(1092px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: var(--topbar-h); }
.brand { display: inline-flex; align-items: center; gap: var(--space-1); text-decoration: none; font-weight: var(--weight-heavy); letter-spacing: var(--tracking-tight); }
.brand__logo { display: block; height: 28px; width: auto; }
.topnav { display: flex; align-items: center; gap: var(--space-3); }
.topnav ul { display: flex; gap: var(--space-3); }
.topnav a:not(.btn), .menu a:not(.btn) { text-decoration: none; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-text-muted); transition: color var(--duration-fast); }
.topnav a:not(.btn):hover { color: var(--color-text); }
.topnav__cta { padding: 10px 22px; font-size: 13px; letter-spacing: 0.02em; gap: 6px; border-radius: var(--radius-sm); }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; background: transparent; border: 0; cursor: pointer; }

.menu { margin: 0 0 0 auto; padding: 0; border: 0; width: min(var(--menu-width), 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; background: var(--color-card); }
.menu::backdrop { background: var(--color-menu-backdrop); -webkit-backdrop-filter: blur(var(--blur-menu)); backdrop-filter: blur(var(--blur-menu)); }
.menu[open] { animation: menu-in var(--duration-menu) var(--ease-out); }
.menu[open]::backdrop { animation: fade-in var(--duration-menu) var(--ease-out); }
.menu__panel { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-2) var(--space-3) var(--space-4); }
.menu__close { align-self: flex-end; }
.menu__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); } /* 10-30: logo in the phone menu (CEO) */
.menu__head .menu__close { align-self: auto; }
.menu ul { display: flex; flex-direction: column; }
.menu li a { display: block; padding: var(--space-1h) 0; font-size: var(--text-lg); border-bottom: 1px solid var(--color-border); }
@keyframes menu-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 899px) {
  .topbar__inner { height: var(--topbar-h-phone); }
  .js .topnav { display: none; }
  .js .menu-btn { display: grid; }
  /* No JS: show the links in a row under the logo instead of a dead hamburger. */
  .no-js .topbar__inner { height: auto; flex-wrap: wrap; padding-block: var(--space-1); }
  .no-js .topnav { flex-wrap: wrap; gap: var(--space-2); }
  .no-js .topnav ul { flex-wrap: wrap; gap: var(--space-2); }
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding-top: 40px; padding-bottom: 64px; container-type: inline-size; }
.hero h1 { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 400; text-transform: lowercase; letter-spacing: var(--tracking-title); line-height: var(--line-height-tight); max-width: var(--w-hero); margin: 0 auto; text-wrap: balance; }
/* Headline written as lines: each line stays whole, size shrinks to fit the column. */
.hero h1 .ln { display: block; white-space: nowrap; }
.hero h1:has(.ln) { font-size: min(3.9rem, 6.3cqi); } /* 10-30: a little bigger so it pops (was 3.4rem max) */
/* 10-30 (CEO): above the fold sits on the deeper cream (same as The Solution, close to the reference's), so the white
   Problem section stands apart instead of looking the same. */
.band.hero { background: var(--color-card); } /* 10-30 (CEO): same white as The Problem; the Mango Wash guarantee band sits between them */
.hero__who { display: inline-block; font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: 1.4; color: var(--color-text); background: var(--color-card); border: var(--btn-border); box-shadow: var(--btn-shadow); border-radius: var(--radius); padding: 7px 14px 7px 12px; max-width: 100%; text-wrap: balance; margin: 0 auto var(--hero-pill-gap); }
.hero__who b { font-weight: var(--weight-bold); color: var(--color-accent-text); }
.proofline { display: inline-flex; align-items: center; gap: 10px; margin: -8px 0 0; font-size: var(--text-sm); line-height: 1.4; color: var(--color-text-muted); }
.proofline b { color: var(--color-text); font-weight: var(--weight-bold); }
.proofline__av { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: var(--weight-bold); line-height: 1; color: var(--color-accent-text); background: var(--color-accent-pale); border: 1px solid var(--color-accent-tint-line); }
.hero__fine { font-size: var(--text-xs); color: var(--color-text-faint); max-width: var(--w-sub); margin: 8px auto 0; }
.fine-note { font-size: var(--text-xs); color: var(--color-text-muted); text-align: center; margin-top: var(--space-2); }
.case-card--static { cursor: default; }
.case-card--static:hover { transform: none; box-shadow: none; }
.hero__sub { font-size: var(--text-sub); line-height: 1.45; color: var(--color-text-muted); max-width: var(--w-sub); margin: var(--hero-h1-gap) auto 0; }
.hero__media { max-width: var(--w-video); margin: var(--hero-sub-gap) auto 0; }
.hero__media .ph-box { border-radius: var(--radius-lg); border: 1.5px dashed var(--color-border); background: color-mix(in srgb, var(--color-card) 55%, transparent); box-shadow: none; } /* picker 10-25 */
.hero__actions { display: flex; flex-direction: column; align-items: center; gap: var(--cta-pill-gap); margin-top: var(--hero-media-gap); }
.call-box { max-width: 460px; margin: 28px auto 0; text-align: left; }
.call-box__label { font-size: 0.75rem; font-weight: var(--weight-bold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-faint); text-align: center; margin-bottom: 12px; }
.call-box__list { display: flex; flex-direction: column; gap: 8px; }
.call-box__list li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--text-sm); line-height: 1.5; color: var(--color-text-muted); }
/* Thin line check, no circle. */
/* Check badge (CEO 11-03, A3): check green with the button pop, no dark edge. 24px, the size of the step numbers (CEO 11-04). */
.check-badge { flex: none; display: grid; width: 24px; height: 24px; margin-top: -1px; border-radius: 50%; background: var(--color-check); box-shadow: var(--btn-shadow); }
.check-badge svg { width: 100%; height: 100%; fill: var(--color-on-check); stroke: var(--color-on-check); }
.band--dark .check-badge { box-shadow: var(--btn-shadow-on-dark); }
/* Arrow badge (CEO 11-04): "bring this". White circle, dark edge and pop like the step numbers; dark eased-cut arrow. */
.arrow-badge { flex: none; display: grid; width: 24px; height: 24px; margin-top: -1px; border-radius: 50%; border: 1px solid var(--color-text); background: var(--color-card); box-shadow: var(--btn-shadow); }
.arrow-badge svg { width: 100%; height: 100%; fill: var(--color-text); stroke: var(--color-text); }
/* /vsl/booked Please bring: a little more air between lines, then "Not sure of a number?" under a hairline, bold then plain like the steps (CEO 11-04) */
.bring-list { gap: 18px; }
.bring-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--color-border); font-size: var(--text-sm); line-height: 1.5; color: var(--color-text-muted); }
.bring-note b { color: var(--color-text); font-weight: var(--weight-bold); }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--w-text); margin: 33px auto 0; }
.stat-strip--4 { grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 var(--space-2); border-left: 1px solid var(--color-border); text-align: center; }
.stat:first-child { border-left: 0; }
.stat__num { font-size: var(--text-stat); font-weight: var(--weight-heavy); letter-spacing: var(--tracking-tight); color: var(--color-accent-text); }
.stat__label { font-size: var(--text-xs); color: var(--color-text-muted); }
@media (max-width: 760px) { .stat-strip--4 { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-3); } .stat:nth-child(3) { border-left: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; margin-top: 32px; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.marquee__track { display: flex; gap: var(--space-4); width: max-content; animation: marquee var(--duration-marquee) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__track .ph-box { width: 120px; padding: var(--space-1); border-radius: var(--radius-sm); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: var(--gutter); }
.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--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .grid--4, .grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid--2, .grid--3, .grid--5 { grid-template-columns: 1fr; } .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--4.grid--stack { grid-template-columns: 1fr; } }

.card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-3); }
.band--white .card { background: var(--color-bg); }
.card h3 { font-size: var(--text-lg); font-weight: var(--weight-bold); margin-bottom: var(--space-1); }
.card p { font-size: var(--text-card); color: var(--color-text-muted); }
.card--center { text-align: center; }
.card__label { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-accent-text); margin-bottom: var(--space-1); }
.icon-tile { display: block; width: 40px; height: 40px; border-radius: var(--radius); background: var(--color-accent-pale); border: 1px solid var(--color-accent); margin-bottom: var(--space-2); }
.ring { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--color-accent-line); background: var(--color-card); font-weight: var(--weight-heavy); color: var(--color-accent-text); }

.dot { flex: none; width: 8px; height: 8px; margin-top: 0.6em; border-radius: 50%; background: var(--color-accent-line); }

/* Process timeline */
.timeline { position: relative; max-width: var(--w-text); margin: 0 auto; display: grid; gap: var(--space-4); }
.timeline::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--color-accent-line); }
.step { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-3); position: relative; }
.step .card { max-width: 100%; }
.step__link { display: inline-block; margin-top: var(--space-1h); font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-accent-text); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

/* Dark case cards */
.case-card { display: block; width: 100%; text-align: left; background: var(--color-dark-card); color: var(--color-on-dark); border: 0; border-top: 3px solid var(--color-accent); border-radius: var(--radius-lg); padding: var(--space-3); cursor: pointer; transition: transform var(--duration-hover) var(--ease-out), box-shadow var(--duration-hover); }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.case-card:hover .case-card__link { color: var(--color-accent); }
.case-card__who { display: flex; align-items: center; gap: var(--space-1h); margin-bottom: var(--space-2); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--color-text-muted); flex: none; }
.case-card__num { font-size: var(--text-stat); font-weight: var(--weight-heavy); color: var(--color-accent-on-dark); line-height: 1.1; }
.case-card__muted { color: var(--color-on-dark-muted); font-size: var(--text-sm); }
.case-card__link { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--color-on-dark-muted); transition: color var(--duration-hover); }
.case-card .ph { background: var(--color-ph-on-dark); }

/* Video tiles */
.video-tile { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border: 0; border-radius: var(--radius-lg); background: var(--color-dark-card); color: var(--color-on-dark); padding: var(--space-2); text-align: left; cursor: pointer; overflow: hidden; }
.video-tile .ph { background: var(--color-ph-on-dark); }
.play { position: absolute; right: var(--space-2); bottom: var(--space-2); width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent); }

/* Screenshot wall (masonry) */
.masonry { columns: 3; column-gap: 6px; }
.masonry > * { break-inside: avoid; margin-bottom: 6px; }
.masonry--4 { columns: 4; }
@media (max-width: 1000px) { .masonry--4 { columns: 3; } }
@media (max-width: 760px) { .masonry, .masonry--4 { columns: 1; } }
.shot { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot.is-over, .shot.is-filtered { display: none; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1); margin-bottom: var(--space-4); }
.filter { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: var(--space-1) var(--space-2); cursor: pointer; font-size: var(--text-sm); }
.filter[aria-pressed="true"] { border-color: var(--color-text); font-weight: var(--weight-bold); }
.wall-count { text-align: center; font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.wall-more { display: flex; justify-content: center; margin-top: var(--space-4); }

.summary-box { max-width: var(--w-text); margin: var(--space-5) auto 0; }
.summary-box ul { display: grid; gap: var(--space-1); margin: var(--space-2) 0; }
.summary-box li { display: flex; gap: var(--space-1h); }

.video-frame { max-width: 680px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--w-faq); margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: var(--space-2h) 0; cursor: pointer; list-style: none; font-weight: var(--weight-medium); transition: color var(--duration-fast); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--color-accent-text); }
.faq__chev { flex: none; transition: transform var(--duration-hover) var(--ease-out); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding-bottom: var(--space-2h); color: var(--color-text-muted); }
.faq__item::details-content { block-size: 0; overflow: clip; transition: block-size var(--duration-faq) var(--ease-out), content-visibility var(--duration-faq) allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

/* ---------- Contact (legal block) ---------- */
.contact { max-width: var(--w-text); margin: 0 auto; text-align: center; }
.contact h2 { font-size: var(--text-h2); line-height: var(--line-height-heading); margin-bottom: var(--space-2); }
.contact p + p { margin-top: var(--space-2); }

/* ---------- Text pages (About, Careers) ---------- */
.page-hero { text-align: center; padding-top: var(--space-5); }
.page-hero h1 { font-size: var(--text-2xl); line-height: var(--line-height-tight); max-width: var(--w-hero); margin: 0 auto; text-wrap: balance; }
.page-hero .hero__sub { margin-top: var(--space-3); } /* 24: the gold underline sits at the bottom of the About headline, so 16 read tight on phones (CEO 11-22) */
.prose { max-width: var(--w-text); margin: 0 auto; display: grid; gap: var(--space-2); color: var(--color-text-muted); }
.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); max-width: var(--w-text); margin: var(--space-4) auto 0; }
.pull-quote { font-family: var(--font-body); font-style: normal; font-weight: var(--weight-medium); font-size: var(--text-xl); text-align: center; max-width: var(--w-text); margin: 0 auto var(--space-5); }
.statement { max-width: var(--w-text); margin: 0 auto; text-align: center; }
.statement p { font-family: var(--font-body); font-style: normal; font-weight: var(--weight-medium); font-size: var(--text-xl); }
.cta-band { text-align: center; max-width: var(--w-text); margin: 0 auto; }
.cta-band h2 { font-size: var(--text-h2); line-height: var(--line-height-heading); }
[data-section^="about."] .card h3 { text-wrap: balance; } /* no lonely last word (site rule) */
[data-section^="about."] .card p { text-wrap: pretty; }
/* About (CEO 11-09): the story reads in the dark band, one sentence per line; its last block lands bigger */
.story { color: var(--color-on-dark); font-size: var(--text-lg); line-height: 1.6; gap: var(--space-3); }
@media (max-width: 760px) { .story { font-size: 1.0625rem; } }
/* Founder photo beside the story: photo left, story right on laptops; photo on top on phones */
.story-wrap { display: grid; gap: var(--space-4); align-items: start; } /* full width, so its edges line up with the cards below */
.story-wrap .prose { margin: 0; }
.story-photo { width: 100%; max-width: 420px; margin: 0 auto; }
/* Founder photo in the lit doorway (CEO 11-20): an arch of light in the dark band, her cut-out on a cream-to-Sweet-Mango fill.
   A Sweet Mango line draws up and over the arch once as it comes into view (like the letter's gold line); the light behind
   her head breathes slowly. Both hold still for less motion. The Founder sticker sits on the bottom-right corner
   (CEO 11-20); the sideways words are cut. Phones: about 20% smaller, so her letter starts sooner (CEO 11-20). */
.founder-arch { position: relative; margin: 10px 10px 0; aspect-ratio: 4 / 5; }
.founder-arch__tag { position: absolute; z-index: 1; right: 18px; bottom: -14px; transform: rotate(3deg); font-size: var(--text-sm); font-weight: var(--weight-bold); line-height: 1.4; color: var(--color-text); background: var(--color-card); border: var(--btn-border); border-radius: var(--radius); box-shadow: var(--btn-shadow-on-dark); padding: 5px 12px; }
.founder-arch__door { position: absolute; inset: 0; overflow: hidden; border-radius: 50% 50% var(--radius-card) var(--radius-card) / 40% 40% var(--radius-card) var(--radius-card);
  background: radial-gradient(120% 90% at 47% 38%, var(--color-card) 0%, var(--color-mango-wash) 38%, color-mix(in srgb, var(--color-accent) 55%, var(--color-mango-wash)) 78%, var(--color-accent) 100%); }
.founder-arch__door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 100%; }
.founder-arch__glow { position: absolute; left: 47%; top: 36%; width: 120%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--color-card) 85%, transparent) 0%, color-mix(in srgb, var(--color-card) 35%, transparent) 35%, transparent 65%); }
.founder-arch__line { position: absolute; inset: -10px -10px 0; width: calc(100% + 20px); max-width: none; height: calc(100% + 10px); overflow: visible; pointer-events: none; } /* max-width: none beats the site-wide svg rule, so the line sits 10px outside the arch on both sides */
.founder-arch__line path { fill: none; stroke: var(--color-accent); stroke-width: 1.5; } /* in drawing units: about 6px wide on screen, as on the approved test. No vector-effect: it breaks the draw-in */
@media (prefers-reduced-motion: no-preference) {
  .js .founder-arch__line path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .story-photo.is-in .founder-arch__line path { transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.35s; stroke-dashoffset: 0; }
  .founder-arch__glow { animation: founder-light 6s ease-in-out infinite alternate; }
}
@keyframes founder-light { from { opacity: 0.7; transform: translate(-50%, -50%) scale(0.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.04); } }
@media (min-width: 900px) { .story-wrap { grid-template-columns: 5fr 7fr; gap: var(--space-5); } .story-photo { max-width: none; position: sticky; top: 96px; } }
/* No photo yet (about.story.photo OFF): the story sits alone in one centered column, never beside an empty one (11-19). */
.story-wrap:not(:has(.story-photo)) { grid-template-columns: 1fr; max-width: var(--w-text); margin-inline: auto; }
.cta-band .ph { background: var(--color-ph-on-dark); }
.cta-band p { color: var(--color-on-dark-muted); margin-top: var(--space-2); }
.values { grid-template-columns: repeat(6, 1fr); }
.values > * { grid-column: span 2; }
.values > :nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .values > *, .values > :nth-child(4) { grid-column: auto; } }
.role-card { display: block; text-decoration: none; }
.team-tag { display: inline-block; font-size: var(--text-xs); font-weight: var(--weight-bold); padding: 2px var(--space-1); border-radius: var(--radius-pill); background: var(--color-accent-pale); margin-bottom: var(--space-1); }
.facts { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); }
.open-app { max-width: var(--w-text); margin: var(--space-4) auto 0; text-align: center; }
.open-app a { font-weight: var(--weight-bold); }

/* Role page */
.breadcrumb { font-size: var(--text-sm); margin-bottom: var(--space-3); }
.fact-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: var(--space-4); }
@media (max-width: 760px) { .fact-tiles { grid-template-columns: repeat(2, 1fr); } }
.duty { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2); align-items: start; }
.note-box { background: var(--color-accent-pale); border-left: 3px solid var(--color-accent); border-radius: var(--radius); padding: var(--space-2) var(--space-3); margin-top: var(--space-3); }
.checklist li { display: flex; gap: var(--space-1); padding: var(--space-0) 0; }
.pay-list li { display: flex; justify-content: space-between; gap: var(--space-2); padding: var(--space-1h) 0; border-bottom: 1px solid var(--color-border); }
/* Role page (mirrors the reference role page, 10-18) */
.role-lead { max-width: var(--w-text); color: var(--color-text-muted); margin-top: var(--space-1); }
.duty h3 { margin-bottom: var(--space-0); }
.fact-tiles .stat__num { font-size: var(--text-stat); font-weight: var(--weight-heavy); color: var(--color-accent-text); line-height: 1.1; }
.fact-tiles .stat__label { font-size: var(--text-xs); color: var(--color-text-muted); }
@media (max-width: 760px) { .fact-tiles .stat__num { font-size: var(--text-xl); } }
.kpi-list li { padding: var(--space-1) 0; border-top: 1px solid var(--color-border); }
.kpi-list li:first-child { border-top: 0; }
.kpi-list strong { display: block; }
.comp-list { display: grid; gap: var(--gutter); }
.comp-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2); align-items: start; }
.loom-prompts { font-size: var(--text-sm); background: var(--color-band); border-radius: var(--radius); padding: var(--space-2); }
.loom-prompts ol { list-style: decimal; padding-left: var(--space-3); display: grid; gap: var(--space-0); margin-top: var(--space-1); }
.form { display: grid; gap: var(--space-2); max-width: var(--w-text); margin: 0 auto; }
.form label { display: grid; gap: var(--space-0); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.form input, .form select, .form textarea { font: inherit; padding: var(--space-1h); border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 760px) { .form-row { grid-template-columns: 1fr; } }
.consent-slot { font-size: var(--text-xs); }

/* Case Studies */
.jump-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1h); margin-top: var(--space-4); }
@media (max-width: 760px) { .jump-row { flex-direction: column; align-items: stretch; } }
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); max-width: var(--w-text); margin: var(--space-4) auto 0; }
.stat-tile { background: var(--color-band); border-radius: var(--radius-lg); padding: var(--space-2); text-align: center; }
.group-divider { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-4) 0 var(--space-2); font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text-muted); }
.group-divider::before, .group-divider::after { content: ""; flex: 1; height: 1px; background: var(--color-border); }
.wall-cta { background: var(--color-dark-card); color: var(--color-on-dark); border-radius: var(--radius-lg); padding: var(--space-3); text-align: center; break-inside: avoid; margin-bottom: 6px; }
.wall-cta .ph { background: var(--color-ph-on-dark); }

/* ---------- Pop-up ---------- */
.lb { width: min(720px, calc(100vw - 2 * var(--gutter))); max-height: calc(100dvh - 2 * var(--gutter)); padding: 0; border: 0; border-radius: var(--radius-xl); background: var(--color-dark-card); color: var(--color-on-dark); overflow: auto; }
.lb::backdrop { background: var(--color-backdrop); }
.lb[open], .lb[open]::backdrop { animation: fade-in var(--duration-fast) ease-out; }
.lb__close { position: sticky; top: 0; margin-left: auto; color: var(--color-on-dark); z-index: 1; }
.lb__body { padding: 0 var(--space-4) var(--space-4); }
.lb[data-kind="video"], .lb[data-kind="image"] { background: transparent; width: min(960px, calc(100vw - 2 * var(--gutter))); }
.lb[data-kind="video"] .lb__body, .lb[data-kind="image"] .lb__body { padding: 0; }
.lb .ph { background: var(--color-ph-on-dark); }
.lb .ph-box { background: var(--color-text); color: var(--color-on-dark-muted); border-color: var(--color-text-muted); }
.lb-case h3 { font-size: var(--text-xl); margin: var(--space-2) 0; }
.lb-case .stat-tiles { grid-template-columns: repeat(2, 1fr); margin: var(--space-3) 0; max-width: none; }
.lb-case .stat-tile { background: var(--color-tile-on-dark); }
.lb-case blockquote { border-left: 3px solid var(--color-accent); padding-left: var(--space-2); margin: var(--space-3) 0; font-style: italic; }
.lb-case h4 { font-size: var(--text-xs); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-accent-on-dark); margin: var(--space-3) 0 var(--space-1); }
.lb-case p { color: var(--color-on-dark-muted); }
.lb-case .section-cta { margin-top: var(--space-4); }

/* ---------- Footer ---------- */
.site-footer--app { background: var(--color-dark); color: var(--color-on-dark-muted); padding: var(--space-5) 0; text-align: center; font-size: var(--text-sm); }
.site-footer--app .wrap { display: grid; gap: var(--space-3); justify-items: center; }
.site-footer--app .brand { color: var(--color-on-dark); }
.footer-links { display: flex; gap: var(--space-3); }

/* ---------- Scroll reveal ---------- */
.js .rv { opacity: 0; transform: translateY(var(--rise-reveal)); transition: opacity var(--duration-reveal) var(--ease-reveal), transform var(--duration-reveal) var(--ease-reveal); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- Less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .btn:hover, .btn:active, .case-card:hover { transform: none; }
  .marquee { mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__track [aria-hidden="true"] { display: none; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Section rhythm measured from the reference (10-17). */
.band[data-section="home.guarantee"] { padding: 32px 0; }
.band[data-section="home.pain"] { padding: 80px 0; }
.guarantee-grid { max-width: 680px; margin: 0 auto; gap: 16px; }
.guarantee-grid .card { padding: 16px 18px; border-radius: var(--radius-lg); background: var(--color-card); border: var(--key-border); box-shadow: var(--key-shadow); }
.guarantee-grid .card__label { font-size: 11.5px; letter-spacing: var(--tracking-eyebrow); margin-bottom: 5px; } /* was 10.5px (10-30) */
.guarantee-grid h3 { font-size: 15px; font-weight: var(--weight-bold); line-height: 1.25; margin-bottom: 3px; } /* 10-30: compact */
.guarantee-grid p:last-child { font-size: 13px; line-height: 1.5; }
.band[data-section="home.guarantee"] .fine-note { margin-top: 12px; }
@media (max-width: 760px) { .band[data-section="home.guarantee"] { padding: 24px 0; } .band[data-section="home.pain"] { padding: var(--section-pad-phone) 0; } }

/* Phone fixes (10-17): stat numbers on one line, readable labels, tappable footer links. */
.stat__num { white-space: nowrap; }
.footer-links a { display: inline-block; padding: 6px 2px; white-space: nowrap; }
@media (max-width: 480px) {
  .stat__num { font-size: var(--text-xl); }
}

/* Match reference (measured 10-17 at 1440px): gold guarantee labels. */
.guarantee-grid .card__label { color: var(--color-accent-text); }

/* Spacing matched to reference (measured 10-17, 1440px): breathing room under buttons and before cards. */
.hero__actions { gap: 26px; }
.hero .call-box { margin-top: 28px; } /* picker 10-25 */
[data-section="home.pain"] .section-head { margin-bottom: 60px; }

/* How it works: ownership + trust lines (reference style: small grey italic under the subhead). */
.trust-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: -40px auto 56px; font-size: var(--text-sm); font-style: italic; color: var(--color-text-muted); }
.trust-points li { display: flex; align-items: center; gap: 8px; }
@media (max-width: 760px) { .trust-points { flex-direction: column; align-items: center; margin-top: -32px; } }

/* Proof cards (reference results-card style). One per real client; grid centers what exists. */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); justify-content: center; gap: 16px; }
.proof-card { background: var(--color-dark-card); color: var(--color-on-dark); border-radius: var(--radius-video); padding: 24px 20px; border: var(--key-border); border-top: 3px solid var(--color-accent); box-shadow: var(--key-shadow); height: 100%; }
.proof-card__who { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.proof-card__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-tile-on-dark); border: 1px solid var(--color-accent); font-size: var(--text-xs); font-weight: var(--weight-bold); color: var(--color-accent); flex: none; }
.proof-card__name { display: block; font-size: 15px; font-weight: var(--weight-bold); }
.proof-card__tag { display: block; font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-accent-on-dark); }
.proof-card__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.proof-card__num { display: block; font-size: var(--text-stat); font-weight: var(--weight-heavy); letter-spacing: var(--tracking-tight); color: var(--color-accent-on-dark); line-height: 1.1; }
.proof-card__label { display: block; font-size: var(--text-sm); color: var(--color-on-dark-muted); }
.proof-card__story { font-size: var(--text-sm); color: var(--color-on-dark-muted); line-height: 1.5; }

/* Step icons centered in their tile. */
.icon-tile { display: grid; place-items: center; }
.icon-tile .icon { color: var(--color-accent-text); }

/* Footer matched to reference (measured 10-17; order mirrored 10-19): near-black, centered, faded small text.
   Order: logo, site links, copyright, legal links, disclaimer paragraphs, company line. */
.site-footer--app { padding: 48px 0 96px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--color-footer-text); }
.site-footer--app .wrap { gap: 0; }
.site-footer--app .brand { margin-bottom: 24px; }
.site-footer--app .footer-links { flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-bottom: 24px; }
.site-footer--app .footer-links a { color: var(--color-footer-link); text-decoration: none; font-size: 13px; }
.site-footer--app .footer-links a:hover { color: var(--color-on-dark); }
.site-footer--app .footer-copy { font-size: 13px; color: var(--color-footer-text); margin: 0 0 12px; }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-bottom: 24px; }
.footer-legal-links a { display: inline-block; padding: 6px 2px; white-space: nowrap; font-size: 12px; color: var(--color-footer-text); text-decoration: underline; }
.footer-legal-links a:hover { color: var(--color-on-dark); }
.footer-legal-links .footer-consent { padding: 6px 2px; font: inherit; font-size: 12px; color: var(--color-footer-text); text-decoration: underline; background: none; border: 0; cursor: pointer; }
.footer-legal-links .footer-consent:hover { color: var(--color-on-dark); }
.footer-disclaimer { max-width: 720px; margin: 0 auto; }
.footer-disclaimer p { font-size: 12px; line-height: 1.85; color: var(--color-footer-text); margin: 0 0 16px; }
.footer-disclaimer .footer-disclaimer__flag { font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer--app .footer-cookies a { color: inherit; }
.site-footer--app p.footer-cookies { margin-bottom: 16px; }
.site-footer--app .footer-company, .site-footer--app .footer-cookies { font-size: 12px; line-height: 1.85; color: var(--color-footer-text); max-width: 720px; margin: 0 auto; }

/* /vsl and /vsl/booked: logo-only top bar, nothing to click away to */
.topbar--bare .topbar__inner { justify-content: center; }
.topbar--bare .brand { color: inherit; }

/* /vsl/booked */
.booked__time .hero__sub { font-weight: var(--weight-bold); }
.sub-line { display: block; text-wrap: balance; } /* one sentence per line, no lonely last word on a phone */
@media (min-width: 761px) { .br-phone { display: none; } } /* phone-only line breaks in the About story (CEO 11-22): each part gets its own phone line */
.booked__content { max-width: var(--w-video); margin: var(--space-4) auto 0; }
.proof-card__avatar--photo { width: 48px; height: 48px; object-fit: cover; padding: 0; }
.proof-card__logo { margin-left: auto; height: 40px; width: auto; flex: none; }
.proof-card__niche { display: block; font-size: var(--text-xs); color: var(--color-on-dark-muted); margin-top: 2px; }
.values--4 { grid-template-columns: repeat(2, 1fr); }
.values--4 > *, .values--4 > :nth-child(4) { grid-column: auto; }
@media (max-width: 760px) { .values--4 { grid-template-columns: 1fr; } }
.value-quote { margin-top: var(--space-2); font-family: var(--font-body); font-style: normal; color: var(--color-text-muted); }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.role-card__apply { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-accent-text); }
.open-app { background: var(--color-band); }

/* Careers page cards, matched to the reference's measured styles (1440px, 10-18) */
.perk-grid { max-width: var(--w-careers); margin-inline: auto; gap: var(--space-3); }
.perk-grid .card { text-align: center; padding: var(--space-4) var(--space-3); background: var(--color-card); }
.perk-grid .icon-tile { width: 44px; height: 44px; border-radius: var(--radius-card); background: var(--color-accent-tint); border-color: var(--color-accent-tint-line); margin: 0 auto var(--space-2); }
.perk-grid h3, .value-card h3 { font-size: var(--text-base); }
.perk-grid h3 { font-weight: var(--weight-semibold); }
.perk-grid p, .value-card p { font-size: var(--text-sm); line-height: 1.65; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2h); max-width: var(--w-careers); margin-inline: auto; }
.value-card { background: var(--color-band); padding: 28px var(--space-3); }
.band--white .value-card { background: var(--color-band); }
.value-card .value-quote { font-family: var(--font-body); font-style: normal; font-size: var(--text-xs2); font-weight: var(--weight-medium); color: var(--color-text-muted); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--color-border); }
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); max-width: var(--w-careers); margin: var(--space-4) auto 0; }
.focus-card .focus-label { font-family: var(--font-body); font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-1); }
.founder-quote { max-width: var(--w-text); margin: 0 auto; text-align: center; }
.founder-quote blockquote { text-wrap: balance; font-family: var(--font-body); font-weight: var(--weight-medium); font-size: 1.75rem; line-height: 1.45; }
.founder-quote figcaption { margin-top: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-text-muted); }
.role-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); max-width: var(--w-roles); margin-inline: auto; }
.role-grid > li { flex: 0 1 calc((100% - var(--space-3)) / 2); }
.role-grid .role-card { height: 100%; padding: 28px; background: var(--color-card); }
.role-grid .role-card h3 { font-weight: var(--weight-semibold); }
.role-grid .team-tag { font-size: var(--text-tag); letter-spacing: 0.15em; text-transform: uppercase; border-radius: var(--radius-xs); padding: var(--space-0) 10px; background: var(--color-accent-tint); color: var(--color-accent-text); margin-bottom: var(--space-2); }
.open-app { max-width: var(--w-open-app); margin: var(--space-4) auto 0; text-align: center; background: var(--color-band); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: 48px var(--space-4); }
.open-app h3 { font-family: var(--font-serif); font-weight: var(--weight-regular); font-size: var(--text-xl); margin-bottom: var(--space-1); }
.open-app p { font-size: var(--text-card); color: var(--color-text-muted); }
@media (max-width: 760px) {
  .value-grid { grid-template-columns: 1fr; }
  .role-grid > li { flex-basis: 100%; }
  .focus-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .open-app { padding: var(--space-4) var(--space-3); }
}
.role-grid .role-card p { font-size: var(--text-card); }
.role-grid .facts { border-top: 1px solid var(--color-border); padding-top: var(--space-2); margin-top: var(--space-3); font-size: var(--text-xs2); gap: var(--space-2); }
.role-grid .facts .icon { color: var(--color-text-muted); }
/* Careers section eyebrows: larger, muted, like the reference's Careers and About pages (home stays small gold) */
[data-section^="careers."]:not([data-section="careers.hero"]) .eyebrow, #open-roles .eyebrow { font-size: var(--text-base); color: var(--color-text-muted); letter-spacing: 0.2em; }
[data-section="careers.teamPhoto"] .wrap > * { max-width: 910px; margin-inline: auto; }
.focus-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-4); text-align: center; }
.focus-card .focus-label { color: var(--color-accent-text); margin-bottom: var(--space-2); }
.focus-line { text-wrap: balance; font-family: var(--font-body); font-weight: var(--weight-medium); font-size: 1.75rem; line-height: 1.35; }
.open-app__email { margin-top: var(--space-3); }
.open-app__email a { display: inline-flex; align-items: center; gap: 6px; color: var(--color-accent-text); font-weight: var(--weight-medium); text-decoration: none; border-bottom: 1px solid var(--color-accent); padding-bottom: 2px; }
@media (max-width: 760px) { .focus-card { padding: var(--space-4) var(--space-3); } .focus-line { font-size: var(--text-xl); } }
.duty .team-tag { min-width: 76px; text-align: center; }
.purpose-card { max-width: var(--w-text); margin-inline: auto; }
[data-section^="careers."] .section-title, #open-roles .section-title, .page-hero h1 { text-wrap: balance; }

/* /full-disclosure (10-19; DMCA page dropped 11-06) */
.legal-prose { text-align: left; }
.legal-prose h2 { font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--color-text); margin-top: var(--space-2); }
.legal-prose ol { padding-left: 1.25rem; display: grid; gap: var(--space-1); }
.legal-draft-flag { font-weight: var(--weight-bold); color: var(--color-off); }

/* ---------- Booking screens, not-a-fit (Build 3 previews) ---------- */
.btn--ghost { background: transparent; color: var(--color-text-muted); box-shadow: none; }
.btn--ghost:hover { color: var(--color-text); }
/* Quiet button (design system Button, quiet): white, same edge and shadow, only next to a yellow Button. */
.btn--quiet { background: var(--color-card); color: var(--color-text); border: var(--btn-border); box-shadow: var(--btn-shadow); }
.btn--quiet:hover { box-shadow: var(--btn-shadow-hover); }
.btn--quiet:active { box-shadow: none; }

/* Cookie banner (Website Launch Step 20): a KeyCard pinned to the bottom. No motion. src/components/shared/Consent.astro */
.consent { position: fixed; z-index: 60; left: var(--space-2); right: var(--space-2); bottom: calc(var(--space-2) + env(safe-area-inset-bottom, 0px)); max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); padding: var(--space-2h); background: var(--color-card); border: var(--key-border); border-radius: var(--radius-card); box-shadow: var(--key-shadow); }
.consent[hidden] { display: none; }
.consent__text { flex: 1 1 320px; margin: 0; font-size: var(--text-card); line-height: 1.5; color: var(--color-text); }
.consent__text a { color: var(--color-link); }
.consent__buttons { display: flex; gap: var(--space-1h); flex: 1 1 auto; justify-content: flex-end; }
.consent__buttons .btn { flex: 1 1 0; max-width: 160px; padding: var(--space-1h) var(--space-3); font-size: var(--text-base); }
body[data-view="all"] .consent { bottom: 72px; } /* above the review bar on review links */
@media (max-width: 560px) { .consent__buttons .btn { max-width: none; } }
.apply__note { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-2); }
.apply-card { max-width: 560px; margin: var(--space-4) auto 0; text-align: left; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-3); }
.apply-card__step { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-faint); }
.apply-card__bar { height: 4px; border-radius: 2px; background: var(--color-border); margin: var(--space-1) 0 var(--space-2); overflow: hidden; }
.apply-card__bar span { display: block; height: 100%; background: var(--color-accent); }
.apply-card__q { font-size: var(--text-lg); font-weight: var(--weight-bold); line-height: 1.3; margin: var(--space-1) 0 var(--space-2); text-wrap: balance; } /* no lonely last word (site rule) */
.apply-card__hint { font-size: var(--text-sm); color: var(--color-text-muted); margin: calc(-1 * var(--space-1)) 0 var(--space-2); }
.apply-card__options { display: grid; gap: var(--space-1); }
.apply-tile { width: 100%; padding: 14px 16px; text-align: left; font: inherit; font-size: var(--text-sm); color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color var(--duration-fast), background-color var(--duration-fast), transform var(--duration-fast) var(--ease-out); }
@media (hover: hover) { .apply-tile:hover { border-color: var(--color-accent); } }
.apply-tile:active { transform: scale(0.99); }
.apply-tile[aria-pressed="true"] { border-color: var(--color-accent); background: var(--color-card); box-shadow: inset 0 0 0 1px var(--color-accent); }
.apply-other, .apply-field input { width: 100%; height: 44px; padding: 0 12px; font: inherit; font-size: var(--text-base); color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg); }
.apply-other { margin-top: var(--space-1); }
.apply-card__nav { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin-top: var(--space-3); }
.apply-card__nav .btn--primary:only-child { margin-left: auto; }
.apply-card .btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }
.apply-card__fields { display: grid; gap: var(--space-1h); }
.apply-field { display: grid; gap: 6px; font-size: var(--text-sm); font-weight: var(--weight-medium); }
.apply-field__hint { font-size: var(--text-xs2); font-weight: 400; color: var(--color-text-muted); }
.apply-check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-xs); line-height: 1.5; color: var(--color-text-muted); margin-top: var(--space-2); }
.apply-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--color-text); }
.apply-check a, .apply-terms a { color: var(--color-text); font-weight: var(--weight-medium); text-decoration: none; } /* no underline (CEO 11-05); darker + medium weight keeps them findable */
.apply-check a:hover, .apply-check a:focus-visible, .apply-terms a:hover, .apply-terms a:focus-visible { text-decoration: underline; text-underline-offset: 2px; }
.apply-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* spam trap: off screen, never read out */
.apply-error { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-text); margin-top: var(--space-2); }
.apply-calendar { min-height: 560px; } /* holds the space while the GHL calendar loads */
.apply-calendar iframe { display: block; width: 100%; min-height: 560px; border: 0; }
/* One screen at a time once the script runs (CEO 11-03); each new screen fades up. Without JS all screens stack. */
.apply-flow.is-live { margin-top: var(--space-4); }
.apply-flow.is-live .apply-card { margin-top: 0; }
.apply__intro[hidden] ~ .apply-flow.is-live { margin-top: 0; } /* screens 2 on: the card sits right under the top bar */
.apply-flow.is-live .apply-card:not([hidden]) { animation: apply-in var(--duration-menu) var(--ease-out); }
@keyframes apply-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .apply-flow.is-live .apply-card:not([hidden]) { animation: none; } .apply-tile:active { transform: none; } }
.soft-copy { max-width: var(--w-sub); margin: var(--space-3) auto 0; display: grid; gap: var(--space-1h); font-size: var(--text-sub); line-height: 1.5; color: var(--color-text-muted); }
/* /not-a-fit (CEO 11-03, "Yes, build it"): who we fit and what happens next, side by side on a computer. Numbers reuse the Home step circle. */
.naf__line { text-wrap: balance; }
.info-cards { display: grid; gap: var(--space-2); max-width: 900px; margin: var(--space-4) auto 0; text-align: left; }
@media (min-width: 900px) { .info-cards { grid-template-columns: 1fr 1fr; } }
/* /vsl/booked: next steps, the call, what to bring. One column until there is room for 3 (no lone third card) */
.info-cards--3 { max-width: 640px; }
@media (min-width: 900px) { .info-cards--3 { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .info-cards--3 { grid-template-columns: repeat(3, 1fr); max-width: 1100px; } }
.info-card { background: var(--color-card); border: var(--key-border); box-shadow: var(--key-shadow); border-radius: var(--radius-card); padding: var(--space-3); } /* same edge and shadow as Home's cards (CEO 11-03); /not-a-fit and /vsl/booked */
.info-card__label { font-family: var(--font-body); font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; color: var(--color-text); margin: 0 0 var(--space-2); }
.info-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-card__list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--text-sm); line-height: 1.5; color: var(--color-text-muted); }
.info-card__line { display: block; text-wrap: pretty; }
.info-card__list b { color: var(--color-text); font-weight: var(--weight-bold); }
.info-card__list a { color: var(--color-text); text-decoration: underline; text-underline-offset: 2px; }
.info-num { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: -1px; border-radius: 50%; border: 1px solid var(--color-text); background: var(--color-accent); box-shadow: var(--btn-shadow); font-family: var(--font-title); font-size: 14px; line-height: 1; color: var(--color-text); } /* Home's lit step number */
.naf-tool { max-width: 900px; margin: var(--space-2) auto 0; }
/* 404 (src/pages/404.astro): the message sits in the middle of the first screen; the footer waits below it. */
.nf { min-height: calc(100svh - var(--topbar-h)); display: grid; align-content: center; }
.nf .hero__sub { text-wrap: balance; }
.nf__cta { margin-top: var(--head-to-content); }
.guarantee-note { max-width: 680px; margin: 14px auto 0; text-align: center; font-size: var(--text-xs); color: var(--color-text-muted); }
.gpill__text, .pill__text { display: inline-flex; justify-content: center; column-gap: 0.3em; }
.pill__text { flex-wrap: wrap; }
.gb { white-space: nowrap; }

/* ---------- Review comments (preview with hidden sections only) ---------- */
.rvw-del { color: var(--color-review-del); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.rvw-ins { color: var(--color-review-ins); background: var(--color-review-ins-bg); text-decoration: underline; text-underline-offset: 3px; }
.rvw-mark { display: inline-block; font-size: 10px; font-weight: var(--weight-bold); line-height: 1; padding: 3px 5px; margin-right: 3px; border-radius: 4px; background: var(--color-text); color: var(--color-bg); vertical-align: 2px; letter-spacing: 0; text-transform: none; font-family: var(--font-body); }
.rvw-card { display: block; text-align: left; max-width: 560px; margin: 12px auto; padding: 12px 14px; background: var(--color-review-card); border: 1px solid var(--color-accent-tint-line); border-left: 4px solid var(--color-accent); border-radius: var(--radius); font-family: var(--font-body); font-size: 13px; line-height: 1.45; color: var(--color-text); text-transform: none; letter-spacing: 0; }
.rvw-card p { margin: 0 0 6px; font-size: 13px; color: var(--color-text); max-width: none; }
.rvw-card--applied { border-left-color: var(--color-review-ins); }
.rvw-card--question { border-left-color: var(--color-accent-line); }
.rvw-card--hold { border-left-color: var(--color-review-del); }
.rvw-card__top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rvw-chip { margin-left: auto; font-size: 11px; font-weight: var(--weight-bold); padding: 1px 8px; border-radius: var(--radius-pill); background: var(--color-card); border: 1px solid var(--color-border); }
.rvw-src { color: var(--color-text-faint); font-size: 12px !important; }
.rvw-warn { color: var(--color-review-del); font-weight: var(--weight-bold); }
.band--dark .rvw-card, .band--dark .rvw-card p { color: var(--color-text); }
.rvw-bar { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; width: max-content; max-width: calc(100vw - 24px); padding: 8px 10px 8px 14px; background: var(--color-dark); color: var(--color-on-dark); border-radius: var(--radius-pill); font-size: 13px; box-shadow: var(--shadow-card-hover); }
.rvw-bar__btns { display: flex; gap: 4px; }
.rvw-btn { font: inherit; font-size: 12px; font-weight: var(--weight-bold); padding: 6px 12px; border-radius: var(--radius-pill); border: 0; cursor: pointer; background: transparent; color: var(--color-on-dark-muted); }
.rvw-btn.is-on { background: var(--color-accent); color: var(--color-on-accent); }
.rvw-final .rvw-del, .rvw-final .rvw-card, .rvw-final .rvw-mark { display: none; }
.rvw-final .rvw-ins { color: inherit; background: none; text-decoration: none; }
body:has(.rvw-bar) { padding-bottom: 80px; }
.rvw-del + .rvw-ins { margin-left: 0.25em; }
.rvw-final .rvw-del + .rvw-ins { margin-left: 0; }

/* TopPill dot (design system 10-27): one of the dot's two fixed places, with the button edge */
.hero__who .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 0.7px var(--color-text), var(--btn-shadow); margin-right: 9px; vertical-align: 0.05em; }
/* The Light (CEO 11-03): a headline's last period drawn as the logo's dot, with the same edge on light.
   The "." stays in the text (hidden), so screen readers and copy-paste still get it. */
.the-light { display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.06em; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 1px var(--color-text), var(--btn-shadow); color: transparent; overflow: hidden; line-height: 0; vertical-align: baseline; }
/* Its line (CEO 11-03, Option 1, a little thinner): Sweet Mango under the key words, running into The Light.
   3px at least, so phones still show yellow inside the edge. */
.light-line { position: relative; z-index: 0; display: inline-block; }
.light-line::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0.02em; bottom: -0.09em; height: max(3px, 0.075em); border-radius: 3px; background: var(--color-accent); box-shadow: 0 0 0 1px var(--color-text), var(--btn-shadow); }

/* CaseFile (design system 10-27): folder tab "case file", white body, key-card edge, no glow, no top bar */
.case-file { position: relative; padding-top: 26px; height: 100%; display: flex; flex-direction: column; }
.case-file__tab { position: absolute; top: 1px; left: 16px; background: var(--color-dark); color: var(--color-on-dark); font: 400 14px/1 var(--font-title); text-transform: lowercase; letter-spacing: 0.04em; padding: 8px 14px 7px; border-radius: 10px 10px 0 0; }
.case-file .proof-card { flex: 1; background: var(--color-card); color: var(--color-text); border: var(--key-border); box-shadow: var(--key-shadow); border-radius: var(--radius-xs) var(--radius-video) var(--radius-video) var(--radius-video); }
.case-file .proof-card__avatar { background: var(--color-band); border-color: var(--color-border); color: var(--color-text); }
.case-file .proof-card__tag { color: var(--color-text); }
.case-file .proof-card__num { color: var(--color-text); font-family: var(--font-title); font-weight: 400; text-transform: lowercase; }
.case-file .proof-card__label, .case-file .proof-card__story, .case-file .proof-card__niche { color: var(--color-text-muted); }
/* Light pill (TopPill look, no dot): counts and labels that are not a promise */
.pill--light { color: var(--color-text); background: var(--color-card); border: var(--btn-border); box-shadow: var(--btn-shadow); font-weight: var(--weight-medium); }


/* What We Build cards (CEO 10-27, look 3A, numbers removed): white KeyCards with a dark icon tile. */
.num-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); max-width: 1120px; }
.num-card { background: var(--color-card); border: var(--key-border); box-shadow: var(--key-shadow); border-radius: var(--radius-card); padding: var(--space-3); }
.num-grid li.rv, .guarantee-grid .rv { transition-delay: calc(var(--i, 0) * var(--step, 90ms)); }
.band--white .num-card { background: var(--color-card); }
.num-card__icon { margin-bottom: var(--space-2); display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); background: var(--color-dark); color: var(--color-accent); }
.num-card h3 { margin: 0 0 var(--space-1); font-size: 19px; }
.num-card p { margin: 0; color: var(--color-text-muted); font-size: 15px; line-height: 1.55; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .num-card.is-in { transition: transform var(--duration-hover) var(--ease-out); } .num-card.is-in:hover { transform: translateY(-3px); } }
@media (max-width: 899px) { .num-grid { grid-template-columns: 1fr; } }

/* Problem cards motion (CEO 10-27): one after another as the section scrolls in, then a 3px lift on hover. */
[data-section="home.process"] .section-head:not(.section-head--subs) { margin-bottom: var(--space-2); }
.section-head--subs .section-sub + .section-sub { margin-top: var(--space-1); }

/* ---- Home polish (CEO 10-29) ---- */
/* Short stacked lines: one sentence per line inside a block. */
.lb-case .ln { display: block; }
.faq { max-width: var(--w-text); }
.faq__a p + p, .faq__a p + ul, .faq__a ul + p { margin-top: var(--space-1h); }
.faq__list { margin: var(--space-1) 0 0; padding-left: 1.2em; display: grid; gap: 4px; }
.faq__list li { list-style: disc; }
.section-subs { margin-top: var(--space-2); }
.section-subs .section-sub { margin-top: 0; text-wrap: pretty; } /* no one-word last line */
.section-subs .section-sub + .section-sub { margin-top: var(--space-1h); }
#process .section-title .ln, [data-section="about.build"] .section-title .ln { display: block; }

/* Hero proof line photo */
.proofline__av--photo { width: 28px; height: 28px; padding: 0; object-fit: cover; border: 1px solid var(--color-border); background: var(--color-band); }

.step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-text); background: var(--color-card); font-family: var(--font-title); font-size: 18px; line-height: 1; color: var(--color-text); transition: background-color 520ms var(--ease-out), box-shadow 520ms var(--ease-out); transition-delay: calc(var(--i, 0) * var(--step, 90ms) + 620ms); }
.num-card.is-in .step-n, html:not(.js) .step-n { background: var(--color-accent); box-shadow: var(--btn-shadow); }
.num-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-2); }
.num-card__top .num-card__icon { margin-bottom: 0; } /* dark tile, Sweet Mango icon (CEO 10-29: keep icons dark) */
@media (prefers-reduced-motion: reduce) {
  .step-n { transition: none; }
  .step-n { background: var(--color-accent); box-shadow: var(--btn-shadow); }
}
/* Steps (CEO 10-30): a short line draws from one step to the next, then the number lights up.
   Laptop and up: across the gap at number height (1-2-3, 4-5-6). Phone and iPad: down the gap between stacked cards. */
.num-card { position: relative; }
.num-card::before { content: ""; position: absolute; background: var(--color-accent-line); transition: transform 520ms var(--ease-out); transition-delay: calc(var(--i, 0) * var(--step, 90ms) + 180ms); }
@media (min-width: 900px) {
  .num-card:not(:nth-child(3n+1))::before { top: calc(var(--space-3) + 17px); left: calc(-1 * var(--space-3) - 1px); width: var(--space-3); height: 2px; transform-origin: left center; transform: scaleX(0); }
}
@media (max-width: 899px) {
  .num-card:not(:first-child)::before { top: calc(-1 * var(--space-3) - 1px); left: calc(var(--space-3) + 17px); width: 2px; height: var(--space-3); transform-origin: center top; transform: scaleY(0); }
}
.num-card.is-in::before, html:not(.js) .num-card::before { transform: none; }
@media (prefers-reduced-motion: reduce) { .num-card::before { transition: none; transform: none !important; } }

/* Real Results: one dark band, clean edges (fade cut, CEO 10-29) */
#results .section-title { color: var(--color-on-dark); }

/* Case file: a Sweet Mango folder; the white sheet slides up out of it */
.case-file { position: relative; padding: 30px 12px 22px; cursor: pointer; display: block; height: auto; }
.case-file__back { position: absolute; inset: 30px 0 0 0; background: var(--color-accent); border-radius: var(--radius-xs) var(--radius-video) var(--radius-video) var(--radius-video); }
.case-file__tab { position: absolute; top: -26px; left: 0; background: var(--color-accent); color: var(--color-text); font: 400 15px/1 var(--font-title); text-transform: lowercase; letter-spacing: 0.04em; padding: 8px 16px 9px; border-radius: 10px 10px 0 0; }
.case-file .proof-card { position: relative; top: auto; border-top: var(--key-border); border: var(--key-border); border-radius: var(--radius-video); box-shadow: var(--key-shadow); transition: transform 600ms var(--ease-reveal) 250ms; }
.js .case-file.rv:not(.is-in) .proof-card { transform: translateY(46px); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .case-file.is-in:hover .proof-card { transform: translateY(-8px); transition-delay: 0s; transition-duration: var(--duration-hover); }
}
.case-file__open { display: inline-flex; gap: 6px; margin-top: var(--space-2); padding: 0; border: 0; background: none; font: inherit; font-weight: var(--weight-bold); font-size: var(--text-sm); color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .case-file .proof-card { transition: none; transform: none !important; } }

/* Case study pop-up (reference shape, our words) */
.lb-case__who { display: flex; align-items: center; gap: var(--space-1h); }
.lb-case__muted { color: var(--color-on-dark-muted); font-size: var(--text-sm); }
.lb-case__num { font-family: var(--font-title); font-size: 34px; line-height: 1; color: var(--color-accent-on-dark); }
.lb-case p + p { margin-top: var(--space-1); }

/* Hero rhythm (CEO 10-29): button, pill and proof line read as one group; call list closer; guarantee cards close below */
.hero__actions { gap: 16px; }
.proofline { margin: 0; }
.hero .call-box { margin-top: 36px; }
.hero { padding-bottom: 32px; }
/* Visual pass (11-22): on /apply, /not-a-fit and /vsl/booked the hero is the whole page, so its last card sat 32px above
   the footer on phones. It now gets the same 56px every other page leaves above the footer. The 404 stays centered. */
@media (max-width: 899px) { main > .hero:last-of-type:not(.nf) { padding-bottom: var(--section-pad-phone); } }
.band[data-section="home.guarantee"], .band[data-section="vsl.guarantee"] { padding-top: 16px; }
#process .section-subs, [data-section="about.build"] .section-subs { max-width: 640px; margin-left: auto; margin-right: auto; }
.lb-case__list { margin: var(--space-1) 0; padding-left: 1.2em; display: grid; gap: 4px; color: var(--color-on-dark-muted); }
.lb-case__list li { list-style: disc; }
.lb-case ul + p, .lb-case p + ul { margin-top: var(--space-1); }
.case-file .proof-card__story { margin-top: var(--space-1h); font-size: var(--text-sm); }

/* Case file (FB, CEO 10-29): closed Sweet Mango pocket folder, photo paper-clipped to the sheet.
   The sheet slides up out of the pocket as it lands and lifts on hover. "See the full story" is a quiet link on the pocket.
   Click opens the pop-up below. */
.kf { position: relative; max-width: 400px; margin: 0 auto; padding-top: 30px; overflow: clip; cursor: pointer; color: var(--color-text); text-align: left; }
.kf__back { position: absolute; inset: 30px 0 0; background: var(--color-accent); border-radius: 4px 14px 14px 14px; }
.kf__tab, .lb-doc__tab { position: absolute; top: -28px; left: 0; height: 30px; padding: 0 18px; background: var(--color-accent); border-radius: 10px 10px 0 0; font: 400 15px/30px var(--font-title); letter-spacing: 0.04em; text-transform: lowercase; color: var(--color-text); }
.kf__sheet { position: relative; z-index: 1; display: grid; gap: 2px; margin: 20px 16px 0; padding: 22px 22px 96px; background: var(--color-card); border: var(--key-border); border-bottom: 0; border-radius: 6px 6px 0 0; transition: transform 700ms var(--ease-reveal) 250ms; }
.js .kf.rv:not(.is-in) .kf__sheet { transform: translateY(48px); }
.kf.rv.is-in:hover .kf__sheet { transform: translateY(-8px); transition-delay: 0s; transition-duration: var(--duration-hover); }
.kf__photo { margin: 0; background: var(--color-card); box-shadow: var(--key-shadow); outline: 1px solid var(--color-border); transform: rotate(4deg); }
.kf__photo { position: absolute; top: 18px; right: 18px; padding: 5px 5px 16px; }
.kf__photo img { display: block; width: 76px; height: 76px; object-fit: cover; }
.kf__clip { position: absolute; top: -16px; right: 9px; stroke: var(--color-text); }
.kf__name { font-size: 17px; font-weight: var(--weight-bold); padding-right: 100px; }
.kf__firm { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; padding-right: 100px; }
.kf__niche { font-size: var(--text-xs); color: var(--color-text-muted); }
.kf__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.kf__num { display: block; font-family: var(--font-title); font-size: var(--text-stat); line-height: 1; text-transform: lowercase; }
.kf__lab { display: block; margin-top: 6px; font-size: var(--text-sm); line-height: 1.35; color: var(--color-text-muted); text-wrap: balance; }
.kf__pocket { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 72px; display: flex; align-items: center; padding: 0 24px; background: var(--color-accent); border-top: var(--key-border); border-radius: 0 0 14px 14px; }
.kf__more { padding: 8px 0; background: none; border: 0; font: inherit; font-size: 15px; font-weight: var(--weight-medium); color: var(--color-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
.kf:hover .kf__more { text-decoration-thickness: 2px; }
.kf__more:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .kf__sheet { transition: none !important; } .js .kf.rv .kf__sheet { transform: none !important; } }

/* Pop-up close: a short fade (Lightbox.astro). */
.lb.is-closing, .lb.is-closing::backdrop { animation: fade-out 180ms ease-in both; }
@keyframes fade-out { to { opacity: 0; } }
@keyframes paper-out { 0% { opacity: 0; transform: translateY(110px); } 25% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes file-away { to { transform: translateY(16px); } }

/* Problem (CEO 10-29): white cards pinned to the wall with a flat Sweet Mango tack, each a little crooked.
   10-30: cards rise one after another, the tack presses in (no bounce), then a muted red pen underlines the sore spot.
   Hover straightens and lifts the card. Problem and Solution move a tad slower than other sections (CEO 10-30). */
#pain, #process { --duration-reveal: 850ms; }
#pain { --step: 150ms; }
#process { --step: 130ms; }

.tack-grid { list-style: none; margin: 0 auto; padding: 14px 0 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.tack-card { position: relative; background: var(--color-card); border: var(--key-border); border-radius: var(--radius-xs); box-shadow: var(--key-shadow); padding: 34px 24px 26px; transform: rotate(var(--r)); }
.tack-card p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--color-text); }
.tack-card.rv { transition: opacity var(--duration-reveal) var(--ease-reveal) calc(var(--i, 0) * var(--step, 110ms)), transform var(--duration-reveal) var(--ease-reveal) calc(var(--i, 0) * var(--step, 110ms)); }
.js .tack-card.rv.is-in { transform: rotate(var(--r)); }
.js .tack-card.rv:not(.is-in) { transform: translateY(var(--rise-reveal)) rotate(var(--r)); }
.tack-card.rv.is-in:hover { transform: translateY(-3px) rotate(0deg); transition-delay: 0s; transition-duration: var(--duration-hover); }
.tack { position: absolute; top: -11px; left: 50%; margin-left: -12px; transition: transform 300ms cubic-bezier(0.55, 0, 1, 0.45), opacity 160ms linear; transition-delay: calc(var(--i, 0) * var(--step, 110ms) + 600ms); }
.js .tack-card.rv:not(.is-in) .tack { opacity: 0; transform: translateY(-4px) scale(1.4); }
.tack__shadow { fill: var(--color-text); opacity: 0.55; }
.tack__head { fill: var(--color-accent); stroke: var(--color-text); stroke-width: 1.2; }
.tack__dome { fill: none; stroke: var(--color-text); stroke-width: 1; opacity: 0.35; }
.tack__hi { fill: none; stroke: var(--color-card); stroke-width: 1.6; stroke-linecap: round; opacity: 0.9; }
@media (max-width: 899px) { .tack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .tack-grid { grid-template-columns: 1fr; max-width: 420px; gap: 36px; } }
/* Red pen: a line under the sore words that draws left to right (across both lines when the words wrap). */
.ink { background-image: linear-gradient(var(--color-pen), var(--color-pen)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px; padding-bottom: 2px; transition: background-size 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * var(--step, 110ms) + 950ms); }
.tack-card.is-in .ink, html:not(.js) .ink { background-size: 100% 2px; }
@media (prefers-reduced-motion: reduce) { .tack-card.rv, .tack, .ink { transition: none !important; } .js .tack-card.rv .tack { opacity: 1; transform: none; } .ink { background-size: 100% 2px; } }

/* Case study pop-up v2 (CEO 10-29, on the review link until approved). Shape from the reference: one compact paper, 4 boxes up top,
   small labeled parts. The paper scrolls inside its folder, so nothing is cut off. Thin plain X on the backdrop.
   Open: the folder fades in and the paper rises out of it. Close: a short fade (Lightbox.astro). */
.lb[data-kind="doc"] { background: transparent; width: min(720px, calc(100vw - 2 * var(--gutter))); max-height: none; overflow: visible; }
.lb[data-kind="doc"] .lb__body { padding: 0; }
.lb[data-kind="doc"] .lb__close { position: fixed; top: 12px; right: 12px; margin: 0; z-index: 5; color: var(--color-on-dark); transition: color var(--duration-fast); }
.lb[data-kind="doc"] .lb__close path { stroke-width: 1.6; }
.lb[data-kind="doc"] .lb__close:hover { color: var(--color-accent); }
.lb-doc { position: relative; padding-top: 30px; color: var(--color-text); } /* 10-30: no clipping, so the cover can fold out past the folder edge */
.lb-doc::before { content: ""; position: absolute; inset: 30px 0 0; background: var(--color-accent); border-radius: 4px 16px 16px 16px; }
.lb-doc__tab { top: 2px; }
.lb-doc__paper { position: relative; margin: 16px; padding: 32px 32px 0; max-height: calc(100dvh - 2 * var(--gutter) - 62px); overflow-y: auto; overscroll-behavior: contain; background: var(--color-card); border: var(--key-border); border-radius: 8px; }
.lb[open] .lb-doc::before, .lb[open] .lb-doc__tab { animation: doc-frame 500ms var(--ease-out) both; }
/* 10-30 (CEO): slower and steady. An even ease in and out, so the paper visibly slides up out of the folder
   instead of jumping most of the way in the first moment (the old reveal curve did that). */
.lb[open] .lb-doc__paper { animation: paper-out 1000ms cubic-bezier(0.45, 0, 0.25, 1) 180ms both; }
.lb.is-closing .lb-doc { animation: file-away 180ms ease-in both; }
@keyframes doc-frame { from { opacity: 0; transform: translateY(10px); } }
/* 10-30 (CEO): the header (photo, name, firm, case type) stays put while the story scrolls under it. */
.lb-doc__who { display: flex; align-items: center; gap: 16px; position: sticky; top: -32px; z-index: 2; margin: -32px -32px 0; padding: 30px 32px 14px; background: var(--color-card); border-bottom: 1px solid var(--color-border); border-radius: 8px 8px 0 0; }
.lb-doc__photo { position: relative; flex: none; margin: 0 4px 0 0; padding: 4px 4px 12px; background: var(--color-card); box-shadow: var(--key-shadow); outline: 1px solid var(--color-border); transform: rotate(-3deg); }
.lb-doc__photo img { display: block; width: 60px; height: 60px; object-fit: cover; }
.lb-doc__photo .kf__clip { top: -13px; right: 6px; }
.lb-doc__name { margin: 0; font-size: 16px; font-weight: var(--weight-bold); }
.lb-doc__niche { margin: 2px 0 0; font-size: 13px; color: var(--color-text-muted); }
.lb-doc h3 { margin: 22px 0 0; font-size: 21px; line-height: 1.3; color: var(--color-text); }
.lb-doc__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.lb-doc__stats > div { padding: 16px 12px; text-align: center; background: var(--color-bg); border: var(--key-border); border-radius: var(--radius); }
.lb-doc__num { display: block; font-family: var(--font-title); font-size: 30px; line-height: 1; text-transform: lowercase; }
.lb-doc__lab { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.35; color: var(--color-text-muted); }
.lb-doc__sec { margin-top: 26px; }
.lb-doc__sec h4 { margin: 0 0 8px; font-size: 11.5px; font-weight: var(--weight-bold); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-accent-text); }
.lb-doc__sec p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--color-text-muted); }
.lb-doc__sec p + p, .lb-doc__sec p + ul, .lb-doc__sec ul + p { margin-top: 10px; }
.lb-doc__list { margin: 0; padding-left: 1.1em; display: grid; gap: 5px; font-size: 15.5px; line-height: 1.5; color: var(--color-text-muted); }
.lb-doc__list li { list-style: disc; }
.lb-doc__list li::marker { color: var(--color-accent); }
.lb-doc__cta { margin: 32px -32px 0; padding: 28px 20px 32px; background: var(--color-bg); }
.lb-doc__cta .section-cta { margin-top: 0; }
@media (max-width: 600px) {
  .lb[data-kind="doc"] { padding-top: 44px; }
  .lb-doc__paper { margin: 12px; padding: 26px 20px 0; max-height: calc(100dvh - 2 * var(--gutter) - 102px); }
  .lb-doc__who { top: -26px; margin: -26px -20px 0; padding: 24px 20px 12px; }
  .lb-doc h3 { font-size: 19px; }
  .lb-doc__num { font-size: 26px; }
  .lb-doc__cta { margin: 28px -20px 0; }
}
@media (prefers-reduced-motion: reduce) { .lb[open] .lb-doc::before, .lb[open] .lb-doc__tab, .lb[open] .lb-doc__paper, .lb.is-closing .lb-doc { animation: none; } }

/* Phone sizing (CEO 10-30): most firms will book from a phone, so no small reading text and every tap target 44px+. */
@media (max-width: 599px) {
  .eyebrow, .call-box__label { font-size: 13px; }
  .guarantee-grid .card { padding: 15px 16px; }
  .guarantee-grid .card__label { font-size: 12px; }
  .guarantee-grid h3 { font-size: 15.5px; }
  .guarantee-grid p:last-child { font-size: 14px; }
  .btn { font-size: 15.5px; padding: 14px 24px; } /* 10-30: a little smaller, like the reference's 48px phone button */
  .hero h1:has(.ln) { font-size: 30px; } /* 10-30: bigger on phones; each sentence may wrap, evenly */
  .hero h1 .ln { white-space: normal; text-wrap: balance; }
  .guarantee-note { font-size: 13.5px; }
  /* Hero guarantee pill (CEO 10-30): always one line, a tad smaller; the text shrinks just enough to fit the phone.
     Pill width = 50px (padding, shield, gap) + about 25.6 x font size (measured 11-22; 23 left it 3px from the edge
     on a 375px phone). Now it keeps the page gutter on both sides. */
  .pill { font-size: min(12.5px, calc((100vw - 2 * var(--gutter) - 50px) / 26)); }
  .pill__text { flex-wrap: nowrap; }
  .lb[data-kind="doc"] { width: calc(100vw - 20px); } /* a little wider on phones: more room for the story and the pill */
  .lb-doc__cta { padding-inline: 8px; }
  .kf__firm, .kf__niche { font-size: 13px; }
  .kf__lab { font-size: 15px; }
  .kf__more { min-height: 44px; }
  .topbar .brand { padding-block: 8px; margin-block: -8px; }
}

/* ---------- CEO 10-30, round 3 ---------- */
/* Proof strip (CEO 11-10): one result, standing still, centered under the hero buttons. */
.proof-strip { display: flex; width: fit-content; margin: 20px auto 0; text-align: left; } /* on phones the 2 lines sit beside the photo */

/* motion-shine, soft (CEO 11-11: "like the shine, but real subtle"): a thin, faint flat stripe crosses each
   Book button in the page once, when it first shows. Not the top bar or menu button. No blur or gradient.
   Off for people who choose less motion (global rule). */
main .btn--primary[data-cta] { position: relative; overflow: hidden; }
main .btn--primary[data-cta]::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 16%; background: color-mix(in srgb, var(--color-card) 28%, transparent); transform: translateX(-160%) skewX(-20deg); pointer-events: none; }
.js main .btn--primary[data-cta].is-in::after { animation: shine 1100ms ease-in-out 600ms both; }
@keyframes shine { to { transform: translateX(760%) skewX(-20deg); } }

/* Phone menu: the guarantee line sits under the button. */
.menu__pill { align-self: center; margin: -14px 0 0; } /* 10px under the button, like the sections */
@media (max-width: 599px) {
  .menu__panel { padding-inline: 20px; }
}

/* Our Guarantee: its own small section on a faded Cocoa Tea band; smaller cards. */
.band[data-section$=".guarantee"] { background: var(--color-mango-wash); padding: 36px 0 34px; } /* 10-30: faded Sweet Mango, was a grey faded Cocoa */
.guarantee-eyebrow { display: block; text-align: center; margin: 0 0 14px; }
.guarantee-grid { max-width: 600px; gap: 12px; }
.guarantee-grid .card { padding: 14px 16px; }
@media (max-width: 760px) { .band[data-section$=".guarantee"] { padding: 28px 0 26px; } }
@media (max-width: 599px) { .guarantee-grid .card { padding: 13px 14px; } }

/* FAQ: the title sits closer to the first question (was 64px + 20px). */
[data-section$=".faq"] .section-head { margin-bottom: 28px; }

/* Case file pop-up header: name, then the firm under it, like the case card on the page. */
.lb-doc__firm { margin: 3px 0 0; font-size: 13px; font-weight: var(--weight-bold); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text); }

/* Case file opens like a real yellow folder (CEO 10-30, round 4), under a second:
   1. a closed folder appears (slightly small),
   2. the front cover folds OUT toward you from the top (top edge comes forward, widens and drops to the hinge at the bottom),
   3. the open folder grows to full size with a small "boom". The paper is already inside, at the top of the story. */
.lb-doc { perspective: 2000px; perspective-origin: 50% 100%; } /* vanishing point at the hinge: the cover folds out toward you and down */
.lb-doc__flap { position: absolute; z-index: 4; left: 0; right: 0; top: 30px; bottom: 0; background: var(--color-accent); border: var(--key-border); border-radius: 4px 16px 16px 16px; box-shadow: inset 0 14px 0 -12px color-mix(in srgb, var(--color-text) 35%, transparent); transform-origin: 50% 100%; backface-visibility: hidden; opacity: 0; visibility: hidden; pointer-events: none; }
.lb[open] .lb-doc::before, .lb[open] .lb-doc__tab, .lb[open] .lb-doc__paper { animation: none; }
.lb[open] .lb-doc { transform-origin: 50% 35%; animation: doc-open 900ms ease-out both; }
.lb[open] .lb-doc__flap { animation: cover-open 480ms cubic-bezier(0.4, 0, 0.6, 1) 140ms both; }
@keyframes doc-open {
  0% { opacity: 0; transform: translateY(20px) scale(0.86); }
  15% { opacity: 1; transform: translateY(0) scale(0.86); }
  62% { transform: scale(0.86); animation-timing-function: cubic-bezier(0.3, 1.3, 0.6, 1); }
  100% { transform: none; }
}
@keyframes cover-open {
  0% { transform: rotateX(0deg); filter: brightness(1); opacity: 1; visibility: visible; }
  96% { transform: rotateX(-89deg); filter: brightness(1.06); opacity: 1; visibility: visible; }
  100% { transform: rotateX(-89deg); opacity: 0; visibility: hidden; }
}
.lb.is-closing .lb-doc { animation: file-away 180ms ease-in both; }
@media (prefers-reduced-motion: reduce) { .lb-doc__flap { display: none; } }

/* Case file on phones: the paper gets 4px more room, so the guarantee line fits one line. */
@media (max-width: 599px) {
  .lb-doc__paper { margin: 8px; }
  .lb-doc__cta { margin-inline: -20px; padding-inline: 6px; }
}

/* ---------- CEO 10-30, round 4 ---------- */
/* Smaller guarantee cards. */
.guarantee-grid { max-width: 520px; gap: 10px; }
.guarantee-grid .card { padding: 11px 14px 12px; }
.guarantee-grid .card__label { font-size: 11px; margin-bottom: 3px; }
.guarantee-grid h3 { font-size: 14.5px; margin-bottom: 2px; }
.guarantee-grid p:last-child { font-size: 12.5px; line-height: 1.45; }
.guarantee-note { margin-top: 10px; }
@media (max-width: 599px) {
  .guarantee-grid { max-width: 340px; }
  .guarantee-grid .card { padding: 10px 14px 11px; }
  .guarantee-grid .card__label { font-size: 11.5px; }
  .guarantee-grid h3 { font-size: 15px; }
  .guarantee-grid p:last-child { font-size: 13px; }
}

/* Problem cards: medium (CEO 10-30: 18px was too big, 16px too small). */
.tack-grid { max-width: 960px; gap: 40px 26px; }
.tack-card { padding: 30px 22px 24px; }
.tack-card p { font-size: 17px; }
@media (max-width: 599px) { .tack-grid { max-width: 390px; gap: 32px; } .tack-card { padding: 28px 20px 22px; } }


/* Results sub: even lines, no short last line (10-30). */
#results .section-sub { text-wrap: balance; }

/* Step icon tiles (CEO 10-30): a faded Cocoa Tea tile, the same soft tint as the guarantee pill, with a Cocoa Tea icon
   (was a solid dark tile with a Sweet Mango icon). */
.num-card__icon { background: color-mix(in srgb, var(--color-text) 10%, color-mix(in srgb, var(--color-accent) 8%, var(--color-bg))); color: var(--color-text); border: 1px solid color-mix(in srgb, var(--color-text) 20%, transparent); }

.num-card__icon .icon { color: var(--color-text); } /* the step icons carry icon--accent; Cocoa Tea reads on the faded tile */

/* ---------- CEO 10-30, round 5 ---------- */
/* Hero guarantee pill: a warm Sweet Mango glow, like the reference's pale gold pill (it has no animation; the warmth is the
   glow). Pale mango fill, soft mango edge, a faint mango halo. The shield keeps its Sweet Mango body with a thin Cocoa Tea
   edge and check, the brand rule for mango on light, so it stands apart from the mango pill. */
.pill { background: color-mix(in srgb, var(--color-accent) 14%, var(--color-bg)); border: 1px solid color-mix(in srgb, var(--color-accent) 60%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 12%, transparent), 0 2px 14px color-mix(in srgb, var(--color-accent) 30%, transparent); }
.pill .shield__body { fill: var(--color-accent); stroke: var(--color-text); stroke-width: 1.4; }
.pill .shield__check { stroke: var(--color-text); }

/* Proof strip: scrolls on phones only. On laptops and up it sits still and shows the line once (one firm today). */
@media (min-width: 600px) {
  .proof-strip { mask-image: none; }
  .proof-strip .marquee__track { animation: none; width: auto; justify-content: center; }
  .proof-strip .proofline + .proofline { display: none; }
  .proof-strip .proofline { padding-right: 0; }
}

/* Our Guarantee: one line under the label, before the cards. */
.guarantee-intro { max-width: 520px; margin: -4px auto 16px; text-align: center; font-size: 15px; line-height: 1.5; color: var(--color-text-muted); text-wrap: balance; }
@media (max-width: 599px) { .guarantee-intro { max-width: 340px; font-size: 14.5px; } }

/* Our Guarantee (CEO 10-30): a title like every other section, a bit smaller (it's a small section), and the two
   cards side by side on every screen, phones too. */
.guarantee-eyebrow { margin-bottom: 8px; }
.guarantee-title { margin: 0 auto 8px; text-align: center; font-size: clamp(24px, 3vw, 34px); }
@media (max-width: 760px) {
  .grid.guarantee-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; gap: 10px; }
  .guarantee-grid .card { padding: 11px 10px 12px; }
  .guarantee-grid .card__label { font-size: 11px; }
  .guarantee-grid h3 { font-size: 14px; text-wrap: balance; }
  .guarantee-grid p:last-child { font-size: 12.5px; line-height: 1.45; text-wrap: pretty; }
}
/* Guarantee card words (CEO 10-30: "too crowded"): more air around the title and between lines, softer body color.
   Same words. */
.guarantee-grid .card__label { margin-bottom: 6px; }
.guarantee-grid h3 { margin-bottom: 8px; }
.guarantee-grid p:last-child { line-height: 1.6; color: var(--color-text-muted); text-wrap: pretty; }
@media (max-width: 760px) {
  .grid.guarantee-grid { gap: 12px; }
  .guarantee-grid .card { padding: 18px 14px 20px; }
}
/* Card titles on one line on phones (CEO 10-30: "30+ Signed MVA Cases" in one line). The title reaches 4px into the
   card's side padding, and its size follows the card width (11em is about the longest title), never under 12.5px.
   Phones under 355px wide are too narrow, so the title wraps there as before. */
@media (min-width: 355px) and (max-width: 760px) {
  .guarantee-grid h3 { margin-inline: -4px; white-space: nowrap; letter-spacing: -0.01em; font-size: clamp(12.5px, calc((50vw - 44px) / 11), 14px); }
}

/* ---------- Spacing system (CEO 10-30) ----------
   Every section's heading uses the same gaps: label to title 16px, title to line 16px, and 48px (40px on phones) from the
   heading to the first thing you see (card, pin, folder tab, question). Overhangs are subtracted so the gap you see is equal. */
.band[data-section="home.pain"], .band[data-section="vsl.pain"] { padding: var(--section-pad) 0; }
@media (max-width: 760px) { .band[data-section="home.pain"], .band[data-section="vsl.pain"] { padding: var(--section-pad-phone) 0; } }
.section-sub, .section-subs { margin-top: var(--head-gap); }
[data-section$=".process"] .section-head:not(.section-head--subs) { margin-bottom: var(--head-to-content); }
[data-section$=".pain"] .section-head { margin-bottom: calc(var(--head-to-content) - 4px); }      /* the pin pokes up 4px */
[data-section$=".results"] .section-head { margin-bottom: calc(var(--head-to-content) - 2px); }
[data-section$=".faq"] .section-head { margin-bottom: calc(var(--head-to-content) - 22px); }      /* the question text sits 22px into its row */
/* About (CEO 11-09, "check the spacing on everything"): the same 48px (40px on phones) from each heading to what follows,
   and from the quote to the cards. Was 64px. */
[data-section="about.story"] .section-head, [data-section="about.build"] .section-head { margin-bottom: var(--head-to-content); }
/* What we build heading: title, quote and line read as one unit (16px apart), then 48px to the cards */
/* Our Guarantee: the same gaps, and more room above and below (it was tight). */
.band[data-section$=".guarantee"] { padding: 64px 0; }
@media (max-width: 760px) { .band[data-section$=".guarantee"] { padding: 48px 0; } }
.guarantee-eyebrow { margin: 0 0 var(--head-gap); }
.guarantee-title { margin: 0 auto var(--head-gap); }
.guarantee-intro { margin: 0 auto var(--head-to-content); }


/* ---------- No lonely last word (CEO 10-30 audit) ----------
   The browser moves a word down so no line ends with one word alone. Same words. */
.tack-card p, .num-card p, .faq__q, .faq__a p, .faq__a li { text-wrap: pretty; }
.num-card h3, .lb-doc__lab { text-wrap: balance; }
/* Visual pass (11-22): the footer fine print ("the contract / controls.", "All rights / reserved."), the case file firm name
   ("Graham Injury / Firm") and Full Disclosure ("how we are / paid", "November 19, / 2026") left one word alone on phones.
   Same words. Lines whose address or date holds together skip balance, so they break after the dot, never before it. */
.footer-disclaimer p, .site-footer--app .footer-cookies, .legal-prose p, .legal-prose li { text-wrap: pretty; }
.kf__firm, .legal-prose h2 { text-wrap: balance; }
.footer-copy__rights, .footer-company__address, .hero__date { white-space: nowrap; } /* never split across lines */
/* Guarantee labels ("DAY 1–7"): 12px, was 11px, the smallest text on Home. */
.guarantee-grid .card__label { font-size: 12px; }

/* Section colors back (CEO 11-11: one color felt "too flat", "put back what we had before"). The cards-only guarantee
   under the hero has no band of its own: it sits on the hero's white, right under the client proof. Last in the file so it
   wins over the guarantee's Mango Wash. The full guarantee band (/vsl before the FAQ, About's close) keeps its Mango Wash. */
.band.band--short[data-section$=".guarantee"] { background: var(--color-card); padding-top: 0; } /* 32px under the proof line, the hero's own gap (was 96px, 80px on phones: read as dead space) */

/* The page warms as you scroll (CEO 11-11, "I like the blend"): white hero, Mango Wash Problem, Sand Solution, then the
   black Real Results with its clean edge (10-29: no fade into the dark band) and a white FAQ. Each light step blends in at
   its top. Eased, not straight: a straight fade shows a faint line where it starts and stops (Larsen, CSS-Tricks "Easing
   Linear Gradients"); the stops follow an ease-in-out curve. Mixed in Oklab so the cream stays warm, never grey (MDN).
   Old browsers get the flat color. */
.band:is([data-section$=".pain"], [data-section$=".process"]) {
  --blend-len: 240px;
  background: var(--blend-to);
  background: linear-gradient(var(--blend-from) 0,
    color-mix(in oklab, var(--blend-to) 3%, var(--blend-from)) calc(var(--blend-len) * .1),
    color-mix(in oklab, var(--blend-to) 10%, var(--blend-from)) calc(var(--blend-len) * .2),
    color-mix(in oklab, var(--blend-to) 22%, var(--blend-from)) calc(var(--blend-len) * .3),
    color-mix(in oklab, var(--blend-to) 35%, var(--blend-from)) calc(var(--blend-len) * .4),
    color-mix(in oklab, var(--blend-to) 50%, var(--blend-from)) calc(var(--blend-len) * .5),
    color-mix(in oklab, var(--blend-to) 65%, var(--blend-from)) calc(var(--blend-len) * .6),
    color-mix(in oklab, var(--blend-to) 78%, var(--blend-from)) calc(var(--blend-len) * .7),
    color-mix(in oklab, var(--blend-to) 90%, var(--blend-from)) calc(var(--blend-len) * .8),
    color-mix(in oklab, var(--blend-to) 97%, var(--blend-from)) calc(var(--blend-len) * .9),
    var(--blend-to) var(--blend-len));
}
.band[data-section$=".pain"] { --blend-from: var(--color-card); --blend-to: var(--color-mango-wash); }
.band[data-section$=".process"] { --blend-from: var(--color-mango-wash); --blend-to: var(--color-sand); }
@media (max-width: 760px) { .band:is([data-section$=".pain"], [data-section$=".process"]) { --blend-len: 160px; } }

/* Section labels as a quiet tag (CEO 11-11, tag B): white, a hairline, no shadow, a small tilt. No shadow on purpose:
   the edge + shadow look is our button, so a label must not look pressable. On dark: the dark card fill and a soft light
   line. Text colors stay (Cocoa Tea on light, Sweet Mango on dark). `rotate`, not transform, so the reveal still works. */
:is([data-section^="home."], [data-section^="vsl."], [data-section^="about."]) .eyebrow {
  display: block; width: fit-content; margin-inline: auto; padding: 4px 9px 3px; line-height: 1.4; font-size: var(--text-tag);
  background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-xs); rotate: -2deg;
}
/* A little smaller (CEO 11-11): 11px, 12px on phones (the smallest phone text, like the guarantee card labels). */
@media (max-width: 599px) { :is([data-section^="home."], [data-section^="vsl."], [data-section^="about."]) .eyebrow { font-size: 12px; } }
.band--dark:is([data-section^="home."], [data-section^="vsl."], [data-section^="about."]) .eyebrow {
  background: var(--color-dark-card); border-color: color-mix(in srgb, var(--color-on-dark) 22%, var(--color-dark-card));
}

/* Real Results story (finish list 9, CEO 11-11): before, what we did, after inside the case file, under the numbers.
   A thin line with a dot per step, like a timeline; the After dot is filled. */
.case-story { display: grid; gap: 14px; margin: var(--space-3) 0 0 6px; padding: 4px 0 4px 20px; list-style: none; border-left: 1px solid var(--color-border); }
.case-story li { position: relative; }
.case-story li::before { content: ""; position: absolute; left: -26px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--color-card); border: 2px solid var(--color-text); }
.case-story li:last-child::before { background: var(--color-text); }
.case-story__h { display: block; font-size: var(--text-tag); font-weight: var(--weight-bold); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text); }
.case-story p { margin: 2px 0 0; font-size: var(--text-card); line-height: 1.45; color: var(--color-text-muted); text-wrap: pretty; }

/* Explainer video (Website Launch Step 23; CEO 11-20). Our own player: it plays muted on open with burned-in captions
   (src/scripts/video.ts). CEO 11-20: the sound button is a small dark see-through tag over the moving video, so it reads
   as part of the video and gold stays only on "Book a Free Call". A still video (autoplay blocked) gets a dark round
   play button. The pause button is small and dark so it stays out of the picture. */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-video); overflow: hidden; box-shadow: var(--shadow-video); background: var(--color-bg); }
.video__media { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--color-bg); }
.video:not(.is-sound) .video__media { cursor: pointer; }
.video__play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.video__play:focus-visible { outline: none; }
.video:has(.video__play:focus-visible) { outline: 2px solid var(--color-text); outline-offset: 3px; }
.video__btn, .video__tag { position: absolute; left: 50%; top: 50%; translate: -50% -50%; background: color-mix(in srgb, var(--color-text) 70%, transparent); color: var(--color-on-dark); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color var(--duration-fast) var(--ease-out), scale var(--duration-fast) var(--ease-out); }
.video__btn { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; }
.video__btn svg { margin-left: 4px; }
.video__tag { display: none; align-items: center; gap: 8px; width: max-content; padding: 10px 18px 10px 14px; border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: 1.2; white-space: nowrap; }
.video__tag svg { flex: none; }
.video__tag-mouse { display: none; }
@media (pointer: fine) { .video__tag-touch { display: none; } .video__tag-mouse { display: inline; } } /* a mouse clicks, a finger taps */
.video.is-loop .video__btn { display: none; }
.video.is-loop .video__tag { display: inline-flex; }
@media (hover: hover) { .video__play:hover :is(.video__btn, .video__tag) { background: color-mix(in srgb, var(--color-text) 86%, transparent); } }
.video__play:active :is(.video__btn, .video__tag) { scale: 0.97; }
.video__pause:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; }
.video__pause { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--color-text) 70%, transparent); color: var(--color-on-dark); cursor: pointer; }
.video__pause .video__resume-icon, .video__pause[aria-pressed="true"] .video__pause-icon { display: none; }
.video__pause[aria-pressed="true"] .video__resume-icon { display: block; }
@media (max-width: 599px) {
  .video__btn { width: 56px; height: 56px; } .video__btn svg { width: 22px; height: 22px; }
  .video__tag { gap: 6px; padding: 8px 14px 8px 12px; font-size: 13px; } .video__tag svg { width: 16px; height: 16px; }
  .video__pause { top: 6px; right: 6px; width: 32px; height: 32px; }
}
/* Sound tap (CEO 11-20): the video lifts a little and the page behind it dims. A scroll, a tap outside it, Esc or the
   end of the video puts it back. Only transform and opacity move; the close is quicker than the open. Visitors who ask
   for less motion get the dim only, no lift. */
/* CEO 11-20 11:27: "smoother... zoom in, zoom out". A slow-in, slow-out curve over 0.6s (the quick ease-out made it
   pop), the dim on the same curve so both move as one, and a softer 0.45s zoom out. */
.video { --zoom: cubic-bezier(0.4, 0, 0.2, 1); transition: transform 600ms var(--zoom); }
.video.is-loop, .video.is-focus { will-change: transform; } /* ready before the tap, so the first frame doesn't stutter */
.video.is-focus { z-index: 71; }
.video.is-leaving { transition-duration: 450ms; }
.video-dim { position: fixed; inset: 0; z-index: 70; background: color-mix(in srgb, var(--color-text) 70%, transparent); opacity: 0; transition: opacity 450ms cubic-bezier(0.4, 0, 0.2, 1); }
.video-dim.is-on { opacity: 1; transition-duration: 600ms; }
@media (prefers-reduced-motion: reduce) { .video { transition: none; } .video__btn, .video__tag { transition: none; } .video__play:active :is(.video__btn, .video__tag) { scale: none; } }

/* ---------- Computer spacing (CEO 11-19: "very squished and tight... give it more breathing room") ----------
   Laptops and up only (900px+, where the top menu shows). Phones and tablets keep their spacing.
   Existing tokens only. Section heads below the first screen keep the 10-30 system (16 / 16 / 48). */
@media (min-width: 900px) {
  /* First screen: more air above and below each part. */
  .hero { padding-top: var(--space-5); padding-bottom: var(--space-5); }        /* 40 / 32 before */
  .hero__who { margin-bottom: var(--space-4); }                                   /* top pill to headline, 28 before */
  :is(.hero, .page-hero) .eyebrow { margin-bottom: var(--space-3); }              /* label to headline, 16 before */
  :is(.hero, .page-hero) .hero__sub { margin-top: var(--space-4); }               /* headline to sub, 20 (About 24) before */
  .hero__actions { margin-top: var(--head-to-content); gap: var(--space-2h); }    /* sub to button 32, button to pill 16 before */
  /* Video on: the video is the break, so its gaps stay 32 and the button still shows on a 900px-tall screen. */
  .hero:has(.hero__media) { padding-top: var(--space-4); }
  .hero__media + .hero__actions { margin-top: var(--space-4); }
  .proof-strip { margin-top: var(--space-3); }                                    /* pill to proof line, 20 before */
  /* Guarantee cards: wider and shorter, like the reference's (measured 11-20 at 1440: 2 x 332px, 128px tall, 20px pad,
     15px title, 12.8px body). CEO 11-20: "I don't think we needed to make the cards that big." Same words.
     The hero's bottom pad is the 64px above them. */
  .guarantee-grid { max-width: var(--w-text); gap: var(--space-2); }              /* 520 wide, 10 apart before */
  .guarantee-grid .card { padding: var(--space-2h); }
  .guarantee-grid h3 { font-size: var(--text-card); }                             /* 14.5px before */
  .guarantee-grid p:last-child { font-size: var(--text-xs); }                     /* 12.5px before; 12px CEO 11-20 */
  .guarantee-note { margin-top: var(--space-2); font-size: var(--text-xs2); }     /* 10 apart, 12px before */
  /* /apply, /not-a-fit, /vsl/booked: more room between the sub and the cards. */
  .info-cards, .apply-flow.is-live { margin-top: var(--head-to-content); }        /* 32 before */
}

/* Proof line on phones (CEO 11-20: "I would like to have it on one line"). The text shrinks just enough to fit one line,
   never under 12px, like the hero pill. Line width = 38px (photo and gap) + about 25.2 x font size. Phones under 375px
   wide are too narrow at 12px, so it wraps there into 2 even lines. */
@media (max-width: 599px) {
  .proof-strip { font-size: clamp(var(--text-xs), calc((100vw - 72px) / 25.5), var(--text-sm)); }
  .proof-strip > span { text-wrap: balance; }
}

/* Guarantee note (CEO 11-20: "I like that one line"): one line on computers and tablets, one sentence per line on phones. */
.note-line { display: block; }
@media (min-width: 600px) { .note-line { display: inline; } }

/* Guarantee cards on phones (CEO 11-20: "I want it to be stacked up... the same exact size" as the reference's): one card
   per row, full width, sized like the reference's (measured 11-20 at 375: 128px tall, 20px pad, 16px apart, 15px title,
   12.8px body). Tablets keep 2 side by side. Replaces the 10-30 "side by side on every screen". */
@media (max-width: 599px) {
  .grid.guarantee-grid { grid-template-columns: 1fr; gap: var(--space-2); }
  /* CEO 11-20: "much smaller... a little bit more flat", like the reference's: tighter top and bottom, title 4px over
     the body (the reference's 4.8px), body lines 1.5. */
  .guarantee-grid .card { padding: var(--space-2) var(--space-2h); }
  .guarantee-grid h3 { margin-inline: 0; white-space: normal; letter-spacing: normal; font-size: var(--text-card); margin-bottom: var(--space-0); }
  .guarantee-grid p:last-child { line-height: 1.5; }
}

/* Day labels in Sweet Mango text (CEO 11-20: "The text has the color. That's it.", after seeing the gold tag). An exception
   to the 10-27 rule "Sweet Mango is never text on light", by the CEO's choice: about 1.8 to 1 on white. Every screen.
   CEO 11-20: labels and card words "a tad smaller": labels 11px (was 12px, the 10-30 phone floor), card words 12px
   (was 13px). The reference's are 10.4px and 12.8px. */
.guarantee-grid .card__label { color: var(--color-accent); font-size: var(--text-tag); }
.guarantee-grid p:last-child { font-size: var(--text-xs); }

/* /apply answer boxes and fields (audit 11-19, point 11; CEO 11-20 "yes"): the edge was Pencil Grey, 1.33 to 1 on the
   page, too faint to see the box. Half Cocoa Tea, half Coconut Cream reaches 3.4 to 1 (the rule is 3 to 1). The hover and
   picked edge stays Sweet Mango. */
.apply-tile, .apply-other, .apply-field input { border-color: color-mix(in srgb, var(--color-text) 50%, var(--color-bg)); }

/* About story as a letter (CEO 11-20: "I do like the letterhead. I like the quotation marks... the line goes down. When
   you scroll, the line reveals each paragraph, and then the gold."). A dark card with a Sweet Mango quote mark. Each
   paragraph has its own piece of gold line: when the paragraph scrolls in (src/scripts/reveal.ts adds .is-in), its piece
   draws down to the next one. At the last paragraph the line ends in the logo's dot, the dot lights, and the last 2 lines
   turn gold. Less motion: all of it shows at once. Text stays left, so the line has an edge to run down. */
.story { background: var(--color-dark-card); border: var(--btn-border-on-dark); box-shadow: var(--btn-shadow-on-dark); border-radius: var(--radius-card); padding: var(--space-4) var(--space-5) var(--space-4) var(--space-4); font-size: calc(var(--text-base) * 1.125); } /* 18px (CEO 11-20: "Yes, 18px"); live was 20px */
.story::before { content: open-quote; display: block; height: 44px; font-family: var(--font-body); font-weight: var(--weight-bold); font-size: 88px; line-height: 0.7; color: var(--color-accent); }
.story p { position: relative; padding-left: var(--space-4); }
.story p::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 2px; height: calc(100% + var(--space-3)); background: var(--color-accent); transform-origin: top; transform: scaleY(0); transition: transform 700ms var(--ease-out) 200ms; }
.story p:last-child::before { height: calc(100% - 1.4em); }
.story p:last-child::after { content: ""; position: absolute; left: -6px; bottom: 0.45em; width: 14px; height: 14px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 1px var(--color-on-dark), 0 0 22px color-mix(in srgb, var(--color-accent) 70%, transparent); opacity: 0; transform: scale(0.4); transition: opacity 300ms var(--ease-out) 800ms, transform 300ms var(--ease-out) 800ms; }
.story p.rv:last-child { transition: opacity var(--duration-reveal) var(--ease-reveal), transform var(--duration-reveal) var(--ease-reveal), color 600ms ease 900ms; }
.story p.is-in::before, html:not(.js) .story p::before { transform: none; }
.story p:last-child.is-in, html:not(.js) .story p:last-child { color: var(--color-accent-on-dark); }
.story p:last-child.is-in::after, html:not(.js) .story p:last-child::after { opacity: 1; transform: none; }
@media (max-width: 599px) {
  .story { padding: var(--space-3) var(--space-2h) var(--space-3) var(--space-2); font-size: var(--text-base); }
  .story::before { height: 32px; font-size: 64px; }
  .story p { padding-left: var(--space-3); }
}
@media (prefers-reduced-motion: reduce) {
  .story p::before, .story::after { transform: none; }
  .story p:last-child { color: var(--color-accent-on-dark); }
  .story p:last-child::after { opacity: 1; transform: none; }
}
/* Phones and small tablets (CEO 11-20, "yes to all"): one gold line from her photo to the end of her letter. The arch sits
   left and draws from the bottom-right, up and over, down the left side; a short piece joins it to the letter's line, which
   draws down paragraph by paragraph to the dot. The letter drops its box here, so nothing breaks the line. */
@media (max-width: 899px) {
  .story-photo { max-width: 290px; margin: 0; }
  .founder-arch__line { inset: -10px -8px 0 -12px; } /* 2px left, so its left side lands exactly on the letter's line */
  .founder-arch__line path { stroke-width: 0.7; }
  .story { --quote-h: 44px; position: relative; background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; }
  .story::before { margin-left: var(--space-3); }
  .story::after { content: ""; position: absolute; left: 0; top: calc(-1 * var(--space-4)); width: 2px; height: calc(var(--space-4) + var(--quote-h) + var(--space-3) + 0.6em); background: var(--color-accent); transform-origin: top; transform: scaleY(0); transition: transform 500ms var(--ease-out); }
  .story-wrap:has(.story-photo.is-in) .story::after, html:not(.js) .story::after { transform: none; }
}
@media (max-width: 599px) { .story { --quote-h: 32px; } }

/* Phone polish (CEO 11-20, "Yes, all 3"): a smaller sound tag, tighter guarantee cards with a one-line note, and step
   cards with the number, icon and title on one row. The gold day labels stay (CEO 11-20 choice, above). */
.video__tag { gap: 6px; padding: 8px 15px 8px 12px; font-size: 13px; } .video__tag svg { width: 16px; height: 16px; }
@media (max-width: 599px) {
  .video__tag { gap: 5px; padding: 6px 12px 6px 10px; font-size: 12px; } .video__tag svg { width: 14px; height: 14px; }

  /* Guarantee: less padding and gap (16 x 20 and 16 apart before), less empty space under the note (48 before).
     CEO 11-20 11:32: same separate boxes and look, "just needs to be shrunk a little bit": 340px wide at most (they
     filled the phone, 396px on a 12 Pro Max), a tad less padding, and 16px under the note. */
  .grid.guarantee-grid { gap: 10px; max-width: 340px; margin-inline: auto; }
  .guarantee-grid .card { padding: 10px 14px 11px; }
  .guarantee-grid .card__label { margin-bottom: 2px; }
  .band--short[data-section$=".guarantee"] { padding-bottom: 16px; } /* the short bands (Home, top of /vsl), not the ones with a button */
  /* The note (CEO 11-20 12:14, "2 yes"): both sentences again, like the reference on phones, at its 12px, one sentence
     per line. Was the first sentence only. */
  .guarantee-note { font-size: 12px; }

  /* Steps: number, title and icon share the top row (they stacked before), 18px padding and 16 apart (24 before). */
  .num-grid { gap: 16px; }
  .num-card { display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: center; padding: 18px; }
  .num-card__top { display: contents; }
  .num-card .step-n { grid-column: 1; grid-row: 1; }
  .num-card__top .num-card__icon { grid-column: 3; grid-row: 1; width: 36px; height: 36px; }
  .num-card h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 18px; line-height: 1.25; }
  .num-card > :not(.num-card__top, h3) { grid-column: 1 / -1; }
  .num-card p { margin-top: 12px; }
  .num-card:not(:first-child)::before { top: -17px; height: 16px; left: 35px; }
}
