/* =============================================================================
   Bigscreen — Design System (static surface)
   The single shared stylesheet for the clean, rebuilt pages. Codifies DESIGN.md:
   one violet signal on a black stage, Neue Haas + Fragment Mono, the 8px spacing
   scale, and the angular bevel shape system. No Builder classes, no inline soup.
   ============================================================================= */

/* ------------------------------------------------------------------ Fonts --- */
/* One family "Neue Haas Grotesk Display Pro" with 400 (Roman, from file) and 500
   (Medium, via local() with the Roman file as fallback), plus Fragment Mono. */
@font-face { font-family: "Neue Haas Grotesk Display Pro"; font-weight: 400; font-display: swap;
  src: local("Neue Haas Grotesk Display Pro - 55 Roman"), url("/landing/assets/052-asset.otf"); }
@font-face { font-family: "Neue Haas Grotesk Display Pro"; font-weight: 500; font-display: swap;
  src: local("Neue Haas Grotesk Display Pro - Medium"), local("Neue Haas Grotesk Display Pro - 55 Roman"), url("/landing/assets/052-asset.otf"); }
@font-face { font-family: "Fragment Mono"; font-weight: 400; font-display: swap;
  src: local("Fragment Mono"), url("/landing/assets/056-asset.ttf"); }

/* ----------------------------------------------------------------- Tokens --- */
:root {
  /* Color — one signal violet on an achromatic ramp */
  --brand:        #4D1EF7;   /* Signal Violet — one CTA/emphasis per view */
  --brand-deep:   #4000FF;   /* pressed */
  --ink:          #FCFCFD;   /* Instrument White — primary text on black */
  --paper:        #000000;   /* Bench Black — the stage */
  --graphite:     #222425;   /* raised dark surface (depth by tone, not shadow) */
  --muted:        #787E81;   /* Reading Grey — secondary text (4.5:1 floor) */
  --hairline:     #DFDFDF;   /* 1px dividers, low opacity on dark */
  --off-white:    #F4F3F3;   /* light-surface inversion */
  --white:        #FFFFFF;

  /* Type */
  --font-display: "Neue Haas Grotesk Display Pro", "Neue Haas Grotesk Display Pro - 55 Roman", "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-mono:    "Fragment Mono", ui-monospace, monospace;

  /* Spacing — 8px scale (mobile ramp). Large steps compress on mobile. */
  --s-8: 8px;  --s-12: 12px; --s-16: 16px; --s-24: 24px; --s-32: 32px;
  --s-40: 40px; --s-48: 48px; --s-64: 64px; --s-80: 80px; --s-120: 120px;
  --s-144: 144px; --s-180: 180px;
  --gutter: 10px;                 /* page side gutter (matches the nav edge) */
  --section-y: var(--s-80);       /* default section-to-section rhythm */
  --maxw: min(1648px, max(75vw, 856px));

  /* Radii + the bevel shape system (bottom-right cut) */
  --r-sm: 8px; --r-md: 12px; --r-pill: 72px;
  --bevel: 3px 3px 16px 3px;      /* use WITH: corner-shape: round round bevel round */

  /* Motion */
  --ease-signature: cubic-bezier(.16, 1, .3, 1);  /* reveals + hover-zoom */
  --ease-brand:     cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 180ms; --dur: 300ms; --dur-slow: 600ms;
}

@media (min-width: 992px) { :root { --gutter: 16px; --section-y: var(--s-120); } }

/* ------------------------------------------------------------------ Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-display); font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:where(button) { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* -------------------------------------------------------------- Typography --- */
/* token — desktop size/line-height · mobile via clamp (from the deck scale) */
.t-jumbo    { font-weight: 500; letter-spacing: -.02em; line-height: 1.0;  font-size: clamp(4rem, 9vw, 6rem); }      /* 64 → 96 */
.t-xl       { font-weight: 500; letter-spacing: -.02em; line-height: 1.1;  font-size: clamp(2.625rem, 6vw, 4.5rem); } /* 42 → 72 */
.t-lg       { font-weight: 500; letter-spacing: -.015em; line-height: 1.12; font-size: clamp(2.25rem, 5vw, 4rem); }   /* 36 → 64 */
.t-headline { font-weight: 500; letter-spacing: -.01em; line-height: 1.16; font-size: clamp(2rem, 4vw, 3rem); }       /* 32 → 48 */
.t-subhead  { font-weight: 500; letter-spacing: -.005em; line-height: 1.25; font-size: clamp(1.625rem, 2.4vw, 2rem); }/* 26 → 32 */
.t-body-lg  { font-weight: 400; line-height: 1.4;  font-size: clamp(1.375rem, 1.6vw, 1.5rem); color: var(--muted); }  /* 22 → 24 */
.t-body     { font-weight: 400; line-height: 1.55; font-size: 1.125rem; color: var(--muted); max-width: 68ch; }       /* 18 */
.t-detail   { font-weight: 500; line-height: 1.25; font-size: 1rem; }                                                 /* 16 */

/* Slash-mono kicker — the one deliberate eyebrow ("/ 01 — ENTERTAINMENT") */
.eyebrow {
  font-family: var(--font-mono); font-size: .9375rem; line-height: 1; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); margin: 0;
}
.eyebrow::before { content: "/ "; color: var(--muted); }

/* Caliper numbers — measurements in mono */
.caliper { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- Layout ----- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section   { padding-block: var(--section-y); }
/* anchor targets land clear of the floating nav pill (matches the homepage) */
[id] { scroll-margin-top: 112px; }
.stack > * + * { margin-top: var(--flow, var(--s-24)); }   /* vertical rhythm helper */

/* --------------------------------------------------------------- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 24px;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 2px 2px 14px 2px; corner-shape: round round bevel round;
  white-space: nowrap;
  transition: background-color var(--dur), border-color var(--dur), color var(--dur), transform var(--dur-fast);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(252,252,253,.28); }
.btn--ghost:hover { border-color: rgba(252,252,253,.6); }

/* ---------------------------------------------------------- Cards / bevel --- */
.bevel { border-radius: var(--bevel); corner-shape: round round bevel round; }

.spec-card {
  background: var(--graphite); color: var(--ink); padding: 24px;
  border-radius: 3px 3px 16px 3px; corner-shape: round round bevel round;
  display: flex; flex-direction: column; gap: 8px;
}
.spec-card .label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.spec-card .value { font-weight: 500; font-size: 2rem; line-height: 1.1; letter-spacing: -.01em; }

.hairline { border: 0; border-top: 1px solid rgba(223,223,223,.14); margin: 0; }

/* Nav + footer styling lives in chrome.css (single shared source; see
   src/site/partials/chrome.css). This file styles page content only. */

/* ================================================================ Hero ===== */
/* Page head: eyebrow + display line + sub line, above a feature media frame
   (matches the original page anatomy; nav pill floats over the black stage). */
.page-head { padding-top: 120px; }
@media (min-width: 992px) { .page-head { padding-top: 160px; } }
.page-head h1 { margin: .35em 0 0; max-width: 18ch; }
.page-head .sub { margin: .2em 0 0; color: var(--muted); }

/* ===================================================== Category nav cards === */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4; padding: 18px; overflow: hidden; color: var(--ink);
  border-radius: 3px 3px 16px 3px; corner-shape: round round bevel round; background: var(--graphite);
  transition: transform var(--dur) var(--ease-signature); }
.cat-card:hover { transform: translateY(-4px); }
.cat-card img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0) 60%); }
.cat-card__label { position: relative; z-index: 2; font-family: var(--font-mono); font-size: .8125rem;
  letter-spacing: .04em; text-transform: uppercase; }

/* =============================================================== Utility ==== */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==================================================== Deep-dive building blocks */
/* Section intro: mono kicker + headline + lede */
.act-head { max-width: 26ch; }
.lede { margin: 20px 0 0; max-width: 60ch; }

/* Alternating media + text rows */
.media-row { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(40px, 6vw, 80px); }
@media (min-width: 860px) { .media-row { grid-template-columns: 1fr 1fr; } .media-row--rev > .media-row__media { order: 2; } }
.media-row__media { border-radius: 3px 3px 18px 3px; corner-shape: round round bevel round; overflow: hidden; background: var(--graphite); }
.media-row__media img, .media-row__media video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.media-row__body h3 { margin: 0 0 14px; }

/* Caliper spec grid */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 700px) { .specs { grid-template-columns: repeat(4, 1fr); } }

/* Feature media: 16:9 beveled frame; poster at rest, video swapped in on view
   (reduced-motion users keep the poster). Optional CTA pinned bottom-left. */
.media-feature { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite);
  border-radius: 3px 3px 18px 3px; corner-shape: round round bevel round; }
.media-feature > img { width: 100%; height: 100%; object-fit: cover; }
.media-feature > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-feature__cta { position: absolute; left: 16px; bottom: 16px; z-index: 2; }
.media-feature__cta .btn--ghost { background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }

/* Image comparison slider (LCD vs OLED). The top layer is clipped by --cmp;
   the range input is a full-surface invisible control (keyboard accessible). */
.cmp { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite);
  border-radius: 3px 3px 18px 3px; corner-shape: round round bevel round; --cmp: 50%; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__top { clip-path: inset(0 calc(100% - var(--cmp)) 0 0); }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--cmp); width: 2px; margin-left: -1px;
  background: var(--ink); pointer-events: none; }
.cmp__handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; display: grid; place-items: center; background: var(--paper); color: var(--ink);
  font-size: 16px; border: 1px solid rgba(252,252,253,.28); border-radius: 2px 2px 12px 2px; corner-shape: round round bevel round; }
.cmp input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* Audio sample player (native <audio>, mono readouts, violet progress) */
.audio-card { background: var(--graphite); padding: 24px; border-radius: 3px 3px 16px 3px; corner-shape: round round bevel round;
  display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.audio-card__row { display: flex; align-items: center; gap: 16px; }
.audio-card__bar { position: relative; flex: 1; height: 2px; background: rgba(223,223,223,.2); }
.audio-card__bar span { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--brand); }
.audio-card__time { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); min-width: 5.5ch; text-align: right; }
.audio-card figcaption { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* Horizontal slider (game screenshots / covers): scroll-snap + arrow controls
   + mouse drag. Touch swipes natively; wheel/trackpad horizontal also works. */
.strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  scrollbar-width: none; cursor: grab; scroll-behavior: smooth; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.strip.is-dragging a, .strip.is-dragging img { pointer-events: none; }
.strip > * { flex: 0 0 auto; scroll-snap-align: start; margin: 0; user-select: none; }
.strip figure { width: min(72vw, 460px); }
.strip--covers a { display: block; width: min(44vw, 220px); }
.strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px 3px 14px 3px; corner-shape: round round bevel round; -webkit-user-drag: none; }
.strip--covers img { aspect-ratio: 2 / 3; }   /* box art is 600x900 portrait */
.strip figcaption { margin-top: 8px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); }
/* arrow cluster (sits in the row above the strip, right-aligned) */
.strip-nav { display: flex; gap: 8px; justify-content: flex-end; }
.strip-nav button { width: 50px; height: 50px; display: grid; place-items: center;
  background: transparent; color: var(--ink); border: 1px solid rgba(252,252,253,.28);
  border-radius: 2px 2px 14px 2px; corner-shape: round round bevel round;
  font-family: var(--font-mono); font-size: 1rem;
  transition: border-color var(--dur), color var(--dur), opacity var(--dur); }
.strip-nav button:hover { border-color: rgba(252,252,253,.6); }
.strip-nav button:disabled { opacity: .3; pointer-events: none; }

/* Model chooser (Beyond 2 vs 2e): SHARED partial with the homepage — markup and
   styles live in src/site/partials/model-chooser.html (single source of truth). */

/* Pull-quote / creator review */
.review { margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 3vw, 40px); background: var(--graphite);
  border-radius: 3px 3px 18px 3px; corner-shape: round round bevel round; }
.review blockquote { margin: 0; font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; letter-spacing: -.01em; }
.review figcaption { margin-top: 16px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Responsive video embed (16:9), bevel-framed */
.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite);
  border-radius: 3px 3px 18px 3px; corner-shape: round round bevel round; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-row__media.embed { aspect-ratio: 16 / 9; }

/* Text link with underline (in-body "Learn more") */
.link-more { color: var(--brand); border-bottom: 1px solid rgba(77,30,247,.4); transition: border-color var(--dur); }
.link-more:hover { border-color: var(--brand); }
