/* =============================================================================
   JUNIOR NEURO BEE — STYLES
   =============================================================================
   You do not need to edit this file to change words or dates.
   Brand colours come from the NeuroSpark logo:
     navy #040C2C · blue #0F78DD · deep blue #08387A · orange #EC8713
   ============================================================================= */

/* --- design tokens -------------------------------------------------------- */
:root {
  --navy: #040c2c;
  --navy-soft: #0a1440;
  --navy-line: rgba(255, 255, 255, 0.12);
  --blue: #0f78dd;
  --blue-deep: #08387a;
  --orange: #ec8713;
  --orange-light: #ffd08a;
  --ink: #0b1020;
  --ink-soft: #4c5670;
  --ink-faint: #7b8499;
  --paper: #ffffff;
  --paper-alt: #f4f7fc;
  --line: #e2e8f3;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(4, 12, 44, 0.06), 0 4px 14px rgba(4, 12, 44, 0.05);
  --shadow-md: 0 10px 30px rgba(4, 12, 44, 0.10);
  --maxw: 1160px;
  --gutter: clamp(1.15rem, 4vw, 2rem);
}

/* --- reset and base ------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.005em;
}

h1 {
  font-size: clamp(2.15rem, 5.6vw, 3.65rem);
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  margin: 0 0 1.15em;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
}

strong {
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.hero :focus-visible,
.band :focus-visible,
.site-footer :focus-visible,
.site-header :focus-visible,
.topbar :focus-visible,
.page-hero :focus-visible {
  outline-color: var(--orange-light);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* --- layout helpers ------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding: clamp(3.25rem, 7vw, 6rem) 0;
}

.section-alt {
  background: var(--paper-alt);
}

.section-navy {
  background: var(--navy);
  color: #e8edf9;
}

.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.section-navy p {
  color: #c9d3ea;
}

.section-tight {
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
}

.lead {
  font-size: clamp(1.15rem, 2.1vw, 1.35rem);
  color: var(--ink-soft);
}

.center {
  text-align: center;
}

.center .lead {
  max-width: 46ch;
  margin-inline: auto;
}

.stack > * + * {
  margin-top: 1rem;
}

.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .split-2 {
    grid-template-columns: 1fr 1fr;
  }
  .split-wide {
    grid-template-columns: 1.35fr 1fr;
  }
  .split-narrow {
    grid-template-columns: 1fr 1.25fr;
  }
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.75rem);
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--orange);
  color: var(--navy);
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 1rem 1.7rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(236, 135, 19, 0.28);
}

.btn-primary:hover {
  background: #f79322;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(236, 135, 19, 0.34);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue-deep);
  color: #fff;
}

.btn-blue:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

/* The donate button is the one CTA that should catch the eye on its own:
   the Association's purple, a solid heart, and a slow glow. */
.btn-donate {
  background: linear-gradient(135deg, #8b2fd6 0%, #5b1795 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 22px rgba(138, 43, 226, 0.4);
}

.btn-donate:hover {
  background: linear-gradient(135deg, #9c46e4 0%, #6a1fae 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(138, 43, 226, 0.58);
}

.btn-donate svg {
  fill: currentColor;
}

@media (prefers-reduced-motion: no-preference) {
  .btn-donate {
    animation: donate-glow 3.4s ease-in-out infinite;
  }
}

@keyframes donate-glow {
  0%,
  100% {
    box-shadow: 0 8px 22px rgba(138, 43, 226, 0.38);
  }
  50% {
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.72), 0 0 0 5px rgba(138, 43, 226, 0.12);
  }
}

.btn-disabled {
  background: #edf1f8;
  border-color: #dce3ef;
  color: #6c7488;
  cursor: not-allowed;
}

.hero .btn-disabled,
.band .btn-disabled,
.section-navy .btn-disabled,
.site-footer .btn-disabled,
.page-hero .btn-disabled {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #a7b1c9;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.text-link {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.text-link:hover {
  color: var(--blue);
}

.section-navy .text-link,
.hero .text-link,
.band .text-link {
  color: var(--orange-light);
}

/* --- top bar -------------------------------------------------------------- */
.topbar {
  background: linear-gradient(90deg, var(--blue-deep), var(--navy) 55%, #0b1a3f);
  color: #dbe3f5;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--navy-line);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1.1rem;
  min-height: 2.6rem;
  padding-block: 0.35rem;
  text-align: center;
}

.topbar-note {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.topbar-count {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #fff;
}

.topbar-count b {
  color: var(--orange-light);
  font-weight: 700;
}

.topbar-count .bar-count-label {
  color: #9fb0d4;
  font-weight: 500;
  margin-left: 0.35rem;
}

.topbar-count .chunk {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
}

@media (max-width: 620px) {
  .topbar-count .bar-count-label {
    display: none;
  }
}

html[data-state="3"] .topbar-count,
html[data-state="live"] .topbar-count {
  display: none;
}

/* --- header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
}

.brand img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-light);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: #dbe3f5;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: #fff;
  border-bottom-color: var(--blue);
}

.site-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--orange);
}

.site-nav .btn {
  font-size: 0.82rem;
  padding: 0.75rem 1.15rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 0.8rem;
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    background: var(--navy);
    border-bottom: 1px solid var(--navy-line);
    padding: 1rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--navy-line);
    font-size: 1.05rem;
  }
  .site-nav .btn {
    margin-top: 0.9rem;
    width: 100%;
    border-bottom: none;
  }
  .site-nav .btn-disabled {
    margin-top: 0.9rem;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand-sub {
    display: none;
  }
}

/* --- hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 8% 4%, rgba(15, 120, 221, 0.34), transparent 58%),
    radial-gradient(110% 90% at 96% 96%, rgba(236, 135, 19, 0.26), transparent 55%), var(--navy);
  color: #e9eefb;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.25rem, 7vw, 5.75rem);
}

.hero-art {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(58rem, 70%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  .hero-art {
    right: -30%;
    width: 110%;
    opacity: 0.32;
  }
}

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

.hero h1 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  max-width: 22ch;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: #c7d2ec;
  max-width: 52ch;
  margin-top: 0;
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: Montserrat, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-light);
  background: rgba(236, 135, 19, 0.12);
  border: 1px solid rgba(236, 135, 19, 0.35);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  margin-bottom: 1.4rem;
}

.hero-countdown-label {
  font-family: Montserrat, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fb0d4;
  margin: 2.25rem 0 0.75rem;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.count-unit {
  flex: 1 1 5.5rem;
  max-width: 9rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 0.85rem 0.6rem 0.7rem;
  text-align: center;
}

.count-num {
  display: block;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.count-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fb0d4;
}

.hero-note {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: #aab6d3;
}

.hero-live {
  display: none;
  margin-top: 1.4rem;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  color: var(--orange-light);
}

/* --- page hero (inner pages) ---------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(110% 100% at 12% 0%, rgba(15, 120, 221, 0.32), transparent 60%),
    radial-gradient(100% 100% at 92% 100%, rgba(236, 135, 19, 0.2), transparent 58%), var(--navy);
  color: #e9eefb;
  padding: clamp(2.5rem, 6vw, 4.25rem) 0 clamp(2.5rem, 6vw, 4.25rem);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/neuron-line-art.svg") no-repeat right -6% center / min(54rem, 74%) auto;
  opacity: 0.3;
  pointer-events: none;
}

.page-hero h1 {
  color: #fff;
  max-width: 24ch;
}

.page-hero .lead {
  color: #c7d2ec;
  max-width: 56ch;
  margin-bottom: 0;
}

.page-hero .btn-row {
  margin-top: 1.75rem;
}

/* --- cards ---------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.card-flat {
  box-shadow: none;
}

.card-navy {
  background: var(--navy-soft);
  border-color: rgba(255, 255, 255, 0.14);
  color: #dbe3f5;
}

.card-navy h3,
.card-navy h4 {
  color: #fff;
}

.card h3:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: rgba(15, 120, 221, 0.1);
  color: var(--blue-deep);
  margin-bottom: 1rem;
}

.icon-badge.orange {
  background: rgba(236, 135, 19, 0.14);
  color: #a75c05;
}

.icon-badge svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* --- prize podium --------------------------------------------------------- */
.prize-grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  margin-top: 2rem;
}

@media (min-width: 800px) {
  .prize-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
  .prize-card.feature {
    transform: translateY(-0.9rem);
  }
}

.prize-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.prize-card.feature {
  border-top-color: var(--orange);
  box-shadow: var(--shadow-md);
}

.prize-tag {
  display: inline-block;
  font-family: Montserrat, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: rgba(15, 120, 221, 0.1);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 0.9rem;
}

.prize-card.feature .prize-tag {
  color: #a75c05;
  background: rgba(236, 135, 19, 0.16);
}

.prize-value {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  color: var(--navy);
  line-height: 1;
  margin: 0 0 0.4rem;
}

.prize-value span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.55rem;
}

.prize-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.prize-card p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.sponsor-line {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.sponsor-line strong {
  color: var(--navy);
}

/* --- logo / wordmark strip ------------------------------------------------ */
.mark-strip {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 760px) {
  .mark-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 1.35rem 1rem;
  min-height: 7.5rem;
}

.mark-word {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.3;
}

.mark-role {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.section-navy .mark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}

.section-navy .mark-word {
  color: #fff;
}

.section-navy .mark-role {
  color: #9fb0d4;
}

/* --- quotes --------------------------------------------------------------- */
.quote {
  border-left: 4px solid var(--orange);
  padding: 0.35rem 0 0.35rem 1.4rem;
  margin: 0;
}

.quote p {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--navy);
  font-weight: 500;
}

.quote footer {
  font-family: Montserrat, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.section-navy .quote p,
.section-navy .quote footer {
  color: #fff;
}

/* --- values strip --------------------------------------------------------- */
.values {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
}

@media (min-width: 720px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  justify-content: center;
}

.value svg {
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  stroke-width: 1.7;
}

.value-innovate svg {
  color: var(--blue);
}

.value-learn svg {
  color: var(--blue-deep);
}

.value-serve svg {
  color: var(--orange);
}

.value h3 {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.value p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
}

.section-navy .value p {
  color: #c9d3ea;
}

/* --- steps ---------------------------------------------------------------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.step {
  counter-increment: step;
  position: relative;
  padding: 1.35rem 1.5rem 1.35rem 4.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 1.35rem;
  top: 1.3rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--blue-deep);
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}

/* --- schedule / definition list ------------------------------------------- */
.schedule {
  margin: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

.schedule-row {
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.schedule-time {
  flex: none;
  width: 6.5rem;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}

.schedule-what {
  color: var(--ink);
}

.schedule-what span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section-navy .schedule,
.section-navy .schedule-row {
  border-color: rgba(255, 255, 255, 0.16);
}

.section-navy .schedule-time {
  color: var(--orange-light);
}

.section-navy .schedule-what {
  color: #fff;
}

.section-navy .schedule-what span {
  color: #c9d3ea;
}

/* --- checklists ----------------------------------------------------------- */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--orange);
}

.check-list strong {
  color: var(--navy);
}

/* --- FAQ ------------------------------------------------------------------ */
.faq-group + .faq-group {
  margin-top: 2.5rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-answer {
  padding: 1.1rem 1.3rem;
  color: var(--ink-soft);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* --- photos --------------------------------------------------------------- */
.photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-alt);
}

.photo img {
  width: 100%;
  object-fit: cover;
}

.photo figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.photo-pair {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.logo-figure {
  max-width: 21rem;
  margin: 2.5rem auto 0;
}

.photo-narrow {
  max-width: 46rem;
  margin-inline: auto;
}

/* Partner logo lockup: the white mark sits on the Association's own purple */
.partner-logo {
  display: block;
  width: 100%;
  max-width: 17rem;
  height: auto;
  background: #4a0e64;
  border-radius: 0.85rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .photo-pair {
    grid-template-columns: 1fr 1fr;
  }
}

.page-hero .photo,
.section-navy .photo {
  border-color: rgba(255, 255, 255, 0.16);
}

/* --- team ----------------------------------------------------------------- */
.person {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.person-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  margin-bottom: 1rem;
}

.person h3 {
  font-size: 1.08rem;
  margin-bottom: 0.15rem;
}

.person-role {
  font-family: Montserrat, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.8rem;
}

.person p {
  color: var(--ink-soft);
  font-size: 1rem;
}

/* --- CTA band ------------------------------------------------------------- */
.band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--blue-deep), var(--navy) 62%, #12224f);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.band::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -45%;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 135, 19, 0.32), transparent 62%);
  pointer-events: none;
}

.band .wrap {
  position: relative;
  z-index: 1;
}

.band h2 {
  color: #fff;
}

.band p {
  color: #c9d3ea;
  max-width: 60ch;
}

.band .btn-row {
  margin-top: 1.75rem;
}

/* --- footer --------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: #c3cde5;
  padding: clamp(2.75rem, 6vw, 4rem) 0 1.75rem;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.footer-lockup img {
  width: 3.25rem;
  height: 3.25rem;
}

.footer-wordmark {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--blue) 12%, #4a91e8 42%, var(--orange) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.footer-tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  font-family: Montserrat, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fb0d4;
  margin: 0 0 1.1rem;
}

.footer-tagline span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-tagline svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 1.7;
}

.footer-tagline .t-innovate svg {
  color: var(--blue);
}

.footer-tagline .t-serve svg {
  color: var(--orange);
}

.site-footer h2 {
  font-family: Montserrat, sans-serif;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.site-footer a {
  color: #c3cde5;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--navy-line);
  display: grid;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #97a3bf;
}

.footer-legal p {
  margin: 0;
}

/* --- state-driven visibility --------------------------------------------- */
.only-open,
.only-closed,
.only-live,
.only-ended {
  display: none;
}

html[data-state="1"] .only-open {
  display: revert;
}

html[data-state="2"] .only-closed,
html[data-state="live"] .only-closed {
  display: revert;
}

html[data-state="live"] .only-live {
  display: revert;
}

html[data-state="3"] .only-ended {
  display: revert;
}

html[data-state="live"] .hero-live {
  display: block;
}

html[data-state="3"] .hero .countdown,
html[data-state="3"] .hero-countdown-label {
  display: none;
}

/* --- utilities ------------------------------------------------------------ */
.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-0 {
  margin-bottom: 0;
}

.nowrap {
  white-space: nowrap;
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: clamp(2rem, 4vw, 3rem) 0;
}

.note {
  font-size: 0.92rem;
  color: var(--ink-faint);
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social svg {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.fact {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.fact svg {
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.2rem;
  color: var(--blue);
  stroke-width: 1.9;
}

.fact dt {
  font-family: Montserrat, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.fact dd {
  margin: 0.15rem 0 0;
  color: var(--navy);
  font-weight: 500;
}

.section-navy .fact dd {
  color: #fff;
}

.section-navy .fact dt {
  color: #9fb0d4;
}

.section-navy .fact svg {
  color: var(--orange-light);
}

/* --- utilities ------------------------------------------------------------ */
