/* =====================================================================
   SHUSHWAVE — site theme
   Palette pulled from the Miyaki photo set: night-flash blacks and
   concrete greys, with the red / blue / white of the CBR bike and the
   warm peach of skin under flash as accents.
   Type: Barlow Condensed (closest free match to DIN Next Condensed),
   Silkscreen for small pixel "HUD" labels.
   ===================================================================== */

:root {
  --ink: #0b0908;
  --ink-2: #141110;
  --panel: #1c1918;
  --line: #302c2c;
  --line-2: #4a4545;
  --bone: #ece8e4;
  --dim: #948d88;
  --blue: #1c6dc7;
  --blue-hi: #3a8ceb;
  --red: #c8150e;
  --peach: #db8262;

  --font: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --pixel: 'Silkscreen', 'Courier New', monospace;

  --header-h: 56px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.4;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 2px; }

.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;
}


/* the artist's name keeps dotted lowercase i's even inside uppercase text: MiYAKi */
.i-dot { text-transform: none; }

/* ---------- type helpers ---------- */
.hud {
  font-family: var(--pixel);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--dim);
}
.hud--blue { color: var(--blue-hi); }
.hud--red { color: var(--red); }
.hud--peach { color: var(--peach); }
.upper { text-transform: uppercase; }

.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- buttons ---------- */
.btn {
  --shadow: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 11px;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--shadow);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow); background: var(--blue-hi); border-color: var(--blue-hi); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--shadow); }
.btn--ghost { background: transparent; border-color: var(--bone); color: var(--bone); --shadow: var(--blue); }
.btn--ghost:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn--sm { font-size: 16px; padding: 9px 14px 8px; box-shadow: 3px 3px 0 var(--shadow); }
.btn[disabled], .btn.is-disabled { background: var(--panel); border-color: var(--line-2); color: var(--dim); box-shadow: none; pointer-events: none; }
.btn .arrow { font-family: var(--pixel); font-size: .7em; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: stretch;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.logo:hover { background: var(--blue-hi); }
.nav { display: flex; flex: 1; }
.nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-right: 1px solid var(--line);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color .2s, color .2s;
}
.nav a:first-child { border-left: 1px solid var(--line); }
.nav a:hover { background: var(--panel); }
.nav a::before {
  content: '▶';
  position: absolute;
  left: 4px;
  font-size: 9px;
  color: var(--blue-hi);
  opacity: 0;
}
.nav a:hover::before { opacity: 1; animation: blink .7s steps(1) infinite; }
.nav a.is-active { background: var(--bone); color: var(--ink); }

.header-tools { display: flex; margin-left: auto; }
.header-tools > a, .header-tools > button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-left: 1px solid var(--line);
  background: none;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s;
}
.header-tools > a:hover, .header-tools > button:hover { background: var(--panel); }
.header-tools svg { width: 20px; height: 20px; }
.bag-count {
  min-width: 22px;
  padding: 3px 4px 2px;
  background: var(--red);
  color: #fff;
  font-family: var(--pixel);
  font-size: 11px;
  text-align: center;
}
.menu-btn { display: none !important; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: flex !important; }
  .logo { font-size: 22px; padding: 0 14px; }
  .header-tools > a, .header-tools > button { padding: 0 14px; font-size: 18px; }
  .header-tools .label-wide { display: none; }
}

/* ---------- pause menu (mobile nav) ---------- */
.pause {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  flex-direction: column;
  padding: 20px var(--gutter) 32px;
  background: rgba(11, 9, 8, .97);
}
.pause.open { display: flex; }
.pause-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8vh; }
.pause-title { font-family: var(--pixel); font-size: 14px; color: var(--blue-hi); }
.pause-close { background: none; border: 0; font-size: 22px; font-weight: 700; text-transform: uppercase; cursor: pointer; padding: 8px 0; }
.pause-list { display: flex; flex-direction: column; gap: 4px; }
.pause-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(44px, 13vw, 72px);
  font-weight: 800;
  line-height: .95;
  text-transform: uppercase;
  color: var(--dim);
  transition: color .15s;
}
.pause-list a .cursor { width: .5em; font-size: .35em; color: var(--blue-hi); visibility: hidden; }
.pause-list a:hover, .pause-list a:focus-visible, .pause-list a.is-sel { color: var(--bone); outline: none; }
.pause-list a:hover .cursor, .pause-list a:focus-visible .cursor, .pause-list a.is-sel .cursor { visibility: visible; animation: blink .7s steps(1) infinite; }
.pause-foot { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; }

/* ---------- boot screen (first visit per session) ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--ink);
  cursor: pointer;
}
.boot.on { display: flex; }
.boot.off { opacity: 0; transition: opacity .35s; }
.boot-word { font-size: clamp(48px, 12vw, 120px); font-weight: 800; text-transform: uppercase; line-height: .9; }
.boot-bar { width: min(320px, 70vw); height: 14px; border: 2px solid var(--bone); padding: 2px; }
.boot-bar i { display: block; height: 100%; width: 0; background: var(--blue); animation: boot 1s steps(12) forwards; }
@keyframes boot { to { width: 100%; } }

/* ---------- page shell ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
main { min-height: 60vh; }

.page-head {
  padding: clamp(36px, 7vw, 80px) var(--gutter) 22px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px 24px;
}
.page-head .hud { grid-column: 1 / -1; }
.page-title {
  margin: 0;
  font-size: clamp(64px, 13vw, 168px);
  font-weight: 800;
  line-height: .82;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
@media (max-width: 600px) { .page-head { grid-template-columns: 1fr; } }
.page-lede { grid-column: 1 / -1; margin: 6px 0 0; max-width: 56ch; color: var(--dim); font-size: 20px; }

.section { padding: clamp(48px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.section-title {
  margin: 6px 0 0;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  line-height: .85;
  text-transform: uppercase;
}
.more-link { font-size: 20px; font-weight: 700; text-transform: uppercase; white-space: nowrap; border-bottom: 2px solid var(--blue); padding-bottom: 2px; }
.more-link:hover { color: var(--blue-hi); }

/* sticky tab bar (event locations, merch categories, gallery types) */
.tabbar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.tabbar::-webkit-scrollbar { display: none; }
.tabbar .tab-label {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: var(--line);
  font-family: var(--pixel);
  font-size: 11px;
  color: var(--dim);
}
.tabbar button {
  flex: none;
  padding: 12px 18px 11px;
  border: 0;
  border-right: 1px solid var(--line);
  background: none;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dim);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.tabbar button:hover { color: var(--bone); background: var(--line); }
.tabbar button.active { background: var(--bone); color: var(--ink); }

.empty {
  margin: 40px var(--gutter);
  padding: 48px 24px;
  border: 2px dashed var(--line-2);
  text-align: center;
}
.empty .hud { font-size: 14px; color: var(--blue-hi); }
.empty p { margin: 12px auto 22px; max-width: 44ch; color: var(--dim); }

.tag {
  display: inline-block;
  padding: 3px 7px 2px;
  font-family: var(--pixel);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  background: var(--line);
  color: var(--bone);
}
.tag--blue { background: var(--blue); color: #fff; }
.tag--red { background: var(--red); color: #fff; }
.tag--peach { background: var(--peach); color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: calc(100svh - var(--header-h));
  min-height: 520px;
  overflow: hidden;
  background: var(--ink-2);
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* portrait photo: keep the face in frame when cropped to a wide screen */
.hero-media--portrait { object-position: 50% 28%; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(11, 9, 8, .7) 0%, rgba(11, 9, 8, 0) 22%, rgba(11, 9, 8, .25) 55%, rgba(11, 9, 8, .95) 100%);
  pointer-events: none;
}
.hero-frame {
  position: absolute;
  inset: 18px;
  z-index: 2;
  pointer-events: none;
}
.hero-frame i { position: absolute; width: 26px; height: 26px; border: 3px solid var(--bone); }
.hero-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hero-hud-top {
  position: absolute;
  top: 34px;
  left: 44px;
  right: 44px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-hud-top .hud { color: var(--bone); }
.hud-pad { display: inline-flex; align-items: center; gap: 6px; }
.pad { width: 30px; height: 19px; margin-left: 4px; }
.pad-body { fill: #fff; }
.pad-ctl { fill: var(--ink); }
.hero-content {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(40px, 8vh, 80px);
  z-index: 3;
}
.hero-title {
  margin: 0;
  color: var(--blue-hi);
  font-size: clamp(76px, 17vw, 240px);
  font-weight: 800;
  line-height: .78;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
/* brand logo buttons (footer); --brand is set per link */
.logo-link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--bone);
  background: rgba(11, 9, 8, .6);
  color: var(--brand);
  transition: background-color .2s, border-color .2s, color .2s, transform .12s var(--ease);
}
.logo-link svg { width: 22px; height: 22px; }
.logo-link:hover, .logo-link:focus-visible { border-color: var(--brand); transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--brand); }
.footer-social .logo-link { width: 40px; height: 40px; border-color: var(--line-2); background: none; }
.footer-social .logo-link svg { width: 19px; height: 19px; }

/* ---------- level-select menu tiles ---------- */
.levels { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.level {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--ink-2);
}
.level:last-child { border-right: 0; }
.level img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(.7);
  transition: transform .6s var(--ease), filter .4s;
}
.level::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 9, 8, .9)); }
.level-body { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; }
.level-name { display: flex; align-items: center; gap: 10px; font-size: clamp(36px, 4.4vw, 60px); font-weight: 800; line-height: .9; text-transform: uppercase; }
.level-name .cursor { font-size: .4em; color: var(--blue-hi); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.level:hover img, .level:focus-visible img { transform: scale(1.06); filter: grayscale(0) contrast(1.05) brightness(.85); }
.level:hover .cursor, .level:focus-visible .cursor { opacity: 1; transform: none; }
.level:hover { outline: 3px solid var(--blue); outline-offset: -3px; }
@media (max-width: 900px) {
  .levels { grid-template-columns: 1fr 1fr; }
  .level:nth-child(2) { border-right: 0; }
  .level:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- events as missions ---------- */
.missions { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mission {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  background: var(--ink);
}
.mission[hidden] { display: none; }
.messages { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.mission-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.mission-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); transition: transform .6s var(--ease), filter .4s; }
.mission:hover .mission-media img { transform: scale(1.04); filter: none; }
.mission.is-full .mission-media img, .mission.is-locked .mission-media img { filter: grayscale(1) brightness(.6); }
.mission-body { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 34px) var(--gutter); }
.mission-flag { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-hi); }
.mission.is-full .mission-flag { color: var(--red); }
.mission.is-locked .mission-flag { color: var(--dim); }
.status-dot { width: 8px; height: 8px; background: currentColor; }
.mission-title { margin: 0; font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: .88; text-transform: uppercase; }
.mission-title a:hover { color: var(--blue-hi); }

/* key/value readout used on mission cards and the briefing */
/* cells grow to fill each row, so there are never empty gaps */
.readout { display: flex; flex-wrap: wrap; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.readout > div { flex: 1 1 140px; padding: 10px 12px; background: var(--ink-2); }
.readout dt { font-family: var(--pixel); font-size: 10px; color: var(--dim); text-transform: uppercase; }
.readout dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; line-height: 1.05; text-transform: uppercase; }
.readout .is-unlocked { color: var(--blue-hi); }
.readout .is-full { color: var(--red); }
.readout .is-locked { color: var(--dim); }
.readout .is-low { color: var(--peach); }

/* capacity bar — segmented like an XP bar, filled from real ticket sales */
.capacity { display: flex; flex-direction: column; gap: 8px; }
.capacity-bar { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; padding: 3px; border: 2px solid var(--line-2); }
.capacity-bar i { height: 14px; background: var(--line); }
.capacity-bar i.on { background: var(--blue); }
.is-full .capacity-bar i.on { background: var(--red); }
.capacity-label { display: flex; justify-content: space-between; gap: 12px; }
.capacity-label b { color: var(--bone); font-weight: 400; }
.is-full .capacity-label b { color: var(--red); }
.mission-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 760px) {
  .mission { grid-template-columns: 1fr; }
}

/* ---------- mission briefing (single event) ---------- */
.back-link { display: inline-block; padding: 18px var(--gutter) 0; font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--dim); }
.back-link:hover { color: var(--bone); }
.briefing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); padding: 18px var(--gutter) clamp(48px, 7vw, 88px); }
.briefing-media { position: relative; align-self: start; }
.briefing-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink-2); }
.briefing-body { display: flex; flex-direction: column; gap: 20px; }
.briefing-desc { margin: 0; color: var(--dim); font-size: 21px; max-width: 58ch; white-space: pre-line; }
@media (max-width: 860px) { .briefing { grid-template-columns: 1fr; } .briefing-media img { aspect-ratio: 4 / 3; } }

/* corner brackets — a small HUD frame for media */
.brackets { position: relative; }
.brackets::before, .brackets::after {
  content: '';
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 3px solid var(--bone);
  pointer-events: none;
}
.brackets::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.brackets::after { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }

/* ticket tier picker */
.tiers { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; }
.tiers legend { margin-bottom: 8px; }
.tier, .form .tier {
  display: grid;
  flex-direction: row;
  text-align: left;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--line-2);
  background: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.tier:hover { border-color: var(--bone); }
/* visually hidden radios (the card is the control); beats the generic .form input sizing */
.tier input, .form .tier input, .size input, .form .size input { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.tier-check { width: 18px; height: 18px; border: 2px solid var(--line-2); }
.tier:has(input:checked) { border-color: var(--blue-hi); background: rgba(28, 109, 199, .12); }
.tier:has(input:checked) .tier-check { border-color: var(--blue-hi); background: var(--blue-hi); box-shadow: inset 0 0 0 3px var(--ink-2); }
.tier:has(input:focus-visible) { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.tier-name { font-size: 24px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.tier-desc { margin-top: 4px; color: var(--dim); font-size: 17px; }
.tier-left { margin-top: 6px; }
.tier-price { font-size: 26px; font-weight: 800; color: var(--peach); white-space: nowrap; }
.tier.is-disabled { opacity: .5; cursor: not-allowed; }
.tier.is-disabled .tier-price { text-decoration: line-through; color: var(--dim); }

.notice { padding: 14px 16px; border: 2px solid var(--line-2); background: var(--ink-2); }
.notice.is-error { border-color: var(--red); }
.notice.is-ok { border-color: var(--blue-hi); }

/* ---------- product page ---------- */
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumb { flex: none; width: 72px; height: 72px; padding: 0; border: 2px solid var(--line-2); background: var(--ink-2); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.thumb.is-active, .thumb:hover { border-color: var(--blue-hi); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size, .form .size { display: block; cursor: pointer; }
.size span { display: grid; place-items: center; min-width: 56px; height: 48px; padding: 0 12px; border: 2px solid var(--line-2); background: var(--ink-2); font-size: 20px; font-weight: 700; text-transform: uppercase; }
.size:hover span { border-color: var(--bone); }
.size input:checked + span { border-color: var(--blue-hi); background: var(--blue); color: #fff; }
.size input:focus-visible + span { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.size.is-disabled span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.qty { display: flex; align-items: center; gap: 14px; }
.qty-ctrl { display: inline-flex; border: 2px solid var(--line-2); }
.qty-ctrl button { width: 44px; height: 44px; border: 0; background: var(--ink-2); font-size: 22px; font-weight: 700; cursor: pointer; }
.qty-ctrl button:hover { background: var(--line); }
.qty-ctrl output { display: grid; place-items: center; min-width: 48px; font-size: 22px; font-weight: 700; border-left: 2px solid var(--line-2); border-right: 2px solid var(--line-2); }
.guide { border-top: 1px solid var(--line); padding-top: 12px; }
.guide summary { cursor: pointer; color: var(--dim); }
.guide p { margin: 10px 0 0; font-size: 18px; }

/* ---------- forms + checkout panels ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); padding: 28px var(--gutter) clamp(48px, 7vw, 88px); }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } }
.panel { border: 2px solid var(--line-2); background: var(--ink-2); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 2px solid var(--line-2); }
.panel-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.panel-body img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.line-row { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 20px; }
.line-row.total { font-size: 26px; font-weight: 800; text-transform: uppercase; }
.line-row.total span:last-child { color: var(--peach); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: flex; flex-direction: column; gap: 6px; }
.form .hud { color: var(--dim); }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--line-2);
  background: var(--ink);
  font-size: 20px;
  outline: 0;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--blue-hi); }
.form .help { color: var(--dim); font-size: 16px; }
.form .btn { justify-content: center; }

/* ---------- access granted / ticket pass ---------- */
.granted { display: grid; place-items: center; padding: clamp(40px, 8vw, 96px) var(--gutter); text-align: center; }
.granted-title { margin: 8px 0 10px; font-size: clamp(56px, 11vw, 140px); font-weight: 800; line-height: .82; text-transform: uppercase; color: var(--blue-hi); }
.granted-title.is-error { color: var(--red); }
.granted p { margin: 0 auto 22px; max-width: 48ch; color: var(--dim); font-size: 21px; }
.pass { width: min(460px, 100%); margin: 8px auto 26px; border: 2px solid var(--bone); background: var(--ink-2); text-align: left; box-shadow: 8px 8px 0 var(--blue); }
.pass-head { display: flex; justify-content: space-between; padding: 10px 14px; background: var(--bone); color: var(--ink); }
.pass-head .hud { color: var(--ink); }
.pass-body { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px; align-items: center; }
.pass-body img { width: 120px; height: 120px; background: #fff; padding: 6px; image-rendering: pixelated; }
.pass-event { font-size: 30px; font-weight: 800; line-height: .95; text-transform: uppercase; }
.pass-meta { margin-top: 8px; color: var(--dim); font-size: 18px; }
@media (max-width: 420px) { .pass-body { grid-template-columns: 1fr; } }

/* ---------- merch (item shop) ---------- */
.shop-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 14px;
  height: 46px;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
}
.field:focus-within { border-color: var(--blue-hi); }
.field input, .field select { width: 100%; min-width: 0; background: none; border: 0; outline: 0; font-size: 19px; }
.field select option { background: var(--ink); }
.field svg { flex: none; width: 18px; height: 18px; color: var(--dim); }
.shop-search { flex: 1 1 260px; max-width: 420px; }

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  transition: background-color .2s;
}
.slot-thumb { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--ink-2); }
.slot-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.slot-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 18px; }
.slot-body .btn { margin-top: auto; justify-content: center; }
.slot-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.slot-name { margin: 0; font-size: 26px; font-weight: 800; line-height: 1; text-transform: uppercase; }
.slot-name a:hover { color: var(--blue-hi); }
.slot-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.slot-stats > div { padding: 8px 10px; background: var(--ink-2); }
.slot-stats dt { font-family: var(--pixel); font-size: 10px; color: var(--dim); text-transform: uppercase; }
.slot-stats dd { margin: 3px 0 0; font-size: 20px; font-weight: 700; text-transform: uppercase; }
.slot-stats .is-unlocked { color: var(--blue-hi); }
.slot-stats .is-low { color: var(--peach); }
.slot-stats .is-full { color: var(--red); }
.slot-price { color: var(--peach); }
.slot-was { margin-left: 6px; color: var(--dim); font-size: 16px; }
.rarity--standard { background: var(--line); }
.rarity--limited { background: var(--blue); color: #fff; }
.rarity--rare { background: var(--red); color: #fff; }
.slot.is-rare { box-shadow: inset 0 0 0 2px rgba(200, 21, 14, .5); }
.slot:hover { background: var(--ink-2); }
.slot:hover .slot-thumb img { transform: scale(1.05); }
.slot:hover::after { content: ''; position: absolute; inset: 0; border: 3px solid var(--blue); pointer-events: none; }
.slot.sold-out .slot-thumb img { filter: grayscale(1) brightness(.6); }
.stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(-8deg);
  padding: 6px 14px 4px;
  border: 3px solid var(--red);
  color: var(--red);
  background: rgba(11, 9, 8, .8);
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}
.slot.is-hidden { display: none; }

/* ---------- music (soundtrack) ---------- */
.discs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 36px);
  padding: 36px var(--gutter) 64px;
}
.disc-cover { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.disc-cover img { width: 100%; height: 100%; object-fit: cover; }
.disc-cover .placeholder { display: grid; place-items: center; height: 100%; font-size: 64px; font-weight: 800; color: var(--line-2); }
.disc-cover .tag { position: absolute; top: 12px; left: 12px; }
.disc-title { margin: 14px 0 2px; font-size: 30px; font-weight: 800; line-height: 1; text-transform: uppercase; }
.disc-date { color: var(--dim); font-size: 18px; }
.disc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.disc-links a { padding: 6px 10px 5px; border: 1px solid var(--line-2); font-size: 16px; font-weight: 700; text-transform: uppercase; transition: border-color .2s, background-color .2s; }
.disc-links a:hover { border-color: var(--blue-hi); background: var(--blue); color: #fff; }

.spotlight { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 760px) { .spotlight { grid-template-columns: 1fr; } }

/* ---------- music: loading screen + new unlock ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--ink);
  cursor: pointer;
}
.loader.on { display: flex; }
.loader.off { opacity: 0; transition: opacity .35s; }
.loader-pct { font-size: clamp(72px, 16vw, 160px); font-weight: 800; line-height: .85; font-variant-numeric: tabular-nums; }
.loader .boot-bar i { animation: none; width: 0; }

.unlock { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(32px, 5vw, 64px) var(--gutter); border-bottom: 1px solid var(--line); }
.unlock-cover { position: relative; aspect-ratio: 1; background: var(--panel); }
.unlock-cover img { width: 100%; height: 100%; object-fit: cover; }
.unlock-cover .placeholder { display: grid; place-items: center; height: 100%; font-size: 80px; color: var(--line-2); }
.unlock-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--red);
  transition: transform .12s var(--ease), background-color .2s;
}
.unlock-play:hover { transform: translate(-50%, -50%) translate(-2px, -2px); background: var(--blue-hi); }
.unlock.is-playing .unlock-play { opacity: 0; pointer-events: none; }
.unlock-body { display: flex; flex-direction: column; gap: 16px; }
.unlock-flag { display: inline-flex; align-items: center; gap: 10px; }
.unlock-title { margin: 0; font-size: clamp(72px, 13vw, 180px); font-weight: 800; line-height: .8; text-transform: uppercase; }
.unlock-credit { margin: 0; font-size: 24px; font-weight: 600; color: var(--bone); }
.logo-row { display: flex; flex-wrap: wrap; gap: 8px; }
.player { border: 2px solid var(--line-2); background: #121212; }
.player iframe { display: block; border: 0; }
@media (max-width: 760px) { .unlock { grid-template-columns: 1fr; } }

/* small equaliser — speeds up while the player is open */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; height: 100%; background: currentColor; transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; }
.eq i:nth-child(3) { animation-delay: -.6s; }
.eq i:nth-child(4) { animation-delay: -.15s; }
.eq i:nth-child(5) { animation-delay: -.45s; }
.is-playing .eq i { animation-duration: .55s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* ---------- gallery (memory card) ---------- */
.memory { columns: 4 260px; column-gap: 8px; padding: 8px var(--gutter) 64px; }
.memory[hidden] { display: none; }
.mem {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: var(--ink-2);
  break-inside: avoid;
  cursor: zoom-in;
  overflow: hidden;
}
.mem img { width: 100%; height: auto; transition: transform .5s var(--ease), filter .3s; }
.mem:hover img { transform: scale(1.03); }
.mem:hover::after { content: ''; position: absolute; inset: 0; border: 3px solid var(--blue); }
.mem .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--blue);
  color: #fff;
  font-family: var(--pixel);
  font-size: 20px;
  box-shadow: 4px 4px 0 var(--red);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  grid-template-rows: auto 1fr auto;
  background: rgba(11, 9, 8, .97);
}
.lightbox.open { display: grid; }
.lb-top, .lb-bottom { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-btn {
  background: none;
  border: 2px solid var(--line-2);
  padding: 8px 14px 7px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.lb-btn:hover { border-color: var(--blue-hi); background: var(--blue); color: #fff; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--pixel); font-size: 16px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 600px) { .lb-stage { padding: 0 8px; } .lb-nav { top: auto; bottom: -58px; transform: none; } }

/* ---------- about (lore + player profile) ---------- */
.lore { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(40px, 6vw, 80px) var(--gutter); border-bottom: 1px solid var(--line); }
.lore h2 { margin: 6px 0 16px; font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: .85; text-transform: uppercase; }
.lore p { margin: 0 0 14px; font-size: 21px; max-width: 52ch; }
.lore p.dim { color: var(--dim); }
@media (max-width: 820px) { .lore { grid-template-columns: 1fr; } }

.profile { border: 2px solid var(--bone); background: var(--ink-2); box-shadow: 8px 8px 0 var(--blue); }
.profile-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--bone); color: var(--ink); }
.profile-head .hud { color: var(--ink); }
.profile-body { display: grid; grid-template-columns: 44% 1fr; }
.profile-body img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; border-right: 2px solid var(--bone); }
.profile-stats { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.profile-name { font-size: 46px; font-weight: 800; line-height: .9; text-transform: uppercase; }
.stat { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 10px; }
.stat .bar { display: flex; gap: 3px; }
.stat .bar i { flex: 1; height: 12px; background: var(--line); }
.stat .bar i.on { background: var(--blue); }
.stat .bar i.on.hot { background: var(--red); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 19px; }
.facts dt { font-family: var(--pixel); font-size: 11px; color: var(--dim); align-self: center; }
.facts dd { margin: 0; font-weight: 700; text-transform: uppercase; }
@media (max-width: 480px) { .profile-body { grid-template-columns: 1fr; } .profile-body img { border-right: 0; border-bottom: 2px solid var(--bone); aspect-ratio: 4 / 3; } }

/* ---------- photo strip ---------- */
.strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 0 var(--gutter) 6px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.strip a { flex: none; width: clamp(200px, 24vw, 320px); aspect-ratio: 4 / 5; overflow: hidden; scroll-snap-align: start; background: var(--ink-2); }
.strip img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); transition: filter .3s, transform .5s var(--ease); }
.strip a:hover img { filter: none; transform: scale(1.04); }

/* ---------- join (save your progress) ---------- */
.join { position: relative; padding: clamp(56px, 9vw, 120px) var(--gutter); overflow: hidden; border-bottom: 1px solid var(--line); }
.join-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.35); }
.join-inner { position: relative; z-index: 2; max-width: 760px; }
.join h2 { margin: 8px 0 12px; font-size: clamp(52px, 9vw, 120px); font-weight: 800; line-height: .8; text-transform: uppercase; }
.join p { margin: 0 0 24px; color: var(--bone); font-size: 21px; max-width: 46ch; }
.join-form { display: flex; gap: 0; max-width: 620px; border: 2px solid var(--bone); background: rgba(11, 9, 8, .75); }
.join-form input { flex: 1; min-width: 0; padding: 0 16px; height: 58px; border: 0; background: none; outline: 0; font-size: 21px; text-transform: uppercase; }
.join-form input::placeholder { color: var(--dim); }
.join-form button { flex: none; padding: 0 22px; border: 0; background: var(--bone); color: var(--ink); font-size: 22px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s; }
.join-form button:hover { background: var(--blue); color: #fff; }
.join-msg { min-height: 1.4em; margin-top: 12px; }

/* ---------- footer ---------- */
.site-footer { padding: 28px var(--gutter) 34px; display: grid; grid-template-columns: 1fr auto; gap: 22px 32px; align-items: center; }
.footer-brand { font-size: 44px; font-weight: 800; line-height: .9; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 20px; font-weight: 600; text-transform: uppercase; }
.footer-links a:hover { color: var(--blue-hi); }
.footer-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.region { height: 40px; }
.region select { font-size: 17px; }
@media (max-width: 700px) { .site-footer { grid-template-columns: 1fr; } }

/* ---------- bag drawer ---------- */
.bag-overlay { position: fixed; inset: 0; z-index: 85; display: none; background: rgba(0, 0, 0, .6); }
.bag-overlay.open { display: block; }
#cart.bag {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 86;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--ink);
  border-left: 2px solid var(--bone);
  transform: translateX(100%);
  transition: transform .3s var(--ease);
}
#cart.bag.open { transform: none; }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 0 0 0 18px; height: var(--header-h); border-bottom: 1px solid var(--line); }
.bag-head b { font-size: 26px; font-weight: 800; text-transform: uppercase; }
.bag-head button { height: 100%; padding: 0 18px; border: 0; border-left: 1px solid var(--line); background: none; font-size: 20px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.bag-head button:hover { background: var(--panel); }
#cartBox { flex: 1; overflow-y: auto; }
.bag-item { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.bag-item img { width: 84px; height: 84px; object-fit: cover; background: var(--panel); }
.bag-item .n { font-size: 21px; font-weight: 700; line-height: 1.05; text-transform: uppercase; padding-right: 26px; }
.bag-item .m { color: var(--dim); font-size: 17px; }
.bag-item .p { color: var(--peach); font-weight: 700; font-size: 19px; }
.bag-item .x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-family: var(--pixel); font-size: 14px; color: var(--dim); cursor: pointer; }
.bag-item .x:hover { color: var(--red); }
.bag-total { display: flex; justify-content: space-between; padding: 18px; font-size: 24px; font-weight: 800; text-transform: uppercase; }
.bag-checkout { padding: 0 18px 24px; }
.bag-checkout .btn { width: 100%; justify-content: center; }
.bag-empty { padding: 56px 18px; text-align: center; }
.bag-empty p { color: var(--dim); margin: 10px 0 20px; }

/* ---------- sign in + account pages ---------- */
.auth-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - var(--header-h)); border-bottom: 1px solid var(--line); }
.auth-brand { position: relative; overflow: hidden; background: var(--ink-2); }
.auth-brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.55); }
.auth-brand-copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 6vh, 64px); z-index: 2; }
.auth-brand-copy h1, .auth-brand-title { margin: 6px 0 10px; font-size: clamp(48px, 6vw, 88px); font-weight: 800; line-height: .85; text-transform: uppercase; }
.auth-brand-copy p { margin: 0; max-width: 40ch; font-size: 20px; color: var(--bone); }
.auth-card { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 460px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter); align-self: center; }
.auth-card--wide { max-width: 760px; align-self: start; }
.auth-page { padding: 28px var(--gutter) 64px; }
.auth-title { margin: 4px 0 6px; font-size: clamp(48px, 7vw, 80px); font-weight: 800; line-height: .85; text-transform: uppercase; }
.auth-card .sub, .auth-card p { color: var(--dim); font-size: 19px; margin: 0 0 6px; }
.auth-card form { display: flex; flex-direction: column; gap: 6px; }
.auth-card label { margin-top: 8px; font-family: var(--pixel); font-size: 11px; color: var(--dim); text-transform: uppercase; }
.auth-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .auth-card select, .auth-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--line-2);
  background: var(--ink-2);
  font-size: 20px;
  outline: 0;
}
.auth-card input:focus, .auth-card select:focus, .auth-card textarea:focus { border-color: var(--blue-hi); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 72px !important; }
.pw-toggle { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); padding: 4px 6px; border: 0; background: none; font-family: var(--pixel); font-size: 11px; color: var(--blue-hi); text-transform: uppercase; cursor: pointer; }
.auth-card .submit, .btn-ghost {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  padding: 13px 22px 12px;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--red);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .2s;
}
.auth-card .submit:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--red); background: var(--blue-hi); }
.btn-ghost { margin-top: 0; background: transparent; border-color: var(--bone); color: var(--bone); box-shadow: 4px 4px 0 var(--blue); }
.btn-ghost:hover { background: var(--bone); color: var(--ink); }
ul.errorlist { margin: 4px 0 0; padding: 0; list-style: none; color: var(--red); font-size: 16px; }
.helptext { display: block; margin-top: 4px; color: var(--dim); font-size: 15px; }
.helptext ul { margin: 4px 0 0 18px; padding: 0; }
.auth-card .msg { padding: 10px 12px; border: 2px solid var(--line-2); background: var(--ink-2); }
.auth-card .msg.error { border-color: var(--red); }
.auth-card .msg.success { border-color: var(--blue-hi); }
.auth-links { margin-top: 10px; }
.auth-links p { margin: 6px 0 0; font-size: 18px; }
.auth-links a, .auth-card p a { color: var(--blue-hi); font-weight: 700; }
.auth-links a:hover { color: var(--bone); }
@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; min-height: 0; }
  .auth-brand { min-height: 220px; }
  .auth-brand-copy p { display: none; }
}

/* ---------- HUD details (kept light) ---------- */
.sys-status { display: flex; align-items: center; gap: 8px; padding: 0 16px; color: var(--blue-hi); white-space: nowrap; }
.sys-status .status-dot { width: 7px; height: 7px; }
@media (max-width: 1180px) { .sys-status { display: none; } }
.clock { color: var(--bone); white-space: nowrap; }
.clock time { font-variant-numeric: tabular-nums; }

/* faint scanlines on the home tiles (the hero has its own) */
.level::after {
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, transparent 40%, rgba(11, 9, 8, .9));
}

/* quick glitch on hover for big titles and tile names */
.level:hover .level-name, .mission-title a:hover, .slot-name a:hover, .section-head .more-link:hover { animation: glitch .32s steps(2) 1; }
@keyframes glitch {
  0% { text-shadow: 2px 0 var(--red), -2px 0 var(--blue-hi); transform: translateX(1px); }
  50% { text-shadow: -2px 0 var(--red), 2px 0 var(--blue-hi); transform: translateX(-1px); }
  100% { text-shadow: none; transform: none; }
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 95;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border: 2px solid var(--blue-hi);
  background: var(--ink);
  color: var(--bone);
  box-shadow: 4px 4px 0 var(--blue);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
