/* CBH Vault — Christmas countdown
   Direction: the sentence is the layout. One face (Archivo), night ground, snow ink, Santa red. */

:root {
  --bg: #090c12;
  --surface: #131925;
  --surface-2: #1c2433;
  --surface-3: #263043;
  --ink: #f3f5f9;
  --muted: #a7b0c0;
  --accent: #d92b21;
  --accent-hover: #ef3a2f;
  --accent-ink: #ffffff;
  --field: #f3f5f9;
  --field-ink: #090c12;
  --field-muted: #4b5567;

  --online: #23a55a;
  --idle: #f0b232;
  --dnd: #f23f43;
  --offline: #80848e;

  --m: clamp(16px, 2.3vw, 32px);
  --g: clamp(12px, 1.7vw, 24px);
  --radius: 4px;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --step-stack: 11vw;
  --step-mega: 25.6vw;

  --face: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--accent) var(--bg);
  scrollbar-width: thin;
}
html.gated { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--face);
  font-stretch: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* the scrollbar: a thin Santa-red thumb on the night */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border: 2px solid var(--bg); border-radius: var(--radius); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }
::-webkit-scrollbar-corner { background: var(--bg); }

img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
p { max-width: 65ch; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.hero-h1, .line, .head, .mega, .clock, .wordmark, .gate-enter, .now-title, .c-name {
  font-family: var(--face);
  font-weight: 800;
  font-stretch: 62%;
  letter-spacing: -0.01em;
}
.hero-h1, .line, .head, .mega, .clock, .wordmark, .gate-enter, .now-title { text-transform: uppercase; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  border: 0; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 500; font-size: var(--step-small);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: var(--step-body); }
.btn.is-playing::before {
  content: ""; box-sizing: content-box; width: 3px; height: 12px;
  border-left: 3px solid currentColor; border-right: 3px solid currentColor;
}

/* ------------------------------------------------------------------ gate */
/* the CBH street sits behind the whole site once you are in */
.backdrop { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--bg); }
.backdrop img { width: 100%; height: 100%; object-fit: cover; filter: blur(5px) brightness(0.34) saturate(1.25); transform: scale(1.06); }

.gate {
  position: fixed; inset: 0; z-index: 100;
  display: none; grid-template-rows: 1fr auto;
  padding: var(--m);
  background: var(--bg);
  cursor: pointer; overflow: hidden;
  transition: opacity 0.7s var(--ease);
}
.gated .gate { display: grid; }
.gated .snow { z-index: 101; }
.gate.is-gone { opacity: 0; }
.gate-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) brightness(0.32) saturate(1.3); transform: scale(1.15); transition: opacity 1s var(--ease); }
.gate.is-cbh .gate-bg { opacity: 0; }

/* the icy C: freezes in, breathes, then melts into CBH and fills the screen */
.gate-pic {
  --pw: min(62vmin, 430px); --ph: min(62vmin, 430px);
  position: absolute; left: 50%; top: 46%; z-index: 1;
  width: var(--pw); height: var(--ph);
  translate: -50% -50%;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 80px rgba(120, 190, 255, 0.35); /* taste-skill-ignore: ice glow inside the entry dialog */
  transition: width 0.9s var(--ease-in-out), height 0.9s var(--ease-in-out), top 0.9s var(--ease-in-out), border-radius 0.9s var(--ease-in-out), box-shadow 0.9s;
  animation: freeze 1.8s var(--ease) both;
}
.gate-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.7s var(--ease), filter 1s var(--ease); }
.gate-pic .pic-c { animation: breathe 3.2s 1.8s ease-in-out infinite; }
.gate-pic .pic-cbh { opacity: 0; }
@keyframes freeze {
  from { clip-path: circle(0% at 50% 40%); filter: blur(18px) brightness(2.2) saturate(0.4); }
  60% { filter: blur(4px) brightness(1.4) saturate(0.9); }
  to { clip-path: circle(75% at 50% 40%); filter: none; }
}
@keyframes breathe { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.035); filter: brightness(1.18); } }
@keyframes melt { 0% { filter: brightness(1); } 35% { filter: brightness(2.4) blur(3px); } 100% { filter: brightness(1); } }
.gate.is-cbh .gate-pic { --pw: min(90vw, 820px); --ph: calc(min(90vw, 820px) * 300 / 532); animation: melt 1.1s var(--ease) both; }
.gate.is-cbh .gate-pic .pic-c { opacity: 0; animation: none; }
.gate.is-cbh .gate-pic .pic-cbh { opacity: 1; }
.gate.is-full .gate-pic { --pw: 100vw; --ph: 100vh; top: 50%; border-radius: 0; box-shadow: none; } /* taste-skill-ignore: dialog */
.gate.is-full .gate-pic .pic-cbh { filter: blur(5px) brightness(0.34) saturate(1.25); }
.gate.is-cbh .gate-row { opacity: 0; }
.gate-row { position: relative; z-index: 2; grid-row: 2; display: flex; align-items: end; justify-content: space-between; gap: 24px; transition: opacity 0.4s; }
.gate-meta { margin: 0; color: var(--muted); font-size: var(--step-small); }
.gate-visitor:not(:empty)::before { content: " · "; }
.gate-enter {
  border: 0; background: none; padding: 0; cursor: pointer;
  font-size: var(--step-head); line-height: 0.9; color: var(--ink);
  transition: color 0.2s var(--ease);
}
.gate-enter:hover { color: var(--accent); }
.gate-enter .coarse { display: none; }
@media (hover: none), (pointer: coarse) {
  .gate-enter .fine { display: none; }
  .gate-enter .coarse { display: inline; }
}

/* ------------------------------------------------------------------ snow, sleigh */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.sleigh {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  color: #ffffff; mix-blend-mode: difference;
  opacity: 0; transition: opacity 0.25s;
  will-change: transform;
}
.sleigh svg { transition: transform 0.3s var(--ease); }
.sleigh.is-left svg { transform: scaleX(-1); }
.sleigh .nose { fill: #ff3b30; }
@media (hover: hover) and (pointer: fine) {
  html.has-sleigh, html.has-sleigh * { cursor: none !important; }
  html.has-sleigh .sleigh { opacity: 1; }
}

/* ------------------------------------------------------------------ bar */
.bar {
  position: absolute; z-index: 20; left: 0; right: 0; top: 56px;
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--m);
  font-size: 15px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: var(--step-body); }
.brand img { width: 40px; height: 40px; border-radius: var(--radius); object-fit: cover; }
.bar-links { display: flex; gap: 24px; margin-left: auto; }
.bar-links a { text-decoration: none; padding: 10px 0; }
.bar-links a:hover { text-decoration: underline; }
.bar-music { display: flex; align-items: center; gap: 16px; margin-right: 60px; }
.bar-views { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 6px 12px; border-radius: var(--radius); background: var(--surface); font-size: var(--step-small); font-weight: 600; }
.mute {
  position: fixed; z-index: 96; top: 54px; right: var(--m);
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink);
  cursor: pointer; transition: background-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.mute:hover { background: var(--surface-3); }
.mute:active { transform: scale(0.94); }
.mute .i-off, .mute[aria-pressed="true"] .i-on { display: none; }
.mute[aria-pressed="true"] .i-off { display: block; }
.mute[aria-pressed="true"] { background: var(--accent); }
.gated .mute { z-index: 102; }
.bar-now { margin: 0; color: var(--muted); font-size: var(--step-small); max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; z-index: 2; height: 175svh; }
.hero-stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.string { position: absolute; left: 0; top: 0; width: 100%; height: 60px; z-index: 3; pointer-events: none; }

.hero-h1 {
  position: absolute; z-index: 2; left: 0; right: 0; top: 50%;
  margin: 0; padding: 0 var(--m);
  display: flex; justify-content: space-between; align-items: center;
  transform: translateY(-50%);
  font-size: var(--hero-size, 6.7vw); line-height: 0.86;
}
.half { display: block; width: max-content; white-space: nowrap; }
.half-b { text-align: right; }

.reel {
  position: absolute; z-index: 1; left: 50%; top: 0; bottom: 0;
  width: 35vw; transform: translateX(-50%);
}
.reel-track {
  position: absolute; left: 0; right: 0; top: 50%;
  display: flex; flex-direction: column; gap: var(--reel-gap, 24px);
  transform: translateY(calc(-17.5vw * 9 / 16));
  will-change: transform;
}
.frame { margin: 0; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface); flex: none; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }

.clock {
  position: absolute; z-index: 2; right: var(--m);
  top: calc(50% + var(--hero-size, 6.7vw) * 0.5 + 18px);
  margin: 0; font-size: var(--step-head); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: 0;
}
.hero-support {
  position: absolute; z-index: 2; left: var(--m); bottom: 32px;
  width: min(32vw, 460px); margin: 0;
}

/* hero arrival: runs on load, or when the gate opens */
.js .hero-stage .half, .js .hero-stage .clock, .js .hero-stage .hero-support, .js .hero-stage .reel-track {
  opacity: 0; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
}
.js .hero-stage .half-a { translate: -32px 0; }
.js .hero-stage .half-b, .js .hero-stage .clock { translate: 32px 0; }
.js .hero-stage .hero-support { translate: 0 20px; }
.js .hero-stage .reel-track { translate: 0 28px; }
.js .arrived .hero-stage .half, .js .arrived .hero-stage .clock, .js .arrived .hero-stage .hero-support, .js .arrived .hero-stage .reel-track { opacity: 1; translate: 0 0; }
.js .arrived .hero-stage .half-b { transition-delay: 70ms; }
.js .arrived .hero-stage .reel-track { transition-delay: 120ms; }
.js .arrived .hero-stage .clock { transition-delay: 180ms; }
.js .arrived .hero-stage .hero-support { transition-delay: 240ms; }

/* ------------------------------------------------------------------ who's in the vault */
.members { position: relative; z-index: 2; padding: clamp(56px, 6vw, 96px) var(--m) 0; }
.mega { margin: 0; font-size: var(--step-mega); line-height: 0.84; }
.members-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.members-head .head { margin: 0; }
.members-stats { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.members-stats p { margin: 0; }
.views { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step-body); }
.views strong { font-weight: 700; }
.eye { flex: none; color: var(--muted); }
.online { display: flex; align-items: center; gap: 10px; margin: 0; }
.online[hidden] { display: none; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--online); flex: none; }
.live-dot.is-live { animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--g); }

/* a member card: Discord's own profile popout, kept as an interface fragment */
.cards { perspective: 1200px; }
.card {
  position: relative; background: var(--surface); border-radius: 8px; overflow: hidden; min-width: 0;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform 0.5s var(--ease);
}
.card:hover { --lift: -6px; transition-duration: 0.18s; }
.c-name.is-styled {
  background: var(--name-fill); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; /* taste-skill-ignore: the member's own Discord name colours */
  animation: name-shine 6s linear infinite;
}
@keyframes name-shine { to { background-position: -200% 0; } }
.c-banner { position: relative; aspect-ratio: 5 / 2; background: var(--surface-2); overflow: hidden; }
.c-banner img { width: 100%; height: 100%; object-fit: cover; }
.c-banner img.photo { object-position: 50% 30%; filter: brightness(0.7); }
.c-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 24px; margin-top: -64px; position: relative; }
.c-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; padding: 6px 8px; margin-bottom: 8px; background: var(--bg); border-radius: var(--radius); }
.c-badges:empty { display: none; }
.c-badges img { width: 22px; height: 22px; }
.c-body { padding: 16px 24px 26px; }
.c-name { margin: 0; font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.75rem); line-height: 0.95; overflow-wrap: anywhere; }
.c-meta { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--muted); }
.c-meta .status { display: inline-flex; align-items: center; gap: 6px; }
.c-meta .status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sc, var(--offline)); }
.c-bio { margin: 18px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.c-since { margin: 14px 0 0; color: var(--muted); }
.c-activity { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding: 14px; background: var(--bg); border-radius: var(--radius); }
.c-activity img { width: 72px; height: 72px; border-radius: var(--radius); object-fit: cover; flex: none; }
.c-activity .a-text { min-width: 0; flex: 1; }
.c-activity p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-activity .a-kind { color: var(--muted); font-size: var(--step-small); }
.c-activity .a-main { font-weight: 600; }
.c-activity .a-sub { color: var(--muted); }
.bar-track { height: 4px; margin-top: 10px; background: var(--surface-2); border-radius: 2px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: var(--online); border-radius: 2px; }
.c-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ghost {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius);
  background: var(--surface-2); color: var(--ink); cursor: pointer; font-size: var(--step-small); font-weight: 500;
  transition: background-color 0.2s var(--ease);
}
.ghost:hover { background: var(--surface-3); }

/* avatar with status */
.av { position: relative; width: 136px; height: 136px; flex: none; }
.av > img.pic, .av > .initial { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--surface-2); border: 8px solid var(--surface); }
.av > .initial { display: grid; place-items: center; font-weight: 800; font-size: 3rem; color: var(--muted); }
.av > img.deco { position: absolute; left: -6%; top: -6%; width: 112%; height: 112%; max-width: none; pointer-events: none; }
.av > .st { position: absolute; right: 6px; bottom: 6px; width: 32px; height: 32px; border-radius: 50%; border: 7px solid var(--surface); background: var(--offline); }
.st.online { background: var(--online); } .st.idle { background: var(--idle); } .st.dnd { background: var(--dnd); } .st.offline { background: var(--offline); }

.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink); font-size: var(--step-small); font-weight: 600; line-height: 1.5; }
.tag img { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ music */
.music { position: relative; z-index: 2; padding: clamp(120px, 12vw, 200px) 0 clamp(120px, 12vw, 200px); overflow: hidden; }
.stack { position: relative; padding: 0 var(--m); }
.line { display: block; width: max-content; margin: 0; font-size: var(--step-stack); line-height: 0.88; white-space: nowrap; max-width: none; }
.line.soft { color: var(--muted); }
.tree {
  position: absolute; z-index: 2; right: calc(var(--m) + 2vw); top: -8vw;
  width: 26vw; height: auto; aspect-ratio: 600 / 760;
  cursor: pointer;
}
.music-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g);
  padding: 120px var(--m) 0; align-items: start;
}
.player-frame { grid-column: 1 / span 7; aspect-ratio: 16 / 9; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.player-frame iframe, .player-frame > div { width: 100%; height: 100%; display: block; border: 0; }
.playlist { grid-column: 9 / span 4; }
.now-title { margin: 0; font-size: var(--step-head); line-height: 0.92; }
.now-artist { margin: 10px 0 0; color: var(--muted); }
.controls { display: flex; align-items: center; gap: 10px; margin: 26px 0 30px; }
.ctl {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.ctl:hover { background: var(--surface-2); }
.ctl:active { transform: scale(0.94); }
.tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.track {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline;
  padding: 12px 14px; border: 0; border-radius: var(--radius); background: transparent; color: var(--ink);
  text-align: left; cursor: pointer; transition: background-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.track:hover { background: var(--surface); }
.track:active { transform: scale(0.99); }
.track[aria-current="true"] { background: var(--surface-2); }
.track .t { font-weight: 600; }
.track .a { color: var(--muted); }
.track .y { color: var(--muted); font-variant-numeric: tabular-nums; }
.track[aria-current="true"] .y { color: var(--ink); }

/* ------------------------------------------------------------------ close */
.close {
  position: relative; z-index: 3; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(120px, 11vw, 170px) var(--m) 0;
  background: var(--field); color: var(--field-ink);
}
.close ::selection { background: var(--field-ink); color: var(--field); }
.close :focus-visible { outline-color: var(--field-ink); }
.close-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.close-invite { grid-column: 1 / span 7; }
.head { margin: 0 0 32px; font-size: var(--step-head); line-height: 0.92; }
.close-links { grid-column: 10 / span 3; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.close-links a { text-decoration: none; }
.close-links a:hover { text-decoration: underline; }
.close-meta {
  margin-top: auto; padding-top: 96px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: end;
}
.close-meta p { margin: 0; }
.visits { grid-column: 1 / span 5; }
.visits strong { font-variant-numeric: tabular-nums; }
.credits { grid-column: 7 / span 6; justify-self: end; color: var(--field-muted); text-align: right; font-size: var(--step-small); }
.credits a { color: var(--field-ink); }
.wordmark {
  margin: 12px 0 0; font-size: var(--step-mega); line-height: 0.8; white-space: nowrap; max-width: none;
  transform: translate(-0.03em, 20%); color: var(--field-ink); user-select: none;
}
/* the last word is cut from their own picture: the icy street shows through the letters */
@supports ((-webkit-background-clip: text) or (background-clip: text)) { /* taste-skill-ignore: feature check for the photo letters */
  .wordmark {
    background: var(--field-ink) url(/img/cbh-street.webp) 50% 28% / cover;
    -webkit-background-clip: text; background-clip: text; color: transparent; /* taste-skill-ignore: a photograph in the letters, not a gradient */
  }
}

/* ------------------------------------------------------------------ entrances */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ------------------------------------------------------------------ tablet */
@media (min-width: 900px) and (max-width: 1180px) {
  .bar-now { display: none; }
  .av { width: 112px; height: 112px; }
  .c-top { margin-top: -52px; }
}

/* ------------------------------------------------------------------ phone */
@media (max-width: 899px) {
  :root { --step-stack: 15vw; }
  .bar { top: 48px; gap: 16px; }
  .bar-links { display: none; }
  .bar-music { margin-left: auto; margin-right: 56px; }
  .bar-views .vw { display: none; }
  .brand span { display: none; }
  .mute { top: 46px; width: 44px; height: 44px; }
  .members-head .head { font-size: 13vw; }
  .bar-now { display: none; }
  .string { height: 46px; }

  .hero { height: auto; }
  .hero-stage {
    position: relative; height: auto; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 128px var(--m) 32px;
  }
  .hero-h1 { position: static; transform: none; padding: 0; display: flex; flex-direction: column; align-items: stretch; font-size: var(--hero-size, 16vw); }
  .half-b { align-self: flex-end; }
  .reel { position: relative; left: auto; top: auto; bottom: auto; transform: none; width: 100%; height: calc((100vw - 2 * var(--m)) * 0.75); margin: 24px 0 16px; overflow: hidden; border-radius: var(--radius); }
  .reel-track { top: 0; transform: none; gap: 12px; }
  .frame { aspect-ratio: 4 / 3; }
  .clock { position: static; text-align: right; }
  .hero-support { position: static; width: auto; margin-top: 24px; }

  .cards { grid-template-columns: 1fr; }
  .av { width: 112px; height: 112px; }
  .c-top { margin-top: -52px; padding: 0 18px; }
  .c-body { padding: 14px 18px 22px; }

  .tree { width: 56vw; right: var(--m); top: auto; bottom: 0; }
  .stack { padding-bottom: 76vw; }
  .music-grid { display: flex; flex-direction: column; gap: 40px; padding-top: 24px; }
  .player-frame { width: 100%; }

  .close { min-height: 0; padding-top: 96px; }
  .close-meta { padding-top: 64px; }
  .close-grid, .close-meta { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
  .credits { text-align: left; justify-self: auto; }
  .head { font-size: 11vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .js .reveal, .js .hero-stage .half, .js .hero-stage .clock, .js .hero-stage .hero-support, .js .hero-stage .reel-track { opacity: 1; translate: 0 0; transition: none; }
  .gate, .gate-pic, .gate-pic img { transition: none; animation: none !important; }
  .card, .card:hover { transform: none; transition: none; }
  .c-name.is-styled { animation: none; }
  .live-dot.is-live { animation: none; }
}
