/*
Theme Name: HSDF
Theme URI: https://modern-fox.10web.cloud/
Author: Hope and Social Development Foundation
Description: Custom brand-led WordPress theme for Hope and Social Development Foundation.
Version: 1.2.0
Text Domain: hsdf
*/

:root {
  --blue: #0757a6;
  --blue-dark: #063f7b;
  --blue-deep: #032b57;
  --green: #3eae4b;
  --green-dark: #267c35;
  --gold: #ffd23f;
  --ink: #102538;
  --muted: #5f7180;
  --paper: #f5f8f7;
  --line: #dbe4e5;
  --white: #fff;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
::selection { background: var(--gold); color: var(--blue-deep); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow-light { color: #78d57f; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h2 { margin-bottom: 24px; font-size: clamp(2.25rem, 4vw, 4.15rem); font-weight: 650; line-height: 1.04; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(13, 55, 90, .1);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(16px);
}
.header-inner { position: relative; display: flex; min-height: 82px; align-items: center; gap: 32px; }
.brand { display: inline-flex; min-width: 276px; align-items: center; gap: 12px; }
.brand-logo {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--blue);
}
.brand-logo img { width: 44px; height: auto; transform: translateY(2px); }
.brand-name { display: flex; min-width: 0; flex-direction: column; }
.brand-name strong { color: var(--blue); font-size: 1.15rem; letter-spacing: .16em; }
.brand-name small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.desktop-nav { display: flex; flex: 1; justify-content: center; gap: clamp(18px, 2.5vw, 38px); }
.desktop-nav a { position: relative; padding: 30px 0 28px; color: #344c5d; font-size: .9rem; font-weight: 700; }
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 19px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: .84rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}
.header-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }
.mobile-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}
.mobile-menu-button span { display: block; width: 18px; height: 2px; background: var(--blue-deep); }
.mobile-navigation {
  position: absolute;
  top: 82px;
  right: 0;
  left: 0;
  display: none;
  padding: 18px 24px 28px;
  border-bottom: 1px solid var(--line);
  background: white;
  box-shadow: 0 18px 40px rgba(3, 43, 87, .12);
}
.mobile-navigation.is-open { display: grid; }
.mobile-navigation a { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 750; }

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: linear-gradient(105deg, rgba(3, 43, 87, .99), rgba(7, 87, 166, .94)), var(--blue);
  color: var(--white);
}
.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 75%);
}
.hero-glow { position: absolute; border: 1px solid rgba(103, 208, 119, .28); border-radius: 50%; }
.hero-glow::before, .hero-glow::after {
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(103, 208, 119, .18);
  border-radius: inherit;
  content: "";
}
.hero-glow::after { inset: 68px; }
.hero-glow-one { top: -210px; right: -120px; width: 620px; height: 620px; }
.hero-glow-two { bottom: -360px; left: 18%; width: 540px; height: 540px; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 720px;
  align-items: center;
  grid-template-columns: 1.12fr .88fr;
  gap: 80px;
  padding-block: 90px 110px;
}
.hero-copy h1 {
  max-width: 740px;
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 7vw, 6.55rem);
  font-weight: 650;
  line-height: .94;
}
.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: #d8e9f8;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.62;
}
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 23px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--blue-deep); }
.button-gold:hover { background: #ffe16d; }
.button-ghost { border: 1px solid rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .05); color: white; }
.button-outline-light { border: 1px solid rgba(255, 255, 255, .38); background: transparent; color: white; }
.button-blue { background: var(--blue); color: white; }
.button-blue:hover { background: var(--blue-dark); }
.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  color: #b8d5eb;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .04em;
}
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(62, 174, 75, .18); }
.hero-panel {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 28px 80px rgba(0, 20, 44, .24);
  backdrop-filter: blur(8px);
}
.hero-panel::before { position: absolute; top: 0; left: 0; width: 70px; height: 5px; background: var(--green); content: ""; }
.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #bed8ea;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mini-mark { display: inline-grid; height: 36px; padding: 0 10px; place-items: center; border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; color: var(--gold); }
.hero-panel blockquote { margin: 78px 0 62px; font-size: clamp(1.7rem, 2.5vw, 2.4rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.24; }
.hero-stats { display: grid; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-stats div { display: flex; flex-direction: column; gap: 6px; }
.hero-stats strong { color: var(--gold); font-size: 1.28rem; }
.hero-stats span { color: #bad4e7; font-size: .68rem; line-height: 1.35; }
.hero-bottom-rule { position: absolute; right: 0; bottom: 0; left: 0; height: 8px; background: linear-gradient(90deg, var(--green) 0 67%, var(--gold) 67%); }

.split-heading, .about-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.split-heading h2, .about-story h2 { margin: 0; }
.large-copy p, .prose-large p { color: #3d5262; font-size: clamp(1.22rem, 2vw, 1.58rem); line-height: 1.62; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green);
  color: var(--blue);
  font-size: .9rem;
  font-weight: 800;
}
.programs-preview { background: var(--paper); }
.section-heading-row { display: grid; align-items: end; margin-bottom: 56px; grid-template-columns: 1.15fr .7fr; gap: 80px; }
.section-heading-row h2 { margin: 0; }
.section-heading-row > p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.program-grid { display: grid; border-top: 1px solid #ccd9db; border-left: 1px solid #ccd9db; grid-template-columns: repeat(4, 1fr); }
.program-card {
  position: relative;
  min-height: 410px;
  padding: 28px;
  border-right: 1px solid #ccd9db;
  border-bottom: 1px solid #ccd9db;
  background: transparent;
  transition: background 180ms ease, transform 180ms ease;
}
.program-card:hover { z-index: 1; background: white; box-shadow: 0 24px 60px rgba(3, 43, 87, .08); transform: translateY(-4px); }
.program-number { margin-bottom: 88px; color: var(--green-dark); font-size: .72rem; font-weight: 850; letter-spacing: .14em; }
.program-card h3 { min-height: 64px; margin-bottom: 18px; color: var(--blue-deep); font-size: 1.5rem; line-height: 1.15; }
.program-card p { color: var(--muted); font-size: .93rem; line-height: 1.65; }
.program-card a { position: absolute; right: 28px; bottom: 28px; left: 28px; display: flex; justify-content: space-between; color: var(--blue); font-size: .8rem; font-weight: 800; }
.values-section { background: var(--blue-deep); color: white; }
.values-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 110px; }
.values-sticky { align-self: start; }
.values-sticky > p:not(.eyebrow) { max-width: 440px; margin-bottom: 32px; color: #b7cedf; line-height: 1.7; }
.value-list { border-top: 1px solid rgba(255, 255, 255, .16); }
.value-row { display: grid; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); grid-template-columns: 52px 1fr; gap: 16px; }
.value-row > span { color: var(--green); font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.value-row h3 { margin-bottom: 8px; font-size: 1.45rem; }
.value-row p { margin: 0; color: #b7cedf; line-height: 1.6; }
.partnership-section { background: #e8f1ee; }
.partnership-card { display: grid; padding: 64px; background: white; box-shadow: 0 20px 60px rgba(3, 43, 87, .07); grid-template-columns: 1.1fr .9fr; gap: 80px; }
.partnership-card h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 3.8rem); }
.partnership-card > div:last-child > p { margin-bottom: 28px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }

.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 86% 22%, rgba(65, 180, 78, .24), transparent 30%), var(--blue-deep);
  color: white;
}
.page-hero::after {
  position: absolute;
  top: -260px;
  right: -170px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .03), 0 0 0 140px rgba(255, 255, 255, .02);
  content: "";
}
.page-hero-inner { position: relative; z-index: 1; padding-block: 118px 124px; }
.page-hero h1 { max-width: 960px; margin-bottom: 28px; font-size: clamp(3.4rem, 7vw, 6.7rem); font-weight: 620; line-height: .98; }
.page-hero-inner > p:last-child { max-width: 740px; margin: 0; color: #c6dbea; font-size: clamp(1.08rem, 1.7vw, 1.25rem); line-height: 1.68; }
.vision-mission { background: var(--paper); }
.statement-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 24px; }
.statement-grid article { min-height: 420px; padding: 52px; background: white; }
.statement-grid article:first-child { background: var(--blue); color: white; }
.statement-grid article > span { display: inline-block; margin-bottom: 95px; color: var(--green); font-size: .72rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.statement-grid article:first-child > span { color: var(--gold); }
.statement-grid h2 { margin: 0; font-size: clamp(2.2rem, 3.7vw, 3.85rem); }
.statement-grid article > p { color: #405463; font-size: 1.25rem; line-height: 1.65; }
.value-card-grid { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
.value-card-grid article { min-height: 270px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-card-grid article > span, .model-grid article > span { display: block; margin-bottom: 70px; color: var(--green-dark); font-size: .7rem; font-weight: 850; }
.value-card-grid h3, .model-grid h3 { margin-bottom: 12px; font-size: 1.45rem; }
.value-card-grid p, .model-grid p { margin: 0; color: var(--muted); line-height: 1.6; }
.objectives-section { background: var(--blue-deep); color: white; }
.objectives-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.objectives-layout > div > p:last-child { color: #b5ccdc; line-height: 1.7; }
.objectives-layout ol { margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .15); list-style: none; }
.objectives-layout li { display: grid; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); grid-template-columns: 48px 1fr; }
.objectives-layout li span { color: var(--green); font-size: .7rem; font-weight: 850; }
.objectives-layout li p { margin: 0; color: #d2e2ed; line-height: 1.55; }
.governance-preview { background: #edf4f1; }
.governance-card { display: grid; padding: 60px; background: white; grid-template-columns: 1fr 1fr; gap: 90px; }
.governance-card h2 { margin: 0; }
.governance-card > div:last-child > p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }

.program-detail-section { padding-top: 44px; }
.program-detail { display: grid; padding: 68px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 105px; grid-template-columns: .18fr 1fr .55fr; gap: 46px; }
.program-detail-index { color: var(--green-dark); font-size: .76rem; font-weight: 850; letter-spacing: .14em; }
.program-detail-copy h2 { margin-bottom: 22px; font-size: clamp(2.2rem, 4vw, 3.7rem); }
.program-detail-copy > p:last-child { max-width: 680px; margin: 0; color: #4e6372; font-size: 1.08rem; line-height: 1.74; }
.program-detail ul { align-self: end; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.program-detail li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--blue-dark); font-size: .84rem; font-weight: 800; }
.complementary-section { background: var(--paper); }
.tag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tag-grid div { min-height: 150px; padding: 24px; border: 1px solid var(--line); background: white; }
.tag-grid span { color: var(--green-dark); font-size: .68rem; font-weight: 850; }
.tag-grid p { margin: 42px 0 0; font-size: 1.04rem; font-weight: 750; }
.approach-section, .capacity-section { padding-top: 0; }
.approach-card, .capacity-card { display: grid; padding: 62px; background: var(--blue); color: white; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.approach-card h2, .capacity-card h2 { margin: 0; }
.approach-list { display: grid; gap: 12px; }
.approach-list div { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); font-weight: 700; }
.approach-list span { display: inline-grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--green); font-size: .72rem; }
.cta-band { background: #e9f1ee; }
.cta-band-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.cta-band h2 { max-width: 790px; margin: 0; }

.governance-section { background: var(--paper); }
.governance-layout { display: grid; align-items: start; grid-template-columns: .72fr 1.28fr; gap: 100px; }
.governance-layout h2 { margin: 0; }
.governance-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.governance-facts article { display: flex; min-height: 220px; flex-direction: column; justify-content: flex-end; padding: 26px; background: white; box-shadow: 0 12px 35px rgba(3, 43, 87, .05); }
.governance-facts strong { margin-bottom: 8px; color: var(--blue); font-size: 1.4rem; }
.governance-facts span { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.commitment-list { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
.commitment-list article { min-height: 420px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.commitment-list article > span { display: block; margin-bottom: 100px; color: var(--green-dark); font-size: .7rem; font-weight: 850; }
.commitment-list h3 { margin-bottom: 18px; font-size: 1.48rem; line-height: 1.2; }
.commitment-list p { color: var(--muted); line-height: 1.65; }
.capacity-card { background: var(--blue-deep); }
.capacity-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.capacity-steps div { display: flex; min-height: 82px; align-items: center; gap: 18px; padding: 18px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); font-weight: 700; }
.capacity-steps span { color: var(--green); font-size: .68rem; font-weight: 850; }

.partner-types-section { background: var(--blue-deep); color: white; }
.partner-type-grid { display: grid; border-top: 1px solid rgba(255, 255, 255, .16); border-left: 1px solid rgba(255, 255, 255, .16); grid-template-columns: repeat(3, 1fr); }
.partner-type-grid div { min-height: 210px; padding: 30px; border-right: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16); }
.partner-type-grid span { display: block; margin-bottom: 90px; color: var(--green); font-size: .68rem; font-weight: 850; }
.partner-type-grid h3 { margin: 0; font-size: 1.35rem; }
.model-grid { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); grid-template-columns: repeat(4, 1fr); }
.model-grid article { min-height: 310px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.contact-section { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: 70px; }
.contact-layout aside { align-self: start; padding: 38px; background: var(--blue-deep); color: white; }
.contact-layout aside h2 { margin-bottom: 22px; font-size: clamp(2.2rem, 3.4vw, 3.25rem); }
.contact-layout aside > p:not(.eyebrow) { margin-bottom: 50px; color: #bdd2e1; line-height: 1.7; }
.contact-fact { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.contact-fact span { color: #9bb7ca; font-size: .75rem; }
.contact-fact strong, .contact-fact a { font-size: .82rem; font-weight: 800; text-align: right; }
.contact-fact a { color: var(--gold); }
.enquiry-card { padding: 46px; background: white; box-shadow: 0 22px 60px rgba(3, 43, 87, .07); }
.enquiry-card > div:first-child > p:last-child { color: var(--muted); line-height: 1.6; }
.enquiry-card h2 { margin-bottom: 12px; font-size: clamp(2.1rem, 3.5vw, 3.3rem); }
.enquiry-card form { display: grid; margin-top: 36px; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.enquiry-card label { display: grid; gap: 8px; color: var(--blue-deep); font-size: .76rem; font-weight: 800; }
.enquiry-card input, .enquiry-card select, .enquiry-card textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #cdd9dc;
  border-radius: 0;
  outline: none;
  background: #fbfcfc;
  color: var(--ink);
  font-size: .94rem;
}
.enquiry-card textarea { min-height: 145px; resize: vertical; }
.enquiry-card input:focus, .enquiry-card select:focus, .enquiry-card textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7, 87, 166, .1); }
.enquiry-card form .button { justify-self: start; }
.prepared-message { margin-top: 28px; padding: 22px; border-left: 4px solid var(--green); background: #edf6ef; }
.prepared-message > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.prepared-message button { border: 0; background: none; color: var(--blue); cursor: pointer; font-size: .78rem; font-weight: 850; }
.prepared-message pre { overflow-x: auto; margin: 18px 0 0; color: #354e5f; font: inherit; font-size: .87rem; line-height: 1.55; white-space: pre-wrap; }
.response-note { padding: 34px 0; background: var(--gold); }
.response-note p { margin: 0; color: var(--blue-deep); font-size: 1.02rem; line-height: 1.6; }

.site-footer { background: var(--blue); color: white; }
.footer-main { display: grid; padding-block: 76px; grid-template-columns: 1fr 1fr; gap: 80px; }
.footer-brand img { display: block; width: 118px; height: auto; margin-bottom: 22px; border: 4px solid rgba(255, 255, 255, .18); }
.footer-brand p { margin-bottom: 8px; font-size: 1.05rem; font-weight: 800; }
.footer-brand span { color: #d4e7f7; font-size: .8rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; }
.footer-links div { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-links h3 { margin-bottom: 12px; color: #b9d7f0; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a { color: #fff; font-size: .86rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .24); color: #d4e7f7; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: white; }

@media (max-width: 1040px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu-button { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { padding-top: 20px; }
  .hero-panel { max-width: 650px; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .program-card { min-height: 360px; }
  .program-number { margin-bottom: 54px; }
  .values-layout, .objectives-layout, .contact-layout { grid-template-columns: 1fr; gap: 64px; }
  .partnership-card, .statement-grid, .governance-card, .approach-card, .capacity-card { grid-template-columns: 1fr; gap: 44px; }
  .program-detail { grid-template-columns: 60px 1fr; }
  .program-detail ul { grid-column: 2; }
  .governance-layout { grid-template-columns: 1fr; gap: 50px; }
  .commitment-list { grid-template-columns: 1fr; }
  .commitment-list article { min-height: auto; }
  .commitment-list article > span { margin-bottom: 54px; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 78px 0; }
  .header-inner { min-height: 72px; }
  .brand { min-width: 0; }
  .brand-logo { width: 44px; height: 44px; flex-basis: 44px; }
  .brand-logo img { width: 39px; }
  .brand-name small { display: none; }
  .mobile-navigation { top: 72px; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { padding-block: 76px 90px; }
  .hero-copy h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-panel { padding: 26px; }
  .hero-panel blockquote { margin: 52px 0 46px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { display: grid; align-items: center; grid-template-columns: 110px 1fr; }
  .split-heading, .about-story, .section-heading-row { grid-template-columns: 1fr; gap: 34px; }
  .program-grid, .value-card-grid, .tag-grid, .partner-type-grid, .governance-facts, .model-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 330px; }
  .value-card-grid article, .model-grid article { min-height: auto; }
  .partnership-card, .governance-card, .approach-card, .capacity-card, .enquiry-card { padding: 34px 26px; }
  .page-hero-inner { padding-block: 86px 92px; }
  .page-hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .statement-grid article { min-height: 350px; padding: 34px 28px; }
  .statement-grid article > span { margin-bottom: 65px; }
  .objectives-layout { gap: 46px; }
  .program-detail { grid-template-columns: 1fr; gap: 22px; padding: 48px 0; }
  .program-detail ul { grid-column: auto; margin-top: 18px; }
  .tag-grid { gap: 0; }
  .capacity-steps { grid-template-columns: 1fr; }
  .cta-band-inner { align-items: flex-start; flex-direction: column; }
  .partner-type-grid span { margin-bottom: 55px; }
  .form-row, .footer-main, .footer-links { grid-template-columns: 1fr; }
  .footer-main { gap: 54px; }
  .footer-links { gap: 44px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Image-led HSDF visual system. */
.brand-logo {
  width: 62px;
  height: 54px;
  flex: 0 0 62px;
  border: 1px solid rgba(7, 87, 166, .12);
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(3, 43, 87, .12);
}
.brand-logo img { width: 57px; transform: none; }

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: var(--blue-dark);
  box-shadow: 0 28px 80px rgba(0, 20, 44, .24);
}
.hero-visual::before, .hero-visual::after {
  position: absolute;
  z-index: 3;
  top: 0;
  height: 5px;
  content: "";
}
.hero-visual::before { left: 0; width: 38%; background: var(--green); }
.hero-visual::after { right: 0; width: 16%; background: var(--gold); }
.hero-visual-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 43, 87, .08), rgba(3, 43, 87, .2) 45%, rgba(3, 43, 87, .92));
}
.hero-visual-brand {
  position: absolute;
  z-index: 2;
  top: 26px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 15px 9px 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  background: rgba(3, 43, 87, .82);
  color: white;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(9px);
}
.hero-visual-brand img { width: 54px; height: auto; }
.hero-visual-card { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 36px; }
.hero-visual-card > p { margin-bottom: 12px; color: #83dc8d; font-size: .7rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero-visual-card blockquote { max-width: 500px; margin: 0 0 28px; font-size: clamp(1.55rem, 2.25vw, 2.15rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.24; }
.hero-visual .hero-stats { grid-template-columns: repeat(2, 1fr); }

.program-card { display: flex; min-height: 520px; flex-direction: column; padding: 0; overflow: hidden; background: white; }
.program-card-image { position: relative; min-height: 200px; overflow: hidden; background: var(--blue-deep); }
.program-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.program-card:hover .program-card-image img { transform: scale(1.035); }
.program-card-image::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 43, 87, .46), transparent 58%); content: ""; }
.program-card-image > span {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  background: rgba(3, 43, 87, .82);
  color: var(--gold);
  font-size: .7rem;
  font-weight: 900;
}
.program-card-body { display: flex; flex: 1; flex-direction: column; padding: 26px 28px 28px; }
.program-card .program-number { margin-bottom: 28px; }
.program-card a { position: static; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.visual-disclaimer { margin: 18px 0 0; color: #71838f; font-size: .72rem; text-align: right; }
.value-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(62, 174, 75, .42); border-radius: 50%; background: rgba(62, 174, 75, .08); font-size: .9rem !important; }

.about-visual-layout { display: grid; align-items: center; grid-template-columns: 1fr .95fr; gap: 84px; }
.about-visual { position: relative; min-height: 560px; overflow: hidden; border-radius: 14px; background: var(--blue-deep); box-shadow: 0 28px 70px rgba(3, 43, 87, .13); }
.about-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-note { position: absolute; right: 22px; bottom: 22px; left: 22px; padding: 16px 18px; border-left: 4px solid var(--green); background: rgba(3, 43, 87, .9); color: white; font-size: .78rem; font-weight: 800; }
.about-overview-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.about-fact-row { display: grid; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-fact-row div { display: flex; flex-direction: column; gap: 7px; }
.about-fact-row strong { color: var(--blue); font-size: 1.12rem; }
.about-fact-row span { color: var(--muted); font-size: .68rem; line-height: 1.4; }

.program-detail { grid-template-columns: 44px 260px 1fr .55fr; gap: 34px; }
.program-detail-visual { position: relative; min-height: 250px; overflow: hidden; border-radius: 10px; background: var(--blue-deep); }
.program-detail-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.program-detail-visual::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 43, 87, .55), transparent 60%); content: ""; }
.program-detail-visual > span { position: absolute; z-index: 1; right: 16px; bottom: 16px; display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: var(--gold); color: var(--blue-deep); font-size: .72rem; font-weight: 900; }

.partner-intro-layout { display: grid; align-items: center; grid-template-columns: 1.08fr .92fr; gap: 86px; }
.partner-mosaic { position: relative; display: grid; min-height: 500px; grid-template-columns: 1.35fr .65fr; gap: 10px; }
.partner-mosaic > div { position: relative; overflow: hidden; border-radius: 12px; background: var(--blue-deep); }
.partner-mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.partner-mosaic > span { position: absolute; right: 18px; bottom: 18px; padding: 14px 18px; border-left: 4px solid var(--gold); background: rgba(3, 43, 87, .9); color: white; font-size: .76rem; font-weight: 800; }
.partner-intro-copy > p:not(.eyebrow) { color: var(--muted); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.68; }

.contact-logo { display: inline-grid; margin-bottom: 34px; padding: 12px; place-items: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; background: var(--blue); }
.contact-logo img { width: 140px; height: auto; }

@media (max-width: 1040px) {
  .hero-visual { max-width: 650px; }
  .about-visual-layout, .partner-intro-layout { grid-template-columns: 1fr; gap: 50px; }
  .program-detail { grid-template-columns: 44px 240px 1fr; }
  .program-detail ul { grid-column: 3; }
}

@media (max-width: 760px) {
  .brand-logo { width: 50px; height: 44px; flex-basis: 50px; }
  .brand-logo img { width: 46px; }
  .hero-visual { min-height: 510px; }
  .hero-visual-card { padding: 26px; }
  .hero-visual-brand { top: 20px; left: 20px; }
  .hero-visual-brand span { display: none; }
  .about-visual { min-height: 430px; }
  .about-fact-row { grid-template-columns: 1fr; }
  .partner-mosaic { min-height: 420px; grid-template-columns: 1.2fr .8fr; }
  .program-detail { grid-template-columns: 1fr; }
  .program-detail-visual { min-height: 280px; }
  .program-detail ul { grid-column: auto; }
}
