/* ============================================================
   Legacy Jam 2026 — palette pulled from the brand logo set:
   deep navy, warm cream, antique gold, deep maroon accent.
   Vintage-classy hip-hop: gold script, letterpress texture,
   hairline gold rules echoing the "— JAM —" wordmark.
   ============================================================ */

:root {
  --navy: #0c111c;         /* page background */
  --navy-2: #141c2b;       /* card background */
  --navy-3: #24304a;       /* borders / hover */
  --cream: #f4e9cf;        /* main text */
  --cream-dim: #cfc3a4;    /* secondary text */
  --gold: #e4c73d;         /* brand gold, sampled directly from the official logo */
  --gold-bright: #edd97c;  /* hover gold, lightened from the official logo gold */
  --gold-deep: #b69b19;    /* gradient low end, darkened from the official logo gold */
  --maroon: #64251e;       /* accent */
  --maroon-2: #7c332a;
  --gold-grad: linear-gradient(100deg, #f2e39f 0%, #e4c73d 45%, #d5b61e 100%);
  --hairline: linear-gradient(90deg, transparent, rgba(228,199,61,0.55), transparent);
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Yellowtail", cursive;
  --shadow-card: 0 1px 0 rgba(244,233,207,0.04) inset, 0 10px 30px rgba(0,0,0,0.35);
  --shadow-lift: 0 1px 0 rgba(244,233,207,0.06) inset, 0 18px 40px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(228,199,61,0.07), transparent 65%),
    radial-gradient(900px 500px at 0% 10%, rgba(124,51,42,0.12), transparent 60%),
    var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* faint grain over everything — keeps the flat navy from feeling sterile */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--gold-bright); }
a:hover { color: var(--cream); }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 { line-height: 1.15; font-weight: 900; }
h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h3 { font-size: 1.2rem; margin: 0 0 0.5rem; letter-spacing: 0.02em; }

/* small gold kicker above each section heading */
.eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.35em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 2.2rem; height: 2px;
  background: var(--gold); flex: none;
}

section[id] { scroll-margin-top: 4.5rem; }
#top { scroll-margin-top: 0; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--navy);
  padding: 0.6rem 1rem; font-weight: 700; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 17, 28, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(228,199,61,0.25);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.5rem;
  padding-top: 0.55rem; padding-bottom: 0.55rem;
}
.brand { text-decoration: none; display: flex; align-items: center; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-script {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.8rem;
  text-shadow: 0 2px 12px rgba(228,199,61,0.35);
}
.brand-sub {
  color: var(--cream);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.35em;
}
.nav-list {
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  color: var(--cream); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--gold-bright); border-bottom-color: var(--gold); }
.header-cta { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }

/* slightly thinner header on phones: still fully legible, just tighter than desktop */
@media (max-width: 30rem) {
  .header-inner { gap: 0.4rem 0.8rem; padding-top: 0.35rem; padding-bottom: 0.35rem; }
  .brand-logo { height: 30px; }
  .nav-list { gap: 0.2rem 0.7rem; }
  .nav-list a { font-size: 0.84rem; padding: 0.12rem 0; }
  .header-cta { gap: 0.4rem; width: 100%; }
  .header-cta .btn-small {
    flex: 1 1 0; font-size: 0.7rem; padding: 0.36rem 0.5rem;
    white-space: nowrap;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem;
  border-radius: 0.45rem; padding: 0.75rem 1.5rem; text-align: center;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-gold {
  background: var(--gold-grad); color: #14100a;
  border: 1px solid rgba(244,233,207,0.35);
  box-shadow: 0 6px 20px rgba(228,199,61,0.25);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(228,199,61,0.4);
  color: #14100a;
}
.btn-outline {
  border: 2px solid var(--gold); color: var(--gold-bright); background: transparent;
}
.btn-outline:hover {
  background: rgba(228,199,61,0.12); color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}
.btn-big { font-size: 1.05rem; padding: 1rem 2rem; }
.btn-small { font-size: 0.82rem; padding: 0.5rem 1.05rem; }

/* ---------- hero ---------- */
/* visually hidden but read by screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hero {
  text-align: center;
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(228,199,61,0.16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 105%, rgba(124,51,42,0.25), transparent 70%);
  border-bottom: 1px solid rgba(228,199,61,0.3);
}
.hero::after {
  /* thin double keyline at the bottom, like a ticket edge */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 5px;
  height: 1px; background: var(--hairline);
}
.hero-inner > * { animation: rise 0.7s ease both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.24s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.32s; }
.hero-inner > *:nth-child(6) { animation-delay: 0.4s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero-script {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: clamp(5rem, 15vw, 9.5rem);
  line-height: 1.1;
  margin: 0 0 1.4rem;
  text-shadow:
    0 3px 0 rgba(0,0,0,0.4),
    0 8px 40px rgba(228,199,61,0.45);
}
.hero-logo-h1 { margin: 0 0 1.25rem; }
.hero-logo {
  max-width: min(36rem, 90vw); height: auto; display: block; margin: 0 auto;
}
.hero-title {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 0.5rem 0 0;
  font-size: 1.05rem; letter-spacing: 0.55em; text-indent: 0.55em;
  color: var(--cream); font-weight: 700;
}
/* gold rules flanking "LEGACY JAM 2026", echoing the — JAM — wordmark */
.hero-title::before, .hero-title::after {
  content: ""; height: 2px; width: clamp(2rem, 8vw, 5rem);
  background: var(--gold); flex: none;
}
.hero-title .year { color: var(--gold); }
.tagline {
  color: var(--gold-bright);
  font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 1.5rem 0 0.75rem;
}
.tagline span { color: var(--maroon-2); margin: 0 0.15em; }
.hero-meta { max-width: 34rem; margin: 0 auto 1rem; color: var(--cream-dim); }
.hero-meta strong { color: var(--cream); font-size: 1.2rem; letter-spacing: 0.04em; }
.family-note {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin: 0 0 1.75rem; color: var(--cream-dim); font-size: 0.95rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin: 0 0 1.75rem; }
.cta-row-equal { margin-bottom: 0.5rem; }
.cta-row-equal .btn { flex: 1 1 13rem; max-width: 18rem; font-size: 0.92rem; padding: 0.9rem 1.1rem; }
.hero-follow-note { color: var(--cream-dim); font-size: 0.88rem; margin: 0 0 1.75rem; }

/* ---------- quick facts strip ---------- */
.strip {
  background: linear-gradient(120deg, var(--maroon) 0%, var(--maroon-2) 55%, var(--maroon) 100%);
  border-top: 1px solid rgba(228,199,61,0.35);
  border-bottom: 1px solid rgba(228,199,61,0.35);
}
.strip-line {
  margin: 0; padding: 0.5rem 0 0; text-align: center;
  font-size: 0.86rem; line-height: 1.6; color: #ecd9b8;
}
.strip-line.strip-prize { padding: 0.1rem 0 0.5rem; }
.strip-line strong {
  color: #fff; text-transform: uppercase; letter-spacing: 0.06em;
  margin-right: 0.25rem;
}

/* ---------- sections ---------- */
.section { padding: 3.25rem 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(20,28,43,0.7), rgba(20,28,43,0.35));
  border-top: 1px solid rgba(228,199,61,0.18);
  border-bottom: 1px solid rgba(228,199,61,0.18);
}
.section-lede { color: var(--cream-dim); max-width: 42rem; margin-top: 0; font-size: 1.1rem; }
.note { color: var(--cream-dim); font-size: 0.92rem; }
#travel { padding-top: 1.75rem; }

/* ---------- ticket list (compact, single CTA) ---------- */
.ticket-list {
  margin: 1.25rem 0 0;
  border: 1px solid rgba(228,199,61,0.18);
  border-radius: 0.6rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-2), rgba(20,28,43,0.6));
  box-shadow: var(--shadow-card);
}
.ticket-item {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(228,199,61,0.14);
}
.ticket-item:last-child { border-bottom: none; }
.ticket-item.is-featured { background: rgba(228,199,61,0.09); }
.t-label { display: flex; align-items: center; flex-wrap: wrap; gap: 0.45rem; font-weight: 700; }
.t-price { font-weight: 900; font-size: 1.2rem; color: var(--gold-bright); white-space: nowrap; padding-top: 0.15rem; }
.t-price .price-note {
  display: inline-block; font-weight: 600; font-size: 0.68rem;
  color: var(--cream-dim); text-transform: uppercase; letter-spacing: 0.04em;
  margin-left: 0.3rem;
}
@media (max-width: 26rem) {
  .t-price { white-space: normal; text-align: right; }
  .t-price .price-note { display: block; margin-left: 0; margin-top: 0.15rem; }
}
.ticket-day {
  display: inline-block; min-width: 2.5rem;
  color: var(--gold-bright); text-transform: uppercase;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
}
.ticket-note { color: var(--cream-dim); font-size: 0.88rem; margin: 0.7rem 0 0; }
.badge {
  display: inline-block;
  background: var(--gold-grad); color: #14100a;
  font-size: 0.63rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 1rem; padding: 0.1rem 0.55rem;
}
.badge-maroon {
  background: var(--maroon-2); color: var(--cream);
  border: 1px solid rgba(244,233,207,0.3);
}

/* ---------- battle cards ---------- */
.cards { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.65rem; }
.battle-grid { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--navy-2), rgba(20,28,43,0.6));
  border: 1px solid rgba(228,199,61,0.16);
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(228,199,61,0.45);
  box-shadow: var(--shadow-lift);
}
.card h3 { color: var(--gold); font-size: 1.05rem; margin-bottom: 0.2rem; }

.battle-meta {
  color: var(--cream-dim); font-size: 0.82rem; line-height: 1.3;
  margin: 0 0 0.4rem;
}
.battle-meta strong { color: var(--gold); font-weight: 700; }

.battle-prize-wrap {
  background: rgba(228,199,61,0.12);
  border-radius: 0.4rem;
  padding: 0.5rem 0.65rem;
  margin: 0 0 0.35rem;
}
.battle-prize-wrap--icon { display: flex; align-items: flex-start; gap: 0.6rem; }
.battle-prize-wrap--icon .outbreak-inline { flex: 0 0 auto; height: 1.9rem; width: auto; margin-top: 0.1rem; }
.battle-prize {
  color: var(--gold-bright); font-weight: 900;
  font-size: 1.1rem; line-height: 1.25; margin: 0;
}
.battle-prize-sub {
  display: block; color: var(--cream-dim);
  font-weight: 600; font-size: 0.78rem; margin-top: 0.15rem;
}
.battle-register {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.35rem;
  color: var(--gold-bright); font-weight: 700; font-size: 0.85rem;
  text-decoration: none;
}
.battle-register:hover, .battle-register:focus-visible { text-decoration: underline; }
.sched-alert {
  display: inline-block;
  margin: 0.9rem 0 1.2rem;
  background: rgba(228,199,61,0.12);
  border: 1px solid rgba(228,199,61,0.4);
  border-radius: 0.45rem;
  padding: 0.55rem 0.85rem;
  color: var(--gold-bright); font-weight: 700; font-size: 0.95rem;
}

.inner-list { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.inner-list li { margin: 0.25rem 0; }

.kids-zone {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.9rem;
  background: rgba(100,37,30,0.14);
  border: 1px solid rgba(100,37,30,0.4);
  border-radius: 0.6rem;
}
.kids-zone h4 {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.95rem; margin: 0 0 0.35rem;
}
.kids-zone p { margin: 0.25rem 0 0; color: var(--cream-dim); font-size: 0.92rem; }
.kids-zone .hint { display: block; margin-top: 0.3rem; }

/* ---------- guest artists (compact people grid) ---------- */
.people {
  list-style: none; margin: 0.4rem 0 0; padding: 0;
  display: grid; gap: 0.4rem 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
}
.person { display: flex; align-items: center; gap: 0.7rem; padding: 0.3rem 0; }
.person > div { min-width: 0; }
.person-link {
  display: flex; align-items: center; gap: 0.7rem; min-width: 0;
  color: inherit; text-decoration: none;
}
.person-link:hover { color: inherit; }
.person-link:hover strong { color: var(--gold-bright); text-decoration: underline; }
.person-link:hover .avatar { border-color: var(--gold); }
.matchup strong a { color: inherit; text-decoration: none; }
.matchup strong a:hover { color: var(--gold-bright); text-decoration: underline; }
.person strong { display: block; font-size: 0.98rem; line-height: 1.25; }
.person div > span {
  display: block; font-size: 0.82rem; color: var(--cream-dim); line-height: 1.35;
}
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; flex: none;
  border: 2px solid rgba(228,199,61,0.5);
  background: var(--navy-2);
}
.avatar-duo { display: flex; flex: none; }
.avatar-duo .avatar + .avatar { margin-left: -14px; }
.vs {
  color: var(--gold); font-weight: 800; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0.15rem;
}
.mod-tag {
  color: var(--gold); font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; margin-left: 0.35rem;
  vertical-align: middle;
}

/* ---------- schedule (timeline style) ---------- */
.sched-grid {
  display: grid; gap: 1.1rem; margin-top: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.sched-day {
  background: linear-gradient(180deg, var(--navy-2), rgba(20,28,43,0.6));
  border: 1px solid rgba(228,199,61,0.16);
  border-top: 3px solid var(--gold);
  border-radius: 0.7rem; padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-card);
}
.sched-day h3 { color: var(--cream); font-size: 1.25rem; }
.day-label {
  display: block; margin-top: 0.25rem;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.venue { color: var(--cream-dim); font-size: 0.92rem; margin: 0.4rem 0 0.7rem; }
.sched-list { list-style: none; margin: 0; padding: 0; }
.sched-list li {
  position: relative;
  padding: 0.32rem 0 0.32rem 1.1rem;
  font-size: 0.97rem;
}
/* gold timeline: vertical rule + dot per item */
.sched-list li::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: rgba(228,199,61,0.3);
}
.sched-list li:first-child::before { top: 50%; }
.sched-list li:last-child::before { bottom: 50%; }
.sched-list li::after {
  content: "";
  position: absolute; left: -3px; top: calc(50% - 3.5px);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(228,199,61,0.6);
}
.time {
  display: inline-block; min-width: 4.7rem;
  color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums;
  font-size: 0.88rem; letter-spacing: 0.02em;
}

/* ---------- travel ---------- */
.travel-cols {
  display: grid; gap: 1.5rem; margin-top: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}
.travel-cols > div {
  background: linear-gradient(180deg, var(--navy-2), rgba(20,28,43,0.6));
  border: 1px solid rgba(228,199,61,0.16);
  border-radius: 0.7rem; padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-card);
}
.travel-cols h3 { color: var(--gold); font-size: 1.3rem; margin-top: 0; }
.travel-email { margin: 1.1rem 0; }
.travel-email .btn { text-transform: none; letter-spacing: 0.02em; }
.hotel-list { padding-left: 1.2rem; margin: 0.9rem 0 0; }
.hotel-list li { margin: 0.55rem 0; }
.hotel-list strong { color: var(--gold-bright); }
.hotel-details summary {
  cursor: pointer; color: var(--gold-bright); font-weight: 700;
  list-style: none;
}
.hotel-details summary::-webkit-details-marker { display: none; }
.hotel-details summary::before {
  content: "▸ "; color: var(--gold);
}
.hotel-details[open] summary::before { content: "▾ "; }
.hotel-details summary:hover { text-decoration: underline; }

/* ---------- partners ---------- */
.partner-group {
  color: var(--cream-dim); text-transform: uppercase;
  font-size: 0.82rem; letter-spacing: 0.22em; margin: 1.4rem 0 0.6rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.partner-group:first-of-type { margin-top: 0; }
.partner-note { color: var(--cream-dim); max-width: 42rem; margin: -0.3rem 0 0.6rem; }
.logo-row + .partner-note { margin-top: 0.75rem; }
.partner-group::after {
  content: ""; height: 1px; flex: 1; max-width: 12rem;
  background: var(--hairline);
}
.logo-row {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center;
}
/* white plates so dark-ink and white-background partner logos sit cleanly on the navy page */
.logo-row li {
  background: #fff;
  border: 1px solid rgba(228,199,61,0.35);
  border-radius: 0.6rem; padding: 0.55rem 0.9rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 4.2rem; min-width: 8rem;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.logo-row li:hover {
  border-color: var(--gold); transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}
.logo-row img { display: block; max-width: 150px; max-height: 3.2rem; width: auto; height: auto; }

/* tighter logo wall on phones — smaller tiles, less scrolling */
@media (max-width: 40rem) {
  .logo-row { gap: 0.5rem; }
  .logo-row li {
    flex: 1 1 28%; min-width: 0; min-height: 3.2rem;
    padding: 0.4rem 0.5rem;
  }
  .logo-row img { max-width: 100%; max-height: 2.2rem; margin: 0 auto; }
}

/* Outbreak Europe logo beside each prize mention */
.outbreak-inline {
  height: 2.3em; width: auto;
  vertical-align: middle; margin: 0 0.1em;
  display: inline-block;
}

/* short note under a group heading (e.g. exhibition battles) */
.group-note {
  color: var(--cream-dim); font-size: 0.9rem;
  margin: 0.1rem 0 0.5rem;
}

/* ---------- about ---------- */
.about-narrow { max-width: 46rem; }
.purpose {
  font-size: 1.1rem; line-height: 1.5; color: var(--cream);
  border-left: 3px solid var(--gold);
  padding-left: 1.1rem;
}
.about-narrow h3 {
  color: var(--gold); margin-top: 1.4rem;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 1rem;
}
.bio { color: var(--cream-dim); }
.crew-details { margin-top: 1.1rem; }
.crew-details summary {
  cursor: pointer; color: var(--gold-bright); font-weight: 700;
  list-style: none;
}
.crew-details summary::-webkit-details-marker { display: none; }
.crew-details summary::before { content: "▸ "; color: var(--gold); }
.crew-details[open] summary::before { content: "▾ "; }
.crew-details summary:hover { text-decoration: underline; }
.crew-details p { color: var(--cream-dim); margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid rgba(228,199,61,0.35);
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(228,199,61,0.1), transparent 70%),
    var(--navy-2);
  padding: 3rem 0;
  text-align: center;
}
.footer-logo { height: 64px; width: auto; display: block; margin: 0 auto 0.75rem; }
.footer-links {
  list-style: none; display: flex; justify-content: center; flex-wrap: wrap;
  gap: 1.5rem; margin: 0.9rem 0; padding: 0;
}
.footer-links a { font-weight: 700; letter-spacing: 0.04em; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .hero-inner > * { opacity: 1; transform: none; }
}

/* ---------- hidden content (e.g. Guest Artists pre-announcement, unconfirmed logos) ---------- */
[hidden] { display: none !important; }

/* ---------- back to top ---------- */
.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 3rem; height: 3rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-grad); box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  opacity: 0; transform: translateY(0.6rem); pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover, .back-to-top:focus-visible { filter: brightness(1.08); }
.back-to-top svg { width: 1.4rem; height: 1.4rem; fill: var(--navy); }

/* ---------- Instagram follow popup ---------- */
.ig-popup {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 95;
  max-width: 19rem;
  background: linear-gradient(180deg, var(--navy-2), rgba(20,28,43,0.97));
  border: 1px solid rgba(228,199,61,0.4);
  border-radius: 0.6rem;
  padding: 0.85rem 2rem 0.85rem 1rem;
  box-shadow: var(--shadow-lift);
  font-size: 0.88rem;
  opacity: 0; transform: translateY(0.75rem);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ig-popup.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ig-popup p { margin: 0; color: var(--cream); }
.ig-popup a { font-weight: 700; }
.ig-popup-close {
  position: absolute; top: 0.3rem; right: 0.5rem;
  background: none; border: none; color: var(--cream-dim);
  font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0.25rem;
}
.ig-popup-close:hover, .ig-popup-close:focus-visible { color: var(--gold-bright); }
@media (max-width: 30rem) {
  .ig-popup { left: 0.75rem; right: 0.75rem; max-width: none; bottom: 0.75rem; }
}

/* ---------- hero Instagram CTA ---------- */
.btn-ig {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold-bright);
  animation: ig-shine 1.6s ease-in-out infinite;
}
.btn-ig:hover {
  transform: translateY(-2px);
  background: rgba(228,199,61,0.12);
  color: var(--cream);
}
@keyframes ig-shine {
  0%, 100% { box-shadow: 0 0 0 rgba(228,199,61,0); }
  50% { box-shadow: 0 0 24px 6px rgba(228,199,61,0.75); }
}

/* ---------- hero Instagram CTA ---------- */
.footer-ig { color: var(--gold-bright) !important; font-weight: 900 !important; }

.ig-icon {
  height: 1em; width: 1em; vertical-align: -0.15em; margin: 0 0.15em;
  fill: currentColor; display: inline-block; flex-shrink: 0;
}

/* ---------- application forms (volunteer / generations partner) ---------- */
.app-main { padding: 2.5rem 0 4rem; }
.app-intro { margin-bottom: 0; }
.app-form { max-width: 40rem; margin-top: 2rem; }
.field { margin: 0 0 1.4rem; }
.field > label, fieldset.field > legend {
  display: block; font-weight: 700; color: var(--gold-bright);
  margin-bottom: 0.45rem; font-size: 0.97rem;
}
.hint { font-weight: 400; color: var(--cream-dim); font-size: 0.85rem; }
.required-mark { color: var(--gold-bright); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="time"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%; padding: 0.65rem 0.8rem;
  background: var(--navy-2); border: 1px solid rgba(228,199,61,0.3);
  border-radius: 0.45rem; color: var(--cream); font-family: inherit; font-size: 1rem;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--gold-bright); outline-offset: 1px; border-color: var(--gold-bright);
}
.field textarea { resize: vertical; min-height: 5rem; }
.field input[type="file"] { padding: 0.5rem; }
fieldset.field {
  border: 1px solid rgba(228,199,61,0.22); border-radius: 0.6rem;
  padding: 1.1rem 1.3rem 1.3rem; margin: 0 0 1.4rem;
}
fieldset.field legend { padding: 0 0.4rem; }
fieldset.field .field:last-child { margin-bottom: 0; }
.check-list, .radio-list {
  list-style: none; margin: 0.4rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.check-list label, .radio-list label {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-weight: 400; color: var(--cream); font-size: 0.97rem; cursor: pointer;
}
.check-list input, .radio-list input {
  margin-top: 0.2rem; flex: none; width: 1.15rem; height: 1.15rem; accent-color: var(--gold);
}
.waiver-box {
  max-height: 14rem; overflow-y: auto;
  background: var(--navy-2); border: 1px solid rgba(228,199,61,0.28);
  border-radius: 0.6rem; padding: 1rem 1.2rem;
  color: var(--cream-dim); font-size: 0.9rem; line-height: 1.6;
  margin-bottom: 1.1rem;
}
.waiver-box p { margin: 0 0 0.8rem; }
.waiver-box p:last-child { margin-bottom: 0; }
.form-status { margin-top: 1.2rem; font-weight: 700; font-size: 1.02rem; }
.form-status.is-success { color: var(--gold-bright); }
.form-status.is-error { color: #e69a86; }
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.two-col { display: grid; gap: 0 1.2rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }

/* ---------- final call-to-action band ---------- */
.cta-final { text-align: center; }
.cta-final .section-lede { margin-left: auto; margin-right: auto; }
.cta-final .cta-row { justify-content: center; margin-top: 1.5rem; }
