@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --bg: #000000;
  --panel: #111111;
  --card: #1d1d1d;
  --menu: #141414;
  --tint: rgba(147, 16, 16, 0.16);
  --red: #931010;
  --red-bright: #e33939;
  --focus: #ff3b3b;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.77);
  --hairline: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.01);
  --glow: 0 0 24px rgba(148, 15, 17, 0.13);

  --font-display: 'Archivo', 'Arial Black', sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;

  --nav-height: 68px;
  --gutter: clamp(16px, 5.5vw, 80px);
  --section-gap: clamp(80px, 11vw, 150px);
  --max-width: 1280px;
}

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

html { background: var(--bg); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

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

.headline {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-gap); }
.section-tight { padding-top: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

/* Signature corners */

.brackets {
  padding: 10px;
  --len: 16px;
  --w: 1px;
  --c: linear-gradient(#fff, #fff);
  background:
    var(--c) 0 0 / var(--len) var(--w) no-repeat,
    var(--c) 0 0 / var(--w) var(--len) no-repeat,
    var(--c) 100% 0 / var(--len) var(--w) no-repeat,
    var(--c) 100% 0 / var(--w) var(--len) no-repeat,
    var(--c) 0 100% / var(--len) var(--w) no-repeat,
    var(--c) 0 100% / var(--w) var(--len) no-repeat,
    var(--c) 100% 100% / var(--len) var(--w) no-repeat,
    var(--c) 100% 100% / var(--w) var(--len) no-repeat;
}

.dots, .dots-red, .ticket::after {
  --dot: linear-gradient(#fff, #fff);
  background-image: var(--dot), var(--dot), var(--dot), var(--dot);
  background-position: 0 0, 100% 0, 0 100%, 100% 100%;
  background-size: 4px 4px;
  background-repeat: no-repeat;
}

.dots-red { --dot: linear-gradient(var(--red-bright), var(--red-bright)); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 30px;
  border: 1px solid var(--red);
  border-radius: 0;
  background: var(--red);
  color: var(--text);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover { background: var(--text); border-color: var(--text); color: var(--red); }

.btn-sm { min-height: 44px; padding: 10px 14px; font-size: 12px; }
.btn-block { width: 100%; }

.btn-light { background: var(--text); border-color: var(--text); color: var(--red); }
.btn-light:hover { background: var(--red); border-color: var(--red); color: var(--text); }

/* Nav */

#site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
}

.nav-logo { position: relative; z-index: 2; text-decoration: none; }

.nav-mark {
  font: 800 expanded 22px/1 var(--font-display);
  letter-spacing: 0.02em;
}

img.nav-mark { height: 42px; width: auto; }

.nav-links { display: flex; gap: clamp(24px, 3vw, 44px); }

.nav-links a,
.footer-col a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.2s;
}

.nav-links a { font-weight: 500; font-size: 18px; }

.nav-links a:hover,
.nav-links a[aria-current='page'],
.footer-col a:hover { text-decoration-color: currentColor; }

.nav-links a[aria-current='page'] { text-decoration-color: var(--red-bright); text-decoration-thickness: 2px; }

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 9px;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s;
}

.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }

.menu-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: var(--nav-height) var(--gutter) 32px;
  background: var(--menu);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.3s ease-out, visibility 0.3s;
}

.mobile-menu nav { display: grid; gap: 22px; justify-items: center; }

.mobile-menu nav a {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu nav a[aria-current='page'] { color: var(--red-bright); }

.menu-open .mobile-menu { transform: none; visibility: visible; }

/* Media and photo grade */

.media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.media img, .media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(0.75);
}

.media:has(img, video)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  mix-blend-mode: multiply;
}

.placeholder-art { background: var(--bg) url('../assets/smoke.svg') center / cover no-repeat; }

/* Home hero */

.hero {
  position: relative;
  display: grid;
  place-items: start center;
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
  padding: clamp(24px, 4vh, 40px) 0 48px;
  text-align: center;
}

.hero::after, .page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.1) 35%, rgba(0, 0, 0, 0.5) 65%, rgba(0, 0, 0, 0.88) 86%, #000 100%);
  pointer-events: none;
}

.page-hero::after { bottom: -2px; }

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.hero-wordmark {
  margin: 0 0 12px;
  font: 800 expanded min(12vw, 18vh, 150px)/0.9 var(--font-display);
  letter-spacing: 0.01em;
}

.hero-wordmark span { display: block; }

/* 0.632em makes ENTERTAINMENT as wide as BEARPACK. */
.hero-wordmark-sub { font-size: 0.632em; }

.hero-wordmark img { max-height: 20vh; width: auto; }

.hero-hook {
  max-width: 34em;
  margin-bottom: 30px;
  font-size: clamp(18px, 1.6vw, 21px);
  color: rgba(255, 255, 255, 0.86);
}

/* Home video: full color with a light tint and smoke, darkened only behind the text. */

.hero .media video, .page-hero .media img { filter: none; }

.hero .media:has(video)::after, .page-hero .media:has(img)::after {
  background: var(--tint);
  mix-blend-mode: normal;
}

.hero .media:has(video)::before, .intro-overlay::before, .page-hero .media:has(img)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url('../assets/smoke.svg') center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.3;
}

.hero::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.58) 46%, transparent 66%, transparent 74%, rgba(0, 0, 0, 0.6) 90%, #000 100%);
}

/* Red band */

.band {
  overflow: hidden;
  padding: 16px 0;
  background: var(--red);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(16px, 1.7vw, 22px);
  white-space: nowrap;
  text-transform: uppercase;
}

.band-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: band-scroll 45s linear infinite;
}

.band span, .band i { flex: none; margin-right: 22px; font-style: normal; }

@keyframes band-scroll {
  to { transform: translateX(-50%); }
}

/* Inner page hero */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 62vh, 620px);
  padding: 0 0 clamp(24px, 4vw, 48px);
}

.page-hero-copy { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(44px, 9vw, 110px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Event cards */

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 340px));
  justify-content: start;
  gap: clamp(20px, 2.6vw, 36px);
}

.event-card { display: flex; flex-direction: column; gap: 10px; }

.event-visual {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--panel);
  text-decoration: none;
}

.event-flyer { width: 100%; height: 100%; object-fit: cover; }

.flyer-fallback {
  container-type: inline-size;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 76px 20px 120px;
  background: var(--bg);
  text-align: center;
  text-transform: uppercase;
}

.flyer-name, .flyer-meta { position: relative; z-index: 1; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; }

/* Sized from the longest word so names fill the art without breaking mid-word. */
.flyer-name {
  margin-bottom: 8px;
  font-size: min(18cqi, calc(96cqi / (var(--len) * 0.8)));
  line-height: 1.02;
}

.flyer-meta { font-size: 5.4cqi; line-height: 1.25; }

.event-visual::before {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.85));
}

.date-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  justify-items: center;
  min-width: 66px;
  padding: 8px 10px;
  background-color: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  text-transform: uppercase;
}

.date-badge span { font-size: 12px; line-height: 1.2; }
.date-badge strong { font: 800 expanded 22px/1.2 var(--font-display); }

.event-info {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  padding: 16px;
  background-color: var(--glass);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.event-info h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.event-info p { font-size: 13px; line-height: 1.45; color: var(--text-muted); }

.event-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.event-actions > :only-child { grid-column: 1 / -1; }

.empty { grid-column: 1 / -1; color: var(--text-muted); }

/* About */

.statement .headline { font-size: clamp(28px, 4vw, 56px); }

.about-copy {
  max-width: 40em;
  margin-top: clamp(32px, 4vw, 56px);
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-muted);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
}

.staff-photo { position: relative; aspect-ratio: 1; }
.staff-photo .media img { filter: none; object-position: 50% 20%; }
.staff-photo .media:has(img)::after { background: var(--tint); mix-blend-mode: normal; }

.photo-note {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font: 500 13px/1.2 var(--font-body);
  color: var(--text-muted);
}

.staff-card h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(18px, 1.7vw, 26px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.staff-role {
  margin: 2px 0 8px;
  font: 500 14px/1.4 var(--font-body);
  text-transform: uppercase;
}

.staff-line { color: var(--text-muted); }

/* Event detail */

.detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
  padding: clamp(32px, 5vw, 72px) var(--gutter) var(--section-gap);
}

.detail-side { position: sticky; top: calc(var(--nav-height) + 32px); }

.back-link {
  display: inline-block;
  margin-bottom: 26px;
  font: 500 14px/1.4 var(--font-body);
  text-transform: uppercase;
  text-underline-offset: 5px;
}

.detail-side h1 {
  color: var(--red-bright);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.detail-facts { margin: 30px 0; border-top: 1px solid var(--hairline); }

.detail-facts > div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}

.detail-facts dt {
  font: 500 14px/1.7 var(--font-body);
  text-transform: uppercase;
}

.detail-facts dd { color: var(--text-muted); }
.detail-facts a { text-underline-offset: 4px; }

.detail-flyer {
  display: block;
  width: 100%;
  max-width: 620px;
  border: 0;
  background-color: transparent;
  cursor: zoom-in;
}

.detail-flyer img { width: 100%; }
div.detail-flyer { cursor: default; }
.detail-flyer .flyer-fallback { aspect-ratio: 4 / 5; padding: 24px; }

.detail-description {
  max-width: 38em;
  margin-top: 36px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-muted);
}

.schedule { margin-top: clamp(56px, 7vw, 96px); }

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.schedule-slot { position: relative; padding: 24px; background: var(--card); }

.schedule-step {
  position: absolute;
  top: 24px;
  right: 24px;
  font: 500 14px/1.4 var(--font-body);
  color: var(--text-muted);
}

.schedule-time { margin-bottom: 26px; font: 800 expanded 26px/1 var(--font-display); }

.schedule-slot h3 {
  margin-bottom: 4px;
  font: 500 16px/1.4 var(--font-body);
  text-transform: uppercase;
}

.schedule-slot p:last-child { font-size: 15px; color: var(--text-muted); }

.event-pager {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.event-pager-link { display: grid; gap: 4px; align-content: start; text-decoration: none; }
.event-pager-next { grid-column: 2; text-align: right; }

.event-pager-link span {
  font: 500 14px/1.4 var(--font-body);
  color: var(--text-muted);
  text-transform: uppercase;
}

.event-pager-link strong {
  font: 800 expanded clamp(16px, 1.7vw, 22px)/1.15 var(--font-display);
  text-transform: uppercase;
}

.event-pager-link:hover strong { text-decoration: underline; }

.event-missing { grid-column: 1 / -1; display: grid; justify-items: start; gap: 16px; }

.event-missing h1 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 64px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Contest */

/* Darker through the middle so the red status line stays readable over any hero image. */
.contest-hero::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.8) 58%, #000 100%);
}

.contest-hook {
  max-width: 34em;
  margin-top: 14px;
  font-size: clamp(18px, 1.6vw, 21px);
  color: rgba(255, 255, 255, 0.86);
}

.contest-status {
  margin: 8px 0 22px;
  color: var(--red-bright);
  font-weight: 500;
  font-size: 18px;
}

.rules-panel {
  max-width: 720px;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--hairline);
  box-shadow: var(--glow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.step-number {
  display: block;
  margin-bottom: 10px;
  color: var(--red-bright);
  font: 800 expanded clamp(56px, 7vw, 96px)/1 var(--font-display);
}

.steps p { font-size: clamp(17px, 1.5vw, 20px); }

.rules-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}

.rules-row > span:first-child {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.rules-row > span:first-child::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--red);
}

.rules-row > span:last-child { flex: none; color: var(--text-muted); text-align: right; }

.ticket { position: relative; max-width: 520px; background: var(--card); }

/* Sits on top of the card so the bottom dots show over the red stub. */
.ticket::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ticket-body { padding: clamp(24px, 3vw, 36px); }

.ticket-name {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ticket-fee {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--red-bright);
  font: 800 expanded clamp(44px, 4.4vw, 60px)/1 var(--font-display);
}

.ticket-fee small {
  color: var(--text-muted);
  font: 500 13px/1.3 var(--font-body);
  text-transform: uppercase;
}

.ticket-list-title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
  font: 500 14px/1.4 var(--font-body);
  text-transform: uppercase;
}

.ticket-list li {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  color: var(--text-muted);
}

.ticket-list li::before {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border: 1px solid var(--text);
  background: linear-gradient(var(--red), var(--red)) center / 6px 6px no-repeat;
}

.ticket-tear {
  position: relative;
  border-top: 2px dashed rgba(255, 255, 255, 0.28);
}

.ticket-tear::before, .ticket-tear::after {
  content: '';
  position: absolute;
  top: -15px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
}

.ticket-tear::before { left: -14px; }
.ticket-tear::after { right: -14px; }

.ticket { overflow: hidden; }

.ticket-stub {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 77px;
  background: var(--red);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s;
}

.ticket-stub:hover { background: var(--text); color: var(--red); }

/* The ticket clips its edges, so this outline sits inside the stub, on the white hover fill. */
.ticket-stub:focus-visible { background: var(--text); color: var(--red); outline-offset: -6px; }

.form-panel {
  padding: clamp(22px, 3vw, 40px);
  background-color: var(--panel);
  box-shadow: var(--glow);
}

.form-panel .headline { font-size: clamp(24px, 2.6vw, 36px); margin-bottom: 26px; }

.field { display: block; margin-bottom: 18px; }

.field > span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.field input, .field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--glow);
  font-size: 16px;
  --dot: linear-gradient(#fff, #fff);
  background-image: var(--dot), var(--dot), var(--dot), var(--dot);
  background-position: 0 0, 100% 0, 0 100%, 100% 100%;
  background-size: 3px 3px;
  background-repeat: no-repeat;
  transition: border-color 0.2s;
}

.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--text); }

.form-status { min-height: 1.6em; margin-top: 12px; font-size: 15px; color: var(--text-muted); }
.form-status.is-error { color: var(--red-bright); }

.form-privacy { margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.is-sent .form-privacy { display: none; }

.btn.is-sending, .btn.is-sending:hover {
  gap: 10px;
  background: var(--red);
  border-color: var(--red);
  color: var(--text);
  cursor: progress;
}

.spinner {
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--text);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-panel.is-sent { display: grid; align-content: center; }
.is-sent .form-status { margin-top: 0; }

.application-sent { display: grid; justify-items: center; text-align: center; }
.form-panel .application-sent .headline { margin: 18px 0 8px; }
.application-sent p { font-size: 17px; }

.sent-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--red-bright);
  border-radius: 50%;
}

.sent-check { animation: check-in 0.3s ease-out; }

@keyframes check-in {
  from { opacity: 0; transform: scale(0.9); }
}

.application { max-width: 720px; scroll-margin-top: calc(var(--nav-height) + 24px); }

.accordion { display: grid; gap: 10px; max-width: 720px; }
.accordion-item { background-color: var(--panel); }

.accordion-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item p { padding: 0 20px 20px; color: var(--text-muted); }

.accordion-icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.accordion-icon::before, .accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--text);
}

.accordion-icon::before { top: 7px; right: 0; left: 0; height: 2px; }
.accordion-icon::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.accordion-item[open] .accordion-icon { transform: rotate(45deg); }

.contestant-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
  text-underline-offset: 4px;
}

/* Footer */

#site-footer {
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(12px, 2vw, 28px);
  background: var(--panel);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-pitch { display: grid; justify-items: start; gap: 18px; }
.footer-mark { font: 800 expanded 30px/1 var(--font-display); }
img.footer-mark { height: 64px; width: auto; }
.footer-pitch p { max-width: 24em; color: var(--text-muted); }

.footer-col { display: grid; align-content: start; justify-items: start; gap: 10px; }

.footer-col h2 {
  margin-bottom: 6px;
  font: 500 14px/1.4 var(--font-body);
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-col a { overflow-wrap: anywhere; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 56px;
  font: 400 13px/1.4 var(--font-body);
  color: var(--text-muted);
}

.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

.footer-wordmark {
  width: 100%;
  margin-top: 18px;
  fill: var(--red);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 138.5px;
}

/* Lightbox and toast */

.lightbox {
  width: auto;
  max-width: 100vw;
  height: auto;
  max-height: 100vh;
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox img { max-width: min(92vw, 720px); max-height: 88vh; }

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--text);
  background: var(--bg);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 70;
  max-width: calc(100vw - 32px);
  padding: 13px 20px;
  border: 1px solid var(--red-bright);
  background: var(--panel);
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.2s;
}

.toast.show { opacity: 1; }

/* Intro */

.intro { display: none; }

.intro-on .intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(12px, 3vh, 34px);
  padding: 24px var(--gutter);
  background: var(--bg) url('../assets/smoke.svg') center / cover no-repeat;
  transition: opacity 0.3s;
}

.intro-on body { overflow: hidden; }
.intro.out { opacity: 0; pointer-events: none; }

.intro-video, .intro-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-video { object-fit: cover; }
.intro-overlay { background: var(--tint); }

/* Dark enough at the heading to keep white text readable over the video's white wall. */
.intro-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.58) 38%, rgba(0, 0, 0, 0.3));
}

.intro-label, .intro-logo, .intro-enter { position: relative; z-index: 1; }

.intro-enter { min-width: 200px; animation: fade-in 0.4s 0.5s ease-out both; }

.intro-skip {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--text-muted);
  font: 400 13px/1.4 var(--font-body);
  cursor: pointer;
}

.intro-skip:hover { text-decoration: underline; }

.intro-logo { animation: intro-in 0.7s ease-out both; }
.intro-hold .intro-logo { animation: none; }

.intro-logo img {
  width: min(86vw, 58vh, 760px);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.16);
}

.intro-label {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(18px, min(6vw, 8vh), 80px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
  animation: fade-in 0.4s 0.5s ease-out both;
}

@keyframes intro-in {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Fade-up on enter */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.3s ease-out, transform 0.3s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */

@media (max-width: 1024px) {
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .staff-card h3 { font-size: 24px; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-pitch { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .hero .media video { object-position: 62% 50%; }
  .about-photo { object-position: 65% 50%; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: flex; }

  .detail { grid-template-columns: minmax(0, 1fr); }
  .detail-side { position: static; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .staff-grid, .steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .schedule-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .band-track { animation: none !important; }
  .spinner { display: none; }
  .sent-check { animation: none !important; }
}
