:root {
  --teal: #168f94;
  --teal-dark: #0d5f64;
  --teal-light: #dff6f4;
  --ink: #17343a;
  --muted: #65777c;
  --paper: #fbfaf6;
  --white: #ffffff;
  --sand: #f3efe5;
  --line: rgba(23, 52, 58, 0.12);
  --shadow: 0 20px 60px rgba(19, 63, 67, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1140px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(22, 143, 148, 0.14), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 44%, #ffffff 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

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

.section {
  padding: 96px 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal-dark);
  transition: top 0.2s ease;
}

.skip-link:focus { top: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(23, 52, 58, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(22, 143, 148, 0.14);
}

.brand-text {
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a:not(.button) {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.86;
}

.site-nav a:not(.button):hover { opacity: 1; color: var(--teal-dark); }

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.84rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(22, 143, 148, 0.28);
}

.button-primary:hover { background: var(--teal-dark); }

.button-secondary {
  color: var(--teal-dark);
  background: var(--white);
  border-color: rgba(22, 143, 148, 0.22);
  box-shadow: 0 12px 32px rgba(23, 52, 58, 0.08);
}

.button-small {
  min-height: 42px;
  padding: 0.68rem 0.95rem;
  font-size: 0.92rem;
}

.hero {
  padding-top: 58px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10rem -13rem auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: rgba(22, 143, 148, 0.12);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 52px;
  align-items: center;
}

.hero-logo {
  width: min(420px, 100%);
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 5.85rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  max-width: 850px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
  border: 12px solid var(--white);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(1.25deg);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 42%;
}

.hero-media-pascal img {
  object-position: center center;
}

.hero-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(23, 52, 58, 0.12);
  font-weight: 800;
}

.hero-caption strong {
  color: var(--teal-dark);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.mission-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 48px rgba(23, 52, 58, 0.08);
}

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

.mission-statement {
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.45;
  font-weight: 760;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.impact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(23, 52, 58, 0.06);
}

.impact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--teal-light);
  font-size: 1.4rem;
}

.impact-card p { margin-bottom: 0; color: var(--muted); }

.about-section {
  background: linear-gradient(180deg, var(--paper) 0%, #ffffff 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.about-heading {
  max-width: 560px;
}

.about-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 16px 48px rgba(23, 52, 58, 0.08);
}

.about-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-card p:first-child {
  color: var(--ink);
  font-size: clamp(1.14rem, 2vw, 1.34rem);
  line-height: 1.45;
  font-weight: 760;
}

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

.photo-section {
  background: var(--sand);
}

.section-heading {
  margin-bottom: 34px;
  max-width: 760px;
}

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

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}

.photo-card {
  position: relative;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(23, 52, 58, 0.12);
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.photo-card.large img {
  min-height: 520px;
  object-position: center center;
}

.photo-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(23, 52, 58, 0.12);
  font-weight: 800;
}

.photo-card figcaption strong {
  color: var(--teal-dark);
}

.events-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.event-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 16px 46px rgba(23, 52, 58, 0.08);
}

.featured-event {
  border-color: rgba(22, 143, 148, 0.34);
  background: linear-gradient(135deg, #ffffff 0%, #f1fbfa 100%);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 112px;
  border-radius: 24px;
  color: var(--teal-dark);
  background: var(--teal-light);
  text-align: center;
}

.event-date span,
.event-date em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-date strong {
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.event-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(22, 143, 148, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-meta {
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 800;
}

.event-content p:not(.event-tag):last-of-type {
  margin-bottom: 18px;
}

.donate-section {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 28rem),
    linear-gradient(135deg, var(--teal-dark), var(--teal));
}

.donate-section .eyebrow { color: #d9fffb; }

.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 46px;
  align-items: center;
}

.donate-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 16px;
}

.donation-amounts div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.11);
}

.donation-amounts strong {
  display: block;
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
}

.donation-amounts span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 740;
}

.fine-print {
  font-size: 0.92rem !important;
}

.donate-widget-shell {
  min-height: 420px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.donate-fallback-card {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 34px;
  color: var(--ink);
  text-align: center;
}

.donate-fallback-card img {
  margin-bottom: 18px;
  border-radius: 999px;
}

.donate-fallback-card p {
  max-width: 430px;
  color: var(--muted);
}

.contact-section {
  background: #ffffff;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.contact-card p { margin-bottom: 0; color: var(--muted); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  padding: 48px 0 22px;
  color: rgba(255, 255, 255, 0.82);
  background: #123238;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 32px;
}

.footer-logo {
  width: 240px;
  margin-bottom: 16px;
  border-radius: 18px;
}

.footer-heading {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover { color: var(--white); }

.footer-note { margin-top: 0; }

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

givebutter-button {
  display: inline-flex;
}

givebutter-giving-form {
  display: block;
  width: 100%;
  min-height: 420px;
}

@media (max-width: 920px) {
  .section { padding: 72px 0; }

  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a { padding: 8px 0; }

  .site-nav .button { width: 100%; }

  .hero-grid,
  .two-column,
  .about-grid,
  .donate-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 560px;
    margin-inline: auto;
  }

  .impact-grid,
  .events-grid,
  .photo-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .photo-card.large img,
  .photo-card img {
    min-height: 380px;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }

  .section { padding: 60px 0; }

  .header-inner { min-height: 70px; }

  .brand-text { max-width: 190px; line-height: 1.05; }

  h1 { font-size: clamp(2.75rem, 16vw, 4.4rem); }

  .hero { padding-top: 38px; }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    width: 100%;
  }

  .button { width: 100%; }

  .mission-card,
  .about-card,
  .contact-card,
  .event-card {
    padding: 22px;
  }

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

  .event-date {
    width: 112px;
  }

  .donation-amounts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.pascal-springs-card img {
  object-position: center bottom;
}

/* Donation section: four fixed giving levels, no embedded Givebutter panel. */
.donate-grid-simple {
  display: block;
  max-width: 980px;
  text-align: center;
}

.donate-copy-centered {
  margin: 0 auto;
}

.donate-copy-centered h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.donate-copy-centered > p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.tax-note {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.tax-note strong {
  color: var(--white);
}

.donation-amount-buttons {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.donation-choice {
  display: block;
  padding: 22px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.donation-choice:hover,
.donation-choice:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.donation-choice strong {
  display: block;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.donation-choice span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 760;
  line-height: 1.25;
}

@media (max-width: 860px) {
  .donation-amount-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .donation-amount-buttons {
    grid-template-columns: 1fr;
  }
}
