/* Emancipate Games: Far Field's own palette (ff-ui.js: charcoal, blue-grey, one pale ink) and its lamp amber as the one accent.
   Layout after the Somerville site Josh liked: one full-screen scene per section, centred outlined buttons, a fixed background
   that changes (and drifts) as you scroll (assets/scenes.js). */
:root {
  --bg: #0b0d10; --bg2: #151a1f; --line: #2b333b; --ink: #c6ced6; --ink-hi: #eef1f3; --dim: #8a96a1; --amber: #e0a55c;
  --w: 1080px; --pad: 20px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .01em; -webkit-font-smoothing: antialiased; }
a { color: var(--amber); text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: #f2c88f; }
img, video { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.cap { font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--dim); margin: 0 0 14px; }
h1, h2, h3 { color: var(--ink-hi); font-weight: 300; line-height: 1.15; }
h2 { font-size: 24px; letter-spacing: .06em; margin: 0 0 16px; }
p { margin: 0 0 16px; max-width: 64ch; }
.mark { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 300; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-hi); margin: 0; }

/* ---------------------------------------------------------------- the scrolling scenes */
.bg { position: fixed; inset: 0; z-index: -1; background: #000; overflow: hidden; }
.bg > * { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; will-change: opacity, transform; }
.bg > .on { opacity: 1; }
.bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 45%, rgba(0,0,0,.35) 100%), linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,0) 25%, rgba(0,0,0,0) 60%, rgba(0,0,0,.4)); }
.scene { min-height: 100vh; min-height: 100svh; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 96px var(--pad); }
.scene.dark { background: rgba(5,6,8,.82); }
.scene p { margin-left: auto; margin-right: auto; }
.logo-top { position: absolute; top: clamp(24px, 5vh, 56px); left: clamp(20px, 7vw, 120px); font-size: clamp(30px, 5.4vw, 72px); text-align: left; }
.logo-top small { display: block; font-size: 11px; letter-spacing: .32em; color: var(--dim); margin-top: 10px; font-family: ui-sans-serif, system-ui, sans-serif; }
.status { font-size: 15px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-hi); margin: 0 0 22px; }
.pitch { font-size: clamp(17px, 2.2vw, 21px); color: var(--ink-hi); text-shadow: 0 1px 12px rgba(0,0,0,.8); }
.stack { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--dim); text-decoration: none; }

/* buttons: thin white outline, wide-tracked caps */
.btn { display: inline-block; min-width: 260px; padding: 15px 30px; border: 2px solid rgba(238,241,243,.9); color: var(--ink-hi); background: rgba(0,0,0,.18); text-decoration: none; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: rgba(238,241,243,.12); color: #fff; }
.btn.amber { border-color: var(--amber); color: var(--amber); }
.btn.amber:hover { background: rgba(224,165,92,.12); color: #f2c88f; }
.note { font-size: 13px; color: var(--dim); max-width: 46ch; text-shadow: 0 1px 6px rgba(0,0,0,.9); }

/* trailer + clip tabs */
.player { width: min(100%, 1160px); aspect-ratio: 16/9; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; margin: 34px 0 30px; padding: 0; list-style: none; }
.tabs button { font: inherit; font-size: clamp(16px, 2vw, 22px); letter-spacing: .06em; text-transform: uppercase; color: var(--amber); background: none; border: 0; border-bottom: 1px solid rgba(224,165,92,.45); padding: 2px 0 6px; cursor: pointer; }
.tabs button[aria-pressed="true"] { color: var(--ink-hi); border-color: var(--ink-hi); }
.icons { display: flex; gap: 26px; justify-content: center; margin-bottom: 34px; }
.icons a { color: var(--ink-hi); } .icons svg { width: 26px; height: 26px; display: block; }

/* footer */
footer { text-align: center; padding: 56px var(--pad) 48px; background: #000; color: var(--dim); font-size: 13px; }
footer .mark { font-size: 15px; margin-bottom: 12px; }

/* press kit page (a document, on a plain ground) */
.doc { background: var(--bg); }
.doc .wrap > section { padding: 56px 0 0; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid img, .grid video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--bg2); border: 1px solid var(--line); }
.grid a { display: block; } .grid figure { margin: 0; }
.grid figcaption { font-size: 13px; color: var(--dim); padding: 6px 2px 0; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
dl.facts dt { color: var(--dim); font-size: 14px; letter-spacing: .06em; padding-top: 2px; }
dl.facts dd { margin: 0; }
@media (max-width: 560px) { dl.facts { grid-template-columns: 1fr; gap: 2px; } dl.facts dd { margin-bottom: 10px; } .btn { min-width: 0; width: 100%; } }
ul.plain { padding-left: 1.1em; margin: 0 0 16px; } ul.plain li { margin-bottom: 6px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; } @media (max-width: 760px) { .cols { grid-template-columns: 1fr; gap: 0; } }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--pad); max-width: var(--w); margin: 0 auto; }
.top .mark { font-size: 13px; text-decoration: none; } .top nav { display: flex; gap: 18px; font-size: 14px; } .top nav a { text-decoration: none; color: var(--dim); } .top nav a:hover { color: var(--ink-hi); }

@media (prefers-reduced-motion: reduce) { .bg > * { transition: none; transform: none !important; } }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* newsletter (after Jumpship's): stacked white fields, an amber outlined button */
.news { display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(100%, 360px); }
.news input { width: 100%; padding: 16px 18px; border: 0; border-radius: 0; background: #fff; color: #111; font: 16px/1.2 ui-sans-serif, system-ui, sans-serif; }
.news input::placeholder { color: #9aa0a6; }
.news .btn { margin-top: 14px; background: rgba(0,0,0,.35); }
.news-msg { min-height: 1.6em; margin-top: 14px; color: var(--ink-hi); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-stack { margin: auto 0; padding-top: 14vh; }
