/* Dutch Architect — basis: reset, typografie, grid, componenten */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
picture img, .nojs-img { width: 100%; height: 100%; object-fit: cover; }
.no-js picture[data-lazy] { display: none; } /* zonder JS toont <noscript> het beeld */
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--dot); color: var(--ink); }

/* Focus: altijd zichtbaar, 2px + offset; op donker in papierkleur */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.lagen :focus-visible, .cta :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible,
.site-header[data-theme="over-hero"] :focus-visible, .hero :focus-visible { outline-color: var(--paper); }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 12px 20px; border-radius: var(--radius-ui);
  background: var(--ink); color: var(--paper); font-size: var(--fs-small);
  transform: translateY(-160%);
}
.skip-link:focus-visible { transform: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Layout */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

/* Typografie */
.h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: var(--fs-h2); line-height: 1; letter-spacing: -.025em;
  text-wrap: balance;
}
.label {
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 400;
  text-transform: uppercase; letter-spacing: .08em; line-height: 1.5;
}
.label--muted { color: var(--ink-2); }
.label--night { color: var(--on-night-2); }
p { max-width: 65ch; }

/* De punt — het enige accent in de interface */
.dot {
  display: inline-block; width: .5em; height: .5em; border-radius: 50%;
  background: var(--dot); flex: none;
}

/* Pijl */
.i-arrow { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.1em; overflow: visible; }
.i-arrow--back { transform: scaleX(-1); }

/* Tekstlink: lijn die zich tekent, geen verschuiving */
.link {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 44px; font-size: var(--fs-small);
  background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(50% + .85em) / 100% 1px;
  transition: background-size var(--dur-ui) var(--ease-out);
}
.link:hover { background-size: 0 1px; background-position: 100% calc(50% + .85em); }
.link--light { color: var(--paper); }

/* Knoppen — pil, rond als de punt. Hover = kleur, geen beweging. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius-ui);
  font-size: var(--fs-small); font-weight: 500; letter-spacing: .005em; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out);
}
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1rem; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2a2c30; }
.btn--dot { background: var(--dot); color: var(--ink); }
.btn--dot:hover { background: #c3e3ee; }
.btn--outline-light { border-color: rgba(241, 240, 236, .4); color: var(--on-night); }
.btn--outline-light:hover { border-color: var(--on-night); background: rgba(241, 240, 236, .06); }
.btn:active { background-image: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.08)); }
/* Highlight: een zachte lichtstreep glijdt bij hover/focus één keer traag over de knop. Niets verschuift. */
.btn { position: relative; overflow: hidden; isolation: isolate; --sheen: rgba(255, 255, 255, .26); }
.btn--dot { --sheen: rgba(255, 255, 255, .7); }
.btn--outline-light { --sheen: rgba(241, 240, 236, .2); }
.btn::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 25%, var(--sheen) 50%, transparent 75%);
  transform: translateX(-110%);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(110%); transition: transform 1.2s var(--ease-inout); }
@media (prefers-reduced-motion: reduce) {
  .btn:hover::after, .btn:focus-visible::after { transform: none; background: var(--sheen); opacity: .35; }
}

.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--hairline-strong); display: grid; place-items: center;
  transition: background-color var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out), opacity var(--dur-ui);
}
.round-btn:hover { border-color: var(--ink); }
.round-btn[disabled] { opacity: .3; cursor: default; }
.round-btn[disabled]:hover { border-color: var(--hairline-strong); }

.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: var(--radius-ui); border: 1px solid var(--hairline-strong);
  font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em;
  transition: background-color var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-out);
}
.chip:hover { border-color: var(--ink); background: var(--paper-2); }

/* Nummerdevice: cijfer in een dunne cirkel met hairlines naar beide randen */
.eyebrow {
  display: grid; grid-template-columns: minmax(16px, 1fr) auto auto 12fr; align-items: center;
  gap: 14px; margin-bottom: clamp(32px, 5vw, 64px);
}
.eyebrow__line { height: 1px; background: var(--hairline-strong); transform-origin: left center; }
.eyebrow__line:first-child { transform-origin: right center; }
.eyebrow__num {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hairline-strong);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em;
}
.eyebrow__text { font-family: var(--font-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .08em; }
.eyebrow--night .eyebrow__line, .eyebrow--night .eyebrow__num { border-color: var(--hairline-night); }
.eyebrow--night .eyebrow__line { background: var(--hairline-night); }

/* Placeholder voor ontbrekende content — bewust zichtbaar */
.placeholder {
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 12px, #e4e2db 12px 13px);
  display: grid; place-items: center; text-align: center; padding: 16px;
  outline: 1px dashed #b9b6ad; outline-offset: -1px;
}
.placeholder__label { color: #8a3a1f; background: var(--paper); padding: 4px 8px; }

/* Reveals — alleen als JS draait; zonder JS staat alles er gewoon */
.js-ready [data-reveal] { opacity: 0; transform: translateY(24px); }
.js-ready [data-reveal-img] { clip-path: inset(100% 0 0 0); }
.js-ready [data-reveal-line] .eyebrow__line { transform: scaleX(0); }
.split-line { display: block; }
.split-mask { display: block; overflow: clip; padding-bottom: .14em; margin-bottom: -.14em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-ready [data-reveal] { transform: none; }
  .js-ready [data-reveal-img] { clip-path: none; }
  .js-ready [data-reveal-line] .eyebrow__line { transform: none; }
}
