

@font-face { font-family: 'Gambarino'; src: url('fonts/gambarino-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('fonts/general-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('fonts/general-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;
  --surface: #f2f2f2;
  --surface-2: #e7e7e7;
  --ink: #0a0a0a;
  --muted: #5f5f5f;
  --accent: #176f5b;          /* the VDD logo's own green */
  --accent-strong: #0f5546;
  --accent-ink: #ffffff;
  --accent-on-dark: #5cc0a0;  /* the same green, lifted for the black field */
  --field: #0a0a0a;
  --field-ink: #ffffff;
  --field-muted: #b4b4b4;
  --field-land: #2b2b2b;

  --font-display: 'Gambarino', 'Iowan Old Style', 'Times New Roman', serif;
  --font-text: 'General Sans', 'Helvetica Neue', Arial, sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);
  --step-title: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem);
  --step-head: clamp(2rem, 1.25rem + 3vw, 3.75rem);
  --step-display: clamp(3.5rem, 1rem + 4.6vw, 4.75rem);

  --margin: clamp(20px, 2.2vw, 32px);
  --board: 8px;
  --gutter: clamp(16px, 2.2vw, 32px);
  --section: clamp(104px, 12vw, 200px);
  --bar-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:target { scroll-margin-top: 24px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- shared pieces ---------- */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-inline: var(--margin); }
.section { padding-top: var(--section); }
.head { font-family: var(--font-display); font-size: var(--step-head); line-height: 1; letter-spacing: -0.02em; }
.lead { font-size: var(--step-lead); line-height: 1.42; }
.two-tone .soft { display: block; color: var(--muted); }

.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: currentColor; transition: color 180ms ease, text-decoration-color 180ms ease; }
.link--strong { font-weight: 500; text-decoration-thickness: 2px; }
.link--light { color: #fff; font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { color: var(--accent); }
  .link--light:hover { color: #fff; text-decoration-thickness: 3px; }
}

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 0; font-weight: 500; font-size: var(--step-body); text-decoration: none; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease; }
.button:active { transform: scale(0.97); }
.button--accent { background: var(--accent); color: var(--accent-ink); }
.button--ink { background: var(--ink); color: #fff; }
.button--light { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .button--accent:hover { background: var(--accent-strong); }
  .button--ink:hover { background: #2e2e2e; }
  .button--light:hover { background: var(--surface-2); }
}

.tile { border-radius: 0; }
figure { position: relative; }
figure img { filter: grayscale(1) contrast(1.06); }
figcaption { font-size: var(--step-small); line-height: 1.4; }

/* ---------- top bar ---------- */
.bar { display: grid; grid-template-columns: var(--bar-h) 1fr auto; gap: var(--board); padding: var(--board) var(--board) 0; position: relative; z-index: 20; }
.bar .tile { min-height: var(--bar-h); }
.bar__logo { background: var(--surface); display: grid; place-items: center; }
.bar__logo img { width: 60px; height: 46px; }
.bar__nav { background: var(--surface); display: flex; align-items: center; justify-content: flex-end; padding: 0 28px; }
.bar__nav ul { display: flex; gap: clamp(18px, 2vw, 30px); }
.bar__nav a { text-decoration: none; font-size: 1rem; padding: 10px 0; text-underline-offset: 0.3em; }
.bar__nav-contact { display: none; }
.bar__action { background: var(--ink); color: #fff; display: flex; align-items: center; padding: 0 30px; text-decoration: none; font-weight: 500; transition: background-color 180ms ease; }
.bar__menu { display: none; background: var(--ink); color: #fff; font-weight: 500; padding: 0 22px; }
@media (hover: hover) and (pointer: fine) {
  .bar__nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
  .bar__action:hover, .bar__menu:hover { background: #2e2e2e; }
}

/* ---------- hero board ---------- */
.board { display: grid; gap: var(--board); padding: var(--board); }
.tile--title { background: var(--surface); padding: calc(var(--margin) - var(--board)); display: flex; flex-direction: column; justify-content: flex-end; }
.title-fit { container-type: inline-size; }
.title { font-family: var(--font-display); }
.title__main { display: block; font-size: clamp(1.75rem, calc(100cqi / 12.3), 5.75rem); line-height: 0.98; letter-spacing: -0.02em; }
.lines .line { display: block; overflow: clip; padding-bottom: 0.2em; margin-bottom: -0.2em; white-space: nowrap; }
@media (max-width: 599px) { .lines .line { white-space: normal; } }
.lines [data-line] { display: block; }
.title__sub { display: block; margin-top: 0.5em; font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em; }
.board__intro { margin-top: 24px; max-width: 62ch; }
.board__more { margin-top: 14px; font-weight: 500; }

.tile--photo { margin: 0; overflow: clip; background: #d9d9d9; min-height: 0; position: relative; }
/* absolutely placed so the photos fill their tile without dictating the board's row heights */
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo-a img { object-position: 50% 55%; }
.tile--photo-b img { object-position: 50% 36%; }
.tile--photo figcaption, .intro__photo figcaption, .mosaic figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; padding: 7px 12px; }

.tile--dark { background: var(--ink); color: #fff; padding: calc(var(--margin) - var(--board)); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.tile__statement { font-family: var(--font-display); font-size: var(--step-title); line-height: 1.1; }
@media (min-width: 1200px) { .tile--dark { container-type: inline-size; } .tile__statement { font-size: min(var(--step-title), 15.5cqi); line-height: 1.1; } }

.tile--accent { background: var(--accent); color: var(--accent-ink); padding: calc(var(--margin) - var(--board)); display: flex; flex-direction: column; }
.finder__title { font-family: var(--font-display); font-size: var(--step-title); line-height: 1.08; letter-spacing: -0.01em; }
.finder__label { margin-top: auto; padding-top: 16px; font-size: var(--step-small); font-weight: 500; }
.finder__row { display: flex; gap: 6px; margin-top: 6px; }
.finder__input { flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 14px; border: 0; border-radius: 0; background: #fff; color: var(--ink); font-size: 1.125rem; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.finder__input::placeholder { color: #6a6a6a; letter-spacing: 0; }
.finder__input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.finder .button { flex: 0 0 auto; padding: 0 20px; }
.finder .button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.finder__result { font-size: var(--step-small); line-height: 1.45; }
.finder__result:not(:empty) { margin-top: 14px; }
.finder__result strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--step-lead); line-height: 1.15; }
.finder__result a { color: #fff; font-weight: 500; }
.finder__result p + p { margin-top: 4px; }

/* phone first: one column of tiles */
.board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "title title" "acc acc" "a a" "dark dark" "b b"; }
.tile--title { grid-area: title; min-height: 34svh; }
.tile--accent { grid-area: acc; }
.tile--photo-a { grid-area: a; aspect-ratio: 4 / 3; }
.tile--dark { grid-area: dark; }
.tile--photo-b { grid-area: b; aspect-ratio: 4 / 3; }

@media (min-width: 600px) {
  .board { grid-template-areas: "title title" "a acc" "b dark"; }
  .tile--photo-a, .tile--photo-b { aspect-ratio: auto; min-height: 320px; }
  .tile--accent, .tile--dark { min-height: 320px; }
}
@media (min-width: 1200px) {
  /* fills the first screen, but never shorter than its content: on short windows the board grows instead of the headline running up under the bar */
  .board { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(min-content, 1.14fr) minmax(min-content, 1fr); grid-template-areas: "title a a" "b dark acc"; height: clamp(680px, calc(100svh - var(--bar-h) - var(--board)), 1080px); min-height: min-content; }
  .tile--title { min-height: 0; }
  .tile--photo-a, .tile--photo-b, .tile--accent, .tile--dark { min-height: 0; }
  .finder__title { font-size: var(--step-lead); line-height: 1.12; }
  .finder .button { padding: 0 16px; }
  .finder__input { padding: 0 12px; }
}

/* ---------- intro: what is HBO ---------- */
.intro__top { row-gap: 32px; }
.intro__title { grid-column: 1 / -1; }
.intro__answer { grid-column: 1 / -1; max-width: 46ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-inline: var(--margin); margin-top: 72px; }
.facts__item { display: flex; flex-direction: column; gap: 6px; }
.facts__value { font-family: var(--font-display); font-size: var(--step-title); line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.facts__note { font-size: var(--step-small); color: var(--muted); max-width: 22ch; }
.facts__item--not .facts__value { color: var(--muted); }
.intro__bottom { margin-top: 72px; row-gap: 40px; }
.intro__text { grid-column: 1 / -1; }
.intro__text p + p { margin-top: 18px; }
.intro__photo { grid-column: 1 / -1; aspect-ratio: 4 / 3; overflow: clip; margin: 0; background: #d9d9d9; }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .intro__title { grid-column: 1 / 7; }
  .intro__answer { grid-column: 7 / 13; }
  .facts { display: flex; justify-content: space-between; margin-top: 120px; }
  .intro__bottom { margin-top: 96px; }
  .intro__text { grid-column: 1 / 6; align-self: end; max-width: 46ch; }
  .intro__photo { grid-column: 7 / 13; }
}

/* ---------- routes: one paragraph with picture words ---------- */
.routes__para { padding-inline: var(--margin); max-width: 1320px; }
.routes__para p { font-size: clamp(1.25rem, 1.05rem + 1.3vw, 2.25rem); line-height: 1.24; font-weight: 500; letter-spacing: -0.012em; }
.routes__para p + p { margin-top: 0.5em; }
.routes__para a { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.16em; text-decoration-color: var(--accent); transition: color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .routes__para a:hover { color: var(--accent); } }
.slot { display: inline-block; width: 1.9em; height: 1em; vertical-align: -0.12em; overflow: clip; background: #d9d9d9; }
.slot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.routes__foot { margin-top: 56px; row-gap: 20px; align-items: end; }
.routes__note { grid-column: 1 / -1; max-width: 44ch; }
.routes__button { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 900px) {
  .routes__foot { margin-top: 72px; }
  .routes__note { grid-column: 7 / 11; }
  .routes__button { grid-column: 7 / 13; }
}

/* ---------- centres: black map page + register ---------- */
.centres { margin-top: var(--section); }
.centres__field { background: var(--field); color: var(--field-ink); padding-block: clamp(72px, 8vw, 112px); }
.centres__grid { row-gap: 48px; align-items: center; }
.centres__text { grid-column: 1 / -1; container-type: inline-size; }
.centres__text h2 { font-size: 1.625rem; line-height: 1.08; }
.centres__text .soft { color: var(--field-muted); display: inline; }
@media (min-width: 600px) { .centres__text h2 { font-size: min(var(--step-head), 7.3cqi); line-height: 1; } .centres__text .soft { display: block; } }
.centres__intro { margin-top: 28px; max-width: 44ch; color: #fff; }
.centres__actions { margin-top: 32px; }
.centres__map { grid-column: 1 / -1; margin: 0; }
.map { width: 100%; height: auto; max-height: 64svh; margin-inline: auto; overflow: visible; }
.map-you[hidden] { display: none; }
@media (min-width: 900px) { .map { max-height: 76svh; } }
.map-land { fill: var(--field-land); }
.map-dot { fill: #fff; transition: fill 240ms ease, r 240ms ease; }
.map-label { fill: #d6d6d6; font-family: var(--font-text); font-size: 22px; }
.map-pin.is-near .map-dot { fill: var(--accent-on-dark); }
.map-pin.is-near .map-label { fill: #fff; font-weight: 500; }
.map-pin.is-found .map-dot { fill: var(--accent-on-dark); r: 12; }
.map-pin.is-found .map-label { fill: #fff; font-weight: 500; font-size: 26px; }
.map-you-dot { fill: none; stroke: #fff; stroke-width: 3; }
.map-you-line { stroke: var(--accent-on-dark); stroke-width: 3; }
@media (max-width: 599px) { .map-label { display: none; } .map-pin.is-found .map-label { display: inline; font-size: 40px; } }
@media (min-width: 900px) {
  .centres__text { grid-column: 1 / 7; }
  .centres__map { grid-column: 7 / 13; }
}

.register { margin-top: clamp(64px, 8vw, 120px); row-gap: 32px; }
.register__tabs { grid-column: 1 / -1; }
.register__tabs ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.tab { display: inline-flex; gap: 6px; align-items: baseline; min-height: 44px; padding: 8px 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; transition: background-color 200ms ease, color 200ms ease; }
.tab__name { font-size: 1rem; line-height: 1.2; font-weight: 500; }
.tab__count { font-size: var(--step-small); color: var(--muted); }
@media (min-width: 900px) {
  .tab { display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 8px 14px; background: var(--surface); text-decoration: none; }
  .tab.is-active { background: var(--ink); color: #fff; }
  .tab.is-active .tab__count { color: #cfcfcf; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 900px) { .tab:not(.is-active):hover { background: var(--surface-2); } }
.register__list { grid-column: 1 / -1; }
.land + .land { margin-top: 28px; }
.land__name { font-size: var(--step-body); font-weight: 500; margin-bottom: 10px; }
.bands { display: grid; gap: 4px; }
.band { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px; background: var(--surface); transition: background-color 240ms ease, color 240ms ease; }
.bands .band:nth-child(even) { background: var(--surface-2); }
.band__city { font-family: var(--font-display); font-size: var(--step-lead); line-height: 1.1; }
.band__name { font-weight: 500; line-height: 1.35; }
.band__addr { font-size: var(--step-small); color: var(--muted); margin-top: 2px; }
.band__end { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; margin-top: 6px; }
.band__tel { font-variant-numeric: tabular-nums; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; white-space: nowrap; }
.band__more { font-size: var(--step-small); text-underline-offset: 0.2em; white-space: nowrap; }
.band.is-found, .bands .band.is-found { background: var(--ink); color: #fff; }
.band.is-found .band__addr { color: #cfcfcf; }
@media (hover: hover) and (pointer: fine) { .bands .band:not(.is-found):hover { background: #dadada; } }
@media (min-width: 900px) {
  .register__tabs { grid-column: 1 / 4; }
  .register__tabs ul { display: grid; grid-template-columns: 1fr; gap: 6px; position: sticky; top: 16px; max-width: 250px; }
  .tab { min-height: 64px; }
  .register__list { grid-column: 4 / 13; }
  .band { grid-template-columns: minmax(9em, 22%) 1fr auto; align-items: center; column-gap: 24px; min-height: 72px; padding: 12px 20px; }
  .band__end { flex-direction: column; align-items: flex-end; gap: 2px; margin-top: 0; text-align: right; }
}

/* ---------- indications: full green page, pinned heading ---------- */
.indications { margin-top: var(--section); background: var(--accent); color: #fff; padding-block: clamp(80px, 10vw, 160px); }
.indications__grid { row-gap: 56px; }
.indications__side { grid-column: 1 / -1; container-type: inline-size; }
.display-head { font-family: var(--font-display); font-size: min(var(--step-display), 13.8cqi); line-height: 0.95; letter-spacing: -0.02em; hyphens: manual; }
.indications__intro { margin-top: 28px; max-width: 44ch; }
.indications__side .button { margin-top: 32px; }
.indications__list { grid-column: 1 / -1; display: grid; gap: 64px; }
.ind__title { font-family: var(--font-display); font-size: var(--step-title); line-height: 1.08; letter-spacing: -0.01em; }
.ind__examples { margin-top: 14px; display: grid; gap: 6px; font-size: var(--step-body); line-height: 1.4; }
.ind .link { display: inline-block; margin-top: 16px; }
.ind__note { margin-top: 20px; background: #fff; color: var(--ink); padding: 16px 20px; font-weight: 500; max-width: 46ch; }
@media (min-width: 900px) {
  .indications__side { grid-column: 1 / 6; position: sticky; top: 32px; align-self: start; }
  .indications__list { grid-column: 6 / 13; grid-template-columns: 1fr 1fr; gap: 72px var(--gutter); padding-top: 12px; }
  .ind--emergency { grid-row: span 2; }
  .ind__title { font-size: var(--step-lead); line-height: 1.12; }
}

/* ---------- process: many into one ---------- */
.process__top { row-gap: 24px; align-items: end; }
.process__top h2 { grid-column: 1 / -1; }
.process__intro { grid-column: 1 / -1; max-width: 46ch; }
.process__intro p + p { margin-top: 12px; }
.process__figure { margin-top: 56px; padding-inline: var(--margin); display: grid; grid-template-columns: 30% 1fr; column-gap: 20px; }
.diagram { width: 100%; height: auto; }
.diagram--wide { display: none; }
.diagram--tall { grid-column: 1; grid-row: 1; max-height: 640px; width: auto; justify-self: start; }
.sq.p1 { fill: #d4d4d4; } .sq.p2 { fill: #b5b5b5; } .sq.p3 { fill: #6f6f6f; } .sq.ink { fill: var(--ink); } .sq.acc { fill: var(--accent); }
.steps { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.step__name { font-family: var(--font-text); font-weight: 500; font-size: var(--step-lead); line-height: 1.2; }
.step p { margin-top: 6px; line-height: 1.5; }
@media (min-width: 900px) {
  .process__top h2 { grid-column: 1 / 7; }
  .process__intro { grid-column: 7 / 12; }
  .process__figure { display: block; margin-top: 72px; }
  .diagram--wide { display: block; }
  .diagram--tall { display: none; }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 40px; }
}

/* ---------- quality: side facts, wide paragraph, mosaic, record ---------- */
.quality__top { row-gap: 40px; }
.quality__facts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; order: 2; }
.quality__facts dt { font-size: var(--step-small); color: var(--muted); }
.quality__facts dd { font-size: var(--step-small); font-weight: 500; }
.quality__body { grid-column: 1 / -1; order: 1; }
.quality__para { margin-top: 32px; font-size: var(--step-lead); line-height: 1.42; max-width: 60ch; }
.mosaic { margin-top: clamp(72px, 9vw, 140px); padding-inline: var(--board); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mosaic__cell { aspect-ratio: 1 / 1; overflow: clip; position: relative; min-width: 0; container-type: inline-size; }
.mosaic__cell:has(> p) { overflow: visible; }
.mosaic__cell figure { margin: 0; height: 100%; }
.mosaic__cell img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__img--top { object-position: 50% 28%; }
.mosaic__img--upper { object-position: 50% 22%; }
.mosaic__cell > p { padding: clamp(14px, 2vw, 28px); font-size: clamp(0.875rem, 7.4cqi, 1.5rem); line-height: 1.35; font-weight: 500; min-height: 100%; display: flex; align-items: flex-end; overflow-wrap: break-word; }
.mosaic__cell--accent { background: var(--accent); color: #fff; }
.mosaic__cell--paper { background: var(--surface); }
.mosaic__cell--ink { background: var(--ink); color: #fff; }
.mosaic__cell:nth-child(1) { order: 1; } .mosaic__cell:nth-child(2) { order: 2; } .mosaic__cell:nth-child(3) { order: 4; } .mosaic__cell:nth-child(4) { order: 3; }
.mosaic__cell:nth-child(5) { order: 5; } .mosaic__cell:nth-child(6) { order: 6; } .mosaic__cell:nth-child(7) { order: 8; } .mosaic__cell:nth-child(8) { order: 7; }
.quality__record { margin-top: clamp(64px, 8vw, 120px); row-gap: 24px; }
.quality__word { grid-column: 1 / -1; font-size: var(--step-body); font-weight: 500; }
.record { grid-column: 1 / -1; display: grid; gap: 10px; max-width: 30rem; }
.record li { display: flex; justify-content: space-between; gap: 24px; }
.record time { color: var(--muted); font-variant-numeric: tabular-nums; }
.record a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
@media (hover: hover) and (pointer: fine) { .record a:hover { color: var(--accent); } }
@media (min-width: 900px) {
  .quality__facts { grid-column: 1 / 4; grid-template-columns: 1fr; order: 0; align-self: start; padding-top: 10px; }
  .quality__body { grid-column: 5 / 13; order: 0; }
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mosaic__cell { aspect-ratio: 1 / 0.86; order: 0 !important; }
  .quality__word { grid-column: 1 / 4; }
  .record { grid-column: 5 / 9; }
  .record--links { grid-column: 10 / 13; }
}

/* ---------- facts ledger ---------- */
.ledger-field { margin-top: var(--section); background: var(--surface); padding-block: clamp(80px, 10vw, 160px); }
.ledger-grid { row-gap: 48px; }
.ledger-side { grid-column: 1 / -1; }
.ledger-note { margin-top: 28px; }
.ledger-note dt { font-size: var(--step-small); color: var(--muted); }
.ledger-note dd { font-family: var(--font-display); font-size: var(--step-lead); }
/* figures share one right-aligned column (rows are subgrids), so "1,5–3,0" sets the column width instead of spilling out of it */
.ledger { grid-column: 1 / -1; display: grid; gap: 40px; --fig: clamp(3rem, 13vw, 4.5rem); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 1fr); }
.ledger__row dt { font-weight: 500; margin-top: 8px; }
.ledger__row dd { display: contents; }
.fig { order: -1; font-family: var(--font-display); font-size: var(--fig); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.ledger__val { font-size: var(--step-body); max-width: 40ch; }
@media (min-width: 600px) {
  .ledger { grid-template-columns: max-content minmax(0, 1fr); column-gap: clamp(24px, 3vw, 44px); row-gap: 28px; --fig: var(--step-display); }
  .ledger__row { grid-column: 1 / -1; grid-template-columns: subgrid; grid-template-rows: auto auto; }
  .fig { grid-column: 1; grid-row: 1 / 3; align-self: center; text-align: right; }
  .ledger__row dt { grid-column: 2; grid-row: 1; align-self: end; margin: 0; }
  .ledger__val { grid-column: 2; grid-row: 2; line-height: 1.45; }
}
@media (min-width: 900px) {
  .ledger-side { grid-column: 1 / 5; align-self: center; }
  .ledger { grid-column: 5 / 13; }
}

/* ---------- news: two quiet ledgers ---------- */
.news__grid { row-gap: 40px; }
.news__title { grid-column: 1 / -1; }
.news__col { grid-column: 1 / -1; }
.news__label { font-size: var(--step-body); font-weight: 500; margin-bottom: 8px; }
.ledger-list > li { padding-block: 18px; transition: color 160ms ease; }
.entry { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; }
.entry__title { font-size: var(--step-body); font-weight: 500; line-height: 1.35; }
.entry__title a { text-decoration: none; }
.entry__date { font-size: var(--step-small); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: 3px; }
.entry__text { grid-column: 1 / -1; margin-top: 8px; line-height: 1.55; max-width: 62ch; }
.entry__source { font-weight: 500; text-underline-offset: 0.2em; }
.course { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; }
.course__name { font-weight: 500; line-height: 1.35; }
.course__where { grid-column: 1; font-size: var(--step-small); color: var(--muted); margin-top: 2px; }
.course__date { grid-column: 2; grid-row: 1 / 3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.news__all { margin-top: 12px; }
@media (hover: hover) and (pointer: fine) {
  .entry__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
  .ledger-list:hover > li:not(:hover) { color: var(--muted); }
}
@media (min-width: 900px) {
  .news__col { grid-column: 1 / 7; }
  .news__col--dates { grid-column: 8 / 13; }
}

/* ---------- FAQ: large questions, answers beside ---------- */
.faq__row { padding-block: 28px; row-gap: 12px; }
.faq__row--head { padding-bottom: 8px; }
.faq__heading, .faq__q { grid-column: 1 / -1; font-family: var(--font-display); font-size: 1.3125rem; line-height: 1.14; letter-spacing: -0.01em; }
@media (min-width: 600px) { .faq__heading, .faq__q { font-size: var(--step-title); line-height: 1.1; } }
.faq__heading { color: var(--muted); }
.faq__a { grid-column: 1 / -1; max-width: 56ch; line-height: 1.55; }
@media (min-width: 900px) {
  .faq__row { padding-block: 30px; }
  .faq__heading, .faq__q { grid-column: 1 / 7; }
  .faq__a { grid-column: 7 / 13; padding-top: 0.3em; }
}

/* ---------- contact ---------- */
.contact { margin-top: var(--section); background: var(--surface); padding-block: clamp(96px, 11vw, 160px) clamp(80px, 9vw, 120px); }
.contact__grid { row-gap: 28px; align-items: start; }
.contact__sentence { grid-column: 1 / -1; font-family: var(--font-display); font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.01em; }
@media (min-width: 600px) { .contact__sentence { font-size: var(--step-title); line-height: 1.12; } }
.contact__photo { grid-column: 1 / 5; margin: 0; width: 100%; max-width: 160px; }
.contact__photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; }
.contact__photo figcaption { margin-top: 8px; color: var(--muted); }
.contact__links { grid-column: 5 / -1; }
.contact__title { font-size: var(--step-body); font-weight: 500; font-family: var(--font-text); margin-bottom: 14px; }
.contact__links .link--strong { font-size: var(--step-body); }
.contact__addr { margin-top: 14px; font-size: var(--step-small); color: var(--muted); }
.contact__emergency { margin-top: 14px; font-weight: 500; }
.contact__emergency a { text-underline-offset: 0.2em; }
@media (min-width: 900px) {
  .contact__sentence { grid-column: 1 / 7; }
  .contact__photo { grid-column: 8 / 10; justify-self: start; max-width: 168px; }
  .contact__links { grid-column: 10 / 13; }
}

/* ---------- footer ---------- */
.footer { background: var(--field); color: #fff; padding-top: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; min-height: 80svh; }
.footer__cols { row-gap: 40px; align-content: start; }
.footer__col { grid-column: span 6; font-size: 0.9375rem; line-height: 1.6; color: #cfcfcf; }
.footer__col p + p { margin-top: 12px; }
.footer__h { font-family: var(--font-text); font-size: 0.9375rem; font-weight: 500; color: #fff; margin-bottom: 10px; }
.footer__col a { text-decoration: none; color: #fff; }
.footer__col li + li { margin-top: 4px; }
.footer__credits { grid-column: 1 / -1; }
.footer__credits p { font-size: var(--step-small); max-width: 60ch; }
.footer__credits a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; color: #e6e6e6; }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { text-decoration: underline; text-underline-offset: 0.2em; } }
.footer__mark { grid-row: 3; padding: 64px var(--margin) 20px; container-type: inline-size; }
.footer__logo { width: 94px; height: 72px; filter: brightness(0) invert(1); margin-bottom: 28px; }
.wordmark { font-family: var(--font-display); line-height: 0.92; letter-spacing: -0.02em; font-size: calc(100cqi / 12.5); white-space: nowrap; overflow: clip; overflow-clip-margin: 0.4em; padding-block: 0.2em 0.12em; }
.wordmark span { display: block; width: max-content; }
.footer__legal { margin-top: 20px; font-size: var(--step-small); color: #cfcfcf; }
@media (min-width: 900px) {
  .footer__col { grid-column: span 3; }
  .footer__credits { grid-column: span 3; }
  .wordmark { font-size: calc(100cqi / 18.6); }
  .wordmark span { display: inline; width: auto; }
}

/* ---------- navigation on small screens ---------- */
@media (max-width: 1099px) {
  :root { --bar-h: 60px; }
  .bar { grid-template-columns: auto 1fr auto; }
  .bar__logo { padding: 0 14px; }
  .bar__logo img { width: 52px; height: 40px; }
  .bar__action { display: none; }
  .bar__menu { display: block; grid-column: 3; }
  .bar__nav { grid-column: 1 / -1; grid-row: 2; padding: 12px 18px; justify-content: flex-start; }
  .bar__nav ul { flex-direction: column; gap: 0; width: 100%; }
  .bar__nav a { display: block; padding: 12px 0; font-size: 1.125rem; }
  .bar__nav-contact { display: block; }
  .js .bar__nav { display: none; }
  .js .bar.is-open .bar__nav { display: flex; }
  .bar__spacer { display: none; }
}
@media (max-width: 1099px) { .bar__logo { grid-column: 1; } .bar::after { content: ''; grid-column: 2; grid-row: 1; background: var(--surface); } }
@media (max-width: 599px) { :root { --board: 6px; } }

/* ---------- motion (only with script and when motion is welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: calc(120ms + var(--i) * 110ms); }
  .js [data-load] { opacity: 0; transform: translateY(14px); animation: rise 640ms var(--ease-out) forwards; animation-delay: var(--d); }
  .js .shutter { clip-path: inset(0 0 100% 0); animation: open 1100ms var(--ease-in-out) 150ms forwards; }
  .js .shutter img { transform: scale(1.12); animation: settle 1500ms var(--ease-soft) 100ms forwards; }

  .js [data-reveal] { opacity: 0.2; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js .band { opacity: 0.2; transform: translateY(18px); transition: opacity 520ms var(--ease-out), transform 640ms var(--ease-out), background-color 240ms ease, color 240ms ease; }
  .js .bands.is-in .band { opacity: 1; transform: none; }
  .js .bands.is-in .band:nth-child(2) { transition-delay: 70ms, 70ms, 0ms, 0ms; }
  .js .bands.is-in .band:nth-child(3) { transition-delay: 140ms, 140ms, 0ms, 0ms; }

  .js .diagram .sq { opacity: 0.2; transform: translateX(-22px); transform-box: fill-box; transition: opacity 420ms var(--ease-out), transform 620ms var(--ease-out); transition-delay: calc(var(--i) * 5ms); }
  .js .process__figure.is-in .diagram .sq { opacity: 1; transform: none; }
  .js .diagram--tall .sq { transform: translateY(-22px); }

  .js .map-pin { opacity: 0.25; transition: opacity 500ms var(--ease-out); }
  .js .centres__map.is-in .map-pin { opacity: 1; transition-delay: calc(var(--n, 0) * 60ms + 200ms); }

  @supports (animation-timeline: view()) {
    .drift { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes open { to { clip-path: inset(0); } }
@keyframes settle { to { transform: none; } }
@keyframes drift { from { transform: scale(1.1) translateY(-3.5%); } to { transform: scale(1.1) translateY(3.5%); } }
