/* BRIEF
   Users: THE Sustainability Impact Ratings assessors (English, desktop, opening evidence links
          one indicator at a time) and IKU students/staff (Arabic, mostly mobile).
   Language: Arabic-first, full English parity (?lang=en). Western numerals —
          figures must match the Impact Ratings submission exactly.
   Surface: institutional reporting site, evidence-heavy.
   Register: contemporary climate-tech / confident and measurable.
   Memorable: the score wheel — the 5 SDGs as one ring, each arc
          as long as its share of the score; hover to read it, click to open it.
   Direction: "Verdant" — deep forest surfaces, one lime accent, rounded bento
          cards, one variable typeface (Readex Pro) for Arabic and Latin.
*/

:root {
  /* light surfaces */
  --surface-0: #F4F6F1;
  --surface-1: #E9EEE5;
  --surface-2: #D9E1D3;
  --paper:     #FFFFFF;
  --ink:       #0C1E16;
  --ink-soft:  #56665C;
  --line:      #DCE3D6;

  /* dark surfaces (hero, footer, feature tiles) */
  --forest:    #0B1F17;
  --forest-2:  #12301F;
  --on-forest: #E8F0E6;
  --on-forest-soft: #9DB3A4;
  --forest-line: rgba(232, 240, 230, .12);

  --accent:    #C6F05C;   /* lime — the one accent */
  --accent-ink:#0C1E16;
  --green:     #127A49;   /* primary action on light */
  --support:   #E5683A;   /* "new" and "not documented" */

  --ok:   #1E9A5A;
  --warn: #D9961A;
  --focus:#2D7FF9;

  --font: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
  --font-num: "Readex Pro", "Segoe UI", sans-serif;
  --font-ar: var(--font);

  --fs-xs: 14px; --fs-sm: 16px; --fs-base: 18px; --fs-lg: 21px;
  --fs-xl: 28px; --fs-2xl: 40px; --fs-3xl: clamp(42px, 6.4vw, 84px);
  --lh-body: 1.8; --lh-display: 1.3;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 112px;
  --gutter: clamp(16px, 4.5vw, 56px);

  --radius: 12px; --radius-lg: 24px; --radius-pill: 999px;
  --dur-fast: 150ms; --dur-base: 240ms; --dur-enter: 600ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html[dir="ltr"] { --fs-base: 17px; --lh-body: 1.65; --lh-display: 1.12; }
body {
  margin: 0; font-family: var(--font); background: var(--surface-0); color: var(--ink);
  font-size: var(--fs-base); line-height: var(--lh-body); letter-spacing: 0;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { line-height: var(--lh-display); margin-block: 0 var(--s-4); font-weight: 600; }
html[dir="ltr"] h1, html[dir="ltr"] h2 { letter-spacing: -0.025em; }
p { margin-block: 0 var(--s-4); }
a { color: inherit; }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
.num, .metric { font-variant-numeric: tabular-nums; }
bdi, [dir="ltr"] { unicode-bidi: isolate; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; inset-inline-start: var(--s-4); inset-block-start: -60px; background: var(--ink); color: #fff; padding: var(--s-2) var(--s-4); border-radius: var(--radius); z-index: 200; }
.skip:focus { inset-block-start: var(--s-2); }

.wrap { padding-inline: var(--gutter); max-width: 1320px; margin-inline: auto; }
.ico { inline-size: 1.25em; block-size: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .ico.dir { transform: scaleX(-1); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 500; padding: 6px 14px 6px 6px; border-radius: var(--radius-pill);
  background: var(--paper); border: 1px solid var(--line); margin-bottom: var(--s-5);
}
[dir="rtl"] .eyebrow { padding: 6px 6px 6px 14px; }
.eyebrow b { background: var(--accent); color: var(--accent-ink); padding: 2px 10px; border-radius: var(--radius-pill); font-weight: 600; }
.code {
  display: inline-block; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums;
  font-size: 13px; font-weight: 600; line-height: 1; padding: 6px 8px; border-radius: 7px;
  background: color-mix(in srgb, var(--c, var(--ink)) 12%, transparent); color: var(--c, var(--ink));
  text-decoration: none;
}
a.code:hover { background: color-mix(in srgb, var(--c, var(--ink)) 22%, transparent); }
.badge-sample {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 2px 10px; line-height: 1.6;
  background: #FFF1C9; color: #7A5400; border-radius: var(--radius-pill); vertical-align: middle; white-space: nowrap;
}
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); white-space: nowrap; }
.pill.done { background: #DDF3E5; color: #11663C; }
.pill.partial { background: #FFF0CF; color: #845C00; }
.pill.todo { background: var(--surface-1); color: var(--ink-soft); }
.pill::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: currentColor; }

/* --- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5); border-radius: var(--radius-pill);
  font: inherit; font-weight: 500; font-size: var(--fs-sm); text-decoration: none; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); }
.btn.lime { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn.lime:hover { background: #fff; border-color: #fff; }
.btn.ghost { background: transparent; color: var(--on-forest); border-color: var(--forest-line); }
.btn.ghost:hover { border-color: var(--on-forest); }
.btn .ico { transition: transform var(--dur-fast) var(--ease); }
.btn:hover .ico.dir { transform: translateX(3px); }
[dir="rtl"] .btn:hover .ico.dir { transform: scaleX(-1) translateX(3px); }

/* --- Masthead --------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--forest) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: var(--on-forest); border-bottom: 1px solid var(--forest-line);
}
.masthead .wrap { display: flex; align-items: center; gap: var(--s-4); min-height: 72px; }
.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; margin-inline-end: auto; min-width: 0; }
.brand-mark { inline-size: 40px; block-size: 40px; flex-shrink: 0; }
.brand-text { line-height: 1.3; min-width: 0; }
.brand-text b { display: block; font-size: var(--fs-sm); font-weight: 600; }
.brand-text small { display: block; font-size: 12.5px; color: var(--on-forest-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang { font: inherit; font-size: 14px; font-weight: 500; color: var(--on-forest); border: 1px solid var(--forest-line); padding: 0 14px; border-radius: var(--radius-pill); min-height: 40px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.lang:hover { border-color: var(--on-forest); }
.menu-btn { display: none; font: inherit; color: var(--on-forest); background: none; border: 1px solid var(--forest-line); border-radius: var(--radius-pill); min-height: 40px; padding: 0 14px; cursor: pointer; align-items: center; gap: 6px; }

/* The SDG menu bar: one tab per goal in its UN colour, then "Reports on SDGs". */
.sdg-bar { border-top: 1px solid var(--forest-line); }
.sdg-bar .wrap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, .9fr); min-height: 0; gap: 0; align-items: stretch; }
.sdg-bar a { --c: var(--accent); position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; text-decoration: none; color: var(--on-forest-soft); border-inline-start: 1px solid var(--forest-line); transition: color var(--dur-fast), background var(--dur-fast); min-width: 0; }
.sdg-bar a:first-child { border-inline-start: 0; }
.sdg-bar a::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; block-size: 3px; background: var(--c); transform: scaleX(0); transition: transform var(--dur-base) var(--ease); }
.sdg-bar a:hover { color: var(--on-forest); background: rgba(255,255,255,.04); }
.sdg-bar a:hover::after, .sdg-bar a[aria-current="page"]::after { transform: none; }
.sdg-bar a[aria-current="page"] { color: var(--on-forest); background: rgba(255,255,255,.06); }
.sdg-bar .n { flex-shrink: 0; display: grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 9px; background: var(--c); color: #fff; font-family: var(--font-num); font-weight: 700; font-size: 16px; }
.sdg-bar .n .ico { inline-size: 18px; block-size: 18px; }
.sdg-bar .rep { --c: var(--accent); }
.sdg-bar .rep .n { color: var(--accent-ink); }
.sdg-bar .t { font-size: 13.5px; line-height: 1.3; font-weight: 500; min-width: 0; }
.sdg-bar .t small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--c); filter: brightness(1.5) saturate(.8); }
.sdg-bar .rep .t small { filter: none; }
@media (max-width: 1240px) { .sdg-bar .t { font-size: 12.5px; } }
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .sdg-bar { display: none; position: absolute; inset-inline: var(--s-3); top: calc(100% + 8px); border: 1px solid var(--forest-line); border-radius: var(--radius-lg); background: var(--forest); box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); max-block-size: calc(100vh - 100px); overflow-y: auto; }
  .sdg-bar[data-open="true"] { display: block; }
  .sdg-bar .wrap { grid-template-columns: 1fr; padding: var(--s-2); }
  .sdg-bar a { border-inline-start: 0; border-radius: var(--radius); padding: 10px 12px; }
  .sdg-bar a::after { inset-inline: auto 0; inset-block: 10px; bottom: auto; block-size: auto; inline-size: 3px; border-radius: 3px; transform: none; opacity: 0; }
  .sdg-bar a[aria-current="page"]::after { opacity: 1; }
  .sdg-bar .t { font-size: 15px; }
}
@media (max-width: 520px) { .brand-text small { display: none; } .lang span { display: none; } }

/* --- Hero (dark) ------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; color: var(--on-forest);
  background:
    radial-gradient(60% 70% at 15% 40%, rgba(198,240,92,.10), transparent 70%),
    radial-gradient(50% 60% at 90% 0%, rgba(47,163,107,.22), transparent 70%),
    var(--forest);
  padding-block: var(--s-8) var(--s-9);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--forest-line) 1px, transparent 1px), linear-gradient(90deg, var(--forest-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-8); align-items: center; }
.hero .eyebrow { background: rgba(255,255,255,.06); border-color: var(--forest-line); color: var(--on-forest); }
.hero h1 { font-size: var(--fs-3xl); font-weight: 700; margin-bottom: var(--s-5); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: var(--fs-lg); color: var(--on-forest-soft); max-width: 36ch; font-weight: 300; }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--s-6); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--forest-line); }
.hero-meta div { display: grid; }
.hero-meta b { font-size: var(--fs-xl); font-weight: 600; color: #fff; line-height: 1.2; }
.hero-meta span { font-size: var(--fs-xs); color: var(--on-forest-soft); }

/* --- Score wheel: the signature --------------------------------------- */
.wheel { position: relative; inline-size: min(100%, 500px); margin-inline: auto; aspect-ratio: 1; }
.wheel svg { inline-size: 100%; block-size: 100%; overflow: visible; }
.wheel .track { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 26; }
.wheel .arc {
  fill: none; stroke-width: 26; stroke-linecap: butt; cursor: pointer;
  transition: stroke-width var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
  animation: draw 1100ms var(--ease) both; animation-delay: calc(150ms + var(--i) * 90ms);
}
.wheel a:focus-visible { outline: none; }
.wheel a:focus-visible .arc, .wheel a:hover .arc, .wheel a.on .arc { stroke-width: 36; }
.wheel.hovering a:not(.on) .arc { opacity: .35; }
.wheel .ticks { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1; stroke-dasharray: 1 6.33; }
.wheel-center { position: absolute; inset: 22%; display: grid; place-content: center; text-align: center; pointer-events: none; }
.wheel-center .big { font-size: clamp(44px, 6vw, 72px); font-weight: 600; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.wheel-center .big small { font-size: .4em; color: var(--accent); margin-inline-start: 2px; }
.wheel-center .lbl { font-size: var(--fs-sm); color: var(--on-forest-soft); margin-top: var(--s-2); line-height: 1.5; }
.wheel-center .sub { font-size: 13px; color: var(--accent); margin-top: 4px; }
@keyframes draw { from { stroke-dasharray: 0 600; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin-top: var(--s-4); font-size: 13px; color: var(--on-forest-soft); }
.legend a { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.legend a:hover { color: #fff; }
.dot { inline-size: 9px; block-size: 9px; border-radius: 50%; flex-shrink: 0; display: inline-block; }

/* --- Sections ---------------------------------------------------------- */
.section { padding-block: var(--s-9); }
.section.tight { padding-block: var(--s-8); }
.section.alt { background: var(--paper); border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-7); }
.sec-head h2 { font-size: var(--fs-2xl); margin: 0; font-weight: 600; }
.sec-head p { margin: var(--s-2) 0 0; color: var(--ink-soft); max-width: 56ch; }
.sec-head .more { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; text-decoration: none; color: var(--green); }
.sec-head .more:hover { color: var(--ink); }
.kicker { font-size: var(--fs-xs); font-weight: 600; color: var(--green); margin-bottom: var(--s-2); display: block; }

/* --- Figures bento ---------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); min-height: 170px; position: relative; overflow: hidden; }
.tile .metric { font-size: clamp(34px, 3.6vw, 48px); font-weight: 600; line-height: 1.05; direction: ltr; text-align: end; }
html[dir="ltr"] .tile .metric { text-align: start; }
.tile .metric small { font-size: .42em; font-weight: 400; color: var(--ink-soft); margin-inline-start: 4px; font-family: var(--font); }
.tile .lbl { color: var(--ink-soft); font-size: var(--fs-sm); margin-top: auto; }
.tile .foot-row { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.tile.feature { grid-column: span 2; grid-row: span 2; background: var(--forest); color: var(--on-forest); border-color: var(--forest); padding: var(--s-6); justify-content: space-between; }
.tile.feature .metric { font-size: clamp(72px, 9vw, 132px); color: var(--accent); }
.tile.feature .metric small { color: var(--on-forest-soft); }
.tile.feature .lbl { color: var(--on-forest); font-size: var(--fs-lg); max-width: 22ch; margin-top: 0; }
.tile.feature .code { --c: var(--accent); }
.bar { block-size: 10px; border-radius: var(--radius-pill); background: rgba(255,255,255,.1); overflow: hidden; }
.bar i { display: block; block-size: 100%; background: var(--accent); border-radius: inherit; }
/* feature tile fills 4 slots, so a 6th tile would sit alone — stretch it into a strip */
.bento > .tile:last-child:nth-child(4n+2) { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; gap: var(--s-5); }
.bento > .tile:last-child:nth-child(4n+2) .lbl { margin-top: 0; }
.bento > .tile:last-child:nth-child(4n+2) .foot-row { order: 3; margin-inline-start: auto; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento > .tile:last-child:nth-child(4n+2) { flex-direction: column; align-items: stretch; } .bento > .tile:last-child:nth-child(4n+2) .foot-row { order: 0; margin: 0; } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } .tile.feature { grid-column: auto; grid-row: auto; } }

/* --- Category cards --------------------------------------------------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-4); }
.cat-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-5); border-radius: var(--radius-lg); background: var(--surface-0); border: 1px solid var(--line);
  text-decoration: none; overflow: hidden; min-height: 250px;
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), background var(--dur-base);
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--c); background: var(--paper); }
.cat-card.wide { grid-column: span 3; }
.cat-card .top { display: flex; align-items: center; justify-content: space-between; }
.cat-icon { inline-size: 52px; block-size: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); }
.cat-icon .ico { inline-size: 26px; block-size: 26px; }
.cat-card .wt { font-size: 40px; font-weight: 600; line-height: 1; direction: ltr; }
.cat-card .wt small { font-size: .45em; color: var(--ink-soft); }
.cat-card h3 { font-size: var(--fs-lg); margin: var(--s-2) 0 0; }
.cat-card p { color: var(--ink-soft); font-size: 15px; margin: 0; line-height: 1.7; }
.cat-card .meter { margin-top: auto; block-size: 6px; border-radius: var(--radius-pill); background: var(--surface-2); overflow: hidden; }
.cat-card .meter i { display: block; block-size: 100%; background: var(--c); border-radius: inherit; }
.cat-card .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); }
.cat-card .new { position: absolute; inset-block-start: var(--s-5); inset-inline-start: 50%; transform: translateX(-50%); }
.tag-new { font-size: 12px; font-weight: 600; background: var(--accent); color: var(--accent-ink); padding: 3px 10px; border-radius: var(--radius-pill); }
.cat-card.featured { grid-column: 1 / -1; min-height: 0; background: var(--forest); border-color: var(--forest); color: var(--on-forest); display: grid; grid-template-columns: auto 1fr minmax(220px, 320px); grid-template-rows: auto auto auto; column-gap: var(--s-6); align-items: center; }
.cat-card.featured:hover { background: var(--forest-2); }
.cat-card.featured .top { grid-row: 1 / span 3; flex-direction: column; gap: var(--s-4); align-items: start; }
.cat-card.featured .cat-icon { inline-size: 72px; block-size: 72px; border-radius: 22px; background: rgba(141,184,46,.2); }
.cat-card.featured .wt small, .cat-card.featured p, .cat-card.featured .meta { color: var(--on-forest-soft); }
.cat-card.featured h3 { margin: 0; font-size: var(--fs-xl); }
.cat-card.featured .tag-new { justify-self: start; grid-column: 2; grid-row: 1; margin-bottom: calc(-1 * var(--s-6)); align-self: start; }
.cat-card.featured h3 { grid-column: 2; grid-row: 2; align-self: end; padding-top: var(--s-5); }
.cat-card.featured p { grid-column: 2; grid-row: 3; align-self: start; }
.cat-card.featured .meter { grid-column: 3; grid-row: 2; align-self: end; background: rgba(255,255,255,.1); margin: 0; }
.cat-card.featured .meta { grid-column: 3; grid-row: 3; align-self: start; flex-direction: column; gap: 2px; padding-top: var(--s-2); }
.cat-card .tag-new { align-self: start; }
.brand-mark svg { inline-size: 100%; block-size: 100%; }
@media (min-width: 1001px) { .cats .cat-card:not(.featured) { grid-column: span 3; min-height: 220px; } }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(2, 1fr); } .cat-card, .cat-card.wide { grid-column: span 1; } .cat-card.featured { grid-column: 1 / -1; display: flex; } .cat-card.featured .top { flex-direction: row; justify-content: space-between; inline-size: 100%; } .cat-card.featured .tag-new, .cat-card.featured h3 { margin: 0; padding: 0; } }
@media (max-width: 600px) { .cats { grid-template-columns: 1fr; } .cat-card { min-height: 0; } }

/* --- News -------------------------------------------------------------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.news-item { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--dur-base) var(--ease), border-color var(--dur-base); }
.news-item:hover { transform: translateY(-3px); border-color: var(--ink-soft); }
.news-media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--c) 70%, white), var(--c) 55%, color-mix(in srgb, var(--c) 60%, black)); }
.news-media img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.news-media .ico { inline-size: 56px; block-size: 56px; opacity: .9; stroke-width: 1.4; }
.news-body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.news-item .meta { font-size: 13px; color: var(--ink-soft); display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; margin-bottom: var(--s-3); }
.news-item h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.news-item p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; margin: 0; }
.news-item.lead { grid-column: span 2; flex-direction: row; }
.news-item.lead .news-media { aspect-ratio: auto; flex: 1.1; min-height: 320px; }
.news-item.lead .news-body { flex: 1; padding: var(--s-6); justify-content: center; }
.news-item.lead h3 { font-size: var(--fs-xl); }
@media (max-width: 1000px) { .news-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .news-list { grid-template-columns: 1fr; } .news-item.lead { grid-column: auto; flex-direction: column; } .news-item.lead .news-media { min-height: 0; aspect-ratio: 16 / 10; } }
.tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); text-decoration: none; }
.tag:hover { color: var(--green); }

.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.chip { font: inherit; font-size: 14px; font-weight: 500; padding: 0 16px; min-height: 40px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: border-color var(--dur-fast); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --- Docs (reports, policies) ---------------------------------------- */
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.docs li a {
  display: grid; grid-template-columns: 64px 1fr auto auto; gap: var(--s-4); align-items: center;
  padding: var(--s-4); padding-inline-end: var(--s-5); border-radius: 18px; background: var(--paper); border: 1px solid var(--line); text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease);
}
.docs li a:hover { border-color: var(--ink-soft); transform: translateY(-2px); }
.doc-ico { inline-size: 64px; block-size: 64px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--green)) 12%, transparent); color: var(--c, var(--green)); font-weight: 600; font-size: 18px; }
.doc-ico .ico { inline-size: 26px; block-size: 26px; }
.docs .t { font-weight: 500; display: block; }
.docs .sub { font-size: 13px; color: var(--ink-soft); }
.docs .go { inline-size: 40px; block-size: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-1); }
.section.alt .docs li a { background: var(--surface-0); }
@media (max-width: 640px) { .docs li a { grid-template-columns: 52px 1fr; } .doc-ico { inline-size: 52px; block-size: 52px; } .docs .code, .docs .go { display: none; } }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); }
@media (max-width: 960px) { .cols-2 { grid-template-columns: 1fr; } }

/* --- Inner page head (dark) ------------------------------------------- */
.page-head {
  position: relative; overflow: hidden; color: var(--on-forest);
  background: radial-gradient(60% 120% at 85% 0%, color-mix(in srgb, var(--c, #2FA36B) 35%, transparent), transparent 70%), var(--forest);
  padding-block: var(--s-8);
}
.page-head .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: var(--s-7); align-items: center; }
.page-head h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 700; margin-bottom: var(--s-3); }
.page-head .lede { font-size: var(--fs-lg); color: var(--on-forest-soft); max-width: 54ch; margin: 0; font-weight: 300; }
.page-head .crumbs { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; margin-bottom: var(--s-4); font-size: 14px; color: var(--on-forest-soft); }
.page-head .code { --c: var(--accent); background: rgba(198,240,92,.12); }
.page-head .cat-icon { inline-size: 64px; block-size: 64px; border-radius: 20px; margin-bottom: var(--s-4); background: color-mix(in srgb, var(--c) 22%, transparent); }
.page-head .cat-icon .ico { inline-size: 32px; block-size: 32px; }
.mini-wheel { inline-size: 180px; block-size: 180px; position: relative; }
.mini-wheel svg { inline-size: 100%; block-size: 100%; }
.mini-wheel .v { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.mini-wheel .v b { font-size: 44px; font-weight: 600; color: #fff; line-height: 1; direction: ltr; }
.mini-wheel .v span { font-size: 13px; color: var(--on-forest-soft); }
@media (max-width: 760px) { .page-head .wrap { grid-template-columns: 1fr; } .mini-wheel { inline-size: 130px; block-size: 130px; } .mini-wheel .v b { font-size: 32px; } }

.cat-switch-wrap { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 40; }
.cat-switch { display: flex; gap: var(--s-2); overflow-x: auto; padding-block: var(--s-3); scrollbar-width: none; }
.cat-switch::-webkit-scrollbar { display: none; }
.cat-switch a { flex: 0 0 auto; text-decoration: none; padding: 0 16px; min-height: 40px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); white-space: nowrap; }
.cat-switch a:hover { border-color: var(--ink); }
.cat-switch a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --- Indicators -------------------------------------------------------- */
.ind-layout { display: grid; grid-template-columns: 280px 1fr; gap: var(--s-7); align-items: start; }
.ind-rail { position: sticky; top: 152px; max-block-size: calc(100vh - 172px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-3); }
.ind-rail h2 { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin: var(--s-2) var(--s-3) var(--s-3); }
.ind-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ind-rail a { display: flex; gap: var(--s-3); align-items: center; padding: 8px var(--s-3); border-radius: 10px; text-decoration: none; font-size: 15px; }
.ind-rail a:hover { background: var(--surface-0); }
.ind-rail li, .ind-rail a { min-width: 0; }
.ind-rail a { align-items: flex-start; }
.ind-rail .code { flex-shrink: 0; }
.ind-rail .p { min-width: 0; font-size: 13px; line-height: 1.4; color: var(--ink-soft); overflow-wrap: anywhere; padding-top: 4px; }
.ind-rail .s { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--surface-2); }
.ind-rail .s.done { background: var(--ok); } .ind-rail .s.partial { background: var(--warn); }
.progress { margin: var(--s-3); margin-top: var(--s-4); font-size: 13px; color: var(--ink-soft); }
.progress .bar { background: var(--surface-1); margin-top: 6px; block-size: 8px; }
.progress .bar i { background: var(--c); }
@media (max-width: 1000px) { .ind-layout { grid-template-columns: 1fr; } .ind-rail { position: static; max-block-size: none; } .ind-rail ol { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

.inds { display: grid; gap: var(--s-4); }
.ind { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5) var(--s-6); scroll-margin-top: 170px; transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.ind:target { border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.ind-head { display: flex; gap: var(--s-3) var(--s-4); align-items: center; flex-wrap: wrap; }
.ind-head .code { font-size: 14px; padding: 8px 10px; }
.ind-head h3 { font-size: var(--fs-lg); flex: 1 1 280px; margin: 0; font-weight: 500; }
.ind-head .pts { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.ind-head .pts b { font-size: 18px; color: var(--ink); font-weight: 600; }
.ind .practice { margin: var(--s-4) 0 0; max-width: 72ch; color: var(--ink); }
.ind .practice b { color: var(--green); font-weight: 600; }
.ind .permalink { color: var(--ink-soft); text-decoration: none; opacity: 0; transition: opacity var(--dur-fast); font-size: 14px; }
.ind:hover .permalink, .ind .permalink:focus-visible { opacity: 1; }
.evidence { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--s-3); margin-top: var(--s-5); }
.ev { text-decoration: none; display: flex; flex-direction: column; background: var(--surface-0); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease); }
.ev:hover { border-color: var(--ink-soft); transform: translateY(-2px); }
.ev .thumb { aspect-ratio: 4 / 3; display: grid; place-items: center; color: #fff; position: relative;
  background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--c) 70%, white), var(--c) 60%, color-mix(in srgb, var(--c) 65%, black)); }
.ev .thumb img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.ev .thumb .ico { inline-size: 36px; block-size: 36px; stroke-width: 1.4; }
.ev .thumb.doc { aspect-ratio: auto; block-size: 72px; background: color-mix(in srgb, var(--c) 10%, white); color: var(--c); justify-content: start; grid-auto-flow: column; gap: var(--s-2); padding-inline: var(--s-4); font-weight: 600; font-size: 14px; }
.ev .thumb.doc .ico { inline-size: 24px; block-size: 24px; stroke-width: 1.8; }
.ev .cap { padding: var(--s-3) var(--s-4); font-size: 15px; font-weight: 500; line-height: 1.55; }
.ev .cap small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; margin-top: 2px; }

/* --- About ------------------------------------------------------------- */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s-4); }
.people li { background: var(--surface-0); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); display: grid; gap: var(--s-1); align-content: start; }
.people .av { inline-size: 48px; block-size: 48px; border-radius: 50%; background: var(--forest); color: var(--accent); display: grid; place-items: center; font-weight: 600; margin-bottom: var(--s-3); }
.people b { font-size: var(--fs-lg); font-weight: 500; }
.people span { color: var(--ink-soft); font-size: 15px; }
.sdgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: var(--s-2); }
.sdg { aspect-ratio: 1; display: grid; place-items: center; font-size: 26px; font-weight: 600; color: #fff; border-radius: 14px; text-decoration: none; transition: transform var(--dur-fast) var(--ease); }
.sdg:hover { transform: scale(1.06); }
.prose { max-width: 64ch; }
.mission { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.7; font-weight: 300; }
html[dir="ltr"] .mission { line-height: 1.45; }

.form { display: grid; gap: var(--s-4); }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.form input, .form textarea, .form select { font: inherit; font-size: var(--fs-sm); min-height: 52px; padding: var(--s-2) var(--s-4); border: 1px solid var(--line); border-radius: 14px; background: var(--surface-0); color: var(--ink); transition: border-color var(--dur-fast), background var(--dur-fast); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--green); background: var(--paper); outline: none; box-shadow: 0 0 0 4px rgba(18,122,73,.12); }
.form textarea { min-height: 150px; resize: vertical; padding-block: var(--s-3); }
.card-pad { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-6); }
.contact-list { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.contact-list a, .contact-list span { display: flex; gap: var(--s-3); align-items: center; text-decoration: none; }
.contact-list .ci { inline-size: 44px; block-size: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--green) 10%, transparent); color: var(--green); }

/* --- CTA band ---------------------------------------------------------- */
.cta { background: var(--accent); border-radius: 32px; padding: var(--s-7) var(--s-7); display: grid; grid-template-columns: 1fr auto; gap: var(--s-5); align-items: center; color: var(--accent-ink); position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 var(--s-2); font-weight: 700; }
.cta p { margin: 0; max-width: 52ch; }
.cta .btn.primary { background: var(--forest); border-color: var(--forest); }
.cta svg.deco { position: absolute; inset-inline-end: -40px; inset-block-end: -60px; inline-size: 240px; opacity: .14; stroke: var(--forest); fill: none; stroke-width: 1; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: var(--s-6) var(--s-5); } }

/* --- Readiness tracker -------------------------------------------------- */
.track { inline-size: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.track th, .track td { text-align: start; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.track thead th { font-size: 13px; color: var(--ink-soft); font-weight: 500; background: var(--surface-0); }
.track tr.grp td { background: var(--surface-0); font-weight: 600; }
.track td.n { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.track tr:last-child td { border-bottom: 0; }
.meter { block-size: 8px; background: var(--surface-2); border-radius: var(--radius-pill); overflow: hidden; display: flex; min-width: 80px; }
.meter i { display: block; block-size: 100%; border-radius: inherit; }
.table-scroll { overflow-x: auto; }

/* --- Footer ------------------------------------------------------------ */
.foot { background: var(--forest); color: var(--on-forest-soft); margin-top: var(--s-9); }
.foot .wrap { padding-block: var(--s-8) var(--s-5); display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s-7); }
.foot h2 { font-size: var(--fs-xl); color: #fff; font-weight: 600; }
.foot h3 { font-size: 14px; color: var(--on-forest); font-weight: 600; margin-bottom: var(--s-4); }
.foot a { color: var(--on-forest-soft); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); font-size: 15px; }
.foot .rainbow { display: flex; block-size: 6px; border-radius: var(--radius-pill); overflow: hidden; max-inline-size: 280px; margin-top: var(--s-5); gap: 3px; }
.foot .rainbow span { border-radius: var(--radius-pill); }
.foot .small { font-size: 13px; border-top: 1px solid var(--forest-line); padding-top: var(--s-5); grid-column: 1 / -1; display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.foot .small .live { display: inline-flex; gap: 8px; align-items: center; }
.foot .small .live::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(198,240,92,.18); }
@media (max-width: 860px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > :first-child { grid-column: 1 / -1; } }

/* --- Responsive core --------------------------------------------------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: var(--s-7); }
  .wheel { inline-size: min(100%, 420px); }
  .section { padding-block: var(--s-8); }
}

/* --- Motion ------------------------------------------------------------ */
[data-animate] { animation: rise var(--dur-enter) var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .masthead, .foot, .ind-rail, .filters, .cat-switch-wrap { display: none; }
  .hero, .page-head { background: none; color: var(--ink); }
}

/* --- Indicator detail: evidence pending + "how it's scored" ------------ */
.ev-soon { display: flex; gap: var(--s-2); align-items: center; margin: var(--s-4) 0 0; font-size: 15px; color: var(--ink-soft); }
.ev-soon .ico { color: var(--c); }
.howto { margin-top: var(--s-5); border-top: 1px dashed var(--line); padding-top: var(--s-3); }
.howto summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--s-2); font-size: 15px; font-weight: 500; color: var(--green); min-height: 40px; }
.howto summary::-webkit-details-marker { display: none; }
.howto summary .chev { margin-inline-start: auto; transition: transform var(--dur-fast) var(--ease); color: var(--ink-soft); }
.howto[open] summary .chev { transform: rotate(180deg); }
.howto-body { padding-top: var(--s-3); }
.howto h4 { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin: var(--s-4) 0 var(--s-2); }
.howto h4:first-child { margin-top: 0; }
.howto p { font-size: 15.5px; margin: 0; max-width: 72ch; }
.levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-2); }
.levels li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2); align-items: start; padding: var(--s-3); border-radius: 14px; background: var(--surface-0); border: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.levels .n { inline-size: 26px; block-size: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--surface-2); color: var(--ink); }
.levels li:nth-child(2) .n { background: color-mix(in srgb, var(--c) 20%, var(--surface-2)); }
.levels li:nth-child(3) .n { background: color-mix(in srgb, var(--c) 40%, var(--surface-2)); }
.levels li:nth-child(4) .n { background: color-mix(in srgb, var(--c) 65%, var(--surface-2)); color: #fff; }
.levels li.max { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, white); }
.levels li.max .n { background: var(--c); color: #fff; }

/* --- Category head stats + SDGs --------------------------------------- */
.head-stats { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin-top: var(--s-6); align-items: center; }
.head-stats > div:not(.sdg-row) { display: grid; }
.head-stats b { font-size: var(--fs-xl); color: #fff; font-weight: 600; line-height: 1.2; }
.head-stats span { font-size: 13px; color: var(--on-forest-soft); }
.sdg-row { display: flex; align-items: center; gap: 6px; padding-inline-start: var(--s-6); border-inline-start: 1px solid var(--forest-line); }
.sdg-row > span { margin-inline-end: var(--s-2); }
.sdg-mini { inline-size: 34px; block-size: 34px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; }
@media (max-width: 760px) { .sdg-row { padding-inline-start: 0; border: 0; inline-size: 100%; } }

/* --- How we report (steps) -------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); counter-reset: s; }
.steps li { position: relative; padding: var(--s-6) var(--s-5) var(--s-5); border-radius: var(--radius-lg); background: var(--surface-0); border: 1px solid var(--line); }
.steps .n { display: inline-grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 14px; background: var(--forest); color: var(--accent); font-weight: 600; margin-bottom: var(--s-4); }
.steps h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.steps p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-block-start: 56px; inset-inline-end: calc(-1 * var(--s-4)); inline-size: var(--s-4); block-size: 2px; background: var(--line); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* --- FAQ --------------------------------------------------------------- */
.faq-wrap { max-width: 960px; }
.faq { display: grid; gap: var(--s-3); }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 0 var(--s-5); transition: border-color var(--dur-fast); }
.faq details[open] { border-color: var(--ink-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; padding-block: var(--s-4); font-weight: 500; font-size: var(--fs-base); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { inline-size: 32px; block-size: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-1); flex-shrink: 0; font-size: 20px; transition: transform var(--dur-base) var(--ease); }
.faq details[open] summary .chev { transform: rotate(45deg); background: var(--accent); }
.faq details p { color: var(--ink-soft); padding-bottom: var(--s-5); margin: 0; max-width: 72ch; }

/* --- News cards: whole card clickable via the title link -------------- */
.news-item { position: relative; }
.news-item h3 a.stretch { text-decoration: none; }
.news-item h3 a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.news-item .meta a { position: relative; z-index: 2; }
.news-item p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .read-more { margin-top: auto; padding-top: var(--s-4); display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 500; color: var(--green); }
.news-item:hover .read-more .ico.dir { transform: translateX(3px); }
[dir="rtl"] .news-item:hover .read-more .ico.dir { transform: scaleX(-1) translateX(3px); }

/* --- Article page ------------------------------------------------------ */
.page-head .crumbs a { color: var(--on-forest-soft); text-decoration: none; }
.page-head .crumbs a:hover { color: var(--accent); }
.article-title { max-width: 24ch; }
.article-meta { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; color: var(--on-forest-soft); font-size: 15px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-7); align-items: start; }
.article-media { margin: 0 0 var(--s-6); border-radius: var(--radius-lg); overflow: hidden; }
.article-media img { inline-size: 100%; max-block-size: 520px; object-fit: cover; }
.article-media .news-media { aspect-ratio: 21 / 9; }
.article-body p { font-size: var(--fs-base); max-width: 68ch; }
.article-body .lead-p { font-size: var(--fs-lg); font-weight: 500; color: var(--ink); }
.article-aside { position: sticky; top: 96px; display: grid; gap: var(--s-3); }
.side-card { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-4); border-radius: 18px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color var(--dur-fast); }
.side-card:hover { border-color: var(--c); }
.side-card .cat-icon { inline-size: 48px; block-size: 48px; flex-shrink: 0; }
.side-card .code { flex-shrink: 0; font-size: 14px; padding: 10px; --c: var(--c); }
.side-card b { display: block; font-weight: 500; line-height: 1.5; }
.side-card small { display: block; font-size: 13px; color: var(--ink-soft); }
.share { padding: var(--s-4); border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.share h2 { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: var(--s-3); }
.share-row { display: flex; flex-wrap: wrap; gap: 6px; }
.share-row a, .share-row button { font: inherit; font-size: 13px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; min-height: 36px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface-0); color: var(--ink); text-decoration: none; cursor: pointer; }
.share-row a:hover, .share-row button:hover { border-color: var(--ink); }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* --- Pagination (news) -------------------------------------------------- */
.pager { display: flex; justify-content: center; align-items: center; gap: var(--s-4); margin-top: var(--s-7); color: var(--ink-soft); }
.pager .ico.back { transform: scaleX(-1); }
[dir="rtl"] .pager .ico.back { transform: none; }

/* --- Real photos: hero background and criterion covers ----------------- */
.hero.has-photo {
  background:
    linear-gradient(100deg, rgba(11,31,23,.96) 0%, rgba(11,31,23,.86) 45%, rgba(11,31,23,.55) 100%),
    var(--hero) center / cover no-repeat, var(--forest);
}
[dir="rtl"] .hero.has-photo {
  background:
    linear-gradient(260deg, rgba(11,31,23,.96) 0%, rgba(11,31,23,.86) 45%, rgba(11,31,23,.55) 100%),
    var(--hero) center / cover no-repeat, var(--forest);
}
.hero.has-photo::before { opacity: .25; }
.page-head.has-cover {
  background:
    linear-gradient(0deg, rgba(11,31,23,.95) 10%, rgba(11,31,23,.72) 60%, rgba(11,31,23,.55)),
    var(--cover) center / cover no-repeat, var(--forest);
  padding-block: var(--s-9) var(--s-8);
}

/* --- Initiatives ------------------------------------------------------- */
.init-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s-5); }
.init-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--dur-base) var(--ease), border-color var(--dur-base); }
.init-card:hover { transform: translateY(-3px); border-color: var(--c); }
.init-media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--c) 70%, white), var(--c) 55%, color-mix(in srgb, var(--c) 60%, black)); }
.init-media .ico { inline-size: 64px; block-size: 64px; stroke-width: 1.3; opacity: .9; }
.init-media img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.hashtag { position: absolute; inset-block-start: var(--s-3); inset-inline-start: var(--s-3); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); background: rgba(11,31,23,.72); color: var(--accent); backdrop-filter: blur(6px); }
.init-body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.init-body h3 { font-size: var(--fs-lg); margin: 0; }
.init-body p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; margin: 0; }
.init-foot { margin-top: auto; padding-top: var(--s-3); display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); font-size: 14px; }
.init-foot .code { --c: inherit; }

/* --- Programs & services ----------------------------------------------- */
.prog-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.prog-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-6) var(--s-5) var(--s-5); border-radius: var(--radius-lg); background: var(--surface-0); border: 1px solid var(--line); }
.prog-img { inline-size: calc(100% + 2 * var(--s-5)); margin: calc(-1 * var(--s-6)) calc(-1 * var(--s-5)) var(--s-4); aspect-ratio: 16 / 9; object-fit: cover; }
.prog-n { position: absolute; inset-block-start: var(--s-4); inset-inline-end: var(--s-5); font-size: 40px; font-weight: 600; line-height: 1; color: var(--surface-2); }
.prog-img ~ .prog-n { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.prog-ico { inline-size: 52px; block-size: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--forest); color: var(--accent); margin-bottom: var(--s-2); }
.prog-ico .ico { inline-size: 26px; block-size: 26px; }
.prog-card h3 { font-size: var(--fs-lg); margin: 0; }
.prog-card p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; margin: 0; }
.prog-card .more { margin-top: auto; padding-top: var(--s-3); display: inline-flex; gap: 6px; align-items: center; color: var(--green); font-weight: 500; text-decoration: none; font-size: 15px; }
@media (max-width: 1000px) { .prog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prog-grid { grid-template-columns: 1fr; } }

/* --- Photo grid + full-screen viewer ------------------------------------ */
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-flow: dense; gap: var(--s-3); }
.photo-grid li:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.photo-grid a { position: relative; display: block; block-size: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--surface-1); }
.photo-grid li:nth-child(6n + 1) a { aspect-ratio: auto; min-block-size: 100%; }
.photo-grid img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.photo-grid a:hover img { transform: scale(1.05); }
.photo-grid .cap { position: absolute; inset-inline: 0; inset-block-end: 0; padding: var(--s-6) var(--s-4) var(--s-3); font-size: 14px; font-weight: 500; color: #fff; line-height: 1.5;
  background: linear-gradient(transparent, rgba(11,31,23,.85)); opacity: 0; transform: translateY(8px); transition: opacity var(--dur-base), transform var(--dur-base) var(--ease); }
.photo-grid a:hover .cap, .photo-grid a:focus-visible .cap { opacity: 1; transform: none; }
.photo-grid a::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0; inline-size: 100%; block-size: 4px; background: var(--c); }
@media (hover: none) { .photo-grid .cap { opacity: 1; transform: none; } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } .photo-grid li:nth-child(6n + 1) { grid-column: span 2; grid-row: span 1; } .photo-grid li:nth-child(6n + 1) a { aspect-ratio: 16 / 10; } }

.lightbox { inline-size: 100vw; block-size: 100vh; max-inline-size: none; max-block-size: none; margin: 0; padding: 0; border: 0; background: rgba(6,16,12,.94); color: #fff; }
.lightbox::backdrop { background: rgba(6,16,12,.8); }
.lightbox figure { margin: 0; block-size: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: var(--s-7) var(--s-8) var(--s-5); box-sizing: border-box; }
.lightbox img { max-inline-size: 100%; max-block-size: 100%; object-fit: contain; border-radius: 12px; min-block-size: 0; }
.lightbox figcaption { text-align: center; padding-top: var(--s-4); display: grid; gap: 2px; max-inline-size: 72ch; }
.lightbox figcaption b { font-weight: 500; font-size: var(--fs-base); }
.lightbox figcaption span { font-size: 14px; color: var(--on-forest-soft); }
.lightbox figcaption small { font-size: 13px; color: var(--accent); }
.lb-btn { position: absolute; inline-size: 48px; block-size: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-close { inset-block-start: var(--s-4); inset-inline-end: var(--s-4); }
.lb-prev { inset-block-start: 50%; inset-inline-start: var(--s-4); transform: translateY(-50%); }
.lb-next { inset-block-start: 50%; inset-inline-end: var(--s-4); transform: translateY(-50%); }
.lb-btn .ico.back { transform: scaleX(-1); }
[dir="rtl"] .lb-btn .ico.back { transform: none; }
@media (max-width: 640px) { .lightbox figure { padding: var(--s-8) var(--s-3) var(--s-4); } .lb-prev, .lb-next { inset-block-start: auto; inset-block-end: var(--s-4); transform: none; } }

.empty-state { display: grid; place-items: center; gap: var(--s-3); padding: var(--s-9) var(--s-4); border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--ink-soft); text-align: center; }
.empty-ico { inline-size: 64px; block-size: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--surface-1); }
.empty-ico .ico { inline-size: 30px; block-size: 30px; }

/* --- About: history, mission/vision, goals, branches, portraits -------- */
.about-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-8); align-items: start; }
.history p { font-size: var(--fs-base); max-width: 68ch; }
.history .lead-p { font-size: var(--fs-lg); font-weight: 500; }
.about-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 96px; }
.about-photo img { inline-size: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 960px) { .about-intro { grid-template-columns: 1fr; } .about-photo { position: static; } .about-photo img { aspect-ratio: 16 / 10; } }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.mv-card { padding: var(--s-7) var(--s-6); border-radius: var(--radius-lg); background: var(--surface-0); border: 1px solid var(--line); }
.mv-card p { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.8; font-weight: 300; margin: 0; }
.mv-card.dark { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.mv-card.dark .kicker { color: var(--accent); }
.mv-ico { inline-size: 52px; block-size: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--forest); color: var(--accent); margin-bottom: var(--s-4); }
.mv-card.dark .mv-ico { background: var(--accent); color: var(--forest); }
.mv-ico .ico { inline-size: 26px; block-size: 26px; }
@media (max-width: 860px) { .mv-grid { grid-template-columns: 1fr; } }
.goals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-3); }
.goals li { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5); border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.goals .n { font-size: 28px; font-weight: 600; color: var(--green); line-height: 1; }
.goals p { margin: 0; font-size: 16px; line-height: 1.75; }

.branches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-4); }
.branch { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.branch.main { grid-column: span 2; border-color: var(--green); }
.branch-media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #2FA36B, #127A49); }
.branch.main .branch-media { aspect-ratio: 21 / 10; }
.branch-media .ico { inline-size: 48px; block-size: 48px; stroke-width: 1.4; }
.branch-media img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.branch-body { padding: var(--s-4) var(--s-5) var(--s-5); }
.branch-body h3 { font-size: var(--fs-lg); margin: 0; }
.branch-count { font-size: 13px; color: var(--ink-soft); margin: 2px 0 var(--s-3); }
.depts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.depts li { font-size: 13px; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--surface-0); border: 1px solid var(--line); }
@media (max-width: 640px) { .branch.main { grid-column: auto; } }

.people .portrait { inline-size: 96px; block-size: 96px; border-radius: 50%; object-fit: cover; object-position: top; margin-bottom: var(--s-3); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
.people li.chair { border-color: var(--green); background: color-mix(in srgb, var(--green) 6%, var(--surface-0)); }
.people li.chair .portrait { box-shadow: 0 0 0 2px var(--green); }
