/* Shared ground for every room. Rooms own their look in css/rooms/<room>.css,
   scoped under their section id. Nothing here styles inside a room except the
   tokens and the two shared controls (.zp-cta, .zp-label). */

:root {
  --void: #050409;           /* deep space, the page's own dark */
  --ink: #f4efe6;            /* warm white, their lettering */
  --ink-2: #b8b1c2;
  --fire: #ff7a1a;           /* their fire ring, the partner strip, the wristbands */
  --flame: #ffd166;
  --portal: #8ff3ff;         /* the stone ring's glyphs, used as light, never as text glow */
  --mars: #b5482a;
  --planet: #7a3fa8;
  --display: 'Archivo', 'Arial Black', sans-serif;
  --body: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
/* Archivo at its widest; Inter Tight has no width axis, so body text is untouched */
html { font-stretch: 125%; }
html { background: var(--void); color: var(--ink); -webkit-text-size-adjust: 100%; }
html:not([data-entered]) { overflow: hidden; }
/* the walk: no free scroll, every gesture glides to the next stop (js/walk.js).
   body must not become its own scroll box, or sticky stages pin to it. */
html[data-walk] { overflow: hidden; }
html[data-walk] body { overflow: visible; overflow-x: clip; }
body { margin: 0; font-family: var(--body); font-weight: 500; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }

.room { position: relative; width: 100%; }

/* The one button shape on the site: a hard-edged slab. No pills, no curves,
   no bent or skewed buttons. */
.zp-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 0;
  background: var(--fire); color: #170800;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.zp-cta:hover { background: var(--flame); }
.zp-cta:active { transform: translateY(1px); }
.zp-cta:focus-visible { outline: 2px solid var(--portal); outline-offset: 3px; }
.zp-cta--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.zp-cta--ghost:hover { background: var(--ink); color: var(--void); }

.zp-label { font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The door: the hero's world renders behind it (portal room). */
.door { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(5, 4, 9, 0.72); transition: opacity 0.6s, visibility 0.6s; }
.door__go { display: flex; flex-direction: column; align-items: center; gap: 22px; background: none; border: 0; padding: 40px; cursor: pointer; }
.door__mark { width: min(46vw, 260px); height: auto; }
.door__line { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 3.2vw, 34px); letter-spacing: -0.01em; }
.door__hint { font-family: var(--display); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
html[data-entered] .door { opacity: 0; visibility: hidden; pointer-events: none; }

/* Sound: four bars that move with the four bands (set by main.js). */
.sound { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 12px 11px; background: rgba(5, 4, 9, 0.6); border: 0; cursor: pointer; }
.sound i { width: 3px; height: calc(4px + 18px * var(--b, 0.2)); background: var(--fire); }
.sound[aria-pressed="false"] i { height: 4px; background: var(--ink-2); }
html:not([data-entered]) .sound { opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
