/* ============================================================
   MEDIAfrica — editorial identity
   Ink navy + deep sky blue accent + savanna green, on warm stone paper.
   Single system font (Avenir/Helvetica/Arial) — no external fonts, no gradients.
   ============================================================ */

:root {
  --ink: #16233F;
  --ink-2: #0F1A30;
  --paper: #F4F0E6;
  --paper-raised: #FFFDF7;
  --text: #262A24;
  --muted: #6B6656;
  --accent: #D66A4A;
  --accent-light: #F4B59D;
  --accent-deep: #A84732;
  --green: #1F6F54;
  --rule: #DAD2C1;
  --gold: #D9A441;

  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: 'Trebuchet MS', 'Gill Sans', sans-serif;
  --font-mono: 'Trebuchet MS', 'Gill Sans', sans-serif;

  --max-width: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(22,35,63,0.055) 0.7px, transparent 0.7px);
  background-size: 14px 14px;
  line-height: 1.65;
  font-size: 19px;
}

a { color: inherit; }

/* ---------- Header ---------- */

header.site-header {
  background: var(--ink);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.45rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-logo-link {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}

.site-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: none;
  margin: 0;
  display: block;
}

.header-text { min-width: 0; }

a.site-title {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--paper);
}

a.site-title .accent { color: var(--accent-light); }

p.site-tagline {
  margin: 0.15rem 0 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  width: 100%;
  max-width: 640px;
  line-height: 1.5;
  color: #A9B3C8;
}

nav.site-nav {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.25rem 1.5rem 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

@media (min-width: 721px) {
  header.site-header { min-height: 62px; }

  nav.site-nav {
    position: absolute;
    top: 50%;
    right: max(1.5rem, calc((100% - 1040px) / 2));
    transform: translateY(-50%);
    padding: 0;
    justify-content: flex-end;
  }

  nav.site-nav a { line-height: 1.4; }
}

nav.site-nav a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #C9D0DE;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

nav.site-nav a:hover,
nav.site-nav a:focus-visible {
  color: var(--accent-light);
  border-color: var(--accent-light);
}

nav.site-nav a.active {
  color: var(--accent-light);
  border-color: var(--accent-light);
}

.mobile-nav { display: none; }

/* ---------- Hero (homepage only) ---------- */

section.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 5.5rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
}

section.hero::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -6rem;
  bottom: -9rem;
  border: 1px solid rgba(244,181,157,0.45);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5rem rgba(244,181,157,0.08), 0 0 0 3rem rgba(244,181,157,0.05);
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

section.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.6vw, 2.7rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1.1rem;
}

section.hero p.hero-sub {
  font-size: 1.25rem;
  color: #CBD3E1;
  max-width: 46ch;
  margin: 0 0 2rem;
}

/* ---------- Main content typography ---------- */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

main > h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 2.5rem);
  color: var(--ink);
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

main h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ink);
  margin: 0 0 1.1rem;
  letter-spacing: -0.01em;
}

main h3.section-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--green);
  margin: 2.25rem 0 1rem;
}

main h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 1.75rem 0 0.5rem;
}

main p {
  margin: 0 0 1.15rem;
  color: var(--text);
}

main p b, main p strong {
  color: var(--ink);
}

main ul, main ol {
  margin: 0 0 1.15rem;
  padding-left: 1.3rem;
}

main li { margin-bottom: 0.4rem; }

main p a, main li a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(31,111,84,0.35);
  text-underline-offset: 2px;
}

main p a:hover, main li a:hover {
  text-decoration-color: var(--green);
}

main blockquote {
  margin: 1.75rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}

main img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(22,35,63,0.16);
  margin: 0.5rem 0 1.5rem;
}

main iframe {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(22,35,63,0.12);
  margin: 0.5rem 0 1.5rem;
}

/* CTA buttons — direct <a> children of main/hero/about-text act as buttons */
main > a,
.hero-inner > a,
.about-text > a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 3px;
  margin: 0 0.6rem 1.75rem 0;
  background: var(--accent);
  color: var(--paper);
  transition: background 0.15s ease, transform 0.15s ease;
}

main > a:hover,
.hero-inner > a:hover,
.about-text > a:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

/* ---------- CTA card grid (Volunteer/Donate/Enroll, Call/Email/Address) ---------- */

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

.cta-grid a {
  display: block;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.25rem 1.4rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cta-grid a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cta-grid h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 0.3rem;
}

.cta-grid p {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Feature grid (numbered cards: programs, focus areas, etc.) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 1.5rem 0 2.25rem;
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  background: transparent;
}

.feature-card:last-child { border-bottom: 1px solid var(--rule); }

.feature-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.feature-card p {
  font-size: 1.02rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.feature-card a {
  align-self: flex-start;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(31,111,84,0.4);
}

.feature-card a:hover { border-color: var(--green); }

/* ---------- Icon grid (values, principles — no button) ---------- */

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2.25rem;
}

.icon-grid .icon-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.4rem;
  padding: 0;
}

.icon-grid .icon-item p {
  font-size: 1.02rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- People grid (team, advisory board) ---------- */

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.75rem;
  margin: 1.5rem 0 2.25rem;
}

.people-card img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
  margin: 0 0 0.9rem;
  border: 3px solid var(--paper-raised);
  outline: 1px solid var(--rule);
}

.people-card img.portrait-placeholder {
  padding: 0.65rem;
  object-fit: contain;
  background: var(--ink);
  border-color: var(--ink);
}

.people-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0 0 0.3rem;
}

.people-card p {
  font-size: 0.98rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ---------- About split (text + image, two columns) ---------- */

.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  margin: 0.5rem 0 3rem;
}

.about-split img {
  margin: 0;
  width: 100%;
}

.about-split .about-text h2 { margin-top: 0; }

.page-feature-image {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  margin: 0.5rem 0 2rem;
}

.page-intro {
  max-width: 54ch;
  margin: 0 0 2.25rem;
  color: #34392f;
  font-size: 1.15rem;
}

.digital-page > p:not(.page-intro),
.digital-page > ul { display: none; }

.digital-summary {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: start;
  margin: 1rem 0 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.digital-summary h2 { margin-top: 0; }
.digital-summary .editorial-list { margin-top: 0; }

.program-index {
  margin: 1.5rem 0 3.5rem;
  border-top: 1px solid var(--rule);
}

.program-index a {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}

.program-index a:hover strong { color: var(--accent-deep); }
.program-index strong { display: block; font-family: var(--font-display); font-size: 1.45rem; }
.program-index small { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.95rem; }
.program-index b { color: var(--ink); font-size: 1.4rem; font-weight: 400; }

.program-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2rem 0 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.program-feature h2 { margin-top: 0; }
.program-feature p { color: var(--muted); }
.program-feature img { width: 100%; max-height: 260px; object-fit: cover; margin: 0; }

.editorial-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.editorial-list li,
.editorial-list > a,
.editorial-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}

.editorial-list li:last-child,
.editorial-list > a:last-child,
.editorial-list > div:last-child { border-bottom: 1px solid var(--rule); }

.editorial-list strong { color: var(--ink); }
.editorial-list span { color: var(--muted); text-align: right; }
.editorial-list > a:hover strong { color: var(--accent-deep); }

.about-values,
.about-areas {
  margin: 4rem 0;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.about-values {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.about-values h2 { margin: 0; }
.about-values .editorial-list { margin-top: 0; }
.about-areas h2 { margin-bottom: 1rem; }

.article-lead {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  margin: 1rem 0 4rem;
}

.article-lead h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.article-lead p:not(.eyebrow) { color: var(--muted); font-size: 1.15rem; }
.article-lead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; }

.article-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.article-grid p { color: #34392f; }
.article-grid > div:last-child p:last-child { margin-bottom: 0; }

.article-points { margin: 4rem 0; }
.article-points .editorial-list { max-width: 680px; }

.article-callout {
  padding: 3rem;
  margin: 4rem 0 1rem;
  background: var(--ink);
  color: var(--paper);
}

.article-callout h2 { color: var(--paper); margin-top: 0; }
.article-callout p { color: #D5D9E1; max-width: 55ch; }
.article-callout a { color: var(--accent-light); font-weight: 700; }

@media (max-width: 720px) {
  .about-split { grid-template-columns: 1fr; }
  .about-values,
  .article-lead,
  .article-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .editorial-list li,
  .editorial-list > a,
  .editorial-list > div { display: block; }
  .editorial-list span { display: block; margin-top: 0.25rem; text-align: left; }
  .article-callout { padding: 2rem 1.5rem; }
  .cta-list { grid-template-columns: 1fr; }
  .program-feature { grid-template-columns: 1fr; gap: 1rem; }
  .program-index a { gap: 1rem; }
  .digital-summary { grid-template-columns: 1fr; gap: 1rem; }
  .homepage-hero { min-height: 500px; align-items: flex-start; padding: 4.5rem 1.25rem 3rem; }
  .coming-soon { grid-template-columns: 1fr; }
  .coming-soon img { height: 180px; }
}

@media (min-width: 721px) and (max-width: 900px) {
  .homepage-hero {
    min-height: 400px;
    align-items: flex-start;
    padding-top: 3.5rem;
  }
}

/* ---------- Get Involved band (shared component, once per page) ---------- */

.get-involved {
  background: var(--paper-raised);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 3.25rem 1.5rem;
  margin-top: 1rem;
}

.get-involved-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.get-involved h2 { margin-bottom: 0.6rem; }

.get-involved > .get-involved-inner > p {
  color: var(--muted);
  max-width: 55ch;
  margin: 0 0 1.75rem;
}

.cta-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 2rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.cta-list li { border-top: 1px solid var(--rule); padding-top: 0.75rem; }
.cta-list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.cta-list a:hover { color: var(--accent-deep); }

/* ---------- Social row ---------- */

.social-row {
  display: flex;
  gap: 0.75rem;
  margin: 0.75rem 0 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}

.social-link svg { width: 17px; height: 17px; fill: currentColor; }

.social-link:hover {
  background: var(--ink);
  color: var(--accent-light);
}

/* ---------- FAQ (native accordion, no JS required) ---------- */

.faq-list {
  margin: 1rem 0 2rem;
}

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

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1.1em;
  color: var(--accent);
  font-weight: 700;
}

.faq-item[open] summary::before { content: "\2212"; }

.faq-item p {
  margin: 0.75rem 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--ink);
  color: #C9D0DE;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2rem;
}

.footer-inner h5 {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: none;
  margin: 0 0 0.75rem;
}

.footer-inner p {
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
  color: #A9B3C8;
}

.footer-inner a {
  color: var(--accent-light);
  text-decoration: none;
}

.footer-bottom {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1rem 1.5rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #7C88A3;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .header-inner { padding: 0.7rem 1.25rem 0.35rem; }
  .site-logo { width: 52px; height: 52px; }
  nav.site-nav { gap: 0.3rem 0.9rem; }
  nav.site-nav { display: none; }
  .mobile-nav {
    display: block;
    position: absolute;
    top: 0.8rem;
    right: 1.25rem;
    color: var(--paper);
  }
  .mobile-nav summary {
    cursor: pointer;
    list-style: none;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(244,240,230,0.45);
    font-weight: 700;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav-links {
    position: absolute;
    right: 0;
    width: 11rem;
    padding: 0.5rem 0.75rem;
    background: var(--ink);
    border: 1px solid rgba(244,240,230,0.2);
  }
  .mobile-nav-links a {
    display: block;
    padding: 0.55rem 0;
    color: var(--paper);
    text-decoration: none;
    border-bottom: 1px solid rgba(244,240,230,0.12);
  }
  .mobile-nav-links a:last-child { border-bottom: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  section.hero { padding: 3.25rem 1.25rem 3.5rem; }
}

/* ---------- Editorial polish ---------- */

section.hero p.hero-sub { max-width: 52ch; }

.cta-grid a {
  box-shadow: 0 5px 0 rgba(22,35,63,0.045);
}

.cta-grid a:hover {
  box-shadow: 0 9px 18px rgba(22,35,63,0.1);
}

.about-split img,
main > img {
  width: 100%;
  max-height: 360px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Homepage editorial layout ---------- */

.homepage-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

.homepage-main > section:not(.homepage-hero) {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.homepage-hero {
  min-height: min(420px, calc(100vh - 62px));
  display: flex;
  align-items: flex-start;
  padding: 3.5rem max(1.5rem, calc((100% - 1040px) / 2));
  isolation: isolate;
}

.homepage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,26,48,0.94) 0%, rgba(15,26,48,0.64) 48%, rgba(15,26,48,0.08) 100%);
  z-index: -1;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.homepage-hero::after { z-index: -1; }

.homepage-hero .hero-inner {
  max-width: 700px;
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.homepage-hero .eyebrow { color: var(--accent-light); }

.homepage-hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.homepage-hero p.hero-sub {
  max-width: 48ch;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 0.5rem;
}

.hero-actions a { margin-bottom: 0; }

.hero-actions a:first-child {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: var(--accent);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-actions a:first-child:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.hero-actions .hero-link {
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

.hero-link span,
.text-link span { color: var(--accent); }

.homepage-intro,
.field-note,
.homepage-values {
  padding-top: 2rem;
  padding-bottom: 5.5rem;
}

.homepage-intro {
  max-width: none !important;
  padding-left: max(1.5rem, calc((100% - 1040px) / 2)) !important;
  padding-right: max(1.5rem, calc((100% - 1040px) / 2)) !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  background: var(--paper-raised);
}

.homepage-intro h2,
.section-heading h2,
.field-note-copy h2,
.homepage-cta h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.02;
}

.homepage-intro > div:last-child { padding-top: 6.6rem; }

.intro-image {
  display: block;
  width: 92%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 1.25rem 0 0;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(22,35,63,0.12);
}

.homepage-intro > div:last-child p,
.field-note-copy > p:not(.eyebrow),
.homepage-cta > .get-involved-inner > p:not(.eyebrow) {
  max-width: 42ch;
  color: #34392f;
  font-size: 1.2rem;
}

.homepage-intro .eyebrow { color: var(--accent-deep); }

.text-link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.2rem;
}

.homepage-programs {
  max-width: none !important;
  background: var(--ink);
  color: var(--paper);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.homepage-programs .section-heading,
.homepage-programs .program-list {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-heading h2 { color: var(--paper); }
.section-heading .text-link { color: var(--paper); }
.homepage-programs .section-heading h2 { max-width: none; font-size: clamp(2rem, 3.4vw, 3.2rem); }
.homepage-programs .section-heading-copy { max-width: 52ch; margin: 0.75rem 0 0; color: #CBD3E1; font-size: 1rem; }

.program-item {
  display: grid;
  grid-template-columns: 1fr 30px;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(244,240,230,0.2);
  color: var(--paper);
  text-decoration: none;
  transition: padding 0.2s ease, border-color 0.2s ease;
}

.program-item:last-child { border-bottom: 1px solid rgba(244,240,230,0.2); }
.program-item:hover { padding-left: 0.75rem; border-color: var(--accent-light); }

.program-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.program-item { display: block; position: relative; padding: 1rem 2rem 1rem 0; border-bottom: 0; }
.program-item img { width: 88px; height: 88px; aspect-ratio: 1; object-fit: cover; object-position: center 28%; margin: 0 0 0.75rem; border-radius: 5px; box-shadow: none; }
.program-item:nth-child(1) img { object-position: 50% 38%; }
.program-item:nth-child(2) img { object-position: 52% 32%; }
.program-item:nth-child(3) img { object-position: 50% 42%; }
.program-item h3 { font-size: 1.45rem; }
.program-item p { font-size: 0.95rem; }
.program-arrow { position: absolute; top: 1rem; right: 0; }

.program-number {
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.program-item h3 {
  margin: 0 0 0.35rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.program-item p { max-width: 55ch; margin: 0; color: #C9D0DE; }
.program-arrow { font-size: 1.5rem; color: var(--paper); opacity: 0.65; }

.impact-strip {
  max-width: none !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: var(--accent);
}

.focus-label { grid-column: 1 / -1; margin: 0; padding: 1.25rem max(1.5rem, calc((100% - 1040px) / 2)) 0; color: var(--ink); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.impact-strip > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  column-gap: 0.9rem;
  align-items: center;
  padding: 1rem max(1.5rem, calc((100% - 1040px) / 2)) 1.5rem;
  border-right: 1px solid rgba(22,35,63,0.18);
}

.impact-strip > div + div { padding-left: 2rem; }
.impact-strip > div:last-child { border-right: 0; }
.impact-strip strong { color: var(--ink); font-family: var(--font-display); font-size: 1.45rem; }
.impact-strip span { color: #3a3b2d; font-size: 0.92rem; }
.impact-strip img { grid-row: span 2; width: 88px; height: 88px; aspect-ratio: 1; object-fit: cover; object-position: center 28%; margin: 0; border-radius: 5px; box-shadow: none; }
.impact-strip > div:nth-of-type(1) img { object-position: 50% 38%; }
.impact-strip > div:nth-of-type(2) img { object-position: 52% 32%; }
.impact-strip > div:nth-of-type(3) img { object-position: 50% 42%; }

.impact-strip {
  display: block;
  padding: 3.5rem max(1.5rem, calc((100% - 1040px) / 2)) !important;
  background: var(--accent);
  color: var(--ink);
}

.impact-strip > .focus-intro {
  display: block !important;
  max-width: 680px;
  padding: 0 0 2rem !important;
  border: 0 !important;
}

.impact-strip .focus-label {
  padding: 0 !important;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.impact-strip .focus-intro h2 {
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.impact-strip .focus-intro > p:last-child {
  margin: 0;
  color: #3a3b2d;
  font-size: 1rem;
}

.impact-strip > .focus-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 !important;
  border: 0 !important;
  background: transparent;
}

.focus-card {
  display: flex !important;
  flex-direction: column;
  min-height: 0;
  padding: 1rem 1rem 0 0 !important;
  border-top: 1px solid rgba(22,35,63,0.35);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}

.focus-index { color: var(--accent-deep); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; }
.focus-card strong { margin-top: 1rem; font-family: var(--font-display); font-size: 1.65rem; line-height: 1; }
.focus-card > span:not(.focus-index):not(.focus-card-link) { margin-top: 0.65rem; color: #3a3b2d; font-size: 0.95rem; }
.focus-card-link { margin-top: 1rem; color: var(--ink); font-size: 0.88rem; font-weight: 700; }

.field-note {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
}

.field-note-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0 0 0.75rem;
}

.field-note-image p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.field-note-copy h2 { margin-bottom: 1.3rem; }
.field-note-copy .text-link { margin-top: 0.75rem; }

.coming-soon {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
  margin: 1rem 0 3.5rem;
  padding: 1.25rem;
  background: var(--ink);
  color: var(--paper);
}

.coming-soon img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin: 0;
  border-radius: 4px;
  box-shadow: none;
}

.coming-soon-label {
  margin: 0 0 0.75rem;
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coming-soon h3 { margin: 0 0 0.75rem; color: var(--paper); font-family: var(--font-display); font-size: 2rem; line-height: 1.05; }
.coming-soon p:not(.coming-soon-label) { color: #D5D9E1; }
.coming-soon a { color: var(--accent-light); font-weight: 700; }

.homepage-values {
  max-width: none !important;
  background: var(--accent);
  color: var(--ink);
}

.homepage-values .eyebrow { color: var(--ink); }

.value-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.2;
}

.homepage-cta {
  max-width: none !important;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.homepage-cta .get-involved-inner { max-width: 1040px; }
.homepage-cta h2 { max-width: none; margin-bottom: 0.5rem; }
.homepage-cta .cta-grid { max-width: 700px; margin-top: 1rem; }
.homepage-cta .cta-grid h3 span { color: var(--accent); }

@media (max-width: 720px) {
  .homepage-hero { min-height: 380px; padding: 3rem 1.25rem; }
  .homepage-hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .homepage-intro,
  .field-note { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; padding-bottom: 4rem; }
  .homepage-intro > div:last-child { padding-top: 0; }
  .impact-strip { padding: 3rem 1.25rem !important; }
  .impact-strip > .focus-grid { grid-template-columns: 1fr; gap: 0; }
  .impact-strip .focus-card { padding: 1rem 0 !important; }
  .homepage-programs { padding-top: 3rem; padding-bottom: 3rem; }
  .section-heading { display: block; margin-bottom: 2rem; }
  .section-heading .text-link { margin-top: 1.5rem; }
  .program-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .program-item { display: block; padding-right: 0.6rem; }
  .program-item img { width: 64px; height: 64px; margin-bottom: 0.5rem; }
  .program-item h3 { font-size: 1.4rem; }
  .homepage-values { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .value-line { display: grid; gap: 0.8rem; }
  .homepage-cta { padding-top: 4.5rem; padding-bottom: 4.5rem; }
}

/* ---------- Accessibility ---------- */

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (min-width: 600px) and (max-width: 720px) {
  .impact-strip { grid-template-columns: repeat(3, 1fr); }
  .impact-strip > div,
  .impact-strip > div + div { display: block; padding: 1rem 0.6rem 1.25rem; border-right: 1px solid rgba(22,35,63,0.18); border-bottom: 0; }
  .impact-strip img { width: 72px; height: 72px; margin: 0 auto 0.6rem; }
  .impact-strip strong,
  .impact-strip span { display: block; text-align: center; }
  .impact-strip strong { font-size: 1.1rem; }
  .impact-strip span { font-size: 0.78rem; }
  .program-list { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .program-item { display: block; padding-right: 1rem; }
  .program-item img { width: 72px; height: 72px; }
  .program-item h3 { font-size: 1.15rem; }
  .program-item p { font-size: 0.82rem; }
}
