/* JLMS PSA — advanced static design system */
:root {
  --navy: #0c2742;
  --navy-deep: #06182a;
  --sky: #7ebfd9;
  --sky-soft: #cfe8f3;
  --leaf: #2a7340;
  --leaf-bright: #3a9152;
  --gold: #d08908;
  --gold-bright: #e9a61a;
  --ink: #122233;
  --muted: #4b5f70;
  --line: rgba(12, 39, 66, 0.12);
  --white: #ffffff;
  --surface: #f4f9fc;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Literata", Georgia, serif;
  --max: 1140px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
  --shadow-soft: 0 18px 50px rgba(6, 24, 42, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 80% 45% at 100% -10%, rgba(126, 191, 217, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at -5% 25%, rgba(42, 115, 64, 0.1), transparent 50%),
    linear-gradient(180deg, #eaf5fa 0%, var(--surface) 24%, #ffffff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.is-nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--leaf);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 0.55em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.65rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--gold), var(--leaf-bright), var(--sky));
  pointer-events: none;
  transform-origin: left center;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(6, 24, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.45rem 0;
  transition: min-height 0.3s var(--ease);
}

.site-header.is-scrolled .header-inner {
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transition: transform 0.4s var(--ease-out);
}

.brand:hover img {
  transform: rotate(-6deg) scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-text span {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: 0;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem 1.05rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 560;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 0.25rem 0;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a[aria-current="page"]:not(.nav-cta)::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--leaf);
}

.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy-deep) !important;
  padding: 0.48rem 0.95rem;
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(208, 137, 8, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.site-nav .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(208, 137, 8, 0.35);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 650;
  padding: 0.88rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy-deep);
  box-shadow: 0 8px 22px rgba(208, 137, 8, 0.28);
}

.btn-primary:hover {
  color: var(--navy-deep);
  box-shadow: 0 12px 28px rgba(208, 137, 8, 0.38);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(94vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: scale(1.08);
  animation: hero-drift 32s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 24, 42, 0.2) 0%, rgba(6, 24, 42, 0.5) 42%, rgba(6, 24, 42, 0.9) 100%),
    linear-gradient(90deg, rgba(12, 39, 66, 0.62) 0%, transparent 58%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 4.25rem;
  max-width: 40rem;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
  animation: rise-in 0.85s var(--ease-out) both;
}

.hero-brand img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 1.95rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  color: var(--white);
}

.hero-brand-name small {
  display: block;
  font-size: 0.52em;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.86;
  margin-top: 0.3rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  margin-bottom: 0.7rem;
  animation: rise-in 0.9s 0.08s var(--ease-out) both;
}

.hero .lede {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 33rem;
  animation: rise-in 0.9s 0.16s var(--ease-out) both;
}

.hero .btn-group {
  animation: rise-in 0.9s 0.24s var(--ease-out) both;
}

.hero-scroll {
  position: absolute;
  right: max(1.25rem, calc((100% - var(--max)) / 2));
  bottom: 1.75rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.hero-scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.85));
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

.page-hero {
  position: relative;
  min-height: 46vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.page-hero .hero-media::after {
  background: linear-gradient(180deg, rgba(6, 24, 42, 0.32), rgba(6, 24, 42, 0.86));
}

.page-hero .hero-content {
  padding: 4.25rem 0 2.85rem;
  max-width: 42rem;
  animation: rise-in 0.8s var(--ease-out) both;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.95rem, 4vw, 2.7rem);
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.88);
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  padding: 1.35rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.trust-item span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky);
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(207, 232, 243, 0.55), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(
      -14deg,
      transparent,
      transparent 20px,
      rgba(12, 39, 66, 0.025) 20px,
      rgba(12, 39, 66, 0.025) 21px
    );
}

.section-navy {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(126, 191, 217, 0.22), transparent 48%),
    radial-gradient(ellipse at 90% 100%, rgba(208, 137, 8, 0.12), transparent 40%),
    linear-gradient(155deg, var(--navy-deep), var(--navy));
  color: rgba(255, 255, 255, 0.9);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.4rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.25rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-navy .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.5rem;
}

.section-navy .eyebrow,
.page-hero .eyebrow {
  color: var(--sky);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-copy {
  order: 2;
}

.split-media {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow-soft);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.split:hover .split-media img {
  transform: scale(1.04);
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

/* Features */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2.1rem;
}

.feature-item {
  position: relative;
  padding-top: 0.25rem;
  transition: transform 0.35s var(--ease);
}

.feature-item:hover {
  transform: translateY(-4px);
}

.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-item .num {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

/* Impact counters */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.impact-stat {
  padding: 1.75rem 0 1.25rem;
  border-top: 2px solid var(--gold);
}

.impact-stat .value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.impact-stat .value span {
  color: var(--gold);
}

.impact-stat p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Image band / lightbox triggers */
.image-band {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 0.7rem;
  margin-top: 2.25rem;
}

.image-band figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  min-height: 230px;
  cursor: zoom-in;
}

.image-band figure:first-child {
  min-height: 100%;
  grid-row: span 2;
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 230px;
  transition: transform 0.8s var(--ease);
}

.image-band figure:hover img {
  transform: scale(1.05);
}

.image-band figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(transparent, rgba(6, 24, 42, 0.8));
  pointer-events: none;
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 0.95rem 0;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}

.marquee-track span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* Leadership */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.leader {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  padding: 1.85rem 1.25rem 1.85rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.3s;
}

.leader:nth-child(odd) {
  padding-right: 1.85rem;
  border-right: 1px solid var(--line);
}

.leader:hover {
  background: rgba(207, 232, 243, 0.35);
}

.leader-avatar {
  width: 140px;
  height: 140px;
  background:
    radial-gradient(circle at 30% 25%, #fff, transparent 45%),
    linear-gradient(145deg, var(--sky-soft), var(--sky));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--navy);
}

.leader h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.leader .role {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--leaf);
  margin-bottom: 0.65rem;
}

.leader p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Membership tiers */
.tier-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.tier {
  display: grid;
  grid-template-columns: 10rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding 0.25s;
}

.tier:hover {
  background: rgba(207, 232, 243, 0.35);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
}

.tier-price small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tier h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.tier p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Donate */
.donate-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.amount-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0;
}

.amount-options label {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.95rem;
  padding: 0.72rem 1.15rem;
  border: 2px solid var(--line);
  background: var(--white);
  cursor: pointer;
  color: var(--navy);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.amount-options label:hover {
  border-color: var(--sky);
  transform: translateY(-1px);
}

.amount-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amount-options label:has(input:checked) {
  border-color: var(--gold);
  background: rgba(208, 137, 8, 0.12);
  box-shadow: 0 0 0 1px var(--gold);
}

.form-stack {
  display: grid;
  gap: 0.95rem;
}

.form-stack label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

.form-stack input,
.form-stack select,
.form-stack textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(126, 191, 217, 0.35);
}

.form-stack .field-error {
  color: #a33a2d;
  font-size: 0.78rem;
  font-family: var(--font-display);
  min-height: 1em;
}

.form-stack .is-invalid {
  border-color: #c45a4c;
}

.form-success {
  display: none;
  padding: 1rem 1.1rem;
  background: rgba(42, 115, 64, 0.1);
  border-left: 3px solid var(--leaf);
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
  animation: rise-in 0.45s var(--ease);
}

.legal-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.impact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.impact-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
}

.impact-list strong {
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 1.15rem;
}

/* Blog */
.blog-list {
  display: grid;
  gap: 0;
}

.blog-item {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 1.6rem;
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease);
}

.blog-item:hover {
  transform: translateX(6px);
}

.blog-item img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.blog-meta {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.blog-item h2 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.blog-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

.article {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
}

.article .meta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Events */
.event-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.event {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.5rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}

.event:hover {
  background: rgba(207, 232, 243, 0.3);
}

.event-date {
  font-family: var(--font-display);
  text-align: center;
}

.event-date .month {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.event-date .day {
  display: block;
  font-size: 2.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.event h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.event p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
}

.contact-details dt {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.25rem;
}

.contact-details dd {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
}

.contact-details a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--leaf);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(6, 24, 42, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transform: scale(0.96);
  transition: transform 0.35s var(--ease);
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--white);
  border: 0;
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  cursor: pointer;
  font-family: var(--font-display);
  color: var(--navy);
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* Footer — refined institutional */
.site-footer {
  margin-top: 4rem;
  color: rgba(247, 250, 252, 0.78);
  background:
    linear-gradient(180deg, #0a1f33 0%, #061624 100%);
  border-top: 1px solid rgba(142, 197, 220, 0.18);
}

.footer-shell {
  padding: 3.25rem 0 1.5rem;
}

.footer-top {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.footer-brand-block img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-org-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
}

.footer-brand-block strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-trust-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.footer-trust-line div {
  padding-top: 0.85rem;
  border-top: 2px solid rgba(212, 146, 10, 0.55);
}

.footer-trust-line span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.35rem;
}

.footer-trust-line strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 650;
  color: #fff;
  line-height: 1.35;
}

.footer-mid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 2rem 2.5rem;
  padding: 2.25rem 0 2rem;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--sky);
}

.footer-col-contact .footer-mail {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 168, 32, 0.55);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-col-contact .footer-mail:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

.footer-col-contact p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-deductible {
  margin-top: 1rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem !important;
  color: rgba(255, 255, 255, 0.55) !important;
  max-width: 32ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
}

/* Back to top */
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-size: 1.15rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  box-shadow: 0 10px 28px rgba(6, 24, 42, 0.28);
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover {
  background: var(--leaf);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes hero-drift {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(0, -2.5%, 0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 960px) {
  .split,
  .split.reverse,
  .donate-layout,
  .contact-grid,
  .footer-mid,
  .footer-trust-line,
  .feature-row,
  .leader-grid,
  .trust-strip,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .footer-trust-line {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-block {
    align-items: flex-start;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .image-band {
    grid-template-columns: 1fr 1fr;
  }

  .image-band figure:first-child {
    grid-column: span 2;
    grid-row: auto;
    min-height: 260px;
  }

  .leader:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }

  .tier {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .blog-item {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.35rem;
    border-bottom: 1px solid var(--line);
    gap: 0.1rem;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .site-nav.open {
    display: flex;
    animation: rise-in 0.35s var(--ease);
  }

  .site-nav a {
    padding: 0.75rem 0;
  }

  .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.4rem;
  }

  .header-inner {
    position: relative;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 600px) {
  .image-band {
    grid-template-columns: 1fr;
  }

  .image-band figure:first-child {
    grid-column: auto;
  }

  .hero-brand img {
    width: 74px;
    height: 74px;
  }

  .leader {
    grid-template-columns: 96px 1fr;
  }

  .leader-avatar {
    width: 96px;
    height: 96px;
    font-size: 1.25rem;
  }

  .section {
    padding: 3.75rem 0;
  }
}
