/* ============================================================
   Human Rise Foundation - Design tokens & base styles
   ============================================================ */
:root {
  --color-primary: #003169;
  --color-primary-dark: #001f4d;
  --color-primary-darker: #001135;
  --color-primary-light: #e6eef8;
  --color-accent: #e85c2b;
  --color-accent-dark: #c94a1e;
  --color-ink: #1a1f2e;
  --color-ink-soft: #5a6070;
  --color-border: #dde3ed;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6fb;

  --font-base: 'Open Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 4px;

  --shadow-sm: 0 4px 16px rgba(0, 25, 70, .06);
  --shadow-md: 0 16px 40px rgba(0, 25, 70, .12);

  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--color-primary-dark); }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--color-primary);
}
p { margin: 0 0 1em; color: var(--color-ink-soft); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ============================================================
   Layout utilities
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.pt-100 { padding-top: 4rem; }
.pb-70 { padding-bottom: 3.5rem; }

.section { max-width: var(--container); margin: 0 auto; padding: 4rem 24px; }
.section-heading,
.home-section-title {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
}
.section-heading h2,
.home-section-title h2,
.home-copy-panel h2,
.contact-intro h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}
.section-heading p,
.home-section-title p { font-size: 1.05rem; }

.eyebrow, .home-subtitle, .donation-kicker {
  display: inline-block;
  margin: 0 0 .75rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ============================================================
   Buttons
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 2rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.button.primary { background: var(--color-primary); color: #fff; }
.button.primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.button.secondary { background: var(--color-accent); color: var(--color-primary-darker); }
.button.secondary:hover { background: var(--color-accent-dark); transform: translateY(-1px); }
.button.outline-dark { background: transparent; border-color: var(--color-ink); color: var(--color-ink); }
.button.outline-dark:hover { background: var(--color-ink); color: #fff; }

.donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-primary-darker);
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s ease, transform .15s ease;
}
.donate-btn:hover { background: var(--color-accent-dark); transform: translateY(-1px); }

/* ============================================================
   Header - top strip
   ============================================================ */
.header-top-strip {
  background: var(--color-primary-darker);
  color: rgba(255, 255, 255, .78);
}
.header-top-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: .5rem 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .85rem;
}
.header-social-links { display: flex; gap: .75rem; }
.header-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  transition: background .2s ease, color .2s ease;
}
.header-social-links svg { width: 14px; height: 14px; fill: currentColor; }
.header-social-links a:hover { background: var(--color-accent); color: var(--color-primary-darker); }

.header-contact-links { display: flex; gap: 1.5rem; }
.header-contact-links a { display: inline-flex; align-items: center; gap: .4rem; }
.header-contact-links svg { width: 16px; height: 16px; fill: var(--color-accent); }

.mobile-nav { display: none; }

/* ============================================================
   Header - navbar / navigation
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--color-primary-dark); overflow: visible; }

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 clamp(20px, 4vw, 48px);
}

.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand-logo {
  width: auto;
  height: 120px;
  flex: 0 0 auto;
  border-radius: 0;
  object-fit: contain;
  border: none;
}
.brand-title-large, .brand strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.1;
  color: #fff;
}
.brand small {
  display: block;
  margin-top: 2px;
  color: var(--color-accent);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .03em;
}

.nav-links { display: flex; align-items: center; gap: .5rem; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  position: relative;
  display: block;
  padding: 14px 14px 12px;
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .82);
  border-radius: var(--radius-sm);
  transition: color .2s ease;
  white-space: nowrap;
}
.nav-links > li > a::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: calc(100% - 20px);
  height: 2px;
  background: #f5c842;
  border-radius: 2px;
  transform: translateX(-50%) scaleX(0);
  transition: transform .25s ease;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: #f5c842;
  background: transparent;
}
.nav-links > li > a:hover::before,
.nav-links > li > a.active::before {
  transform: translateX(-50%) scaleX(1);
}
.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: .75rem .5rem .5rem;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 50;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: .65rem .9rem;
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  font-size: .9rem;
  font-weight: 600;
}
.dropdown a:hover, .dropdown a.active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.side-nav { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--color-primary-darker); color: rgba(255, 255, 255, .75); overflow: hidden; }
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.5rem 24px 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.footer-grid h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-about p { color: rgba(255, 255, 255, .7); }
.footer-socials { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.footer-socials a:hover { background: var(--color-accent); color: var(--color-primary-darker); }

.footer-causes { display: flex; flex-direction: column; gap: .9rem; }
.footer-cause { display: flex; align-items: center; gap: .75rem; color: rgba(255, 255, 255, .78); transition: color .2s ease; }
.footer-cause img { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.footer-cause:hover { color: var(--color-accent); }

.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--color-accent); }

.footer-contact-row { display: flex; gap: .6rem; margin-bottom: .9rem; align-items: flex-start; }
.footer-contact-row span { color: var(--color-accent); }
.footer-contact-row p { margin: 0; color: rgba(255, 255, 255, .78); }
.footer-contact-row b { color: #fff; }

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 16px 2.5rem auto;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary-darker);
  font-size: 1.2rem;
  transition: transform .2s ease;
}
.footer-top:hover { transform: translateY(-3px); }

/* ============================================================
   Hero slideshow
   ============================================================ */
/* ============================================================
   HERO � YFH-style text-only animated hero
   ============================================================ */
.charaty-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 920px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #06090e;
  user-select: none;
}

/* -- Deep space background with layered blue glow -- */
.hero-bg-decor {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 38% 45%, rgba(10, 55, 160, .65) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 70% 70%, rgba(5, 25, 90, .5) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 20% 25%, rgba(30, 80, 200, .3) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 0 L20 10 L10 20 L0 10 Z' fill='none' stroke='rgba(255,255,255,0.025)' stroke-width='0.6'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* -- Top edge: handled by .charaty-header::after terrain -- */
.charaty-hero::before {
  display: none;
}

/* -- Bottom wave removed -- */
.charaty-hero::after {
  display: none;
}

/* -- Slides hidden on all screens -- */
.charaty-hero-slide {
  display: none !important;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .8s ease;
  z-index: 3;
}
.charaty-hero-slide.active { opacity: 1; z-index: 4; }

/* -- Container layout -- */
.charaty-hero-slide .container {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-left: clamp(380px, 35vw, 520px);
  padding-right: clamp(20px, 4vw, 60px);
}

@media (max-width: 1100px) {
  .charaty-hero-slide .container { padding-left: 320px; }
}

@media (max-width: 900px) {
  .charaty-hero-slide .container { padding-left: clamp(20px, 5vw, 40px); padding-right: clamp(20px, 5vw, 40px); }
}

/* -- Text reveal keyframes -- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroLineGrow {
  from { width: 0; opacity: 0; }
  to   { width: 56px; opacity: 1; }
}
@keyframes heroCountIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* -- All content starts hidden -- */
.charaty-hero-content { max-width: 580px; padding: 0 0 6rem; }
.hero-slide-count,
.hero-eyebrow,
.hero-divider,
.charaty-hero-content h1,
.charaty-hero-content p,
.hero-actions { opacity: 0; }

/* -- Staggered reveal when slide becomes active -- */
.charaty-hero-slide.active .hero-slide-count { animation: heroCountIn .5s ease-out .05s both; }
.charaty-hero-slide.active .hero-eyebrow     { animation: heroFadeIn  .5s ease-out .2s  both; }
.charaty-hero-slide.active .hero-divider     { animation: heroLineGrow .5s ease-out .35s both; }
.charaty-hero-slide.active h1                { animation: heroFadeUp  .7s ease-out .45s both; }
.charaty-hero-slide.active p                 { animation: heroFadeIn  .6s ease-out .7s  both; }
.charaty-hero-slide.active .hero-actions     { animation: heroFadeIn  .6s ease-out .9s  both; }

/* -- Slide counter (01 / 03) -- */
.hero-slide-count {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--color-accent);
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hero-slide-count span { color: rgba(255,255,255,.35); font-weight: 400; }

/* -- Eyebrow tag -- */
.hero-eyebrow {
  display: inline-block;
  margin-bottom: .75rem;
  padding: .3rem .9rem;
  background: transparent;
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 2px;
}

/* -- Accent divider line -- */
.hero-divider {
  display: block;
  height: 3px;
  width: 56px;
  background: var(--color-accent);
  margin: .9rem 0 1.3rem;
  border-radius: 2px;
}

/* -- Main heading -- */
.charaty-hero-content h1 {
  color: #ffffff;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0 0 1.2rem;
  max-width: 760px;
}

/* -- Paragraph -- */
.charaty-hero-content p {
  color: rgba(255,255,255,.72);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 520px;
  margin: 0;
}

/* -- CTA buttons -- */
.hero-actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

.hero-btn {
  display: inline-flex;
  align-items: center;
  padding: .92rem 2.1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.hero-btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.hero-btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  box-shadow: 0 6px 24px rgba(232,92,43,.5);
  transform: translateY(-2px);
}
.hero-btn-secondary {
  background: transparent;
  color: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.4);
}
.hero-btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-2px);
}

/* -- Prev / Next arrows -- */
.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: rgba(255,255,255,.8);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  backdrop-filter: blur(6px);
}
.hero-arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.hero-prev { left: clamp(14px, 2.5vw, 40px); }
.hero-next { right: clamp(14px, 2.5vw, 40px); }

/* -- Dots -- */
.hero-controls {
  position: absolute;
  bottom: 100px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.hero-dots { display: flex; align-items: center; gap: 10px; }
.hero-dot {
  width: 28px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.25);
  border: none;
  cursor: pointer; padding: 0;
  transition: background .25s, width .25s;
}
.hero-dot.active {
  background: var(--color-accent);
  width: 44px;
}
.hero-dot:hover:not(.active) { background: rgba(255,255,255,.55); }

/* -- Progress bar -- */
.hero-progress-bar {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: rgba(255,255,255,.08);
  z-index: 10;
}
.hero-progress-fill {
  height: 100%; width: 0%;
  background: var(--color-accent);
  transition: width 0s;
}
.hero-progress-fill.running {
  width: 100%;
  transition: width 6s linear;
}

/* -- Hero video card (left side) -- */
.hero-video-card {
  position: absolute;
  top: 50%;
  left: clamp(20px, 4vw, 56px);
  transform: translateY(-50%);
  width: clamp(300px, 28vw, 400px);
  z-index: 5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(100, 160, 255, .35);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, .55),
    0 0 40px rgba(20, 60, 180, .18);
}

.hero-vc-header {
  background: transparent;
  color: var(--color-primary);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-align: center;
  padding: 1rem 1rem .5rem;
  border-bottom: none;
}

.hero-vc-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  margin: 0 12px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.hero-vc-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.hero-vc-img {
  margin: 0 12px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.hero-vc-img img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hero-vc-body {
  background: transparent;
  padding: .85rem 1rem 1rem;
}
.hero-vc-body p {
  color: #444;
  font-size: .82rem;
  line-height: 1.65;
  margin: 0 0 .85rem;
  text-align: center;
}

.hero-vc-tags { display: none; }

.hero-vc-btn {
  display: block;
  width: 100%;
  padding: .78rem 1rem;
  background: var(--color-primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 4px;
  transition: background .2s, box-shadow .2s;
  cursor: pointer;
}
.hero-vc-btn:hover {
  background: #002060;
  box-shadow: 0 4px 18px rgba(0,49,105,.45);
}

/* -- 3D floating text particles (YFH style) -- */
.hero-3d-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.h3p-item {
  position: absolute;
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
  font-family: var(--font-base);
  line-height: 1.25;
  will-change: transform, opacity;
  transform-origin: center center;
}

.h3p-label {
  display: block;
  font-size: .62em;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-shadow: 0 0 10px rgba(232, 92, 43, .75);
  margin-bottom: .2em;
}

.h3p-text {
  display: block;
  font-size: 1em;
  font-weight: 800;
  color: #fff;
  text-shadow:
    0 0 12px rgba(100, 160, 255, .9),
    0 0 30px rgba(80, 130, 255, .5),
    0 0 60px rgba(60, 100, 220, .3);
}


/* -- Responsive -- */
@media (min-width: 901px) and (max-width: 1100px) {
  /* Shrink video card so text doesn't get squeezed */
  .hero-video-card { width: clamp(260px, 26vw, 340px); left: 20px; }
  .charaty-hero-content { max-width: 500px; }
}

@media (max-width: 900px) {
  .charaty-hero {
    height: auto;
    min-height: unset;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 16px;
  }
  .charaty-hero-slide { display: none !important; }
  /* Video card moves to top */
  .hero-video-card {
    display: block;
    order: -1;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: calc(100% - 32px) !important;
    max-width: 460px;
    margin: 16px auto 0;
    flex: 0 0 auto;
    z-index: 5;
  }
  /* Particles sit below video card */
  .hero-3d-particles {
    display: block;
    order: 0;
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
    flex: 0 0 auto;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .charaty-hero { height: auto; min-height: unset; max-height: none; }
  .charaty-hero-content { padding: 0 0 4.5rem; }
  .charaty-hero-content h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-arrow { width: 40px; height: 40px; font-size: 1rem; }
  .hero-controls { bottom: 80px; }
}
@media (max-width: 480px) {
  .charaty-hero { height: auto; min-height: unset; max-height: none; }
  .charaty-hero-content h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .hero-btn { width: 100%; justify-content: center; }
  .hero-arrow { display: none; }
  .hero-controls { bottom: 64px; }
}

/* ============================================================
   Home - What Is section (YFH-style 3-card)
   ============================================================ */
.home-what {
  padding: 60px 0 70px;
  background: #fff;
}

.home-what-heading {
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.home-what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-what-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e0e8f4;
  box-shadow: 0 4px 20px rgba(0,25,70,.08);
  transition: transform .28s ease, box-shadow .28s ease;
}
.home-what-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 52px rgba(0,25,70,.16);
}
.home-what-card:nth-child(1) { --wc-accent: var(--color-primary); }
.home-what-card:nth-child(2) { --wc-accent: var(--color-accent); }
.home-what-card:nth-child(3) { --wc-accent: #2dbd78; }
.home-what-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--wc-accent, var(--color-primary));
  z-index: 2;
}

.home-what-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.home-what-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.home-what-card:hover .home-what-img img {
  transform: scale(1.07);
}
.home-what-card:first-child .home-what-img {
  height: 260px;
  padding: 20px 24px;
  background: #fff;
}
.home-what-card:first-child .home-what-img img {
  object-fit: contain;
}
.home-what-card:first-child:hover .home-what-img img {
  transform: scale(1.03);
}
.home-what-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,20,60,.52) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.home-what-card:first-child .home-what-img::after {
  display: none;
}
.home-what-card:first-child .home-what-body {
  border-top: 1px solid #d9e4f2;
}

.home-what-body {
  flex: 1;
  padding: 1.6rem 1.5rem 1.2rem;
}
.home-what-body p {
  font-size: .94rem;
  line-height: 1.78;
  color: #4a5568;
  margin: 0;
}
.home-what-body p em {
  font-style: normal;
  font-weight: 700;
  color: var(--wc-accent, var(--color-accent));
}

.home-what-btn {
  display: block;
  margin: 0 1.5rem 1.5rem;
  background: var(--wc-accent, var(--color-primary));
  color: #fff;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 50px;
  transition: opacity .22s ease, transform .22s ease;
}
.home-what-btn:hover { opacity: .87; transform: translateY(-2px); }

@media (max-width: 768px) {
  .home-what-grid { grid-template-columns: 1fr; }
  .home-what-img { height: 200px; }
  .home-what-card:first-child .home-what-img { height: 240px; padding: 18px 20px; }
}

/* ============================================================
   Home - Watch Video section
   ============================================================ */
.home-watch-video {
  padding: 50px 0 60px;
  background: #fff;
  border-top: 1px solid #e8edf5;
}

.home-watch-heading {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: .18em;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.home-watch-embed {
  position: relative;
  aspect-ratio: 16 / 6;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,.15);
}
.home-watch-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .home-watch-embed { aspect-ratio: 16 / 9; }
}

/* ============================================================
   Home - Educators Digital Essentials section
   ============================================================ */
.home-essentials {
  padding: 55px 0 65px;
  background: #fff;
  border-top: 1px solid #e8edf5;
}

.home-essentials-heading {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: .14em;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.home-essentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.home-essentials-col {
  display: flex;
  flex-direction: column;
}

.home-essentials-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  margin-bottom: 16px;
}
.home-essentials-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-essentials-col h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
  text-align: center;
}

.home-essentials-col p {
  font-size: .88rem;
  line-height: 1.7;
  color: #444;
  margin: 0 0 18px;
  flex: 1;
}

.home-essentials-btn {
  display: block;
  width: 100%;
  padding: .85rem 1rem;
  background: #111;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s;
  margin-top: auto;
}
.home-essentials-btn:hover { background: var(--color-primary); }

@media (max-width: 768px) {
  .home-essentials-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   Home - Champions slider
   ============================================================ */
.home-champions {
  padding: 50px 0 0;
  background: #fff;
  border-top: 1px solid #e8edf5;
  overflow: hidden;
}

.home-champ-heading {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: .14em;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.home-champ-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  background: #d0d0d0;
}

.champ-arrow {
  flex: 0 0 64px;
  height: 64px;
  width: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
  z-index: 2;
}
.champ-arrow:hover { background: #0046a0; transform: scale(1.08); }

.home-champ-track-outer {
  flex: 1;
  overflow: hidden;
}

.home-champ-track {
  display: flex;
  transition: transform .5s ease;
}

.home-champ-slide {
  min-width: 100%;
  display: flex;
  background: #e8e8e8;
}

.home-champ-img {
  width: 50%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}
.home-champ-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(60%) contrast(1.05);
}

.home-champ-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 32px;
  background: #e4e4e4;
}

.home-champ-info h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #111;
  margin: 0 0 12px;
}

.home-champ-info p {
  font-size: .9rem;
  line-height: 1.7;
  color: #444;
  margin: 0 0 22px;
  max-width: 280px;
}

.home-champ-btn {
  display: inline-block;
  padding: .7rem 2rem;
  background: var(--color-primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: background .2s;
}
.home-champ-btn:hover { background: #0046a0; }

@media (max-width: 768px) {
  .home-champ-slide { flex-direction: column; }
  .home-champ-img { width: 100%; aspect-ratio: 16 / 9; }
  .champ-arrow { flex: 0 0 44px; width: 44px; height: 44px; font-size: 1.4rem; margin: 0 8px; }
}

/* ============================================================
   Home - Take Action section
   ============================================================ */
.home-take-action {
  padding: 55px 0 65px;
  background: #fff;
  border-top: 1px solid #e8edf5;
}

.home-ta-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: .08em;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color-primary);
  display: inline-block;
}

.home-ta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-ta-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #d8e0ee;
  border-top: 3px solid var(--color-primary);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.home-ta-title {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  color: #111;
  padding: 18px 16px 12px;
  margin: 0;
  line-height: 1.5;
}

.home-ta-img {
  flex: 1;
  padding: 10px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-ta-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.home-ta-btn {
  display: block;
  width: 100%;
  padding: .9rem 1rem;
  background: var(--color-primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
  margin-top: auto;
}
.home-ta-btn:hover { background: #0046a0; }

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

/* ============================================================
   Home - Sign up bar
   ============================================================ */
.home-signup-bar {
  background: #f4f7fc;
  border-top: 1px solid #dde4f0;
  border-bottom: 1px solid #dde4f0;
  padding: 22px 0;
}

.home-signup-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.home-signup-label {
  white-space: nowrap;
  font-size: .95rem;
  color: #222;
  margin: 0;
  flex-shrink: 0;
}

.home-signup-form {
  display: flex;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}

.home-signup-form input {
  flex: 1;
  min-width: 130px;
  padding: .6rem .85rem;
  border: 1px solid #c8d3e6;
  border-radius: 3px;
  font-size: .88rem;
  font-family: var(--font-base);
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.home-signup-form input:focus { border-color: var(--color-primary); }
.home-signup-form input::placeholder { color: #aaa; }

.home-signup-form button {
  padding: .6rem 1.6rem;
  background: var(--color-primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.home-signup-form button:hover { background: #0046a0; }

@media (max-width: 768px) {
  .home-signup-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .home-signup-form { flex-direction: column; }
  .home-signup-form input, .home-signup-form button { width: 100%; }
}

/* ============================================================
   Home - alternating section backgrounds
   ============================================================ */
.home-benefits,
.home-gallery { background: var(--color-bg-alt); }

/* ============================================================
   Home - About / overview
   ============================================================ */
.home-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.home-two-col.reverse { direction: rtl; }
.home-two-col.reverse > * { direction: ltr; }
.home-image-panel img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.home-copy-panel p { max-width: 540px; }

/* ============================================================
   Home - Benefits (four-card grid)
   ============================================================ */
.home-card-grid.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.home-card-grid.four article {
  padding: 2.25rem 1.75rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.home-card-grid.four article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--color-bg);
}
.home-card-grid.four article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
  font-size: .95rem;
}
.home-card-grid.four h3 { font-size: 1.15rem; }
.home-card-grid.four p { margin: 0; font-size: .95rem; }

/* ============================================================
   Home - Features (three-card image grid)
   ============================================================ */
.home-card-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.home-card-grid.three article {
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-card-grid.three article:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.home-card-grid.three img { width: 100%; height: 220px; object-fit: cover; }
.home-card-grid.three > article > span { display: none; }
.home-card-grid.three h3 { margin: 1.5rem 1.75rem .5rem; font-size: 1.15rem; }
.home-card-grid.three p { margin: 0 1.75rem 1.25rem; font-size: .95rem; }
.home-card-grid.three a {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0 1.75rem 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
}
.home-card-grid.three a::after { content: "\2192"; transition: transform .2s ease; }
.home-card-grid.three a:hover::after { transform: translateX(4px); }

/* ============================================================
   Home - Stat counter band
   ============================================================ */
.home-counter { background: var(--color-primary-dark); }
.home-counter .container { padding-top: 0; padding-bottom: 0; }
.home-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.home-stat-grid strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--color-accent);
  line-height: 1.1;
}
.home-stat-grid p { margin: .5rem 0 0; color: rgba(255, 255, 255, .85); }

/* ============================================================
   Home - How we work (process + photo stack)
   ============================================================ */
.home-process { display: flex; flex-direction: column; gap: 1.75rem; }
.home-process li { display: flex; gap: 1.25rem; align-items: flex-start; }
.home-process li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
}
.home-process li h3 { margin-bottom: .35rem; font-size: 1.05rem; }
.home-process li p { margin: 0; font-size: .95rem; }

.home-photo-stack { position: relative; }
.home-photo-stack img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.home-photo-stack img:first-child { width: 100%; height: 380px; }
.home-photo-stack img:last-child {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 55%;
  height: 220px;
  border: 6px solid var(--color-bg);
}

/* ============================================================
   Home - Gallery
   ============================================================ */
.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.home-gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform .3s ease;
}
.home-gallery-grid img:hover { transform: scale(1.03); }

/* ============================================================
   Home - Vision
   ============================================================ */
.home-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.home-vision-grid article {
  overflow: hidden;
  background: var(--color-primary-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.home-vision-grid img { width: 100%; height: 200px; object-fit: cover; }
.home-vision-grid h3 { margin: 1.5rem 1.5rem .5rem; color: #fff; font-size: 1.1rem; }
.home-vision-grid p { margin: 0 1.5rem 1.5rem; color: rgba(255, 255, 255, .8); font-size: .95rem; }

/* ============================================================
   About & Get Involved - alternating photo/content sections
   ============================================================ */
.about-section-with-photo,
.involvement-section-with-photo {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.about-section-with-photo:last-of-type,
.involvement-section-with-photo:last-of-type { border-bottom: none; padding-bottom: 0; }
.about-section-with-photo:first-of-type,
.involvement-section-with-photo:first-of-type { padding-top: 0; }

.about-section-with-photo:nth-of-type(even),
.involvement-section-with-photo:nth-of-type(even) { direction: rtl; }
.about-section-with-photo:nth-of-type(even) > *,
.involvement-section-with-photo:nth-of-type(even) > * { direction: ltr; }

.about-section-photo img,
.involvement-section-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-content h3,
.involvement-content h3 { font-size: 1.6rem; }

.about-content ul,
.involvement-content ul {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 1rem 0 1.5rem;
}
.about-content li,
.involvement-content li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .95rem;
  color: var(--color-ink-soft);
}
.about-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}
.involvement-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}
.about-content li strong,
.involvement-content li strong { color: var(--color-ink); }

.involvement-content h4 { margin: 1.5rem 0 .5rem; font-size: 1.05rem; }
.involvement-content em { font-style: italic; font-size: .9rem; }
.involvement-content .button { margin-top: .5rem; }

/* ============================================================
   Programs page
   ============================================================ */
.program-section { margin-bottom: 4.5rem; }
.program-section:last-child { margin-bottom: 0; }
.program-section h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 2rem;
  text-align: center;
}

.program-list,
.completed-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.completed-showcase { grid-template-columns: repeat(3, 1fr); }

.program-list article,
.completed-showcase article {
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.program-list article:hover,
.completed-showcase article:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.program-list img,
.completed-showcase img { width: 100%; height: 180px; object-fit: cover; }
.program-list h4,
.completed-showcase h4 { margin: 1.25rem 1.25rem .5rem; font-size: 1.05rem; }
.program-list p,
.completed-showcase p { margin: 0 1.25rem 1.25rem; font-size: .9rem; }

.program-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.program-details article {
  padding: 2rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.program-details h4 { font-size: 1.15rem; }
.program-details .eyebrow { margin-top: .5rem; }
.program-details ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: .5rem 0 1.25rem;
}
.program-details li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .9rem;
  color: var(--color-ink-soft);
}
.program-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}
.program-details > article > p:last-child {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: .9rem;
  color: var(--color-ink-soft);
}
.program-details > article > p:last-child strong { color: var(--color-ink); }

/* ============================================================
   Memorandum of Association / legal document page
   ============================================================ */
.moa-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px 4rem;
}
.moa-page .section-heading { margin-bottom: 1.75rem; }

.moa-intro {
  margin-bottom: 2.5rem;
  padding: 1.1rem 1.5rem;
  background: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
}
.moa-intro p { margin: 0; color: var(--color-primary); font-weight: 600; }

.moa-article {
  margin-bottom: 1.75rem;
  padding: 1.75rem 2rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.moa-article:last-child { margin-bottom: 0; }
.moa-article h3 {
  margin: 0 0 1.1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.05rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.moa-article p:last-child { margin-bottom: 0; }
.moa-article ol,
.moa-article .moa-ul {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 0 0 1em;
  padding-left: 1.35rem;
}
.moa-article ol { list-style: decimal; }
.moa-article .moa-ul { list-style: disc; padding-left: 1.1rem; margin-top: .5rem; }
.moa-article li { color: var(--color-ink-soft); }
.moa-article li::marker { color: var(--color-accent); font-weight: 700; }
.moa-article ol > li > ol,
.moa-article ol > li > .moa-ul { margin-top: .5rem; }

.moa-sub-label {
  display: inline-block;
  margin-bottom: .4rem;
  font-weight: 700;
  color: var(--color-primary);
}

.moa-table {
  width: 100%;
  margin-top: 1.25rem;
  border-collapse: collapse;
  font-size: .9rem;
}
.moa-table th,
.moa-table td {
  padding: .75rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
}
.moa-table th {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-weight: 700;
}
.moa-table td { color: var(--color-ink-soft); }

@media (max-width: 600px) {
  .moa-article { padding: 1.5rem; }
}

/* ============================================================
   Impact page
   ============================================================ */
.impact > .section-heading { max-width: 960px; }
.impact-section { margin-bottom: 4.5rem; }
.impact-section:last-child { margin-bottom: 0; }
.impact-section h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 2rem;
  text-align: center;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.impact-grid article {
  padding: 2.25rem 1.5rem;
  text-align: center;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
}
.impact-grid strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--color-primary);
  margin-bottom: .5rem;
}
.impact-grid span { font-size: .95rem; color: var(--color-ink-soft); }

.stories-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.story-card {
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story-card img { width: 100%; height: 200px; object-fit: cover; }
.story-card h4 { margin: 1.25rem 1.25rem .5rem; font-size: 1.05rem; }
.story-card p { margin: 0 1.25rem 1.25rem; font-size: .9rem; }

.transformations-grid { display: flex; flex-direction: column; gap: 2rem; }
.transformation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.phase { padding: 2rem; border-radius: var(--radius-md); }
.phase h4 { font-size: 1.05rem; }
.phase ul { display: flex; flex-direction: column; gap: .6rem; }
.phase li {
  position: relative;
  padding-left: 1.75rem;
  font-size: .9rem;
  color: var(--color-ink-soft);
}
.phase.before { background: var(--color-bg-alt); border: 1px solid var(--color-border); }
.phase.before li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  top: 0;
  color: #c0594a;
  font-weight: 700;
  font-size: .85rem;
}
.phase.after { background: var(--color-primary-light); }
.phase.after li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: .85rem;
}

/* ============================================================
   Free Course page
   ============================================================ */
.course-outcomes {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin: 1.5rem 0 3rem;
}
.course-outcomes li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.05rem;
  color: var(--color-ink);
}
.course-outcomes li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent-dark);
  font-weight: 700;
}

.course-module {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.course-module-title {
  margin: 0;
  padding: 1.1rem 1.5rem;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  font-size: 1.05rem;
}
.course-lessons li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: .95rem;
  color: var(--color-ink-soft);
}
.course-lessons li:last-child { border-bottom: none; }
.course-lessons li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-ink-soft);
  border-radius: 50%;
}
.course-lessons strong { color: var(--color-ink); font-weight: 700; }
.course-lessons em { font-style: italic; }

/* ============================================================
   Donate page
   ============================================================ */
.donation-page { padding: 4rem 24px; }
.donation-layout {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.donation-impact-panel {
  position: sticky;
  top: 110px;
  padding: 2.5rem;
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: var(--radius-lg);
}
.donation-impact-panel h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.donation-impact-panel p { color: rgba(255, 255, 255, .82); }
.donation-impact-panel img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}
.donation-impact-list { display: flex; flex-direction: column; gap: .75rem; }
.donation-impact-list span {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .95rem;
}
.donation-impact-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.donation-form {
  padding: 2.5rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.donation-form-heading { margin-bottom: 1.5rem; }
.donation-form-heading h2 { margin-bottom: .5rem; }

.donation-field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-ink);
  margin-bottom: 1.25rem;
}
.donation-field-full { grid-column: 1 / -1; }

.donation-field input,
.donation-field select,
.donation-field textarea {
  padding: .85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--color-ink);
  background: var(--color-bg);
}
.donation-field input:focus,
.donation-field select:focus,
.donation-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.donation-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

.amount-options-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}
.amount-options-v2 legend {
  grid-column: 1 / -1;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .5rem;
}
.amount-options-v2 label { position: relative; cursor: pointer; }
.amount-options-v2 input { position: absolute; opacity: 0; }
.amount-options-v2 span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: 1.25rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-ink);
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, background .2s ease;
}
.amount-options-v2 span small { font-weight: 600; font-size: .8rem; color: var(--color-ink-soft); }
.amount-options-v2 label:has(input:checked) span {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.donation-small { font-size: .85rem; color: var(--color-ink-soft); margin: 1rem 0 1.5rem; }

.donation-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background .2s ease;
}
.donation-form button[type="submit"]:hover { background: var(--color-primary-dark); }

/* ============================================================
   Contact page
   ============================================================ */
.contact-band {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-intro p:not(.eyebrow) { max-width: 480px; }
.contact-photo {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-photo img { width: 100%; height: 320px; object-fit: cover; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.5rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: .85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--color-ink);
  background: var(--color-bg);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.contact-form button { align-self: flex-start; }

/* Full-width desktop header */
@media (min-width: 1281px) {
  .navbar {
    max-width: none;
    margin: 0;
    min-height: 76px;
    gap: .65rem;
    padding: 0 16px;
  }
  .brand { gap: 9px; }
  .brand-logo { width: 120px; height: 120px; flex-basis: 120px; }
  .brand-title-large, .brand strong { font-size: 1.08rem; }
  .brand small { font-size: .7rem; }
  .nav-links { gap: .5rem; }
  .nav-links > li > a { padding: 12px 10px; font-size: .9rem; }
  .has-dropdown > a::after { width: 6px; height: 6px; margin-left: 4px; }
  .donate-btn { min-width: 100px; min-height: 44px; padding: 10px 18px; font-size: .88rem; }
}

/* ============================================================
   Responsive - compact desktop (1281px - 1450px): nav refinement
   ============================================================ */
@media (min-width: 1281px) and (max-width: 1450px) {
  .navbar { min-height: 76px; gap: .65rem; padding: 0 16px; }
  .brand { gap: 9px; }
  .brand-logo { width: 110px; height: 110px; flex: 0 0 110px; }
  .brand-title-large { font-size: 1rem; }
  .brand small { font-size: .68rem; }
  .nav-links { gap: .18rem; }
  .nav-links > li > a { padding: 12px 5px; font-size: .76rem; }
  .has-dropdown > a::after { width: 6px; height: 6px; margin-left: 4px; }
  .header-top-inner { font-size: .8rem; }
  .donate-btn { min-width: 96px; min-height: 42px; padding: 9px 16px; font-size: .85rem; }
}

/* ============================================================
   Responsive - compact navigation (769px - 1280px)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1280px) {
  .header-top-strip { display: none; }
  .side-nav { display: none; }

  .navbar { position: relative; min-height: 70px; padding: 0 24px; flex-wrap: nowrap; }
  .brand-logo { width: 104px; height: 104px; flex: 0 0 104px; }
  .brand-title-large { font-size: 1.1rem; }
  .brand small { font-size: .74rem; }
  .nav-toggle { display: inline-block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-primary-dark);
    max-height: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: max-height .3s ease;
    z-index: 90;
  }
  .nav-links.is-open { max-height: 80vh; overflow-y: auto; }
  .nav-links > li > a { padding: 14px 24px; border-radius: 0; }

  .has-dropdown > a::after { transition: transform .2s ease; }
  .has-dropdown.is-open > a::after { transform: rotate(-135deg) translateY(2px); }
  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, .15);
    border-radius: 0;
    padding: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .has-dropdown.is-open .dropdown { max-height: 600px; }
  .dropdown a { padding: .65rem 2.5rem; border-radius: 0; color: rgba(255, 255, 255, .8); }
  .dropdown a:hover, .dropdown a.active { background: rgba(255, 255, 255, .08); color: #fff; }
}

/* ============================================================
   Responsive - mobile (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  .header-top-strip { display: none; }
  .side-nav { display: none; }

  .navbar { position: relative; min-height: 70px; padding: 0 16px; flex-wrap: nowrap; }
  .brand-logo { width: 88px; height: 88px; flex: 0 0 88px; }
  .brand-title-large { font-size: 1.05rem; }
  .brand small { font-size: .72rem; }

  .nav-toggle { display: inline-block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-primary-dark);
    max-height: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: max-height .3s ease;
    z-index: 90;
  }
  .nav-links.is-open { max-height: 80vh; overflow-y: auto; }
  .nav-links > li > a { padding: 14px 24px; border-radius: 0; }

  .has-dropdown > a::after { transition: transform .2s ease; }
  .has-dropdown.is-open > a::after { transform: rotate(-135deg) translateY(2px); }

  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, .15);
    border-radius: 0;
    padding: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .has-dropdown.is-open .dropdown { max-height: 600px; }
  .dropdown a { padding: .65rem 2.5rem; border-radius: 0; color: rgba(255, 255, 255, .8); }
  .dropdown a:hover, .dropdown a.active { background: rgba(255, 255, 255, .08); color: #fff; }

  /* Sections & spacing */
  .pt-100 { padding-top: 1.25rem; }
  .pb-70 { padding-bottom: 1rem; }
  .section { padding: 1.5rem 24px; }

  /* Hero */
  .charaty-hero { min-height: unset; }
  .charaty-hero-content { padding: 4rem 0; }

  /* Reset alternating two-column layouts to single column */
  .home-two-col,
  .home-two-col.reverse,
  .about-section-with-photo,
  .involvement-section-with-photo,
  .about-section-with-photo:nth-of-type(even),
  .involvement-section-with-photo:nth-of-type(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2.5rem;
  }
  .about-section-with-photo,
  .involvement-section-with-photo { padding: 2.5rem 0; }
  .about-section-photo img,
  .involvement-section-photo img,
  .home-image-panel img { min-height: 240px; max-height: 320px; }

  /* Grids */
  .home-card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .home-card-grid.three { grid-template-columns: 1fr; }
  .home-stat-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .home-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .home-vision-grid { grid-template-columns: 1fr; }
  .home-photo-stack img:first-child { height: 300px; }
  .home-photo-stack img:last-child { width: 60%; height: 180px; left: 0; bottom: -1.5rem; }

  .program-list { grid-template-columns: repeat(2, 1fr); }
  .program-details { grid-template-columns: 1fr; }
  .completed-showcase { grid-template-columns: repeat(2, 1fr); }

  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-container { grid-template-columns: 1fr; }
  .transformation { grid-template-columns: 1fr; }

  .donation-layout { grid-template-columns: 1fr; }
  .donation-impact-panel { position: static; }
  .donation-form-grid { grid-template-columns: 1fr; }
  .amount-options-v2 { grid-template-columns: repeat(2, 1fr); }

  .contact-band { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

/* ============================================================
   Responsive - small phone (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  .pt-100 { padding-top: 1rem; }
  .pb-70 { padding-bottom: 0.75rem; }
  .section { padding: 1.25rem 16px; }
  .container { padding: 0 16px; }

  .charaty-hero { min-height: unset; }
  .charaty-hero-content h1 { font-size: 1.8rem; }

  .home-card-grid.four,
  .home-stat-grid,
  .home-gallery-grid,
  .program-list,
  .completed-showcase,
  .impact-grid,
  .amount-options-v2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .donation-impact-panel img { height: 160px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
}
/* Bold header typography */
.site-header .brand-title-large,
.site-header .brand strong,
.site-header .brand small,
.site-header .nav-links a,
.site-header .header-contact-links a,
.site-header .donate-btn {
  font-weight: 700;
}
/* Balanced spacing across inner pages */
.about-section-with-photo,
.involvement-section-with-photo {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}
.contact-band {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (max-width: 768px) {
  .donation-page,
  .contact-band {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .about-section-with-photo,
  .involvement-section-with-photo {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
}

@media (max-width: 480px) {
  .donation-page,
  .contact-band {
    padding: 2.25rem 16px;
  }
}
/* Enhanced four-card design */
.home-card-grid.four article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 220px;
  padding: 2.25rem 1.75rem 1.9rem;
  background: linear-gradient(145deg, #ffffff 0%, #f4f6fb 100%);
  border: 1px solid rgba(0, 49, 105, .12);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(0, 25, 70, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-card-grid.four article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--card-accent, var(--color-primary));
}
.home-card-grid.four article::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 130px;
  height: 130px;
  right: -55px;
  bottom: -65px;
  border-radius: 50%;
  background: var(--card-glow, rgba(0, 49, 105, .07));
  transition: transform .25s ease;
}
.home-card-grid.four article:nth-child(2) {
  --card-accent: #e85c2b;
  --card-glow: rgba(232, 92, 43, .10);
}
.home-card-grid.four article:nth-child(3) {
  --card-accent: #0070c0;
  --card-glow: rgba(0, 112, 192, .10);
}
.home-card-grid.four article:nth-child(4) {
  --card-accent: #6a0dad;
  --card-glow: rgba(106, 13, 173, .09);
}
.home-card-grid.four article:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent, var(--color-primary));
  box-shadow: 0 20px 42px rgba(0, 25, 70, .14);
  background: linear-gradient(145deg, #ffffff 0%, #f4f6fb 100%);
}
.home-card-grid.four article:hover::after { transform: scale(1.18); }
.home-card-grid.four article > span {
  width: 56px;
  height: 56px;
  margin-bottom: 1.4rem;
  background: var(--card-accent, var(--color-primary));
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 25, 70, .14);
  font-size: 1rem;
}
.home-card-grid.four h3 {
  margin-bottom: .65rem;
  font-size: 1.22rem;
  color: var(--color-primary);
}
.home-card-grid.four p {
  position: relative;
  margin: 0;
  line-height: 1.65;
  color: var(--color-ink-soft);
}

@media (max-width: 480px) {
  .home-card-grid.four article {
    min-height: 190px;
    padding: 1.75rem 1.4rem;
  }
}
/* Responsive YouTube playlist */
.video-playlist {
  position: relative;
  overflow: hidden;
  width: min(100%, 960px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 6px solid #fff;
  border-radius: var(--radius-md);
  background: var(--color-primary-darker);
  box-shadow: 0 20px 48px rgba(0, 25, 70, .18);
}
.video-playlist iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-fallback {
  margin: 1.25rem 0 0;
  text-align: center;
}
.video-fallback a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============================================================
   MOA-derived shared sections (about.html + index.html)
   ============================================================ */
.about-mission-text { max-width: 820px; margin: 1.5rem auto 0; text-align: center; font-size: 1.08rem; line-height: 1.85; }
.about-alt-bg { background: var(--color-bg-alt); }

.mission-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-primary-light);
  border-left: 5px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 2.75rem 3rem;
  box-shadow: var(--shadow-sm);
}
.mission-card .about-mission-text { margin-top: 1.25rem; }
@media (max-width: 640px) {
  .mission-card { padding: 1.75rem 1.25rem; }
  .mission-card h2 { font-size: 1.3rem; line-height: 1.35; }
}
@media (max-width: 380px) {
  .mission-card h2 { font-size: 1.15rem; }
}

.about-activity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.about-activity-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  padding: 0 0 1.7rem;
  border: 1px solid rgba(0, 49, 105, .1);
  box-shadow: 0 12px 34px rgba(0, 25, 70, .09);
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.about-activity-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 4;
  height: 5px;
  background: linear-gradient(90deg, var(--card-accent, var(--color-primary)) 0%, var(--color-accent) 100%);
}
.about-activity-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 160px; height: 160px;
  right: -62px; bottom: -74px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-glow, rgba(0, 49, 105, .13)) 0%, rgba(255, 255, 255, 0) 68%);
  transition: transform .3s ease, opacity .3s ease;
}
.about-activity-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(0, 25, 70, .17); border-color: rgba(0, 49, 105, .28); }
.about-activity-card:hover::after { transform: scale(1.2); opacity: .9; }
.about-activity-card:nth-child(1) { --card-accent: var(--color-primary); --card-glow: rgba(0, 49, 105, .18); }
.about-activity-card:nth-child(2) { --card-accent: #e85c2b; --card-glow: rgba(232, 92, 43, .18); }
.about-activity-card:nth-child(3) { --card-accent: #1a7a4a; --card-glow: rgba(26, 122, 74, .18); }
.about-activity-card:nth-child(4) { --card-accent: #0070c0; --card-glow: rgba(0, 112, 192, .18); }
.about-activity-card:nth-child(5) { --card-accent: #5b21b6; --card-glow: rgba(106, 13, 173, .17); }
.about-activity-card:nth-child(6) { --card-accent: #c94a1e; --card-glow: rgba(232, 92, 43, .18); }
.about-activity-card:nth-child(7) { --card-accent: #be123c; --card-glow: rgba(190, 18, 60, .17); }
.about-activity-card:nth-child(8) { --card-accent: #ca8a04; --card-glow: rgba(202, 138, 4, .18); }
.about-activity-card:nth-child(9) { --card-accent: #0e7490; --card-glow: rgba(14, 116, 144, .18); }
.about-act-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9.5;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--color-primary-light);
}
.about-act-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 17, 53, .42) 0%, rgba(0, 17, 53, .08) 48%, transparent 78%),
    linear-gradient(135deg, rgba(0, 49, 105, .18), transparent 46%);
  pointer-events: none;
}
.about-act-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}
.about-activity-card:hover .about-act-photo img { transform: scale(1.07); filter: saturate(1.08) contrast(1.03); }
.about-act-icon {
  position: relative;
  z-index: 2;
  width: 62px; height: 62px;
  border-radius: 18px;
  background: var(--icon-bg, linear-gradient(135deg, var(--color-primary) 0%, #0055cc 100%));
  display: flex; align-items: center; justify-content: center;
  margin: -31px 1.45rem 1.25rem;
  border: 4px solid #fff;
  box-shadow: 0 14px 28px rgba(0, 25, 70, .2);
}
.about-activity-card:nth-child(2) .about-act-icon { background: linear-gradient(135deg, #e85c2b 0%, #ff8050 100%); box-shadow: 0 8px 20px rgba(232, 92, 43, .28); }
.about-activity-card:nth-child(3) .about-act-icon { background: linear-gradient(135deg, #1a7a4a 0%, #2dbd78 100%); box-shadow: 0 8px 20px rgba(26, 122, 74, .28); }
.about-activity-card:nth-child(4) .about-act-icon { background: linear-gradient(135deg, #0070c0 0%, #00a8e8 100%); box-shadow: 0 8px 20px rgba(0, 112, 192, .28); }
.about-activity-card:nth-child(5) .about-act-icon { background: linear-gradient(135deg, #5b21b6 0%, #8b5cf6 100%); box-shadow: 0 8px 20px rgba(91, 33, 182, .28); }
.about-activity-card:nth-child(6) .about-act-icon { background: linear-gradient(135deg, #c94a1e 0%, #f97316 100%); box-shadow: 0 8px 20px rgba(201, 74, 30, .28); }
.about-activity-card:nth-child(7) .about-act-icon { background: linear-gradient(135deg, #be123c 0%, #f43f5e 100%); box-shadow: 0 8px 20px rgba(190, 18, 60, .28); }
.about-activity-card:nth-child(8) .about-act-icon { background: linear-gradient(135deg, #ca8a04 0%, #facc15 100%); box-shadow: 0 8px 20px rgba(202, 138, 4, .28); }
.about-activity-card:nth-child(9) .about-act-icon { background: linear-gradient(135deg, #0e7490 0%, #22d3ee 100%); box-shadow: 0 8px 20px rgba(14, 116, 144, .28); }
.about-act-icon svg { position: relative; z-index: 1; width: 28px; height: 28px; fill: none; stroke: #ffffff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about-activity-card h4 {
  position: relative;
  z-index: 1;
  padding: 0 1.45rem;
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: .55rem;
  color: var(--color-primary);
}
.about-activity-card h4::after {
  content: '';
  display: block;
  width: 42px;
  height: 3px;
  margin-top: .75rem;
  border-radius: 999px;
  background: var(--card-accent, var(--color-accent));
}
.about-activity-card p {
  position: relative;
  z-index: 1;
  padding: 0 1.45rem;
  font-size: .93rem;
  margin: 0;
  line-height: 1.72;
  color: #586174;
}

.about-commit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.about-commit-card {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 2rem 2rem;
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-darker) 100%);
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(0, 25, 70, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-commit-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--cc-accent, var(--color-accent));
}
.about-commit-card::after {
  content: '';
  position: absolute;
  top: -35px; right: -35px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  transition: transform .3s ease;
}
.about-commit-card:nth-child(1) { --cc-accent: var(--color-accent); }
.about-commit-card:nth-child(2) { --cc-accent: #f5c842; }
.about-commit-card:nth-child(3) { --cc-accent: #2dbd78; }
.about-commit-card:nth-child(4) { --cc-accent: #0ea5e9; }
.about-commit-card:hover { transform: translateY(-7px); box-shadow: 0 22px 52px rgba(0, 25, 70, .38); }
.about-commit-card:hover::after { transform: scale(1.25); }
.about-commit-icon {
  position: relative; z-index: 1;
  width: 54px; height: 54px;
  border-radius: 13px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.about-commit-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about-commit-card h4 { position: relative; z-index: 1; font-size: 1.1rem; margin-bottom: .6rem; color: #fff; }
.about-commit-card p { position: relative; z-index: 1; font-size: .92rem; margin: 0; color: rgba(255,255,255,.8); line-height: 1.75; }

.about-compliance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.about-compliance-pill {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  border-radius: 14px;
  padding: 1.85rem 1.5rem 1.6rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 5px 20px rgba(0,25,70,.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.about-compliance-pill::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--cp-accent, var(--color-primary));
  border-radius: 14px 14px 0 0;
}
.about-compliance-pill::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--cp-glow, rgba(0,49,105,.05));
  transition: transform .3s ease;
}
.about-compliance-pill:nth-child(1) { --cp-accent: var(--color-primary); --cp-icon: linear-gradient(135deg,#003169,#0055cc); --cp-glow: rgba(0,49,105,.06); }
.about-compliance-pill:nth-child(2) { --cp-accent: #e85c2b; --cp-icon: linear-gradient(135deg,#e85c2b,#ff8050); --cp-glow: rgba(232,92,43,.07); }
.about-compliance-pill:nth-child(3) { --cp-accent: #2dbd78; --cp-icon: linear-gradient(135deg,#1a7a4a,#2dbd78); --cp-glow: rgba(45,189,120,.07); }
.about-compliance-pill:nth-child(4) { --cp-accent: #d4940a; --cp-icon: linear-gradient(135deg,#b07a08,#f5c842); --cp-glow: rgba(212,148,10,.07); }
.about-compliance-pill:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,25,70,.14); border-color: transparent; }
.about-compliance-pill:hover::after { transform: scale(1.3); }
.about-compliance-icon {
  position: relative; z-index: 1;
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--cp-icon, linear-gradient(135deg,var(--color-primary),#0055cc));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.15rem;
  box-shadow: 0 6px 18px rgba(0,49,105,.2);
}
.about-compliance-icon svg { width: 23px; height: 23px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.about-compliance-pill strong { position: relative; z-index: 1; display: block; font-size: .98rem; font-weight: 700; color: var(--color-primary); margin-bottom: .5rem; }
.about-compliance-pill p { position: relative; z-index: 1; font-size: .88rem; margin: 0; line-height: 1.75; }

.about-board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.about-board-card { text-align: center; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2.25rem 1.5rem; box-shadow: var(--shadow-sm); }
.about-board-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--color-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: .02em; }
.about-board-card h4 { font-size: 1rem; margin-bottom: .25rem; }
.about-board-card p { font-size: .88rem; margin: 0; }
.about-board-note { margin-top: 2rem; padding: 1.1rem 1.5rem; background: var(--color-primary-light); border-radius: var(--radius-md); text-align: center; }
.about-board-note p { font-size: .9rem; margin: 0; color: var(--color-ink); }

.about-mem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; margin: 1.5rem 0; }
.about-mem-card { position: relative; overflow: hidden; background: linear-gradient(150deg,#ffffff 0%,#f4f7fd 100%); border-radius: 14px; padding: 2rem 1.75rem 1.85rem; border: 1px solid var(--color-border); box-shadow: 0 6px 24px rgba(0,25,70,.07); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.about-mem-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--mem-accent, var(--color-primary)); }
.about-mem-card::after { content: ''; position: absolute; z-index: 0; width: 130px; height: 130px; right: -45px; bottom: -55px; border-radius: 50%; background: var(--mem-glow, rgba(0,49,105,.06)); transition: transform .3s ease; }
.about-mem-card:nth-child(1) { --mem-accent: var(--color-primary); --mem-badge-bg: var(--color-primary); --mem-icon: linear-gradient(135deg,#003169,#0055cc); --mem-glow: rgba(0,49,105,.06); }
.about-mem-card:nth-child(2) { --mem-accent: #d4940a; --mem-badge-bg: #b07a08; --mem-icon: linear-gradient(135deg,#b07a08,#f5c842); --mem-glow: rgba(212,148,10,.07); }
.about-mem-card:nth-child(3) { --mem-accent: #2dbd78; --mem-badge-bg: #1a7a4a; --mem-icon: linear-gradient(135deg,#1a7a4a,#2dbd78); --mem-glow: rgba(45,189,120,.07); }
.about-mem-card:hover { transform: translateY(-7px); box-shadow: 0 20px 48px rgba(0,25,70,.14); border-color: var(--mem-accent, var(--color-primary)); }
.about-mem-card:hover::after { transform: scale(1.3); }
.about-mem-icon { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 13px; background: var(--mem-icon, linear-gradient(135deg,var(--color-primary),#0055cc)); display: flex; align-items: center; justify-content: center; margin-bottom: 1.15rem; box-shadow: 0 6px 18px rgba(0,49,105,.2); }
.about-mem-icon svg { width: 25px; height: 25px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.about-mem-badge { position: relative; z-index: 1; display: inline-block; background: var(--mem-badge-bg, var(--color-accent)); color: #fff; border-radius: 100px; padding: .22rem .85rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.about-mem-card h4 { position: relative; z-index: 1; font-size: 1.1rem; color: var(--color-primary); margin-bottom: .6rem; }
.about-mem-card p { position: relative; z-index: 1; font-size: .9rem; margin: 0; color: var(--color-muted); line-height: 1.75; }
.about-mem-cta { margin-top: 2rem; padding: 1.5rem 2rem; background: var(--color-primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.about-mem-cta p { margin: 0; color: rgba(255,255,255,.85); font-size: .95rem; }
.about-mem-cta a { display: inline-block; background: var(--color-accent); color: #fff; padding: .65rem 1.5rem; border-radius: var(--radius-pill); font-weight: 700; font-size: .88rem; white-space: nowrap; }
.about-mem-cta a:hover { background: var(--color-accent-dark); }
@media (max-width: 640px) { .about-mem-cta { flex-direction: column; } }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal--delay-1 { transition-delay: 0.15s; }
.reveal.reveal--delay-2 { transition-delay: 0.3s; }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   YFH-style dark header with organic wave bottom edge
   ============================================================ */
.charaty-header {
  background-color: #ffffff;
  background-image: none;
  overflow: visible;
}

.charaty-header .header-top-strip {
  background: rgba(0, 0, 0, .04);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  color: rgba(0, 0, 0, .65);
}

.charaty-header .header-top-strip,
.charaty-header .header-top-inner {
  background: rgba(0, 0, 0, .04);
}

.charaty-header .header-social-links a {
  background: rgba(0, 0, 0, .06);
  color: rgba(0, 0, 0, .65);
}

.charaty-header::after {
  display: none;
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 38px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'%3E%3Cpath d='M0%2C0 L1440%2C0 L1440%2C4 L1415%2C18 L1398%2C6 L1378%2C28 L1360%2C4 L1344%2C14 L1328%2C2 L1308%2C26 L1290%2C8 L1276%2C16 L1262%2C4 L1244%2C32 L1225%2C10 L1208%2C22 L1192%2C4 L1174%2C28 L1156%2C10 L1140%2C6 L1124%2C24 L1108%2C4 L1090%2C30 L1073%2C10 L1056%2C18 L1040%2C2 L1022%2C28 L1005%2C8 L988%2C20 L970%2C4 L952%2C32 L935%2C8 L918%2C18 L902%2C2 L884%2C26 L867%2C8 L850%2C20 L833%2C4 L816%2C28 L799%2C10 L782%2C22 L765%2C2 L748%2C30 L731%2C8 L714%2C18 L698%2C4 L681%2C26 L664%2C10 L648%2C20 L631%2C2 L614%2C32 L597%2C10 L581%2C22 L564%2C4 L547%2C28 L530%2C10 L514%2C16 L498%2C2 L480%2C26 L463%2C8 L447%2C20 L430%2C4 L413%2C30 L397%2C10 L380%2C22 L364%2C2 L347%2C28 L330%2C10 L314%2C18 L297%2C4 L280%2C24 L263%2C6 L247%2C20 L230%2C2 L213%2C30 L196%2C10 L180%2C22 L163%2C4 L146%2C28 L130%2C10 L113%2C18 L97%2C2 L80%2C26 L63%2C8 L47%2C22 L30%2C4 L14%2C24 L0%2C12 Z' fill='%23070e26'%2F%3E%3C%2Fsvg%3E") no-repeat top / cover;
  filter: drop-shadow(0 2px 8px rgba(190, 150, 35, .65));
  pointer-events: none;
  z-index: 2;
}

.charaty-header .navbar {
  background: transparent;
  height: 80px;
  min-height: 80px;
}


.charaty-header .nav-links > li > a {
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: .04em;
}

.charaty-header .nav-links > li > a:hover,
.charaty-header .nav-links > li > a.active {
  color: var(--color-accent);
  background: transparent;
}

.charaty-header .brand-title-large,
.charaty-header .brand strong {
  color: var(--color-accent);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-shadow: none;
}

.charaty-header .brand small {
  color: rgba(0, 0, 0, .65);
  font-style: italic;
  font-weight: 400;
  font-size: .78rem;
  letter-spacing: .01em;
}

.charaty-header .brand-logo {
  height: 120px;
}

.charaty-header .donate-btn {
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
}

.charaty-header .donate-btn:hover {
  background: var(--color-accent-dark);
}

.charaty-header .dropdown {
  border-top: 3px solid #f5c842;
}

.charaty-header .dropdown a:hover,
.charaty-header .dropdown a.active {
  background: #f0f4ff;
  color: var(--color-primary);
}

/* hero starts flush under the header */
.charaty-header + main .charaty-hero {
  margin-top: 0;
  padding-top: 0;
}

@media (max-width: 768px) {

  .charaty-header .navbar {
    height: auto;
    min-height: 88px;
    gap: 10px;
    padding: 0 14px;
    background: #ffffff;
  }

  .charaty-header .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }

  .charaty-header .brand-logo {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
  }

  .charaty-header .brand span {
    min-width: 0;
  }

  .charaty-header .brand-title-large,
  .charaty-header .brand strong {
    font-size: clamp(.95rem, 4vw, 1.08rem);
    line-height: 1.08;
    white-space: normal;
  }

  .charaty-header .brand small {
    font-size: clamp(.68rem, 3.2vw, .78rem);
    line-height: 1.2;
  }

  .charaty-header .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    margin-left: auto;
    background: #f0f4ff;
    border: 1px solid #d9e4f2;
  }

  .charaty-header .nav-toggle span {
    background: var(--color-primary);
    margin: 3px auto;
  }

  .charaty-header .nav-links {
    top: calc(100% + 1px);
    background: #ffffff;
    border-top: 1px solid #d9e4f2;
    box-shadow: 0 18px 36px rgba(0, 25, 70, .16);
    z-index: 120;
  }

  .charaty-header .nav-links > li > a {
    color: var(--color-primary);
    border-bottom: 1px solid #eef3fa;
  }

  .charaty-header .dropdown {
    background: rgba(0, 0, 0, .04);
    border-top: 0;
  }

  .charaty-header .dropdown a {
    color: var(--color-primary);
  }
}

@media (max-width: 390px) {
  .charaty-header .navbar {
    padding: 0 10px;
  }

  .charaty-header .brand-logo {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .charaty-header .brand-title-large,
  .charaty-header .brand strong {
    font-size: .9rem;
  }

  .charaty-header .brand small {
    font-size: .64rem;
  }
}
