/* Below Grade: "Lights Up" */

@font-face {
  font-family: "Titan One";
  src: url("../fonts/titan-one-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* stage */
  --stage: #120814;      /* house-dark plum */
  --deep: #041c26;       /* deep teal */
  --teal: #072f3f;
  --field: #0b3446;      /* inputs */
  /* light */
  --cyan: #2ec4ff;
  --mag: #ff17a8;
  --orange: #f6a02c;
  --white: #ffffff;
  --text: #f3eef6;
  --muted: #bfb3c9;      /* on plum */
  --muted-teal: #a9cbd8; /* on teal */
  --placeholder: #86a9b8;
  --error: #ff7cc8;      /* form errors, readable on plum */
  --grad: linear-gradient(90deg, var(--cyan), var(--mag) 60%, var(--orange));

  --display: "Titan One", "Arial Black", sans-serif;
  --body: "Montserrat", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --space: clamp(72px, 10vw, 140px);
  --radius: 16px;
  --ticker-h: clamp(54px, 7vh, 72px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--stage);
  color: var(--text);
  font: 500 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--mag) var(--stage);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

::selection { background: var(--mag); color: var(--white); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--stage); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--cyan), var(--mag)); border-radius: 12px; border: 3px solid var(--stage); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--cyan); color: var(--deep); padding: 10px 18px; border-radius: 40px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* gradient display type (pinned by the band) */
.grad-text { color: var(--orange); width: fit-content; max-width: 100%; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font: 800 1rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: 1.1em 2.3em; border: 0; border-radius: 999px; cursor: pointer;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), filter .3s;
}
.btn .icon { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn-cyan { background: var(--cyan); color: var(--deep); box-shadow: 0 8px 30px -6px rgb(46 196 255 / .6); }
.btn-mag { background: var(--mag); color: var(--deep); box-shadow: 0 8px 30px -6px rgb(255 23 168 / .55); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-cyan:hover { box-shadow: 0 14px 40px -6px rgb(46 196 255 / .8); }
.btn-mag:hover { box-shadow: 0 14px 40px -6px rgb(255 23 168 / .75); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.text-link { display: inline-flex; align-items: center; gap: .4em; color: var(--cyan); font-weight: 800; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; }
.text-link .arrow { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.text-link:hover { color: var(--white); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- nav ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  transition: background .4s var(--ease-out), box-shadow .4s;
}
.site-nav.is-scrolled { background: rgb(18 8 20 / .88); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .6); }
.site-nav ul {
  display: flex; gap: clamp(18px, 2.6vw, 36px); align-items: center;
  padding: 20px var(--gutter);
  font: 800 .875rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav a { text-decoration: none; padding: 6px 0; position: relative; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav-show { margin-left: auto; }
.nav-show a { color: var(--cyan); }
.nav-show[hidden] + .nav-contact { margin-left: auto; } /* after the show, Contact takes the right edge again */
.nav-contact a { opacity: .85; }
.nav-book, .nav-toggle { display: none; }
/* once you scroll past the hero, a small logo slides in at the left as a link back to the top */
.site-nav { display: flex; align-items: center; padding-top: env(safe-area-inset-top, 0px); } /* iPhones: clear the status bar (the page draws under it, viewport-fit=cover) */
.site-nav nav { flex: 1; min-width: 0; }
.site-nav .nav-mark {
  display: block; flex: none; width: 0; margin-left: 0; padding: 0; overflow: hidden;
  visibility: hidden; opacity: 0;
  transition: width .4s var(--ease-out), margin .4s var(--ease-out), opacity .35s var(--ease-out), visibility .4s;
}
.nav-mark::after { display: none; }
.nav-mark img { width: 52px; max-width: none; }
.is-scrolled .nav-mark { width: 52px; margin-left: var(--gutter); visibility: visible; opacity: 1; }

/* phones (either way up) and tablets: the link row doesn't fit, so a slim bar (logo and "Book us"
   arrive once you scroll) with a Menu button that opens the links full screen, big enough for a thumb */
@media (max-width: 960px), (max-height: 500px) {
  .site-nav { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) calc(var(--gutter) + env(safe-area-inset-right, 0px)) 10px calc(var(--gutter) + env(safe-area-inset-left, 0px)); min-height: calc(64px + env(safe-area-inset-top, 0px)); }
  .site-nav.is-open { background: transparent; backdrop-filter: none; box-shadow: none; } /* a backdrop-filter would trap the fixed menu inside the bar */
  .nav-mark, .nav-book, .nav-toggle { display: inline-flex; align-items: center; position: relative; z-index: 1; }
  .site-nav .nav-mark { width: auto; margin: 0 auto 0 0; overflow: visible; }
  .nav-book::after { display: none; }
  .nav-mark img { height: 40px; width: auto; }
  .nav-mark, .nav-book { visibility: hidden; opacity: 0; transition: opacity .35s var(--ease-out), visibility .35s; }
  .is-scrolled .nav-mark, .is-scrolled .nav-book, .is-open .nav-mark { visibility: visible; opacity: 1; }
  .is-open .nav-book { visibility: hidden; opacity: 0; }
  .site-nav .nav-book, .nav-toggle {
    min-height: 44px; padding: 0 18px; border-radius: 999px;
    font: 800 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  }
  .nav-book { color: var(--cyan); box-shadow: inset 0 0 0 2px rgb(46 196 255 / .55); }
  .nav-toggle { gap: 10px; border: 0; cursor: pointer; color: var(--deep); background: var(--text); }
  .nav-toggle-bars, .nav-toggle-bars::before { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease-out); }
  .nav-toggle-bars { position: relative; transform: translateY(-3px); }
  .nav-toggle-bars::before { content: ""; position: absolute; top: 6px; }
  .is-open .nav-toggle-bars { transform: rotate(45deg); }
  .is-open .nav-toggle-bars::before { transform: translateY(-6px) rotate(-90deg); }

  .site-nav nav {
    position: fixed; inset: 0; overflow-y: auto; overscroll-behavior: contain;
    padding: calc(88px + env(safe-area-inset-top, 0px)) var(--gutter) 40px;
    background: radial-gradient(120% 60% at 50% 0%, rgb(255 23 168 / .16), transparent 70%), var(--stage);
    visibility: hidden; opacity: 0; transition: opacity .3s var(--ease-out), visibility .3s;
  }
  .is-open nav { visibility: visible; opacity: 1; transition-duration: .3s, 0s; } /* visible at once, so focus can move in */
  .site-nav ul {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0; overflow: visible; white-space: normal;
    font: 400 clamp(1.9rem, 9vw, 2.4rem)/1 var(--display); letter-spacing: 0;
  }
  .site-nav li { border-bottom: 1px solid rgb(255 255 255 / .1); transform: translateY(12px); opacity: 0; transition: transform .45s var(--ease-out), opacity .45s; }
  .is-open li { transform: none; opacity: 1; }
  .is-open li:nth-child(2) { transition-delay: .03s; } .is-open li:nth-child(3) { transition-delay: .06s; }
  .is-open li:nth-child(4) { transition-delay: .09s; } .is-open li:nth-child(5) { transition-delay: .12s; }
  .is-open li:nth-child(n+6) { transition-delay: .15s; }
  .site-nav nav a { display: flex; align-items: center; min-height: 64px; padding: 8px 0; }
  .site-nav nav a::after { display: none; }
  .site-nav nav a[aria-current="true"] { color: var(--cyan); }
  .nav-contact { display: block; order: 0; }
  .nav-contact a { opacity: 1; }
  .nav-show { display: block; order: 1; margin: 22px 0 0; border: 0; }
  .site-nav .nav-show a { min-height: 44px; font: 800 .8rem/1.4 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(100svh, 640px);
  display: flex; flex-direction: column;
  overflow: hidden; background: var(--stage);
}
.hero-media { position: absolute; inset: 4% 0 -14% 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  filter: saturate(1.35) contrast(1.08);
  animation: lights-up 2.2s var(--ease-out) both;
}
/* wide, short windows: full-width photo would crop the band at the chest, so cap the
   photo's width (showing more of its height) and fade its sides into the dark stage */
@media (min-aspect-ratio: 17/10) and (min-width: 641px) {
  .hero-media {
    inset: 4% auto var(--ticker-h) 50%;
    width: min(100%, calc((96svh - var(--ticker-h)) * 2));
    translate: -50% 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  }
  .hero-media img { object-position: 50% 12%; }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(18 8 20 / .92) 0%, rgb(18 8 20 / .45) 30%, transparent 50%, transparent 82%, rgb(4 28 38 / .55) 100%);
}
/* its own layer stack, so the tagline's dark pool (z-index -1) sits behind everything in it:
   the logo, the headline and the button all draw over the pool where it reaches them */
.hero-content {
  isolation: isolate;
  flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(clamp(68px, 8.5vh, 88px) + env(safe-area-inset-top, 0px)) var(--gutter) 0;
}
.hero-logo {
  /* the logo leads: as wide as the screen allows while staying clear of the band below */
  width: clamp(200px, min(30vw, 40svh), 470px);
  filter: drop-shadow(0 0 40px rgb(246 160 44 / .38)) drop-shadow(0 18px 30px rgb(0 0 0 / .6));
  animation: logo-in 1.6s var(--ease-out) .2s both;
}
.hero h1 {
  margin-inline: auto;
  margin-top: clamp(10px, 1.8vh, 18px);
  font: 400 clamp(1.5rem, 2.6vw, 2.6rem)/1.05 var(--display);
  letter-spacing: -.01em;
  text-transform: uppercase;
  /* stacked plum shadows: a tight edge plus soft depth, so the gradient stays pure over the busy photo */
  filter: drop-shadow(0 0 1.5px rgb(18 8 20)) drop-shadow(0 2px 4px rgb(18 8 20 / .95)) drop-shadow(0 6px 22px rgb(18 8 20 / .9));
}
/* a feathered pool of stage-dark behind the tagline quiets the rig lights right behind the words;
   it sits at the back of .hero-content's layers so the letters, logo and button stay at full brightness */
.tagline { position: relative; display: grid; justify-items: center; }
.tagline::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -130% -12%;
  background: radial-gradient(closest-side, rgb(18 8 20 / .9), rgb(18 8 20 / .72) 45%, rgb(18 8 20 / .3) 75%, rgb(18 8 20 / 0));
}
.hero .btn { margin-top: clamp(16px, 2.4vh, 26px); }
.hero-show { display: none; margin-top: 14px; color: var(--cyan); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; text-underline-offset: .25em; }
/* in between, the row fits only without the next show, so that moves under the hero button */
@media (min-width: 961px) and (max-width: 1180px) and (min-height: 501px) {
  .nav-show { display: none; }
  .nav-contact { margin-left: auto; }
}
@media (min-width: 641px) and (max-width: 1180px) and (min-height: 501px) {
  .hero-show { display: block; text-shadow: 0 0 2px rgb(18 8 20), 0 1px 3px rgb(18 8 20), 0 2px 14px rgb(18 8 20 / .9); } /* it sits on the photo here */
}
/* short landscape screens: a smaller logo so the band still shows under the button */
@media (max-height: 500px) and (min-width: 641px) {
  .hero-logo { width: clamp(110px, 30svh, 200px); }
  /* the hero is taller than the screen here, so the photo runs full width (not the capped, side-faded
     column wide desktop windows get), and the dark pool behind the tagline reads as a smudge */
  .hero-media { inset: 0 0 var(--ticker-h) 0; width: auto; translate: none; -webkit-mask-image: none; mask-image: none; }
  .hero-media img { object-position: 50% 0; }
  .tagline::before { display: none; }
  .hero-content { padding-top: calc(56px + env(safe-area-inset-top, 0px)); }
  /* the open menu goes two columns so every link fits without scrolling */
  .site-nav nav { padding-top: calc(72px + env(safe-area-inset-top, 0px)); }
  .site-nav ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; font-size: 1.6rem; }
  .site-nav nav a { min-height: 54px; }
  .site-nav .nav-show { grid-column: 1 / -1; margin-top: 10px; }
}

@keyframes lights-up {
  from { filter: brightness(.4) saturate(.7) contrast(1.08); transform: scale(1.03); }
  to   { filter: brightness(1) saturate(1.35) contrast(1.08); transform: scale(1); }
}
@keyframes logo-in {
  from { opacity: .2; filter: drop-shadow(0 0 0 rgb(246 160 44 / 0)) drop-shadow(0 18px 30px rgb(0 0 0 / .6)); }
  60%  { filter: drop-shadow(0 0 70px rgb(246 160 44 / .7)) drop-shadow(0 18px 30px rgb(0 0 0 / .6)); }
  to   { opacity: 1; }
}

/* ticker */
.ticker { background: var(--grad); color: var(--deep); overflow: hidden; height: var(--ticker-h); display: flex; align-items: center; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; flex: none; }
.ticker-list li {
  font: 400 clamp(1.1rem, 2vw, 1.75rem)/1 var(--display); text-transform: uppercase; white-space: nowrap;
  display: flex; align-items: center;
}
.ticker-list li::after { content: ""; width: .5em; height: .5em; margin: 0 1em; background: var(--white); transform: rotate(45deg); border-radius: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }


/* ---------- hero life (each effect is switched on by a class on <body>) ---------- */
.hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-fx > span { position: absolute; display: none; }

/* Every effect eases in from nothing and only ever fades: no blinks, no hard cuts.
   Each animates only opacity or transform, which the GPU handles without repainting. */

/* 1. stage haze drifting through the beams */
.fx-haze .haze {
  display: block; inset: 8% -40% 16% -40%;
  background:
    radial-gradient(30% 44% at 30% 55%, rgb(200 220 255 / .14), transparent 75%),
    radial-gradient(24% 36% at 62% 40%, rgb(255 200 225 / .11), transparent 75%),
    radial-gradient(32% 42% at 85% 62%, rgb(180 228 255 / .12), transparent 75%);
  will-change: transform, opacity;
  animation: fade-in 4s ease .5s both, haze 38s ease-in-out infinite alternate;
}
.fx-haze .haze-2 {
  inset: 20% -50% 8% -30%;
  background:
    radial-gradient(26% 40% at 20% 60%, rgb(180 228 255 / .1), transparent 75%),
    radial-gradient(30% 46% at 70% 45%, rgb(255 200 225 / .09), transparent 75%);
  animation: fade-in 5s ease 1.5s both, haze 52s ease-in-out infinite alternate-reverse;
}
@keyframes haze { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* 2. a warm glow behind the logo breathes (a soft light layer fading, not a re-drawn shadow) */
.logo-wrap { position: relative; isolation: isolate; display: grid; place-items: center; }
.logo-glow {
  position: absolute; inset: -14% -10%; z-index: -1; display: none; pointer-events: none;
  background: radial-gradient(closest-side, rgb(246 160 44 / .42), rgb(246 160 44 / .12) 55%, transparent);
  opacity: 0; will-change: opacity;
}
.fx-breathe .logo-glow { display: block; animation: glow-in 2.4s ease .8s forwards, breathe 6s ease-in-out 3.2s infinite alternate; }
@keyframes glow-in { to { opacity: .45; } }
@keyframes breathe { from { opacity: .45; } to { opacity: 1; } }

/* 3. slow camera drift */
.fx-drift .hero-media { animation: drift 26s ease-in-out 2s infinite alternate; transform-origin: 50% 60%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.035) translateY(-0.6%); } }

/* 4. rig lights: copies of the photo that keep only the red lamps / only the blue beams,
   fading up and down on their own rhythms so the two colors trade off like a live light show */
.hero-media img.glow {
  position: absolute; inset: 0; display: none; pointer-events: none;
  mix-blend-mode: screen; opacity: 0; will-change: opacity;
}
.fx-red .hero-media img.glow-red { display: block; filter: url(#fx-red); animation: red-rig 6.2s ease-in-out 2.4s infinite; }
.fx-blue .hero-media img.glow-blue { display: block; filter: url(#fx-blue); animation: blue-beams 9.4s ease-in-out 3.4s infinite; }
@keyframes red-rig {
  0%, 100% { opacity: 0; } 16% { opacity: .45; } 30% { opacity: .18; } 46% { opacity: .5; } 63% { opacity: .12; } 81% { opacity: .38; }
}
@keyframes blue-beams {
  0%, 100% { opacity: 0; } 28% { opacity: .55; } 50% { opacity: .28; } 74% { opacity: .6; }
}

/* 5. a soft spotlight follows the pointer (mouse only) */
@media (pointer: fine) {
  .fx-spot .spot {
    display: block; inset: 0;
    background: radial-gradient(260px 260px at var(--mx, 50%) var(--my, 40%), rgb(255 255 255 / .14), transparent 70%);
    mix-blend-mode: soft-light; transition: opacity 1.2s ease; opacity: var(--spot-on, 0);
  }
}

/* paused while the hero is off screen */
.hero.is-offscreen *, .hero.is-offscreen *::before, .hero.is-offscreen *::after { animation-play-state: paused !important; }

/* ---------- sections ---------- */
.section { position: relative; padding-block: var(--space); isolation: isolate; }
.section::before { /* a wash of stage light from above */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at var(--light-x, 50%) 0%, var(--light, rgb(46 196 255 / .14)), transparent 70%);
}
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 60ch; }
.section h2 { font: 400 clamp(2.25rem, 5.2vw, 4.25rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; padding-bottom: .06em; }
.section-head p, .songs-intro p, .band-text p, .contact-intro > p, .shows-main p { color: var(--muted); max-width: 60ch; }
.section-head .text-link { justify-self: start; }

/* stage light: each section gets a visible source, in the hero's colors */
.songs::after, .photos::after, .shows::after, .contact::after, .band-copy::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
}
/* cyan beams raking the set list from the top right */
.songs::after {
  inset: 0;
  background:
    linear-gradient(118deg, transparent 52%, rgb(46 196 255 / .2) 55%, transparent 60%),
    linear-gradient(126deg, transparent 60%, rgb(46 196 255 / .16) 63%, transparent 68%),
    linear-gradient(134deg, transparent 68%, rgb(46 196 255 / .13) 71%, transparent 76%),
    radial-gradient(30% 22% at 96% 0%, rgb(46 196 255 / .45), transparent 70%);
  filter: blur(6px);
}
.section::before, .songs::after, .photos::after, .shows::after, .contact::after {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%);
}
/* magenta wash behind the gallery */
.photos::after {
  inset: 0;
  background:
    radial-gradient(45% 40% at 12% 18%, rgb(255 23 168 / .3), transparent 70%),
    radial-gradient(40% 35% at 92% 85%, rgb(255 23 168 / .22), transparent 70%);
}
/* red rig light over the shows */
.shows::after {
  inset: 0;
  background:
    radial-gradient(42% 46% at 26% 0%, rgb(255 60 40 / .34), transparent 72%),
    radial-gradient(30% 40% at 85% 10%, rgb(46 196 255 / .14), transparent 70%);
}
/* magenta and cyan spill behind the form */
.contact::after {
  inset: 0;
  background:
    radial-gradient(38% 50% at 78% 40%, rgb(255 23 168 / .3), transparent 70%),
    radial-gradient(30% 40% at 10% 90%, rgb(46 196 255 / .16), transparent 70%);
}
.band-copy { position: relative; }
.band-copy::before { inset: -10% -20%; background: radial-gradient(40% 60% at 20% 30%, rgb(246 160 44 / .16), transparent 70%); }

/* ---------- watch: the stage screen ---------- */
.watch { background: var(--stage); --light: rgb(255 23 168 / .16); --light-x: 30%; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(16px, 2.4vw, 28px); align-items: start; scroll-margin-top: 24px; }
.screen {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #000;
  box-shadow: 0 30px 80px -30px rgb(255 23 168 / .55), 0 20px 60px -30px rgb(46 196 255 / .45);
}
.screen-poster, .screen iframe { display: block; aspect-ratio: 16 / 9; width: 100%; border: 0; }
.screen-poster { position: relative; }
.screen-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s; }
.screen-poster:hover img { transform: scale(1.03); filter: brightness(1.1); }
.screen-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(18 8 20 / .85), transparent 45%); }
.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%;
  width: clamp(72px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad);
  box-shadow: 0 14px 50px -6px rgb(255 23 168 / .7);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
/* the triangle's center of mass sits on the circle's center (looks centered; the bounding box would look shifted) */
.play-btn svg { width: 44%; fill: var(--white); }
.screen-poster:hover .play-btn { transform: scale(1.08); box-shadow: 0 20px 64px -6px rgb(255 23 168 / .9); }
.screen-caption { position: absolute; left: clamp(16px, 2.4vw, 28px); bottom: clamp(14px, 2.2vw, 24px); z-index: 2; pointer-events: none; }
.screen.is-playing .screen-caption { display: none; }
.now-title { font: 400 clamp(1.25rem, 2.6vw, 2.1rem)/1.05 var(--display); text-transform: uppercase; }
.now-artist { color: var(--cyan); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .875rem; margin-top: 6px; }
/* light sweep when a new song loads */
.screen.is-swapping::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, rgb(46 196 255 / .35) 40%, rgb(255 23 168 / .35) 55%, transparent 75%);
  animation: sweep .9s var(--ease-out) both;
}
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.setlist { display: grid; gap: 10px; }
.set-item {
  width: 100%; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center;
  padding: 8px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .08);
  background: rgb(255 255 255 / .03); color: var(--text); text-align: left; cursor: pointer;
  font: inherit; transition: background .3s, border-color .3s, transform .3s var(--ease-out);
}
.set-item img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; filter: saturate(.8) brightness(.8); transition: filter .3s; }
.set-item b { display: block; font: 400 1rem/1.15 var(--display); text-transform: uppercase; }
.set-item small { display: block; color: var(--muted); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.set-item:hover { background: rgb(255 255 255 / .07); transform: translateX(3px); }
.set-item:hover img { filter: none; }
.set-item.is-active {
  background: linear-gradient(var(--stage), var(--stage)) padding-box, var(--grad) border-box;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px -14px rgb(255 23 168 / .8);
}
.set-item.is-active img { filter: none; }
.set-item.is-active small { color: var(--cyan); }

/* ---------- songs ---------- */
.songs { background: linear-gradient(180deg, var(--stage), var(--deep)); --light: rgb(46 196 255 / .14); --light-x: 80%; }
.songs-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.songs-intro { display: grid; gap: 18px; position: sticky; top: 110px; }
.songs-intro .songs-note { font-size: .95rem; color: var(--muted-teal); }
.song-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 24px;
  padding: 16px 0; border-bottom: 1px solid rgb(255 255 255 / .1);
}
.song-list li:first-child { border-top: 1px solid rgb(255 255 255 / .1); }
.song { font: 400 clamp(1.25rem, 2.4vw, 1.9rem)/1.1 var(--display); text-transform: uppercase; transition: color .3s; }
.artist { text-align: right; color: var(--muted-teal); font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
.song-play {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 24px;
  width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.nw { white-space: nowrap; }
.tri { width: .55em; height: .55em; margin-left: .4em; vertical-align: .05em; fill: var(--cyan); transition: transform .3s var(--ease-out); }
.song-play:hover .song, .song-play:focus-visible .song { color: var(--cyan); }
.song-play:hover .tri { transform: scale(1.3); }
.song-more { margin-top: 28px; }

/* ---------- photos ---------- */
.photos { background: linear-gradient(180deg, var(--stage), var(--deep)); --light: rgb(255 23 168 / .14); --light-x: 20%; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 14vw, 210px); gap: clamp(8px, 1.2vw, 14px); }
.gallery li { border-radius: 12px; overflow: hidden; background: var(--teal); }
.gallery .g-wide { grid-column: span 2; grid-row: span 2; }
.gallery a { display: block; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .4s; }
.gallery a:hover img { transform: scale(1.04); filter: brightness(1.12) saturate(1.15); }

.photos .btn { margin-top: clamp(20px, 3vw, 32px); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .35); padding: .95em 1.9em; }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--cyan); color: var(--cyan); filter: none; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 4 12 / .96); color: var(--white); }
.lightbox::backdrop { background: rgb(0 0 0 / .7); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 86vh; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 90px -30px rgb(255 23 168 / .5); }
.lightbox button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .1); display: grid; place-items: center; transition: background .3s;
}
.lightbox button:hover { background: var(--mag); }
.lightbox svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }

/* ---------- band ---------- */
.band { background: var(--stage); padding-top: 0; overflow-x: clip; --light: rgb(246 160 44 / .12); }
.band-photo { position: relative; }
.band-photo img { width: 100%; max-height: 82vh; object-fit: cover; object-position: 50% 30%; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--stage)); pointer-events: none; }
.band-labels { position: absolute; inset: auto 0 clamp(14px, 3vw, 40px) 0; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); }
.band-labels li { padding-inline: clamp(8px, 1.4vw, 22px); }
.band-labels span { font: 400 clamp(.75rem, 1.4vw, 1.2rem)/1.1 var(--display); text-transform: uppercase; text-shadow: 0 2px 12px rgb(0 0 0 / .8); }
.band-labels small { display: block; margin-top: 4px; font: 700 .8rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); text-shadow: 0 2px 10px rgb(0 0 0 / .9); }
.band-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px); padding-top: clamp(40px, 6vw, 72px); }
.band-text { display: grid; gap: 1em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.band-text p { color: var(--text); }
/* Ollie sits under the heading on desktop; the text runs down the right column beside him */
.band-copy { grid-template-rows: auto 1fr; row-gap: 20px; }
.band-copy > h2 { grid-column: 1; grid-row: 1; }
.band-text { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.mascot { grid-column: 1; grid-row: 2; margin: 0; display: grid; gap: 22px; max-width: 360px; }
.mascot-art { position: relative; width: fit-content; }
.mascot-dog { width: clamp(200px, 22vw, 290px); rotate: -6deg; filter: drop-shadow(0 18px 28px rgb(0 0 0 / .55)); transition: rotate .5s var(--ease-out); }
.mascot:hover .mascot-dog { rotate: 4deg; }
/* the snapshot: a little print pinned over his corner */
.mascot-snap {
  position: absolute; right: -58px; bottom: -14px; width: clamp(96px, 9vw, 124px);
  padding: 6px 6px 20px; background: #f3ede2; border-radius: 3px; rotate: 7deg;
  box-shadow: 0 14px 30px -8px rgb(0 0 0 / .7); transition: rotate .5s var(--ease-out), scale .5s var(--ease-out);
}
.mascot:hover .mascot-snap { rotate: 2deg; scale: 1.06; }
.mascot figcaption { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.mascot figcaption b { color: var(--orange); font-weight: 800; }

/* ---------- shows ---------- */
.shows { background: linear-gradient(180deg, var(--deep), var(--stage)); --light: rgb(46 196 255 / .14); --light-x: 70%; }
.shows-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.shows-main, .shows-empty, .next-show { display: grid; gap: 18px; justify-items: start; }
.shows-main .shows-now { font: 400 clamp(1.5rem, 3vw, 2.4rem)/1.1 var(--display); color: var(--text); text-transform: uppercase; margin-top: 8px; }
.next-show { gap: 10px; margin-top: 8px; }
.next-date { font: 400 clamp(1.75rem, 3.6vw, 2.9rem)/1.05 var(--display); color: var(--text); text-transform: uppercase; }
.shows-main .next-venue { color: var(--text); font-weight: 700; font-size: 1.1rem; }
.next-venue a { text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: .2em; }
.next-venue a:hover { color: var(--cyan); }
.next-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 10px; }
.shows-past h3 { font: 400 1.25rem/1 var(--display); text-transform: uppercase; color: var(--muted-teal); margin-bottom: 18px; }
.past-list li { padding: 20px 0; border-top: 1px solid rgb(255 255 255 / .12); display: grid; gap: 4px; }
.past-list time { font: 400 1.1rem/1.2 var(--display); color: var(--cyan); text-transform: uppercase; }
.past-venue { font-weight: 700; }
.past-venue a { text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: .2em; }
.past-venue a:hover { color: var(--cyan); }
.past-note { color: var(--muted-teal); }

/* ---------- contact ---------- */
.contact { background: linear-gradient(180deg, var(--stage), var(--deep)); --light: rgb(255 23 168 / .16); --light-x: 75%; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-intro { display: grid; gap: 18px; }
.contact-intro > p { color: var(--muted-teal); }
.faq { margin-top: 18px; border-top: 1px solid rgb(255 255 255 / .12); }
.faq details { border-bottom: 1px solid rgb(255 255 255 / .12); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-weight: 800; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--cyan); border-bottom: 2.5px solid var(--cyan); rotate: 45deg; transition: rotate .3s var(--ease-out);
}
.faq details[open] summary::after { rotate: 225deg; margin-top: -2px; }
.faq details p { color: var(--muted-teal); padding: 0 0 18px; max-width: 60ch; }
.faq a { color: var(--cyan); }

.contact-form {
  display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 22px;
  background: linear-gradient(var(--stage), var(--stage)) padding-box, var(--grad) border-box;
  border: 2px solid transparent;
  box-shadow: 0 30px 80px -40px rgb(255 23 168 / .7);
}
.field { display: grid; gap: 8px; }
.field label { font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.opt { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); }
.field input, .field textarea {
  font: 500 1rem/1.4 var(--body); color: var(--text);
  background: var(--field); border: 1.5px solid rgb(255 255 255 / .12); border-radius: 10px; padding: 14px 16px;
  caret-color: var(--mag); transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder { color: var(--placeholder); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgb(46 196 255 / .2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--mag); }
.contact-form .btn { justify-self: start; }
.form-status { min-height: 1.5em; color: var(--muted); font-weight: 600; }
.form-status.is-error { color: var(--error); }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.site-footer { background: var(--stage); border-top: 1px solid rgb(255 255 255 / .08); padding: 48px 0 56px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.footer-logo img { width: 110px; }
.footer-yt { display: inline-flex; align-items: center; gap: .5em; color: var(--text); font-weight: 800; text-decoration: none; }
.footer-yt .yt { width: 1.5em; height: 1.5em; fill: var(--mag); transition: fill .3s; }
.footer-yt:hover { color: var(--cyan); }
.footer-yt:hover .yt { fill: var(--cyan); }
.copy { margin-left: auto; }

/* ---------- small pages ---------- */
.page-simple { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); background: radial-gradient(70% 50% at 50% 0%, rgb(255 23 168 / .2), transparent 70%), var(--stage); }
.page-simple .inner { display: grid; gap: 22px; justify-items: center; max-width: 34rem; }
.page-simple img.logo { width: 220px; }
.page-simple h1 { font: 400 clamp(2rem, 6vw, 3.4rem)/1.05 var(--display); text-transform: uppercase; }
.page-simple p { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .setlist { min-width: 0; grid-auto-flow: column; grid-auto-columns: minmax(220px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
  .setlist li { scroll-snap-align: start; }
  .songs-grid, .band-copy, .shows-grid, .contact-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .band-copy > h2, .band-text, .mascot { grid-column: auto; grid-row: auto; }
  .band-copy { row-gap: clamp(24px, 6vw, 96px); }
  .songs-intro { position: static; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px)); }
  .setlist { grid-auto-columns: minmax(240px, 82%); }
  .set-item { grid-template-columns: 84px 1fr; }
  .set-item img { width: 84px; }
  .song-list li, .song-play { grid-template-columns: 1fr; }
  .artist { text-align: left; }
  .hero { min-height: 0; }
  .hero-content { flex: none; padding: calc(76px + env(safe-area-inset-top, 0px)) var(--gutter) 0; }
  .hero-show { display: block; }
  .hero-media { position: relative; inset: auto; order: 1; margin-top: -56px; overflow: hidden; }
  .hero-media img {
    width: 124%; max-width: none; height: auto; margin-left: -12%; object-fit: fill;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26%);
    mask-image: linear-gradient(180deg, transparent 0, #000 26%);
  }
  .hero::before { display: none; }
  .hero-media img.glow { inset: 0 auto auto 0; width: 124%; height: auto; margin-left: -12%; }
  .ticker { order: 2; }
  .hero h1 { font-size: clamp(1.45rem, 6.6vw, 1.9rem); }
  .hero-logo { width: min(64vw, 280px); }
  /* the photo sits below the words here, so the dark shadows and pools that lift them off it on
     desktop just read as smudges on the plain stage; keep only a tight warm glow on the logo */
  .hero h1 { filter: none; }
  .tagline::before, .logo-glow { display: none !important; }
  .hero-logo { filter: drop-shadow(0 0 18px rgb(246 160 44 / .28)); animation-name: logo-in-m; }
  @keyframes logo-in-m {
    from { opacity: .2; filter: drop-shadow(0 0 0 rgb(246 160 44 / 0)); }
    60%  { filter: drop-shadow(0 0 30px rgb(246 160 44 / .5)); }
    to   { opacity: 1; }
  }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; }
  .gallery .g-wide { grid-row: span 2; }
  .band-photo img { aspect-ratio: 16 / 9; max-height: none; }
  .band-labels { position: relative; margin-top: -36px; }
  .band-labels span { font-size: .8rem; display: block; }
  .band-labels small { font-size: .62rem; letter-spacing: .04em; }
  .band-labels li { padding-inline: 6px; }
  .copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
  .hero-fx { display: none; }
  .hero-logo, .hero-media, .hero-media img, .logo-glow { animation: none !important; }
}
