/* The Starlight Ballroom: speakeasy green and flat brass, Art Deco. */

@font-face {
  font-family: "Della Respira";
  src: url("/assets/fonts/della-respira.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #10241d;
  --ink-2: #163028;
  --gold: #c9a45c;
  --gold-rgb: 201, 164, 92;
  --gold-light: #e6cf98;
  --on-gold: #10241d;
  --text: #ece2c6;
  --muted: #a7b29a;
  --line: rgba(var(--gold-rgb), .5);
  --serif: "Della Respira", Georgia, "Times New Roman", serif;
  --sans: var(--serif);
  --wrap: min(1120px, 100% - 2rem);
  --header-h: 64px;
  --icon-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 1.8l5.2 3.2L3 8.2z'/%3E%3C/svg%3E");
  --icon-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.4 1.8h1.9v6.4H2.4zM5.7 1.8h1.9v6.4H5.7z'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 1.125rem/1.7 var(--serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
/* A faint paper grain so the green reads as a printed card, not a flat screen. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--gold-light); text-underline-offset: 3px; }
a:hover { color: #fff3d1; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--gold); color: var(--ink); padding: .5rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.6rem;
  font: 400 1.05rem/1 var(--serif); letter-spacing: .04em;
  color: var(--on-gold); text-decoration: none;
  background: var(--gold);
  border: 0; border-radius: 0; cursor: pointer;
  transition: background-color .2s ease;
}
.btn:hover { color: var(--on-gold); background: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--gold-light); box-shadow: 0 0 0 1px var(--gold) inset; }
.btn-ghost:hover { color: var(--ink); background: var(--gold); }
.btn-small { min-height: 40px; padding: .55rem 1.1rem; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(16, 36, 29, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}
.bar { width: var(--wrap); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  display: flex; align-items: center; gap: .7rem;
  font: 400 1.1rem/1 var(--serif); letter-spacing: .02em;
  color: var(--gold-light); text-decoration: none; white-space: nowrap;
}
.brand .mono { width: 40px; height: 40px; }
.brand-name { opacity: 0; transition: opacity .3s ease; }
.scrolled .brand-name, .menu-open .brand-name { opacity: 1; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) {
  font: 400 1.05rem/1 var(--serif);
  color: var(--text); text-decoration: none; padding: .5rem 0; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s ease;
}
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.menu-toggle { display: none; }
.btn { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 980px) {
  .brand-name { display: none; }
  .nav { margin-left: auto; }
  .nav { gap: 1.5rem; }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; margin-right: -12px;
    background: none; border: 0; cursor: pointer;
  }
  .burger, .burger::before, .burger::after {
    display: block; width: 24px; height: 2px; background: var(--gold-light);
    transition: transform .25s ease, opacity .25s ease; content: "";
  }
  .burger { position: relative; }
  .burger::before { position: absolute; top: -7px; }
  .burger::after { position: absolute; top: 7px; }
  .menu-open .burger { background: transparent; }
  .menu-open .burger::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .burger::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0;
    padding: .5rem 1rem 1.5rem; background: rgba(16, 36, 29, .98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open { background: rgba(16, 36, 29, .98); }
  .nav a:not(.btn) { width: 100%; text-align: center; padding: 1rem 0; font-size: 1rem; border-bottom: 1px solid rgba(var(--gold-rgb), .12); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1.25rem; width: 100%; min-height: 48px; }
}

/* ---------- Hero: a framed stage ---------- */
.hero {
  position: relative; isolation: isolate; overflow-x: clip;
  min-height: 100svh; padding: calc(var(--header-h) + 4.5rem) clamp(1.5rem, 5vw, 5rem) 5.5rem;
  display: flex; align-items: center; justify-content: center;
}

/* A single brass rule; the fan ornament sits on the top and bottom edges. */
.hero-frame {
  position: absolute; z-index: -1; pointer-events: none;
  inset: calc(var(--header-h) + 1.75rem) clamp(.75rem, 2vw, 1.75rem) clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--gold);
}
.frame-fan {
  position: absolute; left: 50%; width: clamp(180px, 24vw, 300px);
  padding: 0 14px; background: var(--ink); translate: -50% -50%;
}
.frame-fan.top { top: 0; }
.frame-fan.bottom { top: 100%; transform: scaleY(-1); }

.hero-inner {
  width: min(1180px, 100%);
  display: grid; justify-items: center; text-align: center;
  grid-template-areas: "title" "art" "tag" "credits" "cta";
}
.hero-title { grid-area: title; margin: 0; display: grid; justify-items: center; gap: clamp(.7rem, 1.8vw, 1.4rem); }
.hero-title .t1 { width: min(600px, 82vw); }
.hero-title .t2 { width: min(560px, 76vw); }

/* Flapper on her moon, framed in a brass arch. */
.hero-art { grid-area: art; position: relative; display: grid; place-items: center; margin-top: clamp(1rem, 3vw, 2rem); }
/* The flapper hangs by her chain from a brass ring at the top of the arch. */
.arch {
  position: relative; align-content: start;
  padding: 0 clamp(2rem, 4vw, 3rem) clamp(1.25rem, 2vw, 1.75rem);
  border: 2px solid var(--gold); border-radius: 999px 999px 0 0; background: #0b1a15;
  box-shadow: 0 0 0 6px var(--ink), 0 0 0 7px rgba(var(--gold-rgb), .5);
}
.arch::before {
  content: ""; position: absolute; z-index: 1; top: -1px; left: 50%; translate: -50% -50%;
  width: 14px; height: 14px; border: 2px solid var(--gold); border-radius: 50%; background: var(--ink);
}
/* The chain sits 64% across the image: shift it under the ring and swing from there. */
.arch .flapper { translate: -14% 0; transform-origin: 64% 0; }
.flapper { width: clamp(150px, 22vw, 230px); animation: sway 7s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

.hero-tag { grid-area: tag; margin: 1.5rem 0 .25rem; font: 400 clamp(1.3rem, 3.5vw, 1.7rem)/1.35 var(--serif); color: var(--gold-light); }
.hero-credits { grid-area: credits; margin: .25rem 0 1.75rem; max-width: 32rem; color: var(--text); }
.hero-cta { grid-area: cta; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }

/* Wide screens: marquee title on the left, flapper on the right. */
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 3vw;
    grid-template-areas: "title art" "tag art" "credits art" "cta art";
    align-content: center; justify-items: start; text-align: left;
  }
  .hero-title { justify-items: start; }
  .hero-title .t1 { width: min(640px, 46vw); }
  .hero-title .t2 { width: min(600px, 43vw); }
  .hero-art { align-self: center; justify-self: center; margin: 0; }
  .flapper { width: min(270px, 20vw); }
  .hero-tag { margin-top: 2rem; }
  .hero-cta { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .hero-cta { flex-direction: column; width: min(100%, 320px); }
}

/* ---------- Sections ---------- */
.section { width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) 0; }
.intro { max-width: 720px; }
.intro .eyebrow { text-align: center; }
.has-dropcap::after { content: ""; display: table; clear: both; }
.dropcap { float: left; height: 4.1em; width: auto; margin: .3em .6rem 0 0; }
.pull {
  margin: 2.25rem 0; padding: 1.4rem 1rem; text-align: center;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
}
.pull p { margin: 0; font: italic 400 clamp(1.4rem, 3.6vw, 1.9rem)/1.35 var(--serif); color: var(--gold-light); }
.eyebrow {
  margin: 0 0 1.5rem; font: 400 clamp(1.25rem, 3.4vw, 1.75rem)/1.35 var(--serif);
  text-transform: uppercase; letter-spacing: .06em; color: var(--gold);
}
.lede { font-size: clamp(1.15rem, 2.4vw, 1.3rem); color: #f3e2bd; }
.center { text-align: center; max-width: 760px; margin-inline: auto; }
.divider { width: min(440px, 80%); margin: 0 auto; opacity: .95; }

.deco-h { margin: 0 auto 1rem; display: flex; justify-content: center; }
.deco-h:not(.small) { gap: .9rem; align-items: center; }
.deco-h:not(.small)::before, .deco-h:not(.small)::after {
  content: ""; width: clamp(40px, 8vw, 90px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.deco-h:not(.small)::after { background: linear-gradient(90deg, var(--gold), transparent); }
.deco-h img { height: clamp(30px, 6vw, 52px); width: auto; }
.deco-h.small img { height: clamp(22px, 4vw, 30px); }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 2rem; }

/* ---------- Repertoire ---------- */
.rep-tools { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; margin-bottom: 1.25rem; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; fill: none; stroke: var(--gold); stroke-width: 2; }
.search input {
  width: 100%; min-height: 48px; padding: .7rem 1rem .7rem 2.75rem;
  font: 1.05rem var(--serif); color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 3px;
}
.search input::placeholder { color: #7f8c77; }
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .2); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.chips button {
  min-height: 40px; padding: .4rem .6rem; cursor: pointer;
  font: 400 1.05rem/1 var(--serif);
  color: var(--text); background: transparent; border: 0; border-bottom: 1px solid transparent;
}
.chips button:hover { color: var(--gold-light); }
.chips button[aria-pressed="true"] { color: var(--gold-light); border-bottom-color: var(--gold); }

.rep-count { text-align: center; color: var(--muted); font-size: .95rem; margin: 0 0 1.5rem; }

.show-all { display: flex; justify-content: center; margin-top: 1.5rem; }
.show-all[hidden] { display: none; }
.menu-card { padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3.5rem); background: var(--ink-2); }
.songs {
  list-style: none; margin: 0; padding: 0;
  columns: 2 300px; column-gap: clamp(2rem, 5vw, 4rem);
}
.songs li { break-inside: avoid; padding: .3rem 0; line-height: 1.45; }
/* Group headings run across both columns, like sections of a drinks menu. */
.songs li.cat {
  column-span: all; display: flex; align-items: center; gap: 1rem;
  margin: 2rem 0 .9rem; padding: 0; break-after: avoid;
  font: 400 1.35rem/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
}
.songs li.cat:first-child { margin-top: 0; }
.songs li.cat::before, .songs li.cat::after { content: ""; flex: 1; height: 1px; background: rgba(var(--gold-rgb), .45); }
.songs li.more { color: var(--muted); font-style: italic; padding-top: .5rem; }
.songs .pick {
  display: flex; align-items: baseline; gap: .5rem; width: 100%; padding: 0; text-align: left;
  font: inherit; line-height: inherit; color: inherit; background: none; border: 0; cursor: pointer;
}
.pick-name { flex: 0 1 auto; }
.leader { flex: 1 1 1.5rem; min-width: 1.5rem; border-bottom: 1px dotted rgba(var(--gold-rgb), .45); transform: translateY(-.3em); }
.songs .pick:hover { color: var(--gold-light); }
.pick-ico {
  flex: none; position: relative; top: .15em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  font: 600 .75rem/1 var(--sans); color: var(--gold);
}
.pick-ico::before { content: "+"; }
.pick:hover .pick-ico { border-color: var(--gold); }
.pick[aria-pressed="true"] { color: var(--gold-light); }
.pick[aria-pressed="true"] .pick-ico { background: var(--gold); border-color: transparent; color: var(--on-gold); }
.pick[aria-pressed="true"] .pick-ico::before { content: "✓"; }
.songs .rec { color: var(--gold); margin-left: .35rem; font-size: .85em; }
.songs mark { background: rgba(var(--gold-rgb), .3); color: inherit; border-radius: 2px; }
.empty { text-align: center; padding: 2rem 0; color: var(--muted); }

/* ---------- Upcoming dates: a printed program ---------- */
.program { max-width: 720px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--ink-2); text-align: center; }
.program-head { margin: 0 0 1.25rem; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.program-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.program-list li { display: flex; gap: 1.25rem; align-items: center; padding: 1rem 0; border-top: 1px dotted rgba(var(--gold-rgb), .4); }
.program-list time {
  flex: none; width: 4.2rem; padding: .4rem 0; text-align: center; border: 1px solid var(--gold); color: var(--gold-light);
}
.program-list time span { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.program-list time b { display: block; font: 400 1.8rem/1.1 var(--serif); }
.program-list p { margin: 0; }
.ev-where { color: var(--gold-light); font-size: 1.15rem; }
.ev-when, .ev-note { color: var(--muted); }

.program[hidden] { display: none; }
.where .program { margin-top: 2rem; }

/* ---------- Our programs: menu cards ---------- */
.program-cards { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.program-card { padding: 1.5rem 1.5rem 1.25rem; border: 1px solid var(--gold); background: var(--ink-2); }
.program-card h3 { margin: 0 0 .35rem; font: 400 1.35rem/1.25 var(--serif); color: var(--gold-light); }
.program-card p { margin: 0 0 .9rem; color: var(--muted); font-style: italic; }
.program-card ul { margin: 0; padding: .8rem 0 0; list-style: none; border-top: 1px dotted rgba(var(--gold-rgb), .45); }
.program-card li { padding: .15rem 0; }
.program-card li::before { content: "♪"; margin-right: .5rem; color: var(--gold); font-size: .85em; }

.program-card { display: flex; flex-direction: column; }
.program-card ul { flex: 1; }
.flyer-links, .program-card .flyer-links { margin: 1rem 0 0; font-size: .95rem; font-style: normal; color: var(--muted); }
.flyer-links a { color: var(--gold-light); }
.flyer-note { max-width: 760px; margin: clamp(1.5rem, 4vw, 2.5rem) auto 0; padding: 1.25rem 1.5rem; background: var(--ink-2); text-align: center; }
.flyer-note p { margin: 0; }
.flyer-note strong { font-weight: 400; color: var(--gold-light); }

/* ---------- Where we play ---------- */
.venues {
  max-width: 760px; margin: 0 auto; padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 4vw, 2.5rem);
  list-style: none; background: var(--ink-2); columns: 2 280px; column-gap: 3rem;
}
.venues li { display: flex; align-items: baseline; gap: .5rem; padding: .35rem 0; break-inside: avoid; }
.venues li span:first-child { color: var(--gold-light); }
.venues li span:last-child { margin-left: auto; color: var(--muted); font-size: .95rem; }

/* ---------- Kind words: newspaper clippings ---------- */
.notices { display: grid; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.notice {
  position: relative; margin: 0; padding: 1.75rem 1.5rem 1.4rem;
  color: #2b261c; background: #efe5cc;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7);
  rotate: -1.2deg;
}
.notice:nth-child(2) { rotate: .8deg; margin-top: 1.25rem; }
.notice:nth-child(3) { rotate: -.4deg; }
.notice::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(43, 38, 28, .25); pointer-events: none; }
.notice blockquote { margin: 0; }
.notice blockquote p { margin: 0; font: italic 400 1.15rem/1.5 var(--serif); }
.notice figcaption { margin-top: 1rem; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.notice figcaption span { display: block; text-transform: none; letter-spacing: 0; font-style: italic; color: #6b604b; }

/* ---------- Good to know ---------- */
.faq-list { max-width: 760px; margin: 0 auto; padding: .5rem clamp(1.25rem, 4vw, 2.5rem); background: var(--ink-2); }
.faq-list details { border-bottom: 1px dotted rgba(var(--gold-rgb), .4); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer;
  font-size: 1.15rem; color: var(--gold-light); list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: rotate .2s ease; }
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details p { margin: -.3rem 0 1.2rem; color: var(--text); }

/* ---------- Panel: one brass line, like a menu card ---------- */
.deco-frame { position: relative; border: 1px solid var(--gold); }

/* ---------- Recordings ---------- */
.album {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start; padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--ink-2);
}
.album-art img { border: 1px solid var(--line); transition: transform .4s ease; }
.album h3 { margin: 0; font: 400 clamp(1.4rem, 3vw, 1.8rem)/1.25 var(--serif); color: var(--gold-light); }
.album-meta { margin: .25rem 0 1rem; color: var(--muted); }
.tracks { margin: 1.25rem 0 1.75rem; padding: 0; list-style: none; counter-reset: t; }
.tracks li {
  counter-increment: t; display: flex; gap: .75rem; align-items: baseline;
  padding: .45rem 0; border-bottom: 1px dotted rgba(var(--gold-rgb), .22);
}
.tracks li::before { content: counter(t, decimal-leading-zero); font: 600 .8rem var(--sans); color: var(--gold); min-width: 1.6rem; }
.tracks span { flex: 1; }
.tracks time { font: 400 .85rem var(--sans); color: var(--muted); }
/* Each row becomes a play button (own audio) or a link out to BandLab. */
.tracks .track {
  flex: 1; display: flex; align-items: baseline; gap: .6rem; min-height: 32px;
  color: var(--text); text-decoration: none; text-align: left;
  font: inherit; background: none; border: 0; padding: 0; cursor: pointer;
}
.tracks .track:hover, .tracks li.playing .track { color: var(--gold-light); }
.tracks .track .t { flex: 1; }
.tracks .ext { flex: none; }
.tracks .ico {
  position: relative; flex: none; align-self: center; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center; gap: 2px;
}
.tracks .ico::before {
  content: ""; position: absolute; inset: 7px; rotate: 45deg;
  border: 1px solid var(--gold); transition: background-color .2s ease;
}
.tracks .ico::after {
  content: ""; position: relative; width: 11px; height: 11px; background: var(--gold);
  -webkit-mask: var(--icon-play) center / contain no-repeat; mask: var(--icon-play) center / contain no-repeat;
}
.tracks .track:hover .ico::before, .tracks li.playing .ico::before { background: var(--gold); }
.tracks .track:hover .ico::after, .tracks li.playing .ico::after { background: var(--on-gold); }
.tracks .ico i { display: none; position: relative; width: 2px; height: 9px; background: var(--on-gold); transform-origin: 50% 100%; animation: eq .8s ease-in-out infinite alternate; }
.tracks .ico i:nth-child(2) { animation-delay: -.3s; }
.tracks .ico i:nth-child(3) { animation-delay: -.55s; }
.tracks li.playing .ico i { display: block; }
.tracks li.playing .ico::after { display: none; }
/* Paused on a track: back to the play triangle, still filled. */
.tracks.is-paused li.playing .ico i { display: none; }
.tracks.is-paused li.playing .ico::after { display: block; }
@keyframes eq { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.tracks .ext { font-size: .85rem; color: var(--muted); }
.tracks .track:hover .ext { color: var(--gold); }
@media (max-width: 600px) {
  .tracks .ext { font-size: 0; }
  .tracks .ext::after { content: "↗"; font-size: .85rem; }
}

.now-playing {
  display: flex; align-items: center; gap: .9rem; margin: -.75rem 0 1.5rem;
  padding: .75rem 1rem; border: 1px solid var(--line); background: var(--ink);
}
.now-playing[hidden] { display: none; }
.np-toggle {
  position: relative; flex: none; width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.np-toggle::before { content: ""; position: absolute; inset: 8px; rotate: 45deg; background: var(--gold); transition: background-color .2s ease; }
.np-toggle:hover::before { background: var(--gold-light); }
.np-toggle::after {
  content: ""; position: relative; width: 15px; height: 15px; background: var(--on-gold);
  -webkit-mask: var(--icon-pause) center / contain no-repeat; mask: var(--icon-pause) center / contain no-repeat;
}
.now-playing.paused .np-toggle::after { -webkit-mask-image: var(--icon-play); mask-image: var(--icon-play); }
.np-body { flex: 1; min-width: 0; }
.np-title { margin: 0 0 .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--gold-light); }
.now-playing input[type="range"] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 18px; margin: 0; background: transparent; cursor: pointer;
}
.now-playing input[type="range"]::-webkit-slider-runnable-track {
  height: 2px; background: linear-gradient(var(--gold), var(--gold)) 0 0 / var(--p, 0%) 100% no-repeat, rgba(var(--gold-rgb), .3);
}
.now-playing input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 11px; height: 11px; margin-top: -4.5px; border: 0; background: var(--gold-light); transform: rotate(45deg);
}
.now-playing input[type="range"]::-moz-range-track { height: 2px; background: rgba(var(--gold-rgb), .3); }
.now-playing input[type="range"]::-moz-range-progress { height: 2px; background: var(--gold); }
.now-playing input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border: 0; border-radius: 0; background: var(--gold-light); transform: rotate(45deg); }
.now-playing time { font: 400 .85rem var(--sans); color: var(--muted); min-width: 2.5rem; text-align: right; }

@media (max-width: 760px) {
  .album { grid-template-columns: 1fr; }
  .album-art { max-width: 360px; margin: 0 auto; }
  .album .btn { width: 100%; }
}

/* ---------- About ---------- */
.bios { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin-top: 2.5rem; }
.bio { padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--ink-2); }
.bio .role { text-align: center; margin: -.25rem 0 1rem; font-style: italic; color: var(--muted); }
.bio p:last-child { margin-bottom: 0; }

/* ---------- Booking ---------- */
.book-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem;
  max-width: 760px; margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--ink-2);
}
.book-form label { display: grid; gap: .35rem; font: 400 1.05rem/1.3 var(--serif); color: var(--gold-light); }
.book-form .opt { text-transform: none; letter-spacing: 0; color: var(--muted); }
.book-form input, .book-form select, .book-form textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: 1.05rem/1.4 var(--serif); letter-spacing: 0; text-transform: none; color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 3px;
}
.book-form textarea { resize: vertical; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .2); }
.book-form .full { grid-column: 1 / -1; }
.book-form > .btn { justify-self: center; min-width: 240px; }
.hp { position: absolute; left: -9999px; }
.req-field { display: grid; gap: .5rem; }
.req-field .lbl { font: 400 1.05rem/1.3 var(--serif); color: var(--gold-light); }
.req-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.req-chips:empty { display: none; }
.req-chips li {
  display: inline-flex; align-items: center; gap: .2rem; padding: .2rem .2rem .2rem .8rem;
  border: 1px solid var(--gold); border-radius: 2px; background: rgba(var(--gold-rgb), .1); color: var(--text);
}
.req-chips button {
  width: 32px; height: 32px; border: 0; border-radius: 50%; background: none;
  color: var(--gold-light); font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.req-chips button:hover { background: rgba(var(--gold-rgb), .2); }
.req-add { display: flex; gap: .5rem; }
.req-add input { flex: 1; min-width: 0; }
.req-add .btn { min-height: 48px; }
.req-hint { margin: 0; font-size: .95rem; color: var(--muted); }

.req-bar {
  position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
  translate: -50% 0; max-width: calc(100% - 2rem); padding: .8rem 1.4rem; white-space: nowrap;
  font: 400 1rem/1 var(--serif); text-decoration: none;
  color: var(--on-gold); background: var(--gold); border-radius: 2px;
}
.req-bar:hover { color: var(--on-gold); }
.req-bar[hidden] { display: none; }
.req-bar { overflow: hidden; text-overflow: ellipsis; }
.rb-short { display: none; }
@media (max-width: 480px) {
  .rb-more { display: none; }
  .rb-short { display: inline; }
}
.alt-contact { text-align: center; color: var(--muted); margin-top: 1.5rem; }
@media (max-width: 600px) {
  .book-form { grid-template-columns: 1fr; }
  .book-form > .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 2rem 1rem 3rem; color: var(--muted); font-size: .95rem; }
.site-footer img { width: min(260px, 60%); margin: 0 auto 1.25rem; opacity: .8; }
.site-footer p { margin: .4rem 0; }
.copy { font-size: .9rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s 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; }
}

/* ---------- Thank-you / 404 pages ---------- */
.simple { min-height: 100svh; display: grid; place-items: center; padding: 2rem 1rem; }
.simple .card {
  display: grid; justify-items: center; gap: 1rem; width: min(100%, 460px);
  padding: 2.5rem 1.75rem 2rem; text-align: center; background: var(--ink-2);
}
.simple .card .mono { width: 52px; }
.simple .arch { margin: .5rem 0; }
.simple .flapper { width: 120px; }
.simple p { margin: 0; }
.simple h1 { margin: 0; font: 400 clamp(1.6rem, 5vw, 2.4rem)/1.2 var(--serif); color: var(--gold-light); }
