/* Fonts are self-hosted (latin subsets from Google Fonts) and preloaded in each page's head,
   so text doesn't reflow when they arrive. */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/anton.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/inter-tight.woff2) format("woff2"); }
@font-face { font-family: "VT323"; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/vt323.woff2) format("woff2"); }
@font-face { font-family: "Reem Kufi"; font-style: normal; font-weight: 700; font-display: swap; src: url(../assets/fonts/reem-kufi-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Reem Kufi"; font-style: normal; font-weight: 700; font-display: swap; src: url(../assets/fonts/reem-kufi-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ZA'EER: mobile-first, dark, VHS and glitch */

:root {
  --bg: #0d0907;
  --bg-2: #16100b;
  --bg-3: #201711;
  --line: rgba(230, 218, 194, 0.14);
  --bone: #e6dac2;
  --bone-dim: rgba(230, 218, 194, 0.64);
  --bone-faint: rgba(230, 218, 194, 0.58);
  --neon: #c9a227;
  --neon-ink: #0d0907;
  --neon-glow: rgba(212, 175, 55, 0.55);
  --violet: #e6c766;
  --violet-glow: #d4af37;
  --violet-deep: #0b301e;
  --violet-line: rgba(230, 199, 102, 0.35);
  --red: #ff2a4f;
  --cyan: #2ea05a;

  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-mono: "VT323", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-body: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;

  --gutter: 16px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --header-h: calc(56px + var(--safe-t));
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--bone); }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100svh;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

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

/* ---------- Global VHS film: scanlines + grain + vignette ---------- */

.film {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
}
.film::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 1px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0) 3px
  );
  mix-blend-mode: multiply;
  opacity: 0.6;
}
.film::after {
  content: "";
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.07;
  animation: grain 0.9s steps(6) infinite;
}
.vignette {
  pointer-events: none; position: fixed; inset: 0; z-index: 89;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-6%, 4%); }
  40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); }
  80% { transform: translate(7%, 2%); }
  100% { transform: translate(0, 0); }
}

/* Screen tear: JS toggles .tear on <body> briefly */
.tear-band {
  pointer-events: none;
  position: fixed; left: 0; right: 0; z-index: 91;
  height: 16px; top: 0;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.32), rgba(46, 160, 90, 0.3));
  mix-blend-mode: screen;
  opacity: 0; transform: translateY(30vh) scaleY(0);
}
/* Transform-only, so the tear never counts as a layout shift. */
body.tear .tear-band { opacity: 1; animation: band 0.32s steps(4) 1; }
@keyframes band {
  0% { transform: translate(-10.2px, 22vh); }
  50% { transform: translate(8.5px, 61vh) scaleY(0.28); }
  100% { transform: translate(-3.4px, 44vh); }
}

/* ---------- Glitch text ---------- */

.glitch { position: relative; display: inline-block; }
.glitch::before,
.glitch::after {
  content: attr(data-text) / "";
  position: absolute; inset: 0;
  pointer-events: none;
}
.glitch::before {
  color: var(--violet-glow);
  mix-blend-mode: screen;
  animation: glitch-a 3.9s infinite steps(1);
  animation-delay: var(--gd, 0s);
}
.glitch::after {
  color: var(--neon);
  mix-blend-mode: screen;
  animation: glitch-b 3.35s infinite steps(1);
  animation-delay: var(--gd, 0s);
}
/* Only the coloured copies behind a heading move; the heading's own letters never shift. */
@keyframes glitch-a {
  0%, 78%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  79% { transform: translate(-5px, 0); clip-path: inset(12% 0 62% 0); }
  82% { transform: translate(3.5px, 0); clip-path: inset(58% 0 20% 0); }
  85% { transform: translate(-2.5px, 0); clip-path: inset(34% 0 44% 0); }
  88% { transform: translate(6px, 0); clip-path: inset(80% 0 4% 0); }
  91% { transform: translate(-4px, 0); clip-path: inset(4% 0 82% 0); }
  94% { transform: translate(2.5px, 0); clip-path: inset(46% 0 38% 0); }
}
@keyframes glitch-b {
  0%, 70%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  71% { transform: translate(5px, 0); clip-path: inset(70% 0 10% 0); }
  74% { transform: translate(-3.5px, 0); clip-path: inset(6% 0 76% 0); }
  77% { transform: translate(2.5px, 0); clip-path: inset(44% 0 30% 0); }
  80% { transform: translate(-5.5px, 0); clip-path: inset(22% 0 60% 0); }
  83% { transform: translate(3px, 0); clip-path: inset(86% 0 2% 0); }
}
.glitch.hot::before { animation-duration: 0.9s; }
.glitch.hot::after { animation-duration: 0.7s; }

/* ---------- Top bar ---------- */

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  padding: var(--safe-t) var(--gutter) 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.solid {
  background: rgba(13, 9, 7, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
}
.back-btn {
  width: 44px; height: 44px; margin-left: -12px; margin-right: 2px; flex: none;
  display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
}
.back-btn svg, .sheet .close svg { width: 24px; height: 24px; fill: none; stroke: var(--bone); stroke-width: 2; stroke-linecap: square; }
.back-btn:active { opacity: 0.6; }
body.menu-open .back-btn { visibility: hidden; }
.topbar .brand { margin-right: auto; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-lion { width: 34px; height: auto; }
.brand-word { width: 76px; height: auto; }

.nav-inline { display: none; }
.top-actions { display: flex; align-items: center; gap: 6px; }
.pill {
  font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--neon-ink); background: var(--neon);
  padding: 0 12px; min-height: 36px; display: inline-flex; align-items: center;
}
.menu-btn {
  width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; position: relative; z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn i { display: block; width: 24px; height: 2px; background: var(--bone); transition: transform 0.3s var(--ease); }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99;
  background: radial-gradient(120% 70% at 100% 100%, rgba(11, 48, 30, 0.9), var(--bg) 70%);
  padding: calc(var(--header-h) + 20px) var(--gutter) calc(24px + var(--safe-b));
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity 0.3s var(--ease);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  touch-action: pan-y;
}
.menu[hidden] { display: none; }
.menu.open { opacity: 1; }
.menu::before {
  content: ""; position: fixed; right: 0; bottom: 6%; width: 70%; aspect-ratio: 1;
  background: url("../assets/zaeer-lion.svg") center / contain no-repeat; opacity: 0.05; pointer-events: none;
}
body.menu-open { overflow: hidden; }
body.menu-open .topbar { background: var(--bg); border-color: var(--line); }
body.menu-open .pill { visibility: hidden; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(48px, 15vw, 96px); line-height: 1;
  padding: 6px 0; border-bottom: 1px solid var(--line);
  transform: translateY(14px); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.menu.open .menu-links a { transform: none; opacity: 1; }
.menu.open .menu-links a:nth-child(2) { transition-delay: 0.04s; }
.menu.open .menu-links a:nth-child(3) { transition-delay: 0.08s; }
.menu.open .menu-links a:nth-child(4) { transition-delay: 0.12s; }
.menu.open .menu-links a:nth-child(5) { transition-delay: 0.16s; }
.menu-links a[aria-current="page"] { color: var(--violet); }
.menu-next {
  margin-top: auto; padding-top: 28px; display: grid; gap: 4px;
  border-top: 0;
}
.menu-next span { font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bone-dim); }
.menu-next span:first-child { color: var(--violet); }
.menu-next b { font-family: var(--f-display); font-weight: 400; font-size: 30px; text-transform: uppercase; line-height: 1; }
.menu-foot {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bone-dim);
}
.menu-foot a { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 900px) {
  .nav-inline { display: flex; gap: 28px; margin-left: auto; margin-right: 22px; }
  .nav-inline a {
    font-family: var(--f-mono); font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bone-dim);
    padding: 8px 0; border-bottom: 1px solid transparent;
  }
  .nav-inline a:hover, .nav-inline a[aria-current="page"] { color: var(--bone); border-color: var(--bone); }
  .menu-btn, .menu, .back-btn { display: none; }
  .topbar .brand { margin-right: 0; }
}



/* ---------- Layout primitives ---------- */

main { position: relative; z-index: 1; }
.wrap { padding: 0 var(--gutter); max-width: 720px; margin: 0 auto; }
.section { padding-top: 56px; padding-bottom: 8px; }
.eyebrow {
  font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--bone-dim);
  display: flex; align-items: center; gap: 10px;
}
.h-display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0.005em;
  margin: 12px 0 0;
}
.h-xl { font-size: clamp(56px, 19vw, 132px); }
.h-l { font-size: clamp(44px, 13.5vw, 96px); }
.h-m { font-size: clamp(32px, 9.5vw, 64px); }
.lead { color: var(--bone-dim); font-size: 17px; line-height: 1.55; margin: 16px 0 0; max-width: 34em; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.link-arrow {
  font-family: var(--f-mono); font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--bone); white-space: nowrap; padding: 10px 0;
  display: inline-flex; align-items: center; gap: 8px;
}
.link-arrow { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 22px;
  font-family: var(--f-display); font-size: 21px; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid var(--bone);
  color: var(--bone);
  position: relative;
  transition: transform 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--neon); border-color: var(--neon); color: var(--neon-ink);
}
.btn-block { width: 100%; }
.btn-ghost { background: transparent; }
.btn small { font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; opacity: 0.75; }

/* ---------- Hero (VHS) ---------- */

.hero {
  position: relative;
  height: 100svh; min-height: 600px; max-height: 940px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  position: absolute; inset: 0; opacity: 0;
  animation: cam-drift 9s ease-in-out infinite alternate;
}
.hero-media img.on { opacity: 1; }
@keyframes cam-drift {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9) contrast(1.15) brightness(0.62);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(13, 9, 7, 0.65) 0%, rgba(13, 9, 7, 0) 22%),
    linear-gradient(to top, var(--bg) 4%, rgba(13, 9, 7, 0.55) 38%, rgba(13, 9, 7, 0) 64%);
}


.hero-lockup {
  padding: 0 var(--gutter);
  margin-bottom: 64px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-lion {
  width: 56px; margin-bottom: 14px;
  animation: lion-flicker 6.9s infinite steps(1);
}
@keyframes lion-flicker {
  0%, 92%, 100% { opacity: 1; transform: none; }
  93% { opacity: 0.4; transform: translateX(2.55px); }
  94% { opacity: 1; transform: translateX(-1.7px) skewX(-5.1deg); }
  95% { opacity: 0.8; transform: none; }
}
.hero-title { margin: 0; line-height: 0; }
.hero-title img {
  width: min(78vw, 520px); height: auto;
  animation: word-glitch 5.75s infinite steps(1);
}
@keyframes word-glitch {
  0%, 90%, 100% { transform: none; filter: none; }
  91% { transform: translateX(-2.55px); filter: drop-shadow(2.55px 0 0 rgba(201, 162, 39, 0.637)) drop-shadow(-2.55px 0 0 rgba(46, 160, 90, 0.637)); }
  93% { transform: translateX(1.7px) skewX(-3.4deg); filter: drop-shadow(-1.7px 0 0 rgba(201, 162, 39, 0.637)) drop-shadow(1.7px 0 0 rgba(46, 160, 90, 0.637)); }
  95% { transform: none; filter: drop-shadow(0.85px 0 0 rgba(201, 162, 39, 0.51)); }
}
.hero-sub {
  margin-top: 14px;
  font-family: var(--f-mono); font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--bone-dim);
}


/* ---------- Ticker ---------- */

.ticker-track {
  display: flex; width: max-content;
  animation: ticker 26s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Lineup type block (Boiler Room-style names) ---------- */

.lineup {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(40px, 12.5vw, 88px); line-height: 0.92;
  margin: 18px 0 0;
}
.lineup a { display: block; transition: color 0.2s; }
.lineup a:active { color: var(--violet); }
.lineup sup {
  font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; vertical-align: top;
  color: var(--bone-faint); margin-left: 6px; position: relative; top: 0.6em;
}

/* ---------- Event list ---------- */

.events { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.event {
  display: grid; grid-template-columns: 64px 1fr 88px; gap: 14px; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  width: 100%; text-align: left;
}
.event:active { background: var(--bg-2); }
.event .date { font-family: var(--f-mono); line-height: 1.1; text-transform: uppercase; }
.event .date .d { font-family: var(--f-display); font-size: 40px; display: block; line-height: 0.9; }
.event .date .m { font-size: 11px; letter-spacing: 0.16em; color: var(--bone-dim); }
.event .info .t {
  display: block; font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: 1; margin: 0; text-transform: uppercase;
}
.event .info .p { display: block; margin: 6px 0 0; font-size: 13px; color: var(--bone-dim); line-height: 1.35; }
.event .thumb { width: 88px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.event .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); transition: filter 0.3s; }
.event:hover .thumb img, .event:focus-visible .thumb img { filter: none; }

/* Filter chips (events page) */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; touch-action: pan-x pan-y; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; margin: 22px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font-family: var(--f-mono); font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 10px 14px; min-height: 40px; color: var(--bone-dim);
}
.chip[aria-pressed="true"] { background: var(--bone); color: var(--bg); border-color: var(--bone); }

/* ---------- Reels (past nights, horizontal snap) ---------- */

.reels {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
  touch-action: pan-x pan-y; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scroll-padding-left: var(--gutter);
  margin: 18px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px;
  cursor: grab;
  scrollbar-width: none;
}
.reels::-webkit-scrollbar { display: none; }
.reel {
  flex: none; width: 68vw; max-width: 300px; aspect-ratio: 9 / 16;
  scroll-snap-align: start; position: relative; overflow: hidden; background: var(--bg-3);
  text-align: left;
}
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.reel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 9, 7, 0.92), rgba(13, 9, 7, 0) 55%);
}
.reel .cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; }
.reel .cap small { font-family: var(--f-mono); font-size: 16px; letter-spacing: 0.04em; color: var(--bone-dim); text-transform: uppercase; }
.reel .cap b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 0.95; text-transform: uppercase; margin-top: 4px; }
.reel .play {
  position: absolute; top: 12px; left: 12px; z-index: 1; color: var(--red);
  font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em;
  padding: 5px 8px; background: var(--bg); border: 1px solid rgba(201, 162, 39, 0.5);
}

/* ---------- DJ roster ---------- */

.dj-entry { display: grid; gap: 12px; align-content: start; min-width: 0; }

/* The set player built into M4ZE's card */
.dj.has-set .body { bottom: 96px; }
.dj.has-set::after { background: linear-gradient(to top, rgba(13, 9, 7, 0.98) 0%, rgba(13, 9, 7, 0.9) 30%, rgba(13, 9, 7, 0.55) 48%, rgba(13, 9, 7, 0) 70%); }
.dj .tape-mini {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 10px 12px; background: rgba(13, 9, 7, 0.72); border: 1px solid rgba(230, 218, 194, 0.16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.tape-mini .tape-play {
  width: 48px; height: 48px; min-width: 0; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer;
  background: var(--neon); color: var(--neon-ink);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.tape-mini .tape-play svg { width: 20px; height: 20px; fill: currentColor; }
.tape-mini .tape-play .i-pause, .tape-mini.playing .tape-play .i-play { display: none; }
.tape-mini.playing .tape-play .i-pause { display: block; }
.tape-mini .tape-play:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.tape-mini-mid { display: grid; gap: 5px; min-width: 0; }
.tape-mini-label { font-family: var(--f-mono); font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--violet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tape-mini .tape-wave { height: 26px; margin: 0; }
.tape-mini .tape-head-line { top: -3px; bottom: -3px; }
.tape-mini .tape-time { display: grid; justify-items: end; font-size: 16px; line-height: 1.1; }
.tape-mini .tape-total { color: var(--bone-faint); }

.roster { display: grid; gap: 14px; margin-top: 18px; }
.dj {
  position: relative; overflow: hidden; background: var(--bg-3);
  aspect-ratio: 4 / 5; display: block; text-align: left; width: 100%;
}
.dj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) contrast(1.05) brightness(0.95); transition: filter 0.4s var(--ease), transform 0.6s var(--ease); }
.dj:hover img, .dj.in-view img { filter: none; }
.dj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 9, 7, 0.95) 0%, rgba(13, 9, 7, 0.6) 22%, rgba(13, 9, 7, 0) 45%); }
.dj img { object-position: center 30%; }
/* DJ photos stay clean: no halftone dots or tint, so faces read clearly. */
.dj .ht { display: none; }
/* The FOMO clip sits over the photo and fades in once it has frames to show. */
.dj video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); }
.dj video.playing { opacity: 1; }
.dj h2 { color: var(--bone); }
.dj .body { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; }
.dj .role, .dj .line { display: block; }
.dj .role { font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--violet); }
.dj h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(54px, 17vw, 96px); line-height: 0.85; margin: 6px 0 6px; text-transform: uppercase; }
.dj .line { color: var(--bone-dim); font-size: 14px; }
.dj .ig {
  position: absolute; top: 12px; left: 12px; z-index: 1; color: var(--bone);
  font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; padding: 6px 8px;
  background: rgba(13, 9, 7, 0.6); border: 1px solid var(--line);
}
.dj-detail p { color: var(--bone-dim); }

/* ---------- Story ---------- */

.manifesto {
  font-family: var(--f-display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(26px, 7.6vw, 52px); line-height: 1; margin: 22px 0 0;
}
.manifesto em { font-style: normal; }
.manifesto .hl { color: var(--violet); }
.split-img { position: relative; margin-top: 26px; aspect-ratio: 4 / 5; overflow: hidden; }
.split-img img, .split-img video { width: 100%; height: 100%; object-fit: cover; }

/* Full-set player: a camcorder viewfinder over a playback strip, in the same language as the reels and call-outs */
.set-slot { margin-top: 22px; }
.dj-detail .set-slot { margin: 14px 0 8px; }
.tape { --pos: 0; position: relative; }
.tape-screen {
  --bracket: rgba(230, 218, 194, 0.85);
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3);
}
.tape-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1) contrast(1.15) brightness(0.62); transform: scale(1.02); transition: filter 0.6s var(--ease), transform 8s linear; }
.tape.playing .tape-screen img { filter: grayscale(0.2) contrast(1.05) brightness(0.72); transform: scale(1.08); }
.tape-screen::before {
  content: ""; position: absolute; inset: 12px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--bracket), var(--bracket)) top left / 20px 2px,
    linear-gradient(var(--bracket), var(--bracket)) top left / 2px 20px,
    linear-gradient(var(--bracket), var(--bracket)) top right / 20px 2px,
    linear-gradient(var(--bracket), var(--bracket)) top right / 2px 20px,
    linear-gradient(var(--bracket), var(--bracket)) bottom left / 20px 2px,
    linear-gradient(var(--bracket), var(--bracket)) bottom left / 2px 20px,
    linear-gradient(var(--bracket), var(--bracket)) bottom right / 20px 2px,
    linear-gradient(var(--bracket), var(--bracket)) bottom right / 2px 20px;
  background-repeat: no-repeat;
}
.tape-screen::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(13, 9, 7, 0.92) 0%, rgba(13, 9, 7, 0.2) 55%, rgba(13, 9, 7, 0.45) 100%); }
.tape-osd { position: absolute; top: 24px; left: 26px; right: 26px; z-index: 3; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--bone); }
.tape-state i { font-style: normal; }
.tape-state .st-play, .tape.playing .tape-state .st-stop { display: none; }
.tape.playing .tape-state .st-play { display: inline; color: var(--violet); animation: tape-blink 1.2s steps(1) infinite; }
@keyframes tape-blink { 50% { opacity: 0.25; } }
.tape-date { position: absolute; right: 26px; bottom: 24px; z-index: 3; font-family: var(--f-mono); font-size: 20px; letter-spacing: 0.05em; color: var(--bone-dim); }
.tape-title { position: absolute; left: 26px; right: 90px; bottom: 22px; z-index: 3; display: grid; gap: 2px; }
.tape-kicker { font-family: var(--f-mono); font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--violet); }
.tape-title b { font-family: var(--f-display); font-weight: 400; font-size: clamp(56px, 18vw, 104px); line-height: 0.82; text-transform: uppercase; color: var(--bone); }
.tape-sub { font-family: var(--f-display); font-size: 24px; line-height: 1; text-transform: uppercase; color: var(--bone-dim); }
.tape-deck { padding: 16px 0 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.tape-wave { position: relative; display: flex; align-items: center; gap: 1px; height: 52px; cursor: pointer; touch-action: none; }
.tape-wave:focus-visible { outline: 2px solid var(--violet-glow); outline-offset: 4px; }
.tape-wave i { flex: 1; height: calc(var(--h) * 100%); min-height: 3px; background: rgba(230, 218, 194, 0.24); transition: background 0.2s; }
.tape-wave i.on { background: var(--violet-glow); }
.tape-wave:hover i:not(.on) { background: rgba(230, 218, 194, 0.36); }
.tape-head-line { position: absolute; top: -5px; bottom: -5px; left: calc(var(--pos) * 100%); width: 2px; background: var(--bone); pointer-events: none; }
.tape-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.tape-play { display: inline-flex; align-items: center; gap: 10px; min-width: 140px; justify-content: center; }
.tape-play svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.tape-play .i-pause, .tape.playing .tape-play .i-play { display: none; }
.tape.playing .tape-play .i-pause { display: block; }
.tape.loading .tape-play { opacity: 0.75; }
.tape-time { font-family: var(--f-mono); font-size: 20px; letter-spacing: 0.05em; color: var(--bone-dim); }
.tape-cur { color: var(--violet); }
@media (max-width: 420px) { .tape-wave i:nth-child(2n) { display: none; } }
@media (prefers-reduced-motion: reduce) { .tape.playing .tape-state .st-play { animation: none; } .tape-screen img { transition: none; } }

/* Sound toggle on event teasers */
.sheet .media .sound {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; min-height: 40px; padding: 8px 12px;
  font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--bone); background: rgba(13, 9, 7, 0.7); border: 1px solid var(--line); cursor: pointer;
}
.sheet .media .sound[aria-pressed="true"] { background: var(--neon); color: var(--neon-ink); border-color: var(--neon); }
.split-img figcaption {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(13, 9, 7, 0.65); padding: 6px 8px;
}
.pillars { list-style: none; padding: 0; margin: 22px 0 0; counter-reset: p; }
.pillars li { border-top: 1px solid var(--line); padding: 18px 0 18px 44px; position: relative; counter-increment: p; }
.pillars li::before {
  content: "0" counter(p); position: absolute; left: 0; top: 20px;
  font-family: var(--f-mono); font-size: 19px; color: var(--violet);
}
.pillars h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 28px; text-transform: uppercase; line-height: 1; }
.pillars p { margin: 8px 0 0; color: var(--bone-dim); font-size: 15px; }

/* ---------- CTA band ---------- */

.cta-band {
  margin-top: 56px; padding: 30px var(--gutter) 34px;
  background:
    linear-gradient(160deg, rgba(11, 48, 30, 0.82), rgba(13, 9, 7, 0.94) 70%),
    url("../assets/m4ze-jungle-1.jpg") center 30% / cover;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.cta-band .h-display { margin-bottom: 14px; }
.cta-band p { color: var(--bone-dim); margin: 0 0 22px; }

/* ---------- Page header (inner pages) ---------- */

.page-head { padding-top: calc(var(--header-h) + 28px); padding-bottom: 4px; }
.page-head .h-display { margin-top: 14px; }

/* ---------- Forms ---------- */

.form { margin-top: 24px; display: grid; gap: 18px; }
.step-label {
  font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--violet);
  border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px;
}
.field { display: grid; gap: 8px; }
.field label, .field legend {
  font-family: var(--f-mono); font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(230, 218, 194, 0.82);
}
.form > .step-label:first-child { border-top: 0; padding-top: 6px; }
.field .opt { color: var(--bone-faint); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px;
  background: var(--bg-2); color: var(--bone);
  border: 1px solid var(--line); border-radius: 0;
  padding: 14px 14px;
  font: 16px/1.4 var(--f-body);
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--bone) 50%), linear-gradient(135deg, var(--bone) 50%, transparent 50%);
  background-position: calc(100% - 20px) 24px, calc(100% - 15px) 24px;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--bone);
  box-shadow: 2px 0 0 var(--violet-glow), -2px 0 0 var(--neon);
}
.field input::placeholder, .field textarea::placeholder { color: var(--bone-faint); }
.field .hint { font-size: 13px; color: var(--bone-faint); }
.field .err { font-size: 13px; color: var(--red); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field.invalid .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick label {
  font-family: var(--f-mono); font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 11px 13px; min-height: 44px; display: inline-flex; align-items: center;
  color: var(--bone-dim); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pick input:checked + label { background: var(--bone); color: var(--bg); border-color: var(--bone); }
.pick input:focus-visible + label { outline: 2px solid var(--neon); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--bone-dim); }
.check input { width: 22px; height: 22px; min-height: 0; flex: none; accent-color: var(--neon); margin-top: 1px; }

/* ---------- Application form (professional layout) ---------- */

.apply-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: st; }
.apply-steps li { background: var(--bg); padding: 12px 10px; display: grid; gap: 2px; counter-increment: st; }
.apply-steps li::before { content: "0" counter(st) / ""; font-family: var(--f-mono); font-size: 16px; color: var(--violet); }
.apply-steps b { font: 600 14px/1.2 var(--f-body); color: var(--bone); }
.apply-steps span { font-size: 12px; line-height: 1.3; color: var(--bone-faint); }

.form-pro { gap: 20px; }
.form-note { margin: 0; font-size: 14px; color: var(--bone-dim); }
.form-step { margin: 0; padding: 22px 16px 24px; border: 1px solid var(--line); background: rgba(230, 218, 194, 0.025); display: grid; gap: 20px; min-width: 0; }
.form-step > legend {
  float: left; width: 100%; padding: 0 0 2px; margin: 0;
  font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1; text-transform: uppercase; color: var(--bone);
  display: flex; align-items: baseline; gap: 10px;
}
.form-step > legend + * { clear: both; }
.form-step > legend .n { font-family: var(--f-mono); font-size: 18px; color: var(--violet); }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .form-step { padding: 28px 28px 30px; }
}

.form-pro .field { gap: 7px; }
.form-pro .field > label, .form-pro .field > legend, .form-pro legend.sub {
  font: 600 15px/1.3 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--bone); padding: 0;
}
.form-pro .field .opt { font-weight: 400; color: var(--bone-faint); }
.form-pro .field input, .form-pro .field select, .form-pro .field textarea {
  min-height: 50px; padding: 12px 14px; border-radius: 4px; border-color: rgba(230, 218, 194, 0.22); background: rgba(13, 9, 7, 0.6);
}
.form-pro .field select { background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; }
.form-pro .field input:hover, .form-pro .field select:hover, .form-pro .field textarea:hover { border-color: rgba(230, 218, 194, 0.4); }
.form-pro .field input:focus, .form-pro .field select:focus, .form-pro .field textarea:focus {
  border-color: var(--violet-glow); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}
.form-pro .field .hint { font-size: 13px; line-height: 1.4; color: var(--bone-dim); order: 0; }
.form-pro .field .err { font-size: 13px; font-weight: 600; color: #ff6b81; }
.form-pro .field .err::before { content: "! " / ""; }
.form-pro .field.invalid > input, .form-pro .field.invalid > select, .form-pro .field.invalid textarea, .form-pro .field.invalid .mix-pane input { border-color: #ff6b81; box-shadow: none; }
.form-pro .field.invalid { border-left: 3px solid #ff6b81; padding-left: 12px; margin-left: -15px; }
.form-pro .pick label {
  font: 500 14px/1.2 var(--f-body); letter-spacing: 0; text-transform: none; border-radius: 999px; padding: 10px 14px; min-height: 42px;
  border-color: rgba(230, 218, 194, 0.22);
}
.form-pro .pick input:checked + label { background: var(--violet-glow); border-color: var(--violet-glow); color: var(--neon-ink); }
.form-pro .pick input:checked + label::before { content: "✓ " / ""; white-space: pre; }
.form-pro .check { font-size: 14px; line-height: 1.45; color: var(--bone-dim); cursor: pointer; }
.form-pro .check input { accent-color: var(--violet-glow); }
.form-pro .check-wrap.invalid .check { color: var(--bone); }
.form-pro .count { justify-self: end; }

.error-summary { border: 2px solid #ff6b81; padding: 16px 16px 12px; background: rgba(255, 107, 129, 0.08); }
.error-summary:focus { outline: 3px solid rgba(255, 107, 129, 0.45); outline-offset: 2px; }
.error-summary h2 { margin: 0 0 8px; font: 600 17px/1.3 var(--f-body); color: var(--bone); }
.error-summary ul { margin: 0; padding-left: 18px; }
.error-summary li { margin: 4px 0; }
.error-summary a { color: #ff9aaa; font-size: 14px; text-underline-offset: 3px; }

.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid rgba(230, 218, 194, 0.22); border-radius: 6px; padding: 3px; gap: 3px; max-width: 340px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { font: 500 14px/1 var(--f-body); text-transform: none; letter-spacing: 0; text-align: center; padding: 11px 12px; border-radius: 4px; color: var(--bone-dim); cursor: pointer; }
.seg input:checked + label { background: var(--bone); color: var(--bg); }
.seg input:focus-visible + label { outline: 2px solid var(--violet-glow); outline-offset: 1px; }
.mix-pane { display: grid; gap: 7px; }
.mix-pane[hidden] { display: none; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.drop {
  display: grid; justify-items: center; gap: 6px; text-align: center; cursor: pointer; text-transform: none; letter-spacing: 0;
  padding: 26px 16px; border: 1.5px dashed rgba(230, 218, 194, 0.35); border-radius: 6px; background: rgba(13, 9, 7, 0.45);
  transition: border-color 0.2s, background 0.2s;
}
.drop[hidden] { display: none; }
.drop svg { width: 28px; height: 28px; fill: none; stroke: var(--violet-glow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drop-main { font: 600 15px/1.3 var(--f-body); color: var(--bone); }
.drop-or { font-weight: 400; color: var(--bone-dim); }
.drop-sub { font-size: 12px; color: var(--bone-faint); }
.form-pro .field .drop { font-family: var(--f-body); font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--bone); }
.drop:hover, .drop.over { border-color: var(--violet-glow); background: rgba(212, 175, 55, 0.07); }
#mix-file-pane:has(.file-input:focus-visible) .drop { outline: 2px solid var(--violet-glow); outline-offset: 2px; }
.file-card { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: center; padding: 14px; border: 1px solid var(--violet-line); border-radius: 6px; background: rgba(11, 48, 30, 0.35); }
.file-card[hidden] { display: none; }
.file-meta { display: grid; gap: 3px; min-width: 0; }
.file-meta b { font: 600 14px/1.3 var(--f-body); color: var(--bone); overflow-wrap: anywhere; }
.file-meta span { font-size: 12px; color: var(--bone-dim); }
.file-meta span.warn { color: #f0c36b; }
.file-remove { background: none; border: 1px solid var(--line); color: var(--bone-dim); font: 500 13px/1 var(--f-body); padding: 9px 12px; border-radius: 4px; cursor: pointer; min-height: 36px; }
.file-remove:hover { color: var(--bone); border-color: var(--bone-dim); }
.file-card audio { grid-column: 1 / -1; width: 100%; height: 40px; color-scheme: dark; }
.form-fine { margin: -6px 0 0; font-size: 13px; line-height: 1.5; color: var(--bone-faint); text-align: center; }
.form-fine .demo { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 15px; letter-spacing: 0.03em; }

.progress {
  position: sticky; top: var(--header-h); z-index: 10;
  height: 3px; background: var(--line); margin: 0 calc(var(--gutter) * -1);
}
.progress i { display: block; height: 100%; width: 0; background: var(--violet-glow); box-shadow: 0 0 12px var(--violet-glow); transition: width 0.3s var(--ease); }

.received { text-align: left; padding: 30px 0 10px; }
.received .code {
  display: inline-block; font-family: var(--f-mono); font-size: 22px; letter-spacing: 0.04em;
  border: 1px dashed var(--violet); color: var(--violet); padding: 8px 12px; margin: 16px 0 4px;
}
.received ol { padding-left: 20px; color: var(--bone-dim); }
.received li { margin: 8px 0; }

.notice {
  font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; color: var(--bone-faint);
  border: 1px solid var(--line); padding: 10px 12px; margin-top: 18px;
}

/* ---------- Bottom sheet (event detail / RSVP) ---------- */

.sheet { position: fixed; inset: 0; z-index: 120; display: none; }
.sheet.open { display: block; }
.sheet .scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.9); opacity: 0; transition: opacity 0.25s; }
.sheet.open .scrim { opacity: 1; }
.sheet .panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 92svh; overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(to bottom, #0b301e 0, var(--bg) 70%);
  border-top: 1px solid var(--violet-line);
  transform: translateY(100%); transition: transform 0.35s var(--ease);
  padding-bottom: calc(24px + var(--safe-b));
  max-width: 720px; margin: 0 auto;
}
.sheet.open .panel { transform: none; }
.sheet .grab { width: 44px; height: 4px; background: var(--bone-faint); margin: 10px auto; }
.sheet .close {
  position: sticky; top: 10px; z-index: 3;
  margin: 10px 10px -54px auto;
  width: 44px; height: 44px; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 31px; background: rgba(13, 9, 7, 0.65); border: 1px solid var(--line);
}
.sheet .media { position: relative; height: 34svh; min-height: 200px; width: 100%; overflow: hidden; background: var(--bg-3); }
.sheet .media img, .sheet .media video { object-position: center 30%; }
.sheet .media img, .sheet .media video { width: 100%; height: 100%; object-fit: cover; }
.sheet .content { padding: 18px var(--gutter) 0; }
.sheet .content .lead { margin-bottom: 28px; }
.sheet .content h2 { font-family: var(--f-display); font-weight: 400; font-size: 46px; line-height: 0.9; text-transform: uppercase; margin: 10px 0 0; }
.sheet .actions {
  display: grid; gap: 10px; margin: 18px calc(var(--gutter) * -1) 0;
  position: sticky; bottom: calc(-24px - var(--safe-b)); z-index: 2;
  padding: 14px var(--gutter) calc(14px + var(--safe-b));
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.sheet .actions::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 40px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(13, 9, 7, 0), var(--bg));
}

body.locked { overflow: hidden; }

/* ---------- Footer ---------- */

.footer {
  position: relative; z-index: 95; background: var(--bg);
  padding: 64px var(--gutter) 30px; text-align: center;
}
.footer .big { width: 168px; height: auto; margin: 0 auto; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 30px; font-family: var(--f-mono); font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bone-dim); }
.footer nav a { padding: 8px 0; }
.footer small { display: block; margin-top: 22px; font-family: var(--f-mono); font-size: 16px; letter-spacing: 0.04em; color: var(--bone-faint); line-height: 1.7; }

/* ---------- Reveal on scroll ---------- */

/* Ink reveal: things print onto the page in a few rough passes */
.reveal { clip-path: inset(0 100% 0 0); }
.reveal.in { animation: print-in 0.62s steps(5, end) forwards; }
@keyframes print-in {
  0% { clip-path: inset(0 100% 0 0); translate: -4px 0; filter: contrast(1.6) brightness(1.3); }
  60% { clip-path: inset(0 8% 0 0); translate: 2px 0; }
  100% { clip-path: inset(-40px -40px -40px -40px); translate: 0 0; filter: none; }
}

/* ---------- Larger screens: keep the phone composition, widen gently ---------- */

@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .roster { grid-template-columns: 1fr 1fr; }
  .roster { gap: 34px 22px; align-items: start; }
  /* The resident leads: card and details side by side across the full width. */
  .roster .dj-entry:first-child { grid-column: span 2; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: end; }
  .roster .dj-entry:first-child .dj { aspect-ratio: 1 / 1; }
  .reel { width: 280px; }
  }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { clip-path: none; }
  html { scroll-behavior: auto; }
}

.field .check { font-family: var(--f-body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--bone-dim); }
.sheet .panel:focus { outline: none; }

.night { margin: 18px 0 0; }
.night div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.night dt { font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--violet); padding-top: 4px; }
.night dd { margin: 0; font-size: 17px; line-height: 1.45; }
.dj { scroll-margin-top: 72px; }

.reel::after, .reel .cap, .reel .play { pointer-events: none; }
.reels.dragging { cursor: grabbing; scroll-snap-type: none; }
.reels.dragging .reel { pointer-events: none; }
.scroller-nav { display: flex; gap: 6px; }
.scroller-nav button {
  width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line);
  -webkit-tap-highlight-color: transparent;
}
.scroller-nav button:disabled { opacity: 0.3; }
.scroller-nav svg { width: 18px; height: 18px; fill: none; stroke: var(--bone); stroke-width: 2; }
.row-head .scroller-nav { align-self: flex-end; margin-bottom: 4px; }

/* The tilted ticker is wider than the screen; contain it here instead of clipping the whole page. */

/* ---------- Extra glitch ---------- */

.glitch.hot::before { animation: glitch-a 0.7s steps(1) 1; animation-name: glitch-burst-a; }
.glitch.hot::after { animation: glitch-b 0.7s steps(1) 1; animation-name: glitch-burst-b; }
@keyframes glitch-burst-a {
  0% { transform: translate(-4.25px, 0); clip-path: inset(8% 0 64% 0); }
  20% { transform: translate(3.4px, 0); clip-path: inset(52% 0 22% 0); }
  40% { transform: translate(-2.55px, 0); clip-path: inset(30% 0 46% 0); }
  60% { transform: translate(5.1px, 0); clip-path: inset(76% 0 6% 0); }
  80% { transform: translate(-1.7px, 0); clip-path: inset(18% 0 70% 0); }
  100% { transform: none; clip-path: inset(0 0 100% 0); }
}
@keyframes glitch-burst-b {
  0% { transform: translate(4.25px, 0); clip-path: inset(66% 0 12% 0); }
  25% { transform: translate(-3.4px, 0); clip-path: inset(4% 0 80% 0); }
  50% { transform: translate(2.55px, 0); clip-path: inset(40% 0 36% 0); }
  75% { transform: translate(-4.25px, 0); clip-path: inset(84% 0 2% 0); }
  100% { transform: none; clip-path: inset(0 0 100% 0); }
}

.img-glitch { animation: img-glitch 0.48s steps(1) 1 !important; }
@keyframes img-glitch {
  0% { transform: translate(-5.1px, 0) skewX(-2.55deg); filter: drop-shadow(3.4px 0 0 rgba(201, 162, 39, 0.722)) drop-shadow(-3.4px 0 0 rgba(46, 160, 90, 0.595)) saturate(1.425); clip-path: inset(10% 0 42% 0); }
  20% { transform: translate(4.25px, 0); filter: hue-rotate(30deg) contrast(1.34); clip-path: inset(56% 0 6% 0); }
  40% { transform: translate(-2.55px, 0); filter: drop-shadow(-2.55px 0 0 rgba(201, 162, 39, 0.68)); clip-path: inset(0 0 68% 0); }
  60% { transform: translate(1.7px, 0) skewX(1.7deg); filter: contrast(1.51) brightness(1.17); clip-path: inset(28% 0 28% 0); }
  80% { transform: none; filter: drop-shadow(1.7px 0 0 rgba(46, 160, 90, 0.595)); clip-path: inset(0); }
  100% { transform: none; filter: none; clip-path: inset(0); }
}

/* VHS tracking bar rolling through the call-out panels */
.cta-band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 28px; top: -40px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(230, 199, 102, 0.16) 40%, rgba(230, 218, 194, 0.12) 50%, transparent);
  mix-blend-mode: screen;
  animation: tracking 6.5s linear infinite;
}
@keyframes tracking { 0% { top: -40px; } 70%, 100% { top: 110%; } }

.lineup a.glitch-line { position: relative; }

/* DJ cards and reels: a gentler tear, so the footage and faces stay readable. */
.dj .img-glitch, .reel .img-glitch { animation: img-glitch-soft 0.32s steps(1) 1 !important; }
/* DJ cards are calmer again: about 30% less movement and colour than the reels. */
.dj .img-glitch { animation-name: img-glitch-dj !important; }
@keyframes img-glitch-dj {
  0% { transform: translate(-1.5px, 0); filter: drop-shadow(1px 0 0 rgba(201, 162, 39, 0.32)) drop-shadow(-1px 0 0 rgba(46, 160, 90, 0.25)); clip-path: inset(10% 0 42% 0); }
  35% { transform: translate(1.3px, 0); filter: contrast(1.08); clip-path: inset(56% 0 6% 0); }
  70% { transform: none; filter: drop-shadow(0.7px 0 0 rgba(46, 160, 90, 0.25)); clip-path: inset(0); }
  100% { transform: none; filter: none; clip-path: inset(0); }
}
@keyframes img-glitch-soft {
  0% { transform: translate(-2.2px, 0); filter: drop-shadow(1.5px 0 0 rgba(201, 162, 39, 0.45)) drop-shadow(-1.5px 0 0 rgba(46, 160, 90, 0.35)); clip-path: inset(10% 0 42% 0); }
  35% { transform: translate(1.8px, 0); filter: contrast(1.12); clip-path: inset(56% 0 6% 0); }
  70% { transform: none; filter: drop-shadow(1px 0 0 rgba(46, 160, 90, 0.35)); clip-path: inset(0); }
  100% { transform: none; filter: none; clip-path: inset(0); }
}
/* DJ names over the footage: a faint split that fires about a third as often as other headings. */
.dj h2.glitch::before, .dj h2.glitch::after { opacity: 0.42; }
.dj h2.glitch:not(.hot)::before { animation-duration: 11.1s; }
.dj h2.glitch:not(.hot)::after { animation-duration: 9.6s; }

@media (prefers-reduced-motion: reduce) {
  .img-glitch { animation: none !important; }
}

.glitch-soft:not(.hot)::before, .glitch-soft:not(.hot)::after { animation: none; clip-path: inset(0 0 100% 0); }
.glitch.hot::before, .glitch.hot::after { animation-delay: 0s; }

/* ---------- Brand-specific pieces (camcorder OSD, ticket stub, viewfinder) ---------- */


/* On-screen-display status text instead of outlined tag pills */
.osd { display: inline-block; margin-top: 6px; font-family: var(--f-mono); font-size: 18px; text-transform: uppercase; color: var(--bone-faint); }
.osd.live { color: var(--violet); }

/* Ticket stub with perforation and notches */
.stub {
  position: relative; margin: 20px 0; padding: 16px 16px 14px;
  background: #170f13;
  border-top: 2px dashed var(--violet-line); border-bottom: 2px dashed var(--violet-line);
  font-family: var(--f-mono); text-transform: uppercase;
}
.stub::before, .stub::after {
  content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: #1d1218;
}
.stub::before { left: -11px; }
.stub::after { right: -11px; }
.stub div { display: flex; align-items: baseline; gap: 8px; padding: 3px 0; }
.stub dt { font-size: 18px; color: var(--bone-faint); white-space: nowrap; }
.stub dd { margin: 0 0 0 auto; font-size: 22px; color: var(--bone); text-align: right; }
.stub div { background-image: radial-gradient(circle, var(--bone-faint) 1px, transparent 1.2px); background-size: 6px 6px; background-repeat: repeat-x; background-position: 0 calc(100% - 7px); }
.stub dt, .stub dd { background: #170f13; padding: 0 4px; }

/* White diagonal tape across the bottom of the hero */
.ticker-wrap { position: relative; z-index: 3; overflow: hidden; margin-top: -34px; padding: 22px 0 18px; }
.ticker {
  background: var(--bone); color: var(--bg);
  transform: rotate(-3deg) scale(1.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}
.ticker-track { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.ticker-track span {
  font-family: var(--f-display); font-size: 28px; text-transform: uppercase; letter-spacing: 0.02em;
  padding: 9px 0 7px; white-space: nowrap;
}
.ticker-track span::after {
  content: ""; display: inline-block; width: 24px; height: 24px; margin: 0 18px; vertical-align: -3px;
  background: url("../assets/zaeer-lion.svg") center / contain no-repeat; filter: brightness(0);
}

/* Call-out panels framed like a camcorder viewfinder */
.cta-band {
  --bracket: rgba(230, 218, 194, 0.85);
  padding-top: 72px; padding-bottom: 46px;
}
.cta-band .wrap { position: relative; }
.cta-band::before {
  content: "\25CF REC"; position: absolute; top: 36px; left: calc(var(--gutter) + 22px); z-index: 1;
  font-family: var(--f-mono); font-size: 20px; color: var(--bone);
  animation: blink 1.2s steps(1) infinite;
}
.cta-band > .wrap::before {
  content: ""; position: absolute; inset: -30px -6px -26px; pointer-events: none;
  background:
    linear-gradient(var(--bracket), var(--bracket)) top left / 22px 2px,
    linear-gradient(var(--bracket), var(--bracket)) top left / 2px 22px,
    linear-gradient(var(--bracket), var(--bracket)) top right / 22px 2px,
    linear-gradient(var(--bracket), var(--bracket)) top right / 2px 22px,
    linear-gradient(var(--bracket), var(--bracket)) bottom left / 22px 2px,
    linear-gradient(var(--bracket), var(--bracket)) bottom left / 2px 22px,
    linear-gradient(var(--bracket), var(--bracket)) bottom right / 22px 2px,
    linear-gradient(var(--bracket), var(--bracket)) bottom right / 2px 22px;
  background-repeat: no-repeat;
}

/* 45-degree cuts taken from the lion mark */
.btn-primary, .pill { clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.pill { clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }

/* Arabic wordmark moment on the Story page */
.roar { margin-top: 26px; display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.roar b { font-family: "Reem Kufi", var(--f-display); font-weight: 700; font-size: clamp(88px, 30vw, 180px); line-height: 0.9; color: var(--violet); }
.roar span { font-family: var(--f-mono); font-size: 20px; text-transform: uppercase; color: var(--bone-dim); padding-bottom: 14px; line-height: 1.3; }

/* Secondary action reads as an OSD command, not an outlined box */
.btn-ghost {
  border: 0; min-height: 48px;
  font-family: var(--f-mono); font-size: 24px; letter-spacing: 0.02em; color: var(--bone-dim);
}
.btn-ghost::before { content: "+ "; color: var(--violet); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--bone); }
.roar b { padding-left: 0.12em; }

.btn-primary, .pill { box-shadow: none; }
.btn-primary:hover, .btn-primary:focus-visible { filter: drop-shadow(0 0 10px var(--neon-glow)); }
.pill { filter: drop-shadow(0 0 8px rgba(46, 160, 90, 0.25)); }

/* Consent checkbox: custom box with a neon tick (the input styles above strip the native one) */
.field .check input {
  width: 24px; height: 24px; min-height: 0; padding: 0; flex: none; margin-top: 1px;
  border: 1px solid var(--bone-faint); background: var(--bg-2);
  display: grid; place-content: center; cursor: pointer;
}
.field .check input::before {
  content: ""; width: 12px; height: 7px; margin-top: -3px;
  border-left: 3px solid var(--neon-ink); border-bottom: 3px solid var(--neon-ink);
  transform: rotate(-45deg) scale(0); transition: transform 0.15s var(--ease);
}
.field .check input:checked { background: var(--neon); border-color: var(--neon); }
.field .check input:checked::before { transform: rotate(-45deg) scale(1); }
@keyframes blink { 50% { opacity: 0.2; } }

/* Hero countdown: a camcorder timecode burned into the footage, no panel */
.hero-tc {
  display: grid; gap: 4px; margin-top: 22px; width: 100%;
  font-family: var(--f-mono); text-transform: uppercase; color: var(--bone);
  -webkit-tap-highlight-color: transparent;
}
/* Hold the countdown's and date's space before JS fills them, so the hero doesn't jump. */
.hero-tc[hidden] { display: grid; visibility: hidden; min-height: 156px; }
.hero-date:empty { display: block; min-width: 63px; min-height: 105px; }
.hero-tc-meta { font-size: 19px; line-height: 1.1; color: var(--bone-dim); }
.hero-tc-meta b { font-weight: 400; color: var(--neon); margin-right: 4px; animation: blink 1.2s steps(1) infinite; }
.hero-tc-time {
  display: flex; align-items: flex-start;
  font-size: clamp(54px, 17vw, 96px); line-height: 0.85; letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  text-shadow:
    -2px 0 0 rgba(201, 162, 39, 0.75),
    2px 0 0 rgba(46, 160, 90, 0.45),
    0 0 18px rgba(230, 218, 194, 0.35);
}
.hero-tc-time .g { display: inline-flex; flex-direction: column; align-items: center; }
.hero-tc-time .c { opacity: 0.55; margin: 0 0.04em; animation: blink 1s steps(1) infinite; }
.hero-tc-time small {
  font-size: 15px; line-height: 1; margin-top: 4px; letter-spacing: 0.06em;
  color: var(--bone-faint); text-shadow: none;
}
.hero-tc-go { font-size: 20px; color: var(--neon); margin-top: 6px; }
.hero-tc:active .hero-tc-time { transform: translateX(2px); }

/* Room for the countdown above the tape */
.hero-sub { margin-top: 12px; }


/* ---------- Poster brought to life ---------- */

/* Risograph-style misregistration on the big type */
.h-display, .poster-head, .hero-date b {
  text-shadow: -2.4px 1px 0 rgba(201, 162, 39, 0.55), 2.4px -1px 0 rgba(46, 160, 90, 0.34);
}
/* Smaller type keeps the lighter split so it stays easy to read. */
.poster-title, .manifesto {
  text-shadow: -1.7px 0.85px 0 rgba(201, 162, 39, 0.47), 1.7px -0.85px 0 rgba(46, 160, 90, 0.24);
}
.hero-title img, .hero-lion { filter: drop-shadow(-1.7px 0.85px 0 rgba(201, 162, 39, 0.47)) drop-shadow(1.7px -0.85px 0 rgba(46, 160, 90, 0.26)); }

/* Halftone print dots and a violet duotone over photos */
/* A fine, even print screen: smaller, lighter dots on a 3px grid that fade out towards the top
   of the photo, so faces and detail stay clean and the texture only sits in the shadows. */
.ht {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at center, rgba(13, 9, 7, 0.32) 0.6px, transparent 0.9px) 0 0 / 3px 3px;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.15) 100%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.15) 100%);
  mix-blend-mode: multiply;
}
.reel .cap, .reel .play, .dj .body, .dj .ig { z-index: 2; }

/* Hero head row: lion on the left, flyer date stacked on the right */
.hero-head { display: flex; align-items: flex-end; justify-content: space-between; width: 100%; margin-bottom: 14px; }
.hero-head .hero-lion { margin-bottom: 0; }
.hero-date { display: grid; justify-items: end; font-family: var(--f-display); text-transform: uppercase; line-height: 0.82; }
.hero-date b { font-weight: 400; }
.hero-date b:nth-child(1), .hero-date b:nth-child(3) { font-size: 26px; color: var(--bone-dim); letter-spacing: 0.04em; }
.hero-date b:nth-child(2) { font-size: 76px; color: var(--bone); }

/* Upcoming nights as flyers pasted on the wall */
.events.posters { border-top: 0; display: grid; gap: 34px; padding-top: 18px; }
/* Before main.js draws the posters, hold their height (4:5 each, 34px apart) so the page below doesn't jump. */
.page-head:has(#event-list[data-n]) { container-type: inline-size; }
html.js #event-list[data-n] { min-height: calc(var(--n) * 125cqw + (var(--n) - 1) * 34px + 18px); }
.events.posters li { list-style: none; }
.poster {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; text-align: left;
  background: var(--bg-3); overflow: hidden;
  transform: rotate(var(--tilt, -1deg));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  -webkit-tap-highlight-color: transparent;
}
.poster:active { transform: rotate(0deg) scale(0.99); }
.poster::before, .poster::after {
  content: ""; position: absolute; top: -8px; width: 82px; height: 26px; z-index: 4;
  background: rgba(230, 218, 194, 0.82); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.poster::before { left: 12%; transform: rotate(-6deg); }
.poster::after { right: 12%; transform: rotate(5deg); }
.poster-img { position: absolute; inset: 0; overflow: hidden; }
.poster-img img { width: 100%; height: 115%; object-fit: cover; margin-top: -7%; filter: grayscale(1) contrast(1.2) brightness(0.75); }
.poster-img::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(13, 9, 7, 0.95) 8%, rgba(13, 9, 7, 0.2) 55%, rgba(13, 9, 7, 0.55));
}
.poster-top, .poster-date, .poster-body { position: absolute; z-index: 3; }
.poster-top {
  top: 26px; left: 16px; right: 16px; display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 18px; text-transform: uppercase; color: var(--bone-dim);
}
.poster-date { top: 56px; left: 16px; display: grid; font-family: var(--f-display); text-transform: uppercase; line-height: 0.82; }
.poster-date b { font-weight: 400; }
.poster-date b:nth-child(1), .poster-date b:nth-child(3) { font-size: 30px; }
.poster-date b:nth-child(2) { font-size: 92px; }
.poster-body { left: 16px; right: 16px; bottom: 16px; display: grid; gap: 4px; }
.poster-title { font-family: var(--f-mono); font-size: 22px; text-transform: uppercase; color: var(--violet); text-shadow: none; }
.poster-head {
  font-family: var(--f-display); text-transform: uppercase; color: var(--bone);
  font-size: clamp(64px, 22vw, 128px); line-height: 0.82; letter-spacing: -0.01em;
}
.poster-with { font-family: var(--f-display); font-size: 26px; text-transform: uppercase; color: var(--bone-dim); }
.poster-foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 8px;
  padding-top: 8px; border-top: 1px solid rgba(230, 218, 194, 0.25);
  font-family: var(--f-mono); font-size: 17px; text-transform: uppercase; color: var(--bone-dim);
}
.poster-foot .osd { margin: 0; font-size: 17px; }

/* Torn paper edges on the call-out panels */
.torn {
  position: absolute; left: 0; right: 0; height: 14px; z-index: 2; pointer-events: none;
  background: var(--bg);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'><path d='M0 0H120V6L114 9L109 5L101 10L96 6L88 11L81 7L74 10L67 5L59 9L52 6L44 11L37 7L30 10L22 5L15 9L8 6L0 10Z'/></svg>") 0 0 / 120px 14px repeat-x;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'><path d='M0 0H120V6L114 9L109 5L101 10L96 6L88 11L81 7L74 10L67 5L59 9L52 6L44 11L37 7L30 10L22 5L15 9L8 6L0 10Z'/></svg>") 0 0 / 120px 14px repeat-x;
}
.torn-top { top: -1px; }
.torn-bottom { bottom: -1px; transform: scaleY(-1); }

/* DJ cards get a printed sticker for their role */
.dj .role {
  display: inline-block; justify-self: start; width: max-content;
  background: var(--neon); color: var(--neon-ink); padding: 2px 8px 0; transform: rotate(-3deg);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { animation: none; clip-path: none; }
  [data-depth] { translate: none !important; }
}

/* Instagram-matched palette: coral is the warm second accent from the flyers */
:root { --coral: #2ea05a; }
.hero-tc-meta b { color: var(--coral); }
.hero-tc-go { color: var(--violet); }
.osd.live { color: var(--coral); }
:focus-visible { outline-color: var(--violet); }


/* ---------- Ambient tape feel: slow and continuous instead of sudden ---------- */

/* A faint tracking band rolls down the screen, like a worn tape */
.film .roll {
  position: absolute; left: 0; right: 0; height: 90px; top: -90px;
  background: linear-gradient(to bottom, transparent, rgba(230, 218, 194, 0.035) 45%, rgba(230, 199, 102, 0.03) 55%, transparent);
  animation: roll 11s linear infinite;
}
@keyframes roll { to { top: 100%; } }

/* The wordmark's colour fringe breathes slowly between misregistered and true */
.hero-title { animation: breathe 7s ease-in-out infinite alternate; }
/* The hero wordmark as a raised sign: a stepped gold edge underneath (one 1px layer per step),
   the print misregistration, and a soft cast shadow. The misregistration still "breathes". */
.hero-title {
  --extrude: drop-shadow(0 1px 0 #e2bd52) drop-shadow(0 1px 0 #c39a2c) drop-shadow(0 1px 0 #9c7718) drop-shadow(0 1px 0 #745610) drop-shadow(0 1.5px 0 #45320a);
  filter: var(--extrude) drop-shadow(-1.2px 0.3px 0 rgba(201, 162, 39, 0.42)) drop-shadow(1.2px -0.3px 0 rgba(46, 160, 90, 0.25)) drop-shadow(0 16px 24px rgba(0, 0, 0, 0.6));
}
@keyframes breathe {
  from { filter: var(--extrude) drop-shadow(-0.6px 0 0 rgba(201, 162, 39, 0.35)) drop-shadow(0.6px 0 0 rgba(46, 160, 90, 0.2)) drop-shadow(0 16px 24px rgba(0, 0, 0, 0.6)); }
  to { filter: var(--extrude) drop-shadow(-1.8px 0.4px 0 rgba(201, 162, 39, 0.5)) drop-shadow(1.8px -0.4px 0 rgba(46, 160, 90, 0.3)) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.65)); }
}
/* Shading and a passing sheen, cut to the letter shapes with the wordmark as a mask. */
.hero-title { position: relative; display: inline-block; }
.hero-title::before, .hero-title::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("../assets/zaeer-wordmark.svg") left top / 100% 100% no-repeat;
  mask: url("../assets/zaeer-wordmark.svg") left top / 100% 100% no-repeat;
}
.hero-title::before { background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 30%, rgba(214, 190, 140, 0.55) 100%); mix-blend-mode: multiply; }
.hero-title::after {
  background: linear-gradient(105deg, transparent 38%, rgba(255, 246, 220, 0.85) 47%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 236, 190, 0.6) 53%, transparent 62%) -160% 0 / 260% 100% no-repeat;
  mix-blend-mode: screen; animation: sheen 7s ease-in-out 1.2s infinite;
}
@keyframes sheen { 0%, 70% { background-position: -160% 0; } 100% { background-position: 260% 0; } }
@media (prefers-reduced-motion: reduce) { .hero-title::after { animation: none; opacity: 0; } }

/* Handheld camcorder: the footage drifts by a pixel now and then */
.hero-media { animation: handheld 4.6s steps(1) infinite; }
@keyframes handheld {
  0%, 100% { transform: translate(0, 0); }
  23% { transform: translate(0.6px, -0.4px); }
  47% { transform: translate(-0.5px, 0.3px); }
  71% { transform: translate(0.3px, 0.6px); }
}

@media (prefers-reduced-motion: reduce) {
  .film .roll, .hero-title, .hero-media { animation: none; }
}

/* Plain fallbacks written by tools/build-seo.mjs for crawlers; main.js replaces them. */
/* With JavaScript on, they stay hidden so the page doesn't jump when the real content arrives. */
html.js .pre-list, html.js .pre-event, html.js .pre-dj, html.js .pre-link, html.js .pre-nav { display: none; }
.pre-list { list-style: none; padding: 0; margin: 0; }
.pre-event { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--bone-dim); text-decoration: none; font-size: 14px; }
.pre-event b { color: var(--bone); }
.pre-dj h2 { font-family: var(--f-display); font-weight: 400; font-size: 40px; text-transform: uppercase; margin: 24px 0 4px; }
.pre-dj p { color: var(--bone-dim); margin: 0; }

/* Unconfirmed nights and announcements */
.osd.tbc { color: var(--bone-dim); }
.tbc-note { font-size: 14px; color: var(--bone-dim); border-left: 2px solid var(--violet-line); padding-left: 12px; margin: 0 0 18px; }
.hero-tc-tba { font-size: 34px; letter-spacing: 0.04em; color: var(--bone); }
.announce { display: grid; grid-template-columns: 112px 1fr; gap: 16px; margin: 18px 0 8px; padding: 12px; border: 1px solid var(--violet-line); background: linear-gradient(135deg, rgba(11, 48, 30, 0.5), rgba(13, 9, 7, 0.2)); }
.announce-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--bg-3); }
.announce-media video { width: 100%; height: 100%; object-fit: cover; }
.announce-media .sound { position: absolute; left: 6px; right: 6px; bottom: 6px; min-height: 32px; padding: 6px; font-family: var(--f-mono); font-size: 15px; text-transform: uppercase; color: var(--bone); background: rgba(13, 9, 7, 0.75); border: 1px solid var(--line); cursor: pointer; }
.announce-media .sound[aria-pressed="true"] { background: var(--neon); color: var(--neon-ink); }
.announce-body { display: grid; align-content: start; gap: 6px; }
.announce-body h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 0.95; text-transform: uppercase; }
.announce-line { margin: 0; font-size: 15px; color: var(--bone); }
.announce-where { margin: 0 0 4px; font-size: 13px; color: var(--bone-dim); }
@media (min-width: 700px) { .announce { grid-template-columns: 180px 1fr; padding: 16px; } .announce-body h2 { font-size: 40px; } }
/* Same for the announcement card: hold its height (9:16 teaser plus padding and margins) until it's drawn. */
html.js [data-announce]:not(:has(.announce)) { min-height: calc(112px * 16 / 9 + 24px + 26px); }
@media (min-width: 700px) { html.js [data-announce]:not(:has(.announce)) { min-height: calc(180px * 16 / 9 + 32px + 26px); } }
.press-link { margin: 6px 0 4px; font-size: 14px; color: var(--bone-dim); }
.press-link a { color: var(--bone); text-underline-offset: 3px; }
.press-link span { display: block; font-size: 12px; color: var(--bone-faint); }
/* The DJ roster is drawn by main.js; until then keep the footer below the fold so nothing visible jumps. */
html.js #roster[data-pending] { min-height: 150vh; }

/* Guest-list booking card */
.booking { display: grid; gap: 12px; }
.booking-note { margin: 0; font-size: 14px; color: var(--violet); }
.ticket { border: 1px dashed var(--violet-line); padding: 6px 14px; background: rgba(11, 48, 30, 0.35); }
.ticket-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row span { color: var(--bone-dim); flex: none; }
.ticket-row b { font-weight: 600; text-align: right; color: var(--bone); }
.ticket-row .code { border: 0; padding: 0; margin: 0; font-size: 20px; color: var(--violet); }
.booking-small { margin: 0; font-size: 13px; line-height: 1.5; color: var(--bone-dim); }
.booking-manage { display: flex; justify-content: space-between; gap: 12px; }
.linkish { background: none; border: 0; padding: 10px 0; min-height: 44px; font: 500 14px/1 var(--f-body); color: var(--bone-dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { color: var(--bone); }
.linkish.danger { color: #ff9aaa; }
.booking-error { margin: 0; font-size: 14px; font-weight: 600; color: #ff6b81; }
.guest-names { display: grid; gap: 16px; }
.guest-names:empty { display: none; }

/* ---------- Ways in: guests and DJs each get a clear door ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.door {
  --bracket: rgba(230, 218, 194, 0.55);
  position: relative; display: grid; align-content: start; gap: 6px; padding: 16px 14px 15px;
  background:
    linear-gradient(var(--bracket), var(--bracket)) top left / 14px 2px no-repeat,
    linear-gradient(var(--bracket), var(--bracket)) top left / 2px 14px no-repeat,
    linear-gradient(var(--bracket), var(--bracket)) bottom right / 14px 2px no-repeat,
    linear-gradient(var(--bracket), var(--bracket)) bottom right / 2px 14px no-repeat,
    rgba(230, 218, 194, 0.035);
  transition: background-color 0.2s, --bracket 0.2s;
}
.door::after { content: "\2192"; position: absolute; top: 12px; right: 14px; font-family: var(--f-mono); font-size: 22px; color: var(--bone-dim); transition: transform 0.2s var(--ease), color 0.2s; }
.door:hover, .door:focus-visible { --bracket: var(--violet-glow); background-color: rgba(11, 48, 30, 0.55); }
.door:hover::after, .door:focus-visible::after { transform: translateX(3px); color: var(--violet); }
.door-k { font-family: var(--f-mono); font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--violet); padding-right: 22px; }
.door b { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 0.95; text-transform: uppercase; color: var(--bone); }
.door .door-sub, .door > span:last-child:not(.door-k) { font-size: 13px; line-height: 1.35; color: var(--bone-dim); }
.door[aria-current="page"] { --bracket: var(--violet-glow); }
@media (min-width: 700px) { .door { padding: 22px 22px 20px; } .door b { font-size: 36px; } }

.menu-paths { margin-top: auto; padding-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-paths .door-wide { grid-column: 1 / -1; }
.menu-paths .door b { font-size: 24px; }
.menu.open .menu-paths .door { animation: door-in 0.45s var(--ease) both; }
.menu.open .menu-paths .door:nth-child(2) { animation-delay: 0.05s; }
.menu.open .menu-paths .door:nth-child(3) { animation-delay: 0.1s; }
@keyframes door-in { from { opacity: 0; transform: translateY(10px); } }

/* Footer grouped by who it's for */
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; max-width: 720px; margin: 34px auto 0; text-align: left; justify-items: start; }
@media (min-width: 600px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
.foot-cols nav { justify-content: start; justify-items: start; width: 100%; }
.foot-cols nav { display: grid; align-content: start; gap: 2px; margin: 0; font-family: var(--f-mono); font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bone-dim); }
.foot-cols nav a { padding: 6px 0; }
.foot-cols nav a:hover { color: var(--bone); }
.foot-h { margin: 0 0 4px; font-family: var(--f-mono); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet); }

.cross-link { margin: 10px 0 0; font-size: 14px; color: var(--bone-dim); }
.cross-link a { color: var(--bone); text-underline-offset: 3px; }
/* Honeypot field that only bots fill in. */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.lost .h-display { max-width: 9ch; }
.foot-contact { margin: 28px 0 0; font-family: var(--f-mono); font-size: 18px; letter-spacing: 0.04em; line-height: 1.7; color: var(--bone-dim); }
.foot-contact span { color: var(--violet); text-transform: uppercase; margin-right: 6px; }
.foot-contact a { color: var(--bone); }

/* =====================================================================
   LED gold. The flat gold accents become lit LEDs: a hot pale core with a
   warm bloom for text, and a fine pixel grid with a bright centre for
   gold surfaces. Everything gold reads from these tokens.
   ===================================================================== */
:root {
  --neon: #ffc93f;
  --violet: #ffdc7a;
  --violet-glow: #ffd257;
  --neon-glow: rgba(255, 196, 64, 0.65);
  --led-core: #fff3cc;
  /* A tight bright edge, then a short warm bloom that fades smoothly: crisp, not fuzzy. */
  --led-text: 0 0 0.5px rgba(255, 248, 222, 0.95), 0 0 3px rgba(255, 214, 110, 0.6), 0 0 9px rgba(255, 184, 50, 0.32), 0 0 20px rgba(255, 160, 24, 0.14);
  --led-text-soft: 0 0 3px rgba(255, 210, 100, 0.42), 0 0 10px rgba(255, 176, 40, 0.18);
  --led-pixels: radial-gradient(circle at center, rgba(255, 252, 232, 0.32) 0 0.7px, transparent 1.2px) 0 0 / 3px 3px;
  --led-surface: radial-gradient(120% 140% at 50% 35%, #fff0b8 0%, #ffcf4a 38%, #f0a91c 78%, #c9850d 100%);
  --led-surface-inset: inset 0 0 0 1px rgba(255, 246, 214, 0.55), inset 0 0 14px rgba(255, 250, 225, 0.55), inset 0 -6px 14px rgba(150, 90, 0, 0.35);
}

/* Gold text glows */
.menu-links a[aria-current="page"], .menu-next span:first-child, .lineup a:active, .dj-detail .role,
.manifesto .hl, .tape.playing .tape-state .st-play, .tape-kicker, .tape-cur, .apply-steps li::before,
.form-step > legend .n, .received .code, .night dt, .osd.live, .roar b, .btn-ghost::before, .hero-tc-meta b,
.hero-tc-go, .poster-title, .booking-note, .ticket-row .code, .door:hover::after, .door:focus-visible::after,
.door-k, .foot-h, .foot-contact span, .step-label {
  color: var(--violet);
  text-shadow: var(--led-text);
}
.roar b, .poster-title, .tape-kicker, .night dt { text-shadow: var(--led-text-soft); }

/* Gold surfaces become LED panels */
.btn-primary, .pill, .dj .role, .form-pro .pick input:checked + label,
.sheet .media .sound[aria-pressed="true"], .announce-media .sound[aria-pressed="true"] {
  background: var(--led-pixels), var(--led-surface);
  box-shadow: var(--led-surface-inset);
  border-color: transparent;
  color: #1a1004;
  text-shadow: 0 1px 0 rgba(255, 246, 214, 0.45);
}
.btn-primary:hover, .btn-primary:focus-visible, .pill:hover {
  background: var(--led-pixels), radial-gradient(120% 140% at 50% 35%, #fff7d6 0%, #ffd760 40%, #f5b22a 80%, #d18f12 100%);
}
/* Clip-path cuts the corners, so the outer bloom sits on the button's own layer. */
.btn-primary, .pill, .tape-mini .tape-play { filter: drop-shadow(0 0 4px rgba(255, 200, 70, 0.5)) drop-shadow(0 0 14px rgba(255, 165, 30, 0.2)); }
.tape-mini .tape-play { background: var(--led-pixels), var(--led-surface); box-shadow: var(--led-surface-inset); color: #1a1004; }

/* Waveform, progress and other lit lines */
.tape-wave i.on { background: linear-gradient(to bottom, #fff0b8, #ffc93f 45%, #e9a01a); box-shadow: 0 0 6px rgba(255, 196, 64, 0.7), 0 0 14px rgba(255, 170, 30, 0.35); }
.tape-head-line { background: var(--led-core); box-shadow: 0 0 8px rgba(255, 220, 120, 0.9), 0 0 18px rgba(255, 180, 40, 0.5); }
.progress i { background: linear-gradient(90deg, #ffc93f, #fff0b8); box-shadow: 0 0 10px rgba(255, 200, 70, 0.8), 0 0 24px rgba(255, 170, 30, 0.45); }
.door:hover, .door:focus-visible, .door[aria-current="page"] { --bracket: #ffd257; }
.door:hover, .door:focus-visible { box-shadow: 0 0 22px rgba(255, 190, 50, 0.12) inset; }
.received .code, .ticket { border-color: rgba(255, 210, 90, 0.7); box-shadow: 0 0 14px rgba(255, 190, 50, 0.18), inset 0 0 14px rgba(255, 190, 50, 0.08); }
.form-pro .field input:focus, .form-pro .field select:focus, .form-pro .field textarea:focus { border-color: #ffd257; box-shadow: 0 0 0 3px rgba(255, 196, 64, 0.22), 0 0 16px rgba(255, 190, 50, 0.25); }

/* The gold lion marks: lifted brightness so the mark itself reads as lit, a 1px pale rim that keeps
   the edges sharp, then two soft, low-opacity halos. A slow "breath" on the hero lion. */
.brand-lion, .hero-lion, .footer .big {
  --lion-glow: brightness(1.12) saturate(1.08) drop-shadow(0 0 0.6px rgba(255, 244, 205, 0.85)) drop-shadow(0 0 4px rgba(255, 206, 96, 0.42)) drop-shadow(0 0 14px rgba(255, 168, 36, 0.2));
  filter: var(--lion-glow);
}
.hero-lion { animation: lion-breathe 4.8s ease-in-out infinite; }
@keyframes lion-breathe {
  0%, 100% { filter: brightness(1.08) saturate(1.05) drop-shadow(0 0 0.6px rgba(255, 244, 205, 0.8)) drop-shadow(0 0 4px rgba(255, 206, 96, 0.35)) drop-shadow(0 0 12px rgba(255, 168, 36, 0.16)); }
  50% { filter: brightness(1.18) saturate(1.1) drop-shadow(0 0 0.6px rgba(255, 246, 214, 0.95)) drop-shadow(0 0 6px rgba(255, 210, 104, 0.55)) drop-shadow(0 0 22px rgba(255, 170, 40, 0.28)); }
}
@media (prefers-reduced-motion: reduce) { .hero-lion { animation: none; } }

/* A real LED's slight flicker on the "live" readouts */
@keyframes led-flicker {
  0%, 100% { opacity: 1; }
  41% { opacity: 1; } 42% { opacity: 0.72; } 43% { opacity: 1; }
  77% { opacity: 1; } 78% { opacity: 0.85; } 79.5% { opacity: 1; }
}
.osd.live, .hero-tc-go { animation: led-flicker 4.2s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .osd.live, .hero-tc-go { animation: none; }
}

/* The real inputs behind the chip and segmented controls stay inside their group,
   so they can't push the page wider than the screen. */
.pick, .seg { position: relative; }
.pick input, .seg input { left: 0; top: 0; width: 1px; height: 1px; margin: 0; }
.is-off .tape-play { opacity: 0.45; cursor: not-allowed; }

/* ---------- Booking confirmation: the email poster, brought to life ---------- */

.booked { gap: 14px; }
.bk-poster {
  position: relative; margin: 14px 4px 8px; container-type: inline-size;
  transform: rotate(-1.3deg);
  animation: bk-drop 0.55s var(--ease) both;
}
.bk-sheet {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: #1a140f; box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7);
}
.bk-sheet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(1) contrast(1.05) brightness(0.9); }
.bk-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 9, 7, 0.97) 12%, rgba(13, 9, 7, 0.25) 58%, rgba(13, 9, 7, 0.62) 100%); }
.bk-sheet .ht { z-index: 1; -webkit-mask-image: none; mask-image: none; }
.bk-top, .bk-date, .bk-foot { position: absolute; z-index: 2; left: 4.1cqw; right: 4.1cqw; }
.bk-top { top: 4.3cqw; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: max(13px, 3.6cqw); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(230, 218, 194, 0.72); }
.bk-date { top: 10.5cqw; right: auto; display: grid; font-family: var(--f-display); color: var(--bone); text-transform: uppercase; text-shadow: -2px 1px 0 rgba(201, 162, 39, 0.6), 2px -1px 0 rgba(46, 160, 90, 0.42); }
.bk-date i { font-style: normal; font-size: 7.5cqw; line-height: 0.9; }
.bk-date b { font-weight: 400; font-size: 26.8cqw; line-height: 0.82; }
.bk-foot { bottom: 4.1cqw; display: grid; }
.bk-title { font-family: var(--f-mono); font-size: max(14px, 4.5cqw); letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet); }
.bk-head { font-family: var(--f-display); font-weight: 400; font-size: 17.7cqw; line-height: 0.86; margin-top: 0.7cqw; color: var(--bone); text-transform: uppercase; text-shadow: -2px 1px 0 rgba(201, 162, 39, 0.6), 2px -1px 0 rgba(46, 160, 90, 0.42); }
.bk-head.is-long { font-size: 14.5cqw; }
.bk-with { font-family: var(--f-display); font-size: 5.9cqw; line-height: 1.05; margin-top: 0.9cqw; color: rgba(230, 218, 194, 0.72); text-transform: uppercase; }
.bk-rule { display: flex; justify-content: space-between; gap: 8px; margin-top: 2cqw; padding-top: 1.6cqw; border-top: 1px solid rgba(230, 218, 194, 0.28); font-family: var(--f-mono); font-size: max(12px, 3.6cqw); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(230, 218, 194, 0.72); }
.bk-gl { color: var(--violet); white-space: nowrap; }
.bk-tape { position: absolute; z-index: 3; top: -3.2cqw; width: 23.9cqw; height: 7cqw; background: rgba(230, 218, 194, 0.62); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.bk-tape-l { left: 11.4cqw; transform: rotate(-7deg); }
.bk-tape-r { right: 10.2cqw; transform: rotate(6deg); }

.bk-stamp {
  --tone: var(--violet-glow);
  position: absolute; z-index: 4; right: 2cqw; top: 24cqw;
  display: grid; justify-items: center; padding: 1.1cqw 2.5cqw 1.6cqw;
  border: max(3px, 0.8cqw) solid var(--tone); background: rgba(13, 9, 7, 0.35);
  color: var(--tone); text-transform: uppercase; transform: rotate(-11deg);
  font-family: var(--f-display); font-size: 10.5cqw; line-height: 1; letter-spacing: 0.02em; white-space: nowrap;
  animation: bk-stamp 0.42s cubic-bezier(0.3, 1.6, 0.5, 1) 0.45s both;
}
.bk-stamp small { font-family: var(--f-mono); font-size: max(11px, 3.4cqw); letter-spacing: 0.14em; line-height: 1.2; }
[data-tone="gold"] .bk-stamp { --tone: #d4af37; text-shadow: 0 0 12px rgba(212, 175, 55, 0.5); box-shadow: 0 0 18px rgba(212, 175, 55, 0.25), inset 0 0 14px rgba(212, 175, 55, 0.2); }
[data-tone="bone"] .bk-stamp { --tone: var(--bone); }
[data-tone="red"] .bk-stamp { --tone: #ff5c74; }
[data-tone="red"] .bk-sheet img { filter: grayscale(1) brightness(0.6); }

.bk-kick { margin-top: 6px; color: var(--violet); }
.bk-shout {
  margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(42px, 13vw, 58px); line-height: 0.95;
  text-transform: uppercase; color: var(--bone);
  text-shadow: -2px 1px 0 rgba(201, 162, 39, 0.55), 2px -1px 0 rgba(46, 160, 90, 0.4);
}
.bk-intro { margin: 0; font-size: 16px; line-height: 1.55; color: var(--bone-dim); }

.bk-stub {
  position: relative; display: grid; margin: 18px calc(var(--gutter) * -1) 18px; padding: 18px 24px 16px;
  background: var(--bone); color: var(--bg);
}
.bk-stub::before, .bk-stub::after {
  content: ""; position: absolute; left: 0; right: 0; height: 16px;
  background: url("../assets/email/torn-top.png") center bottom / 100% 100% no-repeat;
}
.bk-stub::before { bottom: 100%; }
.bk-stub::after { top: 100%; background-image: url("../assets/email/torn-bottom.png"); background-position: center top; }
.bk-kicker { font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.12em; text-transform: uppercase; color: #6b5a2a; }
.bk-name { margin: 4px 0 12px; font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 10vw, 42px); line-height: 1; text-transform: uppercase; }
.bk-rows { margin: 0 0 16px; }
.bk-rows div { display: grid; grid-template-columns: 30% 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(13, 9, 7, 0.18); }
.bk-rows dt { font-family: var(--f-mono); font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: #6b5a2a; }
.bk-rows dd { margin: 0; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.bk-perf { padding-top: 14px; margin: 0 -24px; padding-left: 24px; border-top: 3px dashed rgba(13, 9, 7, 0.55); }
.bk-ref { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 10vw, 40px); line-height: 1.05; letter-spacing: 0.04em; white-space: nowrap; }
.bk-note { margin-top: 6px; font-family: var(--f-mono); font-size: 15px; letter-spacing: 0.08em; line-height: 1.3; text-transform: uppercase; color: #6b5a2a; }

@keyframes bk-drop { from { opacity: 0; transform: translateY(-14px) rotate(-4deg); } }
@keyframes bk-stamp { 0% { opacity: 0; transform: rotate(-11deg) scale(1.9); } 100% { opacity: 1; transform: rotate(-11deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .bk-poster, .bk-stamp { animation: none; } }
@media (min-width: 760px) {
  .bk-stub { margin-left: 0; margin-right: 0; }
  .bk-poster { width: min(100%, 480px); margin-left: auto; margin-right: auto; }
}

/* Touch screens: no scroll-listener parallax or pixel-step shake on the hero (both judder
   while the finger scrolls). Where the browser supports scroll timelines, the footage still
   drifts down at about a third of the scroll speed, run by the compositor. */
@media (hover: none) {
  .hero-media { animation: none; will-change: transform; }
  .hero-media img { will-change: transform, opacity; }
  @supports (animation-timeline: scroll()) {
    .hero-media { animation: hero-par linear both; animation-timeline: scroll(root); animation-range: 0 1000px; }
  }
}
@keyframes hero-par { from { translate: 0 0; } to { translate: 0 350px; } }
@media (prefers-reduced-motion: reduce) { .hero-media { animation: none; } }

/* ---------- Privacy policy and terms ---------- */

.legal-date { margin: 10px 0 0; font-family: var(--f-mono); font-size: 18px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); }
.legal { padding-bottom: 72px; font-size: 16px; line-height: 1.65; color: var(--bone-dim); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 28px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-toc a { padding: 6px 10px 4px; border: 1px solid var(--line); color: var(--bone); text-decoration: none; font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; }
.legal-toc a:hover, .legal-toc a:focus-visible { border-color: var(--violet-line); color: var(--violet); }
.legal h2 { margin: 40px 0 12px; font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 7vw, 34px); line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; color: var(--bone); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h3 { margin: 22px 0 8px; font-family: var(--f-mono); font-weight: 400; font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 0 0 8px; padding-left: 4px; }
.legal li::marker { color: var(--violet); }
.legal b { color: var(--bone); font-weight: 600; }
.legal a { color: var(--bone); }
.legal-see { margin-top: 36px !important; padding-top: 18px; border-top: 1px solid var(--line); }
