/* ============================================================
   London Tower — site styles
   Component + layout classes, translated from the design-system
   primitives (Button, Card, Stat, Eyebrow, Tag, Divider, Input)
   and website screens. Consumes the tokens via ../styles.css.
   ============================================================ */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--stone-950);
  font-family: var(--font-sans);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--accent-water); }
a:hover { color: var(--accent-water-strong); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* Lucide icon spans render an <svg>; keep them inline + on the em box */
.ico { display: inline-flex; align-items: center; justify-content: center; color: currentColor; }
.ico svg { display: block; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--container-max); margin: 0 auto; }
.wrap-wide { max-width: var(--container-wide); margin: 0 auto; }
.section { padding: var(--section-y) var(--gutter); }
.section > .wrap { max-width: var(--container-max); margin: 0 auto; }
.section--paper { background: var(--limestone-50); }
.section--inset { background: var(--limestone-100); }
.section--ink { background: var(--stone-950); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---------- Typography helpers ---------- */
.display-xl { font-family: var(--font-display); font-weight: 300; font-size: var(--text-display-xl); line-height: 0.95; letter-spacing: -0.02em; margin: 0; }
.display-lg { font-family: var(--font-display); font-weight: 300; font-size: var(--text-display-lg); line-height: 0.98; letter-spacing: -0.02em; margin: 0; }
.display-md { font-family: var(--font-display); font-weight: 400; font-size: var(--text-display-md); line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
.lead { font-size: 18px; line-height: 1.7; color: var(--text-secondary); }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 300; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: var(--tracking-eyebrow);
  color: var(--accent-strong);
}
.eyebrow--water { color: var(--accent-water); }
.eyebrow--muted { color: var(--text-muted); }
.eyebrow--inverse { color: var(--limestone-50); }
.eyebrow--on-ink { color: var(--sage-400); }
.eyebrow--rule::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; line-height: 1; text-decoration: none;
  border-radius: var(--radius-sm); cursor: pointer; border: 1px solid transparent;
  font-size: 13px; min-height: 46px; padding: 12px 24px; /* default (md); overridden by --sm/--lg */
  transition: background var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.btn:active { transform: translateY(1px); }
.btn--sm { font-size: 12px; padding: 8px 16px; gap: 8px; min-height: 36px; }
.btn--md { font-size: 13px; padding: 12px 24px; gap: 10px; min-height: 46px; }
.btn--lg { font-size: 14px; padding: 16px 34px; gap: 12px; min-height: 56px; }
.btn--full { display: flex; width: 100%; }

.btn--primary { background: var(--stone-900); color: var(--limestone-50); border-color: var(--stone-900); }
.btn--primary:hover { background: var(--stone-700); border-color: var(--stone-700); color: var(--limestone-50); }
.btn--accent { background: var(--accent); color: var(--text-on-accent); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--text-on-accent); }
.btn--water { background: var(--accent-water); color: var(--limestone-50); border-color: var(--accent-water); }
.btn--water:hover { background: var(--accent-water-strong); border-color: var(--accent-water-strong); color: var(--limestone-50); }
.btn--outline { background: transparent; color: var(--text-primary); border-color: var(--border-ink); }
.btn--outline:hover { background: var(--stone-900); color: var(--limestone-50); }
.btn--ghost { background: transparent; color: var(--text-primary); border-color: transparent; }
.btn--ghost:hover { background: var(--bg-inset); }
/* light-on-dark override for buttons placed over ink grounds */
.btn--on-ink { color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--on-ink:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn--pill { border-radius: var(--radius-pill); }

/* ---------- IconButton ---------- */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  cursor: pointer; border: 1px solid var(--border-ink); background: transparent;
  color: var(--text-primary);
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}
.icon-btn--ghost { border-color: transparent; }
.icon-btn--on-ink { color: #fff; border-color: rgba(255,255,255,0.3); }
.icon-btn--on-ink:hover { background: rgba(255,255,255,0.08); }

/* ---------- Tag ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; line-height: 1;
  padding: 6px 10px; border-radius: var(--radius-xs);
  border: 1px solid transparent;
}
.tag--neutral-soft  { background: var(--bg-inset); color: var(--text-secondary); }
.tag--neutral-solid { background: var(--stone-900); color: var(--limestone-50); }
.tag--sage-soft     { background: var(--sage-200); color: var(--sage-700); }
.tag--sage-solid    { background: var(--accent); color: var(--limestone-50); }
.tag--water-soft    { background: var(--harbor-100); color: var(--harbor-700); }
.tag--water-solid   { background: var(--accent-water); color: var(--limestone-50); }

/* ---------- Divider ---------- */
.divider { border: none; height: 1px; width: 100%; background: var(--border-subtle); margin: 24px 0; }
.divider--sage { height: 2px; width: 48px; background: var(--accent); }

/* ---------- Stat ---------- */
.stat { display: flex; flex-direction: column; align-items: flex-start; font-family: var(--font-sans); }
.stat__fig { display: flex; align-items: baseline; gap: 4px; color: var(--text-primary); }
.stat__num { font-family: var(--font-mono); font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.stat__unit { font-family: var(--font-mono); font-size: 1.125rem; color: var(--text-muted); }
.stat__label { margin-top: 10px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--text-secondary); }
.stat--water .stat__fig { color: var(--accent-water); }
.stat--sage .stat__fig  { color: var(--accent-strong); }

/* ---------- Card ---------- */
.card {
  display: flex; flex-direction: column; background: var(--surface-card);
  color: var(--text-primary); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-xs);
  font-family: var(--font-sans);
  transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}
.card--interactive:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card__media { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-inset); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__media .placeholder { position: absolute; inset: 0; }
.media-tag { position: absolute; top: 14px; left: 14px; z-index: 1; }
.card__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.card__text { font-size: 15px; line-height: 1.6; color: var(--text-secondary); }

/* ---------- Input / form ---------- */
.field { display: flex; flex-direction: column; gap: 7px; width: 100%; }
.field__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--text-secondary); }
.field__control {
  width: 100%; box-sizing: border-box; font-family: var(--font-sans); font-size: 15px;
  color: var(--text-primary); background: var(--surface-card);
  border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  padding: 12px 14px; outline: none;
  transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.field__control:focus {
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus-ring) 18%, transparent);
}
textarea.field__control { resize: vertical; }

/* ---------- Façade motif (waterdruppel) ---------- */
.facade {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: repeat(28, 1fr); grid-template-rows: repeat(16, 1fr);
  gap: 6px; padding: 20px; pointer-events: none;
}
.facade > i { border-radius: 1px; }

/* ---------- Navigation ---------- */
.lt-nav {
  position: sticky; top: 0; z-index: 50; background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base);
}
.lt-nav.is-scrolled {
  background: rgba(11,14,17,0.86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lt-nav__bar {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 18px var(--gutter); display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.lt-nav__logo { display: flex; align-items: center; }
.lt-nav__logo img { height: 56px; width: auto; }
.lt-nav__links { display: flex; gap: 28px; align-items: center; }
.lt-nav__link {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: rgba(255,255,255,0.82); text-decoration: none; white-space: nowrap;
  transition: color var(--dur-fast);
}
.lt-nav__link:hover, .lt-nav__link.is-active { color: var(--sage-400); }
.lt-nav__actions { display: flex; align-items: center; gap: 12px; }
.lt-nav__cta {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--tracking-wider); color: var(--limestone-50); background: var(--sage-500);
  padding: 12px 22px; border-radius: var(--radius-sm); text-decoration: none; white-space: nowrap;
  transition: background var(--dur-base);
}
.lt-nav__cta:hover { background: var(--sage-600); color: var(--limestone-50); }

/* Language switch */
.lang {
  display: inline-flex; align-items: center; padding: 3px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
}
.lang button {
  cursor: pointer; border: 0; border-radius: var(--radius-pill); padding: 5px 12px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: var(--tracking-wider); text-transform: uppercase;
  background: transparent; color: rgba(255,255,255,0.72);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.lang button.is-on { background: var(--sage-500); color: var(--limestone-50); }

/* Mobile nav */
.lt-nav__mobile-toggle { display: none; }
.lt-nav__mobile-menu { display: none; padding: 8px var(--gutter) 24px; background: rgba(11,14,17,0.96); }
.lt-nav__mobile-menu > a {
  display: block; padding: 14px 0; font-family: var(--font-sans); font-size: 15px;
  color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lt-nav__mobile-menu > a.is-active { color: var(--sage-400); }
.lt-nav__mobile-menu.is-open { display: block; }
.lt-nav__mobile-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; flex-wrap: wrap; }

/* ---------- Hero (pinned) ---------- */
.hero-pin { position: sticky; top: 0; height: 100dvh; z-index: 0; margin-top: -92px; }
.hero {
  position: relative; height: 100dvh; min-height: 600px; overflow: hidden; background: var(--stone-950);
}
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__scrim-a { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,14,17,0.42) 0%, rgba(11,14,17,0.12) 26%, rgba(11,14,17,0.58) 60%, rgba(11,14,17,0.97) 100%); }
.hero__scrim-b { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(180deg, transparent 0%, rgba(11,14,17,0.55) 55%, rgba(11,14,17,0.9) 100%); }
.hero__inner {
  position: relative; height: 100%; max-width: var(--container-max); margin: 0 auto;
  padding: 92px var(--gutter) 0; display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__content { padding-bottom: clamp(4.5rem, 7vw, 6rem); }
.hero__title { color: var(--limestone-50); margin: 20px 0 0; max-width: 16ch; text-shadow: 0 2px 28px rgba(11,14,17,0.7); }
.hero__sub {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--limestone-100); margin: 10px 0 0;
  max-width: 24ch; text-shadow: 0 2px 20px rgba(11,14,17,0.8);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__scroll { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero__scroll span { font-family: var(--font-sans); font-size: 10px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; }
.hero__credit { position: absolute; bottom: 16px; right: var(--gutter); font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.03em; color: rgba(255,255,255,0.62); text-shadow: 0 1px 6px rgba(11,14,17,0.85); pointer-events: none; }
.hero .eyebrow { color: var(--harbor-100); text-shadow: 0 1px 12px rgba(11,14,17,0.9); }

/* page body sliding over the pinned hero */
.page-body { position: relative; z-index: 2; background: var(--limestone-50); box-shadow: 0 -32px 64px rgba(11,14,17,0.28); }

/* ---------- Spec ticker ---------- */
.spec-ticker { background: var(--stone-950); border-bottom: 1px solid rgba(255,255,255,0.08); }
.spec-ticker__inner {
  max-width: var(--container-max); margin: 0 auto; padding: 22px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center;
  font-family: var(--font-sans); color: var(--stone-300); font-size: 13px;
  text-transform: uppercase; letter-spacing: var(--tracking-wider);
}
.spec-ticker__inner b { color: var(--sage-400); font-family: var(--font-mono); font-weight: 500; }
.spec-ticker__credit { margin-left: auto; color: var(--stone-400); }

/* ---------- Section head (used across pages) ---------- */
.section-head { margin: 0 0 46px; }
.section-head h2 { margin: 18px 0 0; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split p { font-size: 16px; line-height: 1.65; color: var(--text-secondary); max-width: 34ch; margin: 0; }

/* ---------- Locatie ---------- */
.locatie__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.locatie__stats { display: flex; gap: clamp(1.5rem, 5vw, 3.5rem); flex-wrap: wrap; }
.locatie__media { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.locatie__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; display: block; }
.photo-credit { position: absolute; bottom: 12px; right: 14px; font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.03em; color: rgba(255,255,255,0.72); text-shadow: 0 1px 6px rgba(11,14,17,0.85); pointer-events: none; }

/* ---------- Specificaties (dark) ---------- */
.spec__quote { margin: 24px 0 0; font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.3; color: var(--limestone-50); }
.spec__attr { margin-top: 20px; font-family: var(--font-sans); font-size: 13px; text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--stone-400); }
.spec__stats { display: flex; gap: 48px; margin-top: 44px; }
.spec__list { margin: 0; }
.spec__row { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; align-items: baseline; }
.spec__row dt { font-family: var(--font-sans); font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--stone-400); margin: 0; }
.spec__row dd { margin: 0; font-family: var(--font-display); font-size: 20px; color: var(--limestone-50); text-align: right; }
.spec__hr { height: 1px; background: rgba(255,255,255,0.1); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); }
.contact__details { margin-top: 30px; display: flex; flex-direction: column; font-family: var(--font-sans); }
.contact__row { display: flex; gap: 14px; align-items: flex-start; padding: 15px 2px; border-top: 1px solid var(--border-subtle); text-decoration: none; transition: background var(--dur-fast); }
.contact__row:last-child { border-bottom: 1px solid var(--border-subtle); }
.contact__row .ico { color: var(--accent-water); flex: none; margin-top: 2px; }
.contact__row-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact__row-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--text-muted); }
.contact__row-value { font-size: 15px; color: var(--text-primary); line-height: 1.5; }
.contact__row-value a { color: inherit; text-decoration: none; }
a.contact__row:hover .contact__row-value { color: var(--accent-water); }
.contact__badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--radius-xs); background: var(--sage-200); color: var(--sage-700); font-size: 12px; font-weight: 700; }
.contact__card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: clamp(1.75rem, 4vw, 2.5rem); }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact__form .col-span { grid-column: 1 / -1; }
.contact__done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 0; }
.contact__done-check { display: inline-flex; width: 52px; height: 52px; border-radius: var(--radius-pill); background: var(--harbor-100); color: var(--harbor-700); align-items: center; justify-content: center; }
.contact__done h3 { font-family: var(--font-display); font-size: 1.7rem; margin: 0; color: var(--text-primary); }
.contact__done p { margin: 0; color: var(--text-secondary); font-size: 15px; }
.is-hidden { display: none !important; }

/* ---------- Footer ---------- */
.lt-foot { background: var(--stone-950); padding: 64px var(--gutter) 40px; }
.lt-foot__inner { max-width: var(--container-max); margin: 0 auto; }
.lt-foot__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.lt-foot__brand { max-width: 360px; }
.lt-foot__brand img { height: 46px; width: auto; }
.lt-foot__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.lt-foot__col h4 { font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--sage-400); margin: 0 0 16px; font-weight: 600; }
.lt-foot__col nav { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.lt-foot-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; font-family: var(--font-sans); font-size: 14px; color: var(--stone-200); text-decoration: none; transition: color var(--dur-fast); }
.lt-foot-link:hover { color: var(--sage-400); text-decoration: underline; text-underline-offset: 3px; }
.lt-foot__note { padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-sans); font-size: 12px; color: var(--stone-500); }

/* ---------- Dark page header (sub-pages) ---------- */
.page-header { position: relative; background: var(--stone-950); overflow: hidden; margin-top: -92px; padding-top: 92px; }
.page-header__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,14,17,0.7), rgba(11,14,17,0.92)); }
.page-header__inner { position: relative; max-width: var(--container-max); margin: 0 auto; padding: clamp(4rem,9vw,7rem) var(--gutter) clamp(2.5rem,5vw,4rem); }
.page-header__inner h1 { color: var(--limestone-50); margin: 18px 0 0; }
.page-header__sub { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.25rem,2.4vw,1.75rem); color: var(--stone-300); margin: 8px 0 0; max-width: 40ch; }

/* ---------- Media page (videos + gallery) ---------- */
.media-section { background: var(--limestone-50); padding: clamp(2.5rem,5vw,4rem) var(--gutter) clamp(4rem,8vw,7rem); }
.media-section .wrap { max-width: var(--container-max); margin: 0 auto; }
.media-divider { background: var(--limestone-50); }
.media-divider .wrap { padding: 0 var(--gutter); }
.media-divider hr { border: none; height: 1px; background: var(--border-subtle); margin: 0; }
.video-featured-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.video-featured-meta span.small { font-family: var(--font-sans); font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--text-muted); }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.video-inner-divider { height: 1px; background: var(--border-subtle); margin: clamp(3rem,6vw,4.5rem) 0 clamp(2rem,4vw,3rem); }
.video-more-h { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem,3vw,2.5rem); color: var(--text-primary); margin: 0 0 26px; letter-spacing: -0.01em; }
.video-meta { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.video-meta span.label { font-family: var(--font-sans); font-size: 14px; color: var(--text-secondary); }

/* Video embed (lite YouTube) */
.video {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--stone-900);
  border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-md);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,14,17,0.15), rgba(11,14,17,0.55)); }
.video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px; border-radius: var(--radius-pill); background: rgba(184,151,90,0.95);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  transition: transform var(--dur-base) var(--ease-standard); color: var(--stone-900);
}
.video__btn:hover .video__play { transform: translate(-50%,-50%) scale(1.06); }
.video__label { position: absolute; left: 18px; bottom: 16px; right: 18px; font-family: var(--font-display); font-size: 1.15rem; color: var(--limestone-50); text-align: left; }
.video--tall .video__play { width: 84px; height: 84px; }
.video--tall .video__label { font-size: clamp(1.4rem,3vw,2rem); }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.filter-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--tracking-wider); cursor: pointer; padding: 10px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-default); background: transparent; color: var(--text-secondary);
  transition: all var(--dur-base) var(--ease-standard);
}
.filter-btn.is-on { border-color: var(--stone-900); background: var(--stone-900); color: var(--limestone-50); }
.filter-count { font-family: var(--font-sans); font-size: 13px; color: var(--text-muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery-fig {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle); box-shadow: var(--shadow-xs);
}
.gallery-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-fig .placeholder { width: 100%; height: 100%; }
/* Count row above the dynamic gallery (no category filter — purely chronological) */
.gallery-bar { display: flex; justify-content: flex-end; margin-bottom: 16px; }
/* Each photo is a link to its enlarged view (opened in the lightbox by site.js) */
.gallery-fig__open { display: block; width: 100%; height: 100%; cursor: zoom-in; }

/* Deter casual saving of the photos (grid thumbnails + lightbox). NOT real protection —
   anything shown in a browser can still be captured via devtools/network/screenshot — but
   it blocks right-click "Save image", drag-to-desktop, and the mobile long-press menu. */
.gallery-fig img, .lightbox__img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; pointer-events: none; }
.gallery-fig__open, .gallery-fig img, .lightbox__img { -webkit-touch-callout: none; }
/* Hover affordance that the photo enlarges (replaces the removed date caption) */
.gallery-fig__zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center;
  justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(11,14,17,0.55);
  color: var(--limestone-50); opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease; }
.gallery-fig:hover .gallery-fig__zoom, .gallery-fig__open:focus-visible .gallery-fig__zoom { opacity: 1; transform: none; }
@media (hover: none) { .gallery-fig__zoom { opacity: 1; transform: none; } }

/* Photo lightbox */
body.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem); }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(9,11,13,0.92); opacity: 0; transition: opacity .2s ease; }
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox__stage { position: relative; margin: 0; max-width: min(1200px, 94vw); display: flex; flex-direction: column;
  align-items: center; gap: 12px; opacity: 0; transform: scale(0.98); transition: opacity .2s ease, transform .2s ease; }
.lightbox.is-open .lightbox__stage { opacity: 1; transform: none; }
.lightbox__img { max-width: 100%; max-height: 82vh; width: auto; height: auto; border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5); background: var(--stone-900); }
.lightbox__meta { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.lightbox__caption { font-family: var(--font-sans); font-size: 14px; color: var(--limestone-50); display: inline-flex; align-items: center; gap: 7px; }
.lightbox__credit { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.03em; color: rgba(255,255,255,0.6); }
.lightbox__credit[hidden] { display: none; }
.lightbox__btn { position: absolute; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; color: var(--limestone-50); background: rgba(255,255,255,0.08); border-radius: 50%;
  width: 46px; height: 46px; transition: background .15s ease; }
.lightbox__btn:hover { background: rgba(255,255,255,0.18); }
.lightbox__close { top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: clamp(0.5rem,2vw,1.5rem); }
.lightbox__nav--next { right: clamp(0.5rem,2vw,1.5rem); }
@media (max-width: 620px) {
  .lightbox__nav { top: auto; bottom: clamp(1rem,4vw,2rem); transform: none; }
  .lightbox__nav--prev { left: clamp(1rem,6vw,3rem); }
  .lightbox__nav--next { right: clamp(1rem,6vw,3rem); }
}
.span-wide { grid-column: span 2; }
.span-tall { grid-row: span 2; }
.span-big { grid-column: span 2; grid-row: span 2; }
.note-row { margin-top: 28px; font-family: var(--font-sans); font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.note-row .ico { color: var(--accent-water); }

/* Branded placeholder panel (stands in for photography) */
.placeholder {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: rgba(255,255,255,0.55); overflow: hidden;
  background: linear-gradient(140deg, var(--stone-600), var(--stone-900));
}
.placeholder--water { background: linear-gradient(140deg, var(--harbor-700), var(--harbor-900)); }
.placeholder__label { position: relative; font-size: 11px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; font-family: var(--font-sans); }
.placeholder .ico { position: relative; }

/* ---------- Te koop ---------- */
.unit-card { display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); overflow: hidden; transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
.unit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.unit-card__media { position: relative; aspect-ratio: 4 / 3; }
.unit-card__media .placeholder { position: absolute; inset: 0; }
.unit-card__tag { position: absolute; top: 14px; left: 14px; }
.unit-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.unit-card__body h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--text-primary); margin: 0; }
.unit-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; font-family: var(--font-sans); font-size: 13px; color: var(--text-secondary); }
.unit-meta span { display: inline-flex; align-items: center; gap: 7px; }
.unit-meta .ico { color: var(--accent-water); }
.unit-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; }
.unit-price { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 500; color: var(--text-primary); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--accent-strong); text-decoration: none; }
.cta-band { margin-top: clamp(2.5rem,5vw,4rem); background: var(--stone-900); border-radius: var(--radius-md); padding: clamp(1.75rem,4vw,2.75rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band__eyebrow { font-family: var(--font-sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--sage-400); }
.cta-band p { margin: 10px 0 0; font-family: var(--font-display); font-size: clamp(1.3rem,2.4vw,1.75rem); color: var(--limestone-50); max-width: 42ch; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Bewoners ---------- */
.bew-section { padding: clamp(3.5rem,7vw,6rem) var(--gutter); }
.bew-subnav { position: sticky; top: 90px; z-index: 20; background: rgba(251,250,247,0.92); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--border-subtle); }
.bew-subnav__inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 4px; overflow-x: auto; }
.bew-subnav button { cursor: pointer; border: 0; background: transparent; padding: 15px 14px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--text-muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: color var(--dur-fast); }
.bew-subnav button.is-on { color: var(--accent-strong); border-bottom-color: var(--sage-500); }
.bew-grid-2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.bew-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bew-card { position: relative; display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); padding: 32px 30px 30px; overflow: hidden; transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
.bew-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.bew-card__bar { position: absolute; top: 0; left: 0; width: 100%; height: 3px; }
.bew-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.bew-card__icon { display: inline-flex; width: 48px; height: 48px; border-radius: var(--radius-sm); align-items: center; justify-content: center; flex: none; }
.bew-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--text-primary); margin: 10px 0 0; }
.bew-card p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.card-list { margin: 12px 0 0; padding-left: 1.15em; display: flex; flex-direction: column; gap: 7px; }
.card-list li { font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.card-list li strong { color: var(--text-primary); font-weight: 600; }
.card-list li::marker { color: var(--accent); }
.card-note { margin: 14px 0 0; padding: 11px 13px; background: var(--bg-inset); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); font-size: 13px; line-height: 1.55; color: var(--text-secondary); }
.card-note strong { color: var(--text-primary); }
.bew-card--water .card-note { border-left-color: var(--harbor-500); }
.bew-card--water .card-list li::marker { color: var(--harbor-500); }
.bew-card__links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 14px; }
/* Primary action button inside a residents card (e.g. request a Bringme account).
   The card is a flex column, so a flex-item button would stretch full-width — keep it
   content-width. */
.bew-card__cta { align-self: flex-start; margin: 12px 0 2px; }
/* Click-to-play video inside a residents card (e.g. the Bringme explainer) */
.bew-card__video { margin-top: 18px; box-shadow: none; }
/* Callouts that live inside a card (e.g. the house rules) */
.bew-card__callouts { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.bew-card__callouts .callout { padding: 16px 18px; }
.bew-card__link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wider); text-decoration: none; }
.bew-card--sage .bew-card__bar { background: var(--sage-500); }
.bew-card--sage .bew-card__icon { background: var(--sage-200); color: var(--sage-700); }
.bew-card--sage .bew-card__link { color: var(--accent-strong); }
.bew-card--water .bew-card__bar { background: var(--harbor-500); }
.bew-card--water .bew-card__icon { background: var(--harbor-100); color: var(--harbor-700); }
.bew-card--water .bew-card__link { color: var(--accent-water-strong); }

.bew-contact-card { position: relative; display: flex; flex-direction: column; gap: 22px; border-radius: var(--radius-md); padding: clamp(1.9rem,3vw,2.75rem); overflow: hidden; }
.bew-contact-card--ink { background: var(--stone-900); color: var(--limestone-50); border: 1px solid rgba(255,255,255,0.10); box-shadow: var(--shadow-lg); }
.bew-contact-card--light { background: var(--surface-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); gap: 20px; }
.bew-contact-card__badge { display: inline-flex; width: 58px; height: 58px; border-radius: var(--radius-sm); align-items: center; justify-content: center; flex: none; }
.bew-contact-card h3 { font-family: var(--font-display); font-size: clamp(1.7rem,2.6vw,2.1rem); font-weight: 500; margin: 0; }
.bew-contact-card__rows { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; }
.bew-contact-card__row { display: flex; align-items: center; gap: 12px; font-family: var(--font-sans); font-size: 14px; text-decoration: none; }
.bew-eyebrow-inline { font-family: var(--font-sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); }
.bew-praktisch { position: relative; background: var(--limestone-100); overflow: hidden; }
.bew-praktisch__dots { position: absolute; top: 0; right: 0; width: 38%; height: 100%; opacity: 0.5; background-image: radial-gradient(circle, rgba(40,144,192,0.14) 1.5px, transparent 2px); background-size: 30px 28px; -webkit-mask-image: linear-gradient(250deg, #000 0%, transparent 72%); mask-image: linear-gradient(250deg, #000 0%, transparent 72%); }
.bew-community { background: var(--stone-950); }
.bew-community__inner { max-width: var(--container-max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.bew-community__inner p { margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(1.5rem,2.8vw,2.1rem); line-height: 1.2; color: var(--limestone-50); max-width: 44ch; }
.bew-nums-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.bew-num-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); overflow: hidden; }
.bew-num-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 22px 8px; }
.bew-num-card__head .g-label { font-family: var(--font-sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--accent-strong); }
.bew-num-card__head .g-note { font-family: var(--font-sans); font-size: 12px; color: var(--text-muted); }
.bew-num-card.is-nood .g-label, .bew-num-card.is-nood .num { color: #944B30; }
.tel-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 22px; border-top: 1px solid var(--border-subtle); }
.tel-row .label { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--text-primary); }
.tel-row .note { font-family: var(--font-sans); font-size: 12px; color: var(--text-muted); }
.tel-row .email { font-family: var(--font-sans); font-size: 12px; color: var(--accent-water); word-break: break-all; display: block; text-decoration: none; }
.tel-row .email:hover { text-decoration: underline; text-underline-offset: 2px; }
.tel-row .sublink { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--accent-strong); text-decoration: none; }
.tel-row .sublink:hover { text-decoration: underline; text-underline-offset: 2px; }
.tel-row .num { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 500; color: var(--text-primary); letter-spacing: 0.01em; white-space: nowrap; flex: none; text-decoration: none; transition: color var(--dur-fast); }
.tel-row .num:hover { color: var(--accent-water); }
.tel-row .l-col { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.tel-row__right { display: inline-flex; align-items: baseline; gap: 8px; flex: none; }
.tel-row__right .contact__badge { cursor: help; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .lt-nav__links, .lt-nav__actions .lt-nav__cta, .lt-nav__actions .lang { display: none !important; }
  .lt-nav__mobile-toggle { display: inline-flex !important; }
  .two-col, .locatie__grid, .contact__grid, .spec .two-col, .bew-grid-2, .bew-nums-grid { grid-template-columns: 1fr !important; }
  .grid-3, .bew-cards { grid-template-columns: 1fr 1fr !important; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .video-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .contact__form { grid-template-columns: 1fr; }
  .spec__stats, .locatie__stats { gap: 28px; }
}
@media (max-width: 560px) {
  .grid-3, .bew-cards { grid-template-columns: 1fr !important; }
  .gallery-grid { grid-template-columns: 1fr !important; grid-auto-rows: 240px !important; }
  .gallery-grid > * { grid-column: auto !important; grid-row: auto !important; }
  .span-wide, .span-tall, .span-big { grid-column: auto !important; grid-row: auto !important; }
}

/* ============================================================
   Components ported from the Doktoren architecture, styled LT.
   ============================================================ */

/* Utilities */
.stack { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; } .gap-4 { gap: 16px; } .gap-5 { gap: 24px; } .gap-6 { gap: 32px; }
.btn__icon { display: inline-flex; font-size: 1em; line-height: 1; }
.lang-link { cursor: pointer; border-radius: var(--radius-pill); padding: 5px 12px; font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: var(--tracking-wider); text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,0.72); }
.lang-link.is-on { background: var(--sage-500); color: var(--limestone-50); }

/* Nav lang container tweak (links instead of buttons) */
.lt-nav .lang { gap: 2px; }

/* Facts row */
.facts-row { display: flex; flex-wrap: wrap; gap: 16px 40px; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: 22px 0; }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact__k { font-family: var(--font-sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--text-muted); }
.fact__v { font-family: var(--font-display); font-size: 1.25rem; color: var(--text-primary); }

/* Feature row (image + text) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature-row--reverse .feature-row__figure { order: 2; }
.feature-row__figure { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.feature-row__figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-row__body .eyebrow { margin-bottom: 14px; }
.feature-row__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 3.4vw, 2.4rem); line-height: 1.1; letter-spacing: -0.015em; color: var(--text-primary); margin: 0; }
.feature-row__text { font-size: 17px; line-height: 1.7; color: var(--text-secondary); margin: 16px 0 0; max-width: 52ch; }

/* Figures grid */
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Info cards (techniek) */
.info-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); padding: 28px 26px; }
.info-card .eyebrow { margin-bottom: 4px; }
.info-card__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--text-primary); margin: 0; }
.info-card__text { font-size: 15px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.info-card__meta { margin-top: auto; padding-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--accent-strong); }

/* Timeline */
.timeline { display: grid; gap: 12px; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--border-subtle); padding-top: 24px; }
.timeline__item { display: flex; flex-direction: column; gap: 4px; }
.timeline__year { font-family: var(--font-mono); font-size: 1.1rem; color: var(--accent-water); }
.timeline__label { font-family: var(--font-sans); font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--text-muted); }

/* Dock band */
.dock-band { position: relative; overflow: hidden; min-height: 46vh; display: flex; align-items: flex-end; }
.dock-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dock-band__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,14,17,0.25), rgba(11,14,17,0.85)); }
.dock-band__inner { position: relative; padding: clamp(3rem,7vw,6rem) var(--gutter); }
.dock-band__title { color: var(--limestone-50); margin: 14px 0 0; }
.dock-band__text { color: var(--limestone-100); font-size: 18px; line-height: 1.6; margin: 14px 0 0; max-width: 46ch; }
.dock-band__credit { position: absolute; bottom: 14px; right: var(--gutter); z-index: 1; font-family: var(--font-sans); font-size: 11px; color: rgba(255,255,255,0.6); }

/* History article */
.history__article h3 { color: var(--text-primary); }

/* Callout */
.callout { display: flex; flex-direction: column; gap: 8px; background: var(--bg-inset); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 20px 22px; }
.callout__head { display: flex; flex-direction: column; gap: 2px; }
.callout__label { font-family: var(--font-sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--accent-strong); }
.callout__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-primary); }
.callout__body { font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.callout--notice { background: var(--sage-200); border-left-color: var(--sage-500); }
.callout--notice .callout__label { color: var(--sage-700); }
.callout--water { background: var(--harbor-100); border-left-color: var(--harbor-500); }
.callout--water .callout__label { color: var(--harbor-700); }
.callout--alert { background: #F6E7E4; border-left-color: var(--danger); }
.callout--alert .callout__label { color: var(--danger); }

/* Contact grid + aside */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.raad-card { background: var(--stone-900); color: var(--limestone-50); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: clamp(1.6rem,3vw,2.2rem); box-shadow: var(--shadow-lg); }
.raad-card__id { display: flex; flex-direction: column; gap: 4px; }
.raad-card__eyebrow { font-family: var(--font-sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--sage-400); }
.raad-card__title { font-family: var(--font-display); font-size: 1.6rem; }
.raad-card__text { font-size: 15px; line-height: 1.6; color: var(--stone-300); margin: 16px 0 20px; }
.contact-direct { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: clamp(1.6rem,3vw,2.2rem); box-shadow: var(--shadow-sm); }
.contact-direct__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--text-primary); margin: 14px 0 0; }
.contact-direct__text { font-size: 15px; line-height: 1.6; color: var(--text-secondary); margin: 8px 0 18px; }
.contact-rows { display: flex; flex-direction: column; border-top: 1px solid var(--border-subtle); }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; border-bottom: 1px solid var(--border-subtle); }
.contact-row__label { font-family: var(--font-sans); font-size: 13px; color: var(--text-secondary); }
.contact-row__val { font-family: var(--font-mono); font-size: 1rem; color: var(--text-primary); }
.contact-row--alert .contact-row__val { color: var(--danger); }
.contact-row__arrow { color: var(--accent-water); }

/* Forms (Doktoren markup) */
.form { display: flex; flex-direction: column; gap: 18px; }
.form--boxed { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: clamp(1.75rem, 4vw, 2.5rem); }
.form__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--text-primary); margin: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.form__row--3.no-beds { grid-template-columns: 1fr 1fr; }
.form .field { display: flex; flex-direction: column; gap: 7px; width: 100%; font-family: var(--font-sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--text-secondary); }
.form .field small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-muted); }
.form .field input, .form .field select, .form .field textarea { font-family: var(--font-sans); font-size: 15px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-primary); background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: 12px 14px; outline: none; width: 100%; box-sizing: border-box; transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.form .field textarea.tall { min-height: 130px; resize: vertical; }
.form .field input:focus, .form .field select:focus, .form .field textarea:focus { border-color: var(--focus-ring); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus-ring) 18%, transparent); }
.form__label-inline { font-family: var(--font-sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--text-secondary); }
.form__submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__ok { font-size: 13px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.seg { display: inline-flex; align-self: flex-start; padding: 3px; gap: 2px; background: var(--bg-inset); border: 1px solid var(--border-default); border-radius: var(--radius-sm); }
.seg__btn { cursor: pointer; border: 0; background: transparent; border-radius: 3px; padding: 9px 16px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-secondary); transition: background var(--dur-fast), color var(--dur-fast); }
.seg__btn.is-active { background: var(--stone-900); color: var(--limestone-50); }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: clamp(1.75rem,4vw,2.5rem); }
.form-done__icon { display: inline-flex; width: 52px; height: 52px; border-radius: var(--radius-pill); background: var(--harbor-100); color: var(--harbor-700); align-items: center; justify-content: center; }
.form-done__title { font-family: var(--font-display); font-size: 1.7rem; margin: 0; color: var(--text-primary); }
.form-done__text { margin: 0; color: var(--text-secondary); font-size: 15px; }

/* Te koop listings (DB module) */
.pill-filter { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.pill-filter__btn { cursor: pointer; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border-default); background: transparent; font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--text-secondary); transition: all var(--dur-base); }
.pill-filter__btn.is-active { border-color: var(--stone-900); background: var(--stone-900); color: var(--limestone-50); }
.list-empty { font-size: 17px; color: var(--text-secondary); background: var(--bg-inset); border-radius: var(--radius-md); padding: 28px; }
.units-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.unit { display: flex; flex-direction: column; gap: 16px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); padding: 24px; transition: box-shadow var(--dur-base), transform var(--dur-base); }
.unit:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.unit__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.unit__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.unit__id { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.unit__stats { display: grid; gap: 12px; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: 16px 0; }
.unit-stat { display: flex; flex-direction: column; gap: 3px; }
.unit-stat__value { font-family: var(--font-mono); font-size: 1.3rem; color: var(--text-primary); }
.unit-stat__value small { font-size: 0.7em; color: var(--text-muted); }
.unit-stat__label { font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-muted); }
.unit__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.unit__price { font-family: var(--font-mono); font-size: 1.15rem; color: var(--text-primary); }
.unit__price-per { font-size: 0.65em; color: var(--text-muted); }
.list-cta { background: var(--bg-inset); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: clamp(1.75rem,4vw,2.75rem); display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }

/* Residents hub */
.res-bar { position: sticky; top: var(--header-h, 92px); z-index: 20; background: rgba(251,250,247,0.94); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--border-subtle); }
.res-bar__inner { display: flex; align-items: center; }
.res-tabs { display: flex; gap: 2px; overflow-x: auto; padding: 0 var(--gutter); }
.res-tab { flex: none; padding: 15px 14px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--text-muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: color var(--dur-fast); }
.res-tab:hover { color: var(--text-secondary); }
.res-tab.is-active { color: var(--accent-strong); border-bottom-color: var(--sage-500); }
.res-select { display: none; }
.res-panel { display: none; }
.res-panel.is-active { display: block; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hub-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); padding: 26px 24px; text-decoration: none; color: inherit; transition: box-shadow var(--dur-base), transform var(--dur-base); }
.hub-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.hub-card__eyebrow { font-family: var(--font-sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--accent-strong); }
.hub-card__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: var(--text-primary); margin: 2px 0 0; }
.hub-card__desc { font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin: 0; }
.hub-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.hub-card__meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.hub-card__open { font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--accent-strong); }
.duty { display: flex; flex-direction: column; gap: 4px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 18px 20px; }
.duty strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--text-primary); }
.duty span { font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.tick-list, .step-list { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 8px; }
.tick-list li, .step-list li { font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.step-list { list-style: decimal; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(680px, calc(100% - 32px)); display: none; align-items: center; gap: 16px; background: var(--stone-900); color: var(--limestone-50); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); box-shadow: var(--shadow-xl); padding: 16px 20px; z-index: 80; }
.cookie-banner.is-open { display: flex; }
.cookie-banner__text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--stone-300); }

/* 404 */
.notfound { position: relative; background: var(--stone-950); overflow: hidden; margin-top: -92px; padding: 200px var(--gutter) clamp(5rem,10vw,9rem); text-align: center; }
.notfound__inner { position: relative; max-width: var(--container-narrow); margin: 0 auto; }
.notfound__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--sage-400); }
.notfound__eyebrow span:first-child { width: 28px; height: 1px; background: currentColor; }
.notfound__code { font-family: var(--font-display); font-weight: 300; font-size: clamp(5rem,16vw,10rem); line-height: 1; color: rgba(255,255,255,0.12); }
.notfound__title { font-family: var(--font-display); font-weight: 400; font-size: var(--text-display-md); color: var(--limestone-50); margin: 8px 0 0; }
.notfound__lead { font-size: 17px; line-height: 1.7; color: var(--stone-300); margin: 16px auto 0; max-width: 48ch; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* Footer extras */
.lt-foot__address { margin-top: 22px; font-family: var(--font-sans); font-size: 14px; line-height: 1.7; color: var(--stone-400); }
.lt-foot__address .accent { color: var(--sage-400); }
.lt-foot__connect-p { margin: 0; font-family: var(--font-sans); font-size: 15px; line-height: 1.6; color: var(--stone-400); }
.lt-foot__credit a { color: var(--stone-300); }

/* Responsive — ported components */
@media (max-width: 900px) {
  .contact-grid, .list-cta { grid-template-columns: 1fr; }
  .figures__grid { grid-template-columns: repeat(2, 1fr); }
  .res-select { display: block; width: 100%; margin: 12px 0; padding: 12px 14px; border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--surface-card); font-family: var(--font-sans); font-size: 15px; color: var(--text-primary); }
  .res-tabs { display: none; }
  .res-bar__inner { padding: 0 var(--gutter); }
}
@media (max-width: 860px) {
  .feature-row, .units-grid, .hub-grid { grid-template-columns: 1fr !important; }
  .feature-row--reverse .feature-row__figure { order: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  .form__row, .form__row--3, .form__row--3.no-beds { grid-template-columns: 1fr; }
  .figures__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ============================================================
   Residents page — sticky left side-nav + content column
   ============================================================ */
.res-page { background: var(--limestone-50); }
.res-layout {
  max-width: var(--container-max); margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(4rem, 8vw, 6rem);
  display: grid; grid-template-columns: 250px 1fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
/* The rail is deliberately compact: with 18 entries it has to fit inside the viewport,
   otherwise it grows its own scrollbar next to the page's — two scrollbars side by side
   are awkward to use. At this density it fits from ~745px viewport height upward; below
   that it falls back to scrolling internally (thin scrollbar, and site.js keeps the
   active entry in view, so manual rail-scrolling is rarely needed). */
.res-side {
  position: sticky; top: calc(var(--header-h, 92px) + 24px);
  display: flex; flex-direction: column; gap: 13px;
  max-height: calc(100vh - var(--header-h, 92px) - 48px); overflow-y: auto;
  padding-right: 4px; scrollbar-width: thin;
}
.res-side__heading { font-family: var(--font-sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--text-muted); }
.res-side__toggle { display: none; } /* mobile-only dropdown trigger */
.res-side__panel { display: flex; flex-direction: column; gap: 13px; } /* desktop: just the group column */
.res-side__group { display: flex; flex-direction: column; gap: 1px; }
.res-side__title { font-family: var(--font-sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--accent-strong); padding: 0 0 5px 12px; }
.res-side__link {
  display: block; padding: 4px 12px; font-family: var(--font-sans); font-size: 13px;
  line-height: 1.3; color: var(--text-secondary); text-decoration: none;
  border-left: 2px solid var(--border-subtle); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}
.res-side__link:hover { color: var(--text-primary); background: var(--bg-inset); }
.res-side__link.is-on { color: var(--sage-700); background: var(--sage-200); border-left-color: var(--sage-500); font-weight: 600; }

.res-content { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem); min-width: 0; }
.res-block { scroll-margin-top: calc(var(--header-h, 92px) + 24px); }
/* every linkable part clears the sticky header when jumped to */
.res-content .bew-card, .res-content .bew-contact-card, .res-content .bew-num-card {
  scroll-margin-top: calc(var(--header-h, 92px) + 24px);
}
/* One card per row. The side nav lists every part, so each needs its own vertical
   position — side-by-side cards share a top and the rail could not tell them apart. */
.res-content .bew-grid-2,
.res-content .bew-cards,
.res-content .bew-nums-grid,
.res-content .two-col { grid-template-columns: 1fr; }
/* Community becomes a panel inside the column (was a full-bleed band) */
.res-content .bew-community { background: var(--stone-950); border-radius: var(--radius-md); padding: clamp(1.75rem, 4vw, 2.75rem); }
.res-content .bew-community__inner { max-width: none; }

@media (max-width: 900px) {
  .res-layout { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  /* The rail collapses into a sticky dropdown: 18 entries are awkward as a horizontal
     scroll strip, so the bar shows one trigger button and reveals the grouped links. */
  .res-side {
    position: sticky; top: var(--header-h, 92px); z-index: 30;
    display: block; max-height: none; overflow: visible;
    margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter);
    background: rgba(251,250,247,0.95); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--border-subtle);
  }
  .res-side__heading { display: none; }
  .res-side__toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
    padding: 11px 14px; background: var(--surface-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 14px; font-weight: 600;
    color: var(--text-primary); text-align: left; cursor: pointer;
  }
  .res-side__current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .res-side__toggle > svg { flex: none; color: var(--text-muted); transition: transform var(--dur-fast); }
  .res-side.is-open .res-side__toggle > svg { transform: rotate(180deg); }
  .res-side__panel {
    display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 6px);
    flex-direction: column; gap: 8px; max-height: 68vh; overflow-y: auto; padding: 8px;
    background: var(--surface-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  }
  .res-side.is-open .res-side__panel { display: flex; }
  .res-side__group { flex-direction: column; gap: 1px; }
  .res-side__title { display: block; padding: 8px 12px 3px; }
  .res-side__link { border-left: 2px solid transparent; border-bottom: 0; border-radius: var(--radius-sm); white-space: normal; padding: 9px 12px; }
  .res-side__link:hover { background: var(--bg-inset); }
  .res-side__link.is-on { background: var(--sage-200); border-left-color: var(--sage-500); color: var(--sage-700); }
  .res-content { padding-top: clamp(2rem, 5vw, 3rem); }
}

/* Compat aliases + admin (/beheer) */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.section-header__title { font-family: var(--font-display); font-weight: 400; font-size: var(--text-display-md); line-height: 1.05; letter-spacing: -0.015em; color: var(--text-primary); margin: 0; }
.section-header__lead { font-size: 18px; line-height: 1.7; color: var(--text-secondary); margin: 12px 0 0; }
.wordmark { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.02em; color: var(--text-primary); }

.admin { min-height: 100vh; background: var(--bg-page); }
.admin__bar { display: flex; align-items: center; gap: 16px; padding: 16px var(--gutter); background: var(--stone-900); color: var(--limestone-50); }
.admin__bar .wordmark { color: var(--limestone-50); }
.admin__tag { font-family: var(--font-sans); font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--stone-400); }
.admin__logout { margin-left: auto; }
.admin__main { padding: clamp(2rem,5vw,4rem) 0; }
.admin-login { max-width: 480px; display: flex; flex-direction: column; gap: 14px; }
.admin-err { color: var(--danger); font-size: 14px; }
.admin-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-subtle); margin-bottom: clamp(1.75rem,4vw,2.5rem); }
.admin-tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; margin-bottom: -1px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--text-secondary);
  text-decoration: none; border-bottom: 2px solid transparent; transition: color var(--dur-fast); }
.admin-tab:hover { color: var(--text-primary); }
.admin-tab.is-active { color: var(--text-primary); border-bottom-color: var(--accent-water); }
.admin-tab__count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px;
  padding: 0 6px; border-radius: 10px; background: var(--harbor-500); color: var(--stone-900); font-size: 12px; font-weight: 700; }
.admin-tab.is-active .admin-tab__count { background: var(--accent-water); color: #fff; }
.admin-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-count { font-family: var(--font-sans); font-size: 13px; color: var(--text-muted); }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-card); }
.admin-table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: 14px; }
.admin-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-muted); padding: 14px 16px; border-bottom: 1px solid var(--border-subtle); white-space: nowrap; }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; color: var(--text-primary); }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-sub { display: block; font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-email a { color: var(--accent-water); }

/* ============================================================
   Site search — header trigger, overlay dialog, /zoek page
   ============================================================ */
.lt-nav__search { flex: none; }

/* Overlay */
body.search-open { overflow: hidden; }
.search-modal { position: fixed; inset: 0; z-index: 1000; display: flex; justify-content: center;
  align-items: flex-start; padding: clamp(1rem, 8vh, 7rem) var(--gutter) 2rem; }
.search-modal[hidden] { display: none; }
.search-modal__backdrop { position: absolute; inset: 0; background: rgba(11,14,17,0.55);
  backdrop-filter: blur(3px); opacity: 0; transition: opacity .18s ease; }
.search-modal.is-open .search-modal__backdrop { opacity: 1; }
.search-modal__panel { position: relative; width: 100%; max-width: 620px; background: var(--limestone-50);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden;
  transform: translateY(-8px); opacity: 0; transition: transform .18s ease, opacity .18s ease; }
.search-modal.is-open .search-modal__panel { transform: none; opacity: 1; }
.search-modal__bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle); }
.search-modal__ico { color: var(--text-muted); flex: none; }
.search-modal__input { flex: 1; min-width: 0; border: 0; background: none; outline: none;
  font-family: var(--font-sans); font-size: 17px; color: var(--text-primary); padding: 6px 0; }
.search-modal__input::placeholder { color: var(--text-muted); }
.search-modal__close { flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 0; border-radius: var(--radius-sm); background: none;
  color: var(--text-muted); cursor: pointer; }
.search-modal__close:hover { background: var(--limestone-100); color: var(--text-primary); }
.search-modal__results { max-height: min(56vh, 460px); overflow-y: auto; }
.search-modal__results:empty { display: none; }
.search-modal__foot { margin: 0; padding: 12px 18px; border-top: 1px solid var(--border-subtle);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.search-modal__foot[hidden] { display: none; }
.search-modal__hint-label { font-family: var(--font-sans); font-size: 13px; color: var(--text-muted); }
.search-suggest { cursor: pointer; padding: 5px 12px; font-family: var(--font-sans); font-size: 13px;
  color: var(--text-secondary); background: var(--limestone-100); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill); transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast); }
.search-suggest:hover { color: var(--sage-700); background: var(--sage-200); border-color: var(--sage-500); }
.search-modal__none { margin: 0; padding: 22px 18px; font-size: 15px; color: var(--text-secondary); }
.search-modal__all { display: block; padding: 12px 18px; font-family: var(--font-sans); font-size: 13px;
  font-weight: 600; letter-spacing: 0.01em; color: var(--accent-strong); background: var(--limestone-100);
  border-top: 1px solid var(--border-subtle); }
.search-modal__all:hover { background: var(--sage-200); }

/* A single result (shared by overlay + /zoek page) */
.search-result { display: block; padding: 13px 18px; border-bottom: 1px solid var(--border-subtle);
  cursor: pointer; text-decoration: none; }
.search-result:last-child { border-bottom: 0; }
.search-result[aria-selected="true"], .search-result:hover { background: var(--sage-200); }
.search-result__section { display: block; font-family: var(--font-sans); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--accent-strong); }
.search-result__title { display: block; margin-top: 3px; font-family: var(--font-display); font-size: 19px;
  line-height: 1.25; color: var(--text-primary); }
.search-result__snippet { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5;
  color: var(--text-secondary); }

/* /zoek results page */
.wrap--narrow { max-width: 720px; margin: 0 auto; }
.search-page__form { display: flex; align-items: center; gap: 12px; background: var(--surface-card);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 8px 8px 8px 16px; }
.search-page__ico { color: var(--text-muted); flex: none; }
.search-page__input { flex: 1; min-width: 0; border: 0; background: none; outline: none;
  font-family: var(--font-sans); font-size: 17px; color: var(--text-primary); padding: 10px 0; }
.search-page__input::placeholder { color: var(--text-muted); }
.search-page__count { margin: 26px 0 6px; font-family: var(--font-sans); font-size: 13px; color: var(--text-muted); }
.search-page__results { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); overflow: hidden; background: var(--surface-card); }
.search-page__empty { margin: 30px 0; font-size: 17px; color: var(--text-secondary); }

/* ---- Bringme account-request form (/bringme) ---- */
.bm-roles__label { font-family: var(--font-sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--text-secondary); }
/* Role picker reuses the .seg segmented-control look (like the te-koop toggle), with real
   radios. Content-width + left-aligned like that toggle (not stretched across the wide
   form); only on narrow screens does it go full-width so the labels never overflow.
   Active segment = the same dark ink as .seg. */
.bm-roles__seg { align-self: flex-start; max-width: 100%; }
.bm-roles__seg .seg__btn { display: inline-flex; align-items: center; justify-content: center; position: relative; }
.bm-roles__seg .seg__btn input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.bm-roles__seg .seg__btn:has(input:checked) { background: var(--stone-900); color: var(--limestone-50); } /* modern browsers; JS also sets .is-active */
.bm-roles__seg .seg__btn:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
@media (max-width: 620px) {
  .bm-roles__seg { align-self: stretch; display: flex; }
  .bm-roles__seg .seg__btn { flex: 1; }
}
.bm-logo { display: block; width: 175px; height: auto; margin: 0 0 clamp(1.25rem, 3vw, 2rem); }
.bm-privacy { background: var(--bg-inset); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 14px 16px; }
.bm-privacy__title { font-family: var(--font-sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--accent-strong); margin: 0 0 6px; }
.bm-privacy p { font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 12px; }
.bm-privacy a { color: var(--accent-strong); }
.bm-consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.bm-consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent-water); }
.bm-consent span { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.5; color: var(--text-primary); }

/* ============================================================
   Location map (Leaflet + muted CARTO tiles, lazy-loaded by site.js)
   ============================================================ */
.loc-map-wrap { margin-top: clamp(2.5rem, 5vw, 4rem); }
.loc-map { height: clamp(300px, 42vw, 480px); border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border-subtle); background: var(--limestone-100); }
.loc-map .leaflet-container { height: 100%; width: 100%; background: var(--limestone-100); font-family: var(--font-sans); }
.loc-map .leaflet-control-attribution { font-size: 10px; background: rgba(245,242,236,0.82); }
.loc-map .leaflet-bar a { color: var(--text-primary); }
.loc-map__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.loc-map__addr { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 14px; color: var(--text-secondary); }
.loc-map__addr .ico { color: var(--accent-water); }
/* Custom marker (Leaflet divIcon) */
.loc-pin svg { display: block; filter: drop-shadow(0 3px 5px rgba(11,14,17,0.35)); }
