:root {
  --bg: #111110;
  --surface: #1a1917;
  --text: #eee8dc;
  --muted: #a9a296;
  --line: #2e2b27;
  --gold: #c2ae82;
  --gold-soft: #8f7f5b;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
a, button { -webkit-tap-highlight-color: transparent; }
:root { --gutter: clamp(20px, 5vw, 24px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(18px, 16.6px + 0.4vw, 20px);
  line-height: 1.75;
  font-weight: 300;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--text); }

strong { font-weight: 500; color: var(--text); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 1.5rem; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); margin: clamp(3rem, 2rem + 4vw, 4.5rem) 0 clamp(1rem, 0.7rem + 1vw, 1.5rem); }
h3 { font-size: 1.3rem; margin: 2rem 0 0.5rem; }

.eyebrow, .nav, .button, .post-meta, .dur {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 400;
}

.rule { display: block; width: 44px; height: 2px; background: var(--gold); margin: 1.5rem 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); color: var(--text); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  padding: calc(clamp(14px, 1rem + 1vw, 26px) + env(safe-area-inset-top)) 0 clamp(14px, 1rem + 1vw, 26px);
  border-bottom: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
/* Blurred backdrop lives on a pseudo-element so the fixed phone menu isn't trapped inside the header */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(17, 17, 16, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-header.tucked { transform: translateY(-100%); }
.menu-toggle, .mobile-nav { display: none; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand { font-family: var(--serif); font-size: 1.4rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--gold); }
.brand-role {
  font: 400 0.68rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-left: 0.6em; vertical-align: 0.3em;
}
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.nav a { color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

main { padding: clamp(40px, 6vw, 64px) 0 clamp(64px, 10vw, 96px); }
main:has(> .hero) { padding-top: 0; }

/* Home hero: full-bleed split */
.hero {
  margin: 0 calc(50% - 50vw);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(88vh, 820px);
  background: #000;
}
.hero-text {
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: calc(var(--max) / 2);
  padding: 64px 48px 64px 24px;
}
.hero-text .eyebrow { color: var(--gold); margin: 0 0 1.25rem; }
.hero-text h1 { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; margin: 0; }
.hero-text .lede { color: var(--muted); max-width: 30rem; margin: 0 0 2rem; }
.hero-img { position: relative; overflow: hidden; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-img::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 30%;
  background: linear-gradient(to right, #000, transparent); z-index: 1;
}
/* Stage spotlight: darkens everything outside a soft circle that follows the pointer */
.hero-img::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle 42vmax at var(--mx, 55%) var(--my, 32%), transparent 0, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.72) 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-img img { animation: slow-zoom 24s ease-in-out infinite alternate; }
  .hero-text > * { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .12s; }
  .hero-text > :nth-child(3) { animation-delay: .3s; }
  .hero-text > :nth-child(4) { animation-delay: .4s; }
  .hero-text > :nth-child(n+5) { animation-delay: .55s; }
  .hero-img { animation: lights-up 1.8s ease-out both; }
}
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.09) translateY(-1.5%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lights-up { from { opacity: 0; filter: brightness(0.3); } to { opacity: 1; filter: none; } }

/* Fade-in on scroll (classes added by site.js, so no-JS visitors see everything) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
main h2.reveal::after {
  content: ""; display: block; width: 0; height: 2px; background: var(--gold); margin-top: 14px;
  transition: width 1.2s cubic-bezier(.2, .7, .2, 1) .25s;
}
main h2.reveal.in::after { width: 44px; }
.works h2.reveal::after, .band h2.reveal::after { display: none; }

/* Full-width photo band: photo full width, headline underneath so faces stay clear */
.band { margin: clamp(4rem, 3rem + 4vw, 6rem) calc(50% - 50vw); }
.band-photo { position: relative; height: min(72svh, clamp(300px, 62vw, 640px)); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.band-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to top, var(--bg), transparent);
}
.band-text {
  max-width: var(--max); margin: -2.5rem auto 0; padding: 0 var(--gutter); position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px;
}
.band-text .eyebrow { color: var(--gold); margin: 0 0 0.75rem; }
.band-text h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.band-text h2 em { color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .band img { transform: scale(1.12); transition: transform 2.4s cubic-bezier(.2, .7, .2, 1); }
  .band.in img { transform: scale(1); }
}

.intro-text { max-width: 760px; margin: clamp(3rem, 2rem + 4vw, 5rem) auto 0; text-align: center; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.55; color: var(--muted); }
.intro-text p { margin: 0 0 1.2rem; }


blockquote {
  position: relative; margin: clamp(4rem, 2.5rem + 6vw, 7rem) auto; max-width: 960px; padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.3;
}
blockquote::before {
  content: "\201C"; position: absolute; top: calc(-1 * clamp(1.5rem, 1rem + 2vw, 2.5rem)); left: 50%; transform: translateX(-50%);
  font-size: clamp(6rem, 4.5rem + 6vw, 9rem); line-height: 1; color: var(--gold); opacity: 0.35; font-style: normal;
}
blockquote em { font-style: normal; color: var(--gold); }
blockquote footer {
  font-family: var(--sans); font-style: normal; font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-top: 2rem;
}

/* Videos */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 32px); }
.video h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 400; margin: 12px 0 0; color: var(--muted); }
.yt {
  position: relative; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat;
  border: 0; padding: 0; width: 100%; cursor: pointer; display: block;
}
.yt::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; width: 60px; height: 60px;
  transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid var(--gold);
  background: rgba(0, 0, 0, 0.55); transition: background 0.2s;
}
.yt::before {
  content: ""; position: absolute; z-index: 1; inset: 50% auto auto 50%; transform: translate(-35%, -50%);
  border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--gold);
}
.yt:hover::after { background: rgba(194, 174, 130, 0.25); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Once the player is loaded, our play button must not sit over YouTube's controls */
.yt-on { cursor: auto; }
.yt-on::before, .yt-on::after { display: none; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--surface); border-top: 2px solid var(--gold); padding: clamp(22px, 3vw, 28px); }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); }

/* Two-column feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; align-items: start; margin: 4rem 0; }
.feature h2, .feature h1 { margin-top: 0; }

/* Bio: photo floats so the text wraps around it, then runs full width */
.bio { max-width: 920px; margin: 0 auto; }
.bio::after { content: ""; display: block; clear: both; }
.bio img { float: left; width: 38%; margin: 0.5rem 44px 28px 0; }
.bio h1 { margin-top: 0; }
.bio p { color: #d6d0c4; }

.button {
  display: inline-block; text-decoration: none; color: var(--gold);
  border: 1px solid var(--gold); padding: 10px 20px; margin: 4px 8px 4px 0;
  transition: background 0.2s, color 0.2s;
}
.button:hover { background: var(--gold); color: var(--bg); }

/* Compositions */
.works { columns: 2 360px; column-gap: 56px; }
.works section { break-inside: avoid; margin-bottom: 3rem; }
.works h2 { margin-top: 0; font-size: 1.5rem; color: var(--gold); }
.works ul { list-style: none; padding: 0; margin: 0; }
.works li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.works li em { font-style: normal; color: var(--text); }
.works .dur { color: var(--gold-soft); white-space: nowrap; margin-left: 4px; }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px; }
.downloads figure { margin: 0; }
.downloads figcaption { margin-top: 12px; }

/* Blog */
.post-meta { color: var(--gold); margin: -0.5rem 0 2rem; }
.post-list { list-style: none; padding: 0; }
.post-list li { border-bottom: 1px solid var(--line); padding: 32px 0; }
.post-list h2 { margin: 0 0 0.75rem; }
.post-list h2 a { color: var(--text); text-decoration: none; }
.post-list h2 a:hover { color: var(--gold); }
.prose { max-width: 680px; }
.prose p { color: #d6d0c4; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 calc(64px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 0.9rem; }
.site-footer .brand { font-size: 1.5rem; display: inline-block; margin-bottom: 12px; }
.site-footer p { margin: 4px 0; }

@media (max-width: 760px) {
  /* Header: brand + menu button; links open as a full-screen menu */
  .site-header .wrap { flex-wrap: nowrap; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px;
    background: none; border: 0; color: var(--text); cursor: pointer;
    font: 400 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  }
  .menu-icon { position: relative; width: 22px; height: 10px; }
  .menu-icon::before, .menu-icon::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--gold);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), top .35s;
  }
  .menu-icon::before { top: 0; }
  .menu-icon::after { top: 8.5px; }
  .menu-open .menu-icon::before { top: 4.25px; transform: rotate(45deg); }
  .menu-open .menu-icon::after { top: 4.25px; transform: rotate(-45deg); }

  /* Phone menu is its own page-level layer (not nested in the sticky header), so taps always reach the links */
  .site-header .nav { display: none; }
  .mobile-nav {
    display: flex; position: fixed; inset: 0; z-index: 19;
    flex-direction: column; justify-content: center; gap: 6px;
    padding: calc(96px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) calc(48px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
    background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s ease, visibility .35s;
  }
  .mobile-nav a {
    font: 400 clamp(1.8rem, 8vw, 2.4rem)/1.25 var(--serif); color: var(--text); text-decoration: none;
    padding: 8px 0; align-self: flex-start; touch-action: manipulation;
    transform: translateY(16px); opacity: 0;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s, color .2s;
  }
  .mobile-nav a[aria-current="page"] { color: var(--gold); }
  .menu-open .mobile-nav { opacity: 1; visibility: visible; pointer-events: auto; }
  .menu-open .mobile-nav a { transform: none; opacity: 1; }
  .menu-open .mobile-nav a:nth-child(2) { transition-delay: .04s; }
  .menu-open .mobile-nav a:nth-child(3) { transition-delay: .08s; }
  .menu-open .mobile-nav a:nth-child(4) { transition-delay: .12s; }
  .menu-open .mobile-nav a:nth-child(5) { transition-delay: .16s; }
  .menu-open .mobile-nav a:nth-child(6) { transition-delay: .2s; }
  .menu-open .site-header { transform: none; }
  html.menu-open, html.menu-open body { overflow: hidden; }

  /* Hero: tall portrait, name rising over the bottom of the photo */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-img { order: -1; aspect-ratio: 4 / 5; max-height: 78svh; }
  .hero-img::before { inset: auto 0 0 0; width: auto; height: 55%; background: linear-gradient(to top, #000 8%, transparent); }
  .hero-text { position: relative; z-index: 2; justify-self: stretch; max-width: none; margin-top: -7.5rem; padding: 0 var(--gutter) 48px; }
  .hero-text h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .hero-text .lede { font-size: 1.1rem; }
  .hero-text .button { padding: 13px 18px; }

  /* Videos: swipe sideways, next one peeks in */
  .videos {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px;
    scroll-padding: 0 var(--gutter); scrollbar-width: none;
  }
  .videos::-webkit-scrollbar { display: none; }
  .video { flex: 0 0 86%; scroll-snap-align: start; }
  .video:only-child { flex-basis: 100%; }
  .video h3 { font-size: 0.9rem; }

  .feature { grid-template-columns: 1fr; gap: 28px; }
  .bio img { float: none; width: 100%; max-width: 420px; margin: 0 0 28px; }
  .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .downloads .button { padding: 10px 14px; }
  .button { padding: 13px 20px; }
  .works { columns: 1; }
}

/* Compositions genre filter */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 2rem 0 3rem; }
.filters button {
  font: inherit; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: transparent; color: var(--muted); border: 1px solid var(--line);
  padding: 8px 14px; cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.filters button span { color: var(--gold-soft); margin-left: 4px; }
.filters button:hover { color: var(--text); border-color: var(--gold-soft); }
.filters button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.filters button[aria-pressed="true"] span { color: var(--bg); }
.works.single { columns: 1; max-width: 680px; }
.works section[hidden] { display: none; }

@media (max-width: 760px) {
  .filters {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
    margin: 1.5rem calc(-1 * var(--gutter)) 2.5rem; padding: 0 var(--gutter) 4px;
    scroll-padding: 0 var(--gutter); scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
    mask-image: linear-gradient(to right, #000 85%, transparent);
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; scroll-snap-align: start; min-height: 42px; white-space: nowrap; }
}


/* 3. Intro paragraph: words light up as you scroll through it (spans added by site.js) */
.intro-text .w { color: rgba(238, 232, 220, 0.22); transition: color .5s ease; }
.intro-text .w.lit { color: var(--text); }

/* 4. Reviews: one quote at a time, crossfading; all quotes share one grid cell so the height never jumps */
.press { margin: clamp(4rem, 2.5rem + 6vw, 7rem) auto; max-width: 900px; text-align: center; }
.press-stage { display: grid; }
.press-quote { grid-area: 1 / 1; margin: 0; }
.js .press-quote { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1), visibility .9s; }
.js .press-quote.is-active { opacity: 1; visibility: visible; transform: none; }
.press blockquote { margin: 0; padding: 0; max-width: none; font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.35; }
.press blockquote::before { content: none; }
.press figcaption { margin-top: 1.5rem; font: 400 0.72rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.press-controls { display: none; }
.js .press-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 2.2rem; }
.press-dots { display: flex; gap: 10px; }
.press-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.press-dots button::after { content: ""; position: absolute; left: 4px; right: 4px; top: 13px; height: 2px; background: var(--line); transition: background .3s; }
.press-dots button[aria-current="true"]::after { background: var(--gold); }
.press-arrow { width: 40px; height: 40px; border: 1px solid var(--line); background: none; cursor: pointer; position: relative; transition: border-color .2s; }
.press-arrow::after { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); }
.press-prev::after { transform: translate(-30%, -50%) rotate(-135deg); }
.press-next::after { transform: translate(-70%, -50%) rotate(45deg); }
.press-arrow:hover, .press-arrow:focus-visible { border-color: var(--gold); }

/* 5. Spotify card in the highlights grid */
.yt.sp { background-color: #0b0b0a; background-size: contain; background-position: center; }
.sp-label {
  position: absolute; left: 12px; bottom: 10px; z-index: 1;
  font: 400 0.68rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.yt-on .sp-label { display: none; }

/* 6. Events */
.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.event time { display: flex; flex-direction: column; font-family: var(--serif); color: var(--gold); line-height: 1; }
.event-day { font-size: 2.2rem; }
.event-month { font: 400 0.7rem/1.6 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.event h3 { margin: 0 0 4px; }
.event p { margin: 0; color: var(--muted); }
.event-link { font: 400 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.events-empty { color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; margin: 0; }
@media (max-width: 760px) {
  .event { grid-template-columns: 4.2rem minmax(0, 1fr); }
  .event-link { grid-column: 2; }
  .brand-role { display: block; margin: 6px 0 0; vertical-align: 0; }
}
