/* ============================================================
   LIMEN — Falveta DJs · Capsule #12
   Visual DNA: ancient marble ↔ synthetic future
   ============================================================ */

:root {
  --bg:        #0C0A0E;   /* near-black, faint warm violet */
  --cream:     #EDE8DC;   /* ancient marble / aged paper */
  --bronze:    #C4955A;   /* oxidized copper, ancient coin */
  --night:     #2C3E52;   /* steel night blue */
  --stone:     #4A4035;   /* ash neutral, dividers */
  --body:      #8A8278;   /* muted body copy */
  --decor:     #1E1B22;   /* barely-visible decorative */
  --foot:      #2A2628;   /* footer ghost text */
  --overlay:   rgba(196,149,90,0.06);
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);

  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body:    "DM Sans", system-ui, -apple-system, sans-serif;
  --f-mono:    "Space Mono", "SF Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--bronze); color: var(--bg); }

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

/* ---------- fixed full-page layers ---------- */

#particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* film grain — always present */
#grain {
  position: fixed;
  inset: -2%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/></svg>");
  animation: grainShift 0.5s steps(2) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-1%, 1%); }
  100% { transform: translate(1%, -1%); }
}

/* scroll progress — trailing light */
#progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 1000;
  background: var(--bronze);
  box-shadow: 0 0 8px rgba(196,149,90,0.5);
  opacity: 0.7;
  pointer-events: none;
}

/* ============================================================
   INTRO
   ============================================================ */
#intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 600ms var(--ease);
}
#intro.dissolve { opacity: 0; }
#intro.gone { display: none; }

.intro-line {
  width: 0;
  height: 1px;
  background: var(--bronze);
  margin-bottom: 48px;
}
.intro-name {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  text-indent: 0.15em;
  white-space: nowrap;
}
.intro-tagline {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 40px;
  opacity: 0;
  transition: opacity 800ms var(--ease);
  text-indent: 0.4em;
}
.intro-tagline.in { opacity: 1; }

/* character stagger primitive — letters resolve out of marble dust */
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(16px);
  transition: opacity 900ms var(--ease),
              transform 900ms var(--ease),
              filter 900ms var(--ease);
  white-space: pre;
}
.char.in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(12,10,14,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,149,90,0.12);
  opacity: 0;
  transition: opacity 800ms var(--ease);
}
#header.in { opacity: 1; }
.header-name {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
}
.header-nav {
  display: flex;
  gap: 32px;
}
.header-nav a {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 150ms var(--ease);
}
.header-nav a:hover { color: var(--bronze); }

/* ============================================================
   GENERAL SECTION RHYTHM
   ============================================================ */
main { position: relative; z-index: 2; }

/* Sections that receive background photo layers need a stacking context */
#hero, #live, #sounds, #stages, #press { position: relative; }

/* Section background photo — inset floating card with delicate rounded corners */
.section-photo-bg {
  position: absolute;
  inset: 40px;
  border-radius: 24px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: var(--bg-opacity, 0.08);
}

/* Press photo slot — editorial portrait above the quotes */
.press-photo {
  margin: 56px auto 0;
  max-width: 600px;
  height: 400px;
}
.press-photo image-slot { width: 100%; height: 100%; }

.section-label {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--stone);
}

/* scroll-triggered entry — surfaces through a soft focus pull */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition: opacity 1100ms var(--ease),
              transform 1100ms var(--ease),
              filter 1100ms var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* hero text cascade — driven after the intro dissolves */
.hero-rise {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(10px);
  transition: opacity 1100ms var(--ease),
              transform 1100ms var(--ease),
              filter 1100ms var(--ease);
}
.hero-rise.in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* a staggered container only fades \u2014 its children carry the motion */
.reveal[data-stagger] { transform: none; filter: none; }

/* line-draw divider */
.rule {
  height: 1px;
  width: 0;
  background: var(--bronze);
  transition: width 1200ms ease-out;
}
.rule.in { width: var(--rule-w, 40px); }

/* image slot styling shared */
image-slot {
  display: block;
  background: #14111A;
  --slot-radius: 0;
}
.photo-enter {
  filter: blur(10px);
  opacity: 0;
  transition: filter 1400ms ease-out, opacity 1400ms ease-out;
}
.photo-enter.in { filter: blur(0); opacity: 1; }

.grain-on {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)' opacity='.5'/></svg>");
  mix-blend-mode: overlay;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 60% 40%;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  left: 20%;
  top: 50%;
  width: 1000px;
  height: 1000px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.hero-glow .core {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--bronze) 0%, rgba(196,149,90,0) 50%);
  opacity: 0.02;
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(0.9); opacity: 0.015; }
  50%      { transform: scale(1.1); opacity: 0.035; }
}

.hero-photo {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero-photo-inner {
  position: absolute;
  left: 0; right: 0;
  top: -15%;
  height: 130%;
  will-change: transform;
}
.hero-photo-inner image-slot {
  width: 100%;
  height: 100%;
}
.hero-photo-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    var(--bg) 0%,
    rgba(12,10,14,0) 22%,
    rgba(12,10,14,0) 78%,
    var(--bg) 100%),
    linear-gradient(90deg,
    rgba(12,10,14,0) 70%,
    var(--bg) 100%);
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 3;
  padding: 0 clamp(28px, 3.5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.hero-capsule {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 36px;
  text-indent: 0.3em;
}
.hero-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(38px, 4.6vw, 88px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.hero-rule { margin: 28px 0; --rule-w: 40px; }
.hero-meta {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.hero-quote {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--bronze);
  max-width: 30ch;
  margin: 32px 0 40px;
}
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 15px 28px;
  border: 1px solid rgba(196,149,90,0.5);
  background: transparent;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bronze);
  cursor: pointer;
  transition: background 240ms var(--ease),
              border-color 240ms var(--ease),
              color 240ms var(--ease);
}
.cta::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 460ms var(--ease);
}
.cta:hover {
  background: rgba(196,149,90,0.08);
  border-color: var(--bronze);
  color: var(--cream);
}
.cta:hover::after { transform: scaleX(1); }

/* ============================================================
   THE WORLD
   ============================================================ */
#world {
  position: relative;
  padding: 120px 32px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='m'><feTurbulence type='turbulence' baseFrequency='.45' numOctaves='6' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23m)' opacity='.025'/></svg>"),
    rgba(196,149,90,0.025);
  overflow: hidden;
}
#world .veins {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#world .world-inner { position: relative; z-index: 1; }
.world-quote {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  color: var(--cream);
  max-width: 900px;
  margin: 0 auto 56px;
  text-align: center;
  text-wrap: balance;
}
.world-body {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  color: var(--body);
  max-width: 640px;
  margin: 0 auto 24px;
}

/* ============================================================
   LIVE
   ============================================================ */
#live { padding: 120px 0; }
#live .live-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
  padding: 0 60px;
}
.live-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
}
.live-photo image-slot { width: 100%; height: 100%; }
.live-head {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.live-desc {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.9;
  color: var(--body);
  max-width: 52ch;
  margin: 28px 0 40px;
}
.specs { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.spec-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.spec-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}
.spec-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(74,64,53,0.6);
  transform: translateY(-3px);
  min-width: 24px;
}
.spec-value {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  white-space: nowrap;
  text-align: right;
}

/* ============================================================
   SOUNDS
   ============================================================ */
#sounds { padding: 120px 60px; }
.sounds-list { margin-top: 56px; }

/* per-row stagger entry — each track settles into place */
.sounds-list[data-stagger] .sound-row[data-child] {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: opacity 1000ms var(--ease),
              transform 1000ms var(--ease),
              filter 1000ms var(--ease);
}
.sounds-list[data-stagger] .sound-row[data-child].in {
  opacity: 1; transform: translateY(0); filter: blur(0);
}
.sound-row {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-left: 2px solid transparent;
  transition: border-color 200ms var(--ease);
}
.sound-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.05); }
.sound-row:hover { border-left-color: var(--bronze); }

.sound-num {
  display: none;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 72px;
  line-height: 1;
  color: var(--decor);
  opacity: 0.04;
  transition: opacity 200ms var(--ease);
  user-select: none;
  animation: slowRotate 90s linear infinite;
  width: 76px;
  text-align: center;
}
.sound-row:hover .sound-num { opacity: 0.10; }
@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.sound-art {
  position: relative;
  width: 160px;
  height: 160px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--decor);
  flex: none;
}
.sound-art image-slot { width: 100%; height: 100%; }

.sound-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sound-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  padding-left: 0;
  transition: padding-left 200ms var(--ease);
}
.sound-row:hover .sound-title { padding-left: 8px; }
.sound-sub {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  padding-left: 0;
  transition: padding-left 200ms var(--ease);
}
.sound-row:hover .sound-sub { padding-left: 8px; }

.sound-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.sound-chip {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  border: 1px solid rgba(196,149,90,0.3);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}
.sound-year {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--stone);
}

/* ============================================================
   STAGES
   ============================================================ */
#stages { padding: 120px 60px; }
.stages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 56px;
  align-items: start;
}
.stages-statement {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.1;
  color: var(--bronze);
  max-width: 16ch;
}
.stages-group { margin-bottom: 44px; }
.stages-group h4 {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}
.venue-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 2.1;
  color: var(--body);
}
.venue {
  transition: color 150ms var(--ease);
  cursor: default;
}
.venue:hover { color: var(--cream); }
.venue-sep { color: var(--stone); margin: 0 14px; opacity: 0.6; }

/* ============================================================
   PRESS
   ============================================================ */
#press { padding: 140px 32px; }
.press-list {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
}
.press-item { max-width: 600px; text-align: center; }
.press-quote {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1.4;
  color: var(--cream);
  margin-bottom: 18px;
  text-wrap: balance;
}
.press-source {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ============================================================
   BOOKING
   ============================================================ */
#booking {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 32px;
  overflow: hidden;
}
#booking .booking-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='b'><feTurbulence type='turbulence' baseFrequency='.45' numOctaves='6' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23b)' opacity='1'/></svg>");
}
#booking > * { position: relative; z-index: 1; }
.booking-head {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 100px);
  line-height: 1;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.booking-email {
  position: relative;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--bronze);
  margin: 40px 0 28px;
  transition: color 200ms var(--ease);
}
.booking-email::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 100%; height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 520ms var(--ease);
}
.booking-email:hover { color: var(--cream); }
.booking-email:hover::after { transform: scaleX(1); }
.booking-avail {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--foot);
}

/* ============================================================
   AUDIO / PLAYER / TOUR / DOWNLOADS / CURSOR LIGHT
   ============================================================ */

/* bronze lamp trailing the pointer */
#cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 540px; height: 540px;
  margin: -270px 0 0 -270px;
  z-index: 1; pointer-events: none;
  background: radial-gradient(circle at center,
    rgba(196,149,90,0.10) 0%, rgba(196,149,90,0) 60%);
  opacity: 0;
  transition: opacity 600ms var(--ease);
  will-change: transform;
  mix-blend-mode: screen;
}

/* hidden SoundCloud widget */
#sc-widget {
  position: fixed; bottom: 0; left: 0;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none; border: 0; z-index: -1;
}

/* hero glow breathes with the music while playing */
body.playing .hero-glow .core {
  animation: none;
  opacity: calc(0.02 + var(--energy, 0) * 0.07);
  transform: scale(calc(0.92 + var(--energy, 0) * 0.18));
  transition: opacity 90ms linear, transform 90ms linear;
}

/* generic staggered-child entry (tour rows, downloads) */
[data-stagger] [data-child] {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: opacity 1000ms var(--ease),
              transform 1000ms var(--ease),
              filter 1000ms var(--ease);
}
[data-stagger] [data-child].in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ---------- SOUNDS: playable rows ---------- */
.sounds-hint {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bronze);
  opacity: 0.7;
  margin-top: 16px;
}
.sound-row[data-track] { cursor: pointer; }
.sound-cover {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.sound-time {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--stone);
  min-width: 34px;
  text-align: right;
}
.sound-play {
  position: relative;
  width: 34px; height: 34px; flex: none;
  border: 1px solid rgba(196,149,90,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  gap: 2px;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.sound-row:hover .sound-play { border-color: var(--bronze); background: rgba(196,149,90,0.08); }
.sound-play::before {
  content: ""; width: 0; height: 0; margin-left: 2px;
  border-left: 8px solid var(--bronze);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.sound-play i {
  display: none; width: 2px; height: 6px;
  background: var(--bronze); border-radius: 1px;
}
.sound-row.active .sound-play::before { display: none; }
.sound-row.active .sound-play i { display: block; animation: eqbar 0.9s ease-in-out infinite; }
.sound-row.active .sound-play i:nth-child(2) { animation-delay: 0.15s; }
.sound-row.active .sound-play i:nth-child(3) { animation-delay: 0.30s; }
.sound-row.active .sound-play i:nth-child(4) { animation-delay: 0.45s; }
body:not(.playing) .sound-row.active .sound-play i { animation-play-state: paused; height: 6px; }
@keyframes eqbar { 0%, 100% { height: 4px; } 50% { height: 15px; } }
.sound-row.active { border-left-color: var(--bronze); }
.sound-row.active .sound-title { color: var(--bronze); }

/* ---------- now-playing bar ---------- */
#player {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 1500; height: 84px;
  display: flex; align-items: center; gap: 22px;
  padding: 0 24px;
  background: rgba(12,10,14,0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(196,149,90,0.2);
  transform: translateY(110%);
  transition: transform 600ms var(--ease);
}
body.player-open #player { transform: translateY(0); }
body.player-open { padding-bottom: 84px; }

.player-toggle {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  border: 1px solid rgba(196,149,90,0.5); background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.player-toggle:hover { background: rgba(196,149,90,0.1); border-color: var(--bronze); }
.pt-ico { position: relative; width: 14px; height: 14px; display: block; }
.pt-ico::before {
  content: ""; position: absolute; top: 50%; left: 56%;
  transform: translate(-50%,-50%);
  width: 0; height: 0;
  border-left: 11px solid var(--bronze);
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
#player.playing .pt-ico::before { display: none; }
#player.playing .pt-ico::after {
  content: ""; position: absolute; inset: 0 3px;
  border-left: 3px solid var(--bronze);
  border-right: 3px solid var(--bronze);
}

.player-meta { flex: none; width: 168px; min-width: 0; }
.player-title {
  font-family: var(--f-body); font-weight: 500; font-size: 14px;
  color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-artist {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--stone); margin-top: 5px;
}
.player-wave {
  flex: 1; height: 46px; min-width: 0;
  display: flex; align-items: center; gap: 2px;
  cursor: pointer;
}
.wbar {
  flex: 1; min-width: 1px;
  background: rgba(237,232,220,0.13);
  border-radius: 1px; transform-origin: center;
  transition: background 120ms linear;
}
.wbar.played { background: var(--bronze); }
.player-time {
  flex: none; display: flex; gap: 6px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--stone);
}
.player-time .sep { opacity: 0.5; }
#playerCur { color: var(--bronze); }
.player-close {
  flex: none; width: 34px; height: 34px;
  border: none; background: transparent;
  color: var(--stone); font-size: 22px; line-height: 1; cursor: pointer;
  transition: color 150ms var(--ease);
}
.player-close:hover { color: var(--cream); }

/* ---------- TOUR ---------- */
#tour { padding: 120px 60px; }
.tour-list { margin-top: 56px; max-width: 940px; }
.tour-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center; gap: 28px;
  padding: 24px 8px;
  border-top: 1px solid rgba(255,255,255,0.05);
  transition: background 200ms var(--ease);
}
.tour-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.05); }
.tour-row:hover { background: rgba(196,149,90,0.03); }
.tour-date { display: flex; flex-direction: column; align-items: flex-start; }
.tour-day {
  font-family: var(--f-display); font-weight: 300; font-size: 40px;
  line-height: 0.9; color: var(--cream);
}
.tour-mon {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.3em;
  color: var(--bronze); margin-top: 4px;
}
.tour-where { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tour-city {
  font-family: var(--f-body); font-weight: 400; font-size: 18px;
  letter-spacing: 0.02em; color: var(--cream);
}
.tour-venue {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--stone);
}
.tour-status {
  font-family: var(--f-body); font-weight: 400; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze);
  border: 1px solid rgba(196,149,90,0.4); padding: 9px 18px;
  white-space: nowrap; transition: background 200ms var(--ease);
}
a.tour-status:hover { background: rgba(196,149,90,0.1); }
.tour-status.sold { color: var(--stone); border-color: rgba(74,64,53,0.5); }
.tour-status.held { color: #6E7E92; border-color: rgba(44,62,82,0.7); }
.tour-foot {
  margin-top: 36px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--stone);
}

/* ---------- DOWNLOADS ---------- */
.booking-downloads {
  margin-top: 52px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  max-width: 660px;
}
.dl {
  display: flex; flex-direction: column; gap: 5px;
  padding: 14px 22px; min-width: 152px;
  border: 1px solid rgba(196,149,90,0.3);
  text-align: left;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.dl:hover { background: rgba(196,149,90,0.07); border-color: var(--bronze); }
.dl-label {
  font-family: var(--f-body); font-weight: 400; font-size: 13px;
  letter-spacing: 0.04em; color: var(--cream);
}
.dl-label::after { content: " ↓"; color: var(--bronze); }
.dl-meta {
  font-family: var(--f-mono); font-size: 8px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--stone);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  #live .live-grid { grid-template-columns: 1fr; gap: 48px; padding: 0 32px; }
  .live-photo { max-width: 480px; }
  .stages-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 880px) {
  #hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 60vh; position: relative; }
  .hero-photo-inner { position: absolute; }
  .hero-text { padding: 64px 28px 80px; }
  .sound-row { grid-template-columns: 80px 1fr; gap: 20px; padding-left: 0; }
  .sound-art { width: 80px; height: 80px; }
  .sound-right { flex-direction: column; align-items: flex-end; gap: 8px; }
  .sc-ext-link { display: none; }
  #sounds, #stages { padding: 100px 28px; }
  #live .live-grid { padding: 0 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .sound-num { animation: none; }
  .hero-glow .core { animation: none; opacity: 0.025; }
  #grain { animation: none; }
  .char, .reveal, .hero-rise, .photo-enter,
  .sounds-list[data-stagger] .sound-row[data-child],
  [data-stagger] [data-child] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

@media (max-width: 880px) {
  #player { gap: 12px; padding: 0 14px; height: 72px; }
  .player-meta { width: 92px; }
  .player-time { display: none; }
  body.player-open { padding-bottom: 72px; }
  #tour { padding: 100px 28px; }
  .tour-row { grid-template-columns: 60px 1fr; gap: 16px; row-gap: 6px; }
  .tour-day { font-size: 32px; }
  .tour-status { grid-column: 2; justify-self: start; }
  .booking-downloads { gap: 10px; }
  .dl { min-width: 130px; flex: 1 1 40%; }
}

/* ============================================================
   IMAGE REPLACEMENTS — real <img> instead of image-slot
   ============================================================ */

/* Hero portrait fills the parallax container */
.hero-photo-inner > .photo-enter {
  width: 100%;
  height: 100%;
}
.hero-photo-inner > .photo-enter > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Live performance photo */
.live-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Press photo */
.press-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* ============================================================
   PHOTO STRIP — infinite CSS marquee
   ============================================================ */
.photo-strip {
  overflow: hidden;
  display: flex;
  height: 220px;
  position: relative;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  margin: 0;
  padding: 0;
}

.photo-strip:hover .strip-track { animation-play-state: paused; }

.strip-track {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  animation: strip-scroll 52s linear infinite;
  will-change: transform;
}

.photo-strip--reverse .strip-track {
  animation-direction: reverse;
  animation-duration: 44s;
}

.strip-track img {
  height: 220px;
  width: auto;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
  filter: grayscale(20%) brightness(0.65) sepia(0.08);
  transition: filter 500ms ease;
}

.strip-track img:hover {
  filter: grayscale(0%) brightness(0.9);
}

@keyframes strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   TOUR — stats + featured next show
   ============================================================ */

/* #tour needs position:relative for section-photo-bg */
#tour { position: relative; }

.tour-stats {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 44px 0 56px;
}

.tour-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.stat-num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 0.9;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.stat-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--stone);
  text-transform: uppercase;
}

.tour-stat-sep {
  font-family: var(--f-display);
  font-size: 40px;
  color: var(--stone);
  opacity: 0.35;
  align-self: center;
  padding-top: 4px;
}

/* Featured next show card */
.tour-next {
  margin-bottom: 56px;
  padding: 32px 36px;
  border: 1px solid rgba(196,149,90,0.18);
  background: rgba(196,149,90,0.03);
  position: relative;
  z-index: 1;
}

.tour-next::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--bronze);
  opacity: 0.6;
}

.tour-next-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.45em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0.85;
}

.tour-next-main {
  display: flex;
  align-items: center;
  gap: 48px;
}

.tour-next-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: none;
}

.tour-next-day {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(60px, 7vw, 96px);
  line-height: 0.85;
  color: var(--cream);
}

.tour-next-mon {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-top: 8px;
}

.tour-next-info { flex: 1; min-width: 0; }

.tour-next-city {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(24px, 3.5vw, 48px);
  line-height: 1;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.tour-next-venue {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--stone);
  text-transform: uppercase;
  margin-top: 12px;
}

.tour-next-cta { flex: none; }

.tour-upcoming-label {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   PLAYER BAR — cover art thumbnail
   ============================================================ */
.player-art {
  width: 42px;
  height: 42px;
  flex: none;
  background: var(--decor);
  background-size: cover;
  background-position: center;
  border-radius: 3px;
  border: 1px solid rgba(196,149,90,0.12);
  overflow: hidden;
}

/* ============================================================
   RELEASES — sound-cover placeholder tints per track
   ============================================================ */
.sound-row:nth-child(1) .sound-cover { background: linear-gradient(135deg, #1c140a, #2a1d0d); }
.sound-row:nth-child(2) .sound-cover { background: linear-gradient(135deg, #100e1a, #1e1508); }
.sound-row:nth-child(3) .sound-cover { background: linear-gradient(135deg, #0a1010, #14200c); }
.sound-row:nth-child(4) .sound-cover { background: linear-gradient(135deg, #141022, #0e1018); }
.sound-row:nth-child(5) .sound-cover { background: linear-gradient(135deg, #1a0e0a, #2c1a10); }

/* On mobile, hide chip and year to save space */
@media (max-width: 640px) {
  .sound-chip, .sound-year { display: none; }
  .tour-stats { gap: 24px; }
  .tour-next-main { flex-wrap: wrap; gap: 24px; }
  .tour-next-cta { width: 100%; text-align: center; justify-content: center; }
  .tour-next { padding: 24px 20px; }
}

/* ============================================================
   RELEASES — dark overlay on covers + SoundCloud badge
   ============================================================ */
.sound-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,10,14,0.25) 0%, rgba(12,10,14,0.55) 100%);
  transition: opacity 0.35s;
  pointer-events: none;
}
.sound-row:hover .sound-cover::before { opacity: 0.1; }
.sound-row.active .sound-cover::before { opacity: 0.05; }

/* SoundCloud open link — circle ↗, visible only on row hover */
.sc-ext-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(196,149,90,0.25);
  border-radius: 50%;
  color: var(--bronze);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, border-color 0.2s, background 0.2s;
  flex: none;
}
.sound-row:hover .sc-ext-link {
  opacity: 1;
  pointer-events: auto;
}
.sc-ext-link:hover {
  border-color: var(--bronze);
  background: rgba(196,149,90,0.1);
}

/* ============================================================
   PHOTO STRIP — pause on hover + individual zoom
   ============================================================ */
.photo-strip:hover .strip-track { animation-play-state: paused; }

.strip-track img {
  cursor: zoom-in;
  transition: transform 0.4s var(--ease);
}
.strip-track img:hover {
  transform: scale(1.1);
  position: relative;
  z-index: 2;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 6, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
}
#lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
#lightbox-img {
  max-width: min(88vw, 960px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 32px 100px rgba(0,0,0,0.85),
              0 0 0 1px rgba(196,149,90,0.08);
  transform: scale(0.94);
  transition: transform 0.35s var(--ease);
  cursor: default;
  user-select: none;
}
#lightbox.open #lightbox-img { transform: scale(1); }
#lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid rgba(196,149,90,0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
#lightbox-close:hover {
  border-color: var(--bronze);
  background: rgba(196,149,90,0.1);
}
