:root {
  --void: #070605;
  --stage: #0c0b09;
  --studio: #161310;
  --raised: #1e1a15;
  --ink: #f4efe6;
  --ink-soft: #c4bbaa;
  --ink-faint: #8a8173;
  --gold: #e0b13a;
  --gold-bright: #f0c14b;
  --gold-dim: rgba(224, 177, 58, 0.14);
  --gold-line: rgba(240, 193, 75, 0.22);
  --danger: #c45c4a;
  --danger-dim: rgba(196, 92, 74, 0.16);
  --warn: #d4a017;
  --ok: #8aa07a;
  --hairline: rgba(244, 239, 230, 0.08);
  --scrim: rgba(0, 0, 0, 0.55);
  --font-display: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-text: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --radius-xs: 5px;
  --radius-sm: 8px;
  --radius-md: 11px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 17px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-section: 80px;
  --nav-h: 52px;
  --hit: 44px;
  --content: 1120px;
  --shadow-product: rgba(0, 0, 0, 0.45) 3px 8px 40px 0;
  --frost: saturate(180%) blur(20px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: var(--void); }
body {
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 70% -10%, rgba(224, 177, 58, 0.16), transparent 55%),
    var(--void);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: #1a1408;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 80;
}
.skip:focus { top: calc(var(--safe-top) + 8px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(12, 11, 9, 0.72);
  backdrop-filter: var(--frost);
  border-bottom: 1px solid var(--hairline);
}
.nav-wrap {
  max-width: var(--content);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-height: var(--hit);
}
.mark:hover { color: var(--ink); }
.mark img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: var(--shadow-product);
}
.mark span {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 12px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: -0.12px;
  padding: 10px 12px;
  min-height: var(--hit);
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
}
.nav-links a[aria-current="page"],
.nav-links a:hover { color: var(--ink); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-toggle {
  display: none;
  width: var(--hit);
  height: var(--hit);
  border: 0;
  background: transparent;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hit);
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  background: var(--gold);
  color: #1a1408;
  font-weight: 400;
  letter-spacing: -0.02em;
  transition: transform 100ms ease-out, filter 100ms ease-out;
}
.btn:hover { color: #1a1408; filter: brightness(1.05); }
.btn:active { transform: scale(0.97); }
.btn[disabled],
.btn.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  filter: none;
}
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-line);
}
.btn-ghost:hover { color: var(--gold-bright); }
.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-sm { min-height: 36px; padding: 8px 15px; font-size: 14px; border-radius: var(--radius-sm); }

.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 20px;
}
main { min-height: calc(100dvh - 200px); }

.hero {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.07;
}
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
h3 { font-size: 21px; line-height: 1.2; }
.lede {
  font-size: 21px;
  line-height: 1.25;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-product);
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  background: transparent;
  vertical-align: middle;
}
.hero-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 14px;
  font-size: 12px;
  color: var(--ink);
  text-shadow: 0 1px 8px #000;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
}

.protocol-lock {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--gold-line);
  background: var(--gold-dim);
  border-radius: var(--radius-md);
  color: var(--ink-soft);
  font-size: 14px;
  margin: 24px 0;
}
.protocol-lock strong { color: var(--ink); font-weight: 600; }

.risk {
  border: 1px solid var(--gold-line);
  background: rgba(212, 160, 23, 0.08);
  color: var(--ink-soft);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.45;
}
.risk-danger {
  border-color: rgba(196, 92, 74, 0.45);
  background: var(--danger-dim);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: var(--studio);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.chip-gold { border-color: var(--gold-line); color: var(--gold); }
.chip-warn { border-color: rgba(196, 92, 74, 0.4); color: #e0a090; }
.addr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--studio);
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
}
.addr button {
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  min-height: 28px;
  padding: 0 4px;
}

.section { padding: 64px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 24px;
}
.muted { color: var(--ink-faint); font-size: 14px; }

.reel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.facts { grid-template-columns: repeat(3, 1fr); }
.card {
  display: block;
  background: var(--studio);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
  transition: transform 140ms ease-out, border-color 140ms ease-out;
}
.card:hover { color: inherit; border-color: var(--gold-line); }
.card:active { transform: scale(0.985); }
.card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  background: var(--void);
}
.card-body { padding: 14px 16px 16px; }
.card-body h3 { font-size: 17px; margin: 0 0 4px; font-family: var(--font-text); letter-spacing: -0.02em; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.progress {
  height: 4px;
  background: rgba(244, 239, 230, 0.08);
  border-radius: 99px;
  margin-top: 12px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: 99px;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.filter {
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  min-height: 36px;
  padding: 6px 14px;
  cursor: pointer;
}
.filter[aria-pressed="true"] {
  background: var(--gold);
  color: #1a1408;
  border-color: var(--gold);
}
.search {
  width: 100%;
  max-width: 420px;
  height: var(--hit);
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: var(--studio);
  padding: 0 18px;
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 32px 0 64px;
}
.still {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-product);
}
.still img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  background: var(--void);
}
.buy {
  background: var(--studio);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: calc(var(--nav-h) + var(--safe-top) + 16px);
}
.buy dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0 0 16px; }
.buy dt { color: var(--ink-faint); font-size: 14px; }
.buy dd { margin: 0; text-align: right; }
.field { display: grid; gap: 6px; margin: 12px 0; }
.field label { font-size: 14px; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  min-height: var(--hit);
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  background: var(--void);
  padding: 10px 12px;
}
.field textarea { min-height: 96px; resize: vertical; }

.steps {
  display: flex;
  gap: 8px;
  margin: 12px 0 28px;
  flex-wrap: wrap;
}
.steps li {
  list-style: none;
  font-size: 12px;
  color: var(--ink-faint);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
}
.steps li.on { color: var(--gold); border-color: var(--gold-line); }

.night {
  padding: 32px 0 72px;
}
.stage {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  background: #000;
  box-shadow: var(--shadow-product);
}
.stage img { width: 100%; height: 520px; object-fit: cover; }
.stage-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
}
.lineup {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th, .table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--hairline);
}
.table th { color: var(--ink-faint); font-weight: 400; }

.footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0 80px;
  color: var(--ink-faint);
  font-size: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.footer a { color: var(--ink-soft); }
.footer h3 {
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 8px 0; }
.legal { max-width: 72ch; line-height: 1.5; }

.empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--ink-soft);
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-lg);
}
.toast {
  position: fixed;
  bottom: calc(16px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: var(--raised);
  border: 1px solid var(--gold-line);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  z-index: 50;
}

.sheet-root[hidden] { display: none; }
.sheet-root {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--scrim);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet {
  width: min(520px, 100%);
  background: var(--stage);
  border-radius: 18px 18px 0 0;
  padding: 20px 20px calc(20px + var(--safe-bottom));
  border: 1px solid var(--hairline);
}

@media (max-width: 900px) {
  .hero, .split, .footer-grid { grid-template-columns: 1fr; }
  .reel-grid, .lineup, .facts { grid-template-columns: 1fr 1fr; }
  .buy { position: static; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: calc(var(--nav-h) + var(--safe-top));
    background: var(--stage);
    flex-direction: column;
    padding: 8px 12px 16px;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links.open { display: flex; }
  .hero { padding-top: 36px; }
}
@media (max-width: 560px) {
  .reel-grid, .lineup { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .btn:active, .card:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--stage); backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root {
    --ink: #fffaf0;
    --ink-soft: #ddd4c4;
    --hairline: rgba(244, 239, 230, 0.28);
  }
}
