/* =========================================================
   Ida Bass Foundation — site stylesheet
   Reproduces the reference site (Tailwind-built) value for value:
   navy #1e3a5f / green #8bc34a, system font, light weights, glass cards.
   Section spacing is intentionally tighter than the reference.
   ========================================================= */

:root {
  --navy: #1e3a5f;
  --navy-2: #2d5a8f;
  --green: #8bc34a;
  --green-2: #689f38;
  --green-3: #558b2f;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5dc;
  --gray-400: #99a1af;
  --gray-500: #6a7282;
  --gray-600: #4a5565;
  --gray-700: #364153;
  --ink: #0a0a0a;
  --font: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --nav-h: 5rem;
  --gutter: 1rem;
}

@media (min-width: 640px) { :root { --nav-h: 6rem; --gutter: 1.5rem; } }
@media (min-width: 1024px) { :root { --gutter: 2rem; } }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 80rem; }

.section { padding-block: 2.5rem; position: relative; }
.section--gray { background: var(--gray-50); }
.section--white { background: #fff; }
@media (min-width: 640px) { .section { padding-block: 3rem; } }
@media (min-width: 768px) { .section { padding-block: 4rem; } }

.section-head { text-align: center; margin-bottom: 2rem; }
@media (min-width: 768px) { .section-head { margin-bottom: 2.5rem; } }

.section-title {
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; line-height: 1.11; } }

.section-sub {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--gray-600);
  max-width: 42rem;
  margin-inline: auto;
}
.section-sub--italic { font-size: 1.25rem; font-style: italic; }

.sub-title {
  font-size: 1.5rem;
  line-height: 1.33;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 1.5rem;
  text-align: center;
}
@media (min-width: 640px) { .sub-title { font-size: 1.875rem; } }

.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 640px) { .split { gap: 2rem; } }
@media (min-width: 768px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }

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

.lead {
  font-size: 1.125rem;
  line-height: 1.625;
  font-weight: 300;
  color: var(--gray-700);
}

/* ---------- Glass surfaces (measured from the reference) ---------- */
.frosted-glass {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-radius: 1.5rem;
}
.liquid-glass {
  position: relative;
  isolation: isolate;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
}
.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
  pointer-events: none;
}
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}
.glass-premium {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1), 0 2px 8px rgba(31, 38, 135, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.glass-dark-blue {
  background: rgba(30, 58, 95, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
  line-height: 1.5;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-align: center;
}
.btn--navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.btn--navy:hover { background: var(--navy-2); box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.btn--outline { border: 2px solid var(--navy); color: var(--navy); box-shadow: var(--shadow-lg); }
.btn--outline:hover { background: var(--navy); color: #fff; box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.btn--green { background: linear-gradient(to right, var(--green), var(--green-2)); color: #fff; font-weight: 300; }
.btn--green:hover { box-shadow: var(--shadow-lg); transform: scale(1.05); }
.btn--lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn--xl { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn--md { padding: 0.75rem 2rem; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 24px rgba(31, 38, 135, 0.05);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}
.nav-brand img { height: 3.5rem; width: auto; }
@media (min-width: 640px) { .nav-brand img { height: 4rem; } }
@media (min-width: 768px) { .nav-brand img { height: 5rem; } }

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  font-size: 0.875rem;
  line-height: 1.43;
  color: var(--gray-700);
  transition: color 0.2s;
  text-align: center;
}
.nav-link:hover { color: var(--navy); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-100);
  border-radius: 9999px;
  padding: 0.25rem;
}
.lang-switch a {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  line-height: 1.33;
  color: var(--gray-600);
  transition: all 0.2s;
}
.lang-switch a.is-active { background: #fff; color: var(--navy); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }

.nav-donate {
  display: none;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  transition: background-color 0.2s;
}
.nav-donate:hover { background: var(--navy-2); }
@media (min-width: 640px) { .nav-donate { display: block; } }

.nav-toggle { display: block; color: var(--gray-700); transition: color 0.2s; }
.nav-toggle:hover { color: var(--navy); }
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.nav-mobile {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.nav-mobile.is-open { display: block; }
.nav-mobile__inner { padding: 1.5rem var(--gutter); }
.nav-mobile .nav-link { display: block; width: 100%; text-align: left; padding-block: 0.5rem; font-size: 1rem; }
.nav-mobile .nav-link + .nav-link { margin-top: 1rem; }
.nav-mobile .btn--navy { width: 100%; margin-top: 1rem; padding: 0.75rem 1.5rem; font-size: 0.875rem; box-shadow: var(--shadow-md); }
@media (min-width: 1024px) { .nav-mobile { display: none !important; } }

/* ---------- Event banner (first block under the header) ---------- */
.event-banner { padding: calc(var(--nav-h) + 0.75rem) 0 0.75rem; background: #fff; }
.event-banner__card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.25rem;
  align-items: center;
  border-radius: 1.5rem;
  padding: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow-2xl);
}
.event-banner__card::before {
  content: "";
  position: absolute;
  right: -4rem;
  top: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(139, 195, 74, 0.25);
  filter: blur(48px);
  pointer-events: none;
}
.event-banner__body, .event-banner__cta { position: relative; z-index: 1; }
@media (min-width: 640px) { .event-banner__card { padding: 2rem; } }
@media (min-width: 768px) { .event-banner__card { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; padding: 2rem 2.5rem; } }

.event-banner__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(139, 195, 74, 0.22);
  border: 1px solid rgba(139, 195, 74, 0.55);
  color: #e3f2c8;
  margin-bottom: 0.875rem;
}
.event-banner__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green); animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.event-banner__title { font-size: 1.5rem; line-height: 1.25; font-weight: 300; margin-bottom: 0.75rem; }
@media (min-width: 640px) { .event-banner__title { font-size: 1.875rem; } }
@media (min-width: 768px) { .event-banner__title { font-size: 2.25rem; } }
.event-link { color: inherit; text-decoration: none; }
.event-link:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.event-banner__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.875rem; margin-bottom: 0.75rem; opacity: 0.95; }
.event-banner__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.event-banner__meta svg { width: 1rem; height: 1rem; color: var(--green); flex: none; }
.event-banner__desc { font-weight: 300; line-height: 1.6; max-width: 46rem; opacity: 0.92; }
.event-banner__cta .btn { padding: 0.875rem 2rem; box-shadow: var(--shadow-lg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--gray-50), #fff, var(--gray-50));
  padding-block: 1rem 3rem;
}
.hero__grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 640px) { .hero__grid { gap: 2rem; } }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }

.hero__card { padding: 2rem; }
@media (min-width: 1024px) { .hero__card { padding: 3rem; } }
.hero__title {
  font-size: 2.5rem;
  line-height: 1.25;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 2rem;
}
.hero__lede { font-size: 1.125rem; line-height: 1.55; font-weight: 300; color: var(--gray-700); margin-bottom: 2rem; }
@media (min-width: 640px) { .hero__lede { font-size: 1.25rem; line-height: 1.4; } }
.hero__actions { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }

.scroll-cue {
  display: none;
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1s infinite;
}
.scroll-cue span { display: flex; justify-content: center; width: 1.5rem; height: 2.5rem; border: 2px solid var(--gray-300); border-radius: 9999px; }
.scroll-cue span::after { content: ""; width: 0.25rem; height: 0.75rem; background: var(--gray-400); border-radius: 9999px; margin-top: 0.5rem; }
@media (min-width: 1024px) { .scroll-cue { display: block; } }

/* Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  background: var(--navy);
  touch-action: pan-y;
}
@media (min-width: 640px) { .hero-slider { height: 500px; } }
@media (min-width: 768px) { .hero-slider { height: 600px; } }
@media (min-width: 1024px) { .hero-slider { height: 700px; } }

.slider-track { display: flex; height: 100%; transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); will-change: transform; }
.slider-slide { position: relative; flex: 0 0 100%; height: 100%; }
.slider-slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3), transparent);
}
.slider-caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.5rem 1.5rem 3.5rem; color: #fff; }
.slider-caption h3 { font-size: 1.5rem; line-height: 1.33; font-weight: 300; margin-bottom: 0.75rem; text-shadow: 0 4px 3px rgb(0 0 0 / 0.07), 0 2px 2px rgb(0 0 0 / 0.06), 0 2px 8px rgb(0 0 0 / 0.35); }
.slider-caption p { font-size: 1rem; font-weight: 300; opacity: 0.95; max-width: 42rem; text-shadow: 0 2px 8px rgb(0 0 0 / 0.45); }
@media (min-width: 640px) {
  .slider-caption { padding: 2rem 2rem 4rem; }
  .slider-caption h3 { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1rem; }
  .slider-caption p { font-size: 1.125rem; }
}
@media (min-width: 1024px) {
  .slider-caption { padding: 3rem 3rem 4.5rem; }
  .slider-caption h3 { font-size: 3rem; line-height: 1; }
  .slider-caption p { font-size: 1.25rem; }
}

.slider-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s;
}
.slider-arrow:hover { background: rgba(0, 0, 0, 0.45); }
.slider-arrow svg { width: 1.25rem; height: 1.25rem; }
.slider-arrow--prev { left: 0.75rem; }
.slider-arrow--next { right: 0.75rem; }
@media (min-width: 1024px) { .slider-arrow { width: 3.125rem; height: 3.125rem; } .slider-arrow--prev { left: 1.875rem; } .slider-arrow--next { right: 1.875rem; } }

.slider-dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: 1.25rem; display: flex; justify-content: center; gap: 0.25rem; }
.slider-dot { width: 1.25rem; height: 1.25rem; display: grid; place-items: center; }
.slider-dot::before { content: ""; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: #fff; opacity: 0.5; transition: opacity 0.2s, transform 0.2s; }
.slider-dot.is-active::before { opacity: 1; transform: scale(1.2); }

/* Focal points so crops keep the subject in frame */
img[src$="IMG_6816.jpg"] { object-position: 55% 45%; }
img[src$="IMG_6817.jpg"] { object-position: 82% 35%; }
img[src$="img_slider.jpg"] { object-position: 50% 40%; }
img[src$="IMG_6967.jpg"] { object-position: 50% 30%; }
img[src$="clinic.jpg"] { object-position: 50% 35%; }

/* ---------- About ---------- */
.about { background: linear-gradient(to bottom, #fff, rgba(249, 250, 251, 0.3), #fff); overflow: hidden; }
.about::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.1), transparent 50%); pointer-events: none; }
.about > .container { position: relative; z-index: 1; }
.about__photo { padding: 0.5rem; }
.img-card { width: 100%; object-fit: cover; border-radius: 1rem; height: 300px; }
@media (min-width: 640px) { .img-card { height: 400px; } }
@media (min-width: 768px) { .img-card { height: 500px; } }
.img-card--shadow { box-shadow: var(--shadow-2xl); }
.about__text { padding: 1.5rem; }
@media (min-width: 640px) { .about__text { padding: 2rem; } }
.about__text .lead + .lead { margin-top: 1rem; }
.about__text .bullet-list { margin-top: 1.5rem; }
.about__text .bullet-list + .lead { margin-top: 1.5rem; }

.bullet-list li { display: flex; align-items: flex-start; color: var(--gray-700); font-weight: 300; }
.bullet-list li + li { margin-top: 0.75rem; }
.bullet-list--lg li { font-size: 1.125rem; }
.bullet-list--lg li + li { margin-top: 1rem; }
.dot { flex: none; width: 0.5rem; height: 0.5rem; background: var(--green); border-radius: 50%; margin: 0.5rem 0.75rem 0 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--navy));
}
@media (min-width: 768px) { .timeline::before { left: 50%; } }
.tl-item { position: relative; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .tl-item { margin-bottom: 1rem; } }
.tl-item:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .tl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: center; } }
.year-pill {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 1.5rem;
  line-height: 1.33;
  font-weight: 300;
  margin-bottom: 1rem;
}
.year-pill--now { background: linear-gradient(to right, var(--green), var(--green-2)); }
@media (min-width: 768px) {
  .tl-year { text-align: right; padding-right: 3rem; }
  .tl-item--alt .tl-year { order: 2; text-align: left; padding-right: 0; padding-left: 3rem; }
  .tl-item--alt .tl-body { order: 1; }
}
.tl-body { margin-left: 4rem; padding-bottom: 0.5rem; }
@media (min-width: 768px) {
  .tl-body { margin-left: 3rem; padding-left: 3rem; padding-bottom: 0.5rem; }
  .tl-item--alt .tl-body { margin-left: 0; padding-left: 0; padding-right: 3rem; }
  .tl-item:last-child .tl-body { padding-bottom: 0; }
}
.tl-card { background: var(--gray-50); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-lg); }
.tl-card p { font-weight: 300; line-height: 1.625; color: var(--gray-700); }
.tl-card p + .bullet-list { margin-top: 1rem; }
.tl-card .bullet-list li + li { margin-top: 0.5rem; }
.tl-card--now { background: linear-gradient(135deg, rgba(139, 195, 74, 0.1), rgba(104, 159, 56, 0.1)); border: 2px solid var(--green); }
.tl-dot {
  position: absolute;
  left: 2rem;
  top: 3rem;
  width: 1rem;
  height: 1rem;
  background: var(--green);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transform: translateX(-50%);
}
.tl-dot--now { width: 1.5rem; height: 1.5rem; background: linear-gradient(135deg, var(--green), var(--green-2)); box-shadow: var(--shadow-xl); animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@media (min-width: 768px) { .tl-dot { left: 50%; top: 1rem; } }

/* ---------- Mission ---------- */
.mission-img { height: 420px; object-position: top; }
@media (min-width: 768px) { .mission-img { height: 600px; } }

/* ---------- Core values ---------- */
.values { background: #fff; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.blob--green { top: 0; left: 0; width: 18rem; height: 18rem; background: rgba(139, 195, 74, 0.05); }
.blob--navy { bottom: 0; right: 0; width: 24rem; height: 24rem; background: rgba(30, 58, 95, 0.05); }
.values > .container { position: relative; z-index: 1; }
.title-bar { width: 5rem; height: 0.25rem; margin: 0 auto; border-radius: 9999px; background: linear-gradient(to right, var(--green), var(--green-2)); }
.values .section-head { margin-bottom: 2.5rem; }
.values-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.value { position: relative; }
.value__hover { position: absolute; inset: 0; border-radius: 1.5rem; opacity: 0; transition: opacity 0.3s; }
.value:hover .value__hover { opacity: 0.12; }
.value__card { position: relative; height: 100%; border-radius: 1.5rem; padding: 2rem; text-align: center; overflow: hidden; }
.value__icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
}
.value__icon svg { width: 2.5rem; height: 2.5rem; }
.value:hover .value__icon { transform: rotate(6deg); }
.value__title { font-size: 1.25rem; line-height: 1.4; font-weight: 400; color: var(--navy); margin-bottom: 1rem; transition: color 0.3s; }
.value:hover .value__title { color: var(--navy-2); }
.value__rule { width: 3rem; height: 2px; margin: 0 auto 1rem; border-radius: 9999px; opacity: 0.5; transition: width 0.3s, opacity 0.3s; }
.value:hover .value__rule { width: 4rem; opacity: 1; }
.value__text { font-size: 0.875rem; line-height: 1.625; font-weight: 300; color: var(--gray-600); }
.value__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 0.25rem; transform: scaleX(0); transition: transform 0.3s; }
.value:hover .value__bar { transform: scaleX(1); }
.grad-green { background: linear-gradient(135deg, var(--green), var(--green-2)); }
.grad-navy { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.grad-green-dark { background: linear-gradient(135deg, var(--green-2), var(--green-3)); }
.grad-navy-rev { background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.values__closing { text-align: center; margin-top: 2.5rem; font-size: 1.125rem; font-style: italic; font-weight: 300; color: var(--gray-500); }

/* ---------- Impact ---------- */
.stat-grid { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .stat-grid { gap: 2rem; } }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 3rem; } }
@media (min-width: 1024px) { .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-card { text-align: center; border-radius: 1.5rem; padding: 2rem; transition: transform 0.3s; }
.stat-card:hover { transform: scale(1.05); }
.stat-card__value { font-size: 2.25rem; line-height: 1; font-weight: 300; color: var(--navy); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .stat-card__value { font-size: 3rem; } }
.stat-card__label { font-size: 0.875rem; line-height: 1.43; color: var(--gray-600); max-width: 200px; margin-inline: auto; }
.target-card { position: relative; overflow: hidden; text-align: center; border-radius: 1.5rem; padding: 2rem; color: #fff; }
@media (min-width: 640px) { .target-card { padding: 3rem; } }
.target-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(30, 58, 95, 0.5), rgba(45, 90, 143, 0.5)); }
.target-card > * { position: relative; z-index: 1; }
.target-card__label { font-size: 1.25rem; font-weight: 300; margin-bottom: 0.5rem; }
.target-card__value { font-size: 1.5rem; line-height: 1.3; }
@media (min-width: 640px) { .target-card__value { font-size: 1.875rem; } }

/* ---------- Clinic ---------- */
.clinic-block { margin-bottom: 2.5rem; }
.clinic-intro { padding: 1.5rem; }
@media (min-width: 768px) { .clinic-intro { padding: 2.5rem; } }
.clinic-intro p { max-width: 56rem; margin-inline: auto; text-align: center; }
.cap-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.cap-card { position: relative; overflow: hidden; border-radius: 1.5rem; padding: 2rem; color: #fff; text-align: center; transition: transform 0.3s; }
.cap-card:hover { transform: scale(1.05); }
.cap-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, 0.2), transparent); pointer-events: none; }
.cap-card > * { position: relative; z-index: 1; }
.cap-card__value { font-size: 2.25rem; line-height: 1; font-weight: 300; margin-bottom: 0.5rem; }
@media (min-width: 640px) { .cap-card__value { font-size: 3rem; } }
.cap-card__label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.025em; opacity: 0.9; }
.program-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.program { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; border-radius: 1rem; }
.program__dot { flex: none; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-2)); box-shadow: var(--shadow-lg); transition: transform 0.2s; }
.program:hover .program__dot { transform: scale(1.25); }
.program p { font-size: 1.125rem; font-weight: 300; color: var(--gray-700); }
.navy-card { border-radius: 1.5rem; padding: 2rem; color: #fff; box-shadow: var(--shadow-2xl); background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
@media (min-width: 768px) { .navy-card { padding: 3rem; } }
.navy-card--center { text-align: center; }
.navy-card h3 { font-size: 1.875rem; line-height: 1.2; font-weight: 300; margin-bottom: 1.5rem; text-align: center; }
.navy-card p { color: rgba(255, 255, 255, 0.9); font-size: 1.125rem; line-height: 1.625; font-weight: 300; text-align: center; max-width: 56rem; margin-inline: auto; }
.wide-photo { margin-top: 2.5rem; }
.wide-photo img { width: 100%; height: 300px; object-fit: cover; border-radius: 1.5rem; box-shadow: var(--shadow-2xl); }
@media (min-width: 640px) { .wide-photo img { height: 400px; } }
@media (min-width: 768px) { .wide-photo img { height: 500px; } }

/* ---------- Leadership ---------- */
.leader { display: grid; gap: 2rem; align-items: start; margin-bottom: 3rem; }
.leader:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .leader { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
  .leader__text { grid-column: span 2; }
  .leader--reverse .leader__text { order: 1; }
  .leader--reverse .leader__photo { order: 2; }
}
.leader__photo { position: relative; }
.leader__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 1rem; box-shadow: var(--shadow-2xl); }
.leader__photo::after { content: ""; position: absolute; inset: 0; border-radius: 1rem; box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.1); }
.leader__name { font-size: 1.875rem; line-height: 1.2; color: var(--navy); margin-bottom: 0.5rem; }
.leader__role { font-size: 1.25rem; font-weight: 300; color: var(--green); margin-bottom: 1.5rem; }
.leader__bio { font-size: 1.125rem; line-height: 1.625; font-weight: 300; color: var(--gray-700); }
.leader__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.leader__stat-value { font-size: 1.875rem; line-height: 1.2; font-weight: 300; color: var(--navy); margin-bottom: 0.25rem; }
.leader__stat-label { font-size: 0.875rem; font-weight: 300; color: var(--gray-600); }

/* ---------- Media ---------- */
.embed-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .embed-grid { gap: 2rem; } }
@media (min-width: 768px) { .embed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.embed { padding: 0.75rem; }
@media (min-width: 640px) { .embed { padding: 1rem; } }
.embed__frame { position: relative; width: 100%; }
.embed__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 1rem; }
.press { margin-top: 3rem; }
@media (min-width: 640px) { .press { margin-top: 3.5rem; } }
.press .sub-title { margin-bottom: 0.75rem; }
.press__head { text-align: center; margin-bottom: 2rem; }
.cover-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .cover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 768px) { .cover-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cover { display: block; padding: 1rem; overflow: hidden; transition: box-shadow 0.3s; }
.cover:hover { box-shadow: var(--shadow-2xl); }
.cover__img { position: relative; overflow: hidden; border-radius: 1rem; margin-bottom: 1rem; }
.cover__img img { width: 100%; height: auto; transition: transform 0.5s; }
.cover:hover .cover__img img { transform: scale(1.05); }
.cover__caption { text-align: center; font-size: 0.875rem; font-weight: 300; color: var(--gray-600); }

/* ---------- Fundraising ---------- */
.fund-intro { max-width: 56rem; margin: 0 auto 2.5rem; text-align: center; }
.gradient-card { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-2xl); margin-bottom: 2.5rem; }
@media (min-width: 768px) { .gradient-card { padding: 3rem; } }
.gradient-card--green { background: linear-gradient(135deg, var(--green), var(--green-2)); }
.gradient-card--navy { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.gradient-card > * { position: relative; z-index: 1; }
.gradient-card--green::before { content: ""; position: absolute; inset: 0; opacity: 0.3; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%); }
.gradient-card--navy::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)); }
.gradient-card__big { font-size: 2.25rem; line-height: 1; font-weight: 300; margin-bottom: 1rem; }
@media (min-width: 640px) { .gradient-card__big { font-size: 3rem; } }
@media (min-width: 768px) { .gradient-card__big { font-size: 3.75rem; } }
.gradient-card p { font-size: 1.25rem; line-height: 1.5; font-weight: 300; max-width: 48rem; margin-inline: auto; }
.gradient-card--green p { opacity: 0.95; }
.gradient-card--navy p { font-size: 1.5rem; line-height: 1.625; }
.fund-detail { padding: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .fund-detail { padding: 3rem; } }
.fund-detail p { max-width: 56rem; margin-inline: auto; text-align: center; }
.fund-detail p + p { margin-top: 1.5rem; }
.fund-detail .fund-detail__quote { font-size: 1.25rem; font-weight: 400; font-style: italic; color: var(--navy); }
.way-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .way-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.way { border-radius: 1.5rem; padding: 2rem; border: 1px solid rgba(255, 255, 255, 0.3); transition: box-shadow 0.3s; }
.way:hover { box-shadow: var(--shadow-2xl); }
.way__icon { width: 4rem; height: 4rem; display: grid; place-items: center; border-radius: 1rem; color: #fff; margin-bottom: 1.5rem; box-shadow: var(--shadow-lg); transition: transform 0.3s; }
.way__icon svg { width: 2rem; height: 2rem; }
.way:hover .way__icon { transform: scale(1.1) rotate(6deg); }
.way h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 400; color: var(--navy); margin-bottom: 0.75rem; }
.way p { font-weight: 300; color: var(--gray-600); }
.way a.link { text-decoration: underline; text-underline-offset: 4px; }
.way a.link:hover { color: var(--navy); }

/* ---------- Events (kept from the previous site, restyled) ---------- */
.events-card { position: relative; overflow: hidden; border-radius: 1.5rem; color: #fff; box-shadow: var(--shadow-2xl); background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.events-card__grid { display: grid; }
@media (min-width: 768px) { .events-card__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.events-card__media { position: relative; min-height: 18rem; }
.events-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.events-card__body { padding: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; justify-content: center; }
@media (min-width: 768px) { .events-card__body { padding: 3rem; } }
.events-card__eyebrow { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.events-card h2 { font-size: 1.875rem; line-height: 1.2; font-weight: 300; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { display: inline-block; padding: 0.25rem 0.875rem; border-radius: 9999px; font-size: 0.8125rem; background: rgba(255, 255, 255, 0.16); }
.pill--soft { background: transparent; border: 1px dashed rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.8); }
.events-card p { font-weight: 300; line-height: 1.6; opacity: 0.92; }
.countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-block: 0.25rem; }
.countdown__unit { min-width: 3.6rem; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0.75rem 0.5rem; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 1rem; }
.countdown__value { font-size: 1.75rem; line-height: 1; font-weight: 300; color: var(--green); font-variant-numeric: tabular-nums; }
.countdown__label { font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.countdown__sep { font-size: 1.5rem; color: var(--green); animation: pulse 1s ease-in-out infinite; }
.countdown.is-elapsed .countdown__sep { animation: none; }
.events-gallery { margin-top: 1.5rem; }
.events-gallery img { width: 100%; max-width: 34rem; margin-inline: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1.5rem; box-shadow: var(--shadow-2xl); }
.events-gallery figcaption { text-align: center; margin-top: 0.75rem; font-size: 0.875rem; font-weight: 300; color: var(--gray-600); }

/* ---------- How you can help ---------- */
.help-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .help-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.help-card { overflow: hidden; transition: transform 0.3s; }
.help-card:hover { transform: scale(1.05); }
.help-card__img { position: relative; }
.help-card__img img { width: 100%; height: 12rem; object-fit: cover; }
.help-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(255, 255, 255, 0.6), transparent); }
.help-card__body { position: relative; z-index: 1; padding: 2rem; }
.help-card h3 { font-size: 1.5rem; line-height: 1.33; color: var(--navy); margin-bottom: 1rem; }
.help-card p { font-weight: 300; line-height: 1.625; color: var(--gray-600); }
.center { text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .contact-grid { gap: 2.5rem; } }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }
.contact-info > * + * { margin-top: 2rem; }
.contact-line { display: flex; align-items: flex-start; gap: 1rem; }
.contact-line__icon { flex: none; width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--green); color: #fff; border-radius: 50%; }
.contact-line__icon svg { width: 1.5rem; height: 1.5rem; }
.contact-line h3 { font-size: 1.125rem; line-height: 1.55; color: var(--navy); margin-bottom: 0.25rem; }
.contact-line p, .contact-line a { font-weight: 300; color: var(--gray-600); }
.contact-line a:hover { color: var(--navy); }
.contact-form { padding: 2rem; }
.contact-form > * + * { margin-top: 1.5rem; }
.field {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 9999px;
  background: #fff;
  font: inherit;
  font-weight: 300;
  color: var(--ink);
  transition: border-color 0.2s;
}
.field:focus { outline: none; border-color: var(--green); }
textarea.field { border-radius: 1.5rem; resize: none; min-height: 9rem; }
.contact-form .btn { width: 100%; padding: 1rem 2rem; font-size: 1.125rem; }
.notice { padding: 1rem 1.25rem; border-radius: 1rem; margin-bottom: 1.5rem; font-weight: 300; }
.notice--ok { background: rgba(139, 195, 74, 0.12); border: 1px solid var(--green); color: var(--green-3); }
.notice--error { background: #fdecea; border: 1px solid #e0a39e; color: #8c1d18; }

/* ---------- Event registration ---------- */
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.reg-page { padding-top: calc(var(--nav-h) + 1.25rem); padding-bottom: 2.5rem; }
.reg-container { max-width: 76rem; }

/* One card, two panels: details on the left (white), payment on the right (navy) */
.reg-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 45px -15px rgba(30, 58, 95, 0.25), 0 0 0 1px rgba(30, 58, 95, 0.06);
}
@media (min-width: 1024px) { .reg-card { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.reg-card fieldset { border: 0; margin: 0; min-width: 0; padding: 1.5rem; }
@media (min-width: 640px) { .reg-card fieldset { padding: 2rem; } }
@media (min-width: 1024px) { .reg-card fieldset { padding: 1.75rem 2.25rem; } }
.reg-card legend { float: left; width: 100%; padding: 0; margin: 0 0 1.25rem; font-size: 1.375rem; line-height: 1.2; font-weight: 300; color: var(--navy); }
.reg-card legend + * { clear: both; }
.reg-card legend::after { content: ""; display: block; width: 2.5rem; height: 3px; margin-top: 0.5rem; border-radius: 9999px; background: linear-gradient(to right, var(--green), var(--green-2)); }

.reg-grid { display: grid; gap: 1rem 1.25rem; }
@media (min-width: 560px) { .reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.reg-field > label, .reg-label { display: block; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em; color: var(--navy); margin-bottom: 0.375rem; }

.field {
  width: 100%;
  padding: 0.6875rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  background: var(--gray-50);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field:hover { border-color: #cbd5e1; }
.field:focus { outline: none; background: #fff; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.25); }
.field::placeholder { color: #9aa3b2; }
.field[aria-invalid="true"] { border-color: #d92d20; background: #fffafa; }
select.field {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
}
.field-hint { margin-top: 0.25rem; font-size: 0.75rem; font-weight: 300; color: var(--gray-500); }
.field-error { margin-top: 0.25rem; font-size: 0.8125rem; color: #b42318; }
.field-error:empty { display: none; }
.field-error--light { color: #ffd1cc; }

.phone-field { display: flex; align-items: stretch; }
.phone-prefix { display: grid; place-items: center; padding: 0 0.75rem; border: 1px solid var(--gray-200); border-right: 0; border-radius: 0.75rem 0 0 0.75rem; background: #eef2f7; color: var(--navy); font-size: 0.9375rem; font-weight: 500; }
.phone-field .field { border-radius: 0 0.75rem 0.75rem 0; min-width: 0; }

.choice-row { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.choice input, .pay-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: 0.5rem 0.7rem; border: 1px solid var(--gray-200); border-radius: 0.75rem; background: var(--gray-50); color: var(--gray-700); font-size: 0.875rem; font-weight: 300; white-space: nowrap; cursor: pointer; transition: all 0.2s; }
.choice:hover span { border-color: var(--navy-2); background: #fff; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 400; }
.choice input:focus-visible + span, .pay-option input:focus-visible + .pay-option__card { outline: 2px solid var(--green); outline-offset: 2px; }

/* Payment panel */
.reg-card__pay {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 195, 74, 0.22), transparent 55%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
}
.reg-card__pay legend { color: #fff; }
.reg-card__pay .reg-label { color: rgba(255, 255, 255, 0.85); }
.reg-event { margin-bottom: 1rem; }
.reg-event__title { font-size: 1rem; font-weight: 500; line-height: 1.35; color: #fff; }
.reg-event__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-top: 0.375rem; font-size: 0.875rem; font-weight: 300; color: rgba(255, 255, 255, 0.85); }
.reg-event__meta span { display: inline-flex; align-items: center; gap: 0.375rem; }
.reg-event__meta svg { width: 1rem; height: 1rem; color: var(--green); flex: none; }
.reg-amount-big { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.875rem 1.125rem; margin-bottom: 1.25rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
.reg-amount-big span { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.8); }
.reg-amount-big strong { font-size: 1.75rem; line-height: 1.1; font-weight: 400; color: #fff; white-space: nowrap; }

.pay-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; }
.pay-option { display: block; position: relative; cursor: pointer; }
.pay-option__card { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.5rem; padding: 0.5rem 0.625rem; border: 2px solid transparent; border-radius: 1rem; background: #fff; color: var(--navy); font-size: 0.9375rem; font-weight: 500; text-align: center; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.pay-option__card span { white-space: nowrap; }
.pay-option__card img { width: 2.25rem; height: 2.25rem; object-fit: contain; border-radius: 0.5rem; flex: none; }
.pay-option__card img.pay-logo--wide { width: auto; height: 1.5rem; max-width: 4.5rem; border-radius: 0; }
.pay-option:hover .pay-option__card { transform: translateY(-1px); }
.pay-option input:checked + .pay-option__card { border-color: var(--green); box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.35); }
@media (max-width: 420px) { .pay-option__card { flex-direction: column; gap: 0.25rem; } }

.pay-box { margin-top: 1rem; padding: 1rem 1.125rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
.pay-box__line { font-size: 1rem; line-height: 1.5; font-weight: 500; color: #fff; }
.pay-box__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.pay-box__actions .btn { flex: 1 1 auto; padding: 0.625rem 1rem; font-size: 0.9375rem; text-align: center; justify-content: center; }
.pay-box__hint { margin-top: 0.625rem; font-size: 0.8125rem; font-weight: 300; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.pay-box__qr { margin-top: 0.75rem; }
.pay-box__qr img { width: 11rem; max-width: 100%; height: auto; border-radius: 0.75rem; background: #fff; padding: 0.5rem; }
.pay-box__qr figcaption { margin-top: 0.375rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.8); }
.pay-mobile-only { display: none; }
@media (hover: none) and (pointer: coarse), (max-width: 640px) { .pay-mobile-only { display: inline-flex; } }
.btn--light { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn--light:hover { background: rgba(255, 255, 255, 0.24); }

.reg-submit { margin-top: 1.25rem; }
.reg-submit .btn { width: 100%; padding: 0.875rem 1.5rem; font-size: 1.0625rem; font-weight: 400; box-shadow: var(--shadow-lg); }
.reg-submit .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; background: rgba(255, 255, 255, 0.22); }
.reg-submit__hint { margin-top: 0.625rem; text-align: center; font-size: 0.8125rem; font-weight: 300; color: rgba(255, 255, 255, 0.85); }

.reg-closed { padding: 2rem; text-align: center; }
.reg-closed h2 { font-size: 1.5rem; font-weight: 300; color: var(--navy); margin-bottom: 0.75rem; }
.reg-closed .lead { margin-bottom: 1.5rem; }
.reg-page .notice { margin-bottom: 1rem; }

.confirm-card { padding: 1.5rem; }
@media (min-width: 640px) { .confirm-card { padding: 2.5rem; } }
.confirm-card__meta { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-500); text-align: center; }
.confirm-card__title { font-size: 1.875rem; line-height: 1.2; font-weight: 300; color: var(--navy); text-align: center; margin: 0.5rem 0 1.5rem; }
.confirm-number { text-align: center; padding: 1.5rem 1rem; border-radius: 1.25rem; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.confirm-number span { display: block; font-size: 0.9375rem; opacity: 0.85; margin-bottom: 0.25rem; }
.confirm-number strong { display: block; font-size: 2.25rem; line-height: 1.2; font-weight: 300; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; word-break: break-all; }
@media (min-width: 640px) { .confirm-number strong { font-size: 3.25rem; } }
.confirm-status { text-align: center; margin: 1.25rem 0 0.75rem; color: var(--gray-600); }
.status-pill { display: inline-block; padding: 0.25rem 0.875rem; border-radius: 9999px; background: #fff4d6; color: #8a5a00; font-weight: 500; }
.confirm-note { text-align: center; font-size: 1rem; margin-top: 0.5rem; }
.confirm-subtitle { font-size: 1.25rem; font-weight: 400; color: var(--navy); margin: 2rem 0 0.75rem; }
.confirm-list > div { display: grid; gap: 0.15rem; padding: 0.625rem 0; border-top: 1px solid var(--gray-200); }
@media (min-width: 640px) { .confirm-list > div { grid-template-columns: 12rem minmax(0, 1fr); gap: 1rem; } }
.confirm-list dt { font-size: 0.875rem; color: var(--gray-500); }
.confirm-list dd { margin: 0; font-weight: 400; color: var(--ink); overflow-wrap: anywhere; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2rem; }

@media print {
  .site-nav, .site-footer, .back-to-top, .no-print, .skip-link, .donation-dialog { display: none !important; }
  body { background: #fff; }
  .reg-page { padding: 0; background: #fff; }
  .confirm-card { box-shadow: none; border: 1px solid #ccc; background: #fff; }
  .confirm-number { background: #fff !important; color: #000 !important; border: 2px solid #000; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: #fafaf9; padding-block: 3rem; }
@media (min-width: 640px) { .site-footer { padding-block: 4rem; } }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .footer-grid { gap: 2.5rem; margin-bottom: 3rem; } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.footer-logo { height: 5rem; width: auto; margin-bottom: 1rem; }
@media (min-width: 640px) { .footer-logo { height: 6rem; margin-bottom: 1.5rem; } }
.footer-grid p { font-weight: 300; line-height: 1.625; color: var(--gray-600); }
.footer-grid h3 { font-size: 1.125rem; line-height: 1.55; font-weight: 300; color: var(--navy); margin-bottom: 1rem; }
.footer-links a { display: block; color: var(--gray-600); font-weight: 300; transition: color 0.2s; }
.footer-links a + a { margin-top: 0.5rem; }
.footer-links a:hover { color: var(--navy); }
.social-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.social-row a { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; background: rgba(30, 58, 95, 0.1); border-radius: 50%; color: var(--navy); transition: background-color 0.2s; }
.social-row a:hover { background: rgba(30, 58, 95, 0.2); }
.social-row svg { width: 1.25rem; height: 1.25rem; }
.footer-bottom { border-top: 1px solid var(--gray-200); padding-top: 2rem; text-align: center; font-weight: 300; color: var(--gray-500); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 0.2s, transform 0.2s, background-color 0.2s;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--navy-2); }
.back-to-top svg { width: 1.25rem; height: 1.25rem; }

/* ---------- Donation dialog ---------- */
.donation-dialog {
  width: min(32rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 1.5rem;
  background: #fff;
  color: var(--gray-700);
  box-shadow: var(--shadow-2xl);
  overflow: auto;
}
.donation-dialog::backdrop { background: rgba(10, 20, 35, 0.55); }
.donation-dialog__inner { padding: 2rem; }
.donation-dialog__eyebrow { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-2); margin-bottom: 0.5rem; }
.donation-dialog h3 { font-size: 1.5rem; line-height: 1.33; font-weight: 300; color: var(--navy); margin-bottom: 0.5rem; }
.donation-dialog__sub { font-weight: 300; color: var(--gray-600); margin-bottom: 1.5rem; }
.donation-method { border: 1px solid var(--gray-200); border-radius: 1rem; margin-bottom: 0.75rem; overflow: hidden; background: var(--gray-50); }
.donation-method summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 500; color: var(--navy); }
.donation-method summary::-webkit-details-marker { display: none; }
.donation-method__name { display: inline-flex; align-items: center; gap: 0.75rem; }
.donation-method__logo { width: 2.5rem; height: 2.5rem; object-fit: contain; border-radius: 0.5rem; background: #fff; }
.donation-method summary svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.donation-method[open] summary svg { transform: rotate(45deg); }
.donation-method__body { padding: 0 1.25rem 1.25rem; font-weight: 300; }
.donation-method__body p { margin: 0 0 0.4rem; }
.donation-method__body strong { font-weight: 500; color: var(--ink); }
.donation-method__body a { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.donation-dialog .btn { width: 100%; margin-top: 1.5rem; padding: 0.875rem 2rem; }

/* ---------- Error page ---------- */
.error-page { padding: calc(var(--nav-h) + 3rem) 0 4rem; text-align: center; }
.error-page h1 { font-size: 2.25rem; font-weight: 300; color: var(--navy); margin-block: 1rem 1.5rem; }
.error-page .lead { max-width: 36rem; margin: 0 auto 2rem; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes bounce { 0%, 100% { transform: translate(-50%, -25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); } 50% { transform: translate(-50%, 0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); } }
@keyframes pulse { 50% { opacity: 0.5; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slider-track { transition: none; }
  .scroll-cue, .tl-dot--now, .event-banner__dot, .countdown__sep { animation: none; }
}
