/* ─────────────────────────────────────────────────────────────────────────
   Team 37X — Xtra Hot Chilli Peppers
   Single-file stylesheet. No build step.
   ──────────────────────────────────────────────────────────────────────── */

:root {
  /* palette */
  --bg:          #0c0a09;
  --bg-soft:     #14110f;
  --surface:     #1c1815;
  --surface-2:   #25201c;
  --border:      #2e2823;
  --border-hot:  #4a342a;

  --pepper:      #e23e3e;   /* primary chili red */
  --pepper-deep: #b3232a;
  --hot:         #ff6b35;   /* heat orange */
  --heat:        #ffb800;   /* heat yellow */
  --cream:       #f5e9d4;   /* warm off-white */
  --cream-dim:   #c9bfae;
  --muted:       #8d8478;

  --bronze:      #c08456;
  --silver:      #c9c9c9;
  --gold:        #f4b400;
  --platinum:    #e9e6e1;

  /* type */
  --font-display: 'Bebas Neue', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'Space Grotesk', ui-monospace, SFMono-Regular, monospace;

  /* sizes */
  --w-max:       1200px;
  --pad:         clamp(1.25rem, 4vw, 2rem);
  --r:           14px;
}

/* ── reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--cream); text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; font-family: var(--font-display); letter-spacing: 0.01em; }

/* ── shared layout ─────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--w-max); margin: 0 auto; padding: 0 var(--pad); }
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.02em;
  margin: 0 0 .25em;
  display: inline-flex;
  align-items: baseline;
  gap: .35em;
  color: var(--cream);
}
.section-title__num {
  font-family: var(--font-mono);
  font-size: .55em;
  font-weight: 500;
  color: var(--pepper);
  letter-spacing: 0.18em;
}
.section-lede {
  color: var(--cream-dim);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 0 2.5rem;
}

/* ── kicker label ──────────────────────────────────────────────────────── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--hot);
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}
.dot {
  width: .6em; height: .6em; border-radius: 50%;
  background: var(--pepper);
  box-shadow: 0 0 12px var(--pepper);
}

/* ── buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .9em 1.4em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(95deg, var(--pepper) 0%, var(--hot) 100%);
  color: #1a0c08;
  box-shadow: 0 8px 24px -10px rgba(255, 107, 53, .55);
}
.btn--primary:hover {
  box-shadow: 0 14px 30px -10px rgba(255, 107, 53, .75);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--pepper); color: var(--pepper); }
.btn--tier {
  width: 100%;
  margin-top: 1.25rem;
  background: var(--surface-2);
  color: var(--cream);
  border: 1px solid var(--border-hot);
}
.tier:hover .btn--tier { background: var(--pepper); color: #1a0c08; border-color: var(--pepper); }

/* ── nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center;
  gap: 1.5rem;
  padding: .85rem var(--pad);
  background: rgba(12, 10, 9, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__brand { display: flex; align-items: center; gap: .85rem; min-width: 0; }
/* Logo is 3:1 ratio with transparent background; the "light" variant has the
   "37X" wordmark recoloured to cream so it reads on the dark nav. */
.nav__logo {
  height: 30px; width: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  flex: none;
}
.nav__sub {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: 0.2em;
  color: var(--hot);
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 540px) { .nav__sub { display: none; } }
.nav__links { margin-left: auto; display: flex; gap: 1.4rem; }
.nav__links a { color: var(--cream-dim); font-size: .92rem; font-weight: 500; }
.nav__links a:hover { color: var(--cream); }
.nav__cta { padding: .65em 1.1em; font-size: .85rem; }
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__sub { display: none; }
}

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 78% 30%, rgba(255, 107, 53, 0.20) 0%, transparent 60%),
    radial-gradient(60% 80% at 15% 85%, rgba(226, 62, 62, 0.18) 0%, transparent 65%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-soft) 100%);
  z-index: 0;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.3;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black, transparent 70%);
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0 0 1.5rem;
  color: var(--cream);
}
.hero__hot {
  background: linear-gradient(95deg, var(--heat) 0%, var(--hot) 45%, var(--pepper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero__sub { color: var(--cream-dim); font-size: 0.8em; }
.lede {
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--cream-dim);
}
.hero__ctas { display: flex; gap: .75rem; margin-top: 2rem; flex-wrap: wrap; }

.hero__art {
  position: relative;
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
}
.hero__art::before {
  content: '';
  position: absolute; inset: 8% 12%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.35) 0%, transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.hero__robot {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}
.hero__chip {
  position: absolute;
  background: rgba(28, 24, 21, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-hot);
  border-radius: 12px;
  padding: .65rem .9rem;
  z-index: 2;
  display: flex; flex-direction: column;
  line-height: 1.1;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.5);
}
.hero__chip b { font-family: var(--font-display); font-size: 1.5rem; color: var(--heat); letter-spacing: 0.02em; }
.hero__chip span { font-size: .72rem; color: var(--cream-dim); margin-top: 2px; }
.hero__chip--1 { top: 8%; left: -8%; }
.hero__chip--2 { top: 38%; right: -10%; }
.hero__chip--3 { bottom: 12%; left: 5%; }

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { display: none; }
}

/* ── stats ─────────────────────────────────────────────────────────────── */
.stats {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem var(--pad);
}
.stats__grid {
  max-width: var(--w-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.stat { text-align: center; }
.stat b {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  display: block;
  line-height: 1;
  background: linear-gradient(180deg, var(--heat) 0%, var(--pepper) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
}
.stat span {
  display: block;
  margin-top: .35rem;
  font-size: .82rem;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}
.stats__note {
  max-width: var(--w-max);
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  font-style: italic;
}
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
}

/* ── story ─────────────────────────────────────────────────────────────── */
.story { padding: clamp(4rem, 8vw, 7rem) 0; }
.story p { color: var(--cream-dim); font-size: 1.05rem; }

.callout {
  background: linear-gradient(165deg, var(--surface) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border-hot);
  border-radius: var(--r);
  padding: 1.75rem;
  position: sticky;
  top: 100px;
}
.callout h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--heat);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.callout ul { margin: 0; }
.callout li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .65rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: .95rem;
}
.callout li:last-child { border-bottom: none; }
.callout li span { color: var(--cream-dim); }
.callout li b { font-family: var(--font-mono); color: var(--cream); font-weight: 700; }
.callout__total {
  margin-top: .5rem;
  padding-top: 1rem !important;
  border-top: 2px solid var(--border-hot);
  font-size: 1.05rem;
}
.callout__total span { color: var(--cream) !important; font-weight: 700; letter-spacing: 0.04em; }
.callout__total b { color: var(--heat) !important; font-size: 1.1rem; }
.callout__foot {
  font-size: .78rem;
  color: var(--muted);
  margin: 1rem 0 0;
  font-style: italic;
}

/* ── achievements ──────────────────────────────────────────────────────── */
.ach {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ach__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}
.ach__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.4rem;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  transition: border-color .2s ease, transform .2s ease;
}
.ach__card:hover { border-color: var(--pepper); transform: translateY(-2px); }
.ach__card h3 {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--hot);
  margin: 0 0 .5rem;
  text-transform: uppercase;
}
.ach__card p { margin: 0; color: var(--cream-dim); font-size: .95rem; line-height: 1.45; }
.ach__card p b { color: var(--cream); display: block; font-size: 1.1rem; font-weight: 700; }
.ach__card--feat {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
  min-height: 0;
}
.ach__card--feat img { width: 100%; height: 100%; object-fit: cover; }
.ach__card--world {
  background: linear-gradient(165deg, rgba(255, 184, 0, 0.10) 0%, rgba(226, 62, 62, 0.14) 100%);
  border-color: var(--border-hot);
}
.ach__card--world p b {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--heat);
}

/* Cards that open an event modal. Tiny "Read more →" affordance so the
   tap target reads as interactive without competing with the headline. */
.ach__card--clickable { cursor: pointer; outline: none; }
.ach__card--clickable:focus-visible {
  border-color: var(--hot);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.35);
}
.ach__card-cta {
  display: block;
  margin-top: .9rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hot);
  opacity: 0.7;
  transition: opacity .2s ease, transform .2s ease;
}
.ach__card--clickable:hover .ach__card-cta { opacity: 1; transform: translateX(3px); }
.ach__caption {
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.7;
  max-width: 80ch;
}

@media (max-width: 1000px) {
  .ach__grid { grid-template-columns: repeat(2, 1fr); }
  .ach__card--feat { grid-column: span 2; min-height: 280px; }
}
@media (max-width: 560px) {
  .ach__grid { grid-template-columns: 1fr; }
  .ach__card--feat { grid-column: auto; }
}

/* ── team ──────────────────────────────────────────────────────────────── */
.team { padding: clamp(4rem, 8vw, 7rem) 0; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.member {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1rem 1.25rem;
  transition: border-color .2s ease, transform .2s ease;
}
.member:hover { border-color: var(--pepper); transform: translateY(-3px); }
.member__photo {
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 1rem;
}
/* `object-position: center 18%` pulls the crop towards the top of the image,
   so portrait shots keep heads in frame instead of getting trimmed at the
   forehead when cover-fit into a square card. */
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform .3s ease;
}
.member:hover .member__photo img { transform: scale(1.04); }
.member h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 .15em;
  letter-spacing: 0.02em;
}
.member__role {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--hot);
  text-transform: uppercase;
  margin: 0 0 .65rem;
}
.member__bio { color: var(--cream-dim); font-size: .88rem; line-height: 1.5; margin: 0; }

@media (max-width: 1000px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .team__grid { grid-template-columns: 1fr; } }

/* ── sponsor tiers ─────────────────────────────────────────────────────── */
.tiers {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(226, 62, 62, 0.10) 0%, transparent 65%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tiers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem 1.4rem 1.4rem;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tier:hover {
  transform: translateY(-4px);
  border-color: var(--pepper);
  box-shadow: 0 18px 50px -22px rgba(255, 107, 53, 0.4);
}
.tier__head { margin-bottom: 1.25rem; }
.tier__medal { font-size: 2rem; display: block; margin-bottom: .4rem; }
.tier h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.02em;
  margin: 0 0 .35rem;
}
.tier__price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  margin: 0;
  line-height: 1;
  color: var(--cream);
  letter-spacing: 0.005em;
}
.tier__price span:first-child {
  font-size: .55em;
  vertical-align: super;
  margin-right: .1em;
  color: var(--cream-dim);
}
.tier__plus {
  font-size: .55em;
  color: var(--hot);
  margin-left: .1em;
}
.tier__perks { flex: 1; margin: 0 0 .25rem; }
.tier__perks li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--cream-dim);
  margin: .55rem 0;
}
.tier__perks li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--hot);
}
.tier__perks li b { color: var(--cream); }
.tier__flag {
  position: absolute;
  top: -10px; right: 14px;
  background: linear-gradient(95deg, var(--heat), var(--hot));
  color: #1a0c08;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 4px;
  box-shadow: 0 6px 16px -6px rgba(255, 184, 0, 0.6);
}

/* tier accent borders */
.tier--bronze   { border-top: 2px solid var(--bronze); }
.tier--silver   { border-top: 2px solid var(--silver); }
.tier--gold     { border-top: 2px solid var(--gold); }
.tier--platinum { border-top: 2px solid var(--platinum); }

.tier--gold {
  background: linear-gradient(165deg, rgba(244, 180, 0, 0.06) 0%, var(--surface) 60%);
  border-color: rgba(244, 180, 0, 0.4);
  box-shadow: 0 12px 35px -18px rgba(244, 180, 0, 0.5);
}

.tiers__foot {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--cream-dim);
  font-size: .95rem;
}

@media (max-width: 1000px) {
  .tiers__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tiers__grid { grid-template-columns: 1fr; }
}

/* ── current sponsors / logo wall ──────────────────────────────────────── */
.sponsors-current { padding: clamp(3rem, 6vw, 5rem) 0; }
.sponsors-wall {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.sponsor-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  height: 190px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sponsor-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hot);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.sponsor-card a {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
}
.sponsor-card img {
  display: block;
  object-fit: contain;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
/* Mark variant (square / portrait) — bounded square to keep them from dominating. */
.sponsor-card--mark img {
  max-width: 60%;
  max-height: 100%;
}
.sponsor-card__tier {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-family: var(--font-mono, "Space Grotesk", monospace);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink, #1a1a1a);
}
.sponsor-card--gold   .sponsor-card__tier { color: #b8881a; }
.sponsor-card--silver .sponsor-card__tier { color: #777777; }
.sponsor-card--bronze .sponsor-card__tier { color: #8b5a2b; }
.sponsor-card--platinum .sponsor-card__tier {
  color: #1a1a1a;
  background: linear-gradient(90deg, #b3b3b3 0%, #ffffff 50%, #b3b3b3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sponsors-current__cta {
  margin-top: 2rem;
  text-align: center;
}
.sponsors-current__empty {
  border: 2px dashed var(--border-hot);
  border-radius: var(--r);
  padding: 3rem;
  text-align: center;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 12px,
      rgba(255, 107, 53, 0.04) 12px,
      rgba(255, 107, 53, 0.04) 24px
    );
}
.sponsors-current__empty p {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream-dim);
  margin: 0 0 1.25rem;
  letter-spacing: 0.04em;
}

/* ── contact ───────────────────────────────────────────────────────────── */
.contact {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.contact__list { margin-top: 2rem; }
.contact__list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
}
.contact__list li:last-child { border-bottom: none; }
.contact__list li span {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--hot);
  text-transform: uppercase;
}
.contact__list li a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
}
.contact__list li a:hover { color: var(--pepper); }

.contact__cta {
  background: linear-gradient(165deg, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid var(--border-hot);
  border-radius: var(--r);
  padding: 2rem;
}
.contact__cta h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--heat);
  letter-spacing: 0.02em;
  margin: 0 0 .75rem;
}
.contact__cta p { color: var(--cream-dim); margin: 0 0 1.5rem; }

/* ── footer ────────────────────────────────────────────────────────────── */
.footer {
  padding: 3rem var(--pad) 2.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: .85rem; color: var(--cream-dim); font-size: .9rem; }
.footer__brand img { height: 26px; width: auto; opacity: 0.85; }
.footer__legal { color: var(--muted); font-size: .78rem; max-width: 60ch; margin: 0; }

/* ── nav scroll state ──────────────────────────────────────────────────── */
.nav.is-scrolled {
  background: rgba(12, 10, 9, 0.95);
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.6);
}

/* ── fade-in on scroll ─────────────────────────────────────────────────── */
.story, .ach, .team, .tiers, .sponsors-current, .contact {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.story.in-view, .ach.in-view, .team.in-view,
.tiers.in-view, .sponsors-current.in-view, .contact.in-view {
  opacity: 1;
  transform: none;
}

/* ── event modal ───────────────────────────────────────────────────────── */
.modal {
  width: min(640px, calc(100vw - 2rem));
  max-height: calc(100vh - 4rem);
  padding: 0;
  border: 1px solid var(--border-hot);
  border-radius: var(--r);
  background: linear-gradient(165deg, var(--surface) 0%, var(--bg-soft) 100%);
  color: var(--cream);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal[open] {
  animation: modalIn .25s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: .5rem; right: .75rem;
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  color: var(--cream-dim);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s ease, color .15s ease;
}
.modal__close:hover { background: var(--surface-2); color: var(--cream); }
.modal__body {
  padding: 2rem 1.75rem 1.75rem;
  overflow-y: auto;
  max-height: calc(100vh - 4rem);
}
.modal__kicker {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hot);
  margin: 0 0 .65rem;
}
.modal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
  color: var(--cream);
  padding-right: 2rem;
  line-height: 1.1;
}
.modal__body > p {
  color: var(--cream-dim);
  font-size: .98rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.modal__body > p b { color: var(--cream); }
.modal__awards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .75rem;
}
.modal__awards li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: .85rem;
  align-items: start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--hot);
  border-radius: 8px;
  padding: .75rem .9rem;
}
.modal__medal {
  font-size: 1.5rem;
  line-height: 1.2;
}
.modal__awards b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--heat);
  margin-bottom: .15rem;
}
.modal__awards span {
  display: block;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--cream-dim);
}
@media (max-width: 540px) {
  .modal__awards li { grid-template-columns: 1fr; }
  .modal__medal { display: inline-block; }
}

/* ── reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .story, .ach, .team, .tiers, .sponsors-current, .contact {
    opacity: 1; transform: none;
  }
  .modal[open] { animation: none; }
}
