/* Hallmark · shape: custom (Trust Showcase, ui-ux-pro-max "Feature-Rich Showcase + Trust") · genre: modern-minimal · theme: custom, by request (white and gold: ivory bands, gold fills, near-black ink, Lexend over Source Sans 3) · job: book · draw: custom
 * hero: full-bleed photograph under a white veil, copy on the container line · nav: white bar, typeset wordmark with a hexagon mark, five links, one action · footer: near-black with gold, wordmark and link columns · imagery: licensed Unsplash photography · signature: the calculator that plays itself
 * axes: light/sans-display/warm · posture: confident · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, gold is used for fills, rules and the hexagon; text gold is darkened to pass contrast */
/* Hallmark · waive 71 · industry pages, section-head grid · the lead sits beside a two-line head, bottom-aligned, so the head reads as one block with it */
/* Hallmark · waive 79 · home hero, 1440x900 · the space below the copy is the full-bleed photograph, not an empty band */
/* Hallmark · waive 59 · home and LP, section.ribbon · the ribbon is a band fastened to the foot of the hero, so it sits close by design; true section gaps start below it */
/* Hallmark · waive 80 · inner page heads, figure.scene · by request, each page carries an animated diagram of its subject like the service pages at xpnmarketing.com; every one is labelled and shows real page content, with example figures marked
/* Hallmark · waive 80 · method, figure.hub · a labelled diagram of what feeds a lender file (six named inputs, one output), not decoration */
@import url("./tokens.css?v=mwo280yo");
@import url("./base.css?v=mwo280yo");
@import url("./scenes.css?v=mwo280yo");

/* ---------- frame ---------- */
:root { --header-h: 76px; }
body { padding-top: env(safe-area-inset-top, 0px); font-size: var(--text-md); line-height: 1.6; background: var(--color-paper); }
.container { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
h1, h2, h3 { color: var(--color-ink); }
h1 { line-height: 1.08; }
h2 { line-height: 1.12; }
h3 { line-height: 1.35; letter-spacing: 0; font-weight: 600; }
p { color: var(--color-ink-2); }
.measure { font-variant-numeric: tabular-nums; }
.unit { font-size: 0.5em; color: var(--color-muted); margin-left: 0.1em; }
.muted { color: var(--color-muted); }
.label { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
.fine { font-size: var(--text-sm); color: var(--color-muted); max-width: 70ch; }
.fill { padding: 0 0.25em; border: 1px dashed var(--color-muted-2); border-radius: 4px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-ctl); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-ctl); background: var(--color-paper); color: var(--color-ink); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out), translate 320ms var(--ease-out); }
.btn:hover { border-color: var(--color-ink-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: var(--color-action) var(--gold-fill); border-color: var(--color-action); color: var(--color-action-ink); font-weight: 600; }
.btn--primary:hover { background: var(--color-action-hover); border-color: var(--color-action-hover); }
.btn--line { background: transparent; border-color: var(--color-ink-2); color: var(--color-ink); }
.btn--line:hover { border-color: var(--color-ink); }
.btn--sm { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }
.link { color: var(--color-accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-accent-hover); text-decoration-thickness: 2px; }
.link:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 2px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: 1px solid var(--color-rule-2); }
.site-header .container { display: flex; align-items: center; gap: var(--space-xl); min-height: var(--header-h); }
@keyframes lift { to { box-shadow: var(--shadow-card); border-bottom-color: transparent; } }
@supports (animation-timeline: scroll()) { @media (prefers-reduced-motion: no-preference) { .site-header { animation: lift linear both; animation-timeline: scroll(); animation-range: 0 120px; } } }
.wordmark { display: inline-flex; align-items: center; flex: none; }
.wordmark { gap: var(--space-sm); color: var(--color-ink); text-decoration: none; }
:root { --logo-a: #b8893a; --logo-b: #d9b664; --logo-c: #a87a2c; --logo-f: #ffffff; }
.wm-mark { width: 34px; height: 42px; flex: none; overflow: visible; }
.wm-f { fill: var(--logo-f); }
.wm-text { display: grid; justify-items: start; gap: 6px; }
.wm-name { font: 800 1.5rem/1 var(--font-logo); letter-spacing: -0.02em; white-space: nowrap; }
.wm-tag { font: 700 0.5rem/1 var(--font-logo); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; color: var(--gold-700); }
.dark .wm-tag { color: var(--gold-300); }
.wordmark:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.nav { display: flex; gap: var(--space-lg); margin-left: auto; }
.nav a { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); text-decoration: none; padding-block: var(--space-xs); border-bottom: 2px solid transparent; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.nav a:hover { color: var(--color-ink); }
.nav a[aria-current="page"] { color: var(--color-ink); border-bottom-color: var(--color-accent); }
.nav a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.menu-btn { display: none; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-ctl); background: none; color: var(--color-ink); font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.menu-btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.mobile-nav { display: none; }
.mobile-nav a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 64rem) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-btn { display: inline-flex; align-items: center; }
  .menu-open .mobile-nav { display: block; }
}
@media (max-width: 30rem) { .header-cta { display: none; } .menu-btn { margin-left: auto; } }

/* ---------- photographs ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-card); background: var(--color-paper-3); }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- motion: one gentle fade-up, visible by default ---------- */
@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }


/* ---------- hero: copy on the container line, photograph bleeding to the right edge ---------- */
.hero { position: relative; background: var(--color-paper-3); border-bottom: 1px solid var(--color-rule-2); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 620px) minmax(0, 540px) minmax(var(--gutter), 1fr); min-height: min(calc(100svh - var(--header-h)), 820px); }
.hero-copy { grid-column: 2; grid-row: 1; z-index: 2; align-self: center; padding: var(--space-3xl) var(--space-xl) var(--space-3xl) 0; }
.hero .lead { margin-top: var(--space-lg); max-width: 36ch; color: var(--color-ink-2); }
.hero .actions { margin-top: var(--space-xl); }
.hero .crumbs { margin-bottom: var(--space-lg); }
.hero-copy > * { animation: up 700ms var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 90ms; } .hero-copy > :nth-child(3) { animation-delay: 180ms; } .hero-copy > :nth-child(4) { animation-delay: 270ms; } .hero-copy > :nth-child(5) { animation-delay: 360ms; }
.hero-media { grid-column: 1 / -1; grid-row: 1; position: relative; }
.hero-media .photo { position: absolute; inset: 0; border-radius: 0; animation: fade 1400ms var(--ease-out) both; }
.hero-media .photo > img { object-position: 72% 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--color-veil) 0%, var(--color-veil) 34%, var(--color-veil-0) 78%), linear-gradient(0deg, var(--color-veil) 0%, var(--color-veil-0) 30%); }
.hero-card { position: absolute; z-index: 2; right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); bottom: var(--space-2xl); width: min(360px, 80%); display: grid; gap: var(--space-sm); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); border: 1px solid var(--color-rule); box-shadow: inset 0 3px 0 var(--color-action), var(--shadow-pop); animation: up 800ms 600ms var(--ease-out) both; }
.hc-title { display: flex; align-items: center; gap: var(--space-xs); font-weight: 600; color: var(--color-ink); }
.hc-title .ico { color: var(--color-accent); }
.hc-q { font: 600 var(--text-xl)/1.35 var(--font-display); color: var(--color-ink); }
.hero-card .times { margin: 0; }
.hero-card .times a { min-height: 46px; }
.assure { list-style: none; margin: var(--space-2xl) 0 0; padding: var(--space-lg) 0 0; border-top: 1px solid var(--color-rule); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); max-width: 560px; }
.assure li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-xs); align-items: start; font-size: var(--text-sm); color: var(--color-muted); }
.assure .ico { color: var(--color-accent); margin-top: 1px; }
.assure b { display: block; font-weight: 600; color: var(--color-ink); }
@keyframes settle { from { transform: scale(1.14); } to { transform: none; } }
@media (max-width: 64rem) { .assure { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 60rem) {
  .hero-grid { grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter); min-height: 0; }
  .hero-copy { grid-column: 2; grid-row: 1; padding: var(--space-2xl) 0 var(--space-xl); }
  .hero-media { grid-row: 2; display: grid; }
  .hero-media .photo { position: relative; aspect-ratio: 4 / 3; }
  .hero-media::after { background: linear-gradient(180deg, var(--color-veil) 0%, var(--color-veil-0) 35%); }
  .hero-card { position: relative; right: auto; bottom: auto; width: auto; margin: calc(-1 * var(--space-2xl)) var(--gutter) var(--space-xl); }
}

/* icons */
.ico { flex: none; width: 24px; height: 24px; }
.ico--tile { width: 52px; height: 52px; padding: var(--space-sm); border-radius: var(--radius-card); background: var(--color-signal-soft); color: var(--color-accent); }
.btn .ico--go { width: 20px; height: 20px; transition: transform var(--dur-short) var(--ease-out); }
.btn:hover .ico--go { transform: translateX(3px); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-gap); }
.section--tint { background: var(--color-paper-2); border-block: 1px solid var(--color-rule-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.section-head h2 { font-size: var(--text-section); max-width: 22ch; }
.section-head .lead { color: var(--color-ink-2); }
.section-head--solo { grid-template-columns: minmax(0, 1fr); }
.lead { font-size: var(--text-lead); line-height: 1.5; }

/* three columns, ruled */
.cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.cols > li { padding-top: var(--space-lg); border-top: 2px solid var(--color-ink); }
.cols h3 { font-size: var(--text-title); }
.cols p { margin-top: var(--space-xs); }
@media (max-width: 60rem) { .cols { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.rows > li, .rows > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule-2); align-items: baseline; }
.rows h3 { font-size: var(--text-title); }
.rows p { max-width: 60ch; }
.rows a.row-link { color: var(--color-ink); text-decoration: none; }
.rows a.row-link:hover h3 { color: var(--color-accent); text-decoration: underline; text-underline-offset: 0.2em; }
.rows a.row-link:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; border-radius: 2px; }

/* method steps: three cards */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); counter-reset: step; }
.steps > li { counter-increment: step; display: grid; align-content: start; gap: var(--space-sm); padding: var(--space-xl); border: 1px solid var(--color-rule-2); border-radius: var(--radius-card); background: var(--color-paper); transition: border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.steps > li:hover { border-color: var(--color-rule); box-shadow: var(--shadow-card); }
.steps > li::before { content: "Step " counter(step); font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); }
.steps h3 { font-size: var(--text-xl); }
.steps .link { margin-top: var(--space-xs); }
.more { margin-top: var(--space-xl); }
@media (max-width: 60rem) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* two columns of plain lists */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.pair > div { padding-top: var(--space-md); border-top: 2px solid var(--color-rule); }
.pair > div.on { border-top-color: var(--color-accent); }
.pair ul { list-style: none; margin: var(--space-sm) 0 0; padding: 0; }
.pair li { padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule-2); color: var(--color-ink-2); }
.pair li:last-child { border-bottom: 0; }
.pair h3 { font-size: var(--text-title); }
@media (max-width: 60rem) { .pair { grid-template-columns: minmax(0, 1fr); } }


/* problem columns with icons */
.cols--ico > li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-md); align-content: start; border-top-width: 1px; border-top-color: var(--color-rule); }
.cols--ico .ico--tile { grid-row: span 2; }
.cols--ico p { margin-top: var(--space-2xs); }

/* method: sticky aside with a rail that fills as the steps pass */
.method-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; timeline-scope: --steps; }
.method-aside { position: sticky; top: calc(var(--header-h) + var(--space-xl)); display: grid; gap: var(--space-lg); }
.method-aside h2 { font-size: var(--text-section); }
.rail { height: 4px; border-radius: var(--radius-pill); background: var(--color-rule-2); overflow: hidden; }
.rail i { display: block; height: 100%; background: var(--color-action) var(--gold-fill); transform-origin: 0 50%; }
@keyframes fill { from { transform: scaleX(0.06); } to { transform: scaleX(1); } }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .rail i { animation: fill linear both; animation-timeline: --steps; animation-range: entry 30% exit 60%; } } }
.method-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); view-timeline-name: --steps; }
.method-steps > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-lg); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper); border: 1px solid var(--color-rule-2); box-shadow: var(--shadow-card); }
.ms-n { font: 600 var(--text-sm)/1 var(--font-display); color: var(--color-accent); padding-top: 0.45em; }
.method-steps h3 { font-size: var(--text-xl); }
.method-steps p { margin-top: var(--space-xs); }
.method-steps ul { list-style: none; margin: var(--space-md) 0 0; padding: var(--space-md) 0 0; border-top: 1px solid var(--color-rule-2); display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.method-steps ul { column-gap: var(--space-lg); row-gap: var(--space-2xs); }
.method-steps ul li { font-size: var(--text-sm); color: var(--color-ink-2); }
@media (max-width: 60rem) { .method-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .method-aside { position: static; } .method-steps > li { padding: var(--space-lg); } }

/* calculator band */
.band { border-block: 0; }
.band .section-head .lead { color: var(--color-ink-2); }
.band .calc { box-shadow: var(--shadow-pop); }

/* industries mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: var(--space-md); }
.mosaic .tile { position: relative; display: block; border-radius: var(--radius-card); overflow: hidden; color: var(--white); text-decoration: none; }
.mosaic .tile:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic .tile:last-child { grid-column: span 2; }
.mosaic .tile .photo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; }
.mosaic .tile:hover .photo { box-shadow: none; }
.mosaic .photo > img { transition: transform 700ms var(--ease-out); }
.mosaic .tile:hover .photo > img { transform: scale(1.04); }
.mosaic .tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--color-scrim) 0%, transparent 62%); }
.tile-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; gap: var(--space-2xs); padding: var(--space-lg); }
.tc-name { font: 600 var(--text-lg)/1.2 var(--font-display); letter-spacing: -0.01em; }
.tile:first-child .tc-name { font-size: var(--text-2xl); }
.tc-line { font-size: var(--text-sm); color: var(--color-on-photo); }
.mosaic .tile:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
@media (max-width: 64rem) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; } .mosaic .tile:first-child { grid-row: span 1; } }
@media (max-width: 30rem) { .mosaic { grid-template-columns: minmax(0, 1fr); } .mosaic .tile:first-child, .mosaic .tile:last-child { grid-column: auto; } }

/* statement band over a photograph */
.statement { position: relative; overflow: hidden; padding-block: var(--space-4xl); isolation: isolate; }
.st-bg { position: absolute; inset: -12% 0; z-index: -1; }
.st-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
@keyframes drift { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .st-bg img { animation: drift linear both; animation-timeline: view(); } } }
.st-in { display: grid; gap: var(--space-xl); }
.st-quote { font: 600 var(--text-statement)/1.12 var(--font-display); letter-spacing: -0.01em; color: var(--color-ink); max-width: 22ch; text-wrap: balance; }
.st-by { font-size: var(--text-md); color: var(--color-ink-2); }


/* card lists (interior pages) */
.cardlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.cardlist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cardlist > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-md); align-content: start; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper); border: 1px solid var(--color-rule-2); transition: border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.cardlist > li:hover { border-color: var(--color-rule); box-shadow: var(--shadow-card); }
.cardlist h3 { font-size: var(--text-title); }
.cardlist p { margin-top: var(--space-xs); }
.cardlist .row-link { color: var(--color-ink); text-decoration: none; }
.cardlist .row-link:hover h3 { color: var(--color-accent); text-decoration: underline; text-underline-offset: 0.2em; }
.cardlist .row-link:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; border-radius: 2px; }
@media (max-width: 60rem) { .cardlist, .cardlist--3 { grid-template-columns: minmax(0, 1fr); } .cardlist > li { padding: var(--space-lg); } }
.hero-copy:has(.crumbs) h1 { font-size: var(--text-display); max-width: 16ch; }
.page-head h1 { font-size: var(--text-display); }



/* gold rule over each section head, drawn in */
.section-head h2::before, .method-aside h2::before, .split h2::before, .hub-copy h2::before, .scan-copy h2::before { content: ""; display: block; width: 56px; height: 2px; margin-bottom: var(--space-lg); background: var(--color-action) var(--gold-fill); transform-origin: 0 50%; }
.js.moving .section-head h2.is-split::before, .js.moving .method-aside h2.is-split::before, .js.moving .hub-copy h2.is-split::before, .js.moving .scan-copy h2.is-split::before { transform: scaleX(0); transition: transform 1000ms var(--ease-out) 150ms; }
.js.moving .section-head h2.is-split.in::before, .js.moving .method-aside h2.is-split.in::before, .js.moving .hub-copy h2.is-split.in::before, .js.moving .scan-copy h2.is-split.in::before { transform: none; }

/* the hexagon from his logo, drawn as one gold line */
.hex { position: absolute; pointer-events: none; fill: none; stroke: var(--color-accent); stroke-width: 0.6; vector-effect: non-scaling-stroke; opacity: 0.55; }
.hex path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hex path + path { opacity: 0.5; }
.js.moving .hex path { stroke-dashoffset: 1; transition: stroke-dashoffset 2400ms var(--ease-in-out); }
.js.moving .hex path + path { transition-delay: 500ms; }
.js.moving .hex.in path { stroke-dashoffset: 0; }
.hex--head { right: max(var(--gutter), calc((100% - var(--container)) / 2)); top: 50%; width: 220px; height: 220px; translate: 0 -50%; }
.hex--close { right: -40px; top: -60px; width: 420px; height: 420px; opacity: 0.35; }
@media (max-width: 60rem) { .hex--head { width: 140px; height: 140px; opacity: 0.3; } .hex--close { width: 260px; height: 260px; } }
.close { position: relative; overflow: hidden; border: 1px solid var(--color-rule); }
.close > div { position: relative; z-index: 1; }

/* tinted band for the method */
.light.method { background: var(--color-paper-2); border-block: 0; }
.light .method-steps > li { background: var(--color-paper); }


/* ================= custom motion (motion.js adds .js.moving; none of it runs under reduced motion) ================= */

/* reading progress along the bottom of the header */
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--color-action) var(--gold-fill); transform: scaleX(0); transform-origin: 0 50%; }
@supports (animation-timeline: scroll()) { @media (prefers-reduced-motion: no-preference) { .site-header::after { animation: grow linear both; animation-timeline: scroll(root); } } }

/* headings rise word by word from behind a mask */
.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.is-split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--i) * 55ms + 60ms); }
.is-split.in .w > span { transform: none; }
.js.moving .hero-copy > h1 { animation: none; }

/* blocks lift in, staggered inside their group */
.js.moving .rv { opacity: 0; transform: translateY(36px); transition: opacity 700ms var(--ease-out), transform 1000ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js.moving .rv.in { opacity: 1; transform: none; }

/* industry tiles open like shutters, photo settling as they do, then drift with the pointer */
.js.moving .mosaic .rv { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius-card)); transition: clip-path 1100ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js.moving .mosaic .rv.in { clip-path: inset(0 0 0 0 round var(--radius-card)); }
.mosaic .photo > img { transform: translate(calc(var(--tx, 0) * -16px), calc(var(--ty, 0) * -16px)) scale(var(--s, 1.06)); transition: transform 900ms var(--ease-out); }
.mosaic .tile:hover .photo > img { --s: 1.12; transform: translate(calc(var(--tx, 0) * -16px), calc(var(--ty, 0) * -16px)) scale(var(--s)); }
.js.moving .mosaic .rv:not(.in) .photo > img { --s: 1.3; }
.tile-cap { transition: transform 500ms var(--ease-out); transform: translateY(1.75em); }
.tc-more { display: inline-flex; align-items: center; gap: var(--space-2xs); margin-top: var(--space-xs); font-size: var(--text-sm); font-weight: 600; opacity: 0; transition: opacity 400ms var(--ease-out); }
.tc-more .ico { width: 18px; height: 18px; }
.mosaic .tile:hover .tile-cap, .mosaic .tile:focus-visible .tile-cap { transform: none; }
.mosaic .tile:hover .tc-more, .mosaic .tile:focus-visible .tc-more { opacity: 1; }
@media (hover: none) { .tile-cap { transform: none; } .tc-more { opacity: 1; } }

/* the closing panel opens out from inset */
.js.moving .close.rv { opacity: 1; transform: none; clip-path: inset(7% 5% round var(--radius-card)); transition: clip-path 1200ms var(--ease-out); }
.js.moving .close.rv.in { clip-path: inset(0 round var(--radius-card)); }

/* next open times arrive one by one */
.js.moving .times li { animation: up 600ms var(--ease-out) both; }
.js.moving .times li:nth-child(2) { animation-delay: 120ms; } .js.moving .times li:nth-child(3) { animation-delay: 240ms; }
.hero-card .times li { animation-delay: 700ms; } .hero-card .times li:nth-child(2) { animation-delay: 820ms; } .hero-card .times li:nth-child(3) { animation-delay: 940ms; }

/* hero depth under the pointer */

/* primary buttons lean toward the pointer */
.btn--primary { translate: var(--bx, 0px) var(--by, 0px); }

/* the statement lights up as it is read */
.js.moving .st-quote .sw { opacity: 0.2; transition: opacity 500ms var(--ease-out); }
.js.moving .st-quote .sw.on { opacity: 1; }

/* method cards stack, each settling back as the next slides over it */
.stacking .method-steps { gap: var(--space-xl); padding-bottom: var(--space-xl); }
.stacking .method-steps > li { position: sticky; top: calc(var(--header-h) + var(--space-xl) + var(--k, 0) * 20px); transform: scale(calc(1 - var(--p, 0) * 0.06)); transform-origin: 50% 0; }
.stacking .method-steps > li::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--color-paper-3); opacity: calc(var(--p, 0) * 0.6); pointer-events: none; }
.stacking .method-steps > li { isolation: isolate; }

/* the calculator: while it plays itself, the pin follows the count closely */
.calc.playing .scale .pin { transition-duration: 120ms; }
.calc .verdict b { transition: color var(--dur-short) var(--ease-out); }

/* ---------- calculator ---------- */
.well { background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; }
.calc-in { padding: var(--space-xl); border-right: 1px solid var(--color-rule); display: grid; gap: var(--space-lg); align-content: start; }
.calc-out { padding: var(--space-xl); display: grid; gap: var(--space-lg); align-content: start; background: var(--color-paper-2); }
.field { display: grid; gap: var(--space-2xs); }
.field label, .field legend { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.field .hint { font-size: var(--text-xs); color: var(--color-muted); }
.input { width: 100%; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-ctl); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); outline: 3px solid transparent; outline-offset: 1px; transition: border-color var(--dur-short) var(--ease-out); }
.input:hover { border-color: var(--color-ink-2); }
.input:focus-visible { outline-color: var(--color-focus); border-color: var(--color-focus); }
.input[aria-invalid="true"] { border-color: var(--color-error); }
textarea.input { min-height: 96px; padding-block: var(--space-sm); resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-muted) 50%), linear-gradient(135deg, var(--color-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: var(--space-xl); }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: var(--space-md); top: 50%; transform: translateY(-50%); color: var(--color-muted); }
.money .input { padding-left: calc(var(--space-md) + 1ch + var(--space-2xs)); font-variant-numeric: tabular-nums; }
.ratio { font: 600 clamp(3.5rem, 5vw + 1rem, 5.5rem)/1 var(--font-display); letter-spacing: -0.01em; color: var(--color-ink); }
.scale { position: relative; height: 40px; border-bottom: 1px solid var(--color-rule); }
.scale .zone { position: absolute; bottom: 0; height: 10px; border-radius: 2px 2px 0 0; }
.scale .zone.thin { left: 40%; width: 10%; background: var(--color-signal-soft); }
.scale .zone.room { left: 50%; right: 0; background: var(--color-action) var(--gold-fill); }
.scale .pin { position: absolute; bottom: 0; left: 0; width: 3px; height: 40px; border-radius: 2px; background: var(--color-ink); transform: translateX(calc(var(--x, 0) * 1%)); transition: transform var(--dur-long) var(--ease-out); }
.scale-axis { position: relative; height: 1.5em; margin-top: var(--space-2xs); font-size: var(--text-xs); color: var(--color-muted); }
.scale-axis span { position: absolute; top: 0; transform: translateX(-50%); }
.scale-axis span:first-child { transform: none; }
.scale-axis span:last-child { transform: translateX(-100%); }
.verdict { display: flex; gap: var(--space-sm); align-items: baseline; flex-wrap: wrap; }
.verdict b { font-weight: 600; color: var(--color-ink); }
.verdict b[data-tone="room"] { color: var(--color-success); }
.verdict b[data-tone="short"] { color: var(--color-error); }
@media (max-width: 60rem) { .calc { grid-template-columns: minmax(0, 1fr); } .calc-in { border-right: 0; border-bottom: 1px solid var(--color-rule); } .calc-in, .calc-out { padding: var(--space-lg); } }

/* ---------- industries ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); }
.tile { display: grid; gap: var(--space-sm); color: var(--color-ink); text-decoration: none; }
.tile .photo { aspect-ratio: 4 / 3; }
.tile .photo { transition: box-shadow var(--dur-short) var(--ease-out); }
.tile:hover .photo { box-shadow: 0 0 0 2px var(--color-accent); }
.tile h3 { font-size: var(--text-lg); }
.tile p { font-size: var(--text-sm); color: var(--color-muted); }
.tile:hover h3 { color: var(--color-accent); }
.tile:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-card); }
@media (max-width: 64rem) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.split .photo { aspect-ratio: 4 / 3; }
.split h2 { font-size: var(--text-section); }
.split .lead { margin-top: var(--space-md); }
.split .pair { margin-top: var(--space-xl); gap: var(--space-lg); }
@media (max-width: 60rem) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* ---------- questions ---------- */
.faq { border-top: 1px solid var(--color-rule); }
.faq details { border-bottom: 1px solid var(--color-rule-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); min-height: 44px; padding-block: var(--space-lg); cursor: pointer; list-style: none; font: 600 var(--text-title)/1.3 var(--font-display); color: var(--color-ink); transition: color var(--dur-short) var(--ease-out); }
.faq summary:hover { color: var(--color-accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: var(--space-2xs); border: solid var(--color-muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform var(--dur-short) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.faq .answer { padding-bottom: var(--space-lg); max-width: 68ch; }

/* ---------- close ---------- */
.close-wrap { padding-block: var(--section-gap-s); }
.close { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; padding: var(--space-3xl) var(--space-2xl); border-radius: var(--radius-card); }
.close h2 { font-size: var(--text-section); max-width: 18ch; }
.close .lead { margin-top: var(--space-md); }
.close .actions { margin-top: var(--space-xl); }
.times { list-style: none; margin: var(--space-sm) 0 0; padding: 0; display: grid; gap: var(--space-xs); }
.times a { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-ctl); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.times a:hover { background: var(--color-paper-2); border-color: var(--color-accent); }
.times a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.times .measure { color: var(--color-signal); font-weight: 600; }
.times-empty { padding-block: var(--space-md); color: var(--color-muted); }
.close--plain { background: var(--color-paper-2); border: 1px solid var(--color-rule-2); }
@media (max-width: 60rem) { .close, .section-head { grid-template-columns: minmax(0, 1fr); } .close { padding: var(--space-2xl) var(--space-lg); gap: var(--space-xl); } .rows > li, .rows > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); } }

/* ---------- interior page head ---------- */
.page-head { padding-block: var(--space-3xl) var(--space-2xl); background: var(--color-paper); border-bottom: 1px solid var(--color-rule-2); }
.page-head { position: relative; overflow: hidden; }
.page-head .container { position: relative; z-index: 1; }
.page-head .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.page-head h1 { font-size: var(--text-display-s); max-width: 20ch; }
.page-head .lead { color: var(--color-ink-2); }
.page-head--photo .grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; }
.page-head--photo .photo { aspect-ratio: 4 / 3; }
.page-head--photo .lead { margin-top: var(--space-md); }
.page-head + .section { padding-top: var(--space-2xl); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-xl); }
.crumbs a { color: var(--color-muted); }
.crumbs a:hover { color: var(--color-ink); }
.crumbs a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 60rem) { .page-head .grid, .page-head--photo .grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } }

/* before / after */
.switch { display: grid; gap: var(--space-xl); padding: var(--space-2xl); border-radius: var(--radius-card); background: var(--color-paper-2); border: 1px solid var(--color-rule-2); }
.seg { display: inline-flex; padding: var(--space-2xs); gap: var(--space-2xs); border-radius: calc(var(--radius-ctl) + 4px); background: var(--color-paper-3); width: max-content; }
.seg button { min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-ctl); background: none; color: var(--color-ink-2); font-weight: 600; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.seg button[aria-selected="true"] { background: var(--color-paper); color: var(--color-ink); box-shadow: var(--shadow-card); }
.seg button:hover:not([aria-selected="true"]) { color: var(--color-ink); }
.seg button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.switch [role="tabpanel"] { font: 500 var(--text-xl)/1.4 var(--font-display); letter-spacing: -0.01em; min-height: 4.2em; color: var(--color-ink); max-width: 46ch; animation: fade var(--dur-long) var(--ease-out); }
@media (max-width: 40rem) { .switch { padding: var(--space-lg); } .switch [role="tabpanel"] { font-size: var(--text-lg); } }

/* ---------- prose ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.prose p, .prose li { color: var(--color-ink-2); line-height: 1.7; }
.prose p + p { margin-top: var(--space-md); }
.prose ul { padding-left: 1.2em; display: grid; gap: var(--space-xs); margin: var(--space-md) 0; }
.prose strong { color: var(--color-ink); font-weight: 600; }
.prose a:not(.btn) { color: var(--color-accent); }
.prose .aside { margin: var(--space-xl) 0; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-signal-soft); color: var(--color-ink); font-size: var(--text-lead); }

/* ---------- scheduler ---------- */
.scheduler { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); overflow: hidden; }
.sch-side { padding: var(--space-xl); border-right: 1px solid var(--color-rule); display: grid; gap: var(--space-lg); align-content: start; background: var(--color-paper-2); }
.sch-side dl { margin: 0; display: grid; gap: var(--space-sm); }
.sch-side dl div { display: flex; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--color-rule-2); }
.sch-side dt { font-size: var(--text-sm); color: var(--color-muted); }
.sch-side dd { margin: 0; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); text-align: right; }
.sch-title { font: 600 var(--text-2xl)/1.15 var(--font-display); color: var(--color-ink); letter-spacing: -0.02em; }
.sch-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); }
.sch-steps li { padding: var(--space-xs) 0 var(--space-xs) var(--space-md); border-left: 2px solid var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.sch-steps li.done { color: var(--color-ink-2); border-left-color: var(--color-muted-2); }
.sch-steps li.current { color: var(--color-ink); font-weight: 600; border-left-color: var(--color-accent); }
.sch-main { padding: var(--space-xl); min-width: 0; }
.sch-panel { display: grid; gap: var(--space-lg); animation: fade var(--dur-long) var(--ease-out); }
.sch-panel h3 { font-size: var(--text-xl); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.form-grid .full { grid-column: 1 / -1; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chips legend { margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.chip { position: relative; display: inline-flex; border-radius: var(--radius-ctl); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-ctl); color: var(--color-ink-2); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.chip span:hover { border-color: var(--color-ink-2); }
.chip input:checked + span { background: var(--color-signal-soft); color: var(--color-ink); border-color: var(--color-accent); font-weight: 600; }
.chip:has(input:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.sch-actions { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.back { min-height: 44px; padding: 0; border: 0; background: none; color: var(--color-ink-2); font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-rule); cursor: pointer; }
.back:hover { color: var(--color-ink); }
.back:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.err { min-height: 1lh; font-size: var(--text-sm); color: var(--color-error); }
.note { padding: var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-ctl); font-size: var(--text-sm); color: var(--color-ink-2); }
.tz { display: flex; gap: var(--space-sm); align-items: center; flex-wrap: wrap; font-size: var(--text-sm); color: var(--color-muted); }
.tz select { min-height: 44px; width: auto; }
.cal { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-sm); }
.cal-head strong { font-weight: 600; color: var(--color-ink); }
.cal-head button { width: 44px; height: 44px; border: 1px solid var(--color-rule); border-radius: var(--radius-ctl); background: none; color: var(--color-ink); cursor: pointer; }
.cal-head button:disabled { opacity: 0.35; cursor: not-allowed; }
.cal-head button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-2xs); }
.cal-grid .dow { text-align: center; font-size: var(--text-xs); color: var(--color-muted); padding-block: var(--space-xs); }
.cal-grid button { aspect-ratio: 1; min-height: 44px; border: 1px solid transparent; border-radius: var(--radius-ctl); background: none; color: var(--color-muted-2); font-size: var(--text-sm); cursor: default; }
.cal-grid button.avail { color: var(--color-ink); border-color: var(--color-rule-2); background: var(--color-paper-2); font-weight: 600; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.cal-grid button.avail:hover { border-color: var(--color-accent); }
.cal-grid button.sel { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); }
.cal-grid button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.slots { display: grid; gap: var(--space-xs); }
.slot { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-ctl); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); font-weight: 600; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.slot span + span { color: var(--color-muted); font-weight: 400; }
.slot:hover { border-color: var(--color-accent); }
.slot.sel { border-color: var(--color-accent); background: var(--color-signal-soft); }
.slot:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.summary { display: grid; border-top: 1px solid var(--color-rule); }
.summary div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule-2); font-size: var(--text-sm); }
.summary dt { color: var(--color-muted); }
.summary dd { margin: 0; color: var(--color-ink); }
.check { display: flex; gap: var(--space-sm); align-items: flex-start; font-size: var(--text-sm); color: var(--color-ink-2); }
.check input { width: 20px; height: 20px; margin-top: var(--space-3xs); accent-color: var(--color-accent); flex: none; }
.check input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 60rem) {
  .scheduler { grid-template-columns: minmax(0, 1fr); }
  .sch-side { border-right: 0; border-bottom: 1px solid var(--color-rule); padding: var(--space-lg); }
  .sch-main { padding: var(--space-lg); }
  .cal { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) { .form-grid { grid-template-columns: minmax(0, 1fr); } .sch-side, .sch-main { padding: var(--space-md); } .summary div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ---------- readiness check ---------- */
.quiz { padding: var(--space-2xl); display: grid; gap: var(--space-lg); }
.quiz-count { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
.quiz-bar { height: 6px; border-radius: var(--radius-pill); background: var(--color-paper-3); overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--color-accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform var(--dur-long) var(--ease-out); }
.quiz h2 { font-size: var(--text-2xl); max-width: 30ch; }
.opts { display: grid; gap: var(--space-xs); }
.opt { display: flex; align-items: center; min-height: 52px; padding: 0 var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-ctl); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); text-align: left; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.opt:hover { border-color: var(--color-accent); background: var(--color-paper-2); }
.opt:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xs); }
.stages i { height: 8px; border-radius: var(--radius-pill); background: var(--color-paper-3); }
.stages i.on { background: var(--color-accent); }
@media (max-width: 40rem) { .quiz { padding: var(--space-lg); } }

/* ---------- disclosures ---------- */
.facts { margin: 0; border-top: 1px solid var(--color-rule); }
.facts div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule-2); }
.facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.facts dd { margin: 0; color: var(--color-ink); }
@media (max-width: 40rem) { .facts div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); } }

/* ---------- footer ---------- */
.site-footer { padding-block: var(--space-3xl) var(--space-xl); }
.mast { display: none; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr) repeat(2, minmax(0, 1.8fr)) minmax(0, 3fr); gap: var(--gap-columns); padding-bottom: var(--space-xl); border-bottom: 1px solid var(--color-rule); }
.foot-brand p { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); max-width: 46ch; }
.foot-grid h2 { font: 600 var(--text-sm) var(--font-body); letter-spacing: 0; color: var(--color-ink); margin-bottom: var(--space-sm); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.foot-grid a { color: var(--color-ink-2); text-decoration: none; font-size: var(--text-sm); }
.foot-grid a:hover { color: var(--color-ink); text-decoration: underline; }
.foot-grid a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.copy-email { display: flex; gap: var(--space-xs); align-items: center; flex-wrap: wrap; font-size: var(--text-sm); color: var(--color-ink); }
.copy-email button { min-height: 44px; padding: 0 var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-ctl); background: none; color: var(--color-ink-2); font-size: var(--text-xs); font-weight: 600; cursor: pointer; }
.copy-email button:hover { border-color: var(--color-muted); }
.copy-email button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.disclosure { display: grid; gap: var(--space-xs); padding-top: var(--space-lg); }
.disclosure p { font-size: var(--text-xs); color: var(--color-muted); max-width: 75ch; }
@media (max-width: 64rem) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- consent ---------- */
.consent { position: fixed; z-index: var(--z-toast); left: var(--space-md); right: var(--space-md); bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px)); max-width: 720px; margin-inline: auto; padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-card); box-shadow: var(--shadow-pop); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm) var(--space-lg); transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out); }
.js .consent.hide { transform: translateY(16px); opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-media .photo, .hero-media .photo > img, .hero-card { animation: none; }
}

/* his gold word in the tagline, and solid rows over the close hexagon */
.gold { color: var(--color-accent); }
.close .times li { position: relative; background: var(--color-paper); }
/* page heads: headline over its sentence, the hexagon keeps the right side to itself */
.page-head .grid { grid-template-columns: minmax(0, 1fr); max-width: 48rem; gap: var(--space-md); align-items: start; }
.page-head h1 { font-size: var(--text-display); max-width: 18ch; }
.page-head .lead { max-width: 52ch; }
.page-head--photo .grid { max-width: none; }
.light.section--tint { background: var(--color-paper-2); border-block: 0; }

/* ================= v4.5: XPN-style live figures ================= */
.hub-grid, .scan-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.hub-copy .lead, .scan-copy .lead { margin-top: var(--space-lg); max-width: 40ch; color: var(--color-ink-2); }
.scan-copy .btn { margin-top: var(--space-xl); }
.plain-list { list-style: none; margin: var(--space-xl) 0 0; padding: 0; }
.plain-list li { padding-block: var(--space-md); border-top: 1px solid var(--color-rule-2); }
.plain-list h3 { font-size: var(--text-lg); }
.plain-list p { margin-top: var(--space-2xs); color: var(--color-muted); }

/* hub: one file at the centre, lines flowing into it */
.hub { position: relative; margin: 0; aspect-ratio: 600 / 480; border-radius: var(--radius-card); overflow: hidden; background: radial-gradient(circle at 50% 50%, var(--color-paper) 0%, var(--color-paper-2) 75%); border: 1px solid var(--color-rule); }
.hub-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-line { fill: none; stroke: var(--color-accent); stroke-width: 1.5; stroke-dasharray: 3 7; opacity: 0.7; }
.hub-line--out { stroke: var(--color-ink); opacity: 0.6; }
.hub-orbit { fill: none; stroke: var(--color-rule); stroke-width: 1; stroke-dasharray: 2 10; transform-origin: 300px 240px; }
.hub-star { fill: var(--color-ink); opacity: 0.3; }
.hub-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; gap: var(--space-xs); }
.hub-core svg { width: clamp(56px, 9vw, 92px); height: auto; }
.hub-core span { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.hub-nodes { list-style: none; margin: 0; padding: 0; }
.hub-node { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-ctl); background: var(--color-paper); box-shadow: var(--shadow-card); border: 1px solid var(--color-rule); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); white-space: nowrap; }
.hub-node--out { background: var(--color-action) var(--gold-fill); border-color: var(--color-action); color: var(--color-action-ink); }

/* scan: a sample lender review that keeps re-reading itself */
.scan-band { background: var(--color-paper-2); }
.scan { position: relative; margin: 0; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper); border: 1px solid var(--color-rule); overflow: hidden; box-shadow: var(--shadow-pop); }
.scan-head { display: flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); }
.scan-head b { font-weight: 600; }
.scan-tag { margin-left: auto; padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-ctl); background: var(--color-signal-soft); color: var(--color-signal); font-size: var(--text-xs); font-weight: 600; }
.scan-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); }
.scan-legend { display: flex; gap: var(--space-lg); margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.sl::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: var(--space-xs); border-radius: 2px; vertical-align: -1px; }
.sl--before::before { background: var(--color-muted-2); }
.sl--after::before { background: var(--color-action); }
.scan-rows { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: grid; gap: var(--space-lg); }
.scan-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-md); }
.sr-label { font-size: var(--text-sm); color: var(--color-ink-2); }
.sr-val { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.sr-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--color-rule-2); overflow: hidden; }
.sr-bar--before { margin-top: var(--space-2xs); }
.sr-bar i { display: block; height: 100%; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(var(--w)); }
.sr-bar--before i { background: var(--color-muted-2); }
.sr-bar--after i { background: var(--color-action) var(--gold-fill); }
.scan-note { margin-top: var(--space-lg); font-size: var(--text-xs); color: var(--color-muted); }
.scan-line { position: absolute; left: 0; right: 0; top: 0; height: 72px; pointer-events: none; background: linear-gradient(180deg, var(--color-veil-0), var(--color-signal-soft)); border-bottom: 1px solid var(--color-signal); opacity: 0; }

@media (max-width: 60rem) {
  .hub-grid, .scan-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .hub-node { font-size: var(--text-xs); padding: var(--space-2xs) var(--space-xs); white-space: normal; max-width: 8em; text-align: center; }
  .scan { padding: var(--space-lg); }
}

/* motion: lines flow, nodes drift, stars blink, bars re-grow, the scan line sweeps, the live dot pings */
@keyframes hubFlow { to { stroke-dashoffset: -20; } }
@keyframes hubDrift { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
@keyframes hubBlink { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.7; } }
@keyframes hubTurn { to { transform: rotate(360deg); } }
@keyframes scanGrow { 0% { transform: scaleX(0.04); } 22% { transform: scaleX(var(--w)); } 88% { transform: scaleX(var(--w)); opacity: 1; } 100% { transform: scaleX(var(--w)); opacity: 0; } }
@keyframes scanSweep { 0% { transform: translateY(-80px); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(var(--scan-h, 520px)); opacity: 0; } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.js.moving .hub-line { animation: hubFlow 1.4s linear infinite; }
.js.moving .hub-node { animation: hubDrift 3.2s var(--ease-in-out) calc(var(--i) * -0.6s) infinite alternate; }
.js.moving .hub-star { animation: hubBlink 3s ease-in-out calc(var(--i) * -0.4s) infinite; }
.js.moving .hub-orbit { animation: hubTurn 60s linear infinite; }
.js.moving .scan.in .sr-bar i { animation: scanGrow 7s var(--ease-out) calc(var(--i) * 140ms) infinite; }
.js.moving .scan.in .sr-bar--after i { animation-delay: calc(var(--i) * 140ms + 260ms); }
.js.moving .scan.in .scan-line { animation: scanSweep 3.5s var(--ease-in-out) 400ms infinite; }
.scan-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--color-success); }
.js.moving .scan-live::after { animation: ping 1.8s var(--ease-out) infinite; }

/* ================= v4.6 hero: owners' worlds cross-fading behind the copy ================= */
.hero--show .hero-copy { padding-block: var(--space-3xl); }
.hero--show h1 { font-size: clamp(2.75rem, 3.6vw + 1rem, 4.75rem); max-width: 15ch; }
.hero-facts { margin-top: var(--space-xl); max-width: 44ch; font-size: var(--text-sm); color: var(--color-muted); }
.hero--show .actions { gap: var(--space-sm); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.slide + .slide { display: none; }
.js .slide + .slide { display: block; opacity: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 60% 50%); }
.hero--show .hero-media::after { background: linear-gradient(90deg, var(--color-veil) 0%, var(--color-veil) 30%, var(--color-veil-0) 75%), linear-gradient(0deg, var(--color-veil) 0%, var(--color-veil-0) 35%); }
.slide-cap { position: absolute; z-index: 2; right: max(var(--gutter), calc((100% - var(--container)) / 2)); bottom: var(--space-xl); display: grid; grid-template-columns: repeat(4, max-content); gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.slide-cap li { position: relative; padding-top: var(--space-sm); border-top: 2px solid var(--color-rule); }
.slide-cap a { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); text-decoration: none; }
.slide-cap a:hover { color: var(--color-ink); }
.slide-cap a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.slide-cap li::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--color-action) var(--gold-fill); transform-origin: 0 50%; transform: scaleX(0); }
.slide-cap li:first-child::before { transform: none; }

@keyframes slideShow { 0% { opacity: 0; } 3% { opacity: 1; } 28% { opacity: 1; } 31% { opacity: 0; } 100% { opacity: 0; } }
@keyframes slideDrift { 0% { transform: scale(1.1) translateX(1.5%); } 28% { transform: scale(1) translateX(0); } 100% { transform: scale(1) translateX(0); } }
@keyframes slideBar { 0% { transform: scaleX(0); opacity: 1; } 25% { transform: scaleX(1); opacity: 1; } 28%, 100% { transform: scaleX(1); opacity: 0; } }
.js.moving .slide { animation: slideShow 24s linear calc(var(--s) * 6s - 0.7s) infinite both; }
.js.moving .slide:first-child { animation-delay: -0.7s; }
.js.moving .slide img { animation: slideDrift 24s var(--ease-out) calc(var(--s) * 6s - 0.7s) infinite both; }
.js.moving .slide-cap li::before { animation: slideBar 24s linear calc(var(--s) * 6s - 0.7s) infinite both; }

@media (max-width: 60rem) {
  .hero--show .hero-grid { grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter); min-height: calc(100svh - var(--header-h)); }
  .hero--show .hero-media { grid-column: 1 / -1; grid-row: 1; display: block; position: relative; }
  .hero--show .hero-copy { grid-column: 2; grid-row: 1; align-self: end; padding: var(--space-4xl) 0 var(--space-3xl); }
  .hero--show .hero-media::after { background: linear-gradient(0deg, var(--color-veil) 0%, var(--color-veil) 58%, var(--color-veil-0) 88%), linear-gradient(180deg, var(--color-veil) 0%, var(--color-veil-0) 18%); }
  .slide-cap { left: var(--gutter); right: var(--gutter); top: var(--space-md); bottom: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm) var(--space-md); }
  .slide-cap a { font-size: var(--text-xs); }
}

/* v4.7 ribbon: the six parts of the file, set big, gold on ink, drifting like a ticker */
.ribbon { overflow: clip; padding-block: var(--space-xl); border-block: 1px solid var(--color-rule); }
.ribbon-track { display: flex; width: max-content; }
.ribbon-set { list-style: none; padding: 0; display: flex; align-items: center; gap: var(--space-xl); padding-inline-end: var(--space-xl); margin: 0; max-width: none; }
.ribbon-set li { font-family: var(--font-display); font-size: clamp(1.75rem, 2.4vw + 1rem, 3.5rem); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.1; white-space: nowrap; color: var(--color-ink); }
.ribbon-set li:nth-child(4n+3) { color: var(--color-accent); }
.rb-blk { width: 21px; height: 26px; flex: none; }
.sh-body { fill: var(--gold-500); }
.sh-f { fill: #ffffff; }
.ribbon-set > li { margin: 0; } .rb-sep { display: flex; }
.js .ribbon-set + .ribbon-set { list-style: none; padding: 0; display: flex; }
.ribbon-set + .ribbon-set { display: none; }
.js.moving .ribbon-track { animation: ribbonRun 48s linear infinite; }
.js.moving .ribbon:hover .ribbon-track { animation-play-state: paused; }
@keyframes ribbonRun { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .js.moving .ribbon-track { animation: none; } }

/* ---------- v4.8: one signature motion per page ---------- */
/* home: the three pressures are struck through in gold, and what replaces each one slides in */
.strike { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; border-top: 1px solid var(--color-rule); }
.strike li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-lg); align-items: baseline; padding-block: var(--space-xl); border-bottom: 1px solid var(--color-rule); }
.sk-old { margin: 0; min-width: 0; overflow-wrap: break-word; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.8vw + 1rem, 2.75rem); line-height: 1.25; letter-spacing: var(--tracking-display); color: var(--color-muted); }
.sk-old span { background: linear-gradient(var(--color-action), var(--color-action)) no-repeat 0 58% / 100% 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sk-new { margin: 0; font-size: var(--text-lg); font-weight: 600; color: var(--color-accent); }
.js.moving .strike li .sk-old { color: var(--color-ink); transition: color 700ms var(--ease-out) calc(var(--d, 0ms) * 3 + 900ms); }
.js.moving .strike li .sk-old span { background-size: 0% 0.12em; transition: background-size 1000ms var(--ease-in-out) calc(var(--d, 0ms) * 3 + 500ms); }
.js.moving .strike li .sk-new { opacity: 0; transform: translateX(-16px); transition: opacity 600ms var(--ease-out) calc(var(--d, 0ms) * 3 + 1300ms), transform 900ms var(--ease-out) calc(var(--d, 0ms) * 3 + 1300ms); }
.js.moving .strike li.in .sk-old { color: var(--color-muted); }
.js.moving .strike li.in .sk-old span { background-size: 100% 0.12em; }
.js.moving .strike li.in .sk-new { opacity: 1; transform: none; }
@media (max-width: 48rem) { .strike li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding-block: var(--space-lg); } }

/* home: a directory into the site */
.dir-wrap { position: relative; margin-top: var(--space-xl); }
.dir { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.dir a { position: relative; display: grid; grid-template-columns: 3.5rem minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: var(--space-lg); min-height: 44px; padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); color: var(--color-ink); text-decoration: none; }
.dir a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--color-action) var(--gold-fill); transform: scaleX(0); transform-origin: left center; transition: transform 700ms var(--ease-out); }
.dir a:hover::after, .dir a:focus-visible::after { transform: none; }
.dir a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; border-radius: 2px; }
.dir-n { font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); }
.dir-t { min-width: 0; overflow-wrap: break-word; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 2.2vw + 1rem, 3.25rem); line-height: 1.1; letter-spacing: var(--tracking-display); transition: transform 600ms var(--ease-out); }
.dir-h { font-size: var(--text-md); color: var(--color-muted); }
.dir .ico--go { color: var(--color-accent); transition: transform 500ms var(--ease-out); }
.dir a:hover .dir-t { transform: translateX(16px); }
.dir a:hover .ico--go { transform: translateX(8px); }
@media (max-width: 48rem) { .dir a { grid-template-columns: 2.25rem minmax(0, 1fr) auto; row-gap: var(--space-2xs); } .dir-h { grid-column: 2; grid-row: 2; } .dir .ico--go { grid-column: 3; grid-row: 1; } }

/* insights: a gold curtain draws off each card as it arrives */
.curtain .cardlist > li { position: relative; overflow: clip; }
.curtain .cardlist > li::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--color-action) var(--gold-fill); transform: scaleX(0); transform-origin: right center; }
.js.moving .curtain .cardlist > li.rv { opacity: 1; transform: none; }
.js.moving .curtain .cardlist > li.rv::after { transform: scaleX(1); }
.js.moving .curtain .cardlist > li.rv.in::after { transform: scaleX(0); transition: transform 1000ms var(--ease-in-out) calc(var(--d, 0ms) * 2 + 250ms); }

/* questions: a gold rule draws under the open question and its answer settles in */
.faq details { position: relative; }
.faq details::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--color-action) var(--gold-fill); transform: scaleX(0); transform-origin: left center; transition: transform 700ms var(--ease-out); }
.faq details[open]::after { transform: none; }
.faq details[open] summary { color: var(--color-accent); }
.faq details[open] summary::after { border-color: var(--color-accent); }
.js.moving .faq details[open] .answer { animation: faqIn 600ms var(--ease-out) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-10px); } }

/* book: a gold line climbs the steps as the form advances, and each step's panel slides in */
.sch-steps li { position: relative; }
.sch-steps li::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--color-action); transform: scaleY(0); transform-origin: top center; transition: transform 500ms var(--ease-out); }
.sch-steps li.done::before, .sch-steps li.current::before { transform: none; }
.sch-steps li.current { transform: translateX(6px); transition: transform 400ms var(--ease-out), color var(--dur-short) var(--ease-out); }
.js.moving [data-stage] > * { animation: stepIn 500ms var(--ease-out) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }

@media (prefers-reduced-motion: reduce) {
  .dir a::after, .faq details::after, .sch-steps li::before, .dir-t, .dir .ico--go { transition: none; }
  .dir a:hover .dir-t, .dir a:hover .ico--go, .sch-steps li.current { transform: none; }
}

/* ---------- v4.9: page heads with an animated scene, after the service pages at xpnmarketing.com ---------- */
.page-head--scene { padding-block: var(--space-2xl) var(--space-3xl); }
.page-head--scene .ph-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; margin-top: var(--space-lg); }
.page-head--scene h1 { font-size: var(--text-display); max-width: 14ch; overflow-wrap: break-word; min-width: 0; }
.page-head--scene .lead { max-width: 40ch; margin-top: var(--space-md); }
.page-head--scene .actions { margin-top: var(--space-xl); }
@media (max-width: 60rem) { .page-head--scene .ph-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

.scene { margin: 0; min-width: 0; border-radius: calc(var(--radius-card) * 2); overflow: clip; background: var(--scene-bg); box-shadow: var(--shadow-pop); }
.scene svg { display: block; width: 100%; height: auto; }
.sc-gridl { fill: none; stroke: var(--scene-grid); stroke-width: 1; }
.sc-card { fill: var(--scene-card); }
.sc-pill, .sc-qb, .sc-row { fill: var(--scene-card-2); }
.sc-ab, .sc-note, .sc-day { fill: var(--scene-card); }
.sc-day { stroke: var(--scene-skel); stroke-width: 1; }
.sc-slot { fill: var(--scene-panel); stroke: var(--scene-line); stroke-width: 1.5; }
.sc-gold, .sc-goldf { fill: var(--gold-500); }
.sc-goldsoft { fill: var(--scene-gold-soft); }
.sc-hl { fill: var(--scene-gold-soft); stroke: var(--gold-500); stroke-width: 2; }
.sc-hilite { fill: var(--scene-hilite); }
.sc-track { fill: var(--scene-skel); }
.sc-skel { fill: var(--scene-skel); }
.sc-dim { fill: var(--scene-dim); }
.sc-inkf { fill: var(--scene-ink); }
.sc-tag { fill: var(--scene-card-2); }
.sc-tagd { fill: none; stroke: var(--scene-line); stroke-width: 1.5; }
.sc-tick { fill: none; stroke: var(--scene-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sc-hexs, .sc-hexf { stroke: none; }
.sc-blk { fill: var(--gold-500); }
.sc-blk-top { fill: #ffffff; }
.sc-rail, .sc-line, .sc-ground { fill: none; stroke: var(--gold-500); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sc-ground { stroke: var(--scene-line); }
.sc-lead { fill: none; stroke: var(--gold-450); stroke-width: 1.5; stroke-dasharray: 3 5; }
.sc-arc { fill: none; stroke-width: 18; }
.sc-arc--low { stroke: var(--scene-skel); }
.sc-arc--thin { stroke: var(--gold-300); }
.sc-arc--room { stroke: var(--gold-500); }
.sc-needle { fill: none; stroke: var(--scene-ink); stroke-width: 4; stroke-linecap: round; }
.needle { transform-box: view-box; transform-origin: 280px 280px; transform: rotate(19.4deg); }
.sc-ring0 { fill: none; stroke: var(--scene-dim); stroke-width: 1.5; }
.sc-pending { fill: none; stroke: var(--gold-500); stroke-width: 2; stroke-dasharray: 3 4; }
.sc-ringtrack { fill: none; stroke: var(--scene-line); stroke-width: 12; }
.sc-ringfill { fill: none; stroke: var(--gold-500); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0.1667; }
.sc-ripple { fill: none; stroke: var(--gold-300); stroke-width: 2; }
.sc-dot { fill: var(--scene-dim); }
.sc-cursor { fill: var(--scene-card); stroke: var(--scene-ink); stroke-width: 1.5; stroke-linejoin: round; }
.scene text { font-family: var(--font-body); }
.sc-t { font: 600 17px var(--font-display); fill: var(--scene-ink); }
.sc-q { font: 600 22px var(--font-display); fill: var(--scene-ink); }
.sc-big { font: 700 44px var(--font-display); fill: var(--scene-ink); letter-spacing: -0.02em; }
.sc-tb { font: 600 15px var(--font-display); fill: var(--scene-ink); }
.sc-pt { font-size: 15px; font-weight: 600; fill: var(--scene-ink); }
.sc-s { font-size: 13px; fill: var(--scene-muted); }
.sc-st { font-size: 12px; font-weight: 600; fill: var(--gold-700); }
.sc-stl { font-size: 12px; font-weight: 600; fill: var(--scene-dim); }
.sc-tl { font: 600 17px var(--font-display); fill: var(--scene-light); }
.sc-tg { font: 600 17px var(--font-display); fill: var(--gold-700); }
/* alternates, the typing dots, ripples and the cursor only exist while the loop runs */
.sc-alt, .rip, .cur { display: none; }
.js.moving .sc-alt, .js.moving .rip, .js.moving .cur { display: inline; }
.js.moving .scene .a { animation-duration: var(--dur, 10s); animation-iteration-count: infinite; animation-timing-function: var(--ease-out); animation-fill-mode: both; transform-box: fill-box; transform-origin: center; }
.js.moving .scene .ol { transform-origin: left center; }
.js.moving .scene .ob { transform-origin: center bottom; }
.js.moving .scene .needle { transform-box: view-box; transform-origin: 280px 280px; animation-timing-function: var(--ease-in-out); }
.js.moving .scene .cur { transform-box: view-box; transform-origin: 0 0; animation-timing-function: var(--ease-in-out); }
.js.moving .scene .d { stroke-dasharray: 1; }
.js.moving .scene .sc-lead.d { stroke-dasharray: 1; }
.js.moving .scene .sc-dot { animation: dotHop 900ms var(--ease-in-out) infinite; transform-box: fill-box; }
@keyframes dotHop { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }
.js.moving .scene:not(.play) .a, .js.moving .scene:not(.play) .sc-dot { animation-play-state: paused; }

/* ---------- v5.0: landing page calls to action ---------- */
.factband { padding-block: var(--space-xl); border-block: 1px solid var(--color-rule); }
.fb-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
.fb-list li { display: grid; gap: var(--space-2xs); padding-left: var(--space-md); border-left: 2px solid var(--color-accent); }
.fb-list b { font: 600 var(--text-xl)/1.2 var(--font-display); color: var(--color-ink); }
.fb-list span { font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .fb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-steps { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); counter-reset: none; }
.lp-steps li { display: grid; gap: var(--space-xs); align-content: start; padding-top: var(--space-lg); border-top: 2px solid var(--color-action); }
.ls-n { font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); }
.lp-steps h3 { font-size: var(--text-title); }
@media (max-width: 48rem) { .lp-steps { grid-template-columns: minmax(0, 1fr); } }
.lp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); margin-top: var(--space-xl); }
.lp-alt { margin-top: var(--space-lg); font-size: var(--text-sm); }
.lp-sticky { display: none; }
@media (max-width: 48rem) {
  .lp-sticky { position: fixed; z-index: calc(var(--z-toast) - 1); left: 0; right: 0; bottom: 0; display: flex; gap: var(--space-sm); padding: var(--space-sm) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom, 0px)); background: var(--color-paper); border-top: 1px solid var(--color-rule); box-shadow: var(--shadow-pop); transition: transform 400ms var(--ease-out); }
  .lp-sticky .btn--primary { flex: 1; justify-content: center; }
  .js .lp-sticky:not(.on) { transform: translateY(110%); }
}
@media (prefers-reduced-motion: reduce) { .lp-sticky { transition: none; } }
@media (max-width: 48rem) { body:has(.lp-sticky) .site-footer { padding-bottom: calc(var(--space-3xl) + env(safe-area-inset-bottom, 0px)); } }

/* ---------- v5.1: the logo moves ---------- */
/* v7: a gold line traces the shield, the gold fills it from the bottom up, the F rises and the name settles.
   It plays once and then stays still. On hover a light runs once around the edge of the shield. */
.wm-w, .wm-tag { display: inline-block; }
.wm-shield, .wm-f { transform-box: fill-box; transform-origin: 50% 100%; }
.wm-line { fill: none; stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 0; }
.wm-trace { fill: none; stroke: #f3dc9a; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 0.16 0.84; stroke-dashoffset: 1; opacity: 0; }
.js.moving .site-header .wm-line { animation: wmLine 1000ms var(--ease-in-out) both; }
.js.moving .site-header .wm-shield { animation: wmFill 700ms var(--ease-out) 750ms both; }
.js.moving .site-header .wm-f { animation: wmF 600ms var(--ease-out) 1150ms both; }
.js.moving .site-header .wm-w { animation: wmIn 700ms var(--ease-out) 900ms both; }
.js.moving .site-header .wm-w + .wm-w { animation-delay: 1000ms; }
.js.moving .site-header .wm-tag { animation: wmTag 800ms var(--ease-out) 1250ms both; }
.js.moving .wordmark:hover .wm-trace, .js.moving .wordmark:focus-visible .wm-trace { animation: wmTrace 1100ms var(--ease-in-out) both; }
@keyframes wmLine { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes wmFill { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wmF { from { opacity: 0; transform: translateY(10%); } to { opacity: 1; transform: none; } }
@keyframes wmTrace { 0% { opacity: 0; stroke-dashoffset: 1; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes wmIn { from { opacity: 0; transform: translateY(0.45em); } to { opacity: 1; transform: none; } }
@keyframes wmTag { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* ---------- v5.1: the booking pill in the header, built like the live competitor-analysis pill at xpnmarketing.com ---------- */
.live-cta { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border-radius: 999px; background: var(--color-signal-soft); box-shadow: inset 0 0 0 1.5px var(--glow-ring); color: var(--color-accent); font: 700 var(--text-sm)/1 var(--font-body); white-space: nowrap; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.live-cta:hover { background: var(--color-action); color: var(--color-action-ink); }
.live-cta:active { transform: scale(0.97); }
.live-cta:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.live-dot { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold-500); opacity: 0; }
.live-cta:hover .live-dot, .live-cta:hover .live-dot::after { background: var(--color-action-ink); }
.lc-short { display: none; }
.js.moving .live-dot::after { animation: livePing 2s ease-out infinite; }
@keyframes livePing { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
@media (max-width: 30rem) {
  .site-header .container { gap: var(--space-sm); }
  .site-header .live-cta.header-cta { display: inline-flex; margin-left: auto; padding: 0 var(--space-sm); }
  .site-header .live-cta ~ .menu-btn { margin-left: 0; }
  .lc-long { display: none; } .lc-short { display: inline; }
}
/* every primary booking button breathes the same gold */
.btn--primary[href*="book"], .btn--ink.btn--glow, .live-cta { position: relative; isolation: isolate; }
.btn--primary[href*="book"]::before, .btn--ink.btn--glow::before, .live-cta::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0.35; }
.btn--primary[href*="book"]::before { box-shadow: 0 0 0 5px var(--color-signal-soft), 0 0 28px var(--glow-2); }
.btn--ink.btn--glow::before { box-shadow: 0 0 0 5px var(--ink-glow-1), 0 10px 28px var(--ink-glow-2); }
.live-cta::before { box-shadow: 0 0 18px var(--glow-2); }
.js.moving .btn--primary[href*="book"]::before, .js.moving .btn--ink.btn--glow::before, .js.moving .live-cta::before { animation: glowPulse 2.6s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ---------- v5.1: the close, a full-bleed gold band with three calendar pages ---------- */
.cl { position: relative; overflow: clip; padding-block: var(--section-gap); background: var(--gold-500) var(--gold-fill); color: var(--ink-900); }
.cl::before { content: ""; position: absolute; inset: 0; background: var(--sheen); transform: translateX(-100%); pointer-events: none; }
.js.moving .cl.rv { opacity: 1; transform: none; }
.js.moving .cl.play::before { animation: clSheen 7s var(--ease-in-out) 600ms infinite; }
@keyframes clSheen { 0% { transform: translateX(-100%); } 28%, 100% { transform: translateX(100%); } }
.cl-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.cl h2 { max-width: 15ch; font-size: var(--text-display); color: var(--ink-900); }
.cl-lead { margin: var(--space-lg) 0 0; max-width: 40ch; font-size: var(--text-lg); color: var(--ink-900); }
.cl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xl); }
.btn--ink { background: var(--ink-900); border-color: var(--ink-900); color: var(--ivory-50); }
.btn--ink:hover { background: var(--ink-850); border-color: var(--ink-850); color: var(--gold-300); }
.btn--ink:focus-visible, .cl-mail:focus-visible, .cl-days a:focus-visible { outline: 3px solid var(--ink-900); outline-offset: 3px; }
.btn--ink .ico--go { transition: transform 400ms var(--ease-out); }
.btn--ink:hover .ico--go { transform: translateX(5px); }
.cl-mail { color: var(--ink-900); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.cl-mail:hover { text-decoration-thickness: 2px; }
.cl-label { margin: 0 0 var(--space-sm); font-size: var(--text-sm); font-weight: 600; color: var(--ink-900); }
.cl-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); perspective: 900px; }
.cl-days li:only-child { grid-column: 1 / -1; }
.cl-days a { display: grid; grid-template-rows: auto 1fr auto; min-height: 210px; border-radius: var(--radius-card); overflow: clip; background: var(--ivory-50); color: var(--ink-900); text-decoration: none; box-shadow: 0 1px 0 var(--ink-glow-1), 0 16px 32px -16px var(--ink-glow-2); transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out); }
.cl-days a:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--ink-glow-1), 0 26px 40px -18px var(--ink-glow-2); }
.cd-top { display: flex; justify-content: space-between; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); background: var(--ink-900); color: var(--gold-300); font-size: var(--text-sm); font-weight: 600; }
.cd-n { display: grid; place-items: center; padding-block: var(--space-sm); font: 600 clamp(3rem, 2.4vw + 1.75rem, 4.5rem)/1 var(--font-display); letter-spacing: -0.03em; }
.cd-n .ico { width: 44px; height: 44px; color: var(--gold-700); }
.cd-t { padding: var(--space-xs) var(--space-sm) var(--space-sm); border-top: 1px dashed var(--color-rule); font-size: var(--text-sm); color: var(--color-ink-2); }
.cd-t .measure { font-weight: 700; color: var(--gold-700); }
.js.moving .cl-days li { transform-origin: 50% 0; }
.js.moving .cl:not(.in) .cl-days li { opacity: 0; }
.js.moving .cl.in .cl-days li { animation: flipDown 900ms var(--ease-out) calc(450ms + var(--i, 0) * 170ms) both; }
@keyframes flipDown { from { opacity: 0; transform: rotateX(-90deg); } 55% { opacity: 1; } to { opacity: 1; transform: none; } }
@media (max-width: 60rem) { .cl-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: start; } .cl-days a { min-height: 168px; } }
@media (max-width: 30rem) { .cd-top { flex-direction: column; gap: 0; } .cd-t { font-size: var(--text-xs); } }

/* ---------- v5.1: each directory row loops its own page's idea ---------- */
.dir a { grid-template-columns: 3.5rem minmax(0, 1.1fr) 120px minmax(0, 1fr) auto; }
.dir-g { width: 120px; height: 72px; overflow: visible; }
.g-ln { fill: none; stroke: var(--gold-500); stroke-width: 1.5; }
.g-dot, .g-hexf, .g-goldb, .g-goldt, .g-fill, .g-lit { fill: var(--gold-500); }
.g-bar, .g-track, .g-line { fill: var(--color-rule); }
.g-thr { fill: none; stroke: var(--ink-900); stroke-width: 1.25; stroke-dasharray: 4 4; }
.g-tile, .g-box { fill: none; stroke: var(--gold-500); stroke-width: 1.5; }
.g-bar.g-goldb, .g-tile.g-goldt { fill: var(--gold-500); }
.g-tick { fill: none; stroke: var(--ink-900); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
/* v7: each drawing plays once, the first time it scrolls into view, then stays drawn. No looping, no fading out,
   and no restart when it scrolls away and back. Before the script runs it rests fully drawn, never blank. */
.dir-g .g-draw { stroke-dasharray: 1; }
.dir-g .g-pop, .dir-g .g-grow, .dir-g .g-shut, .dir-g .g-wide { transform-box: fill-box; }
.js.moving .dir-g:not(.play) .g-draw { stroke-dashoffset: 1; }
.js.moving .dir-g:not(.play) .g-pop { opacity: 0; }
.js.moving .dir-g:not(.play) .g-grow, .js.moving .dir-g:not(.play) .g-shut { transform: scaleY(0); }
.js.moving .dir-g:not(.play) .g-wide { transform: scaleX(0); }
.js.moving .dir-g.play .g-draw { animation: gDraw 900ms var(--ease-in-out) calc(var(--i, 0) * 110ms + 150ms) both; }
.js.moving .dir-g.play .g-pop { transform-origin: center; animation: gPop 520ms var(--ease-out) calc(var(--i, 0) * 110ms + 400ms) both; }
.js.moving .dir-g.play .g-grow { transform-origin: 50% 100%; animation: gGrowY 700ms var(--ease-out) calc(var(--i, 0) * 110ms + 150ms) both; }
.js.moving .dir-g.play .g-shut { transform-origin: 50% 0; animation: gGrowY 700ms var(--ease-out) calc(var(--i, 0) * 110ms + 150ms) both; }
.js.moving .dir-g.play .g-wide { transform-origin: 0 50%; animation: gGrowX 800ms var(--ease-out) calc(var(--i, 1) * 140ms + 150ms) both; }
@keyframes gDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes gPop { 0% { transform: scale(0); opacity: 0; } 65% { transform: scale(1.12); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes gGrowY { from { transform: scaleY(0); } to { transform: none; } }
@keyframes gGrowX { from { transform: scaleX(0); } to { transform: none; } }
@media (max-width: 64rem) { .dir a { grid-template-columns: 3rem minmax(0, 1.1fr) 96px minmax(0, 1fr) auto; } .dir-g { width: 96px; height: 58px; } }
@media (max-width: 48rem) {
  .dir a { grid-template-columns: 2.25rem minmax(0, 1fr) 84px; }
  .dir-g { grid-column: 3; grid-row: 1 / span 2; width: 84px; height: 50px; }
  .dir .ico--go { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js.moving .site-header .wm-shield, .js.moving .site-header .wm-f, .js.moving .site-header .wm-line, .js.moving .wordmark:hover .wm-trace, .js.moving .wordmark:focus-visible .wm-trace, .js.moving .site-header .wm-w, .js.moving .site-header .wm-tag,
  .js.moving .live-dot::after, .js.moving .btn--primary[href*="book"]::before, .js.moving .btn--ink.btn--glow::before, .js.moving .live-cta::before,
  .js.moving .cl.play::before, .js.moving .cl.in .cl-days li,
  .js.moving .dir-g.play .g-draw, .js.moving .dir-g.play .g-pop, .js.moving .dir-g.play .g-grow, .js.moving .dir-g.play .g-shut, .js.moving .dir-g.play .g-wide { animation: none; }
  .js.moving .cl:not(.in) .cl-days li { opacity: 1; }
  .cl-days a, .live-cta { transition: none; }
}

/* ---------- v5.1: the header speaks in the brand face (Syne), wide and confident; the page below stays Lexend and Source Sans ---------- */
.nav a { position: relative; font-family: var(--font-brand); font-size: var(--text-md); font-weight: 600; letter-spacing: 0; border-bottom: 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-action) var(--gold-fill); transform: scaleX(0); transform-origin: right center; transition: transform 450ms var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: none; transform-origin: left center; }
.live-cta { font-family: var(--font-brand); font-weight: 700; font-size: var(--text-md); }
.menu-btn { font-family: var(--font-brand); }
@media (prefers-reduced-motion: reduce) { .nav a::after { transition: none; } }
@media (max-width: 30rem) { .wm-name { font-size: 1.1875rem; } .wm-tag { font-size: 0.4375rem; letter-spacing: 0.1em; } .wm-text { gap: 5px; } .wm-mark { width: 28px; height: 35px; } .wordmark { gap: var(--space-xs); } .site-header .container { gap: var(--space-xs); } .menu-btn { padding: 0 var(--space-sm); } }

/* ---------- v5.2: the phone menu is a full sheet under the header; every page in it carries its own looping drawing ---------- */
@media (max-width: 64rem) {
  .menu-open .mobile-nav { display: block; position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); bottom: 0; z-index: var(--z-sticky-nav); overflow-y: auto; overscroll-behavior: contain; background: var(--color-paper); border-top: 1px solid var(--color-rule-2); }
}
.mn-inner { width: min(100%, var(--container)); margin-inline: auto; padding: var(--space-xs) var(--gutter) calc(var(--space-xl) + env(safe-area-inset-bottom, 0px)); }
.mn-list { list-style: none; margin: 0; padding: 0; }
.mn-list a { display: grid; grid-template-columns: 2rem minmax(0, 1fr) 84px; align-items: center; gap: var(--space-sm); min-height: 64px; padding-block: var(--space-xs); border-bottom: 1px solid var(--color-rule-2); color: var(--color-ink); text-decoration: none; font: 600 var(--text-xl)/1.15 var(--font-brand); }
.mn-list a[aria-current="page"] .mn-t { color: var(--color-accent); }
.mn-list a:active { background: var(--color-paper-2); }
.mn-n { font: 600 var(--text-sm)/1 var(--font-body); color: var(--color-accent); }
.mn-t { min-width: 0; overflow-wrap: break-word; padding-top: 0.2em; }
.mn-list .dir-g { width: 84px; height: 50px; justify-self: end; }
.mn-foot { margin: var(--space-lg) 0 0; font-size: var(--text-md); color: var(--color-muted); }
.g-hl { fill: var(--scene-hilite); }
.js.moving.menu-open .mn-list li { animation: mnIn 520ms var(--ease-out) calc(var(--i, 0) * 55ms) both; }
@keyframes mnIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js.moving.menu-open .mn-list li { animation: none; } }
@media (max-width: 22rem) { .site-header .live-cta.header-cta { display: none; } .site-header .live-cta ~ .menu-btn { margin-left: auto; } }

/* ---------- v5.2: hero industry tabs, each with its own tiny loop ---------- */
.slide-cap a { display: inline-flex; align-items: center; gap: var(--space-xs); }
.tab-ico { flex: none; width: 28px; height: 22px; overflow: visible; color: var(--color-accent); }
.tab-ico .ti-a, .tab-ico .ti-w { fill: currentColor; }
.tab-ico .ti-l, .tab-ico .ti-s { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tab-ico .ti-t { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-dasharray: 2.4 3.1; }
.tab-ico .ti-road { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 4 3; stroke-linecap: round; }
.js.moving .tab-ico .ti-a { transform-box: fill-box; transform-origin: 50% 100%; animation: tiStack 3.2s var(--ease-out) calc(var(--i) * 260ms) infinite both; }
.js.moving .tab-ico .ti-s { animation: tiSteam 2.4s var(--ease-out) calc(var(--i) * 600ms) infinite both; }
.js.moving .tab-ico .ti-g { transform-box: fill-box; transform-origin: center; animation: tiTurn 4s linear infinite; }
.js.moving .tab-ico .ti-road { animation: tiRoad 700ms linear infinite; }
.js.moving .tab-ico .ti-w { transform-box: fill-box; transform-origin: center; animation: tiBump 700ms ease-in-out infinite; }
@keyframes tiStack { 0% { opacity: 0; transform: translateY(-8px); } 14% { opacity: 1; transform: none; } 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
@keyframes tiSteam { 0% { opacity: 0; transform: translateY(3px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes tiTurn { to { transform: rotate(360deg); } }
@keyframes tiRoad { to { stroke-dashoffset: 7; } }
@keyframes tiBump { 50% { transform: translateY(-0.6px); } }
@media (prefers-reduced-motion: reduce) { .js.moving .tab-ico .ti-a, .js.moving .tab-ico .ti-s, .js.moving .tab-ico .ti-g, .js.moving .tab-ico .ti-road, .js.moving .tab-ico .ti-w { animation: none; } }

/* the agency credit, quiet, at the foot */
.disclosure .powered { margin-top: var(--space-sm); }
.disclosure .powered a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.disclosure .powered a:hover { color: var(--color-accent); }
.disclosure .powered a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* ---------- v5.2: steadier motion on every device ---------- */
/* before motion.js runs, anything it will reveal is already held back, so nothing flashes then hides */
.js.moving .reveal:not(.rv), .js.moving [data-stagger] > :not(.rv), .js.moving [data-split]:not(.is-split) { opacity: 0; }
/* hero tab icons rest while the hero is off screen */
.js.moving .slide-cap:not(.play) .tab-ico * { animation-play-state: paused; }
/* on touch screens a tap must not leave a hover state stuck on */
@media (hover: none) {
  .dir a:hover .dir-t, .dir a:hover .ico--go, .btn:hover .ico--go, .btn--ink:hover .ico--go { transform: none; }
  .dir a:hover::after { transform: scaleX(0); }
  .cl-days a:hover { transform: none; box-shadow: 0 1px 0 var(--ink-glow-1), 0 16px 32px -16px var(--ink-glow-2); }
  .mosaic .tile:hover .photo > img { --s: 1; }
  .btn--primary:hover { background: var(--color-action) var(--gold-fill); }
  .live-cta:hover { background: var(--color-signal-soft); color: var(--color-accent); }
}
/* the calculator's verdict keeps one height while it plays, so the page below it never jumps */
.calc .verdict { align-content: start; }

/* ---------- v6: the client's reference pattern (clean split hero, start card, facts band, steps, paths, cards) ---------- */
/* one clean sans below the header, set heavy and tight like the reference; Syne stays on the brand and nav */
h1, h2 { font-weight: 800; letter-spacing: -0.035em; }
h3 { font-weight: 700; letter-spacing: -0.01em; }
.section-head h2::before, .method-aside h2::before, .split h2::before, .hub-copy h2::before, .scan-copy h2::before { height: 3px; border-radius: 2px; width: 40px; }
.btn { border-radius: var(--radius-ctl); }
.btn--block { display: flex; width: 100%; }
.btn--line { border-color: var(--color-rule); background: var(--color-paper); }
.btn--line:hover { border-color: var(--color-ink); }

/* live strip under the header */
.strip { background: var(--ink-900); border-bottom: 1px solid var(--ink-850); }
.strip-in { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xl); min-height: 44px; padding-block: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); text-align: center; }
.strip b { color: var(--color-ink); font-weight: 700; }
.strip-live { display: inline-flex; align-items: center; gap: var(--space-xs); font-weight: 700; color: var(--gold-300); }
@media (max-width: 40rem) {
  .strip-x { display: none; }
  /* one fixed row on phones, so filling in the next open time never changes the strip height */
  .strip-in { flex-wrap: nowrap; gap: var(--space-xs); font-size: var(--text-xs); white-space: nowrap; }
  .strip-live { font-size: 0; gap: 0; }
  .strip-in > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

/* hero: copy left, a start card right, on a soft ivory field */
.hero6 { position: relative; background: radial-gradient(1200px 520px at 85% 30%, rgb(201 161 74 / 0.12), transparent 70%), var(--ivory-50); border-bottom: 1px solid var(--color-rule-2); overflow: clip; }
.hero6-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: var(--space-3xl); align-items: center; padding-block: clamp(56px, 7vw, 112px); }
.pill-tag { display: inline-flex; align-items: center; gap: var(--space-xs); margin: 0 0 var(--space-lg); padding: 6px 14px 6px 12px; border: 1px solid rgb(201 161 74 / 0.4); border-radius: var(--radius-pill); background: rgb(255 255 255 / 0.7); font-size: var(--text-sm); font-weight: 600; color: var(--gold-800); }
.hero6 h1 { font-size: clamp(2.6rem, 3.4vw + 1rem, 4.25rem); line-height: 1.04; max-width: 14ch; }
.hero6 h1 .gold { color: var(--color-accent); }
.hero6 .lead { margin-top: var(--space-lg); max-width: 44ch; color: var(--color-ink-2); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-xl) 0 0; padding: 0; max-width: 620px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--white); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.chips .ico { width: 18px; height: 18px; color: var(--color-accent); }
.hero6-actions { margin-top: var(--space-xl); gap: var(--space-sm); }
.hero6-copy > * { animation: up 700ms var(--ease-out) both; }
.hero6-copy > :nth-child(2) { animation-delay: 80ms; } .hero6-copy > :nth-child(3) { animation-delay: 160ms; } .hero6-copy > :nth-child(4) { animation-delay: 240ms; } .hero6-copy > :nth-child(5) { animation-delay: 320ms; }

.start-card { position: relative; display: grid; gap: var(--space-md); padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--color-rule); border-radius: 18px; background: var(--white); box-shadow: 0 0 0 8px rgb(201 161 74 / 0.08), var(--shadow-pop); animation: up 800ms 240ms var(--ease-out) both; }
.sc-tag { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: 700; color: var(--gold-800); }
.sc-tag .ico { width: 18px; height: 18px; }
.sc-h { font-size: clamp(1.5rem, 1vw + 1rem, 1.875rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 18ch; }
.sc-h .gold { color: var(--color-accent); }
.sc-p { font-size: var(--text-sm); color: var(--color-muted); max-width: 42ch; }
.sc-q { list-style: none; margin: var(--space-2xs) 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
.sc-q li { display: flex; align-items: center; gap: var(--space-xs); min-height: 40px; padding: 0 var(--space-sm); border-radius: 10px; background: var(--ivory-50); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.sc-n { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 1px solid var(--color-rule); font-size: 0.75rem; font-weight: 700; color: var(--gold-800); }
.sc-alt { justify-self: center; font-size: var(--text-sm); color: var(--color-muted); }
/* the six topics tick themselves off in turn, then rest, as if the check were being taken */
.js.moving .sc-q li { animation: scTick 7s var(--ease-out) calc(1.2s + var(--i) * 0.45s) infinite both; }
.js.moving .sc-q li .sc-n { animation: scTickN 7s var(--ease-out) calc(1.2s + var(--i) * 0.45s) infinite both; }
@keyframes scTick { 0%, 4% { background: var(--ivory-50); } 8%, 70% { background: rgb(201 161 74 / 0.16); } 80%, 100% { background: var(--ivory-50); } }
@keyframes scTickN { 0%, 4% { background: var(--white); color: var(--gold-800); border-color: var(--color-rule); } 8%, 70% { background: var(--gold-500); color: var(--ink-900); border-color: var(--gold-500); } 80%, 100% { background: var(--white); color: var(--gold-800); border-color: var(--color-rule); } }

/* facts band */
.fxband { background: var(--ink-900); }
.facts-row { list-style: none; margin: 0; padding: var(--space-2xl) 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-lg); text-align: center; }
.facts-row li { display: grid; gap: var(--space-2xs); justify-items: center; }
.fx-n { display: inline-flex; align-items: baseline; gap: 4px; font: 800 clamp(2.25rem, 2.4vw + 1rem, 3.25rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--white); }
.fx-u { font-size: 0.45em; font-weight: 700; letter-spacing: 0; color: var(--gold-300); }
.fx-l { font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .facts-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-xl); } }
@media (max-width: 30rem) { .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts-row li:last-child { grid-column: 1 / -1; } }

/* centred heads like the reference, each with its accent phrase in gold */
.head6 { display: grid; justify-items: center; gap: var(--space-md); text-align: center; margin: 0 auto var(--space-2xl); max-width: 760px; }
.head6 h2 { font-size: clamp(2rem, 2vw + 1rem, 3rem); line-height: 1.08; max-width: 20ch; }
.head6 h2 .gold { color: var(--color-accent); }
.head6 .lead { color: var(--color-muted); max-width: 52ch; }

/* three steps with a connecting rule that draws in */
.steps6 { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.steps6 li { position: relative; display: grid; align-content: start; gap: var(--space-sm); padding: var(--space-xl); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-soft); }
.st-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-xs); border-radius: 50%; background: var(--color-action) var(--gold-fill); color: var(--ink-900); font-weight: 800; }
.steps6 li:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--space-xl) + 21px); left: calc(100% + 1px); width: calc(var(--space-lg) - 2px); border-top: 2px dashed rgb(201 161 74 / 0.6); transform-origin: 0 50%; }
.js.moving .steps6 li:not(:last-child)::after { transform: scaleX(0); transition: transform 600ms var(--ease-out) calc(var(--i) * 180ms + 400ms); }
.js.moving .steps6 li.in:not(:last-child)::after { transform: scaleX(1); }
.steps6 p { font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .steps6 { grid-template-columns: minmax(0, 1fr); } .steps6 li:not(:last-child)::after { display: none; } }

/* which one sounds like you: four path cards, each with its own small loop */
.paths { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.paths a { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-sm); padding: var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--white); color: inherit; text-decoration: none; box-shadow: var(--shadow-soft); transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.paths a:hover { transform: translateY(-3px); border-color: rgb(201 161 74 / 0.6); box-shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 20px 40px -20px rgb(15 23 42 / 0.28); }
.paths a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.pa-g { display: grid; place-items: center; height: 104px; margin-bottom: var(--space-xs); border-radius: 10px; background: var(--ivory-50); }
.pa-g .dir-g { width: 140px; height: 84px; }
.paths h3 { font-size: var(--text-lg); line-height: 1.25; }
.paths p { font-size: var(--text-sm); color: var(--color-muted); }
.pa-go { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-xs); font-size: var(--text-sm); font-weight: 700; color: var(--color-accent); }
.pa-go .ico { width: 18px; height: 18px; transition: transform var(--dur-short) var(--ease-out); }
.paths a:hover .pa-go .ico { transform: translateX(3px); }
@media (max-width: 64rem) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .paths { grid-template-columns: minmax(0, 1fr); } }

/* why: two columns of icon rows */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); max-width: 1040px; margin-inline: auto; }
.why li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-md); align-items: start; padding: var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--white); }
.why-i { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; background: rgb(201 161 74 / 0.14); color: var(--gold-800); }
.why-i .ico { width: 22px; height: 22px; }
.why h3 { font-size: var(--text-md); }
.why p { margin-top: 4px; font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 48rem) { .why { grid-template-columns: minmax(0, 1fr); } }

/* what we structure: cards that open on tap */
.struct { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); align-items: start; }
.struct details { border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--white); transition: border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.struct details[open] { border-color: rgb(201 161 74 / 0.6); box-shadow: var(--shadow-soft); }
.struct summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; padding: var(--space-lg); cursor: pointer; list-style: none; border-radius: var(--radius-card); }
.struct summary::-webkit-details-marker { display: none; }
.struct summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.su-t { display: grid; gap: 2px; }
.su-h { font: 700 var(--text-md)/1.25 var(--font-display); color: var(--color-ink); }
.su-k { font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); }
.su-plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--color-rule); color: var(--color-muted); transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.su-plus .ico { width: 16px; height: 16px; }
.struct summary:hover .su-plus { background: var(--ivory-50); }
.struct details[open] .su-plus { transform: rotate(45deg); background: var(--gold-500); border-color: var(--gold-500); color: var(--ink-900); }
.struct details p { padding: 0 var(--space-lg) var(--space-lg) calc(var(--space-lg) + 44px + var(--space-md)); font-size: var(--text-sm); color: var(--color-muted); }
.js.moving .struct details[open] p { animation: up 360ms var(--ease-out) both; }
@media (max-width: 64rem) { .struct { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .struct { grid-template-columns: minmax(0, 1fr); } .struct details p { padding-left: var(--space-lg); } }

/* the dark offer panel under the cards */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-lg) var(--space-2xl); align-items: center; margin-top: var(--space-2xl); padding: clamp(24px, 3vw, 40px); border-radius: 18px; background: radial-gradient(600px 240px at 100% 0%, rgb(201 161 74 / 0.22), transparent 70%), var(--ink-900); }
.offer h3 { font-size: clamp(1.375rem, 0.8vw + 1rem, 1.75rem); letter-spacing: -0.02em; }
.offer p { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); max-width: 56ch; }
@media (max-width: 48rem) { .offer { grid-template-columns: minmax(0, 1fr); } .offer .btn { justify-self: start; } }

/* FAQ: a narrow centred column of cards */
.faq6 { max-width: 860px; }
.faq6 .faq { border-top: 0; display: grid; gap: var(--space-sm); }
.faq6 .faq details { border: 1px solid var(--color-rule); border-radius: 12px; background: var(--white); padding-inline: var(--space-lg); }
.faq6 .faq details[open] { border-color: rgb(201 161 74 / 0.6); }
.faq6 .faq summary { font-size: var(--text-md); padding-block: var(--space-md); }

@media (max-width: 60rem) {
  .hero6-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .start-card { max-width: 560px; }
}
@media (max-width: 30rem) { .sc-q { grid-template-columns: minmax(0, 1fr); } .chips li { font-size: 0.8125rem; } }
@media (prefers-reduced-motion: reduce) {
  .hero6-copy > *, .start-card { animation: none; }
  .js.moving .sc-q li, .js.moving .sc-q li .sc-n { animation: none; }
  .js.moving .steps6 li:not(:last-child)::after { transform: none; transition: none; }
  .paths a, .paths a:hover { transform: none; }
}

/* ---------- v6.1: hero fit check (one question per step) ---------- */
.qual { align-content: start; }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.q-count { font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.q-bar { height: 4px; margin-top: calc(-1 * var(--space-2xs)); border-radius: var(--radius-pill); background: var(--ivory-100); overflow: hidden; }
.q-bar i { display: block; height: 100%; background: var(--gold-fill); transform: scaleX(0.04); transform-origin: left center; transition: transform 520ms var(--ease-out); }
.q-stage { display: grid; gap: var(--space-md); }
.q-step { display: grid; gap: var(--space-md); align-content: start; min-width: 0; animation: qIn 420ms var(--ease-out) both; }
.q-step[data-dir="-1"] { animation-name: qBack; }
@keyframes qIn { from { opacity: 0; transform: translateX(18px); } }
@keyframes qBack { from { opacity: 0; transform: translateX(-18px); } }
.q-h { max-width: 22ch; font-size: clamp(1.375rem, 0.8vw + 1rem, 1.625rem); }
.q-h:focus { outline: none; }
.q-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
.q-opts--odd .q-opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
.q-opt { min-height: 56px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-rule); border-radius: 12px; background: var(--white); color: var(--color-ink); font: 600 var(--text-sm)/1.3 var(--font-body); text-align: left; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); animation: qOpt 460ms var(--ease-out) calc(80ms + var(--i) * 45ms) both; }
@keyframes qOpt { from { opacity: 0; transform: translateY(8px); } }
.q-opt:hover { border-color: var(--gold-500); background: var(--ivory-50); }
.q-opt:active { transform: scale(0.98); }
.q-opt[aria-pressed="true"] { border-color: var(--gold-500); background: var(--color-signal-soft); box-shadow: inset 0 0 0 1px var(--gold-500); }
.q-opt:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.q-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.q-foot .back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.q-foot .back:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }
.q-foot .back .ico { width: 18px; height: 18px; }
.q-safe { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); color: var(--color-muted); }
.q-safe .ico { width: 16px; height: 16px; }
.q-ok, .q-no { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: 700; color: var(--color-success); }
.q-no { color: var(--gold-800); }
.q-ok .ico, .q-no .ico { width: 20px; height: 20px; }
.q-form { display: grid; gap: var(--space-md); min-width: 0; }
.q-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.q-fields .input { min-height: 46px; padding: 0 var(--space-sm); }
.q-form .check { font-size: var(--text-xs); }
.q-form .err:empty { display: none; }
.q-times { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.q-times a { display: flex; align-items: center; gap: var(--space-sm); min-height: 56px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: 12px; color: var(--color-ink); font-weight: 600; text-decoration: none; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); animation: qOpt 460ms var(--ease-out) calc(120ms + var(--i) * 60ms) both; }
.q-times a > span:first-child { flex: 1; min-width: 0; }
.q-times .measure { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.q-times .ico { width: 18px; height: 18px; color: var(--color-accent); }
.q-times a:hover { border-color: var(--gold-500); background: var(--ivory-50); }
.q-times a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.q-alt { justify-self: center; font-size: var(--text-sm); color: var(--color-muted); text-align: center; }
button.link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; }
.sch-notyet { display: grid; gap: var(--space-md); max-width: 560px; }
.sch-notyet .btn--block { width: auto; justify-self: start; }
@media (max-width: 22rem) { .q-opts, .q-fields { grid-template-columns: minmax(0, 1fr); } .q-opts--odd .q-opt:last-child { grid-column: auto; } }
@media (max-width: 30rem) { .q-fields { grid-template-columns: minmax(0, 1fr); } .q-safe { display: none; } }

/* ---------- v6.1: chat assistant ---------- */
.fcc { position: fixed; z-index: var(--z-modal); right: max(var(--space-md), env(safe-area-inset-right, 0px)); bottom: max(var(--space-md), env(safe-area-inset-bottom, 0px)); }
.fcc-launch { display: inline-flex; align-items: center; gap: var(--space-xs); height: 54px; padding: 0 var(--space-lg) 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--ink-900); color: var(--white); font: 700 var(--text-sm)/1 var(--font-body); cursor: pointer; box-shadow: 0 0 0 4px var(--color-signal-soft), var(--shadow-pop); opacity: 0; transform: translateY(16px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.fcc-launch .ico { width: 24px; height: 24px; color: var(--gold-300); }
.fcc-launch:hover { background: var(--ink-850); }
.fcc-launch:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.fcc.is-ready .fcc-launch { opacity: 1; transform: none; }
.fcc.is-open .fcc-launch { opacity: 0; transform: scale(0.9); pointer-events: none; }
.fcc-panel { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(400px, calc(100vw - 2 * var(--space-md))); height: min(620px, calc(100dvh - 2 * var(--space-md))); border: 1px solid var(--color-rule); border-radius: 18px; background: var(--ivory-50); box-shadow: 0 0 0 6px var(--color-signal-soft), var(--shadow-pop); overflow: hidden; transform-origin: bottom right; opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity var(--dur-short) var(--ease-out), transform 360ms var(--ease-out); }
.fcc-panel.on { opacity: 1; transform: none; }
.fcc-panel[hidden] { display: none; }
.fcc-head { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md) var(--space-sm) var(--space-md) var(--space-md); background: var(--ink-900); color: var(--white); }
.fcc-av { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--gold-fill); color: var(--ink-900); }
.fcc-av .ico { width: 20px; height: 20px; }
.fcc-id { min-width: 0; }
.fcc-id h2 { font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--white); }
.fcc-id p { font-size: var(--text-xs); color: var(--color-muted-2); }
.fcc-x { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.fcc-x:hover { background: var(--ink-850); }
.fcc-x:focus-visible { outline: 3px solid var(--gold-300); outline-offset: -3px; }
.fcc-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: var(--space-md); }
.fcc-log:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -3px; }
.fcc-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: var(--text-sm); line-height: 1.5; overflow-wrap: anywhere; animation: fccIn 300ms var(--ease-out) both; }
@keyframes fccIn { from { opacity: 0; transform: translateY(6px); } }
.fcc-msg p { color: inherit; max-width: none; }
.fcc-msg p + p { margin-top: var(--space-xs); }
.fcc-msg--bot { align-self: flex-start; border: 1px solid var(--color-rule-2); border-bottom-left-radius: 6px; background: var(--white); color: var(--color-ink); }
.fcc-msg--me { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--ink-900); color: var(--white); }
.fcc-act { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 40px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-action) var(--gold-fill); color: var(--ink-900); font: 700 var(--text-sm)/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out); }
.fcc-act .ico { width: 18px; height: 18px; }
.fcc-act:active { transform: translateY(1px); }
.fcc-act:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.fcc-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.fcc-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-muted-2); animation: fccDot 1s var(--ease-in-out) infinite; }
.fcc-typing i:nth-child(2) { animation-delay: 140ms; }
.fcc-typing i:nth-child(3) { animation-delay: 280ms; }
@keyframes fccDot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.fcc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 var(--space-md) var(--space-xs); }
.fcc-chips[hidden] { display: none; }
.fcc-chip { min-height: 36px; padding: 0 var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--white); color: var(--color-ink-2); font: 600 var(--text-xs)/1 var(--font-body); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); animation: fccIn 300ms var(--ease-out) both; }
.fcc-chip:hover { border-color: var(--gold-500); background: var(--ivory-100); }
.fcc-chip:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.fcc-form { display: flex; align-items: flex-end; gap: var(--space-xs); padding: var(--space-xs) var(--space-md) var(--space-xs); border-top: 1px solid var(--color-rule-2); background: var(--white); }
.fcc-in { flex: 1; min-width: 0; min-height: 44px; max-height: 120px; padding: 11px 14px; border: 1px solid var(--color-rule); border-radius: 22px; background: var(--ivory-50); color: var(--color-ink); font: 400 1rem/1.4 var(--font-body); resize: none; outline: 3px solid transparent; outline-offset: 1px; transition: border-color var(--dur-short) var(--ease-out); }
.fcc-in:focus-visible { outline-color: var(--color-focus); border-color: var(--color-focus); }
.fcc-send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--color-action) var(--gold-fill); color: var(--ink-900); cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.fcc-send .ico { width: 20px; height: 20px; }
.fcc-send:active { transform: scale(0.94); }
.fcc-send:disabled { opacity: 0.5; cursor: progress; }
.fcc-send:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.fcc-fine { padding: 0 var(--space-md) var(--space-sm); background: var(--white); font-size: 0.75rem; line-height: 1.4; color: var(--color-muted); }
@media (max-width: 43.75rem) {
  .fcc.is-tucked:not(.is-open) .fcc-launch { opacity: 0; transform: translateY(140%); pointer-events: none; }
}
@media (max-width: 32.5rem) {
  .fcc-launch { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .fcc-launch-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .fcc-panel { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; height: min(88svh, 680px); border-width: 1px 0 0; border-radius: 18px 18px 0 0; box-shadow: var(--shadow-pop); }
  .fcc-fine { padding-bottom: max(var(--space-sm), env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .q-step, .q-opt, .q-times a, .fcc-msg, .fcc-chip { animation: none; }
  .q-bar i, .fcc-launch, .fcc-panel { transition: none; }
  .fcc-typing i { animation: none; opacity: 0.6; }
}

/* ===================== v7 (Nov 9 client round) ===================== */
/* header phone */
.hdr-phone { display: none; align-items: center; min-height: 44px; margin-left: auto; padding: 0 var(--space-sm); color: var(--color-ink); font-weight: 700; font-size: var(--text-sm); text-decoration: none; white-space: nowrap; }
.hdr-phone:hover { color: var(--color-accent); }
.hdr-phone:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 6px; }
.hdr-phone + .header-cta { margin-left: var(--space-xs); }
@media (min-width: 72rem) { .hdr-phone { display: inline-flex; } }
.btn .ico:not(.ico--go) { width: 20px; height: 20px; }

/* strip: phone link, and the live closings ticker */
.strip-tel { color: var(--gold-300); font-weight: 700; text-decoration: none; }
.strip-tel:hover { color: var(--white); }
.strip-tel:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 2px; border-radius: 4px; }
.strip--live .strip-row { display: flex; align-items: center; gap: var(--space-lg); min-height: 44px; padding-inline: var(--space-md); overflow: clip; font-size: var(--text-sm); color: var(--color-ink-2); }
.strip--live .strip-live { flex: none; }
.strip-tick { display: flex; flex: 1; min-width: 0; overflow: clip; mask-image: linear-gradient(90deg, transparent, var(--ink-900) 6%, var(--ink-900) 94%, transparent); }
.tick-set { list-style: none; margin: 0; padding: 0 var(--space-xl) 0 0; display: flex; flex: none; gap: var(--space-2xl); white-space: nowrap; animation: tick 38s linear infinite; }
.tick-when { color: var(--color-muted); }
@keyframes tick { to { transform: translateX(-100%); } }
.strip--live:hover .tick-set { animation-play-state: paused; }

/* hero urgency line */
.hero6-urgent { display: flex; align-items: flex-start; gap: var(--space-xs); margin: var(--space-lg) 0 0; max-width: 46ch; font-weight: 600; color: var(--color-ink); }
.hero6-urgent .ico { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--color-accent); }
.hero6-urgent a { color: var(--color-accent); font-weight: 800; text-decoration: none; }
.hero6-urgent a:hover { text-decoration: underline; }
.hero6 .sc-tag span { font-weight: 700; }

/* quick qualifier: amount slider + three timing taps */
.q-amt { display: grid; gap: var(--space-xs); padding: var(--space-md); border: 1px solid var(--color-rule); border-radius: 12px; background: var(--ivory-50); }
.q-amt-v { font: 800 clamp(2rem, 1.4vw + 1.4rem, 2.6rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); }
.q-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.q-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--gold-500) calc(var(--p) * 100%), var(--color-rule) 0); }
.q-range::-moz-range-track { height: 8px; border-radius: 999px; background: var(--color-rule); }
.q-range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--gold-500); }
.q-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border: 3px solid var(--white); border-radius: 50%; background: var(--ink-900); box-shadow: 0 0 0 1px var(--gold-500), 0 4px 12px var(--ink-glow-2); }
.q-range::-moz-range-thumb { width: 22px; height: 22px; border: 3px solid var(--white); border-radius: 50%; background: var(--ink-900); box-shadow: 0 0 0 1px var(--gold-500); }
.q-range:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 8px; }
.q-amt-ends { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--color-muted); }
.q-sub { margin: var(--space-xs) 0 0; font-weight: 700; color: var(--color-ink); }
.q-opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.q-opts--3 .q-opt { text-align: center; padding-inline: var(--space-xs); }
.q-urgent { margin: var(--space-xs) 0 0; font-weight: 800; color: var(--color-ink); }
@media (max-width: 22rem) { .q-opts--3 { grid-template-columns: minmax(0, 1fr); } }

/* facts band, still */
.fxband .fx-n { font-size: clamp(1.75rem, 1.6vw + 1rem, 2.5rem); white-space: nowrap; }

/* founder */
.fo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.fo-video { position: relative; margin: 0; max-width: 380px; justify-self: center; border-radius: 22px; overflow: clip; background: var(--ink-900); box-shadow: 0 0 0 8px rgb(201 161 74 / 0.12), var(--shadow-pop); }
.fo-video video, .fo-video img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.fo-video figcaption { position: absolute; left: var(--space-md); bottom: var(--space-md); padding: 6px 12px; border-radius: 999px; background: var(--color-veil); color: var(--color-ink); font-size: var(--text-xs); font-weight: 700; pointer-events: none; }
.fo-video video:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -3px; }
.fo-copy { display: grid; gap: var(--space-lg); justify-items: start; }
.fo-copy .label { margin: 0; font-weight: 700; color: var(--color-accent); }
.fo-copy h2 { font-size: var(--text-section); line-height: 1.06; max-width: 16ch; overflow-wrap: break-word; min-width: 0; }
.fo-copy h2 .gold { color: var(--color-accent); }
.fo-copy p { max-width: 56ch; color: var(--color-ink-2); }
.fo-copy .actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
@media (max-width: 56rem) { .fo-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } .fo-video { max-width: 300px; } }

/* testimonials (shown only when real ones are added) */
.testi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--space-md); }
.testi li { display: grid; gap: var(--space-md); align-content: space-between; padding: var(--space-xl); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--white); }
.testi blockquote { margin: 0; font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink); }
.t-by { display: grid; gap: 2px; font-size: var(--text-sm); color: var(--color-muted); }
.t-by b { color: var(--color-ink); }

/* how we work: the three steps light up one after another */
.steps6--seq li { transition: border-color 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.js.moving .steps6--seq li { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out) calc(var(--i) * 450ms), transform 600ms var(--ease-out) calc(var(--i) * 450ms), border-color 500ms var(--ease-out) calc(var(--i) * 450ms + 300ms); }
.js.moving .steps6--seq li.in { opacity: 1; transform: none; border-color: rgb(201 161 74 / 0.6); }

/* the roadmap */
.road-band { background: radial-gradient(900px 420px at 50% 0%, rgb(201 161 74 / 0.14), transparent 70%), var(--ink-900); }
.road-band .head6 .lead { color: var(--color-ink-2); }
.roadmap { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.roadmap::before { content: ""; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); transform-origin: 0 50%; }
.js.moving .roadmap::before { transform: scaleX(0); transition: transform 1600ms var(--ease-in-out) 200ms; }
.js.moving .roadmap.in::before { transform: scaleX(1); }
.rm-stage { position: relative; display: grid; align-content: start; justify-items: center; gap: var(--space-xs); text-align: center; }
.rm-node { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--space-sm); border-radius: 50%; background: var(--gold-500) var(--gold-fill); color: var(--ink-900); font-weight: 800; font-size: var(--text-lg); box-shadow: 0 0 0 6px var(--color-paper), 0 0 0 7px rgb(201 161 74 / 0.5); }
.js.moving .rm-node { transform: scale(0.4); opacity: 0; transition: transform 500ms var(--ease-out) calc(var(--i) * 380ms + 300ms), opacity 400ms var(--ease-out) calc(var(--i) * 380ms + 300ms); }
.js.moving .roadmap.in .rm-node { transform: none; opacity: 1; }
.rm-step { margin: 0; font-size: var(--text-xs); font-weight: 700; color: var(--color-accent); }
.rm-stage h3 { font-size: var(--text-xl); }
.rm-k { margin: 0; font-weight: 600; color: var(--color-ink-2); max-width: 24ch; }
.rm-stage ul { list-style: none; margin: var(--space-sm) 0 0; padding: var(--space-md); display: grid; align-content: start; gap: var(--space-xs); width: 100%; border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); text-align: left; }
.rm-stage ul li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.rm-stage ul .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--color-accent); }
.light .rm-stage ul, .page-head .rm-stage ul { background: var(--white); }
/* four columns share their rows, so every subtitle and every box starts on the same line whatever wraps */
@media (min-width: 64.0625rem) {
  .rm-k { min-height: calc(2 * 1.5em); }
  @supports (grid-template-rows: subgrid) {
    .roadmap { grid-template-rows: repeat(5, auto); row-gap: var(--space-xs); }
    .rm-stage { grid-row: span 5; grid-template-rows: subgrid; }
    .rm-k { min-height: 0; }
  }
}
.road-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-2xl); }
.btn--on-dark { background: transparent; border-color: var(--color-ink-2); color: var(--color-ink); }
.btn--on-dark:hover { border-color: var(--color-ink); }
@media (max-width: 64rem) {
  .roadmap { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); max-width: 560px; margin-inline: auto; }
  .roadmap::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold-500), var(--gold-300)); transform-origin: 50% 0; }
  .js.moving .roadmap::before { transform: scaleY(0); }
  .js.moving .roadmap.in::before { transform: scaleY(1); }
  .rm-stage { grid-template-columns: 56px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: var(--space-md); }
  .rm-node { grid-row: 1 / span 4; margin: 0; }
  .rm-stage > :not(.rm-node) { grid-column: 2; }
}

/* built for owners: four cards and the disclaimer */
.why--4 li { background: var(--white); }
.disclaim { max-width: 1040px; margin: var(--space-xl) auto 0; padding: var(--space-lg) var(--space-xl); border: 1px solid rgb(201 161 74 / 0.5); border-radius: var(--radius-card); background: var(--white); }
.dc-h { display: flex; align-items: center; gap: var(--space-xs); margin: 0 0 var(--space-sm); font-weight: 800; color: var(--color-ink); }
.dc-h .ico { width: 22px; height: 22px; color: var(--color-accent); }
.disclaim ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.disclaim li { position: relative; padding-left: 14px; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.disclaim li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 2px; background: var(--gold-500); }
.faq-more { margin: var(--space-xl) 0 0; text-align: center; }

/* the close: phone first, three trust lines instead of the calendar */
.cl-lead a { color: var(--ink-900); font-weight: 800; text-decoration: underline; text-underline-offset: 0.15em; }
.cl-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.cl-trust li { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-lg); border-radius: var(--radius-card); background: rgb(255 255 255 / 0.55); color: var(--ink-900); font-weight: 700; font-size: var(--text-lg); box-shadow: 0 1px 0 var(--ink-glow-1); }
.cl-trust .ico { flex: none; width: 28px; height: 28px; }
@media (max-width: 56rem) { .cl-grid { grid-template-columns: minmax(0, 1fr); } }

/* method + readiness: stage sections with small charts */
.page-head--road { padding-block: var(--space-2xl) var(--space-3xl); }
.road-head { display: grid; justify-items: center; gap: var(--space-md); max-width: 760px; margin: var(--space-lg) auto var(--space-3xl); text-align: center; }
.road-head h1 { font-size: var(--text-display); line-height: 1.04; }
.road-head h1 .gold, .slim-head h1 .gold { color: var(--color-accent); }
.road-head .lead { color: var(--color-muted); max-width: 48ch; }
.road-head .actions { justify-content: center; }
.stage-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.stage-grid--flip > .stage-copy { order: 2; }
.stage-copy { display: grid; gap: var(--space-md); justify-items: start; }
.stage-copy h2 { font-size: var(--text-section); line-height: 1.08; max-width: 18ch; overflow-wrap: break-word; min-width: 0; }
.stage-copy .lead { color: var(--color-ink-2); max-width: 52ch; }
.stage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.stage-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm); align-items: start; color: var(--color-ink-2); }
.stage-list .ico { width: 22px; height: 22px; color: var(--color-accent); }
@media (max-width: 56rem) { .stage-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } .stage-grid--flip > .stage-copy { order: 0; } }
.chart { margin: 0; display: grid; gap: var(--space-md); padding: var(--space-xl); border: 1px solid var(--color-rule); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-soft); }
.chart figcaption { font-weight: 800; color: var(--color-ink); }
.chart .fine { margin: 0; }
.chart--bars ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); }
.chart--bars li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; font-size: var(--text-sm); }
.cb-l { font-weight: 600; color: var(--color-ink-2); }
.cb-track { position: relative; height: 14px; border-radius: 999px; background: var(--ivory-100); overflow: clip; }
.cb-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--gold-500) var(--gold-fill); transform-origin: 0 50%; transform: scaleX(var(--v)); }
.cb-fill--warn { background: var(--color-muted-2); }
.js.moving .chart .cb-fill { transform: scaleX(0); transition: transform 1100ms var(--ease-out) 200ms; }
.js.moving .chart.in .cb-fill { transform: scaleX(var(--v)); }
.cb-v { min-width: 4.5rem; text-align: right; font-weight: 800; color: var(--color-ink); }
.cc { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-sm); align-items: end; height: 220px; }
.cc li { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 6px; height: 100%; }
.cc-bar { align-self: end; width: 100%; max-width: 44px; height: 100%; border-radius: 8px 8px 3px 3px; background: var(--gold-500) var(--gold-fill); transform-origin: 50% 100%; transform: scaleY(max(var(--h), 0.03)); }
.js.moving .chart .cc-bar { transform: scaleY(0.03); transition: transform 800ms var(--ease-out) calc(var(--i) * 120ms + 200ms); }
.js.moving .chart.in .cc-bar { transform: scaleY(max(var(--h), 0.03)); }
.cc-v { font-weight: 800; font-size: var(--text-sm); color: var(--color-ink); }
.cc-l { font-size: var(--text-xs); color: var(--color-muted); white-space: nowrap; }
.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin-bottom: var(--space-xl); }
.opt-card { display: grid; gap: var(--space-md); align-content: start; padding: var(--space-xl); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--white); }
.opt-card h3 { font-size: var(--text-xl); }
.chart-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
@media (max-width: 48rem) { .opt-grid, .chart-pair { grid-template-columns: minmax(0, 1fr); } .chart--bars li { grid-template-columns: 4.5rem minmax(0, 1fr) auto; } }

/* book + next step */
.page-head--slim { padding-block: var(--space-2xl) var(--space-lg); }
.slim-head { display: grid; gap: var(--space-md); justify-items: start; max-width: 760px; margin-top: var(--space-lg); }
.slim-head h1 { font-size: var(--text-display-s); line-height: 1.06; }
.slim-head .lead { color: var(--color-ink-2); max-width: 56ch; }
.slim-head .pill-tag { margin: 0; }
.back-home { margin: var(--space-xl) 0 0; }
.back-home a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; }
.back-home .ico { width: 18px; height: 18px; }
.cal-embed { display: grid; gap: var(--space-sm); padding: var(--space-sm); }
.cal-embed iframe { display: block; width: 100%; min-height: 760px; border: 0; border-radius: 12px; background: var(--white); }

/* the assistant's pop-up question */
.fcc-tease { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(300px, calc(100vw - 32px)); padding: var(--space-md); border: 1px solid var(--color-rule); border-radius: 16px 16px 4px 16px; background: var(--white); color: var(--color-ink); box-shadow: var(--shadow-pop); opacity: 0; transform: translateY(8px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
.fcc-tease.on { opacity: 1; transform: none; }
.fcc-tease p { margin: 0 0 var(--space-sm); font-weight: 700; font-size: var(--text-sm); }
.fcc-tease-a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); }
.fcc-tease-x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--color-muted); cursor: pointer; }
.fcc-tease-x:hover { background: var(--ivory-50); color: var(--color-ink); }
.fcc-tease-x:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 1px; }
.fcc-tease-x .ico { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .tick-set { animation: none; }
  .strip-tick { overflow-x: auto; }
  .fcc-tease { transition: none; }
}
/* v7.1: the header keeps the call/qualify button on 360 to 384px phones without pushing Menu off screen */
@media (max-width: 24rem) {
  .site-header .live-cta.header-cta { font-size: var(--text-sm); padding: 0 var(--space-xs); gap: 6px; }
  .wm-name { font-size: 1.0625rem; } .wm-mark { width: 25px; height: 31px; }
  .menu-btn { padding: 0 var(--space-xs); }
}
[data-q-count] { white-space: nowrap; }
.areas { max-width: 1040px; margin: var(--space-lg) auto 0; font-size: var(--text-sm); color: var(--color-muted); text-align: center; text-wrap: balance; }
.areas b { color: var(--color-ink); font-weight: 600; }
/* founder story without a photo: one centred column */
.fo-grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.fo-grid--solo .fo-copy { justify-items: center; text-align: center; }
.fo-grid--solo .fo-copy h2 { max-width: 20ch; }
.fo-grid--solo .fo-copy .actions { justify-content: center; }
@media (max-width: 48rem) { .fo-grid--solo .fo-copy p { text-align: left; } }
/* v7.2: Ali asked for the animation out of the analytics: the coverage gauge, the readiness ring and the charts sit still at their finished state */
.scene[data-scene="readiness"] *, .scene[data-scene="check"] * { animation: none !important; }
.js.moving .chart .cb-fill { transform: scaleX(var(--v)); transition: none; }
.js.moving .chart .cc-bar { transform: scaleY(max(var(--h), 0.03)); transition: none; }
.scene[data-scene="readiness"] :is(.sc-ripple, .sc-cursor), .scene[data-scene="check"] :is(.sc-ripple, .sc-cursor) { display: none; }
/* phones: the strip carries the phone number on top (Ali: "phone number on top") */
@media (max-width: 40rem) {
  .strip-in .strip-tel { display: inline; flex-shrink: 0; font-weight: 700; color: var(--gold-300); text-decoration: none; }
  .strip-in:has(.strip-tel) .strip-fc { display: none; }
}
@media (max-width: 71.98rem) { .site-header .hdr-phone + .header-cta { margin-left: auto; } }
.site-footer .ft-addr { font-size: var(--text-sm); max-width: 26ch; }

/* ---------- payment calculator ---------- */
.pc-progs { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: var(--space-xs); }
.label-s { padding: 0; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.pc-seg { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.pc-opt { position: relative; display: inline-flex; }
.pc-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pc-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: 999px; background: var(--color-paper); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 600; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.pc-opt:hover input:not(:checked) + span { border-color: var(--color-ink-2); color: var(--color-ink); }
.pc-opt input:checked + span { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.pc-opt input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.pc-opt input:active + span { transform: scale(0.98); }
.pc-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-sm); }
.pc-val { font: 700 var(--text-lg)/1.1 var(--font-display); color: var(--color-ink); white-space: nowrap; }
.pc-rate { margin: 0; color: var(--color-ink-2); }
.pc-rate b { color: var(--color-ink); }
.pc-tot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin: 0; padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.pc-tot dt { font-size: var(--text-sm); color: var(--color-muted); }
.pc-tot dd { margin: 0; font: 700 var(--text-lg)/1.2 var(--font-display); color: var(--color-ink); overflow-wrap: anywhere; }
.pcalc .actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.pc-more { margin-top: var(--space-md); }
.rate-wrap { overflow-x: auto; border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); }
.rate-table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: var(--text-sm); }
.rate-table caption { caption-side: bottom; padding: var(--space-sm) var(--space-md); text-align: left; font-size: var(--text-xs); color: var(--color-muted); border-top: 1px solid var(--color-rule); }
.rate-table th, .rate-table td { padding: var(--space-sm) var(--space-md); text-align: left; border-bottom: 1px solid var(--color-rule); }
.rate-table thead th { font-weight: 600; color: var(--color-muted); background: var(--color-paper-2); }
.rate-table tbody th { font-weight: 600; color: var(--color-ink); }
.rate-table tbody tr:last-child > * { border-bottom: 0; }
.rate-note { margin-top: var(--space-sm); }
@media (max-width: 30rem) { .pc-opt span { padding: 0 var(--space-sm); } .pc-tot { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pc-opt span { transition: none; } .pc-opt input:active + span { transform: none; } }
.rate-table td { white-space: nowrap; }
@media (max-width: 40rem) {
  .rate-wrap { overflow: visible; }
  .rate-table { min-width: 0; }
  .rate-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rate-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--color-rule); }
  .rate-table tbody tr:last-child { border-bottom: 0; }
  .rate-table tbody th, .rate-table td { padding: var(--space-2xs) 0; border: 0; white-space: normal; }
  .rate-table tbody th { font-size: var(--text-md); }
  .rate-table td { display: flex; justify-content: space-between; gap: var(--space-sm); }
  .rate-table td::before { content: attr(data-l); color: var(--color-muted); }
  .rate-table caption { display: block; border-top: 0; border-bottom: 1px solid var(--color-rule); }
}

/* Nov 15: the FAQ scene is a phone with texts on a light panel; the other scenes keep their ink, a little softer */
.scene[data-scene="faq"] { --scene-bg: var(--ivory-100); --scene-grid: rgb(201 161 74 / 0.14); }
.sc-bezel { fill: var(--scene-phone); stroke: var(--gold-500); stroke-width: 1.5; }
.sc-screen { fill: var(--scene-card); }
.sc-bub { fill: var(--scene-bubble); }
.sc-msgin { fill: none; stroke: var(--scene-skel); stroke-width: 1.5; }
.sc-msgline { fill: none; stroke: var(--scene-skel); stroke-width: 1; }
.sc-msg { font-size: 12.5px; font-weight: 600; fill: var(--scene-ink); }
.sc-msgh { font: 700 14px var(--font-display); fill: var(--scene-ink); }
.sc-msgs { font-size: 11px; fill: var(--scene-muted); }
/* Nov 15: the stats band is a dark gold, almost brown, instead of navy */
.fxband { background: linear-gradient(135deg, var(--bronze-800), var(--bronze-900)); }
.fxband .fx-l, .fxband p { color: var(--gold-300); }

/* Nov 16: search, answer engine and ad landing blocks: the answer, the facts list, fees, the office, service and city links */
.answer-sec { padding-block: var(--space-2xl); border-bottom: 1px solid var(--color-rule); }
.ans { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.ans h2 { font-size: var(--text-2xl); line-height: 1.15; max-width: 20ch; overflow-wrap: break-word; min-width: 0; }
.ans .lead { color: var(--color-ink); max-width: 62ch; padding-left: var(--space-lg); border-left: 2px solid var(--gold-500); }
@media (max-width: 60rem) { .ans { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); } }

.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); }
.checks li { display: flex; gap: var(--space-sm); align-items: flex-start; padding: var(--space-md) 0; border-top: 1px solid var(--color-rule); min-width: 0; }
.checks .ico { flex: none; width: 22px; height: 22px; color: var(--gold-700); margin-top: 2px; }
@media (max-width: 48rem) { .checks { grid-template-columns: minmax(0, 1fr); gap: 0; } }

dl.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap-columns); margin: 0; }
dl.glance > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-md); padding: var(--space-md) 0; border-top: 1px solid var(--color-rule); min-width: 0; }
dl.glance dt { color: var(--color-muted); font-size: var(--text-sm); }
dl.glance dd { margin: 0; font-weight: 600; color: var(--color-ink); overflow-wrap: break-word; min-width: 0; }
@media (max-width: 60rem) { dl.glance { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 30rem) { dl.glance > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); } }

.fees-box { display: grid; gap: var(--space-md); max-width: 72ch; padding: var(--space-xl); background: var(--color-paper); border: 1px solid var(--color-rule); border-top: 3px solid var(--gold-500); border-radius: var(--radius-card); }
.fees-box p:first-child { font-size: var(--text-lead); color: var(--color-ink); line-height: 1.5; }
.section--tint .fees-box { background: var(--color-paper); }
@media (max-width: 30rem) { .fees-box { padding: var(--space-lg); } }

.nap { display: grid; gap: var(--space-xs); font-style: normal; max-width: 40ch; padding: var(--space-xl); background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }
.nap b { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); }
.nap span { color: var(--color-ink-2); }
.office-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: center; }
.office-grid .section-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
@media (max-width: 60rem) { .office-grid { grid-template-columns: minmax(0, 1fr); } .nap { max-width: none; } }
@media (max-width: 30rem) { .nap { padding: var(--space-lg); } }

.qa { display: grid; gap: 0; }
.qa-item { padding: var(--space-lg) 0; border-top: 1px solid var(--color-rule); }
.qa-item h3 { font-size: var(--text-title); }
.qa-item p { margin-top: var(--space-xs); max-width: 68ch; color: var(--color-ink-2); }

.svc-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap-columns); }
.svc-links li { border-top: 1px solid var(--color-rule); min-width: 0; }
.svc-links a { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 56px; padding: var(--space-md) 0; color: var(--color-ink); font-weight: 600; font-size: var(--text-md); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.svc-links a .ico { flex: none; width: 20px; height: 20px; color: var(--gold-700); transition: transform var(--dur-short) var(--ease-out); }
.svc-links a:hover { color: var(--color-accent); }
.svc-links a:hover .ico { transform: translateX(4px); }
.svc-links a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 2px; }
@media (max-width: 48rem) { .svc-links { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .svc-links a .ico { transition: none; } .svc-links a:hover .ico { transform: none; } }

.city-links { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.city-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); text-decoration: none; font-weight: 600; font-size: var(--text-sm); transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.city-links a:hover { border-color: var(--gold-500); color: var(--color-accent); }
.city-links a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.section-head + .city-links { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .city-links a { transition: none; } }

.svc-table td { white-space: normal; min-width: 14rem; }
.svc-table tbody th { white-space: nowrap; }
@media (max-width: 40rem) {
  .svc-table td { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: var(--space-2xs); }
  .svc-table tbody th { white-space: normal; }
}
.checks + .lp-cta { margin-top: var(--space-xl); }
@media (max-width: 40rem) { .hex--head { display: none; } }

