/* Reece Music — midnight lacquer & aqua */
:root {
  /* Midnight Drone palette */
  --ink: #04050E;          /* midnight: page background */
  --indigo: #1A237E;       /* indigo: bands, glows, frames */
  --surface: #0C1035;      /* ink blended with indigo: cards and panels */
  --mist: #CFD8DC;         /* mist: main text, artwork mats, light panels */
  --muted: #969DA2;        /* mist dimmed: secondary text */
  --accent: #76DBE3;       /* aqua: buttons, links, prices, italics */
  --accent-deep: #3A9FAB;  /* aqua toward indigo: rules and offsets */
  --accent-hover: #A2E8EE;
  --line: rgba(207, 216, 220, 0.16);
  --display: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  /* one frame for every photo, video and player: the homepage video-card look */
  --frame-radius: 14px;
  --frame-ring: 0 0 0 1px var(--accent), 3px 3px 0 0 var(--ink), 3px 3px 0 1px var(--accent-deep);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  overflow-x: clip;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.05; }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 62ch; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }
.kicker { font-family: var(--display); font-style: italic; color: var(--accent); font-size: 1.15rem; margin-bottom: 0.5rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 5, 14, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { font-family: var(--display); font-size: 1.45rem; text-decoration: none; letter-spacing: 0.01em; }
.wordmark span { color: var(--accent); font-style: italic; }
.nav { display: flex; gap: clamp(18px, 2.6vw, 36px); }
.nav a { text-decoration: none; color: var(--muted); font-size: 0.98rem; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--mist); }
.nav a[aria-current="page"] { color: var(--mist); border-bottom-color: var(--accent); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--mist); border-radius: 999px; padding: 8px 16px; font: inherit; cursor: pointer; }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font: 500 1rem var(--body);
  text-decoration: none; cursor: pointer; border: 1px solid var(--accent);
  transition: background .2s, color .2s;
}
.btn-brass { background: var(--accent); color: var(--ink); }
.btn-brass:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--mist); border-color: rgba(207, 216, 220, 0.35); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(118, 219, 227,.4); padding-bottom: 2px; }
.text-link:hover { border-bottom-color: var(--accent); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--line); }

/* Sections sweep in as they scroll into view (site.js adds .reveal, then .is-in): the section rises out of a blur,
   a blade of light runs along its top edge, and its contents follow one after another. */
.reveal {
  position: relative; opacity: 0; transform: translateY(90px) scale(.96); filter: blur(12px);
  transition: opacity 1s ease, transform 1.3s cubic-bezier(.16, .84, .24, 1), filter 1s ease;
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.reveal::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, #fff 45%, var(--accent) 70%, transparent);
  box-shadow: 0 0 12px var(--accent), 0 0 32px var(--accent-deep);
  transform: scaleX(0); transform-origin: left; opacity: 0;
}
.reveal.is-in::before { animation: section-blade 1.6s cubic-bezier(.16, .84, .24, 1) .1s forwards; }
@keyframes section-blade {
  0% { transform: scaleX(0); opacity: 1; }
  55% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
.reveal > .wrap > * { opacity: 0; transform: translateY(48px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, .84, .24, 1); }
.reveal.is-in > .wrap > * { opacity: 1; transform: none; }
.reveal.is-in > .wrap > :nth-child(1) { transition-delay: .25s; }
.reveal.is-in > .wrap > :nth-child(2) { transition-delay: .4s; }
.reveal.is-in > .wrap > :nth-child(3) { transition-delay: .55s; }
.reveal.is-in > .wrap > :nth-child(n+4) { transition-delay: .7s; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 20px; }

/* ---------- home hero ---------- */
.hero {
  position: relative; overflow: hidden; display: grid; align-content: center;
  min-height: clamp(560px, 90vh, 980px);
  padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 7vw, 96px);
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  filter: saturate(0.8) contrast(1.05);
}
.hero-media video[data-reverse] { opacity: 0; }
.hero-media video[data-reverse].is-active { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 5, 14, 0.72) 0%, rgba(4, 5, 14, 0.45) 42%, rgba(4, 5, 14, 0.1) 100%),
    linear-gradient(180deg, rgba(4, 5, 14, 0.4), rgba(4, 5, 14, 0) 30%, rgba(4, 5, 14, 0) 70%, rgba(4, 5, 14, 0.7));
}
.hero-copy { text-shadow: 0 2px 18px rgba(4, 5, 14, 0.6); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(3.4rem, 9.5vw, 8.4rem); line-height: 0.9; margin-bottom: 28px; }
.hero h1 em { display: block; font-style: italic; color: var(--muted); }
.hero .lede { margin-bottom: 32px; }

.stage { position: relative; }
.sleeve {
  position: relative; width: min(420px, 100%); margin-left: auto;
  background: var(--surface);
  border-radius: var(--frame-radius);
  padding: 22px 22px 20px;
  box-shadow: var(--frame-ring);
  z-index: 2;
}
.sleeve-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.sleeve-title { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; }
.sleeve-title small { display: block; font-family: var(--body); font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.sleeve-status { font-size: 0.8rem; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.sleeve-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .5; }
.sleeve.is-playing .sleeve-status { color: var(--accent); }
.sleeve.is-playing .sleeve-status::before { background: var(--accent); opacity: 1; }
.player { min-height: 152px; border-radius: 12px; overflow: hidden; background: var(--ink); }
.player iframe { display: block; border: 0; width: 100%; }
.sleeve-foot { display: flex; justify-content: space-between; margin-top: 12px; font-size: 0.85rem; }

.vinyl {
  position: absolute; z-index: 1;
  width: 300px; height: 300px; left: calc(100% - min(420px, 100%) - 130px); top: calc(50% - 150px);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--accent) 0 15%, #05061A 15.5% 17%, transparent 17.5%),
    repeating-radial-gradient(circle, #080A22 0 2px, #141A5C 2.5px 3.5px),
    #080A22;
  box-shadow: 0 0 0 1px rgba(118, 219, 227,.35), inset 0 0 0 6px #080A22, inset 0 0 0 7px rgba(207, 216, 220,.18), 0 20px 50px rgba(4, 5, 14,.5);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.vinyl::before { /* sheen */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 10%, rgba(255,255,255,.08) 15%, transparent 22% 60%, rgba(255,255,255,.06) 66%, transparent 72%);
}
.vinyl::after { /* label initials */
  content: "RW"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-style: italic; color: var(--ink); font-size: 1.35rem;
}
.sleeve.is-playing ~ .vinyl { transform: translateX(70px); }
.vinyl.is-spinning { animation: spin 2.2s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .sleeve { width: 100%; }
  .vinyl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vinyl.is-spinning { animation: none; }
  .vinyl { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- three voices ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--accent-deep); }
.voice { padding: 28px 28px 8px 0; display: flex; flex-direction: column; }
.voice + .voice { border-left: 1px solid var(--line); padding-left: 28px; }
.voice h3 { margin-bottom: 10px; }
.voice h3 a { position: relative; display: inline-block; color: inherit; text-decoration: none; }
.voice h3 a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.16em; height: 1px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), transparent);
  transform: scaleX(.72); transform-origin: left; opacity: .8; border-radius: 999px;
  transition: transform .25s, opacity .25s, height .15s, box-shadow .25s;
}
/* on hover the line ignites like a laser sword: it extends, with a white-hot core inside an aqua glow */
.voice h3 a:hover::after, .voice h3 a:focus-visible::after {
  transform: scaleX(1); opacity: 1; height: 3px;
  background: linear-gradient(90deg, #fff, #E9FCFD 88%, var(--accent));
  box-shadow: 0 0 3px #fff, 0 0 8px var(--accent), 0 0 16px var(--accent), 0 0 30px var(--accent-deep);
  animation: saber-hum .1s ease-in-out infinite alternate;
}
@keyframes saber-hum { to { opacity: .82; } }
@media (prefers-reduced-motion: reduce) { .voice h3 a:hover::after, .voice h3 a:focus-visible::after { animation: none; transition: none; } }
.voice h3 em { color: var(--accent); }
.voice p { color: var(--muted); margin-bottom: 24px; }
.voice-film {
  margin: auto 3px 8px 0; padding: 0;
  transform: rotate(-1deg); transition: transform .3s ease;
}
.voice-film:hover, .voice-film:focus-within { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .voice-film { transform: none; transition: none; }
}
@media (max-width: 820px) {
  .voices { grid-template-columns: 1fr; }
  .voice + .voice { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

/* ---------- feature split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--frame-radius); box-shadow: var(--frame-ring); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- artwork ---------- */
.art-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px) clamp(14px, 2vw, 28px); }
.art-grid.is-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .art-grid, .art-grid.is-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.art { margin: 0; }
.art-frame {
  display: block; width: 100%; padding: 0; background: none; border: 0; overflow: hidden; cursor: zoom-in;
  border-radius: var(--frame-radius); box-shadow: var(--frame-ring);
}
.art-frame picture { display: block; }
.art-frame img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #BFC9CE; }
.art figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; align-items: baseline; }
.art-title { font-family: var(--display); font-size: 1.15rem; line-height: 1.2; }
.art-price { color: var(--accent); font-variant-numeric: tabular-nums; }
.art .text-link { display: inline-block; margin-top: 8px; font-size: 0.92rem; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 880px); width: 100%; color: var(--mist); }
.lightbox::backdrop { background: rgba(4, 5, 14, 0.88); }
.lightbox-inner { background: var(--surface); border: 1px solid rgba(118, 219, 227,.4); padding: clamp(14px, 2.5vw, 28px); }
.lightbox img { width: 100%; max-height: 70vh; object-fit: contain; background: var(--mist); padding: 10px; }
.lightbox-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; }
.lightbox-meta h3 { font-size: 1.6rem; }
.lightbox-close { position: absolute; top: 10px; right: 10px; background: var(--ink); color: var(--mist); border: 1px solid var(--line); border-radius: 999px; width: 40px; height: 40px; font-size: 1.3rem; cursor: pointer; }

/* ---------- videos ---------- */
.video-set + .video-set { margin-top: clamp(40px, 6vw, 72px); }
.video-set-title { font-size: clamp(1.6rem, 3vw, 2.1rem); padding-bottom: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--accent-deep); }
.video-set-title em { color: var(--accent); }
/* The rule under each gallery title becomes a laser sword: hovered on desktop, or on screen on phones (site.js adds
   .is-lit), a white-hot blade in an aqua glow ignites along it once and stays lit, humming; when the hover ends
   (or the title leaves the screen) it retracts back the way it came, then goes dark. */
.video-set-title { position: relative; }
.video-set-title::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 999px; pointer-events: none;
  background: linear-gradient(90deg, #fff, #E9FCFD 88%, var(--accent));
  box-shadow: 0 0 3px #fff, 0 0 8px var(--accent), 0 0 16px var(--accent), 0 0 30px var(--accent-deep);
  transform: scaleX(0); transform-origin: left; opacity: 0;
  transition: transform .9s cubic-bezier(.6, 0, .3, 1), opacity 0s .9s;
}
.video-set-title:hover::after, .video-set-title.is-lit::after {
  transform: scaleX(1); opacity: 1;
  transition: transform .9s cubic-bezier(.6, 0, .3, 1), opacity 0s;
  animation: saber-flicker .1s ease-in-out infinite alternate;
}
@keyframes saber-flicker { from { opacity: 1; } to { opacity: .82; } }
@media (prefers-reduced-motion: reduce) {
  .video-set-title::after, .video-set-title:hover::after, .video-set-title.is-lit::after { transition: none; animation: none; }
}
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 960px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }
.video { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16/9; background: var(--surface); overflow: hidden; border-radius: var(--frame-radius); box-shadow: var(--frame-ring); }
.video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 5, 14,.75));
}
.video-play span { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .2s; }
.video-play span::after { content: ""; margin-left: 5px; border-left: 18px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.video-play:hover span { transform: scale(1.06); }
.video figcaption { margin-top: 14px; }
.video figcaption span { display: block; }
.video figcaption strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; display: block; }

.empty {
  border: 1px dashed rgba(118, 219, 227,.45); padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
}
.empty .vinyl-mini, .video-soon .vinyl-mini { width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0 16%, #05061A 16.5% 18%, transparent 18.5%), repeating-radial-gradient(circle, #080A22 0 2px, #141A5C 2.5px 3.5px); }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); }
@media (max-width: 560px) { .empty { grid-template-columns: 1fr; } }

.anchor-tabs { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- gigs ---------- */
.ticket-panel { background: var(--mist); color: var(--indigo); padding: clamp(20px, 3vw, 36px); }
.ticket-panel a { color: var(--indigo); }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline time { color: var(--accent); font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 1.45rem; }
.timeline .muted { font-size: 0.95rem; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }

.brief { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--accent-deep); margin: 32px 0; }
.brief div { padding: 20px 20px 4px 0; }
.brief div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.brief strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; display: block; margin-bottom: 4px; }
.brief span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .brief { grid-template-columns: 1fr 1fr; } .brief div:nth-child(3) { border-left: 0; padding-left: 0; } }

/* ---------- shop music ---------- */
.records { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 820px) { .records { grid-template-columns: 1fr; } }
.record { border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, rgba(26, 35, 126,.35), transparent); }
.record .disc { width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle, var(--c, var(--accent)) 0 18%, #05061A 18.5% 20%, transparent 20.5%), repeating-radial-gradient(circle, #080A22 0 2px, #141A5C 2.5px 3.5px); }
.record p { color: var(--muted); margin: 0; flex: 1; }
.record .btn-row { margin-top: 6px; }
.record .btn { padding: 10px 18px; font-size: .92rem; }

/* ---------- about ---------- */
.bio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.bio-photos { position: relative; padding-bottom: 80px; }
.bio-photos picture { display: block; }
.bio-photos img, .bio-text picture img { border-radius: var(--frame-radius); box-shadow: var(--frame-ring); }
.bio-photos > picture:first-child img { width: 86%; aspect-ratio: 4/5; object-fit: cover; }
.bio-photos > img:last-child { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; }
.bio-text p:first-of-type::first-letter { font-family: var(--display); float: left; font-size: 4.2rem; line-height: .8; padding: 6px 10px 0 0; color: var(--accent); }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; } }

.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--accent-deep); }
.services div { padding: 28px 28px 8px 0; }
.services div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.services h3 { margin-bottom: 10px; }
.services p { color: var(--muted); }
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } .services div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); }
.contact dl { margin: 28px 0 0; display: grid; gap: 18px; }
.contact dt { color: var(--muted); font-size: .9rem; }
.contact dd { margin: 2px 0 0; font-size: 1.15rem; }
.contact dd a { text-decoration: none; }
.contact dd a:hover { color: var(--accent); }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; color: var(--mist); font: inherit;
  border: 0; border-bottom: 1px solid rgba(207, 216, 220,.45); padding: 10px 0; border-radius: 0;
}
.field select option { background: var(--surface); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- invite band ---------- */
.invite { background: var(--indigo); padding: clamp(56px, 8vw, 96px) 0; }
.invite .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.invite h2 { max-width: 18ch; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 40px; }
.footer-grid h3 { font-size: 1.1rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--muted); }
.footer-grid a:hover { color: var(--mist); }
.subscribe { display: flex; gap: 10px; margin-top: 12px; }
.subscribe input { flex: 1; min-width: 0; background: transparent; border: 1px solid rgba(207, 216, 220,.45); color: var(--mist); border-radius: 999px; padding: 11px 18px; font: inherit; }
.subscribe input:focus { outline: none; border-color: var(--accent); }
.subscribe .btn { padding: 11px 20px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-base a { color: var(--muted); }
.footer-base a:hover { color: var(--accent); }
.footer-base .admin-link { margin-left: 10px; text-decoration: none; opacity: .45; }
.footer-base .admin-link:hover, .footer-base .admin-link:focus-visible { opacity: 1; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- MIDI songs on Gigs ---------- */
.midi-songs:empty { min-height: 0; }
.midi-songs .record h3 { margin-bottom: -6px; }
/* the button's link stretches over the whole card; the video stays on top so it still plays in place */
.midi-songs .record { position: relative; transition: border-color .2s; }
.midi-songs .record:hover, .midi-songs .record:focus-within { border-color: var(--accent-deep); }
.record-link::after { content: ""; position: absolute; inset: 0; }
.midi-songs .record-video { z-index: 1; }
.record-video { margin: -8px -8px 4px; }
.record-video .video-play span { width: 52px; height: 52px; }
.song-artist { font-size: .95rem; }
.song-prices { color: var(--accent); font-size: .92rem; font-variant-numeric: tabular-nums; }
.midi-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 32px; }
.midi-foot p { margin: 0; }

/* ---------- MIDI store pages ---------- */
.steps { list-style: none; padding: 0; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.steps li { padding: 20px 20px 4px 0; counter-increment: step; }
.steps li + li { border-left: 1px solid var(--line); padding-left: 20px; }
.steps li strong { font-family: var(--display); font-weight: 400; font-size: 1.25rem; display: block; margin-bottom: 6px; }
.steps li strong::before { content: counter(step) ". "; color: var(--accent); }
.steps li span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

.song-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .song-layout { grid-template-columns: 1fr; } }
.tiers { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--accent-deep); }
.tiers li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tiers li > div strong { font-family: var(--display); font-weight: 400; font-size: 1.3rem; display: block; }
.tiers li > div span { font-size: .92rem; }
.tier-price { color: var(--accent); font-size: 1.2rem; font-variant-numeric: tabular-nums; text-align: right; }
.tiers li .btn-row { grid-column: 1 / -1; }
.tiers li .btn { padding: 11px 22px; font-size: .95rem; }
/* download and donate share a row; "Free" and "or" stack above the donate button */
.tiers li > .btn { grid-column: 1; grid-row: 2; justify-self: start; }
.tiers li > .btn:last-child { grid-column: 2; justify-self: end; }
.tier-side { grid-column: 2; grid-row: 1; align-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tier-or { color: var(--muted); font-size: .92rem; }
/* phones: the title with "Free" beside it, then download · or · donate as two equal buttons on one line */
@media (max-width: 520px) {
  .tiers li { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px 10px; padding: 20px 0; }
  .tiers li > div { grid-column: 1 / -1; grid-row: 1; }
  .tiers li > div strong { padding-right: 52px; }
  .tier-side { display: contents; }
  .tier-price { grid-column: 3; grid-row: 1; justify-self: end; align-self: start; }
  .tier-or { grid-column: 2; grid-row: 2; }
  .tiers li > .btn, .tiers li > .btn:last-child { grid-column: 1; grid-row: 2; justify-self: stretch; padding: 11px 8px; font-size: .9rem; text-align: center; }
  .tiers li > .btn:last-child { grid-column: 3; }
  .tiers li > div strong { font-size: 1.2rem; }
}
.tiers li.is-featured strong { color: var(--accent); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- donating: the thank-you on return, and the payment simulation ---------- */
.donate-thanks { margin-top: 28px; max-width: 62ch; padding: 18px 22px; border: 1px solid var(--accent-deep); border-left: 3px solid var(--accent); border-radius: 10px; background: var(--surface); }
.donate-thanks strong { font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--accent); }
.donate-thanks p { margin: 6px 0 0; color: var(--mist); }
.pay-demo { max-width: min(92vw, 460px); }
.pay-demo .lightbox-inner { position: relative; border-radius: 14px; }
.pay-demo h3 { font-size: 1.6rem; margin-bottom: 8px; }
.pay-flag { display: inline-block; margin: 0 0 14px; padding: 3px 12px; border-radius: 999px; border: 1px dashed var(--accent-deep); color: var(--accent); font-size: .8rem; letter-spacing: .04em; }
.pay-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0; }
.pay-amounts button { padding: 12px 0; border-radius: 10px; border: 1px solid rgba(207, 216, 220, .35); background: transparent; color: var(--mist); font: 500 1.05rem var(--body); cursor: pointer; }
.pay-amounts button:hover { border-color: var(--accent); }
.pay-amounts button[aria-checked="true"] { border-color: var(--accent); background: rgba(118, 219, 227, .12); color: var(--accent); }
.pay-status { min-height: 1.6em; margin: 14px 0 0; font-size: .92rem; }

/* ---------- artwork protection (light deterrent; the watermark is in the files) ---------- */
.art-frame img, .lightbox img {
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}

/* ---------- recorded performances: 3D carousel ---------- */
.carousel { --card: min(620px, 64%); --shift: 62%; --tilt: 34deg; --depth: 220px; outline: none; }
.carousel:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }
.carousel-stage {
  display: grid; justify-items: center; align-items: start;
  perspective: 1600px; perspective-origin: 50% 40%;
  padding: 16px 0 12px; overflow: hidden;
}
.carousel-card {
  grid-area: 1 / 1; width: var(--card); margin: 0;
  transform: translateX(calc(var(--d, 0) * var(--shift))) translateZ(calc(var(--a, 0) * var(--depth) * -1)) rotateY(calc(var(--d, 0) * var(--tilt) * -1));
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .5s ease, filter .5s ease;
  cursor: pointer;
}
.carousel-card .video-frame { box-shadow: var(--frame-ring), 0 30px 60px rgba(2, 2, 8, .6); }
.carousel-card:not(.is-active) { filter: brightness(.35) saturate(.6); }
.carousel-card:not(.is-active) .video-play { pointer-events: none; opacity: 0; }
.carousel-card.is-active { cursor: default; }
.carousel-card.is-active .video-frame { box-shadow: var(--frame-ring), 0 0 56px rgba(118, 219, 227, .35), 0 30px 60px rgba(2, 2, 8, .6); }
.carousel-card.is-far { opacity: 0; pointer-events: none; }
.carousel-card figcaption { text-align: center; transition: opacity .4s ease; }
.carousel-card:not(.is-active) figcaption { opacity: 0; }
.carousel.is-single .carousel-card { cursor: default; }

.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; }
.carousel-arrow {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--mist); border: 1px solid rgba(207, 216, 220, .35);
  font-size: 1rem; line-height: 1; transition: border-color .2s, color .2s;
}
.carousel-arrow span { margin-top: -1px; }
.carousel-arrow:hover { border-color: var(--accent); color: var(--accent); }
.carousel-count { min-width: 44px; text-align: center; color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }

@media (max-width: 760px) {
  .carousel { --card: 88%; --shift: 54%; --tilt: 40deg; --depth: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-card, .carousel-card figcaption { transition: none; }
}
.video-soon { display: flex; align-items: center; justify-content: center; gap: 20px; padding: clamp(28px, 5vw, 48px); border: 1px dashed var(--line); text-align: left; }
.video-soon p { margin: 0; color: var(--muted); }
.video-soon .vinyl-mini { width: 64px; height: 64px; flex: none; }

/* ---------- Spotify loading state ---------- */
.player-loading { height: 152px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: .92rem; }
.player-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.player-bars i { width: 3px; height: 100%; background: var(--accent); border-radius: 2px; transform-origin: bottom; animation: player-eq 1s ease-in-out infinite; }
.player-bars i:nth-child(2) { animation-delay: -.25s; }
.player-bars i:nth-child(3) { animation-delay: -.5s; }
.player-bars i:nth-child(4) { animation-delay: -.75s; }
@keyframes player-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .player-bars i { animation: none; transform: scaleY(.6); } }

/* ---------- floating globe: a little Earth with orbiting satellites in the corner (drawn by js/globe.js) ---------- */
/* No frame and no controls: it hangs in the air over the page, and clicks pass straight through it. */
.page-player {
  position: fixed; right: 14px; bottom: 10px; z-index: 40; width: 360px; pointer-events: none;
  opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity .35s ease, transform .35s cubic-bezier(.16, .84, .24, 1);
}
.page-player.is-shown { opacity: 1; transform: none; }
.pp-viz {
  display: block; width: calc(100% + 32px); height: 288px; margin: 0 -16px; /* equal overhang keeps the globe centred */
  filter: drop-shadow(0 0 5px rgba(118, 219, 227, .35));
}
@media (max-width: 760px) {
  .page-player { right: 16px; bottom: 6px; width: 150px; }
  .pp-viz { height: 124px; }
}
@media (prefers-reduced-motion: reduce) { .page-player { transition: none; } }
@media print { .page-player { display: none; } }

/* =====================================================================
   Mobile web view
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: rgba(118, 219, 227, .18); }

/* Footer: one column that fits the screen (the email box used to push it 19px wider on 360px phones). */
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-grid ul { gap: 0; }
  .footer-grid li a { display: block; padding: 9px 0; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-base a { display: inline-block; padding: 9px 0; }
  .footer-base .admin-link { margin-left: 0; }
}

/* Touchscreens: small controls keep their look but get a finger-sized (44px) touch area. */
@media (pointer: coarse) {
  .carousel-arrow, .text-link, .wordmark, .voice h3 a, .video-set-title a, .footer-base a { position: relative; }
  .carousel-arrow::before { content: ""; position: absolute; inset: -9px; }
  .text-link::before, .voice h3 a::before, .video-set-title a::before, .footer-base a::before { content: ""; position: absolute; inset: -10px -6px; }
  .wordmark::before { content: ""; position: absolute; inset: -6px -4px; }
  .carousel-nav { gap: 18px; margin-top: 16px; }
}

@media (max-width: 760px) {
  /* Readable small print */
  .carousel-count { font-size: .875rem; }
  .sleeve-status { font-size: .85rem; }
  /* 16px form text stops iPhone zooming the page when a field is tapped */
  .field input, .field textarea, .field select, .subscribe input { font-size: 16px; }
  /* Lighter section entrance on phones: no blur, shorter travel, so scrolling stays smooth */
  .reveal { filter: none; transform: translateY(28px); transition: opacity .7s ease, transform .8s cubic-bezier(.16, .84, .24, 1); }
  .reveal > .wrap > * { transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.16, .84, .24, 1); }
  .reveal.is-in > .wrap > :nth-child(1) { transition-delay: .1s; }
  .reveal.is-in > .wrap > :nth-child(2) { transition-delay: .18s; }
  .reveal.is-in > .wrap > :nth-child(3) { transition-delay: .26s; }
  .reveal.is-in > .wrap > :nth-child(n+4) { transition-delay: .34s; }
  /* Swipes on a carousel move the carousel, not the page */
  .carousel-stage { touch-action: pan-y pinch-zoom; }

  /* Neater phone layout: a tighter vertical rhythm, calmer type and tidier rows */
  .section { padding: 56px 0; }
  .page-hero { padding: 44px 0 32px; }
  .page-hero h1 { margin-bottom: 14px; }
  .section-head { gap: 14px; margin-bottom: 28px; }
  h1 { font-size: clamp(2.4rem, 11vw, 3rem); line-height: 1.02; }
  h2 { font-size: clamp(1.75rem, 8vw, 2.15rem); line-height: 1.1; }
  h3 { font-size: 1.3rem; }
  .lede { font-size: 1.06rem; }
  /* hero: the video gets its own square at the top, framed on Reece at the piano, fading into the copy below */
  .hero { display: block; padding: 0 0 48px; }
  .hero-media { position: relative; inset: auto; aspect-ratio: 1; }
  .hero-media video { object-position: 31% 62%; }
  .hero-scrim { bottom: auto; aspect-ratio: 1; background: linear-gradient(180deg, rgba(4, 5, 14, 0.35), rgba(4, 5, 14, 0) 22%, rgba(4, 5, 14, 0) 62%, var(--ink)); }
  .hero .wrap { margin-top: -64px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4rem); margin-bottom: 18px; }
  .hero .lede { margin-bottom: 24px; }
  .sleeve { padding: 18px 16px 16px; }
  .voice { padding: 24px 0 4px; }
  .voice + .voice { padding-left: 0; }
  .voice p { margin-bottom: 18px; }
  .voice-film { transform: none; margin: auto 3px 10px 0; }
  .video-set-title { padding-bottom: 10px; margin-bottom: 18px; }
  .split { gap: 28px; }
  .split img { aspect-ratio: 4/3; }

  /* call-to-action pairs share the width evenly instead of wrapping one under the other */
  .btn { padding: 13px 22px; }
  .btn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
  .invite .wrap { gap: 22px; }
  .invite .btn-row { width: 100%; grid-template-columns: 1fr; }

  /* jump links on Sight & Sound: one line that scrolls sideways */
  .anchor-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin: 22px calc(var(--gutter) * -1) 0; padding: 2px var(--gutter); scrollbar-width: none; }
  .anchor-tabs::-webkit-scrollbar { display: none; }
  .anchor-tabs .btn { flex: none; padding: 9px 16px; font-size: .92rem; }

  /* artwork: price under the title so two-word names don't squeeze it */
  .art-grid, .art-grid.is-strip { gap: 22px 14px; }
  .art figcaption { flex-direction: column; gap: 2px; margin-top: 10px; }
  .art-title { font-size: 1.05rem; }
  .art .text-link { font-size: .88rem; margin-top: 6px; }

  /* cards */
  .record { padding: 20px; gap: 12px; }
  .record .disc { width: 56px; height: 56px; }
  .record-video { margin: -4px -4px 2px; }
  .timeline li { padding: 18px 0; }
  .services div, .steps li { padding-top: 18px; }
  .brief div { padding-top: 16px; }
  .empty { gap: 18px; }

  /* footer: two columns of links, less empty space */
  .site-footer { padding: 44px 0 20px; }
  .footer-grid { gap: 26px; }
  .footer-grid h3 + ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .footer-grid li a { padding: 7px 0; }
  .footer-base { margin-top: 32px; }
}
