/* studio andere koek
   Petrol uit de vleugels van het kolibrie-logo, goud uit de borst.
   Eén raster: kop links (kolom 1–4), inhoud rechts (kolom 5–12). */

@font-face {
  font-family: "Big Shoulders";
  src: url("../fonts/big-shoulders-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Kleur — licht (standaard): petrol als inkt, goud als accent */
  color-scheme: light;
  --bg: #eef3f1;
  --surface: #d8eaec;
  --field: #c3e0e5;
  --ink: #0e2f36;
  --soft: #45606a;
  --accent: #42aac8;
  --accent-ink: #0e2f36;
  --button-hover: #347991;
  --button-hover-ink: #ffffff;
  --gold: #f4d66e;
  --on-gold: #0e2f36;
  --paper: #ffffff;
  --line: rgba(14, 47, 54, .55);
  --link-line: rgba(52, 121, 145, .6);
  --glow: rgba(14, 47, 54, .16);
  --error: #b3123f;
  --art-light: #ffffff;
  --art-shade: #d3dfe2;
  --art-dark: #a3b9be;
  --k1: #266074; --k2: #42aac8; --k3: #f9cb0a; --k4: #f68d14; --k5: #ef2f33; --k6: #d41452;

  /* Typografie: vijf maten */
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: .875rem;
  --step-body: clamp(1.0625rem, 1rem + .2vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.15rem + .8vw, 1.875rem);
  --step-head: clamp(2.25rem, 1.4rem + 3vw, 4rem);
  --step-display: clamp(2.6rem, 11vw, 8.5rem);

  /* Ruimte */
  --margin: clamp(20px, 3vw, 40px);
  --gutter: clamp(16px, 2vw, 32px);
  --section: clamp(56px, 8vw, 120px);
  --radius: 4px;

  /* Beweging */
  --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);
  --t-press: 140ms;
  --t-hover: 180ms;
}

/* Kleur — donker: petrol als grond, goud als inkt.
   Volgt de licht/donker-instelling van het besturingssysteem; data-theme kan het forceren. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e2f36;
  --surface: #1a4650;
  --field: #1a4650;
  --ink: #f4d66e;
  --soft: #bdb68e;
  --accent: #f4d66e;
  --accent-ink: #0e2f36;
  --button-hover: #ffffff;
  --button-hover-ink: #0e2f36;
  --line: rgba(244, 214, 110, .55);
  --link-line: rgba(244, 214, 110, .5);
  --glow: rgba(244, 214, 110, .25);
  --error: #ff8f9c;
  --art-light: #e8e8e7;
  --art-shade: #c5d3d6;
  --art-dark: #94adb3;
  --k1: #42aac8; --k2: #e8e8e7; --k3: #f9cb0a; --k4: #f68d14; --k5: #ef2f33; --k6: #d41452;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e2f36;
    --surface: #1a4650;
    --field: #1a4650;
    --ink: #f4d66e;
    --soft: #bdb68e;
    --accent: #f4d66e;
    --accent-ink: #0e2f36;
    --button-hover: #ffffff;
    --button-hover-ink: #0e2f36;
    --line: rgba(244, 214, 110, .55);
    --link-line: rgba(244, 214, 110, .5);
    --glow: rgba(244, 214, 110, .25);
    --error: #ff8f9c;
    --art-light: #e8e8e7;
    --art-shade: #c5d3d6;
    --art-dark: #94adb3;
  --k1: #42aac8; --k2: #e8e8e7; --k3: #f9cb0a; --k4: #f68d14; --k5: #ef2f33; --k6: #d41452;
  }
}

/* Donkere band (werkwijze): petrol met goud, ook midden in de lichte versie */
.band-dark {
  --bg: #0e2f36;
  --surface: #0e2f36;
  --field: #1a4650;
  --ink: #f4d66e;
  --soft: #bdb68e;
  --accent: #f4d66e;
  --accent-ink: #0e2f36;
  --line: rgba(244, 214, 110, .55);
  --link-line: rgba(244, 214, 110, .5);
  --art-light: #e8e8e7;
  --art-shade: #c5d3d6;
  --art-dark: #94adb3;
  --k1: #42aac8; --k2: #e8e8e7; --k3: #f9cb0a; --k4: #f68d14; --k5: #ef2f33; --k6: #d41452;
  background: var(--bg); color: var(--ink);
}
:root[data-theme="dark"] .band-dark { --bg: #061c21; --surface: #061c21; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band-dark { --bg: #061c21; --surface: #061c21; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--soft) var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: var(--step-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; caret-color: var(--ink);
}
::selection { background: var(--ink); color: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .2em; transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-weight: 800; text-wrap: balance; }
h2 { font-family: var(--display); font-size: var(--step-head); line-height: .92; text-transform: uppercase; letter-spacing: 0; }
h3 { font-family: var(--display); font-size: var(--step-lead); line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 200; background: var(--ink); color: var(--bg); padding: 8px 14px; }

/* Knoppen en links: één vorm, één hoekstraal */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 24px; border: 0; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  font: 600 var(--step-body)/1 var(--text); text-decoration: none; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(.97); }
.button:disabled { opacity: .6; cursor: progress; transform: none; }
.button-small { padding: 10px 16px; font-size: var(--step-small); }
@media (pointer: coarse) { .button-small { padding: 15px 16px; } }
.button-ink { background: var(--on-gold); color: var(--gold); }
.link { text-decoration: underline; text-decoration-color: var(--link-line); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--button-hover); color: var(--button-hover-ink); }
  .button-ink:hover { background: #1d5562; color: #ffffff; }
  .link:hover, .section a:hover { text-decoration-color: currentColor; }
}

/* Navigatie */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 72px; padding: 0 var(--margin); background: var(--bg);
}
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark img { width: 34px; height: auto; }
.mark span { font-weight: 600; font-size: var(--step-body); letter-spacing: -.01em; }
.bar-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); font-size: var(--step-small); }
.bar-nav a:not(.button) { text-decoration: none; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .bar-nav a:not(.button):hover { text-decoration: underline; } }
@media (max-width: 760px) { .bar-nav a:not(.button) { display: none; } }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 7vw, 96px) var(--margin);
}
.sentence {
  font-family: var(--display); font-size: var(--step-display); font-weight: 800;
  line-height: .9; letter-spacing: 0; text-transform: uppercase; text-wrap: wrap;
}
.sentence .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.sentence [data-line] { display: block; }
.kleuren > span:nth-child(1) { color: var(--k1); }
.kleuren > span:nth-child(2) { color: var(--k2); }
.kleuren > span:nth-child(3) { color: var(--k3); }
.kleuren > span:nth-child(4) { color: var(--k4); }
.kleuren > span:nth-child(5) { color: var(--k5); }
.kleuren > span:nth-child(6) { color: var(--k6); }
.hero .lead { max-width: 36em; margin: clamp(32px, 4vw, 48px) 0 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* Origami-bosje rechts in de hero: staat op de rand met de volgende sectie, naast (niet achter) de tekst */
.grove {
  position: absolute; right: var(--margin); bottom: 0; z-index: 0;
  aspect-ratio: 380 / 382; pointer-events: none;
  --g1: #4f8ea3; --g2: #5a9fb4; --g3: #6db3c7; --g4: #93cde0;   /* lichte tinten van de logoblauwen */
  /* onder de eerste regel van de zin blijven, of op brede schermen ernaast groeien
     (de eerste regel is ±1400px breed zodra de koptekst zijn maximale maat heeft) */
  height: max(min(50svh, 32vw, 520px), min(100vw - 1460px, 76svh, 1000px));
}
:root[data-theme="dark"] .grove { --g1: #1d4651; --g2: #266074; --g3: #347991; --g4: #42aac8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .grove { --g1: #1d4651; --g2: #266074; --g3: #347991; --g4: #42aac8; } }
.grove svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hero > :not(.grove) { position: relative; z-index: 1; }
@media (max-width: 899px) { .grove { display: none; } }
.g-frond { transform-box: view-box; transform-origin: var(--o); }

/* ── SECTIES: één raster ── */
.section {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter); row-gap: 40px; align-items: start;
  padding: var(--section) var(--margin);
}
.section-alt { background: var(--surface); }
.section-head { grid-column: 1 / 5; position: relative; }
.section-body { grid-column: 5 / -1; }
.section-body > p { max-width: 36em; }
@media (max-width: 860px) {
  .section-head, .section-body { grid-column: 1 / -1; }
}

/* Diensten */
.services { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 4vw, 56px); }
.service { display: grid; grid-template-columns: clamp(88px, 10vw, 152px) minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 44px); align-items: center; }
.service-art { position: relative; aspect-ratio: 4 / 3; }
.service-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.service h3 { margin-bottom: 14px; }
.service p { margin: 0; max-width: 40em; }
@media (max-width: 640px) { .service { grid-template-columns: 1fr; gap: 12px; align-items: start; } .service-art { width: 112px; } }

/* Werkwijze */
.statement { font-size: var(--step-lead); line-height: 1.3; max-width: 30em; margin: 0; }
.steps {
  grid-column: 1 / -1; list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gutter);
}
.step-art { position: relative; width: 100%; max-width: 220px; aspect-ratio: 4 / 3; margin-bottom: 20px; }
.step-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.step h3 { margin-bottom: 12px; }
.step p { margin: 0; max-width: 24em; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step-art { max-width: 180px; } }

.gains {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  margin-top: clamp(32px, 5vw, 64px); padding-top: clamp(32px, 5vw, 64px);
}
.gains-head { grid-column: 1 / 5; position: relative; }
.gains-list { grid-column: 5 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px var(--gutter); }
.gains-list li { position: relative; padding-left: 32px; }
.gains-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; background: var(--ink);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
/* Zes vinkjes, zes kleuren uit de kolibrie (de variant voor een donkere grond, zoals "andere") */
.gains-list li:nth-child(1)::before { background: var(--k1); }
.gains-list li:nth-child(2)::before { background: var(--k2); }
.gains-list li:nth-child(3)::before { background: var(--k3); }
.gains-list li:nth-child(4)::before { background: var(--k4); }
.gains-list li:nth-child(5)::before { background: var(--k5); }
.gains-list li:nth-child(6)::before { background: var(--k6); }
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-8' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 860px) {
  .gains-head, .gains-list { grid-column: 1 / -1; }
  .gains-list { margin-top: 24px; }
}
@media (max-width: 560px) { .gains-list { grid-template-columns: 1fr; } }

/* Klanten: logo met daaronder wat we bouwden.
   Elk logo in een vak van gelijke hoogte, links en onderaan uitgelijnd; hoogtes per logo
   zodat ze optisch even groot ogen. Daardoor beginnen de teksten op één lijn. */
.section-compact { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); align-items: center; }
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gutter); align-items: start; }
.client a { display: flex; align-items: flex-end; justify-content: flex-start; height: 76px; }
.client img { display: block; width: auto; max-width: 100%; }
.client .logo-helloprint { height: 40px; }
.client .logo-waarkstee { height: 62px; }
.client .logo-lamezza { height: 76px; }
.client .logo-fitgaaf { height: 76px; border-radius: 22%; }
.client p { margin: 20px 0 0; max-width: 20em; }
:root[data-theme="dark"] .client :is(.logo-helloprint, .logo-waarkstee) { filter: brightness(0) invert(1); opacity: .9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .client :is(.logo-helloprint, .logo-waarkstee) { filter: brightness(0) invert(1); opacity: .9; } }
@media (max-width: 560px) {
  .clients { grid-template-columns: 1fr; gap: 36px; }
  .client a { height: 64px; }
  .client .logo-helloprint { height: 34px; }
  .client .logo-waarkstee { height: 52px; }
  .client .logo-lamezza { height: 64px; }
  .client .logo-fitgaaf { height: 64px; }
}

/* Klanten en partners: losse logo's, zonder vlak */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(40px, 5vw, 72px); }
.logos a { display: block; }
.logos img { width: 170px; max-width: 100%; height: auto; }
.logos img.logo-tall { width: auto; height: 96px; }
.logos-small { margin-top: 40px; gap: 24px 56px; }
.logos-small img, .logos-small .logo-clint { width: 150px; }
.logo-clint { display: block; height: auto; }
.logo-clint .t { fill: var(--ink); }
:root[data-theme="dark"] .logo-clint .t { fill: #fff; opacity: .85; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-clint .t { fill: #fff; opacity: .85; } }
/* In de donkere kleurset: lichte silhouetten, want de meeste logo's hebben donkere tekst.
   La Mezza is een badge met een eigen achtergrond en blijft in kleur. */
:root[data-theme="dark"] .logos img:not(.logo-tall) { filter: brightness(0) invert(1); opacity: .85; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logos img:not(.logo-tall) { filter: brightness(0) invert(1); opacity: .85; } }
@media (max-width: 560px) {
  .logos img, .logos .logo-clint { width: 140px; }
  .logos img.logo-tall { height: 80px; }
}

/* Over */
.bio { font-size: var(--step-lead); line-height: 1.25; max-width: 28em; }
.bio strong { font-weight: 600; }
.section a { color: var(--ink); text-decoration-color: var(--link-line); }

/* Contact */
.contact-intro { font-size: var(--step-lead); line-height: 1.25; margin: 24px 0 0; max-width: 16em; }
.details { margin: 32px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; }
.details dt { font-weight: 600; }
.details dd { margin: 0; color: var(--soft); }
.form { position: relative; background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-size: var(--step-small); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit;
  transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--glow); } /* taste-skill-ignore: focusring op formuliervelden */
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.error { margin: 8px 0 0; font-size: var(--step-small); color: var(--error); }
.error:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot small { font-size: var(--step-small); color: var(--soft); }
.form-status { margin: 18px 0 0; }
.form-status:empty { display: none; }
.form.is-sent > :not(.form-status) { display: none; }
.form.is-sent .form-status { margin: 0; padding: 32px 8px; font-size: var(--step-lead); line-height: 1.2; }
.section-alt .form { background: var(--bg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* taste-skill-ignore: honeypot, nooit zichtbaar */
@media (max-width: 600px) { .form-foot .button { width: 100%; } }

/* Afsluiting */
.close { background: var(--gold); color: var(--on-gold); padding: var(--section) var(--margin) 32px; }
.close ::selection { background: var(--on-gold); color: var(--gold); }
.close :focus-visible { outline-color: var(--on-gold); }
.close-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px; align-items: center; }
.invite { grid-column: 1 / 9; }
.close-top .button { grid-column: 1 / 9; grid-row: 2; justify-self: start; }
.close-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: clamp(48px, 6vw, 80px); font-weight: 600; }
.close-nav a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .close-nav a:hover { text-decoration: underline; } }
.close-legal { display: flex; flex-wrap: wrap; gap: 8px 0; font-size: var(--step-small); padding-top: 24px; }
.close-legal > * + *::before { content: "·"; margin: 0 .6em; }
.close-legal a { color: inherit; }

/* ── DE KOLIBRIE ──
   Rustplekken (data-perch) zijn lege vakjes; de vogel (.bird) landt erop. */
.perch { display: block; aspect-ratio: 32 / 31; pointer-events: none; }
.perch-word { display: inline-block; width: .82em; height: .79em; vertical-align: -.02em; margin-left: .04em; }
.perch-head { width: 64px; margin-top: 28px; }
.perch-end { width: 56px; margin: 28px 0 0 auto; }
.perch-art { position: absolute; right: -6%; top: -18%; width: 30%; }
.perch-form { position: absolute; right: 32px; top: -36px; width: 64px; }
.perch-grove { position: absolute; left: 40%; top: 15%; width: 14%; }
.perch-close { grid-column: 10 / -1; grid-row: 1 / span 2; justify-self: center; width: clamp(80px, 8vw, 128px); }
@media (max-width: 860px) {
  .perch-head { position: absolute; right: 0; top: 0; margin: 0; width: 52px; }
  .perch-close { grid-column: 1 / -1; grid-row: auto; justify-self: end; width: 72px; }
  .invite, .close-top .button { grid-column: 1 / -1; }
}
/* Zonder JS of met minder beweging: stilstaande kolibrie in de zin */
.perch-word { background: url("../img/kolibrie.svg") center / contain no-repeat; }
.bird-on .perch-word { background: none; }

.bird {
  display: none; position: absolute; left: 0; top: 0; z-index: 45;
  width: 100px; height: 97px; pointer-events: auto; cursor: pointer;
  transform-origin: 0 0; will-change: transform;
  opacity: 0; transition: opacity 400ms ease;
}
.bird-on .bird { display: block; }
.bird.is-ready { opacity: 1; }
.bird-flip { width: 100%; height: 100%; transform: scaleX(var(--flip, 1)); transition: transform 240ms var(--ease-out); }
.bird-bob { width: 100%; height: 100%; }
.bird svg { display: block; width: 100%; height: 100%; overflow: visible; }
.b-wing { transform-box: fill-box; }
.b-wing-front { transform-origin: 88% 92%; }
.b-wing-back { transform-origin: 72% 100%; }
/* Stilhangen: rustige vleugelslag en licht dobberen (in de zin bovenaan helemaal stil).
   Vliegend: snelle vleugelslag. */
.bird.is-hovering .bird-bob { animation: bob 2.4s ease-in-out infinite; }
.bird.is-hovering .b-wing { animation: 150ms ease-in-out infinite alternate; }
.bird.is-hovering .b-wing-front { animation-name: hover-front; }
.bird.is-hovering .b-wing-back { animation-name: hover-back; }
.bird.is-flying .b-wing { animation: 85ms ease-in-out infinite alternate; }
.bird.is-flying .b-wing-front { animation-name: flap-front; }
.bird.is-flying .b-wing-back { animation-name: flap-back; }
.bird.is-paused .bird-bob, .bird.is-paused .b-wing { animation: none; }
@keyframes flap-front { to { transform: rotate(14deg) scaleY(.5); } }
@keyframes flap-back { to { transform: rotate(-12deg) scaleY(.55); } }
@keyframes hover-front { to { transform: rotate(8deg) scaleY(.72); } }
@keyframes hover-back { to { transform: rotate(-6deg) scaleY(.75); } }
@keyframes bob { 50% { transform: translateY(-4%); } }

/* ── BEWEGING ──
   Alles staat in de HTML en is zonder JS zichtbaar; .js voegt alleen aankomst toe. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: calc(100ms + var(--i) * 110ms); }
  .js .hero [data-load] { opacity: 0; transform: translateY(12px); animation: rise 500ms var(--ease-out) forwards; animation-delay: var(--d); }

  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-expo); transition-delay: var(--reveal-delay, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Illustraties: één klein moment per stap */
  .js .a-route { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1200ms var(--ease-in-out) 400ms; }
  .js .is-in .a-route { stroke-dashoffset: 0; }
  .js .a-pin { opacity: 0; transform: translateY(-14px); transition: opacity 300ms ease 1500ms, transform 500ms var(--ease-out) 1500ms; }
  .js .is-in .a-pin { opacity: 1; transform: none; }
  .js .a-drop { opacity: 0; transform: translateY(-36px); transition: opacity 300ms ease 400ms, transform 800ms var(--ease-out) 400ms; }
  .js .is-in .a-drop { opacity: 1; transform: none; }
  .js .a-arm1, .js .a-arm2 { transform-box: fill-box; opacity: 0; transform: scale(.6); transition: opacity 300ms ease, transform 600ms var(--ease-out); }
  .js .a-arm1 { transform-origin: 100% 100%; transition-delay: 400ms; }
  .js .a-arm2 { transform-origin: 0% 100%; transition-delay: 650ms; }
  .js .is-in .a-arm1, .js .is-in .a-arm2 { opacity: 1; transform: none; }
  .js .a-plane { opacity: 0; transform: translate(-24px, 14px); transition: opacity 400ms ease 400ms, transform 900ms var(--ease-out) 400ms; }
  .js .is-in .a-plane { opacity: 1; transform: none; }
  .js .a-trail { opacity: 0; transition: opacity 400ms ease 900ms; }
  .js .is-in .a-trail { opacity: 1; }
  .js .a-layer { opacity: 0; transition: opacity 400ms ease, transform 700ms var(--ease-out); }
  .js .a-layer1 { transform: translateY(14px); transition-delay: 300ms; }
  .js .a-layer2 { transform: translateY(-10px); transition-delay: 420ms; }
  .js .a-layer3 { transform: translateY(-24px); transition-delay: 540ms; }
  .js .is-in .a-layer { opacity: 1; transform: none; }
  .js .a-links { opacity: 0; transition: opacity 600ms ease 600ms; }
  .js .is-in .a-links { opacity: 1; }
  .js .a-bird { opacity: 0; transition: opacity 400ms ease; }
  .js .a-bird1 { transition-delay: 300ms; } .js .a-bird2 { transition-delay: 450ms; } .js .a-bird3 { transition-delay: 600ms; }
  .js .is-in .a-bird { opacity: 1; }
  .js .a-tile { opacity: 0; transition: opacity 300ms ease; }
  .js .a-tile1 { transition-delay: 300ms; } .js .a-tile2 { transition-delay: 400ms; } .js .a-tile3 { transition-delay: 500ms; } .js .a-tile4 { transition-delay: 600ms; }
  .js .is-in .a-tile { opacity: 1; }
  .js .a-wrench { transform-box: fill-box; transform-origin: 20% 80%; opacity: 0; transform: rotate(-18deg); transition: opacity 400ms ease 300ms, transform 800ms var(--ease-out) 300ms; }
  .js .is-in .a-wrench { opacity: 1; transform: none; }
  .js .a-star { transform-box: fill-box; transform-origin: center; opacity: 0; transform: rotate(-45deg) scale(.7); transition: opacity 400ms ease 400ms, transform 800ms var(--ease-out) 400ms; }
  .js .is-in .a-star { opacity: 1; transform: none; }
  .js .a-spark { opacity: 0; transition: opacity 400ms ease 900ms; }
  .js .is-in .a-spark { opacity: 1; }

  /* Bosje: de bladeren wiegen traag; ze ritselen even als de kolibrie vertrekt of landt */
  .g-frond { animation: sway 7s ease-in-out var(--d, 0s) infinite alternate; }
  .grove.is-rustling .g-main .g-frond { animation: sway 7s ease-in-out var(--d, 0s) infinite alternate, rustle 700ms var(--ease-out); }
}
@keyframes sway { from { rotate: -1.6deg; } to { rotate: 1.6deg; } }
@keyframes rustle { 20% { transform: rotate(4deg); } 50% { transform: rotate(-3deg); } 80% { transform: rotate(1deg); } }
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .button:active { transform: none; }
  .js [data-reveal] { opacity: 0; transition: opacity 200ms ease; }
  .js [data-reveal].is-in { opacity: 1; }
}
