/* ── Fonts ── */
@font-face {
  font-family: 'Handelson Two';
  src: url('../fonts/HandelsonTwo.woff') format('woff');
  font-display: block;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/NunitoSans.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/NunitoSansBold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #1a0a2e;
  --gold:      #ffe627;
  --purple:    #7413dc;
  --green:     #25b755;
  --blue:      #006ddf;
  --red:       #ed3f23;
  --card-bg:   rgba(255,255,255,0.05);
  --card-border: rgba(116,19,220,0.4);
  --font-display: 'Handelson Two', sans-serif;
  --font-body:    'Nunito Sans', sans-serif;
}

/* Force uppercase on all display-font elements */
.nav-brand,
.hero-title,
.section-heading,
.activity-card h3,
.volunteer-why h3,
.role-card h3,
.form-heading,
.btn-submit,
.form-success h3 { text-transform: uppercase; }

body {
  background: var(--bg);
  color: #fff;
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100%;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Shared background layers ── */
.stars, .particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.stars { z-index: 0; }
.particles { z-index: 1; }

.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  animation: twinkle var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
}
.particle {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  opacity: 0;
  animation: rise var(--speed, 8s) ease-in infinite var(--delay, 0s);
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50%       { opacity: var(--brightness, 0.6); transform: scale(1.2); }
}
@keyframes rise {
  0%   { transform: translateX(0) translateY(0) scale(1); opacity: 0.7; }
  80%  { opacity: 0.4; }
  100% { transform: translateX(var(--drift,40px)) translateY(-105vh) scale(0.3); opacity: 0; }
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav:not(.site-nav--minimal) {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
}
.site-nav:not(.site-nav--minimal) .nav-links {
  grid-column: 3;
  justify-content: flex-end;
}
.site-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(26,10,46,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.site-nav.scrolled::before {
  opacity: 1;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-shadow: 0 0 16px rgba(255,230,39,0.5);
  display: flex;
  align-items: center;
}
.nav-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -26px;
  margin-top: -26px;
  width: 52px;
  height: 52px;
  display: block;
  border-radius: 50%;
  opacity: 1;
  overflow: hidden;
  transition: opacity 0.3s ease;
}
.site-nav.badge-visible .nav-icon {
  opacity: 0;
  pointer-events: none;
}
.site-nav--minimal .nav-icon {
  position: static;
  left: auto;
  top: auto;
  margin: 0 0.5rem 0 0;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
@keyframes cometArrive {
  0%   { opacity: 1; transform: translateY(-110px) scaleX(0.55) scaleY(2); filter: blur(4px) brightness(5); }
  38%  { opacity: 1; transform: translateY(6px) scaleX(1.15) scaleY(0.8); filter: blur(0) brightness(2); }
  60%  { transform: translateY(-4px) scale(1.07); filter: brightness(1.4); }
  80%  { transform: translateY(2px) scale(0.96); filter: brightness(1.1); }
  100% { transform: translateY(0) scale(1); filter: brightness(1); }
}
.nav-icon.warp-in {
  animation: cometArrive 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes cometTrailFade {
  0%   { opacity: 1; transform: translateX(-50%) scaleY(1); }
  100% { opacity: 0; transform: translateX(-50%) scaleY(0.05); }
}
.nav-comet-trail {
  position: fixed;
  width: 2px;
  height: 72px;
  transform-origin: bottom center;
  background: linear-gradient(to bottom, transparent, rgba(255,230,39,0.5), rgba(255,230,39,0.95));
  pointer-events: none;
  z-index: 199;
  animation: cometTrailFade 0.4s ease-out forwards;
}
@keyframes navWarpRing {
  0%   { transform: translate(-50%, -50%) scale(0.15); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}
.nav-warp-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 230, 39, 0.8);
  box-shadow: 0 0 10px rgba(255, 230, 39, 0.5);
  pointer-events: none;
  z-index: 200;
  animation: navWarpRing 0.8s ease-out both;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(1rem, 3vw, 2rem);
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0.5rem 0;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a:focus { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
#home {
  position: relative;
  min-height: var(--real-vh, 100dvh); /* fallback for older browsers */
  min-height: 100svh; /* stable: never changes when address bar shows/hides */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  z-index: 2;
}

.glow-ring {
  position: absolute;
  width: min(70vmin, 600px);
  height: min(70vmin, 600px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,180,0,0.18) 0%, rgba(130,0,200,0.12) 50%, transparent 75%);
  animation: pulseGlow 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.08); opacity: 1; }
}

.badge-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.5vmin, 18px);
  padding-top: clamp(1.25rem, 4vh, 5rem);
  padding-bottom: 1rem;
  position: relative;
  z-index: 2;
}
@keyframes floatIn {
  from { opacity: 0; transform: scale(0.7) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.badge-wrap img {
  width: min(46vmin, 38vh, 420px);
  height: min(46vmin, 38vh, 420px);
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 40px rgba(255,180,0,0.5)) drop-shadow(0 0 80px rgba(130,0,200,0.4));
  animation: floatIn 1s cubic-bezier(0.34,1.56,0.64,1) both, badgeFloat 6s ease-in-out infinite 1s;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vmin, 4.5rem);
  color: #fff;
  letter-spacing: 0.04em;
  text-shadow: 0 0 40px rgba(255,180,0,0.3);
  animation: fadeUp 1s ease both 0.4s;
  line-height: 1.1;
}

.tagline {
  font-size: clamp(0.75rem, 2.2vmin, 1.1rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255,230,39,0.6);
  animation: fadeUp 1s ease both 0.6s;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 1s ease both 0.8s;
}
.divider span {
  display: block;
  width: clamp(40px, 8vmin, 80px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
}
.divider .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.dates {
  font-size: clamp(0.65rem, 1.8vmin, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  animation: fadeUp 1s ease both 1s;
}

.hero-strapline {
  max-width: 520px;
  padding: 0 1.5rem;
  font-size: clamp(0.8rem, 1.9vmin, 1rem);
  font-style: italic;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  text-wrap: balance;
  animation: fadeUp 1s ease both 1.2s;
}

.hero-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: clamp(0.72rem, 1.6vmin, 0.85rem);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
  animation: fadeUp 1s ease both 1.3s;
}
.hero-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(38,183,86,0.7);
  flex-shrink: 0;
  animation: statusPulse 2.4s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.7); }
}

.planning-notice {
  background: rgba(123,47,190,0.12);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 0.9rem 1.2rem;
  margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}

.hero-eligibility {
  font-size: clamp(0.6rem, 1.5vmin, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  text-shadow: 0 0 12px rgba(38,183,86,0.35);
  animation: fadeUp 1s ease both 1.4s;
}

.scroll-cue-wrap {
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding-bottom: clamp(0.75rem, 2vh, 2rem);
  animation: fadeIn 1s ease both 1.6s;
}
.scroll-cue {
  pointer-events: all;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(255,230,39,0.08);
  border: 1px solid rgba(255,230,39,0.4);
  border-radius: 999px;
  padding: 0.65rem 1.75rem 0.75rem;
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.scroll-cue:hover, .scroll-cue:focus {
  background: rgba(255,230,39,0.16);
  border-color: rgba(255,230,39,0.7);
  color: var(--gold);
  box-shadow: 0 0 24px rgba(255,230,39,0.2);
  outline: none;
}
.scroll-cue svg {
  animation: bounce 1.8s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ── Scroll cue idle nudge ── */
.scroll-cue-wrap {
  position: relative;
}
.scroll-cue {
  z-index: 1;
}
.scroll-cue-wrap.idle .scroll-cue {
  border-color: rgba(255,230,39,0.7);
  color: var(--gold);
  animation: idlePulse 2s ease-in-out infinite;
}
.scroll-cue-rings {
  position: absolute;
  left: 50%;
  top: calc(50% - clamp(0.375rem, 1vh, 1rem));
  pointer-events: none;
  z-index: 0;
}
.scroll-cue-rings::before,
.scroll-cue-rings::after {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  top: -28px;
  left: -28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,230,39,0.55);
  animation: rippleCircle 2.4s ease-out infinite;
}
.scroll-cue-rings::after {
  animation-delay: 1s;
}
@keyframes idlePulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255,230,39,0.1); }
  50%       { box-shadow: 0 0 28px rgba(255,230,39,0.35); }
}
@keyframes rippleCircle {
  0%   { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(4.2); opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Section shared ── */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 6vw, 4rem);
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vmin, 3.2rem);
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255,230,39,0.25);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}
.section-divider span {
  display: block;
  flex: 1;
  max-width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), transparent);
}
.section-divider .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.section-intro {
  font-size: clamp(1rem, 2vmin, 1.15rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.tagline a, .section-intro a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.tagline a:hover, .section-intro a:hover {
  text-decoration-color: currentColor;
}
/* letter-spacing:0.35em adds trailing space that the underline paints into.
   Use a pseudo-element underline that stops 0.35em short instead. */
.tagline a {
  text-decoration: none;
  position: relative;
}
.tagline a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0.35em;
  bottom: -2px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  transition: background 0.2s;
}
.tagline a:hover::after {
  background: rgba(255,255,255,0.9);
}

/* ── Adventure section ── */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.activity-card--full {
  grid-column: 1 / -1;
}
.activity-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s;
}
.activity-card:hover {
  border-color: rgba(255,230,39,0.4);
  transform: translateY(-3px);
}
.activity-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.activity-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vmin, 1.4rem);
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.activity-card-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.6rem;
  font-style: italic;
}
.activity-card ul {
  list-style: none;
  padding: 0;
}
.activity-card ul li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.activity-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.volunteer-why {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(116,19,220,0.2), rgba(255,230,39,0.08));
  border: 1px solid rgba(255,230,39,0.2);
  border-radius: 16px;
  padding: 2rem 2.25rem;
}
.volunteer-why h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vmin, 1.6rem);
  color: var(--gold);
  margin-bottom: 1rem;
}
.volunteer-why ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem 1.5rem;
}
.volunteer-why ul li {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}
.volunteer-why ul li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 0.25rem;
}

/* ── Volunteer section ── */

/* Filter pills */
.roles-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.filter-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(116,19,220,0.4);
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  min-height: 36px;
}
.filter-btn:hover {
  border-color: rgba(255,230,39,0.45);
  color: rgba(255,255,255,0.9);
}
.filter-btn.active {
  border-color: var(--gold);
  background: rgba(255,230,39,0.12);
  color: var(--gold);
}

/* Roles outer container — column of team groups */
.roles-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Team heading row */
.roles-team-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

/* Sub-grid for cards within a team */
.roles-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.role-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.25s, transform 0.25s;
}
.role-card:hover {
  border-color: rgba(255,230,39,0.35);
  transform: translateY(-2px);
}
.team-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  color: #000;
  width: fit-content;
}
.role-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vmin, 1.2rem);
  color: #fff;
  line-height: 1.2;
}
.role-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
  flex: 1;
}
.roles-loading, .roles-error {
  grid-column: 1/-1;
  text-align: center;
  color: rgba(255,255,255,0.5);
  padding: 2rem;
  font-size: 0.9rem;
}
.roles-error { color: var(--red); }

/* ── Interest who callout ── */
.interest-who {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(38,183,86,0.07);
  border: 1px solid rgba(38,183,86,0.25);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}
.interest-who-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── Cost notice ── */
.cost-notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(255,230,39,0.08);
  border: 1px solid rgba(255,230,39,0.25);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}
.cost-notice-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── Form select ── */
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(116,19,220,0.5);
  border-radius: 8px;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.form-group select option,
.form-group select optgroup { background: #1a0a2e; color: #fff; }
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,230,39,0.18);
}
.form-group select[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237,63,35,0.18);
}
.select-loading { color: rgba(255,255,255,0.4); }

/* ── Form ── */
.volunteer-form {
  max-width: 100%;
}
.form-heading {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vmin, 1.8rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(116,19,220,0.5);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input[type="time"],
.form-group input[type="date"] {
  color-scheme: dark;
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,230,39,0.18);
}
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237,63,35,0.18);
}
.form-error {
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 0.35rem;
  display: none;
}
.form-error.visible { display: block; }

/* Scout member radio group */
.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(116,19,220,0.5);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
  min-height: 44px;
}
.radio-label:has(input:checked) {
  border-color: var(--gold);
  background: rgba(255,230,39,0.1);
}
.radio-label input[type="radio"] {
  accent-color: var(--gold);
  width: 16px; height: 16px;
}

/* Conditional membership field */
#membership-group {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-bottom 0.35s ease;
}
#membership-group.visible {
  max-height: 120px;
  opacity: 1;
  margin-bottom: 1.25rem;
}

/* Submit button */
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold), #e0a800);
  color: #1a0a2e;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.85rem 2.5rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  min-height: 52px;
  box-shadow: 0 4px 24px rgba(255,230,39,0.25);
  margin-top: 0.5rem;
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,230,39,0.35);
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-submit:focus { outline: 3px solid rgba(255,230,39,0.5); outline-offset: 3px; }

/* Thank-you state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--card-bg);
  border: 1px solid rgba(61,207,142,0.35);
  border-radius: 16px;
}
.form-success.visible { display: block; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vmin, 2rem);
  color: var(--green);
  margin-bottom: 0.75rem;
}
.form-success p { color: rgba(255,255,255,0.7); line-height: 1.7; }

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(116,19,220,0.25);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}
.site-footer a { color: rgba(255,230,39,0.6); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

/* ── Cursor spotlight ── */
.cursor-spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle 200px at var(--cursor-x,-999px) var(--cursor-y,-999px), rgba(255,230,39,0.07), transparent 70%);
}

/* ── Shooting stars ── */
.shooting-star {
  position: absolute;
  width: 120px;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9) 60%, rgba(255,255,255,0));
  pointer-events: none;
  animation: shoot 0.75s ease-out forwards;
}
@keyframes shoot {
  0%   { opacity: 0; transform: rotate(30deg) translateX(0); }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(30deg) translateX(360px); }
}

/* ── Burst and rise particles ── */
.burst-particle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: burstAndRise var(--dur, 8s) linear both;
}
@keyframes burstAndRise {
  0%   { opacity: 1; transform: translate(-50%,-50%); animation-timing-function: cubic-bezier(0, 0.9, 0.3, 1); }
  18%  { opacity: 0.9; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))); animation-timing-function: linear; }
  80%  { opacity: 0.3; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) - var(--rise, 600px))); }
}

/* ── Global idle scroll nudge ── */
.idle-scroll-nudge {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.idle-scroll-nudge.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.idle-scroll-nudge .nudge-chev {
  animation: nudgeChev 1.4s ease-in-out infinite;
}
.idle-scroll-nudge .nudge-chev + .nudge-chev {
  animation-delay: 0.22s;
  opacity: 0.4;
}
@keyframes nudgeChev {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .star, .particle, .glow-ring, .badge-wrap img,
  .badge-wrap, .tagline, .divider, .dates,
  .hero-strapline, .scroll-cue-wrap, .scroll-cue svg, .hero-title { animation: none !important; }
  .cursor-spotlight, .focus-particle, .shooting-star, .success-particle, .idle-scroll-nudge, .nav-warp-ring, .nav-comet-trail { display: none !important; }
  .nav-icon { animation: none !important; }
}

/* ── Landscape / short-viewport hero ── */
@media (orientation: landscape) and (max-height: 820px) {
  .badge-wrap {
    padding-top: clamp(0.5rem, 1.5vh, 2rem);
    padding-bottom: 0.5rem;
    gap: clamp(4px, 1vh, 12px);
  }
  .scroll-cue-wrap {
    padding-bottom: 0.5rem;
  }
}

/* ── Responsive ── */
@media (max-width: 1399px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(26,10,46,0.97);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(116,19,220,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    white-space: normal;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-toggle { display: flex; }
  .site-nav:not(.site-nav--minimal) { display: flex; }
}
@media (max-width: 900px) {
  .roles-cards-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .activity-grid { grid-template-columns: 1fr; }
  .roles-cards-row { grid-template-columns: 1fr; }
  .volunteer-why ul { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .section { padding: 3rem 1rem; }
  .volunteer-form { width: 100%; }
}

/* ── Booking: countdown rings ────────────────────────────── */
.countdown-rings {
  display: grid;
  grid-template-columns: repeat(4, 110px);
  gap: 1.25rem;
  justify-content: center;
  margin: 2.5rem auto 0;
}
.cd-ring-unit {
  position: relative;
  width: 110px;
  height: 110px;
}
.cd-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}
.cd-ring-track {
  fill: none;
  stroke: rgba(116,19,220,0.25);
  stroke-width: 5;
}
.cd-ring-fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(255,230,39,0.55));
  transition: stroke-dashoffset 0.95s ease-out, filter 0.5s ease-out;
}
.cd-arc-secs-fill {
  transition: stroke-dashoffset 0.85s ease-out;
  animation: cd-secs-pulse 1s ease-in-out infinite;
}
@keyframes cd-secs-pulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(255,230,39,0.45)); }
  50%       { filter: drop-shadow(0 0 16px rgba(255,230,39,0.95)); }
}
.cd-ring-changed .cd-ring-fill {
  filter: drop-shadow(0 0 22px rgba(255,230,39,1)) drop-shadow(0 0 8px rgba(116,19,220,0.7));
}
.cd-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.cd-ring-num {
  font-family: 'Handelson Two', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 12px rgba(255,230,39,0.45);
}
.cd-ring-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.3rem;
}
@media (max-width: 560px) {
  .countdown-rings { grid-template-columns: repeat(2, 110px); }
}

/* ── Booking: nav tickets link ───────────────────────────── */
.nav-tickets-link {
  color: var(--gold) !important;
  border: 1px solid rgba(255,230,39,0.35);
  border-radius: 6px;
  padding: 0.4rem 0.85rem !important;
  line-height: 1.2;
}
@media (max-width: 1399px) {
  .nav-tickets-link {
    border: none !important;
    padding: 0.85rem 0 !important;
    border-radius: 0;
  }
}

/* ── Booking: form helpers ───────────────────────────────── */
.field-hint {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  margin-top: 0.2rem;
  line-height: 1.5;
}
