/* MDBS v4. Built out of the job itself: satin black, vinyl backing paper with its printed grid,
   the MDBS red, and one live colour, --wrap, that follows whatever wrap the visitor picks.
   Type: a fine high-contrast serif for headlines, a clean grotesk for everything else. */
:root {
  --black: #000;
  --panel: #0c0c0e;
  --white: #f3f2ef;
  --silver: #a7abb1;        /* secondary text */
  --liner: #e9ebec;         /* vinyl backing paper */
  --grid: rgba(38, 74, 140, 0.12);
  --grid-strong: rgba(38, 74, 140, 0.24);
  --ink: #0c0d0f;
  --red: #c8102e;
  --wrap: #c83a12;
  --line: rgba(243, 242, 239, 0.14);

  --display: "Noto Serif Display", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(20px, 4vw);
  --nav-h: 76px;
  --ease: cubic-bezier(.16, .84, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--sans); font-size: 16.5px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
::selection { background: var(--wrap); color: #fff; }
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
h1, h2, h3 { font-weight: inherit; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 400; background: var(--white); color: var(--black); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 300; font-variation-settings: "wdth" 82; letter-spacing: -0.022em; line-height: 0.96; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.25rem); line-height: 1.55; }
.body { color: rgba(243, 242, 239, 0.72); max-width: 46ch; }
.fine { font-size: 0.78rem; color: var(--silver); }
.hot { font-style: normal; color: var(--red); font-weight: 650; }
/* the label on the end of a roll: a square of the current wrap colour and the service name */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; color: var(--white); }
.eyebrow::before { content: ""; width: 11px; height: 11px; background: var(--wrap); border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); transition: background-color .6s; }

/* ---------- buttons ---------- */
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 40px; font: 600 0.95rem/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #ad0d27; }
.btn-line { border-color: rgba(243, 242, 239, 0.4); color: var(--white); }
.btn-line:hover { border-color: var(--white); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: #000; display: grid; place-items: center; transition: opacity 1s var(--ease), visibility 1s; }
.loader video { width: min(220px, 50vw); aspect-ratio: 1; object-fit: cover; }
.loader.done { opacity: 0; visibility: hidden; }

/* ---------- nav: logo on the left, one solid pill on the right that reads over anything ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.nav > * { pointer-events: auto; }
.brand { display: grid; place-items: center; width: 64px; height: 64px; margin-left: -10px; border-radius: 50%; transition: background-color .4s; }
.brand img { width: 64px; height: auto; filter: drop-shadow(0 1px 8px rgba(0,0,0,.5)); }
.nav.on-light .brand img { filter: invert(1); }
.nav-pill { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 40px; background: rgba(14, 14, 16, 0.72); border: 1px solid rgba(255,255,255,0.12); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.nav-book { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 40px; background: var(--red); color: #fff; font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: background-color .25s; }
.nav-book:hover { background: #ad0d27; }
.fan-btn { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px 0 12px; border-radius: 40px; background: none; border: 0; color: var(--white); font: 600 0.88rem/1 var(--sans); cursor: pointer; transition: background-color .25s; }
.fan-btn:hover { background: rgba(255,255,255,.08); }
.fan-btn-icon { position: relative; width: 22px; height: 22px; }
.fan-btn-icon i { position: absolute; left: 2px; bottom: 3px; width: 18px; height: 4px; border-radius: 1px; background: currentColor; transform-origin: 2px 50%; transition: transform .45s var(--ease), opacity .3s; }
.fan-btn-icon i:nth-child(1) { transform: rotate(0deg); }
.fan-btn-icon i:nth-child(2) { transform: rotate(-35deg); }
.fan-btn-icon i:nth-child(3) { transform: rotate(-70deg); }
.fan-btn[aria-expanded="true"] .fan-btn-icon i:nth-child(1) { transform: translate(2px, -6px) rotate(45deg); transform-origin: center; }
.fan-btn[aria-expanded="true"] .fan-btn-icon i:nth-child(2) { opacity: 0; }
.fan-btn[aria-expanded="true"] .fan-btn-icon i:nth-child(3) { transform: translate(2px, -6px) rotate(-45deg); transform-origin: center; }

/* ---------- swatch-fan menu ---------- */
.fan-menu { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, 0.84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.fan-menu[hidden] { display: none; }
.fan { position: absolute; left: max(28px, 7vw); bottom: max(40px, 9vh); }
.blade {
  --len: min(80vw, 660px);
  position: absolute; left: -30px; bottom: -32px; width: var(--len); height: 64px; border-radius: 6px 32px 32px 6px;
  background: var(--c); color: var(--t); text-decoration: none;
  display: flex; align-items: center; justify-content: flex-end; padding: 0 30px;
  transform-origin: 30px 50%; transform: rotate(4deg); opacity: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 14px 30px rgba(0,0,0,.45);
  transition: transform .7s var(--ease), opacity .4s, filter .25s; transition-delay: calc(var(--a) * 40ms);
}
.blade span { font-family: var(--display); font-weight: 400; font-variation-settings: "wdth" 82; font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: -0.01em; }
.blade::before { content: ""; position: absolute; left: 22px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: rgba(0,0,0,.5); box-shadow: inset 0 1px 2px rgba(0,0,0,.6); }
.fan-menu.open .blade { opacity: 1; transform: rotate(calc(var(--a) * -11.5deg - 2deg)); }
.blade:hover, .blade:focus-visible { filter: brightness(1.12); }
.pivot { position: absolute; left: -38px; bottom: -40px; width: 16px; height: 16px; border-radius: 50%; background: #c9cbcd; box-shadow: 0 0 0 4px #000, inset 0 -2px 3px rgba(0,0,0,.4); z-index: 2; }
.fan-side { position: absolute; right: var(--gutter); bottom: max(40px, 9vh); text-align: right; color: var(--silver); font-size: 0.92rem; }
.fan-side a { color: var(--white); }

/* ---------- 1. hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.08) 56%, rgba(0,0,0,.3)); z-index: 2; }
.peel { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; transition: opacity 1.2s var(--ease); touch-action: pan-y; }
.peel.gone { opacity: 0; pointer-events: none; }
.hero-meta { position: absolute; z-index: 3; right: var(--gutter); bottom: calc(max(6vh, 34px) + 74px); text-align: right; font-size: 0.86rem; color: rgba(243,242,239,.78); line-height: 1.7; }
.hero-hint { position: absolute; z-index: 3; left: 50%; top: 44%; transform: translate(-50%, -50%); font-size: 0.86rem; font-weight: 600; color: rgba(243,242,239,.92); padding: 11px 18px; border: 1px solid rgba(243,242,239,.32); border-radius: 40px; background: rgba(0,0,0,.25); transition: opacity .6s; pointer-events: none; white-space: nowrap; }
.hero-hint.gone { opacity: 0; }
.hero-title { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: calc(max(6vh, 34px) + 74px); font-size: clamp(3.4rem, 9.2vw, 11rem); pointer-events: none; max-width: 11ch; }
.hero-title .line { display: block; overflow: hidden; padding: 0 0.04em 0.08em 0; }
.hero-title .line span { display: block; transform: translateY(110%); transition: transform 1.3s var(--ease); transition-delay: calc(0.15s + var(--i) * 0.1s); }
.ready .hero-title .line span { transform: none; }
.hero-cta { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: max(6vh, 34px); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(243,242,239,.22); padding-top: 22px; }
.hero-cta p { font-size: 1.02rem; color: rgba(243,242,239,.86); }

/* ---------- the running list of cars ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: #000; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 300; font-variation-settings: "wdth" 82; font-size: clamp(1.6rem, 3vw, 2.8rem); letter-spacing: -0.015em; white-space: nowrap; }
.marquee-track i { width: 9px; height: 9px; border-radius: 50%; background: var(--wrap); flex: none; transition: background-color .6s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 2. wrap stage ---------- */
.wrap-stage { position: relative; height: 380vh; height: 380svh; }
.wrap-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.wrap-gl, .wrap-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.wrap-fallback { object-fit: cover; object-position: 50% 58%; display: none; }
.no-gl .wrap-fallback { display: block; }
.no-gl .wrap-gl { display: none; }
.wrap-pin::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.35) 32%, transparent 56%), linear-gradient(0deg, rgba(0,0,0,.72), transparent 34%); }
.wrap-copy { position: absolute; z-index: 2; left: var(--gutter); top: calc(var(--nav-h) + 5vh); width: min(520px, 42vw); display: flex; flex-direction: column; gap: 18px; transition: opacity .6s, transform .8s var(--ease); }
.wrap-title { font-size: clamp(2.8rem, 5.2vw, 5.8rem); }
.wrap-copy.dim { opacity: 0; transform: translateY(-24px); pointer-events: none; }

.notes { list-style: none; padding: 0; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.note { position: absolute; width: 260px; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s var(--ease); font-size: 0.9rem; line-height: 1.45; padding-left: 20px; }
.note.on { opacity: 1; transform: none; }
.note::before { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 0 0 9px rgba(255,255,255,.07); }
.note::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: linear-gradient(var(--white), transparent); opacity: .6; }
.note.flip { transform: translate(-100%, 10px); padding: 0 20px 0 0; text-align: right; }
.note.flip.on { transform: translateX(-100%); }
.note.flip::before { left: auto; right: -5px; }
.note.flip::after { left: auto; right: 0; }
.note b { display: block; font-family: var(--display); font-weight: 400; font-variation-settings: "wdth" 82; font-size: 1.7rem; letter-spacing: -0.015em; line-height: 1; margin: 6px 0 8px; }
.note span { color: rgba(243,242,239,.85); display: block; text-shadow: 0 1px 12px rgba(0,0,0,.85); }

.deck { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: max(4vh, 22px); display: flex; align-items: flex-end; gap: 4vw; transition: opacity .6s, transform .8s var(--ease); }
.deck.hide { opacity: 0; transform: translateY(30px); pointer-events: none; }
.deck-fan { position: relative; width: 330px; height: 250px; flex: none; }
.deck-fan button {
  position: absolute; left: 0; bottom: 0; width: 300px; height: 46px; border: 0; padding: 0 20px 0 46px; border-radius: 5px 24px 24px 5px;
  background: var(--c); color: #fff; text-align: right; font: 600 0.88rem/1 var(--sans); cursor: pointer;
  transform-origin: 22px 50%; transform: rotate(calc(var(--i) * -10deg)); box-shadow: 0 10px 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .6s var(--ease), filter .2s;
}
.deck-fan button span { text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.deck-fan button::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #c9cbcd; box-shadow: inset 0 -2px 3px rgba(0,0,0,.45); }
.deck-fan button:hover { filter: brightness(1.12); }
.deck-fan button[aria-checked="true"] { transform: rotate(calc(var(--i) * -10deg)) translateX(26px); filter: brightness(1.1); z-index: 2; }
.deck-side { display: flex; flex-direction: column; gap: 14px; padding-bottom: 4px; max-width: 330px; }
.readout { font-family: var(--display); font-weight: 400; font-variation-settings: "wdth" 82; font-size: 2rem; letter-spacing: -0.015em; line-height: 1; }
.finish { display: flex; border: 1px solid var(--line); border-radius: 40px; overflow: hidden; align-self: flex-start; padding: 4px; gap: 4px; background: rgba(0,0,0,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.finish button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 40px; background: none; color: var(--silver); font: 600 0.84rem/1 var(--sans); cursor: pointer; transition: background-color .25s, color .25s; }
.finish button[aria-checked="true"] { background: var(--white); color: #000; }

/* ---------- 3. PPF: split stage ---------- */
.ppf { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); min-height: 100vh; background: #000; }
.ppf-stage { position: relative; overflow: hidden; min-height: 100vh; cursor: crosshair; touch-action: pan-y; }
.ppf-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ppf-chips { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* the filmed half: a faint gloss, slightly deeper colour, a moving sheen */
.ppf-film { position: absolute; inset: 0; pointer-events: none; clip-path: inset(0 0 0 var(--split, 50%)); background: linear-gradient(112deg, transparent 32%, rgba(255,255,255,.12) 42%, transparent 50%, transparent 64%, rgba(255,255,255,.06) 70%, transparent 76%); background-size: 260% 100%; animation: sheen 7s linear infinite; backdrop-filter: saturate(1.15) contrast(1.05); -webkit-backdrop-filter: saturate(1.15) contrast(1.05); }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: -160% 0; } }
.split { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 44px; margin-left: -22px; border: 0; background: none; cursor: ew-resize; z-index: 3; padding: 0; }
.split::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(255,255,255,.9); box-shadow: 0 0 18px rgba(255,255,255,.4); }
.split span { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.split span::before, .split span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px; border: 5px solid transparent; }
.split span::before { left: 8px; border-right-color: #111; }
.split span::after { right: 8px; border-left-color: #111; }
.side-tag { position: absolute; z-index: 3; top: calc(var(--nav-h) + 14px); padding: 8px 14px; border-radius: 40px; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 0.84rem; font-weight: 600; white-space: nowrap; }
.side-tag b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; margin-left: 8px; font-variant-numeric: tabular-nums; }
.side-tag.left { left: 18px; }
.side-tag.right { right: 18px; }
.ppf-copy { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: calc(var(--nav-h) + 4vh) var(--gutter) 8vh 4vw; }
.ppf-copy h2 { font-size: clamp(2.6rem, 4.6vw, 5rem); }
.ppf-copy .body a { color: var(--white); text-underline-offset: 4px; }

/* ---------- 4. the work on backing paper ---------- */
.roll { position: relative; }
.roll-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; background: #000; }
.roll-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: calc(var(--nav-h) + 2vh) var(--gutter) 3vh; }
.roll-head h2 { font-size: clamp(3rem, 7vw, 7.6rem); }
.roll-head p { color: var(--silver); }
.liner { position: relative; flex: 1; background-color: var(--liner); color: var(--ink);
  background-image: linear-gradient(var(--grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px), linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px; background-position: var(--bx, 0) 0; }
.ruler { position: absolute; left: 0; top: 0; height: 26px; display: flex; font-size: 0.66rem; font-weight: 600; color: rgba(38, 74, 140, 0.6); font-variant-numeric: tabular-nums; pointer-events: none; white-space: nowrap; }
.ruler span { flex: none; width: 200px; padding: 6px 0 0 6px; }
.track { position: absolute; left: 0; top: 44px; bottom: 5vh; display: flex; align-items: stretch; gap: 22px; padding: 0 var(--gutter); will-change: transform; }
.label { flex: none; width: 330px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 0 30px 18px 12px; margin-left: 40px; border-left: 1.5px dashed rgba(12,13,15,.35); }
.label:first-child { margin-left: 0; }
.label-no { font-size: 0.78rem; font-weight: 700; color: rgba(38,74,140,.75); font-variant-numeric: tabular-nums; }
.label h3 { font-size: clamp(2.3rem, 3.4vw, 3.4rem); color: var(--ink); }
.label-job { font-weight: 600; font-size: 0.95rem; color: #2d3138; }
.label blockquote { font-size: 1rem; line-height: 1.45; color: #3c4048; max-width: 30ch; }
.cut { position: relative; flex: none; height: 100%; padding: 10px; background: #fff; border-radius: 12px; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 18px 34px rgba(12, 20, 40, .18); }
.cut > img, .cut > video { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.c-sq { aspect-ratio: 1; }
.c-port { aspect-ratio: 4 / 5; }
.c-film { aspect-ratio: 16 / 10; }
.c-land { aspect-ratio: 3 / 2; }
.cut::after { content: ""; position: absolute; inset: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--wrap) 0 92%, rgba(255,255,255,.75) 97%, var(--wrap)); transform-origin: right; transition: transform 1.1s var(--ease); }
.cut.laid::after { transform: scaleX(0); }
.credit { flex: none; align-self: flex-end; width: 260px; padding: 0 0 18px 30px; font-size: 0.82rem; color: #3c4048; }
.credit a { color: var(--ink); font-weight: 600; }

/* ---------- 5. mission ---------- */
.mission { position: relative; height: 230vh; height: 230svh; }
.mission-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr); gap: 6vw; padding: calc(var(--nav-h) + 4vh) var(--gutter) 6vh; align-items: center; background: #000; }
.strip { height: 100%; overflow: hidden; border-radius: 8px; }
.strip-inner { display: flex; flex-direction: column; gap: 16px; will-change: transform; }
.strip-inner img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.mission-copy { display: flex; flex-direction: column; gap: 26px; }
.garage { font-size: clamp(2rem, 3.6vw, 3.8rem); max-width: 18ch; }
.fill { font-size: clamp(1.15rem, 1.75vw, 1.75rem); line-height: 1.42; font-weight: 400; max-width: 56ch; }
.fill .w { color: rgba(243, 242, 239, 0.2); transition: color .35s; }
.fill .w.lit { color: var(--white); }
.fill .w.lit.key { color: var(--wrap); }

/* ---------- 6. detailing ---------- */
.detailing { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; align-items: center; padding: 14vh var(--gutter); background: #000; }
.detail-stage { position: relative; aspect-ratio: 4 / 5; max-height: 82vh; justify-self: center; width: min(100%, 620px); border-radius: 10px; overflow: hidden; cursor: grab; touch-action: pan-y; }
.detail-stage img, .detail-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 9px 16px; border-radius: 40px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 0.86rem; font-weight: 600; transition: opacity .6s; pointer-events: none; }
.detail-hint.gone { opacity: 0; }
.detail-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; max-width: 560px; }
.detail-copy h2 { font-size: clamp(2.8rem, 5vw, 5.6rem); }
.sticker { position: relative; display: grid; place-items: center; text-align: center; width: 150px; height: 150px; border-radius: 50%; background: var(--wrap); color: #fff; transform: rotate(-12deg); margin-top: 6px; box-shadow: 0 12px 24px rgba(0,0,0,.4); transition: background-color .6s; overflow: hidden; }
.sticker span { font-size: 0.72rem; font-weight: 600; position: absolute; top: 40px; }
.sticker b { font-family: var(--display); font-weight: 400; font-variation-settings: "wdth" 82; font-size: 1.6rem; line-height: .95; margin-top: 18px; max-width: 6ch; }
.sticker::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 46px; height: 46px; background: linear-gradient(135deg, rgba(255,255,255,0) 50%, #e9e9e6 50%); box-shadow: -4px -4px 8px rgba(0,0,0,.25); border-top-left-radius: 6px; transition: width .4s var(--ease), height .4s var(--ease); }
.sticker:hover::after { width: 64px; height: 64px; }

/* ---------- 7. reviews as decals ---------- */
.decals { position: relative; padding: 16vh var(--gutter); background: var(--panel); overflow: hidden; }
.decals > h2 { position: relative; font-size: clamp(2.8rem, 6vw, 6.6rem); margin-bottom: 8vh; }
.decal-board { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: start; }
.decal { position: relative; background: #f3f3f0; color: var(--ink); border-radius: 22px; padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 2px 0 rgba(255,255,255,.6) inset, 0 22px 40px rgba(0,0,0,.5); transition: transform .5s var(--ease); }
.decal.d1 { transform: rotate(-2.2deg); }
.decal.d2 { transform: rotate(1.6deg) translateY(40px); }
.decal.d3 { transform: rotate(-0.8deg) translateY(10px); }
.decal:hover { transform: rotate(0deg) translateY(-6px); }
.decal blockquote { font-family: var(--display); font-weight: 400; font-variation-settings: "wdth" 90; font-size: clamp(1.2rem, 1.5vw, 1.45rem); line-height: 1.32; }
.decal figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.92rem; }
.decal figcaption img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.decal::after { content: ""; position: absolute; right: 0; top: 0; width: 38px; height: 38px; border-top-right-radius: 22px; background: linear-gradient(225deg, var(--panel) 50%, #d8d8d4 50%); box-shadow: -3px 3px 6px rgba(0,0,0,.25); transition: width .4s var(--ease), height .4s var(--ease); }
.decal:hover::after { width: 54px; height: 54px; }
.more { position: relative; display: inline-block; margin-top: 12vh; font-size: 0.95rem; text-underline-offset: 5px; }

/* ---------- 8. FAQ on backing paper ---------- */
.faq { position: relative; color: var(--ink); background-color: var(--liner);
  background-image: linear-gradient(var(--grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px), linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px; }
.ruler-static { position: relative; right: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 6vw; padding: 14vh var(--gutter) 16vh; }
.faq-head { display: flex; flex-direction: column; gap: 16px; align-self: start; position: sticky; top: calc(var(--nav-h) + 4vh); }
.faq-head img { width: 90px; height: auto; margin-bottom: 8px; }
.faq-head h2 { font-size: clamp(2.8rem, 5vw, 5.4rem); }
.faq-head p { color: #43474e; }
.faq-list { border-top: 1.5px dashed rgba(12, 13, 15, 0.42); }
.faq details { border-bottom: 1.5px dashed rgba(12, 13, 15, 0.42); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--display); font-weight: 400; font-variation-settings: "wdth" 85; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.012em; line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 28px; max-width: 60ch; color: #2f3338; }

/* ---------- 9. book ---------- */
.book { position: relative; overflow: hidden; padding: 20vh var(--gutter); background: #000; min-height: 100vh; display: flex; align-items: center; }
.book-film { position: absolute; right: 0; top: 0; width: 64%; height: 100%; object-fit: cover; opacity: .8; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.book-copy { position: relative; max-width: 720px; display: flex; flex-direction: column; gap: 24px; }
.book-title { font-size: clamp(3.2rem, 8vw, 9.4rem); }
.steps { list-style: none; padding: 0; counter-reset: s; margin: 6px 0 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.4rem 1fr; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); color: rgba(243, 242, 239, 0.86); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--wrap); transition: color .6s; }

/* ---------- footer ---------- */
.foot { position: relative; padding: 12vh var(--gutter) calc(5vh + env(safe-area-inset-bottom, 0px)); background: #000; border-top: 1px solid var(--line); }
.foot-logo { width: 100%; height: auto; opacity: .95; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 6vh; color: var(--silver); font-size: 0.9rem; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { color: var(--white); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.social { display: flex; gap: 6px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--white); transition: border-color .25s; }
.social a:hover { border-color: var(--white); }
.social svg { width: 18px; height: 18px; }

/* ---------- phones ---------- */
@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .brand img { width: 54px; }
  .nav-book { padding: 0 14px; font-size: 0.82rem; }
  .fan-btn { padding: 0 12px 0 10px; }
  .fan-btn-label { display: none; }

  .hero-meta { display: none; }
  .hero-title { bottom: 168px; font-size: clamp(3.2rem, 16vw, 5.6rem); }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; }

  .wrap-gl { bottom: auto; height: 66%; }
  .wrap-pin::before { background: linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.25) 30%, transparent 44%), linear-gradient(0deg, #000 34%, rgba(0,0,0,.6) 40%, transparent 52%); }
  .wrap-copy { width: auto; right: var(--gutter); top: calc(var(--nav-h) + 6px); gap: 10px; }
  .wrap-copy .body { display: none; }
  .wrap-title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .wrap-copy .lead { font-size: 0.98rem; }
  .note { width: auto; left: var(--gutter) !important; right: var(--gutter); top: auto !important; bottom: 7svh; padding-left: 16px; }
  .note::before { display: none; }
  .deck { flex-direction: column; align-items: stretch; gap: 12px; bottom: 16px; }
  .deck-fan { width: 100%; height: 58px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .deck-fan::-webkit-scrollbar { display: none; }
  .deck-fan button { position: relative; flex: none; width: 46px; height: 46px; padding: 0; border-radius: 50%; transform: none; font-size: 0; }
  .deck-fan button::before { display: none; }
  .deck-fan button[aria-checked="true"] { transform: none; box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--white); }
  .deck-side { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
  .readout { font-size: 1.5rem; width: 100%; }
  .deck-side .fine { display: none; }

  .ppf { grid-template-columns: 1fr; }
  .ppf-stage { min-height: 0; aspect-ratio: 4 / 4.4; }
  .side-tag { top: auto; bottom: 12px; font-size: 0.76rem; padding: 6px 10px; }
  .side-tag.left { left: 10px; }
  .side-tag.right { right: 10px; }
  .ppf-copy { padding: 6vh var(--gutter) 10vh; }

  .track { gap: 14px; top: 40px; bottom: 4vh; }
  .label { width: 250px; padding-right: 16px; margin-left: 20px; }

  .mission-pin { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 16px); align-content: center; }
  .strip { display: none; }
  .garage { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .fill { font-size: clamp(1.02rem, 4.4vw, 1.2rem); line-height: 1.45; }

  .detailing { grid-template-columns: 1fr; gap: 44px; padding: 12vh var(--gutter); }

  .decal-board { grid-template-columns: 1fr; gap: 26px; }
  .decal.d2 { transform: rotate(1.6deg); }
  .decal.d3 { transform: rotate(-0.8deg); }

  .faq-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 10vh; }
  .faq-head { position: static; }
  .book-film { width: 100%; opacity: .32; }
  .fan-side { display: none; }
  .blade { --len: 84vw; height: 54px; padding: 0 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .cut::after { display: none; }
}
