/* KLGI — Instituti Kosovar për Qeverisje Lokale
   Identity: the logo's dot map of Kosovo. Logo blue (#015294) owns whole regions (hero, page heads),
   flag gold marks one thing at a time (our seat, the primary action on blue), and five muted series
   colours code the areas of work. The dot is the recurring device: map, kickers, list markers.
   Type: Schibsted Grotesk (headings, interface, figures) and Source Serif 4 (reading text) — both
   OFL, self-hosted (the CSP allows fonts from this origin only), full ë/ç coverage. */

@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(../fonts/schibsted-grotesk-latin-wght-normal.4c8b93f431.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(../fonts/schibsted-grotesk-latin-ext-wght-normal.ee9eeb232c.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(../fonts/source-serif-4-latin-wght-normal.382475f382.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(../fonts/source-serif-4-latin-ext-wght-normal.d10ccbbd0d.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4"; font-style: italic; font-display: swap; font-weight: 200 900;
  src: url(../fonts/source-serif-4-latin-wght-italic.b4f56ddc98.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4"; font-style: italic; font-display: swap; font-weight: 200 900;
  src: url(../fonts/source-serif-4-latin-ext-wght-italic.14e38c2d6a.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #015294;          /* logo blue */
  --blue-hover: #013f73;
  --blue-ink: #08325c;      /* headings on light */
  --navy: #061c36;          /* utility bar, footer */
  --navy-2: #0b2a4d;
  --sky: #e9f1f9;
  --sky-2: #cfe0f1;
  --on-blue: #ffffff;
  --on-blue-2: #c9dcf0;
  --on-blue-3: #9dbbdc;
  --gold: #e2b33c;
  --gold-hover: #f0c454;
  --gold-ink: #6e5000;

  --paper: #f5f7fa;
  --white: #ffffff;
  --ink: #0e1a2a;
  --ink-2: #3d4b5c;
  --ink-3: #576677;
  --line: #dbe2ea;
  --line-strong: #b5c1ce;

  --series-1: #015294;
  --series-2: #12705f;
  --series-3: #8a5a06;
  --series-4: #a33a2b;
  --series-5: #5b4a9a;

  --sans: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --step-3: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.5rem + 2.9vw, 3.75rem);
  --step-5: clamp(2.6rem, 1.4rem + 4.4vw, 5.25rem);

  --gutter: 1rem;
  --space-section: clamp(3.5rem, 2rem + 5vw, 7rem);
  --radius: 4px;
  --shadow: 0 1px 2px rgb(6 28 54 / 0.06), 0 8px 24px -10px rgb(6 28 54 / 0.22);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 40em) { :root { --gutter: 2rem; } }
@media (min-width: 90em) { :root { --gutter: 2.5rem; } }

.series-1 { --series: var(--series-1); }
.series-2 { --series: var(--series-2); }
.series-3 { --series: var(--series-3); }
.series-4 { --series: var(--series-4); }
.series-5 { --series: var(--series-5); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--sans);
  font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--blue-hover); text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
main { flex: 1 0 auto; }
main:focus { outline: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); }
time { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--white); outline-color: var(--gold); }

/* The kicker: a small label led by the logo's dot. */
.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue);
}
.kicker::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: currentColor; flex: none; }
.kicker--on-blue { color: var(--on-blue-2); }
.kicker--on-blue::before { background: var(--gold); }

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 3.125rem; padding: 0.75rem 1.4rem;
  background: var(--blue); color: var(--white); border-radius: var(--radius); border: 0;
  font: 650 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.button:hover { background: var(--blue-hover); color: var(--white); text-decoration: none; }
.button:active { transform: translateY(1px); }
.button .icon:last-child { transition: transform 0.25s var(--ease); }
.button:hover .icon:last-child { transform: translateX(3px); }
.button__note { font-weight: 400; opacity: 0.85; padding-left: 0.6rem; border-left: 1px solid rgb(255 255 255 / 0.35); }
.button--light { background: var(--white); color: var(--blue-ink); }
.button--light:hover { background: var(--gold); color: var(--navy); }
.button--gold { background: var(--gold); color: var(--navy); }
.button--gold:hover { background: var(--gold-hover); color: var(--navy); }
.button--small { min-height: 2.625rem; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 650; text-decoration: none; color: var(--blue);
}
.link-arrow span:first-child { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; transition: text-decoration-color 0.2s; }
.link-arrow:hover span:first-child { text-decoration-color: currentColor; }
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--on-blue, .link-arrow--on-blue:hover { color: var(--white); }

/* ---------- header ---------- */
.utility { background: var(--navy); color: var(--on-blue-2); font-size: var(--step--1); }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; }
.utility a { color: var(--on-blue-2); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.utility a:hover { color: var(--white); text-decoration: underline; }
.utility :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-head :focus-visible, .band--deep :focus-visible { outline-color: var(--gold); }
.utility__contact { display: none; gap: 1.75rem; }
.utility__contact .icon { color: var(--gold); width: 1rem; height: 1rem; }
@media (min-width: 40em) { .utility__contact { display: flex; } }
.lang-switch { font-weight: 650; letter-spacing: 0.01em; margin-left: auto; padding: 0.35rem 0; }
.lang-switch .icon { width: 1rem; height: 1rem; }

.site-header { background: var(--white); position: relative; z-index: 20; box-shadow: 0 1px 0 var(--line); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--ink); padding: 0.85rem 0; }
.brand:hover { color: var(--ink); }
.brand__logo { height: 2.75rem; width: auto; flex: none; }
@media (min-width: 64em) { .brand__logo { height: 3.5rem; } }
.mark { width: 2.25rem; height: 2.25rem; fill: var(--blue); flex: none; }
.mark .mark__gold { fill: var(--gold); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__acronym { font: 800 1.25rem/1 var(--sans); letter-spacing: 0.05em; color: var(--blue); }
.brand__name { font: 500 0.8125rem/1.25 var(--sans); color: var(--ink-2); max-width: 16rem; margin-top: 0.2rem; }

.site-nav__list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; padding-bottom: 0.75rem; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__item > a:not(.button), .sub a {
  display: block; padding: 0.4rem 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.975rem;
  transition: color 0.2s, box-shadow 0.2s;
}
.site-nav__item > a:not(.button):hover, .sub a:hover { color: var(--blue); }
.site-nav__item > a[aria-current]:not(.button) { color: var(--blue); }
.site-nav__item--cta .button[aria-current] { background: var(--blue-ink); }
.sub { list-style: none; }
.sub a[aria-current] { color: var(--blue); }
.sub-toggle {
  display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; margin-left: 0.1rem; padding: 0;
  background: none; border: 0; color: var(--ink-3); cursor: pointer; border-radius: var(--radius);
}
.sub-toggle[hidden] { display: none; }
.sub-toggle .icon { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease); }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-toggle:hover { color: var(--blue); background: var(--sky); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.9rem;
  background: var(--white); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: 650 0.9375rem/1 var(--sans); cursor: pointer;
}
.nav-toggle[hidden] { display: none; }
.nav-toggle:hover { border-color: var(--blue); color: var(--blue); }
.nav-toggle__open { display: inline-flex; }
.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }
@media (max-width: 29.99em) {
  .nav-toggle { padding: 0.5rem; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .brand__logo { height: 2.4rem; }
}

/* Small screens: with JS the menu collapses behind the toggle; all entries are listed flat. */
@media (max-width: 63.99em) {
  .site-nav { width: 100%; }
  .js .site-nav { display: none; }
  .js.nav-open .site-nav { display: block; border-top: 1px solid var(--line); padding: 0.5rem 0 1.5rem; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .site-nav__item { flex-direction: column; align-items: stretch; }
  .site-nav__item > a:not(.button), .sub a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .sub a { padding-left: 1.25rem; font-weight: 500; }
  .sub li:first-child { display: none; } /* same page as the parent link */
  .site-nav__item > a[aria-current]:not(.button) { box-shadow: inset 3px 0 0 var(--blue); padding-left: 0.85rem; }
  .sub-toggle { display: none !important; }
  .site-nav__item--cta { margin-top: 1.25rem; align-items: flex-start; }
}
@media (min-width: 64em) {
  .nav-toggle { display: none !important; }
  .masthead { flex-wrap: nowrap; }
  .site-nav__list { padding: 0; justify-content: flex-end; flex-wrap: nowrap; gap: 0 1.4rem; }
  .site-nav__item > a:not(.button) { padding: 1.75rem 0 1.6rem; box-shadow: inset 0 -3px 0 transparent; }
  .site-nav__item > a[aria-current]:not(.button) { box-shadow: inset 0 -3px 0 var(--blue); }
  .site-nav__item--cta { margin-left: 0.4rem; }
  .sub {
    position: absolute; top: calc(100% - 0.5rem); left: -1.25rem; min-width: 16rem; padding: 0.6rem 0;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    visibility: hidden; opacity: 0; transform: translateY(-4px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
  }
  .sub a { padding: 0.55rem 1.25rem; font-weight: 550; }
  .sub a:hover { background: var(--sky); }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .sub-toggle[aria-expanded="true"] + .sub {
    visibility: visible; opacity: 1; transform: none; transition-delay: 0s;
  }
  .js .has-sub:focus-within:not(:hover) .sub-toggle[aria-expanded="false"] + .sub { visibility: hidden; opacity: 0; }
}
@media (min-width: 64em) and (max-width: 79.99em) {
  .site-nav__list { gap: 0 1rem; }
  .site-nav__item > a:not(.button) { font-size: 0.9375rem; }
}

/* ---------- home: hero ---------- */
.hero { background: var(--blue); color: var(--on-blue); overflow: hidden; }
.hero__grid { display: grid; gap: 2rem; align-items: center; padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 56em) { .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; } }
.hero .kicker { text-transform: none; letter-spacing: 0; font: 600 1rem/1.45 var(--sans); max-width: 34rem; align-items: baseline; }
.hero .kicker::before { transform: translateY(-0.05em); }
.hero__title { margin-top: 1.25rem; font-size: var(--step-5); font-weight: 750; letter-spacing: -0.035em; line-height: 0.98; color: var(--white); max-width: 14ch; }
.hero__lead { margin-top: 1.75rem; font: 400 clamp(1.125rem, 1rem + 0.45vw, 1.375rem)/1.55 var(--serif); color: var(--on-blue-2); max-width: 36rem; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.hero__map { justify-self: center; width: min(100%, 31rem); }
@media (max-width: 55.99em) { .hero__map { width: min(100%, 20rem); } }

/* the dot map */
.dotmap { margin: 0; }
.dotmap__svg { display: block; width: 100%; height: auto; overflow: visible; }
.dotmap__dot circle {
  fill: var(--dot, var(--white)); transform-box: fill-box; transform-origin: center;
  transition: fill 0.2s var(--ease), opacity 0.2s var(--ease), transform 0.3s var(--ease);
  animation: dot-in 0.9s var(--ease) backwards;
}
.dotmap--on-blue { --dot: rgb(255 255 255 / 0.94); --dot-dim: rgb(255 255 255 / 0.32); }
.dotmap--on-light { --dot: var(--blue); --dot-dim: var(--sky-2); }
.dotmap__dot--seat circle { fill: var(--gold); }
.dotmap__dot:hover circle { fill: var(--gold); transform: scale(1.12); }
.dotmap.is-pointing .dotmap__dot:not(:hover) circle { fill: var(--dot-dim); }
.dotmap.is-pointing .dotmap__dot--seat:not(:hover) circle { fill: color-mix(in srgb, var(--gold) 55%, transparent); }
.ring-0 circle { animation-delay: 0.05s; } .ring-1 circle { animation-delay: 0.14s; } .ring-2 circle { animation-delay: 0.23s; }
.ring-3 circle { animation-delay: 0.32s; } .ring-4 circle { animation-delay: 0.41s; } .ring-5 circle { animation-delay: 0.5s; }
@keyframes dot-in { from { opacity: 0; transform: scale(0.2); } }
.dotmap__caption { margin-top: 1rem; display: grid; gap: 0.3rem; justify-items: center; text-align: center; }
.dotmap__readout { display: inline-flex; align-items: baseline; gap: 0.55rem; min-height: 1.5em; font-size: 1.0625rem; }
.dotmap__readout strong { font-weight: 700; }
.dotmap__readout [data-dotmap-note] { font-size: 0.9375rem; opacity: 0.8; }
.dotmap__swatch { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--gold); flex: none; align-self: center; }
.dotmap__note { font-size: var(--step--1); line-height: 1.5; max-width: 26rem; }
.dotmap--on-blue .dotmap__note { color: var(--on-blue-2); }
.dotmap--on-light .dotmap__readout { color: var(--blue-ink); }
.dotmap--on-light .dotmap__note { color: var(--ink-3); }

/* key figures along the foot of the hero */
.keyfigs { background: rgb(0 0 0 / 0.18); border-top: 1px solid rgb(255 255 255 / 0.12); }
.keyfigs__list { margin-block: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 56em) { .keyfigs__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.keyfig { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.35rem; padding: 1.5rem 1.25rem 1.6rem 0; }
.keyfig + .keyfig { padding-left: 1.25rem; border-left: 1px solid rgb(255 255 255 / 0.14); }
@media (max-width: 55.99em) {
  .keyfig:nth-child(3) { padding-left: 0; border-left: 0; }
  .keyfig:nth-child(n + 3) { border-top: 1px solid rgb(255 255 255 / 0.14); }
}
.keyfig__n { margin: 0; font: 750 clamp(2rem, 1.5rem + 1.8vw, 3.25rem)/1 var(--sans); letter-spacing: -0.03em; color: var(--white); font-variant-numeric: tabular-nums lining-nums; }
.keyfig__label { font-size: 0.9375rem; line-height: 1.35; }
.keyfig__label a { color: var(--on-blue-2); text-decoration: none; }
.keyfig__label a:hover { color: var(--white); text-decoration: underline; }

/* ---------- sections ---------- */
.band { padding-block: var(--space-section); }
.band--white { background: var(--white); }
.band--tint { background: var(--sky); }
.band--deep { background: var(--navy); color: var(--on-blue-2); }
.band--deep .section-title { color: var(--white); }
.band--partners { padding-block: 3rem; background: var(--white); border-top: 1px solid var(--line); }
.section-pad { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) var(--space-section); }
.section-title { font-size: var(--step-4); color: var(--blue-ink); letter-spacing: -0.03em; }
.section-intro { margin-top: 1rem; color: var(--ink-2); max-width: 36rem; font: 400 1.125rem/1.6 var(--serif); }
.section-head {
  display: grid; gap: 0.9rem 2rem; grid-template-columns: minmax(0, 1fr) auto; align-items: end;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}
.section-head > :not(.link-arrow) { grid-column: 1; }
.section-head > .link-arrow { grid-column: 2; grid-row: 2; padding-bottom: 0.5rem; }
@media (max-width: 39.99em) {
  .section-head { grid-template-columns: 1fr; }
  .section-head > .link-arrow { grid-column: 1; grid-row: auto; }
}
.section-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem 2rem; margin-bottom: 2rem; }

.split { display: grid; gap: 2rem; }
@media (min-width: 56em) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4rem; }
  .split__head { position: sticky; top: 2rem; align-self: start; }
}

/* ---------- research: the newest publication, large ---------- */
.research { display: grid; gap: 3rem; }
@media (min-width: 64em) { .research { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 4rem; align-items: start; } }
.pub-feature { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 40em) { .pub-feature { grid-template-columns: minmax(12rem, 0.85fr) minmax(0, 1.15fr); gap: 2.5rem; } }
.pub-feature__cover { display: block; text-decoration: none; }
.pub-feature__cover .cover__title { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.pub-feature__meta { display: flex; gap: 0.75rem; font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue); }
.pub-feature__meta span + span { color: var(--ink-3); }
.pub-feature__title { margin-top: 0.85rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.1; letter-spacing: -0.025em; }
.pub-feature__title a { color: var(--ink); text-decoration: none; }
.pub-feature__title a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; }
.pub-feature__summary { margin-top: 1rem; font: 400 1.125rem/1.6 var(--serif); color: var(--ink-2); }
.pub-feature__actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.pub-feature__actions .pub__download { margin-top: 0; }
.research__more { display: grid; gap: 0; border-top: 1px solid var(--line); }
.research__more .pub { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.25rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.research__more .cover__title { font-size: 0.6rem; padding: 0.5rem 0.4rem 0 0.7rem; -webkit-line-clamp: 5; }
.research__more .cover__band { margin: 0.5rem 0 0 0.7rem; width: 1.25rem; height: 0.2rem; }
.research__more .cover__foot { display: none; }

/* ---------- areas of work ---------- */
.area-grid { list-style: none; display: grid; gap: 1px; background: var(--sky-2); border: 1px solid var(--sky-2); border-radius: var(--radius); overflow: hidden; counter-reset: area; }
@media (min-width: 40em) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .area-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.area-grid .area-row {
  counter-increment: area; position: relative; display: flex; flex-direction: column; gap: 1rem;
  min-height: 17rem; padding: 1.75rem 1.5rem 1.5rem; background: var(--white);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.area-grid .area-row::before { content: "0" counter(area); font: 700 0.875rem/1 var(--sans); letter-spacing: 0.08em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.area-grid .area-row__icon { order: -1; position: absolute; top: 1.4rem; right: 1.4rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.area-grid .area-row__text { margin-top: auto; }
.area-grid .area-row__title { font-size: 1.3125rem; line-height: 1.2; letter-spacing: -0.015em; }
.area-grid .area-row__text p { font-size: 0.9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.area-grid .area-row__arrow { display: block; align-self: flex-start; }
.area-grid .area-row:hover { background: var(--series); }
.area-grid .area-row:hover::before, .area-grid .area-row:hover .area-row__title a,
.area-grid .area-row:hover .area-row__text p, .area-grid .area-row:hover .area-row__arrow { color: var(--white); }
.area-grid .area-row:hover .area-row__icon { background: rgb(255 255 255 / 0.18); }
@media (max-width: 39.99em) { .area-grid .area-row { min-height: 0; } }

.area-list { list-style: none; border-top: 1px solid var(--line); }
.area-list .area-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: start; padding: 1.5rem 0.25rem; border-bottom: 1px solid var(--line); transition: background-color 0.2s; }
.area-list .area-row:hover { background: color-mix(in srgb, var(--series) 5%, transparent); }
.area-row { position: relative; }
.area-row__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--series); color: var(--white); flex: none; }
.area-row__icon .icon { width: 1.5rem; height: 1.5rem; }
.area-row__title { font-size: var(--step-2); }
.area-row__title a { color: var(--ink); text-decoration: none; }
.area-row__title a::after { content: ""; position: absolute; inset: 0; }
.area-row__title a:focus-visible { outline: none; }
.area-row:has(a:focus-visible) { outline: 3px solid var(--blue); outline-offset: -3px; }
.area-list .area-row:hover .area-row__title a { color: var(--series); }
.area-row__text p { margin-top: 0.45rem; color: var(--ink-2); max-width: 40rem; }
.area-row__arrow { display: none; color: var(--series); align-self: center; transition: transform 0.25s var(--ease); }
@media (min-width: 40em) { .area-list .area-row__arrow { display: block; } }
.area-row:hover .area-row__arrow { transform: translateX(4px); }
@media (min-width: 40em) { .area-list--wide .area-row { padding-block: 2rem; gap: 2rem; } .area-list--wide .area-row__icon { width: 3.5rem; height: 3.5rem; } }

/* ---------- news ---------- */
.story { position: relative; display: grid; gap: 1.1rem; align-content: start; }
.story__media { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: var(--sky); }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.story:hover .story__media img { transform: scale(1.035); }
.story__meta { font: 600 0.8125rem/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.story__title { font-size: var(--step-1); line-height: 1.22; margin-top: 0.35rem; letter-spacing: -0.015em; }
.story__title a { color: var(--ink); text-decoration: none; }
.story__title a::after { content: ""; position: absolute; inset: 0; }
.story:hover .story__title a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; }
.story:has(a:focus-visible) { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
.story__title a:focus-visible { outline: none; }
.story__summary { color: var(--ink-2); margin-top: 0.6rem; font-family: var(--serif); }
.story--lead .story__title { font-size: var(--step-3); line-height: 1.08; letter-spacing: -0.025em; }
.story--lead .story__summary { font-size: 1.125rem; max-width: 40rem; }
.story--compact { grid-template-columns: 7rem 1fr; gap: 1.1rem; padding-block: 1.35rem; border-top: 1px solid var(--line); }
.story--compact:first-child { border-top: 0; padding-top: 0; }
.story--compact .story__media { aspect-ratio: 1; }
.story--compact .story__title { font-size: 1.125rem; }
.news-lead { display: grid; gap: 2.5rem; }
@media (min-width: 56em) { .news-lead { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 4rem; } }
.story-grid { display: grid; gap: 3rem 2rem; }
@media (min-width: 40em) { .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: var(--sky); }
.placeholder .mark { width: 28%; height: auto; max-width: 4.5rem; fill: var(--sky-2); }
.placeholder .mark .mark__gold { fill: #ecd28e; }

/* ---------- events ---------- */
.event-list { display: grid; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 4.75rem 1fr; gap: 1.35rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.event__leaf {
  display: grid; place-content: center; text-align: center; aspect-ratio: 1; border-radius: var(--radius);
  background: var(--leaf, var(--blue)); color: var(--white);
}
.event__day { font: 750 1.85rem/1 var(--sans); letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums; }
.event__month { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.3rem; opacity: 0.85; }
.event__title { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.015em; }
.event__title a { color: var(--ink); text-decoration: none; }
.event__title a::after { content: ""; position: absolute; inset: 0; }
.event:hover .event__title a { color: var(--blue); text-decoration: underline; }
.event:has(a:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.event__title a:focus-visible { outline: none; }
.event__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin-top: 0.55rem; font-size: 0.9375rem; color: var(--ink-2); }
.event__meta > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.event__meta .icon { width: 1rem; height: 1rem; color: var(--ink-3); }
@media (min-width: 56em) {
  .event-list--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; border-top: 0; }
  .event-list--row .event { border-bottom: 0; border-top: 3px solid var(--blue); padding-top: 1.75rem; }
}
.event-group + .event-group { margin-top: var(--space-section); }
.event-group .section-title { margin-bottom: 1.5rem; }
.event-group--past .event__leaf { --leaf: var(--sky); color: var(--blue-ink); }

/* ---------- publications ---------- */
.shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem 1.25rem; }
@media (min-width: 48em) { .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.25rem 2rem; } }
@media (min-width: 64em) { .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pub { display: grid; gap: 1rem; align-content: start; }
.pub__cover { display: block; text-decoration: none; }
/* A cover without artwork is set like a report in the institute's series: colour, title, the dot. */
.cover {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 2px 5px 5px 2px; background: var(--series, var(--series-1)); color: var(--white);
  box-shadow: var(--shadow); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: rgb(0 0 0 / 0.18); z-index: 1; }
.cover::after {
  content: ""; position: absolute; right: -14%; bottom: -10%; width: 62%; aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, rgb(255 255 255 / 0.16) 0 18%, transparent 19%),
              radial-gradient(circle at 72% 40%, rgb(255 255 255 / 0.1) 0 12%, transparent 13%),
              radial-gradient(circle at 46% 74%, rgb(255 255 255 / 0.12) 0 15%, transparent 16%);
}
.pub:hover .cover, .pub-feature:hover .cover { transform: translateY(-4px); box-shadow: 0 2px 4px rgb(6 28 54 / 0.08), 0 22px 36px -16px rgb(6 28 54 / 0.4); }
.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__band { height: 0.4rem; margin: 1.4rem 1.25rem 0 1.6rem; width: 2.5rem; background: var(--gold); border-radius: 1px; }
.cover__title {
  position: relative; z-index: 1; padding: 1rem 1.25rem 0 1.6rem; font: 700 clamp(1rem, 0.85rem + 0.6vw, 1.3rem)/1.15 var(--sans);
  letter-spacing: -0.01em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical;
}
.cover__foot { position: relative; z-index: 1; display: flex; justify-content: space-between; padding: 1rem 0 1.1rem; margin-inline: 1.6rem 1.25rem; font: 750 0.75rem/1 var(--sans); letter-spacing: 0.1em; border-top: 1px solid rgb(255 255 255 / 0.28); }
.pub__year { font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.06em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pub__title { font-size: 1.0625rem; line-height: 1.3; margin-top: 0.2rem; letter-spacing: -0.01em; }
.pub__title a { color: var(--ink); text-decoration: none; }
.pub__title a:hover { color: var(--blue); text-decoration: underline; }
.pub__download { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.6rem; font-size: 0.9375rem; font-weight: 650; text-decoration: none; }
.pub__download .icon { width: 1.1rem; height: 1.1rem; }
.pub__download:hover span:nth-child(2) { text-decoration: underline; }
.pub__size { color: var(--ink-3); font-weight: 400; }

.year-jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 3rem; }
.year-jump a { display: inline-block; padding: 0.45rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 650; font-size: 0.9375rem; font-variant-numeric: tabular-nums; background: var(--white); color: var(--ink); }
.year-jump a:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }
.year-group + .year-group { margin-top: 4rem; }
.year-group__title { font-size: var(--step-3); color: var(--blue-ink); margin-bottom: 1.75rem; padding-bottom: 0.85rem; border-bottom: 2px solid var(--ink); font-variant-numeric: lining-nums; }

/* ---------- partners ---------- */
.partners-strip__title { font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.5rem; }
.partners { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; }
.partner { display: grid; }
.partner__link, .partner > .partner__name, .partner > img {
  display: grid; place-items: center; gap: 0.75rem; min-height: 7rem; padding: 1.25rem; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.partner__link:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--blue); }
.partner__logo { max-height: 3.5rem; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.2s, opacity 0.2s; }
.partner__link:hover .partner__logo { filter: none; opacity: 1; }
.partner__name { font: 650 1rem/1.3 var(--sans); }
.partners--compact { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.partners--compact .partner__link, .partners--compact .partner > .partner__name { min-height: 5rem; padding: 0.9rem; background: var(--paper); border-color: transparent; }
.partners--compact .partner__name { font-size: 0.9375rem; color: var(--ink-2); }

/* ---------- platform ---------- */
.platform { display: grid; gap: 2.5rem; align-items: center; }
.platform__text > p { margin-top: 1.25rem; max-width: 38rem; color: var(--on-blue-2); }
.platform__lead { font: 400 1.125rem/1.6 var(--serif); }
.platform__text > p:last-child { margin-top: 2rem; }
.platform__text .section-title { margin-top: 1rem; }
.platform__img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.7); }
@media (min-width: 56em) { .platform { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4.5rem; } }

/* ---------- inner pages: the page head carries the brand blue ---------- */
.page-head { background: var(--blue); color: var(--on-blue); padding-block: 1.5rem clamp(2.5rem, 1.5rem + 3vw, 4.25rem); position: relative; overflow: hidden; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; font-size: var(--step--1); color: var(--on-blue-3); margin-bottom: clamp(1.75rem, 1rem + 2.5vw, 3rem); }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--on-blue-3); }
.crumbs a { color: var(--on-blue-2); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.page-head__title { font-size: var(--step-4); font-weight: 750; color: var(--white); max-width: 22ch; letter-spacing: -0.03em; line-height: 1.04; }
.page-head__lead { margin-top: 1.25rem; font: 400 clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem)/1.55 var(--serif); color: var(--on-blue-2); max-width: 44rem; }
.page-head__meta { font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-blue-2); margin-bottom: 0.9rem; }
.page-head__meta a { color: var(--white); }

.area-head .page-head { background: var(--series); }
.area-head__icon { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.25rem; border-radius: 50%; background: rgb(255 255 255 / 0.16); color: var(--white); }
.area-head__icon .icon { width: 1.75rem; height: 1.75rem; }

.article-layout { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) var(--space-section); }
.article-main { min-width: 0; max-width: 46rem; }
@media (min-width: 56em) {
  .article-layout--aside { grid-template-columns: 16rem minmax(0, 1fr); gap: 4.5rem; }
  .article-layout--aside > :first-child { position: sticky; top: 2rem; align-self: start; }
}
.subnav__title { font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.9rem; }
.subnav ul { list-style: none; border-left: 1px solid var(--line); }
.subnav a { display: block; padding: 0.5rem 0 0.5rem 1rem; margin-left: -1px; border-left: 3px solid transparent; color: var(--ink-2); text-decoration: none; font-weight: 550; line-height: 1.35; }
.subnav a:hover { color: var(--blue); border-left-color: var(--line-strong); }
.subnav a[aria-current] { color: var(--ink); font-weight: 700; border-left-color: var(--series, var(--blue)); }

.facts { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 1.35rem 1.5rem; }
.facts dl, .contact-lines { margin: 0; display: grid; gap: 1.1rem; }
.facts dt, .contact-lines dt { display: flex; align-items: center; gap: 0.5rem; font-size: var(--step--1); font-weight: 650; color: var(--ink-3); }
.facts dt .icon, .contact-lines dt .icon { width: 1rem; height: 1rem; color: var(--blue); }
.facts dd, .contact-lines dd { margin: 0.25rem 0 0; font-weight: 550; }

.figure { margin: 0 0 2.25rem; }
.figure__img { width: 100%; border-radius: var(--radius); }
.fallback-note { font-size: var(--step--1); color: var(--ink-2); margin-bottom: 1.25rem; padding: 0.6rem 0.9rem; background: var(--sky); border-radius: var(--radius); display: inline-block; }

/* Reading text is set in the serif, at a comfortable measure. */
.prose { font: 400 1.1875rem/1.7 var(--serif); max-width: 68ch; color: #1a2636; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-3); color: var(--blue-ink); margin-top: 2em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.75em; }
.prose h4 { font: 700 1.125rem/1.4 var(--sans); margin-top: 1.5em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--blue); }
.prose ul { list-style: none; padding-left: 1.3em; }
.prose ul > li { position: relative; }
.prose ul > li::before { content: ""; position: absolute; left: -1.1em; top: 0.68em; width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--blue); }
.prose blockquote { margin-inline: 0; padding: 0.25rem 0 0.25rem 1.5rem; border-left: 3px solid var(--gold); font: italic 500 1.4rem/1.45 var(--serif); color: var(--blue-ink); }
.prose figure { margin-inline: 0; }
.prose figcaption { font: 400 var(--step--1)/1.5 var(--sans); color: var(--ink-3); margin-top: 0.6rem; }
.prose img { border-radius: var(--radius); }
.prose strong, .prose b { font-weight: 650; }
.prose table { width: 100%; border-collapse: collapse; font: 400 0.9875rem/1.5 var(--sans); font-variant-numeric: tabular-nums; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; background: var(--sky); }
.prose a { overflow-wrap: anywhere; }

.gallery { margin-top: 3.5rem; }
.gallery__title { font-size: var(--step-2); margin-bottom: 1.25rem; }
.gallery__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.75rem; }
.gallery__grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery__grid a:hover img { transform: scale(1.04); }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pager__pages { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pager__pages a, .pager__pages span { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; border-radius: 50%; font-weight: 650; text-decoration: none; font-variant-numeric: tabular-nums; }
.pager__pages a:hover { background: var(--sky); }
.pager__pages span[aria-current] { background: var(--blue); color: var(--white); }
.pager__step { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 650; text-decoration: none; min-height: 2.75rem; }
.pager__step:hover span { text-decoration: underline; }

.pub-detail { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) var(--space-section); }
.pub-detail__cover { max-width: 18rem; }
.pub-detail__body > p:first-child { margin-bottom: 2rem; }
@media (min-width: 48em) { .pub-detail { grid-template-columns: 18rem minmax(0, 1fr); gap: 4.5rem; align-items: start; } }

.contact { display: grid; gap: 3rem; }
.contact__card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.contact__card .section-title { margin-bottom: 1.75rem; font-size: var(--step-3); }
.contact__card dd { font-size: 1.125rem; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.contact__aside .dotmap { max-width: 26rem; margin-inline: auto; }
@media (min-width: 56em) { .contact { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 4.5rem; align-items: start; } }

.empty { color: var(--ink-2); padding: 1.5rem; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

.not-found { padding-block: var(--space-section); }
.not-found__inner { display: grid; gap: 2rem 4rem; }
.not-found__code { font: 800 clamp(5rem, 3rem + 8vw, 9.5rem)/0.9 var(--sans); color: var(--sky-2); letter-spacing: -0.05em; }
.not-found__title { font-size: var(--step-3); color: var(--blue-ink); margin-bottom: 0.75rem; }
.not-found__title--en { font-size: var(--step-2); }
.not-found__text p + p { margin-top: 1.25rem; }
@media (min-width: 56em) { .not-found__inner { grid-template-columns: auto 1fr 1fr; align-items: start; } }

/* ---------- municipal data ---------- */
.muni-intro { display: grid; gap: 2.5rem; align-items: center; margin-bottom: var(--space-section); }
@media (min-width: 56em) { .muni-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 4.5rem; } }
.muni-intro .dotmap { width: min(100%, 28rem); justify-self: center; }
.muni-intro__link { margin-top: 1.5rem; }

.region + .region { margin-top: 3.5rem; }
.region__title { font-size: var(--step-2); color: var(--blue-ink); padding-bottom: 0.85rem; border-bottom: 2px solid var(--ink); }
.muni-list { list-style: none; display: grid; column-gap: 2.5rem; }
@media (min-width: 40em) { .muni-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .muni-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.muni-row { position: relative; display: grid; gap: 0.2rem; padding: 1.05rem 0.25rem; border-bottom: 1px solid var(--line); transition: background-color 0.2s; }
.muni-row:hover { background: var(--white); }
.muni-row__name { font: 700 var(--step-1)/1.25 var(--sans); letter-spacing: -0.015em; color: var(--ink); text-decoration: none; }
.muni-row__name::after { content: ""; position: absolute; inset: 0; }
.muni-row:hover .muni-row__name { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; }
.muni-row__name:focus-visible { outline: none; }
.muni-row:has(a:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.muni-row__meta { display: flex; flex-wrap: wrap; gap: 0.15rem 1rem; font-size: var(--step--1); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.muni-row__meta strong { color: var(--ink-2); font-weight: 700; }

.facts__link { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.9375rem; font-weight: 650; }
.facts dd { font-variant-numeric: tabular-nums; }
.muni .article-main { max-width: none; }
.assembly + .assembly, .muni__profile { margin-top: var(--space-section); }
.assembly .section-title, .muni__profile .section-title { margin-bottom: 1.75rem; font-size: var(--step-3); }
.assembly__charts { display: grid; gap: 2.5rem; }
@media (min-width: 48em) { .assembly__charts { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: start; } }
.assembly__subtitle { font-size: var(--step-2); margin: 3rem 0 1.25rem; }
.assembly__count { font: 500 1rem var(--sans); color: var(--ink-3); }

.bars { margin: 0; }
.bars__caption { font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.85rem; }
.bars__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.bars__row > * { padding: 0.5rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bars__label { text-align: left; font-weight: 650; padding-right: 1rem; width: 1%; white-space: nowrap; }
.bars__cell { display: flex; align-items: center; gap: 0.6rem; }
.bars__n { min-width: 3ch; text-align: right; font-weight: 700; }
.bars__track { flex: 1; height: 0.7rem; min-width: 3rem; }
.bars__fill { fill: var(--blue); }
.bars__row:first-child .bars__fill { fill: var(--blue-ink); }
.bars__row--f .bars__fill { fill: var(--series-2); }
.bars__row--m .bars__fill { fill: var(--blue); }
.bars__row--unknown .bars__fill { fill: var(--line-strong); }
.bars__row--unknown .bars__label { color: var(--ink-3); font-weight: 500; }
.bars__pct { text-align: right; padding-left: 0.75rem; color: var(--ink-3); font-size: var(--step--1); width: 1%; white-space: nowrap; }
.bars__note { margin-top: 0.75rem; font-size: var(--step--1); color: var(--ink-3); max-width: 30rem; }
@media (max-width: 29.99em) { .bars__label { white-space: normal; width: 34%; } }

.roster { display: grid; gap: 1.75rem 2.5rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.roster__group { border-top: 3px solid var(--blue); padding-top: 0.85rem; }
.roster__party { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font: 700 1rem/1.3 var(--sans); color: var(--blue-ink); margin-bottom: 0.5rem; }
.roster__n { font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.roster__names { list-style: none; display: grid; gap: 0.25rem; font-size: 0.9875rem; }
.roster__role { color: var(--ink-3); font-size: var(--step--1); }

.stats__summary { max-width: 40rem; margin-bottom: 2.5rem; }
.stats__more { margin-top: 1.25rem; }
.stats__more summary { cursor: pointer; font-weight: 650; color: var(--blue); }
.stats__parties { list-style: none; margin-top: 0.75rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0.25rem 2rem; font-size: 0.9375rem; }
.stats__parties li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; border-bottom: 1px solid var(--line); }
.stats__n { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.stats__table { margin-top: var(--space-section); }
.stats__table .section-title { margin-bottom: 1.5rem; font-size: var(--step-3); }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--white); border: 1px solid var(--line); }
.data-table th, .data-table td { text-align: left; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line); }
.data-table thead th { font-size: var(--step--1); color: var(--ink-2); background: var(--sky); }
.data-table tbody th { font-weight: 650; }
.data-table tbody tr:hover { background: var(--paper); }
.data-table tfoot th, .data-table tfoot td { font-weight: 750; border-top: 2px solid var(--ink); border-bottom: 0; }
.data-table .num { text-align: right; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--on-blue-2); font-size: 0.9375rem; }
.site-footer a { color: var(--on-blue-2); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.75rem; padding-block: 4rem 3rem; }
@media (min-width: 48em) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 3.5rem; } }
.site-footer__brand { display: flex; align-items: center; gap: 0.85rem; font: 700 1.125rem/1.3 var(--sans); color: var(--white); max-width: 20rem; }
.site-footer__logo { height: 3.5rem; width: auto; }
.site-footer .mark { fill: var(--on-blue-3); }
.site-footer__about p + p { margin-top: 1.25rem; color: var(--on-blue-3); max-width: 26rem; font: 400 1rem/1.55 var(--serif); }
.site-footer__nav ul { list-style: none; display: grid; gap: 0.6rem; }
@media (min-width: 30em) { .site-footer__nav ul { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.site-footer__title { font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-blue-3); margin-bottom: 1.1rem; }
.site-footer .contact-lines dt { color: var(--on-blue-3); }
.site-footer .contact-lines dt .icon { color: var(--gold); }
.social { list-style: none; display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgb(255 255 255 / 0.22); border-radius: 50%; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid rgb(255 255 255 / 0.12); color: var(--on-blue-3); font-size: var(--step--1); }
.lang-switch--quiet { margin-left: 0; font-weight: 650; }

/* ---------- motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .utility, .site-nav, .nav-toggle, .site-footer, .pager, .dotmap, .skip-link, .keyfigs { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hero, .page-head { background: none; color: #000; padding: 0 0 1rem; }
  .hero__title, .page-head__title, .hero__lead, .page-head__lead, .crumbs a { color: #000; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #444; }
}
