:root {
  /* Stripe-style light system, adapted to Open Pitch orange */
  --ink: #061b31;
  --ink-soft: #50617a;
  --muted: #64748d;
  --steel: #50617a;
  --subtle: #839bc8;
  --paper: #ffffff;
  --mist: #f8fafd;
  --frost: #e5edf5;
  --wash: #fff4ed;
  --wash-strong: #ffe4d4;
  --orange: #f95f19;
  --orange-hover: #ff7a3d;
  --orange-soft: #ffd3be;
  --orange-wash: #fff0e8;

  --font: "Inter Tight", "Sohne", "Söhne", "Helvetica Neue", Arial, sans-serif;

  --text-display: 56px;
  --text-heading-lg: 48px;
  --text-heading: 32px;
  --text-heading-sm: 26px;
  --text-subheading: 22px;
  --text-body-lg: 20px;
  --text-body: 16px;
  --text-body-sm: 14px;
  --text-caption: 12px;

  --shell: min(1320px, calc(100vw - 64px));
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --bg-a-y: 0px;
  --bg-b-x: 0px;
  --bg-b-y: 0px;
  --bg-c-x: 0px;
  --bg-c-y: 0px;
}

* { box-sizing: border-box; }

/* Hide scroll bars globally while preserving scrolling. */
html,
body,
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-feature-settings: "ss01" 1, "tnum" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background: transparent;
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
.hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shell { width: var(--shell); margin: 0 auto; position: relative; }
.section { position: relative; padding: 80px 0; }
.page-content { position: relative; z-index: 2; }

/* Quiet, dynamic light atmosphere. It stays light-mode rather than becoming a decorative gradient page. */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 54%, #fbfcfe 100%);
}
.ambient-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(54% 44% at 82% 5%, rgba(249,95,25,.075), transparent 66%),
    radial-gradient(44% 40% at 8% 52%, rgba(229,237,245,.74), transparent 72%);
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform, opacity;
}
.ambient-orb-a {
  width: 42vw;
  height: 42vw;
  right: -18vw;
  top: -20vw;
  background: rgba(249,95,25,.10);
  transform: translate3d(0, var(--bg-a-y), 0);
}
.ambient-orb-b {
  width: 38vw;
  height: 38vw;
  left: -20vw;
  top: 34vh;
  background: rgba(229,237,245,.68);
  transform: translate3d(var(--bg-b-x), var(--bg-b-y), 0);
}
.ambient-orb-c {
  width: 50vw;
  height: 30vw;
  right: 2vw;
  bottom: -20vw;
  background: rgba(255,228,212,.34);
  transform: translate3d(var(--bg-c-x), var(--bg-c-y), 0);
}
.ambient-noise { display: none; }

.site-header {
  position: relative;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--frost);
}
.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.brand { width: 128px; display: inline-flex; align-items: center; }
.brand img, .footer-logo { width: 100%; height: auto; filter: none; }
.desktop-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; line-height: 1; font-weight: 400; }
.desktop-nav a { color: var(--ink); transition: color 180ms var(--ease-soft); }
.desktop-nav a:hover { color: var(--orange); }
.nav-cta { justify-self: end; }
.mobile-menu { display: none; }

.stripe-button {
  appearance: none;
  border-radius: var(--radius);
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  transition: background-color 180ms var(--ease-soft), color 180ms var(--ease-soft), border-color 180ms var(--ease-soft), transform 180ms var(--ease-soft);
}
.stripe-button span, .stripe-link span { transition: transform 180ms var(--ease-soft); }
.stripe-button:hover span, .stripe-link:hover span { transform: translateX(3px); }
.stripe-button-primary { background: var(--orange); color: #fff; }
.stripe-button-primary:hover { background: var(--orange-hover); }
.stripe-button-ghost { background: transparent; color: var(--orange); border-color: var(--orange-soft); }
.stripe-button-ghost:hover { background: var(--orange-wash); border-color: #ffb994; }
.stripe-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: var(--orange);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stripe-link:hover { color: var(--orange-hover); }

/* Hero */
.hero {
  min-height: 610px;
  padding: 72px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--frost);
}
.hero-shell {
  min-height: 455px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 3; max-width: 610px; }
.micro-label, .section-kicker {
  margin: 0 0 16px;
  font-size: var(--text-caption);
  line-height: 1.45;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -.01em;
}
.hero h1 {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: var(--text-display);
  line-height: 1.03;
  letter-spacing: -.025em;
  font-weight: 300;
}
.hero-lede {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: var(--text-body-lg);
  line-height: 1.4;
  letter-spacing: -.01em;
}
.hero-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.event-line { margin-top: 24px; display: flex; gap: 9px; align-items: center; flex-wrap: wrap; color: var(--steel, #50617a); font-size: 14px; line-height: 1.4; font-weight: 400; }
.event-sep { color: var(--frost); }

.hero-wavefield {
  position: relative;
  height: 470px;
  min-width: 0;
  align-self: stretch;
  z-index: 1;
}
#commerceField {
  position: absolute;
  width: min(790px, 59vw);
  height: 470px;
  right: -145px;
  top: 0;
  display: block;
  pointer-events: auto;
  filter: none;
}

/* Stripe statement hierarchy */
.stripe-split { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.section-copy { max-width: 760px; }
.section-copy h2,
.join-heading h2,
.how-heading h2,
.event-heading h2 {
  margin: 0 0 28px;
  font-size: var(--text-heading-lg);
  line-height: 1.03;
  letter-spacing: -.02em;
  font-weight: 300;
}
.section-copy p {
  max-width: 700px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: var(--text-subheading);
  line-height: 1.4;
  letter-spacing: -.01em;
}
.intro { border-bottom: 1px solid var(--frost); }

.how-section {
  background: transparent;
  border-bottom: 1px solid var(--frost);
}
.how-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.how-heading { position: sticky; top: 28px; }
.how-heading h2 { max-width: 560px; }
.how-steps { border-top: 1px solid var(--frost); }
.how-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--frost);
}
.step-index { color: var(--orange); font-size: var(--text-caption); line-height: 1.45; font-weight: 400; }
.how-step h3 { margin: 0 0 8px; font-size: var(--text-subheading); line-height: 1.1; letter-spacing: -.01em; font-weight: 300; }
.how-step p { margin: 0; color: var(--muted); font-size: var(--text-body); line-height: 1.45; letter-spacing: -.01em; }

.join-section { border-bottom: 1px solid var(--frost); }
.join-heading { max-width: 760px; margin-bottom: 40px; }
.expand-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.expand-card {
  min-height: 390px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition: transform 260ms var(--ease), border-color 220ms var(--ease), background-color 220ms var(--ease);
  outline: none;
  border: 1px solid var(--frost);
  background: var(--paper);
}
.expand-card-build { background: linear-gradient(180deg, #fff 0%, #fff8f4 100%); }
.expand-card-attend { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.expand-card:hover,
.expand-card:focus-visible {
  transform: translateZ(0) scale(1.012);
  border-color: var(--orange-soft);
  z-index: 2;
}
.expand-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  right: -120px;
  top: -120px;
  background: rgba(249,95,25,.055);
  transition: transform 360ms var(--ease), opacity 360ms var(--ease);
}
.expand-card-attend::before { background: rgba(229,237,245,.68); }
.expand-card:hover::before { transform: translate(-10px, 12px) scale(1.05); }
.card-kicker { position: relative; z-index: 1; margin: 0 0 16px; font-size: var(--text-caption); line-height: 1.45; font-weight: 400; color: var(--orange); }
.card-title {
  position: relative;
  z-index: 1;
  max-width: 530px;
  margin: 0;
  font-size: var(--text-heading-lg);
  line-height: 1.03;
  letter-spacing: -.02em;
  font-weight: 300;
}
.card-spacer { flex: 1; min-height: 56px; }
.card-copy { position: relative; z-index: 1; max-width: 540px; margin: 0 0 22px; color: var(--muted); font-size: var(--text-body); line-height: 1.45; }
.card-link { position: relative; z-index: 1; color: var(--orange); font-size: var(--text-body); line-height: 1.2; font-weight: 400; }
.card-link b { font-weight: 400; display: inline-block; margin-left: 6px; transition: transform 180ms var(--ease-soft); }
.expand-card:hover .card-link b { transform: translateX(3px); }
.expand-button {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  transition: background-color 180ms var(--ease-soft), color 180ms var(--ease-soft), border-color 180ms var(--ease-soft), transform 180ms var(--ease-soft);
}
.expand-card:hover .expand-button,
.expand-card:focus-visible .expand-button {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
  transform: translateY(-1px);
}

.backing-section { border-bottom: 1px solid var(--frost); }
.backing-split { padding-top: 0; }
.fine-print { margin-top: 18px !important; color: var(--ink-soft) !important; font-size: var(--text-body-sm) !important; line-height: 1.4 !important; }

.event-section { background: transparent; border-bottom: 1px solid var(--frost); }
.event-layout {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 56px;
  align-items: start;
}
.event-heading h2 { margin-bottom: 0; }
.event-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; border-top: 1px solid var(--frost); padding-top: 24px; }
.event-detail { display: grid; gap: 6px; }
.event-detail span { color: var(--muted); font-size: var(--text-caption); line-height: 1.45; }
.event-detail strong { color: var(--ink); font-size: var(--text-body); line-height: 1.4; font-weight: 300; }
.event-actions { grid-column: 2; display: flex; gap: 16px; align-items: center; margin-top: 4px; }

.footer { padding: 32px 0 40px; background: var(--mist); }
.footer-inner { padding-top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; color: var(--muted); font-size: var(--text-body-sm); }
.footer-logo { width: 118px; }
.footer-inner p { margin: 0; text-align: center; }
.footer-link { justify-self: end; }
.mobile-actions { display: none; }

/* Bottom-sheet modal with a depth-aware blur field.
   The blur is deliberately light around the modal edge and becomes stronger
   toward the far edges of the viewport. */
.morph-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  pointer-events: none;
  visibility: hidden;
}
.morph-modal.is-opening,
.morph-modal.is-open,
.morph-modal.is-closing { visibility: visible; }
.morph-modal.is-open { pointer-events: auto; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  background: rgba(6,27,49,.055);
  -webkit-backdrop-filter: blur(1.8px) saturate(.99);
  backdrop-filter: blur(1.8px) saturate(.99);
  transition: opacity 320ms var(--ease);
}

/* Medium blur starts outside a generous clarity halo around the bottom sheet. */
.modal-backdrop::before,
.modal-backdrop::after {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  opacity: 0;
  background: rgba(255,255,255,.001);
  transition: opacity 360ms var(--ease);
}
.modal-backdrop::before {
  -webkit-backdrop-filter: blur(7px) saturate(.96);
  backdrop-filter: blur(7px) saturate(.96);
  -webkit-mask-image: radial-gradient(ellipse 68% 72% at 50% 100%, transparent 0 48%, rgba(0,0,0,.12) 56%, rgba(0,0,0,.62) 73%, #000 100%);
  mask-image: radial-gradient(ellipse 68% 72% at 50% 100%, transparent 0 48%, rgba(0,0,0,.12) 56%, rgba(0,0,0,.62) 73%, #000 100%);
}
.modal-backdrop::after {
  -webkit-backdrop-filter: blur(17px) saturate(.9);
  backdrop-filter: blur(17px) saturate(.9);
  -webkit-mask-image: radial-gradient(ellipse 86% 92% at 50% 100%, transparent 0 61%, rgba(0,0,0,.08) 69%, rgba(0,0,0,.58) 84%, #000 100%);
  mask-image: radial-gradient(ellipse 86% 92% at 50% 100%, transparent 0 61%, rgba(0,0,0,.08) 69%, rgba(0,0,0,.58) 84%, #000 100%);
}
.morph-modal.is-open .modal-backdrop { opacity: 1; }
.morph-modal.is-open .modal-backdrop::before { opacity: 1; transition-delay: 35ms; }
.morph-modal.is-open .modal-backdrop::after { opacity: 1; transition-delay: 80ms; }
.morph-modal.is-closing .modal-backdrop { opacity: 0; transition-delay: 110ms; }
.morph-modal.is-closing .modal-backdrop::before,
.morph-modal.is-closing .modal-backdrop::after { opacity: 0; transition-delay: 0ms; }

.modal-panel {
  position: fixed;
  z-index: 3;
  left: 50%;
  bottom: 12px;
  width: min(900px, calc(100vw - 48px));
  height: min(740px, calc(100vh - 40px));
  max-height: calc(100vh - 24px);
  border-radius: 4px;
  border: 1px solid var(--frost);
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  opacity: .98;
  transform: translate3d(-50%, calc(100% + 36px), 0) scale(.985);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  transition:
    transform 460ms cubic-bezier(.16,1,.3,1),
    opacity 300ms ease,
    background 220ms var(--ease);
}
.morph-modal[data-mode="attend"] .modal-panel { background: #fff; }
.morph-modal.is-open .modal-panel {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
}
.morph-modal.is-closing .modal-panel {
  opacity: .98;
  transform: translate3d(-50%, calc(100% + 36px), 0) scale(.985);
  transition-timing-function: cubic-bezier(.7,0,.84,0);
}

.modal-inner {
  height: 100%;
  overflow-y: auto;
  padding: 48px 52px 56px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 190ms ease, transform 300ms var(--ease);
}
.morph-modal.is-open .modal-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 170ms;
}
.morph-modal.is-closing .modal-inner {
  opacity: 0;
  transform: translateY(10px);
  transition-delay: 0ms;
}
.modal-close {
  position: absolute;
  z-index: 8;
  top: 17px;
  right: 17px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  background: #fff;
  transition: background-color 180ms var(--ease-soft), border-color 180ms var(--ease-soft), opacity 180ms ease;
  opacity: 0;
}
.morph-modal.is-open .modal-close { opacity: 1; transition-delay: 220ms; }
.modal-close:hover { background: var(--orange); border-color: var(--orange); }
.modal-close span { position: absolute; left: 11px; top: 19px; width: 17px; height: 1px; background: var(--ink); }
.modal-close:hover span { background: #fff; }
.modal-close span:first-child { transform: rotate(45deg); }
.modal-close span:last-child { transform: rotate(-45deg); }
.modal-head { max-width: 700px; margin-bottom: 32px; padding-right: 58px; }
.modal-head h2 { margin: 0 0 16px; font-size: var(--text-heading-lg); line-height: 1.03; letter-spacing: -.02em; font-weight: 300; }
.modal-head > p:last-child { margin: 0; color: var(--muted); font-size: var(--text-body); line-height: 1.45; }
.form-wrap { display: none; }
.form-wrap.is-active { display: block; }
.registration-form { display: grid; gap: 16px; max-width: 760px; }
.registration-form label { display: grid; gap: 8px; color: var(--ink); font-size: var(--text-body-sm); line-height: 1.4; font-weight: 400; }
.registration-form input,
.registration-form textarea,
.registration-form select {
  width: 100%;
  border: 1px solid var(--frost);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 12px;
  outline: none;
  font-size: var(--text-body);
  line-height: 1.4;
  font-weight: 300;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.registration-form input::placeholder,
.registration-form textarea::placeholder { color: #9aabc0; }
.registration-form select option { color: var(--ink); }
.registration-form textarea { resize: vertical; min-height: 96px; }
.registration-form input:focus,
.registration-form textarea:focus,
.registration-form select:focus { border-color: var(--orange); background: #fffdfa; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.optional { color: var(--muted); font-weight: 300; }
.checkbox { grid-template-columns: auto 1fr !important; align-items: center; gap: 10px !important; color: var(--muted) !important; }
.checkbox input { width: 16px; height: 16px; margin: 0; accent-color: var(--orange); }
.form-submit { justify-self: start; margin-top: 2px; }
.form-success { text-align: left; padding: 40px 0; max-width: 620px; }
.success-mark { width: 42px; height: 42px; border-radius: 9999px; display: grid; place-items: center; background: var(--orange-wash); color: var(--orange); margin-bottom: 22px; }
.form-success h3 { margin: 0 0 12px; font-size: var(--text-heading-lg); line-height: 1.03; letter-spacing: -.02em; font-weight: 300; }
.form-success p { color: var(--muted); font-size: var(--text-body); line-height: 1.45; }
.success-meta { margin: 24px 0; color: var(--muted); font-size: var(--text-body-sm); }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 580ms var(--ease), transform 580ms var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 40px, 1320px); }
  .desktop-nav { display: none; }
  .nav-wrap { grid-template-columns: 1fr auto; }
  .nav-cta { display: none; }
  .mobile-menu { display: block; justify-self: end; width: 42px; height: 42px; border: 0; background: transparent; position: relative; }
  .mobile-menu span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); }
  .mobile-menu span:first-child { top: 16px; }
  .mobile-menu span:last-child { top: 24px; }
  .hero { min-height: auto; padding-top: 56px; }
  .hero-shell { grid-template-columns: 1fr; gap: 16px; }
  .hero-copy { max-width: 760px; }
  .hero-wavefield { height: 340px; }
  #commerceField { width: 780px; height: 380px; right: -170px; top: -24px; }
  .stripe-split { grid-template-columns: 1fr; gap: 20px; }
  .how-layout { grid-template-columns: 1fr; gap: 40px; }
  .how-heading { position: static; }
  .expand-card-grid { grid-template-columns: 1fr; }
  .event-layout { grid-template-columns: 1fr; gap: 32px; }
  .event-actions { grid-column: 1; }
}

@media (max-width: 640px) {
  :root {
    --text-display: 48px;
    --text-heading-lg: 40px;
    --text-heading: 30px;
    --text-heading-sm: 24px;
    --text-subheading: 20px;
    --text-body-lg: 18px;
    --shell: calc(100vw - 32px);
  }
  .site-header, .nav-wrap { height: 68px; }
  .site-header { height: 68px; }
  .brand { width: 112px; }
  .section { padding: 60px 0; }
  .hero { padding-top: 44px; padding-bottom: 56px; }
  .hero h1 { margin-bottom: 22px; }
  .hero-lede { font-size: var(--text-body-lg); }
  .hero-actions { gap: 8px; }
  .stripe-button { min-height: 46px; padding-inline: 20px; }
  .event-line { margin-top: 20px; }
  .hero-wavefield { height: 270px; margin-top: 4px; }
  #commerceField { width: 640px; height: 315px; right: -260px; top: -20px; }
  .section-copy h2,
  .join-heading h2,
  .how-heading h2,
  .event-heading h2 { font-size: 40px; }
  .section-copy p { font-size: 20px; }
  .how-step { grid-template-columns: 38px 1fr; gap: 14px; padding: 22px 0 24px; }
  .join-heading { margin-bottom: 28px; }
  .expand-card { min-height: 330px; padding: 24px; }
  .card-title { font-size: 40px; }
  .expand-button { top: 16px; right: 16px; }
  .card-spacer { min-height: 44px; }
  .event-details { grid-template-columns: 1fr; gap: 20px; }
  .event-actions { flex-direction: column; align-items: flex-start; }
  .footer { padding-bottom: 94px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner p { display: none; }
  .mobile-actions {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 90;
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 6px;
    padding: 6px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--frost);
    backdrop-filter: blur(16px);
  }
  .mobile-action { border: 0; border-radius: var(--radius); padding: 13px 15px; font-size: 14px; font-weight: 400; }
  .mobile-action-secondary { background: var(--mist); color: var(--ink); }
  .mobile-action-primary { background: var(--orange); color: white; }
  .modal-inner { padding: 52px 22px 34px; }
  .modal-panel { max-height: calc(100vh - 10px); }
  .modal-head { padding-right: 34px; }
  .modal-head h2 { font-size: 40px; }
  .field-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 640px) {
  .modal-panel {
    bottom: max(6px, env(safe-area-inset-bottom));
    width: calc(100vw - 12px);
    height: min(760px, calc(100dvh - 18px));
    max-height: calc(100dvh - 18px);
  }
  .modal-backdrop::before {
    -webkit-mask-image: radial-gradient(ellipse 92% 68% at 50% 100%, transparent 0 52%, rgba(0,0,0,.15) 62%, rgba(0,0,0,.7) 80%, #000 100%);
    mask-image: radial-gradient(ellipse 92% 68% at 50% 100%, transparent 0 52%, rgba(0,0,0,.15) 62%, rgba(0,0,0,.7) 80%, #000 100%);
  }
  .modal-backdrop::after {
    -webkit-mask-image: linear-gradient(to top, transparent 0 48%, rgba(0,0,0,.25) 66%, #000 100%);
    mask-image: linear-gradient(to top, transparent 0 48%, rgba(0,0,0,.25) 66%, #000 100%);
  }
}

/* ===== V6 — simplified page + multi-stage ticket flow ===== */
.section { padding: 68px 0; }
.hero { min-height: 590px; padding: 64px 0 68px; }
.hero-shell { min-height: 440px; gap: 36px; }
.hero-lede strong { color: var(--ink); font-weight: 400; }
.hero-lede { max-width: 620px; }
.event-line { max-width: 620px; }

.why-section { border-bottom: 1px solid var(--frost); }
.compact-split { align-items: start; }
.inline-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  color: var(--ink);
  font-size: var(--text-body-sm);
  font-weight: 400;
}
.inline-flow i {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--orange-soft);
}

.prize-section { border-bottom: 1px solid var(--frost); }
.prize-card {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  overflow: hidden;
  border: 1px solid #ffd9c8;
  border-radius: var(--radius);
  background:
    radial-gradient(80% 120% at 92% 5%, rgba(255,190,94,.40), transparent 58%),
    linear-gradient(135deg, #fff7f2 0%, #fff 48%, #fff0e7 100%);
}
.prize-copy { padding: 48px; align-self: center; }
.prize-copy h2 {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: var(--text-heading-lg);
  line-height: 1.03;
  letter-spacing: -.02em;
  font-weight: 300;
}
.prize-copy p:not(.section-kicker) {
  max-width: 640px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: var(--text-body-lg);
  line-height: 1.42;
  letter-spacing: -.01em;
}
.prize-mark {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px;
  color: #fff;
  background:
    radial-gradient(circle at 45% 75%, rgba(255,201,52,.98) 0 3%, rgba(249,95,25,.97) 24%, rgba(189,48,28,.93) 46%, transparent 68%),
    linear-gradient(145deg, #ff8d2f 0%, #f95f19 38%, #651e5d 100%);
}
.prize-mark-small,
.prize-mark-foot {
  font-size: var(--text-caption);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.prize-mark strong {
  max-width: 450px;
  font-size: clamp(48px, 5vw, 76px);
  line-height: .95;
  letter-spacing: -.035em;
  font-weight: 300;
}

.join-section { padding-top: 74px; }
.join-heading { margin-bottom: 32px; }
.expand-card { min-height: 350px; }
.card-copy { max-width: 570px; }

.event-section { padding: 68px 0 72px; }
.event-detail-wide { grid-column: 1 / -1; }

/* Flow UI */
.flow-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-right: 58px;
  margin-bottom: 14px;
}
.flow-topline .micro-label { margin: 0; }
.step-label {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-caption);
  line-height: 1.4;
  font-weight: 400;
}
.flow-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 32px;
}
.flow-progress span {
  height: 3px;
  border-radius: 999px;
  background: var(--frost);
  transition: background-color 200ms ease, transform 200ms ease;
}
.flow-progress span.is-active,
.flow-progress span.is-complete { background: var(--orange); }
.flow-progress span.is-active { transform: scaleY(1.45); transform-origin: center; }

.modal-head { margin-bottom: 26px; }
.modal-head h2 { margin-bottom: 12px; }
.flow-form { display: block; max-width: 780px; }
.flow-stage { display: none; }
.flow-stage.is-active { display: block; animation: flowIn 280ms var(--ease); }
@keyframes flowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.choice-card {
  min-height: 154px;
  padding: 22px;
  text-align: left;
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 220ms var(--ease);
}
.choice-card:hover { transform: translateY(-2px); border-color: var(--orange-soft); }
.choice-card.is-selected { border-color: var(--orange); background: var(--orange-wash); }
.choice-card strong { display: block; margin-bottom: 8px; font-size: var(--text-subheading); line-height: 1.1; font-weight: 300; letter-spacing: -.01em; }
.choice-card span { display: block; color: var(--muted); font-size: var(--text-body-sm); line-height: 1.45; }

.flow-fields { display: grid; gap: 16px; }
.flow-fields label,
.dynamic-attendees label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: var(--text-body-sm);
  line-height: 1.4;
  font-weight: 400;
}
.flow-fields input,
.flow-fields textarea,
.flow-fields select,
.dynamic-attendees input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
  font-size: var(--text-body);
  line-height: 1.4;
  font-weight: 300;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.flow-fields textarea { min-height: 104px; resize: vertical; }
.flow-fields input:focus,
.flow-fields textarea:focus,
.flow-fields select:focus,
.dynamic-attendees input:focus { border-color: var(--orange); background: #fffdfa; }
.flow-fields input::placeholder,
.flow-fields textarea::placeholder,
.dynamic-attendees input::placeholder { color: #9aabc0; }
.flow-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.flow-field-row.three { grid-template-columns: 1fr 1fr 1fr; }
.field-help { color: var(--muted); font-size: var(--text-caption); line-height: 1.45; font-weight: 300; }

.quantity-wrap {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  background: var(--mist);
}
.quantity-copy strong { display: block; margin-bottom: 4px; font-size: var(--text-body); font-weight: 400; }
.quantity-copy span { color: var(--muted); font-size: var(--text-body-sm); }
.quantity-control { display: grid; grid-template-columns: 40px 48px 40px; align-items: center; }
.quantity-control button {
  height: 40px;
  border: 1px solid var(--frost);
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}
.quantity-control button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.quantity-control button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.quantity-control output {
  height: 40px;
  display: grid;
  place-items: center;
  border-top: 1px solid var(--frost);
  border-bottom: 1px solid var(--frost);
  background: #fff;
  font-size: var(--text-body);
  font-weight: 400;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  background: var(--mist);
}
.segmented button {
  min-height: 42px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-size: var(--text-body-sm);
  font-weight: 400;
}
.segmented button.is-selected { background: #fff; color: var(--ink); }

.dynamic-attendees { display: grid; gap: 12px; margin-top: 20px; }
.attendee-row {
  display: grid;
  grid-template-columns: 34px 1fr 1fr;
  gap: 10px;
  align-items: end;
  padding-top: 14px;
  border-top: 1px solid var(--frost);
}
.attendee-index {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  background: var(--orange-wash);
  color: var(--orange);
  font-size: var(--text-caption);
  font-weight: 400;
}

.review-card {
  border-top: 1px solid var(--frost);
  border-bottom: 1px solid var(--frost);
}
.review-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--frost);
  font-size: var(--text-body-sm);
  line-height: 1.45;
}
.review-row:last-child { border-bottom: 0; }
.review-row span { color: var(--muted); }
.review-row strong { font-weight: 400; color: var(--ink); }
.review-total { margin-top: 18px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 18px; background: var(--mist); border: 1px solid var(--frost); border-radius: var(--radius); }
.review-total span { color: var(--muted); font-size: var(--text-body-sm); }
.review-total strong { font-size: var(--text-heading-sm); font-weight: 300; letter-spacing: -.01em; }
.review-note { margin: 16px 0 0; color: var(--muted); font-size: var(--text-body-sm); line-height: 1.5; }

.flow-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--frost);
}
.flow-footer-spacer { flex: 1; }
.flow-back { color: var(--muted); }
.flow-back:hover { color: var(--ink); }
.flow-next[disabled] { opacity: .45; cursor: not-allowed; }

.payment-status { padding: 72px 0; max-width: 540px; }
.payment-status h3 { margin: 18px 0 10px; font-size: var(--text-heading); font-weight: 300; letter-spacing: -.015em; }
.payment-status p { color: var(--muted); font-size: var(--text-body); }
.status-spinner { width: 30px; height: 30px; border: 2px solid var(--frost); border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { padding-top: 26px; max-width: 760px; }
.ticket-stack { display: grid; gap: 10px; margin: 24px 0; }
.ticket-stub {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 22px;
  border: 1px solid #ffd8c5;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 100%, rgba(249,95,25,.12), transparent 44%),
    #fffaf7;
  overflow: hidden;
}
.ticket-stub::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 132px;
  border-left: 1px dashed #ffc2a5;
}
.ticket-main strong { display: block; margin-bottom: 7px; font-size: var(--text-subheading); line-height: 1.1; font-weight: 300; }
.ticket-main span { display: block; color: var(--muted); font-size: var(--text-body-sm); line-height: 1.45; }
.ticket-code { min-width: 112px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px; }
.ticket-code span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.ticket-code strong { font-size: var(--text-caption); font-weight: 400; word-break: break-all; }
.success-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.error-banner {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #ffc9b0;
  background: #fff3ed;
  color: #8a2d08;
  font-size: var(--text-body-sm);
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .prize-card { grid-template-columns: 1fr; }
  .prize-mark { min-height: 330px; }
}

@media (max-width: 640px) {
  .section { padding: 54px 0; }
  .hero { padding: 42px 0 52px; }
  .prize-copy { padding: 28px 24px; }
  .prize-copy h2 { font-size: 40px; }
  .prize-mark { padding: 28px 24px; min-height: 300px; }
  .choice-grid { grid-template-columns: 1fr; }
  .flow-field-row,
  .flow-field-row.three { grid-template-columns: 1fr; }
  .attendee-row { grid-template-columns: 30px 1fr; }
  .attendee-row label:last-child { grid-column: 2; }
  .review-row { grid-template-columns: 1fr; gap: 4px; }
  .ticket-stub { grid-template-columns: 1fr; }
  .ticket-stub::after { display: none; }
  .ticket-code { align-items: flex-start; }
  .flow-topline { padding-right: 40px; }
  .flow-progress { margin-bottom: 24px; }
  .flow-footer { position: sticky; bottom: -34px; margin-inline: -22px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); z-index: 8; }
  .flow-next { min-width: 150px; }
}

/* ===== V7 — prize simplification, richer cards, theme system, icon microinteractions ===== */
:root {
  color-scheme: light;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-muted: #f8fafd;
  --field-bg: #ffffff;
  --header-bg: rgba(255,255,255,.92);
  --mobile-bar-bg: rgba(255,255,255,.92);
  --card-pitch-bg:
    radial-gradient(78% 92% at 100% 0%, rgba(249,95,25,.20), transparent 57%),
    linear-gradient(145deg, #fff1e7 0%, #fff8f3 44%, #ffffff 100%);
  --card-attend-bg:
    radial-gradient(82% 94% at 100% 0%, rgba(55,132,255,.17), transparent 58%),
    linear-gradient(145deg, #eef6ff 0%, #f7fbff 48%, #ffffff 100%);
  --card-attend-orb: rgba(53,128,255,.11);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f8f4fb;
  --ink-soft: #c8bbd3;
  --muted: #ab9db8;
  --steel: #b9abc5;
  --subtle: #93849f;
  --paper: #120d18;
  --mist: #1a1322;
  --frost: #372a42;
  --wash: #2a1715;
  --wash-strong: #442019;
  --orange: #ff6a24;
  --orange-hover: #ff824c;
  --orange-soft: #7d3b21;
  --orange-wash: #2c1811;
  --surface: #16101d;
  --surface-raised: #1b1423;
  --surface-muted: #201827;
  --field-bg: #17111e;
  --header-bg: rgba(18,13,24,.88);
  --mobile-bar-bg: rgba(18,13,24,.90);
  --card-pitch-bg:
    radial-gradient(82% 96% at 100% 0%, rgba(255,106,36,.24), transparent 56%),
    linear-gradient(145deg, #2b1719 0%, #211521 48%, #17111d 100%);
  --card-attend-bg:
    radial-gradient(82% 96% at 100% 0%, rgba(71,138,255,.23), transparent 56%),
    linear-gradient(145deg, #13213a 0%, #171a2e 48%, #16111f 100%);
  --card-attend-orb: rgba(75,141,255,.17);
}

html,
body { background: var(--paper); }
body,
.site-header,
.footer,
.expand-card,
.modal-panel,
.choice-card,
.flow-fields input,
.flow-fields textarea,
.flow-fields select,
.dynamic-attendees input,
.segmented button,
.quantity-control button,
.quantity-control output,
.ticket-stub,
.mobile-actions,
.theme-toggle {
  transition: background-color 260ms var(--ease-soft), color 260ms var(--ease-soft), border-color 260ms var(--ease-soft), filter 260ms var(--ease-soft);
}

.ambient-bg {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 52%, #fbfcfe 100%);
  transition: background 480ms var(--ease-soft);
}
html[data-theme="dark"] .ambient-bg {
  background:
    radial-gradient(90% 58% at 68% 0%, rgba(102,46,111,.34), transparent 60%),
    radial-gradient(72% 52% at 4% 38%, rgba(50,24,82,.48), transparent 68%),
    linear-gradient(180deg, #120d18 0%, #17101f 48%, #0f0b15 100%);
}
html[data-theme="dark"] .ambient-bg::before {
  background:
    radial-gradient(48% 40% at 85% 4%, rgba(255,106,36,.10), transparent 66%),
    radial-gradient(42% 38% at 7% 56%, rgba(84,51,116,.18), transparent 72%);
}
html[data-theme="dark"] .ambient-orb-a { background: rgba(255,106,36,.11); }
html[data-theme="dark"] .ambient-orb-b { background: rgba(91,56,124,.22); }
html[data-theme="dark"] .ambient-orb-c { background: rgba(83,41,89,.18); }

.site-header { background: var(--header-bg); backdrop-filter: blur(18px) saturate(1.05); }
.nav-wrap { grid-template-columns: 1fr auto; }
.nav-actions { display: flex; align-items: center; justify-self: end; gap: 10px; }
.nav-cta { justify-self: auto; }
.mobile-menu, .desktop-nav { display: none !important; }

.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
}
.theme-toggle:hover { border-color: var(--orange-soft); background: var(--orange-wash); }
.theme-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 19px;
  line-height: 1;
  transition: opacity 220ms var(--ease-soft), transform 320ms cubic-bezier(.22,.8,.25,1);
}
.theme-icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-icon-moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
html[data-theme="dark"] .theme-icon-sun { opacity: 0; transform: rotate(70deg) scale(.65); }
html[data-theme="dark"] .theme-icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
html[data-theme="dark"] .brand img,
html[data-theme="dark"] .footer-logo { filter: invert(1) brightness(1.08); }

/* Chevron-to-arrow interaction. */
.stripe-button > span,
.event-actions .stripe-link > span,
.flow-next > span,
.card-link b {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 14px;
  font-size: 0;
  line-height: 14px;
  transform: none !important;
}
.stripe-button > span::before,
.event-actions .stripe-link > span::before,
.flow-next > span::before,
.card-link b::before,
.stripe-button > span::after,
.event-actions .stripe-link > span::after,
.flow-next > span::after,
.card-link b::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  transition: opacity 180ms var(--ease-soft), transform 220ms var(--ease-soft);
}
.stripe-button > span::before,
.event-actions .stripe-link > span::before,
.flow-next > span::before,
.card-link b::before { content: "›"; opacity: 1; transform: translateX(0); }
.stripe-button > span::after,
.event-actions .stripe-link > span::after,
.flow-next > span::after,
.card-link b::after { content: "→"; opacity: 0; transform: translateX(-5px); }
.stripe-button:hover > span::before,
.event-actions .stripe-link:hover > span::before,
.flow-next:hover > span::before,
.expand-card:hover .card-link b::before { opacity: 0; transform: translateX(5px); }
.stripe-button:hover > span::after,
.event-actions .stripe-link:hover > span::after,
.flow-next:hover > span::after,
.expand-card:hover .card-link b::after { opacity: 1; transform: translateX(0); }

.expand-button span {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  font-size: 0;
}
.expand-button span::before,
.expand-button span::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 17px;
  transition: opacity 190ms var(--ease-soft), transform 240ms var(--ease-soft);
}
.expand-button span::before { content: "↗"; opacity: 1; transform: translate(0,0); }
.expand-button span::after { content: "→"; opacity: 0; transform: translate(-4px,4px); }
.expand-card:hover .expand-button span::before { opacity: 0; transform: translate(4px,-4px); }
.expand-card:hover .expand-button span::after { opacity: 1; transform: translate(0,0); }

/* Community prize: keep only the original copy side. */
.prize-card {
  width: min(760px, 100%);
  min-height: 0;
  display: block;
  grid-template-columns: none;
  background:
    radial-gradient(76% 130% at 100% 0%, rgba(255,190,94,.34), transparent 58%),
    linear-gradient(135deg, #fff7f2 0%, #fff 58%, #fff5ef 100%);
}
.prize-copy { padding: 46px 48px 48px; }
html[data-theme="dark"] .prize-card {
  border-color: rgba(255,106,36,.28);
  background:
    radial-gradient(82% 140% at 100% 0%, rgba(255,106,36,.16), transparent 58%),
    linear-gradient(135deg, #2a1718 0%, #1b1422 64%, #17111d 100%);
}

/* More color in the two registration cards. */
.expand-card-build { background: var(--card-pitch-bg); border-color: color-mix(in srgb, var(--orange) 22%, var(--frost)); }
.expand-card-attend { background: var(--card-attend-bg); border-color: color-mix(in srgb, #4387f7 20%, var(--frost)); }
.expand-card-build::before { background: rgba(249,95,25,.12); }
.expand-card-attend::before { background: var(--card-attend-orb); }
.expand-card:hover { transform: translateZ(0) scale(1.014); }

html[data-theme="dark"] .expand-button,
html[data-theme="dark"] .modal-close,
html[data-theme="dark"] .choice-card,
html[data-theme="dark"] .flow-fields input,
html[data-theme="dark"] .flow-fields textarea,
html[data-theme="dark"] .flow-fields select,
html[data-theme="dark"] .dynamic-attendees input,
html[data-theme="dark"] .quantity-control button,
html[data-theme="dark"] .quantity-control output,
html[data-theme="dark"] .segmented button.is-selected { background: var(--surface-raised); color: var(--ink); }
html[data-theme="dark"] .flow-fields input:focus,
html[data-theme="dark"] .flow-fields textarea:focus,
html[data-theme="dark"] .flow-fields select:focus,
html[data-theme="dark"] .dynamic-attendees input:focus { background: #211727; }
html[data-theme="dark"] .choice-card.is-selected { background: var(--orange-wash); }
html[data-theme="dark"] .segmented { background: #100b16; }
html[data-theme="dark"] .review-total,
html[data-theme="dark"] .quantity-wrap { background: var(--surface-muted); }
html[data-theme="dark"] .ticket-stub {
  background:
    radial-gradient(circle at 100% 100%, rgba(255,106,36,.14), transparent 44%),
    #1c1421;
  border-color: rgba(255,106,36,.32);
}
html[data-theme="dark"] .footer { background: #100b16; }
html[data-theme="dark"] .mobile-actions { background: var(--mobile-bar-bg); }
html[data-theme="dark"] .mobile-action-secondary { background: var(--surface-muted); color: var(--ink); }

/* Full local payment simulation. */
.payment-status {
  padding: 4px 0 0;
  max-width: 780px;
}
.test-checkout {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(250px,.72fr);
  gap: 28px;
  align-items: start;
}
.test-checkout-main,
.test-order {
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  background: var(--surface-raised);
}
.test-checkout-main { padding: 28px; }
.test-order { padding: 22px; }
.test-mode-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.test-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--orange-wash);
  color: var(--orange);
  font-size: 10px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.test-checkout h3 { margin: 0 0 8px; font-size: var(--text-heading); line-height: 1.05; font-weight: 300; letter-spacing: -.015em; }
.test-checkout-intro { margin: 0 0 24px; color: var(--muted); font-size: var(--text-body-sm); line-height: 1.45; }
.payment-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin-bottom: 22px; border: 1px solid var(--frost); border-radius: var(--radius); background: var(--surface-muted); }
.payment-tab { min-height: 42px; border: 0; border-radius: 2px; background: transparent; color: var(--muted); font-size: var(--text-body-sm); font-weight: 400; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.payment-tab:hover { transform: translateY(-1px); }
.payment-tab.is-active { background: var(--surface-raised); color: var(--ink); }
.test-payment-fields { display: grid; gap: 14px; }
.test-payment-fields label { display: grid; gap: 8px; color: var(--ink); font-size: var(--text-body-sm); font-weight: 400; }
.test-payment-fields input,
.test-payment-fields select { width: 100%; min-height: 46px; padding: 12px 13px; border: 1px solid var(--frost); border-radius: var(--radius); background: var(--field-bg); color: var(--ink); outline: none; font-size: var(--text-body); font-weight: 300; }
.test-payment-fields input:focus,
.test-payment-fields select:focus { border-color: var(--orange); }
.test-payment-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.test-pay-button { width: 100%; margin-top: 4px; }
.test-checkout-back { margin-top: 12px; }
.test-order-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--frost); font-size: var(--text-body-sm); line-height: 1.4; }
.test-order-row:last-of-type { border-bottom: 0; }
.test-order-row span { color: var(--muted); }
.test-order-row strong { font-weight: 400; text-align: right; }
.test-order-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 18px; margin-top: 6px; border-top: 1px solid var(--frost); }
.test-order-total span { color: var(--muted); font-size: var(--text-body-sm); }
.test-order-total strong { font-size: var(--text-heading-sm); font-weight: 300; letter-spacing: -.01em; }
.test-processing { display: grid; place-items: center; min-height: 360px; text-align: center; }
.test-processing .status-spinner { margin-bottom: 18px; }
.test-processing h3 { margin-bottom: 8px; }
.test-processing p { max-width: 420px; margin: 0; }

html[data-theme="dark"] .modal-panel { background: var(--surface-raised) !important; }
html[data-theme="dark"] .modal-backdrop { background: rgba(7,4,10,.16); }

@media (max-width: 1000px) {
  .nav-cta { display: inline-flex; }
  .prize-card { width: min(760px, 100%); }
}

@media (max-width: 720px) {
  .test-checkout { grid-template-columns: 1fr; }
  .test-order { order: -1; }
}

@media (max-width: 640px) {
  .nav-actions { gap: 6px; }
  .theme-toggle { width: 40px; height: 40px; }
  .nav-cta { min-height: 40px; padding-inline: 14px; }
  .prize-copy { padding: 30px 24px 32px; }
  .test-checkout-main, .test-order { padding: 20px; }
  .test-payment-row { grid-template-columns: 1fr; }
}

/* Small directional feedback on the remaining utility icons. */
.footer-link span { display: inline-block; transition: transform 200ms var(--ease-soft); }
.footer-link:hover span { transform: translateY(-3px); }
.flow-back { transition: color 180ms var(--ease-soft), transform 200ms var(--ease-soft); }
.flow-back:hover { transform: translateX(-3px); }
.modal-close { transition: background-color 180ms var(--ease-soft), border-color 180ms var(--ease-soft), opacity 180ms ease, transform 220ms var(--ease-soft); }
.modal-close:hover { transform: rotate(3deg) scale(1.03); }

/* ===== V8 — participation row, prize visual, simplified interaction system ===== */

/* The hero is now copy-led; the data visualization has moved to the community prize. */
.hero {
  min-height: 0;
  padding: 68px 0 72px;
}
.hero-shell {
  min-height: 0;
  display: block;
}
.hero-copy {
  max-width: 760px;
}
.hero-wavefield { display: none !important; }

/* Remove decorative icon / chevron microinteractions while keeping functional hover states. */
.stripe-button > span,
.event-actions .stripe-link > span,
.flow-next > span,
.card-link b,
.expand-button span {
  position: static !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  font-size: inherit !important;
  line-height: inherit !important;
  transform: none !important;
  transition: none !important;
}
.stripe-button > span::before,
.stripe-button > span::after,
.event-actions .stripe-link > span::before,
.event-actions .stripe-link > span::after,
.flow-next > span::before,
.flow-next > span::after,
.card-link b::before,
.card-link b::after,
.expand-button span::before,
.expand-button span::after { display: none !important; content: none !important; }
.stripe-button span,
.stripe-link span,
.card-link b { transform: none !important; transition: none !important; }
.stripe-button:hover span,
.stripe-link:hover span,
.expand-card:hover .card-link b { transform: none !important; }
.theme-icon,
.theme-toggle { transition: none !important; }
.expand-card::before { transition: none !important; }
.expand-card:hover::before { transform: none !important; }
.expand-button,
.expand-card:hover .expand-button,
.expand-card:focus-visible .expand-button { transform: none !important; }

/* Prize + two registration choices share one row. */
.participation-section {
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--frost);
}
.participation-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
  min-height: 430px;
}

.prize-card {
  flex: 1.9 1 0;
  width: auto;
  min-width: 0;
  min-height: 430px;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--orange) 24%, var(--frost));
  border-radius: var(--radius);
  background: #fff6ef;
  isolation: isolate;
}
.prize-viz {
  position: absolute;
  inset: -8% -14% -12% 20%;
  width: 102%;
  height: 120%;
  z-index: 0;
  display: block;
  opacity: .95;
  pointer-events: auto;
}
.prize-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,248,243,.995) 0%, rgba(255,248,243,.96) 38%, rgba(255,248,243,.72) 58%, rgba(255,248,243,.12) 82%, rgba(255,248,243,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(249,95,25,.045));
}
.prize-copy {
  position: relative;
  z-index: 2;
  width: min(58%, 560px);
  height: 100%;
  padding: 38px 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.prize-copy h2 {
  max-width: 470px;
  margin: 0 0 22px;
  font-size: var(--text-heading-lg);
  line-height: 1.03;
  letter-spacing: -.02em;
  font-weight: 300;
}
.prize-copy p:not(.section-kicker) {
  max-width: 510px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.46;
}

/* Narrow, vertical registration cards. Only their size expansion remains on hover. */
.registration-card {
  flex: .64 1 0;
  width: auto;
  min-width: 190px;
  min-height: 430px;
  padding: 26px 24px 24px;
  transform: none !important;
  transition: flex-grow 300ms var(--ease), border-color 180ms var(--ease-soft), background-color 180ms var(--ease-soft) !important;
}
.registration-card:hover,
.registration-card:focus-visible {
  flex-grow: .78;
  transform: none !important;
  z-index: 3;
}
.registration-card .card-title {
  max-width: 260px;
  padding-right: 22px;
  font-size: 30px;
  line-height: 1.04;
}
.registration-card .card-copy {
  max-width: 280px;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 18px;
}
.registration-card .card-spacer { min-height: 38px; }
.registration-card .expand-button {
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
}
.registration-card .card-link { font-size: 14px; }

/* Dark treatment for the combined participation area. */
html[data-theme="dark"] .prize-card {
  border-color: rgba(255,106,36,.30);
  background: #24131c;
}
html[data-theme="dark"] .prize-shade {
  background:
    linear-gradient(90deg, rgba(31,18,29,.995) 0%, rgba(31,18,29,.96) 38%, rgba(31,18,29,.72) 60%, rgba(31,18,29,.16) 83%, rgba(31,18,29,0) 100%),
    linear-gradient(180deg, rgba(255,106,36,.04), rgba(15,10,19,.18));
}
html[data-theme="dark"] .prize-copy p:not(.section-kicker) { color: var(--muted); }

@media (max-width: 1080px) {
  .participation-row { flex-wrap: wrap; }
  .prize-card { flex: 1 1 100%; min-height: 400px; }
  .registration-card { flex: 1 1 calc(50% - 7px); min-width: 0; min-height: 330px; }
  .registration-card:hover,
  .registration-card:focus-visible { flex-grow: 1; }
  .prize-copy { width: min(64%, 580px); }
}

@media (max-width: 700px) {
  .hero { padding: 52px 0 56px; }
  .participation-section { padding: 48px 0 56px; }
  .participation-row { display: grid; grid-template-columns: 1fr; gap: 12px; min-height: 0; }
  .prize-card { min-height: 430px; }
  .prize-viz { inset: 18% -48% -10% 18%; width: 132%; height: 88%; opacity: .78; }
  .prize-shade {
    background:
      linear-gradient(180deg, rgba(255,248,243,.995) 0%, rgba(255,248,243,.94) 48%, rgba(255,248,243,.46) 72%, rgba(255,248,243,.04) 100%);
  }
  html[data-theme="dark"] .prize-shade {
    background:
      linear-gradient(180deg, rgba(31,18,29,.995) 0%, rgba(31,18,29,.94) 48%, rgba(31,18,29,.50) 74%, rgba(31,18,29,.06) 100%);
  }
  .prize-copy { width: 100%; height: auto; padding: 26px 24px 30px; justify-content: flex-start; }
  .prize-copy h2 { font-size: 40px; max-width: 320px; }
  .registration-card { min-height: 275px; padding: 24px; }
  .registration-card:hover,
  .registration-card:focus-visible { transform: none !important; }
  .registration-card .card-title { font-size: 30px; max-width: 330px; }
}

/* ===== V9 — hero radial commerce lines ===== */
.hero {
  padding: 56px 0 64px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  align-items: center;
  gap: 18px;
}
.hero-copy {
  max-width: 620px;
}
.hero-viz {
  position: relative;
  min-width: 0;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-commerce {
  width: min(100%, 760px);
  margin-left: auto;
  transform: translateX(6%);
  pointer-events: auto;
}
.hero-commerce::before {
  content: "";
  position: absolute;
  inset: 8% 14% 12% 10%;
  background: radial-gradient(circle at 50% 58%, rgba(249,95,25,.08), rgba(249,95,25,0) 58%);
  pointer-events: none;
}
.hero-commerce > * {
  position: relative;
  z-index: 1;
}
.hero-commerce::after {
  content: "";
  position: absolute;
  inset: 14% 2% 8% 18%;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.40), rgba(255,255,255,0));
  filter: blur(40px);
  opacity: .6;
  pointer-events: none;
}
html[data-theme="dark"] .hero-commerce::before {
  background: radial-gradient(circle at 50% 58%, rgba(255,106,36,.12), rgba(255,106,36,0) 58%);
}
html[data-theme="dark"] .hero-commerce::after {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
  opacity: .4;
}
/* Allow the commerce-lines component to visually float in the hero. */
.hero-commerce .commerce-lines,
.hero-commerce > div {
  background: transparent !important;
}

.prize-card {
  background:
    radial-gradient(circle at 82% 26%, rgba(249,95,25,.14), rgba(249,95,25,0) 32%),
    linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,247,240,.98));
}
.prize-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 92% 18%, rgba(249,95,25,.18), rgba(249,95,25,0) 28%),
    radial-gradient(circle at 78% 74%, rgba(93,125,255,.12), rgba(93,125,255,0) 32%),
    linear-gradient(115deg, rgba(255,255,255,.18), rgba(255,255,255,0) 48%);
  pointer-events: none;
}
html[data-theme="dark"] .prize-card {
  background:
    radial-gradient(circle at 82% 24%, rgba(255,106,36,.16), rgba(255,106,36,0) 34%),
    linear-gradient(180deg, rgba(39,22,33,.96), rgba(27,17,25,.98));
}
html[data-theme="dark"] .prize-backdrop {
  background:
    radial-gradient(circle at 90% 18%, rgba(255,106,36,.20), rgba(255,106,36,0) 28%),
    radial-gradient(circle at 80% 74%, rgba(124,121,255,.12), rgba(124,121,255,0) 32%),
    linear-gradient(115deg, rgba(255,255,255,.04), rgba(255,255,255,0) 52%);
}

@media (max-width: 1080px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-viz {
    min-height: 360px;
    order: 2;
  }
  .hero-commerce {
    width: min(100%, 820px);
    transform: translateX(0);
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 42px 0 48px;
  }
  .hero-viz {
    min-height: 270px;
    margin-top: 6px;
  }
  .hero-commerce {
    width: 100%;
    transform: none;
  }
  .prize-card {
    min-height: 360px;
  }
}

/* ===== V10 — full-bleed hero visualization + compact UI refinements ===== */
:root {
  --font-micro: "Outfit", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}

/* Small metadata/caption text follows the Open Pitch utility type treatment. */
.micro-label,
.section-kicker,
.card-kicker,
.step-label,
.step-index,
.event-detail > span,
.event-line,
.field-help,
.optional,
.quantity-copy span,
.ticket-code strong,
.mobile-action {
  font-family: var(--font-micro);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 500;
}

/* The first radial scene now fills the whole hero and terminates exactly at its divider. */
.hero {
  position: relative;
  min-height: 640px;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--frost);
}
.hero-shell {
  position: relative;
  display: block;
  min-height: 640px;
}
.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 640px;
  padding: 78px 0 82px;
  pointer-events: none;
}
.hero-copy .stripe-button,
.hero-copy a,
.hero-copy button {
  pointer-events: auto;
}
.hero-viz {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  min-height: 0;
  transform: translateX(-50%);
  display: block;
  overflow: hidden;
  pointer-events: auto;
}
.hero-commerce {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  transform: none;
  pointer-events: auto;
}
.hero-commerce > div {
  width: 100% !important;
  height: 100% !important;
}
.hero-commerce::before {
  inset: 0;
  background:
    radial-gradient(circle at 52% 92%, rgba(249,95,25,.08), rgba(249,95,25,0) 38%),
    linear-gradient(90deg, rgba(255,255,255,.50) 0%, rgba(255,255,255,.18) 34%, rgba(255,255,255,0) 58%);
}
.hero-commerce::after {
  inset: 0;
  border-radius: 0;
  filter: none;
  opacity: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.10) 32%, rgba(255,255,255,0) 55%);
}
html[data-theme="dark"] .hero-commerce::before {
  background:
    radial-gradient(circle at 52% 92%, rgba(255,106,36,.10), rgba(255,106,36,0) 38%),
    linear-gradient(90deg, rgba(18,13,24,.52) 0%, rgba(18,13,24,.18) 34%, rgba(18,13,24,0) 58%);
}
html[data-theme="dark"] .hero-commerce::after {
  background: linear-gradient(90deg, rgba(18,13,24,.34) 0%, rgba(18,13,24,.10) 32%, rgba(18,13,24,0) 55%);
  opacity: 1;
}

.quantity-control button:disabled {
  opacity: .35;
  cursor: default;
}

@media (max-width: 1080px) {
  .hero,
  .hero-shell { min-height: 610px; }
  .hero-copy { max-width: 650px; padding: 66px 0 72px; }
  .hero-viz { min-height: 0; margin: 0; }
  .hero-commerce { width: 100%; transform: none; }
}

@media (max-width: 700px) {
  .hero,
  .hero-shell { min-height: 650px; }
  .hero { padding: 0; }
  .hero-copy {
    max-width: 100%;
    padding: 46px 0 54px;
  }
  .hero-viz {
    position: absolute;
    inset: 0 auto 0 50%;
    width: 100vw;
    min-height: 0;
    margin: 0;
    transform: translateX(-50%);
  }
  .hero-commerce {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero-commerce::before {
    background:
      radial-gradient(circle at 54% 92%, rgba(249,95,25,.07), rgba(249,95,25,0) 36%),
      linear-gradient(180deg, rgba(255,255,255,.50) 0%, rgba(255,255,255,.12) 44%, rgba(255,255,255,0) 70%);
  }
  .hero-commerce::after {
    background: linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.08) 40%, rgba(255,255,255,0) 66%);
  }
  html[data-theme="dark"] .hero-commerce::before {
    background:
      radial-gradient(circle at 54% 92%, rgba(255,106,36,.10), rgba(255,106,36,0) 38%),
      linear-gradient(180deg, rgba(18,13,24,.52) 0%, rgba(18,13,24,.12) 44%, rgba(18,13,24,0) 70%);
  }
  html[data-theme="dark"] .hero-commerce::after {
    background: linear-gradient(180deg, rgba(18,13,24,.30) 0%, rgba(18,13,24,.08) 40%, rgba(18,13,24,0) 66%);
  }

  /* Two independent bottom actions, no containing box. Each button blurs what sits behind it. */
  .mobile-actions {
    left: 0;
    right: 0;
    bottom: 0;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0 0 env(safe-area-inset-bottom);
    background: transparent !important;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .mobile-action {
    min-height: 58px;
    border-radius: 0;
    border: 0;
    border-top: 1px solid rgba(6,27,49,.10);
    padding: 14px 12px;
    font-size: 12px;
    line-height: 1.1;
    backdrop-filter: blur(18px) saturate(1.18);
    -webkit-backdrop-filter: blur(18px) saturate(1.18);
  }
  .mobile-action-secondary {
    color: var(--ink);
    background: rgba(255,255,255,.74);
    border-right: 1px solid rgba(6,27,49,.10);
  }
  .mobile-action-primary {
    color: #fff;
    background: rgba(249,95,25,.90);
  }
  html[data-theme="dark"] .mobile-action-secondary {
    color: var(--ink);
    background: rgba(18,13,24,.76);
    border-color: rgba(255,255,255,.10);
  }
  html[data-theme="dark"] .mobile-action-primary {
    background: rgba(255,106,36,.88);
    border-color: rgba(255,255,255,.08);
  }
}

/* ===== V11 — slower commerce motion, interactive participation, visualization footer ===== */

/* The payments-volume scene lives only on desktop, from the text edge to the viewport corner. */
.hero {
  min-height: 610px;
}
.hero-shell {
  min-height: 610px;
}
.hero-copy {
  max-width: 650px;
  padding: 72px 0 76px;
}
.hero-viz {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 48%;
  right: calc((100vw - 100%) / -2);
  width: auto;
  min-height: 0;
  margin: 0;
  transform: none;
  overflow: hidden;
  pointer-events: auto;
}
.hero-commerce {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  transform: none;
  background: transparent !important;
}
.hero-commerce > div,
.participation-commerce > div,
.footer-commerce > div {
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}
.hero-commerce::before,
.hero-commerce::after {
  display: none !important;
  content: none !important;
}

/* Stripe-like participation selector with one fluid visualization underneath. */
.participation-section {
  padding: 76px 0 82px;
  border-bottom: 1px solid var(--frost);
  overflow: hidden;
}
.participation-shell {
  position: relative;
}
.participation-heading {
  width: min(720px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}
.participation-heading h2 {
  margin: 0 0 18px;
  font-size: var(--text-heading-lg);
  line-height: 1.03;
  letter-spacing: -.022em;
  font-weight: 300;
}
.participation-heading > p:last-child {
  width: min(610px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.5;
}
.participation-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--frost);
  border-bottom: 1px solid var(--frost);
}
.participation-option {
  position: relative;
  min-height: 252px;
  padding: 27px 30px 28px;
  cursor: pointer;
  outline: none;
  background: transparent;
  transition: background-color 360ms var(--ease), color 300ms var(--ease);
}
.participation-option:first-child {
  border-right: 1px solid var(--frost);
}
.participation-option::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 500ms cubic-bezier(.16,1,.3,1);
}
.participation-option.is-active::after {
  transform: scaleX(1);
}
.participation-option:hover,
.participation-option:focus-visible,
.participation-option.is-active {
  background: color-mix(in srgb, var(--orange) 4%, transparent);
}
.participation-option-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.participation-option .card-kicker {
  margin: 0;
}
.participation-number {
  font-family: var(--font-micro);
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .14em;
}
.participation-option h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -.018em;
  font-weight: 300;
}
.participation-detail {
  max-width: 540px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(7px);
  transition:
    max-height 620ms cubic-bezier(.16,1,.3,1),
    opacity 300ms ease,
    transform 520ms cubic-bezier(.16,1,.3,1),
    margin-top 520ms cubic-bezier(.16,1,.3,1);
}
.participation-option.is-active .participation-detail {
  max-height: 190px;
  margin-top: 18px;
  opacity: 1;
  transform: translateY(0);
}
.participation-detail p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}
.participation-detail .stripe-button {
  min-height: 40px;
  padding-inline: 18px;
}
.participation-viz-wrap {
  position: relative;
  width: 100%;
  height: 510px;
  margin-top: 0;
  overflow: hidden;
  background: transparent;
}
.participation-commerce {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;
}

html[data-theme="dark"] .participation-option:hover,
html[data-theme="dark"] .participation-option:focus-visible,
html[data-theme="dark"] .participation-option.is-active {
  background: rgba(255,106,36,.035);
}

/* Drag affordance for the bottom-sheet registration flow. */
.modal-drag-zone {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: 150px;
  height: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  outline: none;
}
.modal-drag-zone:active { cursor: grabbing; }
.modal-drag-zone span {
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: rgba(6,27,49,.20);
  transition: background-color 180ms ease, width 220ms var(--ease-soft);
}
.modal-drag-zone:hover span,
.modal-drag-zone:focus-visible span {
  width: 62px;
  background: rgba(6,27,49,.34);
}
html[data-theme="dark"] .modal-drag-zone span {
  background: rgba(255,255,255,.22);
}
html[data-theme="dark"] .modal-drag-zone:hover span,
html[data-theme="dark"] .modal-drag-zone:focus-visible span {
  background: rgba(255,255,255,.38);
}
.modal-inner {
  padding-top: 58px;
}

/* Visualization-led footer with a crisp white information card over it. */
.footer.footer-viz {
  position: relative;
  min-height: 690px;
  padding: 72px 0 32px;
  overflow: hidden;
  background: #f6f8fc;
  isolation: isolate;
}
.footer-commerce {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;
  pointer-events: auto;
  opacity: .9;
}
.footer-shell {
  position: relative;
  z-index: 2;
  min-height: 586px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.footer-event-card,
.footer-meta {
  pointer-events: auto;
}
.footer-event-card {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 34px 36px 36px;
  border: 1px solid rgba(6,27,49,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  color: #061b31;
  box-shadow: 0 22px 80px rgba(52,64,91,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.footer-event-heading h2 {
  margin: 0 0 28px;
  font-size: var(--text-heading-lg);
  line-height: 1.03;
  letter-spacing: -.022em;
  font-weight: 300;
  color: #061b31;
}
.footer-event-card .section-kicker {
  color: #f95f19;
}
.footer-event-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(6,27,49,.10);
}
.footer-event-card .event-detail > span {
  color: #7d8ba4;
}
.footer-event-card .event-detail strong {
  color: #061b31;
}
.footer-event-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.footer-event-card .stripe-button-ghost {
  color: #061b31;
  border-color: rgba(6,27,49,.14);
  background: #f7f9fc;
}
.footer-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
  color: var(--muted);
  font-size: var(--text-body-sm);
}
.footer-meta p {
  margin: 0;
  text-align: center;
}
.footer-meta .footer-link {
  justify-self: end;
}
html[data-theme="dark"] .footer.footer-viz {
  background: #100d16;
}
html[data-theme="dark"] .footer-commerce {
  opacity: .84;
}
html[data-theme="dark"] .footer-meta {
  color: rgba(255,255,255,.62);
}
html[data-theme="dark"] .footer-meta .stripe-link {
  color: rgba(255,255,255,.9);
}

/* Canvas hosts stay transparent in every mode. */
html[data-theme="dark"] .hero-commerce,
html[data-theme="dark"] .participation-commerce,
html[data-theme="dark"] .footer-commerce,
.hero-commerce,
.participation-commerce,
.footer-commerce {
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 1080px) {
  .hero-viz {
    left: 46%;
  }
  .participation-viz-wrap {
    height: 440px;
  }
}

@media (max-width: 700px) {
  .hero,
  .hero-shell {
    min-height: 0;
  }
  .hero-copy {
    padding: 44px 0 54px;
  }
  .hero-viz,
  .hero-commerce {
    display: none !important;
  }

  .participation-section {
    padding: 52px 0 56px;
  }
  .participation-heading {
    margin-bottom: 32px;
    text-align: left;
  }
  .participation-heading h2 {
    font-size: 40px;
  }
  .participation-heading > p:last-child {
    margin-left: 0;
  }
  .participation-controls {
    grid-template-columns: 1fr;
  }
  .participation-option {
    min-height: 0;
    padding: 24px 0 25px;
  }
  .participation-option:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--frost);
  }
  .participation-option::after {
    right: auto;
    width: 88px;
  }
  .participation-option:hover,
  .participation-option:focus-visible,
  .participation-option.is-active,
  html[data-theme="dark"] .participation-option:hover,
  html[data-theme="dark"] .participation-option:focus-visible,
  html[data-theme="dark"] .participation-option.is-active {
    background: transparent;
  }
  .participation-option h3 {
    font-size: 30px;
  }
  .participation-option.is-active .participation-detail {
    max-height: 230px;
  }
  .participation-viz-wrap {
    height: 320px;
    width: calc(100% + 32px);
    margin-left: -16px;
  }

  .modal-inner {
    padding-top: 60px;
  }
  .modal-drag-zone {
    width: 180px;
    height: 32px;
  }

  .footer.footer-viz {
    min-height: 760px;
    padding: 44px 0 92px;
  }
  .footer-shell {
    min-height: 624px;
  }
  .footer-event-card {
    padding: 26px 22px 28px;
  }
  .footer-event-heading h2 {
    font-size: 40px;
    margin-bottom: 24px;
  }
  .footer-event-details {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }
  .footer-event-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .footer-event-actions .stripe-button {
    width: 100%;
    justify-content: center;
  }
  .footer-meta {
    grid-template-columns: 1fr auto;
  }
  .footer-meta p {
    display: none;
  }
}

/* ===== V12 — faster fluid response, larger hero, full subscription field, simple footer ===== */
@media (min-width: 701px) {
  .hero-viz {
    left: 39%;
    right: calc((100vw - 100%) / -2);
    overflow: hidden;
  }
  .hero-commerce {
    overflow: visible;
  }
  .hero-commerce > div {
    position: absolute !important;
    top: 0;
    left: -50%;
    width: 200% !important;
    height: 100% !important;
    max-width: none !important;
  }
}

/* Keep the complete subscriptions bundle visible instead of cropping its outer strands. */
.participation-viz-wrap {
  height: 540px;
  overflow: hidden;
}
.participation-commerce {
  inset: 0;
}
.participation-commerce > div {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

/* Restore the compact pre-visualization footer. */
.footer {
  min-height: 0;
  padding: 32px 0 40px;
  background: var(--mist);
  overflow: visible;
}
.footer-inner {
  padding-top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: var(--text-body-sm);
}
.footer-inner p {
  margin: 0;
  text-align: center;
}
.footer-logo {
  width: 118px;
}
.footer-link {
  justify-self: end;
}
html[data-theme="dark"] .footer {
  background: #100b16;
}

@media (max-width: 700px) {
  .participation-viz-wrap {
    height: 330px;
  }
  .footer {
    padding: 28px 0 94px;
  }
  .footer-inner {
    grid-template-columns: 1fr auto;
  }
  .footer-inner p {
    display: none;
  }
}

/* ===== V13 — contained hero volume + custom Bring the idea field ===== */
@media (min-width: 701px) {
  /* Keep the payments-volume object comfortably inside its canvas instead of letting it hit the edges. */
  .hero-viz {
    left: 49%;
    right: calc((100vw - 100%) / -2);
    overflow: hidden;
  }
  .hero-commerce {
    inset: 0;
    overflow: hidden;
  }
  .hero-commerce > div {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
  }
}

.participation-viz-wrap {
  position: relative;
  height: 540px;
  overflow: hidden;
  background: transparent;
}
.participation-pitch-canvas,
.participation-commerce {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 520ms cubic-bezier(.16,1,.3,1), visibility 0s linear 520ms;
  background: transparent !important;
}
.participation-pitch-canvas.is-visible,
.participation-commerce.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 520ms cubic-bezier(.16,1,.3,1), visibility 0s linear 0s;
}
.participation-pitch-canvas {
  display: block;
}
.participation-commerce > div {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

html[data-theme="dark"] .participation-pitch-canvas,
html[data-theme="dark"] .participation-commerce,
.participation-pitch-canvas,
.participation-commerce {
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 700px) {
  .participation-viz-wrap {
    height: 330px;
  }
}

/* ===== V14 — fuller contained hero, expressive participation field, mobile without viz ===== */
@media (min-width: 701px) {
  .hero,
  .hero-shell {
    min-height: 640px;
  }
  .hero-viz {
    left: 42%;
    right: calc((100vw - 100%) / -2);
    overflow: hidden;
  }
  .hero-commerce {
    inset: 0;
    overflow: hidden;
  }
  .hero-commerce > div {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
  }
}

.participation-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.participation-expand-indicator {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--ink);
  flex: 0 0 auto;
}
.participation-expand-indicator svg {
  width: 20px;
  height: 20px;
  overflow: visible;
  fill: currentColor;
}
.participation-expand-indicator path {
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), opacity 180ms ease;
}
.participation-expand-indicator path:first-child {
  transform-origin: 13px 7px;
}
.participation-expand-indicator path:last-child {
  transform-origin: 7px 13px;
}
.participation-option:hover .participation-expand-indicator path:first-child,
.participation-option:focus-visible .participation-expand-indicator path:first-child {
  transform: translate(1.35px,-1.35px);
}
.participation-option:hover .participation-expand-indicator path:last-child,
.participation-option:focus-visible .participation-expand-indicator path:last-child {
  transform: translate(-1.35px,1.35px);
}
.participation-option.is-active .participation-expand-indicator path:first-child {
  transform: translate(.65px,-.65px);
}
.participation-option.is-active .participation-expand-indicator path:last-child {
  transform: translate(-.65px,.65px);
}
.participation-option.is-active:hover .participation-expand-indicator path:first-child,
.participation-option.is-active:focus-visible .participation-expand-indicator path:first-child {
  transform: translate(1.7px,-1.7px);
}
.participation-option.is-active:hover .participation-expand-indicator path:last-child,
.participation-option.is-active:focus-visible .participation-expand-indicator path:last-child {
  transform: translate(-1.7px,1.7px);
}
html[data-theme="dark"] .participation-expand-indicator {
  color: var(--ink);
}

/* The custom pitch canvas should feel like a compact signal source, not a wall of lines. */
.participation-pitch-canvas {
  padding-inline: 4%;
}

@media (max-width: 700px) {
  /* Mobile stays copy-first: all decorative visualizations are removed. */
  .hero-viz,
  .hero-commerce,
  .participation-viz-wrap,
  .participation-pitch-canvas,
  .participation-commerce {
    display: none !important;
  }
  .participation-section {
    padding-bottom: 56px;
  }
  .participation-option-topline {
    align-items: center;
  }
  .participation-expand-indicator {
    width: 28px;
    height: 28px;
  }
}

/* ===== V15 — denser Bring the idea fan ===== */
.participation-pitch-canvas {
  padding-inline: 0;
}

/* ===== V17 — community-funded focus, Stripe-style time picker, darker night mode ===== */

/* Site-wide time-of-day picker, based on the six palette states used by the commerce visualisation. */
.theme-picker { position: relative; }
.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--frost);
  border-radius: 3px;
  background: rgba(255,255,255,.42);
  color: #528eae;
  overflow: visible;
}
.theme-current-icon,
.theme-current-icon svg,
.time-icon,
.time-icon svg { display: block; width: 20px; height: 20px; }
.theme-toggle:hover,
.theme-picker.is-open .theme-toggle { background: var(--surface-muted); border-color: color-mix(in srgb, var(--subtle) 45%, var(--frost)); }
.theme-menu {
  position: absolute;
  z-index: 80;
  top: 43px;
  right: 0;
  width: 166px;
  padding: 5px;
  border: 1px solid var(--frost);
  border-radius: 6px;
  background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  box-shadow: 0 12px 34px rgba(6,27,49,.14);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}
.theme-menu[hidden] { display: none !important; }
.theme-menu button {
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-family: "Outfit", var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.theme-menu button:hover,
.theme-menu button[aria-selected="true"] { background: color-mix(in srgb, var(--frost) 58%, transparent); }
.theme-menu button[aria-selected="true"] .time-icon { color: var(--orange); }

/* Subtle whole-site palette shifts for the light states. */
html[data-palette="pre-dawn"] .ambient-bg {
  background: radial-gradient(62% 44% at 72% 0%, rgba(218,196,255,.28), transparent 70%), linear-gradient(180deg,#fbfbff,#fff 62%,#fafcff);
}
html[data-palette="sunrise"] .ambient-bg {
  background: radial-gradient(60% 46% at 74% 0%, rgba(255,181,132,.24), transparent 68%), radial-gradient(42% 34% at 18% 40%, rgba(246,184,214,.16), transparent 72%), linear-gradient(180deg,#fffdfb,#fff 62%,#fbfcfe);
}
html[data-palette="daytime"] .ambient-bg {
  background: radial-gradient(58% 44% at 78% 0%, rgba(169,216,255,.22), transparent 68%), linear-gradient(180deg,#fff,#fff 60%,#f9fcff);
}
html[data-palette="dusk"] .ambient-bg {
  background: radial-gradient(60% 46% at 76% 0%, rgba(149,196,255,.18), transparent 69%), radial-gradient(38% 30% at 8% 52%, rgba(255,206,180,.11), transparent 72%), linear-gradient(180deg,#fff,#fff 56%,#fafcff);
}
html[data-palette="sunset"] .ambient-bg {
  background: radial-gradient(62% 46% at 75% 0%, rgba(255,196,137,.24), transparent 68%), radial-gradient(42% 34% at 12% 54%, rgba(238,166,218,.13), transparent 72%), linear-gradient(180deg,#fffdfa,#fff 58%,#fcfbff);
}

/* Night is deliberately much darker and more neutral than previous purple modes. */
html[data-theme="dark"] {
  --ink: #f5f7fa;
  --ink-soft: #c5ccd5;
  --muted: #98a2ad;
  --steel: #b0b8c2;
  --subtle: #7b8794;
  --paper: #050608;
  --mist: #090b0e;
  --frost: #242a31;
  --wash: #18100c;
  --wash-strong: #2a1710;
  --orange: #ff6a24;
  --orange-hover: #ff824c;
  --orange-soft: #6a341f;
  --orange-wash: #1a100b;
  --surface: #080a0d;
  --surface-raised: #0d1014;
  --surface-muted: #11151a;
  --field-bg: #0b0e12;
  --header-bg: rgba(5,6,8,.91);
  --mobile-bar-bg: rgba(5,6,8,.90);
}
html[data-theme="dark"] .ambient-bg {
  background:
    radial-gradient(74% 42% at 74% -4%, rgba(255,106,36,.07), transparent 66%),
    radial-gradient(58% 44% at 6% 46%, rgba(54,93,125,.10), transparent 72%),
    linear-gradient(180deg, #050608 0%, #07090c 48%, #040506 100%);
}
html[data-theme="dark"] .ambient-bg::before {
  background:
    radial-gradient(44% 34% at 86% 6%, rgba(255,106,36,.055), transparent 70%),
    radial-gradient(38% 34% at 8% 58%, rgba(73,109,138,.07), transparent 72%);
}
html[data-theme="dark"] .ambient-orb-a { background: rgba(255,106,36,.055); }
html[data-theme="dark"] .ambient-orb-b { background: rgba(59,94,125,.07); }
html[data-theme="dark"] .ambient-orb-c { background: rgba(34,52,67,.06); }
html[data-theme="dark"] .theme-toggle { color: #eef4ff; background: rgba(255,255,255,.025); }

/* Logos are always the Open Pitch orange accent. */
.brand img,
.footer-logo,
html[data-theme="dark"] .brand img,
html[data-theme="dark"] .footer-logo { filter: none !important; }

/* The former two-choice participation area is now a single, distinctive community-funding section. */
.community-fund-section {
  padding: 0;
  overflow: hidden;
  background: #10151b;
  color: #f6f8fa;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
html[data-theme="dark"] .community-fund-section { background: #050608; }
.community-fund-shell {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(360px,.82fr) minmax(480px,1.18fr);
  align-items: center;
  gap: 42px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.community-fund-copy { position: relative; z-index: 3; max-width: 600px; }
.community-fund-section .section-kicker { color: #ff8a52; }
.community-fund-copy h2 {
  margin: 0 0 24px;
  max-width: 590px;
  color: #f7f9fb;
  font-size: var(--text-heading-lg);
  line-height: 1.03;
  letter-spacing: -.025em;
  font-weight: 300;
}
.community-fund-copy h3 {
  margin: 32px 0 10px;
  color: #f7f9fb;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 300;
}
.community-fund-lede,
.community-fund-note {
  margin: 0;
  max-width: 570px;
  color: #aeb8c3;
  font-size: 16px;
  line-height: 1.55;
}
.community-fund-note { color: #87939f; font-size: 14px; }
.community-fund-cta { margin-top: 26px; }
.community-fund-viz {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
  margin-right: calc((100vw - var(--shell)) / -2);
  overflow: hidden;
  background: transparent !important;
}
.community-fund-viz .participation-commerce {
  position: absolute;
  inset: 0;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  background: transparent !important;
}
.community-fund-viz .participation-commerce > div {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.participation-transition-cloud {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  background: transparent;
}

/* Event footer with information and utilities, without registration buttons. */
.event-footer {
  padding: 64px 0 32px;
  background: var(--surface-muted);
  border-top: 1px solid var(--frost);
}
.event-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px,.85fr) minmax(420px,1.15fr);
  gap: 52px;
  align-items: end;
  padding-bottom: 48px;
}
.event-footer-copy h2 {
  margin: 0;
  font-size: var(--text-heading-lg);
  line-height: 1.03;
  letter-spacing: -.02em;
  font-weight: 300;
}
.event-footer-details {
  display: grid;
  grid-template-columns: .72fr .72fr 1.56fr;
  gap: 22px;
}
.event-footer-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -8px;
}
.footer-meta-row {
  padding-top: 28px;
  border-top: 1px solid var(--frost);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: var(--text-body-sm);
}
.footer-meta-row p { margin: 0; text-align: center; }
.footer-meta-row .footer-link { justify-self: end; }
html[data-theme="dark"] .event-footer { background: #080a0d; }
html[data-theme="dark"] .stripe-button-ghost { color: var(--orange); background: transparent; }

@media (max-width: 900px) {
  .community-fund-shell { grid-template-columns: 1fr; min-height: 0; gap: 24px; }
  .community-fund-copy { max-width: 720px; }
  .community-fund-viz { margin-right: 0; width: 100%; aspect-ratio: 2 / 1; height: auto; }
  .event-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .event-footer-actions { grid-column: 1; }
}

@media (max-width: 700px) {
  /* Prevent decorative overflow and iOS rubber-band from creating apparent empty page after the footer. */
  html, body { overscroll-behavior-y: none; max-width: 100%; }
  body { min-height: 100dvh; position: relative; }
  .page-content { overflow: clip; }
  .ambient-bg { overflow: clip; }

  .theme-menu { position: fixed; top: 62px; right: 12px; width: 174px; }
  .community-fund-section { padding: 0; }
  .community-fund-shell { display: block; padding-top: 48px; padding-bottom: 52px; }
  .community-fund-copy h2 { font-size: 40px; max-width: 360px; }
  .community-fund-copy h3 { margin-top: 26px; }
  .community-fund-viz,
  .participation-transition-cloud { display: none !important; }

  .event-footer { padding: 46px 0 calc(76px + env(safe-area-inset-bottom)); }
  .event-footer-grid { display: block; padding-bottom: 32px; }
  .event-footer-copy { margin-bottom: 28px; }
  .event-footer-copy h2 { font-size: 40px; }
  .event-footer-details { grid-template-columns: 1fr 1fr; gap: 20px 18px; }
  .event-footer-details .event-detail-wide { grid-column: 1 / -1; }
  .event-footer-actions { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; }
  .event-footer-actions .stripe-button { width: 100%; padding-inline: 12px; }
  .footer-meta-row { grid-template-columns: 1fr auto; padding-top: 22px; }
  .footer-meta-row p { display: none; }
}

/* ===== V18 — simple animated theme switch, larger visual fields, community-first copy ===== */

/* Simple light / dark toggle. */
.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--frost);
  border-radius: 4px;
  background: color-mix(in srgb, var(--surface-raised) 84%, transparent);
  color: var(--ink);
  overflow: hidden;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.theme-toggle:hover { background: var(--surface-muted); }
.theme-icon-wrap {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}
.theme-icon {
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
  transform-origin: 50% 50%;
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), opacity 240ms ease;
}
.theme-icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-icon-moon { opacity: 0; transform: rotate(-35deg) scale(.56); }
html[data-theme="dark"] .theme-icon-sun { opacity: 0; transform: rotate(55deg) scale(.55); }
html[data-theme="dark"] .theme-icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
html[data-theme="dark"] .theme-toggle {
  color: #f7f9fc;
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.12);
}
.theme-picker,
.theme-menu { display: none !important; }

/* Night mode stays neutral and darker, not purple. */
html[data-theme="dark"] {
  --paper: #030405;
  --mist: #050607;
  --surface: #050607;
  --surface-raised: #090b0d;
  --surface-muted: #0d1013;
  --field-bg: #07090b;
  --header-bg: rgba(3,4,5,.92);
  --mobile-bar-bg: rgba(3,4,5,.91);
}
html[data-theme="dark"] .ambient-bg {
  background:
    radial-gradient(68% 38% at 78% -6%, rgba(255,106,36,.052), transparent 68%),
    radial-gradient(48% 38% at 4% 48%, rgba(66,91,109,.055), transparent 74%),
    linear-gradient(180deg,#030405 0%,#050607 52%,#020304 100%);
}

/* Enlarge the hero visual by ~20% in the renderer while preserving clear top/left breathing room. */
@media (min-width: 701px) {
  .hero-viz {
    left: 40%;
    right: calc((100vw - 100%) / -2);
    top: 0;
    bottom: 0;
    overflow: hidden;
  }
  .hero-commerce,
  .hero-commerce > div {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
  }
}

/* Community-funded section: larger data field and action + selection note on one line. */
.community-fund-shell {
  grid-template-columns: minmax(360px,.74fr) minmax(520px,1.26fr);
  gap: 34px;
}
.community-fund-viz {
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
}
.community-fund-actionrow {
  margin-top: 30px;
  display: grid;
  grid-template-columns: max-content minmax(220px, 1fr);
  align-items: center;
  gap: 18px;
  max-width: 600px;
}
.community-fund-cta { margin-top: 0; }
.community-fund-note {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #8d99a5;
  font-family: var(--font-micro);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .035em;
}
.community-fund-note .info-icon {
  flex: 0 0 18px;
  margin-top: 1px;
  color: #aeb8c3;
}

/* Footer now includes the ticket price as a fourth fact. */
.event-footer-details {
  grid-template-columns: .66fr .66fr 1.58fr .76fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .community-fund-shell { grid-template-columns: 1fr; }
  .community-fund-viz { width: 100%; aspect-ratio: 2 / 1; height: auto; }
  .community-fund-actionrow { grid-template-columns: max-content minmax(0,1fr); }
  .event-footer-details { grid-template-columns: 1fr 1fr; }
  .event-footer-details .event-detail-wide { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .community-fund-actionrow {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .community-fund-actionrow .stripe-button { width: max-content; }
  .community-fund-note { max-width: 390px; }
  .event-footer-details { grid-template-columns: 1fr 1fr; }
}
.community-fund-note {
  text-transform: uppercase;
  letter-spacing: .085em;
}


/* ===== V19 — pitch selection note beneath funding copy ===== */
.community-fund-note {
  margin-top: 14px;
  max-width: 560px;
  font-size: 8.8px; /* 20% smaller than the previous 11px */
  line-height: 1.5;
}
.community-fund-actionrow {
  margin-top: 24px;
  display: block;
  max-width: 600px;
}
.community-fund-note .info-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

/* ===== V20 — theme toggle + radial theme reveal ===== */
.theme-toggle {
  view-transition-name: theme-switch;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #f1f1f1 !important;
  color: #090909 !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 220ms ease, transform 240ms cubic-bezier(.2,.8,.2,1) !important;
}
.theme-toggle:hover {
  background: #e8e8e8 !important;
  transform: scale(1.035);
}
.theme-toggle:active { transform: scale(.97); }
.theme-icon-wrap {
  position: relative !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
}
.theme-icon {
  position: absolute !important;
  inset: 0 !important;
  width: 22px !important;
  height: 22px !important;
  transform-origin: 50% 50% !important;
  transition: opacity 240ms ease, transform 460ms cubic-bezier(.2,.8,.2,1) !important;
}
.theme-icon-sun {
  opacity: 1 !important;
  transform: rotate(0deg) scale(1) !important;
}
.theme-icon-moon {
  opacity: 0 !important;
  transform: rotate(-58deg) scale(.52) !important;
}
html[data-theme="dark"] .theme-toggle {
  background: #15181b !important;
  color: #f6f7f8 !important;
}
html[data-theme="dark"] .theme-toggle:hover { background: #1c2024 !important; }
html[data-theme="dark"] .theme-icon-sun {
  opacity: 0 !important;
  transform: rotate(72deg) scale(.52) !important;
}
html[data-theme="dark"] .theme-icon-moon {
  opacity: 1 !important;
  transform: rotate(0deg) scale(1) !important;
}
.theme-toggle.is-switching .theme-icon-wrap {
  animation: themeIconTurn 620ms cubic-bezier(.16,1,.3,1);
}
@keyframes themeIconTurn {
  0% { transform: rotate(0deg) scale(1); }
  45% { transform: rotate(105deg) scale(.78); }
  100% { transform: rotate(180deg) scale(1); }
}

/* The new theme radiates outward from the toggle instead of cross-fading globally. */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 999998; }
::view-transition-group(theme-switch) { z-index: 1000000; }
::view-transition-old(theme-switch),
::view-transition-new(theme-switch) {
  mix-blend-mode: normal;
  animation-duration: 260ms;
}

/* Fallback for browsers without the View Transitions API. */
.theme-reveal-fallback {
  position: fixed;
  z-index: 999999;
  left: var(--theme-reveal-x);
  top: var(--theme-reveal-y);
  width: 2px;
  height: 2px;
  border-radius: 999px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  opacity: 1;
  will-change: transform, opacity;
  transition: transform 650ms cubic-bezier(.16,1,.3,1), opacity 180ms ease;
}
.theme-reveal-fallback.is-expanding {
  transform: translate(-50%, -50%) scale(var(--theme-reveal-radius));
}
.theme-reveal-fallback.is-fading { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-icon,
  .theme-icon-wrap { animation: none !important; transition-duration: 0ms !important; }
}

/* ===== V21 — Stripe time-of-day SVG + weighted theme wave ===== */
.theme-toggle {
  width: 42px !important;
  height: 42px !important;
  border-radius: 11px !important;
  background: #f1f1f1 !important;
  color: #111 !important;
  overflow: hidden !important;
}
.theme-toggle:hover { background: #e8e8e8 !important; }
html[data-theme="dark"] .theme-toggle {
  background: #15181b !important;
  color: #f5f7f8 !important;
}
html[data-theme="dark"] .theme-toggle:hover { background: #1d2125 !important; }
.theme-icon-wrap {
  width: 20px !important;
  height: 20px !important;
  display: grid !important;
  place-items: center !important;
  position: relative !important;
}
.time-of-day-select-icon {
  width: 20px;
  height: 20px;
  display: block;
  overflow: visible;
}
.time-of-day-select-icon__sun-group,
.time-of-day-select-icon__moon {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 300ms ease,
    transform 620ms cubic-bezier(.18,.82,.2,1),
    stroke-dashoffset 520ms cubic-bezier(.2,.7,.2,1);
}
.time-of-day-select-icon__sun-group {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.time-of-day-select-icon__moon {
  opacity: 0;
  transform: rotate(-34deg) scale(.58);
}
.time-of-day-select-icon__sun-path,
.time-of-day-select-icon__ray {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.time-of-day-select-icon__ray {
  transition:
    opacity 260ms ease,
    stroke-dashoffset 480ms cubic-bezier(.2,.7,.2,1),
    transform 520ms cubic-bezier(.18,.82,.2,1);
  transform-box: fill-box;
  transform-origin: center;
}
html[data-theme="dark"] .time-of-day-select-icon__sun-group {
  opacity: 0;
  transform: rotate(58deg) scale(.62);
}
html[data-theme="dark"] .time-of-day-select-icon__sun-path,
html[data-theme="dark"] .time-of-day-select-icon__ray {
  stroke-dashoffset: 1;
  opacity: 0;
}
html[data-theme="dark"] .time-of-day-select-icon__moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.theme-toggle.is-switching .time-of-day-select-icon {
  animation: timeOfDayIconWeight 760ms cubic-bezier(.18,.82,.2,1);
}
@keyframes timeOfDayIconWeight {
  0% { transform: rotate(0deg) scale(1); }
  36% { transform: rotate(8deg) scale(.88); }
  64% { transform: rotate(-3deg) scale(1.07); }
  100% { transform: rotate(0deg) scale(1); }
}

/* Slower, heavier circular theme reveal. */
.theme-reveal-fallback {
  transition:
    transform 1040ms cubic-bezier(.2,.68,.18,1),
    opacity 220ms ease !important;
}
.theme-reveal-fallback.is-fading { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .time-of-day-select-icon__sun-group,
  .time-of-day-select-icon__moon,
  .time-of-day-select-icon__ray,
  .time-of-day-select-icon__sun-path,
  .theme-toggle.is-switching .time-of-day-select-icon {
    animation: none !important;
    transition-duration: 0ms !important;
  }
}
.theme-toggle.is-switching .theme-icon-wrap { animation: none !important; }

/* ===== V22 — right-aligned footer details + gentle water-wave theme transition ===== */
@media (min-width: 901px) {
  .event-footer-details {
    justify-items: end;
    text-align: right;
  }
  .event-footer-details .event-detail {
    width: 100%;
    text-align: right;
  }
  .event-footer-actions {
    justify-content: flex-end;
  }
}

.theme-water-ring {
  position: fixed;
  z-index: 1000001;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(90,110,130,.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-sizing: border-box;
  will-change: width, height, opacity, filter;
}

/* Let the circular theme front feel more like a spreading surface wave than a heavy push. */
.theme-reveal-fallback {
  transition:
    transform 1180ms cubic-bezier(.18,.58,.24,1),
    opacity 220ms ease !important;
}

@media (prefers-reduced-motion: reduce) {
  .theme-water-ring { display: none !important; }
}

/* ===== V23 — expanded footer + gentler water-wave theme response ===== */
.event-footer {
  padding: 68px 0 30px;
}
.event-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  gap: 72px;
  align-items: start;
  padding-bottom: 52px;
}
.event-footer-primary {
  min-width: 0;
}
.event-footer-copy {
  margin-bottom: 30px;
}
.event-footer-copy h2 {
  margin: 0;
  font-size: var(--text-heading-lg);
  line-height: 1.03;
  letter-spacing: -.02em;
  font-weight: 300;
}
.event-footer-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 34px;
  max-width: 720px;
  text-align: left;
}
.event-footer-details .event-detail,
.event-footer-details .event-detail-wide {
  grid-column: auto !important;
}
.event-footer-actions {
  grid-column: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
  max-width: 720px;
}
.event-footer-actions .stripe-button {
  width: 100%;
  justify-content: center;
}
.footer-link-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  align-self: start;
  padding-top: 7px;
}
.footer-link-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-link-heading {
  margin: 0 0 7px;
  font-family: var(--font-micro);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--subtle);
}
.footer-link-group a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  transition: color 160ms ease, opacity 160ms ease;
}
.footer-link-group a:hover {
  color: var(--orange);
}
html[data-theme="dark"] .footer-link-group a { color: var(--ink); }
html[data-theme="dark"] .footer-link-group a:hover { color: var(--orange); }

/* Theme-wave targets only move vertically, like a small ripple passing underneath them. */
.theme-water-ring {
  position: fixed;
  z-index: 999998;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border: 1px solid currentColor;
  border-radius: 999px;
  pointer-events: none;
  mix-blend-mode: normal;
}

@media (max-width: 900px) {
  .event-footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-link-columns {
    max-width: 520px;
  }
}

@media (max-width: 700px) {
  .event-footer {
    padding: 48px 0 calc(78px + env(safe-area-inset-bottom));
  }
  .event-footer-main {
    display: block;
    padding-bottom: 34px;
  }
  .event-footer-copy { margin-bottom: 26px; }
  .event-footer-copy h2 { font-size: 40px; }
  .event-footer-details {
    grid-template-columns: 1fr 1fr;
    gap: 20px 18px;
    max-width: none;
  }
  .event-footer-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 26px;
    max-width: none;
  }
  .footer-link-columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px 18px;
    margin-top: 48px;
    max-width: none;
  }
  .footer-link-group a { font-size: 13px; }
  .footer-meta-row { margin-top: 8px; }
}

/* Basic legal-policy pages used by footer links in the test build. */
.legal-page { background: var(--paper); color: var(--ink); }
.legal-shell { max-width: 860px; padding-top: 52px; padding-bottom: 96px; }
.legal-brand { display: block; width: 126px; margin-bottom: 84px; }
.legal-page h1 { margin: 8px 0 12px; font-size: clamp(48px, 7vw, 72px); line-height: .98; letter-spacing: -.035em; font-weight: 300; }
.legal-updated { margin: 0 0 54px; color: var(--muted); font-size: 14px; }
.legal-page section { padding: 26px 0; border-top: 1px solid var(--frost); }
.legal-page section h2 { margin: 0 0 10px; font-size: 22px; font-weight: 300; letter-spacing: -.012em; }
.legal-page section p,
.legal-page > .legal-shell > p:not(.section-kicker):not(.legal-updated):not(.legal-note) { max-width: 700px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.legal-note { margin: 34px 0; padding: 16px 18px; border: 1px solid var(--frost); background: var(--surface-muted); color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 700px) { .legal-shell { padding-top: 30px; padding-bottom: 64px; } .legal-brand { margin-bottom: 54px; } }


/* ===== V24 — left-aligned event details + fluid multi-ripple theme wave ===== */

/* Event information remains beneath the heading, but every datum and action aligns left. */
.event-footer-details {
  justify-items: start !important;
  text-align: left !important;
}
.event-footer-details .event-detail,
.event-footer-details .event-detail-wide {
  width: 100%;
  text-align: left !important;
  justify-self: start !important;
}
.event-footer-actions {
  justify-content: start !important;
  justify-items: stretch;
}

/* Match the site's outlined action controls rather than using a borderless utility button. */
.theme-toggle {
  border: 1px solid var(--orange-soft) !important;
  border-radius: var(--radius) !important;
}
.theme-toggle:hover {
  border-color: #ffb994 !important;
}
html[data-theme="dark"] .theme-toggle {
  border-color: color-mix(in srgb, var(--orange) 52%, rgba(255,255,255,.14)) !important;
}
html[data-theme="dark"] .theme-toggle:hover {
  border-color: color-mix(in srgb, var(--orange) 76%, rgba(255,255,255,.12)) !important;
}

/* The visible rings are a touch stronger and softer, reading as water ripples instead of UI outlines. */
.theme-water-ring {
  border-width: 1px;
  box-shadow:
    0 0 0 1px color-mix(in srgb, currentColor 14%, transparent),
    0 0 20px color-mix(in srgb, currentColor 7%, transparent);
  filter: blur(.12px);
  will-change: width, height, opacity, filter;
}

/* Draw the actual light/dark front out a little longer so the element wave has time to travel. */
.theme-reveal-fallback {
  transition:
    transform 1560ms cubic-bezier(.2,.55,.2,1),
    opacity 260ms ease !important;
}

@media (prefers-reduced-motion: reduce) {
  .theme-water-ring { display: none !important; }
}

/* ===== V25 — transparent theme toggle + particle-bloom theme edge ===== */
.theme-toggle {
  width: 42px !important;
  height: 42px !important;
  border: 1px solid var(--orange-soft) !important;
  border-radius: var(--radius) !important;
  background: transparent !important;
  color: var(--ink) !important;
  overflow: hidden !important;
  box-shadow: none !important;
}
.theme-toggle:hover,
.theme-toggle:focus-visible,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:focus-visible {
  background: transparent !important;
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: #ffb994 !important;
}
html[data-theme="dark"] .theme-toggle {
  color: var(--ink) !important;
  border-color: color-mix(in srgb, var(--orange) 58%, rgba(255,255,255,.12)) !important;
}
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:focus-visible {
  border-color: color-mix(in srgb, var(--orange) 82%, rgba(255,255,255,.10)) !important;
}

.theme-icon-wrap {
  width: 20px !important;
  height: 20px !important;
  position: relative !important;
  display: block !important;
}
.theme-mode-icon {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
  transform-origin: 50% 50%;
  transition:
    opacity 260ms ease,
    transform 420ms cubic-bezier(.2,.76,.22,1);
}
.theme-mode-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.theme-mode-icon-night {
  opacity: 0;
  transform: rotate(-18deg) scale(.72);
}
html[data-theme="dark"] .theme-mode-icon-sun {
  opacity: 0;
  transform: rotate(26deg) scale(.74);
}
html[data-theme="dark"] .theme-mode-icon-night {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.theme-toggle.is-switching .theme-icon-wrap,
.theme-toggle.is-switching .theme-mode-icon {
  animation: none !important;
}

/* The old water-wave treatment is intentionally removed. */
.theme-water-ring { display: none !important; }

/* Bloom layer: soft gradient haze + particles travel with the circular theme front. */
.theme-bloom-canvas {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  display: block;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: transparent;
}

/* Keep the underlying theme front smooth and slightly slower than a normal UI switch. */
.theme-reveal-fallback {
  transition:
    transform 1320ms cubic-bezier(.18,.58,.22,1),
    opacity 220ms ease !important;
}

@media (prefers-reduced-motion: reduce) {
  .theme-mode-icon { transition-duration: 0ms !important; }
  .theme-bloom-canvas { display: none !important; }
}

/* ===== V29 — community-funded field enlarged another 20% ===== */
@media (min-width: 901px) {
  .community-fund-shell {
    align-items: stretch;
  }

  .community-fund-viz {
    width: 144%;
    aspect-ratio: 2 / 1;
    height: auto;
    max-width: none;
    justify-self: end;
    align-self: end;
    margin-right: calc((100vw - var(--shell)) / -2);
    overflow: visible;
  }

  .community-fund-viz .participation-commerce,
  .community-fund-viz .participation-commerce > div {
    overflow: visible !important;
  }
}


/* ===== V30 — community-funded composition + orange inward-flow accents ===== */
@media (min-width: 901px) {
  .community-fund-shell {
    align-items: stretch;
  }

  .community-fund-copy {
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }

  .community-fund-actionrow {
    margin-top: auto;
    padding-top: 30px;
  }

  .community-fund-viz {
    width: 115.2%;
    aspect-ratio: 2 / 1;
    height: auto;
    max-width: none;
    justify-self: end;
    align-self: start;
    margin-right: calc((100vw - var(--shell)) / -2);
    overflow: visible;
  }

  .community-fund-viz .participation-commerce,
  .community-fund-viz .participation-commerce > div {
    overflow: visible !important;
  }
}


/* ===== V31 — community visual pulled into the content grid ===== */
@media (min-width: 901px) {
  .community-fund-shell {
    gap: 20px;
  }

  .community-fund-viz {
    width: 115.2%;
    justify-self: end;
    margin-right: 0;
  }
}


/* ===== V32 — tighter community-funded composition ===== */
@media (min-width: 901px) {
  .community-fund-shell {
    gap: 20px;
    align-items: start;
  }

  .community-fund-copy {
    display: block;
    align-self: start;
    max-width: 560px;
  }

  .community-fund-section .section-kicker {
    margin-bottom: 10px;
  }

  .community-fund-copy h2 {
    margin-bottom: 16px;
    line-height: 1.01;
  }

  .community-fund-copy h2 > span {
    display: block;
  }

  .community-fund-lede {
    font-size: 15px;
    line-height: 1.44;
    max-width: 545px;
  }

  .community-fund-note {
    margin-top: 10px;
    line-height: 1.4;
    max-width: 540px;
  }

  .community-fund-actionrow {
    margin-top: 14px;
    padding-top: 0;
  }

  .community-fund-viz {
    width: 115.2%;
    aspect-ratio: 2 / 1;
    height: auto;
    justify-self: end;
    align-self: start;
    margin-right: -48px;
    overflow: visible;
  }
}


/* ===== V33 — community-funded copy matched to visualization height ===== */
@media (min-width: 901px) {
  .community-fund-shell {
    align-items: stretch;
  }

  .community-fund-copy {
    align-self: stretch;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 560px;
  }

  .community-fund-section .section-kicker,
  .community-fund-copy h2,
  .community-fund-lede,
  .community-fund-note,
  .community-fund-actionrow {
    flex: 0 0 auto;
  }

  .community-fund-section .section-kicker {
    margin: 0;
  }

  .community-fund-copy h2 {
    margin: 0;
    font-size: clamp(44px, 3.7vw, var(--text-heading-lg));
    line-height: .99;
  }

  .community-fund-lede {
    margin: 0;
    line-height: 1.4;
  }

  .community-fund-note {
    margin: 0;
    line-height: 1.34;
  }

  .community-fund-actionrow {
    margin: 0;
    padding: 0;
  }

  .community-fund-viz {
    align-self: start;
  }
}

/* ===== V34 — reliable mobile radial theme reveal + header control parity ===== */

/* Match the theme control to the adjacent ticket button exactly in height. */
.theme-toggle {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  flex: 0 0 48px;
}

/* The fallback reveal is used deliberately on mobile for consistent radial motion. */
.theme-reveal-fallback {
  transition:
    transform var(--theme-reveal-duration, 1320ms) cubic-bezier(.18,.58,.22,1),
    opacity 220ms ease !important;
}

@media (max-width: 640px) {
  .theme-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    flex-basis: 40px;
  }
  .nav-cta { min-height: 40px !important; }
}
