/* =========================================================
   TwinPire — modern site stylesheet
   ========================================================= */

:root {
  /* ONE Muscat brandbook palette — dark bronze as the site's color stance */
  --ink: #3b2418;          /* Donkerbrons — primary text, headings, dark sections */
  --ink-soft: #5c4a3d;     /* warm muted brown-gray for body copy */
  --ink-2: #57392a;        /* lighter tint of donkerbrons for dark-on-dark surfaces */
  --paper: #f5f1e8;        /* Ivoor — page background */
  --paper-2: #e8dcc4;      /* Champagne — alternate section background */
  --card: #ffffff;
  --accent: #8c6239;       /* Brons — accent, lines, CTA's */
  --accent-dark: #6e4b2a;  /* deeper bronze for hover states */
  --accent-light: #cba46f; /* light bronze tint for text on dark backgrounds */
  --accent-2: #c98b7a;     /* Desert Rose — soft accent */
  --navy: #1b3a5c;         /* Marineblauw — subheadings, nadruk */
  --teal: #35514a;         /* Diepteal — signature accent */
  --line: rgba(59, 36, 24, 0.16);
  --line-soft: rgba(59, 36, 24, 0.09);
  --shadow: 0 20px 50px -25px rgba(59, 36, 24, 0.4);
  --radius: 14px;
  --maxw: 1180px;
  --ff-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 76%;
  height: 1px;
  background: var(--accent-light);
  display: block;
  transform: scaleY(0.5);
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-on-dark {
  background: var(--accent);
  color: #16130d;
}
.btn-on-dark:hover { background: #cf9c5f; transform: translateY(-2px); }
.btn-ghost-on-dark {
  background: transparent;
  color: var(--paper);
  border-color: rgba(247,245,240,.3);
}
.btn-ghost-on-dark:hover { border-color: var(--paper); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  padding: 38px 24px 0;
  --header-pad-start: 38px;
  --header-pad-end: 26px;
}
.site-header.is-scrolled { padding-top: 26px; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  max-width: 1300px;
  padding: 0 30px;
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.28);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 50px -24px rgba(59,36,24,.3), 0 1px 0 rgba(255,255,255,.4) inset;
  border: 1px solid rgba(255,255,255,.3);
}
.site-header.is-scrolled .wrap {
  background: rgba(245, 241, 232, 0.9);
  backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 18px 40px -18px rgba(59,36,24,.55);
}

.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.brand-mark { flex-shrink: 0; }
.brand-word {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

/* ONE Muscat–style wordmark lockup */
.brand-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--ff-body);
  line-height: 1;
}
.brand-logo .bl-dark,
.brand-logo .bl-accent {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1.3rem;
}
.brand-logo .bl-dark { color: var(--ink); }
.brand-logo .bl-accent { color: var(--accent); }
.brand-logo .bl-divider { display: none; }
.brand-logo.on-dark .bl-dark { color: #fff; }
.brand-logo.on-dark .bl-accent { color: var(--accent-light); }
.brand-logo.on-dark .bl-divider { background: rgba(247, 245, 240, 0.3); }

.site-header .brand-logo .bl-dark,
.site-header .brand-logo .bl-accent {
  font-size: 1.56rem;
}

.brand-tagline {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent-dark);
  padding-left: 1px;
}
.brand-tagline.on-dark { color: var(--accent-light); }

.brand-logo-img {
  display: block;
  height: 34px;
  width: auto;
}

.main-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: var(--paper-2); color: var(--ink); }
.main-nav a.active { color: var(--ink); background: var(--paper-2); }

.header-actions { display: flex; align-items: center; gap: 18px; }

/* Language switcher — editorial trigger (full language name) with an eyebrow-style dropdown */
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper-2);
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
}
.lang-trigger .caret { font-size: .6rem; color: var(--ink-soft); transition: transform .2s ease; }
.lang-switch:hover .lang-trigger .caret,
.lang-switch:focus-within .lang-trigger .caret,
.lang-switch.is-open .lang-trigger .caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 180px;
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
  padding: 16px 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}
.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu,
.lang-switch.is-open .lang-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* padding + negative margin: the cream highlight gets room to breathe without shifting the
   left-aligned text — same "lit up" treatment as an active/hovered tab in the top bar */
.lang-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 8px 10px; margin: 0 -10px; border-radius: 10px;
  background: transparent;
  transition: background .2s ease;
}
.lang-eline {
  width: 26px; height: 1px; background: rgba(203,164,111,.55); display: block;
  transition: background .2s ease, width .2s ease;
}
.lang-row { display: inline-flex; align-items: baseline; gap: 7px; }
.lang-code { font-size: .64rem; font-weight: 800; letter-spacing: .06em; color: var(--accent-dark); }
.lang-native { font-size: .88rem; font-weight: 700; color: var(--ink); transition: color .2s ease; }
.lang-item:hover,
.lang-item:focus-visible { background: var(--paper-2); }
.lang-item:hover .lang-native,
.lang-item:focus-visible .lang-native { color: var(--accent-dark); }
.lang-item:hover .lang-eline,
.lang-item:focus-visible .lang-eline { background: var(--accent); width: 38px; }
.lang-ar { font-family: "Noto Sans Arabic", var(--ff-body), sans-serif; }
.lang-zh { font-family: "Noto Sans SC", var(--ff-body), sans-serif; }
@media (prefers-reduced-motion: reduce) {
  .lang-trigger .caret,
  .lang-menu,
  .lang-eline,
  .lang-native { transition: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 166px 0 110px;
  background: var(--ink);
  color: var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 82% -10%, rgba(203,164,111,.35), transparent 60%),
    radial-gradient(520px 400px at 105% 60%, rgba(53,81,74,.35), transparent 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero-inner { max-width: 760px; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); color: #fff; }
.hero.hero-oneline .hero-inner { max-width: 840px; }
.hero.hero-oneline h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
@media (min-width: 700px) { .hero.hero-oneline h1 { white-space: nowrap; } }
.hero .lede { color: rgba(247,245,240,.78); font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-skyline {
  position: absolute;
  right: -60px;
  bottom: -20px;
  width: 46%;
  max-width: 560px;
  opacity: .9;
}
.hero.hero-small { padding: 134px 0 78px; min-height: 560px; display: flex; align-items: flex-end; }
.hero.hero-small h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); }

.hero-photo {
  background-size: cover;
  background-position: center;
}
.hero-photo::before {
  background:
    linear-gradient(165deg, rgba(59,36,24,.85), rgba(59,36,24,.5) 55%, rgba(59,36,24,.9)),
    radial-gradient(680px 420px at 82% -10%, rgba(203,164,111,.25), transparent 60%);
}

/* Homepage hero only: full, unobscured photo — no dark scrim, legibility via text-shadow instead */
.hero-photo-sharp::before { background: none; }
.hero-photo-sharp .hero-inner .eyebrow,
.hero-photo-sharp .hero-inner h1,
.hero-photo-sharp .hero-inner .lede {
  text-shadow: 0 2px 6px rgba(0,0,0,.9), 0 6px 26px rgba(0,0,0,.7);
}

/* Extra readability where the hero text sits over a bright/blue sky or water — a soft
   scrim in the top-left only, fading out fast so the rest of the photo stays sharp */
.hero-fade-top::before {
  background: linear-gradient(120deg, rgba(12,18,28,.6) 0%, rgba(12,18,28,.4) 28%, rgba(12,18,28,.14) 52%, transparent 70%);
}

/* ---------- Stat row ---------- */
.stat-row {
  background: transparent;
  border-bottom: none;
  margin-top: -46px;
  position: relative;
  z-index: 2;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 0 30px;
}
.stat-parallax { will-change: transform; }
.stat {
  text-align: center;
  border-left: none;
  border: 1px solid rgba(196,156,88,.55);
  border-radius: 20px;
  padding: 24px 12px;
  box-shadow: 0 20px 42px -18px rgba(120,90,40,.4), inset 0 1px 0 rgba(255,255,255,.5);
  height: 100%;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
/* Gouden Gloed — lichte gouden gloed met een diagonale glans per box, doorlopend over de rij */
.stat-parallax:nth-child(1) .stat { background: linear-gradient(120deg, #7d654e, #a1815d 55%, #d4b57d); }
.stat-parallax:nth-child(2) .stat { background: linear-gradient(120deg, #a1815d, #d4b57d 55%, #e9cd9d); }
.stat-parallax:nth-child(3) .stat { background: linear-gradient(120deg, #d4b57d, #e9cd9d 55%, #f5e2b9); }
.stat-parallax:nth-child(4) .stat { background: linear-gradient(120deg, #e9cd9d, #f5e2b9 55%, #f9edd1); }
.stat-row.in-view .stat-parallax:nth-child(1) .stat { transition-delay: 0s; }
.stat-row.in-view .stat-parallax:nth-child(2) .stat { transition-delay: .12s; }
.stat-row.in-view .stat-parallax:nth-child(3) .stat { transition-delay: .24s; }
.stat-row.in-view .stat-parallax:nth-child(4) .stat { transition-delay: .36s; }
.stat-row.in-view .stat { opacity: 1; transform: translateY(0); }
.stat::before {
  content: "";
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(59,36,24,.5);
  margin: 0 auto 12px;
}
.stat-number {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--ink);
  text-shadow: none;
}
.stat-label {
  font-size: .85rem;
  color: rgba(59,36,24,.72);
  text-transform: uppercase;
  letter-spacing: .08em;
}
@media (prefers-reduced-motion: reduce) {
  .stat { transition: none; opacity: 1; transform: none; }
  .stat-parallax { transform: none !important; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-quote-tight { padding: 60px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .eyebrow::before,
.section-dark .eyebrow::after { background: var(--accent); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: linear-gradient(165deg, var(--card), var(--paper-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow .45s ease, border-color .45s ease;
  will-change: transform;
  transform-style: preserve-3d;
}
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--paper-2), var(--card));
  border: 1px solid var(--line-soft);
  box-shadow: 0 1px 2px rgba(59,36,24,.05), inset 0 1px 0 rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent-dark);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .4s ease;
  transform: translateZ(20px);
}
.card-icon svg { width: 23px; height: 23px; }
.card:hover .card-icon {
  transform: translateZ(30px) scale(1.1);
  border-color: var(--accent-light);
  box-shadow: 0 6px 16px -6px rgba(140,98,57,.45), inset 0 1px 0 rgba(255,255,255,.6);
}
.card h3 { font-size: 1.25rem; color: var(--navy); }
.card p { color: var(--ink-soft); margin-bottom: 18px; }
.card-link { font-weight: 700; font-size: .92rem; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.card-link .arrow { transition: transform .2s ease; }
.card:hover .card-link .arrow { transform: translateX(4px); }

/* ---------- DNA section: oprichters-citaat + kerncijfers ---------- */
.section-dna { padding-top: 40px; }

/* Shared "tight gap after a photo hero" treatment — keeps the space between
   the hero photo and the first section identical across pages (150px desktop,
   108px mobile, measured from the hero's own bottom padding). */
.section-hero-tight { padding-top: 72px; }

/* p4-grid: foto in de eerste kolom (links, smaller), citaat + kerncijfers in de
   tweede (rechts, breder) — eerste kind van de grid bepaalt welke kant de foto op gaat. */
.p4-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: stretch; margin-top: 36px; }
.p4-media {
  position: relative;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(155deg, #57392a, #3b2418 55%, #8c6239 145%);
  min-height: 320px;
}
.p4-media::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(245,241,232,.22); border-radius: 12px; pointer-events: none; z-index: 2; }
.p4-photo { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: cover; border-radius: 12px; z-index: 1; }
.p4-photo-tag { position: absolute; top: 28px; left: 28px; z-index: 3; padding: 6px 12px; border-radius: 999px; background: rgba(59,36,24,.72); color: var(--paper); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(2px); }

.p4-quote { display: flex; flex-direction: column; justify-content: center; }
.p4-mark { font-size: 4rem; line-height: 1; color: var(--accent-light); font-weight: 800; }
.p4-mark-close { text-align: right; margin-top: -22px; }
/* Manrope has no italic cut, so a plain "italic" keyword falls back to whatever
   (if any) synthetic slant the browser feels like applying — some skip it entirely.
   An explicit oblique angle always renders slanted, in every browser. */
.p4-quote blockquote { margin: 6px 0 0; font-size: 1.5rem; font-weight: 700; font-style: oblique 10deg; color: var(--ink); line-height: 1.4; }
.p4-quote cite { display: block; margin-top: 18px; font-style: normal; font-size: .9rem; color: var(--ink-soft); }

.p4-facts { display: flex; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); row-gap: 20px; }
.p4-fact { flex: 1 1 0; min-width: 0; padding: 0 20px; border-left: 1px solid var(--line); }
.p4-fact:first-child { border-left: none; padding-left: 0; }
.p4-fact b { display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent-dark); font-variant-numeric: tabular-nums; }
.p4-fact span { display: block; margin-top: 4px; font-size: .78rem; color: var(--ink-soft); line-height: 1.4; }
.p4-fact .micro { display: block; margin-top: 3px; font-size: .72rem; color: var(--ink-soft); opacity: .8; line-height: 1.4; }
.p4-fact .micro a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; font-weight: 700; }
.p4-fact .micro a:hover, .p4-fact .micro a:focus-visible { color: var(--accent-dark); text-decoration-color: var(--accent-light); }
.p4-fact span a { color: var(--ink-soft); font-weight: 700; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.p4-fact span a:hover, .p4-fact span a:focus-visible { color: var(--accent-dark); text-decoration-color: var(--accent-light); }

.is-countup { cursor: pointer; display: inline-block; transition: transform .18s ease, opacity .18s ease; border-radius: 6px; }
.is-countup:hover, .is-countup:focus-visible { transform: scale(1.06); opacity: .88; }
.is-countup:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 5px; }

/* site-consistent text links — same treatment as the "Ons verhaal" ONE MUSCAT reference */
.muscat-link, .inline-cite-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-light);
  padding-bottom: 1px;
}
.muscat-link:hover, .muscat-link:focus-visible, .inline-cite-link:hover, .inline-cite-link:focus-visible { color: var(--ink); border-color: var(--ink); }

/* two-column feature (image + text) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.feature-media {
  min-height: 100%;
  border-radius: 20px;
  background: linear-gradient(155deg, #57392a, #3b2418 55%, #8c6239 145%);
  position: relative;
  overflow: hidden;
}
.feature-media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-text .lede { max-width: none; }

/* location chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.chip {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  background: var(--card);
}
.section-dark .chip { border-color: rgba(247,245,240,.25); background: transparent; color: var(--paper); }

/* portfolio photo grid */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  box-shadow: 0 14px 34px -22px rgba(59, 36, 24, 0.45);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.photo-card:hover img { transform: scale(1.06); }
.photo-caption {
  position: absolute; inset: auto 0 0 0;
  padding: 18px 16px 14px;
  background: linear-gradient(0deg, rgba(59,36,24,.85), rgba(59,36,24,0));
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: -0.01em;
}

/* timeline */
.timeline { position: relative; border-left: 2px solid var(--line); margin-left: 8px; padding-left: 34px; display: flex; flex-direction: column; gap: 44px; }
.timeline::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--accent-dark);
  transform: scaleY(var(--timeline-progress, 0));
  transform-origin: top;
  transition: transform .1s linear;
  pointer-events: none;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid rgba(140,98,57,.4);
  box-shadow: 0 0 0 2px transparent;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: -44px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--accent-light);
  opacity: 0;
  pointer-events: none;
}
.timeline-item.is-lit::before {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item.is-lit::after {
  animation: timeline-ripple .7s ease-out;
}
@keyframes timeline-ripple {
  0% { opacity: .9; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.4); }
}
.timeline-year {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink-soft);
  opacity: .55;
  transition: color .45s ease, opacity .45s ease;
}
.timeline-item.is-lit .timeline-year { color: var(--accent-dark); opacity: 1; }
.timeline-item h3, .timeline-item p { opacity: .45; transition: opacity .45s ease; }
.timeline-item.is-lit h3, .timeline-item.is-lit p { opacity: 1; }

/* story + timeline merge (Over ons) */
.story-merge { background: var(--paper); padding: 72px 0; }
.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  align-items: stretch;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(59,36,24,.35);
}
.story-panel {
  background: linear-gradient(155deg, var(--navy), #16314f 70%, #101f33);
  color: var(--paper);
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-panel .eyebrow { color: var(--accent-light); margin-bottom: 8px; }
.story-panel .eyebrow::before,
.story-panel .eyebrow::after { background: var(--accent-light); }
.story-panel h2 { color: #fff; font-size: 1.5rem; line-height: 1.2; margin-bottom: 12px; }
.story-panel p { color: rgba(247,245,240,.82); font-size: .92rem; line-height: 1.55; margin-bottom: 11px; }
.story-panel p:last-child { margin-bottom: 0; }
.story-timeline-col { background: var(--card); padding: 36px 40px; }
.story-timeline-col .timeline { border-left: 2px solid rgba(140,98,57,.35); gap: 20px; }
.story-timeline-col .timeline-item::before { width: 11px; height: 11px; top: 2px; }
.story-timeline-col .timeline-item::after { width: 15px; height: 15px; left: -43px; top: 0; }
.story-timeline-col .timeline-year { font-size: 1.05rem; margin-bottom: 1px; }
.story-timeline-col .timeline-item h3 { font-size: .98rem; margin: 2px 0 3px; line-height: 1.25; }
.story-timeline-col .timeline-item p { font-size: .82rem; line-height: 1.4; }
.story-timeline-col .timeline-item.is-international::before { border-color: rgba(53,81,74,.4); }
.story-timeline-col .timeline-item.is-international::after { border-color: var(--teal); }
.story-timeline-col .timeline-item.is-international.is-lit::before { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 2px rgba(53,81,74,.4); }
.story-timeline-col .timeline-item.is-international.is-lit .timeline-year { color: var(--teal); }
.intl-tag {
  display: inline-block;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--teal);
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
}
@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; border-radius: 20px; }
  .story-panel, .story-timeline-col { padding: 32px 28px; }
}

/* process steps */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--line);
  -webkit-text-stroke: 1px var(--ink-soft);
  color: transparent;
  margin-bottom: 6px;
  display: block;
}

/* pull quote */
.pull-quote {
  font-family: var(--ff-head);
  font-weight: 600;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  max-width: 820px;
  color: var(--ink);
  position: relative;
  padding-left: 34px;
  border-left: 3px solid var(--accent-2);
}

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: #fff; }
.cta-band .lede { margin: 0 auto 30px; color: rgba(247,245,240,.78); }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* values (Missie & visie) — vierkante kaart, diepteal icoon dat optilt met een getinte schaduw */
.value-card { text-align: left; border-radius: 0; }
.value-card .card-icon {
  position: relative;
  color: var(--teal);
  transform: translateY(0);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .4s ease;
}
.value-card .card-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: -10px;
  width: 40px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(53,81,74,.55), transparent 75%);
  opacity: .5;
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.value-card:hover .card-icon {
  transform: translateY(-11px) scale(1.08);
  border-color: var(--teal);
  box-shadow: 0 10px 20px -8px rgba(53,81,74,.4), inset 0 1px 0 rgba(255,255,255,.6);
}
.value-card:hover .card-icon::after { opacity: .85; transform: scale(1.3); }
.value-card .card-icon::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  border: 2px solid var(--teal);
  opacity: 0;
  pointer-events: none;
}
.value-card.is-lit .card-icon::before { animation: timeline-ripple .8s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .value-card .card-icon, .value-card .card-icon::after { transition: none; }
  .value-card .card-icon::before { animation: none !important; }
}

/* contact page */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: stretch; }
.contact-card {
  background: linear-gradient(165deg, var(--card), var(--paper-2));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-card h3 { color: var(--navy); font-size: 1.3rem; margin-top: 2px; }
.contact-row { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.contact-row:first-of-type { border-top: none; padding-top: 0; }
.contact-row-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--paper-2), var(--card));
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.contact-row-icon svg { width: 19px; height: 19px; }
.contact-row .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); display: block; margin-bottom: 4px; }
.contact-row a, .contact-row span.value { font-weight: 700; color: var(--ink); }
.contact-row a:hover { color: var(--accent-dark); }
.maps-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 700; color: var(--accent-dark); }

.form-card {
  background: linear-gradient(165deg, var(--card), var(--paper-2));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.field { margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  box-sizing: border-box;
  line-height: 46px;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 9L12 15L18 9' stroke='%235c4a3d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(140,98,57,.2);
}
.field textarea { height: auto; line-height: 1.5; padding: 13px 16px; resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(247,245,240,.75); padding: 36px 0 18px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(247,245,240,.14);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand .brand-word { color: #fff; }
.footer-newsletter .eyebrow { color: var(--accent-light); margin: 0 0 10px; vertical-align: top; }
.footer-newsletter .eyebrow::before, .footer-newsletter .eyebrow::after { background: var(--accent-light); }
.footer-newsletter h4 { color: #fff; font-family: var(--ff-head); font-weight: 800; font-size: 1.02rem; margin: 0 0 14px; }
.footer-newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-newsletter-form input {
  flex: 1;
  min-width: 190px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 0 20px;
  font-family: inherit;
  font-size: .9rem;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.footer-nav-row { display: flex; flex-wrap: wrap; gap: 26px; padding: 16px 0; font-size: .9rem; font-weight: 600; }
.footer-nav-row a { color: rgba(247,245,240,.75); }
.footer-nav-row a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(247,245,240,.14);
  font-size: .85rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Cascade the reveal across grid items so they animate in one after another */
.grid-2 > .reveal:nth-child(2), .grid-3 > .reveal:nth-child(2), .grid-4 > .reveal:nth-child(2),
.photo-grid > .reveal:nth-child(2), .step-grid > .reveal:nth-child(2) { transition-delay: .08s; }
.grid-3 > .reveal:nth-child(3), .grid-4 > .reveal:nth-child(3),
.photo-grid > .reveal:nth-child(3), .step-grid > .reveal:nth-child(3) { transition-delay: .16s; }
.grid-4 > .reveal:nth-child(4), .photo-grid > .reveal:nth-child(4), .step-grid > .reveal:nth-child(4) { transition-delay: .24s; }
.photo-grid > .reveal:nth-child(5), .step-grid > .reveal:nth-child(5) { transition-delay: .32s; }
.photo-grid > .reveal:nth-child(6) { transition-delay: .40s; }
.photo-grid > .reveal:nth-child(7) { transition-delay: .48s; }
.photo-grid > .reveal:nth-child(8) { transition-delay: .56s; }

/* ---------- Lightbox ---------- */
.photo-card { cursor: zoom-in; }
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(27, 17, 11, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-figure { max-width: 90vw; text-align: center; }
.lightbox-figure img {
  max-width: 88vw;
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  display: block;
  margin: 0 auto;
}
.lightbox-caption {
  color: #fff;
  margin-top: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}
.lightbox-close, .lightbox-arrow {
  position: fixed;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.lightbox-close:hover, .lightbox-arrow:hover { background: rgba(255,255,255,.24); }
.lightbox-close:hover { transform: scale(1.06); }
.lightbox-close { top: 24px; right: 28px; width: 46px; height: 46px; font-size: 1.6rem; line-height: 1; }
/* translateY(-50%) keeps the arrow vertically centred; the hover scale must be combined into
   the same transform (not replace it), otherwise hovering — which stays "on" after a click,
   since the pointer doesn't move — drops the arrow down by half its height */
.lightbox-arrow { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 1.8rem; }
.lightbox-arrow:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
/* single-photo categories have nothing to scroll through, so hide the arrows */
.lightbox-overlay.is-single .lightbox-arrow { display: none; }
@media (max-width: 700px) {
  .lightbox-arrow { width: 42px; height: 42px; font-size: 1.4rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 14px; right: 14px; }
}

/* ---------- Beleggen & Ontwikkelen — editorial index grid + dev-bar ---------- */
/* Flat, hairline-divided treatment (matches the approved concept), distinct from the
   rounded/shadowed .card system used elsewhere on the site — used only on
   ons-resultaat.html for the category index and the Ontwikkeling bar. */
.index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 8px;
}
.index-card { background: linear-gradient(165deg, var(--card) 45%, rgba(232,220,196,.6)); padding: 32px 28px; border: 1px solid var(--line); }
.index-card .thumb { height: 160px; overflow: hidden; margin-bottom: 20px; border: 1px solid var(--line); }
.index-card .thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.index-card .marker {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.index-card h3 { font-size: 1.25rem; margin: 0 0 10px; color: var(--ink); }
.index-card p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--ink-soft); }

/* thumb reuses the site's .photo-card so it plugs into the existing lightbox (js/main.js) */
.index-card .thumb.photo-card { border-radius: 0; aspect-ratio: auto; box-shadow: none; cursor: zoom-in; }
.index-card .thumb .photo-caption { display: none; }

.dev-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 36px auto 0;
  padding: 22px 28px;
  border: 1px solid var(--line);
  background: var(--card);
}
.dev-bar-expandable { display: block; cursor: pointer; }
.dev-bar-expandable .dev-bar-main { display: flex; align-items: center; gap: 24px; }
.dev-bar-thumb { width: 104px; height: 78px; flex: none; overflow: hidden; }
.dev-bar-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.96); }
.dev-bar-content h4 {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 8px;
}
.dev-bar-content p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); max-width: 640px; }
.dev-bar-toggle { width: 20px; height: 20px; flex: none; margin-left: auto; position: relative; transition: transform .35s ease; }
.dev-bar-toggle::before, .dev-bar-toggle::after { content: ""; position: absolute; background: var(--accent-dark); }
.dev-bar-toggle::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.dev-bar-toggle::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.dev-bar-expandable.is-open .dev-bar-toggle { transform: rotate(45deg); }
.dev-bar-reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height .45s ease, opacity .35s ease, margin-top .45s ease;
}
.dev-bar-expandable.is-open .dev-bar-reveal { max-height: 560px; opacity: 1; margin-top: 26px; }
.dev-bar-reveal-head { margin-bottom: 18px; }
.dev-bar-reveal-eyebrow {
  display: block;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 6px;
}
.dev-bar-reveal-head h5 { font-family: var(--ff-head); font-weight: 800; letter-spacing: -.01em; font-size: 1.1rem; margin: 0; color: var(--ink); }
.dev-bar-reveal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 20px; }
.dev-bar-pillar { background: linear-gradient(165deg, var(--card) 45%, rgba(232,220,196,.6)); padding: 24px 28px; }
.dev-bar-pillar .num {
  display: block;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.dev-bar-pillar h6 { font-family: var(--ff-head); font-weight: 800; letter-spacing: -.01em; font-size: 1rem; margin: 0 0 8px; color: var(--ink); }
.dev-bar-pillar p { margin: 0; font-size: .88rem; line-height: 1.65; color: var(--ink-soft); }
.dev-bar-reveal-intro { color: var(--ink-soft); font-size: .92rem; line-height: 1.6; max-width: 640px; margin: 0 0 22px; }

/* centered pull-quote with eyebrow-style rules above and below (ons-resultaat.html) */
.pull-quote.pull-quote-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 0;
  border-left: none;
  text-align: center;
}
.pull-quote.pull-quote-center::before,
.pull-quote.pull-quote-center::after {
  content: "";
  width: 120px;
  height: 1px;
  background: var(--accent-light);
  display: block;
  flex: none;
}

@media (prefers-reduced-motion: reduce) {
  .dev-bar-reveal, .dev-bar-toggle { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline::after { transition: none; }
  .timeline-item::before, .timeline-year { transition: none; }
  .timeline-item h3, .timeline-item p { transition: none; }
  .timeline-item::after { animation: none !important; }
}
@media (max-width: 980px) {
  .index-grid { grid-template-columns: 1fr; }
  .dev-bar-reveal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .dev-bar { flex-direction: column; text-align: center; padding: 24px; }
  .dev-bar-expandable .dev-bar-main { flex-direction: column; }
  .dev-bar-thumb { width: 104px; height: 78px; }
  .dev-bar-toggle { margin: 4px auto 0; }
  .dev-bar-content p { max-width: none; }
}

/* ---------- Responsive ---------- */

/* iPad landscape / small laptop: loosen the tightest grids before the full tablet breakpoint */
@media (max-width: 1120px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .step-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { gap: 16px; }
}

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature-media { aspect-ratio: 16/9; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-card { justify-content: flex-start; }
  .step-grid, .step-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .site-header { padding: 28px 16px 0; --header-pad-start: 28px; --header-pad-end: 18px; }
  .site-header .wrap { height: 68px; padding: 0 20px; }
  .brand-logo-img { height: 28px; }
  .hero { padding-top: 140px; }
  .hero.hero-small { padding-top: 116px; min-height: 0; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 20px 20px;
    gap: 4px;
  }
  .site-header.nav-open .main-nav a { padding: 14px 10px; }
  .p4-grid { grid-template-columns: 1fr; gap: 40px; }
  .p4-fact { flex: 0 0 50%; border-left: none; padding: 0 12px 0 0; }
  .p4-fact:nth-child(2n) { padding-left: 12px; padding-right: 0; }
}

@media (max-width: 700px) {
  .lang-switch { margin-left: 8px; padding-left: 8px; }
  .lang-trigger { padding: 7px 10px; font-size: .74rem; }
  .lang-menu { min-width: 164px; padding: 14px 16px; left: auto; right: 0; }
  .stat-row { margin-top: -30px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .step-grid, .step-grid.cols-5 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-dna { padding-top: 24px; }
  .story-merge { padding-top: 30px; }
  .section-hero-tight { padding-top: 30px; }
  .hero { padding: 130px 0 84px; }
  .hero.hero-small { padding-top: 112px; }
  .hero-skyline { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 22px; }
  .footer-nav-row { flex-direction: column; gap: 14px; padding: 16px 0; }
  .footer-newsletter-form input { min-width: 0; width: 100%; }
  .wrap { padding: 0 20px; }
}

/* ================================================================
   Language typefaces — swap only the typeface per language, keep
   every size/weight/line-height rule (which all reference these two
   custom properties) exactly the same across NL/EN/AR/ZH.
   ================================================================ */
html[lang="ar"] {
  --ff-head: "Noto Sans Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-body: "Noto Sans Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;
}
html[lang="zh"] {
  --ff-head: "Noto Sans SC", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-body: "Noto Sans SC", "Segoe UI", system-ui, -apple-system, sans-serif;
}
/* Manrope has no italic cut; Noto Sans Arabic has no oblique either — an artificial
   slant on Arabic script renders illegibly, so the pull-quote style stays upright. */
html[lang="ar"] .p4-quote blockquote { font-style: normal; }

/* ================================================================
   RTL support (Arabic). Flex/grid row order mirrors automatically
   under dir="rtl" — these rules only fix spots with a *physical*
   left/right value that direction:rtl does not touch on its own.
   ================================================================ */
html[dir="rtl"] { direction: rtl; }

/* Divider between the main nav and the language switcher: was a left
   margin/border because it sat on the right of a LTR row; in RTL that
   same divider sits on the switcher's other side. */
html[dir="rtl"] .lang-switch {
  margin-left: 0; padding-left: 0; border-left: none;
  margin-right: 14px; padding-right: 14px; border-right: 1px solid var(--line);
}
html[dir="rtl"] .lang-menu { left: auto; right: 0; }
@media (max-width: 860px) {
  html[dir="rtl"] .lang-switch { margin-left: 0; padding-left: 0; margin-right: 8px; padding-right: 8px; }
  html[dir="rtl"] .lang-menu { left: 0; right: auto; }
}

/* Text blocks that were pinned to the physical left read from the
   line's start (now the right) instead. */
html[dir="rtl"] .value-card { text-align: right; }

/* The "read more" arrow glyph is authored as ← in the Arabic copy itself
   (so it points the way the reader is moving); on hover it should nudge
   toward the reading direction too, i.e. left, not right. */
html[dir="rtl"] .card:hover .card-link .arrow { transform: translateX(-4px); }

/* Standalone numerals (years, counters, coordinates, phone numbers) stay
   in their own left-to-right run so bidi reordering can't scramble them
   — e.g. "20+" flipping to "+20" mid-paragraph. */
html[dir="rtl"] .stat-number,
html[dir="rtl"] .p4-fact b,
html[dir="rtl"] .dev-bar-pillar .num,
html[dir="rtl"] .timeline-year,
html[dir="rtl"] .photo-coord-badge,
html[dir="rtl"] .contact-row .value,
html[dir="rtl"] a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] .timeline-year { unicode-bidi: isolate; display: inline-block; }
