:root {
  --pink: #c4617a;
  --pink-light: #e8a0b0;
  --pink-deep: #8b3a51;
  --pink-pale: #f5dde3;
  --black: #0a0a0a;
  --black-mid: #141414;
  --black-soft: #1e1e1e;
  --black-card: #191919;
  --white: #faf5f6;
  --text-muted: #9a9a9a;
  --border: rgba(196, 97, 122, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}


/* ── Page Loader ── */
#loader {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  width: 90px; height: 90px;
  object-fit: contain;
  animation: pulseIn 1.2s ease infinite alternate;
}
@keyframes pulseIn {
  from { transform: scale(0.92); opacity: 0.7; }
  to   { transform: scale(1.05); opacity: 1; }
}
.loader-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  color: var(--pink-light);
  text-transform: uppercase;
  font-style: italic;
}
.loader-bar {
  width: 180px; height: 1px;
  background: var(--black-soft);
  position: relative; overflow: hidden;
}
.loader-bar::after {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--pink);
  animation: loadBar 1.6s ease forwards;
}
@keyframes loadBar {
  to { left: 0; }
}

/* ── Nav ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 800;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.4s ease;
}
#navbar.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  padding: 0.8rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo img { width: 42px; height: 42px; object-fit: contain; }
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-style: italic;
  color: var(--pink-light);
  letter-spacing: 0.12em;
  font-weight: 300;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--pink);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }


/* ── Subpage Nav ── */
.simple-nav {
  position: relative;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 2rem;
  background: var(--black);
  border-bottom: 1px solid var(--border);
}

.simple-nav a {
  color: var(--pink-light);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.simple-nav a:hover {
  color: var(--white);
}

/* ── Hero ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(196,97,122,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 30% 80%, rgba(139,58,81,0.06) 0%, transparent 60%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-left {
  padding: 8rem 4rem 6rem 5rem;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.3s ease forwards;
}
.hero-tag::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--pink);
}
h1.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.5s ease forwards;
}
h1.hero-title em {
  font-style: italic;
  color: var(--pink-light);
}
.hero-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s 0.7s ease forwards;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s 0.9s ease forwards;
}
.btn-primary {
  background: var(--pink);
  color: var(--white);
  padding: 0.85rem 2rem;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background 0.25s ease, transform 0.2s ease;
  border-radius: 2px;
}
.btn-primary:hover { background: var(--pink-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 0.83rem 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.25s ease, color 0.25s ease;
  border-radius: 2px;
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink-light); }
.hero-right {
  position: relative;
  height: 100vh;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1.4s 0.6s ease forwards;
}
.hero-right::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--black) 0%, transparent 25%),
              linear-gradient(to top, var(--black) 0%, transparent 20%);
  z-index: 1;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%) contrast(1.05);
}
.hero-scroll {
  position: absolute;
  bottom: 3rem; left: 5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 3;
  opacity: 0;
  animation: fadeIn 1s 1.4s ease forwards;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--pink), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); transform-origin: top; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ── Media Collage (Background Only) ── */
.media-collage {
  position: relative;
  padding: 6rem 5rem;
  min-height: 520px;
  overflow: hidden;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-collage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: minmax(80px, 1fr);
  gap: 4px;
  padding: 2rem;
  opacity: 0.32;
  filter: grayscale(65%) brightness(0.38) saturate(0.4);
  pointer-events: none;
}

.media-collage-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-ss-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.media-ss-block {
  flex: 1;
  min-width: 0;
}

.media-ss-block--left,
.media-ss-block--right {
  clip-path: none;
}

.media-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.media-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(100%);
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(0%) brightness(1);
  will-change: transform;
  display: none;
}

.media-slide.is-active {
  transform: translateX(0);
  z-index: 2;
  filter: grayscale(0%) brightness(1);
  display: block;
}

.media-slide.is-previous {
  transform: translateX(-100%);
  z-index: 1;
  display: none;
}

.media-collage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--black) 0%, transparent 18%, transparent 82%, var(--black) 100%),
    radial-gradient(ellipse 120% 100% at center 50%, transparent 25%, rgba(10, 10, 10, 0.65) 100%);
}

@media (max-width: 768px) {
  .media-collage {
    padding: 4rem 2rem;
    min-height: 420px;
  }

  .media-collage-bg {
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    padding: 1.5rem;
  }

  .media-ss-row {
    flex-direction: column;
    gap: 1rem;
  }

  .media-ss-block {
    width: 100%;
    min-height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .media-slide {
    transition: none;
  }
}

/* ── Section Base ── */
section { padding: 7rem 5rem; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.2rem;
}
.section-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--pink);
}
h2.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
h2.section-title em { font-style: italic; color: var(--pink-light); }

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Marquee ── */
.marquee-band {
  background: var(--pink-deep);
  padding: 0.75rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  animation: marquee 22s linear infinite;
}
.marquee-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  padding: 0 2rem;
}
.marquee-dot { color: var(--pink-pale); opacity: 0.6; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Impact Stats ── */
#impact {
  background: var(--black-mid);
  position: relative;
  overflow: hidden;
}
#impact::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,97,122,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  margin-top: 4rem;
}
.stat-card {
  background: var(--black-card);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover { background: #1f1416; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.4rem;
  font-weight: 300;
  color: var(--pink-light);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ── About/Founder ── */
#about {
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-frame {
  position: relative;
  z-index: 1;
}
.about-img-frame::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 1px solid var(--border);
  z-index: -1;
}
.about-img-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(10%);
}
.about-accent {
  position: absolute;
  bottom: -2rem; right: -2rem;
  width: 160px; height: 160px;
  background: var(--pink-deep);
  opacity: 0.12;
  border-radius: 50%;
  z-index: -1;
}
.about-content { position: relative; }
.founder-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-style: italic;
  color: var(--pink-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--pink);
}
.about-body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(250,245,246,0.75);
  margin-bottom: 1rem;
}
.founder-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--white);
  margin-top: 1.5rem;
}
.founder-name span {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-top: 0.2rem;
}

/* ── Programs ── */
#programs {
  background: var(--black-mid);
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  margin-top: 4rem;
}
.program-card {
  background: var(--black-card);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease;
}
.program-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,97,122,0.04), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.program-card:hover { transform: translateY(-4px); }
.program-card:hover::after { opacity: 1; }
.program-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: rgba(196,97,122,0.2);
  line-height: 1;
  margin-bottom: 1rem;
}
.program-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: var(--white);
}
.program-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── Stories ── */
#stories {
  position: relative;
  overflow: hidden;
}
#stories::before {
  content: 'WARRIORS';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14rem;
  font-weight: 700;
  color: rgba(196,97,122,0.025);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
}
.stories-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}
.story-featured {
  background: var(--black-card);
  padding: 3rem;
  border-left: 2px solid var(--pink);
  position: relative;
}
.story-featured::before {
  content: '"''"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  color: var(--pink);
  opacity: 0.12;
  position: absolute;
  top: 0.5rem; left: 1.5rem;
  line-height: 1;
  pointer-events: none;
}
.story-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
  color: rgba(250,245,246,0.85);
  position: relative;
  z-index: 1;
}
.story-author {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
}
.story-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.story-card-small {
  background: var(--black-card);
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s ease;
}
.story-card-small:hover { border-color: var(--pink); }
.story-card-small .story-text {
  font-size: 0.95rem;
}

/* ── Get Involved ── */
#involve {
  background: var(--black-mid);
}
.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 4rem;
}
.involve-card {
  background: var(--black-card);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.involve-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--pink);
  transition: width 0.4s ease;
}
.involve-card:hover::before { width: 100%; }
.involve-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: rgba(196,97,122,0.2);
  line-height: 1;
  margin-bottom: 1rem;
}
.involve-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}
.involve-desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ── Volunteer & Application Forms ── */
#volunteer,
#application,
#partner {
  background: var(--black-mid);
}

.form-section-intro {
  max-width: 560px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.site-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-form input,
.site-form select,
.site-form textarea {
  padding: 0.9rem 1rem;
  background: var(--black-card);
  border: 1px solid var(--border);
  color: var(--white);
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  border-radius: 2px;
  transition: border-color 0.25s ease;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  border-color: var(--pink);
}

.site-form input::placeholder,
.site-form textarea::placeholder {
  color: var(--text-muted);
}

.site-form select {
  cursor: pointer;
}

.site-form select option {
  background: var(--black-card);
  color: var(--white);
}

.site-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-file-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form-consent {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.form-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.site-form .btn-primary {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  padding: 0.95rem 2rem;
}

.form-feedback {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 0.75rem;
  text-align: center;
}

.form-feedback--success {
  color: var(--pink-light);
}

.form-feedback--error {
  color: #e8a0a0;
}

/* ── Donate ── */
#donate {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 7rem 5rem;
}
#donate::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(196,97,122,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.donate-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  position: relative;
}
.donate-title em { font-style: italic; color: var(--pink-light); }
.donate-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}
.donate-amounts {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.amount-chip {
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  border-radius: 2px;
  background: transparent;
  font-family: 'Outfit', sans-serif;
}
.amount-chip:hover, .amount-chip.active {
  border-color: var(--pink);
  color: var(--pink-light);
  background: rgba(196,97,122,0.08);
}
.amount-chip .impact-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.donation-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem;
  text-align: left;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.donation-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--white);
}

.donation-card > p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.donation-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.donation-details div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.donation-details span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
}

.donation-details strong {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
}

#accountNumber {
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.08em;
}

.donation-note {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.donation-note a {
  color: var(--pink-light);
  text-decoration: none;
}

.donation-note a:hover {
  color: var(--white);
}

.donation-card .btn-primary {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}

.donation-form {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.donation-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
  color: var(--white);
  text-align: left;
}

/* ── Testimonials ── */
#testimonials {
  background: var(--black-mid);
}
.testimonials-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}
.testimonial-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  position: relative;
  transition: border-color 0.3s ease;
}
.testimonial-card:hover { border-color: rgba(196,97,122,0.4); }
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.75;
  color: rgba(250,245,246,0.85);
  margin-bottom: 1.2rem;
}
.testimonial-attr {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
}

/* ── Events ── */
#events {
  position: relative;
}
.events-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.event-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 2rem;
  background: var(--black-card);
  transition: background 0.3s ease;
  border-left: 2px solid transparent;
}
.event-row:hover {
  background: #1a1215;
  border-left-color: var(--pink);
}
.event-date {
  text-align: center;
}
.event-date-month {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
}
.event-date-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--white);
}
.event-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.event-loc {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── Newsletter ── */
#newsletter {
  background: var(--black-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 2rem;
}
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-right: none;
  padding: 0.9rem 1.2rem;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease;
}
.newsletter-input:focus { border-color: var(--pink); }
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-btn {
  background: var(--pink);
  border: none;
  color: var(--white);
  padding: 0.9rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s ease;
  white-space: nowrap;
}
.newsletter-btn:hover { background: var(--pink-deep); }
.newsletter-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.newsletter-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.newsletter-list-item::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
}

/* ── Footer ── */
footer {
  background: #080808;
  padding: 4rem 5rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand img { width: 52px; object-fit: contain; }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-contact-item {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.footer-contact-item a { color: var(--pink-light); text-decoration: none; }
.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--pink-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.25s ease;
}
.social-link:hover { border-color: var(--pink); color: var(--pink-light); }

/* ── Responsive ── */
@media (max-width: 900px) {
  section { padding: 5rem 2rem; }
  #navbar { padding: 1rem 1.5rem; }
  #navbar.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links { display: none; }
  #hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 7rem 2rem 4rem; }
  .about-grid, .stories-layout, .involve-grid,
  .testimonials-wrap, #newsletter, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  footer { padding: 3rem 1.5rem; }
}
.form-section {
    max-width: 700px;
    margin: auto;
    padding: 6rem 1.5rem;
    color: var(--white);
  }
  
  .form-section h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }
  
  .form-section p {
    color: var(--text-muted);
    margin-bottom: 2rem;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  form h2 {
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--pink-light);
  }
  
  input, select, textarea {
    padding: 0.9rem;
    background: var(--black-card);
    border: 1px solid var(--border);
    color: var(--white);
    outline: none;
    font-family: inherit;
  }
  
  textarea {
    min-height: 100px;
    resize: vertical;
  }
  
  label {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  
  button[type="submit"] {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--pink);
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 500;
  }
  
  button[type="submit"]:hover {
    background: var(--pink-deep);
  }

  .learn-section {
    max-width: 800px;
    margin: auto;
    padding: 4rem 1.5rem 6rem;
    color: var(--white);
  }

  .learn-section h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
  }

  .learn-section > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.75;
  }

  .learn-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
  }

  .learn-jump a {
    color: var(--pink-light);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
  }

  .learn-jump a:hover {
    color: var(--white);
  }

  .learn-topic {
    scroll-margin-top: 2rem;
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
  }

  .learn-topic:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .learn-topic h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--white);
  }

  .learn-topic p {
    color: rgba(250,245,246,0.75);
    line-height: 1.85;
    margin-bottom: 1.25rem;
  }

  .learn-resources {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .learn-resources a {
    color: var(--pink-light);
    text-decoration: none;
    font-size: 0.9rem;
  }

  .learn-resources a:hover {
    color: var(--white);
  }

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

  .learn-card {
    background: var(--black-card);
    padding: 2rem;
    text-decoration: none;
    color: var(--white);
    border: 1px solid var(--border);
    transition: 0.3s ease;
  }

  .learn-card:hover {
    border-color: var(--pink);
    transform: translateY(-4px);
  }

  .learn-card span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
  }

.stories-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  color: var(--white);
}

.stories-page .section-title {
  margin-bottom: 0;
}

.stories-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stories-page-grid .story-featured {
  grid-column: 1 / -1;
}

.stories-page-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 3.5rem;
}

@media (max-width: 768px) {
  .stories-page-grid {
    grid-template-columns: 1fr;
  }
}


/* ─────────────────────────────────────────────────────────────
   Professional polish layer
   This final layer refines the original visual system without
   changing the content model or JavaScript hooks.
───────────────────────────────────────────────────────────── */
:root {
  --rose: #c85f7b;
  --rose-2: #f1b4c3;
  --rose-3: #7f2f45;
  --ink: #08090b;
  --surface: #121214;
  --surface-2: #181417;
  --cream: #fff8f4;
  --muted: #b8adb0;
  --gold: #d7a95b;
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

body {
  background:
    radial-gradient(circle at 15% 0%, rgba(200, 95, 123, 0.12), transparent 34rem),
    radial-gradient(circle at 90% 22%, rgba(215, 169, 91, 0.05), transparent 26rem),
    var(--ink);
  color: var(--cream);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 70%);
}

::selection { background: rgba(200, 95, 123, 0.38); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--rose-2);
  outline-offset: 4px;
}

#navbar {
  width: min(100% - 32px, 1240px);
  left: 50%;
  right: auto;
  top: 16px;
  transform: translateX(-50%);
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  background: rgba(8, 9, 11, 0.56);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.22);
}

#navbar.scrolled {
  top: 10px;
  padding: 0.7rem 0.9rem;
  border-color: rgba(200,95,123,0.24);
  background: rgba(8, 9, 11, 0.88);
}

.nav-logo img,
.footer-brand img,
.loader-logo {
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  padding: 3px;
}

.nav-links { gap: 1.65rem; align-items: center; }
.nav-links a { color: rgba(255,248,244,0.72); }
.nav-links a.active { color: var(--rose-2) !important; }
.nav-links a.active::after { width: 100% !important; background: var(--rose-2) !important; }
#navbar.subpage-nav { background: rgba(8, 9, 11, 0.88); border-color: rgba(200, 95, 123, 0.24); }
.btn-primary,
.newsletter-btn {
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 36px rgba(200,95,123,0.24);
}

.btn-primary:hover,
.newsletter-btn:hover {
  box-shadow: 0 20px 46px rgba(200,95,123,0.34);
}

.btn-ghost {
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.03);
}

#hero {
  min-height: 104vh;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  padding-top: 5.5rem;
}

.hero-left { padding-left: clamp(2rem, 6vw, 6rem); }
.hero-tag { color: var(--rose-2); }
.hero-tag::before { background: linear-gradient(90deg, var(--gold), var(--rose)); }
h1.hero-title { letter-spacing: -0.035em; max-width: 780px; }
.hero-sub { color: rgba(255,248,244,0.76); font-size: 1.04rem; }

.hero-right {
  height: calc(100vh - 8rem);
  margin: 2.8rem 2rem 2rem 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-right::before {
  background:
    linear-gradient(to right, rgba(8,9,11,0.35), transparent 32%),
    linear-gradient(to top, rgba(8,9,11,0.72), transparent 38%);
}

.hero-img { border-radius: var(--radius-lg); filter: saturate(0.92) contrast(1.04); }

.hero-right::after {
  content: 'Community care • Education • Emergency support';
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
  max-width: calc(100% - 2.8rem);
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  color: rgba(255,248,244,0.86);
  background: rgba(8,9,11,0.58);
  backdrop-filter: blur(14px);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-collage { border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.media-ss-block { border-radius: var(--radius-md); }

section { position: relative; }
#impact,
#programs,
#involve,
#volunteer,
#application,
#partner,
#testimonials,
#newsletter {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.005)), var(--surface);
}

.section-title,
h2.section-title,
.donate-title,
.learn-section h1,
.subpage-title {
  color: var(--cream);
}

.section-eyebrow { color: var(--rose-2); }
.section-eyebrow::before { background: linear-gradient(90deg, var(--gold), var(--rose)); }

.stat-card,
.program-card,
.involve-card,
.story-featured,
.story-card-small,
.testimonial-card,
.donation-card,
.event-row,
.learn-topic,
.subpage-panel {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)), var(--surface-2);
  box-shadow: 0 18px 44px rgba(0,0,0,0.16);
}

.stats-grid,
.programs-grid,
.involve-grid,
.events-list { gap: 1rem; }

.program-card,
.involve-card,
.stat-card { min-height: 100%; }
.program-card::before,
.involve-card::after,
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 12% 0%, rgba(200,95,123,0.12), transparent 38%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.program-card:hover::before,
.involve-card:hover::after,
.testimonial-card:hover::before { opacity: 1; }

.about-img-frame img,
.story-featured,
.story-card-small,
.testimonial-card,
.donation-card { overflow: hidden; }
.about-img-frame img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-img-frame::before { border-radius: var(--radius-lg); }

#application .site-form,
#volunteer .site-form,
#partner .site-form,
.donation-form {
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

#application .site-form textarea,
#application .site-form .form-file-label,
#application .site-form input[type='file'],
#application .site-form .form-consent,
#application .site-form button,
#volunteer .site-form textarea,
#volunteer .site-form button,
#partner .site-form textarea,
#partner .site-form button,
.donation-form h3,
.donation-form textarea,
.donation-form button {
  grid-column: 1 / -1;
}

.site-form input,
.site-form select,
.site-form textarea,
.newsletter-input {
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
  border-color: rgba(255,255,255,0.09);
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus,
.newsletter-input:focus {
  background: rgba(255,255,255,0.065);
  box-shadow: 0 0 0 4px rgba(200,95,123,0.1);
}

.donation-card { max-width: 720px; border-radius: var(--radius-lg); }
.donation-details { border-radius: var(--radius-md); }
.amount-chip { border-radius: var(--radius-pill); cursor: pointer; }

.event-row { grid-template-columns: 92px 1fr auto; }
#newsletter { border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.newsletter-input { border-radius: var(--radius-pill) 0 0 var(--radius-pill); }
.newsletter-btn { border-radius: 0 var(--radius-pill) var(--radius-pill) 0; }

footer { background: #070709; }
#db-test-btn { display: none !important; }

/* Professional subpage layout */
.subpage-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 4%, rgba(200,95,123,0.13), transparent 30rem),
    radial-gradient(circle at 92% 12%, rgba(215,169,91,0.06), transparent 24rem),
    var(--ink);
}

.subpage-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 5rem);
  background: rgba(8,9,11,0.84);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
}

.subpage-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.1;
}

.subpage-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  padding: 3px;
}

.subpage-brand span span {
  display: block;
  color: var(--rose-2);
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0.12rem;
}

.subpage-nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.subpage-nav-links a {
  color: rgba(255,248,244,0.72);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.subpage-nav-links a:hover { color: var(--rose-2); }

.subpage-hero {
  padding: 6rem clamp(1.5rem, 6vw, 6rem) 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.subpage-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 1rem 0;
}

.subpage-title em { color: var(--rose-2); font-style: italic; }
.subpage-lede { max-width: 720px; color: rgba(255,248,244,0.76); line-height: 1.8; font-size: 1.04rem; }

.subpage-panel {
  padding: 1.5rem;
}

.subpage-panel-label {
  color: var(--rose-2);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.subpage-panel p { color: var(--muted); line-height: 1.7; font-size: 0.9rem; }

.subpage-main {
  padding: 2rem clamp(1.5rem, 6vw, 6rem) 6rem;
}

.learn-section,
.stories-page {
  max-width: 1120px;
  padding-top: 0;
}

.learn-section .section-eyebrow,
.learn-section h1,
.learn-section > p,
.stories-page > .section-eyebrow,
.stories-page > .section-title,
.stories-page > .form-section-intro {
  display: none;
}

.learn-jump {
  position: sticky;
  top: 78px;
  z-index: 10;
  padding: 1rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  background: rgba(8,9,11,0.72);
  backdrop-filter: blur(16px);
  justify-content: center;
}

.learn-topic {
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.learn-topic h2 { font-size: 2rem; }
.learn-resources a::after { content: ' ↗'; color: var(--rose); }

.stories-page-grid { gap: 1rem; }
.stories-page-cta { padding-top: 1rem; }

.subpage-footer {
  padding: 3rem clamp(1.5rem, 6vw, 6rem);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--muted);
  background: rgba(7,7,9,0.82);
}

.subpage-footer a { color: var(--rose-2); text-decoration: none; }
.subpage-footer a:hover { color: var(--cream); }

@media (max-width: 1100px) {
  #hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 460px; height: 54vh; margin: 0 2rem 2rem; }
  .hero-left { padding-top: 7rem; }
}

@media (max-width: 900px) {
  #navbar {
    width: calc(100% - 20px);
    border-radius: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .nav-links {
    display: flex;
    width: 100%;
    gap: 0.8rem;
    overflow-x: auto;
    padding: 0.2rem 0.1rem 0.25rem;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; font-size: 0.68rem; }
  .hero-left { padding-top: 10rem; }
  .hero-right { display: block; }
  .about-grid,
  .stories-layout,
  .involve-grid,
  .testimonials-wrap,
  #newsletter,
  .footer-grid { grid-template-columns: 1fr; }

  #application .site-form,
  #volunteer .site-form,
  #partner .site-form,
  .donation-form { grid-template-columns: 1fr; }

  .event-row { grid-template-columns: 1fr; align-items: start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .subpage-nav { align-items: flex-start; flex-direction: column; }
  .subpage-nav-links { gap: 0.9rem; }
  .subpage-hero { grid-template-columns: 1fr; padding-top: 4.5rem; }
  .learn-jump { top: 111px; border-radius: var(--radius-md); justify-content: flex-start; }
}

@media (max-width: 620px) {
  section { padding: 4.5rem 1.25rem; }
  #hero { min-height: auto; }
  .hero-left { padding: 9rem 1.25rem 3rem; }
  h1.hero-title { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .hero-ctas, .stories-page-cta { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
  .hero-right { margin: 0 1rem 1rem; min-height: 360px; }
  .hero-right::after { border-radius: 18px; }
  #donate { padding: 4.5rem 1.25rem; }
  .donation-card, .story-featured, .story-card-small, .testimonial-card, .program-card, .involve-card { padding: 1.5rem; }
  .newsletter-form { flex-direction: column; gap: 0.75rem; }
  .newsletter-input, .newsletter-btn { border-radius: var(--radius-pill); border-right: 1px solid rgba(255,255,255,0.09); }
  .subpage-title { font-size: clamp(2.7rem, 16vw, 4.5rem); }
  .subpage-main { padding-left: 1rem; padding-right: 1rem; }
  .learn-topic { padding: 1.35rem; }
  .stories-page-grid { grid-template-columns: 1fr; }
}

/* Branded redirect fallbacks */
.redirect-page {
  min-height: 100vh;
  align-items: center;
}

.redirect-page .btn-primary {
  margin-top: 1.4rem;
}

/* Admin review page */
.admin-shell {
  min-height: 100vh;
}

.admin-wrap {
  min-height: 100vh;
}

.admin-nav {
  position: sticky;
  top: 0;
}

.admin-dashboard {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 5rem;
}

.admin-card {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  box-shadow: 0 28px 80px rgba(0,0,0,0.34);
  color: rgba(250,245,246,0.82);
}

.admin-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: top;
  text-align: left;
  font-size: 0.82rem;
  line-height: 1.55;
}

.admin-table th {
  color: var(--pink-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  white-space: nowrap;
}

.admin-table td {
  color: rgba(250,245,246,0.74);
  max-width: 260px;
}
