/* Shared bits for /things. Keep it small — each experiment owns its own look. */
:root { --paper: #eeeae0; --ink: #191919; --sub: #5e5a55; --border: #bdb7ab; }
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }

/* Optional: a centred square stage with a caption underneath. */
.stage { min-height: 100dvh; display: grid; place-items: center; padding: 16px; }
.stage figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.stage .frame { width: min(calc(100vw - 32px), 80dvh, 960px); aspect-ratio: 1 / 1; position: relative; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage figcaption {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-top: 2px solid var(--ink); padding-top: 10px;
}
.stage figcaption a { text-decoration: none; }
.stage figcaption a:hover { text-decoration: underline; }
.stage figcaption span { color: var(--sub); }
