/* Layout: yellow ECIU hero with a white pill section nav, then four bands (reach, stories, stakeholders, map) alternating white and soft grey, closing on a navy footer. Single light theme, as on university.eciu.eu. */
:root {
  --navy: #002337;
  --navy-2: #0A354E;
  --yellow: #FFD75E;
  --sky: #3898EC;
  --mist: #87ADD2;
  --paper: #FFFFFF;
  --ground: #F5F7F9;
  --land: #E4E8ED;
  --line: #ECEEF1;
  --muted: #686C73;
  --font: "Poppins", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--font); font-size: 15px; line-height: 1.6; letter-spacing: -0.01em; }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* hero */
.hero { background: var(--yellow); }
.hero .wrap { padding-block: 22px 52px; display: grid; gap: 22px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.eyebrow svg { width: 14px; height: 14px; }
.pill-btn { background: var(--navy); color: var(--paper); border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; display: flex; justify-content: center; padding-block: 10px; margin-top: -62px; pointer-events: none; }
.nav ul { pointer-events: auto; list-style: none; margin: 0; padding: 5px; display: flex; gap: 2px; background: var(--paper); border-radius: 999px; box-shadow: 0 4px 18px rgba(0,35,55,.10); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.nav a { display: block; padding: 7px 14px; border-radius: 999px; font-size: 13px; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a.on { background: var(--navy); color: var(--paper); }
h1 { font-weight: 500; font-size: clamp(32px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -0.025em; margin: 34px 0 0; max-width: 16ch; text-wrap: balance; }
.lede { max-width: 58ch; margin: 0; font-size: 16px; }

/* sections */
section.band { padding-block: 64px; scroll-margin-top: 60px; }
section.band.alt { background: var(--ground); }
.sec-head { display: grid; gap: 8px; margin-bottom: 28px; }
.kicker { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
h2 { margin: 0; font-weight: 500; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; letter-spacing: -0.02em; max-width: 24ch; text-wrap: balance; }
.sec-head p { margin: 0; max-width: 62ch; color: var(--navy); }
.note { font-size: 12.5px; color: var(--muted); }

/* reach */
.pair { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 14px; align-items: stretch; }
.pair .tile { background: var(--navy); color: var(--paper); }
.pair .tile .lbl { color: var(--mist); }
.pair .tile.cred { background: var(--yellow); color: var(--navy); }
.pair .tile.cred .lbl { color: var(--navy); }
.arrow { display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--navy); }
.pair-note { margin: 14px 0 0; font-size: 15px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pair-note b { font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 26px; }
.tile { background: var(--ground); border-radius: 20px; padding: 22px 22px 20px; display: grid; gap: 6px; align-content: start; }
.tile .lbl { font-size: 13px; font-weight: 500; color: var(--muted); }
.tile .num { font-size: clamp(32px, 3.6vw, 44px); font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pair .tile .num { font-size: clamp(44px, 6vw, 72px); }
.tile .sub { font-size: 13px; color: var(--muted); }
.pair .tile .sub { color: inherit; opacity: .8; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .pair { grid-template-columns: minmax(0,1fr); } .arrow { transform: rotate(90deg); height: 24px; } .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 400px) { .tiles { grid-template-columns: minmax(0,1fr); } }

/* stories */
.status { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); border-radius: 999px; padding: 6px 14px 6px 10px; font: 400 13px var(--font); }
button.chip { cursor: pointer; }
button.chip[aria-pressed="false"] { opacity: .45; }
.chip .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.sw { width: 12px; height: 12px; border-radius: 50%; flex: none; border: 1px solid var(--navy); }
.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.story { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 10px; min-width: 0; }
.story-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.stage { font-size: 12px; color: var(--muted); }
.story h3 { margin: 0; font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.who { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.story .body { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.story .body p { margin: 0; }
.changed { background: var(--ground); border-radius: 14px; padding: 12px 14px; }
.changed b { display: block; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.story-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.rec { font-size: 12px; color: var(--muted); }
.link { font-size: 13px; font-weight: 500; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.reads { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.reads .lab { font-size: 13px; font-weight: 500; margin-right: 6px; }
.reads a { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: 13px; text-decoration: none; }
.reads a:hover { border-color: var(--navy); }
.reads a span { color: var(--muted); font-size: 11px; margin-left: 4px; }

/* stakeholders */
.voices { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .voices { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 18px; min-width: 0; }
.panel h3 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.stat-q { display: grid; gap: 8px; }
.stat-q .row { display: flex; align-items: baseline; gap: 16px; }
.stat-q .pct { font-size: 46px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; min-width: 2.6em; }
.stat-q .txt { font-size: 14.5px; }
.bar { height: 8px; border-radius: 4px; background: var(--ground); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--navy); border-radius: 4px; }
.pending { border: 1.5px dashed var(--mist); background: transparent; }
.pending .slot { border-radius: 14px; background: var(--ground); padding: 16px; display: grid; gap: 6px; }
.pending .slot i { display: block; height: 10px; border-radius: 5px; background: var(--land); }
.pending .slot i:nth-child(2) { width: 80%; }
.pending .slot i:nth-child(3) { width: 55%; }
.tag { justify-self: start; background: var(--yellow); border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 500; }


/* stakeholder kpis */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
@media (max-width: 960px) { .kpis { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 460px) { .kpis { grid-template-columns: minmax(0,1fr); } }
.kpi { background: var(--ground); border-radius: 20px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.kpi:first-child { background: var(--navy); color: var(--paper); }
.kpi:first-child .base { color: var(--mist); }
.kpi .num { font-size: clamp(40px, 4.4vw, 54px); font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi .txt { font-size: 14px; line-height: 1.45; }
.kpi .base { font-size: 11.5px; color: var(--muted); }
.stack { display: flex; height: 40px; border-radius: 12px; overflow: hidden; gap: 2px; }
.stack span { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; min-width: 0; }
.keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.keys li { display: grid; grid-template-columns: 12px minmax(0,1fr) 40px; gap: 10px; align-items: center; }
.keys .sq { width: 12px; height: 12px; border-radius: 3px; }
.keys .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.vrow { display: grid; gap: 6px; }
.vrow .top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.vrow .top b { font-weight: 500; font-variant-numeric: tabular-nums; }
.lessons { margin-top: 16px; background: var(--yellow); border-radius: 20px; padding: 26px; display: grid; gap: 16px; }
.lessons h3 { margin: 0; font-size: 18px; font-weight: 500; }
.lesson-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
@media (max-width: 960px) { .lesson-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 460px) { .lesson-grid { grid-template-columns: minmax(0,1fr); } }
.lesson { background: var(--paper); border-radius: 14px; padding: 16px; font-size: 14px; line-height: 1.45; font-weight: 500; }
.quotes { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.quote { margin: 0; border-left: 3px solid var(--yellow); padding: 6px 0 6px 18px; display: grid; gap: 6px; }
.quote p { margin: 0; font-size: 17px; line-height: 1.45; letter-spacing: -0.01em; }
.quote cite { font-style: normal; font-size: 12px; color: var(--muted); }

/* map */
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--navy); font: 500 13px var(--font); padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--paper); }
.legend { display: flex; flex-wrap: wrap; gap: 8px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
@media (max-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.mapcard { background: var(--paper); border-radius: 20px; padding: 10px; position: relative; min-width: 0; border: 1px solid var(--line); }
.mapcard svg { display: block; width: 100%; height: auto; }
.country { fill: var(--land); stroke: var(--paper); stroke-width: .8; }
.dot { stroke: var(--navy); stroke-width: 0; cursor: pointer; transition: opacity .2s; }
.dot.g-business { fill: var(--navy); }
.dot.g-public { fill: var(--sky); }
.dot.g-civil { fill: var(--yellow); stroke-width: 1.2; }
.dot.g-knowledge { fill: var(--paper); stroke-width: 1.6; }
.dot.off { opacity: .08; pointer-events: none; }
.dot.hl { stroke: var(--navy); stroke-width: 2.4; }
.clabel { font: 500 13px var(--font); fill: var(--navy); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.clabel tspan.n { font-weight: 400; fill: var(--muted); }
.tip { position: absolute; pointer-events: none; background: var(--navy); color: var(--paper); border-radius: 12px; padding: 10px 14px; font-size: 12.5px; line-height: 1.45; max-width: 260px; box-shadow: 0 8px 24px rgba(0,35,55,.18); }
.tip b { display: block; font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.tip .k { color: var(--yellow); }
.tip .ap { color: var(--mist); font-size: 11.5px; margin-top: 4px; }
.mapnote { position: absolute; left: 22px; bottom: 16px; font-size: 11.5px; color: var(--muted); pointer-events: none; }
aside { display: grid; gap: 16px; min-width: 0; }
aside .panel { padding: 20px; gap: 12px; }
aside p { margin: 0; font-size: 13px; color: var(--muted); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.bars li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 26px; gap: 10px; align-items: center; font-size: 13px; }
.bars .track { height: 8px; background: var(--ground); border-radius: 4px; overflow: hidden; }
.bars .fill { display: block; height: 100%; background: var(--navy); border-radius: 4px; }
.bars .v { text-align: right; font-variant-numeric: tabular-nums; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.plist li { display: grid; grid-template-columns: 12px minmax(0,1fr); gap: 10px; align-items: start; }
.plist .sw { margin-top: 5px; }
.plist small { display: block; color: var(--muted); font-size: 12px; }

footer { background: var(--navy); color: var(--paper); }
footer .wrap { padding-block: 30px; display: grid; gap: 8px; font-size: 12.5px; }
footer p { margin: 0; max-width: 95ch; opacity: .85; }
.srcs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.srcs-lab { font-weight: 500; margin-right: 6px; }
.srcs a, .srcs span:not(.srcs-lab) { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 5px 14px; text-decoration: none; color: var(--paper); }
.srcs a:hover { background: var(--paper); color: var(--navy); }
.srcs span:not(.srcs-lab) { opacity: .75; }
footer .eu { margin-top: 10px; font-size: 12px; opacity: .65; }
footer b { font-weight: 500; }
