/* luuc.info
   Richting: "the page is the object". De site is drukwerk uit het openbaar vervoer:
   een persoonlijke vervoerskaart, een dienstregeling, een vertrekstaat, een reisschema,
   een brief en een kaartje om af te knippen.
   Type: Anton (koppen, hoofdletters) en Work Sans (tekst). Kleur: drie steentinten, inkt,
   en grijsgroen voor de actie. Geen lijnen, schaduwen of verlopen: vlakken en randen. */

:root {
  --paper: #f6f6f4;
  --bg: #eeecea;
  --surface: #e4e1dd;
  --field: #cdc3b6;
  --ink: #333231;
  --muted: #4f4c49;
  --accent: #5c6b54;
  --accent-strong: #46523f;
  --accent-ink: #ffffff;
  --on-ink: #f1efec;
  --on-ink-muted: #c9c4be;

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --text: "Work Sans", system-ui, sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --step-display: clamp(2.75rem, 1rem + 6.6vw, 6.5rem);

  --margin: clamp(16px, 3.4vw, 48px);
  --max: 1240px;
  --gap-section: clamp(56px, 7vw, 112px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --stagger-item: 70ms;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font: 400 var(--step-head)/0.9 var(--display); text-transform: uppercase; letter-spacing: -0.01em; text-wrap: balance; }
h3 { font: 600 var(--step-lead)/1.2 var(--text); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: 12px; top: 12px; z-index: 50; background: var(--ink); color: var(--paper); padding: 12px 16px; clip-path: inset(50%); }
.skip:focus { clip-path: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--margin); }
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 30ch; }
.muted { color: var(--muted); }
.loading::after { content: "…"; }
.link { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; text-decoration: underline; cursor: pointer; }

/* Knoppen: één vorm, recht, gevuld */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 var(--step-body)/1 var(--text); text-decoration: none; border: 0; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--accent-strong); } }

/* Banden: elke sectie heeft één vlakke ondergrond */
.band { padding: var(--gap-section) 0; }
.band--bg { background: var(--bg); }
.band--surface { background: var(--surface); }
.band--field { background: var(--field); }
.band--ink { background: var(--ink); color: var(--on-ink); }

/* ---------- Eerste scherm: de vervoerskaart ---------- */
.hero {
  min-height: 100svh;
  padding: clamp(20px, 5vh, 56px) var(--margin) clamp(20px, 4vh, 40px);
  display: grid; grid-template-rows: 1fr auto; gap: 28px;
  align-items: center; justify-items: center;
  background: var(--field);
}
.pass {
  width: min(100%, calc(var(--max) - 2 * var(--margin)));
  background: var(--paper);
  padding: clamp(20px, 3vw, 40px);
  display: grid; gap: clamp(24px, 3vw, 40px);
}
.pass__title {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.08em 0.3em;
  font: 400 var(--step-display)/0.86 var(--display);
  text-transform: uppercase; letter-spacing: -0.01em;
}
.pass__word { display: inline-block; white-space: nowrap; }
.pass__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 64px); align-items: stretch; }
.pass__text { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.pass__facts {
  display: grid; margin: 0; padding: 0; list-style: none;
  font: 400 clamp(1.75rem, 1rem + 2.6vw, 3.5rem)/1.12 var(--display); text-transform: uppercase; letter-spacing: 0.01em;
}
.pass__lead { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; margin: 0; }
.pass__photo { margin: 0; width: clamp(140px, 19vw, 248px); aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); }
.pass__photo img { width: 100%; height: 100%; object-fit: cover; }
.pass__foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px 24px; align-items: center; }
.pass__valid { margin: 0; font-size: var(--step-small); color: var(--muted); max-width: 26ch; }
.pass__ask { justify-self: end; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .pass__ask:hover { text-decoration-color: currentColor; } }
.hero__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-weight: 600; }
.hero__nav a { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; padding: 6px 0; }
.hero__nav a:hover { text-decoration-color: currentColor; }
.hero__lang { padding-left: 28px !important; }

/* ---------- Velletjes papier met gekartelde randen ---------- */
.sheet { position: relative; background: var(--paper); margin: 22px auto; }
.sheet::before, .sheet::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 14 14 0 28 14Z' fill='%23f6f6f4'/%3E%3C/svg%3E") repeat-x;
}
.sheet::before { top: -14px; }
.sheet::after { bottom: -14px; transform: scaleY(-1); }
.sheet__title { text-align: center; }
.sheet__note { text-align: center; color: var(--muted); margin: 16px auto 0; max-width: 40ch; font-size: var(--step-small); }

/* Diensten: de dienstregeling */
.sheet--menu { max-width: 880px; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px); }
.menu__group { margin-top: clamp(36px, 5vw, 48px); }
.menu__name { font: 400 var(--step-lead)/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 16px; color: var(--accent-strong); }
.menu__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.menu__line { display: flex; align-items: baseline; gap: 10px; font-weight: 600; }
.menu__label { flex: 0 1 auto; }
.menu__dots { flex: 1 1 24px; min-width: 24px; border-bottom: 4px dotted var(--field); transform: translateY(-4px); }
.menu__value { flex: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu__desc { display: block; margin-top: 4px; color: var(--muted); max-width: 46ch; }

/* ---------- AI-lab: plaat met echt gereedschap, uitleg ernaast ---------- */
.lab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; min-height: 72svh; }
.plate { background: var(--ink); color: var(--on-ink); aspect-ratio: 1; max-height: 640px; width: 100%; display: flex; flex-direction: column; overflow: hidden; }
.tool { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: clamp(18px, 2.4vw, 28px); }
.lab__text { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.lab__tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.lab__tabs [role="tab"] { background: none; border: 0; padding: 4px 0; font: 600 var(--step-body)/1.2 var(--text); color: var(--muted); cursor: pointer; text-decoration: underline 3px transparent; text-underline-offset: 8px; transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease; }
.lab__tabs [role="tab"][aria-selected="true"] { color: var(--ink); text-decoration-color: var(--accent); }
.lab__tabs [role="tab"]:hover { color: var(--ink); }
.lab__title { margin-bottom: 24px; }
.lab__desc { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; }
.lab__note { font-size: var(--step-small); color: var(--muted); max-width: 46ch; margin: 0; }
.lab__cells { display: grid; grid-template-columns: 1fr 1fr; }
.cell { min-height: 72px; display: flex; align-items: center; justify-content: center; padding: 12px 16px; text-align: center; font: 600 var(--step-body)/1.2 var(--text); border: 0; cursor: pointer; text-decoration: none; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cell:active { transform: scale(0.98); }
.cell--ink { background: var(--accent); color: var(--accent-ink); }
.cell--tone { background: var(--surface); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .cell--ink:hover { background: var(--accent-strong); } .cell--tone:hover { background: var(--field); } }

/* Het gereedschap zelf: eigen interfaceregels (data-ui) */
[data-ui] .chip { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: var(--on-ink); padding: 8px 12px; font: 400 0.9375rem/1.3 var(--text); cursor: pointer; text-align: left; transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease; }
[data-ui] .chip:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.chat { display: flex; flex-direction: column; flex: 1; min-height: 0; }
[data-ui] .chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.chat__title { font: 600 1rem/1.2 var(--text); }
[data-ui] .chat__reset { background: none; border: 1px solid rgba(255,255,255,.3); color: var(--on-ink-muted); padding: 4px 10px; font-size: 0.875rem; cursor: pointer; }
.chat__log { flex: 1; overflow-y: auto; padding: 16px 0; display: flex; flex-direction: column; gap: 12px; min-height: 120px; }
.msg { max-width: 92%; font-size: 1rem; line-height: 1.5; }
.msg p { margin: 0 0 .6em; } .msg p:last-child { margin: 0; }
.msg ul, .msg ol { margin: .2em 0 .6em; padding-left: 1.2em; }
.msg--ai { align-self: flex-start; }
.msg--user { align-self: flex-end; background: var(--accent); color: #fff; padding: 9px 13px; }
.msg--error { color: #ffc2b5; }
.msg__plan { margin-top: 10px; }
.msg__plan a { display: inline-block; background: var(--paper); color: var(--ink); padding: 9px 14px; font-weight: 600; text-decoration: none; }
.caret { display: inline-block; width: .45em; height: 1em; vertical-align: -.12em; background: var(--on-ink); margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 7px; height: 7px; background: var(--on-ink); animation: dot 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; }
.chat__form { display: flex; gap: 8px; align-items: stretch; }
[data-ui] .chat__form textarea { flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: var(--on-ink); padding: 12px; resize: none; font-size: 1rem; line-height: 1.4; max-height: 120px; }
.chat__form textarea::placeholder { color: var(--on-ink-muted); }
.chat__form textarea:focus { outline: none; border-color: var(--on-ink); }
.chat__send { background: var(--paper); color: var(--ink); border: 0; padding: 0 16px; font-weight: 600; cursor: pointer; }
.chat__send[disabled] { opacity: .5; cursor: progress; }

[data-ui] .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
[data-ui] .field > span { font-size: 0.9375rem; font-weight: 600; }
[data-ui] .field input, [data-ui] .field select, [data-ui] .field textarea { width: 100%; padding: 10px 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: var(--on-ink); font-size: 1rem; }
[data-ui] .field select option { color: var(--ink); }
[data-ui] .field input:focus, [data-ui] .field select:focus, [data-ui] .field textarea:focus { outline: none; border-color: var(--on-ink); }
.act__examples-label { font-size: 0.875rem; color: var(--on-ink-muted); margin: 0 0 8px; }
.act__examples { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.act__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.tool__submit { width: 100%; min-height: 48px; background: var(--paper); color: var(--ink); border: 0; font-weight: 600; cursor: pointer; transition: background-color var(--t-hover) ease; }
.tool__submit:hover { background: #fff; }
.tool__submit[disabled] { opacity: .55; cursor: progress; }

.scan__count { font-size: 0.875rem; color: var(--on-ink-muted); }
.scan__bar-wrap { height: 4px; background: rgba(255,255,255,.14); margin: 8px 0 20px; }
.scan__bar { height: 100%; background: var(--paper); transition: transform .35s var(--ease-out); transform-origin: left; }
.scan__q { font: 400 clamp(1.5rem, 1rem + 1.6vw, 2.25rem)/1 var(--display); text-transform: uppercase; margin: 0 0 18px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
[data-ui] .option { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: var(--on-ink); cursor: pointer; font-size: 0.9375rem; line-height: 1.25; }
.option:hover { border-color: rgba(255,255,255,.5); }
.option[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.option__box { width: 16px; height: 16px; border: 2px solid currentColor; flex: none; }
.option--one .option__box { border-radius: 50%; }
.option[aria-pressed="true"] .option__box { background: var(--accent); border-color: var(--accent); }
.scan__nav { display: flex; gap: 10px; margin-top: 18px; }
.scan__nav button { min-height: 44px; padding: 0 18px; border: 0; font-weight: 600; cursor: pointer; }
.scan__nav [data-next] { background: var(--paper); color: var(--ink); }
[data-ui] .scan__nav [data-back] { background: transparent; color: var(--on-ink); border: 1px solid rgba(255,255,255,.3); }
.scan__nav [disabled] { opacity: .45; cursor: not-allowed; }
.thinking { display: flex; align-items: center; gap: 12px; font-weight: 600; padding: 24px 0; }

.result { display: grid; gap: 18px; }
.result__top { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.score { width: 104px; height: 104px; background: var(--paper); color: var(--ink); display: grid; place-content: center; text-align: center; }
.score__n { font: 400 3rem/1 var(--display); }
.score__l { font-size: 0.75rem; font-weight: 600; }
.result__level { font: 400 1.75rem/1 var(--display); text-transform: uppercase; margin: 0 0 6px; }
.result h4 { font: 600 1rem/1.2 var(--text); margin: 0 0 8px; color: var(--on-ink-muted); }
.chances { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chance { padding: 12px 14px; background: rgba(255,255,255,.06); }
.chance h5 { font: 600 1rem/1.25 var(--text); margin: 0 0 4px; }
.chance p { margin: 0 0 8px; font-size: 0.9375rem; }
.meters { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8125rem; color: var(--on-ink-muted); }
.bars { display: inline-flex; gap: 2px; vertical-align: -1px; margin: 0 4px; }
.bars i { width: 5px; height: 11px; background: rgba(255,255,255,.2); }
.bars i.on { background: var(--paper); }
.watch { margin: 0; padding-left: 1.1em; font-size: 0.9375rem; }
.first { background: var(--paper); color: var(--ink); padding: 14px 16px; }
.first h4 { color: var(--ink); }
.first p { margin: 0; }
.result__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.result__actions a, .result__actions button { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; font-weight: 600; border: 0; cursor: pointer; text-decoration: none; }
.result__actions a { background: var(--paper); color: var(--ink); }
[data-ui] .result__actions button { background: transparent; color: var(--on-ink); border: 1px solid rgba(255,255,255,.3); }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ladder li { padding: 10px 8px; background: rgba(255,255,255,.06); font-size: 0.8125rem; font-weight: 600; color: var(--on-ink-muted); }
.ladder li.is-on { background: var(--paper); color: var(--ink); }
.act__role b { font-weight: 600; }
.act__list { margin: 0; padding-left: 1.1em; font-size: 0.9375rem; }
.act__list li { margin-bottom: 4px; }
.disclaimer { font-size: 0.8125rem; color: var(--on-ink-muted); margin: 0; }

/* ---------- AI Act: de vertrekstaat ---------- */
.sheet--board { max-width: 880px; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px); color: var(--ink); }
.board__group { margin-top: clamp(36px, 5vw, 52px); }
.board__name { font: 400 var(--step-lead)/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; text-align: center; margin-bottom: 18px; }
.board__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.board__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 24px; }
.board__label { font-weight: 600; }
.board__when { font: 400 var(--step-lead)/1 var(--display); text-transform: uppercase; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.board__item--soon .board__when { color: var(--accent-strong); }
.board__item--past .board__when { color: var(--muted); font: 600 var(--step-small)/1.4 var(--text); text-transform: none; }
.board__desc { grid-column: 1; color: var(--muted); font-size: var(--step-small); }
.act-news .board__item { grid-template-columns: minmax(0, 1fr) auto; }
.act-news a { color: var(--ink); font-weight: 600; text-decoration-color: var(--field); }
.act-news a:hover { text-decoration-color: currentColor; }
.board__close { text-align: center; margin: clamp(40px, 5vw, 56px) auto 0; font-size: var(--step-small); color: var(--muted); max-width: 52ch; }
.board__close a { color: var(--ink); font-weight: 600; font-size: var(--step-body); }

/* ---------- Werkwijze: reisschema op een bonnetje ---------- */
.trip { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.trip__head { position: sticky; top: 15vh; }
.trip__head h2 { margin-bottom: 28px; }
.slip { position: relative; background: var(--paper); padding: clamp(28px, 4vw, 44px) clamp(20px, 3.4vw, 40px) 0; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.slip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 0 14 14 28 0Z' fill='%23333231'/%3E%3C/svg%3E") repeat-x; }
.slip__group + .slip__group { margin-top: 28px; }
.slip__when { font: 600 var(--step-body)/1.2 var(--text); margin-bottom: 12px; }
.slip__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.slip__row { display: flex; align-items: baseline; gap: 10px; }
.slip__dur { flex: none; white-space: nowrap; }
.slip__result { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: 32px calc(-1 * clamp(20px, 3.4vw, 40px)) 0; padding: 14px clamp(20px, 3.4vw, 40px); background: var(--ink); color: var(--on-ink); font-weight: 600; }

/* ---------- Over mij: een brief ---------- */
.letter { position: relative; margin: 0 auto 14px; background: var(--paper); padding: clamp(32px, 5vw, 72px) clamp(20px, 5vw, 72px); }
.letter::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Ccircle cx='14' cy='0' r='14' fill='%23f6f6f4'/%3E%3C/svg%3E") repeat-x; }
.letter__title { margin-bottom: clamp(28px, 4vw, 48px); }
.letter__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.letter__photo { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.letter__photo img { width: 100%; height: 100%; object-fit: cover; }
.letter__body p { max-width: 58ch; }
.letter__sign { font: italic 400 1.375rem/1.2 var(--text); margin: 28px 0 4px; }
.letter__role { font-size: var(--step-small); color: var(--muted); }
.letter__tables { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
.letter__sub { font: 400 var(--step-lead)/1 var(--display); text-transform: uppercase; margin-bottom: 16px; }
.letter__sub--next { margin-top: 48px; }
.route { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--step-small); }
.route li { display: flex; justify-content: space-between; gap: 16px; }
.route__years { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.letter__strip { margin: clamp(40px, 5vw, 56px) calc(-1 * clamp(20px, 5vw, 72px)) calc(-1 * clamp(32px, 5vw, 72px)); padding: 20px clamp(20px, 5vw, 72px); background: var(--surface); border-top: 5px dotted var(--field); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: center; }
.letter__strip a { font-weight: 600; font-size: var(--step-lead); }

/* ---------- Nieuws ---------- */
.news-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.news__head h2 { margin-bottom: 28px; }
.news { display: grid; gap: 0; }
.item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 20px; padding: 20px 0; }
.item + .item { border-top: 6px solid var(--surface); }
.item__date { grid-row: span 3; font: 400 var(--step-lead)/1 var(--display); text-transform: uppercase; }
.item__tag { font-size: var(--step-small); font-weight: 600; color: var(--accent-strong); }
.item h3 { font: 600 var(--step-lead)/1.2 var(--text); }
.item h3 a { text-decoration: none; }
.item h3 a:hover { text-decoration: underline; }
.item p { margin: 0; }
.item__src { font-size: var(--step-small); color: var(--muted); }
.item__help { grid-column: 2; margin-top: 8px; padding: 10px 14px; background: var(--surface); display: grid; gap: 4px; }
.item__help p { margin: 0; font-size: var(--step-small); }
.item__help a { font-weight: 600; font-size: var(--step-small); color: var(--accent-strong); text-decoration-color: currentColor; }
.board__action { margin-top: 2px; }
.news__foot { font-size: var(--step-small); color: var(--muted); padding-top: 12px; }

/* ---------- Kennismaken: kaartje om af te knippen ---------- */
.coupon {
  position: relative; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  background: var(--accent); color: var(--accent-ink);
}
.coupon::before, .coupon::after { content: ""; position: absolute; left: 46%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--field); }
.coupon::before { top: -14px; }
.coupon::after { bottom: -14px; }
.coupon__left { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.coupon__title { font-size: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
.coupon__left p { font-size: var(--step-lead); line-height: 1.35; max-width: 26ch; margin: 0; }
.coupon__left .coupon__phone { font-size: var(--step-body); margin-top: 16px; }
.coupon__phone .link, .coupon__phone a { color: var(--accent-ink); font-weight: 600; }
[data-phone] a { font-weight: 600; font-variant-numeric: tabular-nums; }
.coupon__right { padding: clamp(28px, 4vw, 56px); border-left: 5px dotted var(--field); }
.planner__label { font-weight: 600; margin: 0 0 10px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 20px; }
.day { padding: 8px 4px; text-align: center; background: rgba(255,255,255,.14); border: 0; color: var(--accent-ink); cursor: pointer; transition: background-color var(--t-hover) ease; }
.day:hover { background: rgba(255,255,255,.24); }
.day[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.day__wd { display: block; font-size: 0.8125rem; }
.day__d { display: block; font: 400 1.5rem/1.1 var(--display); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.time { min-height: 44px; background: rgba(255,255,255,.14); border: 0; color: var(--accent-ink); font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; transition: background-color var(--t-hover) ease; }
.time:hover { background: var(--paper); color: var(--ink); }
.planner__chosen { font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.planner__chosen .link { color: var(--accent-ink); }
.coupon .field { margin-bottom: 10px; }
.coupon .field input, .coupon .field textarea { width: 100%; min-height: 52px; padding: 14px; border: 0; background: rgba(255,255,255,.88); color: var(--ink); font-size: 1rem; }
.coupon .field input::placeholder, .coupon .field textarea::placeholder { color: #5f5b57; }
.coupon__submit { width: 100%; min-height: 56px; background: var(--ink); color: var(--paper); border: 0; font-weight: 600; cursor: pointer; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.coupon__submit:hover { background: #1f1e1d; }
.coupon__submit:active { transform: scale(0.98); }
.form__msg { margin: 10px 0 0; font-weight: 600; min-height: 1.4em; }
.form__msg.is-error { color: #ffe0d6; }
.planner__done h3 { font: 400 2.25rem/1 var(--display); text-transform: uppercase; margin-bottom: 12px; }
.contact { margin-top: 24px; }
.contact summary { cursor: pointer; font-weight: 600; text-decoration: underline; }
.contact form { margin-top: 16px; }

/* ---------- Achterkant ---------- */
.foot { padding-bottom: clamp(48px, 6vw, 96px); }
.back { position: relative; background: var(--paper); margin-top: 24px; padding: clamp(40px, 5vw, 72px) clamp(20px, 5vw, 72px) 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 96px); }
.back::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24'%3E%3Ccircle cx='24' cy='24' r='24' fill='%23f6f6f4'/%3E%3C/svg%3E") repeat-x; }
.back__sign { font: 400 var(--step-head)/0.9 var(--display); text-transform: uppercase; margin-bottom: 20px; }
.back__left p:last-child { max-width: 40ch; }
.back__right { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.back__stamp { width: 96px; aspect-ratio: 3 / 4; object-fit: cover; padding: 6px; background: var(--surface); grid-column: 2; grid-row: 1; }
.back__address { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: var(--step-body); }
.back__address a { font-weight: 600; }
.back__imprint { grid-column: 1 / -1; text-align: center; font-size: var(--step-small); color: var(--muted); margin: 16px auto 0; max-width: 68ch; }

/* ---------- Wat ik zelf bouw ---------- */
.build { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.build__text h2 { margin-bottom: 24px; }
.build__text .lead { margin-bottom: 24px; }
.build__text > p { max-width: 56ch; }
.build__sub { margin: 32px 0 14px; }
.build__learn { font-size: var(--step-body); max-width: 52ch; }
.build__status { font-weight: 600; margin: 28px 0 16px; }
.build__figure { margin: 0; }
.build__figure figcaption { margin-top: 14px; font-size: var(--step-small); color: var(--ink); }
.build__shot { width: 100%; max-width: 360px; margin-left: auto; display: block; background: var(--paper); }
.build__figure figcaption { text-align: right; }

/* ---------- Beweging ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .pass { animation: pass-in 900ms var(--ease-expo) both; }
  .js .pass__word { animation: word-in 800ms var(--ease-expo) both; animation-delay: calc(180ms + var(--i) * 90ms); }
  .js .pass__facts[data-load], .js .pass__lead[data-load] { animation: rise 600ms var(--ease-out) both; animation-delay: var(--d); }
  .js .pass__photo { animation: open 1000ms var(--ease-in-out) 260ms both; }
  .js .pass__photo img { animation: settle 1400ms var(--ease-expo) 200ms both; }
  .js .pass__foot { animation: rise 600ms var(--ease-out) 560ms both; }
  .js .hero__nav { animation: rise 600ms var(--ease-out) 680ms both; }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal] [data-row] { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-expo); transition-delay: calc(120ms + var(--r, 0) * 50ms); }
  .js [data-reveal].is-in [data-row] { opacity: 1; transform: none; }
  .js [data-reveal] .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 800ms var(--ease-in-out) 60ms; }
  .js [data-reveal] .shutter img { transform: scale(1.12); transition: transform 1200ms var(--ease-soft) 60ms; }
  .js [data-reveal].is-in .shutter { clip-path: inset(0); }
  .js [data-reveal].is-in .shutter img { transform: none; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .letter__photo img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes pass-in { from { opacity: 0; transform: translateY(28px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes word-in { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes open { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes settle { from { transform: scale(1.1); } to { transform: none; } }
@keyframes drift { from { transform: scale(1.06) translateY(-3%); } to { transform: scale(1.06) translateY(3%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Tablet en telefoon ---------- */
@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: 32px; padding-bottom: 32px; align-items: start; }
  .lab, .trip, .news-wrap, .build { grid-template-columns: 1fr; }
  .build__shot { margin-left: 0; }
  .build__figure figcaption { text-align: left; }
  .lab { min-height: 0; }
  .plate { aspect-ratio: auto; height: min(600px, 74svh); max-height: none; }
  .lab__text { order: -1; }
  .trip__head { position: static; }
  .letter__top { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .coupon { grid-template-columns: 1fr; }
  .coupon::before, .coupon::after { left: auto; top: 46%; margin: 0; }
  .coupon::before { left: -14px; }
  .coupon::after { right: -14px; bottom: auto; }
  .coupon__right { border-left: 0; border-top: 5px dotted var(--field); }
}
@media (max-width: 640px) {
  .hero { padding-top: 16px; }
  .pass__title { justify-content: flex-start; font-size: clamp(2.5rem, 12vw, 3.25rem); }
  .pass__body { grid-template-columns: 1fr; }
  .pass__photo { width: 46%; order: -1; }
  .pass__foot { grid-template-columns: 1fr; justify-items: stretch; }
  .pass__ask { justify-self: start; }
  .btn { width: 100%; }
  .hero__nav { gap: 4px 18px; font-size: 1rem; }
  .hero__lang { padding-left: 0 !important; }
  .sheet--menu, .sheet--board { margin-left: -6px; margin-right: -6px; }
  .menu__line { flex-wrap: wrap; }
  .menu__label { flex: 1 1 100%; }
  .menu__dots { display: none; }
  .menu__value { color: var(--accent-strong); font-weight: 600; }
  .lab__cells { grid-template-columns: 1fr; }
  .options, .act__row, .ladder { grid-template-columns: 1fr 1fr; }
  .board__item { grid-template-columns: 1fr; }
  .board__when { text-align: left; }
  .board__desc { grid-column: auto; }
  .slip__row { flex-wrap: wrap; }
  .slip__row .menu__dots { display: none; }
  .slip__row span:first-child { flex: 1 1 60%; }
  .letter__top, .letter__tables, .back, .back__right { grid-template-columns: 1fr; }
  .letter__photo { max-width: 260px; }
  .back__stamp { grid-column: 1; grid-row: auto; width: 72px; }
  .back__address { grid-row: auto; }
  .item { grid-template-columns: 1fr; }
  .item__help { grid-column: auto; }
  .item__date { grid-row: auto; }
  .days { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Persoonlijke pagina: rustiger, warmer lettertype (Fraunces) ---------- */
.personal { --display: "Fraunces", Georgia, "Times New Roman", serif; }
.personal .pass__title, .personal .pass__word { text-transform: none; }
.personal .pass__title { justify-content: flex-start; gap: 0 0.25em; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.personal h2,
.personal .pass__facts,
.personal .letter__sub,
.personal .back__sign,
.personal .item__date,
.personal .coupon__title { text-transform: none; letter-spacing: -0.02em; }
.personal h2, .personal .coupon__title, .personal .back__sign { font-weight: 500; line-height: 1; }
.personal .pass__facts { font-weight: 400; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); line-height: 1.25; }
.personal .letter__sub, .personal .item__date { font-weight: 600; }
