:root {
  --navy: #213c73;
  --navy-dim: #1a3260;
  --yellow: #f0c94b;
  --yellow-dim: #e4b838;
  --white: #ffffff;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-yellow: #fef9e8;
  --border: rgba(33, 60, 115, 0.1);
  --border-hover: rgba(33, 60, 115, 0.25);
  --text: #1a2332;
  --muted: #5a6578;
  --dim: #8b95a8;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 12px 28px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font: var(--font-display);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 200ms var(--ease);
}

a:hover {
  color: var(--navy-dim);
}

.mono {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Header ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 20px;
  transition: background 300ms var(--ease), box-shadow 300ms var(--ease), padding 300ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 8px 8px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: background 300ms var(--ease), border-color 300ms var(--ease);
}

.site-header.is-scrolled .header-shell {
  background: var(--white);
  border-color: var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text);
}

.brand-logo {
  display: block;
  height: 46px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a:not(.nav-cta) {
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  color: #1a1a1a;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 200ms var(--ease), background 200ms var(--ease);
}

.site-nav a:not(.nav-cta):hover {
  color: #1a1a1a;
  background: var(--surface-2);
}

.site-nav a.active:not(.nav-cta) {
  color: var(--navy);
  background: var(--surface-yellow);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: 6px;
  padding: 8px 16px !important;
  background: var(--yellow) !important;
  color: var(--white) !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  transition: background 200ms var(--ease), box-shadow 200ms var(--ease) !important;
}

.nav-cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--yellow-dim) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(240, 201, 75, 0.4);
}

.search-trigger {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: auto;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.search-trigger:hover {
  background: var(--surface-2);
  border-color: var(--border);
  transform: translateY(-1px);
}

.search-trigger svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  margin: 4px auto;
  background: #1a1a1a;
  border-radius: 1px;
}

/* ── Hero banner ── */

.hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding: calc(var(--header-h) + 24px) 0 0;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.72);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    rgba(10, 18, 40, 0.72),
    linear-gradient(to bottom, rgba(33, 60, 115, 0.88) 0%, rgba(33, 60, 115, 0.72) 55%, rgba(33, 60, 115, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
  color: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  max-width: 720px;
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.accent-text {
  color: var(--yellow);
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-self: center;
  margin-bottom: 20px;
  padding: 7px 16px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 2px rgba(33, 60, 115, 0.2);
}

.hero-lede {
  margin: 20px auto 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 220ms var(--ease), box-shadow 220ms var(--ease), transform 220ms var(--ease), border-color 220ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.primary {
  color: var(--white);
  background: var(--yellow);
}

.primary:hover {
  color: var(--white);
  background: var(--yellow-dim);
}

.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ghost:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

.ghost.full {
  width: 100%;
  color: var(--navy);
  background: var(--surface-2);
  border-color: var(--border);
  backdrop-filter: none;
}

.ghost.full:hover {
  color: var(--navy);
  background: var(--surface-yellow);
  border-color: rgba(240, 201, 75, 0.5);
}

.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.secondary:hover {
  color: var(--navy);
  background: var(--surface-yellow);
  border-color: rgba(240, 201, 75, 0.45);
  box-shadow: var(--shadow-md);
}

.button-light {
  color: var(--white);
  background: var(--yellow);
}

.button-light:hover {
  color: var(--white);
  background: var(--yellow-dim);
}

.button-yellow {
  color: var(--white);
  background: var(--yellow);
}

.button-yellow:hover {
  color: var(--white);
  background: var(--yellow-dim);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  width: fit-content;
  align-self: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
  display: grid;
  gap: 2px;
  padding-inline: 28px;
  text-align: center;
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  padding-right: 0;
}

.stat strong {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
}

.stat-divider {
  width: 1px;
  height: 32px;
  margin-right: 28px;
  background: rgba(255, 255, 255, 0.2);
}

/* ── Layout ── */

main {
  position: relative;
  z-index: 1;
  background: var(--white);
}

.section-wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-label {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  max-width: 560px;
  margin-bottom: 48px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

/* ── Intro ── */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
}

.intro-main {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.intro-main p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.intro-main p:last-child {
  margin-bottom: 0;
}

.intro-main strong {
  color: var(--navy);
  font-weight: 600;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease);
}

.panel:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.panel-label {
  margin: 0 0 16px;
  color: var(--dim);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.social-panel {
  padding: 28px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.social-link:last-child {
  margin-bottom: 0;
}

.social-link:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--surface-2);
}

.social-link.static {
  cursor: default;
  color: var(--muted);
}

.social-link.static:hover {
  border-color: var(--border);
  background: transparent;
}

.social-link .arrow {
  color: var(--navy);
  transition: transform 200ms var(--ease);
}

.social-link:hover .arrow {
  transform: translateX(3px);
}

.social-link .handle {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--dim);
}

/* ── Quick links ── */

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 20px;
  background: var(--surface-2);
  border-block: 1px solid var(--border);
}

.quick-link {
  display: grid;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-card);
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease), transform 250ms var(--ease);
}

.quick-link:hover {
  color: var(--text);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.quick-link .mono {
  color: var(--yellow-dim);
}

.quick-link-title {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.quick-link-desc {
  color: var(--dim);
  font-size: 0.82rem;
}

/* ── Bento grid ── */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bento-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease), transform 250ms var(--ease);
}

.bento-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.bento-card.span-2 {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--white) 0%, var(--surface-yellow) 100%);
}

.card-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid rgba(33, 60, 115, 0.15);
  border-radius: 6px;
  background: rgba(33, 60, 115, 0.06);
  color: var(--navy);
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bento-card h3 {
  margin-bottom: 8px;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── CTA band ── */

.cta-band {
  margin: 0 20px 96px;
  max-width: 1040px;
  margin-inline: auto;
  padding: 64px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(240, 201, 75, 0.15), transparent),
    var(--surface-2);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.cta-band-inner {
  max-width: 520px;
  margin: 0 auto;
}

.cta-band h2 {
  margin-bottom: 12px;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-band .signature {
  margin: 20px 0 28px;
  color: var(--dim);
  font-size: 0.88rem;
}

/* ── Feature rows ── */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-frame img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.feature-copy p,
.page-lede,
.step-card p,
.store-panel p,
.callout p,
.bento-card p,
.contact-form > p,
.info-block a,
.info-block p {
  font-family: var(--font-body);
}

.feature-copy p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.page-lede {
  max-width: 640px;
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.feature-copy p:last-child {
  margin-bottom: 0;
}

.feature-copy a {
  font-weight: 500;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.board-row {
  margin-bottom: 80px;
}

/* ── Steps / volunteers ── */

.steps {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.step-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease);
}

.step-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(240, 201, 75, 0.5);
  border-radius: 10px;
  color: var(--navy);
  background: var(--surface-yellow);
  font-weight: 600;
}

.step-card h3 {
  margin-bottom: 6px;
}

.step-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
}

.step-card em {
  color: var(--navy);
  font-style: normal;
  font-weight: 600;
}

.callout {
  padding: 24px 28px;
  border-left: 3px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-yellow);
}

.callout p {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.92rem;
}

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

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

.callout a {
  color: var(--navy);
  font-weight: 600;
}

/* ── Shop ── */

.shop-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.store-panel {
  padding: 36px;
}

.store-panel h2 {
  margin-bottom: 16px;
}

.store-panel p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
}

.store-panel p:last-child {
  margin-bottom: 0;
}

.store-panel strong {
  color: var(--navy);
}

.store-panel.accent {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dim) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.store-panel.accent h2,
.store-panel.accent .section-label {
  color: var(--white);
}

.store-panel.accent .section-label {
  color: var(--yellow);
}

.store-panel.accent p {
  color: var(--white);
}

.store-panel.accent strong {
  color: var(--yellow);
}

.fine-print {
  margin-top: 16px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-size: 0.82rem !important;
  color: var(--white) !important;
}

/* ── Gallery ── */

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease);
}

.gallery-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  transition: transform 400ms var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.02);
}

/* ── Board grid ── */

.board-page {
  padding-top: 40px !important;
  padding-bottom: 56px !important;
}

.board-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
}

.board-intro-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
}

.board-intro-copy p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 540px;
}

.board-intro-copy p:last-child {
  margin-bottom: 0;
}

.board-intro-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--navy);
}

.board-intro-media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.board-directory h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  color: var(--navy);
}

.board-directory-lede {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 0.95rem;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.board-row-item {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.board-row-item:hover {
  border-color: var(--navy);
  background: var(--surface-2);
}

.board-row-item .role {
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.35;
}

.board-row-item .name {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  line-height: 1.3;
}

/* ── Contact ── */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.contact-form,
.contact-info {
  padding: 36px;
}

.contact-form h2 {
  margin-bottom: 8px;
}

.contact-form > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-form form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
}

.label-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--text);
}

.req {
  color: var(--navy);
  font-weight: 700;
}

label span {
  color: inherit;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}

input::placeholder,
textarea::placeholder {
  color: var(--dim);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(33, 60, 115, 0.1);
}

.info-block {
  margin-bottom: 22px;
}

.info-block:last-of-type {
  margin-bottom: 20px;
}

.contact-info .panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--navy);
}

.info-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--navy);
}

.info-block a,
.info-block p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-block a:hover {
  color: var(--navy);
}

.contact-map {
  overflow: hidden;
  margin: 8px 0 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  min-height: 220px;
  aspect-ratio: 16 / 11;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

.contact-map-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(33, 60, 115, 0.14);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}

.contact-map-btn:hover {
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.contact-map-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-map-icon--apple {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

@media (max-width: 520px) {
  .contact-map-actions {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ── */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 48px 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 32px 40px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  margin: 0;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--yellow);
}

.footer-social {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.footer-social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-social-link:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

/* ── Toast ── */

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  width: min(340px, calc(100% - 40px));
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text);
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .feature-row,
  .board-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.span-2 {
    grid-column: span 2;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .brand-logo {
    height: 40px;
  }

  .search-trigger {
    margin-right: 4px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a:not(.nav-cta) {
    padding: 12px 14px;
  }

  .nav-cta {
    margin: 4px 0 0;
    text-align: center;
  }

  .header-shell {
    position: relative;
  }

  .hero-banner {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--header-h) + 32px);
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .intro-grid,
  .shop-row,
  .contact-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-card.span-2 {
    grid-column: span 1;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    padding-right: 0;
  }

  .cta-band {
    padding: 48px 28px;
  }

  .board-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 28px;
  }

  .board-intro-media img {
    height: 180px;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Homepage ── */

.home-main {
  overflow: hidden;
}

.home-section {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.home-section--alt {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  background: #eef1f7;
}

.home-section--alt > .section-header {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.home-banner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 8px;
}

.home-banner img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.section-header {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-header--center {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.section-header--center .section-desc {
  margin-inline: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

.section-tag--light {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.section-tag--light::before {
  background: var(--yellow);
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 16px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
}

/* ── Shared card base ── */

.home-card {
  background: var(--white);
  border: 1px solid rgba(33, 60, 115, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card-icon--plus {
  font-size: 1rem;
}

/* ── Welcome ── */

.welcome-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  background: var(--white);
  border-color: rgba(33, 60, 115, 0.1);
}

.welcome-photo {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--surface-2);
}

.welcome-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.welcome-letter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 40px 44px;
  background: var(--white);
}

.welcome-greeting {
  margin: 0 0 16px !important;
  color: var(--navy) !important;
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
}

.welcome-letter p {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 16px;
}

.welcome-letter strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
}

.welcome-letter .button {
  align-self: flex-start;
  margin-top: 8px;
}

/* ── Support carousel ── */

.support-carousel {
  width: 100%;
  padding: 64px 0 72px;
  background: #f3f3f3;
}

.support-carousel-viewport {
  width: 100%;
  padding: 0 0 8px;
}

.support-carousel-lead {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 40px;
  text-align: center;
}

.support-carousel-lead .section-desc {
  margin-inline: auto;
}

.support-carousel-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.support-carousel-track {
  display: grid;
}

.support-carousel-slide {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 480ms var(--ease),
    visibility 480ms var(--ease),
    transform 480ms var(--ease);
  transform: translateY(8px);
}

.support-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.support-carousel-card {
  display: grid;
  gap: 14px;
  padding: 36px 40px;
  min-height: 168px;
  background: var(--white);
  border: 1px solid rgba(33, 60, 115, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.support-carousel-card--wide {
  text-align: center;
  background: var(--yellow);
  border-color: transparent;
  box-shadow: var(--shadow-card);
}

.support-carousel-card--wide h3,
.support-carousel-card--wide p {
  color: var(--white);
}

.support-carousel-card--wide .card-icon {
  margin-inline: auto;
  background: var(--navy);
  color: var(--white);
}

.support-carousel-card--photo {
  padding: 0;
  gap: 0;
  overflow: hidden;
  min-height: 0;
}

.support-carousel-card-body {
  display: grid;
  gap: 14px;
  padding: 28px 40px 36px;
}

.card-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.support-carousel-card h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

.support-carousel-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

.support-carousel-arrow {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  flex-shrink: 0;
}

.support-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.support-carousel-controls {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: 28px;
}

.support-carousel-counter {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.support-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 320px;
}

.support-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(33, 60, 115, 0.2);
  cursor: pointer;
  transition: width 280ms var(--ease), background 280ms var(--ease);
}

.support-carousel-dot.is-active {
  width: 24px;
  background: var(--navy);
}

/* ── Volunteer cards (legacy / subpages) ── */

.volunteer-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px 28px 30px;
  background: var(--white);
  border-color: rgba(33, 60, 115, 0.1);
  overflow: hidden;
}

.volunteer-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.volunteer-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ── Volunteering ── */

.home-volunteering .section-header {
  margin-bottom: 28px;
}

.volunteer-banner {
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--navy-dim);
}

.volunteer-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  object-position: center center;
}

.home-volunteering .prose-lead {
  margin-bottom: 16px;
}

.volunteer-ways {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(33, 60, 115, 0.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.volunteer-way {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px 24px;
  border-right: 1px solid rgba(33, 60, 115, 0.1);
}

.volunteer-way:last-child {
  border-right: none;
}

.volunteer-way-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.volunteer-way h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.volunteer-way p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.volunteer-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 28px;
  align-items: center;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid rgba(33, 60, 115, 0.08);
  box-shadow: var(--shadow-card);
}

.volunteer-cta p {
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.65;
}

.volunteer-cta strong {
  color: var(--navy);
  font-family: var(--font-display);
}

.volunteer-cta .button {
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .volunteer-cta {
    grid-template-columns: 1fr;
  }
}

.prose {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 16px;
}

.prose-lead {
  margin-bottom: 20px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
}

.prose strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
}

/* ── Join ── */

.home-join {
  padding-bottom: 96px;
}

.join-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dim) 100%);
}

.join-panel-media {
  min-height: 100%;
  background: var(--navy-dim);
}

.join-panel-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center center;
}

.join-panel-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 44px;
}

.join-panel-content h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.join-panel-content > p {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.98rem;
  line-height: 1.65;
}

.join-panel-emphasis {
  margin-bottom: 14px !important;
  color: var(--white) !important;
  font-family: var(--font-display);
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
}

.join-panel-emphasis strong {
  color: var(--white);
  font-weight: 700;
}

.join-panel-signature {
  margin: 8px 0 24px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.join-panel-signature p {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.55;
}

.join-panel-signature .signature-name {
  margin: 8px 0 4px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.join-panel-signature a {
  display: inline-block;
  margin-top: 8px;
  color: var(--yellow);
  font-weight: 600;
}

.join-panel-content > .button {
  align-self: flex-start;
  margin: 0;
}

/* ── Membership page ── */

.membership-hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.membership-hero-copy .page-lede {
  margin-top: 8px;
}

.membership-perks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.membership-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}

.membership-perks svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--navy);
}

/* Membership card, styled like a real membership pass */

/* Membership cards */

.member-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  justify-self: end;
  width: 100%;
  max-width: 560px;
  align-items: stretch;
}

.member-card {
  position: relative;
  display: grid;
  gap: 18px;
  width: 100%;
  padding: 22px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dim) 60%, #14264a 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1.5deg);
  animation: member-card-sway 5.5s ease-in-out infinite;
  transition: box-shadow 300ms var(--ease);
}

.member-card--teacher {
  background: linear-gradient(135deg, #f7d76e 0%, var(--yellow) 55%, #e3b435 100%);
  color: var(--navy);
  box-shadow: 0 12px 36px rgba(224, 177, 46, 0.35);
  transform: rotate(-1.5deg);
  animation: member-card-teacher-sway 5.5s ease-in-out infinite;
  animation-delay: 0.4s;
}

.member-card--teacher .member-card-brand img {
  background: rgba(255, 255, 255, 0.95);
}

.member-card--teacher .member-card-brand span,
.member-card--teacher .member-card-per,
.member-card--teacher .member-card-type,
.member-card--teacher .member-card-note {
  color: var(--navy);
}

.member-card--teacher .member-card-year {
  background: rgba(33, 60, 115, 0.12);
  border-color: rgba(33, 60, 115, 0.18);
  color: var(--navy);
}

.member-card--teacher .member-card-price {
  color: var(--navy);
}

.member-card--teacher .member-card-bottom {
  border-top-color: rgba(33, 60, 115, 0.25);
}

.member-card--teacher::after {
  background: rgba(33, 60, 115, 0.1);
}

.member-card:hover {
  box-shadow: 0 16px 48px rgba(20, 38, 74, 0.35);
}

.member-card--teacher:hover {
  box-shadow: 0 16px 44px rgba(224, 177, 46, 0.45);
}

@keyframes member-card-sway {
  0%, 100% {
    transform: rotate(1.5deg) translateY(0);
  }
  50% {
    transform: rotate(-1deg) translateY(-8px);
  }
}

@keyframes member-card-teacher-sway {
  0%, 100% {
    transform: rotate(-1.5deg) translateY(0);
  }
  50% {
    transform: rotate(1deg) translateY(-6px);
  }
}

/* Soft shine that sweeps across the card like light on a flag */
.member-card::before {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -75%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-18deg);
  animation: member-card-shine 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes member-card-shine {
  0%, 45% {
    left: -75%;
  }
  75%, 100% {
    left: 140%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .member-card,
  .member-card--teacher,
  .member-card::before {
    animation: none;
  }
}

.member-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(240, 201, 75, 0.12);
  pointer-events: none;
}

.member-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.member-card-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-card-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 3px;
}

.member-card-brand span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.member-card-year {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.member-card-mid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.member-card-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--yellow);
}

.member-card-per {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
}

.member-card-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
}

.member-card-type {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.member-card-note {
  font-size: 0.72rem;
  color: var(--white);
}

/* How to join */

.membership-join .section-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.membership-join .section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
}

.membership-join .section-head p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.65;
}

.join-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.join-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px 34px 34px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.join-option--online {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dim) 100%);
  box-shadow: var(--shadow-lg);
}

.join-option--paper {
  background: var(--white);
  border: 1px solid rgba(33, 60, 115, 0.14);
  box-shadow: var(--shadow-card);
}

.join-option-badge {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.join-option-badge--paper {
  background: var(--surface-yellow);
  border: 1px solid rgba(240, 201, 75, 0.5);
}

.join-option h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--navy);
}

.join-option--online h3 {
  color: var(--white);
}

.join-option p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.65;
}

.join-option--online p {
  color: var(--white);
}

.join-option .button {
  margin-top: auto;
}

.button-outline {
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(33, 60, 115, 0.3);
}

.button-outline:hover {
  color: var(--navy);
  background: var(--surface-2);
  border-color: var(--navy);
}

/* Good to know */

.membership-extra {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.membership-visual {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.membership-visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.membership-info h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
}

.membership-checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.membership-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(33, 60, 115, 0.1);
  box-shadow: var(--shadow-card);
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.5;
}

.membership-checklist svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--navy);
}

.membership-checklist strong {
  color: var(--navy);
}

.membership-donate {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface-yellow);
  border: 1px solid rgba(240, 201, 75, 0.35);
  box-shadow: var(--shadow-card);
}

.membership-donate-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--navy);
}

.membership-donate h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--navy);
}

.membership-donate p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
}

.membership-donate strong {
  color: var(--navy);
}

/* ── Volunteers page ── */

.volunteer-intro {
  padding-bottom: 8px !important;
}

.volunteer-intro h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.volunteer-signups {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 720px;
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.volunteer-signups svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--navy);
}

/* Opportunity tickets, styled like event admission tickets */

.volunteer-tickets {
  display: grid;
  gap: 20px;
}

.ticket {
  --stub-w: 180px;
  position: relative;
  display: grid;
  grid-template-columns: var(--stub-w) 1fr;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(33, 60, 115, 0.12);
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}

.ticket:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Punched notches at the perforation line */
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  left: calc(var(--stub-w) - 11px);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(33, 60, 115, 0.12);
  z-index: 1;
}

.ticket::before {
  top: -13px;
}

.ticket::after {
  bottom: -13px;
}

.ticket-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 18px;
  text-align: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dim) 100%);
  color: var(--white);
}

.ticket-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ticket-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.ticket-status {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.ticket--featured .ticket-stub {
  background: linear-gradient(160deg, #f7d76e 0%, var(--yellow) 60%, #e3b435 100%);
  color: var(--navy);
}

.ticket--featured .ticket-icon {
  background: rgba(33, 60, 115, 0.1);
  border-color: rgba(33, 60, 115, 0.18);
}

.ticket--featured .ticket-icon svg,
.ticket--featured .ticket-status {
  color: var(--navy);
}

.ticket-body {
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: start;
  padding: 26px 30px;
  border-left: 2px dashed rgba(33, 60, 115, 0.18);
}

.ticket-body h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--navy);
}

.ticket-meta {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-yellow);
  border: 1px solid rgba(240, 201, 75, 0.5);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}

.ticket-body p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
}

.ticket-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0;
}

.ticket-dates span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid rgba(33, 60, 115, 0.25);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
}

.ticket-dates svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.volunteer-check {
  padding-top: 0 !important;
}

.volunteer-note {
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(33, 60, 115, 0.12);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.volunteer-note h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--navy);
}

.volunteer-note p {
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.65;
}

.volunteer-note a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.volunteer-note--alert {
  background: var(--navy);
  border-color: transparent;
  border-left: 4px solid var(--yellow);
  box-shadow: var(--shadow-md);
}

.volunteer-note--alert h3 {
  color: var(--white);
}

.volunteer-note--alert p,
.volunteer-note--alert strong {
  color: var(--white);
}

.volunteer-note--alert a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Roar Store page ── */

.roar-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.roar-hero-copy h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.roar-hero-copy .page-lede {
  margin-top: 8px;
}

/* Storefront card, yellow to flip the palette of the navy cards */

.roar-card {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: start;
  max-width: 400px;
  justify-self: end;
  width: 100%;
  padding: 32px 34px 36px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f7d76e 0%, var(--yellow) 55%, #e3b435 100%);
  color: var(--navy);
  box-shadow: 0 12px 36px rgba(224, 177, 46, 0.35);
  overflow: hidden;
  transform: rotate(1.5deg);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}

.roar-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 16px 44px rgba(224, 177, 46, 0.45);
}

.roar-card-icon {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 150px;
  height: 150px;
  color: rgba(33, 60, 115, 0.14);
  pointer-events: none;
}

.roar-card-badge {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roar-card h2 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.15;
}

.roar-card p {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

/* Volunteer CTA band */

.roar-volunteer {
  padding-top: 0 !important;
}

.roar-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 28px;
  align-items: center;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dim) 100%);
  box-shadow: var(--shadow-lg);
}

.roar-cta-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roar-cta h2 {
  margin: 12px 0 6px;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1.2;
}

.roar-cta p {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
}

/* ── Social ── */

.home-social {
  padding-bottom: 96px;
}

.social-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin-inline: auto;
}

.social-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 28px;
  color: inherit;
  text-decoration: none;
  position: relative;
  background: var(--white);
  border-color: rgba(33, 60, 115, 0.1);
}

.social-card .arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--navy);
  font-size: 1.2rem;
}

.social-card-label {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-card-title {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.social-card--static {
  cursor: default;
}

/* ── Staggered reveal ── */

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 560ms var(--ease),
    transform 560ms var(--ease);
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 560ms; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 640ms; }

@media (max-width: 1024px) {
  .volunteer-ways {
    grid-template-columns: 1fr;
  }

  .volunteer-way {
    border-right: none;
    border-bottom: 1px solid rgba(33, 60, 115, 0.1);
  }

  .volunteer-way:last-child {
    border-bottom: none;
  }

  .membership-extra {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .membership-visual img {
    min-height: 240px;
  }

  .roar-hero-grid {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 32px;
  }

  .roar-card {
    justify-self: start;
    transform: none;
  }

  .roar-cta {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 28px 26px;
  }

  .ticket {
    grid-template-columns: 1fr;
  }

  .ticket::before,
  .ticket::after {
    display: none;
  }

  .ticket-stub {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 16px 22px;
    text-align: left;
  }

  .ticket-icon {
    width: 42px;
    height: 42px;
  }

  .ticket-icon svg {
    width: 20px;
    height: 20px;
  }

  .ticket-body {
    border-left: none;
    border-top: 2px dashed rgba(33, 60, 115, 0.18);
    padding: 22px 24px;
  }
}

@media (max-width: 768px) {
  .home-section {
    padding: 56px 0;
  }

  .welcome-card {
    grid-template-columns: 1fr;
  }

  .welcome-photo {
    min-height: 240px;
  }

  .welcome-letter {
    padding: 28px 24px 32px;
  }

  .support-carousel {
    padding: 48px 0 56px;
  }

  .support-carousel-shell {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: min(760px, calc(100% - 32px));
  }

  .support-carousel-viewport {
    grid-column: 1 / -1;
  }

  .support-carousel-arrow--prev {
    justify-self: end;
  }

  .support-carousel-arrow--next {
    justify-self: start;
  }

  .support-carousel-card {
    min-height: 0;
    padding: 28px 24px;
  }

  .support-carousel-card-body {
    padding: 24px;
  }

  .volunteer-banner img {
    max-height: 180px;
  }

  .volunteer-cta {
    padding: 18px 20px;
  }

  .join-panel {
    grid-template-columns: 1fr;
  }

  .join-panel-media img {
    min-height: 200px;
    height: 200px;
  }

  .join-panel-content {
    padding: 32px 24px 36px;
  }

  .membership-hero {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 32px;
  }

  .member-cards {
    max-width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .member-cards,
  .member-card {
    justify-self: start;
    transform: none;
  }

  .member-card,
  .member-card--teacher {
    animation: none;
  }

  .join-options-grid {
    grid-template-columns: 1fr;
  }

  .social-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .member-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-carousel-slide {
    transition: none;
    transform: none;
  }

  .support-carousel-dot {
    transition: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.home-main .button:hover {
  transform: none;
}

/* ── Subpages ── */

.page-main {
  padding-top: calc(var(--header-h) + 24px);
}

.page-hero {
  padding-top: 48px;
  padding-bottom: 32px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-main .section-wrap {
  padding-top: 48px;
  padding-bottom: 72px;
}

.page-main .section-wrap:first-child {
  padding-bottom: 32px;
}

/* ── Spirit Wear shop ── */

.spirit-shop {
  padding-top: 16px !important;
}

.spirit-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.spirit-tab {
  appearance: none;
  border: 1px solid rgba(33, 60, 115, 0.14);
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}

.spirit-tab:hover {
  border-color: var(--navy);
}

.spirit-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.spirit-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.spirit-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.spirit-track {
  position: relative;
  min-height: 520px;
}

.spirit-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
  background: var(--white);
  border: 1px solid rgba(33, 60, 115, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.spirit-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  position: relative;
}

.spirit-card[hidden] {
  display: none !important;
}

.spirit-card-media {
  display: grid;
  place-items: center;
  padding: 28px 28px 8px;
  background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
  min-height: 360px;
}

.spirit-card-media img {
  width: min(100%, 360px);
  height: auto;
  max-height: 340px;
  object-fit: contain;
}

.spirit-card-body {
  display: grid;
  gap: 8px;
  padding: 20px 28px 28px;
  border-top: 1px solid rgba(33, 60, 115, 0.08);
}

.spirit-card-body h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.25;
}

.spirit-price {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.spirit-sizes {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.spirit-arrow {
  appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(33, 60, 115, 0.14);
  background: var(--white);
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}

.spirit-arrow:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.spirit-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.spirit-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.spirit-counter {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

.spirit-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.spirit-dot {
  appearance: none;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(33, 60, 115, 0.2);
  cursor: pointer;
  transition: width 280ms var(--ease), background 280ms var(--ease);
}

.spirit-dot.is-active {
  width: 24px;
  background: var(--navy);
}

@media (max-width: 768px) {
  .spirit-carousel {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .spirit-viewport {
    grid-column: 1 / -1;
  }

  .spirit-arrow--prev {
    justify-self: end;
  }

  .spirit-arrow--next {
    justify-self: start;
  }

  .spirit-track {
    min-height: 460px;
  }

  .spirit-card-media {
    min-height: 280px;
    padding: 20px 16px 4px;
  }

  .spirit-card-media img {
    max-height: 260px;
  }

  .spirit-card-body {
    padding: 16px 18px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spirit-card {
    transition: none;
    transform: none;
  }

  .spirit-dot {
    transition: none;
  }
}

/* ── Accessibility controls ── */

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

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.accessibility-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  font-family: var(--font-body);
}

.accessibility-trigger {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-left: auto;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(20, 38, 74, 0.3);
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
}

.accessibility-trigger:hover {
  background: var(--navy-dim);
  box-shadow: 0 10px 34px rgba(20, 38, 74, 0.38);
  transform: translateY(-2px);
}

.accessibility-trigger svg {
  width: 28px;
  height: 28px;
}

.accessibility-panel {
  width: min(340px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 110px));
  margin-bottom: 14px;
  overflow-y: auto;
  border: 1px solid rgba(33, 60, 115, 0.14);
  border-radius: 20px;
  background: var(--white);
  color: #1a2332;
  box-shadow: 0 20px 60px rgba(20, 38, 74, 0.24);
  animation: accessibility-panel-in 220ms var(--ease);
}

.accessibility-panel[hidden] {
  display: none;
}

@keyframes accessibility-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.accessibility-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(33, 60, 115, 0.1);
}

.accessibility-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #5a6578;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.accessibility-panel h2 {
  margin: 0;
  color: #213c73;
  font-size: 1.25rem;
  line-height: 1.25;
}

.accessibility-head-actions {
  display: flex;
  gap: 6px;
}

.accessibility-icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(33, 60, 115, 0.12);
  border-radius: 10px;
  background: #f7f8fa;
  color: #213c73;
  cursor: pointer;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.accessibility-icon-button:hover {
  background: #fef9e8;
  transform: translateY(-1px);
}

.accessibility-icon-button svg {
  width: 18px;
  height: 18px;
}

.accessibility-options {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.accessibility-option {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(33, 60, 115, 0.1);
  border-radius: 14px;
  background: #ffffff;
  color: #1a2332;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.accessibility-option:hover {
  border-color: rgba(33, 60, 115, 0.3);
  background: #f7f8fa;
  transform: translateY(-1px);
}

.accessibility-option.is-active {
  border-color: #213c73;
  background: #f4f7fc;
}

.accessibility-option-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #213c73;
  color: #ffffff;
}

.accessibility-option-icon svg {
  width: 20px;
  height: 20px;
}

.accessibility-option-copy {
  display: grid;
  gap: 2px;
}

.accessibility-option-copy strong {
  color: #1a2332;
  font-family: var(--font-display);
  font-size: 0.86rem;
  line-height: 1.3;
}

.accessibility-option-copy small {
  color: #5a6578;
  font-size: 0.7rem;
  line-height: 1.35;
}

.accessibility-switch {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: #d7dce5;
  transition: background 180ms var(--ease);
}

.accessibility-switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 180ms var(--ease);
}

.accessibility-option.is-active .accessibility-switch {
  background: #213c73;
}

.accessibility-option.is-active .accessibility-switch span {
  transform: translateX(16px);
}

.accessibility-note {
  margin: 0;
  padding: 0 18px 18px;
  color: #5a6578;
  font-size: 0.7rem;
  text-align: center;
}

/* User-selected accessibility modes */

.a11y-hide-images body img {
  display: none !important;
}

.a11y-stop-motion *,
.a11y-stop-motion *::before,
.a11y-stop-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

.a11y-stop-motion .reveal,
.a11y-stop-motion .reveal-stagger {
  opacity: 1 !important;
  transform: none !important;
}

.a11y-large-text {
  font-size: 112.5%;
}

.a11y-high-contrast {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-yellow: #fff5bd;
  --text: #000000;
  --muted: #111111;
  --dim: #222222;
  --navy: #002b62;
  --navy-dim: #001d43;
  --border: rgba(0, 0, 0, 0.45);
  --border-hover: rgba(0, 0, 0, 0.8);
}

.a11y-high-contrast body {
  color: #000000;
}

.a11y-high-contrast :where(.panel, .quick-link, .bento-card, .step-card, .join-option--paper, .ticket, .board-row-item, .contact-form, .info-block) {
  border-color: #000000;
}

.a11y-underline-links body a:not(.button):not(.nav-cta):not(.brand):not(.footer-social-link):not(.search-result) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

@media (max-width: 520px) {
  .accessibility-widget {
    right: 14px;
    bottom: 14px;
  }

  .accessibility-trigger {
    width: 54px;
    height: 54px;
  }

  .accessibility-panel {
    max-height: calc(100vh - 90px);
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .accessibility-panel,
  .accessibility-trigger,
  .accessibility-option,
  .accessibility-icon-button,
  .accessibility-switch,
  .accessibility-switch span {
    animation: none;
    transition: none;
  }
}

/* ── Site search ── */

body.search-open {
  overflow: hidden;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 10vh 16px 24px;
  background: rgba(20, 38, 74, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-overlay[hidden] {
  display: none;
}

.search-dialog {
  width: min(640px, 100%);
  max-height: min(720px, 80vh);
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(33, 60, 115, 0.14);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(20, 38, 74, 0.28);
  animation: search-dialog-in 220ms var(--ease);
}

@keyframes search-dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 0;
}

.search-dialog-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.15rem;
}

.search-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(33, 60, 115, 0.12);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--navy);
  cursor: pointer;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.search-close:hover {
  background: var(--surface-yellow);
  transform: translateY(-1px);
}

.search-close svg {
  width: 18px;
  height: 18px;
}

.search-field {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 14px 16px 0;
  padding: 12px 14px;
  border: 1px solid rgba(33, 60, 115, 0.16);
  border-radius: 14px;
  background: var(--surface-2);
}

.search-field:focus-within {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(33, 60, 115, 0.12);
}

.search-field > svg {
  width: 22px;
  height: 22px;
  color: var(--navy);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.search-field input::placeholder {
  color: var(--muted);
  font-weight: 500;
}

.search-kbd {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(33, 60, 115, 0.14);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
}

.search-status {
  margin: 12px 20px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.search-results {
  display: grid;
  gap: 8px;
  align-content: start;
  margin: 12px 0 0;
  padding: 0 12px 16px;
  overflow-y: auto;
}

.search-result {
  display: grid;
  gap: 4px;
  padding: 14px 14px;
  border: 1px solid rgba(33, 60, 115, 0.1);
  border-radius: 14px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.search-result:hover,
.search-result.is-active {
  border-color: var(--navy);
  background: #f4f7fc;
  transform: translateY(-1px);
}

.search-result-page {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-result strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.3;
}

.search-result small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.search-result mark {
  background: rgba(240, 201, 75, 0.45);
  color: inherit;
  border-radius: 3px;
  padding: 0 1px;
}

.search-empty {
  padding: 18px 8px 8px;
  text-align: center;
}

.search-empty p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.search-suggestions button {
  padding: 8px 12px;
  border: 1px solid rgba(33, 60, 115, 0.14);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

.search-suggestions button:hover {
  background: var(--surface-yellow);
  border-color: rgba(240, 201, 75, 0.55);
}

@media (max-width: 520px) {
  .search-overlay {
    padding: 8vh 10px 16px;
  }

  .search-dialog {
    border-radius: 18px;
    max-height: 84vh;
  }

  .search-kbd {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-dialog,
  .search-trigger,
  .search-close,
  .search-result {
    animation: none;
    transition: none;
  }
}

/* ── Upcoming Events ── */

.events-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 12px !important;
}

.events-hero-copy h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.events-view-switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.events-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.events-view-btn svg {
  width: 16px;
  height: 16px;
}

.events-view-btn:hover {
  background: rgba(255, 255, 255, 0.8);
}

.events-view-btn.is-active {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.events-stage {
  padding-top: 24px !important;
}

.events-panel[hidden] {
  display: none !important;
}

.events-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.events-month-label {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  text-align: center;
}

.events-month-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(33, 60, 115, 0.14);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.events-month-btn:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.events-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(33, 60, 115, 0.1);
  box-shadow: var(--shadow-card);
}

.events-weekday {
  padding: 4px 0 8px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.events-day {
  position: relative;
  min-height: 88px;
  padding: 10px 8px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid transparent;
}

.events-day--muted {
  opacity: 0.45;
}

.events-day--today {
  border-color: rgba(240, 201, 75, 0.7);
  background: var(--surface-yellow);
}

.events-day-num {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-bottom: 6px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
}

.events-day--today .events-day-num {
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--white);
}

.events-day-event {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease);
}

.events-day-event:hover {
  background: var(--navy-dim);
  transform: translateY(-1px);
}

.events-day-event--fundraiser {
  background: linear-gradient(135deg, #1f7a4d 0%, #17633e 100%);
}

.events-list {
  display: grid;
  gap: 12px;
}

.events-list-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(33, 60, 115, 0.1);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.events-list-item:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 60, 115, 0.28);
  box-shadow: var(--shadow-md);
}

.events-list-date {
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 12px 8px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dim) 100%);
  color: var(--white);
  text-align: center;
}

.events-list-date strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.events-list-date span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.events-list-copy h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
}

.events-list-copy p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.events-list-meta {
  margin-top: 8px !important;
  color: var(--navy) !important;
  font-family: var(--font-display);
  font-size: 0.82rem !important;
  font-weight: 600;
}

.events-list-arrow {
  color: var(--navy);
  font-size: 1.2rem;
}

.events-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.events-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  overflow: hidden;
  border: 1px solid rgba(33, 60, 115, 0.1);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.events-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.events-card-media {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.events-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.events-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.events-card-body {
  display: grid;
  gap: 8px;
  padding: 18px 18px 20px;
}

.events-card-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.events-card-body p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.events-card-when {
  color: var(--navy) !important;
  font-family: var(--font-display);
  font-size: 0.84rem !important;
  font-weight: 700;
}

.events-empty {
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px dashed rgba(33, 60, 115, 0.2);
  color: var(--muted);
  text-align: center;
  font-size: 0.98rem;
}

/* Event detail modal */

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.event-modal[hidden] {
  display: none;
}

.event-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 38, 74, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.event-modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(860px, 92vh);
  overflow: auto;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(20, 38, 74, 0.3);
  animation: event-modal-in 220ms var(--ease);
}

@keyframes event-modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.event-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(33, 60, 115, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  cursor: pointer;
}

.event-modal-close svg {
  width: 18px;
  height: 18px;
}

.event-modal-media {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
  background: #0f2144;
}

.event-modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: top center;
}

.event-modal-content {
  display: grid;
  gap: 18px;
  padding: 28px 28px 32px;
}

.event-modal-kicker {
  display: inline-flex;
  align-self: start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-yellow);
  border: 1px solid rgba(240, 201, 75, 0.5);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-modal-content h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.event-modal-summary {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
}

.event-modal-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.event-fact {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid rgba(33, 60, 115, 0.08);
}

.event-fact span {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.event-fact strong,
.event-fact a {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
  text-decoration: none;
}

.event-fact a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.event-modal-section h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.05rem;
}

.event-modal-section ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.event-modal-motto {
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dim) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.event-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.event-modal-actions.contact-map-actions {
  margin-top: 4px;
}

body.event-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .events-hero {
    align-items: stretch;
  }

  .events-view-switch {
    width: 100%;
    justify-content: space-between;
  }

  .events-view-btn {
    flex: 1;
    justify-content: center;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .events-calendar {
    gap: 4px;
    padding: 12px;
  }

  .events-day {
    min-height: 64px;
    padding: 6px 4px;
  }

  .events-day-event {
    font-size: 0.58rem;
    padding: 4px 5px;
  }

  .events-list-item {
    grid-template-columns: 72px 1fr;
  }

  .events-list-arrow {
    display: none;
  }

  .event-modal-facts {
    grid-template-columns: 1fr;
  }

  .event-modal-content {
    padding: 22px 18px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-modal-dialog,
  .events-list-item,
  .events-card,
  .events-day-event,
  .events-month-btn,
  .events-view-btn {
    animation: none;
    transition: none;
  }
}
