:root {
  --bg: #07080b;
  --ink: #f4f1e8;
  --muted: #a39e92;
  --fluo: #e8f27a;
  --gold: #e4b15a;
  --red: #ff3b30;
  --line: rgba(244, 241, 232, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.45;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .big, .brand, .n, .go, .pill, .stamp, table th {
  font-family: Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}
h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.9;
}
h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 0.95; }
.kicker {
  margin: 0 0 0.55rem;
  color: var(--fluo);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.lede { margin: 1rem 0 0; color: var(--muted); max-width: 42ch; }

.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1.25rem;
  background: rgba(7, 8, 11, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand { font-size: 1.7rem; }
.bar nav {
  display: flex;
  gap: 1.1rem;
  margin-right: auto;
  overflow-x: auto;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.bar nav a { white-space: nowrap; }
.bar nav a:hover { color: var(--fluo); }
.pill {
  border: 1px solid var(--fluo);
  color: var(--bg);
  background: var(--fluo);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 0.4rem 0.6rem;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: calc(100svh - 52px);
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7,8,11,0.94) 0%, rgba(7,8,11,0.25) 42%, rgba(7,8,11,0.45) 100%);
}
.hero-copy { position: relative; padding: 7rem 6vw 4.5rem; max-width: 44rem; }
h1 { margin: 0; font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: 0.86; max-width: 9ch; }
.tag { margin: 0.8rem 0 0; font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 34ch; }
.status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1.3rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--muted);
}
.status strong { color: var(--red); }
.go {
  display: inline-block;
  white-space: nowrap;
  margin-top: 1.4rem;
  padding: 0.7rem 1rem;
  background: var(--fluo);
  color: #111;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.go:hover { background: var(--gold); }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0c0e12;
}
.marquee-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  padding: 0.75rem 0;
  animation: tick 32s linear infinite;
  font-family: Impact, Haettenschweiler, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fluo);
}
.marquee-track span::before { content: "●"; margin-right: 2.2rem; color: var(--red); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.steps {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
}
.steps-intro { position: sticky; top: 5rem; align-self: start; }
.mark { width: min(100%, 280px); margin-top: 1.5rem; background: #000; }
.step-list { list-style: none; margin: 0; padding: 0; }
.step-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.step-list li:last-child { border-bottom: 1px solid var(--line); }
.n { color: var(--fluo); font-size: 1.8rem; line-height: 1; }
.step-list p { margin: 0.45rem 0 0; color: var(--muted); max-width: 52ch; }

.promo { padding: 4rem 6vw 2rem; }
.promo-head { max-width: var(--max); margin: 0 auto 1.5rem; }
.reel {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 0.8rem;
  align-items: start;
}
.reel figure { margin: 0; }
.reel video {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #000;
}
.reel figure:nth-child(2) video { aspect-ratio: 1; }
.reel figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.reel figcaption b {
  display: block;
  color: var(--ink);
  font-family: Impact, Haettenschweiler, sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.math {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.desk img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #000; }
table { width: 100%; border-collapse: collapse; margin-top: 1.4rem; }
th, td {
  text-align: left;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
th {
  color: var(--fluo);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
td:last-child, th:last-child { text-align: right; color: var(--gold); white-space: nowrap; }
.note { margin: 1rem 0 0; color: var(--muted); max-width: 52ch; }
.addr {
  margin: 0.7rem 0 0;
  max-width: 52ch;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.35;
  word-break: break-all;
}

.card {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.card figure { position: relative; margin: 0; }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: #000; }
.stamp {
  position: absolute;
  right: 6%;
  bottom: 10%;
  padding: 0.25rem 0.45rem;
  border: 3px solid var(--red);
  color: var(--red);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.12em;
  transform: rotate(-8deg);
  background: rgba(7, 8, 11, 0.35);
}
.checks { margin: 1rem 0 0; padding: 0; list-style: none; }
.checks li {
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--fluo);
}

.close {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
}
.close img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  background: #000;
}
.big { margin: 0; font-size: clamp(4rem, 10vw, 7rem); line-height: 0.84; }

footer {
  padding: 1.2rem 6vw 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
footer p { max-width: 78ch; margin: 0 auto; }

@media (max-width: 720px) {
  .bar { flex-wrap: wrap; row-gap: 0.35rem; }
  .bar nav { order: 3; flex-basis: 100%; margin-right: 0; }
  .pill { margin-left: auto; }
  .hero { min-height: calc(100svh - 88px); }
  .steps, .promo, .math, .card, .close { scroll-margin-top: 6rem; }
}

@media (max-width: 860px) {
  .steps, .math, .card, .close, .reel { grid-template-columns: 1fr; }
  .steps { padding: 3rem 1.1rem 1rem; }
  .steps-intro { position: static; }
  .hero-copy { padding: 6.5rem 1.1rem 2rem; max-width: none; }
  h1 { font-size: 3.1rem; }
  .promo, .math, .card { padding-left: 1.1rem; padding-right: 1.1rem; }
  .close img { width: 120px; height: 120px; }
  .reel figure:nth-child(2) video { aspect-ratio: 16/10; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  video { display: none; }
  .hero {
    min-height: 70svh;
    background: #07080b url("../media/hero.jpg") center/cover;
  }
  .reel figure, .desk {
    min-height: 220px;
    background: #111 center/cover;
  }
  .reel figure:nth-child(1) { background-image: url("../media/hero.jpg"); }
  .reel figure:nth-child(2) { background-image: url("../media/mark.jpg"); }
  .reel figure:nth-child(3) { background-image: url("../media/window.jpg"); }
}
