/* Nino's Auto Detailing demo.
   Order: header, fonts, tokens -> base -> nav + scrim -> rail -> chapter grid primitive -> hero -> chapter openers
   -> components (gallery, ledger, range, proof, wizard, contact, faq) -> footer -> 404
   -> theme inversion -> keyframes -> desktop breakpoints (max-width 1079, 939) -> reduced motion (standalone)
   -> ONE append-only mobile block (max-width 760px) at the very end.
   Desktop-first. No shadows anywhere. border-radius 0 on all media. No en or em dashes in this file. */

/* 3. tokens */
:root {
  --ink: #14181B;
  --ink-soft: #1E2428;
  --paper: #F2EFE6;
  --panel: #DAD5C7;
  --grey-mid: #8A8578;
  --grey-dark: #5A5850;
  --accent: #D6452F;
  --white: #FFFFFF;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-script: "Imperial Script", "Snell Roundhand", cursive;

  --headline: clamp(7.5rem, 35.7895px + 10.9649vw, 13.75rem);
  --narrative: clamp(2rem, 18.5263px + 1.75439vw, 3rem);
  --dropcap: clamp(6rem, 75.7895px + 2.63158vw, 7.5rem);
  --body: 14px;

  --container: 105rem;
  --rail-w: min(20vw, 21rem);
  --media-pull: var(--rail-w);
  --gutter: clamp(12px, 1vw, 16px);
  --row-gap: 64px;
  --pad: var(--gutter);
  --nav-h: 64px;
  --section: 5rem;
  --opener-h: 58svh;

  --fade-out-duration: .52s;
  --fade-out-easing: cubic-bezier(.25, .46, .45, .94);
  --fade-initial-delay: .2s;
  --slide-duration: .6s;
  --slide-easing: cubic-bezier(.72, .16, .19, .96);
  --scroll-state-duration: .6s;
  --scroll-state-easing: cubic-bezier(.41, .19, .13, .95);
  --hover-interaction-duration: .3s;
  --hover-easing: cubic-bezier(.215, .61, .355, 1);
  --lines-duration: 3s;
  --lines-easing: cubic-bezier(.34, .22, .47, .84);
  --lines-decay: 4s;
  --stagger-fade-in-delay: 75ms;
  --stagger-slide-delay: 20ms;
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --bg: var(--ink);
  --fg: var(--paper);
  --muted: var(--grey-mid);
  --line: rgba(242, 239, 230, .18);
  --line-strong: rgba(242, 239, 230, .42);
  --fill: rgba(242, 239, 230, .06);
}

/* 4. base + reset */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; font: 700 var(--body) / 1.1 var(--font-display); color: var(--fg); background: var(--ink); text-wrap: pretty; overflow-x: clip; }
img, video, button, input, select, textarea, dialog { border-radius: 0; }
img, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--fade-out-duration) var(--fade-out-easing), transform var(--slide-duration) var(--slide-easing); transition-delay: calc(var(--index, 0) * var(--stagger-fade-in-delay)); }
.js .reveal.in { opacity: 1; transform: none; }
.k { font: 700 11px / 1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.copy { color: var(--muted); line-height: 1.25; max-width: 44ch; }
.copy b, .copy strong { color: var(--fg); }
.prose a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: currentColor; transition: text-decoration-color var(--hover-interaction-duration) var(--hover-easing); }
.prose a:hover { text-decoration-style: dotted; text-decoration-color: var(--accent); }
.pill-btn, .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .8rem 1.35rem; border: 1px solid var(--fg); border-radius: 999px; background: var(--fg); color: var(--bg); font: 700 13px / 1 var(--font-display); letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: background var(--hover-interaction-duration) var(--hover-easing), color var(--hover-interaction-duration) var(--hover-easing), border-color var(--hover-interaction-duration) var(--hover-easing); }
.btn:hover { background: transparent; color: var(--fg); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn.accent:hover { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.small { min-height: 36px; padding: .55rem 1rem; font-size: 12px; }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.pill { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .3em; min-height: 44px; padding: .75rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--fg); font: 700 13px / 1 var(--font-display); text-align: left; transition: background var(--hover-interaction-duration) var(--hover-easing), color var(--hover-interaction-duration) var(--hover-easing), border-color var(--hover-interaction-duration) var(--hover-easing); }
.pill small { font-size: 11px; font-weight: 700; color: var(--muted); }
.pill:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill:hover small { color: var(--bg); }
.pill[aria-pressed="true"] { background: var(--accent); color: var(--white); border-color: var(--accent); }
.pill[aria-pressed="true"] small { color: rgba(255, 255, 255, .8); }
.pill.chip { flex-direction: row; align-items: center; min-height: 36px; padding: .5rem .85rem; font-size: 12px; border-radius: 3px; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.stars { color: var(--accent); letter-spacing: .08em; font-size: 12px; }
.tag { display: inline-block; padding: .35em .6em; border: 1px solid var(--line-strong); border-radius: 3px; font: 700 10px / 1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.tag.accent { border-color: var(--accent); color: var(--accent); }

/* 5. nav + scrim */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 20; color: var(--paper); transition: color var(--scroll-state-duration) var(--scroll-state-easing); }
.nav::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: calc(var(--nav-h) * 1.7); background: linear-gradient(var(--ink), transparent); opacity: 0; pointer-events: none; transition: opacity var(--scroll-state-duration) var(--scroll-state-easing); }
html[data-scrolled="true"] .nav::before { opacity: .75; }
.nav-in { position: relative; max-width: var(--container); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 1.25rem; }
.brand { font: 800 14px / 1 var(--font-display); letter-spacing: -.01em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.brand span { font-weight: 500; color: var(--muted); margin-left: .35em; }
.nav-ed { margin-left: auto; font: italic 400 17px / 1 var(--font-serif); letter-spacing: -.02em; opacity: .8; }
.nav-phone { text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.nav-phone:hover { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: .25em; }
.nav .btn { min-height: 36px; padding: .55rem 1.05rem; font-size: 12px; }
.strip { display: none; }

/* 6. rail */
.rail { position: fixed; top: 0; bottom: 0; left: max(0px, calc((100vw - var(--container)) / 2)); width: var(--rail-w); z-index: 15; padding: calc(var(--nav-h) + 1.25rem) var(--gutter) 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; color: var(--paper); pointer-events: none; transition: color var(--scroll-state-duration) var(--scroll-state-easing); }
.rail a, .rail button { pointer-events: auto; }
.rail-k { font: 700 11px / 1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
.rail-title { font: 700 clamp(1.6rem, 1rem + 1.4vw, 2.4rem) / .95 var(--font-display); letter-spacing: -.03em; text-transform: uppercase; }
.rail-title em { display: block; font: 400 1.2em / .9 var(--font-script); text-transform: none; letter-spacing: 0; color: var(--accent); margin-top: .1em; }
.rail-lede { font: 400 clamp(1rem, .8rem + .55vw, 1.25rem) / 1.05 var(--font-serif); letter-spacing: -.03em; opacity: .85; max-width: 22ch; }
.toc { display: flex; flex-direction: column; gap: .15rem; margin-top: .5rem; }
.toc a { position: relative; display: flex; gap: .7em; align-items: baseline; padding: .42em 0; text-decoration: none; font: 700 13px / 1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; opacity: .5; transition: opacity var(--scroll-state-duration) var(--scroll-state-easing); }
.toc a .n { font-size: 10px; letter-spacing: .12em; opacity: .8; }
.toc a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; clip-path: inset(0 100% 0 0); transition: clip-path var(--scroll-state-duration) var(--scroll-state-easing); }
.toc a:hover { opacity: .85; }
.toc a.on { opacity: 1; }
.toc a.on::after { clip-path: inset(0); }
.rail-foot { margin-top: auto; display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.rail-phone { font: 700 15px / 1 var(--font-display); letter-spacing: -.01em; text-decoration: none; }
.rail-phone:hover { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: .25em; }
.rail .btn { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.rail .btn:hover { background: transparent; color: var(--paper); }
html[data-rail-theme="paper"] .rail .btn { border-color: var(--ink); background: var(--ink); color: var(--paper); }
html[data-rail-theme="paper"] .rail .btn:hover { background: transparent; color: var(--ink); }

/* 7. chapter + grid primitive + media bleed */
.page { max-width: var(--container); margin: 0 auto; }
.chapter { container-type: inline-size; display: flex; justify-content: flex-end; position: relative; background: var(--bg); color: var(--fg); }
.chapter[data-theme="paper"] { --bg: var(--paper); --fg: var(--ink); --muted: var(--grey-dark); --line: rgba(20, 24, 27, .16); --line-strong: rgba(20, 24, 27, .4); --fill: rgba(20, 24, 27, .05); }
.chapter[data-theme="dark"] { --bg: var(--ink); --fg: var(--paper); --muted: var(--grey-mid); --line: rgba(242, 239, 230, .18); --line-strong: rgba(242, 239, 230, .42); --fill: rgba(242, 239, 230, .06); }
/* blend between chapters: a band at the top of each chapter fades from the previous chapter's ground into its own */
.chapter::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--blend-h, clamp(12rem, 34svh, 24rem)); z-index: 0; pointer-events: none; }
.chapter[data-theme="dark"] + .chapter[data-theme="paper"]::before { background: linear-gradient(to bottom, var(--ink) 0%, var(--paper) 100%); }
.chapter[data-theme="paper"] + .chapter[data-theme="dark"]::before { background: linear-gradient(to bottom, var(--paper) 0%, var(--ink) 100%); }
.footer::before { content: ""; display: block; height: clamp(6rem, 16svh, 12rem); background: linear-gradient(to bottom, var(--paper), var(--ink)); }
.chapter > .col { position: relative; z-index: 2; width: calc(100% - var(--rail-w)); max-width: calc(var(--container) * .8); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--row-gap); padding: 0 var(--pad) var(--section); }
.col > * { grid-column: 1 / -1; min-width: 0; }
.media.bleed { position: relative; width: 100cqw; left: calc(-1 * var(--media-pull)); }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

/* 8. hero: full-bleed photograph that brightens as you scroll (JS writes --hero-bright), copy pinned to the first screen */
.hero { display: block; position: relative; min-height: 135svh; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: clip; background: var(--ink); }
.hero-bg img { position: sticky; top: 0; display: block; width: 100%; height: 100svh; object-fit: cover; object-position: 50% 60%; filter: brightness(var(--hero-bright, .28)); will-change: filter; }
.hero-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hero > .col { margin-left: auto; min-height: 100svh; align-content: end; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 4rem; }
.hero-copy { grid-column: 1 / 10; display: flex; flex-direction: column; gap: 1.4rem; }
.hero-title { font: 700 clamp(3.4rem, 1.8rem + 6.2vw, 8rem) / .88 var(--font-display); letter-spacing: -.04em; text-transform: uppercase; }
.hero-title em { display: block; font: 400 .92em / 1 var(--font-script); text-transform: none; letter-spacing: 0; color: var(--accent); margin-top: .04em; }
.hero-copy .lede { grid-column: auto; max-width: 32ch; font-size: clamp(1.3rem, 1rem + 1.1vw, 1.9rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero-meta { display: flex; flex-direction: column; gap: .8rem; }
.hero-meta .rating { display: flex; align-items: baseline; gap: .5em; font-size: 13px; }
.hero-meta .rating b { font-size: 22px; letter-spacing: -.03em; }
.offer { display: inline-flex; align-items: center; gap: .75em; padding: .55rem .8rem; border: 1px solid var(--accent); border-radius: 3px; color: var(--fg); font-size: 12px; }
.offer b { color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }

/* 9. chapter openers */
.opener { min-height: var(--opener-h); display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem; }
.opener .k { display: flex; gap: 1.5em; }
.word { font: 700 var(--headline) / .9 var(--font-display); letter-spacing: -.03em; text-transform: uppercase; margin-left: -.04em; text-wrap: nowrap; }
.lede { grid-column: 1 / 9; font: 400 var(--narrative) / .96 var(--font-serif); letter-spacing: -.05em; margin: 0; }
.lede .dcap { float: left; font: 400 var(--dropcap) / .72 var(--font-script); color: var(--accent); margin: -.02em .1em 0 calc(-1 * var(--gutter) - .04em); }
.lede em { font-style: italic; }
.sub { grid-column: 9 / 13; display: flex; flex-direction: column; gap: .8rem; align-self: end; }

/* 10. components */
/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.tile { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; background: var(--fill); color: inherit; text-align: left; overflow: hidden; align-self: stretch; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: zoom-in; }
.tile-btn img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter var(--hover-interaction-duration) var(--hover-easing); }
.tile-btn:hover img { filter: contrast(1.08) saturate(1.05); }
.tile-video video { position: absolute; inset: 0; }
.tile.r45 { aspect-ratio: 4 / 5; }
.tile.r43 { aspect-ratio: 4 / 3; }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .75rem .85rem; font: 700 12px / 1.1 var(--font-display); color: var(--paper); background: linear-gradient(transparent, rgba(20, 24, 27, .75)); }
.tile .cap small { font-size: 11px; opacity: .75; }
.tile.playing::after { content: ""; position: absolute; top: .75rem; right: .75rem; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.g-note { grid-column: span 8; display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem; padding: 1.5rem 0 0; }
.g-note p { font: 400 clamp(1.3rem, 1rem + 1vw, 1.9rem) / 1 var(--font-serif); letter-spacing: -.04em; }
dialog:not([open]) { display: none; }
.sel-list li[data-active="true"] { background: var(--fill); }
.lightbox { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: var(--ink); color: var(--paper); }
.lightbox::backdrop { background: rgba(20, 24, 27, .92); }
.lightbox .frame-lb { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; }
.lightbox img { flex: 1; width: 100%; height: auto; min-height: 0; object-fit: contain; }
.lightbox .bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem var(--gutter); font-size: 12px; border-top: 1px solid var(--line); }
.lightbox .bar div { display: flex; gap: .5rem; }
.lightbox .bar button { min-height: 36px; padding: .5rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: inherit; font: 700 12px / 1 var(--font-display); transition: background var(--hover-interaction-duration), color var(--hover-interaction-duration); }
.lightbox .bar button:hover { background: var(--paper); color: var(--ink); }

/* ledger */
.ledger { border-top: 1px solid var(--line-strong); }
.ledger-row { display: grid; grid-template-columns: 3fr 4fr 3fr 2fr; gap: var(--gutter); padding: 1.6rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.ledger-row h3 { font: 700 clamp(1.4rem, 1rem + 1.1vw, 2rem) / .95 var(--font-display); letter-spacing: -.03em; text-transform: uppercase; }
.ledger-row .meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: .7rem; align-items: center; }
.ledger-row .time { font-size: 12px; color: var(--muted); }
.ledger-row .blurb { font: 400 clamp(1.05rem, .9rem + .5vw, 1.35rem) / 1.05 var(--font-serif); letter-spacing: -.03em; margin-bottom: .8rem; }
.ledger-row ul { display: flex; flex-direction: column; gap: .3rem; color: var(--muted); font-size: 12.5px; }
.ledger-row ul li::before { content: "/"; margin-right: .5em; color: var(--accent); }
.ledger-row .prices { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.ledger-row .prices span { display: flex; flex-direction: column; gap: .35rem; }
.ledger-row .prices small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ledger-row .prices b { font: 700 clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem) / 1 var(--font-display); letter-spacing: -.04em; }
.ledger-row .prices .q { grid-column: 1 / -1; }
.ledger-row .act { display: flex; justify-content: flex-end; align-items: start; }
.ledger-row.popular .tag { border-color: var(--accent); color: var(--accent); }
.ledger-row .prices .q b { font-size: clamp(1.1rem, .9rem + .6vw, 1.4rem); letter-spacing: -.02em; }
.addons-line { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: baseline; padding-top: 1.2rem; }
.addons-line b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.addons-line span { font-size: 13px; }
.addons-line span em { font-style: normal; color: var(--muted); }
.ledger-foot { grid-column: 1 / 8; }

/* range */
.range-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.rcard { display: flex; flex-direction: column; gap: 1rem; }
.rcard figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--fill); }
.rcard figure img { width: 100%; height: 100%; object-fit: cover; }
.rcard h3 { font: 700 clamp(1.3rem, 1rem + 1vw, 1.9rem) / .95 var(--font-display); letter-spacing: -.03em; text-transform: uppercase; }
.rcard .rc-foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: auto; }
.roll { grid-column: 1 / 9; font: 400 clamp(1.2rem, 1rem + .8vw, 1.7rem) / 1.05 var(--font-serif); letter-spacing: -.035em; color: var(--muted); }
.roll b { color: var(--fg); font-weight: 400; }

/* proof */
.proof-lead { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.proof-lead figure { display: flex; flex-direction: column; gap: 1.2rem; padding: 1.6rem 0 0; border-top: 1px solid var(--line-strong); }
.proof-lead blockquote { font: 400 clamp(1.8rem, 1.2rem + 2vw, 3.2rem) / .98 var(--font-serif); letter-spacing: -.045em; }
.proof-lead figcaption, .proof-list figcaption { display: flex; gap: .6em; align-items: baseline; font-size: 12px; color: var(--muted); }
.proof-lead figcaption b, .proof-list figcaption b { color: var(--fg); }
.proof-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.proof-list figure { display: flex; flex-direction: column; gap: .9rem; padding: 1.2rem 0 0; border-top: 1px solid var(--line); }
.proof-list blockquote { font: 400 clamp(1.05rem, .95rem + .45vw, 1.35rem) / 1.08 var(--font-serif); letter-spacing: -.03em; }
.proof-foot { grid-column: 1 / 9; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.proof-foot .big { font: 700 clamp(2.4rem, 1.5rem + 2.4vw, 4rem) / 1 var(--font-display); letter-spacing: -.05em; }

/* wizard */
.existing { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gutter); padding: 1.4rem; border: 1px solid var(--accent); }
.existing h3 { font: 700 clamp(1.2rem, 1rem + .8vw, 1.7rem) / 1 var(--font-display); letter-spacing: -.03em; text-transform: uppercase; margin-bottom: .6rem; }
.existing dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: 13px; }
.existing dt { color: var(--muted); }
.existing .ex-acts { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; justify-content: flex-end; }
.wizard { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; }
.steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); counter-reset: step; }
.steps li { position: relative; padding: .9rem 0 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: .3rem; transition: color var(--scroll-state-duration) var(--scroll-state-easing); }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); clip-path: inset(0 100% 0 0); transition: clip-path var(--scroll-state-duration) var(--scroll-state-easing); }
.steps li b { font-size: 14px; color: var(--fg); letter-spacing: -.01em; text-transform: uppercase; }
.steps li[aria-current="step"] b { color: var(--accent); }
.steps li[aria-current="step"] { color: var(--fg); }
.steps li[aria-current="step"]::before, .steps li.done::before { clip-path: inset(0); }
.steps li.done::before { background: var(--fg); }
.wiz-live { grid-column: 1 / -1; min-height: 1em; font-size: 12px; color: var(--muted); }
.step { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--gutter); animation: step-in var(--slide-duration) var(--slide-easing) both; }
.step[hidden] { display: none; }
.step legend { grid-column: 1 / -1; float: left; width: 100%; font: 400 clamp(1.7rem, 1.2rem + 1.5vw, 2.6rem) / .96 var(--font-serif); letter-spacing: -.045em; margin-bottom: .6rem; }
.step legend:focus { outline: none; }
.group { grid-column: span 6; display: flex; flex-direction: column; gap: .85rem; padding: 1rem 1.1rem 1.15rem; border: 1px solid var(--line); background: var(--fill); transition: border-color var(--hover-interaction-duration) var(--hover-easing); }
.group:focus-within { border-color: var(--line-strong); }
.group.done { border-color: var(--accent); }
.group.wide { grid-column: 1 / -1; }
.group.third { grid-column: span 4; }
.group > label, .group > .lbl { font: 700 11px / 1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--fg); display: flex; align-items: center; gap: .6em; }
.group > label::before, .group > .lbl::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent); }
.group.done > label::before, .group.done > .lbl::before { content: "✓"; width: auto; height: auto; background: none; color: var(--accent); font: 800 12px / 1 var(--font-display); }
.group > label small, .group > .lbl small { margin-left: auto; color: var(--muted); }
.group > label small, .group > .lbl small { font-size: 10px; letter-spacing: .06em; text-transform: none; text-align: right; }
.group .pill { background: var(--bg); }
.group .pill:hover { background: var(--fg); }
.group .pill[aria-pressed="true"] { background: var(--accent); }
.group .sel-btn { padding: .8rem .9rem; border: 1px solid var(--line-strong); background: var(--bg); }
.group .sel-btn[aria-expanded="true"] { border-color: var(--accent); }
.group .hint { font-size: 12px; color: var(--muted); line-height: 1.3; }
.group .err { display: none; font-size: 12px; color: var(--accent); }
.group.invalid .err { display: block; }
.group.invalid { border-color: var(--accent); }
.group.invalid input, .group.invalid textarea, .group.invalid .sel-btn { border-color: var(--accent); }
.field-in { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); font: 700 16px / 1.2 var(--font-display); letter-spacing: -.01em; outline: none; transition: border-color var(--hover-interaction-duration); }
.field-in::placeholder { color: var(--muted); font-weight: 500; }
.field-in:focus { border-color: var(--accent); }
textarea.field-in { min-height: 5.5rem; resize: vertical; }
.photos { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.photos .thumb { position: relative; width: 84px; height: 84px; background: var(--fill); }
.photos .thumb img { width: 100%; height: 100%; object-fit: cover; }
.photos .thumb button { position: absolute; top: 0; right: 0; width: 24px; height: 24px; padding: 0; border: 0; background: var(--ink); color: var(--paper); font-size: 14px; line-height: 1; }
.photos .thumb button:hover { background: var(--accent); }
.photo-add { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border: 1px dashed var(--accent); background: var(--bg); color: var(--fg); font-size: 12px; text-align: center; padding: .4rem; cursor: pointer; transition: border-color var(--hover-interaction-duration), color var(--hover-interaction-duration); }
.photo-add:hover { border-color: var(--fg); color: var(--fg); }
.photo-add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wiz-acts { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.wiz-acts .right { display: flex; gap: .6rem; align-items: center; }
.wiz-err { font-size: 12px; color: var(--accent); }
.readout { grid-column: span 6; display: flex; flex-direction: column; gap: .9rem; padding: 1.4rem; border: 1px solid var(--paper); background: var(--paper); color: var(--ink); --muted: var(--grey-dark); --line: rgba(20, 24, 27, .16); --fg: var(--ink); align-self: start; }
.readout .amount { font: 700 clamp(2.2rem, 1.5rem + 2.4vw, 4rem) / 1 var(--font-display); letter-spacing: -.05em; }
.readout .amount.empty { font: 400 clamp(1.3rem, 1rem + 1vw, 1.9rem) / 1 var(--font-serif); letter-spacing: -.04em; color: var(--muted); }
.readout .sub { grid-column: auto; display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.readout .summary { display: flex; flex-direction: column; gap: .4rem; font-size: 12.5px; padding-top: .8rem; border-top: 1px solid var(--line); }
.readout .summary div { display: flex; justify-content: space-between; gap: 1rem; }
.readout .summary .quoted span:last-child { color: var(--muted); }
.readout .includes { display: flex; flex-direction: column; gap: .3rem; font-size: 12px; color: var(--muted); }
.readout .includes li::before { content: "/"; margin-right: .5em; color: var(--accent); }
.readout .note { font-size: 11.5px; line-height: 1.35; color: var(--muted); }
.cal { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 1rem; padding: 1rem 1.1rem 1.15rem; border: 1px solid var(--line); background: var(--fill); }
.cal.done { border-color: var(--accent); }
.cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.cal-head p { font-size: 12.5px; color: var(--muted); }
.cal .lbl { font: 700 11px / 1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--fg); display: flex; align-items: center; gap: .6em; }
.cal .lbl::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
.cal.done .lbl::before { content: "✓"; width: auto; height: auto; background: none; color: var(--accent); font: 800 12px / 1 var(--font-display); }
.days { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .5rem; }
.day { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: .7rem .75rem; min-height: 68px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); font: 700 12px / 1 var(--font-display); text-align: left; transition: background var(--hover-interaction-duration) var(--hover-easing), color var(--hover-interaction-duration) var(--hover-easing), border-color var(--hover-interaction-duration) var(--hover-easing); }
.day .d-n { font-size: 22px; letter-spacing: -.04em; }
.day .d-w { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.day .d-s { font-size: 10px; color: var(--muted); margin-top: auto; }
.day:hover:not(:disabled) { background: var(--fg); color: var(--bg); }
.day:hover:not(:disabled) .d-w, .day:hover:not(:disabled) .d-s { color: var(--bg); }
.day[aria-pressed="true"] { background: var(--accent); color: var(--white); border-color: var(--accent); }
.day[aria-pressed="true"] .d-w, .day[aria-pressed="true"] .d-s { color: rgba(255, 255, 255, .8); }
.day:disabled { cursor: not-allowed; color: var(--muted); border-color: var(--line); background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--fill) 6px 7px); }
.day.half { border-color: var(--accent); }
.day.half .d-s { color: var(--accent); }
.day[aria-pressed="true"].half .d-s { color: rgba(255, 255, 255, .85); }
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; max-width: 34rem; }
.block { display: flex; flex-direction: column; gap: .35rem; padding: .9rem 1rem; border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); text-align: left; font: 700 13px / 1 var(--font-display); transition: background var(--hover-interaction-duration) var(--hover-easing), color var(--hover-interaction-duration) var(--hover-easing), border-color var(--hover-interaction-duration) var(--hover-easing); }
.block span { font-size: 11px; color: var(--muted); }
.block em { font-style: normal; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.block:hover:not(:disabled) { background: var(--fg); color: var(--bg); }
.block:hover:not(:disabled) span { color: var(--bg); }
.block[aria-pressed="true"] { background: var(--accent); color: var(--white); border-color: var(--accent); }
.block[aria-pressed="true"] span, .block[aria-pressed="true"] em { color: rgba(255, 255, 255, .85); }
.block:disabled { cursor: not-allowed; color: var(--muted); border-color: var(--line); background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--fill) 6px 7px); }
.block:disabled em { color: var(--muted); }
.date-mode { padding: .9rem 1rem; border: 1px solid var(--line-strong); font-size: 12.5px; line-height: 1.35; max-width: 46rem; }
.date-mode b { color: var(--accent); }
.sheet-wrap { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); }
.sheet { padding: 1.4rem; border: 1px solid var(--line-strong); }
.sheet h3 { font: 700 clamp(1.4rem, 1rem + 1.2vw, 2.2rem) / .95 var(--font-display); letter-spacing: -.035em; text-transform: uppercase; margin-bottom: 1rem; }
.sheet pre { margin: 0; white-space: pre-wrap; font: 500 13px / 1.45 var(--font-display); color: var(--fg); }
.sheet-acts { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.sheet-acts p { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.sheet-acts .btn { width: auto; }
.demo-note { display: flex; gap: .6em; align-items: baseline; font-size: 12px; color: var(--muted); }
.demo-note::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }

/* contact + faq */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--row-gap) var(--gutter); align-items: start; }
.form-card h3, .contact-side h3 { font: 700 clamp(1.4rem, 1rem + 1.2vw, 2.2rem) / .95 var(--font-display); letter-spacing: -.035em; text-transform: uppercase; }
.form-card .intro { font-size: 12.5px; color: var(--muted); margin: .7rem 0 1.4rem; line-height: 1.35; }
.est-chip { display: none; justify-content: space-between; gap: 1rem; align-items: center; padding: .7rem .9rem; border: 1px solid var(--accent); font-size: 12.5px; margin-bottom: 1.2rem; }
.est-chip.on { display: flex; }
.est-chip a { color: var(--accent); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem var(--gutter); }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field.wide { grid-column: 1 / -1; }
.field label { font: 700 11px / 1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field label small { font-size: 10px; letter-spacing: .06em; text-transform: none; }
.field input, .field textarea, .field select { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); font: 700 16px / 1.2 var(--font-display); letter-spacing: -.01em; outline: none; transition: border-color var(--hover-interaction-duration); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); font-weight: 500; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 6rem; resize: vertical; }
.field .err { display: none; font-size: 12px; color: var(--accent); }
.field.invalid .err { display: block; }
.field.invalid input { border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.form-actions .fine, .fine { font-size: 12px; color: var(--muted); }
.form-ok { display: none; margin-top: 1.2rem; padding: 1rem; border: 1px solid var(--line-strong); font-size: 13px; line-height: 1.45; }
.form-ok.on { display: block; }
.form-ok .btn { margin-top: .8rem; }
.select-wrap { position: relative; }
.select-wrap.enhanced select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.sel-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: .8rem .9rem; border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); font: 700 16px / 1.2 var(--font-display); text-align: left; cursor: pointer; }
.sel-btn::after { content: ""; width: 8px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-3px); flex: none; }
.sel-btn.is-ph { color: var(--muted); font-weight: 500; }
.sel-btn[aria-expanded="true"] { border-color: var(--accent); }
.sel-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; max-height: 16rem; overflow: auto; margin: 0; padding: .3rem 0; background: var(--bg); border: 1px solid var(--line-strong); }
.sel-list.up { top: auto; bottom: 100%; }
.sel-list li { padding: .65rem .8rem; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: .6em; }
.sel-list li:hover { background: var(--fg); color: var(--bg); }
.sel-list li[aria-selected="true"] { color: var(--accent); }
.sel-list li[aria-selected="true"]:hover { color: var(--bg); }
.sel-list li.sel-ph { color: var(--muted); }
.contact-side { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-side .phone { font: 700 clamp(1.8rem, 1.2rem + 1.8vw, 3rem) / 1 var(--font-display); letter-spacing: -.05em; text-decoration: none; }
.contact-side .phone:hover { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: .2em; }
.contact-side dl { display: flex; flex-direction: column; gap: 1rem; }
.contact-side dt { font: 700 11px / 1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.contact-side dd { font-size: 13px; line-height: 1.4; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.hours-row span:last-child { color: var(--muted); }
.area-list { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .6rem; }
.area-list span { padding: .3em .5em; border: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gutter); border-top: 1px solid var(--line-strong); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; cursor: pointer; font: 400 clamp(1.1rem, .95rem + .55vw, 1.45rem) / 1.05 var(--font-serif); letter-spacing: -.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 18px / 1 var(--font-display); color: var(--accent); flex: none; transition: transform var(--hover-interaction-duration) var(--spring); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 1.1rem; font-size: 13px; line-height: 1.45; color: var(--muted); max-width: 56ch; }
.faq-head { grid-column: 1 / 8; }

/* 11. footer */
.footer { background: var(--ink); color: var(--paper); }
.footer-in { max-width: var(--container); margin: 0 auto; padding: 3rem var(--gutter) 2rem; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; }
.footer-brand { grid-column: 1 / 5; display: flex; flex-direction: column; gap: .9rem; }
.footer-brand .brand { font-size: 16px; }
.footer-brand p { font-size: 12.5px; line-height: 1.4; color: var(--grey-mid); max-width: 34ch; }
.footer-col { grid-column: span 2; display: flex; flex-direction: column; gap: .6rem; }
.footer-col h4 { font: 700 11px / 1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--grey-mid); margin-bottom: .3rem; }
.footer-col li { font-size: 12.5px; line-height: 1.35; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: .25em; }
.footer-col .ig { display: inline-flex; align-items: center; gap: .4em; }
.footer-col .ig svg { width: 14px; height: 14px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding-top: 1.2rem; border-top: 1px solid rgba(242, 239, 230, .18); font-size: 11.5px; color: var(--grey-mid); }
.footer-bottom a { color: var(--paper); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; text-decoration-style: dotted; }

/* 12. 404 */
.nf { min-height: 100svh; display: flex; align-items: flex-end; }
.nf .nf-in { max-width: var(--container); width: 100%; margin: 0 auto; padding: calc(var(--nav-h) + 2rem) var(--gutter) var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; }
.nf .word { grid-column: 1 / -1; }
.nf .lede { grid-column: 1 / 8; }
.nf .nf-acts { grid-column: 1 / -1; display: flex; gap: .75rem; flex-wrap: wrap; }

/* 14. theme inversion (attribute written onto <html> by the chapter observer) */
html[data-nav-theme="paper"] .nav { color: var(--ink); }
html[data-nav-theme="paper"] .nav::before { background: linear-gradient(var(--paper), transparent); }
html[data-nav-theme="paper"] .nav .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
html[data-nav-theme="paper"] .nav .btn:hover { background: transparent; color: var(--ink); }
html[data-nav-theme="dark"] .nav .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
html[data-nav-theme="dark"] .nav .btn:hover { background: transparent; color: var(--paper); }
html[data-rail-theme="paper"] .rail { color: var(--ink); }
html[data-rail-theme="paper"] .rail-title em { color: var(--accent); }

/* 15. keyframes */
@keyframes step-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* 16. row gap steps down below the 1080 breakpoint */
@media (max-width: 1079px) {
  :root { --row-gap: 40px; }
}

/* 17. below 940 the rail unfixes: its job moves to the horizontal chapter strip under the nav, the diagrams become inline cells */
@media (max-width: 939px) {
  :root { --rail-w: 0px; --media-pull: var(--pad); --gutter: 12px; --nav-h: 108px; }
  .rail { display: none; }
  .nav-in { height: 64px; }
  .nav-ed { display: none; }
  .nav::before { height: calc(var(--nav-h) * 1.35); }
  .strip { position: absolute; top: 64px; left: 0; right: 0; height: 44px; display: flex; align-items: stretch; gap: 1.4rem; padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .strip::-webkit-scrollbar { display: none; }
  .strip a { position: relative; flex: none; display: flex; align-items: center; scroll-snap-align: center; font: 700 12px / 1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; opacity: .55; transition: opacity var(--scroll-state-duration) var(--scroll-state-easing); }
  .strip a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; clip-path: inset(0 100% 0 0); transition: clip-path var(--scroll-state-duration) var(--scroll-state-easing); }
  .strip a.on { opacity: 1; }
  .strip a.on::after { clip-path: inset(0); }
  .chapter > .col { width: 100%; max-width: none; }
  .hero-copy { grid-column: 1 / 12; }
  .lede { grid-column: 1 / 11; }
  .sub { grid-column: 1 / 11; }
  .ledger-row { grid-template-columns: 3fr 4fr 3fr; }
  .ledger-row .act { grid-column: 1 / -1; justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* 18. reduced motion: standalone, zeroes the motion tokens so every transition and stagger collapses */
@media (prefers-reduced-motion: reduce) {
  :root { --fade-out-duration: 0s; --slide-duration: 0s; --scroll-state-duration: 0s; --hover-interaction-duration: 0s; --lines-duration: 0s; --lines-decay: 0s; --stagger-fade-in-delay: 0ms; --stagger-slide-delay: 0ms; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .step { animation: none; }
}

/* 19. mobile, append only. Mirrors desktop at 2-up; the contact form goes full width with 2-up fields inside, FAQ last.
   May set --gutter, --pad, --row-gap, --rail-w, --media-pull, --nav-h, --section, --opener-h and font sizes. Never a motion token. */
@media (max-width: 760px) {
  :root { --pad: 16px; --gutter: 10px; --row-gap: 28px; --section: 3rem; --opener-h: 34svh; --blend-h: clamp(7rem, 22svh, 14rem); --body: 16px; --narrative: 1.7rem; --dropcap: 4.2rem; }
  html, body { overflow-x: clip; }
  body { font-size: 15px; }
  .k { font-size: 10px; }
  .copy { font-size: 14px; max-width: none; }
  .pill, .pill.chip, .btn.small, .day, .block, .lightbox .bar button { min-height: 44px; }
  .pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .pill { padding: .7rem .9rem; border-radius: 3px; }
  .pill.chip { padding: .6rem .8rem; }
  .photos .thumb { width: 96px; height: 96px; }
  .photos .thumb button { width: 40px; height: 40px; }
  .photo-add { width: 96px; height: 96px; }
  .faq-head { grid-column: 1 / -1; }
  .nav-in { padding: 0 var(--pad); }
  .nav-phone { display: none; }
  .nav .btn { margin-left: auto; }
  .strip { padding: 0 var(--pad); }
  .chapter > .col { padding: 0 var(--pad) var(--section); }
  .hero > .col { padding-top: calc(var(--nav-h) + 1.25rem); min-height: auto; row-gap: 1.6rem; }
  .hero { min-height: 125svh; }
  .hero > .col { padding-bottom: 2.5rem; }
  .hero-copy { grid-column: 1 / -1; gap: 1rem; }
  .hero-title { font-size: clamp(2.6rem, 14vw, 4.2rem); }
  .hero-copy .lede { font-size: 1.25rem; }
  .hero-meta { gap: .7rem; }
  .opener { gap: .6rem; padding-bottom: .5rem; }
  .opener .k { flex-wrap: wrap; gap: .5em 1em; }
  .word { font-size: clamp(3rem, calc(135vw / var(--word-len, 5)), 7rem); margin-left: -.03em; }
  .lede { grid-column: 1 / -1; font-size: var(--narrative); }
  .lede .dcap { font-size: var(--dropcap); margin: 0 .08em 0 -.02em; }
  .sub { grid-column: 1 / -1; gap: .6rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
  .gallery .span-8, .gallery .span-6, .gallery .span-5, .gallery .span-4, .gallery .span-3 { grid-column: span 1; }
  .gallery .tile.r43 { aspect-ratio: 4 / 5; }
  .gallery .g-note { grid-column: 1 / -1; padding-top: .6rem; }
  .group.third { grid-column: 1 / -1; }
  .g-note p { font-size: 1.25rem; }
  .tile .cap { padding: .55rem .6rem; font-size: 11px; }
  .lightbox .bar { flex-wrap: wrap; padding: .7rem var(--pad); }
  .ledger-row { grid-template-columns: 1fr 1fr; gap: .8rem var(--gutter); padding: 1.2rem 0; }
  .ledger-row > div:nth-child(1) { order: 1; }
  .ledger-row .prices { order: 2; }
  .ledger-row > div:nth-child(2) { order: 3; grid-column: 1 / -1; }
  .ledger-row .act { order: 4; }
  .ledger-row h3 { font-size: 1.35rem; }
  .ledger-row .blurb { font-size: 1.05rem; }
  .ledger-row .prices b { font-size: 1.6rem; }
  .ledger-row .prices .q b { font-size: 1.05rem; }
  .ledger-foot, .addons-line { grid-column: 1 / -1; }
  .range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rcard:last-child { grid-column: 1 / -1; }
  .rcard:last-child figure { aspect-ratio: 16 / 10; }
  .rcard h3 { font-size: 1.2rem; }
  .rcard .rc-foot { flex-wrap: wrap; }
  .roll { grid-column: 1 / -1; font-size: 1.15rem; }
  .proof-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-lead blockquote { font-size: 1.45rem; }
  .proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-list figure:last-child { grid-column: 1 / -1; }
  .proof-list blockquote { font-size: 1.05rem; }
  .proof-foot { grid-column: 1 / -1; }
  .existing { grid-template-columns: 1fr; padding: 1rem; }
  .steps { gap: var(--gutter); }
  .steps li b { font-size: 11px; }
  .steps li .k { font-size: 9px; }
  .step { row-gap: 1.2rem; }
  .step legend { font-size: 1.5rem; }
  .group { grid-column: span 6; padding: .85rem .9rem 1rem; }
  .group.wide { grid-column: 1 / -1; }
  .cal { grid-column: 1 / -1; padding: .85rem .9rem 1rem; }
  .cal-head { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .day .d-s { white-space: nowrap; font-size: 10px; }
  .group > label, .group > .lbl { font-size: 10px; flex-wrap: wrap; }
  .group .hint { font-size: 11.5px; }
  .readout { grid-column: 1 / -1; padding: 1rem; }
  .readout .amount { font-size: 2.2rem; }
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
  .day { padding: .55rem .55rem; min-height: 64px; }
  .day .d-n { font-size: 20px; }
  .blocks { max-width: none; }
  .sheet-wrap { grid-template-columns: 1fr; }
  .sheet { padding: 1rem; }
  .sheet pre { font-size: 12.5px; }
  .wiz-acts { flex-wrap: wrap; gap: .7rem; }
  .wiz-acts .right { flex-wrap: wrap; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-card .intro { font-size: 13px; }
  .fields { grid-template-columns: 1fr 1fr; gap: 1.1rem var(--gutter); }
  .field label { font-size: 10px; }
  .form-actions { gap: .7rem; }
  .contact-side .phone { font-size: 1.9rem; }
  .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq summary { font-size: 1rem; padding: .8rem 0; }
  .faq .a { font-size: 13px; }
  .footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 2.2rem var(--pad) 1.5rem; row-gap: 1.6rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col { grid-column: span 1; }
  .footer-bottom { font-size: 11px; }
  .nf .nf-in { padding: calc(var(--nav-h) + 1.5rem) var(--pad) var(--section); }
  .nf .lede { grid-column: 1 / -1; }
}
