:root {
  --bg: #0b0b10;
  --bg-2: #13131b;
  --bg-3: #1b1b26;
  --text: #f3f1ec;
  --muted: #a9a6b3;
  --line: #2a2a38;
  /* the logo's ring: crimson → violet → blue → green → yellow → orange */
  --c-red: #d4153a;
  --c-violet: #5b2a86;
  --c-blue: #1f3fa0;
  --c-green: #13895a;
  --c-yellow: #f2c811;
  --c-orange: #ec6b23;
  --spectrum: linear-gradient(90deg, var(--c-red), var(--c-violet), var(--c-blue), var(--c-green), var(--c-yellow), var(--c-orange));
  --accent: var(--c-yellow);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; line-height: .95; letter-spacing: .01em; text-transform: uppercase; }
h2 { font-size: clamp(2.6rem, 6.5vw, 5rem); margin-bottom: 1.5rem; text-wrap: balance; }
h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: .5rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: .5rem 1rem; border-radius: 8px; }
.skip:focus { left: 8px; }
.spectrum { height: 4px; background: var(--spectrum); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.5rem; border: 0; border-radius: 999px;
  background: var(--text); color: var(--bg); font: 600 1rem var(--body);
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(243,241,236,.55); }
.btn--ghost:hover { background: rgba(243,241,236,.1); }
.btn--small { min-height: 40px; padding: .5rem 1.1rem; font-size: .9rem; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .7rem var(--gutter);
  background: rgba(11,11,16,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 900 1.5rem var(--display); text-transform: uppercase; letter-spacing: .03em; }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 760px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
}

/* Hero: the whole stage photo, uncropped (4:3). Logo sits on the rafters;
   tagline and buttons sit on the dark stage front (desktop) or just below the photo (phones). */
.hero { position: relative; isolation: isolate; text-align: center; background: var(--bg); }
.hero__stage { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,11,16,.55) 0%, rgba(11,11,16,.15) 30%, transparent 45%, transparent 70%, rgba(11,11,16,.35) 85%, var(--bg) 100%);
}
.hero__brand { position: absolute; inset: 0 0 auto; display: grid; justify-items: center; padding-top: clamp(5.5rem, 9.8vw, 9.5rem); }
.hero__logo { width: clamp(170px, 34vw, 520px); filter: drop-shadow(0 6px 30px rgba(0,0,0,.6)); }
.hero__bottom { padding: 0 var(--gutter) 3rem; display: grid; justify-items: center; }
.hero__tag { font-size: clamp(1.1rem, 2vw, 1.45rem); max-width: 34ch; margin: 0 0 1.5rem; color: var(--text); text-shadow: 0 2px 16px rgba(0,0,0,.7); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.hero > .spectrum { position: absolute; inset: auto 0 0; }
@media (max-width: 759px) {
  .hero__stage { aspect-ratio: auto; margin-top: 62px; }
  .hero__bg { position: static; height: auto; aspect-ratio: 4 / 3; }
  .hero__stage::after { bottom: auto; aspect-ratio: 4 / 3; width: 100%; background: linear-gradient(180deg, transparent 70%, var(--bg) 100%); }
  .hero__brand { position: static; padding-top: 1.5rem; }
  .hero__logo { width: min(320px, 72vw); }
  .hero__tag { margin-top: 1rem; }
}
@media (min-width: 760px) {
  .hero__bottom { position: absolute; inset: auto 0 0; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
}

/* Sections */
section:not(.hero) { padding-block: clamp(4.5rem, 11vw, 8.5rem); }

.about__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1.1fr .9fr; align-items: center; }
.about p { max-width: 60ch; color: #dcd9d2; }
.about__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); list-style: none; padding: 0; margin: 2.2rem 0 0; }
.stats strong { display: block; font: 900 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__photo { aspect-ratio: 3/2; } }

/* Videos: one main player + a scrollable reel */
.watch { background: var(--bg-2); }
.player { margin-bottom: 1.25rem; }
.video {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; color: var(--text);
}
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .5s ease; }
.video:hover img { opacity: 1; transform: scale(1.02); }
.video__play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(243,241,236,.92); transition: transform .2s, background-color .2s; }
.video__play::before { content: ""; position: absolute; left: 34px; top: 26px; border-left: 24px solid var(--bg); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.video:hover .video__play { transform: scale(1.08); background: var(--accent); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__title { margin: .8rem 0 0; font: 700 clamp(1.8rem, 4vw, 2.6rem)/1.05 var(--display); text-transform: uppercase; }
.video__title small { display: block; font: 500 .85rem var(--body); text-transform: none; color: var(--muted); margin-top: .3rem; }
.reel {
  list-style: none; margin: 0; padding: .25rem 0 1rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 24%, 280px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.reel li { scroll-snap-align: start; }
.reel__item { display: block; width: 100%; padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.reel__item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; opacity: .6; outline: 2px solid transparent; outline-offset: 3px; transition: opacity .2s, outline-color .2s; }
.reel__item:hover img { opacity: .9; }
.reel__item[aria-pressed="true"] img { opacity: 1; outline-color: var(--accent); }
.reel__title { display: block; margin-top: .6rem; font: 700 1.15rem/1.1 var(--display); text-transform: uppercase; }
.reel__title small { display: block; font: 500 .78rem var(--body); text-transform: none; color: var(--muted); margin-top: .2rem; }
.more { margin-top: .5rem; }
.more a { color: var(--muted); text-decoration: none; }
.more a:hover { color: var(--text); }
@media (max-width: 600px) { .reel { grid-auto-columns: 62%; } .video__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .video__play::before { left: 26px; top: 20px; border-left-width: 18px; border-top-width: 12px; border-bottom-width: 12px; } }

/* Weddings */
.weddings { position: relative; padding-top: 0 !important; }
.weddings__media { aspect-ratio: 16 / 9; width: 100%; overflow: hidden; }
.weddings__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 85%; transform: scale(1.18); transform-origin: 50% 88%; mask-image: linear-gradient(180deg, #000 55%, transparent 98%); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 98%); }
.weddings__body { margin-top: clamp(-9.5rem, -12vw, -4.5rem); position: relative; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card p { margin: 0; color: var(--muted); }
.weddings__where { color: var(--muted); max-width: 60ch; margin-bottom: 2rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Set list */
.setlist { background: var(--bg-2); }
.setlist__lede { color: var(--muted); margin-top: -.6rem; }
.search input {
  width: min(480px, 100%); min-height: 52px; padding: .8rem 1.2rem; margin-top: 1rem;
  background: var(--bg); color: var(--text); border: 1.5px solid var(--line); border-radius: 999px; font: inherit;
}
.search input:focus { border-color: var(--accent); outline: none; }
.setlist__count { font-size: .9rem; color: var(--muted); min-height: 1.5em; }
.songs { list-style: none; padding: 0; margin: 1rem 0 0; columns: 3 260px; column-gap: 2.5rem; }
.songs li { break-inside: avoid; padding: .55rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.songs .artist { color: var(--muted); font-size: .9rem; text-align: right; }
.songs .empty { border: 0; color: var(--muted); }
.setlist__more { margin-top: 1.5rem; }

/* Gallery */
.gallery { columns: 4 260px; column-gap: 10px; padding-inline: 10px; }
.gallery img { width: 100%; margin-bottom: 10px; border-radius: 8px; break-inside: avoid; transition: filter .3s; }
@media (hover: hover) { .gallery:hover img { filter: brightness(.7); } .gallery img:hover { filter: none; } }
/* Phones: one-row carousel (main.js auto-advances it every 2s) */
@media (max-width: 759px) {
  .gallery { columns: auto; display: flex; gap: 10px; padding-inline: 0; position: relative; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 8%; padding-inline: 8%; scrollbar-width: none; overscroll-behavior-x: contain; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery img { flex: 0 0 84%; aspect-ratio: 1; height: auto; margin: 0; object-fit: cover; object-position: center 35%; scroll-snap-align: start; border-radius: 12px; }
}

/* Booking */
.book__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.book p { color: #dcd9d2; max-width: 46ch; }
.book__direct a { color: var(--accent); }
.social { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.social a { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: var(--bg-2); transition: transform .2s, background-color .2s, color .2s, border-color .2s; }
.social a:hover { transform: translateY(-3px); background: var(--accent); border-color: var(--accent); color: var(--bg); }
.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(1.4rem, 4vw, 2.4rem); }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .9rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem 1rem; font: inherit; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field textarea { resize: vertical; }
.form .btn { width: 100%; margin-top: .4rem; }
.form__status { margin: 1rem 0 0; min-height: 1.4em; font-size: .95rem; }
@media (max-width: 860px) { .book__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-block: 2.5rem; color: var(--muted); font-size: .9rem; }
.footer__inner p { margin: 0; }
.footer__credits { margin-left: auto !important; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
