/* Crash N Burn — replicates the Bandzoogle "Motiv" theme the site used:
   black photo banner, italic distressed nav, white page, Droid Serif text,
   distressed condensed headings, black date blocks. */
:root {
  --black: #000;
  --white: #fff;
  --text: #000;
  --muted: #555;
  --rule: #dcdcdc;
  --field: #b9b9b9;
  --display: 'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --body: 'Droid Serif', 'Noto Serif', Georgia, serif;
  --wrap: 960px;
  --gutter: 32px;
  /* rough print texture used to distress the display type, standing in for Kiln Sans */
  --grunge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1 1 1 1 1 0 1 1 0'/%3E%3C/feComponentTransfer%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 15px/1.5 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--white); padding: 8px 12px; }

/* ---------- Display type (headings + nav) ---------- */
.display {
  font: 500 48px/1.2 var(--display);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0 0 24px;
  text-wrap: balance;
  -webkit-mask-image: var(--grunge);
          mask-image: var(--grunge);
  -webkit-mask-size: 240px; mask-size: 240px;
}
.center { text-align: center; }
.h3 { font: 700 24px/1.15 var(--body); margin: 0 0 16px; }

/* ---------- Banner header ---------- */
.banner { position: relative; background: var(--black); height: 307px; overflow: hidden; }
.banner-photos { position: absolute; inset: 0; display: flex; justify-content: center; }
.banner-photos img {
  position: absolute; height: 100%; width: auto; max-width: none;
  left: 50%; transform: translateX(-50%);
  opacity: 0; transition: opacity 1.2s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.banner-photos img.is-on { opacity: 1; }
.banner-inner { position: relative; z-index: 2; padding: 48px var(--gutter) 0; display: grid; justify-items: center; gap: 18px; }
.banner-social { display: flex; gap: 30px; }
.banner-social .si { color: var(--white); width: 32px; height: 32px; display: grid; place-items: center; }
.banner-social .si svg { width: 30px; height: 30px; fill: currentColor; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.banner-social .si:hover { color: #ddd; }

#site-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; max-width: 1000px; }
#site-nav a {
  display: block; margin: 0 21px; padding: 4px 2px;
  font: 500 23px/1.6 var(--display); font-style: italic; text-transform: uppercase;
  color: var(--white); text-decoration: none; border-bottom: 3px solid transparent;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  -webkit-mask-image: var(--grunge); mask-image: var(--grunge); -webkit-mask-size: 240px; mask-size: 240px;
}
#site-nav a:hover { border-bottom-color: rgba(255,255,255,.6); }
#site-nav a[aria-current="page"] { border-bottom-color: var(--white); }

.nav-toggle { display: none; }
@media (max-width: 800px) {
  .banner { height: 240px; overflow: visible; }
  .banner-photos { overflow: hidden; }
  .banner-inner { padding-top: 24px; }
  .nav-toggle {
    display: grid; gap: 5px; position: absolute; top: 18px; right: max(16px, env(safe-area-inset-right, 0px));
    background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 3px; background: var(--white); }
  #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); z-index: 20; padding: 8px 0 16px; }
  #site-nav.is-open { display: block; }
  #site-nav ul { flex-direction: column; align-items: center; }
  #site-nav a { font-size: 24px; }
}

/* ---------- Page rows ---------- */
.row { padding-block: 64px 32px; }
.row.tight { padding-block: 48px 0; }
/* first section under the banner: keep the page title close to the header */
main > .row:first-child, main > .sr-only + .row { padding-top: 24px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { :root { --gutter: 16px; } .display { font-size: 36px; } .row { padding-block: 40px 24px; } }
p { margin: 0 0 1em; }

/* ---------- About ---------- */
.about { max-width: 31em; }
.about .kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
.about p { margin-bottom: 1.6em; }

/* ---------- Gigs (Bandzoogle calendar layout) ---------- */
.gigs-status { color: var(--muted); }
.gig-list { list-style: none; margin: 0; padding: 0; }
.gig { display: grid; grid-template-columns: 78px 1fr; gap: 24px; padding-block: 12px 32px; border-bottom: 1px solid var(--rule); }
.gig + .gig { padding-top: 32px; }
.gig-date { background: var(--black); color: var(--white); text-align: center; margin: 4px 0 0; align-self: start; }
.gig-date .m { display: block; font-size: 10px; line-height: 1; text-transform: uppercase; padding: 5px 0 4px; border-bottom: 1px solid var(--white); }
.gig-date .d { display: block; font: 700 36px/1.4 var(--body); padding-bottom: 2px; }
.gig-body { min-width: 0; }
.gig-title { font: 700 24px/1.15 var(--body); margin: 0 0 6px; }
.gig-when { font-size: 12px; margin: 0 0 12px; display: flex; align-items: center; gap: 6px; }
.gig-when svg { width: 12px; height: 12px; }
.gig-venue { font-size: 13px; margin: 0 0 24px; }
.gig-links { font-size: 13px; display: grid; gap: 14px; justify-items: start; margin: 0; }
.gig-share { color: var(--text); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.gig-share svg { width: 13px; height: 13px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; position: relative; font-size: 13px; }
.pager button { font: inherit; color: var(--text); background: none; border: 0; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; text-decoration: underline; }
.pager button[aria-current="true"] { background: var(--black); color: var(--white); text-decoration: none; }
.pager .next { position: absolute; right: 0; width: auto; height: auto; }
.pager .next[hidden] { display: none; }
.gig-year { font: 500 32px/1.4 var(--display); text-transform: uppercase; margin: 40px 0 0; }
@media (max-width: 600px) {
  .gig { grid-template-columns: 64px 1fr; gap: 16px; }
  .gig-date .d { font-size: 28px; }
  .gig-title { font-size: 20px; }
}

/* ---------- Home: one-line next-gig bar (red from the band logo) ---------- */
.gig-bar { background: #b9261c; color: #fff; }
.gig-bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; padding-block: 12px; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.gig-bar-line { margin: 0; font: 400 18px/1.3 var(--body); text-align: center; }
.gig-bar-line b { font-weight: 700; margin-inline: 6px 14px; }
.gig-bar-line a { color: #fff; }
.gig-bar-label { font: 500 22px/1 var(--display); font-style: italic; text-transform: uppercase; -webkit-mask-image: var(--grunge); mask-image: var(--grunge); -webkit-mask-size: 240px; mask-size: 240px; }
.gig-bar-links { display: flex; gap: 10px; margin: 0; }
.gig-bar-btn { color: #fff; font-size: 13px; border: 1px solid #fff; padding: 4px 12px; text-decoration: none; white-space: nowrap; }
.gig-bar-btn:hover { background: #fff; color: #b9261c; }
.row.tight-top { padding-top: 32px; }
.gig-bar .gigs-status { color: #fff; margin: 0; }
@media (max-width: 600px) { .gig-bar-line { font-size: 15px; } .gig-bar-label { font-size: 18px; } }

/* ---------- Gigs page: compact schedule ---------- */
.sched-intro { margin: -8px 0 8px; color: var(--muted); font-size: 14px; }
.sched-month { font: 500 26px/1.2 var(--display); text-transform: uppercase; margin: 32px 0 6px; -webkit-mask-image: var(--grunge); mask-image: var(--grunge); -webkit-mask-size: 240px; mask-size: 240px; }
.sched { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--black); max-width: 760px; }
.sched-row { display: grid; grid-template-columns: 3.2em 2.2em 5.5em minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--rule); font-size: 16px; }
.sched-day { color: var(--muted); font-size: 14px; }
.sched-date { font-weight: 700; font-size: 18px; text-align: right; font-variant-numeric: tabular-nums; }
.sched-time { font-size: 14px; font-variant-numeric: tabular-nums; }
.sched-venue { font-weight: 700; min-width: 0; }
.sched-venue a { text-decoration: none; }
.sched-venue a:hover { text-decoration: underline; }
.sched-map { font-size: 13px; }
.sched-links { display: flex; gap: 16px; align-items: baseline; justify-self: end; white-space: nowrap; }
.cal { position: relative; font-size: 13px; }
.cal summary { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; list-style: none; }
.cal summary::-webkit-details-marker { display: none; }
.cal-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; display: grid; min-width: 160px; background: var(--white); color: var(--text); border: 1px solid var(--black); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.cal-menu a { color: var(--text); padding: 9px 12px; text-decoration: none; border-bottom: 1px solid var(--rule); }
.cal-menu a:last-child { border-bottom: 0; }
.cal-menu a:hover { background: #f2f2f0; }
.sched-row.is-next { background: #b9261c; color: #fff; padding-inline: 8px; border-bottom-color: #b9261c; }
.sched-row.is-next a, .sched-row.is-next .sched-day, .sched-row.is-next summary { color: #fff; }
.sched-row.is-next .cal-menu a { color: var(--text); }
.sched-next { font: 500 13px/1 var(--display); font-style: italic; text-transform: uppercase; margin-left: 8px; letter-spacing: .03em; }
@media (max-width: 520px) {
  .sched-row { grid-template-columns: 2.6em 1.8em minmax(0, 1fr) auto; gap: 2px 10px; font-size: 15px; }
  .sched-time { grid-column: 3; grid-row: 2; }
  .sched-venue { grid-column: 3; grid-row: 1; }
  .sched-links { grid-column: 4; grid-row: 1 / span 2; align-self: center; flex-direction: column; align-items: end; gap: 6px; }
  .sched-next { display: none; }
}

/* ---------- Videos ---------- */
.video { position: relative; aspect-ratio: 16/9; max-width: 100%; background: var(--black); }
.video.is-short { aspect-ratio: 9/16; max-width: 360px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-list { display: grid; gap: 32px; }

/* ---------- Setlist ---------- */
.row-black { background: var(--black); color: var(--white); }
.curve { padding-block: 24px 80px; clip-path: ellipse(120% 100% at 50% 0); }
.setlist-photo { max-width: min(420px, 100%); margin: 0 auto; border-radius: 12px; }
.caption { text-align: center; font-style: italic; color: var(--muted); }
.setlist { border-collapse: collapse; width: 100%; font-size: 13px; }
.setlist td { padding: 3px 1px; vertical-align: top; }
.setlist td:first-child { width: 4em; text-align: left; padding-left: 4px; }
.setlist td:nth-child(2) { width: 52%; }

/* ---------- Photos ---------- */
.intro { margin: 0; }
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 12px; }
.gallery li { break-inside: avoid; margin-bottom: 12px; }
.gallery img { width: 100%; }
.gallery a:hover img { opacity: .88; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.lightbox-close { margin: 10px auto 0; display: block; font: inherit; background: var(--white); border: 1px solid var(--black); padding: 6px 14px; cursor: pointer; }

/* ---------- Contact ---------- */
.contact-cols { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 32px; }
.contact { display: grid; justify-items: start; gap: 6px; }
.contact label { font-weight: 700; font-size: 12px; margin-top: 10px; }
.contact input, .contact textarea { font: inherit; font-size: 14px; border: 1px solid var(--field); padding: 6px 8px; border-radius: 0; background: var(--white); color: var(--text); }
.contact input { width: min(100%, 230px); }
.contact textarea { width: min(100%, 360px); }
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--black); outline-offset: 0; }
.contact button { margin-top: 12px; font: inherit; font-size: 12px; background: var(--white); color: var(--text); border: 1px solid var(--muted); padding: 5px 16px; cursor: pointer; letter-spacing: .03em; }
.contact button:hover { background: var(--black); color: var(--white); }
.contact .hp { position: absolute; left: -9999px; }
.form-status { margin: 8px 0 0; min-height: 1.5em; font-size: 13px; }
.form-status.is-error { color: #b00020; }
.form-status.is-ok { font-weight: 700; }
.contact-social { display: grid; grid-template-columns: repeat(2, 48px); gap: 12px 20px; justify-content: center; align-content: start; }
.contact-social .si { width: 48px; height: 48px; display: grid; place-items: center; }
.contact-social svg { width: 46px; height: 46px; }
.si-facebook svg { fill: #3b5998; }
.si-instagram svg { fill: #c13584; }
.si-lemonrock svg { fill: #000; }
.si-youtube svg { fill: #ff0000; }
.si-tiktok svg { fill: #25c2d1; }
.contact-social .si-tiktok { grid-column: 1 / -1; justify-self: center; }
@media (max-width: 600px) { .contact-cols { grid-template-columns: 1fr; } .contact-social { justify-content: start; grid-template-columns: repeat(5, 40px); } .contact-social .si-tiktok { grid-column: auto; } .contact-social svg { width: 36px; height: 36px; } }

/* ---------- Footer ---------- */
.foot { text-align: center; font-size: 12px; padding: 96px 16px 32px; color: var(--muted); }
.foot p { margin: 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
