/* KLGI — Instituti Kosovar për Qeverisje Lokale
   Identity: the logo's dot map of Kosovo, set on a dark ground. Near-black navy owns whole regions
   (hero, every page head, the data bands, footer); flag gold is the one accent (the key-figure band,
   the primary action, kickers, rules on dark); the map and charts carry one colour per party.
   Display type is very large and heavy; sections open under a 4px rule, like pages of a report.
   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 {
  --ink: #050d1a;           /* the dark ground: hero, page heads, data bands, footer */
  --navy: #0a1a33;
  --navy-2: #12294b;
  --blue: #015294;          /* logo blue */
  --blue-hover: #013f73;
  --blue-bright: #2b8fff;
  --blue-ink: #07284d;      /* headings on light */
  --sky: #e6eef8;
  --sky-2: #c9dbf0;
  --on-dark: #ffffff;
  --on-dark-2: #c6d5e9;
  --on-dark-3: #91a7c4;
  --gold: #f5b82e;
  --gold-hover: #ffcd57;

  --paper: #f2f4f7;
  --white: #ffffff;
  --text: #0b1626;
  --ink-2: #39485b;
  --ink-3: #56657a;
  --line: #d6dee8;
  --line-strong: #aebccc;

  --series-1: #015294;
  --series-2: #0f6b5b;
  --series-3: #8a5a06;
  --series-4: #a33a2b;
  --series-5: #5b4a9a;

  /* parties by size in the current mandate (party-1 = most seats); party-0 = every other party */
  --p0: #7c8ca3;
  --p1: #3f97ff;
  --p2: #ff6b5e;
  --p3: #2cc3a5;
  --p4: #b28cff;
  --p5: #ff9f43;
  --p6: #ec6fb2;

  --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.3125rem;
  --step-2: clamp(1.4375rem, 1.2rem + 0.9vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.35rem + 2vw, 2.875rem);
  --step-4: clamp(2.5rem, 1.4rem + 4.2vw, 4.75rem);
  --step-5: clamp(2.875rem, 1.1rem + 6.6vw, 7rem);

  --gutter: 1rem;
  --space-section: clamp(4rem, 2.25rem + 6vw, 8.5rem);
  --radius: 2px;
  --shadow: 0 1px 2px rgb(5 13 26 / 0.08), 0 14px 32px -14px rgb(5 13 26 / 0.3);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sticky-offset: 0rem; /* height of the stuck masthead, where it sticks */
  /* the dark ground is never flat: a faint dot grid (the logo's device) under a blue glow */
  --ground: radial-gradient(70rem 42rem at 85% 0%, rgb(1 82 148 / 0.55), rgb(1 82 148 / 0) 68%),
            radial-gradient(rgb(255 255 255 / 0.075) 1px, rgb(255 255 255 / 0) 1.6px) 0 0 / 22px 22px, var(--ink);
}
@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); }
[class*="party-0"] { --party: var(--p0); }
[class*="party-1"] { --party: var(--p1); }
[class*="party-2"] { --party: var(--p2); }
[class*="party-3"] { --party: var(--p3); }
[class*="party-4"] { --party: var(--p4); }
[class*="party-5"] { --party: var(--p5); }
[class*="party-6"] { --party: var(--p6); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--sticky-offset) + 1rem); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--text);
  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: 800; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.03em; }
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(--ink); }
: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; }
abbr[title] { text-decoration: none; cursor: help; }
.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: 84rem; margin-inline: auto; padding-inline: var(--gutter); }

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

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

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; gap: 0.65rem;
  min-height: 3.375rem; padding: 0.8rem 1.6rem;
  background: var(--ink); color: var(--white); border-radius: var(--radius); border: 0;
  font: 750 1.0625rem/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); 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(4px); }
.button__note { font-weight: 400; opacity: 0.85; padding-left: 0.65rem; border-left: 1px solid rgb(255 255 255 / 0.35); }
.button--gold { background: var(--gold); color: var(--ink); }
.button--gold:hover { background: var(--white); color: var(--ink); }
.button--small { min-height: 2.75rem; padding: 0.5rem 1.2rem; font-size: 0.9375rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem;
  font-weight: 750; text-decoration: none; color: var(--blue);
}
.link-arrow span:first-child { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.3em; transition: text-decoration-color 0.2s; }
.link-arrow:hover span:first-child { text-decoration-color: var(--gold); }
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--on-dark, .link-arrow--on-dark:hover { color: var(--white); }

/* ---------- header ---------- */
.utility { background: var(--ink); color: var(--on-dark-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-dark-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--ink :focus-visible, .band--blue :focus-visible, .story--cover:has(a:focus-visible), .area-grid .area-row:has(a: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: 700; letter-spacing: 0.01em; margin-left: auto; padding: 0.5rem 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); }
@media (min-width: 64em) and (min-height: 40em) {
  :root { --sticky-offset: 5.5rem; }
  .site-header { position: sticky; top: -2.5rem; } /* minus the utility bar's height */
}
.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(--text); padding: 0.85rem 0; }
.brand:hover { color: var(--text); }
.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(--text); text-decoration: none; font-weight: 700; 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); }
.site-nav__item--search > a:not(.button) { display: inline-flex; align-items: center; gap: 0.5rem; }
.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(--text); border: 2px solid var(--text); border-radius: var(--radius);
  font: 750 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.9rem 0; border-bottom: 1px solid var(--line); font-size: 1.1875rem; }
  .sub a { padding-left: 1.25rem; font-weight: 500; font-size: 1.0625rem; }
  .sub li:first-child { display: none; } /* same page as the parent link */
  .site-nav__item > a[aria-current]:not(.button) { box-shadow: inset 4px 0 0 var(--gold); 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.5rem; }
  .site-nav__item > a:not(.button) { padding: 1.75rem 0 1.6rem; box-shadow: inset 0 -4px 0 transparent; }
  .site-nav__item > a[aria-current]:not(.button) { box-shadow: inset 0 -4px 0 var(--gold); }
  .site-nav__item--cta { margin-left: 0.4rem; }
  /* on the one-line masthead the search entry is its icon; the word stays for screen readers */
  .site-nav__search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-nav__item--search > a:not(.button) { min-width: 2.75rem; justify-content: center; }
  .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-top: 4px solid var(--gold); 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.6rem 1.25rem; font-weight: 600; }
  .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(--ground); color: var(--on-dark); overflow: hidden; }
.hero__grid { display: grid; gap: 3rem; align-items: center; padding-block: clamp(3.5rem, 2rem + 6vw, 8rem) clamp(3rem, 1.5rem + 4vw, 6rem); }
@media (min-width: 60em) { .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4rem; } }
.hero .kicker { text-transform: none; letter-spacing: 0; font: 600 1.0625rem/1.45 var(--sans); max-width: 34rem; align-items: baseline; }
.hero .kicker::before { transform: translateY(-0.05em); }
.hero__title { margin-top: 1.5rem; font-size: var(--step-5); font-weight: 850; letter-spacing: -0.045em; line-height: 0.92; color: var(--white); max-width: 11ch; }
.hero__lead { margin-top: 2rem; font: 400 clamp(1.125rem, 1rem + 0.5vw, 1.4375rem)/1.5 var(--serif); color: var(--on-dark-2); max-width: 36rem; }
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.hero__map { justify-self: center; width: min(100%, 34rem); }
@media (max-width: 59.99em) { .hero__map { width: min(100%, 24rem); justify-self: start; } }

/* the dot map: size = assembly seats, colour = largest party; the card names the chosen municipality */
.dotmap { margin: 0; display: grid; gap: 1.5rem; }
.dotmap__svg { display: block; width: 100%; height: auto; overflow: visible; }
.dotmap__fill {
  fill: var(--party, var(--p0)); transform-box: fill-box; transform-origin: center;
  transition: opacity 0.2s var(--ease), transform 0.3s var(--ease);
  animation: dot-in 0.9s var(--ease) backwards;
}
.dotmap__halo { fill: none; stroke: var(--gold); stroke-width: 2.5; }
.dotmap__dot { cursor: pointer; }
.dotmap__dot:hover .dotmap__fill, .dotmap__dot.is-active .dotmap__fill { transform: scale(1.14); }
.dotmap.is-pointing .dotmap__dot:not(:hover):not(.is-active) .dotmap__fill { opacity: 0.3; }
.dotmap--on-dark .dotmap__dot.is-active .dotmap__fill { stroke: var(--white); stroke-width: 2.5; }
.dotmap--on-light .dotmap__dot.is-active .dotmap__fill { stroke: var(--text); stroke-width: 2.5; }
.ring-0 .dotmap__fill { animation-delay: 0.05s; } .ring-1 .dotmap__fill { animation-delay: 0.14s; } .ring-2 .dotmap__fill { animation-delay: 0.23s; }
.ring-3 .dotmap__fill { animation-delay: 0.32s; } .ring-4 .dotmap__fill { animation-delay: 0.41s; } .ring-5 .dotmap__fill { animation-delay: 0.5s; }
@keyframes dot-in { from { opacity: 0; transform: scale(0.2); } }
.dotmap__chip { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--party, var(--p0)); flex: none; margin-right: 0.45rem; }
.dotmap__panel { display: grid; gap: 1.1rem; }
.dotmap__card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.15rem 0.35rem;
  padding: 1rem 1.25rem; border-top: 4px solid var(--gold); min-height: 5.25rem;
}
.dotmap__card .dotmap__chip { width: 1rem; height: 1rem; margin-right: 0.35rem; }
.dotmap__name { font: 800 1.625rem/1.1 var(--sans); letter-spacing: -0.025em; }
.dotmap__seats { grid-column: 2; font-size: 0.9375rem; }
.dotmap__link { grid-column: 3; grid-row: 1 / span 2; }
.dotmap__link[hidden] { display: none; }
.dotmap__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; font-size: var(--step--1); font-weight: 600; }
.dotmap__legend li { display: inline-flex; align-items: center; }
.dotmap__note { font-size: var(--step--1); line-height: 1.5; max-width: 30rem; }
.dotmap--on-dark .dotmap__card { background: rgb(255 255 255 / 0.07); color: var(--white); }
.dotmap--on-dark .dotmap__seats, .dotmap--on-dark .dotmap__legend { color: var(--on-dark-2); }
.dotmap--on-dark .dotmap__note { color: var(--on-dark-3); }
.dotmap--on-dark .dotmap__link, .dotmap--on-dark .dotmap__link:hover { color: var(--white); }
.dotmap--on-light .dotmap__card { background: var(--white); color: var(--text); box-shadow: var(--shadow); }
.dotmap--on-light .dotmap__seats, .dotmap--on-light .dotmap__legend { color: var(--ink-2); }
.dotmap--on-light .dotmap__note { color: var(--ink-3); }
@media (max-width: 29.99em) {
  .dotmap__card { grid-template-columns: auto 1fr; }
  .dotmap__link { grid-column: 1 / -1; grid-row: auto; }
}

/* key figures: a gold band across the foot of the hero */
.keyfigs { background: var(--gold); color: var(--ink); }
.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.5rem; padding: 2rem 1.25rem 2.1rem 0; }
.keyfig + .keyfig { padding-left: 1.5rem; border-left: 2px solid rgb(5 13 26 / 0.16); }
@media (max-width: 55.99em) {
  .keyfig:nth-child(3) { padding-left: 0; border-left: 0; }
  .keyfig:nth-child(n + 3) { border-top: 2px solid rgb(5 13 26 / 0.16); }
}
.keyfig__n { margin: 0; font: 850 clamp(2.75rem, 1.75rem + 3.6vw, 5.25rem)/0.9 var(--sans); letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: lining-nums; }
.keyfig__label { font-size: 1rem; font-weight: 600; line-height: 1.3; max-width: 14rem; }
.keyfig__label a { color: var(--ink); text-decoration: none; }
.keyfig__label a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.keyfigs :focus-visible { outline-color: var(--ink); }

/* ---------- sections ---------- */
.band { padding-block: var(--space-section); }
.band--white { background: var(--white); }
.band--ink { background: var(--ground); color: var(--on-dark-2); }
.band--blue { background: var(--blue); color: var(--on-dark-2); }
.band--ink .section-title, .band--blue .section-title { color: var(--white); }
.band--ink .section-head, .band--blue .section-head { border-top-color: var(--white); }
.band--partners { padding-block: 3.5rem; background: var(--white); border-top: 1px solid var(--line); }
.section-pad { padding-block: clamp(2.5rem, 1.5rem + 3vw, 5rem) var(--space-section); }
.section-title { font-size: var(--step-4); color: var(--blue-ink); letter-spacing: -0.04em; line-height: 0.98; }
.section-intro { margin-top: 1.25rem; color: var(--ink-2); max-width: 38rem; font: 400 1.1875rem/1.55 var(--serif); }
/* every section opens under a heavy rule, like a page in a report */
.section-head {
  display: grid; gap: 1rem 2rem; grid-template-columns: minmax(0, 1fr) auto; align-items: end;
  padding-top: 1.5rem; border-top: 4px solid var(--text);
  margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 4rem);
}
.section-head > :not(.link-arrow) { grid-column: 1; }
.section-head > .link-arrow { grid-column: 2; grid-row: 2; }
@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: end; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 1.5rem; border-top: 4px solid var(--text); margin-bottom: 2.5rem; }
.section-bar .section-title { font-size: var(--step-3); }

/* every seat in one bar */
.seatbar { margin: 0; }
.seatbar__svg { display: block; width: 100%; height: clamp(3rem, 2rem + 3vw, 5rem); }
.seatbar__svg rect { fill: var(--party, var(--p0)); }
.seatbar__legend { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: 1.5rem 1rem; margin-top: 1.75rem; }
.seatbar__legend li { display: grid; gap: 0.35rem; }
.seatbar__n { font: 850 clamp(1.875rem, 1.4rem + 1.8vw, 3rem)/0.95 var(--sans); letter-spacing: -0.04em; color: var(--white); font-variant-numeric: lining-nums; }
.seatbar__party { display: inline-flex; align-items: center; font-size: 0.9375rem; font-weight: 650; }
.seats__note { margin-top: 2.5rem; max-width: 44rem; color: var(--on-dark-3); font-size: 0.9375rem; }
.muni-atlas .seatbar__legend { grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr)); }
.muni-atlas .seatbar__n { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); }

/* ---------- research: the newest publication, large ---------- */
.research { display: grid; gap: 3rem; }
@media (min-width: 64em) { .research { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 5rem; align-items: start; } }
.pub-feature { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 40em) { .pub-feature { grid-template-columns: minmax(13rem, 0.9fr) minmax(0, 1.1fr); gap: 3rem; } }
.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: 800 0.8125rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.pub-feature__meta span + span { color: var(--ink-3); }
.pub-feature__title { margin-top: 1rem; font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.5rem); line-height: 1.04; letter-spacing: -0.035em; }
.pub-feature__title a { color: var(--text); text-decoration: none; }
.pub-feature__title a:hover { color: var(--blue); }
.pub-feature__summary { margin-top: 1.25rem; font: 400 1.1875rem/1.55 var(--serif); color: var(--ink-2); }
.pub-feature__actions { margin-top: 2rem; 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: solid tiles in each area's colour ---------- */
.area-grid { list-style: none; display: grid; gap: 0.75rem; 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--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.area-grid .area-row {
  counter-increment: area; position: relative; display: flex; flex-direction: column; gap: 1rem; overflow: hidden;
  min-height: 17rem; padding: 1.5rem; background: var(--series); color: var(--white); border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.area-grid .area-row::before { content: "0" counter(area); font: 850 3.5rem/0.85 var(--sans); letter-spacing: -0.05em; color: rgb(255 255 255 / 0.28); }
.area-grid--four .area-row::before { content: none; }
.area-grid .area-row__icon { order: -1; position: absolute; top: 1.4rem; right: 1.4rem; width: 2.75rem; height: 2.75rem; background: rgb(255 255 255 / 0.16); }
.area-grid .area-row__text { margin-top: auto; }
.area-grid .area-row__title { font-size: 1.4375rem; line-height: 1.1; letter-spacing: -0.025em; }
.area-grid .area-row__title a { color: var(--white); }
.area-grid .area-row__text p { font-size: 0.9375rem; color: rgb(255 255 255 / 0.86); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.area-grid .area-row__arrow { display: block; align-self: flex-start; color: var(--white); }
.area-grid .area-row:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px var(--series); }
.area-grid .area-row:has(a:focus-visible) { outline-offset: 3px; }
@media (max-width: 39.99em) { .area-grid .area-row { min-height: 11rem; } }

.area-list { list-style: none; border-top: 4px solid var(--text); }
.area-list .area-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; padding: 1.5rem 0.25rem; border-bottom: 1px solid var(--line); transition: background-color 0.2s, padding 0.3s var(--ease); }
.area-list .area-row:hover { background: color-mix(in srgb, var(--series) 7%, transparent); padding-left: 1rem; }
.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(--text); 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: 2.25rem; gap: 2rem; } .area-list--wide .area-row__icon { width: 4rem; height: 4rem; } .area-list--wide .area-row__title { font-size: var(--step-3); } }

/* ---------- 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(--navy); }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.story:hover .story__media img { transform: scale(1.04); }
.story__meta { font: 750 0.8125rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.story__title { font-size: var(--step-1); line-height: 1.16; margin-top: 0.4rem; letter-spacing: -0.02em; }
.story__title a { color: var(--text); text-decoration: none; }
.story__title a::after { content: ""; position: absolute; inset: 0; }
.story:hover .story__title a { color: var(--blue); }
.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.04; letter-spacing: -0.03em; }
.story--lead .story__summary { font-size: 1.125rem; max-width: 40rem; }
/* the cover story: the photograph is the card, the headline sits on it */
.story--cover { display: block; overflow: hidden; border-radius: var(--radius); background: var(--ink); min-height: clamp(22rem, 14rem + 30vw, 36rem); }
.story--cover .story__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.story--cover .story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(5 13 26 / 0.97) 4%, rgb(5 13 26 / 0.7) 34%, rgb(5 13 26 / 0) 64%); }
.story--cover .story__body { position: absolute; inset: auto 0 0 0; padding: clamp(1.25rem, 0.75rem + 2.5vw, 2.75rem); }
.story--cover .story__meta { color: var(--gold); }
.story--cover .story__title { font-size: clamp(1.625rem, 1.25rem + 1.5vw, 2.5rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 24ch; }
.story--cover .story__title a, .story--cover:hover .story__title a { color: var(--white); }
.story--cover .story__summary { color: var(--on-dark-2); max-width: 38rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.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: 4px solid var(--text); }
.story--compact .story__media { aspect-ratio: 1; }
.story--compact .story__title { font-size: 1.1875rem; }
.news-lead { display: grid; gap: 2.5rem; }
@media (min-width: 56em) { .news-lead { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 3.5rem; } }
.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(--navy); }
.placeholder .mark { width: 28%; height: auto; max-width: 4.5rem; fill: var(--navy-2); }
.placeholder .mark .mark__gold { fill: var(--gold); }

/* ---------- events ---------- */
.event-list { display: grid; border-top: 4px solid var(--text); }
.event { display: grid; grid-template-columns: 5.5rem 1fr; align-items: start; gap: 1.5rem; 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(--ink)); color: var(--white);
}
.event__leaf time { display: grid; }
.event__day { font: 850 2.25rem/0.9 var(--sans); letter-spacing: -0.04em; font-variant-numeric: lining-nums; }
.event__month { font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.35rem; color: var(--gold); white-space: nowrap; }
.event__title { font-size: var(--step-1); line-height: 1.18; letter-spacing: -0.02em; }
.event__title a { color: var(--text); text-decoration: none; }
.event__title a::after { content: ""; position: absolute; inset: 0; }
.event:hover .event__title a { color: var(--blue); }
.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; }
}
.event-group + .event-group { margin-top: var(--space-section); }
.event-group .section-title { margin-bottom: 2rem; }
.event-group--past .event__leaf { --leaf: var(--sky); color: var(--blue-ink); }
.event-group--past .event__month { color: var(--blue); }

/* ---------- 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 4px 4px 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(-6px) rotate(-1deg); box-shadow: 0 2px 4px rgb(5 13 26 / 0.1), 0 30px 44px -18px rgb(5 13 26 / 0.5); }
.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: 800 clamp(1rem, 0.85rem + 0.6vw, 1.3rem)/1.12 var(--sans);
  letter-spacing: -0.015em; 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: 800 0.75rem/1 var(--sans); letter-spacing: 0.1em; border-top: 1px solid rgb(255 255 255 / 0.28); }
.pub__year { font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 0.1em; color: var(--blue); }
.pub__title { font-size: 1.125rem; line-height: 1.22; margin-top: 0.25rem; letter-spacing: -0.015em; }
.pub__title a { color: var(--text); text-decoration: none; }
.pub__title a:hover { color: var(--blue); }
.pub__download { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 0.4rem; margin-top: 0.25rem; padding-block: 0.6rem; font-size: 0.9375rem; font-weight: 700; text-decoration: none; }
.pub__download .icon { width: 1.1rem; height: 1.1rem; }
.pub__download:hover span:nth-child(2) { text-decoration: underline; text-decoration-thickness: 2px; }
.pub__size { color: var(--ink-3); font-weight: 400; }

.pub-tools { display: grid; gap: 1.5rem; margin-bottom: 3.5rem; }
.pub-search { display: grid; gap: 0.6rem; max-width: 40rem; }
.pub-search[hidden] { display: none; }
.pub-search__label { font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.pub-search__field { position: relative; display: block; }
.pub-search__field .icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); width: 1.4rem; height: 1.4rem; color: var(--text); pointer-events: none; }
.pub-search__input {
  width: 100%; min-height: 4rem; padding: 0.6rem 1rem 0.6rem 3.3rem; font: 600 1.25rem/1.3 var(--sans); color: var(--text);
  background: var(--white); border: 2px solid var(--text); border-radius: var(--radius);
}
.pub-search__input::placeholder { color: var(--ink-3); font-weight: 400; }
.pub-search__input:hover { border-color: var(--blue); }
.pub-search__input:focus-visible { outline-offset: 2px; border-color: var(--blue); }
.pub-search__count { font-size: var(--step--1); font-weight: 600; color: var(--ink-2); }
/* filter chips: areas of work on the publications page */
.pub-topics { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pub-topics[hidden] { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.45rem 1.1rem; cursor: pointer;
  border: 2px solid var(--text); border-radius: 999px; background: var(--white); color: var(--text); font: 700 0.9375rem/1.2 var(--sans);
}
.chip:hover { background: var(--sky); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip__n { font-weight: 500; opacity: 0.75; }
.year-jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.year-jump li[hidden], .year-group[hidden], .pub[hidden] { display: none; }
.year-jump a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.45rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.9375rem; background: var(--white); color: var(--text); }
.year-jump a:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.year-group + .year-group { margin-top: 5rem; }
.year-group__title { font-size: var(--step-4); line-height: 0.9; color: var(--blue-ink); margin-bottom: 2.25rem; padding-top: 1.25rem; border-top: 4px solid var(--text); font-variant-numeric: lining-nums; letter-spacing: -0.05em; }

/* ---------- site search ---------- */
.site-search__box { margin-bottom: 2.5rem; }
.search-results { list-style: none; display: grid; border-top: 4px solid var(--text); max-width: 56rem; }
.search-results:empty { display: none; }
.search-results a { display: grid; gap: 0.3rem; padding: 1.25rem 0.25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: background-color 0.2s, padding 0.3s var(--ease); }
.search-results a:hover { background: var(--white); padding-left: 0.9rem; }
.search-results__kind { font: 800 0.75rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.search-results__title { font: 800 var(--step-1)/1.2 var(--sans); letter-spacing: -0.02em; }
.search-results a:hover .search-results__title { color: var(--blue); }
.search-results__text { color: var(--ink-2); font-size: 0.9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- partners ---------- */
.partners-strip__title { font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 0.12em; 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__card {
  display: grid; align-content: center; justify-items: center; gap: 0.9rem; min-height: 9.5rem; padding: 1.5rem 1.25rem; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
a.partner__card:hover { border-color: var(--text); box-shadow: var(--shadow); color: var(--blue); }
.partner__logo { width: auto; max-width: min(100%, 10rem); max-height: 4rem; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: filter 0.2s, opacity 0.2s; }
.partner__card:hover .partner__logo { filter: none; opacity: 1; }
.partner__name { font: 650 0.9375rem/1.3 var(--sans); color: var(--ink-2); }
.partners--compact { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
.partners--compact .partner__card { min-height: 6rem; padding: 1rem; } /* white, like the logo files' own background */
.partners--compact .partner__logo { max-height: 3rem; }

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

/* ---------- inner pages: every page opens on the dark ground with a very large title ---------- */
.page-head { background: var(--ground); color: var(--on-dark); padding-block: 1.5rem clamp(3rem, 1.75rem + 4.5vw, 6rem); position: relative; overflow: hidden; }
.page-head--top { padding-top: clamp(3rem, 2rem + 4vw, 6rem); }
.page-head__inner { position: relative; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; font-size: var(--step--1); color: var(--on-dark-3); margin-bottom: clamp(2rem, 1rem + 3.5vw, 4rem); }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--on-dark-3); }
.crumbs a { color: var(--on-dark-2); text-decoration: none; display: inline-block; padding-block: 0.4rem; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.page-head__title { font-size: clamp(2.5rem, 1.3rem + 4.8vw, 5.75rem); font-weight: 850; color: var(--white); max-width: 18ch; letter-spacing: -0.045em; line-height: 0.95; }
.page-head__lead { margin-top: 1.75rem; font: 400 clamp(1.125rem, 1rem + 0.5vw, 1.4375rem)/1.5 var(--serif); color: var(--on-dark-2); max-width: 44rem; }
.page-head__meta { font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.page-head__meta a { color: var(--white); }
/* an article with a cover photo: the photograph fills the head, the headline sits on its dark foot */
.page-head--media { display: grid; align-items: end; min-height: clamp(26rem, 16rem + 34vw, 42rem); background: var(--ink); }
.page-head__media { position: absolute; inset: 0; }
.page-head__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(5 13 26 / 0.97) 6%, rgb(5 13 26 / 0.74) 44%, rgb(5 13 26 / 0.3) 82%, rgb(5 13 26 / 0.55)); }
.page-head__img { width: 100%; height: 100%; object-fit: cover; }
.page-head--media .page-head__title { font-size: clamp(2.125rem, 1.3rem + 3.4vw, 4.5rem); max-width: 22ch; }
/* key facts along the foot of a page head */
.head-facts { margin: clamp(2rem, 1.25rem + 2.5vw, 3.5rem) 0 0; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.22); display: flex; flex-wrap: wrap; gap: 1.5rem clamp(2rem, 1rem + 4vw, 4.5rem); }
.head-facts dt { font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-3); }
.head-facts dd { margin: 0.4rem 0 0; display: flex; align-items: center; font: 850 clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem)/1 var(--sans); letter-spacing: -0.03em; color: var(--white); font-variant-numeric: lining-nums; }

.head-facts__aside { font-weight: 600; font-size: 0.6em; margin-left: 0.4rem; color: var(--on-dark-2); }

.area-head .page-head { background: radial-gradient(rgb(255 255 255 / 0.1) 1px, rgb(255 255 255 / 0) 1.6px) 0 0 / 22px 22px, var(--series); }
.area-head .page-head__lead { color: rgb(255 255 255 / 0.9); }
.area-head .crumbs ol, .area-head .crumbs a, .area-head .crumbs li + li::before { color: rgb(255 255 255 / 0.8); }
.area-head__icon { display: inline-grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: 1.5rem; border-radius: 50%; background: rgb(255 255 255 / 0.18); color: var(--white); }
.area-head__icon .icon { width: 2.1rem; height: 2.1rem; }

.article-layout { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 1.5rem + 3.5vw, 5.5rem) var(--space-section); }
.article-main { min-width: 0; max-width: 46rem; }
/* a reading page: one centred column, the opening paragraph set larger */
.article-layout--read .article-main { margin-inline: auto; width: 100%; }
.article-layout--read .prose > p:first-child { font-size: 1.4375rem; line-height: 1.5; color: var(--text); }
@media (min-width: 56em) {
  .article-layout--aside { grid-template-columns: 16rem minmax(0, 1fr); gap: 5rem; }
  .article-layout--aside > :first-child { position: sticky; top: calc(var(--sticky-offset) + 2rem); align-self: start; }
}
.subnav__title { font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.9rem; }
.subnav ul { list-style: none; border-top: 4px solid var(--text); }
.subnav a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 650; line-height: 1.3; }
.subnav a:hover { color: var(--blue); }
.subnav a[aria-current] { color: var(--text); font-weight: 800; box-shadow: inset 4px 0 0 var(--gold); padding-left: 0.9rem; }

/* under an article: share links, then the neighbouring stories */
.share { margin-top: 3.5rem; padding-top: 1.25rem; border-top: 4px solid var(--text); display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.share__title { font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.share__list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.share__list a, .share__copy { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 2.75rem; height: 2.75rem; padding: 0 0.7rem; border: 2px solid var(--text); border-radius: 999px; background: none; color: var(--text); font: 700 0.9375rem/1 var(--sans); cursor: pointer; text-decoration: none; }
.share__list a:hover, .share__copy:hover { background: var(--ink); color: var(--white); }
.share__copy[hidden] { display: none; }
.story-nav { margin-top: 2.5rem; display: grid; gap: 1rem; }
@media (min-width: 40em) { .story-nav { grid-template-columns: 1fr 1fr; } .story-nav__link--next { grid-column: 2; text-align: right; } }
.story-nav__link { display: grid; gap: 0.4rem; padding: 1.1rem 1.25rem; background: var(--white); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform 0.3s var(--ease); }
.story-nav__link:hover { transform: translateY(-3px); color: var(--blue); }
.story-nav__dir { display: inline-flex; align-items: center; gap: 0.4rem; font: 800 0.75rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.story-nav__link--next .story-nav__dir { justify-content: flex-end; }
.story-nav__title { font: 800 1.0625rem/1.25 var(--sans); letter-spacing: -0.015em; }

.contact-lines { margin: 0; display: grid; gap: 1.1rem; }
.contact-lines dt { display: flex; align-items: center; gap: 0.5rem; font-size: var(--step--1); font-weight: 700; color: var(--ink-3); }
.contact-lines dt .icon { width: 1rem; height: 1rem; color: var(--blue); }
.contact-lines dd { margin: 0.25rem 0 0; font-weight: 600; }

.figure { margin: 0 0 2.5rem; }
.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: 800 1.125rem/1.4 var(--sans); margin-top: 1.5em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.6em; }
.prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.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(--gold); }
.prose blockquote { margin-inline: 0; padding: 1.25rem 0 0; border-top: 4px solid var(--gold); font: italic 500 1.5rem/1.4 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); 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: 800; background: var(--sky); }
.prose a { overflow-wrap: anywhere; }

.gallery { margin-top: 4rem; }
.gallery__title { font-size: var(--step-2); margin-bottom: 1.25rem; padding-top: 1.25rem; border-top: 4px solid var(--text); }
.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.05); }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; margin-top: 4.5rem; padding-top: 2rem; border-top: 4px solid var(--text); }
.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: 750; text-decoration: none; }
.pager__pages a:hover { background: var(--sky); }
.pager__pages span[aria-current] { background: var(--ink); color: var(--white); }
.pager__step { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 750; text-decoration: none; min-height: 2.75rem; }
.pager__step:hover span { text-decoration: underline; }

/* publication page: the cover stands half on the dark head */
.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: 20rem; }
.pub-detail__body { display: grid; gap: 2.25rem; align-content: start; }
.pub-detail__get { display: grid; gap: 1.5rem; justify-items: start; }
.pub-detail__facts { margin: 0; display: flex; flex-wrap: wrap; gap: 1rem 3rem; padding-top: 1.25rem; border-top: 4px solid var(--text); width: 100%; max-width: 68ch; }
.pub-detail__facts dt { font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.pub-detail__facts dd { margin: 0.3rem 0 0; font: 800 1.5rem/1.1 var(--sans); letter-spacing: -0.02em; }
@media (min-width: 48em) {
  .pub-detail { grid-template-columns: 20rem minmax(0, 1fr); gap: 5rem; align-items: start; }
  .page-head:has(+ .pub-detail) { padding-bottom: 12rem; }
  .pub-detail__cover { margin-top: -13rem; position: relative; z-index: 1; }
  .pub-detail__cover .cover { box-shadow: 0 2px 4px rgb(5 13 26 / 0.12), 0 40px 60px -24px rgb(5 13 26 / 0.6); }
}

.contact { display: grid; gap: 3rem; }
.contact__card { background: var(--white); border-top: 4px solid var(--text); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 3rem); box-shadow: var(--shadow); }
.contact__card .section-title { margin-bottom: 2rem; font-size: var(--step-3); }
.contact__card dd { font-size: 1.25rem; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.contact__aside .dotmap { max-width: 28rem; margin-inline: auto; }
@media (min-width: 56em) { .contact { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 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); }
.empty[hidden] { display: none; }

.not-found { padding-block: var(--space-section); }
.not-found__inner { display: grid; gap: 2rem 4rem; }
.not-found__code { font: 850 clamp(6rem, 3rem + 12vw, 13rem)/0.8 var(--sans); color: var(--gold); letter-spacing: -0.06em; }
.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-atlas { padding-block: 0 clamp(3rem, 2rem + 4vw, 6rem); background: radial-gradient(rgb(255 255 255 / 0.075) 1px, rgb(255 255 255 / 0) 1.6px) 0 0 / 22px 22px, var(--ink); }
.page-head:has(+ .muni-atlas) { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.muni-atlas__grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 60em) { .muni-atlas__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }
.muni-atlas .section-title { font-size: var(--step-3); margin: 1rem 0 2.25rem; max-width: 16ch; }
.muni-atlas__link { margin-top: 2.5rem; }
.muni-atlas .dotmap { width: min(100%, 34rem); justify-self: center; }

/* a municipality's page: where it is and its key figures, then assembly, election, budget */
.muni-about { display: grid; gap: 3rem; align-items: start; margin-bottom: var(--space-section); }
@media (min-width: 60em) { .muni-about { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 5rem; } }
.muni-about .section-title { font-size: var(--step-3); padding-top: 1.25rem; border-top: 4px solid var(--text); }
.muni-about__intro { margin-top: 1.5rem; font: 400 1.3125rem/1.5 var(--serif); color: var(--text); max-width: 40rem; }
.muni-about__site { margin-top: 2.25rem; }
.muni-about .dotmap { width: min(100%, 30rem); justify-self: center; }
.statgrid { margin: 2.25rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1px; }
.statgrid__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.5rem; padding: 1.25rem 1.25rem 1.4rem; background: var(--white); box-shadow: 0 0 0 1px var(--line); min-width: 0; }
/* a long figure (a budget in euro) gets the full row */
.statgrid__item--wide { grid-column: 1 / -1; }
.statgrid dt { font-size: var(--step--1); font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.statgrid dd { margin: 0; font: 850 clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem)/1 var(--sans); letter-spacing: -0.035em; color: var(--blue-ink); font-variant-numeric: lining-nums; }
.statgrid__unit { font-size: 0.6em; font-weight: 700; margin-right: 0.2em; color: var(--ink-3); }
.statgrid--stack { margin-top: 0; grid-template-columns: 1fr; }
.muni-election, .muni-budget { margin-top: var(--space-section); }
.muni-election .section-title, .muni-budget .section-title { margin-bottom: 2.25rem; font-size: var(--step-3); padding-top: 1.25rem; border-top: 4px solid var(--text); }
.muni-election__grid, .muni-budget__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56em) { .muni-election__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 4rem; } .muni-budget__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.muni-peers { margin-top: var(--space-section); padding-top: 1.25rem; border-top: 4px solid var(--text); }
.muni-peers__title { font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.muni-peers ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
a.chip { text-decoration: none; }
a.chip:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip--quiet { border-color: var(--line-strong); font-weight: 600; }

.region + .region { margin-top: 4rem; }
.region__title { font-size: var(--step-2); color: var(--blue-ink); padding-top: 1.1rem; border-top: 4px solid var(--text); margin-bottom: 0.5rem; }
.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.3rem; padding: 1.15rem 0.25rem; border-bottom: 1px solid var(--line); transition: background-color 0.2s, padding 0.3s var(--ease); }
.muni-row:hover { background: var(--white); padding-left: 0.9rem; }
.muni-row__name { font: 800 var(--step-1)/1.2 var(--sans); letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.muni-row__name::after { content: ""; position: absolute; inset: 0; }
.muni-row:hover .muni-row__name { color: var(--blue); }
.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; align-items: center; gap: 0.15rem 1rem; font-size: var(--step--1); color: var(--ink-3); }
.muni-row__party { display: inline-flex; align-items: center; }
.muni-row__meta strong { color: var(--ink-2); font-weight: 750; }

.assembly + .assembly, .muni__profile { margin-top: var(--space-section); }
.assembly .section-title, .muni__profile .section-title { margin-bottom: 2.25rem; font-size: var(--step-3); padding-top: 1.25rem; border-top: 4px solid var(--text); }
.assembly__charts { display: grid; gap: 2.5rem; }
@media (min-width: 48em) { .assembly__charts { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 4rem; align-items: start; } }
.assembly__charts > :only-child { grid-column: 1 / -1; max-width: 52rem; }
.assembly__subtitle { font-size: var(--step-2); margin: 3.5rem 0 1.5rem; }
.assembly__count { font: 500 1rem var(--sans); color: var(--ink-3); }

.bars { margin: 0; }
.bars__caption { font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.85rem; }
.bars__table { width: 100%; border-collapse: collapse; }
.bars__row > * { padding: 0.65rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bars__label { text-align: left; font-weight: 750; padding-right: 1rem; width: 1%; white-space: nowrap; }
.bars__cell { display: flex; align-items: center; gap: 0.7rem; }
.bars__n { min-width: 3ch; text-align: right; font: 850 1.25rem/1 var(--sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bars__track { flex: 1 1 2.5rem; width: 2.5rem; height: 1.1rem; min-width: 0; }
.bars__fill { fill: var(--party, var(--blue)); }
.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; }
/* value bars: the bar first, the printed value after it */
.bars--values .bars__track { flex: 1 1 4rem; }
.bars__amount { flex: none; min-width: 5.5ch; text-align: right; white-space: nowrap; }
.bars__amount strong { font-weight: 800; }
.bars__sub { font-weight: 400; font-size: var(--step--1); color: var(--ink-3); }
.bars--values .bars__label { white-space: normal; width: 38%; }
.bars__row--revenue .bars__fill { fill: var(--blue); }
.bars__row--spending .bars__fill { fill: var(--series-2); }
.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: 2rem 2.5rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.roster__group { border-top: 4px solid var(--text); padding-top: 0.9rem; }
.roster__party { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font: 800 1.125rem/1.3 var(--sans); letter-spacing: -0.01em; color: var(--text); margin-bottom: 0.6rem; }
.roster__party > span:first-child { display: inline-flex; align-items: center; }
.roster__n { font-weight: 850; 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: 750; color: var(--blue); padding-block: 0.6rem; }
.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 { color: var(--ink-3); }
.stats > section + section { margin-top: var(--space-section); }
.stats .section-title { margin-bottom: 1.75rem; font-size: var(--step-3); padding-top: 1.25rem; border-top: 4px solid var(--text); }
/* Shadows at an edge only while more of the table lies beyond it (they scroll away with the content). */
.table-scroll {
  overflow-x: auto; background:
    linear-gradient(to right, var(--white) 30%, rgb(255 255 255 / 0)) left / 2.5rem 100% no-repeat local,
    linear-gradient(to left, var(--white) 30%, rgb(255 255 255 / 0)) right / 2.5rem 100% no-repeat local,
    linear-gradient(to right, rgb(5 13 26 / 0.16), rgb(5 13 26 / 0)) left / 0.9rem 100% no-repeat scroll,
    linear-gradient(to left, rgb(5 13 26 / 0.16), rgb(5 13 26 / 0)) right / 0.9rem 100% no-repeat scroll;
  background-color: var(--white);
}
.data-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.data-table th, .data-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.data-table thead th { font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); background: var(--ink); }
.data-table tbody th { font-weight: 750; }
.data-table tbody tr:hover { background: color-mix(in srgb, var(--sky) 60%, transparent); }
.data-table tfoot th, .data-table tfoot td { font-weight: 850; border-top: 4px solid var(--text); border-bottom: 0; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 47.99em) { .data-table .wide-only { display: none; } }
@media (max-width: 39.99em) {
  .data-table th, .data-table td { padding: 0.6rem 0.4rem; font-size: 0.9375rem; }
  .data-table thead th { font-size: 0.6875rem; letter-spacing: 0; overflow-wrap: anywhere; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); font-size: 0.9375rem; border-top: 6px solid var(--gold); }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.75rem; padding-block: 4.5rem 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: 800 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-dark-3); }
.site-footer__about p + p { margin-top: 1.25rem; color: var(--on-dark-3); max-width: 26rem; font: 400 1.0625rem/1.5 var(--serif); }
.site-footer__nav ul { list-style: none; display: grid; gap: 0; }
.site-footer__nav a { display: inline-block; padding-block: 0.55rem; font-weight: 600; }
.site-footer .contact-lines a { display: inline-block; padding-block: 0.4rem; }
@media (min-width: 30em) { .site-footer__nav ul { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.site-footer__title { font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.site-footer .contact-lines dt { color: var(--on-dark-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.25); border-radius: 50%; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.site-footer__base { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 2rem; padding-block: 1.25rem 1.75rem; color: var(--on-dark-3); font-size: var(--step--1); }
/* the rule spans the content, not the gutters */
.site-footer__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgb(255 255 255 / 0.14); }
.lang-switch--quiet { margin-left: 0; }

/* ---------- motion & print ---------- */
/* site.js marks what lies below the fold (.will-reveal) and reveals it as it scrolls into view;
   without JS, or with reduced motion, nothing is ever hidden. */
.will-reveal { opacity: 0; transform: translateY(1.75rem); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.will-reveal.is-revealed { opacity: 1; transform: none; }
.seatbar.will-reveal { opacity: 1; transform: none; }
.seatbar.will-reveal rect { transform: scaleX(0); transform-box: fill-box; transform-origin: left; transition: transform 0.9s var(--ease); }
.seatbar.will-reveal rect:nth-child(2) { transition-delay: 0.08s; } .seatbar.will-reveal rect:nth-child(3) { transition-delay: 0.16s; }
.seatbar.will-reveal rect:nth-child(4) { transition-delay: 0.24s; } .seatbar.will-reveal rect:nth-child(5) { transition-delay: 0.32s; }
.seatbar.will-reveal rect:nth-child(6) { transition-delay: 0.4s; } .seatbar.will-reveal rect:nth-child(n + 7) { transition-delay: 0.48s; }
.seatbar.will-reveal.is-revealed rect { transform: none; }
@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, .seatbar__svg, .pub-tools, .page-head__media, .share, .story-nav { display: none !important; }
  .will-reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hero, .page-head, .band--ink, .band--blue { background: none; color: #000; padding: 0 0 1rem; min-height: 0; }
  .hero__title, .page-head__title, .hero__lead, .page-head__lead, .crumbs a, .head-facts dd, .head-facts dt, .band--ink .section-title, .seatbar__n { color: #000; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #444; }
}
