/* =====================================================================
   TECTUM Health Compass — shared stylesheet
   Structure:
     1. Fonts            5. Components (btn, eyebrow, divider, section-head,
     2. Tokens              card, media, icon, step-list, location-card,
     3. Base                trust-list, accordion, lang-switch)
     4. Layout           6. Blocks (site-header, hero, trust, steps,
                            partner-teaser, locations, cta-band, site-footer,
                            page-head, booking, checklist, faq, contact, form)
                         7. Utilities
   Every block is independent: .block + a modifier. Drop into CMS as-is.
   ===================================================================== */

/* 1. FONTS — self-hosted Montserrat (variable 100–900; no Google request → nDSG/GDPR-friendly) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  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: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations");
  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;
}

/* 2. TOKENS */
:root {
  /* Brand */
  --tectum-green: #003E25;        /* primary: headings, buttons, dark sections */
  --tectum-green-900: #002C1A;    /* primary hover / pressed */
  --tectum-green-100: #E6EFEA;    /* tint for icon tiles, selected states */
  --tectum-gold: #C2952B;         /* accent ONLY: rules, dots, decorative icons (2.75:1 on white — never text) */
  --tectum-gold-ink: #7E5F16;     /* gold for small text on white/surface (5.9:1 / 5.5:1) */
  --tectum-gold-on-dark: #E2C47A; /* gold for text on green (7.2:1) */
  --tectum-white: #FFFFFF;

  /* Neutrals (cool, derived from green) */
  --tectum-surface: #F4F7F5;
  --tectum-surface-2: #EBF0ED;
  --tectum-border: #E3EAE6;
  --tectum-border-strong: #C9D5CE;
  --tectum-text: #1C2B24;         /* 15.6:1 on white */
  --tectum-muted: #5B6B63;        /* 5.6:1 on white, 5.2:1 on surface */
  --tectum-on-dark: #FFFFFF;
  --tectum-on-dark-muted: #B7C9BF; /* 7.1:1 on green */

  /* Type */
  --tectum-font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display: clamp(2.25rem, 1.35rem + 3.6vw, 4.25rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;
  --tracking-eyebrow: 0.22em;
  --tracking-tight: -0.022em;

  /* Space (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);

  /* Shape */
  --radius-sm: 4px;   /* buttons, inputs, chips */
  --radius-md: 6px;   /* cards, media */
  --border-w: 1px;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 2.5rem);
  --grid-gap: clamp(1rem, 0.6rem + 1.4vw, 1.5rem);
  --header-h: 80px;
  --header-h-compact: 64px;

  /* Focus */
  --focus-ring: 0 0 0 2px var(--tectum-white), 0 0 0 4px var(--tectum-green);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 200ms;
}

/* 3. BASE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h-compact) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--tectum-font);
  font-size: var(--fs-body);
  font-weight: 450;
  line-height: 1.6;
  color: var(--tectum-text);
  background: var(--tectum-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--tectum-green); font-weight: 800; letter-spacing: var(--tracking-tight); line-height: 1.1; text-wrap: balance; hyphens: manual; }
h3 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--tectum-green); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
::selection { background: var(--tectum-green); color: var(--tectum-white); }
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  padding: var(--space-3) var(--space-4); background: var(--tectum-green); color: var(--tectum-white);
  font-weight: 600; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 4. LAYOUT */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.block { position: relative; padding-block: var(--section-y); }
.block--surface { background: var(--tectum-surface); }
.block--dark { background: var(--tectum-green); color: var(--tectum-on-dark); }
.block--tight { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.grid { display: grid; gap: var(--grid-gap); grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* 5. COMPONENTS ======================================================= */

/* 5.1 Eyebrow — small uppercase label, echoes "HEALTH COMPASS" */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75em;
  font-size: var(--fs-eyebrow); font-weight: 600; line-height: 1.4;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--tectum-gold-ink);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tectum-gold); flex: none; }
.eyebrow--plain::before { display: none; }
.block--dark .eyebrow { color: var(--tectum-gold-on-dark); }

/* 5.2 Divider — gold rule with center dot (from the logo) */
.divider {
  display: block; width: 96px; height: 8px; border: 0; margin: 0;
  background:
    radial-gradient(circle at center, var(--tectum-gold) 3.5px, transparent 4px) center / 8px 8px no-repeat,
    linear-gradient(var(--tectum-gold), var(--tectum-gold)) left center / calc(50% - 8px) 2px no-repeat,
    linear-gradient(var(--tectum-gold), var(--tectum-gold)) right center / calc(50% - 8px) 2px no-repeat;
}
.divider--wide { width: 100%; max-width: 560px; }

/* 5.3 Section header — eyebrow + title + divider (+ optional intro) */
.section-head { display: grid; gap: var(--space-4); max-width: 44rem; margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head .divider { margin-top: var(--space-2); }
.section-head__intro { color: var(--tectum-muted); font-size: var(--fs-lead); line-height: 1.55; max-width: 38rem; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--grid-gap); align-items: end; }
  .section-head--split > .section-head__title { grid-column: 1; }
  .section-head--split > .section-head__intro { grid-column: 2; justify-self: end; }
}
.section-head__title { display: grid; gap: var(--space-4); }

/* 5.4 Buttons — primary / secondary / ghost (+ inverse for dark blocks) */
.btn {
  --btn-bg: var(--tectum-green); --btn-fg: var(--tectum-white); --btn-bd: var(--tectum-green);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625em;
  min-height: 48px; padding: 0.75rem 1.5rem;
  font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.005em;
  text-align: center; text-decoration: none; white-space: normal;
  color: var(--btn-fg); background: var(--btn-bg);
  border: var(--border-w) solid var(--btn-bd); border-radius: var(--radius-sm);
  cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn .icon { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--tectum-green); --btn-bd: var(--tectum-border-strong); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--tectum-green); --btn-bd: transparent; padding-inline: 0; min-height: 44px; }
.btn--ghost span { text-decoration: underline; text-decoration-color: var(--tectum-border-strong); text-underline-offset: 0.3em; text-decoration-thickness: 1px; transition: text-decoration-color var(--dur) var(--ease); }
.btn--ghost:hover span { text-decoration-color: var(--tectum-green); }
.btn--inverse { --btn-bg: var(--tectum-white); --btn-fg: var(--tectum-green); --btn-bd: var(--tectum-white); }
.btn--outline-inverse { --btn-bg: transparent; --btn-fg: var(--tectum-white); --btn-bd: rgba(255,255,255,.45); }
.btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.block--dark :focus-visible { box-shadow: 0 0 0 2px var(--tectum-green), 0 0 0 4px var(--tectum-white); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* 5.5 Icon */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: var(--border-w) solid var(--tectum-border); border-radius: var(--radius-sm);
  color: var(--tectum-gold); background: var(--tectum-white);
}

/* 5.6 Card */
.card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-4);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  background: var(--tectum-white); border: var(--border-w) solid var(--tectum-border); border-radius: var(--radius-md);
}
.card--surface { background: var(--tectum-surface); border-color: transparent; }
.card__title { font-size: var(--fs-h3); }
.card__text { color: var(--tectum-muted); }
.card__footer { margin-top: auto; padding-top: var(--space-2); }
.card > .btn { align-self: flex-start; }

/* 5.7 Media placeholder — fixed aspect ratio, swap for <img> later */
.media {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-md);
  background-color: var(--tectum-surface-2);
  aspect-ratio: var(--ratio, 4 / 3);
}
.media--4x5 { --ratio: 4 / 5; }
.media--1x1 { --ratio: 1 / 1; }
.media--16x9 { --ratio: 16 / 9; }
.media--3x2 { --ratio: 3 / 2; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media--placeholder {
  background-image:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(0,62,37,.045) 22px 23px),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(0,62,37,.045) 22px 23px);
}
.media__label {
  position: absolute; left: var(--space-4); top: var(--space-4); right: var(--space-4);
  display: flex; gap: var(--space-2); align-items: center;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tectum-muted);
}
.media__label::before { content: ""; width: 14px; height: 14px; flex: none; border: 1.5px solid currentColor; border-radius: 2px; }

/* Map placeholder */
.map-placeholder {
  background-color: #EEF3F0;
  background-image:
    linear-gradient(var(--tectum-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--tectum-border) 1px, transparent 1px),
    linear-gradient(33deg, transparent 47%, #DCE5E0 47%, #DCE5E0 53%, transparent 53%),
    linear-gradient(-58deg, transparent 48.5%, #DCE5E0 48.5%, #DCE5E0 51.5%, transparent 51.5%);
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%;
}
.map-placeholder__pin {
  position: absolute; left: 50%; top: 50%; translate: -50% -100%;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--tectum-green); color: var(--tectum-white); border-radius: 50% 50% 50% 0; rotate: -45deg;
}
.map-placeholder__pin::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tectum-gold); }

/* Map embed — Google Maps iframe toned to the brand green; full colour on hover/focus */
.map-embed { background-color: #EEF3F0; min-height: 320px; }
.map-embed__frame {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) sepia(.25) hue-rotate(95deg) saturate(1.3) contrast(1.05) brightness(1.02);
  transition: filter .4s ease;
}
.map-embed:hover .map-embed__frame, .map-embed:focus-within .map-embed__frame { filter: none; }
.map-embed::after { /* soft inner edge so the map sits in the card instead of on it */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0,62,37,.06), inset 0 -60px 60px -40px rgba(0,62,37,.18);
}
.map-embed__tag {
  position: absolute; left: var(--space-4); bottom: var(--space-4); z-index: 1; pointer-events: none;
  display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-3); align-items: center;
  margin: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  background: var(--tectum-green); color: var(--tectum-white);
  font-size: 0.8125rem; font-weight: 700; line-height: 1.3; box-shadow: 0 6px 20px rgba(0,44,26,.25);
  transition: opacity .3s ease;
}
.map-embed__tag small { grid-column: 2; font-weight: 500; color: var(--tectum-on-dark-muted); font-size: 0.75rem; }
.map-embed__dot { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--tectum-gold); box-shadow: 0 0 0 4px rgba(194,149,43,.25); }
.map-embed:hover .map-embed__tag { opacity: 0; }
@media (min-width: 1080px) { .location-card--row .media.map-embed { flex-basis: 50%; min-height: 380px; } }
@media (prefers-reduced-motion: reduce) { .map-embed__frame, .map-embed__tag { transition: none; } }

/* 5.8 Step list — numbered process, horizontal on desktop, vertical rail on mobile */
.step-list { display: grid; gap: 0; counter-reset: step; }
.step {
  position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: var(--space-4);
  padding-bottom: var(--space-6);
}
.step:last-child { padding-bottom: 0; }
.step::before { /* rail */
  content: ""; position: absolute; left: 21.5px; top: 44px; bottom: 0; width: 1px; background: var(--tectum-border-strong);
}
.step:last-child::before { display: none; }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: var(--border-w) solid var(--tectum-green); border-radius: 50%;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; color: var(--tectum-green); background: var(--tectum-white);
  font-variant-numeric: tabular-nums;
}
.step__body { display: grid; gap: var(--space-2); padding-top: 0.55rem; }
.step__title { font-size: var(--fs-h3); }
.step__text { color: var(--tectum-muted); max-width: 30rem; }
.step__meta {
  justify-self: start; margin-top: var(--space-1);
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tectum-gold-ink);
}
.step__meta .icon { width: 16px; height: 16px; color: var(--tectum-gold); }
@media (min-width: 900px) {
  .step-list { grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); gap: var(--grid-gap); }
  .step { grid-template-columns: 1fr; row-gap: var(--space-5); padding-bottom: 0; padding-right: var(--space-5); }
  .step::before { left: 56px; right: 0; top: 21.5px; bottom: auto; width: auto; height: 1px; }
  .step:last-child::before { display: none; }
  .step__body { padding-top: 0; }
}

/* 5.9 Trust list — short value points with icons */
.trust-list { display: grid; grid-template-columns: 1fr; border-top: var(--border-w) solid var(--tectum-border); }
.trust-item {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; align-content: start;
  padding-block: var(--space-5); border-bottom: var(--border-w) solid var(--tectum-border);
}
.trust-item__title { font-size: 1rem; font-weight: 700; color: var(--tectum-green); letter-spacing: -0.005em; line-height: 1.35; }
.trust-item__text { font-size: var(--fs-small); color: var(--tectum-muted); line-height: 1.55; margin-top: 2px; }
@media (min-width: 640px) {
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--grid-gap); }
}
@media (min-width: 1080px) {
  .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; border-bottom: var(--border-w) solid var(--tectum-border); }
  .trust-item { grid-template-columns: 1fr; gap: var(--space-4); padding: var(--space-6) var(--space-5); border-bottom: 0; }
  .trust-item + .trust-item { border-left: var(--border-w) solid var(--tectum-border); }
  .trust-item:first-child { padding-left: 0; }
}

/* 5.10 Location card */
.location-card { padding: 0; overflow: hidden; gap: 0; }
.location-card .media { border-radius: 0; border-bottom: var(--border-w) solid var(--tectum-border); }
.location-card__body { display: grid; gap: var(--space-4); padding: clamp(1.25rem, 1rem + 1vw, 2rem); flex: 1; align-content: start; }
.location-card__city { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 800; }
.location-card__address { display: flex; gap: var(--space-3); color: var(--tectum-text); }
.location-card__address .icon { color: var(--tectum-gold); margin-top: 1px; width: 20px; height: 20px; }
.location-card__note { font-size: var(--fs-small); color: var(--tectum-muted); }
.location-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); align-items: center; padding-top: var(--space-2); margin-top: auto; }

/* 5.11 Accordion — native <details>, no JS required */
.accordion { border-top: var(--border-w) solid var(--tectum-border); }
.accordion__item { border-bottom: var(--border-w) solid var(--tectum-border); }
.accordion__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.0625rem; color: var(--tectum-green); line-height: 1.4;
}
.accordion__q::-webkit-details-marker { display: none; }
.accordion__q::after {
  content: ""; flex: none; width: 28px; height: 28px; border: 1px solid var(--tectum-border-strong); border-radius: var(--radius-sm);
  background:
    linear-gradient(var(--tectum-green), var(--tectum-green)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--tectum-green), var(--tectum-green)) center / 1.5px 12px no-repeat;
  transition: transform var(--dur) var(--ease);
}
.accordion__item[open] > .accordion__q::after { background: linear-gradient(var(--tectum-green), var(--tectum-green)) center / 12px 1.5px no-repeat; }
.accordion__a { padding: 0 var(--space-7) var(--space-5) 0; color: var(--tectum-muted); max-width: 46rem; }

/* 5.12 Language switch */
.lang-switch { display: inline-flex; border: var(--border-w) solid var(--tectum-border); border-radius: var(--radius-sm); padding: 2px; }
.lang-switch a {
  display: grid; place-items: center; min-width: 36px; min-height: 32px; padding: 0 var(--space-2);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-decoration: none; color: var(--tectum-muted); border-radius: 2px;
}
.lang-switch a:hover { color: var(--tectum-green); }
.lang-switch a[aria-current="true"] { background: var(--tectum-green); color: var(--tectum-white); }

/* 5.13 Compass linework motif (decorative, inline SVG using currentColor) */
.motif { position: absolute; z-index: 0; pointer-events: none; color: var(--tectum-border); }
.motif ~ .container { position: relative; z-index: 1; }
.motif svg { width: 100%; height: 100%; overflow: visible; }

/* 6. BLOCKS =========================================================== */

/* 6.1 Site header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--tectum-white); /* solid: no backdrop-filter, it would trap the fixed mobile menu */
  border-bottom: var(--border-w) solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--tectum-border); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-4); height: var(--header-h); transition: height var(--dur) var(--ease); }
.site-header.is-scrolled .site-header__inner { height: var(--header-h-compact); }
.site-header__logo { display: block; flex: none; margin-right: auto; border-radius: var(--radius-sm); }
.site-header__logo img { height: 44px; width: auto; transition: height var(--dur) var(--ease); }
.site-header.is-scrolled .site-header__logo img { height: 38px; }
.site-nav { display: none; }
.site-nav__list { display: flex; align-items: center; gap: clamp(1rem, 0.2rem + 1.6vw, 2rem); }
.site-nav__link {
  position: relative; display: inline-block; padding: var(--space-2) 0;
  font-size: 0.875rem; font-weight: 600; text-decoration: none; color: var(--tectum-text); white-space: nowrap;
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--tectum-gold);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: var(--space-3); }
.site-header__actions .lang-switch { display: none; }
.site-header__cta .lbl-long { display: none; }
.menu-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: var(--border-w) solid var(--tectum-border); border-radius: var(--radius-sm); background: var(--tectum-white); color: var(--tectum-green); cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 420px) { .site-header__cta .lbl-long { display: inline; } .site-header__cta .lbl-short { display: none; } }
@media (min-width: 640px) { .site-header__actions .lang-switch { display: inline-flex; } }
@media (min-width: 1080px) {
  .site-header__logo { margin-right: 0; }
  .site-header__logo img { height: 64px; }
  .site-header.is-scrolled .site-header__logo img { height: 48px; }
  .site-nav { display: block; margin-left: auto; margin-right: var(--space-5); }
  .menu-toggle { display: none; }
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: var(--mm-top, var(--header-h)) 0 0 0; z-index: 49;
  display: flex; flex-direction: column; gap: var(--space-6);
  padding: var(--space-5) var(--gutter) calc(var(--space-6) + env(safe-area-inset-bottom));
  background: var(--tectum-white); border-top: var(--border-w) solid var(--tectum-border);
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list a {
  display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) 0;
  border-bottom: var(--border-w) solid var(--tectum-border);
  font-size: 1.25rem; font-weight: 700; color: var(--tectum-green); text-decoration: none; letter-spacing: -0.01em;
}
.mobile-menu__list a .icon { color: var(--tectum-gold); width: 20px; height: 20px; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: var(--space-4); }
.mobile-menu__foot .lang-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.mobile-menu__foot small { font-size: 0.75rem; color: var(--tectum-muted); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
body.menu-open { overflow: hidden; }
@media (min-width: 1080px) { .mobile-menu { display: none !important; } }

/* 6.2 Hero */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 5.5rem) clamp(3rem, 2rem + 5vw, 7rem); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.hero__content { display: grid; gap: var(--space-5); justify-items: start; max-width: 40rem; }
.hero__title { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.03em; }
.hero__title em { font-style: normal; color: var(--tectum-gold-ink); } /* optional highlight — dark gold keeps AA */
.hero__lead { font-size: var(--fs-lead); color: var(--tectum-muted); line-height: 1.55; max-width: 34rem; }
.hero .btn-row { margin-top: var(--space-2); width: 100%; }
@media (max-width: 479px) { .hero .btn-row .btn, .cta-band .btn-row .btn { flex: 1 1 100%; } }
.hero__note {
  display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-5); margin-top: var(--space-2);
  border-top: var(--border-w) solid var(--tectum-border); width: 100%;
  font-size: var(--fs-small); color: var(--tectum-muted);
}
.hero__note img { height: 22px; width: auto; flex: none; }
.hero__note a { font-weight: 600; }
.hero__visual { position: relative; }
.hero__visual .media { --ratio: 4 / 3; }
.hero__card {
  position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-4);
  display: grid; grid-template-columns: 1fr 1fr; background: var(--tectum-white);
  border: var(--border-w) solid var(--tectum-border); border-radius: var(--radius-md);
}
.hero__card-item { display: grid; gap: 2px; padding: var(--space-3) var(--space-4); min-width: 0; }
.hero__card-item + .hero__card-item { border-left: var(--border-w) solid var(--tectum-border); }
.hero__card-item b { font-size: 0.9375rem; color: var(--tectum-green); font-weight: 700; }
.hero__card-item span { font-size: 0.8125rem; color: var(--tectum-muted); line-height: 1.4; }
.hero .motif { display: none; width: 880px; aspect-ratio: 1; right: -300px; top: 50%; translate: 0 -50%; opacity: .9; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hero .motif { display: block; }
  .hero__visual .media { --ratio: 4 / 5; }
  .hero__card { left: calc(-1 * var(--space-7)); right: auto; bottom: var(--space-6); min-width: 340px; }
}

/* 6.3 Trust strip */
.trust { padding-block: 0 clamp(3rem, 2rem + 4vw, 6rem); }

/* 6.4 Steps block */
.steps .step-list { --steps: 3; }

/* 6.5 Partner teaser */
.partner-teaser__card {
  display: grid; gap: var(--space-6); align-items: center;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  background: var(--tectum-white); border: var(--border-w) solid var(--tectum-border); border-radius: var(--radius-md);
  position: relative; overflow: hidden;
}
.partner-teaser__logo {
  display: grid; place-items: center; align-self: stretch; padding: var(--space-6);
  background: var(--tectum-surface); border-radius: var(--radius-sm); min-height: 140px;
}
.partner-teaser__logo img { width: min(220px, 100%); }
.partner-teaser__body { display: grid; gap: var(--space-4); justify-items: start; }
.partner-teaser__body h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.partner-teaser__body p { color: var(--tectum-muted); max-width: 36rem; }
.partner-teaser__checks { display: grid; gap: var(--space-2); margin-block: var(--space-2); }
.partner-teaser__checks li { display: flex; gap: var(--space-3); font-size: var(--fs-small); font-weight: 500; }
.partner-teaser__checks .icon { width: 18px; height: 18px; color: var(--tectum-gold); margin-top: 2px; }
@media (min-width: 900px) {
  .partner-teaser__card { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 3vw, 4.5rem); }
}

/* 6.6 Locations */
.locations__grid { display: grid; gap: var(--grid-gap); }
@media (min-width: 760px) { .locations__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 6.7 CTA band (dark) */
.cta-band { overflow: hidden; }
.cta-band__inner { position: relative; display: grid; gap: var(--space-6); align-items: end; }
.cta-band h2 { color: var(--tectum-white); font-size: var(--fs-h2); max-width: 18ch; }
.cta-band__copy > p:not(.eyebrow) { color: var(--tectum-on-dark-muted); font-size: var(--fs-lead); max-width: 34rem; }
.cta-band__copy { display: grid; gap: var(--space-4); }
.cta-band__mail { color: var(--tectum-white); font-weight: 600; text-decoration-color: var(--tectum-gold); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.cta-band__mail:hover { text-decoration-color: var(--tectum-white); }
.cta-band .motif { color: rgba(255,255,255,.07); width: 720px; aspect-ratio: 1; right: -220px; top: 50%; translate: 0 -50%; }
.cta-band .btn-row { position: relative; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; } }

/* 6.8 Site footer */
.site-footer { background: var(--tectum-surface); padding-block: clamp(3rem, 2rem + 4vw, 5rem) var(--space-6); font-size: var(--fs-small); }
.site-footer__grid { display: grid; gap: var(--space-6); }
.site-footer__brand { display: grid; gap: var(--space-4); align-content: start; max-width: 20rem; }
.site-footer__brand img { width: 180px; }
.site-footer__brand p { color: var(--tectum-muted); }
.site-footer h2 { font-size: 0.75rem; font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--tectum-gold-ink); margin-bottom: var(--space-4); }
.site-footer address b { display: block; color: var(--tectum-green); font-weight: 700; margin-bottom: 2px; }
.site-footer address + address { margin-top: var(--space-4); }
.site-footer address { color: var(--tectum-text); line-height: 1.55; }
.site-footer__links { display: grid; gap: var(--space-2); }
.site-footer__links a { color: var(--tectum-text); text-decoration: none; }
.site-footer__links a:hover { color: var(--tectum-green); text-decoration: underline; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; align-items: center;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: var(--space-5); border-top: var(--border-w) solid var(--tectum-border-strong);
  color: var(--tectum-muted); font-size: 0.8125rem;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.site-footer__legal a { color: var(--tectum-muted); }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .site-footer__grid { grid-template-columns: 1.4fr 1.3fr 1fr 1fr; } }

/* 6.9 Page header (inner pages) — compact so the main content is visible fast on mobile */
.page-head { position: relative; padding-block: clamp(1.75rem, 1rem + 3vw, 4rem) clamp(1.5rem, 1rem + 2vw, 3rem); border-bottom: var(--border-w) solid var(--tectum-border); overflow: hidden; }
.page-head__inner { display: grid; gap: var(--space-3); max-width: 46rem; }
.page-head h1 { font-size: clamp(2rem, 1.45rem + 2.4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.028em; }
.page-head__lead { color: var(--tectum-muted); font-size: var(--fs-lead); line-height: 1.5; max-width: 38rem; }
.page-head__meta { display: none; }
@media (min-width: 640px) { .page-head__meta { display: flex; } }
.page-head__meta { flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-2); font-size: var(--fs-small); font-weight: 600; color: var(--tectum-green); }
.page-head__meta li { display: inline-flex; align-items: center; gap: var(--space-2); }
.page-head__meta .icon { width: 18px; height: 18px; color: var(--tectum-gold); }
.page-head .motif { width: 560px; aspect-ratio: 1; right: -200px; top: 50%; translate: 0 -50%; display: none; }
@media (min-width: 900px) { .page-head .motif { display: block; } }

/* 6.10 Booking widget frame — no fixed height, no overflow:hidden (OneDoc sizes itself) */
.booking { padding-block: clamp(1rem, 0.5rem + 2vw, 3rem) clamp(3rem, 2rem + 4vw, 6rem); }
.booking-frame { max-width: 1024px; margin-inline: auto; background: var(--tectum-white); border: var(--border-w) solid var(--tectum-border); border-radius: var(--radius-md); }
.booking-frame__bar { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-4); border-bottom: var(--border-w) solid var(--tectum-border); }
.booking-frame__secure { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 0.75rem; font-weight: 600; color: var(--tectum-muted); }
.booking-frame__secure .icon { width: 16px; height: 16px; color: var(--tectum-gold); }
.booking-frame__body { padding: clamp(0rem, -0.5rem + 2vw, 1.5rem); }
.booking-frame__body iframe { display: block; border: 0; margin-inline: auto; }
.booking-fallback { max-width: 1024px; margin: var(--space-4) auto 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); justify-content: space-between; font-size: var(--fs-small); color: var(--tectum-muted); }
.booking-fallback a { font-weight: 600; display: inline-flex; align-items: center; gap: var(--space-2); }
.booking-fallback .icon { width: 16px; height: 16px; }

/* 6.11 Compact location card (row layout from 1080px) */
@media (min-width: 1080px) {
  .location-card--row { flex-direction: row; }
  .location-card--row .media { flex: 0 0 38%; aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: var(--border-w) solid var(--tectum-border); }
}
.location-card__transport { display: flex; gap: var(--space-3); font-size: var(--fs-small); color: var(--tectum-text); padding-top: var(--space-3); border-top: var(--border-w) solid var(--tectum-border); }
.location-card__transport .icon { width: 20px; height: 20px; color: var(--tectum-gold); }

/* 6.12 Checklist */
.checklist { display: grid; gap: 0; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: var(--space-3); padding-block: var(--space-4); border-bottom: var(--border-w) solid var(--tectum-border); }
.checklist li:first-child { padding-top: 0; }
.checklist li:last-child { border-bottom: 0; padding-bottom: 0; }
.checklist__mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tectum-green-100); color: var(--tectum-green); }
.checklist__mark .icon { width: 16px; height: 16px; stroke-width: 2; }
.checklist b { display: block; color: var(--tectum-green); font-weight: 700; line-height: 1.4; }
.checklist span { font-size: var(--fs-small); color: var(--tectum-muted); }
.prep__grid { display: grid; gap: var(--grid-gap); align-items: start; }
@media (min-width: 900px) { .prep__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.step-list--vertical { grid-template-columns: 1fr !important; gap: 0 !important; }
.step-list--vertical .step { grid-template-columns: 44px 1fr; column-gap: var(--space-4); row-gap: 0; padding: 0 0 var(--space-6); }
.step-list--vertical .step:last-child { padding-bottom: 0; }
.step-list--vertical .step::before { left: 21.5px; top: 44px; bottom: 0; right: auto; width: 1px; height: auto; }
.step-list--vertical .step__body { padding-top: 0.55rem; }

/* 6.13 FAQ layout */
.faq__grid { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--grid-gap); } .faq .section-head { margin-bottom: 0; align-self: start; align-content: start; position: sticky; top: calc(var(--header-h-compact) + 2rem); } }

/* 6.14 Contact */
.contact__grid { display: grid; gap: var(--grid-gap); align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.contact-options { display: grid; gap: var(--grid-gap); }
.contact-option { gap: var(--space-3); }
.contact-option__head { display: flex; gap: var(--space-4); align-items: center; }
.contact-option__mail { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); font-weight: 700; overflow-wrap: anywhere; text-decoration-color: var(--tectum-gold); text-decoration-thickness: 2px; }
.contact-option--primary { background: var(--tectum-green); border-color: var(--tectum-green); color: var(--tectum-on-dark); }
.contact-option--primary .card__title, .contact-option--primary .contact-option__mail { color: var(--tectum-white); }
.contact-option--primary .card__text { color: var(--tectum-on-dark-muted); }
.contact-option--primary .icon-tile { background: transparent; border-color: rgba(255,255,255,.25); }
.contact-option--primary :focus-visible { box-shadow: 0 0 0 2px var(--tectum-green), 0 0 0 4px var(--tectum-white); }

/* 6.15 Form */
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: var(--space-2); }
.field__label { font-size: var(--fs-small); font-weight: 600; color: var(--tectum-green); }
.field__label small { font-weight: 450; color: var(--tectum-muted); font-size: inherit; }
.field__input {
  width: 100%; min-height: 48px; padding: 0.75rem 0.875rem;
  font: inherit; font-size: 1rem; color: var(--tectum-text); background: var(--tectum-white);
  border: var(--border-w) solid var(--tectum-border-strong); border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease);
}
.field__input:hover { border-color: var(--tectum-muted); }
.field__input:focus-visible { border-color: var(--tectum-green); }
textarea.field__input { min-height: 140px; resize: vertical; line-height: 1.5; }
select.field__input { appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--tectum-green) 50%), linear-gradient(-45deg, transparent 50%, var(--tectum-green) 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field__input:user-invalid { border-color: #B3261E; }
.field__error { display: none; font-size: 0.8125rem; color: #B3261E; font-weight: 500; }
.field__input:user-invalid + .field__error { display: block; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); align-items: start; font-size: var(--fs-small); color: var(--tectum-muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--tectum-green); }
.form__foot { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; }
.form__note { font-size: 0.8125rem; color: var(--tectum-muted); }
.form__status { padding: var(--space-4); border-radius: var(--radius-sm); background: var(--tectum-green-100); color: var(--tectum-green); font-weight: 600; font-size: var(--fs-small); }

/* 7. UTILITIES */
.u-mt-0 { margin-top: 0 !important; }
.u-text-muted { color: var(--tectum-muted); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

/* 6.16 Partner hero (Biovis page) — added after utilities; block-scoped */
.partner-hero__logos { display: flex; align-items: center; gap: var(--space-5); padding: var(--space-4) var(--space-5); border: var(--border-w) solid var(--tectum-border); border-radius: var(--radius-md); background: var(--tectum-white); width: fit-content; max-width: 100%; }
.partner-hero__logos a { display: block; border-radius: var(--radius-sm); }
.partner-hero__logos .biovis { height: 40px; width: auto; }
.partner-hero__logos .compass { height: 52px; width: auto; }
.partner-hero__x { width: 1px; align-self: stretch; background: var(--tectum-border-strong); }
.audience__grid { display: grid; gap: var(--grid-gap); align-items: start; }
@media (min-width: 900px) { .audience__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .audience .section-head { margin-bottom: 0; } }
.practitioners__card { display: grid; gap: var(--space-5); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-md); background: var(--tectum-surface); }
@media (min-width: 900px) { .practitioners__card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: var(--space-7); } }
.practitioners__card h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.practitioners__card p { color: var(--tectum-muted); }
.practitioners__card .checklist li { padding-block: var(--space-3); }

/* 6.17 Round 3 blocks — cooperation-first content (EN launch) */
/* Hero with illustration */
.hero__visual--art { display: grid; place-items: center; min-height: 100%; }
.hero__visual--art img { width: auto; max-height: clamp(280px, 40vw, 560px); }
.hero__chip {
  display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2);
  padding: 0.5rem 0.875rem; border: var(--border-w) solid var(--tectum-border); border-radius: var(--radius-sm);
  font-size: var(--fs-small); font-weight: 600; color: var(--tectum-green); background: var(--tectum-white);
}
.hero__chip .icon { width: 18px; height: 18px; color: var(--tectum-gold); }
@media (max-width: 899px) { .hero__visual--art { order: -1; } .hero__visual--art img { max-height: 200px; } }

/* Partner cards (who we work with) */
.partner-cards { display: grid; gap: var(--grid-gap); }
@media (min-width: 640px) { .partner-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .partner-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.partner-cards .card { gap: var(--space-3); }
.partner-cards .icon-tile { margin-bottom: var(--space-2); }
.partner-cards .card__text { font-size: 0.9375rem; }
.partner-cards .btn--ghost { margin-top: auto; }

/* Compact step strip (booking page head) */
.step-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); margin-top: var(--space-3); counter-reset: s; }
.step-strip li { display: grid; grid-template-columns: 28px 1fr; gap: var(--space-2); align-items: start; font-size: 0.8125rem; line-height: 1.45; color: var(--tectum-muted); }
.step-strip b { display: block; color: var(--tectum-green); font-weight: 700; font-size: 0.875rem; }
.step-strip .n { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--tectum-green); border-radius: 50%; font-size: 0.6875rem; font-weight: 700; color: var(--tectum-green); font-variant-numeric: tabular-nums; }
@media (max-width: 639px) { .step-strip li span { display: none; } }
@media (min-width: 900px) { .step-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.page-head__grid { display: grid; gap: var(--space-6); align-items: center; }
.page-head__art { display: none; }
@media (min-width: 1080px) {
  .page-head__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .page-head__art { display: block; margin: 0; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3 / 2; }
  .page-head__art img { width: 100%; height: 100%; object-fit: cover; }
}
.page-head--has-art .motif { display: none !important; }

/* Split: copy + illustration */
.split { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
.split__art { margin: 0; }
.split__art img { width: 100%; height: auto; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } .split--art-left .split__art { order: -1; } }
.journey-art { margin: 0 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); max-width: 760px; }
.journey-art img { width: 100%; height: auto; }
.offer-list { display: grid; gap: var(--space-3); margin-block: var(--space-2) var(--space-4); }
.offer-list li { display: flex; gap: var(--space-3); font-weight: 500; }
.offer-list .icon { width: 20px; height: 20px; color: var(--tectum-gold); margin-top: 2px; }
.lead-copy { color: var(--tectum-muted); font-size: var(--fs-lead); line-height: 1.55; max-width: 40rem; }
.offer-title { margin-top: var(--space-6); }

/* Shared rhythm: one value for "actions under a block", one for compact heroes */
.section-actions { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.hero--partner { padding-bottom: clamp(2rem, 1.5rem + 3vw, 4rem); }
.hero--partner .hero__content { max-width: 48rem; }
.hero--partner .hero__title { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem); }
.page-head__inner--wide { max-width: none; }

/* Location + contact */
.visit__grid { display: grid; gap: var(--grid-gap); align-items: stretch; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.visit__grid .location-card--row .media { flex-basis: 44%; }

/* Footer tagline */
.site-footer__tagline { font-weight: 700; color: var(--tectum-green); letter-spacing: -0.005em; }
.step { align-content: start; }
.hero:has(.hero__visual--art) .motif { display: none; }
.nowrap { white-space: nowrap; }

/* 6.18 Hero with background image (home) — image: 2400×1200 desktop, 1080×1600 mobile; art sits in the right 40% */
.hero--image { position: relative; isolation: isolate; background: var(--tectum-green); color: var(--tectum-on-dark); display: flex; align-items: center; min-height: clamp(520px, 78svh, 760px); padding-block: clamp(3rem, 2rem + 5vw, 6.5rem); }
.hero--image > .container { width: 100%; }
.hero__bg { position: absolute; inset: 0; z-index: -1; margin: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero--image .hero__content { max-width: 38rem; }
.hero--image .hero__title { color: var(--tectum-white); }
.hero--image .hero__lead { color: var(--tectum-on-dark-muted); }
.hero--image .hero__chip { background: transparent; border-color: rgba(255,255,255,.22); color: var(--tectum-white); }
.hero--image .hero__chip .icon { color: var(--tectum-gold-on-dark); }
@media (max-width: 899px) { .hero--image .hero__bg img { object-position: right top; } }

/* =====================================================================
   8. MOTION & INTERACTION — premium layer
   8.1 Lenis  8.2 Buttons  8.3 Header + progress  8.4 Load animations (hero, page-head)
   8.5 Hero compass effects  8.6 Scroll reveal  8.7 Card / step hovers  8.8 Form states
   8.9 Page transitions  8.10 Reduced motion
   ===================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-in-out: cubic-bezier(.7, 0, .2, 1); }

/* 8.1 Lenis (smooth scroll) — from lenis/dist/lenis.css */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* 8.2 Buttons — fill sweeps in from the left, arrow loops out and back in */
.btn {
  --btn-fill: var(--tectum-green-900); --btn-fill-fg: var(--btn-fg); --btn-fill-bd: var(--btn-bd);
  position: relative; isolation: isolate; overflow: hidden;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .45s var(--ease-out), transform .3s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--btn-fill);
  transform: scaleX(0); transform-origin: right center; transition: transform .6s var(--ease-in-out);
}
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); border-color: var(--btn-fill-bd); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:active { transform: scale(.98); }
.btn:hover .icon--arrow { animation: arrow-loop .6s var(--ease-out); }
@keyframes arrow-loop {
  0% { transform: translateX(0); opacity: 1; }
  45% { transform: translateX(14px); opacity: 0; }
  46% { transform: translateX(-14px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
.btn--primary { --btn-fill: var(--tectum-green-900); }
.btn--primary:hover { box-shadow: 0 14px 28px -14px rgba(0,44,26,.6); transform: translateY(-2px); }
.btn--primary::after, .btn--inverse::after { /* thin gold line that draws under the label */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tectum-gold);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-in-out) .08s;
}
.btn--primary:hover::after, .btn--inverse:hover::after { transform: scaleX(1); }
.btn--secondary { --btn-fill: var(--tectum-green); --btn-fill-fg: var(--tectum-white); --btn-fill-bd: var(--tectum-green); }
.btn--inverse { --btn-fill: var(--tectum-gold-on-dark); --btn-fill-fg: var(--tectum-green); --btn-fill-bd: var(--tectum-gold-on-dark); }
.btn--inverse::after { background: var(--tectum-green); }
.btn--inverse:hover { box-shadow: 0 14px 30px -14px rgba(0,0,0,.45); transform: translateY(-2px); }
.btn--outline-inverse { --btn-fill: var(--tectum-white); --btn-fill-fg: var(--tectum-green); --btn-fill-bd: var(--tectum-white); }
.btn--ghost { overflow: visible; }
.btn--ghost::before { display: none; }
.btn--ghost span:first-child { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease-out), text-decoration-color .3s; }
.btn--ghost:hover span:first-child { background-size: 100% 1px; text-decoration-color: transparent; }
.btn--ghost:hover { transform: none; }
.btn__spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 8.3 Header shadow + scroll progress bar */
.site-header { transition: border-color var(--dur) var(--ease), box-shadow .4s var(--ease-out); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(0,44,26,.35); }
.site-nav__link { transition: color var(--dur) var(--ease); }
.site-nav__link:hover { color: var(--tectum-green); }
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--tectum-gold), var(--tectum-gold-on-dark));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* 8.4 Load animations — run without JS; the hero title is split into words by JS */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes word-rise { from { opacity: 0; transform: translate3d(0, 110%, 0) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { opacity: 0; transform: scale(1.14); } to { opacity: 1; transform: none; } }
.hero__content > *, .page-head__inner > *, .page-head__art { animation: rise 1s var(--ease-out) backwards; }
.hero__content > :nth-child(1), .page-head__inner > :nth-child(1) { animation-delay: .1s; }
.hero__content > :nth-child(2), .page-head__inner > :nth-child(2) { animation-delay: .2s; }
.hero__content > :nth-child(3), .page-head__inner > :nth-child(3) { animation-delay: .45s; }
.hero__content > :nth-child(4), .page-head__inner > :nth-child(4) { animation-delay: .6s; }
.hero__content > :nth-child(5), .page-head__inner > :nth-child(5) { animation-delay: .75s; }
.hero__content > :nth-child(6) { animation-delay: .9s; }
.page-head__art { animation-delay: .35s; }
.hero__title.is-split { animation: none; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__title .w > span { display: inline-block; animation: word-rise 1.1s var(--ease-out) backwards; animation-delay: calc(.15s + var(--w, 0) * 60ms); }
.hero--image .hero__bg img { transform-origin: 80% 50%; animation: hero-zoom 2.6s var(--ease-out) backwards; }
.page-head .motif svg { animation: motif-spin 120s linear infinite; }
@keyframes motif-spin { to { transform: rotate(360deg); } }

/* 8.5 Hero compass effects (layer built by JS, positioned over the compass in the artwork) */
.hero__bg, .hero__fx {
  transform: translate3d(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -9px), 0) scale(1.03);
  transition: transform 1.2s var(--ease-out);
}
.hero__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; }
.hero__fx.is-ready { animation: fade 1.6s var(--ease-out) 1.3s forwards; }
.hero__fx > * { position: absolute; left: var(--fx-x); top: var(--fx-y); translate: -50% -50%; border-radius: 50%; }
.hero__fx-glow {
  width: calc(var(--fx-r) * 4.4); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(226,196,122,.26) 0%, rgba(226,196,122,.09) 32%, transparent 64%);
  mix-blend-mode: screen; animation: glow 5s ease-in-out infinite alternate;
}
@keyframes glow { from { opacity: .55; scale: .94; } to { opacity: 1; scale: 1.05; } }
.hero__fx-sweep {
  width: calc(var(--fx-r) * 5.6); aspect-ratio: 1;
  background: conic-gradient(from 0deg, transparent 0deg 290deg, rgba(226,196,122,.05) 320deg, rgba(226,196,122,.2) 359deg, transparent 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent 37%, #000 40%, #000 94%, transparent 100%);
          mask: radial-gradient(closest-side, transparent 37%, #000 40%, #000 94%, transparent 100%);
  animation: sweep 9s linear infinite;
}
@keyframes sweep { to { rotate: 360deg; } }
.hero__fx-pulse {
  width: calc(var(--fx-r) * 2.08); aspect-ratio: 1; border: 1px solid rgba(226,196,122,.7);
  animation: pulse 4.4s cubic-bezier(.2, .6, .3, 1) infinite;
}
.hero__fx-pulse--2 { animation-delay: 2.2s; }
@keyframes pulse { 0% { scale: 1; opacity: .8; } 100% { scale: 2.7; opacity: 0; } }
.hero__fx-ring { overflow: visible; fill: none; stroke: rgba(226,196,122,.4); }
.hero__fx-ring--a { width: calc(var(--fx-r) * 2.9); stroke-width: .7; stroke-dasharray: 1 6; animation: sweep 90s linear infinite; }
.hero__fx-ring--b { width: calc(var(--fx-r) * 3.8); stroke-width: .5; stroke-dasharray: 26 6 2 6; stroke: rgba(226,196,122,.22); animation: sweep 150s linear infinite reverse; }
@media (max-width: 899px) { .hero__fx-sweep { display: none; } }

/* 8.6 Scroll reveal — [data-reveal] is set by JS, so nothing is hidden without it */
@keyframes reveal-line { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
.has-reveal [data-reveal]:not(.is-in) { opacity: 0; }
.has-reveal [data-reveal].is-in { animation: rise 1s var(--ease-out) var(--reveal-delay, 0ms) backwards; }
.has-reveal .divider[data-reveal].is-in { animation-name: reveal-line; animation-duration: 1.2s; }

/* 8.7 Cards, steps, links */
.partner-cards .card, .contact-options .card:not(.contact-option--primary) {
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out);
}
.partner-cards .card:hover, .contact-options .card:not(.contact-option--primary):hover {
  transform: translateY(-6px); border-color: var(--tectum-border-strong); box-shadow: 0 26px 50px -30px rgba(0,44,26,.38);
}
.partner-cards .card::before, .contact-options .card:not(.contact-option--primary)::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--tectum-gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-in-out);
}
.partner-cards .card:hover::before, .contact-options .card:not(.contact-option--primary):hover::before { transform: scaleX(1); }
.icon-tile { transition: background-color .45s var(--ease-out), border-color .45s var(--ease-out), color .45s var(--ease-out), transform .45s var(--ease-out); }
.card:hover > .icon-tile, .card:hover .contact-option__head .icon-tile { background: var(--tectum-green); border-color: var(--tectum-green); color: var(--tectum-gold-on-dark); transform: rotate(-6deg) scale(1.06); }
.contact-option--primary:hover .icon-tile { background: var(--tectum-gold-on-dark); border-color: var(--tectum-gold-on-dark); color: var(--tectum-green); }
.step__num { transition: background-color .4s var(--ease-out), color .4s var(--ease-out), transform .4s var(--ease-out); }
.step:hover .step__num { background: var(--tectum-green); color: var(--tectum-white); transform: scale(1.08); }
.step::before { transform-origin: left top; transition: transform 1.2s var(--ease-in-out) calc(var(--reveal-delay, 0ms) + .3s); }
.has-reveal .step[data-reveal]:not(.is-in)::before { transform: scaleY(0); }
@media (min-width: 900px) { .has-reveal .step[data-reveal]:not(.is-in)::before { transform: scaleX(0); } }
.contact-option__mail, .cta-band__mail { background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat; transition: background-size .5s var(--ease-out); }
.contact-option__mail:hover, .cta-band__mail:hover { background-size: 100% 2px; }
.site-footer { border-top: var(--border-w) solid var(--tectum-border); }
.site-footer__links a { background: linear-gradient(var(--tectum-gold), var(--tectum-gold)) left bottom / 0 1px no-repeat; transition: background-size .45s var(--ease-out), color .3s; }
.site-footer__links a:hover { text-decoration: none; background-size: 100% 1px; }
.split__art img, .journey-art img { transition: transform 1.2s var(--ease-out); }
.split__art:hover img, .journey-art:hover img { transform: scale(1.02); }

/* 8.8 Form states */
.field__input { transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.field__input:focus-visible { border-color: var(--tectum-green); box-shadow: 0 0 0 4px rgba(0,62,37,.1); border-radius: var(--radius-sm); }
.field.is-invalid .field__input { border-color: #B3261E; }
.field.is-invalid .field__error { display: block; }
.field--check { gap: var(--space-1); }
.field--check .field__error { padding-left: calc(22px + var(--space-3)); }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { animation: rise .6s var(--ease-out); }
.form__status.is-error { background: #FBEAEA; color: #8C1D18; }
.is-sending [data-form-submit] { cursor: progress; }
.is-sending [data-form-submit] .btn__spinner { display: inline-block; }
.is-sending [data-form-submit] .icon--arrow { display: none; }

/* 8.9 Page transitions (Chrome/Edge/Safari 18+; others just navigate) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: fade .25s var(--ease-out) reverse both; }
::view-transition-new(root) { animation: fade .45s var(--ease-out) both; }

/* 8.10 Reduced motion — no loops, no parallax, no reveal */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-iteration-count: 1 !important; }
  .hero__fx { display: none; }
  .hero__bg, .btn:hover, .card:hover, .icon-tile { transform: none !important; }
}

/* 8.11 Eco compass (Biovis page) — inline SVG drawn by assets/js/eco-compass.js.
   Stroke styles are the artwork's own (eco_compass.svg), scoped here instead of a global <style> in the SVG. */
.eco-compass { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 400; overflow: visible; shape-rendering: geometricPrecision; }
.eco-compass .eco-g { stroke: #0b6b58; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.eco-compass .eco-gold { stroke: #d4a12a; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.eco-compass .eco-g-soft { stroke-width: 5; opacity: .45; }
.eco-compass .eco-hs { stroke-width: 7.2; } /* handshake is drawn at 1.25x, so 7.2 renders as 9 like the lines */
/* hidden only until JS has set the dash offsets (html.js is set inline in <head>); shows anyway after 3 s if the script never runs */
.js .eco-compass:not(.is-ready) { opacity: 0; animation: fade .3s 3s forwards; }

/* =====================================================================
   9. PRIVACY — cookie banner, legal pages
   ===================================================================== */

/* 9.1 Cookie banner (built by assets/js/consent.js) */
.consent {
  position: fixed; z-index: 70; left: var(--space-4); right: var(--space-4); bottom: var(--space-4);
  max-width: 460px; max-height: calc(100svh - 2rem); overflow-y: auto; overscroll-behavior: contain;
  background: var(--tectum-white); color: var(--tectum-text);
  border: var(--border-w) solid var(--tectum-border); border-top: 3px solid var(--tectum-gold); border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -24px rgba(0,44,26,.45);
  opacity: 0; transform: translateY(24px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
}
.consent.is-visible { opacity: 1; transform: none; }
.consent [hidden] { display: none !important; }
.consent__inner { display: grid; gap: var(--space-3); padding: var(--space-5); }
.consent__title { font-size: 1.25rem; }
.consent__text { font-size: var(--fs-small); color: var(--tectum-muted); line-height: 1.6; }
.consent__text a { font-weight: 600; }
.consent__cats { display: grid; margin-block: var(--space-1); border-top: var(--border-w) solid var(--tectum-border); }
.consent__cat { display: grid; gap: var(--space-1); padding-block: var(--space-3); border-bottom: var(--border-w) solid var(--tectum-border); }
.consent__cat-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.consent__cat-name { font-weight: 700; color: var(--tectum-green); font-size: 0.9375rem; }
.consent__cat-desc { font-size: 0.8125rem; color: var(--tectum-muted); line-height: 1.5; }
.consent__always { font-size: 0.75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tectum-gold-ink); }
.consent__switch { position: relative; display: inline-block; flex: none; width: 44px; height: 26px; cursor: pointer; }
.consent__switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.consent__switch span { position: absolute; inset: 0; border-radius: 13px; background: var(--tectum-border-strong); transition: background-color .25s var(--ease-out); pointer-events: none; }
.consent__switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--tectum-white); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--ease-out); }
.consent__switch input:checked + span { background: var(--tectum-green); }
.consent__switch input:checked + span::after { transform: translateX(18px); }
.consent__switch input:focus-visible + span { box-shadow: var(--focus-ring); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-top: var(--space-2); }
.consent__actions .btn { width: 100%; }
.consent__actions [data-consent-action="accept"] { grid-column: 1 / -1; }
@media (min-width: 640px) { .consent { right: auto; left: var(--space-5); bottom: var(--space-5); } }

/* footer "Cookie settings" — looks like the other legal links */
.site-footer__cookies { padding: 0; border: 0; background: none; font: inherit; color: var(--tectum-muted); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; cursor: pointer; }
.site-footer__cookies:hover { color: var(--tectum-green); text-decoration-thickness: 2px; }

/* 9.2 Legal pages (privacy policy, imprint) */
.legal { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.legal__grid { display: grid; gap: var(--space-6); align-items: start; }
.legal__toc { display: none; }
@media (min-width: 1080px) {
  .legal__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(2rem, 1rem + 3vw, 5rem); }
  .legal__toc { display: block; position: sticky; top: calc(var(--header-h-compact) + 2rem); }
}
.legal__toc p { margin-bottom: var(--space-3); }
.legal__toc ol { display: grid; gap: var(--space-2); border-left: var(--border-w) solid var(--tectum-border); }
.legal__toc a { display: block; padding-left: var(--space-4); margin-left: -1px; border-left: 2px solid transparent; font-size: var(--fs-small); color: var(--tectum-muted); text-decoration: none; line-height: 1.4; transition: color .25s, border-color .25s; }
.legal__toc a:hover { color: var(--tectum-green); border-left-color: var(--tectum-gold); }
.prose { max-width: 46rem; color: var(--tectum-text); }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); margin-top: var(--space-8); padding-top: var(--space-2); scroll-margin-top: calc(var(--header-h-compact) + 1.5rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.0625rem; margin-top: var(--space-6); }
.prose p, .prose li { line-height: 1.7; }
.prose ul { display: grid; gap: var(--space-2); padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ""; position: absolute; left: 0.25rem; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--tectum-gold); }
.prose a { font-weight: 600; overflow-wrap: anywhere; }
.prose address { line-height: 1.7; padding: var(--space-4) var(--space-5); background: var(--tectum-surface); border-radius: var(--radius-sm); }
.prose .table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.prose th, .prose td { padding: var(--space-3); text-align: left; vertical-align: top; border-bottom: var(--border-w) solid var(--tectum-border); }
.prose th { color: var(--tectum-green); font-weight: 700; background: var(--tectum-surface); }
.prose .note { padding: var(--space-4) var(--space-5); border-left: 3px solid var(--tectum-gold); background: var(--tectum-surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose .todo { background: #FFF1C9; outline: 1px dashed var(--tectum-gold); border-radius: 2px; padding: 0 .2em; } /* placeholder still to fill in */
.legal__updated { font-size: var(--fs-small); color: var(--tectum-muted); }
