:root {
  --ink: #111a35;
  --ink-2: #17234a;
  --rice: #f7f3e9;
  --paper: #fffdf8;
  --saffron: #f8b51c;
  --lime: #b9d531;
  --lacquer: #ef4d31;
  --teal: #087d79;
  --line: rgba(17, 26, 53, .16);
  --shadow: 0 22px 70px rgba(8, 14, 36, .16);
  --hero-image: url("hero-agriculture.webp");
  --capital-image: url("knowledge.webp");
  --learning-image: url("landscape.webp");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 1rem; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -4rem; background: white; padding: .7rem 1rem; border-radius: .4rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: 76px; padding: 0 clamp(1.1rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; color: white; border-bottom: 1px solid rgba(255,255,255,.22); transition: background .3s, color .3s, height .3s; }
.site-header.scrolled { height: 66px; background: rgba(255,253,248,.94); color: var(--ink); box-shadow: 0 5px 22px rgba(9,19,42,.08); backdrop-filter: blur(12px); }
.brand { display: inline-flex; gap: .72rem; align-items: center; text-decoration: none; font-size: .96rem; letter-spacing: -.02em; }
.brand strong { letter-spacing: .08em; }
.brand-mark { width: 31px; height: 31px; display: grid; gap: 3px; transform: rotate(-8deg); }
.brand-mark i { display: block; border-radius: 999px; }
.brand-mark i:nth-child(1) { background: var(--saffron); }
.brand-mark i:nth-child(2) { background: var(--lacquer); margin-left: 6px; }
.brand-mark i:nth-child(3) { background: var(--lime); margin-left: 12px; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); font-size: .86rem; font-weight: 600; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta) { opacity: .86; }
.site-nav a:hover { opacity: 1; }
.nav-cta { border: 1px solid currentColor; padding: .62rem 1rem; border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: none; color: inherit; width: 44px; height: 44px; padding: 11px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: currentColor; margin: 7px 0; }

.hero { min-height: 810px; height: 100svh; color: white; position: relative; display: grid; align-items: end; overflow: hidden; background: var(--ink); }
.hero-photo { position: absolute; inset: 0; background: linear-gradient(120deg, #223054, #0c765f); background-image: var(--hero-image, linear-gradient(120deg, #223054, #0c765f)); background-size: cover; background-position: 58% center; transform: scale(1.02); }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,12,31,.93) 0%, rgba(7,14,34,.72) 46%, rgba(8,14,31,.18) 78%), linear-gradient(0deg, rgba(4,10,28,.75), transparent 50%); }
.hero-content { position: relative; z-index: 2; max-width: 850px; padding: 10rem clamp(1.25rem, 7vw, 7.5rem) 8.2rem; }
.eyebrow, .section-kicker { margin: 0 0 1.25rem; text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: #fff4c2; }
.eyebrow span { width: 34px; height: 2px; background: var(--saffron); }
h1, h2 { font-family: "Newsreader", Georgia, serif; font-weight: 500; letter-spacing: -.04em; line-height: .96; }
h1 { margin: 0; font-size: clamp(4.4rem, 9vw, 8.5rem); max-width: 1040px; }
h1 em, .join h2 em { color: var(--saffron); font-weight: inherit; }
.hero-deck { max-width: 675px; margin: 2rem 0 0; font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.55; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2.25rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.7rem; min-width: 205px; padding: .92rem 1.15rem; border: 1px solid transparent; text-decoration: none; border-radius: 2px; font-size: .9rem; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--saffron); color: var(--ink); }
.button-ghost { color: white; border-color: rgba(255,255,255,.55); }
.hero-panel { position: absolute; z-index: 2; right: clamp(1.25rem, 6vw, 7rem); bottom: 3.5rem; display: grid; grid-template-columns: repeat(3, 1fr); width: min(620px, 46vw); background: rgba(10,20,44,.74); border-top: 4px solid var(--saffron); backdrop-filter: blur(10px); }
.hero-panel div { padding: 1.35rem; border-right: 1px solid rgba(255,255,255,.15); }
.hero-panel div:last-child { border-right: 0; }
.hero-panel strong { display: block; font-family: "Newsreader", serif; font-size: 2.4rem; line-height: 1; color: var(--saffron); }
.hero-panel span { display: block; font-size: .72rem; line-height: 1.35; margin-top: .45rem; color: rgba(255,255,255,.72); }
.photo-credit { font-size: .68rem; margin: .55rem 0 0; color: rgba(17,26,53,.57); }
.photo-credit a { color: inherit; }
.hero-credit { position: absolute; z-index: 2; right: 1rem; bottom: .5rem; color: rgba(255,255,255,.6); }

.featured-opportunity { padding: clamp(2.2rem, 5vw, 4.5rem) clamp(1.25rem, 7vw, 7.5rem); background: var(--saffron); display: grid; grid-template-columns: .28fr minmax(170px, .5fr) 1.15fr .48fr; gap: clamp(1.5rem, 3vw, 3.2rem); align-items: center; }
.featured-label { align-self: stretch; border-right: 1px solid rgba(17,26,53,.28); padding-right: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.featured-label span { width: max-content; background: var(--ink); color: white; padding: .38rem .66rem; text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 700; }
.featured-label small { font-size: .78rem; font-weight: 700; }
.featured-copy .section-kicker { color: rgba(17,26,53,.68); margin-bottom: .8rem; }
.featured-copy h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.8rem); line-height: 1.02; }
.featured-copy p:last-child { margin: 1rem 0 0; max-width: 850px; }
.featured-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.featured-actions .text-link { border-color: var(--ink); }
.featured-artwork { display: block; align-self: center; background: var(--rice); box-shadow: 0 18px 45px rgba(17,26,53,.16); transform: rotate(-1.2deg); transition: transform .25s ease, box-shadow .25s ease; }
.featured-artwork:hover, .featured-artwork:focus-visible { transform: rotate(0) translateY(-4px); box-shadow: 0 22px 55px rgba(17,26,53,.22); }
.featured-artwork img { display: block; width: 100%; height: auto; object-fit: contain; }

.opening { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 7.5rem); display: grid; grid-template-columns: .42fr 1.2fr .8fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.section-kicker { color: var(--teal); }
.section-kicker.light { color: var(--saffron); }
.opening h2, .section-heading h2, .capitals h2, .commons h2 { font-size: clamp(2.8rem, 5vw, 5.4rem); margin: 0; }
.opening .lead { font-size: 1.17rem; max-width: 760px; margin: 2rem 0 0; color: #46506b; }
.belief-card { border-top: 5px solid var(--lacquer); background: var(--rice); padding: 1.7rem; }
.belief-card span { color: var(--lacquer); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.belief-card blockquote { font-family: "Newsreader", serif; font-size: 1.55rem; line-height: 1.25; margin: 1.2rem 0 0; }

.principles { padding: 0 clamp(1.25rem, 7vw, 7.5rem) clamp(5rem, 10vw, 10rem); display: grid; grid-template-columns: repeat(4, 1fr); }
.principles article { padding: 1.8rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); min-height: 275px; }
.principles article:last-child { border-right: 1px solid var(--line); }
.principles .number { color: var(--lacquer); font-weight: 700; font-size: .75rem; }
.principles h3 { font-size: 1.2rem; margin: 3.5rem 0 .7rem; }
.principles p { color: #596079; font-size: .9rem; margin: 0; }

.pathways { background: var(--rice); padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 7.5rem); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading > p { margin: 0 0 .6rem; color: #5f667b; max-width: 500px; }
.pathway-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1rem; }
.pathway-card { position: relative; min-height: 480px; padding: 1.7rem; display: flex; flex-direction: column; color: white; overflow: hidden; }
.pathway-card::before { content: ""; position: absolute; inset: 0; opacity: .12; background: repeating-linear-gradient(135deg, transparent 0 20px, #fff 20px 21px); }
.pathway-card > * { position: relative; }
.pathway-capital { background: var(--ink); }
.pathway-learning { background: var(--teal); }
.pathway-knowledge { background: #9c2e27; }
.pathway-top { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .12em; font-size: .67rem; font-weight: 700; }
.pathway-top span:last-child { font-size: 1.2rem; }
.pathway-card h3 { font-family: "Newsreader", serif; font-weight: 500; font-size: clamp(2rem, 3vw, 3.2rem); line-height: .98; margin: auto 0 1rem; max-width: 430px; }
.pathway-card p { color: rgba(255,255,255,.78); font-size: .9rem; }
.pathway-card ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; font-size: .78rem; }
.pathway-card li { border-top: 1px solid rgba(255,255,255,.25); padding: .5rem 0; }
.pathway-card a { font-size: .84rem; font-weight: 700; color: white; display: flex; justify-content: space-between; text-decoration: none; border-top: 1px solid white; padding-top: .8rem; }

.capitals { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 7.5rem); }
.capitals-visual { position: relative; align-self: start; }
.image-card { background-size: cover; background-position: center; }
.capital-image { aspect-ratio: 4/5; background-color: #bdc9b4; background-image: var(--capital-image, linear-gradient(145deg, #294b44, #e4b34e)); }
.route-tag { position: absolute; right: -1.5rem; bottom: 3.5rem; width: min(410px, 80%); background: var(--saffron); color: var(--ink); padding: 1rem 1.25rem; box-shadow: var(--shadow); }
.route-tag span { display: block; text-transform: uppercase; letter-spacing: .13em; font-size: .65rem; }
.route-tag strong { display: block; font-size: .93rem; margin-top: .25rem; }
.capitals-copy > p:not(.section-kicker) { color: #5a6175; max-width: 620px; }
.roadmap { list-style: none; padding: 0; margin: 2.8rem 0; }
.roadmap li { display: grid; grid-template-columns: 42px 1fr; gap: 1.1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.roadmap li:last-child { border-bottom: 1px solid var(--line); }
.roadmap li > span { color: var(--lacquer); font-size: .72rem; font-weight: 700; }
.roadmap strong { display: block; font-size: .98rem; }
.roadmap p { margin: .2rem 0 0; font-size: .86rem; color: #646b7d; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 2rem; border-bottom: 2px solid var(--ink); padding-bottom: .35rem; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; }
.text-link.secondary { border-bottom-width: 1px; color: #4f586f; }

.learning { background: var(--ink); color: white; display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; }
.learning-copy { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 7.5rem); }
.learning-copy h2 { font-size: clamp(3.4rem, 6vw, 6.4rem); margin: 0; }
.learning-copy > p:not(.section-kicker) { color: rgba(255,255,255,.69); max-width: 620px; font-size: 1.05rem; }
.learning-points { margin: 2.5rem 0; max-width: 650px; }
.learning-points div { border-top: 1px solid rgba(255,255,255,.2); padding: .85rem 0; display: grid; grid-template-columns: .75fr 1.25fr; gap: 1rem; }
.learning-points strong { font-size: .86rem; }
.learning-points span { font-size: .8rem; color: rgba(255,255,255,.64); }
.button-saffron { background: var(--saffron); color: var(--ink); }
.learning-visual { position: relative; min-height: 600px; }
.learning-image { position: absolute; inset: 0; background-color: #756345; background-image: var(--learning-image, linear-gradient(135deg, #956b31, #0c6b64)); }
.learning-visual .photo-credit { position: absolute; right: 1rem; bottom: .7rem; z-index: 2; }
.passport-stamp { position: absolute; z-index: 2; left: -72px; top: 9rem; width: 145px; aspect-ratio: 1; border: 3px double var(--saffron); color: var(--saffron); border-radius: 50%; display: grid; place-content: center; text-align: center; transform: rotate(-9deg); background: rgba(17,26,53,.88); }
.passport-stamp span { font-weight: 700; line-height: 1.05; letter-spacing: .08em; }
.passport-stamp small { letter-spacing: .26em; margin-top: .35rem; }

.commons { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 7.5rem); }
.section-heading.compact h2 { max-width: 780px; }
.commons-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.commons-grid article { padding: 1.8rem; min-height: 250px; border-left: 1px solid var(--line); }
.commons-grid article:last-child { border-right: 1px solid var(--line); }
.commons-grid span { font-size: .68rem; font-weight: 700; color: var(--teal); }
.commons-grid h3 { margin: 4rem 0 .7rem; font-size: 1.1rem; }
.commons-grid p { margin: 0; font-size: .85rem; color: #626a7c; }

.network { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 7.5rem); background: var(--teal); color: white; }
.network-intro { display: grid; grid-template-columns: .4fr .8fr 1fr; gap: 3rem; align-items: start; }
.network-intro .section-kicker { grid-column: 1; }
.network-intro h2 { font-size: clamp(3rem, 6vw, 6rem); margin: 0; }
.network-intro > p:last-child { color: rgba(255,255,255,.78); margin: .5rem 0 0; }
.current-members { display: grid; grid-template-columns: repeat(4, 1fr); margin: 4rem 0 2.5rem; border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); }
.current-members > a { min-height: 230px; padding: 1.4rem; display: flex; flex-direction: column; text-decoration: none; border-right: 1px solid rgba(255,255,255,.25); transition: background .2s, color .2s; }
.current-members > a:last-child { border-right: 0; }
.current-members > a:hover { background: var(--saffron); color: var(--ink); }
.current-members .member-role { text-transform: uppercase; letter-spacing: .12em; font-size: .64rem; opacity: .7; }
.current-members strong { margin: auto 0; font-family: "Newsreader", serif; font-size: clamp(2rem, 3vw, 3.4rem); font-weight: 500; }
.current-members .member-action { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 700; }
.asean-table > p { margin: 0 0 1rem; text-transform: uppercase; font-size: .68rem; letter-spacing: .14em; color: rgba(255,255,255,.68); }
.member-states { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 4rem; }
.member-states span { border: 1px solid rgba(255,255,255,.42); padding: .48rem .76rem; border-radius: 999px; font-size: .76rem; }
.network-model { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.35); }
.network-model div { padding: 1.4rem 1.4rem 0 0; display: flex; flex-direction: column; }
.network-model strong { font-size: .9rem; }
.network-model span { color: rgba(255,255,255,.68); font-size: .8rem; margin-top: .45rem; max-width: 320px; }

.join { background: var(--saffron); padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 7.5rem); text-align: center; }
.join .section-kicker { color: var(--ink); }
.join h2 { font-size: clamp(3.6rem, 8vw, 8.2rem); margin: 0 auto; max-width: 1050px; }
.join h2 em { color: #9c2e27; }
.join p:not(.section-kicker) { max-width: 600px; margin: 2rem auto; }
.button-dark { background: var(--ink); color: white; margin: 0 auto; }

.references { padding: 4rem clamp(1.25rem, 7vw, 7.5rem); background: var(--rice); }
.references h2 { font-family: "DM Sans", sans-serif; font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 1.5rem; }
.reference-links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.reference-links a { padding: 1.2rem 1rem 1.2rem 0; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; text-decoration: none; border-bottom: 1px solid var(--line); font-size: .8rem; }
.reference-links span { color: var(--lacquer); font-weight: 700; }

footer { background: #0a1127; color: white; padding: 4rem clamp(1.25rem, 7vw, 7.5rem); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 3rem; }
footer h3 { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--saffron); margin: 0 0 1rem; }
footer a { display: block; text-decoration: none; font-size: .78rem; margin: .5rem 0; color: rgba(255,255,255,.75); }
.footer-brand p { font-family: "Newsreader", serif; font-size: 1.5rem; color: var(--saffron); margin: 1.6rem 0 0; }
.footer-note p { margin: 0 0 1.3rem; font-size: .7rem; color: rgba(255,255,255,.52); line-height: 1.6; }
.footer-note small { color: rgba(255,255,255,.45); }

/* News and opportunities */
.updates-intro { padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7.5rem); display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(2rem, 5vw, 6rem); }
.updates-intro h2 { margin: 0; font-size: clamp(3rem, 6vw, 6rem); }
.updates-intro p { max-width: 720px; color: #576075; font-size: 1.08rem; }
.open-call { scroll-margin-top: 70px; background: var(--rice); padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7.5rem); }
.open-call-grid { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(2rem, 6vw, 7rem); }
.open-call-side { position: sticky; top: 90px; align-self: start; display: grid; gap: 1rem; }
.open-call-artwork { margin: 0; background: var(--rice); border: 1px solid var(--line); }
.open-call-artwork img { display: block; width: 100%; height: auto; }
.open-call-artwork figcaption { padding: .85rem 1rem; color: #5b6479; font-size: .74rem; line-height: 1.4; }
.deadline-card { background: var(--ink); color: white; padding: clamp(1.8rem, 4vw, 3rem); }
.deadline-card > span { color: var(--saffron); text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 700; }
.deadline-card strong { display: block; font-family: "Newsreader", serif; font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: .95; margin: 1rem 0 1.7rem; }
.deadline-card p { color: rgba(255,255,255,.72); }
.deadline-card .button { margin-top: 1rem; }
.open-call-copy h2 { font-size: clamp(3rem, 5.4vw, 5.6rem); margin: 0 0 1.5rem; }
.open-call-copy .lead { font-family: "Newsreader", serif; font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.3; }
.open-call-copy h3 { margin: 2.4rem 0 .7rem; font-size: 1.05rem; }
.open-call-copy ul { padding-left: 1.2rem; }
.open-call-copy li { margin: .45rem 0; }
.updates-grid { padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7.5rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.update-card { border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.3rem); min-height: 280px; display: flex; flex-direction: column; }
.update-card .tag { color: var(--teal); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 700; }
.update-card h3 { font-family: "Newsreader", serif; font-size: 2rem; line-height: 1.08; margin: 1rem 0; }
.update-card p { color: #5b6479; }
.update-card .text-link { margin-top: auto; }

.members-page { background: var(--paper); }
.members-page .site-header { color: var(--ink); background: rgba(255,253,248,.94); box-shadow: 0 5px 22px rgba(9,19,42,.08); backdrop-filter: blur(12px); }
.members-hero { min-height: 680px; background: var(--ink); color: white; padding: 11rem clamp(1.25rem, 7vw, 7.5rem) 5rem; }
.members-hero h1 { font-size: clamp(4rem, 8vw, 8rem); }
.members-hero > p:not(.section-kicker) { max-width: 690px; color: rgba(255,255,255,.74); font-size: 1.08rem; }
.country-jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 3rem; }
.country-jump a { color: white; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: .55rem .9rem; text-decoration: none; font-size: .82rem; }
.country-jump a:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.country-profile { scroll-margin-top: 65px; padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7.5rem); display: grid; grid-template-columns: .3fr 1.3fr .7fr; gap: clamp(2rem, 5vw, 5rem); border-bottom: 1px solid var(--line); }
.country-profile:nth-child(odd) { background: var(--rice); }
.country-index span { color: var(--lacquer); font-weight: 700; font-size: .75rem; }
.country-index p { margin: .4rem 0 0; text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; color: #666e81; }
.country-main h2 { margin: 0 0 1.5rem; font-size: clamp(3.5rem, 7vw, 7rem); }
.country-main .country-lead { font-family: "Newsreader", serif; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.25; color: var(--ink); max-width: 800px; }
.country-main > p:not(.country-lead) { max-width: 720px; color: #5d6578; }
.country-main .text-link { margin-top: 1.5rem; }
.focal-card { align-self: start; background: var(--ink); color: white; padding: 1.6rem; border-top: 5px solid var(--saffron); }
.focal-card > span { color: var(--saffron); text-transform: uppercase; letter-spacing: .13em; font-size: .65rem; font-weight: 700; }
.focal-card strong { display: block; font-family: "Newsreader", serif; font-size: 1.8rem; line-height: 1.1; margin: 1.3rem 0; }
.focal-card p { color: rgba(255,255,255,.64); font-size: .8rem; }
.focal-card a { display: block; color: white; border-top: 1px solid rgba(255,255,255,.3); margin-top: 1.3rem; padding-top: .8rem; text-decoration: none; font-size: .76rem; font-weight: 700; }
.profile-invitation { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 7.5rem); background: var(--saffron); text-align: center; }
.profile-invitation h2 { margin: 0; font-size: clamp(3rem, 6vw, 6rem); }
.profile-invitation > p:not(.section-kicker) { max-width: 650px; margin: 1.5rem auto 2rem; }

/* Participation and self-assessment tools */
.tool-page { background: var(--rice); }
.tool-page .site-header { color: var(--ink); background: rgba(255,253,248,.96); box-shadow: 0 5px 22px rgba(9,19,42,.08); backdrop-filter: blur(12px); }
.tool-hero { padding: 10.5rem clamp(1.25rem, 7vw, 7.5rem) 4.5rem; background: var(--ink); color: white; }
.tool-hero h1 { font-size: clamp(3.7rem, 7.5vw, 7.4rem); }
.tool-hero > p:not(.section-kicker) { max-width: 780px; margin: 1.8rem 0 0; color: rgba(255,255,255,.74); font-size: 1.08rem; }
.tool-shell { padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 7vw, 7.5rem); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.tool-main { min-width: 0; }
.tool-aside { position: sticky; top: 92px; background: var(--ink); color: white; padding: 1.5rem; border-top: 5px solid var(--saffron); }
.tool-aside h2 { font-family: "DM Sans", sans-serif; letter-spacing: 0; line-height: 1.25; font-size: 1rem; margin: 0 0 .7rem; }
.tool-aside p, .tool-aside li { font-size: .78rem; color: rgba(255,255,255,.68); }
.tool-aside ul { padding-left: 1.1rem; }
.tool-aside a { color: var(--saffron); overflow-wrap: anywhere; }
.form-intro h2, .assessment-intro h2 { font-size: clamp(2.7rem, 5vw, 5rem); margin: 0; }
.form-intro > p, .assessment-intro > p { max-width: 760px; color: #5c6478; }
.notice { margin: 1.5rem 0 2.5rem; padding: 1rem 1.1rem; background: #fff4c9; border-left: 4px solid var(--saffron); font-size: .82rem; }
.agn-form { margin-top: 2.5rem; }
.form-section { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.3rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.form-section h3 { margin: 0 0 1.4rem; font-size: 1.05rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field:last-child { margin-bottom: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .question-label { font-size: .76rem; font-weight: 700; }
.field small { color: #6b7284; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #aab0bd; background: white; color: var(--ink); border-radius: 0; padding: .8rem .85rem; font: inherit; font-size: .9rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(248,181,28,.35); border-color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
button.button { cursor: pointer; font-family: inherit; }
.button-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.prepared-response { display: none; background: #e8f4ef; border: 1px solid #99bfad; padding: 1.4rem; margin-top: 1.5rem; }
.prepared-response.visible { display: block; }
.prepared-response h3 { margin: 0 0 .5rem; }
.prepared-response pre { white-space: pre-wrap; overflow-wrap: anywhere; background: white; padding: 1rem; max-height: 360px; overflow: auto; font: .77rem/1.5 "DM Sans", sans-serif; }
.status-message { min-height: 1.5rem; font-size: .82rem; font-weight: 700; color: var(--teal); }

.assessment-key { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; margin: 2rem 0 1rem; }
.assessment-key span { padding: .65rem .5rem; background: white; border: 1px solid var(--line); font-size: .7rem; text-align: center; }
.pillar { background: var(--paper); border: 1px solid var(--line); margin: 1rem 0; }
.pillar-heading { display: grid; grid-template-columns: 58px 1fr; gap: 1rem; padding: 1.35rem; background: var(--ink); color: white; }
.pillar-number { font-family: "Newsreader", serif; font-size: 2rem; color: var(--saffron); }
.pillar-heading h3 { margin: 0; font-size: 1.05rem; }
.pillar-heading p { margin: .25rem 0 0; color: rgba(255,255,255,.62); font-size: .76rem; }
.assessment-question { min-width: 0; margin: 0; padding: 1.25rem; border: 0; border-top: 1px solid var(--line); }
.assessment-question:first-of-type { border-top: 0; }
.question-label { display: block; margin-bottom: .75rem; }
.rating-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: .45rem; }
.rating-options label { position: relative; cursor: pointer; }
.rating-options input { position: absolute; opacity: 0; pointer-events: none; }
.rating-options span { display: flex; min-height: 45px; align-items: center; justify-content: center; border: 1px solid #aeb4c1; background: white; font-weight: 700; font-size: .8rem; }
.rating-options input:checked + span { color: var(--ink); border-color: var(--saffron); background: var(--saffron); box-shadow: inset 0 0 0 2px white; }
.rating-options input:focus-visible + span { outline: 3px solid rgba(8,125,121,.35); }
.assessment-progress { margin: 1.4rem 0; }
.progress-track { height: 8px; background: #dcd8ce; overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--teal); transition: width .25s; }
.progress-copy { display: flex; justify-content: space-between; font-size: .74rem; margin-top: .45rem; color: #61697c; }
.assessment-error { color: #9c2e27; font-weight: 700; font-size: .84rem; min-height: 1.5rem; }
.results { display: none; margin-top: 2.5rem; background: var(--ink); color: white; padding: clamp(1.5rem, 4vw, 3rem); }
.results.visible { display: block; }
.results-header { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: center; }
.score-ring { width: 170px; aspect-ratio: 1; border-radius: 50%; border: 12px solid var(--saffron); display: grid; place-content: center; text-align: center; }
.score-ring strong { font-family: "Newsreader", serif; font-size: 4rem; line-height: .8; }
.score-ring span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; margin-top: .55rem; }
.results h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4.2rem); }
.results .result-note { color: rgba(255,255,255,.65); font-size: .8rem; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.2rem; }
.radar-wrap { background: white; padding: 1rem; }
#radar-chart { width: 100%; height: auto; display: block; }
.pillar-scores { display: grid; gap: .8rem; }
.pillar-score-head { display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; }
.score-bar { height: 7px; background: rgba(255,255,255,.18); }
.score-bar span { display: block; height: 100%; background: var(--saffron); }
.recommendations { margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.22); padding-top: 1.5rem; }
.recommendations h3 { margin-top: 0; }
.recommendations li { margin: .75rem 0; color: rgba(255,255,255,.78); font-size: .88rem; }
.results .button-outline { border-color: white; color: white; }
.assessment-disclaimer { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .7rem; color: rgba(255,255,255,.55); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .site-nav { gap: 1rem; }
  .site-nav a:nth-child(3), .site-nav a:nth-child(4) { display: none; }
  .hero-panel { width: calc(100% - 2.5rem); left: 1.25rem; right: auto; bottom: 2.4rem; }
  .hero-content { padding-bottom: 12.5rem; }
  .opening { grid-template-columns: .32fr 1.3fr; }
  .belief-card { grid-column: 2; }
  .pathway-grid { grid-template-columns: 1fr 1fr; }
  .pathway-card:first-child { grid-column: 1 / -1; min-height: 420px; }
  .network-intro { grid-template-columns: .35fr 1fr; }
  .network-intro > p:last-child { grid-column: 2; }
  .current-members { grid-template-columns: 1fr 1fr; }
  .current-members > a:nth-child(2) { border-right: 0; }
  .current-members > a:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.25); }
  .country-profile { grid-template-columns: .25fr 1fr; }
  .focal-card { grid-column: 2; }
  .tool-shell { grid-template-columns: 1fr; }
  .tool-aside { position: static; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 66px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 66px 0 0; background: var(--paper); color: var(--ink); flex-direction: column; align-items: stretch; padding: 2rem 1.25rem; gap: 0; transform: translateX(100%); transition: transform .28s ease; }
  .site-nav.open { transform: translateX(0); }
  .site-nav a, .site-nav a:nth-child(3), .site-nav a:nth-child(4) { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav .nav-cta { margin-top: 1rem; padding: .9rem 1rem; text-align: center; border: 1px solid var(--ink); }
  .hero { min-height: 760px; height: 100svh; }
  .hero-content { padding: 7rem 1.25rem 13.5rem; }
  h1 { font-size: clamp(3.8rem, 18vw, 5.7rem); }
  .hero-deck { font-size: 1rem; }
  .hero-panel { grid-template-columns: repeat(3, 1fr); bottom: 1.8rem; }
  .hero-panel div { padding: 1rem .8rem; }
  .hero-panel strong { font-size: 1.7rem; }
  .hero-panel span { font-size: .61rem; }
  .hero-credit { display: none; }
  .hero-photo { background-position: 66% center; }
  .featured-opportunity, .updates-intro, .open-call-grid { grid-template-columns: 1fr; }
  .featured-label { min-height: 90px; border-right: 0; border-bottom: 1px solid rgba(17,26,53,.28); padding: 0 0 1rem; }
  .updates-grid { grid-template-columns: 1fr; }
  .open-call-side { position: static; }
  .opening, .section-heading, .capitals, .learning, .network-intro { grid-template-columns: 1fr; }
  .opening { gap: 1.7rem; }
  .opening .section-kicker, .belief-card, .network-intro .section-kicker, .network-intro > p:last-child { grid-column: 1; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principles article:nth-child(3) { border-top: 0; }
  .principles article { min-height: 240px; padding: 1.3rem; }
  .principles article:nth-child(2) { border-right: 1px solid var(--line); }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-card:first-child { grid-column: auto; }
  .pathway-card { min-height: 430px; }
  .route-tag { right: -.5rem; }
  .learning-visual { min-height: 560px; grid-row: 1; }
  .passport-stamp { left: 1rem; top: auto; bottom: 1rem; }
  .commons-grid, .network-model, .reference-links { grid-template-columns: 1fr 1fr; }
  .commons-grid article { min-height: 220px; }
  .network-model div:last-child, .reference-links a:last-child { grid-column: 1 / -1; }
  .country-profile { grid-template-columns: 1fr; }
  .focal-card { grid-column: 1; }
  .field-grid, .result-grid, .results-header { grid-template-columns: 1fr; }
  .assessment-key { grid-template-columns: 1fr; }
  .assessment-key span { text-align: left; }
  .score-ring { width: 145px; }
  footer { grid-template-columns: 1fr; }
}

@media print {
  .site-header, footer, .tool-hero, .assessment-form > :not(.results), .tool-aside, .results .form-actions { display: none !important; }
  body, .tool-page { background: white; }
  .tool-shell { display: block; padding: 0; }
  .results { display: block !important; color: black; background: white; padding: 0; }
  .score-ring { border-color: #d19000; }
  .results .result-note, .recommendations li, .assessment-disclaimer { color: #333; }
  .score-bar { background: #ddd; }
  .score-bar span { background: #d19000; }
}

@media (max-width: 460px) {
  .brand { font-size: .8rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-panel span { font-size: .57rem; }
  .opening h2, .section-heading h2, .capitals h2, .commons h2 { font-size: 2.65rem; }
  .principles, .commons-grid, .reference-links { grid-template-columns: 1fr; }
  .principles article, .principles article:nth-child(3) { border-top: 1px solid var(--line); border-right: 1px solid var(--line); min-height: 205px; }
  .principles h3, .commons-grid h3 { margin-top: 2rem; }
  .commons-grid article { min-height: 190px; border-right: 1px solid var(--line); }
  .network-model { grid-template-columns: 1fr; }
  .network-model div:last-child { grid-column: auto; }
  .current-members { grid-template-columns: 1fr; }
  .current-members > a { min-height: 180px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .current-members > a:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
