/* NAP Namibia – Main Stylesheet
   Loaded via functions.php; theme metadata lives in style.css */

/* ── Custom properties ─────────────────────────────────────── */
:root {
  --teal: #176a5e;
  --dark: #0c484d;
  --aqua: #179ea3;
  --forest: #006837;
  --mint: #dae9e6;
  --pale: #eaf3f1;
  --ink: #0c484d;
  --muted: #5b8082;
  --line: #c4d8d4;
}

/* ── Reset & base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { margin: 0; color: var(--ink); font-family: Inter, Arial, sans-serif; }
a     { color: inherit; text-decoration: none; }
img   { display: block; max-width: 100%; }

.wrap    { width: min(1140px, calc(100% - 48px)); margin: auto; }
.section { padding: 60px 0; }

.eyebrow       { margin: 0 0 12px; color: var(--aqua); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.eyebrow.light { color: var(--mint); }
.sr-only       { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Site header ──────────────────────────────────────────── */
.site-header {
  height: 86px;
  padding: 0 max(24px, calc((100% - 1140px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: relative;
  z-index: 20;
}

/* CSS-drawn brand mark (shown when no custom logo is set) */
.brand       { display: flex; align-items: center; gap: 12px; }
.brand-mark  {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(from 210deg, #0c776e, #69b49d, #e8c559, #0c776e);
  position: relative;
  box-shadow: inset 0 0 0 3px #fff;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 9px;
  border: 2px solid #fff; border-radius: 50%;
}
.brand-mark i    { width: 19px; height: 2px; background: #fff; transform: rotate(-22deg); z-index: 1; }
.brand b,
.brand small     { display: block; text-transform: uppercase; }
.brand b         { font-size: 10px; letter-spacing: .12em; }
.brand small     { font-size: 9px; margin-top: 2px; letter-spacing: .18em; }

/* WordPress custom-logo sits inside an <a> – keep it aligned */
.custom-logo-link        { display: flex; align-items: center; }
.custom-logo-link img    { max-height: 52px; width: auto; }
footer .custom-logo-link img,
footer .footer-logo-link img {
  display: block;
  width: auto;
  max-width: min(100%, 290px);
  max-height: 68px;
  opacity: 1;
  background: transparent;
}

/* Primary nav */
nav             { display: flex; gap: 6px; }
nav a           { font-size: 13px; font-weight: 700; padding: 10px 12px; border-radius: 6px; }
nav a:hover,
nav a.active    { background: var(--pale); }

.menu-toggle    { display: none; border: 0; background: none; cursor: pointer; padding: 0; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px; }

/* ── Hero carousel ─────────────────────────────────────────── */
.hero        { height: 650px; position: relative; overflow: hidden; background: #183e39; }
.hero-slide  {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  background-image: linear-gradient(90deg, rgba(3,26,24,.8), rgba(3,26,24,.18)), var(--image);
  background-size: cover; background-position: center;
  transition: opacity .8s, visibility .8s;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-content {
  height: 650px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  color: #fff;
}
.hero h1 {
  max-width: 760px; margin: 10px 0 20px;
  font-size: clamp(44px, 5.8vw, 78px);
  line-height: 1; letter-spacing: -.045em;
}
.hero-content > p:not(.eyebrow) { max-width: 610px; font-size: 19px; line-height: 1.55; }

.button       { display: inline-flex; padding: 14px 21px; border: 0; border-radius: 4px; background: var(--dark); color: #fff; font-weight: 800; cursor: pointer; }
.light-button { background: #fff; color: var(--dark); }

.slider-arrow {
  position: absolute; z-index: 5; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  color: #fff; background: rgba(255,255,255,.25); font-size: 34px; cursor: pointer;
}
.previous { left: 28px; }
.next     { right: 28px; }

.slider-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 9px;
}
.slider-dots button {
  width: 10px; height: 10px; border: 1px solid #fff;
  border-radius: 50%; background: none; padding: 0; cursor: pointer;
}
.slider-dots .active { background: #fff; }

/* ── Journey ───────────────────────────────────────────────── */
.journey      { background: var(--teal); color: #fff; }
.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  align-items: stretch;
  padding: 56px 0;
}
.journey-copy {
  padding: 0 66px 0 0;
  display: flex; flex-direction: column; justify-content: center;
}
.journey h2 {
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 500; line-height: 1.05; margin: 0 0 20px;
}
.journey-copy > p:not(.eyebrow) { line-height: 1.7; color: #e5f3ef; }
.journey-image {
  min-height: 0;
  margin: 0;
  border-radius: 24px;
  background-size: cover; background-position: center;
  box-shadow: 0 20px 50px rgba(12,72,77,.22);
}
.button-row { display: flex; gap: 12px; margin-top: 22px; }
.outline    { background: none; border: 1px solid rgba(255,255,255,.67); }

/* ── Mission ───────────────────────────────────────────────── */
.mission {
  padding: 92px 0 104px;
  position: relative;
  overflow: visible;
  background: #fff;
}
.large-title,
.section-intro h2,
.title-row h2 {
  font-size: clamp(31px, 3.35vw, 46px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0;
}
.mission-story {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  min-height: 450px;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 70px rgba(12,72,77,.12);
}
.mission-copy {
  padding: 64px 66px 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mission-copy .large-title { max-width: 650px; }
.mission-copy .lead {
  max-width: 680px;
  margin: 28px 0 0;
  padding-left: 24px;
  border-left: 3px solid var(--aqua);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.mission-visual {
  min-height: 450px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image:
    linear-gradient(180deg, rgba(3,45,41,.06), rgba(3,45,41,.36)),
    var(--mission-image);
  background-position: center;
  background-size: cover;
}
.mission-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5,63,58,.28), transparent 55%);
}
.mission-visual::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -72px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(23,158,163,.72);
  mix-blend-mode: multiply;
}
.mission-visual-ring {
  position: absolute;
  right: 58px;
  bottom: 54px;
  z-index: 1;
  width: 92px;
  height: 92px;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(255,255,255,.11);
}
.mission-visual-ring::before,
.mission-visual-ring::after {
  content: "";
  position: absolute;
  background: #fff;
}
.mission-visual-ring::before { width: 32px; height: 2px; left: 29px; top: 44px; }
.mission-visual-ring::after  { width: 2px; height: 32px; left: 44px; top: 29px; }

.outcomes-shell {
  position: relative;
  z-index: 2;
  margin: 28px 0 0;
  padding: 58px 54px 54px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 94% 5%, rgba(23,158,163,.22), transparent 25%),
    linear-gradient(135deg, #0c484d 0%, #176a5e 100%);
  box-shadow: 0 24px 56px rgba(12,72,77,.16);
}
.outcomes-shell::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  top: -156px;
  right: -86px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.03), 0 0 0 68px rgba(255,255,255,.02);
}
.section-intro {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: center;
  margin-bottom: 48px;
}
.section-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.mission-outcome-intro {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr .9fr;
  gap: 70px;
  margin-bottom: 42px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.mission-outcome-intro h2 { max-width: 520px; color: #fff; }
.mission-outcome-intro > p { color: rgba(255,255,255,.76); }

.outcome-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.outcome-grid article {
  min-height: 218px;
  padding: 24px 22px 26px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(6px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.outcome-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.26);
  background: rgba(255,255,255,.12);
}
.outcome-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 38px;
}
.outcome-card-top small {
  color: #70c8c9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}
.outcome-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #dceee8;
  background: rgba(255,255,255,.1);
  font-size: 25px;
}
.nap-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.outcome-icon img,
.sector-icon img { width: 58%; height: 58%; object-fit: contain; }
.outcome-grid h3 {
  max-width: 210px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.42;
}

/* ── Sectors ───────────────────────────────────────────────── */
.sectors {
  padding: 96px 0 108px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: var(--dark);
  background-image:
    linear-gradient(110deg, rgba(12,72,77,.94) 0%, rgba(23,106,94,.82) 48%, rgba(12,72,77,.7) 100%),
    var(--sectors-image);
  background-attachment: fixed, fixed;
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover;
}
.sectors::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 35%),
    radial-gradient(circle at 92% 8%, rgba(218,186,91,.2), transparent 24%);
}
.sectors .wrap { position: relative; z-index: 1; }
.sectors .section-intro { margin-bottom: 52px; }
.sectors .section-intro h2 { color: #fff; font-size: clamp(38px, 4vw, 54px); }
.sectors .section-intro > p { color: rgba(255,255,255,.78); }
.sectors .eyebrow { color: #71d1d3; }
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sector-grid a {
  --sector-accent: #179ea3;
  --sector-tint: #e1f2f2;
  min-height: 142px;
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr 38px;
  gap: 18px;
  align-items: center;
  padding: 26px 24px;
  overflow: hidden;
  border: 1px solid rgba(18,79,73,.09);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 35px rgba(2,28,26,.2);
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sector-grid a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--sector-accent);
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .25s ease;
}
.sector-grid a:hover {
  transform: translateY(-5px);
  border-color: var(--sector-accent);
  box-shadow: 0 18px 42px rgba(22,67,62,.13);
}
.sector-grid a:hover::after { transform: scaleX(1); }
.sector-grid a:nth-child(2) { --sector-accent: #006837; --sector-tint: #e1eee5; }
.sector-grid a:nth-child(3) { --sector-accent: #176a5e; --sector-tint: #e1edeb; }
.sector-grid a:nth-child(4) { --sector-accent: #179ea3; --sector-tint: #e0f3f3; }
.sector-grid a:nth-child(5) { --sector-accent: #268573; --sector-tint: #e5f0ed; }
.sector-grid a:nth-child(6) { --sector-accent: #0c484d; --sector-tint: #dfe9e8; }
.sector-grid a:nth-child(7) { --sector-accent: #45988f; --sector-tint: #e2f0ee; }
.sector-grid a:nth-child(8) { --sector-accent: #5b8082; --sector-tint: #e6ecec; }
.sector-grid a:nth-child(9) { --sector-accent: #179ea3; --sector-tint: #e1f2f2; }
.sector-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--sector-accent);
  background: var(--sector-tint);
  font-size: 27px;
}
.sector-icon .nap-icon { width: 29px; height: 29px; }
.sector-copy { display: flex; flex-direction: column; gap: 8px; }
.sector-copy small {
  color: var(--sector-accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
}
.sector-copy b { font-size: 15px; line-height: 1.35; }
.sector-grid i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--sector-accent);
  background: var(--sector-tint);
  font-size: 16px;
  font-style: normal;
  transition: transform .25s ease;
}
.sector-grid a:hover i { transform: translate(2px, -2px); }
.resources { background: var(--pale); }

/* ── Lightweight scroll reveals ───────────────────────────── */
.scroll-reveal-ready [data-scroll-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .55s ease, transform .65s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.scroll-reveal-ready [data-scroll-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* ── Updates ───────────────────────────────────────────────── */
.title-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 38px; }
.text-link { font-weight: 800; border-bottom: 1px solid #a9bcb8; padding-bottom: 7px; }
.updates-grid  { display: grid; grid-template-columns: 1.38fr .82fr; gap: 28px; }
.featured      { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--pale); min-height: 470px; }
.featured img  { width: 100%; height: 100%; object-fit: cover; }
.featured > div { padding: 42px 34px; align-self: center; }
.featured h3   { font-size: 29px; line-height: 1.12; }
.featured > div > p:not(.tag) { color: var(--muted); line-height: 1.65; }
.featured h3 a, .update-list h3 a { color: inherit; }
.featured h3 a:hover, .update-list h3 a:hover { color: var(--teal); }

.tag { color: #158177; text-transform: uppercase; letter-spacing: .11em; font-size: 10px; font-weight: 850; }

.update-list         { display: flex; flex-direction: column; gap: 16px; }
.update-list article {
  min-height: 146px;
  display: grid; grid-template-columns: 145px 1fr;
  gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 16px;
}
.update-list img { width: 145px; height: 130px; object-fit: cover; }
.update-list h3  { font-size: 18px; margin: 7px 0 16px; }

/* ── Resources ─────────────────────────────────────────────── */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-grid article {
  display: flex; flex-direction: column; min-width: 0; min-height: 430px;
  overflow: hidden; border: 1px solid rgba(11,79,73,.12); border-radius: 18px;
  background: #fff; box-shadow: 0 12px 34px rgba(13,64,59,.07);
}
.resource-art {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  overflow: hidden; background: #e9f0ed;
}
.resource-art img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.resource-body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.resource-grid h3 { margin: 0 0 14px; font-size: 23px; }
.resource-grid p  { color: var(--muted); line-height: 1.55; }
.resource-download {
  display: flex; justify-content: space-between;
  margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px;
  color: var(--teal); font-size: 13px; font-weight: 750;
}
.resource-download--unavailable { color: #81928e; }

/* ── Newsletter ────────────────────────────────────────────── */
.newsletter {
  background: linear-gradient(120deg, var(--teal), #138e7e);
  color: #fff; padding: 48px 0;
}
.newsletter-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.newsletter h2 { font-size: clamp(33px, 4vw, 50px); margin: 0; }
.newsletter form {
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
}
.newsletter input {
  min-height: 50px; padding: 0 18px; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.62); border-radius: 4px;
}
.newsletter input::placeholder { color: #d7ece7; }

/* ── Footer ────────────────────────────────────────────────── */
footer { background: var(--dark); color: #fff; padding: 72px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 1.45fr .8fr .85fr 1fr; gap: 60px;
}
.footer-grid > div > a:not(.brand):not(.custom-logo-link),
.footer-grid > div > p {
  display: block; color: #bdd1cd; font-size: 14px; margin: 0 0 13px;
}
.footer-grid h3  { font-size: 15px; margin: 0 0 21px; }
.light-brand     { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.socials   { display: flex; gap: 9px; }
.socials a {
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%; display: grid !important; place-items: center;
}
.footer-brand-lockup {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px !important;
  color: #fff !important;
  background: transparent;
}
.footer-brand-emblem {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 50%;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 108%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18);
}
.footer-brand-copy {
  display: grid;
  gap: 1px;
  color: #dbe9e6;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.partners {
  display: grid;
  grid-template-columns: 56px 56px 92px;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.partners span {
  display: grid; place-items: center; width: 100%; height: 56px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 8px;
  background: transparent; color: #fff; font-weight: 800;
}
.partner-link {
  display: grid !important; place-items: center;
  width: 100%; height: 60px; padding: 2px 0;
  margin: 0 !important;
  background: transparent !important;
}
.partner-link span { color: #fff; font-weight: 800; font-size: 13px; }
.partner-link img {
  display: block; width: auto; height: auto;
  max-width: 100%; max-height: 54px; object-fit: contain;
  background: transparent;
  transition: transform .2s ease, opacity .2s ease;
}
.partner-link--3 img {
  max-width: 100%;
  max-height: 46px;
  filter: brightness(0) invert(1);
}
.partner-link:hover img { transform: translateY(-2px); opacity: .88; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 50px; padding-top: 22px;
  display: flex; justify-content: space-between; color: #87aaa3; font-size: 11px;
}

/* ── Resources / Team / Get Involved page layouts ─────────────── */
.pg-page-hero {
  position: relative; min-height: 420px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  isolation: isolate;
}
.pg-page-hero::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,42,39,.76), rgba(5,42,39,.18)); z-index: -1;
}
.pg-page-hero-inner {
  padding: 72px 0 60px; color: #fff;
}
.pg-page-hero-inner h1 {
  margin: 0 0 12px; max-width: 760px; font-size: clamp(38px, 5vw, 74px); line-height: .96; letter-spacing: -.04em;
}
.pg-page-hero-inner p {
  margin: 0; max-width: 680px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.85);
}
.pg-page-cta { display: flex; gap: 12px; margin-top: 22px; }
.pg-page-cta .button { background: #fff; color: var(--dark); }
.pg-page-cta .button.alt { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.5); }

.pg-section {
  padding: 72px 0;
}
.pg-section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 26px;
}
.pg-section-head h2 {
  margin: 0; font-size: clamp(30px, 3vw, 46px); letter-spacing: -.04em;
}
.pg-section-sub { color: var(--muted); font-size: 17px; max-width: 780px; }

.resource-grid-compact {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.resource-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 24px rgba(12,30,28,.06);
}
.resource-card-image {
  height: 210px; background-size: cover; background-position: center; position: relative;
}
.resource-card-image::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,58,52,.10), rgba(9,58,52,.32));
}
.resource-card-body { padding: 22px 20px 24px; }
.resource-card-body h3 { margin: 0 0 10px; font-size: 24px; }
.resource-card-body p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }
.resource-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; color: var(--teal); letter-spacing: .05em; text-transform: uppercase;
}
.resource-meta a { color: var(--teal); }

.team-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
}
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 24px rgba(12,30,28,.06);
}
.team-card img {
  width: 100%; height: 300px; object-fit: cover;
}
.team-card-body { padding: 20px 18px 22px; }
.team-card-body h3 { margin: 0 0 6px; font-size: 22px; }
.team-role { margin: 0 0 12px; color: var(--teal); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: 11px; }
.team-card-body p { margin: 0; color: var(--muted); line-height: 1.7; }

.involved-hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch;
}
.involved-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 24px rgba(12,30,28,.05);
}
.involved-card img {
  width: 100%; height: 320px; object-fit: cover; display: block;
}
.involved-card-body { padding: 24px; }
.involved-card-body h3 { margin: 0 0 12px; font-size: 27px; }
.involved-card-body p { margin: 0 0 18px; line-height: 1.7; color: var(--muted); }
.involved-links { display: grid; gap: 12px; }
.involved-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--pale); border-radius: 10px; font-weight: 700;
}
.involved-links .icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--mint); display: grid; place-items: center; color: var(--teal); font-size: 20px;
}

.stat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 18px;
}
.stat-box {
  background: linear-gradient(180deg, #ebf6f2, #f8faf9); border: 1px solid var(--line); border-radius: 16px; padding: 20px 18px;
}
.stat-box strong {
  display: block; margin-bottom: 8px; font-size: 30px; color: var(--teal); letter-spacing: -.04em;
}
.stat-box span { color: var(--muted); font-weight: 600; }

@media (max-width: 980px) {
  .resource-grid-compact,
  .team-grid,
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .involved-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .resource-grid-compact,
  .team-grid,
  .stat-grid { grid-template-columns: 1fr; }
  .pg-section-head { flex-direction: column; align-items: flex-start; }
  .pg-page-hero-inner { padding: 52px 0 46px; }
  .pg-page-cta { flex-direction: column; align-items: flex-start; }
}

/* ── Editorial page concept ───────────────────────────────── */
.library-page { background: #f1f3ef; }
.library-masthead { padding: 76px 0 54px; background: #e4ece7; }
.library-masthead-grid { display: grid; grid-template-columns: 120px 1fr .88fr; gap: 34px; align-items: end; }
.library-index { align-self: stretch; border-left: 1px solid #9caf9f; padding: 8px 0 0 16px; display: flex; flex-direction: column; justify-content: space-between; }
.library-index span { font-size: 52px; line-height: 1; color: var(--teal); font-weight: 800; }
.library-index small { line-height: 1.45; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.library-title h1, .team-intro h1, .involve-hero h1 { margin: 0 0 22px; color: #073f3a; font-size: clamp(48px, 6vw, 84px); line-height: .89; letter-spacing: -.055em; }
.library-title > p:last-child { max-width: 530px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.library-hero-image { margin: 0; position: relative; height: 390px; overflow: hidden; }
.library-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.library-hero-image figcaption { position: absolute; right: 14px; bottom: 14px; padding: 7px 9px; background: #e5eac8; color: var(--dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.library-shelf { padding: 70px 0 92px; }
.library-shelf-head { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 36px; }
.library-shelf-head > p:last-child { max-width: 560px; color: var(--muted); line-height: 1.6; font-size: 17px; }
.library-list { border-top: 2px solid var(--dark); }
.library-item { display: grid; grid-template-columns: 56px 152px 1fr 130px; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid #c9d2cc; }
.library-number { align-self: start; color: var(--teal); font-weight: 800; font-size: 16px; }
.library-item img { height: 112px; width: 100%; object-fit: cover; }
.library-item h2 { margin: 0 0 5px; font-size: 26px; letter-spacing: -.03em; }
.library-item p:not(.library-type) { margin: 0; max-width: 540px; color: var(--muted); line-height: 1.55; }
.library-type, .pathway-kicker { margin: 0 0 7px; color: #147a70; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.library-open { justify-self: end; width: 88px; height: 88px; border: 1px solid #759a91; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 800; color: var(--teal); }
.library-open span { font-size: 20px; line-height: 1; }

.team-page { background: #0a413c; color: #f6f3e8; }
.team-intro { padding: 85px 0 55px; background: #d8e7e0; color: var(--dark); }
.team-intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.team-lead { margin: 0; max-width: 460px; font-size: 19px; line-height: 1.55; color: #315c55; }
.team-map { padding: 0 0 86px; }
.team-map .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; }
.team-map-media { margin-top: -24px; height: 550px; position: relative; overflow: hidden; }
.team-map-media img { width: 100%; height: 100%; object-fit: cover; }
.team-map-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,31,28,.55), transparent 55%); }
.team-map-media span { position: absolute; z-index: 1; left: 24px; bottom: 24px; color: #fff; font-size: 25px; line-height: 1.1; }
.team-streams { padding-top: 65px; }
.team-streams article { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.25); }
.team-streams span { color: #d9dc80; font-weight: 800; }
.team-streams h2 { margin: 0 0 8px; font-size: 29px; letter-spacing: -.035em; }
.team-streams p { grid-column: 2; margin: 0; color: #b8d0c9; line-height: 1.62; }
.team-partners { padding: 60px 0; background: #f0efe9; color: var(--dark); }
.team-partners h2 { margin: 0 0 32px; font-size: 46px; letter-spacing: -.045em; }
.team-logo-row { display: flex; align-items: center; gap: 55px; padding-top: 26px; border-top: 1px solid #aabbb4; }
.team-logo-row img { max-width: 165px; max-height: 82px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }

.involve-hero { min-height: 590px; padding: 104px 0 66px; display: flex; align-items: end; background: linear-gradient(90deg, rgba(5,38,35,.92), rgba(5,38,35,.42)), url('http://localhost/Website%20Design%20Script-20260825T105206Z-1-001/Website%20Design%20Script/Landing%20Page/Images/Copy%20of%20IMG_1361-1.jpg') center/cover; color: #fff; }
.involve-hero h1 { color: #fff; }
.involve-hero > .wrap > p:not(.eyebrow) { max-width: 520px; font-size: 19px; line-height: 1.55; }
.involve-scroll { display: inline-flex; align-items: center; gap: 24px; margin-top: 34px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.6); font-size: 14px; font-weight: 800; }
.involve-scroll span { font-size: 23px; }
.involve-pathways { padding: 84px 0; background: #f4f0e7; }
.involve-pathways .wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.involve-pathways h2 { margin: 0; color: var(--dark); font-size: clamp(38px, 4vw, 61px); line-height: .94; letter-spacing: -.05em; }
.involve-pathway-list { border-top: 2px solid var(--dark); }
.involve-pathway-list article { display: grid; grid-template-columns: 45px 1fr 130px; gap: 18px; align-items: center; padding: 25px 0; border-bottom: 1px solid #c6c8bc; }
.involve-pathway-list article > span { align-self: start; color: var(--teal); font-weight: 800; }
.involve-pathway-list h3 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.03em; }
.involve-pathway-list div > p:last-child { margin: 0; color: var(--muted); line-height: 1.58; }
.involve-pathway-list a { color: var(--teal); font-size: 12px; font-weight: 800; text-align: right; }
.involve-pathway-list a b { display: block; font-size: 21px; }
.involve-image-band { min-height: 440px; position: relative; overflow: hidden; background: #143f3a; }
.involve-image-band img { width: 100%; height: 440px; object-fit: cover; object-position: center 65%; opacity: .75; }
.involve-image-band div { position: absolute; left: max(24px, calc((100% - 1140px) / 2)); bottom: 34px; width: min(430px, calc(100% - 48px)); padding: 22px; background: #dfe55e; color: var(--dark); }
.involve-image-band p { margin: 0; font-size: 25px; font-weight: 700; line-height: 1.12; }

/* ── Contact page ──────────────────────────────────────────── */
.contact-page { background: #f4f8f6; }
.contact-hero { position: relative; min-height: 390px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background-image: linear-gradient(90deg, rgba(4,38,40,.74), rgba(4,38,40,.18)), var(--contact-hero-image); background-size: cover; background-position: center 58%; }
.contact-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(3,31,32,.52)); pointer-events: none; }
.contact-hero-inner { position: relative; z-index: 1; min-height: 390px; display: flex; align-items: flex-end; padding-bottom: 52px; }
.contact-hero h1 { position: relative; margin: 0; padding-left: 22px; color: #fff; font-size: clamp(46px,5.8vw,76px); line-height: 1; letter-spacing: -.05em; font-weight: 700; }
.contact-hero h1::before { content: ''; position: absolute; left: 0; top: 8%; bottom: 4%; width: 4px; border-radius: 4px; background: var(--aqua); }
.contact-main { padding: 96px 0 108px; }
.contact-grid { display: grid; grid-template-columns: minmax(0,.88fr) minmax(420px,1.12fr); gap: 72px; align-items: start; }
.contact-eyebrow { margin: 0 0 16px; color: var(--teal); font-size: 10px; line-height: 1.4; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.contact-intro > h2,.contact-form-shell > h2 { margin: 0; color: var(--ink); letter-spacing: -.045em; }
.contact-intro > h2 { max-width: 520px; font-size: clamp(40px,4.4vw,60px); line-height: 1; }
.contact-lead { max-width: 530px; margin: 26px 0 34px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.contact-image { position: relative; height: 330px; margin: 0 0 34px; overflow: hidden; border-radius: 22px; background: var(--dark); }
.contact-image::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(2,30,31,.72)); }
.contact-image img { width: 100%; height: 100%; object-fit: cover; }
.contact-image figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; color: #fff; font-size: 18px; line-height: 1.3; font-weight: 700; }
.contact-details { margin: 0; border-top: 1px solid var(--line); font-style: normal; }
.contact-details > * { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-details span { color: #789496; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.contact-details strong { color: var(--ink); font-size: 14px; font-weight: 700; }
.contact-details a:hover strong { color: var(--aqua); }
.contact-form-shell { padding: 48px; border-radius: 26px; background: #fff; box-shadow: 0 28px 70px rgba(12,72,77,.12); }
.contact-form-shell > h2 { margin-bottom: 30px; font-size: clamp(32px,3.5vw,46px); line-height: 1.05; }
.contact-notice { margin: 0 0 24px; padding: 14px 16px; border-radius: 10px; font-size: 13px; line-height: 1.5; }
.contact-notice.success { color: #0f5b42; background: #e2f5e9; border: 1px solid #b9ddc7; }
.contact-notice.error { color: #7a352e; background: #fbe9e6; border: 1px solid #efc8c0; }
.contact-form { display: grid; gap: 19px; }
.contact-field-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: var(--ink); font-size: 11px; font-weight: 750; }
.contact-form label > span { text-transform: uppercase; letter-spacing: .08em; }
.contact-form input,.contact-form select,.contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; background: #f8fbfa; color: var(--ink); font: inherit; font-size: 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input,.contact-form select { height: 48px; padding: 0 14px; }
.contact-form textarea { min-height: 150px; padding: 14px; resize: vertical; }
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(23,158,163,.12); }
.contact-form button { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 18px; border: 0; border-radius: 9px; background: var(--dark); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.contact-form button:hover { background: var(--teal); transform: translateY(-2px); }
.contact-form button span { font-size: 19px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .contact-intro { max-width: 680px; }
}

@media (max-width: 700px) {
  .contact-hero,.contact-hero-inner { min-height: 290px; }
  .contact-hero { background-position: center; }
  .contact-hero-inner { padding-bottom: 36px; }
  .contact-hero h1 { padding-left: 16px; font-size: 44px; }
  .contact-hero h1::before { width: 3px; }
  .contact-main { padding: 72px 0 78px; }
  .contact-intro > h2 { font-size: 42px; }
  .contact-image { height: 280px; border-radius: 18px; }
  .contact-form-shell { padding: 34px 24px; border-radius: 20px; }
  .contact-field-row { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .library-masthead-grid, .team-intro-grid, .team-map .wrap, .involve-pathways .wrap { grid-template-columns: 1fr; gap: 28px; }
  .library-index { min-height: 104px; flex-direction: row; align-items: end; }
  .library-hero-image { height: 280px; }
  .library-item { grid-template-columns: 36px 96px 1fr; gap: 14px; }
  .library-open { grid-column: 3; justify-self: start; width: auto; height: auto; border: 0; display: flex; gap: 7px; }
  .team-map-media { margin-top: 0; height: 390px; }
  .team-streams { padding-top: 0; }
  .team-logo-row { flex-wrap: wrap; gap: 28px; }
}
@media (max-width: 560px) {
  .library-masthead { padding-top: 52px; }
  .library-shelf-head { display: block; }
  .library-item { grid-template-columns: 26px 1fr; }
  .library-item img { display: none; }
  .library-open { grid-column: 2; }
  .involve-pathway-list article { grid-template-columns: 32px 1fr; }
  .involve-pathway-list a { grid-column: 2; text-align: left; }
}

/* ── Responsive: 980 px ────────────────────────────────────── */
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  nav {
    display: none; position: absolute; top: 86px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 18px 24px; box-shadow: 0 15px 25px rgba(0,0,0,.08);
  }
  nav.open          { display: flex; }
  .journey-grid     { grid-template-columns: 1fr; gap: 34px; padding: 56px 0; }
  .journey-copy     { padding: 0; }
  .journey-image    { min-height: 420px; margin: 0; }
  .mission-copy     { padding: 50px 44px; }
  .outcomes-shell   { margin-right: 0; margin-left: 0; padding: 46px 38px 40px; }
  .mission-outcome-intro { gap: 40px; }
  .outcome-grid     { grid-template-columns: repeat(2, 1fr); }
  .sector-grid      { grid-template-columns: repeat(2, 1fr); }
  .updates-grid     { grid-template-columns: 1fr; }
  .resource-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive: 700 px ────────────────────────────────────── */
@media (max-width: 700px) {
  .wrap    { width: calc(100% - 32px); }
  .section { padding: 44px 0; }
  .site-header  { height: 76px; padding: 0 16px; }
  .hero,
  .hero-content { height: 590px; }
  .hero h1      { font-size: 46px; }
  .slider-arrow { width: 38px; height: 38px; }
  .previous     { left: 12px; }
  .next         { right: 12px; }
  .journey-grid { gap: 28px; padding: 44px 0; }
  .journey-copy { padding: 0; }
  .journey-image { min-height: 340px; margin: 0; border-radius: 18px; }
  .mission { padding: 62px 0 70px; }
  .mission-story { grid-template-columns: 1fr; min-height: 0; border-radius: 20px; }
  .mission-copy { padding: 40px 26px 42px; }
  .mission-copy .lead { margin-top: 24px; padding-left: 18px; font-size: 15px; }
  .mission-visual { min-height: 280px; }
  .mission-visual-ring { right: 34px; bottom: 34px; }
  .outcomes-shell { margin-top: 18px; padding: 36px 22px 24px; border-radius: 20px; }
  .mission-outcome-intro { gap: 22px; margin-bottom: 24px; padding-bottom: 26px; }
  .section-intro  { grid-template-columns: 1fr; gap: 22px; }
  .outcome-grid,
  .sector-grid,
  .resource-grid  { grid-template-columns: 1fr; }
  .outcome-grid article { min-height: 0; padding: 20px; }
  .outcome-card-top { margin-bottom: 18px; }
  .outcome-grid h3 { max-width: 260px; }
  .sectors { padding: 64px 0 72px; }
  .sectors .section-intro { margin-bottom: 34px; }
  .sector-grid a { min-height: 122px; }
  .title-row      { align-items: flex-start; flex-direction: column; gap: 20px; }
  .featured       { grid-template-columns: 1fr; }
  .featured img   { height: 290px; }
  .update-list article { grid-template-columns: 110px 1fr; }
  .update-list img     { width: 110px; height: 112px; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 24px; }
  .newsletter form { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 34px; }
  .copyright       { flex-direction: column; gap: 9px; }
}

@media (max-width: 430px) {
  .mission-copy .large-title { font-size: 34px; }
  .mission-visual { min-height: 235px; }
  .sector-grid a { grid-template-columns: 54px 1fr 34px; gap: 14px; padding: 20px 16px; }
  .sector-icon { width: 54px; height: 54px; border-radius: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-ready [data-scroll-reveal],
  .scroll-reveal-ready [data-scroll-reveal].is-visible { opacity: 1; transform: none; transition: none; }
  .outcome-grid article,
  .sector-grid a,
  .sector-grid a::after,
  .sector-grid i { transition: none; }
}

/* ── News archive and editorial follow-ups ─────────────────── */
.updates-page { background: #f1f3ef; }
.updates-masthead { padding: 78px 0 64px; background: #e4ece7; }
.updates-masthead-grid { display: grid; grid-template-columns: 120px 1fr .72fr; gap: 34px; align-items: end; }
.updates-index { align-self: stretch; border-left: 1px solid #9caf9f; padding: 8px 0 0 16px; display: flex; flex-direction: column; justify-content: space-between; }
.updates-index span { font-size: 52px; line-height: 1; color: var(--teal); font-weight: 800; }
.updates-index small { line-height: 1.45; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.updates-masthead h1 { margin: 0 0 22px; color: #073f3a; font-size: clamp(48px, 6vw, 84px); line-height: .89; letter-spacing: -.055em; }
.updates-intro { max-width: 530px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.updates-note { border-top: 2px solid var(--dark); padding-top: 14px; color: var(--dark); }
.updates-note img { width: 100%; height: 148px; margin-bottom: 18px; object-fit: cover; }
.updates-note span { display: block; margin-bottom: 30px; color: #147a70; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.updates-note strong { display: block; max-width: 250px; font-size: 25px; line-height: 1.12; }
.updates-archive { padding: 70px 0 90px; }
.updates-archive-head { display: flex; justify-content: space-between; gap: 36px; margin-bottom: 36px; }
.updates-archive-head p:last-child { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.6; font-size: 17px; }
.updates-feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.updates-feature { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 450px; background: #dfe9e3; }
.updates-feature-image { min-height: 300px; overflow: hidden; }
.updates-feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.updates-feature-image:hover img { transform: scale(1.03); }
.updates-feature-body { align-self: center; padding: 38px 30px; }
.updates-feature-body h2 { margin: 0 0 16px; font-size: clamp(27px, 3vw, 40px); line-height: 1.04; letter-spacing: -.04em; }
.updates-feature-body h2 a:hover { color: var(--teal); }
.updates-feature-body > p:not(.tag) { color: var(--muted); line-height: 1.65; }
.updates-feature-body small, .updates-side-item small { color: var(--muted); font-size: 11px; }
.updates-side-list { border-top: 2px solid var(--dark); }
.updates-side-item { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid #c9d2cc; }
.updates-side-item > span { color: var(--teal); font-weight: 800; }
.updates-side-item h3 { margin: 5px 0 14px; font-size: 22px; line-height: 1.15; }
.updates-side-item h3 a:hover { color: var(--teal); }
.updates-empty { padding: 32px 0; border-top: 2px solid var(--dark); color: var(--muted); }
.updates-signup { padding: 60px 0 70px; background: var(--teal); color: #fff; }
.updates-signup h2 { max-width: 570px; margin: 0 0 12px; font-size: clamp(36px, 4vw, 58px); line-height: 1; letter-spacing: -.045em; }
.updates-signup p:not(.eyebrow) { max-width: 520px; color: #e5f3ef; line-height: 1.6; }
.updates-signup .button { margin-top: 14px; }
.homepage-updates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.homepage-updates-grid .featured { grid-template-columns: 1fr; min-height: 0; }
.homepage-updates-grid .featured img { height: 245px; }
.homepage-updates-grid .featured > div { padding: 28px 30px 32px; }
.homepage-updates-grid .featured h3 { margin: 10px 0 14px; font-size: 25px; }
.library-callout { padding: 72px 0 84px; background: #dfe9e3; }
.library-callout h2 { max-width: 680px; margin: 0 0 14px; color: var(--dark); font-size: clamp(36px, 4vw, 58px); line-height: 1; letter-spacing: -.045em; }
.library-callout p:not(.eyebrow) { max-width: 560px; color: var(--muted); line-height: 1.65; }
.library-callout .button { margin-top: 12px; }
.team-principles { padding: 76px 0 88px; background: #dfe55e; color: var(--dark); }
.team-principles .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.team-principles h2 { margin: 0; max-width: 450px; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -.045em; }
.team-principle-list { border-top: 2px solid var(--dark); }
.team-principle-list p { margin: 0; padding: 19px 0; border-bottom: 1px solid rgba(6,62,58,.3); line-height: 1.6; }
.team-principle-list strong { display: block; margin-bottom: 3px; font-size: 18px; }
.involve-pathways-intro { max-width: 270px; margin-top: 28px; color: var(--muted); line-height: 1.6; }

@media (max-width: 800px) {
  .updates-masthead-grid, .updates-feature-grid, .team-principles .wrap { grid-template-columns: 1fr; gap: 28px; }
  .updates-index { min-height: 104px; flex-direction: row; align-items: end; }
  .updates-feature { grid-template-columns: 1fr; }
  .updates-feature-image { height: 290px; }
  .homepage-updates-grid { grid-template-columns: 1fr; }
  .homepage-updates-grid .featured img { height: 290px; }
}
@media (max-width: 560px) {
  .updates-masthead { padding-top: 52px; }
  .updates-archive-head { display: block; }
  .updates-note span { margin-bottom: 15px; }
}
