/* PRESS START door. Design pass Nov 19 2026: the door is the back print of a washed black tee.
   Tokens and reasons: ../../DESIGN.md. two up. palette (cream on near-black, one hot color), not the midnight palette.
   The site as it was before this pass: ~/aura-core/press-start/_archive/site-before-design-pass-2026-11-19/ */
@font-face {
  font-family: 'IP Mono';
  src: url('../fonts/spacemono-400.woff') format('woff'),
       url('../fonts/SpaceMono-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IP Mono';
  src: url('../fonts/spacemono-700.woff') format('woff'),
       url('../fonts/SpaceMono-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IP Print';
  src: url('../fonts/Anton-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IP Silk';
  src: url('../rooms/_shared/fonts/Michroma-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --wash: #212121;      /* washed black, the tee */
  --wash-deep: #171615; /* wells and edges */
  --cream: #F7EDD9;     /* ink on dark, tag stock */
  --bone: #FFF8F0;      /* woven thread */
  --dust: #A39B8B;      /* secondary on dark, 5.8:1 */
  --red: #E8503A;       /* the one hot color */
  --red-hi: #F0634C;
  --ink: #161514;       /* text on cream and on red */
  --ink-dim: #5E574C;   /* secondary on cream, 6.1:1 */
  --period: #8E8EEA;    /* the period in two up. */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --print: 'IP Print', 'Anton', Impact, 'Arial Narrow', sans-serif;
  --silk: 'IP Silk', 'Michroma', 'Eurostile', sans-serif;
  --mono: 'IP Mono', 'Space Mono', ui-monospace, Menlo, monospace;
  /* fabric grain: light specks on the washed black */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .97 0 0 0 0 .92 .32 0 0 0 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* paper grain: dark specks on the tag stock */
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .17 0 0 0 0 .12 .35 0 0 0 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  /* screenprint knock-out: about one speck in ten drops out of the ink */
  --distress: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.5' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -5 0 0 0 3.95'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E");
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--wash);
  color: var(--cream);
  font-family: var(--mono);
  min-height: 100%;
}
body { min-height: 100svh; }
img, canvas { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--cream); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: 12px; z-index: 40;
  padding: 10px 14px; background: var(--cream); color: var(--ink);
  font: 700 12px/1 var(--mono); text-decoration: none; transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- THE DOOR ---------- */
#hub {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  padding:
    calc(16px + var(--safe-t))
    calc(18px + var(--safe-r))
    calc(18px + var(--safe-b))
    calc(18px + var(--safe-l));
  background:
    var(--grain),
    radial-gradient(70% 60% at 50% 42%, rgba(247,237,217,.055), rgba(247,237,217,0) 70%),
    radial-gradient(120% 90% at 50% 50%, rgba(0,0,0,0) 55%, rgba(0,0,0,.38) 100%),
    var(--wash);
  background-size: 220px 220px, auto, auto, auto;
}

/* woven neck label */
.neck-label { margin: 0 0 14px; flex: 0 0 auto; }
.neck-label span {
  display: inline-block;
  padding: 8px 16px 7px;
  font: 400 8.5px/1 var(--silk);
  letter-spacing: .32em;
  text-indent: .32em;
  color: var(--bone);
  background:
    repeating-linear-gradient(0deg, rgba(255,248,240,.05) 0 1px, rgba(0,0,0,0) 1px 2px),
    var(--wash-deep);
  box-shadow:
    inset 0 0 0 3px var(--wash-deep),
    inset 0 0 0 4px rgba(255,248,240,.22),
    0 1px 0 rgba(0,0,0,.5);
}

.hub-top { width: 100%; text-align: center; flex: 0 0 auto; }
.hub-title {
  margin: 0;
  font-family: var(--print);
  font-weight: 400;
  font-size: clamp(76px, 27vw, 118px);
  line-height: .84;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: .05em .055em 0 var(--red);
  -webkit-mask-image: var(--distress);
  mask-image: var(--distress);
  -webkit-mask-size: 260px 260px;
  mask-size: 260px 260px;
  padding: 0 .06em .06em 0;
}
#countdown {
  margin: 14px 0 0;
  min-height: 1em;
  font: 400 10px/1.3 var(--silk);
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  color: var(--cream);
}
.hub-sub {
  margin: 10px auto 0;
  max-width: 30ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dust);
}

#cube-stage {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 250px;
  margin: 6px 0;
  touch-action: none;
  cursor: grab;
}
#cube-stage:active { cursor: grabbing; }
#cube-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#cube-fallback { position: absolute; inset: 0; display: grid; place-items: center; perspective: 900px; pointer-events: none; }
body.has-webgl #cube-fallback { display: none; }
.ip-cube {
  --size: clamp(120px, 28vw, 220px);
  width: var(--size); height: var(--size);
  position: relative; transform-style: preserve-3d;
  animation: ip-spin 14s linear infinite;
}
.ip-cube__face {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #ffffff 0%, #c0c0c0 30%, #6b6b6b 50%, #c0c0c0 70%, #ffffff 100%);
  border: 1px solid #E8E8E8;
  box-shadow: inset 0 0 40px rgba(0,0,0,.5);
}
.ip-cube__face--front { transform: translateZ(calc(var(--size) / 2)); }
.ip-cube__face--back { transform: rotateY(180deg) translateZ(calc(var(--size) / 2)); }
.ip-cube__face--right { transform: rotateY(90deg) translateZ(calc(var(--size) / 2)); }
.ip-cube__face--left { transform: rotateY(-90deg) translateZ(calc(var(--size) / 2)); }
.ip-cube__face--top { transform: rotateX(90deg) translateZ(calc(var(--size) / 2)); }
.ip-cube__face--bottom { transform: rotateX(-90deg) translateZ(calc(var(--size) / 2)); }
@keyframes ip-spin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }

.hub-actions {
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

/* buttons: printed rubber blocks that press in */
.ip-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 2px 30px 0;
  border: 0;
  border-radius: 2px;
  font: 400 21px/1 var(--print);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .08s var(--ease), box-shadow .08s var(--ease), background-color .15s var(--ease);
}
.ip-btn:active { transform: translateY(4px); }
.ip-btn:disabled { opacity: .5; cursor: default; transform: none; }
.ip-btn--go {
  min-width: 230px;
  background: var(--red);
  color: var(--ink);
  box-shadow: 0 5px 0 #0d0c0b, 0 6px 14px rgba(0,0,0,.35);
}
.ip-btn--go:hover { background: var(--red-hi); }
.ip-btn--go:active { box-shadow: 0 1px 0 #0d0c0b; }
.ip-btn--go:focus-visible { outline: 2px solid var(--cream); outline-offset: 5px; }
.ip-btn--ink {
  width: 100%;
  min-height: 48px;
  font-size: 18px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 4px 0 rgba(22,21,20,.35);
}
.ip-btn--ink:hover { background: #2a2826; }
.ip-btn--ink:active { box-shadow: 0 0 0 rgba(22,21,20,.35); }
.ip-btn--ink:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

#cube-hint {
  margin: 2px 0 0;
  max-width: 34ch;
  font-size: 11px;
  line-height: 1.5;
  color: var(--dust);
}

/* under the cube: what to do with it, and a way to start over */
.cube-meta {
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 14px;
  margin: 0 0 18px;
}
.cube-meta #cube-hint { margin: 0; text-align: center; }
.text-btn {
  min-height: 36px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--cream);
  font: 400 9px/1 var(--silk);
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: rgba(247,237,217,.4);
  text-underline-offset: 5px;
  cursor: pointer;
}
.text-btn:hover { text-decoration-color: var(--red); }
#cube-stage:focus-visible { outline: 1px dashed rgba(247,237,217,.45); outline-offset: -8px; }

/* the hang tag: drop notifications */
.tag-card {
  position: relative;
  width: min(100%, 360px);
  margin: 18px auto 0;
  padding: 30px 20px 16px;
  color: var(--ink);
  text-align: left;
  background: var(--paper), var(--cream);
  background-size: 200px 200px, auto;
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px);
  transform: rotate(-1.2deg);
}
.tag-hole {
  position: absolute;
  top: 10px; left: 50%;
  width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%;
  background: var(--wash);
  box-shadow: 0 0 0 3px #E6DAC2, 0 0 0 4px rgba(22,21,20,.18);
}
.form-kicker {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1.5px dashed rgba(22,21,20,.45);
  font: 400 24px/1 var(--print);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}
#notify-form label {
  display: block;
  margin: 0 0 10px;
  font-size: 11px;
  color: var(--ink);
}
#notify-form .field-name {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
#notify-form input[type="email"],
#notify-form input[type="tel"] {
  width: 100%;
  min-height: 40px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}
#notify-form input::placeholder { color: var(--ink-dim); opacity: 1; }
#notify-form input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11px;
  line-height: 1.45;
}
.check input { margin-top: 2px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--ink); }
.consent {
  margin: 6px 0 12px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.form-note, #form-thanks {
  margin: 10px 0 0;
  font-size: 10px;
  line-height: 1.45;
  color: var(--ink-dim);
}
#form-thanks { font-size: 12px; color: var(--ink); }
.form-note a { color: inherit; }
.form-error { margin: 8px 0 0; font-size: 11px; line-height: 1.4; color: #8a2d1c; }
/* honeypot: real people never see or reach it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* embroidered whisper mark */
.stitch-mark {
  margin: 22px 0 0;
  flex: 0 0 auto;
  font: 400 11px/1 var(--silk);
  letter-spacing: .06em;
  color: var(--cream);
  opacity: .82;
  text-shadow: 0 1px 0 rgba(0,0,0,.65), 0 0 1px rgba(247,237,217,.4);
}
.stitch-mark .period { color: var(--period); }

/* ---------- WORLD ---------- */
#world {
  position: fixed;
  inset: 0;
  top: calc(28px + var(--safe-t));
  display: flex;
  flex-direction: column;
  background: var(--wash-deep);
  z-index: 8;
}
#world[hidden], #hub[hidden] { display: none !important; }
.world-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(10px + var(--safe-t)) 14px 10px;
  border-bottom: 1px solid rgba(247,237,217,.12);
  background: rgba(23,22,21,.86);
}
.world-bar .ghost {
  background: none; border: 0; color: var(--cream);
  min-height: 44px; padding: 0 4px; cursor: pointer;
  letter-spacing: .08em; font-size: 12px;
}
.world-bar .ghost:hover, .world-bar .ghost:focus-visible { color: var(--red); }
#world-title { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: lowercase; color: var(--cream); text-align: right; }
.room-frame { position: relative; flex: 1 1 auto; min-height: 0; }
#room-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--wash-deep); }
.placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 32px 20px; text-align: center;
  background: var(--grain), var(--wash);
  background-size: 220px 220px, auto;
}
.placeholder[hidden] { display: none !important; }
.placeholder h2 { margin: 0 0 10px; font: 400 clamp(40px, 12vw, 72px)/.9 var(--print); text-transform: uppercase; color: var(--cream); text-shadow: .05em .055em 0 var(--red); }
.placeholder p { margin: 0 auto; max-width: 36ch; color: var(--dust); font-size: 13px; line-height: 1.5; }
.placeholder .later { margin-top: 14px; color: var(--cream); font: 400 10px/1.4 var(--silk); letter-spacing: .24em; text-transform: uppercase; }
.doors {
  flex: 0 0 auto; display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 8px 10px calc(10px + var(--safe-b));
  border-top: 1px solid rgba(247,237,217,.12);
  background: var(--wash-deep);
}
.door {
  flex: 1 0 auto; min-height: 44px; min-width: 72px; padding: 0 12px;
  border: 1px solid rgba(247,237,217,.25); border-radius: 2px;
  background: transparent; color: var(--dust);
  font: 400 10px/1 var(--silk); letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
}
.door:hover, .door:focus-visible { border-color: var(--cream); color: var(--cream); }
.door[aria-current="page"] { border-color: var(--red); color: var(--cream); box-shadow: inset 0 -3px 0 var(--red); }

/* ---------- WIDE: print on the left, cube in the middle, tag hung at the right ---------- */
@media (min-width: 900px) {
  #hub {
    display: grid;
    grid-template-columns: minmax(340px, 480px) 1fr;
    grid-template-rows: auto 1fr auto auto auto 1fr auto;
    column-gap: 32px;
    align-items: start;
    padding: calc(22px + var(--safe-t)) 48px 28px;
  }
  .neck-label { grid-column: 1 / -1; grid-row: 1; justify-self: center; margin-bottom: 0; }
  .hub-top { grid-column: 1; grid-row: 3; text-align: left; }
  .hub-title { font-size: clamp(104px, 10vw, 160px); }
  #countdown { text-indent: 0; }
  #cube-stage { grid-column: 2; grid-row: 2 / 7; min-height: 440px; height: 100%; margin: 0; }
  .cube-meta { grid-column: 2; grid-row: 7; margin: 6px 0 0; }
  .hub-actions { display: contents; }
  .ip-btn--go { grid-column: 1; grid-row: 4; justify-self: start; margin-top: 28px; }
  .tag-card { grid-column: 1; grid-row: 5; justify-self: start; margin: 30px 0 0; width: 340px; transform: rotate(-1.2deg); }
  .stitch-mark { position: absolute; left: 48px; bottom: calc(18px + var(--safe-b)); margin: 0; }
}
/* room for all three: the tag hangs in its own column at the right, clear of the cube */
@media (min-width: 1180px) {
  #hub { grid-template-columns: minmax(360px, 460px) 1fr 340px; }
  .tag-card { grid-column: 3; grid-row: 2 / -1; align-self: center; margin: 0; transform: rotate(2deg); }
}
@media (max-width: 440px) {
  #countdown { font-size: 9px; letter-spacing: .16em; text-indent: .16em; }
}
@media (max-width: 899px) {
  #cube-stage { min-height: 320px; }
  .hub-title { line-height: .9; }
}
@media (max-height: 760px) and (min-width: 900px) {
  .hub-title { font-size: clamp(96px, 9vw, 132px); }
  .tag-card { padding-top: 26px; }
  .tag-card .consent { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ip-cube { animation: none; transform: rotateX(-22deg) rotateY(28deg); }
  .ip-btn { transition: none; }
}

/* game pass, Nov 18 2026: in the world the room draws a camcorder HUD and a TV menu, so the bars step aside.
   They stay in the page for keyboard and screen readers and come back on focus. ?classic keeps them. */
.ip-hud-world.in-world .staged{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.ip-hud-world #world{top:0}
.ip-hud-world .world-bar,.ip-hud-world .doors{position:absolute;left:0;right:0;z-index:5;transform:translateY(-200%);transition:transform .2s}
.ip-hud-world .world-bar{top:0}.ip-hud-world .doors{bottom:0;transform:translateY(200%)}
.ip-hud-world .world-bar:focus-within,.ip-hud-world .doors:focus-within{transform:none}
.ip-hud-world.on-placeholder .world-bar,.ip-hud-world.on-placeholder .doors{transform:none}
.ip-hud-world .room-frame{flex:1 1 auto}

/* copy pass, Nov 18 2026: the staged banner is a small corner dot; the words stay for screen readers */
.staged{position:fixed;z-index:40;margin:0;pointer-events:none;left:auto;right:10px;top:calc(10px + var(--safe-t));width:6px;height:6px;padding:0;border:0;border-radius:50%;background:#E8A64A;opacity:.7;overflow:hidden}
