/* =========================================================
   KAIRO — DJ site
   ========================================================= */

:root {
  --bg: #07070a;
  --bg-2: #0e0e13;
  --surface: #14141b;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f2f0ea;
  --muted: #9a98a3;
  --accent: #ffc23d;          /* celebration gold */
  --accent-ink: #1a1200;
  --hot: #ff5a36;             /* ember coral */
  --violet: #7b2a8f;          /* plum glow */

  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --radius: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- type ---------- */
.kicker {
  margin: 0 0 18px;
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.h2 {
  margin: 0 0 24px;
  font: 900 clamp(2.75rem, 7vw, 5.75rem)/0.92 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 0.95rem/1 var(--body);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--disabled {
  border-color: var(--line);
  color: var(--muted);
  text-decoration: line-through;
  cursor: not-allowed;
}

@media (hover: hover) {
  .btn--accent:hover { box-shadow: 0 10px 40px -8px color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-1px); }
  .btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.1); }
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 7, 10, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-h);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.logo {
  position: relative;
  z-index: 2;
  font: 900 1.9rem/1 var(--display);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.logo__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(242, 240, 234, 0.8);
  transition: color 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
@media (hover: hover) {
  .nav__links a:hover { color: var(--text); }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
}

.burger {
  display: none;
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(7, 7, 10, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.4s var(--ease-out);
}
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background:
    radial-gradient(120% 60% at 100% 0%, color-mix(in srgb, var(--violet) 35%, transparent), transparent 60%),
    radial-gradient(90% 50% at 0% 100%, color-mix(in srgb, var(--hot) 25%, transparent), transparent 60%),
    var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.menu[hidden] { display: flex; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease-out), visibility 0s; }

.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font: 900 clamp(2.6rem, 12vw, 4.5rem)/1 var(--display);
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.2s;
}
.menu__links a span { font: 500 0.75rem var(--mono); color: var(--accent); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.15s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.2s; }
.menu__links a:active { color: var(--accent); }

.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.menu__foot a { font: 500 0.8rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(56px, 10vh, 110px);
  isolation: isolate;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: -1; background: #000 url("assets/hero-reel-poster.jpg") center / cover no-repeat; }
@media (max-aspect-ratio: 4/5) { .hero__media { background-image: url("assets/hero-reel-poster-mobile.jpg"); } }

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05) brightness(0.85);
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(7, 7, 10, 0.75) 28%, rgba(7, 7, 10, 0.15) 60%, rgba(7, 7, 10, 0.55) 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(7, 7, 10, 0.6) 100%);
}

.hero__content { position: relative; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(7, 7, 10, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  line-height: 1.3;
}
.live-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--hot) 70%, transparent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--hot) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--hot) 0%, transparent); }
}

.hero__content { container-type: inline-size; }
.hero__title {
  margin: 0.06em 0 0.04em -0.04em;
  /* fills the width on phones/tablets; on wide-but-short laptop screens the height cap
     keeps it from swallowing the video */
  font: 900 min(30cqi, 30vh)/0.8 var(--display);
  white-space: nowrap;
  letter-spacing: -0.01em;
  display: flex;
}
.hero__title-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%);
  animation: rise 1.1s var(--ease-out) 0.15s forwards;
}
.hero__title-line--outline {
  color: transparent;
  -webkit-text-stroke: clamp(1.5px, 0.35vw, 3px) var(--text);
  animation-delay: 0.28s;
}
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
  opacity: 0;
  animation: fade 1s var(--ease-out) 0.6s forwards;
}
.hero__kicker { opacity: 0; animation: fade 1s var(--ease-out) 0.05s forwards; }
@keyframes fade { to { opacity: 1; } }

.hero__lede {
  max-width: 34ch;
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: rgba(242, 240, 234, 0.85);
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.video-toggle {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--nav-h) + env(safe-area-inset-top) + 16px);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(7, 7, 10, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s;
}
.video-toggle .i-play,
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
@media (hover: hover) { .video-toggle:hover { border-color: var(--text); } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  font: 500 0.62rem var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.scroll-cue i {
  position: relative;
  width: 1px;
  height: 34px;
  background: var(--line-strong);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(-100%);
  animation: drip 2s var(--ease-out) infinite;
}
@keyframes drip { 60%, 100% { transform: translateY(100%); } }

/* ---------- MARQUEE ---------- */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(-1.2deg) scale(1.02);
  margin-block: 8px;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__track span {
  font: 900 clamp(1.6rem, 3.6vw, 2.6rem)/1 var(--display);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__track b { font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { position: relative; padding-block: clamp(88px, 13vw, 168px); }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__note { margin: 0; color: var(--muted); }

/* ---------- ABOUT ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; filter: saturate(1.1); }
.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 10, 0.7), transparent 45%);
}
.about__media figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  color: rgba(242, 240, 234, 0.8);
}
.about__copy > p:not(.kicker) { margin: 0 0 18px; color: rgba(242, 240, 234, 0.78); max-width: 52ch; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; margin: 0; }
.stat dd {
  margin: 0 0 6px;
  font: 900 clamp(2.6rem, 5vw, 4rem)/1 var(--display);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat dt { font: 400 0.72rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ---------- MIXES ---------- */
.mixes {
  background:
    radial-gradient(60% 50% at 85% 10%, color-mix(in srgb, var(--violet) 16%, transparent), transparent 70%),
    radial-gradient(50% 40% at 0% 90%, color-mix(in srgb, var(--hot) 10%, transparent), transparent 70%),
    var(--bg-2);
}
.mixes .section__head { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 24px; }
.mixes .section__head .kicker,
.mixes .section__head .h2 { grid-column: 1; }
.mixes .section__head .h2 { margin-bottom: 0; }
.mixes .section__head .section__note { grid-column: 2; grid-row: 2; padding-bottom: 8px; }

.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }

.track {
  display: grid;
  grid-template-columns: auto minmax(180px, 1.1fr) 2fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s;
}

.track__play {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out);
}
.track__play svg { width: 18px; height: 18px; }
.track__play .i-pause { display: none; }
.track__play:active { transform: scale(0.94); }
.track.is-playing .track__play { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.track.is-playing .track__play .i-play { display: none; }
.track.is-playing .track__play .i-pause { display: block; }
@media (hover: hover) {
  .track__play:hover { border-color: var(--accent); color: var(--accent); }
  .track.is-playing .track__play:hover { color: var(--accent-ink); }
}

.track__title {
  margin: 0 0 4px;
  font: 700 clamp(1.35rem, 2.2vw, 1.75rem)/1.1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.track__tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 3px 8px 2px;
  border-radius: 4px;
  background: var(--hot);
  color: #fff;
  font: 500 0.6rem/1.2 var(--mono);
  letter-spacing: 0.1em;
}
.track__sub { margin: 0; color: var(--muted); }
.track__time { min-width: 3.2em; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.track.is-playing .track__time { color: var(--accent); }

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 52px;
}
.wave i {
  flex: 1;
  min-width: 1.5px;
  height: calc(var(--h) * 100%);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  transform-origin: center;
  transition: background-color 0.2s;
}
.wave i.on { background: var(--accent); }
.track.is-playing .wave i { animation: bounce 0.9s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -37ms); }
@keyframes bounce { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }

.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin-top: 40px;
}
.platforms .mono { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.platforms a { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color 0.2s, color 0.2s; }
@media (hover: hover) { .platforms a:hover { color: var(--accent); border-color: var(--accent); } }

/* ---------- TOUR ---------- */
.dates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.date {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.date::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
@media (hover: hover) { .date:hover::before { opacity: 1; } }

.date__when { display: flex; align-items: center; gap: 12px; }
.date__when b { font: 900 3.4rem/0.9 var(--display); }
.date__when span { font: 500 0.72rem/1.35 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.date__where h3 { margin: 0; font: 700 clamp(1.6rem, 3vw, 2.4rem)/1 var(--display); text-transform: uppercase; }
.date__where p { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- GALLERY ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(160px, 18vw, 260px);
  grid-auto-flow: dense;
  gap: 12px;
}
.shot {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.shot[hidden] { display: none; }
.grid.is-collapsed > .shot:nth-child(n + 13) { display: none; }
.gallery__more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
.shot--wide { grid-column: span 2; }
.shot--tall { grid-row: span 2; }
/* phone-shot 9:16 clips: one column, two rows ≈ portrait */
.grid .shot--portrait { grid-column: auto; grid-row: span 2; }
.shot img,
.shot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.5s;
  filter: saturate(0.9) brightness(0.88);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
@media (hover: hover) {
  .shot:hover img,
  .shot:hover video { transform: scale(1.05); filter: saturate(1.15) brightness(1); }
}
.shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* video tiles: lazy thumbnail underneath, preview video fades in once it's actually playing */
.shot--video .shot__poster,
.shot--video video { position: absolute; inset: 0; }
.shot--video video { opacity: 0; transition: opacity 0.3s, transform 0.8s var(--ease-out), filter 0.5s; }
.shot--video.is-previewing video { opacity: 1; }

/* video tiles */
.shot__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 500 0.72rem/1 var(--mono);
  letter-spacing: 0.06em;
}
.shot__caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(7, 7, 10, 0.85), transparent);
  font: 500 0.75rem/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--text);
}

/* filter tabs */
.gallery .section__head { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 24px; }
.gallery .section__head .kicker,
.gallery .section__head .h2 { grid-column: 1; }
.gallery .section__head .h2 { margin-bottom: 0; }
.filters {
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.filter {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s, background-color 0.2s;
}
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); }
@media (hover: hover) { .filter[aria-pressed="false"]:hover { color: var(--text); } }
.filter:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.lightbox {
  width: min(1200px, 100vw - 32px);
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #000;
  color: var(--text);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(7, 7, 10, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox[open] { animation: pop 0.35s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } }
.lightbox__stage { position: relative; margin: 0; }
.lightbox img,
.lightbox video { display: block; width: 100%; max-height: calc(100svh - 32px); object-fit: contain; background: #000; }
.lightbox img[hidden],
.lightbox video[hidden] { display: none; }
.lightbox__caption {
  position: absolute;
  left: 12px;
  top: 12px;
  max-width: calc(100% - 80px);
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(7, 7, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  pointer-events: none;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(7, 7, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
}
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox.is-single .lightbox__nav { display: none; }
/* portrait phone clips: full height, natural 9:16 width — no letterboxing */
.lightbox.is-portrait { width: fit-content; max-width: calc(100vw - 32px); }
.lightbox.is-portrait video {
  width: auto;
  height: calc(100svh - 32px);
  max-width: calc(100vw - 32px);
  aspect-ratio: 9 / 16;
  object-fit: contain;
}
.lightbox.is-portrait .lightbox__nav { top: auto; bottom: 72px; margin-top: 0; }
@media (hover: hover) { .lightbox__nav:hover, .lightbox__close:hover { border-color: var(--text); } }
.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(7, 7, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- BOOKING ---------- */
.booking {
  background:
    radial-gradient(70% 60% at 100% 100%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%),
    var(--bg-2);
}
.booking__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.booking__intro > p:not(.kicker) { color: rgba(242, 240, 234, 0.78); max-width: 42ch; }

.contacts { margin: 36px 0 0; display: grid; gap: 18px; }
.contacts div { margin: 0; }
.contacts dt { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 4px; }
.contacts dd { margin: 0; font-size: 1.15rem; font-weight: 500; }
.contacts address { font-style: normal; }
.contacts a { text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s, color 0.2s; }
@media (hover: hover) { .contacts a:hover { color: var(--accent); border-color: var(--accent); } }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full,
.form .btn,
.form__ok { grid-column: 1 / -1; }
.field label { font: 500 0.72rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(7, 7, 10, 0.55);
  color: var(--text);
  font: 400 1rem/1.4 var(--body); /* 16px avoids iOS zoom-on-focus */
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239a98a3' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: rgba(154, 152, 163, 0.7); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent);
}
.field.has-error input,
.field.has-error select { border-color: var(--hot); }
.field__err { min-height: 0; font-size: 0.8rem; color: var(--hot); }
.field__err:empty { display: none; }

.form .btn { margin-top: 6px; }
.form__ok {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent);
  font-size: 0.95rem;
}
.form__fail { background: transparent; border-color: var(--hot); color: var(--hot); }
.form__fail a { color: inherit; }
.form__trap { display: none; }
.form .btn:disabled { opacity: 0.6; cursor: progress; }

/* ---------- WHATSAPP ---------- */
/* sits under the mobile menu (40) and nav (50); lifts clear of the now-playing bar */
.wa {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  min-width: 56px;
  padding: 0 15px;
  border-radius: 999px;
  background: #25d366;
  color: #04210f;               /* dark ink: white on WhatsApp green is only 1.98:1 */
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.55), 0 6px 18px -6px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease-out), bottom 0.45s var(--ease-out), box-shadow 0.3s;
}
.wa svg { flex: none; }
.wa__label { padding-right: 4px; white-space: nowrap; }
body:has(.np:not([hidden])) .wa { bottom: calc(88px + env(safe-area-inset-bottom)); }
@media (hover: hover) {
  .wa:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(37, 211, 102, 0.7), 0 6px 18px -6px rgba(0, 0, 0, 0.6); }
}
.wa:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (max-width: 860px) {
  .wa { padding: 0; justify-content: center; }
  .wa__label { display: none; }
}

/* ---------- FOOTER ---------- */
.footer { padding: clamp(64px, 10vw, 120px) 0 calc(104px + env(safe-area-inset-bottom)); overflow: hidden; } /* bottom room so the floating WhatsApp button never covers the credits */
/* dimmed party photo behind the footer; the image itself is attached by JS when the footer is near (.has-bg) */
.footer { position: relative; isolation: isolate; }
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: calc(100% - 60px);
  z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 7, 10, 0.55) 22%, rgba(7, 7, 10, 0.6) 60%, var(--bg) 100%);
}
.footer.has-bg::before {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(7, 7, 10, 0.55) 22%, rgba(7, 7, 10, 0.6) 60%, var(--bg) 100%),
    url("assets/footer-bg.jpg") center / cover;
}
.footer .wrap { container-type: inline-size; }
.footer__big {
  margin: 0 0 24px;
  /* sized to the container so "DJ DEEZY" always spans it on one line */
  font: 900 30cqi/0.8 var(--display);
  white-space: nowrap;
  letter-spacing: -0.01em;
  text-align: center;
  background: linear-gradient(180deg, var(--text) 30%, rgba(242, 240, 234, 0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__row {
  /* social links left · copyright centred · developer credit right */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer__social { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__social a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: rgba(242, 240, 234, 0.8); transition: color 0.2s; }
@media (hover: hover) { .footer__social a:hover { color: var(--accent); } }
.footer__copy { margin: 0; color: var(--muted); }
.footer__credit { margin: 0; color: var(--muted); justify-self: end; text-align: right; }
.footer__credit a, .footer__credit span { color: var(--text); text-decoration: none; }
@media (hover: hover) { .footer__credit a:hover { color: var(--accent); } }
@media (max-width: 860px) {
  .footer__row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__social { justify-content: center; }
  .footer__credit { justify-self: center; text-align: center; }
}

/* ---------- NOW PLAYING ---------- */
.np {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(20, 20, 27, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, 0);
  transition: transform 0.45s var(--ease-out), opacity 0.3s;
}
.np[hidden] { display: flex; opacity: 0; transform: translate(-50%, 140%); pointer-events: none; }
.np__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.np__text .mono { font-size: 0.62rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.14em; }
.np__text strong { font-size: 0.92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np__stop {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
}

.eq { display: flex; align-items: flex-end; gap: 3px; height: 18px; flex: none; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--accent); animation: eq 0.8s ease-in-out infinite alternate; transform-origin: bottom; }
.eq i:nth-child(2) { animation-delay: -0.3s; }
.eq i:nth-child(3) { animation-delay: -0.55s; }
.eq i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }

/* ---------- REVEAL ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .track { grid-template-columns: auto 1fr auto; gap: 14px 20px; }
  .track .wave { grid-column: 1 / -1; grid-row: 2; height: 40px; }
  .date { grid-template-columns: 120px 1fr auto; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav__links,
  .nav__cta { display: none; }
  .burger { display: block; }

  .about__grid,
  .booking__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 16 / 11; }

  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; gap: 8px; }
  /* 2-col rhythm: one full-width, two halves, repeat */
  .shot--wide,
  .shot--tall { grid-column: auto; grid-row: auto; }
  .shot:nth-child(3n + 1 of :not([hidden])) { grid-column: span 2; }
  .grid .shot.shot--portrait { grid-column: auto; grid-row: span 2; }
  .grid.is-collapsed > .shot:nth-child(n + 7) { display: none; }
  .gallery .section__head { grid-template-columns: 1fr; }
  .filters { grid-column: 1; grid-row: auto; justify-self: start; margin: 24px 0 0; }
  .lightbox__nav { top: auto; bottom: 64px; margin-top: 0; }

  .mixes .section__head { grid-template-columns: 1fr; }
  .mixes .section__head .section__note { grid-column: 1; grid-row: auto; padding: 16px 0 0; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }

  .hero { padding-bottom: 72px; }
  .hero__video { filter: saturate(1.05) contrast(1.05) brightness(0.9); }
  .hero__shade {
    background:
      linear-gradient(to top, var(--bg) 0%, rgba(7, 7, 10, 0.82) 30%, rgba(7, 7, 10, 0.05) 58%, rgba(7, 7, 10, 0.35) 100%);
  }
  .hero__row { flex-direction: column; align-items: stretch; gap: 22px; padding-top: 22px; }
  .hero__ctas { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__ctas .btn { padding: 0 16px; }
  .scroll-cue { display: none; }

  .marquee { padding: 16px 0; }

  .stats { gap: 10px; }
  .stat dt { font-size: 0.62rem; }

  .track { grid-template-columns: auto 1fr; padding: 18px 0; }
  .track__play { width: 48px; height: 48px; }
  .track__time { display: none; }

  .date { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 22px 0; }
  .date__when { grid-column: 1 / -1; }
  .date__when b { font-size: 2.4rem; }
  .date__where h3 { font-size: 1.6rem; }

  .grid { grid-auto-rows: 46vw; }

  .form { grid-template-columns: 1fr; }
}

/* =========================================================
   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;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* text for screen readers only */
.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;
}
