/* ==========================================================================
   KIDZ PLAYZONE — playzone.css
   Company site for KIDZ PLAYZONE PTY LTD. Dark surfaces, Fredoka (display)
   with Inter (UI/body), saturated accents, no photography.
   Class vocabulary (arcade register):
     arcade / attract / cartridge / marquee / ruleset / creed / callout /
     plaque / spec / relay / fold / steps / lockup / pill / tbc
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --void:        #0E1015;
  --panel:       #171A22;
  --raised:      #1F2430;
  --overlay:     rgba(11, 13, 18, 0.90);
  --edge:        #3A4254;   /* decorative dividers and card outlines only */
  --edge-hi:     #646E82;   /* control borders — 3.39:1 on --panel, 3.71:1 on --void, 3.03:1 on --raised */

  /* Text */
  --text-hi:     #F2F5FA;
  --text-mid:    #A0A8BA;
  --text-lo:     #8A92A6;   /* 4.98:1 on --raised, 5.59:1 on --panel, 6.11:1 on --void */
  --text-tint:   #B9C0CF;   /* small text sitting on the hero's neon wash — 6.39:1 there */
  --ink:         #0B0D12;

  /* Accents */
  --neon:        #6C4CFF;   /* fills, pills, 3px+ shapes only — never text */
  --neon-text:   #9E86FF;   /* the text/link tint of the same hue */
  --volt:        #B8FF3D;   /* focus ring, emphasis marks */
  --coin:        #FFB020;   /* placeholder marking */
  --rose:        #FF3D8B;   /* gradient terminus */
  --sky:         #3DD6FF;
  --tang:        #FF7A45;
  --grad:        linear-gradient(135deg, #6C4CFF 0%, #FF3D8B 100%);

  /* Type scale — 1.25 minor third on a 16px base */
  --fs-2xs: 0.75rem;    --lh-2xs: 1rem;
  --fs-xs:  0.875rem;   --lh-xs:  1.25rem;
  --fs-sm:  1rem;       --lh-sm:  1.5rem;
  --fs-md:  1.25rem;    --lh-md:  1.75rem;
  --fs-lg:  1.5625rem;  --lh-lg:  2rem;
  --fs-xl:  1.9375rem;  --lh-xl:  2.375rem;
  --fs-2xl: 2.4375rem;  --lh-2xl: 2.875rem;
  --fs-3xl: 3.0625rem;  --lh-3xl: 3.375rem;

  /* Families */
  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-ui: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Metrics */
  --bar-h: 64px;
  --shell: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(.2,.7,.3,1);
}

/* Genre identity tints — used on the marquee markers only, never on text */
.cat-puzzle    { --cat: #6C4CFF; }
.cat-arcade    { --cat: #FF3D8B; }
.cat-skill     { --cat: #B8FF3D; }
.cat-word      { --cat: #FF7A45; }
.cat-twoplayer { --cat: #3DD6FF; }

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--text-hi);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; }
h1, h2 { letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
a { color: var(--neon-text); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--text-hi); }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
hr { border: 0; border-top: 1px solid var(--edge); margin: 2.5rem 0; }
:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--neon); color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--volt); color: var(--ink);
  padding: 0.7rem 1.1rem; font-weight: 700; font-size: var(--fs-xs);
  border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. ATTRACT STRIP (quiet pre-launch notice) + TBC PLACEHOLDERS
   The loud preview bar is gone. What remains is one quiet line, because the
   only unconfirmed items left on the site are company registration details.
   -------------------------------------------------------------------------- */
.attract {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 0.7rem 0.9rem;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--coin);
  border-radius: 0 10px 10px 0;
  font-size: var(--fs-2xs); line-height: 1.5;
  color: var(--text-mid);
}
.attract p { margin: 0; }
.attract__x {
  margin-left: auto; flex: none;
  background: transparent; border: 1px solid var(--edge-hi);
  color: var(--text-mid); font: inherit; font-size: var(--fs-2xs);
  padding: 0.15rem 0.55rem; border-radius: 6px; cursor: pointer;
}
.attract__x:hover { background: var(--raised); color: var(--text-hi); }
.attract[hidden] { display: none; }

.tbc {
  background: rgba(255, 176, 32, 0.16);
  border-bottom: 2px solid var(--coin);
  color: #FFD98A;
  padding: 0 0.24em;
  border-radius: 3px 3px 0 0;
  font-style: normal;
  font-weight: 600;
}
a .tbc { color: #FFD98A; }

/* --------------------------------------------------------------------------
   4. LAYOUT SHELL
   -------------------------------------------------------------------------- */
.arcade { display: flex; flex-direction: column; min-height: 100vh; }
.arcade__col { flex: 1 0 auto; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.shell--narrow { max-width: 900px; }

.arcade__bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--overlay);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--edge);
}
.arcade__bar-in {
  max-width: var(--shell); margin: 0 auto;
  min-height: var(--bar-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}

.topnav { margin-left: auto; }
.topnav ul {
  display: flex; flex-wrap: wrap; gap: 0.15rem;
  list-style: none; margin: 0; padding: 0;
}
.topnav li { margin: 0; }
.topnav a {
  display: block; padding: 0.5rem 0.75rem; border-radius: 10px;
  font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 600;
  color: var(--text-mid); text-decoration: none;
}
.topnav a:hover { background: var(--raised); color: var(--text-hi); }
.topnav a[aria-current="page"] { color: var(--text-hi); background: var(--raised); }
.topnav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 4px;
  border-radius: 2px; background: var(--grad);
}

/* --------------------------------------------------------------------------
   5. BRAND LOCKUP
   -------------------------------------------------------------------------- */
.lockup {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--text-hi);
  padding: 0.4rem 0;
}
.lockup:hover { color: var(--text-hi); }
.lockup__mark { flex: none; width: 32px; height: 32px; }
.lockup__word {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-md); line-height: 1.1;
  letter-spacing: -0.01em; text-transform: uppercase;
  white-space: nowrap;
}
.lockup__word em { font-style: normal; color: var(--neon-text); }
/* The O in ZONE, drawn as a circle with the play triangle knocked out */
.lockup__o {
  display: inline-block; vertical-align: -0.055em;
  width: 0.66em; height: 0.66em; margin: 0 0.02em;
}

/* --------------------------------------------------------------------------
   6. PILLS / CHIPS
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 600;
  padding: 0.6rem 1.1rem; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none;
  white-space: nowrap;
  transition: transform 140ms var(--ease), background-color 140ms var(--ease);
}
.pill:active { transform: translateY(1px); }
.pill--brand { background: var(--neon); color: #fff; }
.pill--brand:hover { background: #5636DE; color: #fff; }
.pill--ghost { background: transparent; color: var(--text-hi); border-color: var(--edge-hi); }
.pill--ghost:hover { background: var(--raised); color: var(--text-hi); }
.pill--sm { padding: 0.4rem 0.85rem; font-size: var(--fs-2xs); }

/* --------------------------------------------------------------------------
   7. HERO (text only — geometric backdrop, no screenshots, no tiles)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 1.75rem 0 2.5rem;
  padding: clamp(2.25rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--edge); border-radius: 22px;
  background:
    radial-gradient(880px 420px at 8% -20%, rgba(108, 76, 255, 0.38), transparent 62%),
    radial-gradient(620px 360px at 96% 4%, rgba(255, 61, 139, 0.20), transparent 64%),
    var(--panel);
}
/* Faint isometric grid — the only decoration on the page */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.030) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 100% at 70% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 70% 0%, #000 25%, transparent 78%);
}
.hero h1 {
  font-size: var(--fs-2xl); line-height: var(--lh-2xl);
  margin: 0 0 1rem; max-width: 22ch;
}
.hero .hero__sub {
  font-size: var(--fs-md); line-height: var(--lh-md);
  color: var(--text-mid); max-width: 56ch; margin: 0 0 1.5rem;
}
.hero__kicker {
  display: inline-block;
  font-size: var(--fs-2xs); line-height: var(--lh-2xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-tint); margin: 0 0 1rem;
}
.hero__more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-xs); font-weight: 600; color: var(--text-hi);
  text-decoration: none; border-bottom: 2px solid var(--rose);
  padding-bottom: 2px;
}
/* --rose, not --neon: the underline sits on the hero's violet wash, where
   --neon only reaches 2.29:1. --rose is 3.5:1 there and --volt 9.68:1. */
.hero__more:hover { color: var(--text-hi); border-color: var(--volt); }
.hero__more svg { width: 15px; height: 15px; stroke: currentColor; fill: none; }

/* --------------------------------------------------------------------------
   8. CARTRIDGE (bordered principle card)
   -------------------------------------------------------------------------- */
.cartridge-set {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 1rem; list-style: none; margin: 0; padding: 0;
}
.cartridge-set > li { margin: 0; }
.cartridge {
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-top: 3px solid var(--edge-hi);
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1.35rem;
}
.cartridge:nth-child(4n+1) { border-top-color: var(--neon); }
.cartridge:nth-child(4n+2) { border-top-color: var(--rose); }
.cartridge:nth-child(4n+3) { border-top-color: var(--sky); }
.cartridge:nth-child(4n+4) { border-top-color: var(--volt); }
.cartridge h3 {
  font-size: var(--fs-sm); line-height: var(--lh-sm);
  color: var(--text-hi); margin: 0 0 0.5rem;
  font-family: var(--font-display); font-weight: 600;
}
.cartridge p { font-size: var(--fs-xs); line-height: 1.55; color: var(--text-mid); margin: 0; }

/* --------------------------------------------------------------------------
   9. MARQUEE (genre scope list — static, non-interactive, no images)
   -------------------------------------------------------------------------- */
.marquee {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.35rem 2rem; margin: 0;
}
.marquee > div {
  display: flex; gap: 0.7rem; align-items: baseline;
  padding: 0.7rem 0; border-bottom: 1px solid var(--edge);
}
.marquee dt {
  flex: none; min-width: 6.5rem;
  display: flex; align-items: baseline; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-sm); color: var(--text-hi);
}
.marquee dt::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 3px;
  background: var(--cat, var(--edge-hi)); transform: translateY(-1px);
}
.marquee dd {
  margin: 0; font-size: var(--fs-xs); line-height: 1.55; color: var(--text-mid);
}

/* --------------------------------------------------------------------------
   10. RULESET (numbered criteria)
   -------------------------------------------------------------------------- */
.ruleset { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ruleset > li {
  counter-increment: r; position: relative;
  margin: 0 0 0.75rem; padding: 1rem 1.1rem 1rem 3.6rem;
  background: var(--panel); border: 1px solid var(--edge); border-radius: 12px;
}
.ruleset > li::before {
  content: counter(r, decimal-leading-zero);
  position: absolute; left: 1.1rem; top: 1rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-sm); color: var(--neon-text);
}
.ruleset h3 {
  font-family: var(--font-ui); font-weight: 700;
  font-size: var(--fs-sm); line-height: var(--lh-sm);
  color: var(--text-hi); margin: 0 0 0.25rem;
}
.ruleset p { font-size: var(--fs-xs); line-height: 1.55; color: var(--text-mid); margin: 0; }

/* --------------------------------------------------------------------------
   11. STEPS
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li {
  counter-increment: s; position: relative;
  padding: 0 0 1.4rem 3rem; margin: 0;
}
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--neon); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs); font-weight: 700;
}
.steps h3 { margin: 0.25rem 0 0.35rem; font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 700; }
.steps p { color: var(--text-mid); margin: 0; }
.steps--row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.steps--row li { padding-bottom: 0; }

/* --------------------------------------------------------------------------
   12. SPEC TABLE (two-column specification)
   -------------------------------------------------------------------------- */
.spec { width: 100%; border-collapse: collapse; font-size: var(--fs-xs); }
.spec caption {
  text-align: left; color: var(--text-lo); font-size: var(--fs-2xs); line-height: 1.5;
  padding: 0.9rem 0.9rem 0.75rem;
  border-bottom: 1px solid var(--edge);
}
.spec th, .spec td {
  text-align: left; vertical-align: top;
  padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--edge);
  line-height: 1.55;
}
.spec th {
  width: 40%; color: var(--text-hi); font-weight: 600;
  background: rgba(255,255,255,.015);
}
.spec td { color: var(--text-mid); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec-wrap {
  overflow-x: auto;
  border: 1px solid var(--edge); border-radius: 14px; background: var(--panel);
}

/* --------------------------------------------------------------------------
   13. PLAQUE (corporate detail table)
   -------------------------------------------------------------------------- */
.plaque {
  background: var(--panel); border: 1px solid var(--edge);
  border-radius: 14px; padding: 1.25rem 1.4rem; margin: 0;
}
.plaque h2, .plaque h3 {
  font-family: var(--font-ui); font-weight: 700;
  font-size: var(--fs-2xs); line-height: var(--lh-2xs);
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--text-lo); margin: 0 0 0.9rem;
}
.plaque dl { margin: 0; }
.plaque dt {
  font-size: var(--fs-2xs); line-height: var(--lh-2xs);
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-lo); font-weight: 700; margin-top: 0.9rem;
}
.plaque dt:first-of-type { margin-top: 0; }
.plaque dd {
  margin: 0.2rem 0 0; font-size: var(--fs-xs); line-height: var(--lh-xs);
  color: var(--text-hi);
}

/* --------------------------------------------------------------------------
   14. RELAY (contact-by-purpose rows)
   -------------------------------------------------------------------------- */
.relay { list-style: none; margin: 0; padding: 0; }
.relay > li {
  margin: 0 0 0.75rem;
  background: var(--panel); border: 1px solid var(--edge);
  border-radius: 12px; padding: 1rem 1.1rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1.25rem; align-items: baseline;
}
.relay h3 {
  font-family: var(--font-ui); font-weight: 700;
  font-size: var(--fs-sm); line-height: var(--lh-sm);
  color: var(--text-hi); margin: 0;
}
.relay a {
  grid-column: 2; grid-row: 1;
  font-size: var(--fs-xs); font-weight: 600; white-space: nowrap;
}
.relay p {
  grid-column: 1 / -1;
  font-size: var(--fs-xs); line-height: 1.55; color: var(--text-mid); margin: 0;
}

/* --------------------------------------------------------------------------
   15. FOLD (details/summary — no JS)
   -------------------------------------------------------------------------- */
.fold {
  background: var(--panel); border: 1px solid var(--edge);
  border-radius: 14px; margin: 0 0 0.75rem; overflow: hidden;
}
.fold > summary {
  list-style: none; cursor: pointer;
  padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-md); line-height: var(--lh-md); color: var(--text-hi);
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 11px; height: 11px; border-right: 2px solid var(--neon-text);
  border-bottom: 2px solid var(--neon-text); border-radius: 2px;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 160ms var(--ease);
}
.fold[open] > summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.fold > summary:hover { background: var(--raised); }
.fold__body { padding: 0 1.2rem 1.25rem; color: var(--text-mid); }
.fold__body > :last-child { margin-bottom: 0; }
.fold__body h3 {
  font-family: var(--font-ui); font-weight: 700;
  font-size: var(--fs-sm); color: var(--text-hi); margin: 1.25rem 0 0.4rem;
}
.fold__body ul { color: var(--text-mid); }

/* --------------------------------------------------------------------------
   16. PANELS / PROSE / NOTES / HEADS
   -------------------------------------------------------------------------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: 1.5rem;
}
.panel h2 { font-size: var(--fs-md); line-height: var(--lh-md); margin: 0 0 0.75rem; }
.panel h3 { font-size: var(--fs-sm); line-height: var(--lh-sm); margin: 0 0 0.5rem; }
.panel > :last-child { margin-bottom: 0; }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.duo--top { align-items: start; }
.duo--wide { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.75rem; }

/* The name note on About — the candour panel */
.callout {
  border: 1px solid var(--edge-hi);
  border-left: 4px solid var(--coin);
  background:
    linear-gradient(180deg, rgba(255,176,32,.06), rgba(255,176,32,0) 60%),
    var(--panel);
  border-radius: 0 16px 16px 0;
  padding: 1.5rem 1.6rem;
}
.callout h2 { font-size: var(--fs-lg); line-height: var(--lh-lg); margin: 0 0 0.85rem; }
.callout p { color: var(--text-mid); }
.callout > :last-child { margin-bottom: 0; }

/* Stacked belief statements */
.creed { list-style: none; margin: 0; padding: 0; }
.creed > li {
  margin: 0; padding: 1.1rem 0; border-top: 1px solid var(--edge);
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.35rem 2rem; align-items: baseline;
}
.creed > li:last-child { border-bottom: 1px solid var(--edge); }
.creed h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-md); line-height: var(--lh-md); color: var(--text-hi); margin: 0;
}
.creed p { margin: 0; color: var(--text-mid); font-size: var(--fs-xs); line-height: 1.6; }

.lede {
  font-size: var(--fs-md); line-height: var(--lh-md);
  color: var(--text-mid); max-width: 62ch;
}
.prose { max-width: 74ch; color: var(--text-mid); }
.prose h2 {
  font-size: var(--fs-lg); line-height: var(--lh-lg);
  color: var(--text-hi); margin: 2.5rem 0 0.85rem; scroll-margin-top: 84px;
}
.prose h3 {
  font-family: var(--font-ui); font-weight: 700;
  font-size: var(--fs-sm); line-height: var(--lh-sm);
  color: var(--text-hi); margin: 1.75rem 0 0.6rem; scroll-margin-top: 84px;
}
.prose ul, .prose ol { color: var(--text-mid); }
.prose strong { color: var(--text-hi); font-weight: 600; }
.prose dl { margin: 0 0 1rem; }
.prose dt { color: var(--text-hi); font-weight: 600; margin-top: 0.85rem; }
.prose dd { margin: 0.2rem 0 0; }

.slab { padding: 0 0 3rem; }
.slab > h2, .section-h2 {
  font-size: var(--fs-lg); line-height: var(--lh-lg);
  margin: 0 0 0.35rem; scroll-margin-top: 84px;
}
.slab > .section-note {
  color: var(--text-mid); font-size: var(--fs-xs); line-height: 1.6;
  max-width: 68ch; margin: 0 0 1.25rem;
}
.rule-top { border-top: 1px solid var(--edge); padding-top: 1.75rem; }

/* A slab whose only content is prose. Without this the text column sits at
   roughly 60% of the shell and the rest of the row is dead space, which makes
   an otherwise full page read as a stripped template. The heading moves into a
   left rail so the block occupies the full measure on purpose. */
@media (min-width: 1024px) {
  .slab--reading {
    display: grid;
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    column-gap: 3.5rem;
    align-items: start;
  }
  .slab--reading > .section-h2 {
    grid-column: 1; grid-row: 1 / span 20;
    align-self: start; position: sticky; top: 96px;
    margin: 0;
  }
  .slab--reading > :not(.section-h2) { grid-column: 2; }
  .slab--reading > .section-note,
  .slab--reading > .prose { max-width: 74ch; }
  .slab--reading > :last-child { margin-bottom: 0; }
}

.page-head { padding: 2rem 0 0.5rem; }
.page-head h1 { font-size: var(--fs-xl); line-height: var(--lh-xl); margin: 0 0 0.75rem; }
.page-head .eyebrow {
  font-size: var(--fs-2xs); line-height: var(--lh-2xs);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-lo); font-weight: 700; margin: 0 0 0.6rem;
}
.crumbs {
  font-size: var(--fs-2xs); line-height: var(--lh-2xs);
  color: var(--text-lo); margin: 0 0 0.6rem;
  display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0;
}
.crumbs li { margin: 0; display: flex; gap: 0.4rem; align-items: center; }
.crumbs li + li::before { content: "\203A"; color: var(--edge-hi); }
.crumbs a { color: var(--text-lo); text-decoration: none; }
.crumbs a:hover { color: var(--text-hi); }

.stamp {
  font-size: var(--fs-2xs); line-height: var(--lh-2xs);
  color: var(--text-lo); margin: 0 0 1.5rem;
}

/* Table of contents for legal pages */
.toc {
  background: var(--panel); border: 1px solid var(--edge);
  border-radius: 16px; padding: 1.25rem 1.5rem; margin: 0 0 2.5rem;
}
.toc h2 {
  font-family: var(--font-ui); font-weight: 700;
  font-size: var(--fs-2xs); line-height: var(--lh-2xs);
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--text-lo); margin: 0 0 0.75rem;
}
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.toc li {
  margin-bottom: 0.35rem; break-inside: avoid;
  font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--text-lo);
}
.toc a { color: var(--text-mid); text-decoration: none; font-size: var(--fs-xs); }
.toc a:hover { color: var(--neon-text); text-decoration: underline; }

/* Legal pages: at wide viewports the contents list becomes a sticky right rail
   so the long policies stay navigable and the measure stays readable. */
@media (min-width: 1200px) {
  .shell--legal {
    display: grid;
    grid-template-columns: minmax(0, 74ch) minmax(0, 1fr);
    column-gap: 3.5rem;
    align-items: start;
  }
  .shell--legal > .page-head { grid-column: 1 / -1; }
  .shell--legal > .attract { grid-column: 1 / -1; }
  .shell--legal > .prose { grid-column: 1; grid-row: 3; }
  .shell--legal > .toc {
    grid-column: 2; grid-row: 3;
    position: sticky; top: 84px;
    margin: 0;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .shell--legal > .toc ol { columns: 1; }
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.arcade__foot {
  border-top: 1px solid var(--edge);
  background: var(--panel);
  margin-top: 3rem;
  padding: 2.5rem 0 2rem;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
.arcade__foot h2 {
  font-family: var(--font-ui); font-weight: 700;
  font-size: var(--fs-2xs); line-height: var(--lh-2xs);
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--text-lo); margin: 0 0 0.75rem;
}
.arcade__foot ul { list-style: none; margin: 0; padding: 0; }
.arcade__foot li { margin-bottom: 0.45rem; }
.arcade__foot a {
  font-size: var(--fs-xs); color: var(--text-mid); text-decoration: none;
}
.arcade__foot a:hover { color: var(--text-hi); text-decoration: underline; }
.foot-legal {
  border-top: 1px solid var(--edge); padding-top: 1.25rem;
  font-size: var(--fs-2xs); line-height: 1.6; color: var(--text-lo);
}
.foot-legal p { margin: 0 0 0.35rem; }
.foot-age {
  display: inline-block;
  border: 1px solid var(--edge-hi); border-radius: 999px;
  padding: 0.25rem 0.7rem; margin-bottom: 0.75rem;
  color: var(--text-mid); font-weight: 600;
}
.foot-blurb {
  font-size: var(--fs-xs); line-height: var(--lh-xs);
  color: var(--text-mid); max-width: 34ch; margin: 0.5rem 0 0;
}

/* --------------------------------------------------------------------------
   18. SMALL UTILITIES (kept deliberately few)
   -------------------------------------------------------------------------- */
.small { font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--text-mid); }
.tiny  { font-size: var(--fs-2xs); line-height: 1.55; color: var(--text-lo); }
.mid   { color: var(--text-mid); }
.mb-0  { margin-bottom: 0; }
.mb-md { margin-bottom: 1rem; }
.mt-md { margin-top: 1rem; }
.anchored { scroll-margin-top: 84px; }
.panel .small:last-child, .panel .tiny:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   19. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .duo--wide { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --gutter: 18px; }
  .hero h1 { font-size: var(--fs-xl); line-height: var(--lh-xl); }
  .toc ol { columns: 1; }
  .creed > li { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .arcade__bar-in { padding-top: 0.5rem; padding-bottom: 0.5rem; gap: 0.5rem; }
  .topnav { margin-left: 0; width: 100%; }
  .topnav ul { justify-content: flex-start; }
  .topnav a { padding: 0.45rem 0.6rem; }
}
@media (max-width: 640px) {
  :root { --gutter: 14px; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .page-head h1 { font-size: var(--fs-lg); line-height: var(--lh-lg); }
  .hero h1 { font-size: var(--fs-lg); line-height: var(--lh-lg); }
  .hero .hero__sub { font-size: var(--fs-sm); line-height: var(--lh-sm); }
  .marquee > div { flex-direction: column; gap: 0.2rem; }
  .relay > li { grid-template-columns: 1fr; }
  .relay a { grid-column: 1; grid-row: auto; white-space: normal; overflow-wrap: anywhere; }
  .fold > summary { font-size: var(--fs-sm); line-height: var(--lh-sm); }
}
@media (max-width: 380px) {
  .lockup__word { font-size: var(--fs-sm); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .arcade__bar, .attract { display: none; }
  body { background: #fff; color: #000; }
}
