:root {
  --ink: #0b0b0c;
  --paper: #e3e5e8;
  --paper-2: #d4d7db;
  --hot: #ff3d14;
  --dim: #8a8d92;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 3vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; }
::selection { background: var(--hot); color: var(--ink); }

/* dither mounts */
[data-dither] { position: relative; overflow: hidden; }
[data-dither] canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }

/* scanline grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}

/* ───────── GATE ───────── */
#gate {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  transition: clip-path 0.9s cubic-bezier(.77,0,.18,1);
  clip-path: inset(0 0 0 0);
}
#gate.out { clip-path: inset(0 0 100% 0); pointer-events: none; }
#gate .gate-bg { position: absolute; inset: 0; opacity: .9; }
#gate .gate-ui { position: relative; text-align: center; display: grid; gap: 28px; justify-items: center; padding: var(--gutter); }
#gate .gate-meta { display: flex; gap: 2.5em; font-size: 13px; color: var(--paper); }
#gate h1 {
  font-family: var(--display); font-weight: 900; line-height: .82;
  font-size: clamp(64px, 15vw, 220px); letter-spacing: -0.01em; color: var(--paper);
  mix-blend-mode: difference;
}
#gate button {
  font: inherit; letter-spacing: .2em; font-size: 15px; color: var(--ink); background: var(--paper);
  border: 0; padding: 14px 26px; cursor: pointer;
}
#gate button:hover, #gate button:focus-visible { background: var(--hot); outline: none; }
#gate .blink { animation: blink 1.1s steps(1) infinite; }
#gate small { font-size: 11px; color: var(--dim); }
@keyframes blink { 50% { opacity: 0; } }

/* ───────── NAV ───────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--gutter); font-size: 13px; mix-blend-mode: difference; color: #fff;
}
.nav .logo { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: .02em; text-decoration: none; }
.nav ul { display: flex; gap: 22px; list-style: none; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .cta { border: 1px solid currentColor; padding: 6px 12px; }
@media (max-width: 720px) { .nav ul li:not(:last-child) { display: none; } }

#mute {
  position: fixed; right: var(--gutter); bottom: 18px; z-index: 60;
  font: inherit; font-size: 12px; letter-spacing: .15em;
  background: var(--ink); color: var(--paper); border: 1px solid var(--paper); padding: 8px 12px; cursor: pointer;
}
#mute[aria-pressed="true"] { color: var(--hot); border-color: var(--hot); }

/* ───────── HERO ───────── */
.hero { position: relative; height: 100svh; min-height: 560px; }
.hero .hero-bg { position: absolute; inset: 0; }
.hero-copy {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 64px;
  display: grid; gap: 18px;
}
.hero h2 {
  font-family: var(--display); font-weight: 900; line-height: .8;
  font-size: clamp(72px, 17vw, 300px); color: var(--paper);
}
.hero .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,12,.85), transparent 55%); }
.hero .row { display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 14px; }
.hero .row b { color: var(--hot); font-weight: 400; }

/* ticker */
.ticker { background: var(--hot); color: var(--ink); overflow: hidden; white-space: nowrap; padding: 10px 0; font-size: 15px; }
.ticker span { display: inline-block; padding-right: 2em; animation: tick 28s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }

/* ───────── SECTIONS ───────── */
section.block { padding: clamp(80px, 12vw, 160px) var(--gutter); position: relative; }
.label { display: flex; gap: 14px; align-items: baseline; font-size: 12px; color: var(--dim); margin-bottom: 36px; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; transform: translateY(-3px); }
.big { font-family: var(--display); font-weight: 900; line-height: .86; font-size: clamp(48px, 9vw, 140px); }

.light { background: var(--paper); color: var(--ink); }
.light .label { color: #6b6e73; }
.light::before { /* faint ruled-paper texture like the reference */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.035) 0 1px, transparent 1px 4px);
}

/* race card */
.card-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.spec { list-style: none; border-top: 1px solid currentColor; }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid currentColor; font-size: 15px; }
.spec li span:first-child { color: var(--dim); }
.spec li span:last-child { text-align: right; }
@media (max-width: 820px) { .card-grid { grid-template-columns: 1fr; } }

/* night clip */
.night-left { display: grid; gap: 36px; }
.night-clip { aspect-ratio: 16 / 7; width: 100%; }

/* pot */
.pot { text-align: center; overflow: hidden; }
.pot-bg { position: absolute; inset: 0; }
.pot > :not(.pot-bg) { position: relative; }

/* previously: feature photo */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature-copy { display: grid; gap: 24px; align-content: start; }
.feature-copy p { max-width: 38ch; font-size: 14px; }
.feature-photo { aspect-ratio: 3 / 4; width: 100%; background: #111; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }

/* dress band: ink bitmap on paper */
.dress-band { height: clamp(140px, 20vw, 280px); margin: calc(-1 * clamp(80px, 12vw, 160px)) calc(-1 * var(--gutter)) clamp(56px, 8vw, 96px); }
.pot .num { font-family: var(--display); font-weight: 900; font-size: clamp(120px, 34vw, 520px); line-height: .8; color: var(--hot); font-variant-numeric: tabular-nums; }
.pot p { margin-top: 24px; font-size: 14px; }

/* video-through-type mask band */
.mask-band { position: relative; height: clamp(220px, 38vw, 560px); }
.mask-band .knock {
  position: absolute; inset: 0; background: var(--ink); color: #fff; mix-blend-mode: multiply;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: clamp(130px, 36vw, 560px); line-height: 1; letter-spacing: -0.02em;
}

/* ───────── LOOKBOOK ───────── */
.look-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.look-head p { max-width: 34ch; font-size: 14px; }
.looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 6px solid var(--ink); margin: 0 calc(-1 * var(--gutter) / 2); }
.look { position: relative; padding: 16px 10px 18px; aspect-ratio: 9 / 17; display: flex; flex-direction: column; cursor: crosshair; }
.look::before, .look::after { /* crop marks */
  content: ""; position: absolute; width: 28px; height: 28px; border: 1.5px solid var(--ink);
}
.look::before { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.look::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.look figure { flex: 1; min-height: 0; }
.look .flip img { object-fit: contain; object-position: center bottom; }
.look figcaption { border-left: 1.5px solid var(--ink); padding: 2px 0 0 14px; margin-top: 18px; font-size: 14px; line-height: 1.55; color: #3c3f44; }
@media (max-width: 1100px) { .looks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .look { padding: 12px 4px 14px; } .look figcaption { font-size: 12px; padding-left: 10px; } }


/* ───────── TICKET BLOCKS ───────── */
.tix { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--paper); }
.tix a {
  display: grid; gap: 18px; align-content: space-between; text-decoration: none;
  padding: clamp(28px, 4vw, 56px) var(--gutter); min-height: 340px; position: relative;
  transition: background .2s, color .2s;
}
.tix a + a { border-left: 1px solid var(--paper); }
.tix a:hover { background: var(--hot); color: var(--ink); }
.tix .t-name { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 7vw, 104px); line-height: .85; }
.tix .t-price { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 88px); line-height: 1; }
.tix s { color: var(--dim); font-size: .45em; margin-left: .3em; }
.tix .t-note { font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-block; background: var(--hot); color: var(--ink); padding: 3px 8px; font-size: 12px; }
.tix a:hover .badge { background: var(--ink); color: var(--hot); }
@media (max-width: 720px) { .tix { grid-template-columns: 1fr; } .tix a + a { border-left: 0; border-top: 1px solid var(--paper); } }

footer { padding: 40px var(--gutter) 80px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--dim); border-top: 1px solid #222; }

/* flipbook: stacked photos, one visible at a time (hard cuts, no fade) */
.flip { position: relative; overflow: hidden; }
.flip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.flip img.on { visibility: visible; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* sub-pages */
.page-head { padding: 120px var(--gutter) 40px; }
.page-head .big { font-size: clamp(56px, 12vw, 180px); }
.notice { margin: 0 var(--gutter) 20px; padding: 10px 14px; border: 1px dashed var(--hot); color: var(--hot); font-size: 12px; }
.fine { padding: 28px var(--gutter) 60px; font-size: 12px; color: var(--dim); display: grid; gap: 6px; }
.countdown { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker span, #gate .blink { animation: none; }
  #gate { transition: none; }
}
