/*
  Uniframe Systems
  Basis: Verwol-achtig (Open Sans, wit + lichtgrijs, merkblauw).
  Verfijnd met taste-skill (geen eyebrows, nummering, kaartrijen, lijnen of schaduwen in rust),
  Impeccable (craft floor: contrast, focus, selectie, browser-oppervlakken)
  en Emil Kowalski (sterke ease-out, druk-feedback, korte stagger, reduced motion).
*/
@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/open-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/open-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-display: swap; src: url("/assets/fonts/open-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 800; font-display: swap; src: url("/assets/fonts/open-sans-800.woff2") format("woff2"); }

:root {
  /* kleur: één grond, één inkt, één accent */
  --ground: #ffffff;
  --band: #f2f3f4;         /* toonstap voor vlakken, nooit een lijn */
  --ink: #18243b;          /* navy uit het logo: alle lopende tekst */
  --ink-soft: #4d5669;     /* alleen voor secundaire notities */
  --brand: #406eea;        /* blauw uit het logo; wit erop haalt AA (4.5:1) */
  --brand-press: #3560cf;
  --brand-light: #7d9df2;  /* blauw op donkere grond */
  --night: #18243b;

  /* type: groot, klein, weinig ertussen */
  --display: clamp(44px, 7.2vw, 104px);
  --h2: clamp(32px, 4.2vw, 56px);
  --h3: clamp(22px, 2vw, 28px);
  --small: 15px;
  --lead: clamp(18px, 1.5vw, 21px);

  --gutter: clamp(16px, 3vw, 32px);
  --section: clamp(96px, 12vw, 176px);
  --radius: 4px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  font-family: "Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  accent-color: var(--brand);
  caret-color: var(--brand);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); }
section[id] { scroll-margin-top: 72px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--brand); color: #fff; }
a { color: var(--brand); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: var(--h2); color: var(--brand); }
h3 { font-size: var(--h3); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

/* Header: transparant over de foto, effen balk zodra je scrolt */
.site-header { position: fixed; inset: 0 0 auto; z-index: 10; transition: background-color 200ms ease, box-shadow 200ms ease; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; }
.wordmark { font-size: 17px; font-weight: 800; letter-spacing: 0.12em; white-space: nowrap; } /* taste-skill-ignore: gespatieerd woordmerk is het logo */
.wordmark .frame { color: var(--brand-light); }
@media (max-width: 400px) { .wordmark { font-size: 14px; letter-spacing: 0.08em; } .brand img { width: 30px; height: 30px; } }
.site-header.solid .wordmark .frame, .site-header.always-solid .wordmark .frame { color: var(--brand); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: var(--small); }
.nav a:not(.btn):hover { text-decoration: underline; }
.site-header.solid, .site-header.always-solid {
  background: var(--ground);
  box-shadow: 0 1px 12px rgba(24, 36, 59, 0.1); /* taste-skill-ignore: vaste balk zweeft boven de inhoud */
}
.site-header.solid .brand, .site-header.always-solid .brand,
.site-header.solid .nav a:not(.btn), .site-header.always-solid .nav a:not(.btn) { color: var(--ink); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Knoppen: vlak, één kleur, voelbaar bij indrukken */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--radius);
  background: var(--brand); color: #fff !important; text-decoration: none !important;
  font-family: inherit; font-weight: 700; font-size: 17px; line-height: 1.2; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-light { background: #fff; color: var(--ink) !important; }
.btn-light:active { background: var(--band); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--brand-press); }
  .btn-light:hover { background: var(--band); }
}
.nav .btn { min-height: 40px; padding: 8px 18px; }

/* Hero: de foto van het pand, schermvullend */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; background: var(--night);
  padding: 120px 0 clamp(48px, 8vw, 96px);
}
.hero-photo {
  position: absolute; inset: 0;
  background: var(--night) url("/assets/hero.jpg?v=20261013b") 45% 42% / cover no-repeat;
  animation: settle 1600ms var(--ease-out) both;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 21, 36, 0.5) 0%, rgba(14, 21, 36, 0.1) 30%, rgba(14, 21, 36, 0.25) 55%, rgba(14, 21, 36, 0.85) 100%); /* taste-skill-ignore: neutrale scrim onder tekst op een foto */
}
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero .wrap { position: relative; width: 100%; }
.hero h1 { font-size: var(--display); max-width: 19ch; color: #fff; letter-spacing: -0.04em; line-height: 0.98; }
.hero .lead { font-size: var(--lead); max-width: 40ch; margin: 24px 0 32px; color: #fff; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy > * { animation: rise 900ms var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: 120ms; }
.hero-copy > :nth-child(2) { animation-delay: 220ms; }
.hero-copy > :nth-child(3) { animation-delay: 320ms; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Verhaal: kop links, tekst rechts */
.story { padding: var(--section) 0; }
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-grid p { font-size: var(--lead); max-width: 52ch; padding-top: 8px; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }

/* Uitspraak op een heel vlak in merkblauw */
.together { background: var(--brand); color: #fff; padding: var(--section) 0; }
.statement { font-size: clamp(22px, 2.3vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; max-width: 46ch; margin: 0; }

/* Binnenkort + contact */
.soon { padding: var(--section) 0; }
.soon-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.soon .statement { color: var(--ink); }
.reach { list-style: none; display: grid; gap: 8px; margin: 40px 0 32px; padding: 0; font-size: var(--h3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.reach a { color: var(--brand); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .reach a:hover { text-decoration: underline; } }
.soon .photo { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--night) url("/assets/hero.jpg?v=20261013b") 74% 62% / 210% auto no-repeat; }
@media (max-width: 860px) { .soon-grid { grid-template-columns: 1fr; } }

/* Footer: een afsluiting, geen sitemap */
.site-footer { background: var(--night); color: #fff; padding: clamp(64px, 8vw, 112px) 0 32px; overflow: hidden; }
.site-footer .cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px clamp(40px, 8vw, 120px); font-size: var(--small); }
.site-footer strong { display: block; margin-bottom: 4px; }
.site-footer a { color: #fff; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { text-decoration: underline; } }
.site-footer .name { font-size: min(var(--display), 8.6vw); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; margin: clamp(56px, 8vw, 112px) 0 24px; white-space: nowrap; }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--small); color: #b8bec6; }
.site-footer .legal a { color: #b8bec6; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Losse pagina's */
.page { padding: 152px 0 var(--section); max-width: 760px; }
.page h1 { font-size: clamp(40px, 5vw, 64px); color: var(--brand); margin-bottom: 32px; }
.page h2 { font-size: 22px; letter-spacing: -0.01em; color: var(--ink); margin: 2em 0 0.5em; }

/* Beweging: inhoud staat altijd zichtbaar; alleen met JS en zonder reduced-motion komt hij binnen */
.js .reveal > * { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.in > * { opacity: 1; transform: none; }
.js .reveal.in > *:nth-child(2) { transition-delay: 70ms; }
.js .reveal.in > *:nth-child(3) { transition-delay: 140ms; }
.js .reveal.in > *:nth-child(4) { transition-delay: 210ms; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo, .hero-copy > * { animation: none; }
  .js .reveal > * { transform: none; transition: opacity 300ms ease; }
  .btn:active { transform: none; }
}
