/* ============================================================
   PHIA — Plant Health International Alliance
   Visual system: deep forest green + slate navy + warm gold.
   Institutional authority over cheap green. Green used as accent (<=30%).
   ============================================================ */
:root {
  --green-900: #0d3a20; --green-800: #14532d; --green-700: #1c6b3c; --green-600: #2f8a55;
  --navy-900: #15243a; --navy-800: #213a55; --navy-700: #33506e;
  --gold-700: #a8851b; --gold: #c9a227; --gold-200: #ecd9a0;
  --cream: #f4f1eb; --paper: #fbfaf6; --line: #e5dfd2; --line-soft: #f0ebe1;
  --ink: #23262b; --ink-soft: #565a61; --muted: #8b8e96; --white: #fff;
  --shadow-sm: 0 1px 2px rgba(20,40,25,.05);
  --shadow: 0 10px 26px rgba(20,40,25,.08), 0 2px 6px rgba(20,40,25,.04);
  --shadow-lg: 0 18px 48px rgba(15,40,25,.12);
  --radius: 12px; --radius-sm: 8px; --radius-lg: 18px;
  --maxw: 1120px; --nav-h: 78px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", Georgia, serif;
  --sans: "Inter", "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.68; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-800); }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.2; font-weight: 750; letter-spacing: 0; margin: 0 0 .5em; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; }
p { margin: 0 0 1rem; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 880px; }
section { position: relative; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-900); color: #eaf2ea; }
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }

/* skip link / a11y */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green-800); color: #fff; padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; cursor: pointer; border: 1.5px solid transparent; transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); white-space: nowrap; will-change: transform; }
.btn--primary { background: var(--green-800); color: #fff; }
.btn--primary:hover { background: var(--green-900); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: #2a2208; }
.btn--gold:hover { background: var(--gold-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { background: transparent; border-color: var(--line); color: var(--navy-800); }
.btn--outline:hover { border-color: var(--green-700); color: var(--green-800); }
.btn--sm { padding: 8px 16px; font-size: .88rem; }

/* ---------- eyebrow / section heads ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.section--green .eyebrow { color: var(--gold-200); }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 3.4vw, 2.65rem); }
.sec-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251,250,246,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line-soft); transition: box-shadow .25s var(--ease), background .25s var(--ease); }
.site-header.scrolled { box-shadow: 0 8px 22px rgba(21,36,58,.07); background: rgba(251,250,246,.98); }
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--navy-900); letter-spacing: -.02em; }
.brand:hover { color: var(--navy-900); }
.brand-static { cursor: default; flex: none; }
.brand .logo { width: 44px; height: 38px; flex: none; object-fit: contain; padding: 2px; border-radius: 10px; background: rgba(255,255,255,.8); filter: drop-shadow(0 5px 10px rgba(20,83,45,.12)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 1.08rem; }
.brand-text span { font-size: .66rem; font-weight: 650; letter-spacing: .06em; color: var(--ink-soft); text-transform: uppercase; }
:lang(zh) .brand-text span { letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { padding: 10px 13px; border-radius: 8px; color: var(--navy-800); font-weight: 700; font-size: .93rem; position: relative; transition: color .18s var(--ease), background .18s var(--ease); }
.nav-links a:hover { color: var(--green-800); background: rgba(20,83,45,.055); }
.nav-links a.active { color: var(--green-800); }
.nav-links a.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--gold); border-radius: 2px; transform-origin: center; animation: phia-nav-line .28s var(--ease-out) both; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.lang-toggle button { border: 0; background: transparent; padding: 6px 11px; font-size: .82rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .15s; }
.lang-toggle button.on { background: var(--green-800); color: #fff; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; color: var(--navy-800); border: 1px solid var(--line); background: var(--white); transition: transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.icon-link:hover { border-color: var(--green-700); color: var(--green-800); }
.nav-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--navy-800); position: relative; transition: .25s; }
.nav-burger span::before { position: absolute; top: -6px; } .nav-burger span::after { position: absolute; top: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #0d4625 0%, #144f29 50%, #1e5f34 100%); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,0)); pointer-events: none; }
.hero-art { position: absolute; right: -40px; top: 0; bottom: 0; width: 46%; opacity: .5; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding: clamp(72px, 12vw, 148px) 0 clamp(68px, 9vw, 112px); max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.08; margin-bottom: 1rem; }
.hero .lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: #d4e5d6; max-width: 640px; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 2.4rem; display: flex; gap: 26px; flex-wrap: wrap; color: #bcd3bf; font-size: .9rem; }
.hero-meta b { color: #fff; }

.page-hero { background: linear-gradient(135deg, #134d28 0%, #16582e 52%, #1d6536 100%); color: #fff; padding: clamp(64px,10vw,108px) 0 clamp(56px,6vw,78px); position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(255,255,255,.02), transparent); pointer-events:none; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.35rem); }
.page-hero p { color: #d8e7d8; font-size: 1.06rem; max-width: 660px; margin: 0; }
.breadcrumb { font-size: .85rem; color: #c6d7c8; margin-bottom: 14px; }
.breadcrumb a { color: #e1ecd9; }

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.stat { background: var(--white); padding: 28px 20px; text-align: center; }
.stat .n { font-size: clamp(1.75rem, 3.6vw, 2.65rem); font-weight: 800; color: var(--green-800); letter-spacing: 0; line-height: 1; }
.stat .n .suf { color: var(--gold); }
.stat .l { margin-top: .5rem; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.stat-strip.on-green .stat { background: rgba(255,255,255,.04); color: #fff; }
.stat-strip.on-green { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.stat-strip.on-green .stat .n { color: #fff; } .stat-strip.on-green .stat .l { color: #cfe0d1; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: 24px; }
.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: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ddd4c3; }
.ic { width: 46px; height: 46px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--green-800); color: #fff; margin-bottom: 16px; }
.ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.14rem; margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
#wwdGrid .card h3 { color: #000; }
.card--link { cursor: pointer; }
.card-num { font-size: .8rem; font-weight: 800; color: var(--gold-700); letter-spacing: .08em; }
.card-media { height: 112px; border-radius: var(--radius-sm); margin: -4px 0 18px; background-color: #e8efe8; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.card-media--climate { background-image: url("/assets/web/gap-climate.jpg?v=20260723-1"); }
.card-media--governance { background-image: url("/assets/web/gap-governance.jpg?v=20260723-1"); }
.card-media--technology { background-image: url("/assets/web/gap-technology.png?v=20260723-1"); }
.card-media--crops { background-image: url("/assets/web/impact-crops.jpeg?v=20260723-1"); }
.card-media--trade { background-image: url("/assets/web/impact-trade.png?v=20260723-1"); }
.card-media--food { background-image: url("/assets/web/impact-food.png?v=20260723-1"); }
.card-media--oxygen { background-image: url("/assets/web/impact-oxygen.png?v=20260723-1"); }
.media-card { padding-top: 24px; }

/* feature row (mission cards on green) */
.feature { padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.9); color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.feature .ic { background: rgba(201,162,39,.2); color: var(--gold-200); }
.feature h3 { color: var(--navy-900); } .feature p { color: var(--ink-soft); }

/* ============================================================
   MEMBERS / MAP
   ============================================================ */
.map-wrap { background: linear-gradient(180deg, #eaf3f2 0%, #dfeaec 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px 14px; box-shadow: var(--shadow-sm); }
.world-map { width: 100%; height: auto; display: block; max-height: 560px; }
.world-map path { fill: #c2cfc6; stroke: #f3f7f3; stroke-width: .5; vector-effect: non-scaling-stroke; transition: fill .25s var(--ease); }
.world-map path.has { fill: var(--green-600); }
.world-map path.has:hover { fill: var(--green-800); cursor: pointer; }
.map-dot { fill: var(--gold); stroke: #fff; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.map-legend { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 12px; font-size: .85rem; color: var(--ink-soft); }
.map-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
.map-legend i.dot { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(201,162,39,.2); }

.member-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.member-tabs button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: .9rem; color: var(--ink-soft); cursor: pointer; transition: all .18s; }
.member-tabs button.on { background: var(--green-800); border-color: var(--green-800); color: #fff; }

.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 18px; }
.m-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-height: 260px; display: flex; flex-direction: column; gap: 4px; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); overflow-wrap: anywhere; }
.m-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #ddd4c3; }
.m-card .avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--green-800); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.08rem; margin-bottom: 10px; overflow: hidden; }
.m-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--image { background: var(--cream); }
.avatar--placeholder { position: relative; }
.avatar--placeholder::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); pointer-events: none; }
.m-card .nm { font-weight: 700; color: var(--navy-900); line-height: 1.25; }
.m-card .nm-zh { font-size: .85rem; color: var(--muted); }
.m-card .aff { font-size: .85rem; color: var(--ink-soft); margin-top: 2px; }
.m-card .flag { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 10px; font-size: .8rem; color: var(--ink-soft); font-weight: 600; }
.m-card .role-tag { align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-700); background: rgba(201,162,39,.12); padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; }

.expert-directory { margin-top: 44px; }
.expert-list { max-width: 920px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow-sm); }
.expert-section + .expert-section { margin-top: 38px; }
.expert-section h3 { margin: 0 0 14px; font-size: 1rem; color: var(--navy-900); font-weight: 800; }
.expert-section ul { list-style: none; margin: 0; padding: 0; }
.expert-section li { margin: 0 0 9px; color: var(--ink-soft); line-height: 1.65; font-family: Georgia, "Times New Roman", "Noto Serif SC", serif; font-size: 1.02rem; }
.expert-section li:last-child { margin-bottom: 0; }

/* leadership cards (bigger) */
.lead-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.lead-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; min-height: 260px; text-align: center; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.lead-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ddd4c3; }
.lead-card .avatar { width: 86px; height: 86px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-800); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.7rem; overflow: hidden; }
.lead-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.lead-card .avatar--placeholder { background: radial-gradient(circle at 32% 28%, #5ea572, var(--green-800) 58%, #0d3a20); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 8px 18px rgba(20,83,45,.16); }
.lead-card .avatar--placeholder::before { content: ""; position: absolute; inset: 15px; background: url("/assets/phia-logo-mark.png") center/contain no-repeat; opacity: .18; filter: brightness(0) invert(1); pointer-events: none; }
.lead-card .role-tag { color: var(--gold-700); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.lead-card .nm { font-size: 1.16rem; font-weight: 800; color: var(--navy-900); margin-top: 6px; white-space: nowrap; overflow-wrap: normal; word-break: keep-all; }
.lead-card .nm--fit { font-size: 1.02rem; }
.lead-card .nm--tight { font-size: .92rem; }
.lead-card .alt-name { color: var(--muted); font-size: .86rem; line-height: 1.35; margin-top: 4px; overflow-wrap: anywhere; }
.lead-card .aff { font-size: .9rem; color: var(--ink-soft); margin-top: 4px; }

/* about support and foundation */
.support-head { margin: 54px auto 26px; }
.support-head .eyebrow { justify-content: center; }
.mission-statement { margin-bottom: 0; }
.support-panel-tag { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(201,162,39,.12); color: var(--gold-700); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.foundation-grid .foundation-card { min-height: 142px; display: flex; flex-direction: column; justify-content: space-between; }
.foundation-grid .foundation-role { min-height: 2.8em; display: flex; align-items: center; justify-content: center; }
.foundation-logo { height: 54px; max-width: 150px; object-fit: contain; margin: 0 auto 14px; }

/* ============================================================
   GOVERNANCE bodies
   ============================================================ */
.gov-body { display: flex; gap: 20px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.gov-body:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #ddd4c3; }
.gov-body .num { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--cream); color: var(--green-800); font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; border: 1px solid var(--line); }
.gov-body h3 { margin-bottom: .3rem; } .gov-body .zh { color: var(--muted); font-weight: 600; font-size: .9rem; }
.gov-body p { color: var(--ink-soft); font-size: .96rem; margin: .4rem 0 0; }

/* ============================================================
   NEWS / list
   ============================================================ */
.news-item { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: transform .2s var(--ease); }
.news-item:hover { transform: translateX(4px); }
.news-item:hover h3 { color: var(--green-800); }
.news-date { font-size: .85rem; color: var(--muted); font-weight: 600; }
.news-item h3 { font-size: 1.25rem; margin-bottom: .4rem; cursor: pointer; }
.news-item p { color: var(--ink-soft); margin: 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--green-800); background: rgba(20,83,45,.08); padding: 3px 10px; border-radius: 999px; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner { background: linear-gradient(135deg, #14233a 0%, #1d3249 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 68px); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: -60% -30%; background: linear-gradient(110deg, transparent 36%, rgba(255,255,255,.075) 48%, transparent 60%); transform: translateX(-35%); animation: phia-sheen 8s var(--ease) infinite; pointer-events: none; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(201,162,39,.08), rgba(255,255,255,0)); pointer-events: none; }
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-banner p { color: #c7d2e0; max-width: 560px; margin: 0 auto 1.6rem; }

/* ============================================================
   FORMS
   ============================================================ */
.field { margin-bottom: 18px; } .field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy-800); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: .96rem; background: var(--white); transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green-700); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.note { font-size: .88rem; color: var(--muted); }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 14px; }
.alert--ok { background: #e8f5ec; color: #1c6b3c; border: 1px solid #bfe2ca; }
.alert--err { background: #fdeceb; color: #b4322a; border: 1px solid #f3c9c5; }

/* ============================================================
   PAGE HERO (sub pages)
   ============================================================ */
/* prose */
.prose p { color: #34383f; font-size: 1.06rem; } .prose h3 { margin-top: 1.8rem; }
.lead-quote { font-size: clamp(1.2rem,2.2vw,1.6rem); line-height: 1.5; color: var(--navy-900); font-family: var(--serif); font-weight: 500; border-left: 3px solid var(--gold); padding-left: 22px; }
ul.ticks { list-style: none; padding: 0; } ul.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-soft); }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; background: var(--green-700); border-radius: 50%; }
ul.ticks li::after { content: ""; position: absolute; left: 5px; top: 11px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* about mission scroller */
.mission-scroll-section { background: var(--paper); }
.mission-scroll-head { margin-bottom: 30px; }
.mission-scroller {
  width: 100%;
}
.mission-scroll-window {
  min-height: clamp(500px, 60vh, 620px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  display: flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scrollbar-width: none;
}
.mission-scroll-window::-webkit-scrollbar { display: none; }
.mission-panel {
  flex: 0 0 100%;
  min-height: clamp(500px, 60vh, 620px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(34px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line-soft);
}
.mission-panel:last-child { border-right: 0; }
.mission-kicker {
  color: var(--gold-700);
  font-weight: 800;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: 12px;
}
.mission-panel h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  margin-bottom: 20px;
}
.mission-copy {
  max-width: 100%;
}
.mission-copy p {
  color: #34383f;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.9;
  margin-bottom: 1.05rem;
}
.mission-copy p:last-child { margin-bottom: 0; }
.mission-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.mission-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9c3b7;
  cursor: pointer;
  transition: width .22s var(--ease), background .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.mission-dots button:hover {
  background: var(--gold-700);
  transform: scale(1.12);
}
.mission-dots button.on {
  width: 26px;
  border-radius: 999px;
  background: var(--green-800);
  box-shadow: 0 0 0 4px rgba(20,83,45,.08);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: linear-gradient(180deg, var(--green-900), #0a2c18); color: #c4d4c6; padding: 64px 0 28px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand { color: #fff; margin-bottom: 14px; } .footer-brand .brand .logo { background: #fff; } .footer-brand .brand-text b { color: #fff; } .footer-brand .brand-text span { color: #9cbfa2; }
.footer-brand p { font-size: .9rem; color: #a8c1ab; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-col a { display: block; color: #b4c9b7; font-size: .92rem; padding: 4px 0; } .footer-col a:hover { color: var(--gold-200); }
.footer-contact p { font-size: .88rem; color: #a8c1ab; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: .82rem; color: #8fae94; }
.newsletter { display: flex; gap: 8px; margin-top: 10px; }
.newsletter input { flex: 1; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: .9rem; }
.newsletter input::placeholder { color: #8fae94; }
.newsletter button { padding: 10px 16px; border-radius: 8px; border: 0; background: var(--gold); color: #2a2208; font-weight: 700; cursor: pointer; }

/* back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--green-800); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(12px); transition: .3s; z-index: 90; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; transform: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .68s var(--ease-out), transform .68s var(--ease-out); transition-delay: var(--stagger-delay, 0ms); will-change: opacity, transform; }
.reveal[data-stagger] { transition-delay: var(--stagger-delay, 0ms); }
.reveal[data-stagger="2"] { --stagger-delay: 45ms; }
.reveal[data-stagger="3"] { --stagger-delay: 90ms; }
.reveal[data-stagger="4"] { --stagger-delay: 135ms; }
.reveal[data-stagger="5"] { --stagger-delay: 180ms; }
.reveal[data-stagger="6"] { --stagger-delay: 225ms; }
.reveal[data-stagger="7"] { --stagger-delay: 270ms; }
.reveal[data-stagger="8"] { --stagger-delay: 315ms; }
.reveal.in { opacity: 1; transform: none; }

@keyframes phia-nav-line { from { transform: scaleX(.25); opacity: .2; } to { transform: scaleX(1); opacity: 1; } }
@keyframes phia-sheen { 0%, 58% { transform: translateX(-42%); opacity: 0; } 68% { opacity: 1; } 86%, 100% { transform: translateX(42%); opacity: 0; } }

/* utilities */
.center { text-align: center; } .mt0{margin-top:0}.mb0{margin-bottom:0}
.flag-emoji { font-size: 1.05em; line-height: 1; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 24px; }
}
@media (max-width: 820px) {
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px; transform: translateY(-120%); transition: transform .3s var(--ease); box-shadow: var(--shadow); margin-left: 0; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 12px; border-radius: 10px; }
  .nav-links a.active::after { display: none; }
  .nav-burger { display: inline-flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .hero-art { display: none; }
  .section { padding: 64px 0; }
  .page-hero { padding: 58px 0 52px; }
  .footer-top { grid-template-columns: 1fr; }
  .mission-scroll-window { min-height: 590px; }
  .mission-panel { min-height: 590px; }
  .mission-panel { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .grid-4, .stat-strip { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: 1fr; }
  .brand-text span { display: none; }
  .nav-tools .lang-toggle button { padding: 6px 9px; }
  .container { padding: 0 18px; }
  .nav { gap: 10px; }
  .page-hero h1 { font-size: 2rem; }
  .cta-banner { padding: 36px 20px; }
  .newsletter { flex-direction: column; }
  .mission-scroll-window { min-height: 620px; }
  .mission-panel { min-height: 620px; padding: 28px 22px; }
  .mission-dots { margin-top: 16px; }
}

/* map markers */
.world-map .mk { cursor: pointer; }
.map-pulse { fill: rgba(201,162,39,.22); transform-box: fill-box; transform-origin: center; animation: phia-pulse 2.6s var(--ease) infinite; }
.world-map .mk:nth-child(3n) .map-pulse { animation-delay: .9s; }
.world-map .mk:nth-child(3n+1) .map-pulse { animation-delay: 1.7s; }
@keyframes phia-pulse { 0% { transform: scale(.35); opacity: .7; } 72% { transform: scale(1); opacity: 0; } 100% { transform: scale(1); opacity: 0; } }
.world-map .mk:hover .map-dot, .world-map .mk:focus .map-dot { fill: var(--green-800); }
.world-map .mk:focus { outline: none; } .world-map .mk:focus .map-pulse { fill: rgba(20,83,45,.25); }

/* nav helpers */
.hide-mobile-cta { }
.nav-links > .btn { display: none; }
@media (max-width: 820px) { .nav-links > .btn { display: inline-flex; } }
@media (max-width: 520px) { .hide-mobile-cta { display: none; } }

/* roadmap timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 26px 4px; }
.tl-item::before { content: ""; position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--green-700); border: 3px solid var(--paper); }
.tl-item h4 { margin: 0 0 2px; color: var(--navy-900); } .tl-item .kpi { font-size: .9rem; color: var(--ink-soft); }

/* benefit list */
.benefit { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.benefit .bnum { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(20,83,45,.1); color: var(--green-800); font-weight: 700; display: grid; place-items: center; font-size: .85rem; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* print */
@media print { .site-header, .to-top, .hero-cta, .newsletter, .nav-tools { display: none; } body { font-size: 12pt; } }

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