/* ==========================================================================
   Portfolio — flat colors only. No gradients anywhere.
   ========================================================================== */

:root {
  --ink: #12161f;
  --paper: #edf1ee;
  --paper-2: #dfe6e2;
  --paper-3: #c5d0cb;
  --muted: #5d6873;
  --white: #fbfefc;

  /* Overwritten per page by JS (each game has its own accent + lane color) */
  --accent: #a8efdc;
  --lane: #141c24;
  --shadow-c: var(--accent);
  --on-accent: var(--ink);   /* text on the accent: router flips it to paper for dark accents */

  --tile: 64px;          /* size of the lane texture tile — keep in sync with assets/texture.svg */
  --frame-w: 940px;
  --gap-y: 40px;
  --radius: 28px;
  --bw: 3px;
  --pad-x: 64px;         /* shared side padding: nav and page content line up */

  --sx: 6;               /* frame shadow offset, driven by the cursor ("light source") */
  --sy: 6;

  --ease: cubic-bezier(.76, 0, .24, 1);
  --out: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --font: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

html { cursor: var(--cur-arrow, auto); }
a, button, label, summary, input[type="range"], [data-cursor], [data-lightbox] { cursor: var(--cur-hand, pointer); }

body {
  margin: 0;
  background: var(--lane);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .6s ease;
}

::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; }
img, video, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

