/* BLACK LINE: the site. The page is the dark; your pointer is the torch. Minimal: black, bone, one red. */
@font-face {
  font-family: "Inter Black";
  src: url("assets/Inter-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #040506;
  --bone: #ebe6dc;
  --mute: #7d7a75;
  --red: #c2281f;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Inter Black", "Arial Black", Impact, sans-serif;
  --lx: 60vw;
  --ly: 45vh;
  --lr: 300px;
  --gutter: clamp(18px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 16px/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
figure { margin: 0; }
::selection { background: var(--red); color: #fff; }

/* ---------- The dark and the torch ---------- */
.night {
  position: fixed; inset: 0; z-index: 20; pointer-events: none;
  background: radial-gradient(circle var(--lr) at var(--lx) var(--ly),
    rgba(4, 5, 6, 0) 0%, rgba(4, 5, 6, 0.1) 32%, rgba(4, 5, 6, 0.6) 64%, rgba(4, 5, 6, 0.84) 100%);
  transition: opacity 0.6s;
}
.grain {
  position: fixed; inset: -50%; z-index: 21; pointer-events: none; opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: none; } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -4%); } 75% { transform: translate(-4%, -1%); } }
/* Words are never in the dark: they sit above it. */
.lit { position: relative; z-index: 30; }

/* ---------- The bar, always there ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: linear-gradient(rgba(4,5,6,0.85), rgba(4,5,6,0));
}
.mark img { width: 110px; height: auto; }
.index { display: flex; gap: clamp(18px, 2.6vw, 38px); }
.index a, .menu-btn {
  font: 11px/1 var(--display); letter-spacing: 0.28em; text-transform: uppercase; text-decoration: none; color: var(--mute);
  transition: color 0.25s;
}
.index a:hover, .index a.on { color: var(--bone); }
.index a.on::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin: 0 9px 2px 0; vertical-align: middle; }
.menu-btn { display: none; background: none; border: 0; padding: 10px 0 10px 16px; cursor: pointer; color: var(--bone); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 var(--gutter);
}
.menu[hidden] { display: none; }
.menu a { text-decoration: none; font: clamp(34px, 9vw, 56px)/1.15 var(--display); text-transform: uppercase; }
.menu a span { font: 12px/1 var(--display); color: var(--red); letter-spacing: 0.2em; margin-right: 18px; vertical-align: middle; }

/* ---------- The hour ---------- */
.clock {
  position: fixed; left: var(--gutter); bottom: 22px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  font: 11px/1 var(--display); letter-spacing: 0.2em; color: var(--mute); text-transform: uppercase;
}
.clock b { font-size: 15px; letter-spacing: 0.08em; color: var(--bone); font-variant-numeric: tabular-nums; }
.clock .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img img { object-fit: cover; object-position: 60% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, var(--ink)); pointer-events: none; }
.hero-text { padding: 0 var(--gutter) clamp(90px, 15vh, 160px); max-width: 760px; }
.hero h1 { margin: 0; }
.hero h1 img { width: min(560px, 82vw); height: auto; filter: drop-shadow(0 6px 26px #000); }
.hero p { margin: 16px 0 0; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.5; color: #d6d0c5; text-shadow: 0 2px 14px #000; }
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px !important; font: 11px/1 var(--display) !important; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bone) !important; }
.soon span { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); }
.hint { position: absolute; right: var(--gutter); bottom: 24px; margin: 0; font: 10px/1 var(--display); letter-spacing: 0.32em; text-transform: uppercase; color: var(--mute); animation: breathe 3s ease-in-out infinite; }
.hint .t { display: none; }
@keyframes breathe { 50% { opacity: 0.3; } }

/* ---------- Blocks ---------- */
.block { position: relative; padding: clamp(110px, 18vh, 200px) var(--gutter) 0; }
.num { font: 11px/1 var(--display); letter-spacing: 0.3em; color: var(--red); margin: 0 0 36px; }
.num::after { content: ""; display: inline-block; width: 40px; height: 1px; background: var(--red); vertical-align: middle; margin-left: 14px; }
h2 { font: clamp(30px, 4.6vw, 58px)/1.04 var(--display); text-transform: uppercase; margin: 0 0 30px; letter-spacing: -0.005em; }
h2 span { color: var(--mute); }
h3 { font: clamp(20px, 2.2vw, 28px)/1.1 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.narrow { max-width: 600px; }
.narrow p, .rows p { color: #bdb7ac; }
.wide { margin: 70px calc(var(--gutter) * -1) 0; }
.wide img { width: 100%; height: min(78vh, 760px); object-fit: cover; }

.rows { display: grid; gap: clamp(70px, 12vh, 140px); }
.rows article { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.rows article:nth-child(even) figure { order: 2; }
.rows figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; max-height: 78vh; }
.rows article:first-child figure img { aspect-ratio: 1; }
.rows p { max-width: 420px; margin: 0; }

.posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.posters button { all: unset; cursor: zoom-in; display: block; }
.posters button:nth-child(3n+2) { transform: translateY(clamp(20px, 6vh, 70px)); }
.posters img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.posters button:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }

.chapters ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.chapters li { position: relative; }
.chapters li img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.chapters li div { display: flex; gap: 14px; align-items: baseline; padding: 14px 0 0; }
.chapters i { font: 11px/1 var(--display); font-style: normal; color: var(--red); letter-spacing: 0.15em; }
.chapters b { font: 15px/1.2 var(--display); text-transform: uppercase; letter-spacing: 0.06em; }
.facts { margin: 90px 0 0; font: 11px/1.9 var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone); text-align: center; }
.advisory { margin: 14px auto 0; max-width: 620px; font-size: 13px; color: var(--mute); text-align: center; }

.foot { padding: clamp(120px, 18vh, 200px) var(--gutter) 70px; text-align: center; color: var(--mute); font-size: 13px; }
.foot img { width: 180px; height: auto; margin: 0 auto 18px; }
.foot p { margin: 6px 0; }
.foot a { color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--red); }
.fine { font-size: 11px; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; z-index: 60; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.94); }
.lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; cursor: zoom-out; }

/* Things come out of the dark as you reach them. */
.rise { opacity: 0; transform: translateY(26px); transition: opacity 1.1s ease, transform 1.1s ease; }
.rise.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .index { display: none; }
  .menu-btn { display: block; }
  .rows article { grid-template-columns: 1fr; }
  .rows article:nth-child(even) figure { order: 0; }
  .posters { grid-template-columns: 1fr 1fr; }
  .posters button:nth-child(3n+2) { transform: none; }
  .posters button:nth-child(even) { transform: translateY(40px); }
  .chapters ol { grid-template-columns: 1fr 1fr; }
  .clock i { display: none; }
  .hint { bottom: 22px; left: auto; right: var(--gutter); white-space: nowrap; letter-spacing: 0.22em; font-size: 9px; }
  :root { --lr: 230px; }
}
@media (hover: none) {
  .hint .d { display: none; } .hint .t { display: inline; }
  :root { --lr: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .dot, .hint { animation: none; }
  .rise { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
