@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f8fbfe;
  --bg-alt: #eef2f7;
  --surface: #ffffff;
  --surface-soft: #fbfdfe;
  --surface-strong: #f2f7fb;
  --ink: #1a2c3e;
  --ink-strong: #132538;
  --muted: #526779;
  --muted-strong: #2c4b66;
  --line: #e6edf4;
  --line-strong: #cfdbe4;
  --primary: #2c4b66;
  --primary-strong: #1f3a4f;
  --accent: #1f7b4d;
  --accent-strong: #0e5e38;
  --accent-soft: #e3f5ec;
  --accent-soft-strong: #d5efe3;
  --accent-ink: #0f6b44;
  --success: #1f7b4d;
  --warning: #b96b22;
  --danger: #ab493d;
  --shadow-sm: 0 8px 20px rgba(26, 44, 62, 0.04);
  --shadow: 0 20px 35px -12px rgba(26, 44, 62, 0.1);
  --radius-xl: 32px;
  --radius-lg: 28px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --radius-xs: 12px;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 10px;
  font-family: 'Manrope', sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 123, 77, 0.06), transparent 30%),
    radial-gradient(circle at bottom right, rgba(44, 75, 102, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
}

::selection {
  background: rgba(31, 123, 77, 0.18);
}

main {
  display: block;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(230, 237, 244, 0.92);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 22px rgba(31, 123, 77, 0.14);
}

.brand__text {
  min-width: 0;
}

.brand__eyebrow {
  display: block;
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.brand__name {
  display: block;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.15;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  padding: 0.6rem 0.8rem;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

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

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav__links a {
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
  background: rgba(31, 123, 77, 0.08);
  color: var(--ink);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

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

.btn:focus-visible,
.button-link:focus-visible,
.field:focus-visible,
.textarea:focus-visible,
.select:focus-visible,
.filter-pill:focus-visible,
.nav-toggle:focus-visible,
.status-select:focus-visible {
  outline: 2px solid rgba(31, 123, 77, 0.24);
  outline-offset: 2px;
}

.btn:disabled,
.button-link:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
  box-shadow: none;
}

.btn--primary,
.button-link--primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(44, 75, 102, 0.16);
}

.btn--primary:hover,
.button-link--primary:hover {
  background: var(--primary-strong);
}

.btn--accent,
.button-link--accent {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(31, 123, 77, 0.18);
}

.btn--accent:hover,
.button-link--accent:hover {
  background: var(--accent-strong);
}

.btn--ghost,
.button-link--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover,
.button-link--ghost:hover {
  border-color: var(--accent);
  background: #f2faf5;
}

.btn--block {
  width: 100%;
}

.hero,
.page-hero,
.post-hero,
.admin-hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-alt) 100%);
}

.hero-slider {
  padding: 1rem 0 0.5rem;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-alt) 100%);
}

.hero-slider__shell {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 30px 55px -24px rgba(26, 44, 62, 0.28);
  background: #0f2233;
}

.hero-slider__viewport {
  position: relative;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide__image,
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 34, 51, 0.84) 0%, rgba(15, 34, 51, 0.58) 42%, rgba(15, 34, 51, 0.2) 100%),
    linear-gradient(180deg, rgba(31, 123, 77, 0.22), rgba(44, 75, 102, 0.15));
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
  max-width: 680px;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #ffffff;
}

.hero-slide__eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-slide__title {
  margin-bottom: 1rem;
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.hero-slide__text {
  max-width: 50ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.04rem;
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.hero-slide__ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hero-slide__ghost:hover {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.14);
}

.hero-slide__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-slide__highlight {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.83rem;
  font-weight: 700;
}

.hero-slider__toolbar {
  position: absolute;
  right: 1.35rem;
  bottom: 1.35rem;
  left: 1.35rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-slider__dots,
.hero-slider__controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-slider__dot,
.hero-slider__button {
  border: 0;
  cursor: pointer;
}

.hero-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.hero-slider__dot.is-active {
  width: 36px;
  background: #ffffff;
}

.hero-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider__button:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.hero {
  padding: 3rem 0 2rem;
}

.page-hero,
.post-hero,
.admin-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: start;
}

/* ============================================================
   ELEGANT BORDER ACCENTS (::before / ::after)
   Adds subtle corner details & gradient top lines
   ============================================================ */

/* 1. Gradient top border line (like a quiet highlight) */
.hero__card,
.section-card,
.feature-card,
.stat-card,
.timeline-card,
.post-card,
.team-card,
.quote-card,
.admin-card,
.page-hero__card,
.post-hero__card {
  position: relative;
  isolation: isolate;
}

.hero__card::before,
.section-card::before,
.feature-card::before,
.stat-card::before,
.timeline-card::before,
.post-card::before,
.team-card::before,
.quote-card::before,
.admin-card::before,
.page-hero__card::before,
.post-hero__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--accent-soft) 20%,
    var(--accent) 50%,
    var(--accent-soft) 80%,
    transparent 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  opacity: 0.6;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* On hover, the top line brightens slightly */
.hero__card:hover::before,
.section-card:hover::before,
.feature-card:hover::before,
.stat-card:hover::before,
.timeline-card:hover::before,
.post-card:hover::before,
.team-card:hover::before,
.quote-card:hover::before,
.admin-card:hover::before {
  opacity: 1;
  height: 4px;
}

/* 2. Elegant corner accent (bottom-right subtle glow/dot) */
.hero__card::after,
.section-card::after,
.feature-card::after,
.stat-card::after,
.timeline-card::after,
.post-card::after,
.team-card::after,
.quote-card::after,
.admin-card::after,
.page-hero__card::after,
.post-hero__card::after {
  content: '';
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(31, 123, 77, 0.12) 0%, 
    transparent 70%);
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 0;
}

/* On hover, the corner glow spreads slightly */
.hero__card:hover::after,
.section-card:hover::after,
.feature-card:hover::after,
.stat-card:hover::after,
.timeline-card:hover::after,
.post-card:hover::after,
.team-card:hover::after,
.quote-card:hover::after,
.admin-card:hover::after {
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, 
    rgba(31, 123, 77, 0.2) 0%, 
    transparent 70%);
}

/* 3. Special treatment for panels (side cards) – double border illusion */
.panel {
  position: relative;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(125deg, 
    transparent 30%, 
    rgba(31, 123, 77, 0.25) 50%, 
    transparent 70%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.panel:hover::before {
  opacity: 1;
}

/* 4. Accent panel (green) gets a soft outer glow instead */
.panel--accent {
  position: relative;
  overflow: hidden;
}

.panel--accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, 
    rgba(255, 255, 255, 0.25) 0%, 
    transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.panel--accent:hover::after {
  opacity: 1;
}

/* 5. For form-shell & search-shell: minimal underline accent */
.form-shell,
.search-shell {
  position: relative;
}

.form-shell::after,
.search-shell::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-shell:hover::after,
.search-shell:hover::after {
  opacity: 0.5;
}



.hero__card,
.page-hero__card,
.post-hero__card,
.admin-hero__card {
  position: relative;
  overflow: hidden;
}

.page-hero__media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  min-height: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.page-hero__media img {
  min-height: 100%;
}

.page-hero__media figcaption {
  padding: 1rem 1.15rem 1.1rem;
  color: var(--muted-strong);
  font-size: 0.95rem;
  font-weight: 600;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.hero__card::before,
.page-hero__card::before,
.post-hero__card::before,
.admin-hero__card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.hero__card::after,
.page-hero__card::after,
.post-hero__card::after,
.admin-hero__card::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(31, 123, 77, 0.14), transparent 68%);
  pointer-events: none;
}

.hero__card {
  padding: 2.3rem 2.3rem 2.1rem;
}

.page-hero__card,
.post-hero__card,
.admin-hero__card {
  padding: 2rem 2rem 1.85rem;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 1rem;
}

.kicker {
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-ink);
}

.hero h1,
.section-heading h2,
.page-hero h1,
.post-hero h1,
.admin-title h1 {
  font-family: 'Fraunces', serif;
  line-height: 1.08;
  margin: 0.85rem 0 1rem;
}

.hero h1 {
  font-size: clamp(2.65rem, 5vw, 4.75rem);
  max-width: 12ch;
  color: var(--ink);
}

.section-heading h2,
.page-hero h1,
.post-hero h1,
.admin-title h1 {
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  color: var(--ink);
}

.page-hero p,
.post-hero p,
.admin-hero p,
.section-heading p,
.section-intro,
.post-card__excerpt,
.muted {
  color: var(--muted);
}

.lead {
  font-size: 1.125rem;
  color: var(--muted-strong);
  max-width: 56ch;
  margin-bottom: 1.5rem;
}

.hero__actions,
.section-actions,
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--accent);
}

.metric span {
  font-size: 0.86rem;
  color: var(--muted);
}

.hero__side {
  display: grid;
  gap: 1.5rem;
}

.panel {
  padding: 1.5rem;
}

.panel--accent {
  background: var(--accent);
  border-color: transparent;
  color: #ffffff;
}

.panel--accent .kicker {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #caf3e0;
}

.panel--accent h3,
.panel--accent p,
.panel--accent .list-clean li {
  color: #ffffff;
}

.panel--accent .list-clean li::before {
  color: #caf3e0;
}

.panel h3,
.section-card h3,
.feature-card h3,
.faq-card h3,
.team-card h3,
.contact-card h3,
.post-card h3,
.admin-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--ink);
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.list-clean li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.list-clean li::before {
  content: '\2713';
  flex: 0 0 auto;
  font-weight: 800;
  color: var(--accent);
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-heading div {
  flex: 2;
  min-width: min(100%, 320px);
}

.grid-2,
.grid-3,
.grid-4,
.split,
.stats-grid,
.feature-grid,
.team-grid,
.posts-grid,
.timeline,
.contact-grid,
.donation-grid,
.admin-grid {
  display: grid;
  gap: 2rem;
}

.grid-2,
.contact-grid,
.donation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4,
.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid,
.team-grid,
.posts-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.timeline {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1rem;
}

.section-card,
.feature-card,
.stat-card,
.timeline-card,
.post-card,
.contact-card,
.form-shell,
.team-card,
.quote-card,
.admin-card {
  padding: 1.75rem;
}

.feature-card,
.stat-card,
.team-card,
.post-card,
.timeline-card,
.contact-card,
.admin-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover,
.stat-card:hover,
.team-card:hover,
.post-card:hover,
.timeline-card:hover,
.contact-card:hover,
.admin-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 36px -20px rgba(26, 44, 62, 0.16);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.55rem;
  color: var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: #eef2fa;
  color: var(--primary-strong);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge--warning {
  background: rgba(185, 107, 34, 0.12);
  color: var(--warning);
}

.badge--success {
  background: rgba(31, 123, 77, 0.12);
  color: var(--success);
}

.badge--danger {
  background: rgba(171, 73, 61, 0.12);
  color: var(--danger);
}

.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.quote-card,
.callout {
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.quote-card {
  background: #f2f7f2;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.quote-card p {
  margin: 0.5rem 0 0;
  color: var(--muted-strong);
}

.callout {
  background: var(--ink);
  color: #ffffff;
  border: 1px solid transparent;
}

.callout strong {
  color: #ffffff;
}

.callout a {
  color: #b9e6d0;
}

/* ============================================================
   TIMELINE CARD STEP - BACKGROUND HOVER EFFECTS
   Smooth, elegant transitions for the step indicator
   ============================================================ */

/* Base step styling with transition ready */
.timeline-card__step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 800;
  border-radius: 60px;
  margin-bottom: 1.25rem;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: 0 4px 12px rgba(31, 123, 77, 0.1);
}

/* Primary hover effect - background transforms to solid accent */
.timeline-card:hover .timeline-card__step {
  background: var(--accent);
  color: white;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 20px -6px rgba(31, 123, 77, 0.35);
}

/* Alternative: Background gradient pulse effect (optional) */
@keyframes stepPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 123, 77, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(31, 123, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 123, 77, 0);
  }
}

/* Pulse animation on hover (adds extra flair) */
.timeline-card:hover .timeline-card__step {
  animation: stepPulse 0.6s ease-out;
}

/* Background gradient shift version (more dramatic) */
.timeline-card__step--gradient {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-soft-strong));
}

.timeline-card:hover .timeline-card__step--gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

/* Background inversion effect (flip colors) */
.timeline-card__step--invert {
  background: transparent;
  border: 2px solid var(--accent-soft);
  color: var(--accent);
}

.timeline-card:hover .timeline-card__step--invert {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* Background ripple effect on hover */
.timeline-card__step--ripple {
  position: relative;
  overflow: hidden;
}

.timeline-card__step--ripple::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, white, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.timeline-card:hover .timeline-card__step--ripple::before {
  opacity: 0.25;
  animation: rippleExpand 0.5s ease-out;
}

@keyframes rippleExpand {
  0% {
    transform: scale(0);
    opacity: 0.4;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* Background shine effect (glass-like) */
.timeline-card__step--shine {
  position: relative;
  overflow: hidden;
}

.timeline-card__step--shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
  border-radius: 50%;
}

.timeline-card:hover .timeline-card__step--shine::after {
  left: 100%;
}

/* Background color morph (cycle through brand colors) */
@keyframes colorMorph {
  0% {
    background: var(--accent-soft);
    color: var(--accent);
  }
  50% {
    background: var(--accent);
    color: white;
  }
  100% {
    background: var(--accent-strong);
    color: white;
  }
}

.timeline-card:hover .timeline-card__step--morph {
  animation: colorMorph 0.5s ease forwards;
}

/* Simple and elegant - background darkens slightly (subtle) */
.timeline-card__step--subtle {
  background: var(--accent-soft);
}

.timeline-card:hover .timeline-card__step--subtle {
  background: var(--accent-soft-strong);
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(31, 123, 77, 0.15);
}

/* Background expands outward effect */
.timeline-card__step--expand {
  background: var(--accent-soft);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover .timeline-card__step--expand {
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft), 0 8px 20px rgba(31, 123, 77, 0.25);
  transform: scale(1.02);
}

/* Recommended default – clean, modern, elegant */
.timeline-card__step {
  background: var(--accent-soft);
  color: var(--accent);
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  will-change: transform, background;
}

.timeline-card:hover .timeline-card__step {
  background: var(--accent);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 12px 22px -10px rgba(31, 123, 77, 0.4);
}

/* Optional: Add a subtle border ring on hover */
.timeline-card:hover .timeline-card__step {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

/* Optional: Number inside the step also animates */
.timeline-card:hover .timeline-card__step {
  font-weight: 900;
  letter-spacing: 0.5px;
}

.faq-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-card:last-child {
  border-bottom: 0;
}

.faq-card h3 {
  font-size: 1.08rem;
}

.pill-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pill,
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.36rem 1rem;
  border-radius: 999px;
  background: #eef2fa;
  border: 1px solid transparent;
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 600;
}

.filter-pill {
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-pill.is-active,
.filter-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.post-card {
  display: grid;
  gap: 1rem;
}

.post-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 20px;
  background: var(--surface-strong);
}

.post-card__meta,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.78rem;
  color: #7f8e9b;
}

.post-card__meta strong,
.meta-row strong {
  color: var(--primary);
}

.search-shell {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.field,
.textarea,
.select,
.status-select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field::placeholder,
.textarea::placeholder {
  color: #8091a0;
}

.field:focus,
.textarea:focus,
.select:focus,
.status-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(31, 123, 77, 0.1);
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

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

.field-group {
  display: grid;
  gap: 0.5rem;
}

.field-group label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.field-group--full,
.form-grid__full,
.span-full {
  grid-column: 1 / -1;
}

.field-note,
.muted-small {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-shell__head {
  margin-bottom: 1rem;
}

.checkbox-row,
.radio-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--muted);
}

.checkbox-row input,
.radio-row input {
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.table-shell {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--primary-strong);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

tr:last-child td {
  border-bottom: 0;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  background: #fafcfd;
  color: var(--muted);
  border-radius: var(--radius-lg);
}

.rich-text {
  color: var(--muted-strong);
}

.rich-text > :first-child {
  margin-top: 0;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
  margin: 1.75rem 0 0.85rem;
  font-family: 'Fraunces', serif;
  line-height: 1.18;
  color: var(--ink);
}

.rich-text p,
.rich-text ul,
.rich-text ol,
.rich-text blockquote {
  margin: 0 0 1rem;
}

.rich-text ul,
.rich-text ol {
  padding-left: 1.2rem;
}

.rich-text blockquote {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-strong);
  color: var(--ink);
}

.rich-text a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.15em;
}

.site-footer {
  margin-top: 2.5rem;
  padding: 2.5rem 0 2rem;
}

.site-footer__card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #1a2c3e 0%, #243f57 100%);
  color: #f8fbfe;
  box-shadow: var(--shadow);
}

.site-footer__card h3 {
  color: #ffffff;
}

.site-footer__card p,
.site-footer__card li {
  color: rgba(248, 251, 254, 0.8);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-wrap {
  padding: 1.5rem 0 2rem;
}

.admin-wrap--centered {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.admin-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-nav-links a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--muted);
  font-weight: 700;
}

.admin-nav-links a.is-active,
.admin-nav-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.flash {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
}

.flash--success {
  background: rgba(31, 123, 77, 0.12);
  border-color: rgba(31, 123, 77, 0.2);
  color: var(--success);
}

.flash--danger {
  background: rgba(171, 73, 61, 0.12);
  border-color: rgba(171, 73, 61, 0.2);
  color: var(--danger);
}

.inline-form {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.max-w-sm {
  max-width: 460px;
}

.max-w-md {
  max-width: 320px;
}

.max-w-lg {
  max-width: 220px;
}

.title-sm {
  font-size: 1.8rem !important;
}

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

.w-full {
  width: 100%;
}

.mt-4 {
  margin-top: 1rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.is-hidden {
  display: none !important;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .page-hero__layout,
  .hero__layout,
  .site-footer__card,
  .grid-4,
  .stats-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .hero__layout,
  .split,
  .grid-2,
  .contact-grid,
  .donation-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .admin-header-bar,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .section-heading h2,
  .page-hero h1,
  .post-hero h1,
  .admin-title h1 {
    font-size: 1.8rem;
  }

  .hero__card,
  .page-hero__card,
  .post-hero__card,
  .admin-hero__card {
    padding: 1.75rem;
  }

  .hero-slider__shell,
  .hero-slide__content {
    min-height: 500px;
  }
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .site-nav__links,
  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__links a,
  .site-nav__actions a {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .grid-3,
  .feature-grid,
  .team-grid,
  .posts-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max-width), calc(100% - 2.4rem));
  }

  .section {
    padding: 3rem 0;
  }

  .stats-grid,
  .feature-grid,
  .team-grid,
  .posts-grid,
  .timeline {
    gap: 1rem;
  }

  .hero__metrics {
    gap: 1.25rem;
  }

  .metric strong {
    font-size: 1.4rem;
  }

  .hero-slider__shell,
  .hero-slide__content {
    min-height: 470px;
  }

  .hero-slider__toolbar {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-slider__controls {
    width: 100%;
  }

  .hero-slider__button {
    flex: 1 1 0;
    justify-content: center;
  }
}

/* ============================================================
   2026 PUBLIC UI REVAMP
   ============================================================ */

:root {
  --surface-glass: rgba(255, 255, 255, 0.76);
  --surface-glass-strong: rgba(255, 255, 255, 0.92);
  --surface-tint: rgba(44, 75, 102, 0.08);
  --surface-tint-soft: rgba(31, 123, 77, 0.08);
  --hero-shadow: 0 38px 70px -34px rgba(17, 31, 48, 0.42);
  --card-shadow: 0 24px 55px -28px rgba(17, 31, 48, 0.28);
  --card-shadow-hover: 0 30px 70px -28px rgba(17, 31, 48, 0.36);
  --section-wash: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 248, 247, 0.9));
  --section-wash-alt: linear-gradient(135deg, rgba(244, 250, 255, 0.8), rgba(233, 244, 250, 0.92));
}

body[data-theme-tone="ocean"] {
  --primary: #265f87;
  --primary-strong: #164967;
  --accent: #23726a;
  --accent-strong: #175850;
  --accent-soft: #d9f0ee;
  --accent-soft-strong: #cae8e4;
  --accent-ink: #175850;
  --surface-tint: rgba(38, 95, 135, 0.1);
  --surface-tint-soft: rgba(35, 114, 106, 0.08);
}

body[data-theme-tone="mist"] {
  --primary: #46647d;
  --primary-strong: #304a5f;
  --accent: #4f8d6c;
  --accent-strong: #3e7559;
  --accent-soft: #e5f4ec;
  --accent-soft-strong: #d7ecdf;
  --accent-ink: #2f684b;
  --surface-tint: rgba(70, 100, 125, 0.09);
  --surface-tint-soft: rgba(79, 141, 108, 0.08);
}

html {
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(31, 123, 77, 0.18), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(44, 75, 102, 0.16), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(31, 123, 77, 0.08), transparent 36%),
    linear-gradient(180deg, #eef6f7 0%, #f9fcfd 22%, #ffffff 100%);
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(44, 75, 102, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 75, 102, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), transparent 80%);
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  isolation: isolate;
}

.goo-defs {
  position: absolute;
}

.site-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 130;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
}

.site-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
  box-shadow: 0 0 18px rgba(31, 123, 77, 0.4);
  transition: width 0.18s ease-out;
}

.site-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  filter: url(#site-goo);
  opacity: 0.62;
}

.site-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  background: linear-gradient(135deg, rgba(31, 123, 77, 0.44), rgba(44, 75, 102, 0.22));
  animation: blobFloat 18s ease-in-out infinite alternate;
}

.site-blob--one {
  top: 8%;
  left: -5%;
  width: 16rem;
  height: 16rem;
}

.site-blob--two {
  top: 28%;
  right: 4%;
  width: 13rem;
  height: 13rem;
  animation-duration: 20s;
  animation-delay: -4s;
  background: linear-gradient(135deg, rgba(44, 75, 102, 0.35), rgba(31, 123, 77, 0.18));
}

.site-blob--three {
  bottom: 4%;
  left: 28%;
  width: 20rem;
  height: 9rem;
  animation-duration: 24s;
  animation-delay: -8s;
  background: linear-gradient(135deg, rgba(31, 123, 77, 0.28), rgba(44, 75, 102, 0.16));
}

@keyframes blobFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(28px, -24px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(-22px, 20px, 0) scale(0.94);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(245, 250, 251, 0.68);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 10px 35px -30px rgba(17, 31, 48, 0.45);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 40px -32px rgba(17, 31, 48, 0.5);
  border-bottom-color: rgba(44, 75, 102, 0.12);
}

.site-header__bar {
  min-height: 88px;
}

.brand {
  gap: 1rem;
}

.brand__logo {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  box-shadow: 0 16px 30px -16px rgba(31, 123, 77, 0.5);
}

.brand__eyebrow {
  color: var(--accent);
  letter-spacing: 0.22em;
}

.brand__name {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.site-nav {
  gap: 1.25rem;
}

.site-nav__links {
  gap: 0.4rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(44, 75, 102, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.site-nav__links a {
  position: relative;
  padding: 0.8rem 1.05rem;
  color: var(--muted-strong);
}

.site-nav__links a::after {
  content: '';
  position: absolute;
  inset: auto 0.95rem 0.45rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
  color: var(--ink);
  background: rgba(31, 123, 77, 0.08);
}

.site-nav__links a:hover::after,
.site-nav__links a.is-active::after {
  transform: scaleX(1);
}

.site-nav__actions {
  gap: 0.8rem;
}

.nav-toggle {
  border-radius: 16px;
  border-color: rgba(44, 75, 102, 0.16);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 28px -22px rgba(17, 31, 48, 0.38);
}

.btn,
.button-link {
  position: relative;
  overflow: hidden;
  padding: 0.86rem 1.55rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 15px 28px -22px rgba(17, 31, 48, 0.46);
}

.btn::before,
.button-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 45%, rgba(255, 255, 255, 0.14));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.btn:hover::before,
.button-link:hover::before {
  opacity: 1;
}

.button-link--primary,
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

.button-link--accent,
.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.button-link--ghost,
.btn--ghost {
  border-color: rgba(44, 75, 102, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button-link--ghost:hover,
.btn--ghost:hover {
  background: rgba(31, 123, 77, 0.08);
  border-color: rgba(31, 123, 77, 0.28);
}

.breadcrumb-shell {
  position: relative;
  z-index: 3;
  padding: 0.95rem 0 0;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(44, 75, 102, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted-strong);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 40px -34px rgba(17, 31, 48, 0.44);
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 700;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs__sep {
  color: rgba(44, 75, 102, 0.36);
}

.breadcrumbs .is-current {
  color: var(--ink);
  font-weight: 800;
}

main > .hero,
main > .page-hero,
main > .post-hero {
  position: relative;
  padding: clamp(2.4rem, 5vw, 4rem) 0 1rem;
}

main > .hero::before,
main > .page-hero::before,
main > .post-hero::before,
main > .section::before {
  content: '';
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 50%;
  width: min(calc(100% - 2.4rem), calc(var(--max-width) + 4rem));
  transform: translateX(-50%);
  border-radius: 38px;
  background: var(--section-wash);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  z-index: 0;
}

main > .page-hero::before,
main > .post-hero::before {
  top: 0.5rem;
}

main > .section:nth-of-type(odd)::before {
  background:
    radial-gradient(circle at top right, rgba(31, 123, 77, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(240, 248, 246, 0.94));
}

main > .section:nth-of-type(even)::before {
  background:
    radial-gradient(circle at top left, rgba(44, 75, 102, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(248, 251, 255, 0.8), rgba(238, 245, 250, 0.96));
}

main > .hero > .container,
main > .page-hero > .container,
main > .post-hero > .container,
main > .section > .container {
  position: relative;
  z-index: 1;
}

.hero-slider {
  position: relative;
  padding: 1.2rem 0 0.6rem;
}

.hero-slider__shell {
  min-height: 620px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: var(--hero-shadow);
  background:
    radial-gradient(circle at top right, rgba(31, 123, 77, 0.18), transparent 24%),
    linear-gradient(135deg, #132537, #0c1b2a 50%, #18344a);
}

.hero-slider__shell::after {
  content: '';
  position: absolute;
  inset: auto 1.4rem 1.4rem auto;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 123, 77, 0.24), transparent 70%);
  pointer-events: none;
}

.hero-slide__shade {
  background:
    linear-gradient(100deg, rgba(10, 22, 35, 0.88) 5%, rgba(10, 22, 35, 0.56) 42%, rgba(10, 22, 35, 0.18) 100%),
    radial-gradient(circle at top right, rgba(31, 123, 77, 0.3), transparent 26%),
    linear-gradient(180deg, rgba(44, 75, 102, 0.22), rgba(31, 123, 77, 0.08));
}

.hero-slide__content {
  min-height: 620px;
  max-width: 720px;
  padding: clamp(2.4rem, 5vw, 4rem);
}

.hero-slide__eyebrow,
.hero-slide__highlight {
  backdrop-filter: blur(12px);
}

.hero-slide__title {
  max-width: 11ch;
}

.hero-slide__text {
  max-width: 52ch;
  font-size: 1.08rem;
}

.hero-slide__actions {
  gap: 1rem;
}

.hero-slide__ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.hero-slider__toolbar {
  gap: 1.2rem;
  padding: 0.95rem 1rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(12px);
}

.hero-slider__dot {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.32);
}

.hero-slider__dot.is-active {
  width: 42px;
  background: linear-gradient(90deg, #ffffff, #cde5da);
}

.hero-slider__button {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-slider__button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero__layout,
.page-hero__layout {
  align-items: stretch;
  gap: 1.6rem;
}

.hero__card,
.page-hero__card,
.post-hero__card,
.admin-hero__card,
.section-card,
.feature-card,
.stat-card,
.timeline-card,
.post-card,
.contact-card,
.form-shell,
.team-card,
.quote-card,
.panel,
.search-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(245, 250, 252, 0.8)),
    radial-gradient(circle at top right, var(--surface-tint-soft), transparent 32%);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
}

.hero__card::before,
.page-hero__card::before,
.post-hero__card::before,
.admin-hero__card::before,
.section-card::before,
.feature-card::before,
.stat-card::before,
.timeline-card::before,
.post-card::before,
.contact-card::before,
.form-shell::before,
.team-card::before,
.quote-card::before,
.panel::before,
.search-shell::before {
  background: linear-gradient(90deg, rgba(31, 123, 77, 0), rgba(31, 123, 77, 0.7), rgba(44, 75, 102, 0));
}

.section-card,
.feature-card,
.stat-card,
.timeline-card,
.post-card,
.contact-card,
.form-shell,
.team-card,
.panel,
.search-shell {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.section-card:hover,
.feature-card:hover,
.stat-card:hover,
.timeline-card:hover,
.post-card:hover,
.contact-card:hover,
.form-shell:hover,
.team-card:hover,
.panel:hover,
.search-shell:hover {
  transform: translateY(-8px);
  border-color: rgba(31, 123, 77, 0.24);
  box-shadow: var(--card-shadow-hover);
}

.hero__card,
.page-hero__card,
.post-hero__card {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--hero-shadow);
}

.hero__card::after,
.page-hero__card::after,
.post-hero__card::after {
  width: 18rem;
  height: 18rem;
  right: -4rem;
  bottom: -6rem;
  background: radial-gradient(circle, rgba(31, 123, 77, 0.22), transparent 68%);
}

.hero h1 {
  max-width: 11ch;
}

.hero h1,
.section-heading h2,
.page-hero h1,
.post-hero h1 {
  color: #102233;
}

.lead,
.page-hero p,
.post-hero p,
.section-heading p {
  color: var(--muted-strong);
}

.hero__metrics {
  gap: 1.5rem;
  padding: 1.25rem 1.35rem 0;
  border-top-color: rgba(44, 75, 102, 0.1);
}

.metric {
  min-width: 110px;
}

.metric strong {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.metric span {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
}

.page-hero__media {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    #0f2233;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: var(--hero-shadow);
}

.page-hero__media img,
.post-card__image {
  transform: scale(1.001);
}

.page-hero__media figcaption {
  background: rgba(255, 255, 255, 0.86);
}

.hero__side,
.split,
.contact-grid,
.donation-grid,
.grid-2,
.feature-grid,
.team-grid,
.posts-grid,
.timeline,
.stats-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.panel {
  padding: 1.65rem;
}

.panel--accent,
.callout {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(145deg, var(--accent), var(--accent-strong));
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.panel--accent h3,
.panel--accent p,
.panel--accent .list-clean li,
.callout,
.callout .muted {
  color: #ffffff;
}

.callout a {
  color: #def5e9;
}

.quote-card {
  background:
    radial-gradient(circle at top right, rgba(31, 123, 77, 0.14), transparent 26%),
    linear-gradient(145deg, rgba(240, 249, 243, 0.92), rgba(255, 255, 255, 0.92));
  border-left-color: var(--accent);
}

.feature-card,
.team-card,
.post-card,
.stat-card,
.timeline-card {
  --tone-wash: var(--surface-tint-soft);
}

.feature-card:nth-child(3n + 2),
.team-card:nth-child(3n + 2),
.post-card:nth-child(3n + 2),
.stat-card:nth-child(3n + 2),
.timeline-card:nth-child(3n + 2) {
  --tone-wash: rgba(44, 75, 102, 0.1);
}

.feature-card:nth-child(3n + 3),
.team-card:nth-child(3n + 3),
.post-card:nth-child(3n + 3),
.stat-card:nth-child(3n + 3),
.timeline-card:nth-child(3n + 3) {
  --tone-wash: rgba(31, 123, 77, 0.12);
}

.feature-card::after,
.team-card::after,
.post-card::after,
.stat-card::after,
.timeline-card::after,
.contact-card::after,
.section-card::after,
.form-shell::after {
  background: radial-gradient(circle, var(--tone-wash, rgba(31, 123, 77, 0.12)), transparent 70%);
}

.badge,
.pill,
.filter-pill {
  border: 1px solid rgba(44, 75, 102, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(231, 242, 250, 0.9));
  color: var(--primary-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.eyebrow,
.kicker {
  color: var(--accent-ink);
}

.filter-pill.is-active,
.filter-pill:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
}

.timeline-card__step {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-soft-strong));
  color: var(--accent-strong);
  box-shadow: 0 16px 30px -18px rgba(31, 123, 77, 0.5);
}

.timeline-card:hover .timeline-card__step {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  outline-color: rgba(31, 123, 77, 0.18);
}

.search-shell,
.form-shell {
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
}

.field,
.textarea,
.select,
.status-select {
  border-color: rgba(44, 75, 102, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.field:focus,
.textarea:focus,
.select:focus,
.status-select:focus {
  border-color: rgba(31, 123, 77, 0.42);
  box-shadow: 0 0 0 4px rgba(31, 123, 77, 0.1), 0 18px 34px -24px rgba(31, 123, 77, 0.34);
}

.field-group label {
  color: var(--primary-strong);
}

.checkbox-row,
.radio-row,
.field-note {
  color: var(--muted-strong);
}

.contact-card,
.section-card h3,
.feature-card h3,
.post-card h3,
.team-card h3,
.timeline-card h3 {
  color: #132538;
}

.faq-card {
  border-bottom-color: rgba(44, 75, 102, 0.08);
}

.empty-state {
  background:
    radial-gradient(circle at top right, rgba(31, 123, 77, 0.1), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(241, 248, 248, 0.9));
}

.rich-text blockquote {
  background: linear-gradient(145deg, rgba(239, 247, 242, 0.92), rgba(255, 255, 255, 0.9));
}

.site-footer {
  position: relative;
  margin-top: 3rem;
  padding: 3rem 0 2.25rem;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(31, 123, 77, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(15, 27, 42, 0), rgba(15, 27, 42, 0.04));
  pointer-events: none;
}

.site-footer__card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(31, 123, 77, 0.36), transparent 22%),
    linear-gradient(135deg, #112233 0%, #173249 48%, #224460 100%);
  box-shadow: var(--hero-shadow);
}

.site-footer__card::after {
  content: '';
  position: absolute;
  inset: auto -5rem -5rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding: 0 0.4rem;
  color: rgba(26, 44, 62, 0.72);
}

.theme-dock {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 125;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(44, 75, 102, 0.1);
  box-shadow: 0 22px 44px -26px rgba(17, 31, 48, 0.5);
  backdrop-filter: blur(18px);
}

.theme-dock__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.theme-chip {
  width: 1.15rem;
  height: 1.15rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #1f7b4d, #2c4b66);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85), 0 10px 18px -12px rgba(17, 31, 48, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-chip--ocean {
  background: linear-gradient(135deg, #23726a, #265f87);
}

.theme-chip--mist {
  background: linear-gradient(135deg, #4f8d6c, #46647d);
}

.theme-chip:hover,
.theme-chip.is-active {
  transform: scale(1.12);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.95), 0 16px 22px -14px rgba(17, 31, 48, 0.56);
}

.site-toast-stack {
  position: fixed;
  right: 1.2rem;
  top: 5.8rem;
  z-index: 140;
  display: grid;
  gap: 0.8rem;
  width: min(24rem, calc(100% - 2rem));
}

.site-toast {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(44, 75, 102, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 24px 44px -30px rgba(17, 31, 48, 0.5);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-toast--success {
  border-left: 4px solid var(--accent);
}

.site-toast--error {
  border-left: 4px solid var(--danger);
}

.site-toast--info {
  border-left: 4px solid var(--primary);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-nav__links {
    padding: 0.35rem;
  }

  .site-nav__links a {
    padding-inline: 0.88rem;
  }

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

@media (max-width: 960px) {
  .site-nav {
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 44px -32px rgba(17, 31, 48, 0.5);
  }

  .site-nav__links {
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .page-hero__layout,
  .split,
  .grid-2,
  .contact-grid,
  .donation-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  main > .hero::before,
  main > .page-hero::before,
  main > .post-hero::before,
  main > .section::before {
    width: min(calc(100% - 1.2rem), calc(var(--max-width) + 4rem));
    border-radius: 28px;
  }

  .breadcrumbs {
    display: flex;
    width: 100%;
  }

  .hero-slider__shell,
  .hero-slide__content {
    min-height: 540px;
  }

  .hero-slide__title,
  .hero h1 {
    max-width: none;
  }

  .theme-dock {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

@media (max-width: 640px) {
  body::after,
  .site-ambient {
    opacity: 0.42;
  }

  .site-header__bar {
    min-height: 78px;
  }

  .hero__card,
  .page-hero__card,
  .post-hero__card,
  .section-card,
  .feature-card,
  .stat-card,
  .timeline-card,
  .post-card,
  .contact-card,
  .form-shell,
  .team-card,
  .quote-card,
  .panel,
  .search-shell {
    padding: 1.35rem;
    border-radius: 24px;
  }

  .hero-slider__toolbar {
    padding: 0.85rem;
  }

  .theme-dock {
    gap: 0.5rem;
    padding: 0.62rem 0.72rem;
  }

  .theme-dock__label {
    display: none;
  }

  .site-toast-stack {
    left: 1rem;
    right: 1rem;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-blob,
  [data-reveal],
  .section-card,
  .feature-card,
  .stat-card,
  .timeline-card,
  .post-card,
  .contact-card,
  .form-shell,
  .team-card,
  .panel,
  .search-shell,
  .btn,
  .button-link {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
