/* ============================================================
   HSTP — Health Sector Transformation Programme
   Original redesign — editorial / government authority style
   ============================================================ */

:root {
  /* Greens — forest, leaf, sage */
  --green-900: oklch(28% 0.05 160);
  --green-800: oklch(36% 0.07 162);
  --green-700: oklch(45% 0.09 160);
  --green-600: oklch(55% 0.10 158);
  --green-300: oklch(82% 0.06 155);
  --green-100: oklch(94% 0.025 150);

  /* Warm neutrals */
  --cream: oklch(96.5% 0.012 85);
  --paper: oklch(98.5% 0.008 85);
  --bone:  oklch(92% 0.018 85);

  /* Ink */
  --ink-900: oklch(18% 0.015 200);
  --ink-700: oklch(35% 0.012 200);
  --ink-500: oklch(50% 0.010 200);
  --ink-300: oklch(72% 0.008 200);

  /* Accents */
  --gold:   oklch(72% 0.12 78);
  --rust:   oklch(52% 0.13 38);
  --teal:   oklch(50% 0.08 200);

  /* Borders */
  --line: oklch(85% 0.012 90);
  --line-strong: oklch(70% 0.012 90);

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans:  "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, monospace;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }

/* Justify is only applied to real body-copy paragraphs (below).
   Headings and short display text stay left-aligned on purpose:
   justify on a big headline that wraps to 2-3 words per line
   stretches the spacing between those words into ugly, distracting
   gaps. Left alignment is the correct, readable choice for titles,
   labels and anything that isn't a genuine multi-line paragraph. */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
  text-align: left;
  margin: 0;
}
h1 { font-size: clamp(40px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
h3 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; }
h4 { font-size: 18px; line-height: 1.25; }

p {
  margin: 0;
  text-wrap: pretty;
  /* Full-justified body copy. Only visibly affects paragraphs that
     wrap to 2+ lines of normal running text — single-line text is
     unaffected. The last line always stays left-aligned so it never
     stretches out. */
  text-align: justify;
  text-align-last: left;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-800);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--green-800);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

.section-number {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.1em;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
}
.site-header__bar {
  max-width: 1480px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.site-header__logos {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-header__logos--right { justify-content: flex-end; }
.site-header__logos img {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.site-header__nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-item {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  transition: color 160ms, background 160ms;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
}
.nav-item:hover { color: var(--green-900); background: var(--green-100); }
.nav-item.is-active { color: var(--green-900); }
.nav-item.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--green-800);
}
.nav-item .caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: 0.6;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 12px 40px -12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 180ms, transform 180ms;
  z-index: 60;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--ink-700);
  transition: background 140ms, color 140ms;
}
.nav-dropdown a:hover {
  background: var(--green-100);
  color: var(--green-900);
}
.has-dropdown { position: relative; }

/* Mobile menu trigger */
.menu-trigger { display: none; }

@media (max-width: 1100px) {
  .site-header__bar { gap: 16px; }
  .site-header__logos img { height: 44px; }
  .nav-item { padding: 8px 10px; font-size: 13px; }
}
@media (max-width: 880px) {
  .site-header__bar { grid-template-columns: auto auto; }
  .site-header__nav { display: none; }
  .menu-trigger {
    display: inline-flex;
    grid-column: 2;
    justify-self: end;
    align-items: center; gap: 8px;
    background: none; border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
  }
  .site-header__logos--right { display: none; }
}

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-head {
  padding: 80px 0 32px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream), var(--paper));
}
.page-head__inner {
  display: grid;
  grid-template-columns: 1fr;
}
.page-head h1 {
  margin-top: 16px;
}
.page-head__crumb {
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.1em;
}
.page-head__crumb span { color: var(--green-800); }

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 0 96px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: end;
}
.hero__title {
  font-size: clamp(48px, 7.5vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.hero__title em {
  font-style: italic;
  color: var(--green-800);
  font-weight: 300;
}
.hero__lede {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 56ch;
}
.hero__meta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bone);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(40, 50, 30, 0.25);
}
.hero__visual::before {
  /* placeholder stripes */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 22px,
    rgba(0,0,0,0.04) 22px 23px
  );
}
.hero__visual-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-500);
  letter-spacing: 0.1em;
  padding: 8px 12px;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
}
.hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__visual.has-image::before {
  display: none;
}
.hero__caption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Stat strip */
.stat-strip {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  color: var(--green-900);
  letter-spacing: -0.02em;
}
.stat__num sup {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--ink-500);
  vertical-align: top;
  margin-left: 4px;
}
.stat__label {
  font-size: 13px;
  color: var(--ink-700);
  max-width: 24ch;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 140ms, background 160ms, color 160ms, border-color 160ms;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--green-900);
  color: var(--cream);
}
.btn--primary:hover { background: var(--green-800); }
.btn--outline {
  border-color: var(--line-strong);
  color: var(--ink-900);
}
.btn--outline:hover { border-color: var(--green-800); color: var(--green-900); }
.btn--text {
  padding: 12px 4px;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  color: var(--green-900);
}
.btn .arrow {
  width: 12px; height: 12px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms;
}
.btn:hover .arrow { transform: rotate(45deg) translate(2px, -2px); }

/* ============================================================
   GOVERNOR SECTION
   ============================================================ */
.governor {
  background: var(--green-900);
  color: var(--cream);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.governor::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--green-700), transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.governor__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.governor__portrait {
  aspect-ratio: 3 / 4;
  background: oklch(40% 0.05 160);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.governor__portrait::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -135deg,
    transparent 0 24px,
    rgba(255,255,255,0.04) 24px 25px
  );
}
.governor__portrait-label {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.3);
  padding: 6px 10px;
  border-radius: 4px;
}
.governor__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.governor__portrait.has-image::before {
  display: none;
}
.governor h2 { color: var(--cream); }
.governor .eyebrow { color: var(--green-300); }
.governor .eyebrow::before { background: var(--green-300); }
.governor p { color: oklch(88% 0.02 90); margin-top: 18px; max-width: 60ch; }
.governor__title-block {
  margin-top: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid oklch(50% 0.04 160);
}
.governor__name {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  margin-top: 8px;
  color: var(--gold);
}
@media (max-width: 900px) {
  .governor__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   ABOUT SUMMARY
   ============================================================ */
.about-summary {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.about-summary__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 56px;
  align-items: start;
}
.about-summary__head {
  position: sticky;
  top: 100px;
}
.about-summary__body p {
  font-size: 18px;
  color: var(--ink-700);
  line-height: 1.65;
}
.about-summary__body p + p { margin-top: 20px; }
.about-summary__body h2 { margin-bottom: 28px; }
@media (max-width: 900px) {
  .about-summary__grid { grid-template-columns: 1fr; }
  .about-summary__head { position: static; }
}

/* ============================================================
   NIGER STATE BLOCK
   ============================================================ */
.niger-state {
  padding: 96px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.niger-state__grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 64px;
  align-items: center;
}
.niger-state h2 .em { color: var(--green-800); font-style: italic; }
.niger-state__facts {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fact {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.fact__num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--green-900);
  display: block;
}
.fact__label {
  font-size: 12px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
/* Map placeholder */
.niger-map {
  aspect-ratio: 1.1 / 1;
  position: relative;
}
.niger-map svg { width: 100%; height: 100%; }
.niger-map__tag {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-700);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .niger-state__grid { grid-template-columns: 1fr; }
  .niger-state__facts { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PILLARS (SDG goals + outcomes)
   ============================================================ */
.pillars {
  padding: 96px 0;
}
.pillars__head {
  max-width: 700px;
  margin-bottom: 56px;
}
.pillars__lede {
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink-700);
  line-height: 1.6;
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--cream);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  min-width: 0;
  transition: background 200ms;
  position: relative;
}
.pillar:hover { background: var(--green-100); }
.pillar__num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  color: var(--green-800);
  font-style: italic;
}
.pillar__title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink-900);
}
.pillar__desc {
  margin-top: auto;
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.5;
}
@media (max-width: 1000px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .pillars__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   OUTCOMES — alternating editorial layout
   ============================================================ */
.outcomes {
  padding: 96px 0;
  background: var(--green-900);
  color: var(--cream);
}
.outcomes .eyebrow { color: var(--green-300); }
.outcomes .eyebrow::before { background: var(--green-300); }
.outcomes h2 { color: var(--cream); max-width: 700px; }
.outcomes__lede { color: oklch(85% 0.02 90); margin-top: 20px; max-width: 60ch; font-size: 17px; }
.outcomes__list {
  margin-top: 56px;
  display: grid;
  gap: 0;
  border-top: 1px solid oklch(40% 0.04 160);
}
.outcome-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr;
  gap: 32px;
  padding: 32px 0;
  align-items: start;
  border-bottom: 1px solid oklch(40% 0.04 160);
  transition: padding 200ms;
}
.outcome-row:hover { padding-left: 12px; }
.outcome-row__num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}
.outcome-row__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
}
.outcome-row__desc {
  color: oklch(85% 0.02 90);
  font-size: 15px;
  line-height: 1.6;
  text-align: justify;
  text-align-last: left;
}
@media (max-width: 800px) {
  .outcome-row { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta {
  padding: 120px 0;
  background: var(--cream);
}
.cta__inner {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(at top right, oklch(94% 0.03 150 / 0.6), transparent 60%),
    var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta h2 { max-width: 14ch; }
.cta__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  align-items: center;
  transition: border-color 160ms, transform 160ms;
}
.cta-link:hover {
  border-color: var(--green-800);
  transform: translateY(-2px);
}
.cta-link__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green-800);
  letter-spacing: 0.1em;
}
.cta-link__label {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}
.cta-link__sub {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 4px;
}
@media (max-width: 800px) {
  .cta__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.partners__head {
  margin-bottom: 40px;
}
.partners__head h2 { font-size: clamp(28px, 3vw, 40px); }
.partners__head p { margin-top: 16px; max-width: 60ch; color: var(--ink-500); }
.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.partner-cell {
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 140px;
  background: transparent;
}
.partner-cell img {
  height: 64px;
  max-width: 100%;
  object-fit: contain;
}
.partner-cell__label {
  font-size: 11px;
  text-align: center;
  color: var(--ink-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ABOUT PAGE — KEY OBJECTIVES
   ============================================================ */
.objectives {
  padding: 96px 0;
  background: var(--paper);
}
.objectives__head {
  max-width: 720px;
  margin-bottom: 64px;
}
.objective {
  display: grid;
  grid-template-columns: 100px 1fr 1.4fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.objective:last-child { border-bottom: 1px solid var(--line); }
.objective__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  color: var(--green-800);
}
.objective__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.objective__desc {
  color: var(--ink-700);
  font-size: 15.5px;
  line-height: 1.65;
  text-align: justify;
  text-align-last: left;
}
@media (max-width: 800px) {
  .objective { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .objective__num { font-size: 44px; }
}

/* Mission/Vision dual block */
.mv {
  padding: 96px 0;
  display: grid;
}
.mv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mv__card {
  padding: 56px 48px;
  background: var(--cream);
  position: relative;
}
.mv__card + .mv__card {
  border-left: 1px solid var(--line);
  background: var(--green-100);
}
.mv__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-800);
}
.mv__statement {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  margin-top: 24px;
  color: var(--ink-900);
  text-wrap: pretty;
}
@media (max-width: 800px) {
  .mv__grid { grid-template-columns: 1fr; }
  .mv__card + .mv__card { border-left: none; border-top: 1px solid var(--line); }
}

/* ============================================================
   COVERAGE STATS (HFA page)
   ============================================================ */
.hfa-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hfa-stats__cell {
  background: var(--cream);
  padding: 32px 28px;
  min-width: 0;
}
.hfa-stats__label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hfa-stats__num {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--green-900);
  font-weight: 400;
  margin-top: 8px;
  line-height: 1;
}
.hfa-stats__sub {
  font-size: 13px;
  color: var(--ink-700);
  margin-top: 8px;
}
@media (max-width: 700px) {
  .hfa-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .hfa-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   GALLERY (HFA page)
   ============================================================ */
.gallery {
  padding: 96px 0;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  grid-auto-rows: 140px;
}
.tile {
  background: var(--bone);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 200ms;
}
.tile:hover { transform: scale(1.01); }
.tile::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 18px,
    rgba(0,0,0,0.04) 18px 19px
  );
}
.tile__label {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-500);
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.92);
  padding: 4px 8px;
  border-radius: 4px;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile.has-image::before {
  display: none;
}
.tile__upload-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  color: var(--ink-500);
  padding: 14px 12px;
}
/* Tile sizing patterns */
.tile.t-h2 { grid-row: span 2; }
.tile.t-w3 { grid-column: span 3; }
.tile.t-w4 { grid-column: span 4; }
.tile.t-w5 { grid-column: span 5; }
.tile.t-w6 { grid-column: span 6; }
.tile.t-w8 { grid-column: span 8; }

@media (max-width: 800px) {
  .gallery__grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 100px; }
  .tile.t-w8 { grid-column: span 6; }
  .tile.t-w6 { grid-column: span 6; }
  .tile.t-w5 { grid-column: span 6; }
  .tile.t-w4 { grid-column: span 3; }
  .tile.t-w3 { grid-column: span 3; }
}

/* ============================================================
   TEAM
   ============================================================ */
.team-section {
  padding: 64px 0;
}
.team-section h2 { margin-bottom: 16px; }
.team-section__sub {
  color: var(--ink-500);
  margin-bottom: 40px;
  max-width: 60ch;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.team-card__photo {
  aspect-ratio: 3 / 4;
  background: var(--bone);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.team-card__photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 16px,
    rgba(0,0,0,0.035) 16px 17px
  );
}
.team-card__initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 48px;
  color: oklch(60% 0.02 200);
  font-weight: 400;
}
.team-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card__photo.has-image::before {
  display: none;
}
.team-card__photo-label {
  position: absolute;
  bottom: 10px; left: 10px; right: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  text-align: center;
  padding: 5px 6px;
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
}
.team-card__name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.2;
}
.team-card__role {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */
.resources-list {
  padding: 32px 0 96px;
}
.resource-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: border-color 160ms, transform 160ms;
}
.resource-card:hover { border-color: var(--green-800); transform: translateX(4px); }
.resource-card__icon {
  width: 64px; height: 80px;
  background: var(--green-100);
  border-radius: 6px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green-800);
  letter-spacing: 0.1em;
  position: relative;
}
.resource-card__icon::before {
  content: "";
  position: absolute;
  top: 8px; left: 8px; right: 8px;
  height: 1.5px; background: var(--green-800);
  box-shadow: 0 6px 0 0 var(--green-800), 0 12px 0 0 var(--green-800);
}
.resource-card__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}
.resource-card__meta {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 4px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
  padding: 64px 0 96px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field--row .field { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; box-sizing: border-box; }
.field__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.field__label .req { color: var(--rust); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink-900);
  transition: border-color 160ms, box-shadow 160ms;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-800);
  box-shadow: 0 0 0 3px oklch(82% 0.06 155 / 0.4);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-status {
  margin-top: 12px;
  font-size: 14px;
  color: var(--green-800);
  font-weight: 500;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 200ms, transform 200ms;
}
.form-status.is-visible { opacity: 1; transform: translateY(0); }
.form-error {
  margin-top: 8px;
  font-size: 12px;
  color: var(--rust);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.info-block h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-bottom: 10px;
}
.info-block p { font-size: 14.5px; color: var(--ink-700); line-height: 1.55; }
.info-block a { color: var(--ink-900); border-bottom: 1px solid var(--line-strong); }
.info-block a:hover { color: var(--green-900); border-color: var(--green-800); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
}
@media (max-width: 480px) {
  .field--row { grid-template-columns: 1fr; }
}

/* ============================================================
   NEWSLETTER + FOOTER
   ============================================================ */
.newsletter {
  background: var(--green-900);
  color: var(--cream);
  padding: 72px 0;
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--cream);
  max-width: 18ch;
  line-height: 1.1;
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.newsletter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: oklch(35% 0.05 160);
  border: 1px solid oklch(50% 0.05 160);
  border-radius: 999px;
  padding: 6px;
}
.newsletter__row input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--cream);
  font: inherit;
  font-size: 15px;
  padding: 10px 16px;
  outline: none;
}
.newsletter__row input::placeholder { color: oklch(70% 0.02 90); }
.newsletter__row button {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--green-900);
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.newsletter__check {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: oklch(85% 0.02 90);
}
.newsletter__check input { accent-color: var(--gold); }
@media (max-width: 800px) {
  .newsletter__inner { grid-template-columns: 1fr; }
}

.site-footer {
  background: oklch(15% 0.02 200);
  color: oklch(75% 0.01 90);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2.5fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand h3 {
  font-family: var(--serif);
  color: var(--cream);
  font-size: 28px;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 13px; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(60% 0.02 90);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 13.5px; }
.footer-col li.indent { padding-left: 14px; font-size: 12.5px; opacity: 0.8; }
.footer-col a:hover { color: var(--cream); }
.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid oklch(30% 0.02 200);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: border-color 160ms, color 160ms;
}
.footer-social a:hover { border-color: var(--cream); color: var(--cream); }
.legal-note {
  font-size: 12px;
  line-height: 1.6;
  color: oklch(60% 0.01 200);
  margin-top: 18px;
  max-height: 220px;
  overflow: auto;
  padding-right: 12px;
}
.legal-note::-webkit-scrollbar { width: 4px; }
.legal-note::-webkit-scrollbar-thumb { background: oklch(30% 0.01 200); border-radius: 4px; }
.footer-bottom {
  border-top: 1px solid oklch(25% 0.02 200);
  margin-top: 56px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: oklch(55% 0.01 200);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GENERIC PAGE (Privacy Policy, Terms, and any other WordPress
   page edited directly in wp-admin without a custom template)
   ============================================================ */
.generic-page {
  padding: 24px 0 96px;
}
.generic-page__body {
  max-width: 780px;
}
.generic-page__body h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-top: 56px;
  margin-bottom: 16px;
}
.generic-page__body h2:first-child { margin-top: 0; }
.generic-page__body h3 {
  font-size: 19px;
  margin-top: 32px;
  margin-bottom: 12px;
}
.generic-page__body p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-700);
  margin-top: 14px;
}
.generic-page__body ul,
.generic-page__body ol {
  margin-top: 14px;
  padding-left: 22px;
  color: var(--ink-700);
  font-size: 15.5px;
  line-height: 1.7;
}
.generic-page__body li { margin-bottom: 8px; }
.generic-page__body a {
  color: var(--green-900);
  border-bottom: 1px solid var(--line-strong);
}
.generic-page__body a:hover { border-color: var(--green-800); }
.generic-page__body strong { color: var(--ink-900); }
.generic-page__body .toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 24px;
}
.generic-page__body .toc h2 { margin-top: 0; font-size: 18px; }
.generic-page__body .toc ul { columns: 2; column-gap: 32px; }
@media (max-width: 600px) {
  .generic-page__body .toc ul { columns: 1; }
}

/* ============================================================
   FADE-IN
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 480ms ease, transform 480ms ease;
}
.fade-in.is-in {
  opacity: 1;
  transform: none;
}
