/* Your Future Site, mockup: "Fig. 1, a small business in nine parts".
   One idea: the business drawn as a parts diagram. Paper, ink, one blue for the asks.
   Two families: Archivo (display and text) and Geist Mono (part numbers and labels). */

@font-face { font-family: "Archivo"; font-weight: 400 700; font-display: swap; src: url("/fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400 600; font-display: swap; src: url("/fonts/geist-mono.woff2") format("woff2"); }

:root {
  --paper: #EFECE5;
  --sheet: #F5F3EE;
  --ink: #13213A;
  --ink-2: #3E4A62;
  --mute: #58627A;
  --line: rgba(19, 33, 58, .16);
  --line-2: rgba(19, 33, 58, .32);
  --blue: #2563EB;
  --blue-deep: #1D4FD0;
  --wash: #DCE6FB;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --g: clamp(16px, 3.2vw, 44px);          /* side gutter */
  --hdr: 64px;
  --r: 4px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text);
  font-feature-settings: "tnum" 0; overflow-x: clip;
  background-image: radial-gradient(rgba(19, 33, 58, .085) 1px, transparent 1.3px);
  background-size: 24px 24px; background-position: -12px -12px;
}
/* two guide lines down the sheet, after Cult UI "stripe-bg-guides" */
body::before {
  content: ""; position: fixed; inset: 0 var(--g); border-inline: 1px solid var(--line); pointer-events: none; z-index: 0;
}
::selection { background: var(--blue); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  background: var(--blue); color: #fff; font: 600 16px/1 var(--text); letter-spacing: -.005em; text-decoration: none;
  border-radius: var(--r); border: 0; cursor: pointer; transition: background-color .18s var(--ease), transform .12s var(--ease);
}
.btn::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn--sm::after { display: none; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 18px; }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--blue-deep); } }

.link { color: var(--ink); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 0 1px; background-position: 100% 100%; } }

.kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.kicker__fig { border: 1px solid var(--ink); color: var(--ink); padding: 5px 8px 4px; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; height: var(--hdr); z-index: 30; display: flex; align-items: center; gap: var(--s6);
  padding: 0 var(--g); background: color-mix(in srgb, var(--paper) 88%, transparent); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.top__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 16px/1 var(--display); letter-spacing: -.02em; min-height: 44px; }
.top__brand img { width: 51px; height: auto; }
.top__nav { display: flex; gap: var(--s5); margin-left: auto; }
.top__nav a { font: 500 13px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); padding: 14px 0; background: linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size .25s var(--ease), color .2s; }
@media (hover: hover) and (pointer: fine) { .top__nav a:hover { color: var(--ink); background-size: 100% 1px; } }
.top__menu { display: none; }

/* ---------- FIG. 1: the stage and the flow over it ---------- */
.fig { position: relative; z-index: 1; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; width: 100%; overflow: hidden; }
.stage__still { position: absolute; inset: var(--hdr) 0 0; width: 100%; height: calc(100% - var(--hdr)); object-fit: contain; object-position: 62% 78%; transition: opacity .5s var(--ease); }
.stage__gl { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; opacity: 0; transition: opacity .5s var(--ease); }
.stage.is-live .stage__gl { opacity: 1; }
.stage.is-live .stage__still { opacity: 0; visibility: hidden; }
.stage.is-dragging .stage__gl { cursor: grabbing; }

.tags { position: absolute; inset: 0; pointer-events: none; }
.stage:not(.is-live) .tags { display: none; }
.tag {
  position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 0;
  margin: -22px 0 0 -22px; min-width: 44px; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--ink);
  transition: opacity .3s var(--ease); will-change: transform;
}
.tag__n {
  display: grid; place-items: center; width: 30px; height: 30px; margin: 7px; border-radius: 50%;
  background: var(--sheet); border: 1px solid var(--ink); font: 600 11px/1 var(--mono); letter-spacing: 0;
  box-shadow: 0 0 0 4px rgba(239, 236, 229, .7); transition: background-color .2s, color .2s, border-color .2s;
}
.tag__t {
  font: 500 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  background: var(--sheet); border: 1px solid var(--line-2); padding: 6px 8px 5px; margin-left: -2px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.tag[aria-pressed="true"] .tag__n, .tag.is-on .tag__n { background: var(--blue); border-color: var(--blue); color: #fff; }
.tag[aria-pressed="true"] .tag__t, .tag.is-on .tag__t { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .tag:hover .tag__n { background: var(--ink); color: #fff; } }
.stage:not([data-view="hero"]) .tag { opacity: 0 !important; pointer-events: none; }
.tag .tag__t { display: none; }
.tag:hover .tag__t, .tag:focus-visible .tag__t, .tag[aria-pressed="true"] .tag__t, .tag.is-on .tag__t { display: block; }

/* the key, like the legend on a drawing: the tags carry numbers, the key carries names */
.key { position: absolute; top: calc(var(--hdr) + 34px); right: var(--g); z-index: 3; list-style: none; margin: 0; padding: 14px 0 0; width: 216px; border-top: 1px solid var(--ink); transition: opacity .3s; }
.key::before { content: "Key"; position: absolute; top: -8px; right: 0; background: var(--paper); padding-left: 8px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.key button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 32px; padding: 0; background: none; border: 0; color: var(--ink-2); font: 500 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; text-align: left; }
.key button span { color: var(--mute); }
.key button[aria-pressed="true"], .key button[aria-pressed="true"] span { color: var(--blue-deep); }
@media (hover: hover) and (pointer: fine) { .key button:hover { color: var(--ink); } }
.stage:not([data-view="hero"]) .key, .stage:not(.is-live) .key { opacity: 0; pointer-events: none; }
.stage:not([data-view="hero"]) .key button { visibility: hidden; }

.stage__bar { position: absolute; right: var(--g); bottom: 28px; display: flex; align-items: center; gap: var(--s4); z-index: 2; transition: opacity .3s; }
.stage:not([data-view="hero"]) .stage__bar, .stage:not(.is-live) .stage__bar { opacity: 0; pointer-events: none; }
.stage:not([data-view="hero"]) .stage__bar .chip { visibility: hidden; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; background: var(--sheet); color: var(--ink);
  border: 1px solid var(--ink); border-radius: var(--r); font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  transition: background-color .2s, color .2s, transform .12s var(--ease);
}
.chip:active { transform: scale(.97); }
.chip__icon { width: 14px; height: 14px; position: relative; }
.chip__icon::before, .chip__icon::after { content: ""; position: absolute; inset: 0; border: 1.5px solid currentColor; transition: transform .35s var(--ease); }
.chip__icon::after { transform: translate(0, 0); background: var(--sheet); }
.chip[aria-pressed="true"] .chip__icon::before { transform: translate(-3px, 3px); }
.chip[aria-pressed="true"] .chip__icon::after { transform: translate(3px, -3px); }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--ink); color: #fff; } .chip:hover .chip__icon::after { background: var(--ink); } }
.stage__hint { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 8px; }
.stage__hint::before { content: ""; width: 26px; height: 8px; border: 1px solid var(--mute); border-top: 0; border-radius: 0 0 50% 50%; }

.stage__cap {
  position: absolute; left: 50%; bottom: 96px; z-index: 2; max-width: min(560px, calc(100% - 2 * var(--g))); transform: translateX(-30%);
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r); font-size: 15px; line-height: 1.4;
  display: flex; gap: 12px; align-items: baseline; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.stage__cap.is-on { opacity: 1; pointer-events: auto; }
.stage__cap b { font: 600 12px/1 var(--mono); letter-spacing: .06em; color: #9DB8F5; }
.stage__cap a { color: #fff; font-weight: 600; white-space: nowrap; }
.stage:not([data-view="hero"]) .stage__cap { opacity: 0; pointer-events: none; }

.fig__flow { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.fig__flow a, .fig__flow button, .fig__flow .panel, .fig__flow .hero__foot, .fig__flow .hero__proof { pointer-events: auto; }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; padding: calc(var(--hdr) + var(--s6)) var(--g) 76px; display: flex; flex-direction: column; position: relative; }
.hero__title { font-size: clamp(3rem, 8.1vw, 9rem); line-height: .9; letter-spacing: -.05em; margin-top: var(--s5); max-width: 14ch; pointer-events: none; }
.hero__foot { margin-top: auto; max-width: 440px; display: grid; gap: var(--s4); background: color-mix(in srgb, var(--paper) 82%, transparent); padding: var(--s4) 0; }
.hero__lede { font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.hero__ask { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.hero__note { font-size: 14px; color: var(--mute); }
.hero__proof { margin-top: var(--s4); display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); max-width: 520px; }
.hero__proof .mono { color: var(--ink); }
.hero__proof a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }

/* the part panels */
.chapter { padding: 0 var(--g); }
.panel {
  position: relative; width: min(420px, 100%); background: var(--sheet); border: 1px solid var(--line-2); padding: var(--s6) var(--s6) var(--s5);
  margin-bottom: 62vh;
}
/* registration marks on each corner, like a print sheet */
.panel::before, .panel::after { content: ""; position: absolute; width: 11px; height: 11px; border: 0 solid var(--ink); }
.panel::before { left: -6px; top: -6px; border-left-width: 1px; border-top-width: 1px; }
.panel::after { right: -6px; bottom: -6px; border-right-width: 1px; border-bottom-width: 1px; }
.panel--head { background: transparent; border-color: transparent; padding-left: 0; width: min(540px, 100%); }
.panel--head::before, .panel--head::after { display: none; }
.panel--head h2 { font-size: clamp(2.2rem, 4.2vw, 3.9rem); margin-top: var(--s5); letter-spacing: -.045em; line-height: .95; }
.said { margin-top: var(--s5); font-size: 19px; color: var(--ink-2); display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.said .mono { color: var(--ink); }
.chapter:first-child .panel--head { margin-top: 10vh; }

.part__no { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.part__no span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ink); color: var(--ink); margin-right: 6px; font-weight: 600; }
.part h3 { font-size: 30px; margin-top: var(--s4); letter-spacing: -.03em; display: grid; gap: 6px; }
.part h3 span { font: 500 13px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue-deep); }
.part > p:not(.part__no):not(.fine) { margin-top: var(--s4); font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.price { margin: var(--s5) 0 0; border-top: 1px solid var(--ink); }
.price div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.price dt { font-weight: 600; font-size: 15px; line-height: 1.35; }
.price dt small { display: block; font-weight: 400; font-size: 13px; color: var(--mute); margin-top: 2px; }
.price dd { margin: 0; font: 700 18px/1.2 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.price dd small { font: 400 13px/1.3 var(--text); color: var(--mute); white-space: normal; }
.fine { margin-top: var(--s4); font-size: 13px; line-height: 1.5; color: var(--mute); }
.chapter:last-child .panel:last-child { margin-bottom: 40vh; }

/* ---------- sheets after the figure ---------- */
.plates, .bom, .assembly, .faq, .close { position: relative; z-index: 1; padding: var(--s9) var(--g); border-top: 1px solid var(--line-2); background: var(--paper); }
.sheet__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5) var(--s7); align-items: end; margin-bottom: var(--s7); }
.sheet__head .kicker { grid-column: 1 / -1; }
.sheet__head h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); letter-spacing: -.045em; line-height: .95; }
.sheet__lede { font-size: 18px; color: var(--ink-2); max-width: 46ch; }

/* plates: the real builds */
.plates__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); }
.plate { margin: 0; display: grid; gap: var(--s4); align-content: start; }
.plate__shot { display: block; border: 1.5px solid var(--ink); border-radius: 26px; padding: 8px; background: var(--sheet); position: relative; }
.plate__shot img { border-radius: 18px; width: 100%; aspect-ratio: 390 / 650; object-fit: cover; object-position: top; background: #DAD5CB; }
.plate__shot::before { content: "390"; position: absolute; left: 0; right: 0; top: -22px; text-align: center; font: 500 11px/1 var(--mono); color: var(--mute); border-top: 1px solid var(--line-2); padding-top: 4px; }
.plate figcaption { display: grid; gap: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.plate figcaption strong { font: 700 20px/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.plate figcaption .link { justify-self: start; margin-top: 4px; font-size: 15px; }

/* the parts list */
.bom__table { width: 100%; border-collapse: collapse; border: 1px solid var(--ink); background: var(--sheet); font-variant-numeric: tabular-nums; }
.bom__table th, .bom__table td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line-2); font-size: 16px; line-height: 1.55; }
.bom__table thead th { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--ink); padding-block: 14px; }
.bom__table tbody th { font: 700 18px/1.4 var(--display); letter-spacing: -.01em; width: 20%; }
.bom__table td:first-child { width: 64px; color: var(--ink); }
.bom__table td:last-child, .bom__table thead th:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.bom__table tr.is-start { background: var(--wash); }
.bom__table tr.is-start td:first-child { box-shadow: inset 4px 0 0 var(--blue); }
.flag { display: inline-block; margin-left: 8px; font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 5px 7px 4px; vertical-align: 2px; }
.terms { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-2); }
.terms li { padding: 18px; border-right: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.terms li:last-child { border-right: 0; }
.terms strong { display: block; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }

/* assembly steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ink); background: var(--sheet); }
.step { position: relative; padding: var(--s5); border-right: 1px solid var(--line-2); display: grid; gap: var(--s3); align-content: start; }
.step:last-child { border-right: 0; }
.step img { width: 100%; aspect-ratio: 800 / 560; object-fit: contain; margin-bottom: var(--s3); }
.step__n { position: absolute; left: var(--s5); top: var(--s4); font: 700 64px/1 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.step h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* FAQ */
.faq__list { border-top: 1px solid var(--ink); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s5); padding: 22px 0; font: 600 20px/1.3 var(--display); letter-spacing: -.015em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 70ch; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
  html { interpolate-size: allow-keywords; }
}

/* close */
.close { padding-block: var(--s9) calc(var(--s9) + 20px); }
.close h2 { font-size: clamp(2.8rem, 8vw, 8.4rem); letter-spacing: -.05em; line-height: .9; margin-top: var(--s5); max-width: 13ch; }
.close__lede { margin-top: var(--s6); font-size: 19px; color: var(--ink-2); max-width: 52ch; }
.close__ask { margin-top: var(--s6); display: flex; gap: var(--s5); align-items: center; flex-wrap: wrap; }

/* footer: a drawing's title block */
.titleblock {
  position: relative; z-index: 1; margin: 0 var(--g) 96px; display: grid; grid-template-columns: 2fr 1.4fr 0.6fr 1fr; border: 1px solid var(--ink); background: var(--sheet);
}
.tb { padding: 18px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: grid; gap: 8px; align-content: start; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tb .mono { color: var(--mute); font-size: 11px; }
.tb--brand { grid-row: span 2; }
.tb--brand img { width: 70px; }
.tb--links { display: flex; flex-wrap: wrap; gap: 4px 16px; align-content: start; }
.tb--links .mono { width: 100%; }
.tb--links a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .tb--links a:hover { text-decoration: underline; } }
.tb a { color: var(--ink); }
.tb--end { grid-column: 1 / -1; border-right: 0; border-bottom: 0; font-size: 13px; color: var(--mute); }

/* mockup bar */
.mockbar {
  position: fixed; left: var(--g); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 12px;
  font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--sheet); border: 1px solid var(--ink); padding: 10px 12px; border-radius: var(--r);
}
.mockbar__dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-right: 8px; vertical-align: 1px; }
.mockbar__cta { display: none; }

/* reveal once (never toggles back) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- tablet and phone ---------- */
@media (max-width: 1100px) {
  .plates__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
}
@media (max-width: 900px) {
  .top__nav { display: none; position: fixed; top: var(--hdr); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--sheet); border-bottom: 1px solid var(--ink); padding: 8px var(--g) 16px; }
  .top__nav.is-open { display: flex; }
  .top__nav a { padding: 14px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
  .top__cta { margin-left: auto; }
  .top__menu { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: 1px solid var(--ink); border-radius: var(--r); cursor: pointer; }
  .top__menu span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease); }
  .top__menu[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .top__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .sheet__head { grid-template-columns: minmax(0, 1fr); }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms li:nth-child(2) { border-right: 0; }
  .terms li:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .tb--brand { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 760px) {
  :root { --hdr: 58px; }
  body { font-size: 16px; }
  .top { gap: 10px; }
  .top__brand span { display: none; }
  .top__cta { display: none; }
  .top__menu { margin-left: auto; }
  /* phone: the headline, then a clear band for the model, then the words under it */
  .hero { min-height: 0; padding-top: calc(var(--hdr) + var(--s5)); padding-bottom: var(--s7); }
  .hero__title { font-size: clamp(2.6rem, 12.4vw, 4.2rem); margin-top: var(--s4); }
  .hero__foot { margin-top: 46svh; gap: var(--s3); background: var(--paper); box-shadow: 0 -18px 24px var(--paper); }
  .hero__lede { font-size: 16px; }
  .hero__ask .btn { flex: 1 1 100%; }
  .hero__proof { font-size: 14px; background: var(--paper); }
  .stage__bar { right: auto; left: var(--g); bottom: 25svh; }
  .stage__hint { display: none; }
  .stage__cap { left: var(--g); right: var(--g); transform: none; bottom: calc(25svh + 56px); max-width: none; font-size: 14px; flex-wrap: wrap; }
  .mockbar__more { display: none; }
  .key { display: none; }
  .panel { width: 100%; margin-top: 0; margin-bottom: 70svh; padding: var(--s5) var(--s5) var(--s4); box-shadow: 0 -14px 30px rgba(239, 236, 229, .9); }
  .chapter:first-child .panel--head { margin-top: 30svh; }
  .panel--head { background: var(--sheet); border-color: var(--line-2); padding: var(--s5); }
  .panel--head h2 { font-size: 2.2rem; }
  .said { font-size: 16px; }
  .part h3 { font-size: 26px; }
  .plates, .bom, .assembly, .faq, .close { padding-block: var(--s8); }
  .plates__row { gap: var(--s5) var(--s4); }
  .plate figcaption { font-size: 14px; }
  .plate figcaption strong { font-size: 17px; }
  .plate__shot { border-radius: 20px; padding: 6px; }
  .plate__shot img { border-radius: 14px; }
  .bom__table, .bom__table tbody, .bom__table tr, .bom__table td, .bom__table th { display: block; width: auto !important; }
  .bom__table thead { display: none; }
  .bom__table tr { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line-2); }
  .bom__table td, .bom__table th { border: 0; padding: 2px 0; font-size: 15px; }
  .bom__table td:first-child { grid-row: span 3; padding-left: 14px; }
  .bom__table td:last-child { text-align: left; white-space: normal; color: var(--blue-deep); margin-top: 6px; }
  .bom__table tr.is-start td:first-child { box-shadow: none; }
  .bom__table tr.is-start { box-shadow: inset 4px 0 0 var(--blue); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .step:last-child { border-bottom: 0; }
  .faq summary { font-size: 18px; }
  .close h2 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .close__ask .btn { flex: 1 1 100%; }
  .titleblock { margin-bottom: 110px; }
  .tb--links a { min-height: 44px; }
  .mockbar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); justify-content: space-between; padding: 6px 6px 6px 12px; }
  .mockbar__cta { display: inline-flex; font-family: var(--text); text-transform: none; letter-spacing: 0; }
}

/* ---------- reduced motion: the still image, nothing moving ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .top, .mockbar, .stage__gl, .tags, .stage__bar { display: none !important; }
  .stage { position: static; height: auto; }
  .fig__flow { margin-top: 0; }
  .panel { margin-bottom: 24px; break-inside: avoid; }
  body { background: #fff; }
}

/* one CSS rule for a cross fade between pages */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
