/* ============================================================
   styles.css — Montclair v3 / 60s Retro Burnt Orange
   Beatles-era alternative — messy, loud, analog
   ============================================================ */

/* No external font imports — Menlo only */

/* ═══════════════════════════════════════════════════════════════
   1. PALETTE — burnt orange, warm paper, halftone grain
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg:       #1a1815;
  --bg-alt:   #221f1b;
  --paper:    #2a2722;
  --ink:      #e8e4dc;
  --ink-mid:  #b0a998;
  --ink-dim:  #6b6358;
  --rust:     #b24822;
  --rust-hot: #d45a2a;
  --rust-dim: rgba(178, 72, 34, 0.15);
  --cream:    #f0ebe0;
  --line:     rgba(232, 228, 220, 0.10);
  --line-hi:  rgba(232, 228, 220, 0.18);

  --ff-display: Menlo, 'SF Mono', Consolas, 'Courier New', monospace;
  --ff-mono:    Menlo, 'SF Mono', Consolas, 'Courier New', monospace;

  --w-max:   1200px;
  --gutter:  clamp(24px, 5vw, 72px);
  --sec-pad: clamp(72px, 12vw, 140px);
  --radius:  14px;
}


/* ═══════════════════════════════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-mono);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }

::selection {
  background: var(--rust);
  color: var(--cream);
}

::-webkit-scrollbar       { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ink-dim); border-radius: 10px; }


/* ═══════════════════════════════════════════════════════════════
   3. FILM GRAIN OVERLAY
   ═══════════════════════════════════════════════════════════════ */

.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: overlay;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.06) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse at 50% 40%, rgba(178,72,34,0.08), transparent 70%);
}


/* ═══════════════════════════════════════════════════════════════
   4. UTILITY
   ═══════════════════════════════════════════════════════════════ */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  z-index: 9999;
  padding: 8px 16px;
  background: var(--rust);
  color: var(--cream);
  font-family: var(--ff-mono);
  font-size: 12px;
  text-decoration: none;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }
.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; }

.container {
  max-width: var(--w-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}


/* ═══════════════════════════════════════════════════════════════
   5. HEADER
   ═══════════════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  background: rgba(26, 24, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-hi);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  text-decoration: none;
}

.brand-name {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-solid {
  color: var(--cream);
}

.brand-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cream);
  text-stroke: 1.5px var(--cream);
  position: relative;
}

/* Subtle chromatic glitch on hover */
.brand:hover .brand-solid {
  text-shadow:
    -2px 0 rgba(0, 220, 200, 0.7),
     2px 0 rgba(255, 50,  50, 0.7);
}
.brand:hover .brand-outline {
  -webkit-text-stroke-color: var(--rust);
  text-stroke-color: var(--rust);
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--rust-hot);
  border-bottom-color: var(--rust-hot);
}

/* Header social icons */
.header-socials {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--ink-dim);
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
  text-decoration: none;
}

.header-social:hover {
  color: var(--rust-hot);
  background: rgba(178,72,34,0.12);
}

/* Toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s ease;
}
.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before, .nav-toggle-lines::after { content:''; position:absolute; left:0; }
.nav-toggle-lines::before { top: -7px; }
.nav-toggle-lines::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background:transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after  { transform:translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 100px var(--gutter) 48px;
  min-height: 100dvh;
  height: 100dvh;
  overflow-y: auto;
}
.nav-mobile[hidden] { display:none; }

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-mobile-link {
  font-family: var(--ff-display);
  font-size: clamp(32px, 9vw, 60px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 2px solid var(--line);
  transition: color 0.15s;
}
.nav-mobile-link:hover { color: var(--rust-hot); }

.nav-close {
  position: absolute;
  top: 18px;
  right: var(--gutter);
  font-size: 32px;
  color: var(--ink-dim);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.nav-mobile-footer {
  margin-top: auto;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
}


/* ═══════════════════════════════════════════════════════════════
   6. HERO — big, messy, logo-forward
   ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  background: var(--rust);
  overflow: hidden;
  min-height: calc(100vh - 60px); /* 60px = header height */
  display: flex;
  align-items: center;
}

/* Halftone-ish dot pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.18) 1.2px, transparent 1.2px);
  background-size: 6px 6px;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 36px);
  text-align: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-tagline {
  font-family: var(--ff-mono);
  font-size: clamp(14px, 2vw, 18px);
  color: var(--cream);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.hero-title {
  font-family: var(--ff-display);
  line-height: 0.88;
  user-select: none;
  font-weight: 700;
}

.hero-title-top {
  display: block;
  font-size: clamp(60px, 11vw, 140px);
  color: var(--cream);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title-bot {
  display: block;
  font-size: clamp(60px, 11vw, 140px);
  color: transparent;
  -webkit-text-stroke: 2px var(--cream);
  text-stroke: 2px var(--cream);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: clamp(12px, 1.5vw, 15px);
  color: var(--cream);
  letter-spacing: 0.06em;
  opacity: 0.65;
  margin-top: 8px;
}

.hero-sub-sep {
  opacity: 0.4;
}

/* Hero logo wrapper — positions spinning ring around spinning logo */
.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  animation: hero-float 7s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* ── Sound wave pulse rings — subtle, emanate from logo edge ── */
.hero-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 89%; height: 89%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-pulse span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(240,235,224,0.45);
  opacity: 0;
  animation: hero-pulse-ring 4s ease-out infinite;
}
.hero-pulse span:nth-child(2) { animation-delay: 1.33s; border-width: 1px; }
.hero-pulse span:nth-child(3) { animation-delay: 2.66s; border-width: 1px; }

@keyframes hero-pulse-ring {
  0%   { transform: scale(1);    opacity: 0.5; }
  40%  { opacity: 0.15; }
  100% { transform: scale(2.2);  opacity: 0; }
}

/* Spinning SVG text ring */
.hero-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin-ring 14s linear infinite;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

.hero-ring text {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  fill: var(--cream);
  letter-spacing: 0.15em;
  opacity: 0.72;
}

.hero-logo-wrap:hover .hero-ring {
  animation: spin-ring-reverse 6s linear infinite;
}

/* ── spin keyframes ── */
@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes spin-ring-reverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes spin-logo {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes spin-logo-hover {
  from { transform: rotate(0deg) scale(1.06); }
  to   { transform: rotate(360deg) scale(1.06); }
}

/* Logo — crop phone chrome + retro spin */
.hero-logo {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  position: relative;
  isolation: isolate;
  box-shadow:
    0 0 0 5px var(--cream),
    0 0 0 10px var(--rust),
    0 0 0 14px rgba(240,235,224,0.25),
    0 0 55px 14px rgba(160,50,10,0.55),
    0 28px 72px rgba(0, 0, 0, 0.65);
  animation: spin-logo 18s linear infinite;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Chromatic aberration layers — always on ── */
.hero-logo::before,
.hero-logo::after {
  content: '';
  position: absolute;
  inset: -6px;
  background: url('../../assets/logo-dog.jpg') center 60% / cover no-repeat;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

/* Cyan channel — shifted up-left */
.hero-logo::before {
  transform: translate(-7px, -4px);
  filter: sepia(1) saturate(12) hue-rotate(162deg) brightness(0.78);
  opacity: 0;
  animation: glitch-logo-cyan 6s steps(1) infinite;
}

/* Red channel — shifted down-right */
.hero-logo::after {
  transform: translate(7px, 4px);
  filter: sepia(1) saturate(12) hue-rotate(-12deg) brightness(0.78);
  opacity: 0;
  animation: glitch-logo-red 6s steps(1) infinite;
}

/* On hover: spin faster only */
.hero-logo:hover {
  animation: spin-logo 7s linear infinite reverse;
}

/* Cyan — two chaotic bursts, mostly invisible */
@keyframes glitch-logo-cyan {
  0%, 71%, 100%  { transform: translate(-7px,-4px);                  clip-path: none;               opacity: 0; }
  /* burst 1 — rapid fire */
  72%   { transform: translate(-19px, 3px)  skewX(-4deg); clip-path: inset(6%  0 76% 0); opacity: 0.95; }
  72.4% { transform: translate(-4px, -9px)  skewX( 3deg); clip-path: inset(58% 0 14% 0); opacity: 0.88; }
  72.8% { transform: translate(-24px, 1px)  skewX(-7deg); clip-path: inset(29% 0 55% 0); opacity: 0.95; }
  73.2% { transform: translate(-8px,  7px);               clip-path: inset(73% 0  6% 0); opacity: 0.82; }
  73.6% { transform: translate(-14px,-3px)  skewX( 2deg); clip-path: inset(42% 0 33% 0); opacity: 0.90; }
  74%   { transform: translate(-7px, -4px);               clip-path: none;               opacity: 0; }
  /* burst 2 — second hit, different slices */
  87%   { transform: translate(-16px,-7px)  skewX( 5deg); clip-path: inset(12% 0 65% 0); opacity: 0.92; }
  87.3% { transform: translate(-3px,  8px)  skewX(-3deg); clip-path: inset(47% 0 36% 0); opacity: 0.86; }
  87.6% { transform: translate(-21px, 2px)  skewX( 8deg); clip-path: inset(81% 0  4% 0); opacity: 0.92; }
  88%   { transform: translate(-7px, -4px);               clip-path: none;               opacity: 0; }
}

/* Red — same timing, opposite offsets, different slices */
@keyframes glitch-logo-red {
  0%, 71%, 100%  { transform: translate(7px, 4px);                   clip-path: none;               opacity: 0; }
  72%   { transform: translate( 21px,-2px)  skewX( 5deg); clip-path: inset(6%  0 76% 0); opacity: 0.88; }
  72.4% { transform: translate(  6px, 8px)  skewX(-4deg); clip-path: inset(58% 0 14% 0); opacity: 0.80; }
  72.8% { transform: translate( 17px,-3px)  skewX( 6deg); clip-path: inset(29% 0 55% 0); opacity: 0.88; }
  73.2% { transform: translate( 11px,-6px);               clip-path: inset(73% 0  6% 0); opacity: 0.76; }
  73.6% { transform: translate( 25px, 4px)  skewX(-3deg); clip-path: inset(42% 0 33% 0); opacity: 0.85; }
  74%   { transform: translate(  7px, 4px);               clip-path: none;               opacity: 0; }
  87%   { transform: translate( 19px, 5px)  skewX(-6deg); clip-path: inset(12% 0 65% 0); opacity: 0.85; }
  87.3% { transform: translate(  4px,-9px)  skewX( 4deg); clip-path: inset(47% 0 36% 0); opacity: 0.78; }
  87.6% { transform: translate( 23px, 1px)  skewX(-5deg); clip-path: inset(81% 0  4% 0); opacity: 0.85; }
  88%   { transform: translate(  7px, 4px);               clip-path: none;               opacity: 0; }
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  pointer-events: none;
  position: relative;
  z-index: 1;                    /* chromatic layers at z-index: 2 sit above */
  display: block;
}


/* ═══════════════════════════════════════════════════════════════
   7. WORLD CLOCK — full width dark band
   ═══════════════════════════════════════════════════════════════ */

.clock-band {
  background: #0e0d0c;
  border-top: 2px solid var(--rust);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.clock-band-inner {
  display: flex;
  justify-content: center;
  max-width: var(--w-max);
  margin: 0 auto;
}

.clock-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 2.5vw, 28px) clamp(12px, 2vw, 32px);
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,0.05);
  min-width: 0;
  text-align: center;
}

.clock-item:last-child {
  border-right: none;
}

.clock-city {
  font-family: var(--ff-mono);
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.clock-utc {
  color: var(--rust);
  opacity: 0.8;
  letter-spacing: 0.08em;
}

.clock-digits {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1;
}

.clock-sec {
  font-size: 0.6em;
  color: var(--rust);
  opacity: 0.7;
  font-weight: 400;
}


/* ═══════════════════════════════════════════════════════════════
   8. SECTIONS
   ═══════════════════════════════════════════════════════════════ */

.section {
  padding: var(--sec-pad) 0;
}

.section--alt {
  background: var(--bg-alt);
}

/* Watch section — warm analog static noise */
.section--matrix {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(232, 160, 48, 0.07) 2px,
      rgba(232, 160, 48, 0.07) 3px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 4px,
      rgba(178, 72, 34, 0.05) 4px,
      rgba(178, 72, 34, 0.05) 5px
    ),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 8px,
      rgba(240, 180, 60, 0.025) 8px,
      rgba(240, 180, 60, 0.025) 9px
    ),
    var(--bg);
}

/* Hide the matrix canvas — keep in DOM for JS compat */
.matrix-bg {
  display: none;
}

/* Lift content above background */
.section--matrix .container {
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: clamp(32px, 5vw, 56px);
  position: relative;
  display: inline-block;
}

/* Messy underline */
.section-title::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 2px;
  height: 6px;
  background: var(--rust);
  opacity: 0.5;
  z-index: -1;
  transform: rotate(-0.8deg);
  border-radius: 2px;
}


/* ═══════════════════════════════════════════════════════════════
   9. AUDIO PLAYER — visible waveform, retro card
   ═══════════════════════════════════════════════════════════════ */

/* Bare player section — no card chrome */
.section--player-bare {
  padding-top: 16px;
  padding-bottom: clamp(36px, 5vw, 60px);
}

/* Keep rule for any legacy references */
.player-card {}

.player-top-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.player-num {
  font-family: var(--ff-mono);
  font-size: 18px;
  color: var(--rust-hot);
  font-weight: 600;
}

.player-name {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.player-sub-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.player-album {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-duration {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--ink-dim);
}

/* VISUALIZER */
.viz-wrap {
  position: relative;
  height: 200px;
  margin-bottom: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid transparent;
  box-shadow: none;
  transition: border-color 0.2s;
}

/* Subtle rust glow on hover to signal the canvas is clickable */
.viz-wrap:hover {
  border-color: rgba(178, 72, 34, 0.35);
}

.viz-canvas {
  cursor: ew-resize;
}

.viz-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* CRT scanlines overlay */
.viz-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.18) 2px,
    rgba(0, 0, 0, 0.18) 4px
  );
  z-index: 2;
}

/* Vignette corners */
.viz-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.65) 100%);
  z-index: 3;
}

/* Controls */
.player-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Bare variant — more breathing room above, no background */
.player-controls--bare {
  margin-top: 24px;
  padding: 0;
}

/* Volume knob canvas */
.vol-knob {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  cursor: ns-resize;
  border-radius: 50%;
  touch-action: none;
}
.vol-knob:active { cursor: grabbing; }

.player-btn {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rust);
  border: none;
  color: var(--cream);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 20px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.25);
}

.player-btn:hover:not(:disabled) {
  background: var(--rust-hot);
  transform: scale(1.06);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
}

.player-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.player-btn-icon {
  line-height: 1;
  margin-left: 3px;
}

.player-progress-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.player-progress {
  height: 20px;
  display: flex;
  align-items: center;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  position: relative;
}

.player-progress::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 8px;
  background: var(--line);
  border-radius: 10px;
  pointer-events: none;
}

.player-progress-fill {
  height: 8px;
  background: var(--rust);
  width: 0%;
  border-radius: 10px;
  transition: width 0.1s linear;
  position: relative;
  z-index: 1;
  align-self: center;
  pointer-events: none;
}

.player-time-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}

.player-notes {
  font-family: var(--ff-mono);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-dim);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.player-notes:empty { display:none; }


/* ═══════════════════════════════════════════════════════════════
   10. RETRO TV — 1970s wood-panel console
   ═══════════════════════════════════════════════════════════════ */

.retro-tv {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  transform: perspective(1600px) rotateY(-1deg) rotate(-0.4deg);
  filter: drop-shadow(14px 20px 44px rgba(0,0,0,0.82));
}

/* ── Outer wood-panel body ── */
.tv-body {
  display: flex;
  width: 100%;
  /* Walnut wood grain: alternating dark/light strips */
  background:
    repeating-linear-gradient(
      92deg,
      transparent          0px,
      rgba(0,0,0,0.06)     1px,
      transparent          3px,
      rgba(255,255,255,0.04) 6px,
      transparent          8px,
      rgba(0,0,0,0.04)    12px,
      transparent         14px,
      rgba(255,255,255,0.03) 18px,
      transparent         22px
    ),
    linear-gradient(175deg, #8a5e30 0%, #6c4420 35%, #7c5228 65%, #664018 100%);
  border-radius: 6px 6px 4px 4px;
  padding: 28px 22px 26px 26px;
  gap: 18px;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.18),
    inset 0 -2px 6px rgba(0,0,0,0.45),
    inset 3px 0 8px rgba(0,0,0,0.25),
    inset -3px 0 8px rgba(0,0,0,0.20);
  position: relative;
}

/* ── Screen area with chrome beveled bezel ── */
.tv-screen-area {
  flex: 1;
}

/* Chrome bezel — the most distinctive 70s TV feature */
.tv-chrome-bezel {
  /* Brushed aluminium / chrome gradient */
  background: linear-gradient(
    148deg,
    #e0e0e0 0%,
    #b8b8b8 12%,
    #d8d8d8 22%,
    #989898 38%,
    #cccccc 50%,
    #808080 65%,
    #c0c0c0 78%,
    #989898 100%
  );
  padding: 22px 20px 20px 20px;
  border-radius: 4px;
  box-shadow:
    inset 5px 5px 12px rgba(255,255,255,0.55),
    inset -5px -5px 12px rgba(0,0,0,0.40),
    inset 10px 10px 24px rgba(255,255,255,0.18),
    inset -10px -10px 24px rgba(0,0,0,0.22),
    0 0 0 1px rgba(0,0,0,0.35);
}

/* ── Screen ── */
.tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #010203;
  border-radius: 3px;
  overflow: hidden;
  box-shadow:
    inset 0 0 40px rgba(0,0,0,0.95),
    0 0 0 2px #1a1a1a,
    0 0 0 4px #333;
}

.tv-screen video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

/* ── CRT overlays ── */
.tv-crt {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.tv-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.07) 2px,
    rgba(0,0,0,0.07) 3px
  );
}

.tv-glare {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 16%, rgba(255,255,255,0.09) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, transparent 60%, rgba(0,0,0,0.35) 100%);
}

.tv-bug {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font: 600 9px/1 var(--ff-mono);
  color: rgba(255,255,255,0.20);
  letter-spacing: 0.12em;
}

/* ── Right controls panel ── */
.tv-controls-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 96px;
  flex-shrink: 0;
  /* Slightly inset panel with its own chrome trim */
  background:
    linear-gradient(170deg, rgba(255,255,255,0.06) 0%, transparent 50%, rgba(0,0,0,0.15) 100%),
    #5a3a18;
  border-radius: 3px;
  padding: 12px 10px;
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,0.1),
    inset 0 -1px 4px rgba(0,0,0,0.4),
    0 0 0 1px rgba(0,0,0,0.3);
}

/* ── Rotary dials ── */
.tv-dial-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.tv-dial-lbl {
  font: 700 7px/1 var(--ff-mono);
  letter-spacing: 0.10em;
  color: rgba(220,200,160,0.50);
  text-transform: uppercase;
}

/* Large channel selector — ridged outer ring */
.tv-dial--ch {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  /* Dark centre with chrome edge ring */
  background: radial-gradient(circle at 42% 36%, #555, #1a1a1a 55%, #111 100%);
  /* Ridged outer ring via box-shadow stack */
  box-shadow:
    0 0 0 4px #888,
    0 0 0 6px #555,
    0 0 0 8px #999,
    0 0 0 10px #666,
    0 0 0 12px #aaa,
    3px 5px 12px rgba(0,0,0,0.8),
    inset 0 2px 6px rgba(255,255,255,0.2);
  position: relative;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.tv-dial--ch:hover { transform: rotate(35deg); }

/* Indicator line on channel dial */
.tv-dial--ch::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 14px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
  border-radius: 2px;
}

/* Smaller volume knob */
.tv-dial--vol {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 34%, #666, #1e1e1e 60%, #111 100%);
  box-shadow:
    0 0 0 3px #777,
    0 0 0 5px #555,
    0 0 0 7px #888,
    2px 3px 8px rgba(0,0,0,0.7),
    inset 0 1px 4px rgba(255,255,255,0.18);
  position: relative;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.tv-dial--vol:hover { transform: rotate(30deg); }

.tv-dial--vol::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: rgba(255,255,255,0.65);
  border-radius: 1px;
}

/* ── Rectangular push buttons ── */
.tv-buttons {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.tv-btn {
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(to bottom, #4a4a4a, #2a2a2a);
  box-shadow:
    0 1px 3px rgba(0,0,0,0.6),
    inset 0 1px 2px rgba(255,255,255,0.10),
    inset 0 -1px 2px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.1s;
}
.tv-btn:hover { transform: translateY(1px); }
.tv-btn--blue {
  background: linear-gradient(to bottom, #2a4a7a, #1a2e52);
  box-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 0 4px rgba(40,100,200,0.3);
}

/* ── Horizontal vent slots ── */
.tv-vents {
  width: 100%;
  flex: 1;
  min-height: 40px;
  background: repeating-linear-gradient(
    180deg,
    #1a1208 0px,
    #1a1208 3px,
    #2e2010 3px,
    #2e2010 6px
  );
  border-radius: 2px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.7);
}

/* ── Power LED ── */
.tv-power-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #88ff44, #33880a);
  box-shadow: 0 0 5px rgba(100,220,50,0.9), 0 0 10px rgba(80,180,30,0.35);
  flex-shrink: 0;
}

/* ── Bottom feet ── */
.tv-feet {
  display: flex;
  justify-content: space-between;
  width: calc(100% - 60px);
  padding: 0 30px;
}

.tv-foot {
  width: 52px;
  height: 14px;
  background: linear-gradient(to bottom, #5a3a18, #3a2208);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}


/* ═══════════════════════════════════════════════════════════════
   11. FILMSTRIP GALLERY
   ═══════════════════════════════════════════════════════════════ */

.section-photos {
  overflow: hidden;
  background: #080604;
  padding: 0;
}

/* Full-width filmstrip */
.filmstrip {
  width: 100%;
  background: #0e0b09;
  border-top: 2px solid var(--rust);
  border-bottom: 2px solid var(--rust);
  overflow: hidden;
  position: relative;
}

/* Hide sprocket markup — not needed */
.filmstrip-sprockets { display: none; }

/* Edge fade — photos dissolve into the page background */
.filmstrip::before,
.filmstrip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.filmstrip::before {
  left: 0;
  background: linear-gradient(to right, #0e0b09, transparent);
}
.filmstrip::after {
  right: 0;
  background: linear-gradient(to left, #0e0b09, transparent);
}

/* The scrolling reel */
.filmstrip-reel {
  overflow: hidden;
  padding: 0;
  background: #0e0b09;
}

.filmstrip-inner {
  display: flex;
  gap: 2px;
  width: max-content;
  animation: filmRoll 55s linear infinite;
  background: #1a1612; /* dark warm gap between frames */
}

/* Pause on hover */
.filmstrip:hover .filmstrip-inner {
  animation-play-state: paused;
}

@keyframes filmRoll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual photo frames */
.film-frame {
  margin: 0;
  flex-shrink: 0;
  width: 400px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}

.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.88) contrast(1.06);
  transition: filter 0.5s ease, transform 0.5s ease;
}

/* Hover: full color, subtle zoom */
.film-frame:hover img {
  filter: none;
  transform: scale(1.03);
}


/* ═══════════════════════════════════════════════════════════════
   12. GALLERY (old grid — kept for reference, unused)
   ═══════════════════════════════════════════════════════════════ */

.gallery {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid var(--line-hi);
  background: var(--paper);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover {
  box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
  z-index: 2;
}

/* Irregular grid placement + individual tilts */
.gallery-item--1 {
  grid-column: 1 / 6;
  grid-row: 1;
  transform: rotate(-0.8deg);
}
.gallery-item--1:hover { transform: rotate(0deg) scale(1.02); }

.gallery-item--2 {
  grid-column: 6 / 10;
  grid-row: 1;
  transform: rotate(0.5deg);
  margin-top: 20px;
}
.gallery-item--2:hover { transform: rotate(0deg) scale(1.02); }

.gallery-item--3 {
  grid-column: 10 / 13;
  grid-row: 1;
  transform: rotate(-0.4deg);
}
.gallery-item--3:hover { transform: rotate(0deg) scale(1.02); }

.gallery-item--4 {
  grid-column: 1 / 5;
  grid-row: 2;
  transform: rotate(0.6deg);
  margin-top: 8px;
}
.gallery-item--4:hover { transform: rotate(0deg) scale(1.02); }

.gallery-item--5 {
  grid-column: 5 / 13;
  grid-row: 2;
  transform: rotate(-0.3deg);
  margin-top: 16px;
}
.gallery-item--5:hover { transform: rotate(0deg) scale(1.02); }

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  /* Each item gets a different tonal treatment for variety */
}

.gallery-item--1 .gallery-img { filter: contrast(1.05) saturate(0.9); aspect-ratio: 4/3; }
.gallery-item--2 .gallery-img { filter: sepia(0.15) contrast(1.1); aspect-ratio: 3/4; }
.gallery-item--3 .gallery-img { filter: contrast(1.08) brightness(0.95); aspect-ratio: 1/1; }
.gallery-item--4 .gallery-img { filter: saturate(0.8) contrast(1.05); aspect-ratio: 1/1; }
.gallery-item--5 .gallery-img { filter: contrast(1.06) saturate(1.05); aspect-ratio: 16/7; }

/* Stamp-style label on each photo */
.gallery-item::after {
  content: attr(data-label);
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

/* ═══════════════════════════════════════════════════════════════
   11b. GLITCH BAND
   ═══════════════════════════════════════════════════════════════ */

.glitch-band {
  padding: 56px var(--gutter) 24px;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
}

/* Horizontal scanline sweep — very subtle */
.glitch-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 0;
}

.glitch-wrap {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.glitch-text {
  font-family: var(--ff-display);
  font-size: clamp(52px, 13vw, 148px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--ink);
  position: relative;
  display: inline-block;
  user-select: none;
}

/* Cyan layer — offset up-left */
.glitch-text::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: #00e5ff;
  opacity: 0.78;
  transform: translate(-5px, -2px);
  animation: glitch-cyan 6s steps(1) infinite;
  pointer-events: none;
}

/* Red layer — offset down-right */
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: #ff1a3c;
  opacity: 0.72;
  transform: translate(5px, 2px);
  animation: glitch-red 6s steps(1) infinite;
  pointer-events: none;
}

@keyframes glitch-cyan {
  0%,  78%, 100% { transform: translate(-5px, -2px); clip-path: none; }
  79%            { transform: translate(-9px, -2px); clip-path: inset(12% 0 62% 0); }
  80%            { transform: translate(-5px,  1px); clip-path: inset(38% 0 32% 0); }
  81%            { transform: translate(-7px, -3px); clip-path: inset(58% 0  8% 0); }
  82%            { transform: translate(-5px, -2px); clip-path: none; }
  87%            { transform: translate(-5px, -2px); clip-path: inset(22% 0 52% 0); }
  88%            { transform: translate(-3px, -1px); clip-path: inset(70% 0  4% 0); }
  89%            { transform: translate(-5px, -2px); clip-path: none; }
}

@keyframes glitch-red {
  0%,  78%, 100% { transform: translate( 5px,  2px); clip-path: none; }
  79%            { transform: translate( 9px,  2px); clip-path: inset(12% 0 62% 0); }
  80%            { transform: translate( 5px, -1px); clip-path: inset(38% 0 32% 0); }
  81%            { transform: translate( 7px,  3px); clip-path: inset(58% 0  8% 0); }
  82%            { transform: translate( 5px,  2px); clip-path: none; }
  87%            { transform: translate( 5px,  2px); clip-path: inset(22% 0 52% 0); }
  88%            { transform: translate( 3px,  1px); clip-path: inset(70% 0  4% 0); }
  89%            { transform: translate( 5px,  2px); clip-path: none; }
}

/* Occasional full-band horizontal slice on the wrapper */
@keyframes glitch-band-shake {
  0%,  79%, 100% { transform: none; }
  79.5%          { transform: translateX(-3px); }
  80%            { transform: translateX(2px); }
  80.5%          { transform: none; }
  87.2%          { transform: translateX(4px) skewX(-1deg); }
  87.6%          { transform: none; }
}

.glitch-wrap {
  animation: glitch-band-shake 6s steps(1) infinite;
}

/* ═══════════════════════════════════════════════════════════════
   12. CONTACT
   ═══════════════════════════════════════════════════════════════ */

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--rust-hot);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-email {
  font-family: var(--ff-mono);
  font-size: clamp(18px, 3vw, 26px);
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--line-hi);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.contact-email:hover {
  color: var(--rust-hot);
  text-decoration-color: var(--rust-hot);
}

.contact-hint {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
}

.socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-pill {
  font-family: var(--ff-mono);
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 22px;
  border: 2px solid var(--line-hi);
  border-radius: 100px;
  transition: all 0.2s;
}

.social-pill:hover {
  color: var(--cream);
  background: var(--rust);
  border-color: var(--rust);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  transform: translateY(-1px);
}


/* ═══════════════════════════════════════════════════════════════
   12. TOAST
   ═══════════════════════════════════════════════════════════════ */

.copy-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--rust);
  color: var(--cream);
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 300;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ═══════════════════════════════════════════════════════════════
   13. FOOTER
   ═══════════════════════════════════════════════════════════════ */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--ff-display);
  font-size: 20px;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
}

.footer-copy {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-dim);
}


/* ═══════════════════════════════════════════════════════════════
   14. RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .hero-logo-wrap {
    max-width: 340px;
  }

  .hero-logo {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .header-socials { display: none; }

  .clock-band-inner {
    flex-direction: column;
  }

  .clock-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px var(--gutter);
    text-align: left;
    gap: 0;
  }

  .clock-item:last-child { border-bottom: none; }

  .clock-digits { font-size: clamp(20px, 5vw, 28px); }

  .player-card {
    padding: 24px 20px;
  }

  .player-card::before {
    right: 16px;
    font-size: 9px;
  }

  .viz-wrap {
    height: 110px;
  }

  .player-controls {
    flex-wrap: wrap;
    gap: 16px;
  }

  .player-progress-area {
    flex: none;
    width: 100%;
    order: 1;
  }

  .retro-tv {
    transform: none;
    filter: drop-shadow(8px 10px 20px rgba(0,0,0,0.6));
  }

  /* Stack TV vertically so video is full-width and watchable */
  .tv-body {
    flex-direction: column;
    padding: 16px 16px 12px;
    gap: 12px;
  }

  .tv-screen-area {
    width: 100%;
  }

  .tv-chrome-bezel {
    padding: 10px;
  }

  /* Controls become a compact horizontal strip below the screen */
  .tv-controls-panel {
    flex-direction: row;
    width: 100%;
    height: auto;
    padding: 8px 12px;
    gap: 16px;
    justify-content: space-around;
    align-items: center;
  }

  .tv-dial--ch {
    width: 38px;
    height: 38px;
  }

  .tv-dial--vol {
    width: 30px;
    height: 30px;
  }

  .tv-vents {
    display: none;
  }

  .tv-base { width: 240px; }
  .tv-legs { width: 210px; }

  .film-frame { width: 260px; }

  /* Gallery collapses to 2 columns on mobile */
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: unset;
  }

  .gallery-item--1,
  .gallery-item--2,
  .gallery-item--3,
  .gallery-item--4,
  .gallery-item--5 {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
    transform: none;
  }

  .gallery-item--5 {
    grid-column: 1 / 3; /* full width on last item */
  }

  .gallery-item--1 .gallery-img,
  .gallery-item--2 .gallery-img,
  .gallery-item--3 .gallery-img,
  .gallery-item--4 .gallery-img,
  .gallery-item--5 .gallery-img {
    aspect-ratio: 4/3;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title-top,
  .hero-title-bot {
    font-size: clamp(60px, 18vw, 100px);
  }

  .player-btn {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }

  .socials {
    gap: 8px;
  }

  .social-pill {
    font-size: 12px;
    padding: 8px 16px;
  }
}
