/* ==========================================================================
   GRILL FOR GOOD — STYLES
   Colour defaults mirror js/config.js (config overrides at runtime).
   ========================================================================== */

@property --burn {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

:root {
  --cream: #FBF6EC;
  --paper: #F3ECDF;
  --ember: #C8501E;
  --ember-deep: #A33F17;
  --charcoal: #1E1C1A;
  --smoke: #8A817A;
  --smoke-text: #6B635C;

  --f-display: "Fraunces", Georgia, serif;   /* the logo typeface */
  --f-logo: "Fraunces", "Instrument Serif", Georgia, serif;
  --f-body: "DM Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1320px;
  --radius: 18px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow-warm: 0 30px 60px -28px rgba(163, 63, 23, .45), 0 10px 24px -14px rgba(30, 28, 26, .25);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .1 0 0 0 0 .08 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream) var(--grain);
  color: var(--charcoal);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "SOFT" 100;   /* Fraunces: soft, rounded like the logo */
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ember); color: var(--cream); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 4px;
  border-radius: 6px;
}
.cause :focus-visible, .site-footer :focus-visible { outline-color: var(--cream); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--charcoal); color: var(--cream); padding: .75rem 1.25rem; border-radius: 99px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(5rem, 12vw, 10rem); }

/* Placeholder marker — impossible to miss, easy to find */
.ph {
  display: inline;
  font-family: var(--f-body);
  font-style: normal;
  font-size: max(.55em, .8rem);
  letter-spacing: .04em;
  font-weight: 600;
  color: var(--ember-deep);
  background: repeating-linear-gradient(135deg, rgba(200,80,30,.10) 0 6px, rgba(200,80,30,.04) 6px 12px);
  outline: 1.5px dashed currentColor;
  outline-offset: 1px;
  border-radius: 4px;
  padding: .05em .35em;
  vertical-align: .1em;
  white-space: nowrap;
}
.cause .ph, .site-footer .ph, .tone-charcoal .ph, .tone-ember .ph, .countdown .ph, .team__info .ph, .team__back .ph, .team__photo-ph .ph { color: var(--cream); background: rgba(251,246,236,.12); }

/* ------------------------------------------------------------ TYPOGRAPHY */
.eyebrow {
  font-family: var(--f-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--smoke-text);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .9rem;
}
.eyebrow::before {
  content: ""; width: 2.25rem; height: 1.5px; background: var(--ember); flex: none;
}
.eyebrow--cream { color: var(--cream); }
.eyebrow--cream::before { background: var(--cream); }

.display {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
  color: var(--charcoal);
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 500; color: var(--ember); letter-spacing: -.01em; padding-right: .06em; }
.display--xl { font-size: clamp(2.5rem, 7.2vw, 6rem); }
.display--lg { font-size: clamp(2.4rem, 6.4vw, 5.25rem); }
.display--md { font-size: clamp(1.9rem, 4vw, 3rem); }

/* Line-by-line masked reveal (classes added by JS) */
.line { display: block; overflow: hidden; padding: .08em .2em .24em 0; margin: -.08em -.2em -.24em 0; }
.line__inner { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.line__inner em { display: inline-block; opacity: 0; transform: translateY(40%) rotate(-3deg); transition: opacity .7s ease, transform 1s var(--ease-out); }
.is-in .line__inner { transform: none; }
.is-in .line__inner em { opacity: 1; transform: none; transition-delay: calc(var(--d, 0s) + .45s); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- BUTTONS */
.btn {
  --bg: var(--ember);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.5rem;
  padding: .85rem 2rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 1.1875rem;         /* 19px semibold = WCAG "large text" on ember */
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.btn::before { /* coals glowing up from the bottom */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 120%, #E8763A 0%, rgba(232,118,58,0) 60%),
    var(--ember-deep);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn::after { /* heat-shimmer highlight */
  content: "";
  position: absolute; inset: -40% -10%; z-index: -1;
  background: linear-gradient(100deg, transparent 35%, rgba(255,214,170,.28) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover::after { animation: shimmer 1.6s var(--ease-in-out) infinite; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -16px rgba(163,63,23,.7); }
.btn:hover .btn__label { animation: heatwave 1.2s ease-in-out infinite; }
.btn__label { display: inline-block; }
.btn--ghost { background: transparent; color: var(--charcoal); box-shadow: inset 0 0 0 1.5px var(--charcoal); }
.btn--ghost::before { background: var(--charcoal); }
.btn--ghost:hover { color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--ember-deep); }
.btn--cream::before { background: var(--charcoal); }
.btn--cream:hover { color: var(--cream); }
.btn[aria-disabled="true"] { cursor: not-allowed; }

@keyframes shimmer { to { transform: translateX(120%); } }
@keyframes heatwave {
  0%, 100% { transform: translateY(0) skewX(0); }
  33% { transform: translateY(-.6px) skewX(-1.2deg); }
  66% { transform: translateY(.4px) skewX(.8deg); }
}

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600;
  text-decoration: none;
  padding-block: .4rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: background-size .45s var(--ease-out), color .3s;
}
.text-link:hover { background-size: 0 1.5px; background-position: 100% 100%; color: var(--ember-deep); }
.text-link__arrow { display: inline-block; transition: transform .4s var(--ease-out); }
.text-link:hover .text-link__arrow { transform: translateY(3px); }

/* --------------------------------------------------------------- ICONS */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
.icon--line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ----------------------------------------------------------------- LOADER */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--cream) var(--grain);
  transition: opacity .6s ease, visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { width: 96px; }
.loader__mark svg { width: 100%; height: auto; overflow: visible; }
.loader .draw { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease-in-out) forwards; }
.loader .draw:nth-child(2) { animation-delay: .1s; }
.loader .draw:nth-child(3) { animation-delay: .25s; }
.loader .draw:nth-child(4) { animation-delay: .3s; }
.loader .draw:nth-child(5) { animation-delay: .38s; }
.loader .draw:nth-child(6) { animation-delay: .44s; }
.loader .ignite { transform-origin: 32px 32px; opacity: 0; transform: scale(.3); animation: ignite .55s .75s var(--ease-out) forwards, flicker 1.2s 1.3s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ignite {
  0% { opacity: 0; transform: scale(.3) translateY(6px); }
  55% { opacity: 1; transform: scale(1.12) translateY(-2px); }
  100% { opacity: 1; transform: none; }
}
@keyframes flicker {
  0%, 100% { transform: scale(1) skewX(0); filter: brightness(1); }
  25% { transform: scale(1.03, .97) skewX(-2deg); filter: brightness(1.1); }
  50% { transform: scale(.98, 1.04) skewX(1.5deg); }
  75% { transform: scale(1.02, .99) skewX(-1deg); filter: brightness(1.05); }
}

/* ----------------------------------------------------------------- CURSOR */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
  .has-cursor .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none;
    width: 0; height: 0;
  }
  .cursor__dot {
    position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 12px 2px rgba(200, 80, 30, .45);
    transition: transform .35s var(--ease-out), opacity .25s;
  }
  .cursor__flame {
    position: absolute; width: 34px; margin: -30px 0 0 -17px; color: var(--ember);
    opacity: 0; transform: scale(.2) translateY(10px); transform-origin: 50% 90%;
    transition: transform .4s var(--ease-out), opacity .25s;
  }
  .cursor__flame svg { width: 100%; height: auto; animation: flicker 1s ease-in-out infinite; }
  .cursor.is-hot .cursor__dot { transform: scale(.4); opacity: 0; }
  .cursor.is-hot .cursor__flame { opacity: 1; transform: none; }
  .cursor.is-hidden { opacity: 0; }
}

/* ----------------------------------------------------------------- HEADER */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem var(--gutter);
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(251, 246, 236, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(30, 28, 26, .08);
}
.site-header.is-hidden { transform: translateY(-100%); }
.wordmark {
  font-family: var(--f-logo);
  font-variation-settings: "SOFT" 100, "opsz" 72;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ember);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -.01em;
}
.wordmark em {
  font-family: var(--f-display); font-weight: 400; font-style: italic; color: var(--charcoal);
  font-size: .95em; margin: 0 .08em;
}
.wordmark__flame { width: 22px; color: var(--ember); margin-left: -.35rem; flex: none; transition: transform .3s var(--ease-out); }
.wordmark__flame svg { width: 100%; height: auto; }
.wordmark__flame:hover svg { animation: flicker .9s ease-in-out infinite; }
.wordmark__flame:active { transform: scale(.85); }
.site-header__rule { flex: 1; height: 1.5px; background: var(--ember); min-width: 1.5rem; transform-origin: left; }
.site-nav { display: none; }
.site-nav__list { display: flex; gap: 2rem; }
.site-nav a {
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; position: relative; padding-block: .5rem;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1.5px;
  background: var(--ember); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.menu-btn {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding-inline: .25rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.menu-btn__bars { display: grid; gap: 5px; width: 22px; }
.menu-btn__bars i { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (min-width: 900px) {
  .site-nav { display: block; }
  .menu-btn { display: none; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--cream) var(--grain);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--gutter) 2rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list a {
  display: block; font-family: var(--f-display); font-size: clamp(3rem, 14vw, 5rem); line-height: 1.05;
  text-decoration: none; letter-spacing: -.02em;
}
.mobile-menu__list a:hover em, .mobile-menu__list a:focus-visible em { color: var(--ember); }
.mobile-menu__list li { opacity: 0; transform: translateY(20px); animation: menuIn .6s var(--ease-out) forwards; }
.mobile-menu__list li:nth-child(2) { animation-delay: .06s; }
.mobile-menu__list li:nth-child(3) { animation-delay: .12s; }
.mobile-menu__list li:nth-child(4) { animation-delay: .18s; }
.mobile-menu__list { margin-top: auto; }
.mobile-menu__foot { margin-top: auto; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------- HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero__inner {
  position: relative; z-index: 3;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(6.5rem, 14vh, 9rem);
  padding-bottom: 2rem;
}
.hero__title { font-size: clamp(3rem, 8.6vw, 7.5rem); line-height: .98; max-width: 14ch; }
.hero__title em { line-height: .9; }
.hero__sub {
  margin-top: 1.5rem; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--smoke-text); max-width: 32ch;
}
.hero__ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero__eyebrow { margin-bottom: 1.75rem; }
.hero__grill {
  position: relative; z-index: 1;
  background-color: #170f0b;
  height: clamp(240px, 44vh, 480px);
  margin-top: -2rem;
  background: var(--charcoal);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 38%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 38%);
}
.hero__grill img, .hero__coals { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__grill img { filter: contrast(1.1) saturate(1.05) brightness(.8); }
.hero__smoke { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }

/* Hero intro choreography (runs after loader) */
.hero .eyebrow, .hero__sub, .hero__ctas { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.hero.is-in .eyebrow { opacity: 1; transform: none; }
.hero.is-in .hero__sub { opacity: 1; transform: none; transition-delay: .7s; }
.hero.is-in .hero__ctas { opacity: 1; transform: none; transition-delay: .85s; }
.hero__grill { opacity: 0; transition: opacity 1.6s ease .2s; }
.hero.is-in .hero__grill { opacity: 1; }

/* -------------------------------------------------------------- COUNTDOWN */
.countdown {
  position: relative; z-index: 5;
  background: var(--ember) var(--grain);
  color: var(--cream);
  padding-block: 1.1rem;
  overflow: hidden;
}
.countdown__inner {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: .25rem 1.25rem;
  text-align: center;
}
.cd-unit { display: inline-flex; align-items: baseline; gap: .4rem; }
.cd-num { display: inline-flex; gap: 2px; font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 3.75rem); line-height: 1; }
.cd-digit {
  position: relative; display: inline-block; width: .62em; height: 1.05em;
  perspective: 300px;
}
.cd-digit span {
  position: absolute; inset: 0; display: grid; place-items: center;
  backface-visibility: hidden; transform-origin: 50% 50%;
}
.cd-digit .cd-old { animation: flipOut .5s var(--ease-in-out) forwards; }
.cd-digit .cd-new { animation: flipIn .5s var(--ease-in-out) forwards; }
@keyframes flipOut { to { transform: rotateX(90deg) translateY(-30%); opacity: 0; } }
@keyframes flipIn { from { transform: rotateX(-90deg) translateY(30%); opacity: 0; } to { transform: none; opacity: 1; } }
.cd-label, .cd-suffix { font-size: 1.1875rem; font-weight: 600; letter-spacing: .01em; }
.cd-suffix { flex-basis: 100%; font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; }
@media (min-width: 900px) { .cd-suffix { flex-basis: auto; } }

/* ------------------------------------------------------------- WHO WE ARE */
.about__grid { display: grid; gap: 3rem; align-items: end; }
.about__grid > * { min-width: 0; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.about .display--xl { font-size: clamp(2.5rem, 6.2vw, 5.5rem); }
.about__copy p { max-width: 44ch; }
.about__copy p + p { margin-top: 1.25rem; }
.about__copy .lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; }
.about__copy .aside { font-family: var(--f-display); font-style: italic; font-size: 1.6rem; color: var(--ember-deep); line-height: 1.2; }
.callout {
  margin-top: 2.25rem;
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.25rem 1.5rem;
  border: 1.5px solid var(--ember);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ember);
}
.callout strong { font-family: var(--f-logo); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--ember); }
.callout span { font-weight: 600; line-height: 1.35; }

.sparkle-divider {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  margin-top: clamp(4rem, 10vw, 8rem);
  color: var(--ember); font-size: 1.4rem;
}
.sparkle-divider::before, .sparkle-divider::after { content: ""; width: min(22vw, 180px); height: 1px; background: currentColor; opacity: .5; }
.sparkle-divider span { display: inline-block; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(45deg) scale(.85); } }

/* ----------------------------------------------------------- HOW IT WORKS */
.how { position: relative; padding-block: clamp(4rem, 10vw, 6rem); }
.how__head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.how__track {
  display: grid; gap: 1.25rem;
  padding-inline: var(--gutter);
  max-width: var(--max); margin-inline: auto;
}
.step {
  position: relative;
  background: var(--paper) var(--grain);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 2.25rem;
  min-height: 18rem;
  display: flex; flex-direction: column;
  border: 1px solid rgba(30, 28, 26, .08);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), background-color .4s;
}
.step:nth-child(even) { --tilt: 1.4deg; }
.step:nth-child(odd) { --tilt: -1.4deg; }
.step:hover { transform: translateY(-10px) rotate(var(--tilt)); box-shadow: var(--shadow-warm); }
.step__num {
  font-family: var(--f-display); font-size: clamp(5rem, 9vw, 7.5rem); line-height: .8;
  color: var(--ember); letter-spacing: -.04em;
}
.step__icon { position: absolute; top: 1.75rem; right: 1.75rem; width: 44px; color: var(--charcoal); opacity: .85; }
.step__title { margin-top: auto; padding-top: 2.5rem; font-family: var(--f-display); font-size: clamp(1.5rem, 2vw, 1.8rem); line-height: 1.1; letter-spacing: -.01em; font-weight: 600; text-wrap: balance; }
.step__text { margin-top: .75rem; color: var(--smoke-text); font-size: 1rem; line-height: 1.55; }
.how__progress { display: none; }

@media (min-width: 640px) {
  .how__track { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .how__track { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .step { min-height: 24rem; padding: 2.25rem 2rem; }
}

/* ------------------------------------------------------------------ TEAMS */
.teams { background: var(--paper) var(--grain); overflow: hidden; }
.teams__head { display: grid; gap: 1.5rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 900px) { .teams__head { grid-template-columns: 1fr auto; } }
.teams__intro { font-family: var(--f-display); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; max-width: 16ch; color: var(--charcoal); }
.teams__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.75rem, 2vw, 1.5rem); }
@media (min-width: 900px) { .teams__grid { grid-template-columns: repeat(4, 1fr); } }

.team { perspective: 1200px; }
.team__card {
  position: relative; display: block; width: 100%;
  aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  transition: transform .9s var(--ease-out);
  text-align: left;
}
.team__card.is-flipped { transform: rotateY(180deg); }
.team__face {
  position: absolute; inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.team__front { background: var(--cream) var(--grain); border: 1px solid rgba(30,28,26,.1); }
.team__back {
  transform: rotateY(180deg);
  background: var(--charcoal); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1rem, 2.5vw, 1.75rem);
}
.team__label {
  position: absolute; left: 0; top: 0; z-index: 4;
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 1rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.team__label small { display: none; }
.team__sil { position: absolute; inset: 16% 6% 0; color: var(--charcoal); transition: filter .4s; }
.team__sil svg { width: 100%; height: 100%; }
.sil-q {
  font-family: var(--f-display); font-weight: 800; font-size: 76px;
  fill: var(--ember);
  transform-box: fill-box; transform-origin: center;
  transition: transform .5s var(--ease-out);
  filter: drop-shadow(0 0 10px rgba(200, 80, 30, .35));
}
.team__glow {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(70% 45% at 50% 105%, rgba(232, 118, 58, .75), rgba(200, 80, 30, 0) 70%),
    radial-gradient(40% 30% at 30% 100%, rgba(255, 170, 90, .5), transparent 70%);
  mix-blend-mode: multiply;
  opacity: 0; transition: opacity .4s;
}
.team__card:hover .team__glow, .team__card:focus-visible .team__glow { opacity: 1; animation: fireLight 1.1s steps(1) infinite; }
.team__card:hover .team__sil, .team__card:focus-visible .team__sil { filter: drop-shadow(0 -2px 14px rgba(200,80,30,.55)); animation: silFlicker 1.3s ease-in-out infinite; }
.team__card:hover .sil-q, .team__card:focus-visible .sil-q { transform: rotate(-8deg) scale(1.06); }
@keyframes fireLight {
  0% { opacity: 1; } 18% { opacity: .7; } 32% { opacity: .95; } 47% { opacity: .6; } 60% { opacity: 1; } 79% { opacity: .75; } 90% { opacity: .9; }
}
@keyframes silFlicker {
  0%, 100% { filter: drop-shadow(0 -2px 14px rgba(200,80,30,.55)) brightness(1); }
  30% { filter: drop-shadow(0 -4px 22px rgba(232,118,58,.75)) brightness(1.25); }
  55% { filter: drop-shadow(0 -1px 10px rgba(200,80,30,.4)) brightness(1.05); }
  80% { filter: drop-shadow(0 -3px 18px rgba(232,118,58,.65)) brightness(1.2); }
}
.team__back .eyebrow { color: var(--cream); margin-bottom: 0; font-size: .65rem; }
.team__back .eyebrow::before { background: var(--ember); }
.team__back { container-type: inline-size; }
.team__hint { font-family: var(--f-display); font-style: italic; font-size: min(2rem, 11.5cqi); line-height: 1.15; }
@media (max-width: 599px) {
  .team .team__back .eyebrow { font-size: .58rem; letter-spacing: .16em; gap: .5rem; }
  .team .team__back .eyebrow::before { width: .9rem; }
  .team .team__back-foot { font-size: .6rem; letter-spacing: .08em; }
}
.team__back-foot { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(251,246,236,.75); }
.team__tap { display: none; position: absolute; top: .9rem; right: 1rem; z-index: 4; font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--smoke-text); }

/* Revealed state */
.team__photo { position: absolute; inset: 0; background: var(--charcoal); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.team__photo-ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(80% 60% at 50% 100%, rgba(200,80,30,.55), transparent 70%), var(--charcoal);
  color: var(--cream); font-family: var(--f-display); font-size: 1rem; text-align: center; padding: 1rem;
}
.team__info {
  position: absolute; inset: auto 0 0 0; z-index: 4;
  padding: 3.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(30,28,26,.92), rgba(30,28,26,0));
  color: var(--cream);
}
.team__info .team__num { font-size: .65rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(251,246,236,.8); }
.team__name { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; font-weight: 400; margin-top: .35rem; }
.team__bio { font-size: .875rem; line-height: 1.4; margin-top: .4rem; color: rgba(251,246,236,.85); }
.team.is-revealed .team__front { background: var(--charcoal); }
.team__veil {
  position: absolute; inset: 0; z-index: 3;
  background: var(--cream) var(--grain);
  -webkit-mask-image: radial-gradient(circle at 50% 70%, transparent var(--burn), #000 calc(var(--burn) + 4%));
  mask-image: radial-gradient(circle at 50% 70%, transparent var(--burn), #000 calc(var(--burn) + 4%));
}
.team__veil .team__sil { inset: 8% 6% 0; }
.team__edge {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 50% 70%,
    transparent calc(var(--burn) - 3%),
    rgba(255, 190, 110, .95) calc(var(--burn) - .5%),
    var(--ember) calc(var(--burn) + 1.5%),
    rgba(30, 28, 26, .9) calc(var(--burn) + 3%),
    transparent calc(var(--burn) + 5%));
  filter: blur(1.5px);
  opacity: 0;
}
.team.is-burning .team__veil, .team.is-burning .team__edge { animation: burn 2s var(--ease-in-out) forwards; }
.team.is-burning .team__edge { opacity: 1; }
.team.is-burnt .team__veil, .team.is-burnt .team__edge { display: none; }
@keyframes burn { from { --burn: 0%; } to { --burn: 115%; } }

/* Predictions */
.predict {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--cream) var(--grain);
  border: 1px solid rgba(30,28,26,.08);
}
.predict__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2rem; }
.predict__note { font-size: .9rem; color: var(--smoke-text); }
.predict__total { margin-top: 1.25rem; font-size: .95rem; color: var(--smoke-text); min-height: 1.5em; }
.predict__list { display: grid; gap: .75rem; }
@media (min-width: 900px) { .predict__list { grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; } }
.vote {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  min-height: 3.75rem;
  padding: .75rem 1.25rem;
  border-radius: 14px;
  border: 1.5px solid rgba(30,28,26,.14);
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.vote:hover { border-color: var(--ember); transform: translateY(-2px); }
.vote__bar {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(200,80,30,.16), rgba(200,80,30,.28));
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.2s var(--ease-out);
}
.vote__name { font-weight: 600; }
.vote__mark { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--charcoal); display: grid; place-items: center; }
.vote__pct { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.vote[aria-pressed="true"] { border-color: var(--ember); }
.vote[aria-pressed="true"] .vote__mark { background: var(--ember); border-color: var(--ember); }
.vote[aria-pressed="true"] .vote__mark::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cream); }
.vote[aria-pressed="true"] .vote__bar { background: linear-gradient(90deg, rgba(200,80,30,.3), rgba(200,80,30,.5)); }
.predict:not(.has-voted) .vote__pct { opacity: 0; }

/* -------------------------------------------------------------- THE CAUSE */
.cause {
  position: relative;
  background: var(--ember) var(--grain);
  color: var(--cream);
  padding-block: clamp(5.5rem, 13vw, 11rem);
  overflow: hidden;
  isolation: isolate;
}
.cause__embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cause .display { color: var(--cream); }
.cause .display em { color: var(--charcoal); }
.cause__intro { margin-top: 2rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-family: var(--f-display); line-height: 1.2; max-width: 30ch; }
.cause__grid { display: grid; gap: 2.5rem; margin-top: clamp(3rem, 7vw, 5rem); align-items: center; justify-items: center; }
.cause__grid > * { width: 100%; }
@media (min-width: 900px) { .cause__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.donut { position: relative; width: min(100%, 320px); margin-inline: auto; aspect-ratio: 1; container-type: inline-size; }
@media (min-width: 900px) { .donut { width: min(100%, 400px); } }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.donut circle { fill: none; stroke-width: 18; }
.donut .donut__track { stroke: rgba(30,28,26,.18); }
.donut .donut__seg { stroke-linecap: butt; transition: stroke-dashoffset 1.8s var(--ease-out); }
.donut .donut__seg--a { stroke: var(--cream); }
.donut .donut__seg--b { stroke: var(--charcoal); transition-delay: .9s; }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut__center strong { font-family: var(--f-logo); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 15cqi; line-height: 1; letter-spacing: -.02em; }
.donut__center span { font-size: max(1.1875rem, 5cqi); font-weight: 600; margin-top: .5rem; }
.cause__split { display: grid; gap: 1rem; }
@media (min-width: 480px) { .split-item { grid-template-columns: auto 1fr; gap: 1.5rem; } }
.split-item {
  display: grid; gap: .75rem; align-items: center;
  padding: 1.5rem 1.75rem;
  background: var(--ember-deep);
  border-radius: var(--radius);
}
.split-item__pct { font-family: var(--f-display); font-size: clamp(3.5rem, 7vw, 5rem); line-height: .9; min-width: 2.2ch; font-variant-numeric: tabular-nums; }
.split-item__title { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.05; }
.split-item__text { font-size: 1rem; opacity: .95; margin-top: .25rem; }
.split-item__swatch { display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: .5rem; vertical-align: .05em; }

.tracker {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--ember-deep);
  border-radius: calc(var(--radius) + 6px);
}
.tracker__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; margin-bottom: 1.75rem; }
.tracker__label { font-size: .75rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.tracker__nums { font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.tracker__nums small { font-family: var(--f-body); font-size: 1rem; font-weight: 600; margin-left: .5rem; }
.skewer { position: relative; height: 34px; display: flex; align-items: center; }
.skewer__ring { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--cream); margin-right: -3px; position: relative; z-index: 2; }
.skewer__rod { position: relative; flex: 1; height: 14px; border-radius: 0 7px 7px 0; background: rgba(30,28,26,.35); overflow: hidden; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.skewer__fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #FFE2B8, var(--cream) 40%, #FFD29A);
  box-shadow: 0 0 18px rgba(255, 200, 140, .8);
  transform-origin: left; transform: scaleX(0);
  transition: transform 2s var(--ease-out);
}
.skewer__fill--pending { transform: scaleX(1) !important; background: repeating-linear-gradient(90deg, rgba(251,246,236,.15) 0 20px, rgba(251,246,236,.35) 20px 28px); animation: heat 2.5s linear infinite; background-size: 56px 100%; box-shadow: none; }
@keyframes heat { to { background-position: 56px 0; } }
.skewer__chunks { position: absolute; inset: 0 14px 0 0; display: flex; justify-content: space-around; align-items: center; pointer-events: none; }
.skewer__chunks i { width: 22px; height: 26px; border-radius: 7px; background: var(--charcoal); opacity: .0; transform: scale(.6); transition: opacity .4s, transform .5s var(--ease-out); }
.skewer__chunks i.is-on { opacity: .9; transform: none; }
.tracker__foot { margin-top: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; flex-wrap: wrap; }

.partner {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(251,246,236,.45);
}
.partner__line { font-size: .75rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.partner__logo {
  min-width: 220px; min-height: 64px; display: grid; place-items: center;
  border: 1.5px dashed rgba(251,246,236,.7); border-radius: 12px; padding: .75rem 1.25rem;
  font-family: var(--f-display); font-size: 1.6rem; line-height: 1;
}
.partner__logo img { max-height: 56px; width: auto; }
.partner__logo--img { border: 0; padding: 0; }

/* ---------------------------------------------------------------- THE DAY */
.day__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .day__grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }
.menu-card {
  position: relative;
  background: var(--paper) var(--grain);
  border-radius: 6px;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-warm);
  transform: rotate(-1.2deg);
}
.menu-card::before {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  border: 1px solid rgba(30,28,26,.35); outline: 1px solid rgba(30,28,26,.18); outline-offset: 4px; border-radius: 3px;
}
.menu-card__head { text-align: center; margin-bottom: 2rem; }
.menu-card__title { font-family: var(--f-logo); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; color: var(--ember); }
.menu-card__title em { font-family: var(--f-display); font-weight: 400; color: var(--charcoal); }
.menu-card__sub { margin-top: .6rem; font-size: .7rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--smoke-text); }
.menu-card__spark { display: block; color: var(--ember); margin: 1rem 0 0; font-size: 1rem; }
.menu-item {
  display: grid; grid-template-columns: 34px auto 1fr auto; align-items: end; gap: .9rem;
  padding-block: .9rem;
  opacity: 0; transform: translateX(-24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.menu-item.is-in { opacity: 1; transform: none; }
.menu-item__icon { width: 30px; color: var(--charcoal); align-self: center; }
.menu-item__title { font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.1; }
.menu-item__dots { border-bottom: 2px dotted rgba(30,28,26,.4); transform: translateY(-.4rem); min-width: 1rem; }
.menu-item__time { font-weight: 600; font-size: .95rem; white-space: nowrap; }
.menu-card__foot { margin-top: 1.75rem; text-align: center; font-size: .9rem; color: var(--smoke-text); }

/* ---------------------------------------------------------------- GALLERY */
.gallery { overflow: hidden; }
.gallery__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 2rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.masonry { display: grid; grid-template-columns: repeat(var(--cols, 1), 1fr); gap: clamp(.75rem, 2vw, 1.5rem); align-items: start; }
.masonry__col { display: grid; gap: clamp(.75rem, 2vw, 1.5rem); will-change: transform; }
.tile {
  position: relative; display: block; width: 100%; overflow: hidden;
  border-radius: 14px;
  aspect-ratio: var(--ratio, 4 / 5);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.tile:hover { transform: scale(.985); box-shadow: var(--shadow-warm); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile:hover img { transform: scale(1.05); }
.tile__poster { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; text-align: center; }
.tile__text { font-family: var(--f-display); font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: .95; letter-spacing: -.02em; }
.tile__text em { font-style: italic; }
.tile__mark { position: absolute; left: 0; right: 0; bottom: 1.25rem; display: flex; justify-content: center; align-items: center; gap: .5rem; font-family: var(--f-logo); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: .85rem; }
.tile__mark em { font-family: var(--f-display); font-weight: 400; }
.tile__mark i { width: 2rem; height: 1px; background: currentColor; opacity: .7; }
.tile__eyebrow { position: absolute; top: 1.25rem; left: 0; right: 0; font-size: .6rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.tone-charcoal { background: var(--charcoal); color: var(--cream); }
.tone-charcoal em { color: var(--ember); }
.tone-ember { background: var(--ember) var(--grain); color: var(--cream); }
.tone-ember em { color: var(--charcoal); }
.tone-cream { background: var(--cream) var(--grain); color: var(--charcoal); border: 1px solid rgba(30,28,26,.1); }
.tone-cream em, .tone-paper em { color: var(--ember); }
.tone-paper { background: var(--paper) var(--grain); color: var(--charcoal); }
.tone-charcoal::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: radial-gradient(60% 80% at 50% 110%, rgba(200,80,30,.55), transparent 70%);
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 250;
  display: grid; place-items: center;
  background: rgba(30, 28, 26, .94);
  padding: 4.5rem 1rem;
  animation: fadeIn .35s ease;
}
.lightbox[hidden] { display: none; }
.lightbox__stage { width: min(92vw, 640px); }
.lightbox__stage .tile { cursor: default; }
.lightbox__stage .tile:hover { transform: none; box-shadow: none; }
.lightbox__stage img { max-height: 80vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem; min-height: 44px; padding: .5rem 1.1rem; border-radius: 99px;
  color: var(--cream); border: 1px solid rgba(251,246,236,.4);
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; color: var(--cream); border: 1px solid rgba(251,246,236,.4); font-size: 1.2rem;
}
.lightbox__nav:hover, .lightbox__close:hover { background: var(--ember); border-color: var(--ember); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
@media (max-width: 600px) { .lightbox__nav { top: auto; bottom: 1rem; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------------------------------------------------------------- TICKETS */
.tickets__grid { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 900px) { .tickets__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.ticket {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--paper) var(--grain);
  border-radius: var(--radius);
  border: 1px solid rgba(30,28,26,.08);
  min-height: 22rem;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.ticket:hover { transform: translateY(-8px); box-shadow: var(--shadow-warm); }
.ticket--featured { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.ticket--featured .ticket__text { color: rgba(251,246,236,.85); }
.ticket--featured .ticket__kicker { color: var(--cream); }
.ticket--featured .ph { color: var(--cream); background: rgba(251,246,236,.1); }
.ticket::before { /* ticket stub notches */
  content: ""; position: absolute; top: 5.5rem; left: -1px; right: -1px; height: 0;
  border-top: 1.5px dashed rgba(30,28,26,.2);
}
.ticket--featured::before { border-color: rgba(251,246,236,.25); }
.ticket__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--ember-deep); display: flex; align-items: center; gap: .6rem; }
.ticket__kicker svg { width: 22px; color: var(--ember); }
.ticket__title { margin-top: 3.25rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.1rem, 3.4vw, 2.75rem); line-height: 1; letter-spacing: -.01em; }
.ticket__text { margin-top: 1rem; color: var(--smoke-text); }
.ticket .btn { margin-top: auto; align-self: flex-start; }
.ticket__cta-wrap { margin-top: auto; padding-top: 2rem; }
.tickets__note { margin-top: 2rem; display: flex; align-items: center; gap: .75rem; font-size: .95rem; color: var(--smoke-text); }
.tickets__note::before { content: "✦"; color: var(--ember); }

/* --------------------------------------------------------------- SPONSORS */
.sponsors { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid rgba(30,28,26,.1); }
.sponsors__eyebrow { justify-content: center; }
.sponsors__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3.5rem; }
.sponsor { display: block; color: var(--charcoal); transition: color .3s, transform .4s var(--ease-out); }
.sponsor:hover, .sponsor:focus-visible { color: var(--ember); transform: translateY(-2px); }
.sponsor__logo {
  display: block; width: 140px; height: 56px;
  background-color: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
}
.sponsor__name { font-family: var(--f-display); font-size: 1.75rem; }

/* -------------------------------------------------------------------- FAQ */
.faq { background: var(--paper) var(--grain); }
.faq__grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 1fr 1.3fr; gap: 5rem; } .faq__grid > div:first-child { position: sticky; top: 7rem; align-self: start; } }
.accordion { border-top: 1px solid rgba(30,28,26,.18); }
.acc { border-bottom: 1px solid rgba(30,28,26,.18); }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; text-align: left;
  font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15;
  transition: color .3s;
}
.acc__btn:hover { color: var(--ember-deep); }
.acc__icon { flex: none; width: 26px; color: var(--charcoal); transition: transform .6s var(--ease-out), color .3s; }
.acc__btn[aria-expanded="true"] .acc__icon { transform: rotate(180deg); color: var(--ember); }
.acc__btn[aria-expanded="true"] .acc__icon svg { animation: flicker 1s ease-in-out infinite; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 1.75rem; max-width: 58ch; color: var(--charcoal); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }

/* ----------------------------------------------------------------- FOOTER */
.site-footer {
  position: relative;
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(5rem, 12vw, 9rem) 0 3rem;
  overflow: hidden;
  isolation: isolate;
}
.site-footer__embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.site-footer::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -2;
  background: radial-gradient(60% 100% at 50% 120%, rgba(200,80,30,.35), transparent 70%);
}
.lockup { display: flex; align-items: flex-end; gap: clamp(.5rem, 2vw, 1.5rem); }
.lockup__word {
  font-family: var(--f-logo); font-variation-settings: "SOFT" 100, "opsz" 144; font-weight: 900;
  font-size: clamp(4rem, 15vw, 12rem); line-height: .82; letter-spacing: -.03em;
  color: var(--ember);
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .12em;
}
.lockup__word em { font-family: var(--f-display); font-weight: 400; font-style: italic; color: var(--cream); font-size: .5em; letter-spacing: 0; }
.lockup__icon { width: clamp(70px, 12vw, 150px); color: var(--cream); flex: none; margin-bottom: .6rem; }
.lockup__icon svg { width: 100%; height: auto; overflow: visible; }
.lockup__icon .flame-btn { cursor: pointer; }
.site-footer__tagline { margin-top: 2.5rem; color: var(--cream); font-size: clamp(2.2rem, 5vw, 4rem); }
.site-footer__meta {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid; gap: 1.5rem 2rem;
  padding-top: 2rem; border-top: 1px solid rgba(251,246,236,.2);
}
@media (min-width: 768px) { .site-footer__meta { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.site-footer__meta dt { font-size: .7rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: rgba(251,246,236,.7); }
.site-footer__meta dd { margin: .4rem 0 0; font-size: 1.05rem; }
.site-footer__meta a { text-decoration: none; background: linear-gradient(var(--ember), var(--ember)) 0 100% / 100% 1.5px no-repeat; }
.site-footer__meta a:hover { color: #F08A55; }
.site-footer__signoff {
  margin-top: 3.5rem; text-align: center;
  font-family: var(--f-display); font-style: italic; font-size: 1.35rem; color: rgba(251,246,236,.85);
}

/* ---------------------------------------------------------- TOAST / BURST */
.toast {
  position: fixed; left: 50%; bottom: 2rem; z-index: 260;
  transform: translate(-50%, calc(100% + 3rem));
  visibility: hidden;
  background: var(--charcoal); color: var(--cream);
  padding: 1rem 1.75rem; border-radius: 99px;
  font-family: var(--f-display); font-style: italic; font-size: 1.5rem;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
  transition: transform .6s var(--ease-out), visibility .6s;
  pointer-events: none;
  white-space: nowrap;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.burst { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 255; pointer-events: none; }

.noscript { padding: 6rem var(--gutter); }

/* ------------------------------------------------------- REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .line__inner, .line__inner em, .reveal, .menu-item { transform: none !important; transition: opacity .6s ease !important; }
  .line__inner { opacity: 0; }
  .is-in .line__inner { opacity: 1; }
  .step:hover, .ticket:hover, .tile:hover, .vote:hover { transform: none; }
  .team__card { transition: none; }
  .team.is-burning .team__veil, .team.is-burning .team__edge { animation: none; display: none; }
  .btn:hover .btn__label, .btn:hover::after { animation: none; }
  .hero__smoke, .hero__embers, .cause__embers, .site-footer__embers { display: none; }
}
@media (min-width: 1100px) { .team__tap { display: block; } }

/* ------------------------------------------------------- PAGE TRANSITION */
.pt { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; pointer-events: all; }
.pt::before {
  content: ""; position: absolute; inset: 0;
  background: var(--charcoal);
  clip-path: circle(0 at var(--x, 50%) var(--y, 50%));
  transition: clip-path .8s var(--ease-in-out);
}
.pt__glow {
  position: absolute; left: 50%; top: 50%; width: 70vmin; height: 70vmin; margin: -35vmin 0 0 -35vmin;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 80, 30, .55), rgba(200, 80, 30, 0) 65%);
  opacity: 0; transform: scale(.4);
  transition: opacity .5s .3s ease, transform .9s .25s var(--ease-out);
}
.pt__flame {
  position: relative; width: clamp(88px, 13vw, 140px); color: var(--ember);
  opacity: 0; transform: scale(.25) translateY(24px); transform-origin: 50% 85%;
  filter: drop-shadow(0 0 24px rgba(232, 118, 58, .7));
  transition: opacity .35s .3s ease, transform .65s .28s var(--ease-out);
}
.pt__flame svg { width: 100%; height: auto; animation: flicker 1s ease-in-out infinite; }
.pt.is-entering::before { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
.pt.is-entering .pt__flame, .pt.is-entering .pt__glow { opacity: 1; transform: none; }

/* arriving on the next page: start covered, the dark collapses back into the flame, then the flame goes out */
.pt.is-arrival::before { clip-path: circle(72% at 50% 50%); transition: clip-path .75s var(--ease-in-out); }
.pt.is-arrival .pt__flame, .pt.is-arrival .pt__glow { opacity: 1; transform: none; }
.pt.is-arrival.is-leaving::before { clip-path: circle(0 at 50% 50%); }
.pt.is-arrival.is-leaving .pt__glow { opacity: 0; transform: scale(.5); transition: opacity .5s .15s ease, transform .7s var(--ease-in-out); }
.pt.is-arrival.is-leaving .pt__flame { opacity: 0; transform: scale(.3) translateY(10px); transition: opacity .3s .55s ease, transform .6s .3s var(--ease-in-out); }
.pt-arriving .loader { display: none; }
