/* Bright Life Solutions: brand tokens taken from the BrightLife wordmark and emblem */
:root {
  color-scheme: light;
  --leaf: #1F6B34;        /* wordmark green */
  --leaf-600: #185A2B;
  --leaf-50: #EAF3EC;
  --canopy: #0F2A1D;      /* deep green ground */
  --canopy-2: #173A29;
  --marigold: #F2A71B;    /* wordmark gold */
  --marigold-600: #C98200;
  --marigold-50: #FDF3DC;
  --sky: #2F7FC1;         /* emblem ring */
  --paper: #F6F7F2;
  --white: #FFFFFF;
  --ink: #16211B;
  --muted: #56655C;
  --muted-2: #7A887F;
  --line: #DCE3DA;
  --line-dark: rgba(255,255,255,.14);
  --on-dark: #E7EFE9;
  --on-dark-muted: #A9BCB1;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1200px;
  --gutter: 24px;
  --f-display: "Lexend", "Kantumruy Pro", "Segoe UI", system-ui, sans-serif;
  --f-body: "Source Sans 3", "Kantumruy Pro", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { width: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--white);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); min-width: 0; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 104px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--canopy); border-radius: 0 0 8px 8px; text-decoration: none; }
.skip-link:focus { top: 0; }

h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: 0; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.05; letter-spacing: 0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.12; }
h3 { font-size: 1.28rem; line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.kicker { display: inline-block; margin-bottom: 16px; color: var(--leaf); font-family: var(--f-display); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.on-dark .kicker { color: var(--marigold); }
.mono { font-family: var(--f-mono); font-size: .86em; letter-spacing: 0; }

.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; margin-bottom: 56px; }
.sec-head > p { color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
.on-dark .sec-head > p { color: var(--on-dark-muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: 10px; font-family: var(--f-display); font-size: .96rem; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.btn-primary { color: #fff; background: var(--leaf); }
.btn-primary:hover { background: var(--leaf-600); }
.btn-gold { color: var(--canopy); background: var(--marigold); }
.btn-gold:hover { background: #FFB935; }
.btn-ghost { color: var(--leaf); border-color: #BFD3C4; background: transparent; }
.btn-ghost:hover { border-color: var(--leaf); background: var(--leaf-50); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.link { color: var(--leaf); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.link:hover { color: var(--leaf-600); }

/* Announcement + header */
.announce { color: var(--on-dark); background: var(--canopy); font-size: .88rem; }
.announce .wrap { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.announce p { margin-right: auto; }
.announce a { color: var(--marigold); font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand-emblem { width: 50px; height: 50px; border-radius: 50%; }
.brand-word { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links > a:not(.btn) { position: relative; color: #2A3830; font-family: var(--f-display); font-size: .92rem; font-weight: 500; text-decoration: none; padding-block: 6px; }
.nav-links > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--marigold); transition: right .2s ease; }
.nav-links > a:not(.btn):hover::after, .nav-links > a.active::after { right: 0; }
.nav-links > a.active { color: var(--leaf); }
.lang { display: inline-flex; gap: 2px; padding: 3px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.lang-btn { padding: 5px 11px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-family: var(--f-display); font-size: .78rem; font-weight: 600; }
.lang-btn.active { color: #fff; background: var(--leaf); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--canopy); transition: transform .2s, opacity .2s; }

/* Hero */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; padding-block: 72px 80px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 7px 14px 7px 8px; color: var(--leaf-600); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-display); font-size: .82rem; font-weight: 500; }
.hero-eyebrow b { padding: 3px 9px; color: var(--canopy); background: var(--marigold); border-radius: 999px; font-weight: 600; }
.hero h1 { margin-bottom: 26px; color: var(--canopy); }
.hero h1 .amp { color: var(--marigold-600); }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--leaf); flex: 0 0 16px; }
.hero-media { position: relative; }
.hero-photo { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; object-position: center 40%; border-radius: var(--radius-lg); }
.hero-card { position: absolute; left: -28px; bottom: 28px; max-width: 330px; padding: 18px 20px; background: var(--white); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(15,42,29,.18); }
.hero-card small { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--leaf); font-family: var(--f-display); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hero-card strong { display: block; font-family: var(--f-display); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.hero-card .mono { display: block; margin-top: 8px; color: var(--muted); font-size: .78rem; }
.hero-caption { margin-top: 10px; color: var(--muted-2); font-size: .78rem; text-align: right; }

/* Stats + clients */
.proof { padding-block: 56px 64px; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 4px 28px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat strong { display: block; color: var(--leaf); font-family: var(--f-display); font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; max-width: 24ch; }
.clients { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--line); }
.clients > p { color: var(--muted); font-family: var(--f-display); font-size: .88rem; font-weight: 500; line-height: 1.45; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 32px; }
.logo-row figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.logo-row img { height: 56px; width: auto; max-width: 190px; object-fit: contain; }
.logo-row figcaption { color: var(--muted-2); font-size: .72rem; font-weight: 600; letter-spacing: .04em; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.about-grid h2 { margin-bottom: 24px; }
.about-copy { display: grid; gap: 18px; color: var(--muted); }
.about-copy .lead { color: var(--ink); }
.roots { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; margin-top: 12px; padding: 26px; background: var(--paper); border-radius: var(--radius-lg); }
.roots img { width: 150px; height: 150px; border-radius: 50%; }
.roots h3 { margin-bottom: 8px; font-size: 1.15rem; }
.roots p { color: var(--muted); font-size: .98rem; }
.roots .km { display: block; margin-top: 10px; color: var(--leaf); font-family: "Kantumruy Pro", sans-serif; font-weight: 600; }
.values { margin-top: 88px; }
.values-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: 28px; }
.values-head h3 { font-size: 1.55rem; }
.values-head h3 .bright-word { color: var(--leaf); }
.values-head p { color: var(--muted); max-width: 52ch; }
.value-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--canopy); }
.value { padding: 22px 18px 6px 0; }
.value + .value { padding-left: 18px; border-left: 1px solid var(--line); }
.value .letter { display: block; margin-bottom: 14px; color: var(--marigold-600); font-family: var(--f-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.value h4 { margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* Expertise */
.expertise { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.svc { padding: 34px 32px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc:nth-child(3n) { border-right: 0; }
.svc:nth-last-child(-n+3) { border-bottom: 0; }
.svc-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 26px; color: var(--leaf); background: var(--leaf-50); border-radius: 12px; }
.svc-icon svg { width: 22px; height: 22px; }
.svc h3 { margin-bottom: 10px; }
.svc > p { color: var(--muted); font-size: .98rem; }
.svc ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.svc li { position: relative; padding-left: 20px; color: #3C4A42; font-size: .93rem; line-height: 1.45; }
.svc li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 2px; background: var(--marigold); }
.audience { display: grid; grid-template-columns: 260px repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.audience > h3 { font-size: 1.2rem; }
.audience article h4 { margin-bottom: 6px; color: var(--leaf-600); }
.audience article p { color: var(--muted); font-size: .93rem; line-height: 1.5; }

/* Our work */
.project { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: start; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-family: var(--f-display); font-size: .76rem; font-weight: 600; letter-spacing: .02em; }
.tag-live { color: var(--leaf-600); background: var(--leaf-50); }
.tag-live::before { content: ""; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--leaf); }
.tag-code { color: var(--muted); background: var(--paper); border: 1px solid var(--line); font-family: var(--f-mono); font-weight: 500; }
.tag-code-dark { color: var(--on-dark-muted); background: transparent; border-color: var(--line-dark); }
.tag-pilot { color: #7A5300; background: var(--marigold-50); }
.project h3.p-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; margin-bottom: 16px; }
.project .p-kicker { color: var(--ink); font-size: 1.1rem; margin-bottom: 14px; }
.project .p-body { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0; border-top: 1px solid var(--line); }
.facts div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { color: var(--muted-2); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.facts dd { margin: 3px 0 0; font-weight: 600; }
.deliver h4 { margin-bottom: 12px; font-size: .95rem; }
.deliver ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.deliver li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: #33423A; font-size: .97rem; }
.deliver li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--leaf); }
.note { margin-top: 22px; padding-left: 14px; border-left: 3px solid var(--marigold); color: var(--muted-2); font-size: .85rem; }
.map-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.map-card img { width: 100%; }
.map-card figcaption { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.map-card figcaption > span { display: block; margin-bottom: 12px; color: var(--muted-2); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; padding: 0; list-style: none; }
.zones li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; }
.zones b { color: var(--marigold-600); font-family: var(--f-mono); font-size: .78rem; font-weight: 500; }
.zones strong { display: block; font-family: var(--f-display); font-size: .96rem; font-weight: 600; }
.zones small { color: var(--muted); font-size: .85rem; }
.map-card .target-note { margin-top: 14px; color: var(--muted-2); font-size: .82rem; }

.w2w { margin-top: 96px; color: var(--on-dark); background: var(--canopy); border-radius: 28px; overflow: hidden; }
.w2w-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; padding: 56px 56px 44px; align-items: start; }
.w2w h3.p-title { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin-bottom: 16px; }
.w2w .p-kicker { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.w2w .p-body { color: var(--on-dark-muted); font-size: 1.02rem; }
.w2w .facts { border-top-color: var(--line-dark); }
.w2w .facts div { border-bottom-color: var(--line-dark); }
.w2w .facts div:nth-child(even) { border-left-color: var(--line-dark); }
.w2w .facts dt { color: var(--on-dark-muted); }
.w2w .facts dd { color: #fff; }
.w2w .deliver h4 { color: #fff; }
.w2w .deliver li { color: var(--on-dark-muted); font-size: .95rem; line-height: 1.5; }
.w2w .deliver li strong { color: #fff; font-family: var(--f-display); font-weight: 600; }
.w2w .deliver li svg { color: var(--marigold); }
.hub-card { margin: 0; overflow: hidden; background: var(--canopy-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); }
.hub-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(0,0,0,.22); border-bottom: 1px solid var(--line-dark); }
.hub-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.hub-bar span { min-width: 0; margin-left: 8px; overflow: hidden; color: var(--on-dark-muted); font-family: var(--f-mono); font-size: .74rem; white-space: nowrap; text-overflow: ellipsis; }
.hub-preview { padding: 22px; }
.hub-head { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; }
.hub-head img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
.hub-head small { display: block; color: var(--marigold); font-family: var(--f-display); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hub-head strong { display: block; margin: 2px 0 3px; color: #fff; font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.hub-head span { display: block; color: var(--on-dark-muted); font-size: .9rem; line-height: 1.4; }
.hub-stat { margin: 18px 0 20px; padding: 12px 14px; border: 1px solid var(--line-dark); border-radius: 10px; color: var(--on-dark-muted); font-size: .9rem; line-height: 1.4; }
.hub-stat b { color: #fff; font-family: var(--f-display); font-size: 1.1rem; font-weight: 600; }
.hub-card .loop div { background: var(--canopy); }
.hub-card figcaption { padding: 18px 22px 22px; border-top: 1px solid var(--line-dark); }
.hub-card figcaption .btn { width: 100%; }
.hub-card figcaption p { margin-top: 12px; color: var(--on-dark-muted); font-size: .84rem; line-height: 1.45; }
.loop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; position: relative; }
.loop div { padding: 18px 18px 16px; background: var(--canopy-2); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.loop span { display: block; margin-bottom: 4px; color: var(--marigold); font-family: var(--f-mono); font-size: .74rem; }
.loop strong { font-family: var(--f-display); font-size: 1rem; font-weight: 600; color: #fff; }
.loop-caption { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; color: var(--on-dark-muted); font-size: .86rem; }
.loop-caption svg { width: 18px; height: 18px; color: var(--marigold); }
.bl-role { display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: center; margin: 0 56px; padding: 26px 28px; background: rgba(242,167,27,.1); border: 1px solid rgba(242,167,27,.35); border-radius: var(--radius); }
.bl-role img { width: 76px; height: 76px; border-radius: 50%; }
.bl-role small { display: block; color: var(--marigold); font-family: var(--f-display); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.bl-role h4 { margin: 4px 0 6px; color: #fff; font-size: 1.2rem; }
.bl-role p { color: var(--on-dark); font-size: .95rem; }
.consortium { padding: 36px 56px 48px; }
.consortium > p:first-child { margin-bottom: 14px; color: var(--on-dark-muted); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.partners > span { padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 10px; color: var(--on-dark-muted); font-size: .88rem; }
.partners strong { display: block; color: #fff; font-family: var(--f-display); font-weight: 600; }
.partners .is-bl { border-color: rgba(242,167,27,.5); }
.partners .is-bl strong { color: var(--marigold); }
.program-note { margin-top: 16px; color: var(--on-dark-muted); font-size: .82rem; }

/* CS-25 community space (light variant of .hub-card) + latest-posts feed */
.hero-card-link { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; margin-top: 8px; color: var(--leaf); font-family: var(--f-display); font-size: .88rem; font-weight: 600; text-decoration: none; }
.hero-card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.fn-btn { margin-top: 22px; }
.hub-light .hub-bar a { min-width: 0; margin-left: 8px; overflow: hidden; color: var(--leaf); font-family: var(--f-mono); font-size: .74rem; white-space: nowrap; text-overflow: ellipsis; text-decoration: none; }
.hub-light .hub-bar a:hover { text-decoration: underline; }
@media (max-width: 640px) { .fn-btn { width: 100%; } }
.field-head-cta { align-items: center; }
.field-head-cta h3 { margin-bottom: 4px; }
.fn-pill { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 18px 8px 8px; color: #fff; background: var(--leaf); border-radius: 999px; text-decoration: none; box-shadow: 0 8px 22px rgba(31,107,52,.22); transition: background .18s ease, transform .18s ease; }
.fn-pill:hover { background: var(--leaf-600); transform: translateY(-1px); }
.fn-pill img { width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.fn-pill small { display: block; color: #CFE6D6; font-size: .78rem; line-height: 1.2; }
.fn-pill strong { display: block; font-family: var(--f-display); font-size: .96rem; font-weight: 600; line-height: 1.25; }
.fn-pill-arrow { margin-left: 4px; color: var(--marigold); font-size: 1.1rem; font-weight: 700; }
@media (max-width: 640px) { .fn-pill { width: 100%; } .fn-pill-arrow { margin-left: auto; } }
.mg-hub { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; margin-top: 20px; align-items: stretch; }
.hub-light { display: flex; flex-direction: column; background: var(--white); border-color: var(--line); }
.hub-light .hub-bar { background: var(--paper); border-bottom-color: var(--line); }
.hub-light .hub-bar i { background: #CCD6CD; }
.hub-light .hub-bar span { color: var(--muted-2); }
.hub-light .hub-preview { flex: 1; }
.hub-light .hub-head img { border: 1px solid var(--line); }
.hub-light .hub-head small { color: var(--leaf); }
.hub-light .hub-head strong { color: var(--canopy); }
.hub-light .hub-head span, .hub-light .hub-stat { color: var(--muted); }
.hub-light .hub-stat { margin-bottom: 0; background: var(--leaf-50); border-color: #CFE0D3; }
.hub-light .hub-stat b { color: var(--leaf); }
.hub-light figcaption { border-top-color: var(--line); }
.hub-light figcaption p { color: var(--muted-2); }
.feed { display: flex; flex-direction: column; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feed-label { margin-bottom: 8px; color: var(--leaf); font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
html[lang="km"] .feed-label { letter-spacing: .02em; text-transform: none; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--leaf); vertical-align: middle; animation: live-pulse 2s infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,107,52,.5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(31,107,52,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.feed ul { margin: 0; padding: 0; list-style: none; }
.feed li + li { border-top: 1px solid var(--line); }
.feed li a { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 12px 0; text-decoration: none; }
.feed li img { width: 112px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--leaf-50); }
.feed li a > span { display: grid; gap: 3px; }
.feed time { color: var(--marigold-600); font-family: var(--f-mono); font-size: .78rem; }
.feed li a > span > span { color: #33423A; font-size: .95rem; line-height: 1.4; }
@media (hover: hover) { .feed li a:hover > span > span { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; } }
.feed-all { display: inline-flex; align-items: center; min-height: 40px; margin-top: auto; padding-top: 8px; color: var(--leaf); font-family: var(--f-display); font-weight: 600; text-decoration: none; }
.feed-all:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .mg-hub { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .feed { padding: 16px; }
  .feed li a { grid-template-columns: 88px 1fr; gap: 12px; }
  .feed li img { width: 88px; }
  .feed li a > span > span { font-size: .9rem; }
}

/* Approach */
.approach { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0 22px 0 0; }
.steps li + li { padding-left: 22px; }
.steps .n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; color: var(--canopy); background: var(--marigold); border-radius: 50%; font-family: var(--f-display); font-weight: 700; position: relative; z-index: 1; }
.steps li::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 2px; background: #D8CFA9; }
.steps li:first-child::before { left: 22px; }
.steps li:last-child::before { right: auto; width: 22px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* Vision + roadmap */
.vision { color: var(--on-dark); background: var(--canopy); }
.vision-quote { margin: 0 0 56px; max-width: 30ch; color: #fff; font-family: var(--f-display); font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 500; line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.vision-quote em { color: var(--marigold); font-style: normal; }
.triad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.triad article { padding: 28px 28px 32px 0; }
.triad article + article { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.triad .ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; color: var(--canopy); background: var(--marigold); border-radius: 50%; }
.triad .ic svg { width: 21px; height: 21px; }
.triad h3 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.triad p { color: var(--on-dark-muted); }
.mission { display: grid; grid-template-columns: 300px repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--line-dark); }
.mission > div h2 { color: #fff; font-size: 1.6rem; }
.mission article h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.mission article p { color: var(--on-dark-muted); font-size: .95rem; line-height: 1.55; }

.roadmap { background: var(--white); }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 69px; height: 2px; background: var(--line); }
.milestone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 6px 16px; border: 0; border-radius: 12px; background: transparent; }
.milestone:hover { background: var(--paper); }
.milestone strong { color: var(--muted); font-family: var(--f-display); font-size: clamp(1rem, 1.9vw, 1.45rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.milestone .pin { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid #C6CFC6; position: relative; z-index: 1; transition: all .2s ease; }
.milestone span:last-child { color: var(--muted-2); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.milestone[aria-selected="true"] strong { color: var(--canopy); }
.milestone[aria-selected="true"] .pin { background: var(--marigold); border-color: var(--marigold-600); box-shadow: 0 0 0 6px rgba(242,167,27,.22); }
.milestone[aria-selected="true"] span:last-child { color: var(--marigold-600); }
.roadmap-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px 64px; padding: 40px 44px; background: var(--paper); border-radius: var(--radius-lg); }
.panel-phase { grid-column: 1 / -1; color: var(--marigold-600); font-family: var(--f-display); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.roadmap-panel h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.roadmap-panel > p:not(.panel-phase) { color: var(--muted); }
.roadmap-panel ul { grid-column: 2; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 8px; }
.roadmap-panel li { position: relative; padding-left: 22px; color: #33423A; font-size: .96rem; }
.roadmap-panel li::before { content: "→"; position: absolute; left: 0; color: var(--marigold-600); font-weight: 700; }

/* Team */
.team { background: var(--paper); }
.gov { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; margin-bottom: 20px; }
.gov-card { padding: 30px; border-radius: var(--radius-lg); }
.gov-sc { color: var(--on-dark); background: var(--canopy); }
.gov-sc .tag { color: var(--canopy); background: var(--marigold); margin-bottom: 16px; }
.gov-sc h3 { color: #fff; margin-bottom: 8px; font-size: 1.35rem; }
.gov-sc p { color: var(--on-dark-muted); font-size: .96rem; }
.gov-smt { background: var(--white); border: 1px solid var(--line); }
.gov-smt > p { margin-bottom: 18px; color: var(--leaf); font-family: var(--f-display); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.leader { display: flex; align-items: center; gap: 16px; }
.avatar { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; color: var(--leaf-600); background: var(--leaf-50); border: 1.5px solid #BFD3C4; font-family: var(--f-display); font-weight: 600; }
.leader h4 { font-size: 1.08rem; }
.leader p { color: var(--muted); font-size: .92rem; }
.key-team { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.key-team-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 22px; }
.key-team-head h3 { font-size: 1.3rem; }
.key-team-head p { color: var(--muted); font-size: .95rem; max-width: 60ch; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.person { padding: 18px 18px 16px; background: var(--paper); border-radius: 12px; }
.person .code { color: var(--marigold-600); font-family: var(--f-mono); font-size: .76rem; }
.person h4 { margin: 6px 0 3px; font-size: 1.02rem; }
.person p { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.roster { margin-top: 18px; border-top: 1px solid var(--line); }
.roster summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px 4px; color: var(--leaf); font-family: var(--f-display); font-weight: 600; cursor: pointer; list-style: none; }
.roster summary::-webkit-details-marker { display: none; }
.roster summary svg { width: 20px; height: 20px; transition: transform .2s ease; }
.roster[open] summary svg { transform: rotate(180deg); }
.roster-group { margin-top: 20px; }
.roster-group h5 { margin: 0 0 10px; color: var(--muted); font-family: var(--f-display); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.roster-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 16px; margin: 0; padding: 0; list-style: none; }
.roster-list li { display: flex; gap: 8px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 600; }
.roster-list b { color: var(--marigold-600); font-family: var(--f-mono); font-size: .74rem; font-weight: 500; min-width: 34px; }
.roster-role { margin-top: 4px; color: var(--muted); font-size: .88rem; }

/* Contact + footer */
.contact { color: var(--on-dark); background: var(--leaf-600); background-image: radial-gradient(1200px 500px at 110% -10%, rgba(242,167,27,.18), transparent 60%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.contact h2 { color: #fff; margin-bottom: 18px; }
.contact-copy > p { color: #D5E6DA; font-size: 1.1rem; max-width: 48ch; }
.direct { display: grid; gap: 14px; margin-top: 36px; }
.direct div { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.direct svg { width: 20px; height: 20px; margin-top: 3px; color: var(--marigold); }
.direct a, .direct address { color: #fff; font-style: normal; text-decoration: none; font-weight: 600; }
.direct a:hover { text-decoration: underline; text-underline-offset: 3px; }
.direct address { font-weight: 400; color: #D5E6DA; }
.form { padding: 36px; color: var(--ink); background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.form label { display: block; margin-bottom: 16px; color: #33423A; font-size: .88rem; font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; margin-top: 6px; padding: 12px 14px; color: var(--ink); background: var(--paper); border: 1px solid #CCD6CD; border-radius: 9px; font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(31,107,52,.16); background: var(--white); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form .btn { width: 100%; border: 0; }
.form-note { margin-top: 12px; color: var(--muted-2); font-size: .82rem; text-align: center; }

.site-footer { padding-block: 64px 28px; color: var(--on-dark-muted); background: var(--canopy); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 48px; }
.foot-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.foot-brand img { width: 58px; height: 58px; border-radius: 50%; }
.foot-brand strong { display: block; color: #fff; font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; }
.foot-brand small { display: block; color: var(--marigold); font-family: var(--f-display); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.footer-tag { margin-top: 18px; max-width: 34ch; }
.footer-grid h2 { margin-bottom: 14px; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .84rem; }
.footer-bottom a { text-decoration: none; }

.to-top { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff; background: var(--leaf); box-shadow: 0 10px 28px rgba(15,42,29,.3); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }


/* Field gallery */
.field { margin-top: 88px; }
.field-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 22px; }
.field-head h3 { font-size: 1.55rem; }
.field-head p { color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 14px; }
.field-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.field-grid .field-main { grid-row: span 2; }
.field-grid figure:nth-child(4) { grid-column: 2 / span 2; }
.field-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.field-grid .field-main img { object-position: center 30%; }
.field-grid figure:hover img { transform: scale(1.03); }
.w2w-gallery { margin: 0 56px 40px; }
.w2w-gallery .field-head h3 { color: #fff; }
.w2w-gallery .field-head p { color: var(--on-dark-muted); }
.w2w-gallery .field-head a { color: var(--marigold); font-weight: 600; text-decoration: none; white-space: nowrap; }
.w2w-gallery .field-head a:hover { text-decoration: underline; }
.w2w-gallery .field-grid figure { background: var(--canopy-2); }
.field-grid.g5 figure:nth-child(4) { grid-column: auto; }
.field-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; background: linear-gradient(0deg, rgba(10,28,19,.82), transparent); font-size: .86rem; font-weight: 600; line-height: 1.35; }
@media (max-width: 960px) {
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .field-grid .field-main { grid-column: 1 / -1; grid-row: auto; }
  .field-grid figure:nth-child(4) { grid-column: 1 / -1; }
  .field-grid img, .field-grid .field-main img, .field-grid figure:nth-child(4) img { aspect-ratio: 4 / 3; }
  .field-grid figure:nth-child(4) img { aspect-ratio: 16 / 9; }
  .field-grid.g5 figure:nth-child(4) { grid-column: auto; }
  .field-grid.g5 figure:nth-child(4) img { aspect-ratio: 4 / 3; }
  .w2w-gallery { margin-inline: 32px; }
}
@media (max-width: 640px) {
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  .field-grid figure:nth-child(4) img { aspect-ratio: 4 / 3; }
  .w2w-gallery { margin: 0 22px 32px; }
}
@media (max-width: 400px) {
  .w2w-gallery { margin-inline: 16px; }
}
/* Key people with photo */
.person { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; }
.person-photo, .person .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.person h4 { margin: 2px 0 2px; }

/* Khmer */
html[lang="km"] body { font-family: "Kantumruy Pro", "Noto Sans Khmer", "Khmer UI", sans-serif; font-size: 16px; }
html[lang="km"] h1, html[lang="km"] h2, html[lang="km"] h3, html[lang="km"] h4, html[lang="km"] h5,
html[lang="km"] .vision-quote, html[lang="km"] .btn, html[lang="km"] .kicker { font-family: "Kantumruy Pro", "Noto Sans Khmer", sans-serif; letter-spacing: 0; line-height: 1.45; }
html[lang="km"] h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
html[lang="km"] h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
html[lang="km"] p, html[lang="km"] li { line-height: 1.8; }
html[lang="km"] .kicker, html[lang="km"] .panel-phase, html[lang="km"] .milestone span:last-child { letter-spacing: .02em; text-transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .brand-word { height: 38px; }
  .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience > h3 { grid-column: 1 / -1; }
  .mission { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mission > div { grid-column: 1 / -1; }
  .value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .value:nth-child(4) { padding-left: 0; border-left: 0; }
  .value:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .section { padding-block: 80px; }
  .menu-toggle { display: block; margin-left: 4px; }
  .nav { gap: 12px; }
  .lang { margin-left: auto; }
  .nav-links { position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; align-items: flex-start; gap: 20px; margin: 0; padding: 150px var(--gutter) 40px; background: var(--white); visibility: hidden; transform: translateY(-8px); opacity: 0; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links > a:not(.btn) { font-size: 1.5rem; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .hero-grid, .about-grid, .project, .contact-grid, .sec-head, .w2w-top, .gov { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sec-head { gap: 16px; margin-bottom: 40px; }
  .hero-grid { padding-block: 48px 64px; }
  .hero-card { left: 16px; bottom: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .clients { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .logo-row { justify-content: flex-start; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc, .svc:nth-child(3n), .svc:nth-last-child(-n+3) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .svc:nth-child(2n) { border-right: 0; }
  .svc:nth-last-child(-n+2) { border-bottom: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .steps li, .steps li + li { display: grid; grid-template-columns: 44px 1fr; gap: 0 18px; padding: 0; }
  .steps .n { grid-row: span 2; margin: 0; }
  .steps li::before { display: none; }
  .triad { grid-template-columns: minmax(0, 1fr); }
  .triad article, .triad article + article { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .w2w-top { padding-inline: 32px; }
  .bl-role { margin-inline: 32px; }
  .consortium { padding-inline: 32px; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding-block: 64px; }
  html { scroll-padding-top: 74px; }
  .announce .wrap { padding-block: 8px; }
  .announce p { font-size: .8rem; line-height: 1.4; }
  .announce a { display: none; }
  .nav { height: 68px; }
  .brand { min-width: 0; }
  .brand-emblem { width: 40px; height: 40px; }
  .brand-word { height: 30px; max-width: 34vw; object-fit: contain; }
  .lang-btn { padding: 4px 9px; }
  .nav-links { max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .hero-eyebrow { max-width: 100%; flex-wrap: wrap; border-radius: 14px; }
  .hero-photo { aspect-ratio: 4 / 3.45; }
  .hero-card { position: relative; left: auto; bottom: auto; max-width: none; margin-top: -40px; margin-inline: 12px; }
  .hero-caption { text-align: left; }
  .hero-trust { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .roots { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .roots img { width: 110px; height: 110px; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value, .value + .value { padding: 18px 12px 14px 0; border-left: 0; border-top: 1px solid var(--line); }
  .value:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc, .svc:nth-child(2n), .svc:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 22px; }
  .svc:last-child { border-bottom: 0; }
  .audience { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .facts, .zones, .leaders, .people, .field-row { grid-template-columns: minmax(0, 1fr); }
  .facts div:nth-child(even) { padding-left: 0; border-left: 0; }
  .w2w { border-radius: 20px; margin-top: 72px; }
  .w2w-top { padding: 32px 22px; }
  .bl-role { grid-template-columns: minmax(0, 1fr); margin-inline: 22px; padding: 22px; }
  .bl-role img { width: 60px; height: 60px; }
  .consortium { padding: 28px 22px 32px; }
  .timeline { gap: 0; overscroll-behavior-inline: contain; }
  .timeline::before { top: 58px; }
  .milestone { padding: 10px 2px; }
  .milestone strong { font-size: .86rem; }
  .milestone span:last-child { font-size: .6rem; letter-spacing: .04em; }
  .roadmap-panel { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .roadmap-panel ul { grid-column: 1; }
  .gov-card, .key-team { padding: 22px; }
  .roster-list { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 24px 20px; }
  .field-row { gap: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Key experts: portrait cards */
.people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.expert { margin: 0; overflow: hidden; background: var(--paper); border-radius: var(--radius); }
.expert img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: var(--leaf-50); }
.expert > div { padding: 16px 18px 18px; border-top: 3px solid var(--marigold); }
.expert .code { color: var(--marigold-600); font-family: var(--f-mono); font-size: .76rem; }
.expert h4 { margin: 4px 0 3px; font-size: 1.1rem; }
.expert p { color: var(--muted); font-size: .9rem; line-height: 1.4; }
@media (max-width: 960px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .expert > div { padding: 12px 12px 14px; } .expert h4 { font-size: 1rem; } }
@media (max-width: 640px) { .people { grid-template-columns: minmax(0, 1fr); } .expert { display: grid; grid-template-columns: 112px 1fr; align-items: center; } .expert img { height: 100%; aspect-ratio: auto; min-height: 140px; } .expert > div { border-top: 0; border-left: 3px solid var(--marigold); height: 100%; display: flex; flex-direction: column; justify-content: center; } }

/* ---------- Small phones ---------- */
.direct a, .direct address, .direct span { overflow-wrap: anywhere; min-width: 0; }
.direct .phones { display: flex; flex-wrap: wrap; gap: 4px 16px; }
@media (max-width: 640px) {
  .mission { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 40px; padding-top: 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-grid { gap: 32px; }
  .sec-head h2, .about-grid h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .timeline { display: flex; overflow-x: auto; overflow-y: hidden; gap: 4px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .timeline::-webkit-scrollbar { display: none; }
  .timeline::before { left: calc(var(--gutter) + 36px); right: auto; width: calc((86px + 4px) * 5 - 48px); }
  .milestone { flex: 0 0 86px; scroll-snap-align: start; }
  .milestone strong { font-size: .95rem; white-space: nowrap; }
  .milestone span:last-child { font-size: .64rem; }
  .w2w-top h3.p-title { font-size: 2rem; }
  .contact h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .stat, .stat:nth-child(3) { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .stat:first-child { padding-top: 0; }
  .stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .stat span { max-width: none; }
  .logo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 20px 18px; }
  .logo-row figure { justify-content: center; min-width: 0; }
  .logo-row img { max-width: min(140px, 100%); }
  .loop { grid-template-columns: minmax(0, 1fr); }
  .field-head { align-items: flex-start; }
}
@media (max-width: 400px) {
  :root { --gutter: 14px; }
  .section { padding-block: 52px; }
  .nav { gap: 8px; height: 62px; }
  .brand { gap: 6px; }
  .brand-emblem { width: 34px; height: 34px; }
  .brand-word { height: 25px; max-width: 30vw; }
  .lang { padding: 2px; }
  .lang-btn { padding: 4px 8px; font-size: .72rem; }
  .menu-toggle { width: 40px; height: 40px; padding: 10px; margin-left: 0; }
  .announce p { font-size: .76rem; }
  .hero-eyebrow { font-size: .76rem; flex-wrap: wrap; border-radius: 14px; }
  h1 { font-size: 2.08rem; }
  html[lang="km"] h1 { font-size: 1.8rem; }
  .lead, .hero .lead { font-size: 1.04rem; }
  .hero-card { margin-inline: 8px; padding: 14px 16px; }
  .hero-card strong { font-size: .92rem; }
  .stat strong { font-size: 2rem; }
  .stat span { font-size: .86rem; }
  .logo-row { gap: 18px 22px; }
  .logo-row img { height: 44px; max-width: 150px; }
  .roots { padding: 18px; }
  .value-grid { grid-template-columns: minmax(0, 1fr); }
  .value, .value + .value, .value:nth-child(even) { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; padding: 14px 0; border-left: 0; }
  .value .letter { grid-row: span 2; margin: 0; font-size: 1.6rem; }
  .svc, .svc:nth-child(2n), .svc:nth-child(3n) { padding: 24px 18px; }
  .facts dd { font-size: .95rem; }
  .map-card figcaption { padding: 16px; }
  .w2w-top { padding: 26px 16px; }
  .hub-preview { padding: 18px 16px; }
  .hub-card figcaption { padding: 16px; }
  .hub-head { grid-template-columns: 56px 1fr; gap: 12px; }
  .hub-head img { width: 56px; height: 56px; }
  .bl-role { margin-inline: 16px; padding: 18px; }
  .consortium { padding: 24px 16px 28px; }
  .loop { gap: 10px; }
  .loop div { padding: 14px 12px; }
  .loop strong { font-size: .92rem; }
  .partners { grid-template-columns: minmax(0, 1fr); }
  .roadmap-panel { padding: 22px 16px; }
  .gov-card, .key-team { padding: 18px 16px; }
  .leader { gap: 12px; }
  .avatar { flex-basis: 46px; width: 46px; height: 46px; }
  .expert { grid-template-columns: 96px 1fr; }
  .expert img { min-height: 124px; }
  .expert > div { padding: 10px 12px; }
  .expert h4 { font-size: .98rem; }
  .expert p { font-size: .84rem; }
  .roster summary { font-size: .95rem; }
  .form { padding: 20px 16px; }
  .direct div { grid-template-columns: 20px 1fr; gap: 10px; }
  .direct a { font-size: .95rem; }
  .to-top { right: 12px; width: 42px; height: 42px; }
}

/* Role scope line under expert titles */
.expert p .scope { display: block; margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .8rem; line-height: 1.4; }

/* Contact without the form (form hidden until an email/form service is ready) */
.contact-grid.no-form { grid-template-columns: minmax(0, 1fr); }
.no-form .contact-copy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px 72px; align-items: end; }
.no-form .contact-copy > .kicker, .no-form .contact-copy > h2 { grid-column: 1; }
.no-form .contact-copy > p { grid-column: 1; }
.no-form .direct { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; padding: 28px; background: rgba(0,0,0,.14); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); align-self: center; }
@media (max-width: 960px) {
  .no-form .contact-copy { grid-template-columns: minmax(0, 1fr); }
  .no-form .direct { grid-column: 1; grid-row: auto; margin-top: 20px; }
}
@media (max-width: 400px) { .no-form .direct { padding: 20px 16px; } }

/* ---------- Mobile menu: solid dropdown card ---------- */
@media (max-width: 960px) {
  .site-header { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .site-header { border-bottom-color: var(--line); }
  body.menu-open::before { content: ""; position: fixed; inset: 0; z-index: 35; background: rgba(10, 28, 19, .5); }
  .nav-links {
    position: absolute; inset: auto; top: 100%; left: 0; right: 0; z-index: 5;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 6px var(--gutter) 20px;
    background: var(--white); border-top: 1px solid var(--line);
    border-radius: 0 0 20px 20px; box-shadow: 0 24px 48px rgba(15, 42, 29, .22);
    max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links > a:not(.btn) {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 4px; border-bottom: 1px solid var(--line);
    color: var(--ink); font-size: 1.08rem; font-weight: 500;
  }
  .nav-links > a:not(.btn)::after {
    content: ""; position: static; width: 8px; height: 8px; background: none;
    border-right: 2px solid var(--muted-2); border-top: 2px solid var(--muted-2);
    transform: rotate(45deg); transition: none;
  }
  .nav-links > a:not(.btn):hover, .nav-links > a.active { color: var(--leaf); }
  .nav-links > a.active::after { border-color: var(--marigold-600); }
  .nav-links .btn { width: 100%; margin-top: 18px; min-height: 50px; font-size: 1rem; }
}

/* ---------- Letterhead brand line-up (header + footer) ---------- */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--leaf) 0 72%, var(--marigold) 72% 100%); pointer-events: none; }
.site-header, .site-header.scrolled { border-bottom: 0; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(15, 42, 29, .08); }
.brand-emblem { width: 56px; height: 56px; }
.brand-names { display: none; }
@media (min-width: 1240px) {
  .brand-names { display: flex; flex-direction: column; justify-content: center; gap: 2px; margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--line); }
  .bn-km { color: var(--leaf); font-family: "Kantumruy Pro", "Noto Sans Khmer", sans-serif; font-size: 1.02rem; font-weight: 600; line-height: 1.35; white-space: nowrap; }
  .bn-en { color: var(--canopy); font-family: var(--f-display); font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
  .nav-links { gap: 22px; }
}
.foot-brand img { width: 64px; height: 64px; }
.foot-brand .fb-km { font-family: "Kantumruy Pro", "Noto Sans Khmer", sans-serif; font-size: 1.2rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.foot-brand small { margin-top: 2px; color: var(--marigold); letter-spacing: .18em; }
.footer-bottom { border-top: 0; position: relative; }
.footer-bottom::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 3px; background: linear-gradient(90deg, var(--leaf) 0 72%, var(--marigold) 72% 100%); border-radius: 2px; opacity: .9; }
@media (max-width: 960px) {
  .brand-emblem { width: 46px; height: 46px; }
  body.menu-open .site-header { border-bottom: 0; }
}
@media (max-width: 400px) { .brand-emblem { width: 36px; height: 36px; } }
