@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --teal-50: #effcfb;
  --teal-100: #d3f7f3;
  --teal-500: #18b9ad;
  --teal-600: #0a9289;
  --teal-700: #08736d;
  --ink: #17212b;
  --text: #43505c;
  --muted: #687784;
  --line: #dbe4e8;
  --surface: #f7fafb;
  --white: #fff;
  --shadow: 0 18px 50px rgba(21, 45, 55, 0.12);
  --radius: 16px;
  --content: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font: 400 1rem/1.72 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--teal-700); text-underline-offset: 0.18em; }
a:hover { color: var(--teal-600); }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(219, 228, 232, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--teal-700);
  font: 700 1rem/1 Inter, system-ui, sans-serif;
  letter-spacing: 0.035em;
  text-decoration: none;
}

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

.site-nav a {
  display: block;
  padding: 28px 0 25px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--teal-700); border-color: var(--teal-500); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--teal-50);
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
  position: relative;
  display: grid;
  min-height: 350px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 25%, rgba(255, 255, 255, .11), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(5, 98, 92, .32), transparent 38%),
    linear-gradient(135deg, #08736d 0%, #0d978d 48%, #24bdb2 100%);
}
.hero--home { min-height: 430px; }
.hero-content { max-width: 820px; padding: 48px 0; text-align: center; }
.eyebrow { margin: 0 0 12px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.hero h1 {
  margin: 0;
  color: var(--white);
  font: 700 clamp(2.6rem, 7vw, 5rem)/0.98 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero p { max-width: 680px; margin: 20px auto 0; color: rgba(255,255,255,.92); font-size: 1.12rem; }

.section { padding: 80px 0; }
.section--soft { background: var(--surface); }
.section--compact { padding: 56px 0; }
.prose { max-width: 760px; margin-inline: auto; }
.prose--wide { max-width: 900px; }

h2, h3 { color: var(--ink); line-height: 1.2; text-wrap: balance; }
h2 { margin: 0 0 20px; font: 700 clamp(2rem, 4vw, 3rem)/1.08 "Cormorant Garamond", Georgia, serif; }
h3 { margin: 0 0 12px; font-size: 1.1rem; }
.section-heading { margin-bottom: 36px; text-align: center; }
.section-heading p { max-width: 650px; margin: 0 auto; color: var(--muted); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--teal-600);
  border-radius: 10px;
  color: var(--white);
  background: var(--teal-600);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { color: var(--white); background: var(--teal-700); transform: translateY(-1px); }
.button--ghost { color: var(--teal-700); background: var(--white); }
.button--ghost:hover { color: var(--white); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

.explore-links { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); text-align: center; }
.explore-links--standalone { margin-top: 0; padding-top: 0; border-top: 0; }
.explore-links h2 { margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.35rem); }

.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.impact-summary { max-width: 560px !important; }
.impact-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.impact-card h3 { font: 700 1.42rem/1.3 "Cormorant Garamond", Georgia, serif; }
.impact-card p:last-child { margin-bottom: 0; }
.impact-amount { margin: 0 0 12px; color: var(--teal-700); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.impact-document { margin-top: 22px; }
.impact-document a { display: inline-block; padding: 10px 14px; border: 1px solid var(--teal-500); border-radius: 8px; color: var(--teal-700); background: var(--white); font-weight: 700; text-decoration: none; }
.impact-document a:hover { color: var(--white); background: var(--teal-700); }
.impact-thanks { max-width: 760px; margin: 30px auto 0; text-align: center; }

.stats, .card-grid, .sponsor-grid, .warrior-grid, .year-grid {
  display: grid;
  gap: 22px;
}
.stats { grid-template-columns: repeat(3, 1fr); }
.stat, .card, .year-card, .sponsor-card, .warrior-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(27, 52, 63, 0.06);
}
.stat { padding: 34px 28px; text-align: center; }
.stat strong { display: block; color: var(--teal-600); font: 700 2.55rem/1 Inter, system-ui, sans-serif; letter-spacing: -0.04em; }
.stat span { display: block; margin: 10px 0 6px; color: var(--ink); font-weight: 700; }
.stat p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 52px; }
.feature img { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature figure { margin: 0; }
.photo-caption { margin-top: 12px; color: var(--muted); font-size: .84rem; line-height: 1.5; text-align: center; }
.feature p { margin: 0 0 16px; }

.feature--home { grid-template-columns: 1fr; gap: 38px; }
.feature--home > div:last-child { max-width: 780px; margin-inline: auto; text-align: center; }
.feature--home img { width: 100%; box-shadow: var(--shadow); }

.trust {
  padding: 42px;
  border: 1px solid var(--teal-100);
  border-radius: var(--radius);
  background: var(--teal-50);
  text-align: center;
}
.trust img { width: auto; max-height: 110px; margin-bottom: 16px; }
.trust-badge-link { display: inline-block; border-radius: 8px; }
.trust-badge-link:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 5px; }
.trust p { max-width: 700px; margin: 0 auto; }

.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
blockquote {
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal-500);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(27, 52, 63, .07);
}
blockquote p { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.8; }
blockquote footer { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; line-height: 1.55; }
blockquote .quote-gift { margin-top: 18px; padding: 14px 16px; border-radius: 10px; color: var(--text); background: var(--teal-50); font-size: .88rem; line-height: 1.6; }
.quote-gift a { font-weight: 700; }

.year-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 42px; }
.year-nav a { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--white); font-size: .85rem; font-weight: 700; text-decoration: none; }
.year-nav a:hover, .year-nav a[aria-current="page"] { border-color: var(--teal-500); color: var(--teal-700); background: var(--teal-50); }
.year-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.year-card { padding: 28px; color: inherit; text-align: center; text-decoration: none; }
.year-card strong { display: block; color: var(--teal-700); font: 700 2.2rem/1 "Cormorant Garamond", Georgia, serif; }
.year-card span { display: block; margin-top: 8px; color: var(--muted); font-size: .88rem; }

.sponsor-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.sponsor-card { overflow: hidden; text-align: center; }
.sponsor-card img { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 8px; object-fit: contain; background: var(--surface); }
.sponsor-card h3 { padding: 18px; margin: 0; }
.sponsor-card--text { display: grid; align-content: center; min-height: 360px; padding: 36px; background: var(--teal-50); }
.sponsor-card--text h3 { padding: 16px 0 8px; }
.sponsor-card--text h3 a { color: var(--teal-700); }
.sponsor-card--text p { margin: 0; color: var(--muted); }
.sponsor-card--text .sponsor-card-link { margin-top: 20px; }
.sponsor-card-link a { display: inline-block; padding: 10px 14px; border: 1px solid var(--teal-500); border-radius: 8px; color: var(--teal-700); background: var(--white); font-weight: 700; text-decoration: none; }
.sponsor-card-link a:hover { color: var(--white); background: var(--teal-700); }
.sponsor-card-label span { display: inline-block; padding: 7px 12px; border-radius: 999px; color: var(--teal-700); background: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.donor-list { columns: 3 220px; column-gap: 40px; padding-left: 20px; }
.donor-list li { margin-bottom: 6px; break-inside: avoid; }

.gallery-year { padding: 54px 0; border-top: 1px solid var(--line); }
.gallery-year:first-of-type { padding-top: 0; border: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--surface); }
.gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 220ms ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; }

.lightbox { width: min(94vw, 1100px); max-width: none; padding: 0; border: 0; border-radius: 14px; background: #071414; color: var(--white); }
.lightbox::backdrop { background: rgba(0, 0, 0, .86); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox figcaption { min-height: 48px; padding: 12px 72px; text-align: center; }
.lightbox-close, .lightbox-control { position: absolute; z-index: 2; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; color: var(--white); background: rgba(0,0,0,.66); cursor: pointer; font-size: 1.45rem; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-control { top: 50%; transform: translateY(-50%); }
.lightbox-control--previous { left: 12px; }
.lightbox-control--next { right: 12px; }

.warrior-grid { grid-template-columns: repeat(4, 1fr); }
.warrior-card { overflow: hidden; }
.warrior-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.warrior-card h3 { padding: 16px 18px; margin: 0; }

.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.contact-layout > img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: .9rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cbd6db; border-radius: 9px; color: var(--ink); background: var(--white); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(24,185,173,.18); border-color: var(--teal-500); }
.form-note { margin: 10px 0 0; color: var(--muted); font-size: .85rem; }

.donation-panel { padding: clamp(32px, 6vw, 64px); border: 1px solid var(--teal-100); border-radius: 22px; background: linear-gradient(135deg, var(--teal-50), #fff); text-align: center; }
.address { font-style: normal; text-align: center; }

.site-footer { padding: 48px 0; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 36px; }
.footer-copy { max-width: 520px; }
.footer-copy strong { color: var(--ink); }
.footer-copy p { margin: 8px 0 0; color: var(--muted); font-size: .86rem; }
.tax-id { display: block; margin-top: 2px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.footer-nav a { color: var(--muted); font-size: .82rem; font-weight: 700; text-decoration: none; }
.footer-nav a:hover { color: var(--teal-700); }

@media (max-width: 850px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 80px; left: 0; right: 0; display: none; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: block; padding: 8px 20px 18px; }
  .site-nav a { padding: 14px 4px; border-bottom-width: 1px; }
  .stats, .year-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .contact-layout { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .warrior-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 540px) {
  .container { width: min(calc(100% - 28px), var(--content)); }
  .section { padding: 60px 0; }
  .hero { min-height: 300px; }
  .hero--home { min-height: 370px; }
  .stats, .year-grid, .gallery-grid, .warrior-grid, .form-grid { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .trust { padding: 30px 20px; }
  .donor-list { columns: 1; }
  .lightbox figcaption { padding-inline: 54px; font-size: .85rem; }
}

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