/* ==========================================================================
   Yo Game — "Daylight Ledger"
   Light surfaces, one accent (electric blue), slate neutrals.

   Design directives applied (design-taste-frontend-v1):
     DESIGN_VARIANCE 8   -> asymmetric grids, fractional units, no centered H1
     MOTION_INTENSITY 6  -> fluid CSS only, transform/opacity, delay cascades
     VISUAL_DENSITY 4    -> daily-app spacing
     Single accent, saturation held under 80%. No glows, no gradient text,
     no pure black, shadows tinted to the page hue, border-grouping over
     card-in-card. Numerals in mono.

   Width rule: text and headings are never width-capped; only the page
   container is, at 1280px.
   ========================================================================== */

:root {
  /* neutrals — cool slate throughout, never mixed with warm grey */
  --page:        #f5f7fb;
  --page-2:      #eef2f8;
  --card:        #ffffff;
  --ink:         #0f172a;   /* off-black, never #000 */
  --ink-2:       #334154;
  --ink-3:       #55637a;   /* muted text, still 4.5:1 on --page */
  --line:        #e3e9f2;
  --line-2:      #d3dcea;

  /* the single accent */
  --blue:        #2563eb;
  --blue-deep:   #1d4ed8;
  --blue-ink:    #1e40af;   /* accent as text on white */
  --blue-wash:   #eff4ff;
  --blue-line:   rgba(37, 99, 235, .22);

  /* functional caution state only — not a second brand accent */
  --warn-bg:     #fdf6ec;
  --warn-line:   #e5c9a1;
  --warn-ink:    #7c4a11;
  --warn-rule:   #c2410c;

  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, SFMono-Regular, monospace;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 34px;

  --gutter: 24px;
  --section: clamp(56px, 7vw, 96px);
  --pad: 18px;
  --shell: 1280px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --t: .3s var(--ease);

  /* diffusion shadows, tinted to the page hue */
  --sh-1: 0 1px 2px rgba(15, 23, 42, .05);
  --sh-2: 0 4px 12px -4px rgba(15, 23, 42, .07), 0 1px 2px rgba(15, 23, 42, .04);
  --sh-3: 0 18px 40px -18px rgba(37, 99, 235, .22), 0 2px 8px rgba(15, 23, 42, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }
button { font: inherit; cursor: pointer; }

a { color: var(--blue-ink); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--blue-deep); }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* the only width cap in the system */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
  transition: background var(--t), border-color var(--t), color var(--t),
              transform .18s var(--ease), box-shadow var(--t);
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--sh-1); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; box-shadow: var(--sh-2); }
.btn-primary:active { transform: translateY(1px) scale(.985); }   /* tactile */
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-ink); background: var(--blue-wash); }
.btn-ghost:active { transform: translateY(1px) scale(.985); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 10px 17px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

/* ---------------------------------------------------------- eyebrow/rule -- */
.kicker {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-ink);
}
.kicker::before {
  content: ""; width: 22px; height: 1px; background: var(--blue); flex: none;
}
.kicker-icon { color: var(--blue); }

/* ================================================================ HEADER ==
   Rebuilt: brand at the left edge, nav collected into a bordered pill that
   floats away from the CTA. Not a full-width bar of evenly spaced links.
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 247, 251, .82);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; object-fit: cover;
  border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.brand-sub {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .17em;
  text-transform: uppercase; color: var(--ink-3);
}

.nav-cluster { display: none; align-items: center; gap: 14px; }
.nav-pill {
  display: flex; align-items: center; gap: 2px;
  padding: 5px; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255, 255, 255, .7);
  box-shadow: var(--sh-1);
}
.nav-link {
  position: relative;
  padding: 9px 15px; border-radius: 999px;
  color: var(--ink-2); font-size: 14.5px; font-weight: 500;
  transition: color var(--t), background var(--t);
}
.nav-link:hover { color: var(--ink); background: var(--page-2); }
.nav-link.is-active { color: #fff; background: var(--blue); }
.nav-link.is-active:hover { color: #fff; background: var(--blue-deep); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 13px; color: var(--ink); box-shadow: var(--sh-1);
  transition: border-color var(--t), transform .18s var(--ease);
}
.nav-toggle:active { transform: scale(.96); }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

.nav-mobile {
  border-top: 1px solid var(--line); background: var(--card);
  padding: 10px var(--pad) 22px;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile .nav-list { display: flex; flex-direction: column; }
.nav-mobile .nav-link {
  padding: 15px 4px; border-radius: 0; font-size: 16.5px;
  border-bottom: 1px solid var(--line);
}
.nav-mobile .nav-link:hover { background: transparent; color: var(--blue-ink); }
.nav-mobile .nav-link.is-active { background: transparent; color: var(--blue-ink); font-weight: 600; }
.nav-mobile .nav-link.is-active::after {
  content: ""; margin-left: 9px; width: 5px; height: 5px; border-radius: 999px;
  background: var(--blue); display: inline-block; vertical-align: middle;
}
.nav-cta-mobile { margin-top: 18px; }

/* ============================================================ HOME HERO ===
   Asymmetric: copy hard-left, AI backdrop bleeding in from the right and
   fading up into the page colour. Never centred.
   ========================================================================= */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg {
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover; background-position: center right;
  /* held back so the foreground product shot stays the focal point */
  opacity: .5;
}
/* The copy column has no width cap, so the scrim must stay opaque across the
   whole text zone; the art is left to breathe only past ~62%. Verified to hold
   4.5:1 for muted 17px text at every breakpoint. */
.hero-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--page) 0%, var(--page) 46%, rgba(245,247,251,.88) 62%, rgba(245,247,251,.12) 86%),
    linear-gradient(to top, var(--page) 0%, rgba(245,247,251,0) 42%);
}
.hero-inner {
  position: relative;
  display: grid; gap: 34px;
  padding-block: clamp(52px, 8vw, 104px);
}
.hero-copy { min-width: 0; }
.hero-visual { display: none; position: relative; }
.hero-visual img {
  width: 100%; height: auto;
  /* dissolve the render's own studio backdrop into the page instead of
     leaving a hard rectangle over the hero art */
  -webkit-mask-image: radial-gradient(70% 62% at 52% 46%, #000 52%, transparent 100%);
          mask-image: radial-gradient(70% 62% at 52% 46%, #000 52%, transparent 100%);
}
.hero-title {
  /* not oversized — hierarchy from weight and colour, per the skill */
  font-size: clamp(31px, 4.6vw, 52px);
  font-weight: 600; line-height: 1.06; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-sub {
  margin: 20px 0 0;
  color: var(--ink-3); font-size: clamp(16px, 1.5vw, 18.5px);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* stat ledger — hairline-separated, mono numerals, no boxes */
.hero-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px; border-top: 1px solid var(--line-2);
}
.hero-stats li {
  padding: 18px 16px 4px 0;
  border-bottom: 1px solid var(--line);
}
.hero-stats li:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.hero-stats li:nth-child(odd) { padding-left: 0; }
.hero-stats li:nth-child(even) { padding-left: 20px; }
.stat-num {
  display: block; font-family: var(--font-mono);
  font-size: clamp(22px, 2.4vw, 29px); font-weight: 500;
  letter-spacing: -.03em; color: var(--ink);
}
.stat-lbl {
  display: block; margin-top: 5px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3);
}

/* --------------------------------------------------------------- trust ---- */
.trust-bar { background: var(--card); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-item {
  display: flex; align-items: center; gap: 11px;
  padding: 20px 18px 20px 0;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.trust-item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 18px; }
.trust-item:nth-child(even) { padding-left: 18px; }
.trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.trust-icon { color: var(--blue); flex: none; }

/* ------------------------------------------------------- section heads ---- */
.sections { display: flex; flex-direction: column; gap: var(--section); padding-block: var(--section); }
.section { scroll-margin-top: 96px; }
.section-head { margin-bottom: 30px; scroll-margin-top: 96px; }
.section-head-row { display: grid; gap: 10px; }
.section-title { font-size: clamp(25px, 3.2vw, 37px); line-height: 1.1; }
.section-sub { margin: 0; color: var(--ink-3); font-size: 16px; }
.section-count {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
  letter-spacing: .06em; white-space: nowrap;
}

/* ---------------------------------------------------------------- grids --- */
.grid { display: grid; gap: var(--gutter); grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* --- Newest: bento. One 2x2 lead tile, one double-width tile, rest normal. -- */
.bento { display: grid; gap: var(--gutter); grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* square keeps these app icons uncropped and fills the 2-row cell */
.card-lead .card-art { aspect-ratio: 1; }
.card-lead .card-title { font-size: clamp(19px, 2.2vw, 25px); letter-spacing: -.025em; }
.lead-standfirst { margin: 0; color: var(--ink-3); font-size: 15px; line-height: 1.6; }
.lead-specs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2px 0 0; border-top: 1px solid var(--line);
}
.lead-spec { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); }
.lead-spec:nth-child(odd) { border-right: 1px solid var(--line); }
.lead-spec:nth-child(even) { padding-left: 14px; }
.lead-spec dt {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
}
.lead-spec dd {
  margin: 5px 0 0; font-family: var(--font-mono); font-size: 14px; color: var(--ink);
}

.card-wide .card-art { aspect-ratio: 1; }
.wide-standfirst {
  margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* --- Hot: leaderboard rows, grouped by hairlines, not boxed individually --- */
.rank-list {
  display: grid;
  border-top: 1px solid var(--line-2);
  background: var(--card);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.rank-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  grid-template-areas: "num thumb main" "score score score" "cta cta cta";
  align-items: center;
  gap: 12px 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  transition: background var(--t);
}
.rank-row:last-child { border-bottom: 0; }
.rank-row:hover { background: var(--blue-wash); }

.rank-num {
  grid-area: num;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  color: var(--ink-3); letter-spacing: .02em; min-width: 22px;
}
.rank-thumb {
  grid-area: thumb; display: block; width: 54px; height: 54px;
  border-radius: 13px; overflow: hidden; border: 1px solid var(--line);
  background: var(--page-2); flex: none;
}
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-main { grid-area: main; min-width: 0; }
.rank-title { font-size: 16px; font-weight: 600; line-height: 1.25; }
.rank-title a { color: var(--ink); }
.rank-title a:hover { color: var(--blue-ink); }
.rank-meta {
  margin: 4px 0 0; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3);
}

.rank-score { grid-area: score; display: flex; align-items: center; gap: 11px; }
.rank-score-val {
  font-family: var(--font-mono); font-size: 15px; font-weight: 500; color: var(--ink);
  min-width: 30px;
}
.rank-bar {
  display: block; flex: 1; height: 5px; border-radius: 999px;
  background: var(--page-2); overflow: hidden; min-width: 70px;
}
.rank-bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.rank-cta { grid-area: cta; justify-self: start; }

/* rating bar widths — data-driven, in 5% steps, no inline styles */
.rank-bar-fill[data-pct="60"]  { width: 60%; }
.rank-bar-fill[data-pct="65"]  { width: 65%; }
.rank-bar-fill[data-pct="70"]  { width: 70%; }
.rank-bar-fill[data-pct="75"]  { width: 75%; }
.rank-bar-fill[data-pct="80"]  { width: 80%; }
.rank-bar-fill[data-pct="85"]  { width: 85%; }
.rank-bar-fill[data-pct="90"]  { width: 90%; }
.rank-bar-fill[data-pct="95"]  { width: 95%; }
.rank-bar-fill[data-pct="100"] { width: 100%; }

/* --- All Games: dense 6-up tiles --- */
.grid-6 { gap: 16px; }
.grid-6 .card-art { margin: 8px 8px 0; }
.grid-6 .card-body { padding: 12px 12px 13px; gap: 9px; }
.grid-6 .card-title { font-size: 14.5px; line-height: 1.3; }
.grid-6 .card-meta { font-size: 10.5px; }
.grid-6 .card-ledger { font-size: 10.5px; padding-top: 9px; }
.grid-6 .rating-value { font-size: 11.5px; }
.grid-6 .star { width: 11px; height: 11px; }
.grid-6 .btn { padding: 9px 10px; font-size: 12.5px; }

/* ============================================================ GAME CARD ===
   Rebuilt: art panel with a hairline inset, an information ledger beneath
   separated by rules (not nested boxes), mono numerals, and a border that
   picks up the accent on hover. Tinted diffusion shadow, no glow.
   ========================================================================= */
.game-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-line);
  box-shadow: var(--sh-3);
}
.game-card:active { transform: translateY(-1px) scale(.995); }

.card-art {
  position: relative; display: block;
  aspect-ratio: 1; margin: 10px 10px 0;
  border-radius: calc(var(--r-lg) - 10px);
  overflow: hidden; background: var(--page-2);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.game-card:hover .card-art img { transform: scale(1.045); }

.card-flag {
  position: absolute; top: 9px; left: 9px; z-index: 2;
  padding: 5px 9px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255, 255, 255, .93);
  border: 1px solid var(--line);
  color: var(--ink-2);
  box-shadow: var(--sh-1);
}
.card-flag.is-new { color: var(--blue-ink); border-color: var(--blue-line); }

.card-body { display: flex; flex-direction: column; gap: 12px; padding: 15px 16px 16px; flex: 1; }
.card-title { font-size: 17px; line-height: 1.25; font-weight: 600; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--blue-ink); }

.card-ledger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 11px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3);
  letter-spacing: .02em;
}
.card-rating { display: inline-flex; align-items: center; gap: 6px; }
.rating-value { font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; color: var(--ink); }
.card-meta { margin: 0; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.card-body .btn { margin-top: auto; }

.stars { display: inline-flex; gap: 1.5px; }
.star { width: 13px; height: 13px; }
.star.is-full  { fill: var(--blue); stroke: none; }
.star.is-half  { fill: var(--blue); stroke: none; opacity: .48; }
.star.is-empty { fill: var(--line-2); stroke: none; }

/* related-row variant: compact, no button */
.game-card.is-compact .card-body { padding: 13px 14px 15px; gap: 9px; }
.game-card.is-compact .card-title { font-size: 15px; }
.card-view {
  display: inline-flex; align-items: center; gap: 5px; margin-top: auto;
  font-size: 13.5px; font-weight: 600; color: var(--blue-ink);
}
.card-view-icon { transition: transform var(--t); }
.card-view:hover .card-view-icon { transform: translateX(3px); }

/* staggered entry — CSS cascade, no JS */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

/* ----------------------------------------------------------- breadcrumb --- */
.breadcrumb { background: var(--card); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 15px 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em;
}
.breadcrumb li { display: inline-flex; align-items: center; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--blue-ink); }
.breadcrumb [aria-current] { color: var(--ink); }

/* ========================================================== REVIEW PAGE ===
   Deliberately a different mood to the homepage: an inverted deep-blue hero
   panel, a fact file straddling its lower edge, a sticky numbered section
   index on the LEFT, and a docked action bar.
   ========================================================================= */
.btn-invert { background: #fff; color: var(--blue-ink); box-shadow: var(--sh-2); }
.btn-invert:hover { background: #fff; color: var(--blue-deep); transform: translateY(-1px); }
.btn-invert:active { transform: translateY(1px) scale(.985); }

.rv-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #17337e 0%, #1b3f9c 45%, #2354c4 100%);
  color: #fff;
}
.rv-hero-art {
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover; background-position: center right;
  opacity: .16; mix-blend-mode: screen;
}
.rv-hero-tint {
  position: absolute; inset: 0;
  background: radial-gradient(78% 120% at 88% 18%, rgba(255,255,255,.20), transparent 62%);
}
.rv-hero-inner {
  position: relative; display: grid; gap: 30px;
  padding-block: 26px clamp(58px, 7vw, 96px);
}
.rv-hero-copy { min-width: 0; }

.rv-crumb ol { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 0 22px; }
.rv-crumb li { display: inline-flex; align-items: center; }
.rv-crumb a, .rv-crumb span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em;
  color: rgba(255, 255, 255, .86);   /* .72 measured 4.18:1 — under AA */
}
.rv-crumb a:hover { color: #fff; }
.rv-crumb [aria-current] { color: #fff; }
.rv-crumb svg { color: rgba(255, 255, 255, .45); }

.rv-eyebrow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255, 255, 255, .82);
}
.rv-flag {
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .38); color: #fff;
  font-size: 10px; letter-spacing: .12em;
}
.rv-title {
  font-size: clamp(34px, 6vw, 68px); font-weight: 600;
  line-height: .98; letter-spacing: -.04em; color: #fff;
}
.rv-standfirst {
  margin: 18px 0 0; max-width: none;
  color: rgba(255, 255, 255, .88); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6;
}
.rv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.rv-version {
  font-family: var(--font-mono); font-size: 12.5px; color: rgba(255, 255, 255, .78);
  letter-spacing: .03em;
}

.rv-hero-plate {
  justify-self: start;
  width: clamp(132px, 34vw, 220px);
  padding: 12px; border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .26);
  box-shadow: 0 26px 60px -22px rgba(4, 14, 46, .7);
}
.rv-hero-plate img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--r-xl) - 12px); }

/* fact file — lifts over the hero's lower edge */
.rv-facts {
  position: relative; z-index: 2; margin: -30px 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: hidden;
}
.rv-fact { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.rv-fact:nth-child(odd) { border-right: 1px solid var(--line); }
.rv-fact dt {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-3);
}
.rv-fact dd {
  margin: 7px 0 0; display: flex; align-items: baseline; gap: 5px;
  font-family: var(--font-mono); font-size: clamp(17px, 2vw, 21px);
  letter-spacing: -.02em; color: var(--ink);
}
.rv-fact-sub { font-size: 12px; color: var(--ink-3); }

/* body: section index + article */
.rv-body { display: grid; gap: 40px; padding-block: var(--section); align-items: start; }

.rv-index { min-width: 0; }
.rv-index-title {
  margin: 0 0 14px; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.rv-index-list { display: grid; border-top: 1px solid var(--line); }
.rv-index-list li { border-bottom: 1px solid var(--line); }
.rv-index-list a {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px;
  padding: 11px 4px; color: var(--ink-2); font-size: 13.5px; line-height: 1.4;
  transition: color var(--t), background var(--t);
}
.rv-index-list a:hover { color: var(--blue-ink); background: var(--blue-wash); }
.rv-index-n { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.rv-index-list a.is-current { color: var(--blue-ink); font-weight: 600; }
.rv-index-list a.is-current .rv-index-n { color: var(--blue); }

.rv-index-cta { margin-top: 22px; }
.rv-index-note {
  display: flex; align-items: center; gap: 6px; margin: 11px 0 0;
  font-size: 11.5px; color: var(--ink-3);
}
.rv-index-note svg { color: var(--warn-rule); flex: none; }

.rv-article { min-width: 0; }
.rv-lede {
  margin: 0 0 30px; padding-bottom: 24px; border-bottom: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(20px, 2.4vw, 27px); line-height: 1.26;
  letter-spacing: -.028em; color: var(--ink);
}
.rv-article h2 { scroll-margin-top: 100px; }

/* related — horizontal scroll-snap strip */
.rv-related { padding-bottom: var(--section); }
.rv-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr);
  gap: var(--gutter); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding-bottom: 6px;
  scrollbar-width: thin;
}
.rv-strip > li { scroll-snap-align: start; display: flex; }
.rv-strip > li > .game-card { width: 100%; }

/* docked action bar */
.rv-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px -12px rgba(15, 23, 42, .22);
  transform: translateY(100%);
  transition: transform .34s var(--ease);
}
.rv-dock[hidden] { display: none; }
.rv-dock.is-up { transform: translateY(0); }
.rv-dock-inner { display: flex; align-items: center; gap: 14px; padding-block: 11px; }
.rv-dock-icon { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); flex: none; }
.rv-dock-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.rv-dock-name {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rv-dock-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.rv-dock-cta { flex: none; }

/* keep the scroll-to-top button clear of the dock */
.rv-dock.is-up ~ .to-top { bottom: 82px; }

/* ---------------------------------------------------------------- prose --- */
/* No max-width: headings and body text run the full container. */
.prose { min-width: 0; }
.prose h2 {
  margin: 46px 0 15px; font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.22; font-weight: 600; color: var(--ink);
}
.prose h3 { margin: 32px 0 11px; font-size: 19px; line-height: 1.3; color: var(--ink); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 19px; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.article-lede {
  margin: 0 0 26px; padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(19px, 2.2vw, 25px); line-height: 1.28;
  letter-spacing: -.025em; color: var(--ink);
}
.prose-list { margin: 0 0 22px; display: grid; gap: 10px; }
.prose-list li { position: relative; padding-left: 24px; color: var(--ink-2); }
.prose-list li::before {
  content: ""; position: absolute; left: 3px; top: .66em;
  width: 8px; height: 2px; border-radius: 2px; background: var(--blue);
}

/* ------------------------------------------------------------- related ---- */
.related-wrap { padding-bottom: var(--section); }

/* --------------------------------------------------------- warning band --- */
.warn-band {
  display: grid; gap: 18px;
  margin-bottom: var(--section);
  /* inside .sections the wrapper already pads the bottom — don't stack both */
  padding: clamp(22px, 3.4vw, 36px);
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-left: 4px solid var(--warn-rule);
  border-radius: var(--r-lg);
}
.warn-icon { color: var(--warn-rule); }
.warn-title { font-size: clamp(20px, 2.5vw, 27px); margin-bottom: 11px; color: var(--warn-ink); }
.warn-body p { margin: 0 0 13px; color: var(--warn-ink); font-size: 15.5px; line-height: 1.62; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.sections > .warn-band:last-child { margin-bottom: 0; }
.chip {
  padding: 7px 14px; border: 1px solid var(--warn-line); border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--warn-ink);
}

/* ----------------------------------------------------------- page heros --- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero-bg {
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover; background-position: center right;
}
.page-hero-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--page) 0%, var(--page) 50%, rgba(245,247,251,.90) 66%, rgba(245,247,251,.16) 88%),
    linear-gradient(to top, var(--page) 0%, rgba(245,247,251,0) 46%);
}
.page-hero-inner { position: relative; padding-block: clamp(40px, 6vw, 78px); }
.page-title { font-size: clamp(26px, 3.8vw, 44px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.page-body { padding-block: var(--section); }

/* ================================================================ FOOTER ==
   Rebuilt: an oversized wordmark plate, then link groups separated by
   hairlines in an asymmetric 2fr/1fr/1fr/1fr track. No four equal boxes.
   ========================================================================= */
.site-footer { background: var(--card); border-top: 1px solid var(--line); }
.footer-top { padding-block: clamp(38px, 5vw, 60px); display: grid; gap: 34px; }

.footer-brand-block { min-width: 0; }
.footer-wordmark {
  display: flex; align-items: center; gap: 13px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(27px, 4vw, 40px); letter-spacing: -.04em; color: var(--ink);
  line-height: 1;
}
.footer-wordmark img { width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line); }
.footer-blurb { margin: 18px 0 0; color: var(--ink-3); font-size: 15px; }
.footer-age {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  padding: 9px 14px; border: 1px solid var(--warn-line); background: var(--warn-bg);
  border-radius: 999px; font-size: 12.5px; color: var(--warn-ink);
}
.age-badge { font-family: var(--font-mono); font-weight: 600; letter-spacing: .06em; }

.footer-nav { display: grid; gap: 0; }
.footer-col { padding: 20px 0; border-top: 1px solid var(--line); }
.footer-head {
  margin-bottom: 13px; font-family: var(--font-mono); font-size: 10px;
  font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.footer-list { display: grid; gap: 10px; }
.footer-list a { color: var(--ink-2); font-size: 14.5px; }
.footer-list a:hover { color: var(--blue-ink); }

.footer-base { border-top: 1px solid var(--line); }
.footer-base-inner {
  display: grid; gap: 8px; padding-block: 20px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: .03em;
}
.footer-base-inner p { margin: 0; }

/* ---------------------------------------------------------------- to top -- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--card); color: var(--ink);
  box-shadow: var(--sh-2);
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), border-color var(--t), background var(--t);
}
.to-top[hidden] { display: none; }
.to-top.is-visible { opacity: 1; transform: translateY(0); }
.to-top:hover { border-color: var(--blue); color: var(--blue-ink); background: var(--blue-wash); }
.to-top:active { transform: scale(.95); }

/* ==================================================== 640px — small up === */
@media (min-width: 640px) {
  :root { --pad: 26px; }
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-stats li,
  .hero-stats li:nth-child(odd),
  .hero-stats li:nth-child(even) {
    padding: 18px 18px 6px; border-right: 1px solid var(--line);
  }
  .hero-stats li:first-child { padding-left: 0; }
  .hero-stats li:last-child { border-right: 0; }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-item,
  .trust-item:nth-child(odd),
  .trust-item:nth-child(even) {
    padding: 21px 18px; border-right: 1px solid var(--line); border-bottom: 0;
  }
  .trust-item:first-child { padding-left: 0; }
  .trust-item:last-child { border-right: 0; }
  .spec-ledger-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spec-cell,
  .spec-cell:nth-child(odd),
  .spec-cell:nth-child(even) {
    padding: 18px; border-right: 1px solid var(--line); border-bottom: 0;
  }
  .spec-cell:first-child { padding-left: 0; }
  .spec-cell:last-child { border-right: 0; }
  .footer-base-inner { grid-auto-flow: column; justify-content: space-between; align-items: center; }
}

/* ====================================================== 768px — tablet === */
@media (min-width: 768px) {
  :root { --pad: 32px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento > .card-lead { grid-column: span 2; grid-row: span 2; }
  .bento > .card-wide { grid-column: span 2; }
  .card-wide { flex-direction: row; align-items: stretch; }
  /* Square plate, centred: these icons are square, so a stretched box would
     either letterbox them (contain) or crop the wordmark (cover). */
  .card-wide .card-art {
    width: 40%; flex: none; aspect-ratio: 1; align-self: center;
    margin: 14px 0 14px 14px;
  }
  /* the base card pushes its button down with margin-top:auto; in this
     horizontal variant that strands the content top and bottom */
  .card-wide .card-body { flex: 1; justify-content: center; gap: 13px; }
  .card-wide .card-body .btn { margin-top: 3px; }
  .rank-row {
    grid-template-columns: auto auto minmax(0, 1fr) 180px auto;
    grid-template-areas: "num thumb main score cta";
    gap: 18px; padding: 16px 20px;
  }
  .rank-cta { justify-self: end; }
  .rv-hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 44px; align-items: center; }
  .rv-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rv-fact:nth-child(odd) { border-right: 0; }
  .rv-fact:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
  .section-head-row {
    grid-template-columns: 1fr auto; align-items: end; gap: 24px;
  }
  .warn-band { grid-template-columns: auto 1fr; gap: 26px; align-items: start; }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .footer-col { border-top: 1px solid var(--line); }
}

/* ===================================================== 1024px — desktop == */
@media (min-width: 1024px) {
  :root { --pad: 40px; }
  .nav-cluster { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }

  /* asymmetric hero: copy on a 7/12 track, product visual on the right */
  .hero-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 40px; }
  .hero-copy { grid-column: 1; }
  .hero-visual { display: block; grid-column: 2; }

  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* review: numbered index sticks on the left, article runs wide beside it */
  .rv-body { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; }
  .rv-index { position: sticky; top: 98px; }
  .rv-facts { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: -42px; }
  .rv-fact { border-bottom: 0; }
  .rv-fact:not(:last-child) { border-right: 1px solid var(--line); }
  .rv-strip { grid-auto-columns: minmax(0, 1fr); overflow-x: visible; }

  .footer-top { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 60px; align-items: start; }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ========================================================= 1280px — wide = */
@media (min-width: 1280px) {
  .grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ======================================================== 1440px — wide == */
@media (min-width: 1440px) {
  :root { --pad: 48px; }
}

/* ------------------------------------------------- reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .game-card:hover { transform: none; }
  .game-card:hover .card-art img { transform: none; }
}
