/* PRE-REVENUE: the site is the game. Palette and dialogue box come straight from the EP01 edit kit. */

@font-face { font-family: "Press Start 2P"; src: url("../fonts/PressStart2P-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Saira"; font-weight: 900; src: url("../fonts/Saira-Black.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Space Mono"; font-weight: 700; src: url("../fonts/SpaceMono-Bold.woff2") format("woff2"); font-display: swap; }

:root {
  --navy: #10204A;
  --navy-hi: #1B3274;
  --navy-lo: #0A1532;
  --silver: #C8D0DC;
  --yellow: #FFD84A;
  --lime: #B4FF39;
  --bone: #EFE8D8;
  --ink: #0B0B0C;
  --heart: #D7323C;
  --px: "Press Start 2P", ui-monospace, monospace;
  --mono: "Space Mono", ui-monospace, monospace;
  --hud-h: 3.25rem;
  --tvw: 100vw;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #000; }
body {
  color: var(--bone);
  font: 700 1rem/1.5 var(--mono);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: .5rem; top: -4rem; z-index: 99; background: var(--lime); color: var(--ink); padding: .75rem 1rem; font-family: var(--px); font-size: .75rem; }
.skip:focus { top: .5rem; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- the TV ---------- */
/* Phones: full screen. Wide screens: a 4:3 picture, pillarboxed like a 2003 game on a widescreen TV. */
.tv { position: relative; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; margin: 0 auto; background: var(--navy-lo); }
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  :root { --tvw: min(100vw, 133.333vh); }
  html { font-size: calc(var(--tvw) / 72); }
  body { display: grid; place-items: center; }
  .tv { width: var(--tvw); height: calc(var(--tvw) * .75); border-radius: 1.1rem; }
}

/* CRT: faint scanlines + vignette. Restraint: it should feel soft, not broken. */
.crt { position: absolute; inset: 0; pointer-events: none; z-index: 50;
  background:
    radial-gradient(ellipse at center, transparent 62%, rgba(0,0,0,.38) 100%),
    repeating-linear-gradient(to bottom, rgba(0,0,0,.10) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply; }
/* Product views stay clean: no scanlines over the shirt. The shop drops the overlay; the title keeps the vignette and
   puts its scanlines on the room behind (.title__bg::after) instead of over the tile. */
.js body[data-screen="shop"] .crt, .js body[data-screen="waitlist"] .crt { display: none; }
.js body[data-screen="title"] .crt { background: radial-gradient(ellipse at center, transparent 62%, rgba(0,0,0,.38) 100%); }

/* ---------- HUD ---------- */
.hud { position: absolute; z-index: 20; left: 0; right: 0; top: 0; height: var(--hud-h);
  display: flex; align-items: center; gap: .75rem; padding: 0 .75rem;
  background: linear-gradient(var(--navy-hi), var(--navy) 60%, var(--navy-lo));
  border-bottom: 2px solid var(--silver); font-family: var(--px); font-size: .625rem; letter-spacing: .02em; }
.hud__brand { display: flex; align-items: center; width: 6.5rem; height: 2.75rem; flex: none; }
.hud__mark { display: block; width: 100%; height: 1.1rem; background: var(--bone);
  -webkit-mask: url("../img/wordmark.svg") left center / contain no-repeat; mask: url("../img/wordmark.svg") left center / contain no-repeat; }
.hud__stats { display: flex; gap: .9rem; margin: 0 auto 0 .25rem; white-space: nowrap; overflow: hidden; }
.hud__stats div { display: flex; gap: .4em; }
.hud__stats dt { color: var(--yellow); }
.hud__stats dd { margin: 0; }
.hud__money { color: var(--lime); }
.hud__sound { flex: none; min-height: 2.75rem; padding: 0 .6rem; background: transparent; border: 2px solid var(--silver);
  border-radius: 3px; font-family: var(--px); font-size: .5625rem; cursor: pointer; }
.hud__sound[aria-pressed="true"] span { color: var(--lime); }
@media (max-width: 520px) { .hud__stats .hud__time-wrap, .hud__stats .hud__loc-wrap { display: none; } }
@media (max-width: 1100px) { .hud__stats .hud__loc-wrap { display: none; } }
.js body.on-title .hud { display: none; }

/* ---------- screens ---------- */
.screen { position: absolute; inset: var(--hud-h) 0 0 0; display: none; overflow-x: hidden; overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.screen.is-active { display: block; }
.screen--title { inset: 0; }
.screen--menu, .screen--talk { background: var(--navy-lo); }
.no-js .tv { height: auto; overflow: visible; }
.no-js .screen { position: relative; inset: auto; display: block; min-height: 100vh; }
.no-js .hud { position: sticky; }
.no-js .loading, .no-js .pad { display: none; }

.screen__bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: .5rem .75rem; background: rgba(10,21,50,.92); border-bottom: 1px solid rgba(200,208,220,.35); }
.screen__label { font-family: var(--px); font-size: .75rem; color: var(--yellow); letter-spacing: .08em; }
.back { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .5rem; margin-left: -.5rem;
  font-family: var(--px); font-size: .6875rem; text-decoration: none; }
.back:hover { color: var(--lime); }

/* ---------- shared UI: box, dialog, buttons ---------- */
.box { position: relative; background: linear-gradient(180deg, var(--navy-hi) 0%, var(--navy) 45%, var(--navy-lo) 100%);
  border: 3px solid var(--silver); border-radius: 4px;
  box-shadow: inset 0 0 0 2px var(--navy-lo), inset 0 0 0 3px rgba(255,255,255,.16), 0 .3rem 0 rgba(0,0,0,.45); }
.box__title { font-family: var(--px); font-size: .75rem; color: var(--yellow); letter-spacing: .06em; padding: .9rem 1rem .5rem; }

.dialog { display: flex; gap: .85rem; align-items: flex-start; padding: .85rem; background: rgba(16,32,74,.94);
  border: 3px solid var(--silver); border-radius: 2px; box-shadow: 0 .3rem 0 rgba(0,0,0,.45); }
.dialog__face { width: 4rem; height: 4rem; flex: none; border: 2px solid var(--silver); image-rendering: auto; background: #000; }
.dialog__name { font-family: var(--px); font-size: .75rem; color: var(--yellow); margin-bottom: .55rem; }
.dialog__name--pre { color: var(--lime); }
.dialog__text { font-family: var(--px); font-size: .75rem; line-height: 1.8; color: #fff; text-transform: uppercase; }
.dialog__text--body { font-family: var(--mono); font-size: .9375rem; line-height: 1.55; text-transform: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.25rem;
  font-family: var(--px); font-size: .8125rem; letter-spacing: .04em; text-decoration: none; cursor: pointer;
  color: var(--bone); background: var(--navy); border: 3px solid var(--silver); border-radius: 3px;
  box-shadow: 0 .25rem 0 #000; transition: transform .06s; }
.btn--go { color: var(--ink); background: var(--lime); border-color: var(--ink); box-shadow: 0 .25rem 0 #3d5a0e, 0 .25rem 0 3px var(--ink); }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(.2rem); box-shadow: none; }

/* ---------- TITLE ---------- */
/* The cutscene room runs full-bleed behind (slow drift); the tee sits in a framed tile in the middle; PRESS START opens the shop. */
.title__bg { position: absolute; inset: 0; isolation: isolate; overflow: hidden; }
.title__hero { position: absolute; inset: -3%; background: url("../img/still-pre.webp") center 30% / cover no-repeat;
  animation: drift 26s ease-in-out infinite alternate; }
.title__bg::after { content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,.10) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 60% 38% at 50% 50%, rgba(6,10,26,.35), rgba(6,10,26,0) 100%),
    linear-gradient(180deg, rgba(6,10,26,.88) 0%, rgba(6,10,26,.35) 18%, rgba(6,10,26,0) 34%, rgba(6,10,26,0) 62%, rgba(6,10,26,.6) 76%, rgba(6,10,26,.95) 90%, rgba(6,10,26,.98) 100%); }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.06) translate(-1.5%, -1%); } }
.title__inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: max(1.4rem, env(safe-area-inset-top)) 1.25rem max(.9rem, env(safe-area-inset-bottom)); }
.title__presents { font-family: var(--px); font-size: .5625rem; letter-spacing: .25em; color: var(--silver); opacity: .85; }
.title__logo { width: min(84%, 30rem); margin-top: .7rem; filter: drop-shadow(0 .28rem 0 var(--navy)) drop-shadow(0 0 1.2rem rgba(239,232,216,.28)); }
.logo { display: block; width: 100%; aspect-ratio: 3450 / 563; background: var(--bone);
  -webkit-mask: url("../img/wordmark-full.svg") center / contain no-repeat; mask: url("../img/wordmark-full.svg") center / contain no-repeat; }

/* the tile: one equipment slot, framed like every other box in the game */
.title__tile { --tile: min(74vw, 19rem, 36dvh); display: block; width: calc(var(--tile) + 1.3rem); margin-top: auto; padding: .55rem .65rem .6rem;
  text-decoration: none; color: var(--bone); animation: bob 3.2s ease-in-out infinite;
  box-shadow: inset 0 0 0 2px var(--navy-lo), inset 0 0 0 3px rgba(255,255,255,.16), 0 .35rem 0 rgba(0,0,0,.5), 0 0 2.5rem rgba(0,0,0,.55); }
.title__tile:hover, .title__tile:focus-visible { border-color: var(--lime); }
.title__tile:focus-visible { outline-offset: 4px; }
.title__tile-top, .title__tile-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.title__tile-top { margin-bottom: .45rem; font-family: var(--px); font-size: .5rem; letter-spacing: .08em; color: var(--silver); }
.title__new { color: var(--ink); background: var(--yellow); padding: .25rem .4rem; }
.title__photo { display: block; width: var(--tile); aspect-ratio: 1; overflow: hidden; border: 2px solid rgba(200,208,220,.45); background: #0d1838; }
.title__photo img { width: 100%; height: 100%; object-fit: contain; } /* whole tee, never cropped */
.title__tile-foot { margin-top: .5rem; }
.title__name { font-family: "Saira", var(--mono); font-weight: 900; font-size: 1.05rem; line-height: 1; letter-spacing: -.01em; text-align: left; }
.title__price { font-family: var(--px); font-size: 1rem; color: var(--lime); text-shadow: 0 .15rem 0 #000; }
@keyframes bob { 50% { transform: translateY(-.25rem); } }

.title__start { margin-top: .9rem; margin-bottom: auto; display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.press-start { display: inline-block; padding: .85rem 1.5rem; font-family: var(--px); font-size: 1.125rem; letter-spacing: .08em;
  text-decoration: none; color: #fff; text-shadow: 0 .2rem 0 var(--navy), 0 0 .8rem rgba(255,255,255,.5);
  animation: blink 1.1s steps(1) infinite; }
.title__drop { font-family: var(--px); font-size: .625rem; color: var(--silver); letter-spacing: .08em; }
.title__drop a { display: inline-block; padding: .9rem .45rem; color: var(--lime); }
.title__drop a[href="#menu"] { color: var(--bone); }
.title__legal { font-family: var(--px); font-size: .5rem; color: var(--silver); opacity: .7; line-height: 1.6; }
@keyframes blink { 50% { opacity: .15; } }

@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  /* wide TV: the blurred room fills the frame, Pre stands on the right, the tile stays centred */
  .title__bg::before { content: ""; position: absolute; inset: -2rem; background: url("../img/still-door.webp") center 40% / cover; filter: blur(14px) brightness(.38); }
  .title__hero { left: auto; width: 56%; background-position: center 20%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
  .title__bg::after { background:
      repeating-linear-gradient(to bottom, rgba(0,0,0,.10) 0 1px, transparent 1px 3px),
      radial-gradient(ellipse 34% 52% at 50% 54%, rgba(6,10,26,.5), rgba(6,10,26,0) 100%),
      linear-gradient(180deg, rgba(6,10,26,.75) 0%, rgba(6,10,26,.25) 25%, rgba(6,10,26,.25) 70%, rgba(6,10,26,.9) 100%); }
  .title__inner { padding: 2.2rem 3rem 1.4rem; }
  .title__logo { width: 26rem; margin-top: .9rem; }
  .title__tile { --tile: min(21.5rem, 47vh); margin-top: 1.4rem; }
  .title__name { font-size: 1.25rem; }
  .title__price { font-size: 1.25rem; }
  .title__start { margin-top: 1.1rem; }
  .press-start { font-size: 1.375rem; }
}
@media (max-height: 640px) { .title__presents { display: none; } .title__logo { margin-top: 0; } }

/* ---------- MAIN MENU ---------- */
.menu__bg { position: absolute; inset: 0; background: url("../img/still-door.webp") center 38% / cover; filter: brightness(.42) saturate(.9); }
.menu__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,21,50,.2), rgba(10,21,50,.8)); }
.screen--menu.is-active { display: grid; grid-template-rows: auto 1fr auto; gap: .75rem; padding: .75rem .9rem 1rem; }
.menu__stage { position: relative; display: flex; flex-direction: column; align-items: center; perspective: 900px; }
.menu__new { font-family: var(--px); font-size: .5625rem; color: var(--ink); background: var(--yellow); padding: .3rem .5rem; letter-spacing: .1em; }
.turntable { width: min(58vw, 15rem); margin-top: .5rem; transform-style: preserve-3d; animation: sway 6s ease-in-out infinite; }
.turntable::after { content: ""; display: block; width: 70%; height: .9rem; margin: -.2rem auto 0; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.6), transparent 70%); }
.turntable img { filter: drop-shadow(0 0 1.5rem rgba(239,232,216,.18)); }
.menu__itemname { margin-top: .35rem; font-family: var(--px); font-size: .625rem; color: var(--bone); letter-spacing: .08em; }
@keyframes sway { 0%, 100% { transform: rotateY(-16deg); } 50% { transform: rotateY(16deg); } }

.menu__box { align-self: start; }
.menu { padding: .25rem .5rem .75rem; }
.menu a { position: relative; display: flex; align-items: center; min-height: 3rem; padding: 0 .75rem 0 2.1rem;
  font-family: var(--px); font-size: 1rem; letter-spacing: .06em; text-decoration: none; color: var(--bone); }
.menu a::before { content: "▶"; position: absolute; left: .55rem; font-size: .8em; color: var(--lime); opacity: 0; }
.menu a.is-cur { color: #fff; background: linear-gradient(90deg, rgba(180,255,57,.16), rgba(180,255,57,0) 80%); }
.menu a.is-cur::before { opacity: 1; animation: nudge .7s steps(2) infinite; }
.menu a:focus-visible { outline-offset: -3px; }
@keyframes nudge { 50% { transform: translateX(.2rem); } }
.menu__help { position: relative; }
.menu__help .dialog__text { min-height: 3.6em; }

@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .screen--menu.is-active { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 2.5rem 3rem 2rem; gap: 1.5rem 3rem; }
  .menu__box { grid-column: 1; grid-row: 1; align-self: center; }
  .menu__stage { grid-column: 2; grid-row: 1; align-self: center; }
  .turntable { width: 22rem; }
  .menu__help { grid-column: 1 / -1; }
  .menu a { font-size: 1.125rem; min-height: 3.4rem; }
}
@media (max-height: 700px) and (max-width: 899px) { .turntable { width: 40vw; } .menu a { min-height: 2.75rem; } }

/* ---------- SHOP ---------- */
.shop { display: grid; gap: .9rem; padding: .75rem .9rem 1.5rem; }
.shop__viewer { padding: .6rem; }
/* 4:3 viewer (3:4-ish on desktop via flex), photo shown whole (contain): the tee is never cropped. Portrait photos (DESK, ON PRE) letterbox. */
.viewer { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(#1c3148, #0f243b); border: 2px solid rgba(200,208,220,.4); }
.viewer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
/* zoom (Ed 2026-11-14): button bottom-right of the photo opens a full-screen view; tap the photo to zoom in/out, drag/scroll to pan */
.zoombtn { position: absolute; right: .45rem; bottom: .45rem; z-index: 2; min-height: 2.75rem; padding: 0 .7rem; font-family: var(--px);
  font-size: .5625rem; letter-spacing: .04em; color: var(--bone); background: rgba(11,11,12,.72); border: 2px solid rgba(200,208,220,.6);
  border-radius: 2px; cursor: zoom-in; }
.zoombtn:hover { border-color: var(--lime); color: var(--lime); }
.zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0b0c; color: var(--bone); }
.zoom::backdrop { background: rgba(0,0,0,.85); }
.zoom[open] { display: flex; flex-direction: column; }
.zoom__bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .5rem .6rem;
  border-bottom: 2px solid rgba(200,208,220,.4); font-family: var(--px); font-size: .5625rem; letter-spacing: .04em; }
.zoom__close { white-space: nowrap; min-height: 2.75rem; padding: 0 .8rem; font: inherit; color: var(--ink); background: var(--bone); border: 0; border-radius: 2px; cursor: pointer; }
.zoom__stage { flex: 1; min-height: 0; overflow: auto; display: grid; place-items: center; overscroll-behavior: contain; }
.zoom__stage img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.zoom__stage.is-in { place-items: start; }
.zoom__stage.is-in img { max-width: none; max-height: none; width: 260%; cursor: zoom-out; }
@media (min-width: 900px) { .zoom__stage.is-in img { width: 180%; } }
.viewer__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-top: .5rem; }
.tab { min-height: 2.75rem; font-family: var(--px); font-size: .5625rem; letter-spacing: .04em; background: var(--navy-lo);
  border: 2px solid rgba(200,208,220,.45); border-radius: 2px; cursor: pointer; }
.tab.is-on { border-color: var(--lime); color: var(--lime); }

.shop__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .2rem .75rem; }
.shop__head h2 { font-family: "Saira", var(--mono); font-weight: 900; font-size: 1.75rem; line-height: 1; letter-spacing: -.01em; }
.shop__type { grid-column: 1; font-family: var(--px); font-size: .5625rem; color: var(--yellow); letter-spacing: .08em; }
.shop__price { grid-column: 2; grid-row: 1 / 3; text-align: right; font-family: var(--px); font-size: 1.5rem; color: var(--lime); text-shadow: 0 .2rem 0 #000; }
.shop__price small { display: block; margin-top: .35rem; font-size: .5rem; line-height: 1.6; color: var(--silver); text-shadow: none; }

.shop__buy { display: grid; gap: .7rem; margin-top: .9rem; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; margin: 0; padding: 0; border: 0; }
.sizes legend { padding: 0; margin-bottom: .45rem; font-family: var(--px); font-size: .625rem; color: var(--yellow); letter-spacing: .08em; }
.sizes__hint { color: var(--silver); }
.sizes label { position: relative; cursor: pointer; }
.sizes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sizes label > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; min-height: 3.6rem;
  font-family: var(--px); font-size: .875rem; background: var(--navy); border: 2px solid rgba(200,208,220,.55); border-radius: 2px; }
.sizes small { font-size: .5rem; letter-spacing: -.06em; color: var(--silver); text-align: center; line-height: 1.3; }
.sizes input:checked + span { border: 3px solid var(--lime); color: var(--lime); background: #16305f; }
.sizes input:checked + span small { color: var(--bone); }
.sizes input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
#viewer-img.is-loading { opacity: .25; transition: opacity .15s; }
.shop__was { display: block; font-size: .75rem; color: var(--silver); text-shadow: none; margin-bottom: .2rem; }
.seed { margin: 0 0 .75rem; padding: .7rem .8rem; border: 2px solid var(--lime); background: rgba(180, 255, 57, .08); font-family: var(--px); }
.seed__h { font-size: .625rem; line-height: 1.6; color: var(--lime); letter-spacing: .04em; }
.seed__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem .8rem; margin-top: .45rem; font-size: .5rem; line-height: 1.7; color: var(--silver); }
.seed__row b { color: var(--yellow); font-weight: normal; }
.shop__total { margin-top: -.2rem; text-align: center; font-family: var(--px); font-size: .5rem; line-height: 1.7; color: var(--silver); }
.btn--alt { min-height: 3rem; font-size: .5625rem; color: var(--bone); background: transparent; border: 2px solid rgba(200,208,220,.6); box-shadow: none; }
.btn--alt:hover { border-color: var(--lime); color: var(--lime); }
.btn[disabled] { cursor: progress; filter: saturate(.6) brightness(.9); }
.shop__msg { margin-top: -.2rem; }

.stats table { width: calc(100% - 1.6rem); margin: 0 .8rem .9rem; border-collapse: collapse; font-family: var(--px); font-size: .625rem; }
.stats__vs { float: right; color: var(--silver); font-size: .5rem; }
.stats__cur { padding: 0 1rem .5rem; font-family: var(--px); font-size: .5rem; color: var(--silver); }
.stats th { text-align: left; font-weight: 400; padding: .55rem 0; line-height: 1.5; color: var(--bone); }
.stats td { text-align: right; padding: .55rem 0 .55rem .6rem; white-space: nowrap; color: var(--silver); width: 1%; }
.stats td:last-child { white-space: normal; min-width: 5.5em; }
.stats tr + tr { border-top: 1px dashed rgba(200,208,220,.25); }
.stats td.up { color: var(--lime); }
.stats td.up::after { content: " ▲"; }
.stats td.eq { color: #fff; }
.stats td.eq::after { content: " ="; color: var(--silver); }
.stats td:nth-child(2)::after { content: " →"; color: var(--silver); }

.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: 0 .8rem .9rem; }
.swatch { display: flex; align-items: center; gap: .6rem; min-height: 3.5rem; padding: .4rem .6rem; font-family: var(--px); font-size: .625rem;
  border: 2px solid rgba(200,208,220,.45); border-radius: 2px; }
.swatch.is-on { border-color: var(--lime); }
.swatch__chip { width: 1.6rem; height: 1.6rem; flex: none; border: 2px solid #000; box-shadow: 0 0 0 2px var(--silver); }
.swatch__chip--bone { background: var(--bone); }
.swatch.is-locked { color: var(--silver); }
.swatch.is-locked img { width: 2.6rem; flex: none; filter: grayscale(1) brightness(.6); }
.swatch small { display: block; margin-top: .35rem; font-size: .5rem; line-height: 1.5; color: var(--yellow); }
.box__title--sub { padding-top: .2rem; }
.specs { display: grid; gap: .4rem; padding: 0 1rem 1rem 2.1rem; list-style: square; font-size: .875rem; line-height: 1.45; }
.specs li::marker { color: var(--lime); }
.shop__side { display: grid; gap: .9rem; align-content: start; }
.shop__side > .shop__head, .shop__side > .shop__buy { order: -1; }

@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .screen--shop.is-active { display: flex; flex-direction: column; }
  .shop { flex: 1; min-height: 0; grid-template-columns: 1.05fr 1fr; gap: 1.25rem; padding: 1.25rem 1.75rem; }
  .shop__viewer { display: flex; flex-direction: column; }
  .viewer { flex: 1; height: auto; min-height: 0; aspect-ratio: auto; }
  .shop__side { overflow-y: auto; padding-right: .4rem; }
  .shop__head h2 { font-size: 2.25rem; }
}

/* ---------- LORE ---------- */
.lore { display: grid; gap: 1rem; padding: .75rem .9rem 1.5rem; }
.lore__player { justify-self: center; width: min(100%, 22rem); border: 3px solid var(--silver); background: #000; box-shadow: 0 .3rem 0 rgba(0,0,0,.5); }
.lore__player video { width: 100%; height: auto; aspect-ratio: 9 / 16; background: #000; }
.lore__side h2 { font-family: var(--px); font-size: .875rem; line-height: 1.6; color: var(--yellow); }
.lore__meta { margin-top: .4rem; font-family: var(--px); font-size: .5rem; color: var(--silver); }
.log { margin-top: .9rem; display: grid; gap: .55rem; font-size: .9375rem; line-height: 1.45; }
.log b { font-family: var(--px); font-weight: 400; font-size: .625rem; margin-right: .5rem; }
.log .y { color: var(--yellow); } .log .g { color: var(--lime); }
.log__act { color: var(--silver); font-size: .8125rem; }
.lore__cta { display: grid; gap: .6rem; margin-top: 1.2rem; }
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .screen--lore.is-active { display: flex; flex-direction: column; }
  .lore { flex: 1; min-height: 0; grid-template-columns: auto 1fr; gap: 2rem; padding: 1.25rem 2rem; }
  .lore__player { height: 100%; width: auto; aspect-ratio: 9 / 16; }
  .lore__player video { height: 100%; width: auto; }
  .lore__side { overflow-y: auto; align-self: center; max-height: 100%; }
  .lore__cta { grid-template-columns: auto auto; justify-content: start; }
}

/* ---------- WAITLIST / MEMORY CARD ---------- */
.save { display: grid; gap: .9rem; padding: .75rem .9rem 1.5rem; }
.save__item { display: flex; align-items: center; gap: .75rem; padding-bottom: .9rem; border-bottom: 1px dashed rgba(200,208,220,.3); }
.save__item img { width: 4.5rem; flex: none; }
.save__item b { display: block; font-family: "Saira", var(--mono); font-weight: 900; font-size: 1.15rem; line-height: 1.1; }
.save__item span { font-family: var(--px); font-size: .5625rem; line-height: 1.8; color: var(--yellow); }
.save__item a { display: inline-block; padding: 1rem .3rem; margin: -1rem -.3rem; color: var(--lime); }
.save__form { display: grid; gap: .9rem; padding: 1.1rem 1rem 1rem; }
.save__h { font-family: var(--px); font-weight: 400; font-size: 1rem; line-height: 1.5; color: var(--lime); text-shadow: 0 .15rem 0 #000; }
.save__lede { font-size: .9375rem; line-height: 1.5; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--px); font-size: .625rem; color: var(--yellow); letter-spacing: .08em; }
.field label small { color: var(--silver); font-size: .5rem; }
.field input, .field select { width: 100%; min-height: 3.25rem; padding: 0 .85rem; font-size: 1rem; color: #fff;
  background: var(--navy-lo); border: 2px solid var(--silver); border-radius: 2px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--lime) 50%), linear-gradient(-45deg, transparent 50%, var(--lime) 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - .8rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; font-family: var(--px); font-size: .6875rem; }
.field input::placeholder { color: #7f8aa6; }
.field input:focus, .field select:focus { border-color: var(--lime); outline: none; box-shadow: 0 0 0 3px rgba(180,255,57,.35); }
.field input[aria-invalid="true"] { border-color: #ff6b6b; }
.field__err { min-height: 0; font-family: var(--px); font-size: .5625rem; line-height: 1.6; color: #ff8f8f; }
.field__err:empty { display: none; }
.save__fine { font-size: .75rem; color: var(--silver); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.saving { padding: 1rem; border: 3px solid var(--silver); background: var(--navy-lo); }
.saving__msg { font-family: var(--px); font-size: .5625rem; line-height: 1.8; text-align: center; }
.bar { height: 1.1rem; margin-top: .75rem; border: 2px solid var(--silver); padding: 2px; }
.bar span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--lime) 0 .55rem, transparent .55rem .7rem); animation: fill 1.4s steps(12) forwards; }
@keyframes fill { to { width: 100%; } }
.save__done .dialog__text { text-transform: none; font-family: var(--mono); font-size: .9375rem; line-height: 1.5; }
.save__again { margin-top: .7rem; font-family: var(--px); font-size: .5625rem; }
.save__again a { display: inline-block; padding: .6rem 0; color: var(--lime); }
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .save { min-height: calc(100% - 3.6rem); align-content: center; justify-content: center; grid-template-columns: minmax(0, 32rem); gap: 1.25rem; padding: 2rem 2.5rem; }
}

/* ---------- TALK ---------- */
.talk__bg { position: absolute; inset: 0; background: url("../img/still-moms.webp") center 62% / cover; filter: brightness(.55); }
.screen--talk .screen__bar { background: rgba(10,21,50,.75); }
.talk { position: relative; display: flex; flex-direction: column; gap: .75rem; min-height: calc(100% - 3.8rem); padding: .75rem .9rem 1rem; }
.talk__box { margin-top: auto; }
.dialog--big .dialog__face { width: 5rem; height: 5rem; }
.talk__box .dialog__text { min-height: 5.4em; }
.choices { padding: .5rem; }
.choices button, .choices a { display: flex; align-items: center; width: 100%; min-height: 2.9rem; padding: 0 .6rem 0 2rem; position: relative;
  text-align: left; font-size: .9375rem; text-decoration: none; background: none; border: 0; cursor: pointer; }
.choices button::before, .choices a::before { content: "▶"; position: absolute; left: .55rem; font-family: var(--px); font-size: .625rem; color: var(--lime); opacity: 0; }
.choices button:hover::before, .choices button:focus-visible::before, .choices a:hover::before, .choices a:focus-visible::before { opacity: 1; }
.choices :is(button, a):focus-visible { outline-offset: -3px; }
.choices button[aria-pressed="true"] { color: var(--silver); }
.choices a { color: var(--lime); }
.js .faq { display: none; }
.faq { padding: 1rem; background: rgba(10,21,50,.9); }
.faq dt { margin-top: .8rem; color: var(--yellow); }
.faq dd { margin: .2rem 0 0; }
.faq dd::before { content: attr(data-who) ": "; font-family: var(--px); font-size: .625rem; color: var(--lime); }
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .talk { padding: 1.5rem 2.5rem 2rem; }
  .talk__choices { align-self: flex-end; width: 26rem; order: -1; margin-top: auto; }
  .talk__box { margin-top: 0; }
}

/* ---------- CREDITS ---------- */
.screen--credits { background: #000; }
.credits { padding: 1.5rem 1rem 3rem; text-align: center; }
.roll { display: grid; justify-items: center; gap: 1.6rem; max-width: 30rem; margin: 0 auto; }
.logo--small { width: min(80vw, 20rem); }
.cast { display: grid; gap: .9rem; width: 100%; }
.cast div { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: baseline; }
.cast dt { text-align: right; font-family: var(--px); font-size: .6875rem; color: var(--yellow); }
.cast dd { margin: 0; text-align: left; font-size: .9375rem; }
.rating { display: flex; align-items: stretch; border: 3px solid #fff; background: #fff; color: #000; text-align: left; }
.rating__mark { display: grid; place-items: center; width: 4rem; font-family: "Saira", var(--mono); font-weight: 900; font-size: 2rem; background: #000; color: #fff; }
.rating__txt { padding: .4rem .7rem; font-size: .75rem; line-height: 1.35; }
.rating__txt b { display: block; font-family: var(--px); font-weight: 400; font-size: .5625rem; margin-bottom: .3rem; }
.credits__small { font-size: .8125rem; color: var(--silver); }
.credits__end { font-family: var(--px); font-size: .875rem; color: var(--lime); margin-top: 1rem; }
.js .screen--credits.is-active .roll.rolling { animation: roll 22s linear 1 both; }
@keyframes roll { from { transform: translateY(40vh); } to { transform: translateY(0); } }

/* ---------- LOADING ---------- */
.loading { position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.5rem;
  padding: 2rem 1.25rem max(2rem, env(safe-area-inset-bottom)); background: #000; cursor: pointer; }
.loading[hidden] { display: none; }
.loading__tip { max-width: 30rem; font-family: var(--px); font-size: .75rem; line-height: 1.9; color: var(--bone); }
.loading__now { align-self: flex-end; font-family: var(--px); font-size: .75rem; color: var(--yellow); }
.dots::after { content: ""; animation: dots 1s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* ---------- pad hints (keyboard users on desktop) ---------- */
.pad { position: absolute; z-index: 21; right: 1rem; bottom: .6rem; font-family: var(--px); font-size: .5rem; color: var(--silver); opacity: .75; pointer-events: none; }
.pad kbd { font-family: inherit; padding: .15rem .3rem; margin: 0 .25rem 0 .7rem; border: 1px solid var(--silver); border-radius: 2px; }
@media (hover: none), (max-width: 899px) { .pad { display: none; } }
.js body.on-title .pad { display: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .turntable { transform: rotateY(-10deg); }
}
.no-js .hud__sound { display: none; }

/* legal footer line (Komitas LLC, Privacy, Terms) */
.legal-foot { font-size: .8125rem; color: var(--silver); text-align: center; padding: 1.25rem 1rem 1.5rem; }
.legal-foot a { color: var(--silver); display: inline-block; padding: .75rem .35rem; min-height: 2.75rem; }
.legal-foot a:hover { color: var(--lime); }
.legal-foot--title { position: relative; z-index: 2; padding: 0; margin-top: .25rem; font-size: .75rem; }
.legal-foot--title a { padding: .85rem .3rem; }
.legal .foot a { color: var(--silver); }

/* product switch: PRE-REVENUE tee / Thanksgiving tee */
.prodsw { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-bottom: .4rem; }
.prodsw__b { min-height: 2.75rem; font-family: var(--px); font-size: .5625rem; letter-spacing: .04em; background: var(--navy-lo);
  color: var(--silver); border: 2px solid var(--silver); border-radius: 3px; cursor: pointer; }
.prodsw__b.is-on { border-color: var(--lime); color: var(--lime); }
.viewer__tabs[hidden], .tab[hidden] { display: none; }
.viewer__tabs.is-one { grid-template-columns: 1fr; }
.screen--shop .prodsw { grid-column: auto; margin: 0; flex: 1 1 auto; max-width: 21rem; margin-left: auto; gap: .3rem; }
.screen--shop .prodsw__b { min-height: 2.75rem; font-size: .5rem; padding: 0 .3rem; }
