/* ───────── Tokens ───────── */
:root {
  --night: #0b0e13;
  --night-2: #12161d;
  --stone: #ece7df;
  --stone-2: #e3dcd1;
  --ink: #14171c;
  --cloud: #f0ebe3;
  --mist: #959ca6;
  --mist-ink: #5c5e60;
  --line-d: rgba(240, 235, 227, 0.14);
  --line-l: rgba(20, 23, 28, 0.14);
  --glow: #e9a47c;
  --sky: #a7b8c8;

  --serif: "Marcellus", "Times New Roman", serif;
  --italic: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(0.22, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cloud);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
html.intro-active, html.intro-active body { overflow: hidden; }
.no-js-fallback .reveal { opacity: 1; transform: none; }
.no-js-fallback .hero-controls, .no-js-fallback .hero-next:empty { display: none; }
.no-intro .intro { display: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--glow); color: var(--night); }

/* Film grain over everything — subtle, cinematic */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  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='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: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--cloud); color: var(--night); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--glow); outline-offset: 4px; }
.light :focus-visible, .band :focus-visible { outline: 2px solid var(--ink); }

/* ───────── Type ───────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mist);
}
.light .eyebrow { color: var(--mist-ink); }
.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-top: 18px;
}
.title em, .serif-line, .italic {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.title em { color: var(--glow); }
.light .title em { color: #b8643f; }
.serif-line { font-size: clamp(22px, 2.4vw, 32px); color: var(--mist); margin-top: 14px; }
.light .serif-line { color: var(--mist-ink); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.75; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s;
}
.btn svg { width: 14px; height: 14px; flex: none; }
.btn-solid { background: var(--ink); border-color: var(--ink); color: var(--stone); }
.btn-solid:hover { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--stone); }
.dark .btn-line:hover { background: var(--cloud); border-color: var(--cloud); color: var(--night); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────── Intro ───────── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--night);
  cursor: pointer;
  transition: background-color 1s var(--ease);
}
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 50% at 50% 55%, rgba(233, 164, 124, 0.22), transparent 70%),
    radial-gradient(60% 60% at 50% 40%, rgba(167, 184, 200, 0.12), transparent 70%);
  transition: opacity 1.2s var(--ease);
}
.intro svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.9s var(--ease); }
.intro.show svg { opacity: 1; }
.intro.reveal-page { background-color: transparent; }
.intro.reveal-page::before { opacity: 0; }
.intro.gone { display: none; }
.intro-skip {
  position: absolute;
  right: var(--gutter);
  bottom: calc(24px + env(safe-area-inset-bottom));
  background: none;
  border: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
  cursor: pointer;
  transition: opacity 0.4s;
}
.intro.reveal-page .intro-skip { opacity: 0; }

/* ───────── Nav ───────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s, opacity 0.8s, transform 0.8s var(--ease);
}
.intro-active .nav { opacity: 0; transform: translateY(-12px); }
/* The frosted background lives on a pseudo-element: a backdrop-filter on .nav itself
   would trap the fixed-position mobile menu inside the header bar. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 14, 19, 0.9);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.nav.scrolled::before { opacity: 1; }
.nav.scrolled {
  padding-block: 14px;
  border-color: var(--line-d);
}
.nav-logo { position: relative; z-index: 2; }
.nav-logo img { height: 19px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(240, 235, 227, 0.72);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--cloud); }
.nav-links .nav-links-cta {
  color: var(--cloud);
  padding: 11px 20px;
  border: 1px solid var(--line-d);
  border-radius: 999px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav-links .nav-links-cta:hover { background: var(--cloud); color: var(--night); border-color: var(--cloud); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
    gap: 7px;
    place-content: center;
    width: 44px; height: 44px;
    margin-left: auto;
    background: none; border: 0; padding: 0; cursor: pointer;
    position: relative; z-index: 2;
  }
  .nav-toggle span:not(.sr) { width: 24px; height: 1px; background: var(--cloud); transition: transform 0.4s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    justify-content: safe center;
    overflow-y: auto;
    padding-block: 80px 24px;
    gap: 14px;
    background: var(--night);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(30px, 11vw, 40px);
    letter-spacing: 0.02em;
    color: var(--cloud);
  }
  .nav-links .nav-links-cta { border: 0; padding: 0; font-family: var(--italic); font-weight: 400; font-style: italic; text-transform: none; color: var(--glow); }
}
@media (max-width: 900px) and (max-height: 500px) {
  .nav-links { gap: 2px; padding-block: 64px 16px; }
  .nav-links a { font-size: clamp(22px, 8vh, 40px); }
}

/* ───────── Hero ───────── */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(0.82) contrast(1.04);
  transform: scale(1.06);
  animation: settle 9s var(--ease) both;
}
@keyframes settle { to { transform: scale(1); } }
.hero-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 55% at 50% 50%, rgba(11, 14, 19, 0.45), rgba(11, 14, 19, 0) 70%),
    linear-gradient(to bottom, rgba(11, 14, 19, 0.55), rgba(11, 14, 19, 0.05) 28%, rgba(11, 14, 19, 0.1) 60%, rgba(11, 14, 19, 0.9));
}
.hero-center { text-align: center; padding: 0 var(--gutter); width: 100%; }
.hero-logo { margin: 22px auto 20px; width: min(78vw, 820px); }
.hero-logo img { width: 100%; height: auto; }
.hero-tagline {
  font-family: var(--italic);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 34px);
  color: rgba(240, 235, 227, 0.92);
}
.hero-center .eyebrow { color: rgba(240, 235, 227, 0.8); }
.hero-center > * { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.intro-active .hero-center .eyebrow,
.intro-active .hero-tagline { opacity: 0; transform: translateY(14px); }
.intro-active .hero-logo { opacity: 0; transition: none; }
.hero-tagline { transition-delay: 0.15s; }
.hero-center > .hero-logo { transition: none; }

.hero-foot {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 var(--gutter) calc(28px + env(safe-area-inset-bottom));
  transition: opacity 1.2s var(--ease) 0.3s;
}
.intro-active .hero-foot { opacity: 0; }
.hero-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(240, 235, 227, 0.75);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 0 rgba(233, 164, 124, 0.6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(233, 164, 124, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 164, 124, 0); } }

.hero-next {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 22px 8px 8px;
  border-radius: 999px;
  background: rgba(11, 14, 19, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-d);
  text-decoration: none;
  transition: background 0.4s var(--ease), border-color 0.4s;
}
.hero-next:hover { background: rgba(11, 14, 19, 0.6); border-color: rgba(240, 235, 227, 0.3); }
.hero-next img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.hero-next small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--glow); line-height: 1.6; }
.hero-next strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(14px, 3.9vw, 17px); line-height: 1.2; letter-spacing: 0.02em; text-wrap: balance; }

.hero-controls { justify-self: end; display: flex; align-items: center; gap: 22px; }
.sound {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(240, 235, 227, 0.8);
}
.sound:hover { color: var(--cloud); }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height 0.3s; }
.sound.on .bars i { animation: eq 0.9s ease-in-out infinite; }
.sound.on .bars i:nth-child(2) { animation-delay: -0.3s; }
.sound.on .bars i:nth-child(3) { animation-delay: -0.6s; }
.sound.on .bars i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 14px; } }

@media (max-width: 1000px) {
  .hero-foot { grid-template-columns: 1fr auto; grid-template-areas: "next next" "cap sound"; row-gap: 18px; }
  .hero-next { grid-area: next; justify-self: start; }
  .hero-caption { grid-area: cap; font-size: 10px; letter-spacing: 0.18em; }
  .hero-controls { grid-area: sound; gap: 16px; }
}
@media (max-width: 420px) {
  .hero-foot { grid-template-columns: 1fr; grid-template-areas: "next" "cap" "sound"; row-gap: 14px; }
  .hero-controls { justify-self: start; }
}

/* ───────── Band ───────── */
.band {
  overflow: hidden;
  background: var(--stone);
  color: var(--ink);
  padding: 24px 0;
  border-bottom: 1px solid var(--line-l);
}
.band-track { display: flex; align-items: center; width: max-content; animation: band 96s linear infinite; }
.band:hover .band-track, .motion-paused .band-track, .motion-paused body::after { animation-play-state: paused; }
.band-track span {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 0 34px;
}
.band-track span small { font-family: var(--italic); font-style: italic; font-size: 0.9em; text-transform: none; letter-spacing: 0; color: #96502f; margin-left: 6px; }
.band-track i.palm {
  flex: none;
  width: 0.62em; height: 1.28em;
  font-size: clamp(20px, 2.2vw, 30px);
  background: #b8643f;
  -webkit-mask: url("assets/img/palm-moon.svg") center / contain no-repeat;
  mask: url("assets/img/palm-moon.svg") center / contain no-repeat;
}
@keyframes band { to { transform: translateX(-50%); } }

/* ───────── Sections ───────── */
.light { background: var(--stone); color: var(--ink); }
.light-2 { background: var(--stone-2); }
.dark { background: var(--night); color: var(--cloud); }
.dark-2 { background: var(--night-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 13vw, 180px) var(--gutter); }
.head { margin-bottom: clamp(48px, 7vw, 96px); }

/* New music */



/* Releases */
.chapters { display: grid; }
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
}
.chapter:nth-child(even) .chapter-media { order: 2; }
/* Releases — frosted-glass mat (photo sits in a pane of cloudy glass,
   its own colours glowing softly through from behind) */
.chapter-media {
  --mat: clamp(12px, 1.8vw, 26px);
  --r-out: clamp(20px, 2.5vw, 36px);
  --r-in: max(6px, calc(var(--r-out) - var(--mat)));
  position: relative;
  isolation: isolate;
  padding: var(--mat);
  border-radius: var(--r-out);
  overflow: visible;
}
/* 1 — ambient light: a blurred copy of the same photo behind the glass */
.chapter-media .chapter-glow {
  position: absolute;
  inset: -3%;
  z-index: -1;
  width: 106%;
  height: 106%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: var(--r-out);
  filter: blur(44px) saturate(1.4);
  opacity: 0.34;
  transform: none;
  transition: opacity 1.2s var(--ease);
  pointer-events: none;
  user-select: none;
}
/* 2 — the glass pane: frost tint, backdrop blur, top-edge catch light */
.chapter-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg,
      rgba(240, 235, 227, 0.13) 0%,
      rgba(240, 235, 227, 0.07) 40%,
      rgba(240, 235, 227, 0.06) 70%,
      rgba(240, 235, 227, 0.10) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(1.5) brightness(1.55);
  backdrop-filter: blur(12px) saturate(1.5) brightness(1.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 50px 90px -50px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}
/* 3 — specular rim: bright at the top-left, fading away, faint warm return */
.chapter-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.10) 22%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0.06) 78%,
    rgba(233, 164, 124, 0.28) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* 4 — the photo, set into the glass */
.chapter-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--r-in);
  box-shadow:
    0 0 0 1px rgba(11, 14, 19, 0.45),
    0 22px 44px -26px rgba(0, 0, 0, 0.75);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari: keep rounded clip during scale */
}
.chapter-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.03);
  transform: scale(1.1);
  transition: transform 2.2s var(--ease), filter 0.8s;
}
.chapter.in .chapter-photo img { transform: scale(1); }
.chapter:hover .chapter-photo img { filter: saturate(1) contrast(1.03); }
.chapter:hover .chapter-glow { opacity: 0.5; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .chapter-media::before { background-color: rgba(240, 235, 227, 0.08); }
}

.chapter h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.3vw, 50px);
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0;
}
.chapter h3 .t { white-space: nowrap; }
.chapter h3 em { font-family: var(--italic); font-style: italic; text-transform: none; color: var(--glow); font-size: 1.12em; white-space: nowrap; }
.chapter h3 .dash { color: var(--mist); }
.chapter .text { color: rgba(240, 235, 227, 0.72); margin: 24px 0 0; max-width: 48ch; }
.chapter .stat { margin-top: 30px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.chapter .stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 7vw, 104px); line-height: 1; color: var(--glow); }
.chapter .stat span { font-family: var(--italic); font-style: italic; font-size: 22px; color: var(--mist); }
.chapter .listen {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-d);
  transition: border-color 0.3s, gap 0.3s var(--ease);
}
.chapter .listen:hover { border-color: var(--glow); gap: 16px; }
.chapter .listen svg { width: 12px; height: 12px; }

@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter:nth-child(even) .chapter-media { order: 0; }
}

/* ── Releases: vinyl-groove dividers ──
   Between releases: a band of hairline grooves (like the quiet gap between tracks on a record)
   with a slow, warm glint travelling along them. It passes behind the palm & moon and lights it up.
   All layers hang off the release ABOVE the divider, so they reveal with it:
   .chapter::before grooves · .chapter::after glint · .chapter-body::before clearing · ::after emblem */
.chapters {
  --ch-gap: clamp(128px, 15vw, 216px);
  --groove-h: clamp(40px, 4.4vw, 64px);
  --groove-emblem: clamp(24px, 2.4vw, 34px);
  --groove-clear: clamp(84px, 8vw, 116px);
  gap: var(--ch-gap);
}
.chapter { position: relative; isolation: isolate; }
.chapter:not(:last-child)::before,
.chapter:not(:last-child)::after,
.chapter:not(:last-child) > .chapter-body::before,
.chapter:not(:last-child) > .chapter-body::after {
  content: "";
  position: absolute;
  top: calc(100% + var(--ch-gap) / 2 - var(--groove-h) / 2);
  height: var(--groove-h);
  pointer-events: none;
}
/* grooves: 1px hairlines every 4px (every 5th a touch brighter), dissolving at the ends and towards top & bottom */
.chapter:not(:last-child)::before {
  left: 0; right: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(to bottom, rgba(240, 235, 227, 0.1) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(to bottom, rgba(240, 235, 227, 0.15) 0 1px, transparent 1px 4px);
  -webkit-mask: linear-gradient(to right, transparent, #000 26%, #000 74%, transparent),
                linear-gradient(to bottom, transparent, #000 38%, #000 62%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(to right, transparent, #000 26%, #000 74%, transparent),
        linear-gradient(to bottom, transparent, #000 38%, #000 62%, transparent);
  mask-composite: intersect;
}
/* glint: the same grooves lit in warm sunset light, plus a faint haze, gliding along the band */
.chapter:not(:last-child)::after {
  left: 0; width: 40%;
  z-index: 1;
  background:
    repeating-linear-gradient(to bottom, rgba(255, 226, 202, 0.62) 0 1px, transparent 1px 4px),
    radial-gradient(50% 50% at 50% 50%, rgba(233, 164, 124, 0.16), transparent 75%);
  -webkit-mask: linear-gradient(to right, transparent, #000 50%, transparent),
                linear-gradient(to bottom, transparent, #000 38%, #000 62%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(to right, transparent, #000 50%, transparent),
        linear-gradient(to bottom, transparent, #000 38%, #000 62%, transparent);
  mask-composite: intersect;
  opacity: 0;
  will-change: transform, opacity;
  animation: groove-glint 22s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
/* the "record label": a soft night-coloured clearing in the middle that the grooves (and glint) pass behind */
.chapter:not(:last-child) > .chapter-body::before {
  left: 50%;
  width: var(--groove-clear);
  margin-left: calc(var(--groove-clear) / -2);
  z-index: 2;
  background:
    radial-gradient(closest-side, rgba(233, 164, 124, 0.07), transparent),
    linear-gradient(to right, transparent, var(--night) 30%, var(--night) 70%, transparent);
}
/* the palm & moon */
.chapter:not(:last-child) > .chapter-body::after {
  top: calc(100% + var(--ch-gap) / 2 - var(--groove-emblem) / 2);
  height: var(--groove-emblem);
  left: 50%;
  width: calc(var(--groove-emblem) * 0.4841);
  margin-left: calc(var(--groove-emblem) * -0.242);
  z-index: 3;
  background: var(--glow);
  -webkit-mask: url("assets/img/palm-moon.svg") center / contain no-repeat;
  mask: url("assets/img/palm-moon.svg") center / contain no-repeat;
  opacity: 0.7;
  animation: groove-emblem 22s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
/* stagger the dividers; every other glint travels right-to-left, echoing the alternating layout */
.chapter:nth-child(even)::after,
.chapter:nth-child(even) > .chapter-body::after { animation-direction: reverse; animation-delay: -8s; }
.chapter:nth-child(3n)::after,
.chapter:nth-child(3n) > .chapter-body::after { animation-delay: -15s; }
@keyframes groove-glint {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  40%  { opacity: 1; }
  50%  { transform: translateX(150%); opacity: 0; }
  100% { transform: translateX(150%); opacity: 0; }
}
@keyframes groove-emblem {
  0%, 15%, 35%, 100% { opacity: 0.7; }
  25% { opacity: 1; }
}
.motion-paused .chapter::after,
.motion-paused .chapter > .chapter-body::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .chapter:not(:last-child)::after,
  .chapter:not(:last-child) > .chapter-body::after { animation: none; }
}

/* Watch */
.feature-video {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
  text-align: left;
}
.feature-video img, .feature-video picture { display: block; width: 100%; }
.feature-video img { aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(0.85); transition: transform 1.6s var(--ease), filter 0.8s; }
.feature-video:hover img { transform: scale(1.03); filter: saturate(1); }
.feature-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 14, 19, 0.85), rgba(11, 14, 19, 0) 55%); }
.feature-video .fv-text { position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 52px); right: 20px; z-index: 1; }
.feature-video .fv-text strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 6vw, 88px); line-height: 1; text-transform: uppercase; margin: 10px 0 8px; }
.feature-video .fv-text span.italic { font-size: clamp(18px, 2vw, 26px); color: rgba(240, 235, 227, 0.8); }
.play {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 1;
  width: clamp(72px, 8vw, 104px);
  height: clamp(72px, 8vw, 104px);
  margin: calc(clamp(72px, 8vw, 104px) / -2) 0 0 calc(clamp(72px, 8vw, 104px) / -2);
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(240, 235, 227, 0.6);
  background: rgba(11, 14, 19, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cloud);
  transition: transform 0.6s var(--ease), background 0.4s;
}
.play svg { width: 26%; height: 26%; margin-left: 6%; }
.feature-video:hover .play, .video-card:hover .play { transform: scale(1.08); background: rgba(240, 235, 227, 0.15); }

.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(16px, 2.4vw, 32px); }
.video-card { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: inherit; }
.video-card .thumb { display: block; position: relative; overflow: hidden; border-radius: 2px; }
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(0.85); transition: transform 1.4s var(--ease), filter 0.6s; }
.video-card:hover img { transform: scale(1.05); filter: saturate(1); }
.video-card .play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.video-card .meta { display: block; padding-top: 16px; }
.video-card strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; text-transform: uppercase; line-height: 1.2; margin-top: 6px; }
@media (max-width: 760px) {
  .videos { grid-template-columns: 1fr; }
  .feature-video img { aspect-ratio: 4 / 5; }
  .feature-video .play { top: 40%; }
}

/* Behind the Scenes — Instagram tiles (slow drift keeps them alive) */
.moves { border-top: 1px solid var(--line-d); }
.moves .wrap { padding-top: clamp(64px, 8vw, 110px); }
.moves-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.moves-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.move a { display: block; text-decoration: none; color: inherit; }
.move-media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(240, 235, 227, 0.12), 0 30px 60px -36px rgba(0, 0, 0, 0.9);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari: keep the rounded clip while the image drifts */
  transition: box-shadow 0.5s var(--ease), transform 0.6s var(--ease);
}
.move-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 32%),
    linear-gradient(to top, rgba(11, 14, 19, 0.6), rgba(11, 14, 19, 0) 46%);
}
.move-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.88);
  animation: ig-drift 18s ease-in-out infinite alternate;
  transition: filter 0.6s;
}
.move:nth-child(2n) .move-media img { animation-delay: -6s; animation-direction: alternate-reverse; }
.move:nth-child(3n) .move-media img { animation-delay: -12s; }
@keyframes ig-drift {
  from { transform: scale(1.03) translate3d(0, 1.5%, 0); }
  to   { transform: scale(1.12) translate3d(0, -1.5%, 0); }
}
.motion-paused .move-media img { animation-play-state: paused; }
.move a:hover .move-media, .move a:focus-visible .move-media { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(240, 235, 227, 0.28), 0 40px 70px -36px rgba(0, 0, 0, 0.95); }
.move a:hover .move-media img { filter: saturate(1.05); }
.move-reel {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 14, 19, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(240, 235, 227, 0.35);
  color: var(--cloud);
}
.move-reel svg { width: 9px; height: 9px; margin-left: 1px; }
.move-open {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cloud);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.move-open svg { width: 10px; height: 10px; flex: none; }
.move a:hover .move-open, .move a:focus-visible .move-open { opacity: 1; transform: none; }
.move-meta { display: block; padding-top: 14px; }
.move-kicker { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--glow); }
.move-title { display: block; margin-top: 6px; font-family: var(--serif); font-size: 15px; line-height: 1.3; letter-spacing: 0.02em; text-transform: uppercase; color: var(--cloud); }
.move.reveal:nth-child(2) { transition-delay: 0.08s; }
.move.reveal:nth-child(3) { transition-delay: 0.16s; }
.move.reveal:nth-child(4) { transition-delay: 0.24s; }
.move.reveal:nth-child(5) { transition-delay: 0.32s; }
.move.reveal:nth-child(6) { transition-delay: 0.4s; }
@media (max-width: 1100px) { .moves-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .moves-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .move-title { font-size: 13px; }
  .move-open { display: none; }
}

/* Listen */
.listen .title { font-size: clamp(34px, 5.2vw, 80px); }
.listen { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.tracklist { border-top: 1px solid var(--line-l); }
.track a {
  display: grid;
  grid-template-columns: 28px 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-l);
  text-decoration: none;
  transition: padding 0.4s var(--ease), background 0.4s;
}
.track a:hover { padding-left: 12px; }
.track .n { font-family: var(--italic); font-style: italic; font-size: 18px; color: var(--mist-ink); }
.track img { width: 64px; height: 64px; object-fit: cover; border-radius: 2px; }
.track strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; line-height: 1.15; }
.track small { display: block; color: var(--mist-ink); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.track .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.track .arrow svg { width: 13px; height: 13px; }
.track a:hover .arrow { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.stream { margin-top: 56px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pills a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-l);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.pills a::after { content: "↗"; opacity: 0.5; }
.pills a:hover { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.pills-dark a { border-color: var(--line-d); }
.pills-dark a:hover { background: var(--cloud); color: var(--night); border-color: var(--cloud); }
.spotify { position: sticky; top: 100px; }
.spotify iframe { width: 100%; height: 560px; border: 0; border-radius: 14px; display: block; background: var(--night); }
@media (max-width: 960px) {
  .listen { grid-template-columns: 1fr; }
  .spotify { position: static; }
  .spotify iframe { height: 420px; }
}
@media (max-width: 480px) { .track a { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; } .track .n { display: none; } .track img { width: 52px; height: 52px; } }

/* About — full-width cinematic photo with the statement over the dark cave floor */
.about-media { position: relative; overflow: hidden; isolation: isolate; margin: 0; height: min(92vh, 66vw); min-height: 520px; }
.about-media.reveal { opacity: 1; transform: none; }
.about-media picture, .about-media img { display: block; width: 100%; height: 100%; }
.about-media img { object-fit: cover; object-position: 50% 38%; filter: saturate(0.92) contrast(1.03); transform: scale(1.08); transition: transform 2.8s var(--ease); }
.about-media.in img { transform: scale(1); }
.about-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 14, 19, 0.82), rgba(11, 14, 19, 0.15) 40%, rgba(11, 14, 19, 0) 62%); }
.about-statement {
  position: absolute;
  z-index: 1;
  bottom: clamp(28px, 5vw, 72px);
  left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  right: var(--gutter);
  color: var(--cloud);
}
.about .about-statement .eyebrow { color: rgba(240, 235, 227, 0.8); }
.about .about-statement .title { font-size: clamp(36px, 4.4vw, 64px); }
.about .about-statement .title em { color: var(--glow); }
.about-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; padding-block: clamp(64px, 8vw, 112px); }
.roles { display: flex; flex-wrap: wrap; gap: 10px; }
.roles li { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-l); font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.about-stat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.about-stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 8vw, 116px); line-height: 0.9; letter-spacing: -0.01em; color: #b8643f; font-variant-numeric: tabular-nums; }
.about-stat span { font-family: var(--italic); font-style: italic; font-size: clamp(19px, 1.6vw, 22px); color: var(--mist-ink); }
@media (max-width: 860px) { .about-body { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .about-media { height: auto; min-height: 0; } .about-media img { height: auto; aspect-ratio: 4 / 5; } }

/* Contact */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 120%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 100%, rgba(233, 164, 124, 0.28), transparent 70%),
              radial-gradient(40% 40% at 20% 100%, rgba(167, 184, 200, 0.16), transparent 70%);
}
.mail {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  margin: 26px 0 clamp(64px, 8vw, 110px);
  font-family: var(--serif);
  font-size: clamp(30px, 6.4vw, 100px);
  line-height: 1.05;
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--glow), var(--glow)) 0 100% / 0 1px no-repeat;
  padding-bottom: 6px;
  transition: background-size 0.8s var(--ease), color 0.4s;
}
.mail:hover { background-size: 100% 1px; color: var(--glow); }
.mail svg { width: 0.5em; height: 0.5em; flex: none; transition: transform 0.5s var(--ease); }
.mail:hover svg { transform: translate(6px, -6px); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding-top: 40px; border-top: 1px solid var(--line-d); }
.label-list { margin-top: 18px; display: grid; gap: 10px; }
.label-list a { text-decoration: none; font-size: 17px; transition: color 0.3s; }
.label-list a:hover { color: var(--glow); }
.label-list span { color: var(--mist); margin-right: 10px; font-family: var(--italic); font-style: italic; font-size: 19px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mail { font-size: 6.8vw; } }

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 30px var(--gutter) calc(30px + env(safe-area-inset-bottom));
  background: var(--night);
  border-top: 1px solid var(--line-d);
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.footer-logo { height: 15px; width: auto; opacity: 0.8; }

/* Lightbox */
.lightbox {
  width: min(92vw, 1280px, calc((100vh - 140px) * 16 / 9));
  width: min(92vw, 1280px, calc((100dvh - 140px) * 16 / 9));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(6, 8, 11, 0.92); backdrop-filter: blur(8px); }
.lightbox-frame { aspect-ratio: 16 / 9; background: #000; }
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox-close {
  position: absolute;
  right: 0; top: -52px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-d);
  background: none;
  color: var(--cloud);
  cursor: pointer;
}

@media (max-height: 500px) {
  .lightbox { width: min(92vw, calc((100vh - 24px) * 16 / 9)); width: min(92vw, calc((100dvh - 24px) * 16 / 9)); }
  .lightbox-close { position: fixed; top: 8px; right: 8px; background: rgba(11, 14, 19, 0.6); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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