/* Don't Back Down — site styles
   Matches the look of the WordPress (Salient) site at dontbackdown.band:
   black background, Barlow Condensed headings, Dosis song titles,
   Roboto body text, Source Code Pro nav and buttons, flag red #ec1b24. */
:root {
  --black: #000;
  --ink: #060606;
  --ink-2: #0b0b0c;
  --text: #c9c9c9;
  --text-hi: #e2e2e2;
  --white: #fff;
  --muted: #969696;
  --line: rgba(255, 255, 255, .4);
  --line-soft: rgba(255, 255, 255, .15);
  --red: #ec1b24;
  --red-hi: #ff3a42;

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --sub: "Dosis", "Arial Narrow", sans-serif;
  --mono: "Source Code Pro", ui-monospace, Menlo, monospace;
  --body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --wrap: 68.75rem;                          /* 1100px, same as the live content width */
  --gutter: clamp(1.5rem, 5vw, 5.6rem);
  --nav-h: 5.875rem;                         /* 94px mobile header */

  --h1: clamp(2.875rem, 1rem + 8.2vw, 5.15625rem);   /* 46px → 82.5px */
  --song: clamp(1.375rem, 1rem + 1.6vw, 1.8rem);     /* 22px → 28.9px */
  color-scheme: dark;
}
@media (min-width: 1001px) { :root { --nav-h: 11.0625rem; } }  /* 177px desktop header */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.1875rem;                      /* 19px */
  line-height: 2rem;                         /* 32px */
  -webkit-font-smoothing: antialiased;
}
main { padding-top: var(--nav-h); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); text-underline-offset: .18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.prose { max-width: 40rem; }
.visually-hidden,
.hero h1, .hero__tag,
#shows > .wrap > .section-head,
#video .video-card figcaption,
#winding-roads .video-card figcaption {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--white); color: var(--black); padding: .5rem 1rem;
}
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--h1);
  line-height: 1.07;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
  text-wrap: balance;
}

/* Each section is captioned with a Petty song title */
.song {
  font-family: var(--sub);
  font-weight: 300;
  font-size: var(--song);
  line-height: 1.3;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  margin: .25rem 0 0;
}
.section-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* ---------- Buttons ---------- */
/* Every call-to-action button is red with white, semi-bold text
   (.btn--ghost is kept in the HTML but now looks the same as .btn). */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.25rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 1.05rem 1.9rem;
  border: 2px solid var(--red);
  background: var(--red);
  color: var(--white);
  border-radius: 200px;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--red-hi); border-color: var(--red-hi); color: var(--white); transform: translateY(-2px); }
.btn--small { font-size: .8125rem; line-height: .75rem; padding: .55rem .9rem; }
.btn--small:hover { transform: none; }
@media (min-width: 691px) { .btn:not(.btn--small) { font-size: 1rem; padding: 1.2rem 2.2rem; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, .4));
}
/* Once the page is scrolled, a solid black layer fades in behind the nav (main.js adds .is-scrolled) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #000;
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 1; }
/* The fade below picks up exactly where the bar ends (.4), so there is no seam */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 2.5rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .4), rgba(0, 0, 0, .2) 35%, rgba(0, 0, 0, .06) 70%, rgba(0, 0, 0, 0));
  pointer-events: none;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 1rem;
}
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-family: var(--mono); font-weight: 700; font-size: 1rem; line-height: 1;
  letter-spacing: 2px; text-transform: uppercase; color: var(--white);
  text-decoration: none; display: inline-block; padding: .5rem 0;
  background: linear-gradient(var(--red), var(--red)) left bottom / 0 2px no-repeat;
  transition: background-size .25s;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--white); background-size: 100% 2px; }
.nav-social { display: flex; gap: 1.2rem; }
.nav-social a { display: grid; place-items: center; color: var(--white); }
.nav-social a:hover { color: var(--red); }
.nav-social svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }

/* Mobile/tablet: hand-drawn wordmark + hamburger (same as the live site under 1000px) */
@media (max-width: 1000px) {
  .brand {
    display: block; width: min(18.125rem, 100% - 3rem); aspect-ratio: 290 / 70;
    background: url("/wp-content/uploads/2025/03/DBD-Hand-Drawn-Logo.svg") left center / contain no-repeat;
  }
  .brand { position: relative; }
  .brand img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
  .nav-toggle {
    display: block; flex: none; width: 1.5rem; height: 1.125rem; padding: 0; border: 0; cursor: pointer;
    font-size: 0; color: transparent;
    background:
      linear-gradient(var(--white), var(--white)) top / 100% 2px no-repeat,
      linear-gradient(var(--white), var(--white)) center / 100% 2px no-repeat,
      linear-gradient(var(--white), var(--white)) bottom / 100% 2px no-repeat;
    transition: background-size .2s;
  }
  .nav-toggle[aria-expanded="true"] {
    background:
      linear-gradient(45deg, transparent calc(50% - 1px), var(--white) calc(50% - 1px), var(--white) calc(50% + 1px), transparent calc(50% + 1px)) center / 100% 100% no-repeat,
      linear-gradient(-45deg, transparent calc(50% - 1px), var(--white) calc(50% - 1px), var(--white) calc(50% + 1px), transparent calc(50% + 1px)) center / 100% 100% no-repeat;
  }
  .site-nav {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: rgba(0, 0, 0, .96);
    padding: 2.5rem var(--gutter);
    display: none; flex-direction: column; align-items: center; overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
  .nav-list a { font-size: 1.375rem; }
  .nav-social { margin-top: 2.25rem; gap: 1.75rem; }
  .nav-social svg { width: 1.65rem; height: 1.65rem; }
}

/* Desktop: patch logo centered between the menu items, social icons at far left */
@media (min-width: 1001px) {
  .site-header .wrap {
    position: relative; width: 100%; padding-inline: 1.75rem;
    justify-content: center; gap: clamp(1.5rem, 2.6vw, 2.5rem);
  }
  .site-nav, .nav-list { display: contents; }
  .nav-list > li { order: 1; }
  .brand { order: 2; margin-inline: .5rem; }
  .nav-list > li:nth-child(n+4) { order: 3; }
  .nav-social { position: absolute; left: 1.75rem; top: 50%; transform: translateY(-50%); }
  .nav-toggle { display: none; }
  .brand img { height: 9rem; width: auto; }

  /* Shrink the header as the page scrolls, like the live site */
  @supports (animation-timeline: scroll()) {
    .site-header .wrap { animation: header-bar linear both; animation-timeline: scroll(root); animation-range: 0 12rem; }
    .brand img { animation: header-logo linear both; animation-timeline: scroll(root); animation-range: 0 12rem; }
    @keyframes header-bar { to { height: 6.25rem; } }
    @keyframes header-logo { to { height: 5rem; } }
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--nav-h));
  height: calc(var(--nav-h) + 56.25vw);
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}
@media (min-width: 1001px) { .hero { height: max(59.8vw, 36rem); } }
.hero__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
}
/* Phones/tablets: the photo starts below the header, so the header area stays black */
@media (max-width: 1000px) { .hero__img { top: var(--nav-h); height: calc(100% - var(--nav-h)); } }
/* Vimeo video over the photo. Phones/tablets: a 16:9 strip under the header.
   Desktop: scaled to cover the whole hero. The photo shows while it loads. */
.hero__video {
  position: absolute; left: 0; right: 0; top: var(--nav-h); z-index: -2;
  aspect-ratio: 16 / 9; overflow: hidden;
}
.hero__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Hidden over the photo until the video is playing (no white flash), then fades in */
.hero__video iframe { opacity: 0; transition: opacity .8s ease; }
.hero__video.is-playing iframe { opacity: 1; }
@media (min-width: 1001px) {
  .hero__video { inset: 0; aspect-ratio: auto; }
  .hero__video iframe {
    inset: 50% auto auto 50%; translate: -50% -50%;
    width: max(100%, max(59.8vw, 36rem) * 16 / 9);
    height: max(100%, 100vw * 9 / 16);
  }
}
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
/* Sound button: top-left of the video on phones/tablets, bottom-left on desktop */
.hero__sound {
  position: absolute; z-index: 2; left: var(--gutter); top: calc(var(--nav-h) + .75rem);
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .8125rem/1 var(--mono); letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white); background: var(--red); border: 0; border-radius: 100px;
  padding: .7rem 1.1rem .7rem .9rem; cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .45);
  transition: background .2s, transform .2s;
}
.hero__sound[hidden] { display: none; }
.hero__sound svg { width: 1.25rem; height: 1.25rem; flex: none; }
.hero__sound .hero__sound-on, .hero__sound[aria-pressed="true"] .hero__sound-off { display: none; }
.hero__sound[aria-pressed="true"] .hero__sound-on { display: block; }
.hero__sound[aria-pressed="true"] { background: rgba(0, 0, 0, .6); }
.hero__sound:hover { transform: scale(1.05); }
.hero__sound:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
/* A soft pulse draws the eye until the button has been used */
.hero__sound:not(.is-used)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(236, 27, 36, .7); animation: sound-pulse 2s ease-out infinite;
}
@keyframes sound-pulse { to { box-shadow: 0 0 0 14px rgba(236, 27, 36, 0); } }
@media (min-width: 1001px) {
  .hero__sound { top: auto; bottom: 1.5rem; font-size: .875rem; padding: .85rem 1.35rem .85rem 1.1rem; }
  .hero__sound svg { width: 1.4rem; height: 1.4rem; }
}
@media (max-width: 690px) {
  .hero__sound { font-size: .75rem; padding: .55rem .9rem .55rem .75rem; letter-spacing: 1px; }
  .hero__sound svg { width: 1.1rem; height: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .hero__sound { display: none; } .hero__sound:not(.is-used)::after { animation: none; } }
.hero::after { pointer-events: none; }
.hero .wrap { pointer-events: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(0,0,0,.9) 0%, rgba(0,0,0,.35) 35%, rgba(0,0,0,0) 65%, rgba(0,0,0,.55) 100%);
}
.hero .wrap { position: absolute; inset: auto 0 0 0; width: 100%; padding: 0 var(--gutter) 1.25rem; text-align: center; }
.hero__patch, .hero__actions { display: none; }
.hero__next {
  display: inline-block; margin: 0;
  font-family: var(--mono); font-size: .8125rem; line-height: 1.5; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); background: rgba(0, 0, 0, .6); padding: .45rem 1rem; border-radius: 100px;
}
.hero__next[hidden] { display: none; }
.hero__next span { color: var(--red); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.6rem); }
.section--alt { background: var(--black); }
.page-hero { padding-block: clamp(3rem, 7vw, 5rem) 0; text-align: center; }
.page-hero h1 { font-size: var(--h1); }
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; }
/* Short intro under the Video and Photos page titles */
.page-intro {
  max-width: 44rem; margin: 1.25rem auto 0; text-align: center;
  color: var(--text-hi); font-size: 1.0625rem; line-height: 1.65;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}
/* Video and Photos pages: a photo runs up under the nav behind the title.
   Like the live site: lighter at the top (~40% black) so the stage shows,
   fading to solid black at the bottom where the title sits. */
.page-hero--video, .page-hero--photos {
  --hero-photo: none;
  --hero-align: center;
  margin-top: calc(-1 * var(--nav-h));
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 9vw, 8rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(to bottom, rgba(0,0,0,.4) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.85) 75%, #000 100%),
    var(--hero-photo) var(--hero-align) / cover no-repeat,
    #000;
}
.page-hero--video  { --hero-photo: url("/wp-content/uploads/2026/08/Dont-Back-Down-Hub-City-Aug-2026-2-1.jpg"); --hero-align: center top; }
.page-hero--photos { --hero-photo: url("/wp-content/uploads/2025/10/BDB-HB-100325-4.jpg"); --hero-align: center bottom; }
.page-hero--video h1, .page-hero--photos h1 { font-size: clamp(3.25rem, 1rem + 6.5vw, 7rem); line-height: 1; }
.page-hero--photos + .section { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.video-jump-bar + .section { padding-top: clamp(1.5rem, 4vw, 2.5rem); }

/* ---------- Shows ---------- */
#shows { background: var(--ink); padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.show-year + .show-year { margin-top: clamp(3rem, 6vw, 4.5rem); }
.show-year__head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.show-year__head h3 { font-size: var(--h1); }
.show-year__head .song { margin: .25rem 0 0; }
.show-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }

/* One row per show: date | venue | city | tickets (same 4 columns as the live table) */
.show {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: .5rem 1.25rem; align-items: center;
  padding: 1.375rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--sub); font-weight: 300; font-size: 1.125rem; line-height: 1.625rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--white);
}
.show > div { display: contents; }
.show__date { text-align: left; padding-left: .75rem; }
.show__month, .show__day { font-weight: 300; }
.show__day { margin-left: .4em; }
.show__venue, .show__city { margin: 0; text-align: center; }
.show__cta, .show__played { grid-column: 4; justify-self: end; margin-right: .75rem; }
.show__played {
  display: none; font-family: var(--mono); font-size: .875rem; line-height: .75rem; letter-spacing: 2px;
  color: var(--muted); border: 2px solid rgba(255, 255, 255, .2); border-radius: 100px; padding: .5rem .75rem;
}
.show.is-past { color: rgba(255, 255, 255, .45); }
.show.is-past .show__cta { display: none; }
/* Ticket link (when a show has one): solid red outline, fills red on hover */
.btn.show__cta { background: transparent; border: 2px solid var(--red); color: var(--white); }
.btn.show__cta:hover { background: var(--red); border-color: var(--red); }
/* Same pill as the Tickets button, but dimmed and not clickable */
.show__cta--tba {
  display: inline-block; white-space: nowrap;
  font-family: var(--mono); font-size: .875rem; line-height: .75rem; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); border: 2px dashed rgba(255, 255, 255, .25); border-radius: 100px; padding: .5rem .75rem;
}
/* Past shows stay listed, dimmed, with no pill (the "Played" tag is kept in the HTML but hidden) */

/* Tablet: date + ticket on top, venue and city centered underneath */
@media (max-width: 1000px) {
  .show { grid-template-columns: 1fr auto; padding: 1.1rem 0 1.4rem; }
  .show__date { grid-column: 1; grid-row: 1; }
  .show__cta, .show__played { grid-column: 2; grid-row: 1; }
  .show__venue, .show__city { grid-column: 1 / -1; }
}
/* Phone: everything stacked and centered */
@media (max-width: 690px) {
  .show { grid-template-columns: 1fr; gap: .6rem; padding: 1.4rem 0 1.6rem; }
  .show__date { grid-row: auto; text-align: center; padding-left: 0; }
  .show__cta, .show__played { grid-column: 1; grid-row: auto; justify-self: center; margin: .9rem 0 0; }
}

.past-venues { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.past-venues summary {
  cursor: pointer; list-style: none; position: relative;
  padding: .9rem 3rem .9rem 0;
  font-family: var(--sub); font-weight: 300; font-size: var(--song); line-height: 1.3;
  letter-spacing: 1px; text-transform: uppercase; color: var(--white);
}
.past-venues summary::-webkit-details-marker { display: none; }
.past-venues summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1.6rem; height: 1.6rem; border: 1px solid var(--white); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--body); font-size: 1.2rem; line-height: 1;
}
.past-venues[open] summary::after { content: "–"; }
.past-venues summary:hover { color: var(--red); }
.past-venues p { color: var(--muted); margin: .5rem 0 1.5rem; }
.venue-list {
  columns: 2 18rem; column-gap: 2.5rem;
  list-style: none; margin: 0 0 2rem; padding: 0; font-size: 1rem; line-height: 1.6;
}
.venue-list li { break-inside: avoid; padding: .4rem 0; border-bottom: 1px solid var(--line-soft); color: var(--text-hi); }
.venue-list span { color: var(--muted); }

/* ---------- About ---------- */
#about .section-head { flex-direction: column-reverse; }
#about .section-head .song { margin: 0 0 .25rem; color: var(--text-hi); }
#about h2 { color: var(--text-hi); }
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 3.5rem); }
.about .prose { max-width: none; }
@media (min-width: 1001px) { .about .prose { columns: 2; column-gap: 3.75rem; } }
.prose > * { break-inside: avoid; }
.prose > p:first-child { margin-top: 0; }
.prose strong { font-weight: 600; }
.about__close {
  column-span: all; text-align: center;
  font-family: var(--mono); font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.3;
  color: var(--red); max-width: 56rem; margin: 2.5rem auto 0;
}

/* ---------- Photo carousel (About) ----------
   Photos sit in a row at one height; the current one is centered and the
   neighbours run off both edges of the screen. main.js makes it loop and
   adds drag/arrow control; without JS it is a plain sideways-scrolling strip. */
#about { overflow-x: clip; }
.carousel { position: relative; outline: none; }
.carousel__viewport { overflow-x: auto; scrollbar-width: none; margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: 1.5625rem; width: max-content; }
.carousel__cell { margin: 0; flex: none; height: clamp(14rem, 31vw, 25rem); background: #111; }
.carousel__cell img { height: 100%; width: auto; max-width: none; user-select: none; -webkit-user-drag: none; }
.carousel.is-ready .carousel__viewport { overflow: visible; padding: 0; margin: 0; }
.carousel.is-ready .carousel__track { cursor: grab; touch-action: pan-y; will-change: transform; }
.carousel.is-ready .carousel__track.is-dragging { cursor: grabbing; }
.carousel.is-ready .carousel__track.is-animating { transition: transform .5s cubic-bezier(.25, .8, .25, 1); }
.carousel__cell { transition: opacity .4s; }
.carousel.is-ready .carousel__cell:not(.is-current) { opacity: .45; }
.carousel__controls { display: none; }
.carousel.is-ready .carousel__controls {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.5rem;
}
.carousel__btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .5); background: transparent; position: relative;
  transition: background .2s, border-color .2s;
}
.carousel__btn::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: .6rem; height: .6rem;
  border: solid var(--white); border-width: 0 2px 2px 0; transform: translateX(-2px) rotate(-45deg);
}
.carousel__btn[data-carousel-prev]::before { transform: translateX(2px) rotate(135deg); }
.carousel__btn:hover { background: var(--red); border-color: var(--red); }
.carousel__count { font-family: var(--mono); font-size: .875rem; letter-spacing: 2px; color: var(--muted); min-width: 5.5em; text-align: center; }
.carousel:focus-visible .carousel__cell.is-current { outline: 2px solid var(--red); outline-offset: 4px; }
.about .more-link { margin-top: 2.5rem; }
@media (prefers-reduced-motion: reduce) { .carousel.is-ready .carousel__track.is-animating { transition: none; } }

/* ---------- Video ---------- */
#video {
  padding-top: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.15) 0, rgba(0,0,0,.35) 12rem, var(--ink-2) 22.5rem) no-repeat,
    /* show the middle 360px slice of the photo (2089×1174), like the live parallax band */
    url("/wp-content/uploads/2025/10/BDB-HB-100325.jpg") center min(0px, (22.5rem - max(100vw, 40rem) * .562) / 2) / max(100%, 40rem) auto no-repeat,
    var(--ink-2);
}
#video .section-head { min-height: 22.5rem; justify-content: center; margin-bottom: 1.5rem; }
.video-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}
@media (min-width: 691px) { #video .video-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; } }
.video-card { margin: 0; }
.video-card button {
  all: unset; cursor: pointer; display: block; width: 100%;
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: #151515; border-radius: 6px; box-shadow: 0 20px 40px rgba(0,0,0,.45);
}
.video-card button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-card button:hover img { transform: scale(1.04); }
.video-card .play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(3.25rem, 6vw, 4.375rem); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); display: grid; place-items: center;
  transition: transform .25s;
}
.video-card button:hover .play { transform: scale(1.12); }
.video-card .play::before {
  content: ""; margin-left: 4px;
  border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.video-card figcaption { margin-top: .8rem; font-size: 1rem; line-height: 1.45; color: var(--text-hi); }
.video-card figcaption small { display: block; color: var(--muted); font-size: .875rem; margin-top: .15rem; }
.more-link { margin-top: 3rem; text-align: center; }

/* Video page: category buttons stay pinned under the main nav while scrolling */
.video-jump-bar {
  position: sticky; z-index: 40; top: var(--nav-h);
  background: rgba(0, 0, 0, .88);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
  padding-block: .75rem;
}
@media (min-width: 1001px) {
  /* where the header shrinks on scroll, sit under the shrunk header */
  @supports (animation-timeline: scroll()) { .video-jump-bar { top: 6.25rem; } }
}
/* One row; on narrow screens it scrolls sideways instead of wrapping */
.video-jump {
  display: flex; gap: .6rem; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.video-jump::-webkit-scrollbar { display: none; }
.video-jump li { flex: none; }
.video-jump li:first-child { margin-left: auto; }
.video-jump li:last-child { margin-right: auto; }
/* Category buttons are navigation, not calls to action, so they stay outlined */
.video-jump .btn { white-space: nowrap; background: transparent; border-color: rgba(255, 255, 255, .5); font-weight: 400; }
.video-jump .btn:hover { background: var(--white); border-color: var(--white); color: var(--black); }
html:has(.video-jump-bar) { scroll-padding-top: calc(var(--nav-h) + 4.5rem); }
@media (min-width: 1001px) {
  @supports (animation-timeline: scroll()) { html:has(.video-jump-bar) { scroll-padding-top: 11rem; } }
}
.video-group + .video-group { margin-top: clamp(4rem, 8vw, 6rem); }
.video-group h2 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1.75rem; text-align: center; }

/* Player dialog */
.player {
  width: min(92vw, 70rem); padding: 0; border: 0; background: #000;
  border-radius: 4px; overflow: visible;
}
.player::backdrop { background: rgba(0, 0, 0, .92); }
.player__frame { aspect-ratio: 16 / 9; width: 100%; }
.player__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.dialog-close {
  position: absolute; top: -3rem; right: 0;
  background: none; border: 0; color: var(--white); cursor: pointer;
  font-family: var(--mono); font-size: 1rem; letter-spacing: 2px; text-transform: uppercase;
}
.dialog-close:hover { color: var(--red); }

/* ---------- Winding Roads ---------- */
#winding-roads {
  background:
    linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.8)),
    url("/wp-content/uploads/2023/09/Winding-Roads-bkgrnd.jpg") center / cover no-repeat;
}
.single { display: grid; gap: 0 clamp(2rem, 5vw, 3.75rem); grid-template-columns: 1fr; }
.single > div:first-child { display: contents; }
.single h2 {
  font-family: var(--body); font-weight: 600; font-size: clamp(1.375rem, 2.3vw, 1.8rem); line-height: 1.3;
  letter-spacing: 4px; text-align: center;
}
.single .song { text-align: center; margin-bottom: 2rem; }
.single p:not(.song) { margin: 0 0 1.25rem; }
.single p:not(.song):first-of-type { font-weight: 600; }
.single .video-card { margin: .5rem 0 1.5rem; }
.single .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
/* Phones and tablets: headline, then the video, then the text and button */
@media (max-width: 1000px) {
  .single h2, .single .song { order: -2; }
  .single .video-card { order: -1; margin: 0 0 1.75rem; }
}
@media (min-width: 1001px) {
  .single { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .single h2, .single .song, .single .actions { grid-column: 1 / -1; }
  .single p:not(.song) { grid-column: 1; }
  .single .video-card { grid-column: 2; grid-row: 3 / span 2; margin: 0; align-self: center; }
}

/* ---------- Merch ---------- */
#merch {
  padding-block: clamp(4rem, 9vw, 7.2rem);
  background:
    linear-gradient(90deg, rgba(10,0,0,.5) 0%, rgba(10,10,10,.25) 100%),
    url("/wp-content/uploads/2020/03/DBD-Merch-Bkgrnd.jpg") left center / cover no-repeat;
}
.merch { display: grid; grid-template-columns: 1fr; }
.merch > a { display: none; }   /* the shirt is already in the background photo */
.merch > div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.merch .song { order: -1; margin: 0 0 .25rem; }
.merch p:not(.song) { margin: .75rem 0 0; color: var(--text-hi); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.merch .btn { margin-top: .75rem; }
@media (max-width: 1000px) {
  /* text sits over the shirt here, so darken the photo a little more */
  #merch {
    background:
      linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
      url("/wp-content/uploads/2020/03/DBD-Merch-Bkgrnd.jpg") left center / cover no-repeat;
  }
}
@media (min-width: 1001px) {
  .merch { grid-template-columns: 1fr 1fr; }
  .merch > div { grid-column: 2; align-items: flex-start; text-align: left; }
}

/* ---------- Press: one quote at a time, swipe/scroll sideways ---------- */
#press {
  background:
    linear-gradient(rgba(10,10,10,.8), rgba(10,10,10,.8)),
    url("/wp-content/uploads/2017/02/ELC0hD4AwB0.jpg") center / cover no-repeat;
}
#press h2 {
  font-family: var(--body); font-weight: 900; font-size: 1.625rem; line-height: 1.3;
  color: var(--red); order: 0;
}
#press .section-head .song { color: var(--text-hi); }
.quotes {
  display: flex; gap: var(--gutter); overflow-x: auto;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-bottom: 1.5rem;
  scrollbar-width: thin; scrollbar-color: var(--red) rgba(255,255,255,.12);
}
.quote {
  flex: 0 0 88%; scroll-snap-align: start;   /* the next quote peeks in, so people know to swipe */
  margin: 0; padding: 0; max-width: none;
}
.quote:last-child { flex-basis: 100%; }
.quote::before {
  content: "\201D"; display: block; height: 3.25rem;
  font-family: var(--body); font-weight: 700; font-size: 6.875rem; line-height: 6.875rem; color: var(--red);
}
.quote p, .quote--big p {
  margin: 0; max-width: 56rem;
  font-family: var(--body); font-weight: 700; color: var(--text-hi);
  font-size: clamp(1.5rem, .9rem + 2.4vw, 3.25rem); line-height: 1.25;
}
.quote footer {
  display: flex; align-items: center; gap: 1.25rem; margin-top: 1.5rem;
  font-size: .875rem; line-height: 1.4; color: var(--red); font-weight: 500;
}
.quote__logo { flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; background: #fff; }
.quote footer strong { color: var(--text-hi); font-weight: 500; font-size: 1rem; }

/* ---------- Booking ---------- */
#booking { background: var(--ink); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
#booking .section-head { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.booking__intro {
  max-width: 46rem; margin: 0 auto clamp(1.75rem, 4vw, 2.5rem); text-align: center;
  color: var(--text-hi); font-size: 1.0625rem; line-height: 1.7;
}
/* Phones: one tight centered column */
.booking { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; }
.booking > div:first-child { display: contents; }
.booking > div:first-child p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.booking address { font-style: normal; color: #e5e5e5; font-size: 1.0625rem; line-height: 1.6; }
.booking address strong { display: block; font-weight: 600; }
.booking address a { text-decoration: none; }
.booking > div:first-child .booking__sheet { color: #e5e5e5; }
.booking__sheet a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--red); white-space: nowrap; }
.booking__sheet a:hover { color: var(--red); }
.booking__agency { width: 6.5rem; }
/* Wider screens: agency logo on the left, contact details beside it */
@media (min-width: 761px) {
  .booking {
    display: grid; grid-template-columns: auto auto; justify-content: center;
    align-items: center; gap: .35rem clamp(2rem, 4vw, 3rem); text-align: left;
  }
  .booking__agency {
    grid-column: 1; grid-row: 1 / span 3; width: 8rem;
    padding-right: clamp(2rem, 4vw, 3rem); box-sizing: content-box; border-right: 1px solid var(--line-soft);
  }
  .booking > div:first-child > * { grid-column: 2; }
}

/* ---------- Gallery ---------- */
/* First three photos: 1 and 2 side by side, 3 full width, then the grid */
.gallery-feature { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
.gallery-feature a { display: block; overflow: hidden; background: #151515; }
.gallery-feature a:nth-child(3) { grid-column: 1 / -1; }
.gallery-feature img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: opacity .2s; }
.gallery-feature a:nth-child(3) img { aspect-ratio: 16 / 9; }
.gallery-feature a:hover img { opacity: .8; }
.gallery { columns: 4 15rem; column-gap: .75rem; }
.gallery a {
  display: block; break-inside: avoid; margin-bottom: .75rem;
  overflow: hidden; background: #151515;
}
.gallery img { width: 100%; transition: opacity .2s; }
.gallery a:hover img { opacity: .8; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .96); color: var(--white);
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: transparent; }
.lightbox__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem var(--gutter);
  font-family: var(--mono); font-size: .9rem; letter-spacing: 2px; text-transform: uppercase;
}
.lightbox__bar button, .lightbox__nav button {
  background: none; border: 0; color: var(--white); cursor: pointer;
  font-family: var(--mono); font-size: .95rem; letter-spacing: 2px; text-transform: uppercase;
}
.lightbox__bar button:hover, .lightbox__nav button:hover { color: var(--red); }
.lightbox__stage { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); min-height: 0; padding: 0 var(--gutter); }
/* Fill the space between the bars, shrinking the photo to fit the screen */
.lightbox__stage img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__nav { display: flex; justify-content: space-between; padding: 1rem var(--gutter) 1.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(5.5rem, 11vw, 9rem);   /* content sits higher, more photo shows below */
  background:
    linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.55) 60%, rgba(0,0,0,.4)),
    url("/wp-content/uploads/2025/10/BDB-HB-100325-4.jpg") center bottom / cover no-repeat,
    var(--ink);
  font-size: .75rem; line-height: 1.375rem; color: var(--muted);
}
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.site-footer .wrap > a:first-child {
  display: block; position: relative; width: min(100%, 68.75rem); aspect-ratio: 1100 / 265;
  background: url("/wp-content/uploads/2025/03/DBD-Hand-Drawn-Logo.svg") center / contain no-repeat;
}
.site-footer .wrap > a:first-child img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
/* Round icon buttons, like the live footer */
/* White icons on a dark, blurred circle so they read clearly over the photo */
.footer-links a.footer-social {
  display: grid; place-items: center; width: 3.125rem; height: 3.125rem;
  color: var(--white);
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .5);
  transition: color .2s, background .2s, border-color .2s;
}
.footer-links a.footer-social:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-social svg { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.site-footer small { display: block; font-size: .75rem; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; text-align: center; }
.notfound h1 { font-size: clamp(4rem, 14vw, 9rem); }
.notfound .hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
