/* Halation: smog-night, lamp-lit. One display face (Archivo, wide for titles, normal for text).
   Layout: full-bleed hero, then alternating cinematic image beats, a signup band, a quiet footer.
   Deliberately a single dark theme: it is the game's look. */
:root {
  color-scheme: dark;
  --night: #0b0907;
  --smog: #15110d;
  --ink: #f1e7d8;
  --dim: #b4a690;
  --line: #2a231c;
  --lamp: #f2a54b;
  --lamp-hot: #ffdcae;
  --rust: #c8653a;
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { background: var(--night); }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lamp); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 10; background: var(--lamp); color: var(--night); padding: 8px 12px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* Hero: the shot fills the stage; title and hook sit in the dark sky above Scrappy, signup at the foot. */
.hero { position: relative; }
.stage { position: relative; height: min(100svh, 980px); min-height: 560px; overflow: hidden; isolation: isolate; display: grid; align-content: start; }
.hero-shot, .hero-shot img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shot img { object-fit: cover; object-position: 50% 50%; z-index: -2; transform-origin: 30% 30%; animation: drift-in 28s ease-out both; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,12,10,.7) 0%, rgba(14,12,10,.25) 26%, rgba(14,12,10,0) 45%, rgba(14,12,10,0) 70%, rgba(14,12,10,.75) 88%, var(--night) 100%); }
.haze { position: absolute; inset: -10%; z-index: -1; pointer-events: none; opacity: .55; mix-blend-mode: screen;
  background:
    radial-gradient(30% 22% at 30% 35%, rgba(240,163,74,.18), transparent 70%),
    radial-gradient(45% 30% at 70% 60%, rgba(239,229,214,.06), transparent 70%);
  animation: haze 36s ease-in-out infinite alternate; }
@keyframes drift-in { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes haze { to { transform: translate3d(4%, -2%, 0) scale(1.05); } }

.hero-top { padding-inline: var(--gutter); padding-block: clamp(64px, 11vh, 120px) 0; display: grid; justify-items: center; gap: 14px; text-align: center; }
.wordmark { margin: 0; font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: clamp(40px, 9vw, 116px); letter-spacing: .22em; margin-right: -.22em; line-height: 1;
  text-shadow: 0 0 34px rgba(240,163,74,.45), 0 0 2px rgba(255,217,160,.55), 0 3px 0 rgba(0,0,0,.6);
  animation: lamp-on 2.4s ease-out .2s both; }
@keyframes lamp-on {
  0% { opacity: .15; text-shadow: none; }
  8% { opacity: .9; } 12% { opacity: .3; } 18% { opacity: 1; }
  100% { opacity: 1; text-shadow: 0 0 34px rgba(240,163,74,.45), 0 0 2px rgba(255,217,160,.55), 0 3px 0 rgba(0,0,0,.6); }
}
.hook { margin: 0; max-width: 32ch; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: var(--ink); text-wrap: balance; text-shadow: 0 1px 12px rgba(0,0,0,.8); }
.hook span { color: var(--lamp-hot); }
.caption { position: absolute; right: var(--gutter); bottom: 14px; margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(239,229,214,.5); }
.hero-copy { padding-inline: var(--gutter); padding-block: 8px 0; display: grid; justify-items: center; }
@media (min-width: 760px) {
  .hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(36px, 6vh, 72px); padding-block: 0; }
  .caption { top: 18px; bottom: auto; }
}
@media (max-width: 759px) {
  .stage { height: 78svh; min-height: 480px; }
}

/* Signup */
.signup { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: min(100%, 520px); }
.signup input { flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 16px; border-radius: 6px; border: 1px solid rgba(239,229,214,.25);
  background: rgba(14,12,10,.6); color: var(--ink); font: inherit; backdrop-filter: blur(6px); }
.signup input::placeholder { color: rgba(239,229,214,.45); }
.signup button { height: 52px; padding: 0 24px; border: 0; border-radius: 6px; cursor: pointer; font: 700 15px var(--font);
  letter-spacing: .08em; text-transform: uppercase; color: var(--night); background: var(--lamp);
  box-shadow: 0 0 0 0 rgba(240,163,74,.0); transition: box-shadow .3s, background .3s; }
.signup button:hover { background: var(--lamp-hot); box-shadow: 0 0 28px 2px rgba(240,163,74,.45); }
.signup button[disabled] { opacity: .6; cursor: progress; }
.form-note { flex-basis: 100%; margin: 2px 0 0; font-size: 14px; color: var(--dim); text-align: center; }
.form-note.ok { color: var(--lamp-hot); }
.form-note.err { color: #ff9a7a; }

/* Beats */
main { display: grid; gap: clamp(56px, 9vw, 120px); padding-block: clamp(48px, 8vw, 96px) 0; }
.beat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-inline: var(--gutter); max-width: 1320px; margin-inline: auto; width: 100%; align-items: center; }
.beat picture { overflow: hidden; border-radius: 4px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.beat img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.beat:hover img { transform: scale(1.03); }
.beat-copy { min-width: 0; }
.beat h2 { margin: 0 0 10px; font-weight: 800; font-variation-settings: "wdth" 112; text-transform: uppercase; letter-spacing: .06em;
  font-size: clamp(24px, 3.2vw, 36px); line-height: 1.1; text-wrap: balance; }
.beat p { margin: 0; color: var(--dim); max-width: 36ch; }
@media (min-width: 900px) {
  .beat { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); }
  .beat.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
  .beat.flip picture { order: 2; }
}

/* Updates band */
.updates { margin-top: clamp(24px, 4vw, 48px); padding-inline: var(--gutter); padding-block: clamp(64px, 10vw, 120px);
  display: grid; justify-items: center; gap: 14px; text-align: center;
  background: radial-gradient(50% 70% at 50% 100%, rgba(240,163,74,.16), transparent 70%), var(--smog); border-top: 1px solid var(--line); }
.updates h2 { margin: 0; font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(24px, 4vw, 40px); }
.updates > p { margin: 0 0 8px; color: var(--dim); max-width: 44ch; }

/* Footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-inline: var(--gutter); padding-block: 28px 40px;
  color: var(--dim); font-size: 14px; border-top: 1px solid var(--line); }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--ink); text-decoration: none; display: inline-block; padding-block: 6px; }
.foot a:hover { color: var(--lamp); }

/* Inner pages (press, privacy, 404) */
.page { max-width: 980px; margin-inline: auto; padding-inline: var(--gutter); padding-block: 40px 80px; }
.page-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px 40px; }
.page-top .brand { font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.page h1 { margin: 0 0 12px; font-weight: 800; font-variation-settings: "wdth" 118; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(30px, 5vw, 48px); line-height: 1.1; }
.page h2 { margin: 48px 0 14px; font-weight: 700; font-variation-settings: "wdth" 112; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: var(--lamp); }
.page p, .page li { color: var(--dim); max-width: 65ch; }
.page strong { color: var(--ink); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.facts div { background: var(--smog); padding: 14px 16px; }
.facts dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 4px 0 0; color: var(--ink); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.shots a { display: block; border-radius: 4px; overflow: hidden; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s; }
.shots a:hover img { transform: scale(1.04); }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.logos a { display: grid; place-items: center; padding: 32px; border-radius: 4px; border: 1px solid var(--line); }
.logos a.on-light { background: #efe5d6; }
.logos img { max-height: 48px; width: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Inner pages, matched to the home page: grain, lamp glow at the top, spaced wordmark. */
body:has(.page)::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 40% at 50% -10%, rgba(242,165,75,.14), transparent 70%); }
body:has(.page)::after { content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 50; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>"); }
.page, .foot { position: relative; z-index: 1; }
.page-top { padding-block: 12px 56px; }
.page-top .brand { letter-spacing: .5em; margin-right: -.5em; font-size: 14px; padding-block: 10px; }
.page-top a:not(.brand) { font: 700 11px var(--font); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--night); background: var(--lamp);
  padding: 12px 18px; border-radius: 4px; transition: background .3s, box-shadow .3s; }
.page-top a:not(.brand):hover { background: var(--lamp-hot); box-shadow: 0 0 30px rgba(242,165,75,.4); }
.page h1 { font-size: clamp(34px, 6vw, 64px); letter-spacing: .04em; }
.page h2 { letter-spacing: .3em; font-size: 12px; margin-top: 56px; }
.shots a, .logos a { border: 1px solid var(--line); }
.shots img { filter: brightness(.9); }
.shots a:hover img { filter: brightness(1.05); }
