/* ==========================================================================
   Werner Elementary PTA — styles
   Palette pulled from the Wildcat logo: royal blue ink + periwinkle,
   warmed up with sunshine gold, coral, and mint.
   ========================================================================== */

:root {
  --ink-deep: #0E1152;   /* darkest navy — footer, strong text */
  --ink:      #141866;   /* heading / border navy */
  --brand:    #171D8F;   /* logo royal blue — bands & navy sections */
  --royal:    #2A30B8;   /* links & accents */
  --peri:     #AEB6E8;   /* periwinkle from the logo shadow */
  --peri-mid: #C6CDF0;
  --peri-light: #EEF1FC;
  --sky:      #DDE4FB;
  --cream:    #FDF8EE;
  --gold:     #FFC63F;
  --gold-deep:#F0A93C;
  --coral:    #FF6F61;
  --mint:     #4EC9A6;
  --text-soft:#4A4E7A;
  --text-mute:#555A8C;
  --white:    #ffffff;

  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;

  --radius: 22px;
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-soft);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ensure the hidden attribute always wins (even over .btn's display) */
[hidden] { display: none !important; }

::selection { background: var(--gold); color: var(--ink-deep); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .8em 1.4em; border-radius: 0 0 12px 0;
  font-weight: 800; text-decoration: none;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; }

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1.06; letter-spacing: -.01em; }
h2 { font-size: clamp(1.95rem, 4.2vw, 2.85rem); font-weight: 700; margin: .55em 0 .35em; }

mark {
  background: linear-gradient(180deg, transparent 56%, var(--gold) 56%);
  color: inherit; padding: 0 .1em; border-radius: 4px;
}

.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: .84rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--royal); background: var(--peri-light);
  border: 2px solid var(--peri-mid); border-radius: 999px; padding: .42em 1.1em;
}
.eyebrow-light { color: var(--gold); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }

.section-lede { font-size: 1.12rem; max-width: 640px; margin: 0 auto; color: var(--text-mute); }
.lede-light { color: #C9CFFA; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--ink-deep); text-decoration: none; cursor: pointer;
  background: var(--white); border: 3px solid var(--ink); border-radius: 999px;
  padding: .8em 1.6em; box-shadow: 0 5px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }

.btn-gold { background: var(--gold); }
.btn-gold:hover { background: #FFD25E; }
.btn-peri { background: var(--peri); }
.btn-peri:hover { background: #BDC4F0; }
.btn-ghost { background: var(--white); }

.btn-lg { font-size: 1.1rem; padding: .95em 1.9em; }
.btn-sm { font-size: .92rem; padding: .55em 1.2em; border-width: 2.5px; box-shadow: 0 4px 0 var(--ink); }
.btn-sm:hover { box-shadow: 0 6px 0 var(--ink); }
.btn-sm:active { box-shadow: 0 1px 0 var(--ink); }
.btn-block { width: 100%; }
.btn-nav { font-size: .92rem; padding: .55em 1.3em; border-width: 2.5px; box-shadow: 0 4px 0 var(--ink); }

/* ---------- nav ---------- */

.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: .7rem 0; transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-nav.scrolled {
  background: rgba(255, 252, 244, .93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 3px 0 rgba(20, 24, 102, .12);
  padding: .45rem 0;
}
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; }
.brand-text { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--ink); }
.brand-text b { font-weight: 700; color: var(--royal); }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links > a:not(.btn) {
  font-weight: 800; font-size: .97rem; color: var(--ink); text-decoration: none;
  padding: .2em 0;
}
.nav-links > a:not(.btn):hover,
.nav-links > a.active {
  color: var(--royal);
  text-decoration: underline wavy var(--gold) 2px;
  text-underline-offset: 7px;
}

.nav-burger {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 46px; height: 46px; background: #fff; border: 2.5px solid var(--ink);
  border-radius: 14px; cursor: pointer; box-shadow: 0 4px 0 var(--ink);
}
.nav-burger span { display: block; width: 20px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative; min-height: 94vh; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(180deg, var(--sky) 0%, var(--peri-light) 46%, var(--cream) 100%);
  padding: 130px 0 90px; overflow: hidden;
}

.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.sun-svg { position: absolute; top: 88px; left: 4.5%; width: 168px; height: 168px; z-index: 0; }

.sun-core { fill: var(--gold); stroke: var(--ink); stroke-width: 3; }
.sun-rays line { stroke: var(--gold-deep); stroke-width: 6; stroke-linecap: round; }
.sun-rays { animation: spin 42s linear infinite; transform-box: fill-box; transform-origin: center; }
.sun-face-eye { fill: var(--ink); }
.sun-face-smile { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }

.plane-path {
  fill: none; stroke: var(--peri); stroke-width: 3.5;
  stroke-dasharray: .5 15; stroke-linecap: round; opacity: .85;
  animation: march 26s linear infinite reverse;
}
.plane-top { fill: #fff; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.plane-bottom { fill: var(--peri); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes march { to { stroke-dashoffset: 310; } }

.cloud {
  position: absolute; width: 150px; height: 46px; background: #fff; border-radius: 999px;
  opacity: .9; z-index: 0; left: 0;
  animation: drift linear infinite;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 62px; height: 62px; left: 24px; top: -28px; }
.cloud::after { width: 44px; height: 44px; right: 28px; top: -18px; }
.cloud-1 { top: 13%; animation-duration: 85s; animation-delay: -25s; }
.cloud-2 { top: 34%; transform: scale(.65); animation-duration: 115s; animation-delay: -70s; opacity: .7; }
.cloud-3 { top: 58%; transform: scale(1.25); animation-duration: 100s; animation-delay: -45s; opacity: .5; }

@keyframes drift {
  from { translate: -260px 0; }
  to   { translate: calc(100vw + 260px) 0; }
}

.doodle {
  position: absolute; z-index: 1; font-size: 30px; opacity: .9; user-select: none;
  pointer-events: none;
  animation: floaty 5.5s ease-in-out infinite alternate;
}
.doodle:nth-of-type(odd) { animation-delay: -2.6s; }

@keyframes floaty {
  from { transform: translateY(-8px) rotate(-4deg); }
  to   { transform: translateY(10px) rotate(5deg); }
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}

.hero-copy .lede { font-size: 1.18rem; max-width: 540px; margin: 1.2rem 0 1.8rem; }

.roar-word {
  display: inline-block; color: var(--coral);
  text-shadow: 4px 4px 0 var(--gold);
  transform: rotate(-2.5deg); letter-spacing: .01em;
}

.hero h1 { margin-top: .9rem; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-quick { margin-top: 1.6rem; font-size: .98rem; }
.hero-quick a { color: var(--royal); font-weight: 800; text-decoration: none; }
.hero-quick a:hover { text-decoration: underline wavy var(--gold) 2px; text-underline-offset: 5px; }
.dot-sep { margin: 0 .7rem; color: var(--peri); }

/* mascot badge */
.hero-badge { display: flex; justify-content: center; }
.badge-wrap { position: relative; width: 320px; height: 320px; }

.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 36s linear infinite; }
.badge-ring circle { fill: none; stroke: var(--gold-deep); stroke-width: 4; stroke-dasharray: 4 18; stroke-linecap: round; }

.mascot {
  position: absolute; inset: 26px; border-radius: 50%; border: 4px solid var(--ink);
  background: #fff; cursor: pointer; padding: 24px;
  box-shadow: 0 12px 0 var(--peri);
  animation: bob 5s ease-in-out infinite;
  transition: transform .2s ease;
}
.mascot:hover { transform: scale(1.04); }
.mascot img { width: 100%; height: 100%; object-fit: contain; }
.mascot.wiggle { animation: wiggle .6s ease; }

@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-6deg) scale(1.05); }
  45% { transform: rotate(5deg) scale(1.06); }
  70% { transform: rotate(-3deg) scale(1.03); }
}

.roar-bubble {
  position: absolute; top: -26px; right: -34px; z-index: 3;
  background: #fff; border: 3px solid var(--ink); border-radius: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--coral);
  padding: .45em .9em; box-shadow: 0 5px 0 var(--ink);
  transform: scale(0); transform-origin: bottom left; transition: transform .25s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.roar-bubble::after {
  content: ""; position: absolute; bottom: -12px; left: 18px;
  width: 16px; height: 16px; background: #fff;
  border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(-45deg) skew(-8deg, -8deg);
}
.roar-bubble.show { transform: scale(1); }

.badge-motto {
  position: absolute; bottom: -14px; left: 50%; translate: -50% 0; rotate: -2.5deg;
  background: var(--brand); color: var(--cream); border: 2.5px solid var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .16em;
  padding: .45em 1.2em; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 0 var(--ink);
}

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; translate: -50% 0; z-index: 2;
  width: 28px; height: 46px; border: 3px solid var(--ink); border-radius: 999px; opacity: .5;
}
.scroll-cue span {
  position: absolute; top: 7px; left: 50%; translate: -50% 0;
  width: 6px; height: 6px; background: var(--ink); border-radius: 50%;
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { top: 7px; opacity: 1; } 70% { top: 26px; opacity: 0; } 100% { top: 7px; opacity: 0; } }

#confettiCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }

/* ---------- ticker ---------- */

.ticker { background: var(--brand); border-block: 3px solid var(--ink); overflow: hidden; }
.ticker-track {
  display: flex; width: max-content; padding: .85rem 0;
  animation: tickerMove 36s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  color: var(--cream); white-space: nowrap; letter-spacing: .04em;
}
.ticker-track span::after { content: "★"; color: var(--gold); margin: 0 1.6rem; }

@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ---------- sections & waves ---------- */

.section { position: relative; padding: 5.5rem 0 8rem; text-align: center; scroll-margin-top: 80px; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-peri  { background: var(--peri-light); }
.section-navy  { background: var(--brand); }
.section-navy h2 { color: #fff; }
.gold-word { color: var(--gold); }

.section-dots {
  background-image: radial-gradient(var(--peri-light) 2.4px, transparent 2.4px);
  background-size: 30px 30px;
}

.wave-sep { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; pointer-events: none; }
.wave-sep svg { display: block; width: 100%; height: 58px; }

#leadership { padding-bottom: 5.5rem; }

/* ---------- impact cards ---------- */

.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem; margin-top: 2.6rem; text-align: left;
}
.impact-card {
  background: #fff; border: 2px solid #EAE5D6; border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.8rem; border-top-width: 7px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.impact-card:nth-child(1) { border-top-color: var(--gold); }
.impact-card:nth-child(2) { border-top-color: var(--coral); }
.impact-card:nth-child(3) { border-top-color: var(--peri); }
.impact-card:nth-child(4) { border-top-color: var(--mint); }
.impact-card:hover { transform: translateY(-7px) rotate(-.6deg); box-shadow: 0 10px 0 var(--peri); }
.impact-emoji { font-size: 2.5rem; display: inline-block; margin-bottom: .7rem; }
.impact-card h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: .45rem; }
.impact-card p { font-size: .99rem; color: var(--text-mute); }

.stats-band {
  margin-top: 3rem; background: var(--brand); border: 3px solid var(--ink);
  border-radius: 26px; box-shadow: 0 9px 0 var(--peri);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 2.1rem 1.5rem;
}
.stat { display: flex; flex-direction: column; gap: .15rem; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 2.7rem; color: var(--gold); line-height: 1.1; }
.stat-label { font-size: .93rem; font-weight: 700; color: #D6DBFF; }

/* ---------- wildcat trail ---------- */

.trail-scroller { overflow-x: auto; margin-top: 1.6rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
#trailSvg { display: block; min-width: 1060px; max-width: 1300px; margin: 0 auto; width: 100%; height: auto; }

.trail-hint { display: none; font-size: .85rem; color: var(--peri); font-weight: 800; letter-spacing: .1em; margin-top: .3rem; }

.trail-path {
  fill: none; stroke: var(--peri); stroke-width: 5;
  stroke-dasharray: .5 17; stroke-linecap: round;
  animation: march 32s linear infinite reverse;
}

.trail-node { cursor: pointer; }
.trail-node circle {
  fill: #fff; stroke: var(--ink); stroke-width: 3;
  transition: fill .2s ease, transform .2s ease;
  transform-box: fill-box; transform-origin: center;
}
.trail-node:hover circle, .trail-node:focus-visible circle { transform: scale(1.16); }
.trail-node.active circle { fill: var(--gold); }
.trail-node .node-emoji { font-size: 23px; pointer-events: none; }
.node-month {
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  letter-spacing: .12em; fill: var(--royal); text-transform: uppercase;
}
.node-label { font-family: var(--font-body); font-weight: 800; font-size: 14.5px; fill: var(--text-mute); }

.paw-halo { fill: none; stroke: var(--gold-deep); stroke-width: 3; animation: halo 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.paw-token { fill: var(--gold); stroke: var(--ink); stroke-width: 2.5; }
.paw-print { font-size: 17px; }
@keyframes halo {
  0% { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}

.trail-detail {
  max-width: 700px; margin: 2rem auto 0; text-align: left;
  background: var(--cream); border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 8px 0 var(--peri); padding: 1.5rem 1.8rem;
  display: flex; gap: 1.2rem; align-items: flex-start;
  min-height: 132px;
}
.trail-detail-emoji { font-size: 3rem; line-height: 1; margin-top: .2rem; }
.trail-detail h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: .3rem; }
.trail-detail p { color: var(--text-mute); font-size: 1rem; }
.trail-detail .btn { margin-top: .9rem; }

/* ---------- calendar ---------- */

.cal-card {
  max-width: 980px; margin: 2.4rem auto 0;
  background: #fff; border: 3px solid var(--ink); border-radius: 24px;
  box-shadow: 0 9px 0 var(--peri-mid); overflow: hidden;
}
.cal-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .95rem 1.2rem; border-bottom: 3px dashed var(--peri-light);
}
.cal-tabs { display: flex; gap: .5rem; }
.cal-tab {
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  background: #fff; color: var(--ink); border: 2.5px solid var(--ink); border-radius: 999px;
  padding: .45em 1.2em; cursor: pointer; transition: background .2s, color .2s;
}
.cal-tab:hover { background: var(--peri-light); }
.cal-tab.active { background: var(--brand); color: #fff; }
.cal-add { font-weight: 800; font-size: .95rem; color: var(--royal); text-decoration: none; }
.cal-add:hover { text-decoration: underline wavy var(--gold) 2px; text-underline-offset: 5px; }

.cal-frame-wrap { height: min(64vh, 600px); background: #fff; }
#calFrame { width: 100%; height: 100%; border: 0; }

.cal-footnote { margin-top: 1.5rem; font-size: .98rem; color: var(--text-mute); }
.cal-footnote a { color: var(--royal); font-weight: 800; }

/* ---------- volunteer steps ---------- */

.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.6rem; margin-top: 2.8rem; text-align: left;
}
.step-card {
  position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius);
  padding: 2.1rem 1.7rem 1.9rem; box-shadow: 0 7px 0 var(--peri);
  display: flex; flex-direction: column; align-items: flex-start; gap: .55rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 12px 0 var(--peri); }
.step-num {
  position: absolute; top: -18px; left: -14px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink-deep);
  display: flex; align-items: center; justify-content: center;
}
.step-emoji { font-size: 2.5rem; }
.step-card h3 { font-size: 1.25rem; font-weight: 600; }
.step-card p { font-size: .99rem; color: var(--text-mute); flex-grow: 1; }
.step-card .btn { margin-top: .5rem; }

.fine-print { margin-top: 2.4rem; font-size: .88rem; color: #8A8FB8; }
.fine-print a { color: var(--royal); font-weight: 700; }

/* ---------- join / donate ---------- */

.join-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.8rem; margin-top: 2.8rem;
  align-items: stretch; text-align: left;
}

.donut-card, .join-card {
  background: #fff; border: 3px solid var(--ink-deep); border-radius: 24px;
  box-shadow: 0 9px 0 var(--gold-deep); padding: 2rem;
}
.donut-card h3, .join-card h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 1.1rem; }

.donut-flex { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
#donutSvg { width: 205px; height: 205px; flex-shrink: 0; margin: 0 auto; }
#donutSvg circle.seg {
  fill: none; stroke-width: 30; cursor: pointer;
  transition: stroke-width .2s ease, stroke-dasharray 1s ease, opacity .2s ease;
}
#donutSvg circle.seg.hot { stroke-width: 38; }
#donutSvg circle.seg.dim { opacity: .35; }
.donut-value { font-family: var(--font-display); font-weight: 700; font-size: 33px; fill: var(--ink); }
.donut-label { font-family: var(--font-body); font-weight: 800; font-size: 12.5px; fill: #8A8FBF; }

.donut-legend { list-style: none; flex: 1; min-width: 200px; }
.donut-legend li {
  display: flex; align-items: center; gap: .65rem; padding: .45rem .6rem;
  font-weight: 800; font-size: .96rem; color: var(--ink); border-radius: 12px; cursor: pointer;
  transition: background .15s ease;
}
.donut-legend li:hover, .donut-legend li.hot { background: var(--peri-light); }
.legend-swatch { width: 15px; height: 15px; border-radius: 5px; border: 2px solid var(--ink); flex-shrink: 0; }
.legend-pct { margin-left: auto; font-family: var(--font-display); font-weight: 600; color: var(--text-mute); }

.donut-note { margin-top: 1.1rem; font-size: .85rem; font-style: italic; color: #8A8FB8; }

.join-card { display: flex; flex-direction: column; align-items: flex-start; }
.join-logo { width: 78px; height: 78px; border-radius: 50%; border: 3px solid var(--ink); margin-bottom: 1rem; background: #fff; }
.perk-list { list-style: none; margin: 0 0 1.6rem; }
.perk-list li { padding: .4rem 0; font-weight: 700; color: #40468F; }
.join-card .btn-block { margin-top: auto; }
.join-shop { display: block; margin: 1rem auto 0; font-weight: 800; color: var(--royal); }

.give-more { margin-top: 3.2rem; }
.give-more h3 { color: #fff; font-size: 1.3rem; font-weight: 600; margin-bottom: 1.3rem; }
.give-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
.give-chip {
  flex: 1 1 320px; max-width: 440px; text-align: left; text-decoration: none;
  background: rgba(255,255,255,.07); border: 2px dashed rgba(255,255,255,.4);
  border-radius: 18px; padding: 1.15rem 1.4rem; color: #EDEFFF; font-size: 1.05rem;
  transition: background .2s ease, transform .2s ease;
}
a.give-chip:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.give-chip b { font-family: var(--font-display); font-weight: 600; margin-left: .4rem; }
.give-chip span { display: block; margin-top: .35rem; font-size: .93rem; color: #C9CFFA; }

/* ---------- leadership ---------- */

.board-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.5rem; margin-top: 2.8rem;
}
.board-card {
  flex: 1 1 190px; max-width: 268px; min-width: 190px;
  background: var(--cream); border: 2px solid #EAE5D6; border-radius: var(--radius);
  padding: 1.9rem 1.3rem 1.7rem; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.board-card:hover { transform: translateY(-7px) rotate(.8deg); box-shadow: 0 10px 0 var(--peri); }
.board-card.open-seat { border: 3px dashed var(--royal); background: var(--peri-light); }

.board-avatar {
  width: 86px; height: 86px; margin: 0 auto; border-radius: 50%;
  border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; color: var(--ink-deep);
}
.board-name { font-family: var(--font-display); font-weight: 600; font-size: 1.14rem; color: var(--ink); margin-top: 1rem; }
.board-role {
  display: inline-block; margin-top: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase;
  background: #fff; color: var(--royal); border: 2px solid var(--peri-mid);
  border-radius: 999px; padding: .32em .95em;
}
.board-card.open-seat .board-role { background: #fff; }
.board-card .btn { margin-top: 1rem; }

.board-note { margin-top: 2.6rem; font-size: 1.02rem; color: var(--text-mute); }
.board-note a { color: var(--royal); font-weight: 800; }

/* ---------- footer ---------- */

.footer { background: var(--ink-deep); color: #C9CFFA; padding-top: 4.2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr; gap: 2.4rem;
  text-align: left; padding-bottom: 1rem;
}
.footer-logo-row { display: flex; align-items: center; gap: .75rem; }
.footer-logo-row img { width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.footer-logo-row span { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: #fff; }
.footer-logo-row b { font-weight: 700; color: var(--gold); }
.footer-brand p { margin: 1rem 0 1.3rem; font-size: .96rem; }

.footer-col h4 { color: var(--gold); font-size: 1.02rem; font-weight: 600; letter-spacing: .05em; margin-bottom: .9rem; }
.footer-col a { display: block; padding: .3rem 0; color: #C9CFFA; text-decoration: none; font-size: .96rem; }
.footer-col a:hover { color: #fff; text-decoration: underline wavy var(--gold) 2px; text-underline-offset: 5px; }

.footer .btn { box-shadow: 0 4px 0 rgba(0,0,0,.45); border-color: var(--ink-deep); font-size: .85rem; padding: .6em 1.2em; }

.footer-bottom {
  margin-top: 2.6rem; border-top: 1px solid rgba(255,255,255,.14);
  padding: 1.2rem 24px calc(1.2rem + env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  max-width: var(--container); margin-left: auto; margin-right: auto;
  font-size: .87rem; color: #8A90D9;
}

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1) var(--d, 0s), transform .7s cubic-bezier(.16,1,.3,1) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

.stat-pop { display: inline-block; }
.in .stat-pop { animation: pop .5s cubic-bezier(.34,1.56,.64,1) .4s backwards; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .join-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 68px; right: 16px; z-index: 60;
    flex-direction: column; align-items: flex-start; gap: 1.05rem;
    background: #fff; border: 3px solid var(--ink); border-radius: 20px;
    padding: 1.4rem 1.6rem; box-shadow: 0 8px 0 var(--peri);
    min-width: 220px;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }

  .hero { min-height: 0; padding: 110px 0 80px; }
  .sun-svg { width: 96px; height: 96px; top: 74px; left: 2.5%; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.4rem; text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .badge-wrap { width: 250px; height: 250px; }
  .mascot { inset: 20px; padding: 18px; box-shadow: 0 9px 0 var(--peri); }
  .roar-bubble { right: -18px; }
  .doodle { font-size: 24px; }
  .scroll-cue { display: none; }

  .trail-hint { display: block; }
  .trail-detail { margin-inline: 0; }

  .section { padding: 4.2rem 0 7rem; }
  .give-chip { flex-basis: 100%; }
}

@media (max-width: 700px) {
  /* the flight path scales up too much on phones — keep the sky simple */
  .hero-art { display: none; }
  .doodle { opacity: .7; }
}

@media (max-width: 560px) {
  .sun-svg { display: none; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 1.7rem 1rem; }
  .stat-num { font-size: 2.1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .cal-frame-wrap { height: 62vh; }
  .cal-toolbar { justify-content: center; }
  .hero-ctas .btn-lg { width: 100%; }
  .trail-detail { flex-direction: column; gap: .6rem; }
}

/* ---------- reduced motion ---------- */

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

/* ---------- paw-print trail (replaces the old dotted line) ---------- */
.trail-geom { fill: none; stroke: none; }
.paw-trail { color: #464646; pointer-events: none; user-select: none; }

/* ---------- word-style stat ("WER-NERLY ALL") + dues footnote ---------- */
.stat-num-word { font-size: 1.7rem; line-height: 1.08; letter-spacing: .005em; }
.stat-star { font-size: .5em; vertical-align: super; margin-left: .05em; }
.stats-note {
  margin: 1.2rem auto 0; max-width: 560px;
  font-size: .8rem; font-style: italic; color: #8A8FB8;
}
.stats-note sup { font-style: normal; }
