/* ==========================================================================
   XYZed Studio — shared stylesheet
   Plain CSS, no frameworks. Tokens first, then base, layout, components.
   ========================================================================== */

:root {
  /* Surfaces — warm black, pulled from the sepia hero artwork */
  --bg: #0b0a08;
  --surface: #14120e;
  --surface-2: #1d1a15;
  --line: #2f2a22;

  /* Text */
  --text: #efe6d6;
  --muted: #b3a893;
  --faint: #8a806e;

  /* Signal colours — the VU meter */
  --cyan: #3ee6f0;
  --cyan-deep: #0fb5c4;
  --amber: #f5b841;
  --red: #ff3b4e;
  --sepia: #c9a46a;

  /* Type */
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Spacing (8pt rhythm) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 32px;
  --s-6: 48px;
  --s-7: 64px;
  --s-8: 96px;

  --radius: 6px;
  --container: 1200px;
  --header-h: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms;
  --t-med: 250ms;

  /* Layers */
  --z-header: 40;
  --z-menu: 50;
  --z-lightbox: 100;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, iframe, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--text); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 var(--s-3);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 var(--s-3); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-3);
  top: -100px;
  z-index: 200;
  padding: var(--s-2) var(--s-3);
  background: var(--cyan);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--s-3); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-3);
}
@media (min-width: 768px) { .container { padding-inline: var(--s-5); } }

/* ---------- Eyebrow / meter-style labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 60%, var(--amber) 80%, var(--red));
}

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0 var(--s-4);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #ff5a6a; color: #fff; }

.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: rgba(11, 10, 8, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.brand {
  display: flex;
  align-items: center;
  height: 100%;
  padding-block: 10px;
}
.brand img { height: 100%; width: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-3);
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.nav-list a:hover { color: var(--text); background: var(--surface-2); }
.nav-list a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--cyan);
  border-radius: 0;
}
.nav-list .nav-cta {
  margin-left: var(--s-2);
  background: var(--red);
  color: #fff;
}
.nav-list .nav-cta:hover { background: #ff5a6a; color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: var(--z-menu);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: var(--s-3);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-med) var(--ease-out),
                transform var(--t-med) var(--ease-out),
                visibility 0s linear var(--t-med);
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: var(--s-1); }
  .nav-list a { display: flex; min-height: 52px; font-size: 1.0625rem; }
  .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cyan); }
  .nav-list .nav-cta { margin: var(--s-2) 0 0; justify-content: center; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--s-7); }
@media (min-width: 1024px) { .section { padding-block: var(--s-8); } }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}
.section-head > div { max-width: 680px; }
.section-head h2 { margin-bottom: var(--s-2); }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Page hero (secondary pages) ---------- */
.page-hero {
  position: relative;
  padding-block: var(--s-7) var(--s-6);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::after {
  /* faint meter scale echoing the VU artwork */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-deep) 0 62%, var(--amber) 70%, var(--red) 100%);
  opacity: 0.85;
}
.page-hero h1 { margin-bottom: var(--s-3); }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  background: #000;
}
.hero-art {
  position: relative;
  margin: 0;
}
.hero-art img {
  width: 100%;
  aspect-ratio: 1915 / 821;
  object-fit: cover;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 9%;
  background: linear-gradient(to bottom, rgba(11, 10, 8, 0), var(--bg));
  pointer-events: none;
}

.hero-body {
  position: relative;
  padding-block: var(--s-5) var(--s-7);
  background: var(--bg);
}
.hero-grid {
  display: grid;
  gap: var(--s-5);
  align-items: end;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.3fr 1fr; gap: var(--s-7); }
}
.hero-body h1 span { color: var(--cyan); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }

/* ---------- LED level meter (signature element) ---------- */
.meter-panel {
  padding: var(--s-4);
  background: linear-gradient(180deg, #0a0a0a, #050505);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.meter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.meter-top .rec {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--red);
}
.meter-top .rec::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}
.meter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  min-width: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.meter-toggle:hover { color: var(--text); border-color: var(--faint); }
.meter-toggle svg { width: 14px; height: 14px; }

.meter-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--faint);
}
.meter {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 3px;
  height: 14px;
}
.meter i {
  border-radius: 1px;
  background: currentColor;
  opacity: 0.13;
  transition: opacity 90ms linear;
}
.meter i.on { opacity: 1; box-shadow: 0 0 6px currentColor; }
.meter i:nth-child(-n+16) { color: var(--cyan); }
.meter i:nth-child(n+17):nth-child(-n+20) { color: var(--amber); }
.meter i:nth-child(n+21) { color: var(--red); }

.meter-scale {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 0 26px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--faint);
}
.meter-scale .hot { color: var(--red); }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: var(--s-4);
  background: var(--surface);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: var(--s-2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Split (text + media) ---------- */
.split {
  display: grid;
  gap: var(--s-5);
  align-items: center;
}
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.25fr; gap: var(--s-7); } }

/* ---------- Video facade (lite YouTube) ---------- */
.yt {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  overflow: hidden;
  cursor: pointer;
}
.yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out), opacity var(--t-med) var(--ease-out);
  opacity: 0.85;
}
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.yt .play span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 59, 78, 0.92);
  box-shadow: 0 0 0 8px rgba(255, 59, 78, 0.18), 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: transform var(--t-fast) var(--ease-out);
}
.yt:hover .play span { transform: scale(1.08); }
.yt .play svg { width: 30px; height: 30px; margin-left: 4px; color: #fff; }
.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Rooms / gear ---------- */
.rooms {
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 900px) { .rooms { grid-template-columns: repeat(3, 1fr); } }

.room {
  display: flex;
  flex-direction: column;
  padding: var(--s-5);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan-deep);
  border-radius: var(--radius);
}
.room:nth-child(2) { border-top-color: var(--amber); }
.room:nth-child(3) { border-top-color: var(--red); }
.room-head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.room-head svg { width: 28px; height: 28px; color: var(--sepia); flex: none; }
.room h3 { margin: 0; }
.room p { color: var(--muted); }
.gear {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}
.gear li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.gear li:last-child { border-bottom: 0; }
.gear b { font-weight: 500; color: var(--text); }
.gear span { color: var(--faint); font-family: var(--font-mono); font-size: 0.8125rem; text-align: right; }

/* ---------- Photo preview strip (home) ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2);
}
@media (min-width: 768px) { .strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .strip { grid-template-columns: repeat(6, 1fr); } }
.strip a {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
  transition: transform 500ms var(--ease-out), filter var(--t-med) var(--ease-out);
}
.strip a:hover img { transform: scale(1.05); filter: none; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  padding: var(--s-5);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-card svg { width: 28px; height: 28px; color: var(--cyan); margin-bottom: var(--s-3); }
.contact-card h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.contact-card a {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  text-decoration-color: var(--cyan);
  overflow-wrap: anywhere;
}
.contact-card a:hover { color: var(--cyan); }
.contact-card p { color: var(--muted); margin: var(--s-2) 0 0; }
.hours { margin: 0; padding: 0; list-style: none; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 6px 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.hours li b { color: var(--text); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: var(--s-6) var(--s-5);
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 59, 78, 0.18), transparent 55%),
    radial-gradient(120% 140% at 0% 100%, rgba(62, 230, 240, 0.14), transparent 55%),
    var(--surface);
  text-align: center;
}
.cta-band h2 { margin-bottom: var(--s-2); }
.cta-band p { color: var(--muted); margin-inline: auto; max-width: 52ch; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Gallery (images.html) ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.chip {
  min-height: 44px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 500 0.9375rem/1 var(--font-body);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
}
.chip:hover { color: var(--text); border-color: var(--faint); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.gallery {
  columns: 2 160px;
  column-gap: var(--s-3);
}
@media (min-width: 768px) { .gallery { columns: 3 220px; } }
@media (min-width: 1100px) { .gallery { columns: 4 240px; } }

.gallery figure {
  break-inside: avoid;
  margin: 0 0 var(--s-3);
}
.gallery figure[hidden] { display: none; }
.gallery button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
}
.gallery img {
  width: 100%;
  transition: transform 500ms var(--ease-out), opacity var(--t-med);
}
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption {
  padding: var(--s-2) 2px 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5, 4, 3, 0.96);
  color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: lb-in var(--t-med) var(--ease-out);
}
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
}
.lb-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 var(--s-3);
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.lb-caption {
  padding: var(--s-3);
  text-align: center;
  color: var(--text);
}
.lb-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(20, 18, 14, 0.85);
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.lb-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lb-prev { left: var(--s-3); }
.lb-next { right: var(--s-3); }

/* ---------- Video page ---------- */
.video-layout {
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 1024px) { .video-layout { grid-template-columns: 1.7fr 1fr; align-items: start; } }

.now-playing h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: var(--s-4) 0 var(--s-2); }
.now-playing p { color: var(--muted); }

.playlist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--s-2);
}
.playlist button {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--s-3);
  align-items: center;
  width: 100%;
  padding: var(--s-2);
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.playlist button:hover { background: var(--surface-2); }
.playlist button[aria-current="true"] {
  background: var(--surface-2);
  border-color: var(--line);
  box-shadow: inset 3px 0 0 var(--red);
}
.playlist .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}
.playlist .thumb img { width: 100%; height: 100%; object-fit: cover; }
.playlist .now {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  font: 600 0.6875rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: none;
}
.playlist button[aria-current="true"] .now { display: block; }
.playlist strong { display: block; font-weight: 600; line-height: 1.35; }
.playlist small { display: block; margin-top: 4px; color: var(--faint); font-family: var(--font-mono); font-size: 0.75rem; }

.video-grid {
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
.video-grid h3 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; margin: var(--s-3) 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: var(--s-6) var(--s-5);
  border-top: 1px solid var(--line);
  background: #070605;
  color: var(--muted);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid img { width: 200px; margin-bottom: var(--s-3); }
.footer-grid h2 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: var(--s-3);
}
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin-bottom: var(--s-2); }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--cyan); text-decoration: underline; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--faint);
}
.footer-base em { font-family: var(--font-display); font-style: italic; color: var(--sepia); font-size: 0.9375rem; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* Footer social link */
.footer-grid a.social { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 32px; }
.footer-grid a.social svg { width: 20px; height: 20px; color: #4f8ef7; }
