:root {
  --bg: #e8f4f2;
  --bg-deep: #cfe5e3;
  --ink: #0b1d26;
  --muted: #3d5964;
  --accent: #1f7a8c;
  --accent-dark: #155c6a;
  --accent-soft: rgba(31, 122, 140, 0.14);
  --cream: #f6fbfb;
  --shadow: 0 20px 48px rgba(11, 29, 38, 0.2);
  --radius: 22px;
  --max-width: 1280px;
  --font-head: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --font-body: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(circle at top, #ffffff 0%, var(--bg) 45%, var(--bg-deep) 100%);
}

img {
  max-width: 100%;
}

.page {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.page::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -130px;
  width: 380px;
  height: 380px;
  background: linear-gradient(150deg, rgba(31, 122, 140, 0.25), rgba(207, 229, 227, 0.25));
  border-radius: 50%;
  z-index: 0;
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, rgba(246, 251, 251, 0.96), rgba(224, 242, 242, 0.9));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 29, 38, 0.08);
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
  position: relative;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: clamp(56px, 6vw, 88px);
  height: clamp(56px, 6vw, 88px);
  border-radius: clamp(16px, 2vw, 22px);
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(11, 29, 38, 0.25);
  flex-shrink: 0;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--ink);
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(32, 22, 18, 0.2);
  background: transparent;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
}

.hero {
  min-height: 68vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: linear-gradient(
      135deg,
      rgba(5, 35, 48, 0.94),
      rgba(16, 89, 105, 0.82),
      rgba(38, 124, 128, 0.68)
    ),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #f1fbfa;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero::before {
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.12), transparent 48%),
    radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0.9;
}

.hero::after {
  background: linear-gradient(120deg, rgba(8, 23, 31, 0.6), rgba(0, 0, 0, 0));
}

.hero.compact {
  min-height: 52vh;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.hero-content {
  padding: 120px 0 90px;
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.hero-mark {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.hero-mark img {
  width: clamp(80px, 12vw, 140px);
  height: clamp(80px, 12vw, 140px);
  border-radius: clamp(20px, 3vw, 30px);
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-tagline {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: rgba(241, 251, 250, 0.8);
}

.hero-panel {
  position: relative;
  z-index: 1;
  background: rgba(246, 251, 251, 0.12);
  border-radius: 24px;
  padding: 26px;
  border: 1px solid rgba(241, 251, 250, 0.22);
  box-shadow: 0 22px 46px rgba(3, 22, 29, 0.35);
  backdrop-filter: blur(6px);
}

.hero-panel h3 {
  margin-top: 0;
  font-family: var(--font-head);
  font-size: 1.4rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 22px;
  display: grid;
  gap: 10px;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.hero-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9fe0dd;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  color: inherit;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 4vw, 3.7rem);
  margin: 0 0 16px;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #1f7a8c, #2f9c93);
  color: #f7fffd;
  box-shadow: var(--shadow);
}

.btn.secondary {
  border-color: rgba(241, 251, 250, 0.6);
  color: #f1fbfa;
  background: rgba(6, 46, 58, 0.35);
}

.btn.ghost {
  border-color: rgba(11, 29, 38, 0.2);
  color: var(--ink);
  background: transparent;
}

.btn.ghost.light {
  border-color: rgba(241, 251, 250, 0.6);
  color: #f1fbfa;
}

.btn:hover {
  transform: translateY(-2px);
}

.section {
  padding: 90px 0;
}

.section-title {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-title h2,
.split h2,
.section h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0 0 16px;
}

.split-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.image-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream);
}

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

.card-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 0 0 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.card h3 {
  font-family: var(--font-head);
  margin: 16px 18px 10px;
}

.card p {
  margin: 0 18px 16px;
  color: var(--muted);
  line-height: 1.6;
}

.callout {
  background: linear-gradient(135deg, rgba(246, 251, 251, 0.95), rgba(207, 229, 227, 0.8));
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-weight: 600;
  font-size: 0.9rem;
}

.program-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.program-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.program-link {
  align-self: flex-start;
}

.program-card h3 {
  margin: 0;
  font-family: var(--font-head);
}

.program-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  font-weight: 600;
}

.giving-embed {
  text-align: center;
}

.donorbox-embed {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.program-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.detail-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.detail-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.detail-card h3 {
  margin-top: 0;
  font-family: var(--font-head);
}

.testimonial-block {
  background: linear-gradient(135deg, rgba(246, 251, 251, 0.95), rgba(207, 229, 227, 0.8));
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.testimonial-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  min-height: 60px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(11, 29, 38, 0.12);
}

.testimonial-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

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

.testimonial-name {
  color: var(--ink);
  font-weight: 700;
}

.testimonial-placeholder {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.calendar-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.calendar-location,
.calendar-card,
.calendar-panel {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.calendar-location h3,
.calendar-card h3,
.calendar-panel h3 {
  margin-top: 0;
  font-family: var(--font-head);
}

.calendar-address {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.calendar-meta {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.calendar-note {
  font-style: italic;
}

.calendar-list {
  display: grid;
  gap: 18px;
}

.calendar-month {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(11, 29, 38, 0.08);
}

.calendar-month-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--font-head);
}

.calendar-row {
  display: grid;
  grid-template-columns: 80px 140px 110px minmax(200px, 1fr) 120px;
  gap: 12px;
  align-items: center;
  padding: 10px 6px;
  border-top: 1px solid rgba(11, 29, 38, 0.08);
}

.calendar-row-header {
  border-top: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.calendar-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.calendar-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-dark);
  display: inline-flex;
}

.calendar-title {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.calendar-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .calendar-row {
    grid-template-columns: 70px 120px 90px minmax(160px, 1fr) 90px;
  }
}

@media (max-width: 720px) {
  .calendar-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-row-header {
    display: none;
  }

  .calendar-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .calendar-cell::before {
    content: attr(data-label);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
  }
}

.giving-ways {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.way-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.way-card h3 {
  margin-top: 0;
  font-family: var(--font-head);
}

.way-card p {
  color: var(--muted);
  line-height: 1.6;
}

.form-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 18px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(32, 22, 18, 0.2);
  font-family: var(--font-body);
  font-size: 1rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: auto;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer {
  background: #0b1d26;
  color: #eef6f5;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.site-footer a {
  color: #9fe0dd;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 0.85rem;
}

.reveal {
  animation: fade-up 0.8s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 4vw;
    background: var(--cream);
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    padding: 16px 20px;
    display: none;
  }

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

  .hero-content {
    padding: 100px 0 70px;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 80px 0 60px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
    width: min(360px, 100%);
  }
}
