/* ==========================================================================
   Passive Automation Agency LLC — site stylesheet
   Hand-coded, no framework. Source of truth: Figma file QMAKV6wAUqWQUSyxFqoL4H
   (LIVE — Home Desktop 1440 / LIVE — Home Mobile 390).

   Structure
     1. Tokens (colour, type, spacing — change here first)
     2. Fonts
     3. Base / reset
     4. Layout primitives (.section, .split, .hairline)
     5. Shared header + footer (used on EVERY page)
     6. Components (buttons, links, rows, accordion, cards)
     7. Home sections
     8. Inner pages (get-started, thank-you, legal)
     9. Video landing slot (.video-embed — for a future /watch page)
    10. Breakpoints: tablet (<=1099px), mobile (<=699px)
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #f4f2ed;
  --bg-alt: #f8f6f2;
  --ink: #21180e;
  --muted: #6f675c;
  --tan: #8a8368;
  --hair: #d6cfc3;
  --orange: #ff735c;
  --dark: #16100a;
  --dark-hair: #3b2f22;
  --dark-muted: #bfb6a8;
  --btn-dark: #402c12;

  --font-sans: "Mona Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --pad-x: 96px;          /* page gutter */
  --label-w: 380px;       /* left label column on desktop */
  --max: 1440px;          /* design width */
}

/* 2. Fonts (self-hosted, latin subset, variable) --------------------------- */
@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/mona-sans-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Mona Sans";
  font-style: italic;
  font-weight: 200 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/mona-sans-italic.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-300.woff2") format("woff2");
}

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-variation-settings: "wdth" 100;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 12px 18px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
}
.skip-link:focus { top: 16px; }

/* shared little pieces */
.mono { font-family: var(--font-mono); font-weight: 300; }
.eyebrow {
  font-family: var(--font-mono); font-weight: 300; font-size: 11px;
  letter-spacing: 0.16em; color: var(--tan); text-transform: uppercase;
}
.accent-rule { display: block; width: 64px; height: 2px; background: var(--orange); }

/* 4. Layout primitives ----------------------------------------------------- */
.section { background: var(--bg); padding: var(--py, 40px) var(--pad-x); }
.section--alt { background: var(--bg-alt); }
.section--p40 { --py: 40px; }
.section--p120 { --py: 120px; }
.section--p160 { --py: 160px; }
.section--orange { background: var(--orange); color: var(--dark); }
.section--dark { background: var(--dark); color: var(--bg); }
.section__inner {
  border-top: 1px solid var(--hair);
  padding-top: 56px;
  max-width: calc(var(--max) - 2 * var(--pad-x));
  margin: 0 auto;
}
.section--dark .section__inner { border-top-color: var(--dark-hair); }
.section--orange .section__inner { border-top: 0; padding-top: 0; }
.split { display: flex; align-items: flex-start; }
.split__label {
  flex: 0 0 var(--label-w);
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-mono); font-weight: 300; font-size: 11px;
  letter-spacing: 0.16em; line-height: normal; text-transform: uppercase;
}
.split__label .num { color: var(--orange); }
.split__label .name { color: var(--tan); }
.section--dark .split__label .name { color: var(--dark-muted); }
.split__body { flex: 1 1 0; min-width: 0; }

.hairline { height: 1px; background: var(--hair); border: 0; margin: 0; }

/* 5. Shared header + footer ------------------------------------------------ */
.site-header {
  position: relative; z-index: 20;
  background: var(--bg);
  padding: 40px var(--pad-x) 0;
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: calc(var(--max) - 2 * var(--pad-x)); margin: 0 auto;
}
.logo {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: 17px; line-height: normal; white-space: nowrap; color: var(--ink);
}
.logo__a { font-weight: 800; font-style: italic; letter-spacing: -0.02em; }
.logo__b { font-weight: 700; letter-spacing: -0.01em; }
.site-footer .logo { color: var(--bg); }

.nav { display: flex; align-items: center; gap: 48px; }
.nav a, .menu-toggle {
  font-family: var(--font-mono); font-weight: 300; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; line-height: normal;
}
.nav a:not(.nav__cta) { color: var(--muted); transition: color .15s; }
.nav a:not(.nav__cta):hover { color: var(--ink); }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.nav__cta::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange);
}
.menu-toggle { display: none; color: var(--ink); padding: 8px 0 8px 16px; }

.site-footer { background: var(--dark); color: var(--bg); padding: 0 var(--pad-x) 64px; }
.site-footer__inner {
  max-width: calc(var(--max) - 2 * var(--pad-x)); margin: 0 auto;
  border-top: 1px solid var(--dark-hair); padding-top: 40px;
  display: flex; flex-direction: column; gap: 40px;
}
.site-footer__row { display: flex; align-items: center; justify-content: space-between; }
.site-footer__links { display: flex; gap: 32px; }
.site-footer__links a {
  font-family: var(--font-mono); font-weight: 300; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--dark-muted);
}
.site-footer__links a:hover { color: var(--bg); }
.site-footer__legal {
  font-family: var(--font-mono); font-weight: 300; font-size: 11px;
  letter-spacing: 0.04em; line-height: 1.7; color: var(--tan);
}
.site-footer__legal a { color: var(--dark-muted); border-bottom: 1px solid transparent; }
.site-footer__legal a:hover { color: var(--bg); border-bottom-color: var(--orange); }
/* On pages without a dark contact block above it, the footer gets its own top space */
.site-footer--lead { padding-top: 96px; }

/* 6. Components ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 22px 36px; font-size: 16px; font-weight: 400; line-height: normal;
  white-space: nowrap; transition: filter .15s, transform .15s;
}
.btn .arrow { font-weight: 300; }
.btn--orange { background: var(--orange); color: var(--dark); }
.btn--dark { background: var(--btn-dark); color: var(--bg); }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }

.link-cta {
  display: inline-flex; flex-direction: column; gap: 6px;
  font-size: 16px; font-weight: 400; line-height: normal; color: var(--ink);
  white-space: pre;
}
.link-cta::after { content: ""; display: block; height: 1px; background: var(--orange); width: 100%; }
.link-cta:hover::after { height: 2px; margin-top: -1px; }

.rows { border-top: 1px solid var(--hair); }
.rows > li { border-bottom: 1px solid var(--hair); }
.rows--statements > li { padding: 30px 0; font-size: 34px; line-height: 1.25; color: var(--ink); }

.process > li {
  display: flex; align-items: flex-start; padding: 32px 0;
}
.process__num { flex: 0 0 80px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--orange); }
.process__title { flex: 0 0 340px; font-size: 30px; line-height: normal; color: var(--ink); }
.process__text { flex: 1 1 0; font-size: 17px; line-height: 1.6; color: var(--muted); }

.cols3 { display: flex; gap: 32px; }
.cols3 > * { flex: 0 0 268px; display: flex; flex-direction: column; gap: 16px; }
.cols3 .card-rule { height: 1px; background: var(--ink); }
.cols3 .card-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--orange); line-height: normal; }
.cols3 h3, .cols3 h2 { font-size: 28px; font-weight: 300; line-height: 1.2; color: var(--ink); }
.cols3 p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Accessible accordion (details/summary) */
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  display: flex; align-items: center; gap: 20px; cursor: pointer;
  padding: 32px 0; font-size: 26px; line-height: 1.3; color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary .q { flex: 1 1 0; min-width: 0; }
.faq summary::after {
  content: "+"; flex: none; color: var(--orange); line-height: 1; font-weight: 300;
  width: 1ch; text-align: center;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover .q { color: var(--muted); }
.faq .answer { padding: 0 0 32px; max-width: 760px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.faq .answer p + p { margin-top: 1em; }

/* 7. Home sections --------------------------------------------------------- */
.hero { background: var(--bg); padding: 180px var(--pad-x) 72px; }
.hero__inner { max-width: calc(var(--max) - 2 * var(--pad-x)); margin: 0 auto; }
.hero .accent-rule { margin-bottom: 24px; }
.hero__eyebrow { display: block; margin-bottom: 40px; }
.hero h1 {
  font-weight: 300; font-size: min(148px, 10.28vw); line-height: 0.96; letter-spacing: -0.055em;
  color: var(--ink);
}
.hero h1 span { display: block; color: var(--tan); max-width: 7.1em; }
.hero__rule { height: 1px; background: var(--hair); }
.hero__rule--1 { margin-top: 96px; }
.hero__rule--2 { margin-top: 120px; }
.hero__row {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 40px 0 0; margin-bottom: 0;
}
.hero__row p { width: 520px; max-width: 100%; font-size: 20px; line-height: 1.55; color: var(--muted); }
.hero__ctas { display: flex; align-items: center; gap: 40px; }
.hero__meta {
  padding-top: 20px;
  font-family: var(--font-mono); font-weight: 300; font-size: 12px; letter-spacing: .08em;
  line-height: 1.8; color: var(--muted);
}
.hero__meta .dot { margin: 0 2ch; }
/* Optional hero video slot (not rendered; see commented block in index.html) */

/* Typographic band — one restrained statement between hero and positioning. */
.type-band { background: var(--bg-alt); padding: 120px var(--pad-x); }
.type-band__inner { max-width: calc(var(--max) - 2 * var(--pad-x)); margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.type-band__label { font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: .16em; line-height: normal; color: var(--tan); }
.type-band__rule { height: 1px; background: var(--hair); }
.type-band__line { font-weight: 300; font-size: min(88px, 6.1vw); line-height: 1.04; letter-spacing: -0.045em; color: var(--ink); }

.positioning .quote {
  font-size: 64px; line-height: 1.12; letter-spacing: -0.045em; color: var(--ink);
}
.positioning .quote-sub { margin-top: 40px; width: 560px; max-width: 100%; font-size: 18px; line-height: 1.65; color: var(--muted); }

.engagement h2 { font-size: 44px; font-weight: 300; line-height: 1.15; letter-spacing: -0.045em; color: var(--ink); margin-bottom: 40px; }
.engagement .process { border-top: 1px solid var(--hair); }
.engagement .note {
  margin-top: 40px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--tan); line-height: normal;
}

.risk h2 { font-size: 44px; font-weight: 300; line-height: 1.15; letter-spacing: -0.045em; color: var(--ink); }
.risk__intro { margin-top: 24px; max-width: 640px; font-size: 20px; line-height: 1.55; color: var(--muted); }
.risk__list { margin-top: 48px; border-top: 1px solid var(--hair); }
.risk__list > li { border-bottom: 1px solid var(--hair); }
.risk .process__title { flex-basis: 380px; padding-right: 32px; font-size: 28px; line-height: 1.2; font-weight: 300; }
.risk .process__text { max-width: 560px; }
.risk__close { margin-top: 48px; font-size: 28px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }

.invite { background: var(--bg); padding: 88px var(--pad-x) 24px; }
.invite__inner {
  max-width: calc(var(--max) - 2 * var(--pad-x)); margin: 0 auto;
  border-top: 1px solid var(--hair); padding-top: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.invite p { font-size: 28px; line-height: normal; color: var(--ink); width: 760px; max-width: 100%; }

.founder .split { align-items: center; gap: 96px; }
.founder__photo { flex: 0 0 560px; aspect-ratio: 2 / 3; overflow: hidden; background: #ddd; }
.founder__photo img, .founder__photo picture { width: 100%; height: 100%; object-fit: cover; }
.founder__text { flex: 0 0 592px; display: flex; flex-direction: column; gap: 40px; max-width: 100%; }
.founder__text .split__label { flex: none; }
.founder__copy { width: 560px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; }
.founder__copy p { font-size: 22px; line-height: 1.6; letter-spacing: -0.01em; color: var(--ink); }
.founder__sig { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.founder__sig .accent-rule { width: 48px; height: 1px; background: var(--tan); margin: 8px 0 4px; }
.founder__sig span:last-child { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); line-height: normal; }

.apply { padding: 162px var(--pad-x); display: flex; flex-direction: column; gap: 48px; }
.apply > * { max-width: calc(var(--max) - 2 * var(--pad-x)); width: 100%; margin-left: auto; margin-right: auto; }
.apply .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--dark); line-height: normal; }
.apply h2 { font-size: 88px; font-weight: 300; line-height: 1.04; letter-spacing: -0.045em; color: var(--dark); }
.apply .rule { height: 1px; background: rgba(22, 16, 10, .25); }
.apply__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.apply__row p { width: 480px; max-width: 100%; font-size: 18px; line-height: 1.6; color: var(--dark); }
.apply .fine { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--dark); line-height: normal; }

.contact .col { display: flex; flex-direction: column; gap: 28px; width: 360px; max-width: 100%; }
.contact .group { display: flex; flex-direction: column; gap: 8px; }
.contact .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--tan); line-height: normal; }
.contact .v { font-size: 17px; line-height: normal; color: var(--bg); }
.contact a.v { border-bottom: 1px solid transparent; }
.contact a.v:hover { border-bottom-color: var(--orange); }
.contact .small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--dark-muted); line-height: normal; }

/* 8. Inner pages ------------------------------------------------------------ */
.page-hero { padding: 120px var(--pad-x) 72px; background: var(--bg); }
.page-hero__inner { max-width: calc(var(--max) - 2 * var(--pad-x)); margin: 0 auto; }
.page-hero .accent-rule { margin-bottom: 24px; }
.page-hero h1 {
  font-weight: 300; font-size: min(104px, 7.2vw); line-height: 0.98; letter-spacing: -0.05em; color: var(--ink);
}
.page-hero h1 span { display: block; color: var(--tan); }
.page-hero .lede { margin-top: 48px; width: 680px; max-width: 100%; font-size: 20px; line-height: 1.55; color: var(--muted); }
.page-hero--center { text-align: center; padding-bottom: 160px; }
.page-hero--center .accent-rule { margin-left: auto; margin-right: auto; }
.page-hero--center .lede { margin-left: auto; margin-right: auto; }

.form-wrap { background: #fff; border: 1px solid var(--hair); padding: 8px; max-width: 760px; }
.form-wrap iframe { display: block; width: 100%; min-width: 100%; max-width: 100%; border: 0; min-height: 539px; }
.form-fallback { margin-top: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.form-fallback a { border-bottom: 1px solid var(--orange); }
.fine-print { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; line-height: 1.7; color: var(--tan); }
.inline-link { border-bottom: 1px solid var(--orange); color: var(--ink); }

/* Legal text */
.legal { padding: 120px var(--pad-x) 160px; }
.legal__inner { max-width: 820px; margin: 0 auto; }
.legal .kicker { margin-bottom: 24px; }
.legal h1 { font-size: 56px; font-weight: 300; line-height: 1.05; letter-spacing: -0.04em; color: var(--ink); }
.legal .org { margin-top: 16px; font-size: 20px; color: var(--muted); }
.legal .effective { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--tan); }
.legal .toc { margin: 48px 0; padding: 28px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.legal .toc h2 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; font-weight: 300; color: var(--tan); margin-bottom: 16px; }
.legal .toc ol { columns: 2; column-gap: 40px; }
.legal .toc li { font-size: 16px; line-height: 1.9; break-inside: avoid; }
.legal .toc a { color: var(--muted); }
.legal .toc a:hover { color: var(--ink); }
.legal h2 { margin-top: 56px; font-size: 28px; font-weight: 400; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.legal h3 { margin-top: 32px; font-size: 19px; font-weight: 500; color: var(--ink); }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: var(--ink); }
.legal p { margin-top: 16px; }
.legal ul { margin-top: 12px; padding-left: 1.2em; list-style: disc; }
.legal ul ul { margin-top: 4px; list-style: circle; }
.legal li { margin-top: 8px; padding-left: 4px; }
.legal li::marker { color: var(--orange); }
.legal strong { font-weight: 600; }
.legal a { border-bottom: 1px solid var(--hair); word-break: break-word; }
.legal a:hover { border-bottom-color: var(--orange); }
.legal address { font-style: normal; margin-top: 16px; font-size: 17px; line-height: 1.7; }

/* 9. Video landing slot ------------------------------------------------------
   For a future /watch (video sales letter) page: put a Vimeo/Wistia iframe in
   .video-embed, then the Apply CTA below it. A ready-to-copy page lives in
   /templates/watch/index.html (outside public_html — not deployed).
   Header, footer and tokens are shared, so nothing else needs to change.      */
.video-section { background: var(--bg); padding: 72px var(--pad-x) 40px; }
.video-section__inner { max-width: 1120px; margin: 0 auto; }
.video-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--dark); overflow: hidden;
}
.video-embed iframe, .video-embed video, .video-embed .wistia_embed {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-cta { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 48px 0 0; text-align: center; }
.video-cta .fine-print { max-width: 560px; }

/* 10. Breakpoints ------------------------------------------------------------ */

/* Tablet ------------------------------------------------------------------- */
@media (max-width: 1099px) {
  :root { --pad-x: 48px; }

  /* nav collapses into a menu */
  .menu-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 24px);
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
    padding: 8px var(--pad-x) 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 0; width: 100%; font-size: 12px; }
  .nav a:not(:last-child) { border-bottom: 1px solid var(--hair); }
  .site-header__bar { position: static; }

  .hero { padding-top: 120px; padding-bottom: 56px; }
  .type-band { padding-top: 96px; padding-bottom: 96px; }
  .type-band__inner { gap: 28px; }
  .hero h1 { font-size: 12.2vw; }
  .hero__rule--1 { margin-top: 64px; }
  .hero__rule--2 { margin-top: 72px; }
  .hero__row { flex-wrap: wrap; align-items: flex-start; }

  .section--p40 { --py: 40px; }
  .section--p120 { --py: 96px; }
  .section--p160 { --py: 120px; }
  .split { flex-direction: column; gap: 32px; }
  .split__label { flex: none; }
  .split__body { width: 100%; }

  .positioning .quote { font-size: 48px; }
  .engagement h2 { font-size: 38px; }
  .risk h2 { font-size: 38px; }
  .risk .process__title { flex-basis: 260px; font-size: 24px; }
  .risk__close { font-size: 24px; }
  .process__num { flex-basis: 56px; }
  .process__title { flex-basis: 220px; font-size: 26px; }
  .rows--statements > li { font-size: 28px; padding: 26px 0; }
  .invite { padding-top: 64px; }
  .invite p { font-size: 24px; }

  .founder .split { gap: 48px; align-items: flex-start; }
  .founder__photo { flex: none; width: min(100%, 520px); }
  .founder__text { flex: none; width: 100%; }
  .cols3 { gap: 24px; }
  .cols3 > * { flex: 1 1 0; min-width: 0; }
  .cols3 h3, .cols3 h2 { font-size: 24px; }

  .apply { padding-top: 120px; padding-bottom: 120px; }
  .apply h2 { font-size: 64px; }
  .apply__row { flex-wrap: wrap; align-items: flex-start; }
  .faq summary { font-size: 22px; padding: 26px 0; }

  .page-hero { padding-top: 96px; }
  .page-hero h1 { font-size: 10vw; }
  .legal { padding-top: 96px; }
}

/* Mobile ------------------------------------------------------------------- */
@media (max-width: 699px) {
  :root { --pad-x: 24px; }

  .site-header { padding-top: 28px; }
  .site-header__bar { height: 20px; }
  .logo { line-height: 1.18; }
  .menu-toggle { padding: 12px 0 12px 16px; margin: -12px 0; line-height: 1; }
  .nav { top: calc(100% + 20px); }

  .hero { padding-top: 96px; padding-bottom: 56px; }
  .type-band { padding-top: 64px; padding-bottom: 72px; }
  .type-band__inner { gap: 24px; }
  .type-band__line { font-size: 38px; letter-spacing: -0.04em; }
  .type-band__line span { display: block; }
  .hero__eyebrow { margin-bottom: 24px; }
  .hero__eyebrow .hide-sm { display: none; }
  .hero h1 { font-size: 46px; letter-spacing: -0.04em; }
  .hero__rule--1 { margin-top: 48px; }
  .hero__rule--2 { margin-top: 56px; }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 28px; }
  .hero__row p { font-size: 17px; width: 342px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; gap: 20px; }
  .btn { padding: 20px 24px; font-size: 15px; }
  .btn .arrow { font-size: 16px; }
  .link-cta { font-size: 15px; }
  .hero__meta { padding-top: 20px; }
  .hero__meta .dot { margin: 0 1ch; }
  .hero__meta .sep { display: none; }
  .hero__meta .l { display: block; }

  .section__inner { padding-top: 36px; }
  .section--p40 { --py: 24px; }
  .section--p120 { --py: 72px; }
  .section--p160 { --py: 88px; }
  .split { gap: 32px; }

  .positioning .quote { font-size: 34px; letter-spacing: 0; }
  .positioning .quote-sub { width: 342px; font-size: 16px; }
  .engagement h2 { font-size: 30px; letter-spacing: 0; }
  .risk h2 { font-size: 30px; letter-spacing: 0; }
  .risk__intro { margin-top: 16px; font-size: 17px; }
  .risk__list { margin-top: 32px; }
  .risk .process__title { flex-basis: auto; padding-right: 0; font-size: 22px; }
  .risk__close { margin-top: 32px; font-size: 20px; }
  .process > li { flex-direction: column; gap: 8px; padding: 24px 0; }
  .process__num { flex: none; width: 40px; }
  .process__title { flex: none; font-size: 24px; width: auto; }
  .process__text { font-size: 16px; }
  .invite { padding: 56px var(--pad-x) 16px; }
  .invite__inner { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 28px; }
  .invite p { font-size: 20px; }
  .rows--statements > li { font-size: 22px; padding: 22px 0; letter-spacing: -0.005em; }

  .founder .split { gap: 40px; }
  .founder__photo { width: 100%; }
  .founder__copy p { font-size: 18px; letter-spacing: -0.01em; }
  .founder__sig span:last-child { font-size: 10px; letter-spacing: .16em; }
  .founder__sig .accent-rule { height: 2px; background: var(--orange); }
  .cols3 { flex-direction: column; gap: 32px; }
  .cols3 > * { flex: none; }
  .cols3 h3, .cols3 h2 { font-size: 24px; }

  .apply { padding: 88px var(--pad-x); gap: 36px; }
  .apply h2 { font-size: 38px; letter-spacing: -0.045em; }
  .apply__row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .apply__row p { font-size: 16px; width: 342px; }
  .faq summary { font-size: 19px; padding: 24px 0; }
  .faq summary::after { font-size: 22px; line-height: normal; }
  .faq .answer { font-size: 16px; }
  .contact .v { font-size: 15px; word-break: break-word; }

  .site-footer { padding-bottom: 48px; }
  .site-footer__row { flex-direction: column; align-items: flex-start; gap: 24px; }

  .page-hero { padding-top: 72px; padding-bottom: 48px; }
  .page-hero h1 { font-size: 44px; letter-spacing: -0.04em; }
  .page-hero .lede { margin-top: 32px; font-size: 17px; }
  .page-hero--center { padding-bottom: 96px; }
  .legal { padding-top: 64px; padding-bottom: 96px; }
  .legal h1 { font-size: 38px; }
  .legal h2 { font-size: 23px; margin-top: 44px; }
  .legal p, .legal li { font-size: 16px; }
  .legal .toc ol { columns: 1; }
  .video-section { padding-top: 40px; }
}

/* 9. Retell chat widget (only exists on pages where build.py injects it) ---- */
/* The widget mounts #retell-widget-root (a fixed host) and its own shadow-DOM styles place the
   launcher AND the opened chat window with position: fixed (on phones: left 50%, bottom 92px,
   width min(92vw, 360px), translateX(-50%)). Those fixed offsets are only relative to the viewport
   if NO ancestor has a transform / filter / contain / will-change. An earlier rule here put
   `transform: scale(.88)` on the host, which made the host the containing block for the window:
   "left: 50%" then resolved against a 0x0 box at the bottom-right corner, so the opened panel sat
   centred on the right screen edge and half of it was off-screen. Never transform the host.
   The widget's own phone layout (<= 600px) already fits the viewport (width min(92vw, 360px),
   height capped with 100dvh minus safe areas), so we only keep it a plain fixed element,
   keep the footer text clear of the launcher, and hide the launcher while the nav menu is open. */
#retell-widget-root { transform: none !important; filter: none !important; perspective: none !important;
  contain: none !important; will-change: auto !important; backdrop-filter: none !important; }
@media (max-width: 1099px) {
  body:has(#retell-widget-root) .site-footer { padding-bottom: 104px; }
  body:has(.menu-toggle[aria-expanded="true"]) #retell-widget-root { display: none !important; }
}

/* 10. Sample client portal (home) --------------------------------------------
   Built in HTML/CSS, framed as a quiet app window. Sample data, operational metrics only. */
.dashboard h2 { font-size: 44px; font-weight: 300; line-height: 1.15; letter-spacing: -0.045em; color: var(--ink); max-width: 16em; }
.dash {
  --d-panel: #fbfaf7; --d-chrome: #ece8e0;
  margin: 48px 0 0; background: var(--d-panel); border: 1px solid var(--hair);
  box-shadow: 0 1px 0 rgba(33,24,14,.04), 0 28px 56px -32px rgba(33,24,14,.28);
  font-feature-settings: "tnum" 1; font-variant-numeric: tabular-nums;
}
.dash__k, .dash__d, .dash__chrome-t, .dash__tag, .dash__axis, .dash__y, .dash__legend, .dash__count,
.dash__table th, .dash__table .o, .dash__chip, .dash__alert-s, .dash__range, .dash__sync, .dash__note, .dash__brand, .dash__side li {
  font-family: var(--font-mono); font-weight: 300; line-height: normal;
}
.dash__chrome { display: flex; align-items: center; gap: 16px; padding: 12px 18px; background: var(--d-chrome); border-bottom: 1px solid var(--hair); }
.dash__dots { display: inline-flex; gap: 7px; }
.dash__dots i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #c4bcae; background: transparent; }
.dash__chrome-t { font-size: 10px; letter-spacing: .16em; color: var(--tan); }
.dash__tag { margin-left: auto; font-size: 10px; letter-spacing: .12em; color: var(--ink); border: 1px solid var(--orange); background: var(--d-panel); padding: 5px 10px; white-space: nowrap; }

.dash__app { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.dash__side { background: var(--bg); border-right: 1px solid var(--hair); padding: 22px 0 28px; }
.dash__brand { display: flex; align-items: center; gap: 10px; padding: 0 22px 22px; font-size: 11px; letter-spacing: .08em; color: var(--ink); }
.dash__brand-mark { width: 10px; height: 10px; background: var(--orange); border-radius: 2px; }
.dash__side li { padding: 11px 22px; font-size: 12px; letter-spacing: .04em; color: var(--muted); border-left: 2px solid transparent; }
.dash__side li.is-active { color: var(--ink); background: var(--d-panel); border-left-color: var(--orange); }

.dash__main { padding: 0 28px 28px; min-width: 0; }
.dash__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.dash__store { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
.dash__ctl { display: flex; align-items: center; gap: 20px; }
.dash__range { font-size: 11px; letter-spacing: .04em; color: var(--ink); border: 1px solid var(--hair); background: var(--bg); padding: 7px 12px; display: inline-flex; align-items: center; gap: 10px; }
.dash__range::after { content: ""; width: 5px; height: 5px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(45deg) translateY(-2px); }
.dash__sync { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.dash__led { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; display: inline-block; }

.dash__kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 24px; border: 1px solid var(--hair); background: var(--bg); }
.dash__kpi { display: flex; flex-direction: column; gap: 9px; padding: 18px 18px 16px; border-right: 1px solid var(--hair); min-width: 0; }
.dash__kpi:last-child { border-right: 0; }
.dash__k { font-size: 10px; letter-spacing: .14em; color: var(--tan); }
.dash__v { font-size: 30px; font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; color: var(--ink); }
.dash__v--status { display: flex; align-items: center; gap: 10px; }
.dash__v--status .dash__led { width: 9px; height: 9px; }
.dash__d { font-size: 10.5px; letter-spacing: .02em; line-height: 1.45; color: var(--muted); }

.dash__row { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.dash__panel { border: 1px solid var(--hair); background: var(--d-panel); min-width: 0; }
.dash__ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--hair); }
.dash__legend { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .04em; color: var(--muted); }
.dash__legend .lg { width: 8px; height: 8px; display: inline-block; }
.dash__legend .lg--wk { background: var(--ink); opacity: .8; }
.dash__legend .lg--we { background: #bdb59f; margin-left: 8px; }
.dash__count { font-size: 10px; letter-spacing: .08em; color: var(--ink); border: 1px solid var(--orange); padding: 2px 8px; }

.dash__plot { display: flex; gap: 10px; padding: 20px 18px 0; height: 214px; }
.dash__y { display: flex; flex-direction: column; justify-content: space-between; font-size: 10px; color: var(--tan); text-align: right; width: 22px; flex: none; margin: -6px 0 -6px; }
.dash__area { position: relative; flex: 1 1 0; min-width: 0; height: 100%; padding-bottom: 0;
  background: repeating-linear-gradient(to bottom, var(--hair) 0, var(--hair) 1px, transparent 1px, transparent calc(100% / 3)) ; background-size: 100% calc(100% - 1px); background-repeat: no-repeat; border-bottom: 1px solid #b9b1a0; }
.dash__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dash__bar { fill: var(--ink); fill-opacity: .8; }
.dash__bar--wknd { fill: #bdb59f; fill-opacity: 1; }
.dash__bar--last { fill: var(--orange); fill-opacity: 1; }
.dash__axis { display: flex; justify-content: space-between; padding: 10px 18px 16px 50px; font-size: 10px; letter-spacing: .08em; color: var(--tan); }

.dash__alerts ul { padding: 4px 18px 8px; }
.dash__alerts li { display: flex; flex-direction: column; gap: 5px; padding: 14px 0 14px 16px; border-bottom: 1px solid var(--hair); position: relative; }
.dash__alerts li:last-child { border-bottom: 0; }
.dash__alerts li::before { content: ""; position: absolute; left: 0; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.dash__alert-t { font-size: 14px; font-weight: 400; line-height: 1.3; color: var(--ink); }
.dash__alert-s { font-size: 10.5px; letter-spacing: .02em; line-height: 1.5; color: var(--muted); }
.dash__alert-s b { font-weight: 300; color: var(--ink); }

.dash__orders { margin-top: 20px; }
.dash__tablewrap { overflow-x: auto; }
.dash__table { width: 100%; border-collapse: collapse; }
.dash__table th { text-align: left; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--tan); padding: 12px 18px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.dash__table td { padding: 14px 18px; border-bottom: 1px solid var(--hair); font-size: 14px; color: var(--ink); vertical-align: middle; }
.dash__table tbody tr:last-child td { border-bottom: 0; }
.dash__table .o { font-size: 12px; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.dash__table .q { text-align: left; width: 56px; }
.dash__table .d { white-space: nowrap; color: var(--muted); font-size: 13px; }
.dash__table .dq { display: none; }
.dash__chip { display: inline-block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--hair); color: var(--ink); white-space: nowrap; }
.dash__chip--shipped { border-color: var(--ink); }
.dash__chip--delivered { background: var(--bg); color: var(--muted); }
.dash__chip--processing { border-color: var(--orange); }
.dash__note { margin-top: 20px; font-size: 11px; letter-spacing: .04em; color: var(--tan); }

@media (max-width: 1099px) {
  .dashboard h2 { font-size: 38px; }
  .dash { margin-top: 40px; }
  .dash__app { grid-template-columns: minmax(0, 1fr); }
  .dash__side { display: none; }
  .dash__main { padding: 0 24px 24px; }
  .dash__kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dash__kpi { grid-column: span 2; border-bottom: 1px solid var(--hair); }
  .dash__kpi:nth-child(3) { border-right: 0; }
  .dash__kpi:nth-child(n+4) { grid-column: span 3; border-bottom: 0; }
  .dash__kpi:nth-child(4) { border-right: 1px solid var(--hair); }
  .dash__row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 699px) {
  .dashboard h2 { font-size: 30px; letter-spacing: 0; }
  .dash { margin-top: 32px; }
  .dash__chrome { justify-content: center; padding: 11px 12px; }
  .dash__dots, .dash__chrome-t { display: none; }
  .dash__tag { margin-left: 0; font-size: 9.5px; letter-spacing: .08em; padding: 5px 8px; }
  .dash__main { padding: 0 14px 16px; }
  .dash__top { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 0; }
  .dash__store { font-size: 18px; }
  .dash__ctl { gap: 14px; flex-wrap: wrap; }
  .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
  .dash__kpi, .dash__kpi:nth-child(n+4) { grid-column: auto; padding: 14px 14px 13px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
  .dash__kpi:nth-child(2n) { border-right: 0; }
  .dash__kpi:nth-child(5) { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .dash__v { font-size: 26px; }
  .dash__d { font-size: 10px; }
  .dash__row, .dash__orders { margin-top: 14px; gap: 14px; }
  .dash__ph { padding: 12px 14px; }
  .dash__plot { padding: 16px 14px 0; height: 170px; gap: 8px; }
  .dash__axis { padding: 8px 14px 12px 44px; }
  .dash__alerts ul { padding: 2px 14px 6px; }
  /* orders table collapses into stacked rows */
  .dash__table thead { display: none; }
  .dash__table, .dash__table tbody { display: block; }
  .dash__table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "item item" "order status" "qty date"; gap: 6px 12px; padding: 14px; border-bottom: 1px solid var(--hair); }
  .dash__table tbody tr:last-child { border-bottom: 0; }
  .dash__table td { display: block; padding: 0; border: 0; }
  .dash__table .i { grid-area: item; font-size: 15px; font-weight: 400; line-height: 1.3; }
  .dash__table .o { grid-area: order; align-self: center; }
  .dash__table .s { grid-area: status; justify-self: end; }
  .dash__table .q { grid-area: qty; width: auto; font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
  .dash__table .q::before { content: "Qty "; }
  .dash__table .d { grid-area: date; justify-self: end; font-size: 12px; font-family: var(--font-mono); }
  .dash__table .d::before { content: "Ship date "; }
}

/* Small phones (< 600px): compact version of the portal so the section stays short */
@media (max-width: 599px) {
  .dashboard.section { --py: 32px; }
  .dashboard .section__inner { padding-top: 24px; }
  .dashboard .split { gap: 12px; }
  .dashboard h2 { font-size: 24px; line-height: 1.15; }
  .dash { margin-top: 20px; }
  .dash__chrome { padding: 8px 10px; }
  .dash__tag { font-size: 9px; padding: 4px 8px; }
  .dash__main { padding: 0 12px 12px; }
  .dash__top { gap: 8px; padding: 10px 0; }
  .dash__store { font-size: 16px; }
  .dash__ctl { gap: 12px; }
  .dash__range { font-size: 10px; padding: 5px 9px; }
  .dash__sync { font-size: 10px; }
  .dash__kpis { margin-top: 12px; }
  .dash__kpi--sku { display: none; }
  .dash__kpi, .dash__kpi:nth-child(n+4), .dash__kpi:nth-child(5) {
    grid-column: auto; padding: 9px 12px 8px; gap: 4px;
    border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  }
  .dash__kpi:nth-child(2), .dash__kpi:nth-child(5) { border-right: 0; }
  .dash__kpi:nth-child(4), .dash__kpi:nth-child(5) { border-bottom: 0; }
  .dash__k { font-size: 9px; letter-spacing: .1em; }
  .dash__v { font-size: 22px; }
  .dash__v--status .dash__led { width: 8px; height: 8px; }
  .dash__d { font-size: 9.5px; line-height: 1.3; }
  .dash__row, .dash__orders { margin-top: 12px; }
  .dash__alerts { display: none; }
  .dash__ph { padding: 9px 12px; }
  .dash__legend { font-size: 9px; }
  .dash__plot { height: 140px; padding: 12px 12px 0; gap: 6px; }
  .dash__y { font-size: 9px; width: 18px; }
  .dash__axis { padding: 6px 12px 9px 36px; font-size: 9px; }
  /* orders: 3 most recent, item + status on one line, order # and qty/date beneath */
  .dash__more { display: none !important; }
  .dash__table .q { display: none; }
  .dash__table .dq { display: inline; }
  .dash__table tr { grid-template-areas: "item status" "order date"; gap: 3px 8px; padding: 9px 12px; align-items: center; }
  .dash__table .i { font-size: 12.5px; line-height: 1.25; letter-spacing: -0.01em; }
  .dash__table .o, .dash__table .d { font-size: 10.5px; letter-spacing: 0; }
  .dash__table .d::before { content: none; }
  .dash__chip { font-size: 9px; padding: 3px 6px; letter-spacing: .06em; }
  .dash__note { margin-top: 12px; font-size: 10px; line-height: 1.5; }
}

/* Motion (vanilla JS adds .dash--prep / .dash--live; with JS off nothing here applies and final values show) */
.dash__sync .dash__led { position: relative; }
.dash__sync-t { display: inline-grid; }
.dash__sync-t > span { grid-area: 1 / 1; transition: opacity .4s ease, transform .4s ease; }
.dash__sync-b { opacity: 0; transform: translateY(3px); }
.dash__sync.is-fresh .dash__sync-a { opacity: 0; transform: translateY(-3px); }
.dash__sync.is-fresh .dash__sync-b { opacity: 1; transform: none; }
.dash--live .dash__sync .dash__led::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--orange); opacity: 0; animation: dash-pulse 2.8s ease-out infinite; }
.dash--paused .dash__sync .dash__led::after { animation-play-state: paused; }
@keyframes dash-pulse { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.dash--prep .dash__bar { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; }
.dash--live .dash__bar { transform: scaleY(1); transform-box: fill-box; transform-origin: 50% 100%; transition: transform .56s cubic-bezier(.16, .8, .3, 1) var(--bd, 0ms); }
.dash__v { font-variant-numeric: tabular-nums; transition: color 1s ease; }
.dash__v.is-tick { color: var(--orange); transition-duration: .15s; }
.dash--frozen .dash__table .i { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash__new { animation: dash-row-bg 2.4s ease-out both; }
.dash__new > td { animation: dash-row-in .55s ease-out both; }
@keyframes dash-row-bg { from { background: rgba(255, 115, 92, .13); } to { background: rgba(255, 115, 92, 0); } }
@keyframes dash-row-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 599px) {
  .dash__table .i { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .dash__sync .dash__led::after, .dash__new, .dash__new > td { animation: none !important; }
  .dash__bar { transition: none !important; }
}

/* 11. Get started — Meta ad landing page (scoped to .page-get-started) --------
   Minimal header, compact headline, form as the centrepiece. */
.site-header--min .site-header__bar { position: static; }
.page-get-started .site-header { padding-top: 28px; }
.nav-min a {
  font-family: var(--font-mono); font-weight: 300; font-size: 11px; line-height: normal;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
  border-bottom: 1px solid transparent; padding: 10px 0;
}
.nav-min a:hover { border-bottom-color: var(--orange); }
.nav-min__k { color: var(--muted); margin-right: 10px; }

.page-get-started .page-hero { padding-top: 40px; padding-bottom: 32px; }
.page-get-started .page-hero .accent-rule { margin-bottom: 16px; }
.page-get-started .gs-eyebrow { display: block; margin-bottom: 18px; }
.page-get-started .page-hero h1 {
  font-size: min(64px, 4.5vw); line-height: 1.02; letter-spacing: -0.05em; max-width: 16em;
  text-wrap: balance;
}
.page-get-started .page-hero h1 span { text-wrap: balance; }
.page-get-started .page-hero .lede { margin-top: 20px; width: 720px; font-size: 19px; }
.page-get-started .gs-apply .section__inner { padding-top: 32px; }

.gs-apply { --py: 0px; padding-bottom: 40px; }
.gs-apply__grid {
  display: grid; grid-template-columns: var(--label-w) minmax(0, 1fr);
  grid-template-areas: "trust form" "video form";
  grid-template-rows: auto auto 1fr; column-gap: 0; align-items: start;
}
.gs-apply__form { grid-area: form; min-width: 0; }
.gs-trust { grid-area: trust; margin: 0 48px 0 0; border-top: 1px solid var(--hair); }
.gs-trust li { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.gs-trust__t { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.gs-trust__d { font-size: 15px; line-height: 1.55; color: var(--muted); }
.gs-disclaimer {
  margin-top: 28px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  line-height: 1.8; color: var(--muted);
}
.gs-fine { max-width: calc(var(--max) - 2 * var(--pad-x)); margin: 56px auto 0; }

/* Client video testimonial (vertical card, 9:16 crop) */
.gs-video { grid-area: video; margin: 40px 0 0; width: 288px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.gs-video__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; line-height: normal; color: var(--tan); }
.gs-video__frame { background: var(--dark); border: 1px solid var(--hair); aspect-ratio: 9 / 16; overflow: hidden; }
.gs-video video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; background: var(--dark); }
.gs-video__cap { display: flex; flex-direction: column; gap: 4px; }
.gs-video__name { font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.gs-video__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; line-height: 1.6; color: var(--muted); }

@media (max-width: 1099px) {
  .page-get-started .page-hero { padding-top: 36px; padding-bottom: 32px; }
  .page-get-started .page-hero h1 { font-size: 7.4vw; }
  .page-get-started .gs-apply .section__inner { padding-top: 32px; }
  .gs-apply { padding-bottom: 24px; }
  .gs-apply__grid {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "video" "form" "trust";
    grid-template-rows: auto; row-gap: 32px;
  }
  .gs-trust { margin: 8px 0 0; max-width: 760px; }
  .gs-video { margin: 0; width: 300px; }
}
@media (max-width: 699px) {
  .nav-min a { font-size: 10px; letter-spacing: .12em; }
  .nav-min__k { display: none; }
  .page-get-started .site-header { padding-top: 24px; }
  .page-get-started .page-hero { padding-top: 32px; padding-bottom: 24px; }
  .page-get-started .gs-eyebrow { margin-bottom: 16px; }
  .page-get-started .gs-eyebrow .hide-sm { display: none; }
  .page-get-started .page-hero h1 { font-size: 37px; line-height: 1.05; letter-spacing: -0.04em; }
  .page-get-started .page-hero .lede { margin-top: 20px; font-size: 16px; line-height: 1.6; }
  .page-get-started .gs-apply .section__inner { padding-top: 28px; }
  .gs-apply { padding-bottom: 8px; }
  .gs-apply__grid { row-gap: 24px; }
  .form-wrap { padding: 4px; }
  .gs-trust__t { font-size: 18px; }
  .gs-video { width: min(100%, 340px); margin: 0 auto; align-items: stretch; gap: 12px; }
  .gs-video__label { text-align: center; }
  .gs-video__cap { align-items: center; text-align: center; }
  .gs-fine { margin-top: 40px; }
}

/* 12. Home — scroll motion & ambient polish (scoped to .page-home) --------------
   Only transform + opacity animate. Everything below the media query is gated:
   - no "js" class on <html>  -> nothing is hidden (content always visible)
   - prefers-reduced-motion   -> nothing animates, nothing is hidden
   - main.js never loaded (3 s watchdog in <head>) -> the "js" class is removed again, so all of this stops applying
   The #dashboard section is intentionally not part of the reveal list. */
.page-home .hero { position: relative; overflow: hidden; overflow: clip; }
.page-home .hero__inner { position: relative; z-index: 1; }
.hero__bg { position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 52%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 52%, transparent 100%); }
.hero__bg i { position: absolute; border-radius: 50%; will-change: transform; }
.hero__bg i:nth-child(1) { width: 62vw; height: 62vw; max-width: 940px; max-height: 940px; right: -14vw; top: -22vw;
  background: radial-gradient(closest-side, rgba(255, 115, 92, .14), rgba(255, 115, 92, 0) 100%); }
.hero__bg i:nth-child(2) { width: 54vw; height: 54vw; max-width: 820px; max-height: 820px; left: -18vw; top: 6vw;
  background: radial-gradient(closest-side, rgba(138, 131, 104, .13), rgba(138, 131, 104, 0) 100%); }

@media (prefers-reduced-motion: no-preference) {
  :root { --ease-out: cubic-bezier(.2, .7, .2, 1); }

  /* ambient drift (very slow) */
  .hero__bg i:nth-child(1) { animation: amb-a 46s ease-in-out infinite alternate; }
  .hero__bg i:nth-child(2) { animation: amb-b 58s ease-in-out infinite alternate; }
  @keyframes amb-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-5vw, 4vw, 0) scale(1.12); } }
  @keyframes amb-b { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(6vw, -3vw, 0) scale(.94); } }
  .hero__bg { transform: translate3d(0, var(--hero-py, 0px), 0); will-change: transform; }
  .amb-off .hero__bg i, .amb-off.apply::before, .amb-off.apply::after { animation-play-state: paused; }

  .section--orange.apply { position: relative; overflow: hidden; overflow: clip; }
  .apply > * { position: relative; z-index: 1; }
  .apply::before { content: ""; position: absolute; z-index: 0; pointer-events: none; will-change: transform;
    width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; right: -12vw; top: -30vw; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .17), rgba(255, 255, 255, 0) 100%);
    animation: amb-a 52s ease-in-out infinite alternate; }

  /* hero entrance — pure CSS so it never waits on JS; plays once */
  .js .hero__inner > * { animation: rv-up .9s var(--ease-out) backwards; }
  .js .hero__inner > :nth-child(1) { animation-delay: .05s; }
  .js .hero__inner > :nth-child(2) { animation-delay: .12s; }
  .js .hero__inner > :nth-child(3) { animation-delay: .22s; }
  .js .hero__inner > :nth-child(4) { animation-delay: .38s; }
  .js .hero__inner > :nth-child(5) { animation-delay: .46s; }
  .js .hero__inner > :nth-child(6) { animation-delay: .54s; }
  .js .hero__inner > :nth-child(7) { animation-delay: .62s; }
  @keyframes rv-up { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }

  /* scroll reveal: main.js adds .rv-in when an element nears the viewport, .rv-done afterwards */
  .js .page-home :is(
    .type-band__label, .type-band__line,
    .positioning .split__label, .positioning .quote, .positioning .quote-sub,
    .proof .split__label, .proof__media, .proof .accent-rule, .proof__quote, .proof__cap,
    .engagement .split__label, .engagement h2, .engagement .process > li, .engagement .note,
    .invite__inner > *,
    .standards .split__label, .standards .rows > li,
    .protections .split__label, .protections .rows > li,
    .founder__photo, .founder__text > .split__label, .founder__copy > *,
    .after-apply .split__label, .after-apply .cols3 > li,
    .apply > .label, .apply h2, .apply__row, .apply .fine,
    .risk .split__label, .risk h2, .risk__intro, .risk__media, .risk .process > li, .risk__close,
    .questions .split__label, .questions .faq details,
    .contact .split__label, .contact .group, .contact .small
  ):not(.rv-done) {
    transition: opacity .9s var(--ease-out) var(--rv-d, 0s), transform .9s var(--ease-out) var(--rv-d, 0s);
  }
  .js .page-home :is(
    .type-band__label, .type-band__line,
    .positioning .split__label, .positioning .quote, .positioning .quote-sub,
    .proof .split__label, .proof__media, .proof .accent-rule, .proof__quote, .proof__cap,
    .engagement .split__label, .engagement h2, .engagement .process > li, .engagement .note,
    .invite__inner > *,
    .standards .split__label, .standards .rows > li,
    .protections .split__label, .protections .rows > li,
    .founder__photo, .founder__text > .split__label, .founder__copy > *,
    .after-apply .split__label, .after-apply .cols3 > li,
    .apply > .label, .apply h2, .apply__row, .apply .fine,
    .risk .split__label, .risk h2, .risk__intro, .risk__media, .risk .process > li, .risk__close,
    .questions .split__label, .questions .faq details,
    .contact .split__label, .contact .group, .contact .small
  ):not(.rv-in) { opacity: 0; transform: translate3d(0, 18px, 0); }

  /* hairlines draw in from the left */
  .js .page-home :is(.type-band__rule, .apply .rule):not(.rv-done) { transition: transform 1.3s var(--ease-out) var(--rv-d, 0s); }
  .js .page-home :is(.type-band__rule, .apply .rule):not(.rv-in) { transform: scaleX(0); }
  .page-home :is(.type-band__rule, .apply .rule) { transform-origin: 0 50%; }
}

/* Home — client testimonial (poster -> video on click) ------------------------- */
.proof { background: var(--dark); color: var(--bg); padding: 120px var(--pad-x); }
.proof__inner { max-width: calc(var(--max) - 2 * var(--pad-x)); margin: 0 auto; border-top: 1px solid var(--dark-hair); padding-top: 56px; }
.proof .split__label .name { color: var(--dark-muted); }
.proof__grid { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 72px; align-items: center; }
.proof__media { position: relative; aspect-ratio: 9 / 16; background: #000; overflow: hidden; border: 1px solid var(--dark-hair); }
.proof__play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.proof__play:focus-visible { outline: 2px solid var(--orange); outline-offset: -6px; }
.proof__play img, .proof__media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; background: #000; }
.proof__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(22, 16, 10, .78) 0%, rgba(22, 16, 10, .22) 42%, rgba(22, 16, 10, .10) 62%, rgba(22, 16, 10, .34) 100%); }
.proof__icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(244, 242, 237, .6); background: rgba(22, 16, 10, .34);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.proof__icon svg { display: block; margin-left: 3px; }
.proof__tag { position: absolute; left: 20px; bottom: 18px; font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: .16em; line-height: 1; color: rgba(244, 242, 237, .86); }
.proof__tag i { display: inline-block; width: 3px; height: 3px; margin: 0 .9em; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: .7; }
.proof__body { margin: 0; min-width: 0; }
.proof__quote { margin: 32px 0 0; font-weight: 300; font-size: 48px; line-height: 1.12; letter-spacing: -0.045em; color: var(--bg); max-width: 560px; }
.proof__cap { margin-top: 36px; display: flex; flex-direction: column; gap: 6px; }
.proof__name { font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; color: var(--bg); }
.proof__meta { font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: .06em; line-height: 1.6; color: var(--dark-muted); }
.proof__meta .dot { margin: 0 1.2ch; }
@media (prefers-reduced-motion: no-preference) {
  .proof__play img { transition: transform 1.1s var(--ease-out, ease); }
  .proof__icon { transition: background-color .35s, border-color .35s, transform .45s var(--ease-out, ease); }
}
@media (hover: hover) and (pointer: fine) {
  .proof__play:hover .proof__icon { background: rgba(255, 115, 92, .92); border-color: var(--orange); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .proof__play:hover img { transform: scale(1.025); }
  .proof__play:hover .proof__icon { transform: scale(1.06); }
}
@media (max-width: 1099px) {
  .proof { padding-top: 96px; padding-bottom: 96px; }
  .proof__grid { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; }
  .proof__quote { font-size: 38px; }
}
@media (max-width: 699px) {
  .proof { padding: 64px var(--pad-x) 72px; }
  .proof__inner { padding-top: 36px; }
  .proof .split { flex-direction: column; gap: 20px; }
  .proof .split__label { flex: none; }
  .proof__grid { display: flex; flex-direction: column; gap: 32px; width: 100%; }
  .proof__body { order: -1; }
  .proof__quote { margin-top: 24px; font-size: 30px; letter-spacing: -0.04em; max-width: none; }
  .proof__cap { margin-top: 24px; }
  .proof__media { width: 100%; aspect-ratio: 3 / 4; }
  .proof__play img, .proof__media video { object-position: 50% 18%; }
  .proof__tag { left: 16px; bottom: 16px; }
}

/* thin scroll progress bar (element created by main.js on the home page only) */
.scroll-progress { position: fixed; left: 0; top: 0; width: 100%; height: 2px; z-index: 60; pointer-events: none;
  background: var(--orange); opacity: 0; transform: scaleX(0); transform-origin: 0 50%; transition: opacity .4s ease; }
.scroll-progress.is-on { opacity: .75; }
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }

/* hover polish — pointer devices only, transform / opacity / shadow only */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .page-home .btn { transition: filter .25s, transform .35s var(--ease-out, ease), box-shadow .35s var(--ease-out, ease); }
  .page-home .btn:hover { transform: translate3d(0, -2px, 0); box-shadow: 0 14px 26px -14px rgba(33, 24, 14, .45); }
  .page-home .btn:active { transform: translate3d(0, 0, 0); box-shadow: none; }
  .page-home .btn .arrow { display: inline-block; transition: transform .35s var(--ease-out, ease); }
  .page-home .btn:hover .arrow { transform: translate3d(4px, 0, 0); }

  .page-home .cols3 > li { position: relative; isolation: isolate; transition: transform .45s var(--ease-out, ease); }
  .page-home .cols3 > li::after { content: ""; position: absolute; z-index: -1; inset: -20px -20px -16px; background: #fbfaf7;
    box-shadow: 0 22px 44px -26px rgba(33, 24, 14, .34), 0 0 0 1px rgba(214, 207, 195, .6);
    opacity: 0; transition: opacity .45s var(--ease-out, ease); pointer-events: none; }
  .page-home .cols3 > li:hover { transform: translate3d(0, -4px, 0); }
  .page-home .cols3 > li:hover::after { opacity: 1; }
  .page-home .cols3 .card-rule { transition: background-color .35s; }
  .page-home .cols3 > li:hover .card-rule { background: var(--orange); }

  .page-home .process > li { transition: background-color .35s; }
  .page-home .process__title { transition: transform .45s var(--ease-out, ease); }
  .page-home .process > li:hover .process__title { transform: translate3d(6px, 0, 0); }
}

/* Home — mobile rhythm (<=699px only; nothing below applies on tablet/desktop) ------------------
   1. process + risk lists become swipe cards (CSS scroll-snap; ~85% cards so the next one peeks)
   2. a few sections get a dark / tinted band so the page isn't one long light column
   3. slim sticky "Request a private consultation" bar that leaves the Retell launcher (bottom-right) free */
.carousel-dots, .sticky-apply { display: none; }
@media (max-width: 699px) {
  /* 1 — carousels. The list bleeds to the screen edges (section padding = --pad-x) and scrolls inside itself. */
  .page-home :is(.engagement, .risk) .process {
    display: flex; align-items: stretch; gap: 12px;
    margin-left: calc(var(--pad-x) * -1); margin-right: calc(var(--pad-x) * -1);
    padding: 2px var(--pad-x);
    border-top: 0; list-style: none;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-left: var(--pad-x); scroll-padding-right: var(--pad-x);
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .page-home :is(.engagement, .risk) .process::-webkit-scrollbar { display: none; }
  .page-home :is(.engagement, .risk) .process:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
  .page-home :is(.engagement, .risk) .process > li {
    flex: 0 0 min(85%, 420px); min-width: 0; scroll-snap-align: start;
    display: flex; flex-direction: column; gap: 12px;
    padding: 28px 24px 32px;
    background: var(--bg-alt); border: 1px solid var(--hair);
  }
  .page-home :is(.engagement, .risk) .process > li::before { content: ""; display: block; width: 28px; height: 2px; background: var(--orange); margin-bottom: 8px; }
  .page-home .engagement .process__num { display: none; }
  .page-home :is(.engagement, .risk) .process__title { font-size: 24px; line-height: 1.2; font-weight: 300; letter-spacing: -0.02em; }
  .page-home :is(.engagement, .risk) .process__text { font-size: 16px; line-height: 1.6; max-width: none; }
  .page-home .engagement h2 { margin-bottom: 28px; }
  .page-home .engagement .note { margin-top: 24px; }
  .page-home .risk__list { margin-top: 28px; }

  .carousel-dots { display: flex; align-items: center; gap: 8px; margin-top: 20px; height: 8px; }
  .carousel-dots[hidden] { display: none; }
  .carousel-dots i { display: block; width: 6px; height: 6px; border-radius: 3px; background: var(--hair); }
  .carousel-dots i.is-active { width: 22px; background: var(--orange); }

  /* 2 — alternate bands. Proof (dark), apply (orange) and contact (dark) already exist. */
  .page-home .standards { background: var(--dark); color: var(--bg); }
  .page-home .standards .section__inner { border-top-color: var(--dark-hair); }
  .page-home .standards .split__label .name { color: var(--dark-muted); }
  .page-home .standards .rows { border-top-color: var(--dark-hair); }
  .page-home .standards .rows > li { color: var(--bg); border-bottom-color: var(--dark-hair); }
  .page-home .protections { background: #ebe8df; background: color-mix(in srgb, var(--bg) 86%, var(--tan) 14%); }
  .page-home .protections .section__inner { border-top-color: rgba(33, 24, 14, .16); }
  .page-home .protections .rows { border-top-color: rgba(33, 24, 14, .16); }
  .page-home .protections .rows > li { border-bottom-color: rgba(33, 24, 14, .16); }

  /* 3 — sticky bar. Dock-style pill on the left; the right ~188px stays free for the Retell launcher
     (fixed bottom-right, ~164px wide). With no launcher on the page the bar simply spans the width. */
  .sticky-apply {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    position: fixed; z-index: 70;
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    min-height: 48px; padding: 8px 16px;
    background: var(--orange); color: var(--dark);
    font-size: 14px; line-height: 1.2; letter-spacing: -0.005em;
    box-shadow: 0 10px 24px -12px rgba(33, 24, 14, .55);
    -webkit-tap-highlight-color: transparent;
    visibility: hidden; opacity: 0; transform: translate3d(0, 14px, 0);
  }
  body:has(#retell-widget-root) .sticky-apply { right: calc(max(12px, env(safe-area-inset-right, 0px)) + 176px); }
  .sticky-apply { max-width: 340px; }
  .sticky-apply .arrow { flex: none; font-size: 16px; }
  .sticky-apply:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }
  .sticky-apply.is-on { visibility: visible; opacity: 1; transform: none; }
  body:has(.menu-toggle[aria-expanded="true"]) .sticky-apply { visibility: hidden; opacity: 0; }
}
@media (max-width: 699px) and (prefers-reduced-motion: no-preference) {
  .sticky-apply { transition: opacity .3s ease, transform .4s var(--ease-out, ease), visibility 0s linear .4s; }
  .sticky-apply.is-on { transition: opacity .3s ease, transform .4s var(--ease-out, ease), visibility 0s; }
  .carousel-dots i { transition: width .3s var(--ease-out, ease), background-color .3s ease; }
  /* scroll reveal: the carousel list fades up as one (cards that sit off-screen to the right must never wait for a reveal) */
  .js .page-home :is(.engagement, .risk) .process:not(.rv-done) { transition: opacity .9s var(--ease-out) var(--rv-d, 0s), transform .9s var(--ease-out) var(--rv-d, 0s); }
  .js .page-home :is(.engagement, .risk) .process:not(.rv-in) { opacity: 0; transform: translate3d(0, 18px, 0); }
  .js .page-home :is(.engagement, .risk) .process > li { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media (max-width: 699px) and (max-width: 359px) {
  .sticky-apply { font-size: 13px; padding: 8px 12px; }
}

/* ==========================================================================
   Home hero with muted background video (.hero--video)
   Self-contained: remove the .hero--video class from the section (and this
   block) to return to the original light hero.
   ========================================================================== */
.page-home { --hdr: 64px; }
.page-home .hero--video { --veil: 18, 12, 7; background: #16100a; color: var(--bg); padding-top: calc(180px + var(--hdr)); }

/* header floats over the video (light type) */
.page-home .site-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.page-home .logo, .page-home .menu-toggle { color: var(--bg); }

/* media layers: poster colour/image -> video -> veil */
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: #16100a url("/assets/hero/hero-poster.jpg") center / cover no-repeat; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%;
  opacity: 0; transition: opacity 1.4s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__veil { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--veil), .76) 0%, rgba(var(--veil), .56) 46%, rgba(var(--veil), .32) 100%),
    linear-gradient(180deg, rgba(var(--veil), .66) 0%, rgba(var(--veil), .20) 26%, rgba(var(--veil), .06) 34%, rgba(var(--veil), .06) 58%, rgba(var(--veil), .70) 100%); }

/* glow drift stays, as a faint warm bloom above the veil */
.page-home .hero--video .hero__bg { z-index: 1; mix-blend-mode: screen; opacity: .7; }
.page-home .hero--video .hero__inner { z-index: 2; }

/* light type over video; brand orange accents unchanged */
.hero--video .eyebrow { color: #e9e2d1; }
.hero--video h1 { color: #f6f3ec; }
.hero--video h1 span { color: #cdc4ad; }
.hero--video .hero__rule { background: rgba(244, 242, 237, .22); }
.hero--video .hero__row p { color: #e2dbcc; }
.hero--video .link-cta { color: #f6f3ec; }
.hero--video .hero__meta { color: #cfc6b4; }
.hero--video .hero__row p, .hero--video h1, .hero--video .eyebrow, .hero--video .hero__meta { text-shadow: 0 1px 24px rgba(var(--veil), .35); }

@media (min-width: 1100px) {
  .page-home .nav a:not(.nav__cta) { color: #cfc6b4; }
  .page-home .nav a:not(.nav__cta):hover { color: var(--bg); }
  .page-home .nav__cta { color: var(--bg); }
}
@media (max-width: 1099px) {
  .page-home { --hdr: 70px; }
  .page-home .hero--video { padding-top: calc(120px + var(--hdr)); }
}
@media (max-width: 699px) {
  .page-home { --hdr: 48px; }
  .page-home .hero--video { padding-top: calc(96px + var(--hdr)); }
  .hero__media { background-image: url("/assets/hero/hero-mobile-poster.jpg"); }
  .hero__video { object-position: 50% 50%; }
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(var(--veil), .70) 0%, rgba(var(--veil), .52) 40%, rgba(var(--veil), .78) 100%); }
}
/* reduced motion: poster only, no glow drift */
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .page-home .hero--video .hero__bg { display: none; }
}

/* Home — warehouse video band (between the type band and positioning) ----------------
   Poster <img> is lazy; main.js attaches the <source>s only when the band nears the viewport.
   Reduced motion / data-saver: poster only. */
.vband { position: relative; height: clamp(360px, 56vh, 620px); background: var(--dark); overflow: hidden; }
.vband__media { position: absolute; inset: 0; }
.vband__poster, .vband__poster img, .vband__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.vband__video { opacity: 0; transition: opacity 1.2s ease; background: transparent; }
.vband__video.is-playing { opacity: 1; }
.vband::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(22, 16, 10, .22) 0%, rgba(22, 16, 10, 0) 24%, rgba(22, 16, 10, 0) 62%, rgba(22, 16, 10, .55) 100%); }
.vband__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 24px; margin: 0; padding: 0 var(--pad-x); pointer-events: none; }
.vband__cap span { display: block; max-width: calc(var(--max) - 2 * var(--pad-x)); margin: 0 auto;
  font-family: var(--font-mono); font-weight: 300; font-size: 11px; letter-spacing: .16em; line-height: 1; color: rgba(244, 242, 237, .82); }
.vband__cap i { display: inline-block; width: 3px; height: 3px; margin: 0 .9em; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: .7; }
@media (max-width: 699px) {
  .vband { height: clamp(260px, 45vh, 420px); }
  .vband__cap { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .vband__video { display: none; } }

/* Home — risk section detail still ---------------------------------------------------
   >=1100px: sits to the right of the heading + intro. Below that it is a full-width 16:9 strip above the list
   (the phone carousel below is untouched). */
.risk__media { margin: 32px 0 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); }
.risk__media picture, .risk__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1100px) {
  .risk .split__body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 64px; align-items: start; }
  .risk .split__body > h2, .risk .split__body > .risk__intro { grid-column: 1; }
  .risk__media { grid-column: 2; grid-row: 1 / span 2; margin: 0; aspect-ratio: 3 / 2; }
  .risk .split__body > :is(.risk__list, .risk__close) { grid-column: 1 / -1; }
}
@media (max-width: 699px) { .risk__media { margin-top: 28px; } }
