/* ==========================================================================
   Beat عتيق — style.css
   Palette taken from the logo: vinyl black, crimson label, amber عتيق, white.
   ========================================================================== */

:root {
  --black: #000000;
  --crimson: #a6202c;
  --crimson-deep: #6e1119;
  --amber: #d98a2b;
  --amber-light: #f2b261;
  --cream: #f6eee3;
  --white: #ffffff;
  --dim: rgba(246, 238, 227, 0.55);
  --line: rgba(246, 238, 227, 0.14);

  --font-display: "Unbounded", "Cairo", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-ar: "Cairo", "Unbounded", sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spin: 6s;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }

.ar { font-family: var(--font-ar); font-weight: 800; color: var(--amber); }

/* --------------------------------------------------------------------------
   Gate
   -------------------------------------------------------------------------- */

.gate {
  --gate-logo: min(44vw, 440px, 48vh);
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--black);
  clip-path: circle(150% at 50% 50%);
  overflow: hidden;
}

.gate.is-leaving {
  animation: gateWipe 1.1s var(--ease-in-out) forwards;
  pointer-events: none;
}

@keyframes gateWipe {
  to { clip-path: circle(0% at 50% 50%); }
}

.gate__noise {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noiseShift 0.6s steps(3) infinite;
}

@keyframes noiseShift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-6%, 4%); }
  100% { transform: translate(5%, -5%); }
}

.gate__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(12px, 3vh, 28px);
}

.gate__btn {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(10px, 2.5vh, 24px);
  padding: clamp(16px, 4vh, 40px);
  border-radius: 50%;
}

.gate__logo {
  display: block;
  width: var(--gate-logo);
  filter: drop-shadow(0 30px 60px rgba(160, 29, 37, 0.35));
  transition: transform 0.6s var(--ease-out);
}

.gate__btn:hover .gate__logo { transform: scale(1.03); }

.gate__ring {
  position: absolute;
  top: calc(clamp(16px, 4vh, 40px) + var(--gate-logo) * 0.42);
  left: calc(50% - var(--gate-logo) * 0.054);
  width: calc(var(--gate-logo) * 0.78);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(210, 121, 40, 0.5);
  animation: ringPulse 2.6s var(--ease-out) infinite;
  pointer-events: none;
}

.gate__ring--2 { animation-delay: 1.3s; }

@keyframes ringPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(1.7); opacity: 0; }
}

.gate__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, min(2.6vw, 3.6vh), 28px);
  letter-spacing: 0.02em;
  color: var(--white);
}

.gate__hint {
  font-size: 14px;
  color: var(--dim);
  margin-top: calc(clamp(10px, 2.5vh, 24px) * -0.6);
}

.gate__quiet {
  font-size: 14px;
  color: var(--dim);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: color 0.3s, border-color 0.3s;
}

.gate__quiet:hover { color: var(--cream); border-color: var(--cream); }

/* --------------------------------------------------------------------------
   Cursor glow (fine pointers only)
   -------------------------------------------------------------------------- */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(217, 138, 43, 0.14), rgba(166, 32, 44, 0.06) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s;
  will-change: transform;
}

body.has-cursor .cursor { opacity: 1; }

@media (pointer: coarse) { .cursor { display: none; } }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: calc(16px + env(safe-area-inset-top)) var(--gutter) 16px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
  transform: translateY(-110%);
  transition: transform 0.9s var(--ease-out) 0.3s;
}

body.is-open .nav { transform: translateY(0); }

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.nav__logo { width: 44px; height: 44px; border-radius: 50%; animation: recordSpin 12s linear infinite; }

.nav__right { display: flex; align-items: center; gap: 10px; }

.nav__links { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }

.nav__links a {
  position: relative;
  padding: 6px 0;
  color: var(--cream);
  transition: color 0.25s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); }

.sound {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
  transition: color 0.3s, border-color 0.3s;
}

.sound[aria-pressed="true"] { color: var(--cream); border-color: var(--amber); }

.sound__bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }

.sound__bars i {
  width: 2px;
  height: 20%;
  background: currentColor;
  border-radius: 1px;
  transition: height 0.12s;
}

.sound[aria-pressed="true"] .sound__bars i { animation: barIdle 0.9s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: 0.1s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: 0.2s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-delay: 0.3s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(5) { animation-delay: 0.4s; }

@keyframes barIdle { from { height: 20%; } to { height: 100%; } }

/* Burger + mobile menu */

.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
}

.burger span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  background: var(--cream);
  border-radius: 1px;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}

.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }

.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: calc(90px + env(safe-area-inset-top)) 28px calc(40px + env(safe-area-inset-bottom));
  background: radial-gradient(ellipse at 80% 20%, rgba(166, 32, 44, 0.35), transparent 55%), rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.4s;
}

.menu[hidden] { display: none; }

.menu.is-open { opacity: 1; }

.menu a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 8vw, 40px);
  color: var(--white);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.menu a span {
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.08em;
}

.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open a:nth-child(4) { transition-delay: 0.15s; }
.menu.is-open a:nth-child(5) { transition-delay: 0.2s; }

.menu__foot {
  margin: 28px 0 0;
  font-size: 14px;
  color: var(--dim);
}

body.menu-open .nav { background: transparent; }

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease-out), color 0.3s, border-color 0.3s;
  will-change: transform;
}

.btn--primary {
  color: var(--black);
  background: var(--amber);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--amber-light);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out);
}

.btn--primary:hover::before { transform: translateX(0); }

.btn--ghost {
  color: var(--cream);
  border: 1px solid var(--line);
}

.btn--ghost:hover { border-color: var(--cream); color: var(--white); }

.btn--big { padding: 22px 36px; font-size: 16px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
  padding: clamp(90px, 12vh, 130px) var(--gutter) clamp(40px, 7vh, 80px);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
}

.hero__glow--crimson {
  width: 60vw;
  height: 60vw;
  right: -15vw;
  top: -10vw;
  background: var(--crimson-deep);
}

.hero__glow--amber {
  width: 32vw;
  height: 32vw;
  left: -10vw;
  bottom: -10vw;
  background: rgba(217, 138, 43, 0.35);
}

.hero__copy {
  position: relative;
  max-width: 640px;
  container-type: inline-size;
}

.hero__kicker {
  margin: 0 0 clamp(12px, 2.5vh, 24px);
  font-size: 14px;
  font-weight: 600;
  color: var(--dim);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hero__title {
  margin: 0 0 clamp(16px, 3vh, 28px);
  font-family: var(--font-display);
  font-weight: 900;
  /* "play music." is the longest line: ~8.6em in Unbounded 900. Fit it to the column and the screen height. */
  font-size: clamp(34px, min(11cqw, 9.5vh), 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero__line {
  display: block;
  overflow: hidden;
}

.hero__line--accent { color: var(--amber); }

.hero__line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out);
}

.hero__lede {
  margin: 0 0 clamp(20px, 3.5vh, 36px);
  max-width: 50ch;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--dim);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

body.is-open .hero__kicker { opacity: 1; transform: none; transition-delay: 0.5s; }
body.is-open .hero__line > span { transform: none; }
body.is-open .hero__line:nth-child(1) > span { transition-delay: 0.55s; }
body.is-open .hero__line:nth-child(2) > span { transition-delay: 0.68s; }
body.is-open .hero__line:nth-child(3) > span { transition-delay: 0.81s; }
body.is-open .hero__line:nth-child(4) > span { transition-delay: 0.94s; }
body.is-open .hero__lede { opacity: 1; transform: none; transition-delay: 1.0s; }
body.is-open .hero__actions { opacity: 1; transform: none; transition-delay: 1.15s; }

/* Equalizer driven by the audio analyser */

.eq {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: clamp(32px, 6vh, 56px);
  margin-top: clamp(24px, 4.5vh, 44px);
  opacity: 0;
  transition: opacity 1s 1.4s;
}

body.is-open .eq { opacity: 1; }

.eq i {
  flex: 1;
  max-width: 10px;
  height: 6%;
  background: linear-gradient(to top, var(--crimson), var(--amber));
  border-radius: 2px 2px 0 0;
  transition: height 0.08s linear;
}

/* Turntable */

.turntable {
  position: relative;
  width: min(100%, 640px, 76vh);
  margin: 6% auto 0;
  opacity: 0;
  transform: scale(0.8) rotate(-8deg);
  transition: opacity 1.2s var(--ease-out) 0.3s, transform 1.4s var(--ease-out) 0.3s;
}

body.is-open .turntable { opacity: 1; transform: none; }

.turntable__logo { width: 100%; }

.turntable__logo .logo { filter: drop-shadow(0 50px 80px rgba(0, 0, 0, 0.8)); }

.tonearm {
  position: absolute;
  top: -24%;
  left: 62%;
  width: 19%;
  height: auto;
  transform-origin: 50% 13.3%;
  transform: rotate(-40deg);
  transition: transform 1.6s var(--ease-in-out);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
}

body.is-needle-down .tonearm { transform: rotate(-10deg); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  opacity: 0;
  transition: opacity 1s 1.8s;
}

body.is-open .hero__scroll { opacity: 1; }

.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--amber);
  animation: scrollHint 1.8s var(--ease-in-out) infinite;
}

@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

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

.ticker {
  position: relative;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(166, 32, 44, 0.18), transparent 30%, transparent 70%, rgba(166, 32, 44, 0.18));
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 24px);
  color: var(--cream);
  animation: tickerMove 28s linear infinite;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__track i {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber) 0 30%, var(--black) 31% 42%, var(--crimson) 43%);
}

@keyframes tickerMove { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 48px;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, min(5.2vw, 9vh), 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section__sub {
  margin: 0;
  max-width: 48ch;
  color: var(--dim);
  font-size: 17px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

[data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Showreel
   -------------------------------------------------------------------------- */

.reel { padding: clamp(70px, 11vh, 110px) var(--gutter); }

.reel__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.tile { grid-column: span 2; }

.tile {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0808;
  cursor: pointer;
  isolation: isolate;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 1s var(--ease-out);
}

.tile.is-in { transform: none; opacity: 1; }

.tile:nth-child(2).is-in { transition-delay: 0.1s; }
.tile:nth-child(3).is-in { transition-delay: 0.2s; }
.tile:nth-child(4).is-in { transition-delay: 0.3s; }

.tile:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 21 / 9; }

.tile:nth-child(n + 5) { grid-column: span 3; }

/* Portrait reels: 9:16 cards, three across */
.tile--portrait { aspect-ratio: 9 / 16; }

.tile--portrait:nth-child(1) { grid-column: span 2; aspect-ratio: 9 / 16; }

/* If the last row holds one portrait reel, center it */
.tile--portrait:last-child:nth-child(3n + 2) { grid-column: 3 / 5; }

.tile__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out), filter 0.6s;
  filter: saturate(0.85) brightness(0.85);
}

@media (hover: hover) {
  .tile:hover .tile__video { transform: scale(1.08); filter: saturate(1.05) brightness(1); }
}

.tile.is-previewing .tile__video { filter: saturate(1.05) brightness(1); }

.tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 55%);
  pointer-events: none;
}

.tile__meta {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}

.tile__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 24px);
  color: var(--white);
}

.tile__sub { margin: 4px 0 0; font-size: 14px; color: var(--dim); }

.tile__play {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--black);
  transform: scale(0.9);
  transition: transform 0.5s var(--ease-out), background 0.3s;
}

.tile:hover .tile__play { transform: scale(1.05); background: var(--amber-light); }

.tile__play svg { width: 20px; height: 20px; margin-left: 3px; }

.tile__missing {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--dim);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 10px, transparent 10px 20px),
    #0a0808;
}

/* --------------------------------------------------------------------------
   Nights — tilted drifting photo wall
   -------------------------------------------------------------------------- */

.nights {
  position: relative;
  padding: clamp(70px, 11vh, 110px) 0 clamp(90px, 14vh, 140px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 100%, rgba(166, 32, 44, 0.16), transparent 55%),
    var(--black);
}

.section__head--nights { padding: 0 var(--gutter); }

.wall {
  --row-h: clamp(150px, 26vh, 290px);
  position: relative;
  display: grid;
  gap: clamp(12px, 1.6vw, 22px);
  width: 112vw;
  margin: -2vw 0 -2vw -6vw;
  transform: rotate(-3deg);
  perspective: 1200px;
}

.wall__row {
  position: relative;
  height: var(--row-h);
  opacity: 0;
  transform: translateX(var(--enter, -140px));
  transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out);
}

.wall__row:nth-child(2) { --enter: 140px; transition-delay: 0.12s; }
.wall__row:nth-child(3) { transition-delay: 0.24s; }

.wall.is-in .wall__row { opacity: 1; transform: none; }

.wall__track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  gap: clamp(12px, 1.6vw, 22px);
  height: 100%;
  width: max-content;
  will-change: transform;
}

.photo {
  position: relative;
  flex: none;
  height: 100%;
  aspect-ratio: var(--ar, 3 / 2);
  border-radius: 14px;
  overflow: hidden;
  background: #0a0808;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease-out), filter 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
  will-change: transform;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease-out);
}

/* Brand grade: crimson-to-black wash + grain. Lifts on hover to show the real colors. */
.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(166, 32, 44, 0.42), rgba(0, 0, 0, 0.5) 70%);
  mix-blend-mode: multiply;
  opacity: 1;
  transition: opacity 0.7s var(--ease-out);
  pointer-events: none;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  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='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.photo.is-hover {
  z-index: 3;
  transform: translateZ(60px) scale(1.06) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(217, 138, 43, 0.45);
}

.photo.is-hover::before { opacity: 0.12; }

.photo.is-hover img { transform: scale(1); }

.wall__row.has-hover .photo:not(.is-hover) { filter: brightness(0.5) saturate(0.8); }

/* --------------------------------------------------------------------------
   Photo viewer
   -------------------------------------------------------------------------- */

.viewer {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 0;
  transition: opacity 0.5s;
  overflow: hidden;
}

.viewer[hidden] { display: none; }

.viewer.is-open { opacity: 1; }

.viewer__bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  filter: blur(48px) saturate(1.2) brightness(0.45);
  transform: scale(1.1);
  transition: background-image 0.6s;
  pointer-events: none;
}

.viewer__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.7));
}

.viewer__stage {
  position: relative;
  margin: 0;
  width: min(92vw, 1500px);
  height: min(82vh, 920px);
  display: grid;
  place-items: center;
}

.viewer__img {
  max-width: min(92vw, 1500px);
  max-height: min(82vh, 920px);
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: scale(0.96) translateX(var(--dir, 0px));
  transition: opacity 0.55s var(--ease-out), transform 0.9s var(--ease-out);
}

.viewer__img.is-shown {
  opacity: 1;
  transform: none;
  animation: kenBurns 14s ease-in-out forwards;
}

@keyframes kenBurns {
  from { scale: 1; }
  to { scale: 1.05; }
}

.viewer__close {
  position: absolute;
  top: calc(18px + env(safe-area-inset-top));
  right: calc(22px + env(safe-area-inset-right));
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  font-size: 30px;
  line-height: 1;
  color: var(--cream);
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}

.viewer__close:hover { border-color: var(--cream); transform: rotate(90deg); }

.viewer__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  color: var(--cream);
  transition: border-color 0.3s, transform 0.4s var(--ease-out), color 0.3s;
}

.viewer__nav--prev { left: 22px; }
.viewer__nav--next { right: 22px; }

.viewer__nav:hover { border-color: var(--amber); color: var(--amber); transform: scale(1.08); }

.viewer__count {
  position: absolute;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  margin: 0;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Live tapes — turntable audio player
   -------------------------------------------------------------------------- */

.tapes {
  position: relative;
  padding: clamp(70px, 11vh, 110px) var(--gutter);
  background:
    radial-gradient(ellipse at 15% 30%, rgba(166, 32, 44, 0.2), transparent 50%),
    var(--black);
  overflow: hidden;
}

.player {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.player__deck {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.player.is-in .player__deck { opacity: 1; transform: none; }

.player__platter {
  position: relative;
  width: 100%;
  aspect-ratio: 860 / 720;
}

.player__ring {
  position: absolute;
  top: -1.5%;
  left: 44.6%;
  width: 86%;
  height: 103%;
  transform: translateX(-50%) rotate(-90deg);
}

.player__ring-bg,
.player__ring-fg {
  fill: none;
  stroke-width: 1.2;
}

.player__ring-bg { stroke: rgba(246, 238, 227, 0.1); }

.player__ring-fg {
  stroke: var(--amber);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.25s linear;
  filter: drop-shadow(0 0 6px rgba(217, 138, 43, 0.6));
}

.player__record {
  position: absolute;
  inset: 0;
}

.player__record .logo { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8)); }

.logo--player .logo__spin { will-change: transform; }

.player__arm {
  position: absolute;
  top: -22%;
  left: 62%;
  width: 19%;
  height: auto;
  transform-origin: 50% 13.3%;
  transform: rotate(-40deg);
  transition: transform 1.3s var(--ease-in-out);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.7));
}

.player.is-needle .player__arm { transform: rotate(-10deg); }

.player__now { min-width: 0; }

.player__eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
}

.player__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.1;
  color: var(--white);
}

.player__title-sub {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.5em;
  color: var(--dim);
  vertical-align: middle;
}

.player__wave {
  display: block;
  width: 100%;
  height: 72px;
  cursor: pointer;
}

.player__time {
  display: flex;
  gap: 8px;
  margin: 10px 0 20px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--dim);
}

.player__time-sep { opacity: 0.5; }

.player__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.player__btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--cream);
  transition: border-color 0.3s, color 0.3s, transform 0.4s var(--ease-out), background 0.3s;
}

.player__btn:hover { border-color: var(--amber); color: var(--amber); }

.player__btn--play {
  width: 68px;
  height: 68px;
  border: 0;
  background: var(--amber);
  color: var(--black);
  box-shadow: 0 10px 30px rgba(217, 138, 43, 0.35);
}

.player__btn--play:hover { background: var(--amber-light); color: var(--black); }

.player:not(.is-playing) .player__btn--play { animation: playPulse 2.4s ease-in-out infinite; }

@keyframes playPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(217, 138, 43, 0.35); }
  50% { box-shadow: 0 10px 40px rgba(217, 138, 43, 0.7), 0 0 0 10px rgba(217, 138, 43, 0.08); }
}

/* Volume */

.volume {
  --fill: 70%;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
}

.volume__btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--dim);
  transition: color 0.3s, background 0.3s;
}

.volume__btn:hover { color: var(--amber); background: rgba(217, 138, 43, 0.1); }

.volume__range {
  -webkit-appearance: none;
  appearance: none;
  width: 120px;
  height: 20px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.volume__range::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber) var(--fill), rgba(246, 238, 227, 0.18) var(--fill));
}

.volume__range::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: rgba(246, 238, 227, 0.18);
}

.volume__range::-moz-range-progress {
  height: 3px;
  border-radius: 2px;
  background: var(--amber);
}

.volume__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--amber);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease-out);
}

.volume__range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--amber);
}

.volume__range:hover::-webkit-slider-thumb { transform: scale(1.2); }

.volume__val {
  min-width: 2.2ch;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--dim);
  text-align: right;
}

.player__ico-pause { display: none; }

.player.is-playing .player__ico-play { display: none; }
.player.is-playing .player__ico-pause { display: block; }

/* Setlist */

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

.song {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.player.is-in .song { opacity: 1; transform: none; }

.player.is-in .song:nth-child(2) { transition-delay: 0.08s; }
.player.is-in .song:nth-child(3) { transition-delay: 0.16s; }
.player.is-in .song:nth-child(4) { transition-delay: 0.24s; }
.player.is-in .song:nth-child(5) { transition-delay: 0.32s; }
.player.is-in .song:nth-child(n + 6) { transition-delay: 0.4s; }

.song__btn {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 40px 56px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 10px;
  text-align: left;
  transition: padding-left 0.5s var(--ease-out), background 0.4s;
}

.song__btn:hover,
.song.is-active .song__btn {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(217, 138, 43, 0.07), transparent 60%);
}

.song__n {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--dim);
  transition: color 0.3s;
}

.song.is-active .song__n { color: var(--amber); }

.song__body { display: grid; min-width: 0; }

.song__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}

.song.is-active .song__title { color: var(--amber); }

.song__sub { font-size: 13px; color: var(--dim); }

.song__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 22px;
  opacity: 0;
  transition: opacity 0.4s;
}

.song.is-playing .song__bars { opacity: 1; }

.song__bars i {
  width: 3px;
  height: 15%;
  border-radius: 1px;
  background: var(--amber);
  transition: height 0.08s linear;
}

.song__dur {
  font-size: 13px;
  color: var(--dim);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Services — tracklist
   -------------------------------------------------------------------------- */

.services {
  padding: clamp(70px, 11vh, 110px) var(--gutter);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(166, 32, 44, 0.18), transparent 50%),
    var(--black);
}

.tracklist {
  border-top: 1px solid var(--line);
}

.track {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease-out), background 0.4s;
  cursor: default;
}

@media (hover: hover) {
  .track:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(217, 138, 43, 0.06), transparent 60%); }
}

.track__marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, var(--amber) 0 18%, var(--black) 19% 30%, var(--crimson) 31% 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: recordSpin 5s linear infinite;
  animation-play-state: paused;
}

.track:hover .track__marker { animation-play-state: running; }

.track__marker span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--black);
}

.track__body { min-width: 0; }

.track__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.1;
  color: var(--white);
  transition: color 0.3s;
}

.track:hover .track__title { color: var(--amber); }

.track__desc { margin: 0; max-width: 64ch; color: var(--dim); }

.track__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.track__tags li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.track:hover .track__tags li { border-color: rgba(217, 138, 43, 0.5); }

/* --------------------------------------------------------------------------
   Book
   -------------------------------------------------------------------------- */

.book {
  position: relative;
  padding: clamp(80px, 14vh, 140px) var(--gutter) clamp(90px, 15vh, 150px);
  text-align: center;
  overflow: hidden;
}

.book__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 32, 44, 0.35), rgba(217, 138, 43, 0.12) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.12); }
}

.book__title {
  position: relative;
  display: grid;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, min(12vw, 20vh), 180px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--white);
}

.book__title span {
  display: block;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.book__title span:nth-child(2) { transition-delay: 0.1s; }
.book__title span:nth-child(3) { transition-delay: 0.2s; color: var(--amber); }

.book.is-in .book__title span { opacity: 1; transform: none; }

.book__sub {
  position: relative;
  margin: 0 auto 44px;
  max-width: 40ch;
  color: var(--dim);
  font-size: 18px;
}

.book__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

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

.footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 50px var(--gutter) calc(60px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer__logo { width: 72px; height: 72px; }

.footer__line { margin: 0; font-size: 15px; }

.footer__line--dim { color: var(--dim); font-size: 14px; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 4px 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.footer__links a {
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.footer__links a:hover { color: var(--amber); border-color: var(--amber); }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s;
}

.lightbox[hidden] { display: none; }

.lightbox.is-open { opacity: 1; }

.lightbox__frame {
  width: min(100%, 1200px);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.6s var(--ease-out);
}

.lightbox.is-open .lightbox__frame { transform: none; }

.lightbox__video,
.lightbox__frame-yt {
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  margin: 0 auto;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.lightbox__frame-yt {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.lightbox__video { display: block; }

.lightbox__frame-yt[hidden],
.lightbox__video[hidden] { display: none; }

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4px 0;
}

.lightbox__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.lightbox__dl {
  font-size: 14px;
  font-weight: 600;
  color: var(--amber);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.lightbox__dl:hover { border-color: var(--amber); }

.lightbox__close {
  position: absolute;
  top: calc(18px + env(safe-area-inset-top));
  right: calc(24px + env(safe-area-inset-right));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 30px;
  line-height: 1;
  color: var(--cream);
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}

.lightbox__close:hover { border-color: var(--cream); transform: rotate(90deg); }

/* --------------------------------------------------------------------------
   Logo (inline SVG from js/logo.js) — parts animate independently
   -------------------------------------------------------------------------- */

.logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.logo__spin,
.logo__label,
.logo__wave,
.logo__disc,
.logo__shade {
  transform-box: view-box;
  transform-origin: 903.31px 531.17px;
}

.logo--hero .logo__spin { will-change: transform; }

.logo__label { transition: transform 0.12s var(--ease-out); }

.logo--hero.is-kick .logo__label { transform: scale(1.045); transition-duration: 0.05s; }

.logo__wave {
  transition: transform 0.09s linear, opacity 0.09s linear;
}

.logo:not(.is-live) .logo__wave {
  animation: waveIdle 2.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.14s);
}

@keyframes waveIdle {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Gate variant: no platter, parts assemble on load */

.logo--gate .logo__platter,
.logo--gate .logo__spindle { display: none; }

.logo--gate .logo__disc,
.logo--gate .logo__shade { animation: partIn 1.1s var(--ease-out) both; }

.logo--gate .logo__label { animation: partIn 0.9s var(--ease-out) 0.35s both; }

.logo--gate .logo__letter {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: letterIn 0.7s var(--ease-out) both;
  animation-delay: calc(0.7s + var(--i) * 0.09s);
}

.logo--gate .logo__arabic {
  clip-path: inset(0 0 0 100%);
  animation: arabicIn 1s var(--ease-in-out) 1.05s both;
}

.logo--gate .logo__wave {
  animation: waveIn 0.7s var(--ease-out) both, waveIdle 2.4s ease-in-out infinite;
  animation-delay: calc(1.5s + var(--i) * 0.07s), calc(2.2s + var(--i) * 0.14s);
}

.logo--gate .logo__hole { animation: partIn 0.6s var(--ease-out) 0.5s both; }

.gate.is-leaving .logo--gate .logo__spin { animation: recordSpin 0.9s var(--ease-in-out) infinite; }

@keyframes partIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes letterIn {
  from { transform: translateY(60px) scaleY(1.4); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes arabicIn {
  from { clip-path: inset(0 0 0 100%); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes waveIn {
  from { transform: scale(0.55); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .tile { grid-column: span 3; }

  .tile--portrait { grid-column: span 2; }

  .player { grid-template-columns: 1fr; gap: 40px; }

  .player__deck { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }

  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(100px + env(safe-area-inset-top));
    gap: 12px;
  }

  .turntable { width: min(100%, 440px, 42vh); order: -1; margin: 4% auto 0; }

  .hero__copy { max-width: 60ch; }

  .hero__kicker { margin-bottom: 10px; }

  .hero__title { font-size: clamp(34px, 9vw, 64px); }

  .tonearm { right: -2%; }

  .track { grid-template-columns: 44px minmax(0, 1fr); }

  .track__marker { width: 32px; height: 32px; }
}

@media (max-width: 980px) and (min-width: 820px) and (orientation: landscape) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 30px; }

  .turntable { order: 0; width: min(100%, 76vh); margin: 0 auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .nav__right { gap: 8px; }

  .sound { padding: 8px 12px; }

  .sound__text { display: none; }

  .burger { display: grid; }

  .nav { padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent); }

  .nav__links { display: none; }

  .nav__name { display: none; }

  .hero { padding-top: calc(84px + env(safe-area-inset-top)); padding-bottom: 32px; gap: 8px; }

  .turntable { width: min(78%, 300px, 40vh); margin: 2% auto 0; }

  .hero__kicker { font-size: 13px; }

  .hero__title { font-size: clamp(34px, 10.5vw, 48px); }

  .hero__lede { font-size: 15px; }

  .eq { height: 28px; margin-top: 20px; }

  .hero__scroll { display: none; }

  .ticker { padding: 16px 0; }

  .section__head { margin-bottom: 18px; gap: 4px; }

  .reel, .services, .tapes { padding-top: 40px; padding-bottom: 40px; }

  .nights { padding-top: 40px; padding-bottom: 40px; }

  .wall { margin-top: -1vw; margin-bottom: -1vw; }

  .book { padding-top: 44px; padding-bottom: 48px; }

  .ticker { padding: 12px 0; }

  .tracklist { border-top-width: 1px; }

  .track:last-child { border-bottom: 0; padding-bottom: 8px; }

  .setlist .song:last-child { border-bottom: 0; }

  .player__time { margin: 8px 0 14px; }

  .volume { margin-top: 6px; }

  .section__sub { font-size: 15px; }

  .section__title { font-size: clamp(32px, 9.5vw, 44px); }

  .book__title { font-size: clamp(56px, 17vw, 80px); }

  .book__sub { font-size: 16px; margin-bottom: 28px; }

  .book__actions { gap: 10px; }

  .btn--big { padding: 18px 28px; font-size: 15px; }

  .footer { padding-top: 36px; gap: 8px; }

  .footer__links { flex-direction: row; justify-content: center; gap: 8px 18px; font-size: 14px; }

  .player { gap: 28px; }

  .player__deck { gap: 18px; }

  .player__platter { width: min(72%, 280px, 36vh); }

  .player__title { margin-bottom: 12px; }

  .song__btn { padding: 14px 6px; }

  .track { padding: 26px 0; }

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

  .reel__grid { grid-template-columns: 1fr; gap: 14px; }

  .tile, .tile:nth-child(n + 5) { grid-column: 1 / -1; }

  .tile:nth-child(1) { aspect-ratio: 16 / 9; }

  /* Portrait reels: one swipeable row */
  .reel__grid:has(.tile--portrait) { grid-template-columns: 1fr; }

  .reel__strip {
    display: flex;
    gap: 12px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0 var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .reel__strip::-webkit-scrollbar { display: none; }

  .reel__strip .tile--portrait {
    flex: 0 0 66vw;
    max-width: 300px;
    scroll-snap-align: start;
    aspect-ratio: 9 / 16;
  }

  .reel__strip::after { content: ""; flex: 0 0 calc(var(--gutter) - 12px); }

  .tile__meta { left: 16px; right: 16px; bottom: 16px; }

  .tile__play { width: 46px; height: 46px; }

  .hero__actions .btn { width: 100%; justify-content: center; }

  .book__actions .btn { width: 100%; justify-content: center; }



  .lightbox { padding: 12px; }

  .wall { --row-h: clamp(104px, 16vh, 140px); transform: rotate(-2deg); gap: 8px; }

  .wall__track { gap: 10px; }

  .photo { border-radius: 10px; }

  .player__deck { grid-template-columns: 1fr; gap: 28px; }

  .player__platter { width: min(80%, 300px); margin: 0 auto; }

  .song__btn { grid-template-columns: 30px minmax(0, 1fr) 30px 46px; gap: 10px; padding: 16px 6px; }

  .volume__range { flex: 1; width: auto; }

  .viewer__nav { width: 46px; height: 46px; margin-top: -23px; }
  .viewer__nav--prev { left: 8px; }
  .viewer__nav--next { right: 8px; }
  .viewer__stage { width: 100vw; height: 78vh; }
  .viewer__img { max-width: 100vw; max-height: 78vh; border-radius: 4px; }

  .lightbox__close { top: 10px; right: 12px; width: 44px; height: 44px; }

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

@media (max-width: 360px) {
  :root { --gutter: 16px; }

  .hero__title { font-size: clamp(30px, 10vw, 40px); }

  .turntable { width: min(72%, 240px, 36vh); }

  .btn { padding: 14px 20px; font-size: 13px; }

  .btn--big { padding: 18px 24px; font-size: 14px; }

  .track__tags li { font-size: 12px; padding: 5px 10px; }

  .player__btn--play { width: 60px; height: 60px; }
}

/* Short landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 20px; padding-top: 70px; }

  .turntable { order: 0; width: min(100%, 70vh); margin: 0 auto; }

  .eq { display: none; }

  .gate { --gate-logo: min(44vw, 440px, 38vh); }

  .gate__inner { gap: 8px; }
}

/* --------------------------------------------------------------------------
   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;
    transition-delay: 0ms !important;
  }

  .gate__noise, .cursor, .book__glow { display: none; }

  .wall { transform: none; }
  .wall__row { opacity: 1; transform: none; }
  .viewer__img.is-shown { animation: none; }

  .logo__spin, .logo__wave, .nav__logo, .track__marker, .ticker__track, .player__btn--play { animation: none !important; }

  .player__deck, .song { opacity: 1; transform: none; }

  .logo--gate .logo__disc, .logo--gate .logo__shade, .logo--gate .logo__label, .logo--gate .logo__letter, .logo--gate .logo__arabic, .logo--gate .logo__wave, .logo--gate .logo__hole { animation: none !important; clip-path: none; opacity: 1; transform: none; }

  body.is-open .hero__line > span,
  body.is-open .hero__kicker,
  body.is-open .hero__lede,
  body.is-open .hero__actions,
  body.is-open .turntable,
  .tile.is-in,
  [data-reveal].is-in,
  .book.is-in .book__title span { opacity: 1; transform: none; }
}
