/* Backstage: a flight-case black page, cue-light amber, stencil headlines.
   The sheets are the colour; the site stays out of their way. */
:root {
  --bg: #0d0c0a;
  --panel: #161411;
  --raise: #1e1b17;
  --line: #2c2823;
  --ink: #f3efe6;
  --muted: #a8a193;
  --amber: #ffb21a;
  --amber-ink: #1a1304;
  --red: #ff4a2b;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--text); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; margin: 0; text-transform: uppercase; text-wrap: balance; letter-spacing: .005em; }
h2 { font-size: clamp(36px, 5vw, 62px); }
h3 { font-size: 26px; }
p { margin: 0; }
code, pre { font-family: var(--mono); font-size: .88em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -56px; background: var(--amber); color: var(--amber-ink); padding: 8px 14px; z-index: 10; font-weight: 600; }
.skip:focus { top: 12px; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }

.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.led { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(255,178,26,.18), 0 0 14px 2px rgba(255,178,26,.75); }
.nav { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--amber); }

section { padding: clamp(64px, 9vw, 112px) 0; }
.band { background: var(--panel); border-block: 1px solid var(--line); }
.section-lede { color: var(--muted); margin-top: 14px; max-width: 60ch; }

.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); overflow: clip; position: relative;
  background: radial-gradient(60% 70% at 78% 40%, rgba(255,178,26,.16), transparent 70%), radial-gradient(40% 50% at 8% 0, rgba(255,74,43,.08), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); flex: none; }
.hero h1 { font-size: clamp(46px, 6.2vw, 92px); margin-top: 20px; color: var(--ink); line-height: .93; }
.lede { font-size: 19px; color: var(--muted); margin-top: 24px; max-width: 50ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-block; background: var(--amber); color: var(--amber-ink); text-decoration: none; padding: 13px 22px; border-radius: 4px; font-weight: 600; font-size: 16px; border: 2px solid var(--amber); font-family: var(--mono); letter-spacing: .02em; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn:focus-visible { outline-color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { background: transparent; color: var(--amber); border-color: var(--amber); }
.one-liner { margin-top: 26px; }
.one-liner code { display: inline-block; max-width: 100%; background: var(--raise); border: 1px solid var(--line); padding: 8px 12px; border-radius: 4px; overflow-wrap: anywhere; color: var(--ink); }
.one-liner code::before { content: "$ "; color: var(--amber); }

.hero-art { position: relative; aspect-ratio: 1 / .98; min-height: 280px; }
.sheet { position: absolute; display: block; background: #000; box-shadow: 0 2px 6px rgba(0,0,0,.5), 0 30px 70px rgba(0,0,0,.65); transition: transform .25s ease; }
.sheet img { width: 100%; }
.s-jazz { width: 40%; left: 30%; top: 0; transform: rotate(3deg); z-index: 1; }
.s-neon { width: 70%; right: -4%; bottom: 2%; transform: rotate(4.5deg); z-index: 2; }
.s-gaffer { width: 44%; left: 0; top: 6%; transform: rotate(-4deg); z-index: 3; }
.sheet:hover { z-index: 5; transform: rotate(0) scale(1.03); }

.strip { padding: 0; background: var(--amber); color: var(--amber-ink); }
.ticks { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 6px 34px; justify-content: center; font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.ticks li::before { content: "◆"; margin-right: 10px; font-size: 10px; vertical-align: 2px; }

.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 44px; }
.mode { margin: 0; }
.mode a { display: block; background: #000; box-shadow: 0 2px 6px rgba(0,0,0,.5), 0 22px 50px rgba(0,0,0,.55); transition: transform .2s ease; }
.mode a:hover { transform: translateY(-4px); }
.mode h3 { margin-top: 24px; display: flex; align-items: baseline; gap: 12px; }
.mode h3 span { font-family: var(--mono); font-size: 14px; color: var(--amber); letter-spacing: .1em; }
.mode p { color: var(--muted); margin-top: 10px; font-size: 16px; }

.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.steps { margin: 30px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 18px 0 18px 52px; border-top: 1px solid var(--line); color: var(--muted); }
.steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 18px; font-family: var(--mono); color: var(--amber); font-weight: 600; }
.steps b { color: var(--ink); font-weight: 600; }
.ask { margin: 26px 0 0; font-family: var(--display); font-size: 28px; line-height: 1.12; font-weight: 700; text-transform: uppercase; border-left: 4px solid var(--amber); padding-left: 20px; color: var(--ink); }
.json { margin: 0; background: #070706; border: 1px solid var(--line); border-radius: 6px; padding: 22px; line-height: 1.55; color: #e9e4d8; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }

.themes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 32px; margin-top: 44px; align-items: start; }
.themes figure { margin: 0; }
.themes .t-portrait { grid-column: span 2; }
.themes .t-land { grid-column: span 3; }
.themes a { display: block; background: #000; box-shadow: 0 2px 6px rgba(0,0,0,.5), 0 22px 50px rgba(0,0,0,.55); transition: transform .2s ease; }
.themes a:hover { transform: translateY(-4px); }
.themes figcaption { margin-top: 18px; color: var(--muted); font-size: 15px; }
.themes figcaption b { display: block; font-family: var(--display); font-size: 30px; font-weight: 800; text-transform: uppercase; color: var(--ink); line-height: 1; margin-bottom: 6px; }

.examples { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.examples a { display: block; height: 100%; padding: 22px; background: var(--raise); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--muted); font-size: 15px; transition: border-color .15s, transform .15s; }
.examples a:hover { border-color: var(--amber); transform: translateY(-2px); }
.examples b { display: block; font-family: var(--display); font-size: 28px; font-weight: 800; text-transform: uppercase; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.examples span { display: block; }

.install { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.install h3 { font-size: 22px; color: var(--ink); }
.install pre { margin: 12px 0 0; background: #070706; border: 1px solid var(--line); color: #f3efe6; padding: 16px; border-radius: 6px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.note { color: var(--muted); margin-top: 22px; font-size: 15px; }

.foot { border-top: 1px solid var(--line); padding: 44px 0 60px; font-size: 15px; color: var(--muted); }
.foot-row { display: grid; gap: 10px; }

.lost { min-height: 60vh; display: flex; align-items: center; }
.lost h1 { font-size: clamp(48px, 8vw, 96px); margin-top: 14px; }

@media (max-width: 960px) {
  .hero-grid, .how { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-art { max-width: 640px; width: 100%; margin: 0 auto; }
  .modes { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .install { grid-template-columns: minmax(0, 1fr); }
  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .themes .t-portrait { grid-column: span 1; }
  .themes .t-land { grid-column: span 2; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav { gap: 6px 16px; }
  .ask { font-size: 24px; }
  .themes { grid-template-columns: minmax(0, 1fr); }
  .themes .t-portrait, .themes .t-land { grid-column: span 1; }
  .ticks { gap: 4px 20px; font-size: 12px; justify-content: flex-start; }
  .json { font-size: 12.5px; padding: 16px; }
}
