/* Layout: full-bleed WebGL island; HUD pinned to the corners; each project opens as a dossier sheet on the right (full screen on phones). */
:root {
  --ink: #0d1628;
  --panel: rgba(13, 22, 40, .9);
  --panel-solid: #101b31;
  --paper: #f2f5fa;
  --muted: #a3b4cc;
  --line: rgba(242, 245, 250, .14);
  --accent: #ffc53d;
  --accent-ink: #1d1500;
  --sky: #bfe6ff;
  --code-bg: #0a1222;
  --pc: #ffc53d;       /* current project colour, set from JS */
  --pc-ink: #1d1500;
  --f-display: "Bungee", "Arial Black", Impact, system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0; overflow: hidden;
  background: var(--sky); color: var(--paper);
  font-family: var(--f-body); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body { overscroll-behavior: none; }
body.no3d { background: radial-gradient(120% 90% at 30% 10%, #2a4a7a, var(--ink)); }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
kbd {
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  padding: 1px 6px; border-radius: 5px;
  background: rgba(255,255,255,.12); border: 1px solid var(--line); border-bottom-width: 2px;
}
code { font-family: var(--f-mono); font-size: .88em; background: rgba(255,255,255,.08); padding: 1px 5px; border-radius: 4px; }

#stage { position: fixed; inset: 0; }
#stage canvas { display: block; width: 100%; height: 100%; touch-action: none; outline: none; }

