/* =====================================================================
   VDD · Konzept 5 „Leitstand“
   Precise, quiet, supervised. One green (the logo's), ink, hairlines,
   mono readouts. Motion only where it explains pressure or confirms
   an action — never on reading content.
   ===================================================================== */

:root {
  --bg: #F7F8F7;
  --surface: #FFFFFF;
  --ink: #101714;
  --ink-2: #46514C;
  --ink-3: #5F6A65;
  --line: #E1E6E3;
  --line-2: #CAD2CE;
  --green: #176F5B;          /* sampled from the logo */
  --green-strong: #115A49;
  --green-50: #EDF5F1;
  --green-100: #D7E9E1;
  --screen: #0E1613;
  --screen-ink: #E7EFEB;
  --screen-ink-2: #A0AFA8;
  --dot: #3DB58E;
  --signal: #C93A22;

  
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --r: 14px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-input="keyboard"]) { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
a { color: var(--green); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-strong); }
::selection { background: var(--green-100); color: var(--ink); }
time, .tnum { font-variant-numeric: tabular-nums; }
dfn { font-style: normal; font-weight: 500; }
address { font-style: normal; }
button { font: inherit; touch-action: manipulation; }

/* focus: keyboard-initiated, therefore never animated */
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: 12px; z-index: 100;
  padding: 10px 14px; border-radius: 10px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 500;
  transform: translateY(-200%);
}
.skip:focus { transform: none; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.nowrap { white-space: nowrap; }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.centre-tel .i, .contact-actions .i { fill: currentColor; stroke: none; }
.contact-actions .btn-ghost .i { fill: none; stroke: currentColor; }

/* ---------- type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font: 500 0.75rem/1.2 var(--mono);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow .idx { color: var(--green); }
.eyebrow .idx::after { content: ""; display: inline-block; width: 20px; height: 1px; margin-left: 10px; vertical-align: middle; background: var(--line-2); }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-100); }

h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.h1-a, .h1-b { display: block; }
@media (min-width: 768px) {
  h1 { font-size: clamp(2.5rem, 0.9rem + 3.4vw, 3.625rem); }
}
.h1-b { color: var(--green); }

h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
}
h3 { margin: 0; font-weight: 500; letter-spacing: -0.012em; line-height: 1.3; }

.lede { margin-top: 16px; max-width: 62ch; font-size: 1.125rem; color: var(--ink-2); }
.more { margin-top: 28px; }

/* ---------- buttons & links ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  border-radius: 10px; border: 1px solid transparent;
  font: 500 1rem/1.2 var(--sans); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
/* hover tint lives on a pseudo layer so only opacity animates */
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  opacity: 0; transition: opacity 150ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary::before { background: #26332D; }
.btn-primary:hover { color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost::before { background: var(--green-50); }
.btn-ghost:hover { color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.9375rem; border-radius: 9px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; text-decoration: none; color: var(--green);
}
.link-arrow:hover { text-decoration: underline; }
.i-arrow { transition: transform 150ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { opacity: 1; }
  .link-arrow:hover .i-arrow,
  .path-links a:hover .i-arrow,
  .btn:hover .i-arrow { transform: translateX(2px); }
  .btn:hover .i-down { transform: translateY(2px); }
}
.i-down { transition: transform 150ms var(--ease-out); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(247 248 247 / 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line);
}
/* hairline fades in with the first 80px of scroll — scroll-linked, so it has no duration */
@supports (animation-timeline: scroll()) {
  .site-header::after {
    animation: hairline linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 80px;
  }
}
@keyframes hairline { from { opacity: 0; } to { opacity: 1; } }

.header-row { display: flex; align-items: center; gap: 0 16px; height: var(--header-h); }
.brand { margin-right: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { display: block; width: 55px; height: 42px; }
.brand-text { font-size: 0.8125rem; line-height: 1.25; font-weight: 500; letter-spacing: -0.005em; color: var(--ink); }

.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px 0 12px;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface);
  color: var(--ink); font-weight: 500; font-size: 0.9375rem; cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.menu-btn:active { transform: scale(0.97); }
.menu-icon { position: relative; width: 16px; height: 12px; }
.menu-icon span {
  position: absolute; left: 0; width: 16px; height: 1.6px; border-radius: 2px; background: currentColor;
  transition: transform 200ms var(--ease-out);
}
.menu-icon span:first-child { top: 2px; }
.menu-icon span:last-child { bottom: 2px; }
.menu-btn[data-open] .menu-icon span:first-child { transform: translateY(3.2px) rotate(45deg); }
.menu-btn[data-open] .menu-icon span:last-child { transform: translateY(-3.2px) rotate(-45deg); }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a:not(.btn) {
  position: relative; isolation: isolate;
  display: flex; align-items: center;
  color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
}
.nav-list a:not(.btn)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 8px;
  background: rgb(16 23 20 / 0.05); opacity: 0; transition: opacity 150ms ease;
}
.nav-list a:not(.btn):hover { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .nav-list a:not(.btn):hover::before { opacity: 1; }
}

/* desktop: the popover list is simply an inline nav */
@media (min-width: 1100px) {
  .menu-btn { display: none; }
  .nav-list,
  .nav-list[popover] {
    display: flex; align-items: center; gap: 2px;
    position: static; inset: auto; width: auto; height: auto; margin: 0; padding: 0;
    border: 0; background: none; color: inherit; overflow: visible;
  }
  .nav-list a:not(.btn) { padding: 8px 12px; }
  .nav-cta { margin-left: 10px; }
}

/* mobile/tablet: native popover sheet anchored under the menu button (top right) */
@media (max-width: 1099.98px) {
  .brand-text { font-size: 0.75rem; }
  @supports selector(:popover-open) {
    .nav-list[popover] {
      position: fixed; inset: calc(var(--header-h) - 2px) 12px auto auto;
      width: min(340px, calc(100vw - 24px)); height: auto; max-height: calc(100dvh - var(--header-h) - 24px);
      margin: 0; padding: 8px; overflow: auto;
      border: 1px solid var(--line); border-radius: var(--r);
      background: var(--surface); color: var(--ink);
      box-shadow: 0 1px 2px rgb(16 23 20 / 0.06), 0 16px 40px -12px rgb(16 23 20 / 0.28);
      transform-origin: top right;
      opacity: 0; transform: translateY(-6px) scale(0.98);
      /* exit: quick */
      transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out),
                  overlay 150ms allow-discrete, display 150ms allow-discrete;
    }
    .nav-list[popover]:popover-open {
      opacity: 1; transform: none;
      /* enter: a touch slower than exit */
      transition-duration: 220ms;
    }
    @starting-style {
      .nav-list[popover]:popover-open { opacity: 0; transform: translateY(-6px) scale(0.98); }
    }
    .nav-list[popover]::backdrop {
      background: rgb(16 23 20 / 0.18); opacity: 0;
      transition: opacity 150ms ease, overlay 150ms allow-discrete, display 150ms allow-discrete;
    }
    .nav-list[popover]:popover-open::backdrop { opacity: 1; }
    @starting-style {
      .nav-list[popover]:popover-open::backdrop { opacity: 0; }
    }
    .nav-list a:not(.btn) { min-height: 48px; padding: 0 14px; font-size: 1.0625rem; color: var(--ink); }
    .nav-cta { padding: 8px 6px 4px; margin-top: 6px; border-top: 1px solid var(--line); }
    .nav-cta .btn { width: 100%; min-height: 46px; }
  }
}
/* no popover support (or no JS-free popover): links simply sit in the page */
@supports not selector(:popover-open) {
  @media (max-width: 1099.98px) {
    .menu-btn { display: none; }
    .header-row { height: auto; flex-wrap: wrap; padding-block: 12px; }
    .nav-list { display: flex; flex-wrap: wrap; gap: 4px 8px; }
    .nav-list a:not(.btn) { padding: 6px 8px; }
  }
}

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 7vw, 100px); }
.hero-grid { display: grid; gap: 28px 72px; }
.hero-head h1 { max-width: 22ch; }
.hero-intro { max-width: 58ch; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-figure { margin: 16px 0 0; position: relative; }
.frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--line); }
.frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(16 23 20 / 0.08);
}
.frame img { display: block; width: 100%; height: auto; }
.hero-figure figcaption,
.quality-figure figcaption {
  margin-top: 12px; font: 400 0.8125rem/1.5 var(--mono); color: var(--ink-3);
}

.readout {
  margin-top: 12px;
  padding: 14px 16px 12px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 1px 2px rgb(16 23 20 / 0.05);
}
.readout-head {
  display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px;
  font: 500 0.6875rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}
.readout-head span:first-child { color: var(--ink); }
.gauge-track {
  position: relative; height: 10px; border-radius: 99px;
  background:
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 12.5% 100% repeat-x,
    #EEF1EF;
}
.gauge-band {
  position: absolute; top: 0; bottom: 0; left: 25%; right: 0;
  border-radius: 99px; background: var(--green);
}
.gauge-ticks { position: relative; height: 18px; margin-top: 6px; font: 400 0.75rem/18px var(--mono); color: var(--ink-3); }
.gauge-ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.gauge-ticks span:nth-child(1) { left: 0; transform: none; }
.gauge-ticks span:nth-child(2) { left: 25%; color: var(--green-strong); font-weight: 500; }
.gauge-ticks span:nth-child(3) { left: 50%; }
.gauge-ticks span:nth-child(4) { left: 75%; }
.gauge-ticks span:nth-child(5) { right: 0; left: auto; transform: none; color: var(--green-strong); font-weight: 500; }

/* Explanation, once per page view: the therapy band fills the way pressure is built — slowly. */
@media (prefers-reduced-motion: no-preference) {
  .gauge-band { animation: band-fill 1200ms var(--ease-in-out) 500ms both; }
}
@keyframes band-fill {
  from { clip-path: inset(0 100% 0 0 round 99px); }
  to   { clip-path: inset(0 0 0 0 round 99px); }
}

@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 40px; align-items: start; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 0 16px; font-size: 0.96875rem; }
  .hero-head { grid-column: 1 / -1; }
  .hero-head h1 { max-width: none; }
  .hero-copy { padding-top: 6px; }
  .hero-figure { margin: 0; }
  .readout {
    position: absolute; left: -28px; bottom: 64px; width: min(320px, 74%); margin: 0;
    background: rgb(255 255 255 / 0.94);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 1px 2px rgb(16 23 20 / 0.06), 0 12px 32px -12px rgb(16 23 20 / 0.24);
  }
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.sec-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head-split { max-width: none; display: grid; gap: 16px 64px; }
.sec-head-split .lede { margin-top: 0; }
@media (min-width: 1000px) {
  .sec-head-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
}

/* ---------- 01 definition ---------- */
.def-grid { display: grid; gap: 48px; }
.answer {
  margin: 28px 0 0; max-width: 40em;
  padding-left: 20px; border-left: 2px solid var(--green);
  font-size: clamp(1.1875rem, 1.02rem + 0.6vw, 1.4375rem); line-height: 1.55; letter-spacing: -0.012em;
  color: var(--ink);
}
.compare {
  display: grid; margin-top: 32px;
  border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--surface);
}
.compare-cell { padding: 20px 22px; color: var(--ink-2); font-size: 1rem; }
.compare-cell + .compare-cell { border-top: 1px solid var(--line-2); }
.compare-cell.is-yes { background: var(--green-50); color: var(--ink); }
.compare-tag {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font: 500 0.75rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
}
.is-yes .compare-tag { color: var(--green-strong); }
.is-no .compare-tag { color: var(--ink-3); }
@media (min-width: 640px) {
  .compare { grid-template-columns: 1fr 1fr; }
  .compare-cell + .compare-cell { border-top: 0; border-left: 1px solid var(--line-2); }
}

.facts {
  align-self: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px 8px;
}
.facts-title {
  margin-bottom: 8px;
  font: 500 0.75rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
}
.facts dl { margin: 0; }
.facts dl > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font: 400 0.75rem/1.6 var(--mono); letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.facts dd { margin: 0; font-size: 0.9875rem; line-height: 1.5; }
@media (min-width: 1000px) {
  .def-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 72px; }
  .facts { position: sticky; top: calc(var(--header-h) + 24px); margin-top: 34px; }
}
/* stack label over value whenever the card itself is narrow (phone, and the 1000–1180px squeeze) */
.facts { container-type: inline-size; }
@container (max-width: 400px) {
  .facts dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 02 finder ---------- */
.finder-bar { display: grid; gap: 14px; margin-bottom: 20px; }
.chips { display: none; }
.js .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface);
  color: var(--ink-2); font-size: 0.875rem; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip-n { font: 500 0.75rem/1 var(--mono); color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .chip-n { color: rgb(255 255 255 / 0.72); }
@media (hover: hover) and (pointer: fine) {
  .chip[aria-pressed="false"]:hover { border-color: var(--ink-3); color: var(--ink); }
}
.finder-status { font: 400 0.8125rem/1.4 var(--mono); color: var(--ink-3); }

.finder-grid { display: grid; gap: 24px; align-items: start; }

.map {
  margin: 0; position: relative;
  padding: 14px 14px 18px;
  background: var(--screen); border-radius: 16px; color: var(--screen-ink-2);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.04);
}
.map-head {
  display: flex; justify-content: space-between; padding: 2px 4px 10px;
  font: 500 0.6875rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
}
.map-svg { display: block; width: 100%; height: auto; max-height: 380px; overflow: visible; }
.map-grat line { stroke: rgb(231 239 235 / 0.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map-grat-l text { fill: rgb(231 239 235 / 0.42); font: 400 15px var(--mono); }
.map-land {
  fill: rgb(231 239 235 / 0.045); stroke: rgb(231 239 235 / 0.42);
  stroke-width: 1.25; stroke-linejoin: round; vector-effect: non-scaling-stroke;
}
.map-dot { transition: opacity 220ms ease; }
.map-dot.is-dim { opacity: 0.2; }
.map-hit { fill: transparent; }
.js .map-hit { cursor: pointer; }
.map-core { fill: var(--dot); }
.map-halo {
  fill: rgb(61 181 142 / 0.16); stroke: var(--dot); stroke-width: 1.5;
  opacity: 0; transform: scale(0.6); transform-box: fill-box; transform-origin: center;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.map-dot text {
  fill: var(--screen-ink-2); font: 500 20px var(--sans); letter-spacing: -0.01em;
  paint-order: stroke; stroke: var(--screen); stroke-width: 5px; stroke-linejoin: round;
  transition: opacity 180ms ease;
}
.map-dot.is-active .map-halo { opacity: 1; transform: scale(1); }
.map-dot.is-active text { fill: #fff; }
.map.has-active .map-dot:not(.is-active) text { opacity: 0.4; }

.centres { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.centre { border-bottom: 1px solid var(--line); scroll-margin: calc(var(--header-h) + 16px) 0 24px; }
.centre[hidden] { display: none; }
.centre-card {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px;
  padding: 18px 4px 20px;
}
.centre-city { grid-column: 1; grid-row: 1; }
.centre-body { grid-column: 1 / -1; }
/* active (linked to map) and "located" tints: pseudo layers, opacity only */
.centre-card::after {
  content: ""; position: absolute; inset: 0 -12px; z-index: -1; border-radius: 12px;
  background: var(--surface); box-shadow: 0 1px 2px rgb(16 23 20 / 0.05), 0 0 0 1px var(--line);
  opacity: 0; transition: opacity 150ms ease;
}
.centre-card::before {
  content: ""; position: absolute; left: -12px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px;
  background: var(--green); transform: scaleY(0.4); opacity: 0;
  transition: transform 200ms var(--ease-out), opacity 150ms ease;
}
.centre.is-active .centre-card::after { opacity: 1; }
.centre.is-active .centre-card::before { transform: scaleY(1); opacity: 1; }
/* "You are here" after a map click: hold, then fade out (exit → ease-out). Long on purpose — it's a pointer, not a transition. */
.centre.is-located .centre-card::after { animation: located 1000ms var(--ease-out); }
@keyframes located {
  0%, 35% { opacity: 1; }
}
.centre-city { font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.centre-land { display: block; margin-top: 2px; font: 400 0.75rem/1.4 var(--mono); letter-spacing: 0.02em; color: var(--ink-3); }
.centre-name { font-size: 1rem; line-height: 1.4; }
.centre-name a { color: var(--ink); text-decoration: none; }
.centre-name a:hover { color: var(--green); text-decoration: underline; }
.centre-addr { margin-top: 3px; font-size: 0.9375rem; color: var(--ink-2); }
.centre-tel {
  justify-self: start; position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px;
  grid-column: 2; grid-row: 1; align-self: start;
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface);
  color: var(--ink); text-decoration: none; white-space: nowrap;
  font: 500 0.875rem/1 var(--mono); font-variant-numeric: tabular-nums;
  transition: transform 160ms var(--ease-out);
}
.centre-tel .i { width: 14px; height: 14px; color: var(--green); }
.centre-tel::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--green-50); opacity: 0; transition: opacity 150ms ease;
}
.centre-tel:hover { color: var(--ink); }
.centre-tel:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .centre-tel:hover::before { opacity: 1; }
}

@media (min-width: 720px) {
  .centre-card { grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 6px 24px; align-items: start; padding: 20px 4px; }
  .centre-body { grid-column: 2; grid-row: 1; }
  .centre-tel { grid-column: 3; justify-self: end; }
}
@media (min-width: 1000px) {
  .finder-bar { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .finder-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
  .map { position: sticky; top: calc(var(--header-h) + 24px); }
  .map-svg { max-height: min(640px, calc(100vh - 200px)); }
  .map-dot text { font-size: 17px; }
}
@media (max-width: 999.98px) {
  /* chip rail scrolls sideways on small screens instead of stacking four rows deep */
  .js .chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter);
    scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
  }
  .js .chips::-webkit-scrollbar { display: none; }
  .chip { height: 40px; }
  .map-dot text { font-size: 24px; stroke-width: 6px; }
  .map-grat-l { display: none; }
}

/* ---------- 03 paths ---------- */
.paths { display: grid; gap: 40px; }
.path { border-top: 1px solid var(--ink); padding-top: 22px; }
.path h3 { font-size: 1.25rem; }
.path > p { margin-top: 10px; color: var(--ink-2); max-width: 44ch; }
.path-links { list-style: none; margin: 20px 0 0; padding: 0; }
.path-links li { border-top: 1px solid var(--line); }
.path-links li:last-child { border-bottom: 1px solid var(--line); }
.path-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 12px 0;
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.path-links a .i { color: var(--green); }
.path-links a:hover { color: var(--green-strong); }
@media (min-width: 900px) {
  .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

/* ---------- 04 flow / pressure profile ---------- */
.flow { --axis: 46px; }
.profile {
  position: relative; padding-top: 28px;
  display: grid; grid-template-columns: var(--axis) minmax(0, 1fr);
  grid-template-rows: clamp(210px, 24vw, 320px) 36px;
}
.profile-axis { position: relative; }
.profile-axis span {
  position: absolute; right: 10px; top: calc((3.2 - var(--p)) / 2.4 * 100%);
  transform: translateY(-50%);
  font: 400 0.75rem/1 var(--mono); color: var(--ink-3);
}
.profile-axis .profile-unit { top: auto; bottom: 100%; right: auto; left: 0; transform: translateY(-10px); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.6875rem; }
.plot { position: relative; border-left: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.plot-grid i { position: absolute; left: 0; right: 0; top: calc((3.2 - var(--p)) / 2.4 * 100%); border-top: 1px dashed var(--line); }
.plot-band {
  position: absolute; left: 0; right: 0; top: 8.3333%; height: 62.5%;
  background: var(--green-50);
  border-top: 1px solid var(--green-100); border-bottom: 1px solid var(--green-100);
}
.plot-band span {
  position: absolute; right: 12px; top: 10px; max-width: calc(100% - 24px);
  font: 500 0.75rem/1.35 var(--mono); color: var(--green-strong); text-align: right;
}
.plot-phases i { position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--line-2); }
.plot-phases i:nth-child(1) { left: 19%; }
.plot-phases i:nth-child(2) { left: 39%; }
.plot-phases i:nth-child(3) { left: 75%; }
.plot-nums span {
  position: absolute; top: calc(100% + 8px); margin-left: 0; transform: translateX(-50%);
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--bg);
  font: 500 0.6875rem/1 var(--mono); color: var(--ink-3);
}
.plot-nums span:nth-child(1) { left: 9.5%; }
.plot-nums span:nth-child(2) { left: 29%; }
.plot-nums span:nth-child(3) { left: 57%; }
.plot-nums span:nth-child(4) { left: 87.5%; }
.flow[data-phase="0"] .plot-nums span:nth-child(1),
.flow[data-phase="1"] .plot-nums span:nth-child(2),
.flow[data-phase="2"] .plot-nums span:nth-child(3),
.flow[data-phase="3"] .plot-nums span:nth-child(4) { background: var(--green); border-color: var(--green); color: #fff; }
.plot-hl {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgb(23 111 91 / 0.12), rgb(23 111 91 / 0.03));
  transform-origin: 0 0; opacity: 0;
  transition: transform 280ms var(--ease-in-out), opacity 200ms ease;
}
.plot-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plot-line path { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.plot-line.is-accent path { stroke: var(--green); stroke-width: 3; }
.plot-trace {
  position: absolute; inset: 0;
  clip-path: inset(-8px 0 -8px 0);
  transition: clip-path 280ms var(--ease-in-out);
}
.is-armed .plot-trace { clip-path: inset(-8px 100% -8px 0); }
.profile-note {
  position: absolute; top: 0; right: 0;
  font: 400 0.6875rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}

.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.step {
  position: relative;
  display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px;
  padding: 16px 0 18px; border-top: 1px solid var(--line);
  align-content: start;
}
.step::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--green);
  opacity: 0; transform: scaleX(0.3); transform-origin: left;
  transition: transform 240ms var(--ease-out), opacity 150ms ease;
}
.step-n {
  grid-column: 1; grid-row: 1 / span 2;
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface);
  font: 500 0.75rem/1 var(--mono); color: var(--ink-2);
}
.step h3 { grid-column: 2; font-size: 1.0625rem; }
.step p { grid-column: 2; margin-top: 4px; color: var(--ink-2); font-size: 0.9875rem; }

/* step photos: always visible; while a phase is active the others sit behind a light veil (opacity only) */
.step { grid-template-columns: 36px minmax(0, 1fr) 84px; }
.step-media {
  position: relative; overflow: hidden; isolation: isolate;
  grid-column: 3; grid-row: 1 / span 3; align-self: start;
  width: 84px; aspect-ratio: 1; border-radius: 10px; background: var(--line);
}
.step-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.step-media::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(16 23 20 / 0.08);
}
.step-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgb(247 248 247 / 0.62); opacity: 0;
  transition: opacity 200ms ease;
}
.flow[data-phase] .step:not(.is-active) .step-media::after { opacity: 1; }
.photo-note { margin-top: 20px; font: 400 0.75rem/1.5 var(--mono); color: var(--ink-3); }
@media (min-width: 560px) and (max-width: 899.98px) {
  .step { grid-template-columns: 36px minmax(0, 1fr) 132px; }
  .step-media { width: 132px; aspect-ratio: 4 / 3; }
}
.step.is-active::before { transform: scaleX(1); opacity: 1; }
.step.is-active .step-n { background: var(--green); border-color: var(--green); color: #fff; }
.js .step { cursor: default; }

@media (min-width: 900px) {
  .steps { margin-left: var(--axis); grid-template-columns: 19fr 20fr 36fr 25fr; }
  .step { grid-template-columns: minmax(0, 1fr); padding: 18px 20px 4px 0; border-top: 0; }
  .step::before { top: 0; right: 20px; }
  .step-n { grid-column: auto; grid-row: auto; margin-bottom: 14px; }
  .step h3, .step p { grid-column: auto; }
  .step-media { grid-column: auto; grid-row: auto; width: 100%; aspect-ratio: auto; height: clamp(150px, 13vw, 190px); margin-bottom: 16px; }
}
@media (min-width: 900px) {
  /* steps sit under their phases on wide screens, so the in-chart numbers would only repeat them */
  .profile { grid-template-rows: clamp(210px, 24vw, 320px) 8px; }
  .plot-nums { display: none; }
}
@media (max-width: 640px) {
  .flow { --axis: 36px; }
  .plot-band span { font-size: 0.6875rem; top: 6px; right: 8px; }
}

/* ---------- 05 indications ---------- */
.ind { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.ind li {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-content: start; padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.ind li::before {
  content: ""; position: absolute; inset: 0 -12px; z-index: -1; border-radius: 10px;
  background: var(--surface); opacity: 0; transition: opacity 150ms ease;
}
.ind-n { grid-row: span 2; padding-top: 4px; font: 500 0.8125rem/1.4 var(--mono); color: var(--ink-3); }
.ind h3 { font-size: 1.1875rem; }
.ind h3 a { color: var(--ink); text-decoration: none; }
.ind h3 a::after { content: ""; position: absolute; inset: 0; }
.ind li p { margin-top: 4px; color: var(--ink-2); }
.ind li.is-urgent .ind-n { color: var(--signal); }
@media (hover: hover) and (pointer: fine) {
  .ind li:hover::before { opacity: 1; }
  .ind li:hover h3 a { color: var(--green-strong); text-decoration: underline; }
}
@media (min-width: 900px) {
  .ind { grid-template-columns: 1fr 1fr; column-gap: 56px; }
}
.notice {
  display: grid; gap: 8px 24px; align-items: center;
  margin-top: 24px; padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
}
.notice-num { display: inline-flex; align-items: center; gap: 10px; font: 500 1rem/1 var(--mono); color: var(--ink); white-space: nowrap; }
.notice-num a { color: var(--ink); }
.notice-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; box-shadow: 0 0 0 3px rgb(201 58 34 / 0.14); }
.notice-text strong { font-weight: 500; }
@media (min-width: 720px) { .notice { grid-template-columns: auto minmax(0, 1fr); } }

/* ---------- 06 quality ---------- */
.quality-grid { display: grid; gap: 48px; }
.quality-copy > p:not(.eyebrow) { margin-top: 24px; max-width: 62ch; color: var(--ink-2); }
.links-inline { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.quality-figure { margin: 0; max-width: 480px; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.checks li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9875rem;
}
.check-n { font: 500 0.75rem/1.75 var(--mono); color: var(--green); }
@media (min-width: 640px) {
  .checks { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}
@media (min-width: 1000px) {
  .quality-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
}

/* ---------- 07 news ---------- */
.news-grid { display: grid; gap: 48px; }
.news-item { padding: 24px 0; border-top: 1px solid var(--line); }
.news-item:first-child { border-top-color: var(--ink); padding-top: 20px; }
.news-date { font: 400 0.8125rem/1.4 var(--mono); color: var(--ink-3); }
.news-item h3 { margin-top: 8px; font-size: 1.1875rem; max-width: 46ch; }
.news-item h3 a { color: var(--ink); text-decoration: none; }
.news-item h3 a:hover { color: var(--green-strong); text-decoration: underline; }
.news-item > p:not(.news-date) { margin-top: 8px; color: var(--ink-2); max-width: 66ch; }
.news-item .news-src { font: 400 0.8125rem/1.5 var(--mono); }
.dates {
  align-self: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px 24px;
}
.dates h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1875rem; }
.dates h3 span { font: 500 0.6875rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.dates ul { list-style: none; margin: 14px 0 0; padding: 0; }
.dates li { padding: 14px 0; border-top: 1px solid var(--line); }
.date { font: 500 0.8125rem/1.4 var(--mono); color: var(--green-strong); }
.date-title { margin-top: 4px; font-weight: 500; line-height: 1.4; }
.date-place { margin-top: 2px; font-size: 0.9375rem; color: var(--ink-2); }
.dates .more { margin-top: 12px; }
@media (min-width: 1000px) {
  .news-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 72px; }
}

/* ---------- 08 FAQ ---------- */
.faq-grid { display: grid; gap: 36px; }
.faq-intro > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); max-width: 36ch; }
.faq-list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: 4px; }
.qa-icon {
  position: relative; flex: none; width: 28px; height: 28px; margin-top: -1px;
  border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface);
}
.qa-icon i {
  position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px;
  border-radius: 1px; background: var(--ink);
  transition: transform 200ms var(--ease-out);
}
.qa-icon i:last-child { transform: rotate(90deg); }
.qa[open] .qa-icon i { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .qa summary:hover .qa-icon { border-color: var(--ink-3); }
}
.qa-body { padding: 0 52px 24px 0; color: var(--ink-2); }
.qa-body a { color: var(--green); }
/* Opening reveals the answer; closing is instant (exit faster than enter). */
@media (prefers-reduced-motion: no-preference) {
  .qa[open] .qa-body { animation: qa-in 220ms var(--ease-out); }
}
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 72px; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}

/* ---------- 09 contact ---------- */
.contact-grid { display: grid; gap: 36px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(22px, 3vw, 32px);
}
.contact-org { font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; }
.contact-card address p + p { margin-top: 6px; color: var(--ink-2); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-actions .btn { font-family: var(--mono); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.contact-112 {
  display: flex; gap: 12px; align-items: baseline;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 0.9375rem; color: var(--ink-2);
}
.contact-112 .notice-dot { transform: translateY(-1px); }
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--screen); color: var(--screen-ink-2); padding: 64px 0 48px; font-size: 0.9375rem; }
.site-footer a { color: var(--screen-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #7FD6B6; }
.footer-grid { display: grid; gap: 40px; }
.footer-brand img { display: block; width: 94px; height: 72px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-brand p + p { margin-top: 14px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-legal p + p { margin-top: 8px; }
.footer-legal { font: 400 0.8125rem/1.6 var(--mono); }
.footer-credits {
  grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgb(231 239 235 / 0.12);
  font-size: 0.8125rem; line-height: 1.65; color: var(--screen-ink-2); text-wrap: pretty;
}
.footer-credits-label {
  display: block; margin-bottom: 6px;
  font: 500 0.6875rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--screen-ink);
}
.site-footer .footer-credits a { text-decoration: underline; text-decoration-color: rgb(231 239 235 / 0.35); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; }
  .footer-legal { align-self: end; text-align: right; }
}

/* ---------- keyboard-initiated actions: never animated ---------- */
[data-input="keyboard"] .qa[open] .qa-body { animation: none; }
[data-input="keyboard"] .qa-icon i,
[data-input="keyboard"] .map-halo,
[data-input="keyboard"] .map-dot,
[data-input="keyboard"] .map-dot text,
[data-input="keyboard"] .centre-card::before,
[data-input="keyboard"] .centre-card::after,
[data-input="keyboard"] .menu-icon span { transition: none; }
@supports selector(:popover-open) {
  [data-input="keyboard"] .nav-list[popover],
  [data-input="keyboard"] .nav-list[popover]::backdrop { transition-duration: 0s; }
}

/* ---------- reduced motion: fewer and gentler, not zero ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn:active, .chip:active, .menu-btn:active, .centre-tel:active { transform: none; }
  .i-arrow, .i-down, .menu-icon span, .qa-icon i, .step::before, .centre-card::before { transition: none; }
  .map-halo { transform: none; }
  .plot-hl { transition: opacity 150ms ease; }
  .plot-trace { transition: none; }
  .step-media::after { transition: none; }
  .qa[open] .qa-body { animation: qa-fade 150ms ease; }
  @supports selector(:popover-open) {
    @media (max-width: 1099.98px) {
      .nav-list[popover], .nav-list[popover]:popover-open { transform: none; }
      @starting-style { .nav-list[popover]:popover-open { transform: none; } }
    }
  }
}
@keyframes qa-fade { from { opacity: 0; } }

@media print {
  .site-header, .chips, .map, .menu-btn { display: none !important; }
  .centre[hidden] { display: block !important; }
}
