:root {
  --blue-900: #0b2a5b;
  --blue-800: #123a78;
  --blue-700: #1a4f9c;
  --blue-100: #e8f0fb;
  --blue-50: #f3f7fd;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --orange-500: #f97316;
  --ink: #142033;
  --muted: #5b6b82;
  --line: rgba(18, 58, 120, 0.12);
  --paper: #f7f9fc;
  --white: #ffffff;
  --max: 1120px;
  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(26, 79, 156, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(249, 115, 22, 0.1), transparent 55%),
    linear-gradient(180deg, #eef3fb 0%, var(--paper) 28%, #ffffff 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 249, 252, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--blue-800);
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-900);
  opacity: 0.82;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-400));
  color: #1a1208 !important;
  font-weight: 700;
  border-radius: 4px;
  opacity: 1 !important;
  box-shadow: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue-800);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--amber-400));
  color: #1a1208;
}

.btn-secondary {
  background: var(--blue-800);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-800);
  border: 1px solid rgba(18, 58, 120, 0.28);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: stretch;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 14s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 24, 52, 0.78) 0%, rgba(8, 24, 52, 0.52) 48%, rgba(8, 24, 52, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 24, 52, 0.25) 0%, rgba(8, 24, 52, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: auto;
  padding: 5rem 0 4.5rem;
  color: var(--white);
  max-width: 640px;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero-brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

.hero-brand h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.hero-copy {
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.25s forwards;
}

.hero-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.25;
  max-width: 18ch;
}

.hero-copy p {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head .eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--blue-900);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.split-copy h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--blue-900);
}

.split-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.feature-list li {
  padding-left: 1.1rem;
  border-left: 3px solid var(--amber-500);
}

.feature-list strong {
  display: block;
  color: var(--blue-900);
  margin-bottom: 0.2rem;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.96rem;
}

.band {
  background:
    linear-gradient(135deg, rgba(18, 58, 120, 0.94), rgba(11, 42, 91, 0.96)),
    url("../assets/images/community.jpg") center/cover;
  color: var(--white);
  padding: 4.5rem 0;
}

.band .section-head h2,
.band .section-head p,
.band .section-head .eyebrow {
  color: var(--white);
}

.band .section-head p {
  color: rgba(255, 255, 255, 0.82);
}

.band .section-head .eyebrow {
  color: var(--amber-400);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.impact-grid article h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--amber-400);
}

.impact-grid article p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.story-grid .tall {
  min-height: 520px;
}

.story-grid .stack {
  display: grid;
  gap: 1.25rem;
}

.story-panel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 248px;
}

.story-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.story-panel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(8, 24, 52, 0.82));
  color: var(--white);
  font-weight: 600;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.person {
  display: grid;
  gap: 1rem;
}

.person img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(0.15);
}

.person h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--blue-900);
}

.person .role {
  margin: 0.15rem 0 0.55rem;
  color: var(--orange-500);
  font-weight: 700;
  font-size: 0.9rem;
}

.person p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.member-roster {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.member-row {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr 1.1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.member-row.header {
  padding-top: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.member-row strong {
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.member-row span {
  color: var(--muted);
  font-size: 0.95rem;
}

.member-level {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--blue-800);
  padding: 0.25rem 0;
  border-bottom: 2px solid var(--amber-500);
}

.member-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.member-search input {
  flex: 1 1 240px;
  max-width: 420px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.plan {
  padding: 1.75rem 1.5rem;
  border-top: 3px solid var(--blue-700);
  background: rgba(255, 255, 255, 0.72);
}

.plan.featured {
  border-top-color: var(--orange-500);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.08), rgba(255, 255, 255, 0.85));
}

.plan h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  color: var(--blue-900);
}

.plan .price {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue-800);
}

.plan .price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.plan ul {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.plan li {
  color: var(--muted);
  padding-left: 0.9rem;
  position: relative;
}

.plan li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-500);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  display: grid;
  gap: 0.9rem;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.blog-card .meta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.blog-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--blue-900);
  line-height: 1.3;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

.blog-card a.read {
  font-weight: 700;
  color: var(--orange-500);
}

.page-hero {
  padding: 4.5rem 0 3rem;
  background:
    linear-gradient(120deg, rgba(18, 58, 120, 0.08), rgba(249, 115, 22, 0.06)),
    linear-gradient(180deg, #e8effa, transparent);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blue-900);
}

.page-hero p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 640px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--blue-900);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(18, 58, 120, 0.2);
  border-radius: 4px;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.donate-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.donate-options button {
  border: 1px solid rgba(18, 58, 120, 0.2);
  background: var(--white);
  padding: 0.9rem;
  font-weight: 700;
  color: var(--blue-800);
  border-radius: 4px;
  cursor: pointer;
}

.donate-options button.active,
.donate-options button:hover {
  border-color: var(--orange-500);
  background: rgba(249, 115, 22, 0.08);
}

.trust-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article img.cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin: 1.5rem 0 2rem;
}

.article h2 {
  font-family: var(--font-display);
  color: var(--blue-900);
}

.article p {
  color: #334155;
  font-size: 1.05rem;
}

.site-footer {
  margin-top: 2rem;
  background: #0c2348;
  color: rgba(255, 255, 255, 0.86);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--white);
}

.footer-brand p,
.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.site-footer h4 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  color: var(--white);
}

.site-footer ul {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(247, 249, 252, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
  }

  .split,
  .split.reverse,
  .story-grid,
  .people-grid,
  .plans,
  .blog-grid,
  .impact-grid,
  .footer-grid,
  .form-row,
  .donate-options {
    grid-template-columns: 1fr;
  }

  .member-row,
  .member-row.header {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1rem;
  }

  .member-row.header span:nth-child(n + 3),
  .member-row span:nth-child(n + 3) {
    display: none;
  }

  .story-grid .tall {
    min-height: 320px;
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .brand-text span {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-brand img {
    width: 72px;
    height: 72px;
  }
}
