/* ZenWave Technology – homepage
   Eén stylesheet, geen bouwstap. Kleuren en maten staan bovenaan als variabelen. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 300; font-style: normal; font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --oceaan: #123E55;        /* donkere vlakken */
  --oceaan-lijn: #2E5A70;
  --oceaan-tekst: #C8D5DC;
  --oceaan-zacht: #A9BBC6;
  --accent: #7CC4F5;        /* accent op donker */
  --accent-donker: #1463B8; /* accent op licht */
  --inkt: #0B1B26;
  --tekst: #2A3A44;
  --tekst-zacht: #3E4E58;
  --label: #4A5B66;
  --mist: #EFF5F7;
  --lijn: #D3DEE3;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --breedte: 1200px;
  --rand: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 16px; }
body { margin: 0; background: #fff; color: var(--inkt); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--accent-donker); }
a:hover { color: #0E4A8C; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--breedte); margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--inkt); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4; color: var(--label); }
.label.accent { color: var(--accent); line-height: 1; }
.label.accent-dark { color: var(--accent-donker); }

h1 strong, h2 strong { font-weight: 500; }

/* ---------- Opening ---------- */

.hero { position: relative; overflow: hidden; background: var(--oceaan); color: #fff; }

.sea { position: absolute; left: 36%; top: 110px; width: 64%; height: 440px; display: block; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.sea path { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

.topbar { position: relative; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
  padding-top: 28px; padding-bottom: 28px; }
.topbar::after { content: ""; position: absolute; left: var(--rand); right: var(--rand); bottom: 0; height: 1px; background: var(--oceaan-lijn); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: #fff; text-decoration: none;
  font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: 0.28em; text-transform: uppercase; }
.brand:hover { color: #fff; }
.topbar nav { display: flex; flex-wrap: wrap; gap: 8px 36px; font-size: 15px; }
.topbar nav a { color: #fff; text-decoration: none; padding: 12px 0; }
.topbar nav a:hover { color: var(--accent); }
.taal { display: inline-flex; align-items: center; padding-left: 14px; border-left: 1px solid var(--oceaan-lijn);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; }
.taal a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; color: var(--oceaan-zacht); text-decoration: none; }
.taal a:hover { color: #fff; }
.taal a[aria-current="true"] { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }

.intro { position: relative; display: flex; flex-direction: column; gap: 32px; padding-top: 96px; padding-bottom: 80px; }
h1 { max-width: 980px; font-weight: 300; font-size: clamp(40px, 5.8vw, 86px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.lead { max-width: 640px; font-size: 20px; line-height: 1.55; color: var(--oceaan-tekst); }

.author { display: flex; align-items: center; gap: 16px; padding-top: 16px; }
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.author-name { font-weight: 600; font-size: 16px; line-height: 1.4; }
.author-role { font-size: 15px; line-height: 1.4; color: var(--oceaan-zacht); }

/* ---------- Eigen werk ---------- */

.work { position: relative; padding-bottom: 104px; }
.tabbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 32px; border-bottom: 1px solid var(--oceaan-lijn); }
.tabbar .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tabs { display: flex; flex-wrap: wrap; }
.tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  margin: 0 36px -1px 0; padding: 16px 0; min-height: 48px; font: 500 16px/1.4 var(--sans); color: var(--oceaan-zacht); cursor: pointer; }
.tab:hover { color: #fff; }
.tab[aria-pressed="true"] { color: #fff; border-bottom-color: var(--accent); }

.progress { height: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); opacity: 0.6; transform: scaleX(0); transform-origin: left center; }
.progress-fill.is-running { animation: voortgang 8s linear both; }
@keyframes voortgang { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.slide { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: stretch; padding-top: 40px; }
.js .slides { min-height: 460px; }
.js .slide { display: none; }
.js .slide.is-active { display: flex; animation: invloeien 0.6s ease-out both; }
@keyframes invloeien { from { opacity: 0; } to { opacity: 1; } }

.shot { flex: 7 1 520px; min-width: 0; align-self: flex-start; display: block; border: 1px solid var(--oceaan-lijn); border-radius: 10px; overflow: hidden; }
.shot picture { display: block; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 810; object-fit: cover; object-position: top; }
.slide-text { flex: 5 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.slide-text h3 { font-weight: 400; font-size: 32px; line-height: 1.12; letter-spacing: -0.02em; }
.slide-text p { font-size: 16px; line-height: 1.55; color: var(--oceaan-tekst); }
.slide-text p strong { color: #fff; font-weight: 600; }

.button { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; margin-top: auto;
  color: #fff; border: 1px solid var(--accent); border-radius: 8px; padding: 14px 22px; font-weight: 500; font-size: 15px; text-decoration: none; }
.button:hover { color: var(--inkt); background: var(--accent); }

/* ---------- De brug ---------- */

.bridge { display: flex; flex-wrap: wrap; gap: 40px 96px; padding-top: 112px; padding-bottom: 96px; }
.bridge-head { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.bridge h2, .roles h2 { font-weight: 300; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.bridge-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 18px; color: var(--tekst); }

.waves { flex: 1 1 100%; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
.waves svg { display: block; width: 100%; height: 230px; }
.waves path { fill: none; stroke: var(--accent-donker); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.waves figcaption { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; border-top: 1px solid var(--lijn); padding-top: 20px;
  font-size: 16px; color: var(--tekst-zacht); }
.waves figcaption > div { flex: 1 1 260px; min-width: 0; }
.waves figcaption > div:last-child { text-align: right; }
.waves-title { font-weight: 500; font-size: 23px; letter-spacing: -0.01em; color: var(--inkt); margin-bottom: 4px; }

/* ---------- Beschikbaar voor ---------- */

.roles { background: var(--mist); }
.roles > .wrap { display: flex; flex-direction: column; gap: 56px; padding-top: 104px; padding-bottom: 104px; }
.roles-head { display: flex; flex-direction: column; gap: 16px; }
.roles-head p { font-size: 18px; color: var(--tekst); }
.roles-list { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.role { flex: 1 1 280px; min-width: 0; border-top: 1px solid var(--inkt); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.role h3 { font-weight: 500; font-size: 23px; letter-spacing: -0.01em; }
.role p { font-size: 16px; color: var(--tekst-zacht); }

/* ---------- Slot ---------- */

.contact { background: var(--oceaan); color: #fff; }
.contact > .wrap { display: flex; flex-direction: column; gap: 56px; padding-top: 72px; padding-bottom: 40px; }
.contact-line { max-width: 980px; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; letter-spacing: -0.01em; }
.contact-line a { color: #fff; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.contact-line a:hover { color: var(--accent); }
.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: var(--oceaan-zacht);
  border-top: 1px solid var(--oceaan-lijn); padding-top: 24px; }

/* ---------- Kleinere schermen ---------- */

@media (max-width: 1000px) {
  /* Smaller dan een laptop past de zee niet naast de kop. Erachter maakt hij het druk, dus krijgt hij een eigen strook
     tussen de opening en het eigen werk. */
  .hero { display: flex; flex-direction: column; }
  .hero > .wrap { width: 100%; }
  .topbar { order: 0; }
  .intro { order: 1; }
  .sea { order: 2; position: static; width: 100%; height: 150px; opacity: 0.8; margin-bottom: 40px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%); }
  .work { order: 3; }
  .roles-list { gap: 32px 32px; }
  .role { flex-basis: 200px; }
}
@media (max-width: 720px) {
  :root { --rand: 20px; }
  body { font-size: 16px; }
  .alleen-breed { display: none; } /* minder tekst op een telefoon */

  /* Topbalk: alleen merk en taal */
  .topbar { gap: 0 12px; padding-top: 16px; padding-bottom: 16px; }
  .brand { letter-spacing: 0.18em; font-size: 12.5px; gap: 10px; min-height: 44px; }
  .brand img { width: 26px; height: 26px; }
  .taal { order: 2; padding-left: 0; border-left: 0; margin-right: -10px; }
  .topbar nav { display: none; } /* de pagina is kort; op een telefoon scrol je */

  /* Opening */
  .intro { gap: 28px; padding-top: 72px; padding-bottom: 40px; }
  .sea { height: 120px; margin-bottom: 32px; }
  h1 { font-size: clamp(30px, 9.2vw, 42px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: wrap; }
  h1 strong { display: block; }
  .lead { font-size: 17.5px; line-height: 1.65; }
  .author { align-items: center; gap: 14px; padding-top: 16px; }
  .author img { width: 52px; height: 52px; }
  .author-name { font-size: 15.5px; }
  .author-role { font-size: 14px; }

  /* Eigen werk: twee kaarten naast elkaar die je opzij veegt; de tabbladen wijzen aan welke je ziet */
  .work { padding-bottom: 88px; }
  .tabbar { flex-direction: column-reverse; align-items: stretch; gap: 0; border-bottom: 0; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--oceaan-lijn); }
  .tab { margin: 0 0 -1px; padding: 16px 4px; font-size: 15.5px; text-align: center; }
  .progress { display: none; }

  .slides { position: relative; display: flex; flex-direction: column; gap: 56px; padding-top: 32px; }
  .js .slides { flex-direction: row; gap: calc(var(--rand) * 2); min-height: 0; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); scrollbar-width: none;
    margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand); padding-bottom: 4px; }
  .js .slides::-webkit-scrollbar { display: none; }

  .slide, .js .slide, .js .slide.is-active { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 28px; padding: 0; animation: none; }
  .js .slide { flex: 0 0 100%; scroll-snap-align: start; } /* één kaart tegelijk, geen randje van de volgende */

  /* Een eigen uitsnede voor de telefoon (teguro-mobiel.jpg, inspirator-mobiel.jpg, via <picture>), 4:3 */
  .shot { flex: none; align-self: stretch; border-radius: 12px; }
  .shot img { aspect-ratio: 4 / 3; }

  .slide-text { flex: 1 1 auto; gap: 18px; padding: 0; }
  .slide-text h3 { font-size: 26px; line-height: 1.15; }
  .slide-text p { font-size: 16.5px; line-height: 1.65; }
  .button { align-self: stretch; justify-content: center; margin-top: auto; padding: 14px 20px; }
  .slide-text .button { margin-top: 14px; }

  /* De brug */
  .bridge { gap: 32px; padding-top: 96px; padding-bottom: 88px; }
  .bridge-head { gap: 18px; flex-basis: 100%; }
  .bridge h2, .roles h2 { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.1; }
  .bridge-text { flex-basis: 100%; gap: 22px; font-size: 17px; line-height: 1.7; }
  .waves { gap: 24px; padding-top: 32px; }
  .waves svg { height: 150px; }
  .waves figcaption { gap: 24px; padding-top: 24px; font-size: 15.5px; line-height: 1.6; }
  .waves figcaption > div { flex-basis: 100%; }
  .waves figcaption > div:last-child { text-align: left; }
  .waves-title { font-size: 20px; margin-bottom: 6px; }

  /* Beschikbaar voor */
  .roles > .wrap { gap: 48px; padding-top: 96px; padding-bottom: 96px; }
  .roles-head { gap: 16px; }
  .roles-head p { font-size: 16.5px; }
  .roles-list { gap: 0; }
  .role { flex-basis: 100%; padding: 28px 0 32px; gap: 10px; }
  .role:last-child { border-bottom: 1px solid var(--inkt); }
  .role h3 { font-size: 21px; }
  .role p { font-size: 16.5px; line-height: 1.65; }

  /* Slot */
  .contact > .wrap { gap: 56px; padding-top: 80px; padding-bottom: 32px; }
  .contact-line { font-size: 18px; line-height: 1.7; }
  .contact-line a { overflow-wrap: anywhere; }
  .legal { flex-direction: column; gap: 4px; padding-top: 18px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .slide.is-active { animation: none; }
  .progress-fill.is-running { animation: none; }
}

/* ---------- Tekstpagina (privacy) ---------- */

.legal a { color: inherit; text-underline-offset: 3px; }
.legal a:hover { color: #fff; }

.tekst-kop { background: var(--oceaan); color: #fff; }
.tekst-titel { display: flex; flex-direction: column; gap: 24px; padding-top: 88px; padding-bottom: 88px; }
.tekst-titel h1 { font-size: clamp(38px, 5.2vw, 76px); }

.tekst { padding-top: 40px; padding-bottom: 96px; color: var(--tekst); }
.tekst-rij { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 96px; padding: 56px 0; border-bottom: 1px solid var(--lijn); }
.tekst-rij h2 { display: flex; flex-direction: column; gap: 14px; font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.02em; color: var(--inkt); }
.tekst-inhoud { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.65; }
.tekst-punt { display: flex; flex-direction: column; gap: 6px; }
.tekst-punt + .tekst-punt { margin-top: 14px; }
.tekst-punt h3 { font-weight: 600; font-size: 17px; color: var(--inkt); }

.tekst-slot { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-top: 40px; font-size: 14px; color: var(--label); }
.tekst-terug { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--inkt); text-decoration: none; }
.tekst-terug:hover { color: var(--accent-donker); }

.tekstpagina .contact > .wrap { padding-top: 0; }
.tekstpagina .legal { border-top: 0; padding-top: 32px; }

@media (max-width: 720px) {
  .tekst-titel { gap: 20px; padding-top: 56px; padding-bottom: 56px; }
  .tekst-titel h1 { font-size: clamp(32px, 9.6vw, 42px); }
  .tekst-titel h1 strong { display: inline; } /* 'Privacyverklaring' is één woord */
  .tekst { padding-top: 16px; padding-bottom: 64px; }
  .tekst-rij { grid-template-columns: 1fr; gap: 18px; padding: 40px 0; }
  .tekst-rij h2 { font-size: 24px; gap: 10px; }
  .tekst-inhoud { font-size: 16.5px; }
}

/* ---------- Pagina niet gevonden ---------- */

.niet-gevonden { min-height: 100vh; display: flex; flex-direction: column; background: var(--oceaan); color: #fff; }
.niet-gevonden main { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-top: 64px; padding-bottom: 96px; }
.niet-gevonden h1 { font-size: clamp(34px, 5vw, 64px); }
.niet-gevonden p { max-width: 560px; font-size: 18px; color: var(--oceaan-tekst); }
.niet-gevonden p a { color: #fff; text-decoration-color: var(--accent); text-underline-offset: 5px; }
