@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Noto+Sans:wght@400;500;600;700&display=swap');

/* ============================================================
   I-STEP Network main stylesheet
   Brand: deep navy #1F3864 / vibrant teal #00B4D8
   Signature element: the ascending step (rising 5-bar rule)
   ============================================================ */

:root {
  --color-primary:    #1F3864;
  --color-secondary:  #15243f;
  --color-accent:     #00B4D8;
  --color-accent-ink: #0a7fa0;
  --color-bg:         #ffffff;
  --color-bg-alt:     #F5F7FA;
  --color-text:       #15243f;
  --color-text-muted: #6B7280;
  --color-border:     #e2e8f0;

  --font-display: 'Montserrat', 'Noto Sans', Arial, sans-serif;
  --font-body:    'Noto Sans', Arial, sans-serif;

  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  clamp(2rem, 4vw, 3rem);
  --text-hero: clamp(2.5rem, 6vw, 4rem);

  --radius:     8px;
  --radius-lg:  16px;
  --max-width:  1200px;
  --padding-section:    80px 24px;
  --padding-section-sm: 48px 20px;

  --shadow:    0 1px 3px rgba(31,56,100,.08), 0 8px 24px rgba(31,56,100,.06);
  --shadow-lg: 0 12px 40px rgba(31,56,100,.14);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--color-primary); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
p { margin: 0 0 1rem; }
a { color: var(--color-accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { line-height: 1.7; }

.container { max-width: var(--max-width); margin-inline: auto; padding-inline: 24px; }
.section { padding: var(--padding-section); }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--color-primary); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--narrow { max-width: 820px; margin-inline: auto; }
.text-center { text-align: center; }
.muted { color: var(--color-text-muted); }
.lead { font-size: var(--text-lg); color: var(--color-text); }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  font-size: var(--text-sm); letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-accent-ink); margin-bottom: .75rem;
}
.pill {
  display: inline-block; background: rgba(0,180,216,.12); color: var(--color-accent-ink);
  font-weight: 600; font-size: var(--text-sm); padding: .35em 1em; border-radius: 999px;
  letter-spacing: .03em;
}

/* High-contrast pill treatment on navy/dark backgrounds. */
.hero .pill,
.section--dark .pill {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.34);
  font-weight: 700;
}

/* ---------- signature: rising 5-bar rule ---------- */
.step-rule { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin: 0 0 1.4rem; }
.step-rule span { width: 12px; border-radius: 2px; background: var(--color-primary); }
.step-rule span:nth-child(1) { height: 40%; }
.step-rule span:nth-child(2) { height: 55%; background: var(--color-accent); }
.step-rule span:nth-child(3) { height: 70%; }
.step-rule span:nth-child(4) { height: 85%; background: var(--color-accent); }
.step-rule span:nth-child(5) { height: 100%; }
/* Imported Gutenberg pages use repeated rules as section separators. The first
   rule is supplied by page.php; later rules need their own breathing room. */
.article > .step-rule:not(:first-child) { margin-top: clamp(3.75rem, 6vw, 5rem); }
.text-center .step-rule { justify-content: center; }
.section--dark .step-rule span { background: #fff; }
.section--dark .step-rule span:nth-child(2),
.section--dark .step-rule span:nth-child(4) { background: var(--color-accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-body);
  font-weight: 600; font-size: var(--text-base); padding: .8rem 1.6rem; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--color-accent); color: #06283d; }
.btn--primary:hover { background: #19c4e6; }
.btn--navy { background: var(--color-primary); color: #fff; }
.btn--navy:hover { background: #25467a; }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--color-primary); }
.section--dark .btn--ghost { color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.text-center .btn-row { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 12px; }
.brand-link { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 165px; height: auto; max-height: 52px; }
@media (max-width: 1100px) { .brand-logo { width: 150px; } }

/* primary nav: one line at desktop widths, controlled gaps */
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav .menu { list-style: none; display: flex; align-items: center; gap: 1.1rem; margin: 0; padding: 0; }
.nav .menu > li { position: relative; }
.nav .menu a { color: var(--color-primary); font-weight: 500; font-size: var(--text-base); white-space: nowrap; }
.nav .menu a:hover { color: var(--color-accent-ink); text-decoration: none; }
.nav .menu-item-has-children > a::after,
.nav .has-sub > a::after { content: '▾'; font-size: .7em; margin-left: .3em; color: var(--color-text-muted); }
.nav .sub-menu, .nav .submenu {
  position: absolute; top: 100%; left: 0; transform: translateY(8px);
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .5rem; min-width: 220px; list-style: none; margin: 0;
  display: none; flex-direction: column;
}
.nav .menu-item-has-children:hover .sub-menu,
.nav .menu-item-has-children:focus-within .sub-menu,
.nav .has-sub:hover .submenu, .nav .has-sub:focus-within .submenu { display: flex; }
.nav .sub-menu a, .nav .submenu a { padding: .55rem .8rem; border-radius: 6px; white-space: nowrap; display: block; }
.nav .sub-menu a:hover, .nav .submenu a:hover { background: var(--color-bg-alt); }

.nav-extra { display: flex; align-items: center; gap: 1rem; }

/* language dropdown */
.lang-select { position: relative; }
.lang-select__btn {
  display: inline-flex; align-items: center; gap: .3rem; background: none; border: 1px solid var(--color-border);
  border-radius: 999px; padding: .35rem .7rem; cursor: pointer; font: inherit; color: var(--color-primary); font-weight: 600;
}
.lang-select__btn:hover { border-color: var(--color-accent); }
.lang-select__chev { font-size: .7em; color: var(--color-text-muted); }
.lang-select__menu {
  position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: .4rem; margin: 0; list-style: none;
  min-width: 170px; z-index: 60;
}
.lang-select__menu a { display: block; padding: .5rem .7rem; border-radius: 6px; color: var(--color-primary); font-weight: 500; }
.lang-select__menu a:hover { background: var(--color-bg-alt); text-decoration: none; }
.lang-select__menu a.is-current { font-weight: 700; color: var(--color-accent-ink); }
/* Default (no JavaScript): the full language list is visible and usable, and the
   toggle button is hidden. When JS is present (.js on <html>) the list collapses
   into a dropdown toggled by the button. */
.no-js .lang-select__btn { display: none; }
.js .lang-select__menu { display: none; }
.js .lang-select.open .lang-select__menu { display: block; }

/* compact Join CTA aligned with the nav controls */
.nav-cta { padding: .5rem 1rem; font-size: var(--text-base); white-space: nowrap; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* submenu toggle button (injected by JS); hover opens submenus on desktop so
   the button is hidden there and only shown in the mobile menu */
.submenu-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--color-primary); font-size: 1rem; line-height: 1; padding: .3rem .5rem; }
.submenu-toggle[aria-expanded="true"] span { display: inline-block; transform: rotate(180deg); }

.hamburger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--color-primary); margin: 5px auto; transition: .25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--color-primary); color: #fff; }
.hero::after {
  content: ''; position: absolute; right: -60px; bottom: -60px; width: 520px; height: 360px;
  background-image:
    linear-gradient(var(--color-accent) 0 0), linear-gradient(#fff 0 0),
    linear-gradient(var(--color-accent) 0 0), linear-gradient(#fff 0 0),
    linear-gradient(var(--color-accent) 0 0);
  background-repeat: no-repeat; opacity: .10;
  background-size: 70px 120px, 70px 180px, 70px 240px, 70px 300px, 70px 360px;
  background-position: 0 100%, 100px 100%, 200px 100%, 300px 100%, 400px 100%;
}
.hero .container { position: relative; z-index: 1; padding-block: 96px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: rgba(255,255,255,.88); max-width: 56ch; font-size: var(--text-lg); }
.hero--page .container { padding-block: 64px; }
.hero--page h1 { max-width: 24ch; }

/* ---------- cards grid ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 1.8rem; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .4rem; }
.card .card-icon {
  width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(0,180,216,.12); margin-bottom: 1rem; color: var(--color-primary);
}
.card .card-icon svg { width: 26px; height: 26px; }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head.text-center { margin-inline: auto; }

/* ---------- strategic pathways (ascending steps) ---------- */
.pathways { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: stretch; margin-top: 2rem; }
.pathway { display: flex; flex-direction: column; height: 100%; }
.pathway {
  background: #fff; border: 1px solid var(--color-border); border-top: 5px solid var(--color-accent);
  border-radius: var(--radius); padding: 1.3rem 1.1rem; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease; text-decoration: none; color: inherit;
  display: block;
}
.pathway:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); text-decoration: none; }
.pathway .p-letter {
  font-family: var(--font-display); font-weight: 700; color: #fff; background: var(--color-primary);
  width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; font-size: 1.3rem;
  margin-bottom: .8rem;
}
.pathway:nth-child(2) .p-letter, .pathway:nth-child(4) .p-letter { background: var(--color-accent); color: #06283d; }
.pathway h3 { font-size: var(--text-lg); margin-bottom: .3rem; }
.pathway p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }
.pathway .more { display: inline-block; margin-top: auto; padding-top: .9rem; font-weight: 600; font-size: var(--text-sm); color: var(--color-accent-ink); }
/* 1.1.2: equal-height, non-staggered cards (the previous ascending nth-child
   margins produced a "piano keyboard" effect and are intentionally removed). */
.pathways .pathway { margin-bottom: 0; }
@media (min-width: 1180px) { .pathways { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 768px) and (max-width: 1179px) { .pathways { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .pathways { grid-template-columns: 1fr; } }

/* ---------- stats ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat .stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem,5vw,3.4rem); color: var(--color-accent); line-height: 1; }
.section--dark .stat .stat-num { color: #4fd6f1; }
.stat .stat-label { display: block; margin-top: .5rem; font-size: var(--text-sm); color: var(--color-text-muted); }
.section--dark .stat .stat-label { color: rgba(255,255,255,.8); }

/* ---------- filter + portfolio ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-btn {
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm);
  padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--color-border);
  background: #fff; color: var(--color-primary); cursor: pointer; transition: .15s;
}
.filter-btn:hover { border-color: var(--color-accent); }
.filter-btn.active { background: var(--color-accent); border-color: var(--color-accent); color: #06283d; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.project-card { background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; display:flex; flex-direction:column; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--color-primary), #2c5599); position: relative; display:grid; place-items:center; }
.project-card .thumb .thumb-mark { display:flex; align-items:flex-end; gap:5px; height:54px; opacity:.9; }
.project-card .thumb .thumb-mark i { width:14px; background:#fff; border-radius:2px; display:block; }
.project-card .thumb .thumb-mark i:nth-child(2),
.project-card .thumb .thumb-mark i:nth-child(4){ background: var(--color-accent); }
.project-card .thumb .thumb-mark i:nth-child(1){height:40%}
.project-card .thumb .thumb-mark i:nth-child(2){height:55%}
.project-card .thumb .thumb-mark i:nth-child(3){height:70%}
.project-card .thumb .thumb-mark i:nth-child(4){height:85%}
.project-card .thumb .thumb-mark i:nth-child(5){height:100%}
.project-card .body { padding: 1.4rem; display:flex; flex-direction:column; flex:1; }
.project-card .badges { display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:.7rem; }
.project-card h3 { font-size: var(--text-lg); margin-bottom:.4rem; }
.project-card p { font-size: var(--text-sm); color: var(--color-text-muted); flex:1; }
/* 1.1.3: small utility classes replacing former inline styles in templates */
.lead--narrow { margin-inline: auto; max-width: 64ch; }
.btn-row--center { justify-content: center; }
.link-plain { color: inherit; text-decoration: none; }
.mt-2 { margin-top: 2rem; }
.badges--tight { margin-bottom: .6rem; }
.article--flush { margin: 0; }
.notice--row { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.h-2xl { font-size: var(--text-2xl); }
.card-more { display: inline-block; margin-top: .9rem; font-weight: 600; }
.foot-menu { list-style:none; margin:0; padding:0; }
.foot-menu li { margin:0; }
.foot-legal h4 { margin-bottom:.6rem; }
.focus-pills { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.4rem; }
/* 1.1.2: blog / news archive */
.post-card__title { font-size: var(--text-lg); margin:.3rem 0 .2rem; }
.post-card__title a { color: var(--color-primary); }
.post-card__date { display:block; font-size:.8rem; color: var(--color-text-muted); margin-bottom:.5rem; }
.post-card__more { display:inline-block; margin-top:.6rem; font-weight:600; color: var(--color-accent-ink); }
.istep-pagination { display:flex; flex-wrap:wrap; gap:.4rem; justify-content:center; margin-top:2.5rem; }
.istep-pagination .page-numbers { display:inline-flex; min-width:2.4rem; height:2.4rem; align-items:center; justify-content:center; padding:0 .6rem; border:1px solid var(--color-border); border-radius:8px; color: var(--color-primary); font-weight:600; }
.istep-pagination .page-numbers.current { background: var(--color-primary); color:#fff; border-color: var(--color-primary); }
.istep-pagination a.page-numbers:hover { border-color: var(--color-accent); text-decoration:none; }
.badge { display:inline-block; font-size:.72rem; font-weight:600; letter-spacing:.02em; padding:.25em .7em; border-radius:999px; background: var(--color-bg-alt); color: var(--color-primary); border:1px solid var(--color-border); }
.badge--accent { background: rgba(0,180,216,.14); color: var(--color-accent-ink); border-color: transparent; }
.badge--prog { background: rgba(31,56,100,.1); color: var(--color-primary); border-color: transparent; }
.badge--ongoing { background: rgba(0,180,216,.16); color: var(--color-accent-ink); border-color: transparent; }
.badge--done { background: #eef1f5; color: var(--color-text-muted); border-color: transparent; }

/* ---------- members ---------- */
.member-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:1.5rem; }
.member-card { background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-lg); padding:1.6rem; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member-logo { height:54px; display:flex; align-items:center; justify-content:flex-start; margin-bottom:1rem; }
.member-logo .ml-badge { width:54px;height:54px;border-radius:10px;background:var(--color-primary);color:#fff;display:grid;place-items:center;font-family:var(--font-display);font-weight:700;font-size:1.3rem; }
.member-card h3 { font-size: var(--text-lg); margin-bottom:.2rem; }
.member-card .m-meta { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom:.8rem; }
.focus-pills { display:flex; flex-wrap:wrap; gap:.4rem; }
.notice { background: rgba(0,180,216,.08); border:1px dashed var(--color-accent); border-radius: var(--radius); padding:1rem 1.2rem; color: var(--color-secondary); font-size: var(--text-sm); margin-bottom:2rem; }

/* ---------- map ---------- */
.map-container { height: 420px; border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--color-border); margin-bottom: 2.5rem; }
/* map popups (single + multi-organisation) */
.map-pop { font-family: var(--font-body); }
.map-pop strong { display:block; color: var(--color-primary); font-family: var(--font-display); font-size: var(--text-base); }
.map-pop .map-pop-sub { display:block; color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom:.3rem; }
.map-pop-list { list-style:none; margin:.2rem 0 0; padding:0; max-height: 180px; overflow:auto; }
.map-pop-list li { border-top:1px solid var(--color-border); }
.map-pop-list li a { display:block; padding:.45rem .1rem; font-weight:600; color: var(--color-accent-ink); }
.map-pop-list li a:hover { text-decoration:none; color: var(--color-primary); }
.map-pop-view { display:inline-block; margin-top:.3rem; font-weight:600; font-size: var(--text-sm); }
/* highlight a member card when the map links jump to it */
.member-card { scroll-margin-top: 96px; }
.member-card:target { outline: 3px solid var(--color-accent); outline-offset: 4px; animation: cardflash 1.6s ease-out 1; }
@keyframes cardflash { 0% { background: rgba(0,180,216,.18); } 100% { background: #fff; } }

/* ---------- two column / data table ---------- */
.cols { display:grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items:start; }
.glance { width:100%; border-collapse: collapse; }
.glance th, .glance td { text-align:left; padding:.8rem 0; border-bottom:1px solid var(--color-border); vertical-align: top; }
.glance th { color: var(--color-text-muted); font-weight:600; width: 38%; font-family: var(--font-body); }

/* ---------- steps / process ---------- */
.process { display:grid; grid-template-columns: repeat(3,1fr); gap:1.5rem; counter-reset: step; }
.process .step { background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-lg); padding:1.6rem; box-shadow: var(--shadow); }
.process .step .num { width:40px;height:40px;border-radius:50%;background:var(--color-accent);color:#06283d;font-family:var(--font-display);font-weight:700;display:grid;place-items:center;margin-bottom:1rem; }

/* ---------- values ---------- */
.values { display:grid; grid-template-columns: repeat(2,1fr); gap:1.4rem; }
.value { border-left: 4px solid var(--color-accent); padding:.3rem 0 .3rem 1.2rem; }
.value strong { display:block; color: var(--color-primary); font-family: var(--font-display); }

/* value chips strip (brand values) */
.value-strip { display:grid; grid-template-columns: repeat(5,1fr); gap:6px; }
.value-strip .v { padding:1.1rem .8rem; text-align:center; color:#fff; }
.value-strip .v:nth-child(odd){ background: var(--color-primary); }
.value-strip .v:nth-child(even){ background: var(--color-accent); color:#06283d; }
.value-strip .v b { display:block; font-family:var(--font-display); font-size: var(--text-base); }
.value-strip .v span { font-size:.78rem; opacity:.85; }

/* ---------- news ---------- */
.post-card { background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); display:flex; flex-direction:column; transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16/9; background: var(--color-bg-alt); display:grid; place-items:center; }
.post-card .body { padding:1.4rem; }
.post-card .cat { color: var(--color-accent-ink); font-weight:600; font-size:.8rem; text-transform:uppercase; letter-spacing:.05em; }
.post-card h3 { font-size: var(--text-lg); margin:.4rem 0; }
.article { max-width: 760px; margin-inline:auto; }
.article h2 { font-size: var(--text-2xl); margin-top:2rem; }

/* ---------- forms ---------- */
.form-card { background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-lg); padding:2rem; box-shadow: var(--shadow); }
.field { margin-bottom:1.1rem; }
.field label { display:block; font-weight:600; margin-bottom:.35rem; font-size: var(--text-sm); }
.field input, .field select, .field textarea {
  width:100%; padding:.75rem .9rem; border:1px solid var(--color-border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background:#fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:2px solid var(--color-accent); border-color: var(--color-accent); }
.field textarea { min-height: 140px; resize: vertical; }
.req { color:#c0392b; }

/* ---------- cta strip ---------- */
.cta-strip { background: var(--color-primary); color:#fff; text-align:center; }
.cta-strip h2 { color:#fff; }
.cta-strip .lead { color: rgba(255,255,255,.88); max-width: 60ch; margin-inline:auto; }

/* ---------- contact block ---------- */
.contact-block { font-style: normal; line-height: 1.9; }
.contact-block .label { color: var(--color-text-muted); font-size: var(--text-sm); display:block; }

/* ---------- footer ---------- */
.site-footer { background: var(--color-primary); color: rgba(255,255,255,.78); padding: 64px 24px 28px; }
.site-footer .cols-foot { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:2.5rem; }
.site-footer img.foot-logo { height:54px; margin-bottom:1rem; }
.site-footer h4 { color:#fff; font-size: var(--text-base); text-transform:uppercase; letter-spacing:.06em; margin-bottom:1rem; }
.site-footer a { color: rgba(255,255,255,.78); display:block; padding:.25rem 0; }
.site-footer a:hover { color:#fff; text-decoration:none; }
.site-footer .foot-desc { font-size: var(--text-sm); max-width: 34ch; }
.foot-bottom { border-top:1px solid rgba(255,255,255,.16); margin-top:2.5rem; padding-top:1.5rem; display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; font-size: var(--text-sm); }
.foot-bottom a { display:inline; }

/* ---------- breadcrumb ---------- */
.crumb { font-size: var(--text-sm); color: rgba(255,255,255,.7); margin-bottom: .8rem; }
.crumb a { color: rgba(255,255,255,.85); }

/* skip link */
.skip-link { position:absolute; left:-999px; top:0; background:#fff; color:var(--color-primary); padding:.6rem 1rem; z-index:100; border-radius:0 0 6px 0; }
.skip-link:focus { left:0; }

/* ---------- hero with illustration ---------- */
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: center; }
.hero:has(.hero-grid)::after { display: none; }
.hero-art img { width: 100%; max-width: 540px; margin-inline: auto; display: block; }

/* ---------- illustrations ---------- */
.illus { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }
.progression-wrap { background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-lg); padding:clamp(1.25rem,3vw,2rem); box-shadow:var(--shadow); overflow:hidden; }
.progression-diagram { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:end; gap:clamp(.65rem,1.5vw,1.25rem); position:relative; padding-top:0; min-height:420px; }
.progression-guide { position:absolute; left:4%; right:4%; top:1rem; height:320px; pointer-events:none; z-index:0; }
.progression-guide svg { display:block; width:100%; height:100%; overflow:visible; }
.progression-guide polyline { fill:none; stroke:var(--color-accent); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:5 12; opacity:.95; }
.progression-guide circle { fill:#fff; stroke:var(--color-accent); stroke-width:4; }
.progression-step { min-width:0; text-align:center; position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:.85rem; justify-content:flex-end; }
.progression-step::before { display:none; }
.progression-bar { width:min(100%,112px); height:var(--bar-height,150px); border-radius:10px; background:var(--color-primary); color:#fff; display:grid; place-items:start center; padding-top:1rem; font:700 clamp(2rem,4vw,2.9rem)/1 var(--font-display); }
.progression-step:nth-child(even) .progression-bar { background:var(--color-accent); color:#06283d; }
.progression-step--1 { --bar-height:140px; }
.progression-step--2 { --bar-height:175px; }
.progression-step--3 { --bar-height:210px; }
.progression-step--4 { --bar-height:245px; }
.progression-step--5 { --bar-height:280px; }
.progression-copy { display:flex; flex-direction:column; gap:.2rem; min-width:0; }
.progression-copy strong { color:var(--color-primary); font-family:var(--font-display); font-size:clamp(.9rem,1.7vw,1.15rem); overflow-wrap:anywhere; }
.progression-copy span { color:var(--color-text-muted); font-size:clamp(.78rem,1.3vw,.92rem); line-height:1.35; }

/* ---------- tick lists ---------- */
.ticks { list-style: none; padding: 0; margin: 0; font-size: var(--text-lg); }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.ticks li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--color-accent-ink); font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { max-width: 440px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .grid--3, .grid--4, .portfolio-grid, .member-grid, .process, .pathways { grid-template-columns: repeat(2,1fr); }
  .pathways .pathway { margin-bottom:0 !important; }
  .cols { grid-template-columns: 1fr; gap:2rem; }
  .stat-strip { grid-template-columns: repeat(2,1fr); gap:2rem; }
  .value-strip { grid-template-columns: repeat(2,1fr); }
  .site-footer .cols-foot { grid-template-columns: 1fr 1fr; gap:2rem; }
}
@media (max-width: 960px) {
  .hamburger { display:block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; background:#fff; flex-direction:column; align-items:stretch;
    gap:0; padding: .5rem 1rem 1.5rem; border-bottom:1px solid var(--color-border); box-shadow: var(--shadow-lg);
    transform: translateY(-150%); transition: transform .28s ease; max-height: calc(100vh - 72px); overflow:auto;
  }
  .nav.open { transform: translateY(0); }
  .nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav .menu > li { width: 100%; }
  .nav .menu-item-has-children, .nav .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .nav .menu-item-has-children > a, .nav .has-sub > a { flex: 1 1 auto; }
  .nav .menu a { padding:.85rem .4rem; border-bottom:1px solid var(--color-bg-alt); white-space: normal; }
  /* mobile: the injected toggle button controls the submenu; parent link stays navigable */
  .submenu-toggle { display: inline-flex; align-items: center; }
  .nav .menu-item-has-children > a::after, .nav .has-sub > a::after { content:''; }
  .nav .sub-menu, .nav .submenu { position: static; transform:none; box-shadow:none; border:0; padding:0 0 0 1rem; min-width:0; display:none; }
  .nav .menu-item-has-children.is-open > .sub-menu,
  .nav .has-sub.is-open > .submenu { display:flex; }
  .nav .sub-menu a, .nav .submenu a { border-bottom:0; padding:.6rem .4rem; }
  .nav-extra { flex-direction: column; align-items: stretch; gap: .6rem; padding-top: .6rem; }
  .lang-select { width: 100%; }
  .lang-select__btn { width: 100%; justify-content: space-between; }
  .lang-select__menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 .4rem; }
  .nav-cta { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
@media (max-width: 760px) {
  .article > .step-rule:not(:first-child) { margin-top: 3rem; }
  .progression-wrap { padding:1rem; }
  .progression-diagram { grid-template-columns:1fr; align-items:stretch; gap:.8rem; padding-top:0; min-height:0; }
  .progression-diagram::before, .progression-step::before { display:none; }
  .progression-step { display:grid; grid-template-columns:64px minmax(0,1fr); text-align:left; gap:1rem; align-items:center; border:1px solid var(--color-border); border-radius:12px; padding:.75rem; background:var(--color-bg-alt); }
  .progression-bar { width:64px; height:64px; min-height:64px; border-radius:10px; padding:0; place-items:center; font-size:2rem; }
  .progression-copy strong { font-size:1.05rem; }
  .progression-copy span { font-size:.9rem; }
}

@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4, .portfolio-grid, .member-grid, .process, .pathways, .values { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .value-strip { grid-template-columns: 1fr; }
  .section { padding: var(--padding-section-sm); }
  .hero .container { padding-block: 64px; }
}
