/* Waitlist site. Colours come from the renders: navy-black studio, cognac leather, cream thread, satin metal. */

@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #000;  /* = PAGE_BG in scripts/build_media.py: the hero clip fades to exactly this (see why there) */
  --bg-alt: #0b0d12;
  --panel: #10131a;
  --panel-2: #151922;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f0e8da;
  --text-2: #c9c3b8;
  --muted: #8f96a3;
  --cognac: #c4733d;
  --cognac-hi: #dd9461;
  --cognac-lo: #9b4f24;
  --thread: #eadcc0;
  --tan: #c8a27c;
  --metal: #c9ccd2;
  --ok: #8fc79a;
  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --gutter: 16px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 700px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* fine grain over everything: keeps the dark gradients from banding */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cognac-hi); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }

h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.012em; line-height: 0.98; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--cognac-hi); }
h3 { font-size: 17px; font-weight: 550; letter-spacing: -0.005em; line-height: 1.35; }
p { margin: 0; }
.dim { color: var(--muted); font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 500 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--tan);
}
.eyebrow::before { content: ""; width: 26px; border-top: 1.5px dashed currentColor; opacity: 0.8; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons: cognac leather with a stitched edge ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font: 600 15px/1 var(--sans); letter-spacing: 0.01em; color: #fff4e6;
  background: linear-gradient(180deg, var(--cognac) 0%, var(--cognac-lo) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 220, 190, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 10px 30px -12px rgba(196, 115, 61, 0.7);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
}
.btn::after { content: ""; position: absolute; inset: 4px; border-radius: inherit; border: 1px dashed rgba(255, 236, 214, 0.45); pointer-events: none; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.07); box-shadow: inset 0 1px 0 rgba(255, 220, 190, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 16px 36px -12px rgba(196, 115, 61, 0.8); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-sm::after { inset: 3px; }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost::after { display: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); filter: none; }
.btn-block { width: 100%; min-height: 56px; font-size: 16px; }

/* ---------- nav ---------- */
/* a floating pill: see-through, blurred, a thin rim, inset from the edges; the page shows round it */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: calc(env(safe-area-inset-top) + 10px) 12px 0; pointer-events: none; }
.nav-in {
  pointer-events: auto; border-radius: 999px; background: rgba(14, 14, 16, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 32px -14px rgba(0, 0, 0, 0.7);
  transition: background 0.3s;
}
.nav.is-solid .nav-in { background: rgba(14, 14, 16, 0.72); }
/* iPhone Safari pins the bar just under the status bar and scrolls the page behind that strip; keep that strip
   solid black (founder) so the header reads as one block from the top of the screen */
.nav::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 160px; pointer-events: none; background: #000; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 58px; max-width: 1176px; margin: 0 auto; padding: 0 7px 0 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: italic 400 24px/1 var(--serif); letter-spacing: 0.005em; color: var(--text); }
.brand svg { width: 15px; height: 20px; color: var(--metal); }
.nav-links { display: none; gap: 30px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--text-2); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
@media (min-width: 960px) { .nav-links { display: flex; } }
@media (max-width: 420px) { .nav .btn-sm { padding: 0 14px; font-size: 13px; } }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; min-height: 100svh; padding: 80px 0 0; overflow: hidden; }
.hero-media { position: relative; height: 54svh; min-height: 340px; display: flex; justify-content: center; }
.hero-media video {
  height: 100%; width: auto; aspect-ratio: 9 / 16; object-fit: cover;
  /* no mask: only the empty backdrop in the clip fades to the page's black (build_media.py), nothing is cut */
}
.hero-copy { position: relative; padding: 0 var(--gutter) 40px; margin-top: -24px; text-align: center; }
.hero-copy .eyebrow { justify-content: center; }
.hero-copy .eyebrow::before { display: none; }
.hero h1 { font-size: clamp(46px, 12.5vw, 118px); }
.hero h1 em { display: block; }
.lede { max-width: 34em; margin: 20px auto 0; font-size: 17px; color: var(--text-2); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cognac); }

@media (max-width: 699px) {
  .cta-row .btn { flex: 1 1 100%; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.08fr 0.92fr; align-items: center; padding: 80px max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))) 0; min-height: min(100svh, 980px); }
  .hero-media { order: 2; height: min(86svh, 860px); }
  .hero-copy { order: 1; margin: 0; padding: 0 0 24px; text-align: left; }
  .hero-copy .eyebrow { justify-content: flex-start; }
  .lede { margin-left: 0; }
  .cta-row, .hero-points { justify-content: flex-start; }
  .hero h1 { font-size: clamp(64px, 7.2vw, 112px); }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-alt); padding: 18px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font: italic 400 22px/1 var(--serif); color: var(--text-2); white-space: nowrap; }
.marquee i { width: 5px; height: 5px; border-radius: 50%; background: var(--cognac); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
@media (min-width: 900px) { .section { padding: 132px 0; } }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head h2, .compare-copy h2, .how-copy h2, .fit-copy h2 { font-size: clamp(40px, 8.6vw, 72px); }
.section-head > p:not(.eyebrow), .section-head div > p:not(.eyebrow) { margin-top: 18px; font-size: 17px; color: var(--text-2); max-width: 36em; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head-row > div { max-width: 660px; }

/* ---------- demos ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; padding: 0; border: 0; border-radius: 16px; text-align: left;
  background: #0a0b0e; box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; text-decoration: none;
}
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); z-index: -1; }
.tile:hover video { transform: scale(1.035); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 55%, rgba(4, 5, 7, 0.85)); }
.tile-label { position: absolute; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 2px; }
.tile-label b { font-weight: 550; font-size: 14px; }
.tile-label span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.tile-film { grid-column: span 2; }
.tile-film .tile-label b { font: 400 30px/1 var(--serif); }
.tile-film .tile-label span { font-size: 14px; margin-top: 6px; }
.tile-cta { grid-column: span 2; aspect-ratio: auto; min-height: 220px; background: radial-gradient(120% 120% at 0% 0%, #2a1a10 0%, #150e0a 55%, #0d0a08 100%); }
.tile-cta::after { display: none; }
.tile-cta::before { content: ""; position: absolute; inset: 9px; border: 1px dashed rgba(234, 220, 192, 0.3); border-radius: 10px; pointer-events: none; }
.tile-cta-in { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; height: 100%; padding: 28px; }
.tile-cta .eyebrow { margin: 0; }
.tile-cta-h { font: 400 clamp(28px, 4vw, 38px)/1.04 var(--serif); color: var(--text); max-width: 12em; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .tile-film { grid-row: span 2; aspect-ratio: auto; }
  .tile-cta { min-height: 0; aspect-ratio: auto; }
}

/* ---------- compare ---------- */
.compare { display: grid; gap: 40px; align-items: center; }
.compare-stage { display: flex; flex-direction: column; align-items: center; }
.compare-stage .tabs { margin-top: 16px; }
.slider {
  --pos: 50%; position: relative; width: 100%; max-width: 480px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius);
  background: #000; box-shadow: inset 0 0 0 1px var(--line); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.slider-stock-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.slider-tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 999px; font: 500 11px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; background: rgba(8, 9, 12, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line-2); }
.slider-tag-l { left: 14px; color: var(--muted); }
.slider-tag-r { right: 14px; color: var(--cognac-hi); }
.slider-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px; display: grid; place-items: center; outline: none; }
.slider-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px;
  background: repeating-linear-gradient(to bottom, rgba(234, 220, 192, 0.85) 0 6px, transparent 6px 11px); }   /* a dashed border showed as one dot on iPhone */
.slider-knob { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff4e6; background: linear-gradient(180deg, var(--cognac), var(--cognac-lo)); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 220, 190, 0.35); }
.slider-knob svg { width: 20px; height: 20px; }
.slider-handle:focus-visible .slider-knob { outline: 2px solid var(--thread); outline-offset: 3px; }
.slider.is-hint .slider-stock-wrap { transition: clip-path 0.9s var(--ease); }
.slider.is-hint .slider-handle { transition: left 0.9s var(--ease); }
.compare-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 17px; color: var(--text-2); max-width: 30em; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 28px; padding: 4px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font-size: 14px; font-weight: 500; transition: background 0.2s, color 0.2s; }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- rails (materials, videos): swipe on phones, grid on desktop ---------- */
.rail {
  display: grid; grid-auto-flow: column; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
  overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch;   /* sideways only */
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
/* cards in a carousel are always fully there: no slide-up (it made the row taller than its box, so it moved up
   and down) and no fade-in while swiping */
.js .rail > .reveal { opacity: 1; transform: none; transition: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.materials { grid-auto-columns: 72%; }
.mat-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: #05070b; box-shadow: inset 0 0 0 1px var(--line); }
.mat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mat:hover .mat-img img { transform: scale(1.04); }
.mat h3 { margin: 18px 0 6px; }
.mat p { font-size: 15px; color: var(--muted); }
@media (min-width: 640px) { .materials { grid-auto-columns: 44%; } }
@media (min-width: 900px) { .materials { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; } }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; margin: 56px 0 0; border-top: 1px solid var(--line); }
.specs div { padding: 22px 0 0; }
.specs dt { font: 500 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 10px 0 0; font: 400 48px/1 var(--serif); font-variant-numeric: lining-nums; }
.specs dd small { display: block; margin-top: 10px; max-width: 16em; font: 400 13.5px/1.45 var(--sans); color: var(--muted); }
@media (min-width: 900px) { .specs { grid-template-columns: repeat(4, 1fr); } .specs div { padding: 28px 0 0; } .specs dd { font-size: 60px; } }

/* ---------- how it works ---------- */
.how { display: grid; gap: 40px; align-items: center; }
.how-img { max-width: 440px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: #000; box-shadow: inset 0 0 0 1px var(--line); }
.how-img img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-n { font: italic 400 30px/1 var(--serif); color: var(--cognac-hi); }
.steps p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.note { margin-top: 22px; font-size: 14.5px; color: var(--text-2); }
@media (min-width: 900px) { .how { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } .how-img { margin: 0; } }

/* ---------- fit ---------- */
.fit { display: grid; gap: 40px; align-items: center; }
.fit-copy > p:not(.eyebrow):not(.fit-q) { margin-top: 18px; font-size: 17px; color: var(--text-2); max-width: 32em; }
.fit-copy strong { color: var(--text); font-weight: 550; }
.fit-q { margin: 30px 0 12px; font: 500 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.chip:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26); }
.chip.is-on, .chip:has(input:checked) { color: #fff4e6; background: linear-gradient(180deg, rgba(196, 115, 61, 0.95), rgba(155, 79, 36, 0.95)); box-shadow: inset 0 0 0 1px rgba(255, 220, 190, 0.25); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--cognac-hi); outline-offset: 3px; }
.fit-result { margin-top: 20px; padding: 18px 20px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); animation: rise 0.45s var(--ease); }
.fit-result b { display: block; font: 400 26px/1.1 var(--serif); margin-bottom: 6px; }
.fit-result.is-yes b { color: var(--ok); }
.fit-result p { color: var(--text-2); font-size: 15px; }
.fit-result a { display: inline-block; margin-top: 12px; color: var(--cognac-hi); font-weight: 550; text-decoration: none; }
.fit-result a:hover { text-decoration: underline; }
.fit-img {
  position: relative; margin: 0 auto; max-width: 380px; padding: 12px 12px 16px; border-radius: 28px; text-align: center;
  background: linear-gradient(180deg, #151922, #0d1016); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 70px -40px rgba(0, 0, 0, 0.9);
}
.fit-img::before { content: ""; position: absolute; inset: 6px; border-radius: 22px; border: 1px dashed rgba(234, 220, 192, 0.22); pointer-events: none; }
.fit-img img { position: relative; border-radius: 18px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: auto; background: #05070b; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6); }
.fit-img figcaption { position: relative; margin-top: 14px; font-size: 13px; color: var(--text-2); letter-spacing: 0.04em; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (min-width: 900px) { .fit { grid-template-columns: 1.15fr 0.85fr; gap: 80px; } }

/* ---------- videos ---------- */
.vids { grid-auto-columns: 64%; }
.vid { margin: 0; }
.vid-frame { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #000; cursor: pointer; -webkit-tap-highlight-color: transparent; box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.vid-frame video { width: 100%; height: 100%; object-fit: cover; }
.vid-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #fff; background: rgba(8, 9, 12, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); transition: transform 0.3s var(--ease), opacity 0.3s; }
.vid-play svg { width: 20px; height: 20px; margin-left: 3px; }
.vid-frame:hover .vid-play { transform: scale(1.08); }
.vid.is-playing .vid-play, .vid.is-playing .vid-badge { opacity: 0; pointer-events: none; }
.vid-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(8, 9, 12, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; color: var(--thread); transition: opacity 0.3s; }
.vid figcaption { display: grid; gap: 2px; margin-top: 14px; }
.vid figcaption b { font-weight: 550; font-size: 15px; }
.vid figcaption span { font-size: 13px; color: var(--muted); }
@media (min-width: 640px) { .vids { grid-auto-columns: 38%; } }
@media (min-width: 1000px) { .vids { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; } }

/* ---------- progress ---------- */
.progress { display: grid; gap: 8px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 720px; }
.timeline li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 0 0 30px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 22px; bottom: 0; border-left: 1.5px dashed rgba(234, 220, 192, 0.22); }
.timeline li:last-child::before { display: none; }
.timeline li.done::before { border-left-color: rgba(196, 115, 61, 0.7); }
.timeline .dot { position: relative; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(234, 220, 192, 0.3); background: var(--bg); }
.timeline .done .dot { background: var(--cognac); box-shadow: none; }
.timeline .done .dot::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff4e6; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.timeline .now .dot { background: var(--bg); box-shadow: inset 0 0 0 2px var(--cognac-hi); }
.timeline .now .dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--cognac-hi); animation: pulse 2s var(--ease) infinite; }
.timeline b { display: block; font-weight: 550; font-size: 16.5px; }
.timeline b em { margin-left: 8px; padding: 3px 8px; border-radius: 999px; font: 600 10.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; vertical-align: 2px; color: #fff4e6; background: var(--cognac-lo); font-style: normal; }
.timeline span:not(.dot) { display: block; margin-top: 3px; font-size: 15px; color: var(--muted); }
.timeline li:not(.done):not(.now) b { color: var(--text-2); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.7); } }
@media (min-width: 900px) { .progress { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } .progress .section-head { margin: 0; } }

/* ---------- closing call to action ---------- */
.join-section { background: radial-gradient(60% 70% at 50% 50%, rgba(196, 115, 61, 0.13), transparent 70%), var(--bg); }
.join-cta { max-width: 720px; text-align: center; }
.join-cta .eyebrow { justify-content: center; }
.join-cta h2 { font-size: clamp(48px, 10vw, 96px); }
.join-cta > p:not(.eyebrow) { margin: 20px auto 30px; font-size: 17px; color: var(--text-2); max-width: 30em; }

/* ---------- the sign-up popup ---------- */
.card-leather {
  position: relative; border-radius: 26px; padding: 34px 22px 24px;
  background: radial-gradient(130% 90% at 0% 0%, #2b1b11 0%, #1a110c 45%, #110c09 100%);
  box-shadow: inset 0 1px 0 rgba(255, 210, 170, 0.12), inset 0 0 0 1px rgba(255, 210, 170, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.card-leather::before { content: ""; position: absolute; inset: 9px; border-radius: 18px; border: 1.2px dashed rgba(234, 220, 192, 0.32); pointer-events: none; }
@media (min-width: 560px) { .card-leather { padding: 46px 42px 30px; } }
.signup { width: min(520px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.signup[open] { animation: pop 0.45s var(--ease); }
.signup::backdrop { background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.signup-card { text-align: center; }
.signup .eyebrow { justify-content: center; margin-bottom: 14px; }
.signup .eyebrow::before { display: none; }
.signup h2 { font-size: clamp(44px, 11vw, 64px); }
.signup-sub { margin: 14px auto 24px; max-width: 24em; color: var(--text-2); font-size: 16px; }
.signup-close { position: absolute; top: 16px; right: 16px; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--text-2); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 220, 190, 0.14); }
.signup-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.signup-close svg { width: 18px; height: 18px; }
.signup-row { display: grid; gap: 10px; }
@media (min-width: 480px) { .signup-row { grid-template-columns: 1fr auto; } }
.form { position: relative; display: grid; gap: 12px; }
.form input[type="email"] {
  width: 100%; min-height: 54px; padding: 14px 18px; border: 0; border-radius: 999px; outline: none;
  font: 400 16px/1.4 var(--sans); color: var(--text); background: rgba(8, 6, 5, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 220, 190, 0.16); transition: box-shadow 0.2s, background 0.2s;
}
.form input::placeholder { color: rgba(201, 195, 184, 0.5); }
.form input:focus { background: rgba(8, 6, 5, 0.8); box-shadow: inset 0 0 0 1.5px var(--cognac-hi), 0 0 0 4px rgba(196, 115, 61, 0.15); }
.form.is-bad input[type="email"] { box-shadow: inset 0 0 0 1.5px #e0796b; }
.signup-row .btn { min-height: 54px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-err, .form-err { font-size: 13.5px; color: #f0a093; }
.fine { margin-top: 6px; font-size: 13px; color: var(--muted); }
.fine a { color: var(--text-2); }
[data-submit].is-busy span { opacity: 0.6; }
[data-submit].is-busy::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 244, 230, 0.35); border-top-color: #fff4e6; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.joined { text-align: center; padding: 6px 4px 6px; outline: none; animation: rise 0.6s var(--ease); }
.joined-mark { display: inline-grid; width: 72px; height: 72px; color: var(--cognac-hi); margin-bottom: 14px; }
.joined h3 { font: 400 clamp(40px, 8vw, 54px)/1 var(--serif); }
.joined p { margin: 14px auto 0; max-width: 24em; color: var(--text-2); }
.joined-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: block; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border: solid var(--tan); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform 0.3s var(--ease), margin 0.3s; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-list details p { padding: 0 0 22px; color: var(--text-2); max-width: 44em; }
@media (min-width: 900px) { .faq { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } .faq .section-head { margin: 0; } }

/* ---------- footer ---------- */
.footer { padding: 56px 0 calc(56px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.privacy { margin-top: 32px; padding: 0; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.privacy summary { padding: 16px 20px; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.privacy > div { display: grid; gap: 10px; padding: 0 20px 20px; font-size: 14px; color: var(--muted); max-width: 60em; }
.legal { margin-top: 18px; font-size: 12.5px; color: #6c7380; max-width: 60em; }


/* ---------- lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 5, 7, 0.94); color: var(--text); }
.lightbox[open] { display: grid; place-items: center; animation: fade 0.3s ease; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lightbox video { max-width: min(100vw, 560px); max-height: 92dvh; width: auto; height: 92dvh; aspect-ratio: 9 / 16; border-radius: 18px; background: #000; }
.lightbox-close { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px var(--line-2); }
.lightbox-close svg { width: 20px; height: 20px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .timeline .now .dot::after { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- whole-object shots: the full 9:16 render in the same box, nothing cut; the files' empty
   backdrop already fades to black (build_media.py whole_tiles / whole_stills), so no mask is needed ---------- */
.tile.is-whole, .mat-img.is-whole { background: #000; }
.tile.is-whole video, .mat-img.is-whole img { object-fit: contain; }
