/* Five Way Friday — fivewayfriday.com
   Palette: red #ED1C24 (logo, hover, focus, one accent), black, off-white #F5F5F5, neutral grays.
   Type: Oswald (display), Barlow (body), Barlow Condensed (labels, nav, buttons).
   Mobile first. Two breakpoints: 700px and 1000px. */

:root {
  --red: #ED1C24;
  --black: #000;
  --ink: #0A0A0A;
  --off: #F5F5F5;
  --gray-1: #B4B4B4;
  --gray-2: #8A8A8A;
  --gray-3: #6A6A6A;
  --line: #1F1F1F;
  --line-soft: #1A1A1A;
  --line-light: #DADADA;
  --display: Oswald, "Arial Narrow", sans-serif;
  --body: Barlow, system-ui, -apple-system, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --pad: 20px;
  --gutter: 88px;
}

@media (min-width: 700px)  { :root { --pad: 32px; } }
@media (min-width: 1000px) { :root { --pad: 48px; --gutter: 112px; } }

*, *::before, *::after { box-sizing: border-box; }

/* the [hidden] attribute must win over display rules like .bform { display:flex } */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--off);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red); text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--off); color: var(--ink);
  font-family: var(--cond); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad);
  border-bottom: 1px solid transparent;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  transition: background 200ms ease, border-color 200ms ease;
}
.site-header.is-stuck {
  background: var(--black);
  border-bottom-color: var(--line);
}
.site-header__mark img { width: 36px; height: 37px; }
.site-header__mark:hover { text-decoration: none; }

.site-nav {
  display: flex; flex-wrap: wrap; gap: 14px 20px;
  font-family: var(--cond); font-size: 15px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.site-nav a { color: var(--off); }
.site-nav a:hover { color: var(--red); text-decoration: none; }

@media (min-width: 700px) {
  .site-header { padding: 18px var(--pad); }
  .site-header__mark img { width: 40px; height: 41px; }
  .site-nav { gap: 30px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--black);   /* mobile / portrait: solid black, no photo */
  padding-top: 26px;
}
@media (min-width: 700px) {
  .hero {
    min-height: 88svh;
    margin-top: -77px;        /* pull the photo under the sticky header */
    padding-top: 77px;
    background: none;
  }
}

/* The hero photo is a wide group shot that crops badly on a portrait phone,
   so it is hidden below 700px and shown full-bleed from 700px up. */
.hero__media { display: none; }
@media (min-width: 700px) {
  .hero__media {
    display: block;
    position: absolute; inset: 0;
    background-image:
      linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.62) 40%, rgba(0,0,0,0.18) 100%),
      url("assets/images/band-live-01.jpg");
    background-size: cover, cover;
    background-position: center 30%, center 28%;
  }
}

.hero__inner {
  position: relative;
  width: 100%; max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad) 44px;
  display: flex; flex-direction: column; gap: 18px;
}
@media (min-width: 700px) { .hero__inner { gap: 22px; padding-bottom: 60px; } }

.eyebrow {
  font-family: var(--cond); font-size: 13px;
  letter-spacing: 0.28em; text-transform: uppercase; color: #A9A9A9;
}
@media (min-width: 700px) { .eyebrow { font-size: 14px; } }

.hero__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(52px, 12.5vw, 108px);
  line-height: 0.92; letter-spacing: -0.015em;
  text-transform: uppercase; color: var(--off);
}

.hero__lede {
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.45; color: #D6D6D6; max-width: 30ch;
}

/* hero: lead stack + next-show ticket card */
.hero__lead { display: flex; flex-direction: column; gap: 18px; }

.hero__show {
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid #2C2C2C;
  border-top: 3px solid var(--red);
  backdrop-filter: blur(3px);
  padding: 20px 24px 24px;
  display: flex; flex-direction: column; gap: 5px;
}
.hero__show__label {
  font-family: var(--cond); font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red);
  margin-bottom: 4px;
}
.hero__show__date {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 38px); line-height: 1; text-transform: uppercase;
}
.hero__show__date span { color: var(--gray-2); font-weight: 500; }
.hero__show__venue {
  font-family: var(--display); font-weight: 500; font-size: 20px; margin-top: 4px;
}
.hero__show__meta { font-size: 14px; color: #ADADAD; line-height: 1.5; }
.btn--tickets {
  display: block; width: 100%; margin-top: 14px;
  background: var(--red); color: #FFF; text-align: center;
}
.btn--tickets:hover { background: #FF2D36; color: #FFF; }

@media (min-width: 1000px) {
  .hero__inner { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; }
  .hero__lead { flex: 1 1 auto; }
  .hero__show { flex: 0 0 320px; width: 320px; }
}

/* Logo shows only below 700px, where it replaces the text headline */
.hero__logo { display: none; }

/* Mobile / portrait hero: logo-led, centered poster, no eyebrow, card pushed down a touch */
@media (max-width: 699px) {
  .hero__logo { display: block; width: min(320px, 80vw); height: auto; }
  .hero__title { display: none; }
  .eyebrow { display: none; }
  .hero__inner { align-items: center; text-align: center; }
  .hero__lead { align-items: center; gap: 22px; }
  .hero__lede { display: none; }
  .btn-row { justify-content: center; }
  .hero__show { text-align: center; margin-top: 22px; }
}

/* ---------- buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }

.btn {
  display: inline-block;
  font-family: var(--cond); font-size: 16px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 15px 30px; text-align: center;
  min-height: 48px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:hover { text-decoration: none; }
.btn--solid { background: var(--off); color: var(--ink); }
.btn--solid:hover { background: var(--red); color: #FFF; }
.btn--ghost { color: var(--off); border: 1px solid #4A4A4A; }
.btn--ghost:hover { color: var(--red); border-color: var(--red); }
.btn--sm { font-size: 15px; padding: 13px 24px; }

/* ---------- section shell ---------- */

.section {
  padding: var(--gutter) 0;
  border-bottom: 1px solid var(--line-soft);
}
.section--light { background: var(--off); color: var(--ink); }
.section--light p { color: #1A1A1A; }

.section__head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 8px 24px;
  padding-bottom: 30px;
}
.section__title {
  font-size: clamp(32px, 5.6vw, 46px);
  line-height: 1; letter-spacing: -0.01em; text-transform: uppercase;
}
.section__title--sm { font-size: clamp(26px, 4vw, 32px); }
.section__meta,
.label {
  font-family: var(--cond); font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase; color: #7A7A7A;
}
.label--stack { letter-spacing: 0.16em; line-height: 1.7; }
.micro {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px; line-height: 1.6; color: #7A7A7A; letter-spacing: 0;
}
.lede-sm { font-size: 17px; color: var(--gray-1); padding-top: 10px; }

/* ---------- listen ---------- */

.player iframe { display: block; border: 0; border-radius: 2px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 22px; }
.pill {
  font-family: var(--cond); font-size: 15px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--off); border: 1px solid #333;
  padding: 13px 22px; min-height: 46px;
  transition: color 160ms ease, border-color 160ms ease;
}
.pill:hover { color: var(--red); border-color: var(--red); text-decoration: none; }
.pill--todo { color: var(--gray-2); border-style: dashed; }

/* ---------- about (dark, editorial) ---------- */

.section--about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(85% 55% at 92% 0%, rgba(237, 28, 36, 0.07), transparent 60%),
    var(--black);
}
.section--about .wrap { position: relative; z-index: 1; }

/* oversized faded origin-year watermark */
.about__ghost {
  position: absolute;
  top: -0.16em; right: -0.01em;
  margin: 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(150px, 27vw, 360px);
  line-height: 0.8; letter-spacing: -0.03em;
  color: rgba(245, 245, 245, 0.045);
  pointer-events: none; user-select: none;
  z-index: 0;
}

.about { display: grid; gap: 48px; }
@media (min-width: 1000px) {
  .about { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
}

.about__body { display: flex; flex-direction: column; gap: 18px; }
.about__body p { font-size: clamp(17px, 2vw, 19px); line-height: 1.6; color: var(--gray-1); }

.releases { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.releases__list {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: grid; gap: 8px 32px; font-size: 16px;
}
@media (min-width: 700px) { .releases__list { grid-template-columns: 1fr 1fr; } }
.releases__list li {
  display: flex; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--line); padding-bottom: 6px;
  color: var(--off);
}
.releases__year { font-family: var(--display); font-weight: 600; color: var(--gray-2); }

.lineup__list { list-style: none; margin: 14px 0 12px; padding: 0; }
.lineup__list li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 0; border-top: 1px solid var(--line);
}
.lineup__list li:last-child { border-bottom: 1px solid var(--line); }
.lineup__name { font-family: var(--display); font-weight: 500; font-size: 17px; color: var(--off); }
.lineup__role { font-size: 14px; color: var(--gray-2); }

/* ---------- watch ---------- */

.videos { display: grid; gap: 18px; }
@media (min-width: 700px) { .videos { grid-template-columns: 1fr 1fr; gap: 20px; } }
.video { position: relative; aspect-ratio: 16 / 9; background: #0C0C0C; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- placeholder slots ---------- */

.slot {
  border: 1px dashed #3A3A3A;
  background-image: repeating-linear-gradient(135deg, #131313 0 8px, #0C0C0C 8px 16px);
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  padding: 28px; text-align: center;
}
.slot > span {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px; line-height: 1.7; color: #9A9A9A;
}
.slot--video { aspect-ratio: 16 / 9; padding: 20px; }
.slot--form { min-height: 340px; padding: 32px; text-align: left; }
.slot--signup { margin-top: 18px; text-align: left; }

.slot__ghost { display: flex; flex-direction: column; gap: 10px; opacity: 0.35; }
.slot__ghost i { display: block; height: 44px; border: 1px solid #3A3A3A; }
.slot__ghost i.tall { height: 88px; }
.slot__ghost--row { flex-direction: row; }
.slot__ghost--row i { flex: 1; height: 46px; }
.slot__ghost--row b { width: 110px; height: 46px; background: #3A3A3A; }

/* ---------- booking ---------- */

.booking { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .booking { grid-template-columns: 340px minmax(0, 1fr); gap: 64px; align-items: start; }
}
.booking__copy { display: flex; flex-direction: column; gap: 16px; }
.booking__copy p { font-size: 18px; color: var(--gray-1); }

/* booking form (headless: JotForm + Supabase) */
.bform { display: flex; flex-direction: column; gap: 18px; }
.bform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bform__row { display: flex; gap: 16px; }
.bform__row .bform__field { flex: 1; }
.bform__field { display: flex; flex-direction: column; gap: 7px; }
.bform__field label {
  font-family: var(--cond); font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-1);
}
.bform__field label span { color: var(--red); }
.bform input, .bform select, .bform textarea {
  font-family: var(--body); font-size: 16px; color: var(--off);
  background: #0F0F0F; border: 1px solid #333; border-radius: 2px; padding: 12px 14px;
}
.bform input::placeholder, .bform textarea::placeholder { color: #5A5A5A; }
.bform input:focus, .bform select:focus, .bform textarea:focus { outline: none; border-color: var(--red); }
.bform textarea { min-height: 120px; resize: vertical; }
.bform select { appearance: none; cursor: pointer; }
.bform input.invalid, .bform select.invalid, .bform textarea.invalid { border-color: #FF5A5A; }
.bform__error { display: none; color: #FF7A7A; font-size: 15px; }
.bform__error.show { display: block; }
.bform__submit { border: none; cursor: pointer; align-self: flex-start; }
.bform__submit:disabled { opacity: 0.6; cursor: default; }
.bform__success { border: 1px solid var(--red); padding: 28px; }
.bform__success .label { color: var(--red); margin-bottom: 8px; }

/* ---------- follow + mailing ---------- */

.two-col { display: grid; gap: 48px; }
@media (min-width: 1000px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }

.follow { max-width: 560px; }
.links { list-style: none; margin: 18px 0 0; padding: 0; }
.links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--line);
  color: var(--off);
  font-family: var(--cond); font-size: 17px;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 160ms ease;
}
.links li:last-child a { border-bottom: 1px solid var(--line); }
.links a:hover { color: var(--red); text-decoration: none; }
.links__handle { color: var(--gray-3); }

/* ---------- shows ---------- */

.shows { list-style: none; margin: 0; padding: 0; }
.show {
  display: grid; gap: 14px;
  padding: 24px 0;
  border-top: 1px solid #2A2A2A;
}
.show:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 700px) {
  .show {
    grid-template-columns: 132px minmax(0, 1fr) auto;
    gap: 28px; align-items: center; padding: 26px 0;
  }
}
.show__date { display: flex; align-items: baseline; gap: 10px; }
@media (min-width: 700px) { .show__date { flex-direction: column; gap: 0; } }
.show__day {
  font-family: var(--display); font-size: 15px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
}
.show__year { font-family: var(--display); font-size: clamp(26px, 5vw, 34px); font-weight: 600; line-height: 1.05; }
.show__where { display: flex; flex-direction: column; gap: 4px; }
.show__venue { font-family: var(--display); font-size: clamp(20px, 3.4vw, 24px); font-weight: 500; }
.show__detail { font-size: 16px; color: #9A9A9A; }
.show--todo { border-top-color: var(--line); }
@media (min-width: 700px) { .show--todo { grid-template-columns: 132px minmax(0, 1fr); } }

/* ---------- footer ---------- */

.site-footer { padding: 56px 0 40px; }
.site-footer__top {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 28px;
}
.site-footer__logo { width: 92px; height: 95px; }
.site-footer__nav {
  display: flex; flex-wrap: wrap; gap: 14px 26px;
  font-family: var(--cond); font-size: 15px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.site-footer__nav a { color: #9A9A9A; }
.site-footer__nav a:hover { color: var(--red); text-decoration: none; }

.site-footer__bar {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px 24px;
  margin-top: 32px; padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--cond); font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-3);
}
.site-footer__est { color: var(--gray-2); }

/* ---------- scroll reveal (opt-in, motion-safe) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js-reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms ease, transform 520ms ease; }
  .js-reveal.is-in { opacity: 1; transform: none; }
}

@media print {
  .site-header, .slot, .player { display: none; }
  body { background: #FFF; color: #000; }
}
