/* Uzuyo · website
   Kleuren, typografie en vormgeving volgens Brandguide versie 2.0 */

/* Lettertypen, zelf gehost (SIL Open Font License, zie assets/fonts/LICENTIE.txt).
   Jost is variabel: één bestand bevat zowel Regular 400 als Medium 500. */
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Alleen de vier tekens 渦 夜 代 鵜 */
@font-face {
  font-family: "Noto Serif JP"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/noto-serif-jp-uzuyo.woff2") format("woff2");
  unicode-range: U+4EE3, U+591C, U+6E26, U+9D5C;
}

:root {
  /* Primair */
  --indigo: #0F1E36;
  --papier: #F4F2EE;
  --inktzwart: #111111;
  --goud: #D4AF37;
  /* Ondersteunend */
  --nachtblauw: #24385A;
  --mist: #D9DEE6;
  --steen: #5B6472;
  --vlam: #B04A1A;
  --wit: #FFFFFF;

  --font: "Jost", "Futura", "Century Gothic", Arial, sans-serif;
  --font-kanji: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --max: 1180px;
  --gutter: clamp(16px, 5vw, 48px);
  --section: clamp(80px, 11vw, 144px);
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--inktzwart);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Nadruk met Medium, nooit onderstrepen */
strong { font-weight: 500; }

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

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--indigo); color: var(--papier);
  padding: 8px 16px; border-radius: var(--radius); z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--vlam); outline-offset: 3px; }

/* ---------- Typografie ---------- */

h1, h2, h3 {
  font-weight: 500;
  color: var(--indigo);
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(48px, 8vw, 96px); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.12; }
h3 { font-size: 21px; line-height: 1.35; }

.dot { color: var(--goud); }

/* Elke sectie opent met een label in kapitalen boven de kop */
.label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steen);
  margin-bottom: 20px;
}
.label--goud { color: #8A6D12; } /* donker goud, leesbaar op licht */
.on-dark .label, .label--light { color: var(--goud); }

.lead {
  font-size: clamp(19px, 1.9vw, 22px);
  line-height: 1.6;
  max-width: 40em;
  margin-top: 24px;
}

.muted { color: var(--steen); }
.small { font-size: 15px; }

/* ---------- Knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--vlam);
  color: var(--wit);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 26px;
  border-radius: 4px;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: #9A3F14; transform: translateY(-1px); }
.btn--small { padding: 12px 18px; font-size: 12px; }
/* Rustige variant: zo staat er per vlak maar één Vlam-actie */
.btn--ghost { background: transparent; color: var(--indigo); box-shadow: inset 0 0 0 1px var(--indigo); }
.btn--ghost:hover { background: var(--indigo); color: var(--papier); }

.link {
  font-weight: 500;
  color: var(--indigo);
  text-decoration: none;
  border-bottom: 1px solid var(--goud);
  padding-bottom: 2px;
}
.link:hover { border-color: var(--indigo); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 242, 238, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--mist); }

.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand img { height: 40px; width: auto; }   /* > 120px breed, minimaal formaat */

.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) {
  text-decoration: none;
  font-size: 15px;
  color: var(--indigo);
  position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--goud);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer;
  color: var(--indigo);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--papier);
    border-bottom: 1px solid var(--mist);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav a:not(.btn) { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--mist); font-size: 18px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Secties ---------- */

.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section--white { background: var(--wit); padding-top: var(--section) !important; }
.section--dark { background: var(--indigo); color: var(--papier); padding-top: var(--section) !important; }
.section--dark h2, .section--dark h3 { color: var(--papier); }
.section--dark .muted { color: #A9B3C4; }

.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }

/* Dunne lijnen in Goud of Indigo om te scheiden */
.rule-top { border-top: 1px solid var(--goud); padding-top: 22px; }

/* ---------- Subpagina's ---------- */

.page-intro { padding-top: clamp(56px, 8vw, 104px); }
.page-intro h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.08; }
.quote--intro { margin-top: 0; }
.more { margin-top: clamp(36px, 4vw, 48px); }

/* Scrollverhaal op de verhaalpagina: het logo staat vast, de stappen schuiven voorbij.
   Zonder JavaScript of met beperkte beweging staan de stappen gewoon onder elkaar. */
.ls-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ls-logo { margin: 0; }
.ls-logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.hl-draw { stroke: var(--goud); stroke-width: 7; stroke-linecap: round; }
.hl-arc { fill: none; stroke: var(--indigo); stroke-width: 3; }
.hl-label { font-family: var(--font); font-size: 34px; font-weight: 500; fill: var(--indigo); }
.hl-area { fill: var(--goud); fill-opacity: .22; stroke: var(--goud); stroke-width: 5; }
.hl-pulse { fill: none; stroke: var(--goud); stroke-width: 3; opacity: 0; }
.ls-progress { display: none; }
.ls-texts { display: grid; gap: 40px; }
.ls-step h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.ls-step p { color: #2A2F38; }
.ls-promise { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; color: var(--indigo) !important; margin-top: 8px; }

/* Geen dubbele witruimte tussen het scrollverhaal en het kennismakingsblok */
.logo-story { padding-bottom: 0; }
.logo-story + .section { padding-top: clamp(24px, 4vw, 48px) !important; }

/* Met JavaScript: vaste bühne, één stap tegelijk */
.ls-on .ls-scroller { --stage: min(calc(100vh - 76px), 440px); height: calc(var(--stage) + 150vh); position: relative; }
.ls-on .ls-stage {
  position: sticky; top: max(76px, calc(50vh + 38px - var(--stage) / 2)); height: var(--stage);
  display: flex; align-items: center; overflow: hidden;
}
.ls-on .ls-texts { position: relative; display: block; min-height: 300px; }
.ls-on .ls-step {
  position: absolute; inset: 0 0 auto 0;
  opacity: 0; transform: translateY(48px); pointer-events: none;
  transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.ls-on .ls-step.is-past { transform: translateY(-48px); }
.ls-on .ls-step.is-current { opacity: 1; transform: none; pointer-events: auto; }
.ls-on .hl { opacity: 0; transition: opacity .6s ease; }
/* Het logo wordt gedimd zodat het gemarkeerde detail opvalt, bij de belofte komt het terug */
.ls-on .ls-img { opacity: .22; transition: opacity .6s ease; }
.ls-on [data-active="3"] .ls-img { opacity: 1; }
/* De hoek tekent zich in beeld */
.ls-on .hl-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.2,.7,.2,1) .15s; }
.ls-on [data-active="0"] .hl-draw, .ls-on [data-active="3"] .hl-draw { stroke-dashoffset: 0; }
/* Opening en kern: een zachte pulserende ring */
.ls-on .hl-pulse { transform-box: fill-box; transform-origin: center; animation: hl-pulse 1.8s ease-out infinite; }
@keyframes hl-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
.ls-on [data-active="3"] .hl-pulse { animation: none; }
.ls-on [data-active="0"] .hl-hoek,
.ls-on [data-active="1"] .hl-opening,
.ls-on [data-active="2"] .hl-kern,
.ls-on [data-active="3"] .hl { opacity: 1; }

.ls-on .ls-progress {
  display: flex; gap: 22px; list-style: none; padding: 0; margin: 40px 0 0;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #A7AEB9;
}
.ls-progress button {
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit;
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  border-bottom: 1px solid transparent; transition: color .4s ease, border-color .4s ease;
}
.ls-progress button:hover { color: var(--nachtblauw); }
.ls-on [data-active="0"] .ls-progress li:nth-child(1) button,
.ls-on [data-active="1"] .ls-progress li:nth-child(2) button,
.ls-on [data-active="2"] .ls-progress li:nth-child(3) button,
.ls-on [data-active="3"] .ls-progress li:nth-child(4) button { color: var(--indigo); border-bottom-color: var(--goud); }

/* Scroll-hint onderin de bühne, verdwijnt bij de laatste stap */
.ls-hint { display: none; }
.ls-on .ls-hint {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--steen);
  transition: opacity .4s ease;
}
.ls-on .ls-hint svg { animation: hint-bob 1.8s ease-in-out infinite; }
.ls-on [data-active="3"] .ls-hint { opacity: 0; }
@keyframes hint-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 860px) {
  .ls-grid { grid-template-columns: 1fr; gap: 28px; }
  .ls-on .ls-scroller { --stage: min(calc(100vh - 76px), 620px); }
  .ls-on .ls-stage { align-items: flex-start; padding-top: 24px; }
  .ls-on .ls-texts { min-height: 360px; }
  .ls-on .ls-progress { margin-top: 20px; gap: 14px; font-size: 11px; }
}

/* Ervaringspagina: eerdere ervaring */
.earlier { margin-top: clamp(64px, 8vw, 104px); }
.earlier h2 { margin-bottom: clamp(28px, 4vw, 40px); }
.earlier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .earlier-grid { grid-template-columns: 1fr 1fr; } }
.earlier-grid article { background: var(--papier); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.earlier-grid h3 { margin-bottom: 10px; }
.earlier-grid p { color: #2A2F38; }
@media (max-width: 760px) { .earlier-grid { grid-template-columns: 1fr; } }

/* Klikbare bedrijfsnamen in het spoor en de lijst */
.sp-link { cursor: pointer; }
.sp-link:hover .sp-name, .sp-link:focus .sp-name { fill: var(--nachtblauw); text-decoration: underline; text-decoration-color: var(--goud); text-underline-offset: 4px; }
.rm-head h3 a { text-decoration: none; border-bottom: 1px solid var(--goud); }
.rm-head h3 a:hover { border-color: var(--indigo); }

/* ---------- Hero ---------- */

.hero { padding: clamp(56px, 9vw, 120px) 0 var(--section); overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero-mark { justify-self: end; width: min(100%, 440px); }
.hero-mark img { width: 100%; animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }

@keyframes settle {
  from { opacity: 0; transform: rotate(-24deg) scale(.94); }
  to   { opacity: 1; transform: none; }
}

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 40px; }
.pill {
  border: 1px solid var(--indigo);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  color: var(--indigo);
  background: transparent;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { order: -1; justify-self: start; width: 132px; }
}

/* ---------- Past bij je ---------- */

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit-card { border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.fit-card--yes { background: var(--wit); }
.fit-card--no { border: 1px solid var(--mist); }

/* Open rondjes in Goud als opsommingsteken */
.list-ring li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}
.list-ring li:last-child { margin-bottom: 0; }
.list-ring li::before {
  content: "";
  position: absolute; left: 0; top: .48em;
  width: 12px; height: 12px;
  border: 1.5px solid var(--goud);
  border-radius: 50%;
}

.core {
  margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--goud);
  padding-top: 36px;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 40px;
}
/* Kern in één zin als indigo vlak met het diapositieve beeldmerk */
.core--dark {
  background: var(--indigo); border-top: 0; border-radius: var(--radius);
  padding: clamp(36px, 5vw, 64px);
}
.core--dark .label { color: var(--goud); }
.core--dark p { color: var(--papier) !important; }
.core p { font-size: clamp(19px, 2vw, 23px); line-height: 1.55; max-width: 34em; color: var(--indigo); }
.core img { width: 160px; justify-self: center; }

@media (max-width: 760px) {
  .fit { grid-template-columns: 1fr; }
  .core { grid-template-columns: 1fr; }
  .core img { width: 112px; grid-row: 1; }
}

/* ---------- Filosofie ---------- */

.philo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
/* Het logo start gecentreerd naast de tekst en blijft daarna in het midden
   van het zichtbare deel onder de menubalk (76px) staan */
.philo-mark {
  --pm: min(340px, 26vw);
  align-self: center;
  position: sticky; top: calc(50vh + 38px - var(--pm) / 2);
}
.philo-svg { display: block; width: var(--pm); height: auto; overflow: hidden; }
.pm-bird { will-change: transform, opacity; }

/* Het symbool waar je nu over leest licht op, de rest wordt even rustiger */
.philo-motion .symbols li { opacity: .45; transition: opacity .5s ease; }
.philo-motion .symbols li.is-active { opacity: 1; }
.philo-motion .symbols li h3 { transition: color .5s ease; }

.symbols li { border-top: 1px solid var(--goud); padding: 26px 0 30px; }
.symbols h3 { margin-bottom: 8px; }
.symbols p { color: #2A2F38; max-width: 36em; }

.quote {
  margin: clamp(64px, 8vw, 104px) 0 0;
  background: var(--indigo);
  color: var(--papier);
  border-radius: var(--radius);
  padding: clamp(36px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.quote blockquote {
  margin: 0;
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.55;
  max-width: 34em;
  position: relative; z-index: 1;
}
.quote figcaption {
  margin-top: 28px;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--goud);
  position: relative; z-index: 1;
}

/* Beeldmerk als rustig watermerk op donker */
.watermark {
  position: absolute;
  right: -6%; bottom: -28%;
  width: clamp(240px, 34vw, 460px);
  opacity: .11;
  pointer-events: none;
}

@media (max-width: 860px) {
  .philo { grid-template-columns: 1fr; }
  .philo-mark {
    position: sticky; top: 76px; z-index: 2;
    background: var(--papier);
    padding: 12px 0 16px; margin: 0 calc(-1 * var(--gutter));
    display: flex; justify-content: center;
    border-bottom: 1px solid var(--mist);
  }
  .philo-mark { align-self: auto; }
  .philo-svg { width: 120px; }
}

/* ---------- De naam ---------- */

.kanji { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kanji-card {
  background: var(--wit);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 52px) 20px;
  text-align: center;
}
.section--white .kanji-card { background: var(--papier); }
.kanji-card .glyph {
  font-family: var(--font-kanji);
  font-size: clamp(64px, 9vw, 112px);
  line-height: 1;
  color: var(--indigo);
  font-weight: 500;
}
.kanji-card .roman { display: block; margin-top: 22px; font-weight: 500; font-size: 19px; color: var(--indigo); }
.kanji-card .meaning { display: block; color: var(--steen); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); margin-top: clamp(40px, 5vw, 56px); }
.two-col h3 { margin-bottom: 10px; }
.two-col p { color: #2A2F38; }

.statement {
  margin-top: clamp(56px, 7vw, 88px);
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.45;
  color: var(--indigo);
  max-width: 30em;
}

@media (max-width: 640px) {
  .kanji { grid-template-columns: 1fr 1fr; }
  .kanji-card:first-child { grid-column: 1 / -1; }
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Wie ik ben ---------- */

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: clamp(56px, 7vw, 80px) 0 48px; }
.stat { border-top: 1px solid var(--goud); padding-top: 22px; }
.stat strong { display: block; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; color: var(--indigo); }
.stat span { color: var(--steen); }

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Wat ik doe ---------- */

.services { display: grid; gap: 20px; }
.service {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--wit);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
}
.service h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; }
.service p { color: #2A2F38; }
.service .list-ring { padding-top: 6px; }
.service--dark { background: var(--indigo); color: var(--papier); }
.service--dark h3 { color: var(--papier); }
.service--dark p { color: #C9D0DC; }
.service--dark .label { color: var(--goud); }

.note { margin-top: 24px; color: var(--steen); font-size: 15px; }

@media (max-width: 760px) {
  .service { grid-template-columns: 1fr; }
}

/* ---------- Ervaring ---------- */

.cases { border-top: 1px solid var(--indigo); }
.case {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  gap: clamp(20px, 5vw, 72px);
  padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--indigo);
}
.case h3 { font-size: clamp(26px, 3vw, 34px); }
.case .label { margin-bottom: 12px; }
.case p { color: #2A2F38; max-width: 38em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 14px; color: var(--steen); }
.tags li::before { content: "·"; margin-right: 18px; color: var(--goud); }
.tags li:first-child::before { display: none; }

@media (max-width: 760px) {
  .case { grid-template-columns: 1fr; }
}

/* Roadmap: per bedrijf een balk op een tijdas, mijlpalen als open gouden rondjes */
.roadmap { --head: 230px; --years: 9; margin-bottom: clamp(56px, 7vw, 88px); }
.rm-intro { color: #2A2F38; max-width: 40em; margin-bottom: 36px; }
.rm-axis, .rm-row { display: grid; grid-template-columns: var(--head) minmax(0, 1fr); column-gap: 40px; }
.rm-axis { padding-bottom: 12px; border-bottom: 1px solid var(--mist); }
.rm-axis::before { content: ""; }
.rm-axis { grid-template-columns: var(--head) repeat(var(--years), minmax(0, 1fr)); }
.rm-axis span { font-size: 13px; font-weight: 500; letter-spacing: .18em; color: var(--steen); }

.rm-row { padding: 28px 0; border-bottom: 1px solid var(--mist); align-items: start; }
.rm-head h3 { font-size: 21px; margin-bottom: 4px; }
.rm-head p { font-size: 15px; color: var(--steen); line-height: 1.5; }

.rm-track { position: relative; min-height: 40px; padding-top: 10px; }
.rm-bar {
  position: absolute; top: 10px; height: 3px; border-radius: 2px; background: var(--indigo);
  left: calc(var(--from) / var(--years) * 100%);
  width: calc((var(--to) - var(--from)) / var(--years) * 100%);
}
.rm-bar::before {   /* startpunt */
  content: ""; position: absolute; left: -1px; top: -6px;
  width: 15px; height: 15px; border-radius: 50%; background: var(--indigo);
}
.rm-row:not(.rm-row--ongoing) .rm-bar::after {   /* eindpunt */
  content: ""; position: absolute; right: -1px; top: -6px;
  width: 15px; height: 15px; border-radius: 50%; background: var(--wit); border: 3px solid var(--indigo); box-sizing: border-box;
}
/* Spoor (desktop): mijn route als metrokaart, zijsporen voor overnames en fusies */
.spoor { display: none; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.sp-year { font-size: 13px; font-weight: 500; letter-spacing: .18em; fill: var(--steen); }
.sp-axis { stroke: var(--mist); stroke-width: 1; }
.sp-line { fill: none; stroke: var(--indigo); stroke-width: 4; stroke-linecap: round; }
.sp-fade { fill: none; stroke-width: 4; }
.sp-pre { fill: none; stroke: var(--steen); stroke-opacity: .5; stroke-width: 4; stroke-linecap: round; }
.sp-stub { fill: none; stroke: var(--steen); stroke-width: 2; stroke-dasharray: 2 5; stroke-linecap: round; }
.sp-start { fill: var(--indigo); }
.sp-end { fill: var(--wit); stroke: var(--indigo); stroke-width: 3; }
.sp-uzuyo { fill: none; stroke: var(--goud); stroke-width: 4; stroke-linecap: round; }
.sp-uzuyo-start { fill: var(--goud); }
.sp-station { fill: var(--papier); stroke: var(--indigo); stroke-width: 2.5; }
.sp-merge { fill: var(--wit); stroke: var(--goud); stroke-width: 2; }
.sp-name { font-size: 20px; font-weight: 500; fill: var(--indigo); }
.sp-sub { font-size: 14px; fill: var(--steen); }
.sp-stubname { font-size: 15px; font-weight: 500; fill: var(--indigo); }
.sp-kind { font-size: 13px; font-weight: 400; fill: var(--steen); }

@media (min-width: 1000px) {
  .spoor { display: block; }
  .roadmap .rm-axis, .roadmap .rm-row { display: none; }
}

/* Voorloper: de videoafdeling binnen Loyals, lichter en zonder eigen begin- of eindpunt */
.rm-bar--pre { background: var(--steen); opacity: .45; }
.rm-bar--pre::before, .rm-bar--pre::after, .rm-bar--cont::before { display: none; }
.rm-row--ongoing .rm-bar { background: linear-gradient(90deg, var(--indigo) 85%, rgba(15, 30, 54, 0)); }

.rm-marks { list-style: none; margin: 0; padding: 0; position: relative; min-height: 124px; }
.rm-marks li {
  position: absolute; top: 18px; left: calc(var(--at) / var(--years) * 100%);
  width: calc(100% / var(--years) - 6px); max-width: 160px;
  font-size: 14px; line-height: 1.45; color: #2A2F38;
  padding-top: 18px;
}
.rm-marks li::before {
  content: ""; position: absolute; left: 0; top: -24px;
  width: 15px; height: 15px; border-radius: 50%;
  border: 1.5px solid var(--goud); background: var(--wit); box-sizing: border-box;
}
.rm-marks b { display: block; font-weight: 500; color: var(--indigo); letter-spacing: .04em; }

@media (max-width: 999px) {
  .rm-axis { display: none; }
  .rm-row { grid-template-columns: 1fr; row-gap: 16px; border-top: 0; }
  .rm-row:first-of-type { border-top: 1px solid var(--mist); }
  .rm-track { min-height: 0; padding-top: 0; }
  .rm-bar { display: none; }
  .rm-marks { min-height: 0; }
  .rm-marks li { position: relative; top: auto; left: auto; width: auto; max-width: none; padding: 0 0 12px 28px; }
  .rm-marks li::before { top: 4px; }
  .rm-marks b { display: inline; margin-right: 6px; }
}

/* ---------- Samenwerken ---------- */

.section-head:has(+ .ways-intro) { margin-bottom: 32px; }
.ways-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-bottom: clamp(40px, 5vw, 56px); color: #2A2F38; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way { background: var(--wit); border-radius: var(--radius); padding: clamp(32px, 4vw, 48px); border-top: 2px solid transparent; }
.way--accent { border-top-color: var(--goud); }
.way h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.way p { color: #2A2F38; }

@media (max-width: 1000px) {
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ways-intro { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--indigo);
  color: var(--papier);
  border-radius: var(--radius);
  padding: clamp(40px, 7vw, 88px);
}
.cta h2 { color: var(--papier); max-width: 14em; }
.cta p { font-size: clamp(18px, 1.9vw, 21px); color: #C9D0DC; max-width: 32em; margin: 24px 0 40px; }
.cta .watermark { right: -4%; bottom: -36%; opacity: .13; }
.cta > * { position: relative; z-index: 1; }
.cta .watermark { position: absolute; z-index: 0; }
.cta-alt { margin-top: 20px; font-size: 15px; color: #A9B3C4; }
.cta-alt a { color: var(--papier); text-decoration: none; border-bottom: 1px solid var(--goud); }

/* ---------- Privacyverklaring ---------- */
.legal > * { max-width: 46em; }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #2A2F38; }
.legal ul { margin: 0 0 1em; }
.legal a { color: var(--indigo); text-decoration-color: var(--goud); text-underline-offset: 3px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--indigo); color: #A9B3C4; padding: 72px 0 40px; font-size: 15px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--nachtblauw); }
.footer-top img { height: 44px; width: auto; }
.footer-cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.footer-cols .label { margin-bottom: 14px; color: var(--goud); }
.footer-cols a { color: var(--papier); text-decoration: none; }
.footer-cols a:hover { color: var(--goud); }
.footer-cols li { margin-bottom: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; letter-spacing: .08em; }
.footer-bottom .closing { color: var(--papier); }
.footer-bottom a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.footer-bottom a:hover { color: var(--papier); border-color: var(--goud); }

/* ---------- Foto's ---------- */

.photo, .hero-photo, .cta-photo { margin: 0; }
.photo img, .hero-photo img, .cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo picture, .hero-photo picture, .cta-photo picture { display: block; border-radius: var(--radius); overflow: hidden; background: var(--mist); aspect-ratio: 4 / 5; }

/* Hero: tekst breed, foto compact ernaast */
.hero .wrap:has(.hero-photo) { grid-template-columns: minmax(0, 1fr) 380px; }
.hero-photo { justify-self: end; width: 100%; }

/* Wie ik ben: compacte foto links, tekst rechts */
.about-intro { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-intro .about { grid-template-columns: 1fr; gap: 0; }
.about-intro .section-head { margin-bottom: 28px; }

/* Wat ik doe: kop links, foto rechts */
.head-photo { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 88px); align-items: center; margin-bottom: clamp(48px, 6vw, 72px); }
.head-photo .section-head { margin-bottom: 0; }
.photo--wide picture { aspect-ratio: 1 / 1; }
.photo--wide img { object-position: 50% 62%; }

/* Kennismaking: foto binnen het blok, naast de tekst */
.cta--photo { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta-photo img { object-position: 40% 35%; }

@media (max-width: 1000px) {
  .hero .wrap:has(.hero-photo) { grid-template-columns: minmax(0, 1fr) 300px; }
  .about-intro { grid-template-columns: 280px minmax(0, 1fr); }
  .head-photo { grid-template-columns: minmax(0, 1fr) 260px; }
  .cta--photo { grid-template-columns: minmax(0, 1fr) 240px; }
}

@media (max-width: 860px) {
  .hero .wrap:has(.hero-photo), .about-intro, .head-photo, .cta--photo { grid-template-columns: 1fr; }
  .hero-photo { justify-self: stretch; }
  .hero-photo picture, .about-intro .photo picture, .cta-photo picture { aspect-ratio: 1 / 1; }
  .hero-photo img { object-position: 50% 18%; }
  .about-intro .photo img { object-position: 50% 30%; }
  .cta-photo { order: -1; }
}

/* ---------- Rustige reveal bij scrollen ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mark img { animation: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
