/* Two colours: white and one bright Dutch orange (with its tints); a living Dutch landscape of windmills, tulips and canal houses that moves with you */
:root {
  --bg: #ffffff;
  --soft: #fff5ed;
  --ink: #1b1410;
  --muted: #6e625a;
  --line: #f2e3d7;
  --accent: #ff6b12;
  --accent-dark: #e65a05;
  --accent-soft: #fff5ed;
  --tint: #ffe3cf;
  --tint2: #ffc79f;
  --blue: #3a6db4;
  --blue-dark: #2c5797;
  --blue-tint: #c6d8f0;
  --blue-soft: #ecf2fb;
  --f-display: "Inter Tight", Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --f-body: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --f-accent: "Noto Serif Display", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

/* soft cross-fade + lift between pages (index ⇄ thanks) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* recommended Lenis styles */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.lang-swap main, body.lang-swap .nav-links { opacity: .25; transition: opacity .18s; }
main, .nav-links { transition: opacity .35s var(--ease); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 8.2vw, 7rem); line-height: .98; letter-spacing: -.045em; }
h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.02em; }
em { font-family: var(--f-accent); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--accent);
  background: linear-gradient(transparent 64%, var(--tint) 64% 88%, transparent 88%); padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 500 .78rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 36em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; text-decoration: none;
  font: 600 1rem var(--f-body); padding: 1em 1.6em; border-radius: 999px;
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.btn::after { content: "→"; transition: transform .5s var(--ease); }
.btn:hover { background: var(--accent-dark); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-small { padding: .6em 1.1em; font-size: .88rem; }
.btn-small::after { content: none; }
.btn-block { width: 100%; }
.btn-link { font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.btn-link:hover { background-size: 100% 1px; }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; transition: background .4s, box-shadow .4s; }
.nav.scrolled { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font: 600 1rem var(--f-display); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.logo-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font: 800 .64rem var(--f-body); letter-spacing: .04em; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: .9rem; color: var(--muted); transition: color .3s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { position: relative; display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { position: relative; z-index: 1; border: 0; background: transparent; color: var(--muted); font: 600 .72rem var(--f-body); letter-spacing: .04em; padding: .45em .8em; border-radius: 999px; cursor: pointer; transition: color .3s, background .3s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* hero */
.hero { padding-block: clamp(56px, 10vw, 128px) 0; overflow: hidden; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em .45em .8em; margin-bottom: 32px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 107, 18, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 107, 18, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 18, 0); } }
.hero h1 { max-width: 11ch; }
.hero .lead { margin-top: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }

.marquee { margin-top: clamp(64px, 9vw, 112px); border-block: 1px solid var(--line); padding-block: 22px; display: grid; gap: 14px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee-track span { white-space: nowrap; padding-right: 48px; color: var(--muted); font-size: 1.05rem; }
.marquee-track b { font: 600 1.05rem var(--f-display); color: var(--ink); letter-spacing: -.01em; margin-right: 8px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 56px; }
.facts > div { padding: 4px 28px; border-left: 1px solid var(--line); min-width: 0; }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font: 600 1.1rem var(--f-display); letter-spacing: -.02em; margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: .95rem; }

/* sections */
.section { padding-block: clamp(88px, 12vw, 160px); }
.soft { background: var(--soft); border-radius: clamp(28px, 4vw, 48px); margin-inline: clamp(8px, 1.5vw, 20px); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }

/* method: cards pin and slide over each other while scrolling */
.stack { display: grid; gap: 28px; }
.stack-card {
  position: sticky; top: calc(110px + var(--i) * 22px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end;
  min-height: 380px; padding: clamp(28px, 4vw, 56px);
  background: var(--bg); border: 1px solid var(--line); border-radius: 32px;
  box-shadow: 0 -12px 40px rgba(15, 15, 18, .05);
}
.stack-card:nth-child(2) { background: var(--soft); }
.stack-card:nth-child(3) { background: var(--tint); border-color: var(--tint); }
.stack-card:nth-child(3) .stack-quote { color: var(--accent-dark); }
.stack-card.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.stack-card.accent p, .stack-card.accent .stack-n { color: rgba(255, 255, 255, .88); }
.stack-text { display: grid; gap: 16px; align-content: start; height: 100%; min-width: 0; }
.stack-n { font: 500 .85rem var(--f-body); color: var(--muted); letter-spacing: .08em; margin-bottom: auto; padding-bottom: 72px; }
.stack-text h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.035em; }
.stack-text p { color: var(--muted); font-size: 1.08rem; max-width: 30em; }
.stack-quote { font: italic 400 clamp(1.6rem, 3.4vw, 3rem)/1.1 var(--f-accent); text-align: right; color: var(--ink); opacity: .9; }
.stack-card.accent .stack-quote { color: #fff; }

/* lesson bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 1000px; }
.tile { background: var(--bg); border-radius: 28px; padding: 32px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); min-width: 0; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(15, 15, 18, .08); }
.tile-wide { grid-column: span 2; }
.tile h3 { font: italic 400 clamp(1.6rem, 2.4vw, 2.1rem)/1.1 var(--f-accent); letter-spacing: -.01em; }
.tile p { color: var(--muted); max-width: 26em; }
.tile-wide:first-child { background: var(--accent); color: #fff; }
.tile-wide:first-child p { color: rgba(255, 255, 255, .88); }
.tile-wide:first-child h3 { color: #fff; }
.tile-wide:last-child { background: var(--tint); }
.tile-wide:last-child p { color: var(--ink); }

/* levels with a line that fills as you scroll */
.levels { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 104px; perspective: 900px; }
.track { position: absolute; top: 0; left: 0; right: 0; height: 74px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--tint2) 0 18px, transparent 18px 30px); }
.track-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 1)); }
.road-bike { position: absolute; bottom: 3px; left: calc(var(--p, 1) * (100% - 60px)); width: 60px; height: 72px; overflow: visible; }
.grow { display: block; width: 60px; height: 80px; margin-bottom: 6px; transform-origin: 50% 100%; overflow: visible; }
.level { min-width: 0; }
.lvl { display: block; font: 600 clamp(3.4rem, 6vw, 5.4rem)/1 var(--f-display); letter-spacing: -.05em; margin-bottom: 20px; }
.level:last-child .lvl { color: var(--accent); }
.level p { color: var(--muted); max-width: 22em; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq-grid > * { min-width: 0; }
.section-head.left { position: sticky; top: 120px; margin-bottom: 0; }
details { border-bottom: 1px solid #dededa; }
details:first-child { border-top: 1px solid #dededa; }
summary { cursor: pointer; padding: 28px 0; font: 500 1.2rem var(--f-display); letter-spacing: -.015em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #d4d4cf;
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .5s var(--ease), background-color .3s; }
details[open] summary::after { transform: rotate(135deg); background-color: var(--bg); }
details p { color: var(--muted); padding-bottom: 28px; max-width: 40em; }
details[open] p { animation: open .6s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }

/* contact: a red block like the book cover */
#contact { background: var(--accent); color: #fff; border-radius: clamp(28px, 4vw, 48px); margin-inline: clamp(8px, 1.5vw, 20px); }
#contact .eyebrow, #contact .lead, #contact .field label { color: rgba(255, 255, 255, .85); }
#contact em { color: #fff; background: linear-gradient(transparent 64%, rgba(255,255,255,.28) 64% 88%, transparent 88%); }
#contact .form input, #contact .form select, #contact .form textarea { color: #fff; border-bottom-color: rgba(255, 255, 255, .45); }
#contact .form input:focus, #contact .form select:focus, #contact .form textarea:focus { border-bottom-color: #fff; }
#contact .form textarea::placeholder { color: rgba(255, 255, 255, .6); }
#contact .form select option { color: var(--ink); }
#contact .form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E"); }
#contact .btn { background: #fff; color: var(--accent-dark); }
#contact .btn:hover { background: var(--ink); color: #fff; }
#contact :focus-visible { outline-color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact-grid > * { min-width: 0; }
h2.big { font-size: clamp(3rem, 8vw, 6.6rem); line-height: .95; margin-bottom: 28px; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  font: 1.1rem var(--f-body); color: var(--ink); background: transparent; width: 100%;
  border: 0; border-bottom: 1px solid #d4d4cf; border-radius: 0; padding: .55em 0;
  transition: border-color .4s var(--ease);
}
.form select { appearance: none; -webkit-appearance: none; cursor: pointer; background-color: transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b6b72' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--ink); }
.form textarea { resize: vertical; min-height: 110px; }
.form .btn { margin-top: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hp { position: absolute; left: -9999px; }

.footer { padding-block: 32px 40px; background: var(--accent); color: rgba(255, 255, 255, .85); font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { color: #fff; font: 600 1rem var(--f-display); letter-spacing: -.02em; }

.thanks { min-height: 90vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.thanks .lead { margin: 28px auto 0; }
.thanks .hero-actions { justify-content: center; }

/* ---------- the Dutch landscape ---------- */
.scene-wrap { margin-top: clamp(32px, 5vw, 64px); }
.scene { display: block; width: 100%; height: clamp(230px, 30vw, 390px); overflow: visible; }
.s-o { fill: var(--accent); } .s-o2 { fill: var(--accent-dark); } .s-t, .s-tint { fill: var(--tint); } .s-t2 { fill: var(--tint2); }
.s-soft { fill: var(--soft); } .s-w { fill: #fff; } .s-ink { fill: var(--ink); }
.lattice { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 1.5; }
.stem { fill: none; stroke: var(--accent-dark); stroke-width: 2.5; stroke-linecap: round; }
.leaf { fill: var(--tint2); }
.tyre { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.spoke { stroke: var(--ink); stroke-width: 1; opacity: .5; }
.frame { fill: none; stroke: var(--accent-dark); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.frame.rider { stroke: var(--ink); }
.wave { fill: none; stroke: var(--tint2); stroke-width: 2; }
.layer { will-change: transform; }
.sails, .wheel, .m-sails { transform-box: fill-box; transform-origin: center; }
#mill { cursor: pointer; pointer-events: bounding-box; }
.sway { transform-box: fill-box; transform-origin: 50% 100%; }
.cloud { transform: translate(-160px, var(--y)); }

/* little windmills in the page */
.section-head { position: relative; }
.mini-mill { position: absolute; right: 0; bottom: 0; width: clamp(56px, 8vw, 96px); height: auto; overflow: visible; }
.m-body { fill: var(--accent); } .m-door { fill: #fff; } .m-stock { fill: var(--accent-dark); } .m-sail { fill: var(--tint2); } .m-hub { fill: var(--ink); }
#contact { position: relative; clip-path: inset(-200px 0 0 0 round 0 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px)); }
.contact-grid { position: relative; }
.contact-grid > :not(.big-mill) { position: relative; z-index: 1; }
.big-mill { position: absolute; left: -2%; bottom: calc(-1 * clamp(88px, 12vw, 160px)); width: clamp(200px, 26vw, 340px); height: auto; opacity: .2; overflow: visible; }
.big-mill .m-body, .big-mill .m-stock, .big-mill .m-sail, .big-mill .m-hub { fill: #fff; }
.big-mill .m-door { fill: var(--accent); }
.skyline { display: block; width: 100%; height: clamp(50px, 7vw, 80px); fill: var(--accent); margin-top: clamp(48px, 7vw, 96px); }


/* ---------- draggable Dutch stickers ---------- */
.hero-wrap { position: relative; }
.sticker-field { position: absolute; top: 0; right: max(24px, env(safe-area-inset-right, 0px)); width: min(44%, 520px); height: 100%; pointer-events: none; }
.sticker { position: absolute; z-index: 3; width: var(--w, 110px); cursor: grab; touch-action: none; pointer-events: auto; user-select: none; -webkit-user-select: none;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r, 0deg)) scale(var(--s, 1));
  transition: transform .5s var(--ease); filter: drop-shadow(0 10px 18px rgba(230, 90, 5, .18)); }
.sticker:hover { --s: 1.08; }
.sticker.dragging { cursor: grabbing; transition: none; --s: 1.14; filter: drop-shadow(0 22px 30px rgba(230, 90, 5, .28)); z-index: 30; }
.sticker svg { display: block; width: 100%; height: auto; overflow: visible; }
.k-o { fill: var(--accent); } .k-o2 { fill: var(--accent-dark); } .k-t { fill: var(--tint); } .k-t2 { fill: var(--tint2); } .k-w { fill: #fff; }
.k-grid { stroke: var(--accent-dark); stroke-width: 2; opacity: .45; }
.k-ring { fill: none; stroke: var(--accent-dark); stroke-width: 3; } .k-ring.thin { stroke-width: 1.5; opacity: .5; }
.k-label { font: 800 8px var(--f-body); fill: var(--accent-dark); text-anchor: middle; letter-spacing: .08em; }
.k-deco { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.k-sole { fill: none; stroke: var(--accent-dark); stroke-width: 3; stroke-linecap: round; }
.k-tyre { fill: none; stroke: var(--ink); stroke-width: 4; }
.k-frame { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.bubble .float { font: 600 1.1rem var(--f-display); color: #fff; background: var(--accent); padding: .55em 1em; border-radius: 18px 18px 18px 4px; white-space: nowrap; text-align: center; }
.bubble { width: auto; }
.st-1 { --w: 124px; top: 0; right: 36%; }
.st-4 { --w: 88px; top: 44%; right: 2%; }
.st-5 { top: 22%; right: 66%; }
.b-1 { top: 4%; right: 2%; }
.b-2 { top: 30%; right: 26%; }
.b-3 { top: 68%; right: 34%; }
.b-4 { top: 56%; right: 72%; }
.b-5 { top: 86%; right: 4%; }
.b-6 { top: 84%; right: 70%; }
.bubble.alt .float { background: #fff; color: var(--accent-dark); border: 2px solid var(--tint2); border-radius: 18px 18px 4px 18px; }
.st-6 { --w: 96px; top: clamp(40px, 6vw, 80px); right: max(24px, 4vw); }
.st-7 { top: clamp(60px, 8vw, 110px); right: max(24px, 6vw); }
.st-8.inline { position: relative; display: block; margin-top: 36px; --w: 150px; }
#lesson, #levels { position: relative; }
@media (max-width: 960px) {
  .sticker-field { position: relative; right: auto; width: 100%; height: 150px; margin-bottom: 8px; }
  .sticker-field { height: 190px; margin-bottom: 12px; }
  .st-1 { --w: 76px; top: 0; right: 2%; } .st-4 { --w: 54px; top: 120px; right: 6%; } .st-5 { top: 6px; right: 66%; }
  .b-1 { top: 62px; right: 70%; } .b-2 { top: 56px; right: 28%; } .b-3 { top: 128px; right: 50%; } .b-4 { top: 116px; right: 82%; }
  .m-hide { display: none; }
  .bubble .float { font-size: .9rem; }
  .st-6 { --w: 70px; } .st-7 { display: none; }
}

/* ---------- flashcards ---------- */
.try-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.try-grid > * { min-width: 0; }
.try-lead { margin-top: 24px; }
.try-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.btn-ghost { font: 500 .95rem var(--f-body); color: var(--accent-dark); background: var(--soft); border: 1px solid var(--tint); border-radius: 999px; padding: .7em 1.3em; cursor: pointer; transition: background .3s, color .3s; }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.deck-count { font: 500 .9rem var(--f-body); color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 8px; }
.deck { position: relative; height: clamp(280px, 30vw, 340px); perspective: 1400px; max-width: 520px; width: 100%; justify-self: center; }
.card { position: absolute; inset: 0; z-index: calc(20 - var(--pos)); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  transform: translateY(calc(var(--pos) * 16px)) scale(calc(1 - var(--pos) * .05)) rotate(calc(var(--pos) * 2.5deg));
  opacity: calc(1 - (var(--pos) - 2) * 1); transition: transform .7s var(--ease), opacity .4s; }
.card.dragging { transition: none; cursor: grabbing; }
.card-inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.card.flipped .card-inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.front { background: #fff; border: 2px solid var(--tint); box-shadow: 0 24px 60px rgba(230, 90, 5, .12); }
.back { background: var(--accent); color: #fff; transform: rotateY(180deg); }
.face b { font: 600 clamp(2rem, 4.4vw, 3.2rem)/1.05 var(--f-display); letter-spacing: -.035em; }
.face i { font: italic 400 1.15rem/1.4 var(--f-accent); color: var(--muted); }
.back i { color: rgba(255, 255, 255, .85); }
.card-tag { position: absolute; top: 22px; left: clamp(24px, 4vw, 40px); font: 600 .72rem var(--f-body); letter-spacing: .14em; color: var(--accent); }
.back .card-tag { color: rgba(255, 255, 255, .8); }
.card-hint { position: absolute; bottom: 20px; right: 26px; font-size: 1.3rem; color: var(--tint2); }

/* ---------- tile icons ---------- */
.tile { position: relative; }
.ticon { position: absolute; top: 28px; right: 28px; width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.tile-wide:first-child .ticon { stroke: #fff; }
.tile:hover .ticon { transform: rotate(-12deg) scale(1.2); }
.tile:hover .ti-oefeningen path { stroke-dasharray: 30; animation: draw .7s var(--ease); }
@keyframes draw { from { stroke-dashoffset: 30; } }
.tile:hover .ti-vertaling { transform: translateX(4px) scale(1.15); }

/* ---------- scene extras ---------- */
.bird { fill: none; stroke: var(--accent-dark); stroke-width: 2; stroke-linecap: round; transform-box: fill-box; transform-origin: center; }
.birds-fly { transform: translate(-100px, 70px); }
.cow-body { stroke: var(--tint2); stroke-width: 1.5; }
.cow-legs, .cow-tail { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.cow-tail { transform-box: fill-box; transform-origin: 100% 0; }
.cow-head { transform-box: fill-box; transform-origin: 0 50%; }
.bridge-rail { fill: none; stroke: var(--accent-dark); stroke-width: 2; stroke-linecap: round; }


/* ---------- about (no photo: an illustrated, faceless teacher) ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.about-grid > * { min-width: 0; }
.about-art svg { display: block; width: 100%; max-width: 440px; height: auto; margin-inline: auto; overflow: visible; }
.headset { fill: none; stroke: var(--accent-dark); stroke-width: 5; stroke-linecap: round; }
.say-t { font: 700 22px var(--f-display); fill: #fff; text-anchor: middle; }
.say-t.dark { fill: var(--accent-dark); }
.say-outline { stroke: var(--tint2); stroke-width: 3; }
.say { transform-box: fill-box; transform-origin: 50% 100%; }
.about-lead { margin-top: 28px; color: var(--ink); }
.about-p { margin-top: 18px; color: var(--muted); max-width: 36em; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.about-facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.about-facts > div:nth-child(odd) { padding-right: 20px; }
.about-facts dt { font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.about-facts dd { margin: 4px 0 0; font: 600 1.1rem var(--f-display); letter-spacing: -.015em; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1000px; }
.review { margin: 0; background: var(--bg); border-radius: 28px; padding: 36px 30px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; position: relative; min-width: 0; }
.review::before { content: "“"; position: absolute; top: -6px; left: 24px; font: 400 6rem/1 var(--f-accent); color: var(--accent); }
.review blockquote { margin: 18px 0 0; font: italic 400 1.25rem/1.45 var(--f-accent); }
.review figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; }
.r-level { font: 600 .75rem var(--f-body); letter-spacing: .08em; color: var(--accent-dark); background: var(--soft); border: 1px solid var(--tint); border-radius: 999px; padding: .3em .8em; }


/* ---------- hero chat ---------- */
.chat { position: absolute; top: 2%; right: 8%; width: min(360px, 100%); background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 26px; padding: 16px 16px 18px; box-shadow: 0 30px 70px rgba(230, 90, 5, .14); pointer-events: auto; z-index: 2; }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chat-label { font: 600 .9rem var(--f-display); letter-spacing: -.01em; }
.chat-sub { margin-left: auto; font: 600 .68rem var(--f-body); letter-spacing: .12em; color: var(--muted); }
.chat-body { display: flex; flex-direction: column; gap: 8px; min-height: 248px; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.chat-body.leaving { opacity: 0; transform: translateY(-10px); }
.msg { max-width: 82%; padding: 9px 14px 10px; border-radius: 18px; animation: pop .45s var(--ease) both; }
.msg p { font: 600 1rem/1.3 var(--f-display); letter-spacing: -.01em; }
.msg small { display: block; margin-top: 3px; font-size: .78rem; line-height: 1.35; }
.msg.l { align-self: flex-start; background: var(--soft); border: 1px solid var(--tint); border-bottom-left-radius: 6px; }
.msg.l small { color: var(--muted); }
.msg.r { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg.r small { color: rgba(255, 255, 255, .85); }
.msg.typing { display: flex; gap: 4px; padding: 13px 14px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; animation: dots 1s infinite; }
.msg.l.typing i { background: var(--accent); }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@keyframes dots { 50% { opacity: 1; transform: translateY(-3px); } }

/* ---------- live Dutch clock, always top right ---------- */
.dclock { position: fixed; z-index: 25; top: calc(env(safe-area-inset-top, 0px) + 82px); right: max(16px, env(safe-area-inset-right, 0px)); display: grid; justify-items: end; gap: 10px; }
.dclock-pill { display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 7px 16px 7px 7px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--tint); box-shadow: 0 12px 34px rgba(230, 90, 5, .16); color: var(--ink); text-align: left; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.dclock-pill:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(230, 90, 5, .22); }
.dclock-face { flex: none; width: 38px; height: 38px; }
.cf-ring { fill: var(--accent); }
.cf-ticks { stroke: rgba(255, 255, 255, .7); stroke-width: 2; stroke-linecap: round; }
.cf-h, .cf-m { stroke: #fff; stroke-linecap: round; } .cf-h { stroke-width: 3; } .cf-m { stroke-width: 2; }
.cf-s { stroke: var(--ink); stroke-width: 1; stroke-linecap: round; }
.cf-hub { fill: #fff; }
.dclock-text { display: grid; min-width: 0; }
.dclock-phrase { font: 600 .92rem/1.2 var(--f-display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dclock-phrase.changed { animation: pop .6s var(--ease); }
.dclock-sub { font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dclock-card { width: min(320px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--tint); border-radius: 22px; padding: 20px; box-shadow: 0 30px 70px rgba(230, 90, 5, .18); animation: pop .4s var(--ease); }
.dclock-k { font: 600 .7rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dclock-big { margin-top: 6px; font: 600 1.35rem/1.2 var(--f-display); letter-spacing: -.02em; color: var(--accent-dark); }
.dclock-dl { margin: 14px 0 0; display: grid; gap: 8px; }
.dclock-dl div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; font-size: .88rem; }
.dclock-dl dt { color: var(--muted); }
.dclock-dl dd { margin: 0; font-weight: 500; }
.dclock-tip { margin: 16px 0 14px; padding: 12px 14px; background: var(--soft); border-radius: 14px; font-size: .84rem; line-height: 1.45; }
.dclock-ex { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; }
.dclock-ex li { display: flex; gap: 12px; }
.dclock-ex span { width: 40px; color: var(--accent-dark); font-weight: 600; font-variant-numeric: tabular-nums; }


/* ---------- brand headline ---------- */
.hero h1.brand-title { font-size: clamp(3.6rem, 12vw, 9.5rem); line-height: .9; letter-spacing: -.055em; max-width: none; }
.hero-tag { margin-top: 22px; font: 600 clamp(1.5rem, 3.4vw, 2.7rem)/1.1 var(--f-display); letter-spacing: -.03em; max-width: 16ch; text-wrap: balance; }
.hero .hero-tag + .lead { margin-top: 24px; }

/* ---------- phrase bubbles: hover/tap for Greek, they morph into new phrases ---------- */
.pb .float { display: grid; justify-items: center; transition: padding .4s var(--ease); }
.pb-el { display: block; max-height: 0; opacity: 0; overflow: hidden; font: 500 .8rem/1.3 var(--f-body); letter-spacing: 0; transition: max-height .45s var(--ease), opacity .3s, margin .45s var(--ease); }
.pb.show-el .pb-el { max-height: 2.6em; opacity: .92; margin-top: 4px; }
.pb.show-el { --s: 1.1; z-index: 10; }
.pb.swap .float { animation: morph .62s var(--ease); }
@keyframes morph { 40% { transform: scale(.6) rotate(-6deg); opacity: 0; filter: blur(4px); } 60% { transform: scale(.7); opacity: 0; } }
.pb.alt .pb-el { color: var(--muted); }

/* ---------- clock extras ---------- */
.cf-tick { stroke: rgba(255, 255, 255, .6); stroke-width: 1.2; stroke-linecap: round; } .cf-tick.big { stroke: #fff; stroke-width: 2; }
.dclock-pill.chime .dclock-face { animation: chime .9s var(--ease); }
@keyframes chime { 20% { transform: rotate(-14deg) scale(1.15); } 40% { transform: rotate(12deg) scale(1.15); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }
.dclock-tabs { display: flex; gap: 4px; padding: 4px; background: var(--soft); border-radius: 999px; margin: -4px -4px 16px; }
.dclock-tabs button { flex: 1; border: 0; background: transparent; font: 600 .8rem var(--f-body); color: var(--muted); padding: .55em .4em; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.dclock-tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }
.big-face { width: 104px; height: 104px; flex: none; }
.big-face .cf-h { stroke-width: 2.4; } .big-face .cf-m { stroke-width: 1.6; }
.big-face .cf-h, .big-face .cf-m { transition: transform .35s var(--ease); }
.try-clock, .quiz-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.try-digital { font: 600 .8rem var(--f-body); color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.try-out .dclock-big { margin-top: 2px; }
.try-el { margin-top: 4px; font-size: .88rem; color: var(--muted); }
#try-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 10px; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--fill, 60%), var(--tint) var(--fill, 60%)); }
#try-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 4px 12px rgba(230, 90, 5, .3); }
#try-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.quiz-score { margin-top: 4px; font: 600 .82rem var(--f-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.quiz-opts { display: grid; gap: 8px; }
.quiz-opt { text-align: left; font: 600 .95rem var(--f-display); letter-spacing: -.01em; color: var(--ink); background: #fff; border: 1.5px solid var(--tint); border-radius: 14px; padding: .7em 1em; cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.quiz-opt:hover { border-color: var(--accent); }
.quiz-opt.ok { background: var(--accent); border-color: var(--accent); color: #fff; }
.quiz-opt.no { border-color: var(--ink); background: var(--soft); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.quiz-fb { min-height: 1.4em; margin-top: 10px; font-size: .88rem; font-weight: 500; color: var(--accent-dark); }
.quiz-next { margin-top: 6px; }


/* ---------- more Dutch things between the bubbles ---------- */
.k-edge { fill: none; stroke: var(--accent-dark); stroke-width: 1.4; opacity: .35; stroke-linecap: round; }
.k-ink { fill: var(--ink); }
.k-poff { fill: var(--accent); opacity: .35; }
.k-stem { fill: none; stroke: var(--accent-dark); stroke-width: 4; stroke-linecap: round; }
.a-1 { --w: 112px; top: 0; right: 68%; }
.a-2 { --w: 74px; top: 18%; right: 12%; }
.a-3 { --w: 82px; top: 42%; right: 48%; }
.a-4 { --w: 108px; top: 84%; right: 40%; }
.a-5 { --w: 118px; top: 66%; right: 0; }
.a-6 { --w: 58px; top: 70%; right: 86%; }
.st-1 { --w: 116px; top: 0; right: 38%; }
.st-4 { --w: 80px; top: 44%; right: 4%; }
.st-5 { top: 24%; right: 64%; }
.b-1 { top: 2%; right: 0; }
.b-2 { top: 30%; right: 24%; }
.b-3 { top: 60%; right: 28%; }
.b-4 { top: 54%; right: 66%; }
.b-5 { top: 90%; right: 2%; }
.b-6 { top: 90%; right: 72%; }
@media (prefers-reduced-motion: no-preference) {
  .a-1 .float, .a-4 .float { animation-duration: 5.4s; animation-delay: -2.4s; }
  .a-2 .float { animation: sway-sticker 3.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
  .a-3 .float, .a-6 .float { animation-duration: 6.2s; animation-delay: -.8s; }
  .a-5 .float { animation-duration: 4.4s; animation-delay: -3.2s; }
  @keyframes sway-sticker { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
}
@media (max-width: 960px) {
  .a-1 { --w: 66px; top: 128px; right: 26%; } .a-2 { --w: 46px; top: 0; right: 46%; }
}


/* ---------- hero: messages and Dutch icons popping in and out ---------- */
.pop-field { position: absolute; top: 0; right: max(24px, env(safe-area-inset-right, 0px)); width: min(44%, 520px); height: 100%; pointer-events: none; }
.pop { position: absolute; transform: rotate(var(--tilt, 0deg)); animation: pop-in .55s var(--ease) both; }
.pop.out { animation: pop-out .42s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.6) rotate(var(--tilt, 0deg)); } }
@keyframes pop-out { to { opacity: 0; transform: translateY(-10px) scale(.7) rotate(var(--tilt, 0deg)); } }
.pop-b { display: grid; justify-items: start; max-width: 220px; padding: .55em 1em .6em; border-radius: 18px 18px 18px 5px;
  background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(230, 90, 5, .18); cursor: default; z-index: 2; }
.pop-b.alt { background: #fff; color: var(--accent-dark); border: 1.5px solid var(--tint2); border-radius: 18px 18px 5px 18px; }
.pop-b .pb-nl { font: 600 1.05rem/1.2 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.pop-b .pb-el { display: block; max-height: 0; opacity: 0; overflow: hidden; font: 500 .8rem/1.3 var(--f-body); transition: max-height .4s var(--ease), opacity .3s, margin .4s var(--ease); }
.pop-b.show-el .pb-el { max-height: 2.6em; opacity: .9; margin-top: 3px; }
.pop-b.alt .pb-el { color: var(--muted); }
.pop-icon { width: 46px; z-index: 1; }
.pop-icon svg { display: block; width: 100%; height: auto; overflow: visible; }
.pop-icon .m-sails { animation: spin 6s linear infinite; }
.pop[data-slot="0"] { left: 0; top: 2%; }
.pop[data-slot="1"] { left: 54%; top: 6%; }
.pop[data-slot="2"] { left: 22%; top: 22%; }
.pop[data-slot="3"] { left: 62%; top: 30%; }
.pop[data-slot="4"] { left: 2%; top: 42%; }
.pop[data-slot="5"] { left: 44%; top: 52%; }
.pop[data-slot="6"] { left: 8%; top: 64%; }
.pop[data-slot="7"] { left: 54%; top: 72%; }
.pop[data-slot="8"] { left: 18%; top: 86%; }
.pop[data-slot="9"] { left: 60%; top: 90%; }
@media (max-width: 960px) {
  .pop-field { position: relative; right: auto; width: 100%; height: 196px; margin-bottom: 16px; }
  .pop[data-slot="0"] { left: 0; top: 0; } .pop[data-slot="1"] { left: 52%; top: 10px; }
  .pop[data-slot="2"] { left: 8%; top: 64px; } .pop[data-slot="3"] { left: 58%; top: 76px; }
  .pop[data-slot="4"] { left: 0; top: 134px; } .pop[data-slot="5"] { left: 50%; top: 144px; }
  .pop[data-slot="6"], .pop[data-slot="7"], .pop[data-slot="8"], .pop[data-slot="9"] { display: none; }
  .pop-b .pb-nl { font-size: .92rem; }
  .pop-icon { width: 38px; }
}


/* ---------- the page as one film ---------- */
/* a sky behind everything: the glow travels from morning (top) to golden evening (bottom) */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint) calc(var(--p, 0) * 70%), #fff) 0%, #fff 70%); }
.sun { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  left: calc(var(--p, 0) * 100% - 35vmax); top: calc(4% + (var(--p, 0) - .5) * (var(--p, 0) - .5) * 220% - 35vmax);
  background: radial-gradient(circle, rgba(255, 107, 18, .16), rgba(255, 107, 18, 0) 62%); }
.sun-core { width: 16vmax; height: 16vmax; margin: 27vmax 0 0 27vmax; background: radial-gradient(circle, rgba(255, 107, 18, .12), rgba(255, 107, 18, 0) 70%); }
main, .skyline, .footer { position: relative; z-index: 1; }



/* motion */
@media (prefers-reduced-motion: no-preference) {
  .say-nl { animation: talk 6s ease-in-out infinite; }
  .say-el { animation: talk 6s ease-in-out infinite; animation-delay: -3s; }
  @keyframes talk { 0%, 8% { transform: scale(0); opacity: 0; } 14%, 46% { transform: scale(1); opacity: 1; } 52%, 100% { transform: scale(0); opacity: 0; } }
  .teacher { transform-box: fill-box; transform-origin: 50% 100%; animation: nod 3s ease-in-out infinite alternate; }
  @keyframes nod { to { transform: rotate(2.5deg); } }

  .birds-fly { animation: fly 30s linear infinite; animation-delay: -6s; }
  @keyframes fly { from { transform: translate(-100px, 80px); } 50% { transform: translate(600px, 40px); } to { transform: translate(1300px, 70px); } }
  .bird { animation: flap .5s ease-in-out infinite alternate; animation-delay: var(--d); }
  @keyframes flap { to { transform: scaleY(-.6); } }
  .cow-tail { animation: wag 1.4s ease-in-out infinite alternate; }
  @keyframes wag { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
  .cow-head { animation: graze 5s ease-in-out infinite; }
  @keyframes graze { 0%, 55%, 100% { transform: rotate(0); } 65%, 90% { transform: rotate(28deg); } }
  .b-1 .float, .b-4 .float { animation-duration: 4.6s; animation-delay: -3s; }
  .b-2 .float, .b-5 .float { animation-duration: 5.8s; animation-delay: -1.5s; }
  .b-3 .float, .b-6 .float { animation-duration: 7s; animation-delay: -4s; }
  @keyframes bob { from { transform: translateY(-6px) rotate(-2deg); } to { transform: translateY(8px) rotate(3deg); } }
  .cloud { animation: drift var(--t) linear infinite; animation-delay: var(--d); }
  @keyframes drift { from { transform: translate(-160px, var(--y)); } to { transform: translate(1360px, var(--y)); } }
  .sails-far, .m-sails { animation: spin 9s linear infinite; }
  .big-mill .m-sails { animation-duration: 16s; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .sway { animation: sway 3.4s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1); }
  @keyframes sway { from { transform: rotate(-6deg); } to { transform: rotate(7deg); } }
  .wheel { animation: spin 1.1s linear infinite; }
  .boat { animation: sail 48s linear infinite; }
  @keyframes sail { from { transform: translateX(1260px); } to { transform: translateX(-60px); } }
  .wave { animation: wave 3.5s linear infinite; }
  @keyframes wave { from { transform: translateX(-60px); } to { transform: translateX(0); } }
  .sun { transform-box: fill-box; transform-origin: center; animation: breathe 6s ease-in-out infinite alternate; }
  @keyframes breathe { to { transform: scale(1.08); } }
  .hero-in { animation: hero-in 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
  @keyframes hero-in { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } }

  @supports (animation-timeline: view()) {
    .stack-card { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    @keyframes settle { from { transform: translateY(80px) scale(.96); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloud:nth-of-type(2) { transform: translate(260px, var(--y)); } .cloud:nth-of-type(3) { transform: translate(760px, var(--y)); } .cloud:nth-of-type(4) { transform: translate(1150px, var(--y)); }
  .boat { transform: translateX(900px); }
  .marquee-track, .dot { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

@media (max-width: 960px) {
  .try-grid, .about-grid { grid-template-columns: 1fr; }
  .about-art svg { max-width: 300px; }
  .reviews { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-right { margin-left: auto; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .levels { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-head.left { position: static; margin-bottom: 32px; }
  .stack-card { grid-template-columns: 1fr; align-items: start; min-height: 340px; }
  .stack-quote { text-align: left; }
  .stack-n { padding-bottom: 40px; }
}
@media (max-width: 600px) {
  .dclock { top: calc(env(safe-area-inset-top, 0px) + 78px); }
  .dclock-pill { padding: 5px 12px 5px 5px; gap: 8px; }
  .dclock-face { width: 30px; height: 30px; }
  .dclock-phrase { font-size: .8rem; }
  .dclock-sub { display: none; }
  .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .logo span:last-child { display: none; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-left: 0; padding-left: 0; }
  .bento, .levels, .row2 { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .tile { min-height: 0; }
  .stack-card { top: calc(88px + var(--i) * 14px); border-radius: 26px; min-height: 0; }
  .hero-actions { gap: 20px; }
}


/* ---------- calm scrolling: every block enters once, softly ---------- */
.calm-ready .reveal { transition: opacity 1.1s var(--ease) var(--rd, 0s), translate 1.2s var(--ease) var(--rd, 0s); }
.calm-ready .tile.reveal { transition: opacity 1.1s var(--ease) var(--rd, 0s), translate 1.2s var(--ease) var(--rd, 0s), transform .6s var(--ease), box-shadow .6s var(--ease); }
.calm-ready .reveal:not(.in) { opacity: 0; translate: 0 36px; }

/* the one moment per section */
.calm-ready .bento .ticon :is(path, rect, circle) { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.8s var(--ease) calc(var(--rd, 0s) + .45s); }
.calm-ready .bento .reveal.in .ticon :is(path, rect, circle) { stroke-dashoffset: 0; }
.calm-ready .grow { transition: scale 1.3s var(--ease), opacity .6s var(--ease); }
.calm-ready .levels:not(.in) .grow { scale: .2; opacity: 0; }
.level:nth-child(3) .grow { transition-delay: .15s; } .level:nth-child(4) .grow { transition-delay: .3s; } .level:nth-child(5) .grow { transition-delay: .45s; }

/* headings get a marker stroke that is drawn under the accent word */
.section h2 em {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C40 7 78 15 118 10 S176 7 196 11' fill='none' stroke='%23ffc79f' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E") 0 92% / 100% .38em no-repeat;
  transition: background-size 1.1s var(--ease) .35s;
}
#contact h2 em { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C40 7 78 15 118 10 S176 7 196 11' fill='none' stroke='%23ffffff' stroke-opacity='.4' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.calm-ready .section:not(.in) h2 em { background-size: 0 .38em; }

/* ---------- canal-house rooflines ---------- */
.section { position: relative; }
.roofline { position: absolute; left: 0; width: 100%; display: block; pointer-events: none; filter: url(#rough); }
.has-roof { border-top-left-radius: 0; border-top-right-radius: 0; }
.roof-soft, .roof-orange { bottom: calc(100% - 1px); height: clamp(56px, 8vw, 112px); }
.roof-soft .house { fill: var(--soft); stroke: var(--tint2); stroke-width: 2; stroke-linejoin: round; }
.roof-orange .house { fill: var(--accent); }
.roof-line { top: clamp(14px, 3vw, 40px); height: clamp(46px, 6vw, 84px); }
.roof-line .house { fill: none; stroke: var(--tint2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: var(--len, 4000); stroke-dashoffset: 0; }
.win { transition: fill .7s var(--ease) var(--wd, 0s), stroke .7s var(--ease) var(--wd, 0s); }
.roof-soft .win { fill: var(--accent); }
.roof-orange .win { fill: #fff; }
.roof-line .win { fill: var(--accent); stroke: var(--accent); stroke-width: 1.5; }
.win.stay-dark { fill: var(--tint) !important; stroke: var(--tint2) !important; }
.roof-orange .win.stay-dark { fill: var(--accent-dark) !important; stroke: none !important; }
.calm-ready .roof-line .house { transition: stroke-dashoffset 2.4s cubic-bezier(.65, 0, .35, 1); }
.calm-ready .section:not(.in) .roof-line .house { stroke-dashoffset: var(--len, 4000); }
.calm-ready .section:not(.in) .roof-soft .win { fill: var(--tint); }
.calm-ready .section:not(.in) .roof-orange .win { fill: var(--accent-dark); }
.calm-ready .section:not(.in) .roof-line .win { fill: #fff; stroke: var(--tint2); }
.calm-ready .roof-line .win { transition-delay: calc(var(--wd, 0s) + 1.2s); }

/* ---------- hand-drawn: every icon is an orange pen sketch with a light wash ---------- */
:where(.scene, .sticker svg, .pop-icon svg, .pop-i svg, .mini-mill, .big-mill, .grow, .about-art svg) :where(path, rect, circle, ellipse, polygon) {
  stroke: var(--accent); stroke-width: 1.8px; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke;
}
:is(.scene, .sticker svg, .pop-icon svg, .pop-i svg, .mini-mill, .grow, .about-art svg) :is(.s-o, .k-o, .m-body) { fill: var(--tint2); }
:is(.scene, .sticker svg, .pop-icon svg, .pop-i svg, .mini-mill, .grow, .about-art svg) :is(.s-t, .s-tint, .k-t, .s-t2, .k-t2, .m-sail, .leaf) { fill: #fff; }
:is(.scene, .sticker svg, .pop-icon svg, .pop-i svg, .mini-mill, .grow, .about-art svg) :is(.s-ink, .k-ink, .m-hub) { stroke: none; }
.scene .s-soft { fill: var(--soft); }
.scene .cloud :is(ellipse) { fill: #fff; stroke: var(--tint2); }
.scene .sun { fill: var(--tint); stroke: var(--tint2); }
.big-mill :where(path, rect, circle, polygon) { stroke: #fff; }
.big-mill .m-body, .big-mill .m-sail { fill: none; }
:is(.sticker svg, .pop-icon svg, .pop-i svg, .mini-mill, .big-mill, .grow, .about-art svg) { filter: url(#rough); }
.ticon { filter: url(#rough-sm); }
@media (min-width: 961px) { .scene { filter: url(#rough); } }

/* Dutch words written by hand */
.pop-b .pb-nl, .bubble .float { font-family: Caveat, "Segoe Print", "Bradley Hand", cursive; font-weight: 600; font-size: 1.45rem; letter-spacing: 0; line-height: 1.05; }
@media (max-width: 600px) { .pop-b .pb-nl { font-size: 1.2rem; } }
.about-art .s-o2 { fill: var(--tint2); }

/* ---------- Delft blue: the second colour ---------- */
.eyebrow { color: var(--blue); }
.lang button[aria-pressed="true"] { background: var(--blue); }
.pop-b.alt, .bubble.alt .float { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 10px 24px rgba(44, 87, 151, .2); }
.pop-b.alt .pb-el { color: rgba(255, 255, 255, .8); }
.stack-card:nth-child(2) { background: var(--blue-soft); border-color: var(--blue-soft); }
.stack-card:nth-child(2) .stack-quote { color: var(--blue-dark); }
.tile:not(.tile-wide:first-child) .ticon { stroke: var(--blue); }

/* the FAQ block becomes a blue street */
#faq { background: var(--blue-soft); }
#faq .roof-soft .house { fill: var(--blue-soft); stroke: var(--blue-tint); }
#faq .roof-soft .win.stay-dark { fill: var(--blue-tint) !important; stroke: none !important; }
.calm-ready #faq:not(.in) .roof-soft .win { fill: var(--blue-tint); }
#faq summary::after { border-color: var(--blue-tint); }
#faq em { color: var(--blue); }
#faq h2 em { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C40 7 78 15 118 10 S176 7 196 11' fill='none' stroke='%23c6d8f0' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* pen-drawn streets in blue ink, with warm orange windows */
.roof-line .house { stroke: color-mix(in srgb, var(--blue) 55%, #fff); }
.calm-ready .section:not(.in) .roof-line .win { stroke: var(--blue-tint); }
.roof-line .win.stay-dark { fill: var(--blue-soft) !important; stroke: var(--blue-tint) !important; }

/* canals are blue */
.scene .s-soft { fill: var(--blue-soft); stroke: var(--blue-tint); }
.scene .wave { stroke: var(--blue); opacity: .55; }
.scene .cloud ellipse { stroke: var(--blue-tint); }
.about-art .s-soft { fill: var(--blue-soft); }

/* ---------- schedule: calendar + next groups ---------- */
.lvl-a1 { --lv: var(--accent); } .lvl-a2 { --lv: var(--blue); } .lvl-b1 { --lv: var(--ink); } .lvl-b2 { --lv: var(--blue-dark); }
.schedule-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cal { background: var(--bg); border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 3vw, 32px); box-shadow: 0 24px 60px rgba(44, 87, 151, .07); }
.cal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cal-title { font: 600 1.25rem var(--f-display); letter-spacing: -.02em; }
.cal-prev, .cal-next { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--blue-tint); background: var(--bg); color: var(--blue-dark); font-size: 1.05rem; cursor: pointer; transition: background .3s, color .3s; }
.cal-prev:hover, .cal-next:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-head { font: 600 .7rem var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; padding-bottom: 8px; }
.cal-day { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 12px; border: 0; background: transparent; padding: 0; display: grid; place-items: center; font: 500 .95rem var(--f-body); color: var(--muted); }
.cal-day.has { color: var(--ink); background: var(--soft); cursor: pointer; transition: transform .3s var(--ease), background .3s; }
.cal-day.has:hover { transform: translateY(-2px); background: var(--tint); }
.cal-day.start { background: #fff; box-shadow: inset 0 0 0 2px var(--lv, var(--accent)); }
.cal-day.picked { background: var(--blue); color: #fff; }
.cal-day.today .cal-n { text-decoration: underline 2px var(--accent); text-underline-offset: 4px; }
.cal-n { line-height: 1; }
.cal-dots { position: absolute; bottom: 14%; display: flex; gap: 3px; }
.cal-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lv); }
.cal-tag { position: absolute; top: -6px; right: -4px; font: 700 .58rem var(--f-body); letter-spacing: .04em; color: #fff; background: var(--lv); border-radius: 6px; padding: 2px 4px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; font: 500 .8rem var(--f-body); color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-detail { margin-top: 14px; min-height: 3.2em; display: grid; gap: 6px; font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.cal-detail strong { color: var(--ink); font-weight: 600; }
.cal-line { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.next h3 { font: 600 1.3rem var(--f-display); letter-spacing: -.02em; margin-bottom: 16px; }
.next-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ng { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); }
.ng-date { display: grid; justify-items: center; min-width: 52px; padding: 6px 4px; border-radius: 14px; background: var(--lv); color: #fff; font: 600 .7rem var(--f-body); text-transform: uppercase; letter-spacing: .06em; }
.ng-date b { font: 600 1.45rem/1 var(--f-display); letter-spacing: -.02em; }
.ng-main { display: grid; gap: 4px; min-width: 0; }
.ng-main strong { font: 600 1rem var(--f-display); letter-spacing: -.01em; }
.ng-lvl { color: var(--lv); }
.ng-sub { font-size: .85rem; color: var(--muted); }
.ng-seats, .gc-seats { display: flex; gap: 4px; }
.ng-seats i, .gc-seats i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--lv); }
.ng-seats i.on, .gc-seats i.on { background: var(--lv); }
.cal-tz { font-size: .82rem; color: var(--muted); margin-bottom: 20px; }

/* ---------- groups page ---------- */
.groups-page { padding-top: 40px; }
.groups-section .roofline { display: none; }
.groups-title { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1; letter-spacing: -.045em; }
.group-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.group-filter button { border: 1px solid var(--blue-tint); background: var(--bg); color: var(--blue-dark); font: 600 .85rem var(--f-body); padding: .6em 1.15em; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.group-filter button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.groups-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-bottom: 18px; }
.group-card { position: relative; display: grid; gap: 16px; align-content: start; padding: 26px; border-radius: 28px; background: var(--bg); border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(44, 87, 151, .07); overflow: hidden; animation: card-in .7s var(--ease) both; }
.group-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--lv); }
@keyframes card-in { from { opacity: 0; translate: 0 18px; } }
.gc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gc-level { font: 600 3rem/1 var(--f-display); letter-spacing: -.05em; color: var(--lv); }
.gc-status { font: 600 .72rem var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: .45em .8em; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); }
.st-confirmed .gc-status { background: var(--tint); color: var(--accent-dark); }
.st-full .gc-status, .st-running .gc-status { background: var(--ink); color: #fff; }
.gc-when { font-size: 1rem; color: var(--muted); }
.gc-when b { display: block; font: 600 1.5rem var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.gc-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 14px 0; border-block: 1px solid var(--line); }
.gc-dates dt { font: 500 .72rem var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gc-dates dd { margin: 4px 0 0; font-weight: 600; font-size: .95rem; }
.gc-lessons { font-size: .9rem; color: var(--muted); }
.gc-fill { display: grid; gap: 10px; }
.gc-seats i { width: 22px; height: 22px; border-width: 2px; }
.gc-bar { position: relative; height: 6px; border-radius: 6px; background: var(--blue-soft); }
.gc-bar span { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--lv); transition: width 1s var(--ease); }
.gc-bar em { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--blue-tint); }
.gc-count { font-size: .88rem; color: var(--muted); }
.gc-count b { color: var(--ink); font-weight: 600; }
.group-card .btn { justify-self: start; }
.btn.btn-wait { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.groups-missing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--blue-soft); }
.groups-missing > div { max-width: 36em; display: grid; gap: 8px; }
.groups-missing h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.groups-missing p { color: var(--muted); }
.nav-links a[aria-current="page"] { color: var(--ink); }

@media (max-width: 960px) {
  .schedule-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ng { grid-template-columns: auto minmax(0, 1fr); }
  .ng-seats { grid-column: 2; }
  .cal-day { font-size: .85rem; border-radius: 9px; }
  .cal-tag { font-size: .5rem; right: -2px; }
}
.cal-day { aspect-ratio: auto; height: clamp(42px, 4.6vw, 60px); }
.section-head .lead { margin-top: 22px; }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; }
#contact .form-note { color: rgba(255, 255, 255, .8); }
.interest-note { display: inline-block; margin-bottom: 22px; padding: .7em 1.1em; border-radius: 16px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 500; font-size: .95rem; }
h2.big em { background-size: 100% .2em; background-position: 0 94%; }
.calm-ready .section:not(.in) h2.big em { background-size: 0 .2em; }

/* Phone tidy-up: the clock stays with the hero instead of floating over every
   section, the hero bubbles get one calm band under it, and the method cards
   sit one after another so none hides another's text. */
@media (max-width: 600px) {
  .dclock { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 84px); }
  .hero { padding-top: 76px; }
  .pop-field { height: 128px; margin-bottom: 20px; }
  .pop[data-slot="0"] { left: 0; top: 4px; } .pop[data-slot="1"] { left: 54%; top: 0; }
  .pop[data-slot="2"] { left: 10%; top: 70px; } .pop[data-slot="3"] { left: 60%; top: 66px; }
  .pop[data-slot="4"], .pop[data-slot="5"] { display: none; }
  .section { padding-block: 76px; }
  .section-head { margin-bottom: 36px; }
  .stack { gap: 16px; }
  .stack-card { position: relative; top: auto; }
  .stack-n { padding-bottom: 20px; }
}

/* About art: a lesson on a laptop, a coffee and a tulip, no person */
.about-art .ln { fill: none; }
.about-art .scr-line { stroke: var(--accent); stroke-width: 2.4px; }
.scr-nl { font: 600 34px Caveat, "Segoe Print", "Bradley Hand", cursive; fill: var(--accent-dark); text-anchor: middle; }
.scr-el { font: 500 17px var(--f-body); fill: var(--blue-dark); text-anchor: middle; }
@media (prefers-reduced-motion: no-preference) {
  .about-art .steam { animation: steam 3.2s ease-in-out infinite; }
}
@keyframes steam { 0%, 100% { opacity: .2; translate: 0 4px; } 50% { opacity: 1; translate: 0 -2px; } }

/* Performance: native scrolling, and the costly effects only where they are cheap.
   The sketchy SVG filter is re-rendered on every repaint, so the wide rooflines
   never use it and phones skip it entirely; blurred glass is replaced by solid white. */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
.roofline { filter: none; }
@media (max-width: 960px) {
  :is(.sticker svg, .pop-icon svg, .pop-i svg, .mini-mill, .big-mill, .grow, .about-art svg, .ticon, .scene) { filter: none; }
  .nav.scrolled { background: rgba(255, 255, 255, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .dclock-pill, .chat { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-in { from { opacity: 0; transform: translateY(28px); } }
}

/* About art: a teacher at a small board, drawn in the site's orange pen style inside a canal-house arch */
.about-art svg.teach { max-width: 320px; }
.about-art .teach .s-soft { fill: var(--blue-soft); }
.about-art .teach .ln { fill: none; }
.about-art .teach .floor { stroke-width: 2.4px; }
.about-art .teach .skin { fill: var(--tint); }
.about-art .teach .hair { fill: var(--accent-dark); stroke: var(--accent-dark); }
.about-art .teach .trs { fill: var(--tint2); }
.about-art .teach .shoe { fill: var(--accent-dark); }
.about-art .teach .tie { fill: var(--blue); stroke: var(--blue-dark); }
.about-art .teach .limb-o { fill: none; stroke: var(--accent); stroke-width: 17px; stroke-linecap: round; stroke-linejoin: round; vector-effect: none; }
.about-art .teach .limb-i { fill: none; stroke: #fff; stroke-width: 13.5px; stroke-linecap: round; stroke-linejoin: round; vector-effect: none; }
.about-art .teach .feat { fill: none; stroke: var(--ink); stroke-width: 1.6px; }
.about-art .teach .feat.thin { stroke: var(--accent-dark); stroke-width: 1.3px; }
.about-art .teach .eye { fill: var(--ink); stroke: none; }
.about-art .teach .mouth { fill: #fff; stroke: var(--accent-dark); }
.about-art .teach .blush { fill: var(--tint2); stroke: none; }
.about-art .tb-big { font: 600 34px Caveat, "Segoe Print", "Bradley Hand", cursive; fill: var(--accent-dark); }
.about-art .tb-nl { font: 600 30px Caveat, "Segoe Print", "Bradley Hand", cursive; fill: var(--ink); }
.about-art .tb-el { font: 500 15px var(--f-body); fill: var(--blue-dark); }
.about-art .teach .tb-line { stroke-width: 2.2px; }

.about-art .teach .pen { fill: none; stroke: var(--blue-dark); stroke-width: 3px; }
.about-art .teach .tb-fresh { stroke: var(--blue-dark); stroke-width: 1.6px; }
/* the drawing stays beside the text down to tablet width; phones stack it, smaller */
@media (min-width: 601px) and (max-width: 960px) {
  .about-grid { grid-template-columns: minmax(180px, .75fr) 1.25fr; gap: 36px; }
}
@media (max-width: 600px) { .about-art svg.teach { max-width: 240px; } }

/* About art, alive: the board is written line by line when the section comes into view,
   then the teacher keeps scribbling the next word */
.about-art .teach .book-b { fill: var(--blue-tint); stroke: var(--blue); }
.about-art .teach .leaf { fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .calm-ready .about-art .tw { clip-path: inset(-20% 100% -20% 0); }
  .calm-ready .about-art.in .tw { animation: write-in .9s cubic-bezier(.45, .05, .35, 1) forwards; }
  .about-art.in .tw1 { animation-delay: .4s !important; }
  .about-art.in .tw2 { animation-delay: 1.2s !important; animation-duration: .5s !important; }
  .about-art.in .tw3 { animation-delay: 1.8s !important; }
  .about-art.in .tw4 { animation-delay: 2.8s !important; }
  .about-art .write-arm { transform-box: view-box; transform-origin: 212px 194px; animation: scribble .45s ease-in-out infinite alternate; }
  .about-art .tb-fresh { stroke-dasharray: 34; animation: fresh 1.8s ease-in-out infinite; }
  .about-art .tulip-head { transform-box: fill-box; transform-origin: 50% 100%; animation: tulip-nod 3.5s ease-in-out infinite alternate; }
}
@keyframes write-in { to { clip-path: inset(-20% 0 -20% 0); } }
@keyframes scribble { from { rotate: -2.5deg; } to { rotate: 1.5deg; } }
@keyframes fresh { 0% { stroke-dashoffset: 34; } 60%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 34; opacity: 0; } }
@keyframes tulip-nod { from { rotate: -4deg; } to { rotate: 4deg; } }

/* Teacher: face, glasses, blazer */
.about-art .teach .jacket { fill: var(--blue-tint); }
.about-art .teach .shirt { fill: #fff; stroke-width: 1.8px; }
.about-art .teach .tie-o { fill: var(--accent); stroke: var(--accent-dark); stroke-width: 1.4px; }
.about-art .teach .lapel { stroke-width: 1.6px; }
.about-art .teach .btn { fill: var(--accent); stroke: none; }
.about-art .teach .limb-i { stroke: var(--blue-tint); }
.about-art .teach .trs { fill: var(--blue); }
.about-art .teach .hair { fill: var(--ink); stroke: var(--ink); stroke-linejoin: round; }
.about-art .teach .hair-hl { fill: none; stroke: #6b5a50; stroke-width: 1.6px; stroke-linecap: round; }
.about-art .teach .glass { fill: rgba(255,255,255,.35); stroke: var(--ink); stroke-width: 1.8px; }
.about-art .teach .cuff { fill: none; stroke: #fff; stroke-width: 6px; stroke-linecap: round; }

/* Teacher v4: friendly front-facing, bold ink outline */
.about-art .teach .k { stroke: var(--ink); stroke-width: 3px; stroke-linejoin: round; stroke-linecap: round; }
.about-art .teach .kf { fill: none; stroke: var(--ink); stroke-width: 2.4px; stroke-linecap: round; }
.about-art .teach .tch .skin { fill: #ffd9bd; }
.about-art .teach .tch .hair { fill: #2a211c; stroke: var(--ink); }
.about-art .teach .tch .shirt { fill: #fff; }
.about-art .teach .tch .vest { fill: var(--blue); }
.about-art .teach .tch .tie { fill: var(--accent); stroke: var(--ink); }
.about-art .teach .tch .trs { fill: #8a8d96; }
.about-art .teach .tch .shoe { fill: #2a211c; }
.about-art .teach .tch .belt { fill: #2a211c; }
.about-art .teach .tch .buckle { fill: #d9dbe0; stroke: none; }
.about-art .teach .tch .eye { fill: var(--ink); stroke: none; }
.about-art .teach .tch .blush { fill: #ffb08a; stroke: none; opacity: .7; }
.about-art .teach .tch .mouth { fill: #b8401c; }
.about-art .teach .tch .cover { fill: var(--accent-dark); }
.about-art .teach .tch .pages { fill: none; stroke: #fff; stroke-width: 3px; }
.about-art .teach .sl-o { fill: none; stroke: var(--ink); stroke-width: 20px; stroke-linecap: round; stroke-linejoin: round; }
.about-art .teach .sl-i { fill: none; stroke: #fff; stroke-width: 14px; stroke-linecap: round; stroke-linejoin: round; }
.about-art .teach .spark { fill: none; stroke: var(--accent); stroke-width: 3px; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .about-art .idea-arm { transform-box: view-box; transform-origin: 167px 226px; animation: idea-wag 2.4s ease-in-out infinite; }
  .about-art .spark { animation: spark 2.4s ease-in-out infinite; }
  .about-art .eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 4.5s infinite; }
}
@keyframes idea-wag { 0%, 60%, 100% { rotate: 0deg; } 70% { rotate: 4deg; } 80% { rotate: -2deg; } 90% { rotate: 3deg; } }
@keyframes spark { 0%, 55%, 100% { opacity: 0; } 70%, 90% { opacity: 1; } }
@keyframes blink { 0%, 94%, 100% { scale: 1 1; } 97% { scale: 1 .1; } }

.about-art .teach .tch .glint { fill: #fff; stroke: none; }
.about-art .teach .tch .part { fill: none; stroke: #6b5a50; stroke-width: 1.6px; stroke-linecap: round; }
.about-art .teach .specs :is(circle, path) { fill: none; stroke: var(--ink); stroke-width: 2.4px; stroke-linecap: round; }
.about-art .teach .specs circle { fill: rgba(255,255,255,.25); }

/* Teacher v6: on a Dutch bike */
.about-art svg.teach.bike { max-width: 340px; }
.about-art .bike .houses path { fill: var(--blue-tint); stroke: none; opacity: .55; }
.about-art .bike .win rect { fill: #fff; stroke: none; opacity: .8; }
.about-art .bike .water { fill: none; stroke: var(--blue-tint); stroke-width: 3px; }
.about-art .bike .tyre { fill: none; stroke: var(--ink); stroke-width: 5px; }
.about-art .bike .rim { fill: none; stroke: #9aa3b2; stroke-width: 1.6px; }
.about-art .bike .spokes path { fill: none; stroke: #9aa3b2; stroke-width: 1.2px; }
.about-art .bike .hub { fill: var(--ink); stroke: none; }
.about-art .bike .frame { fill: none; stroke: var(--blue-dark); stroke-width: 5px; stroke-linecap: round; stroke-linejoin: round; }
.about-art .bike .guard { fill: var(--blue-dark); }
.about-art .bike .rack { fill: none; }
.about-art .bike .book1 { fill: var(--accent); }
.about-art .bike .book2 { fill: #fff; }
.about-art .bike .stem { fill: none; stroke: #4c8a3e; stroke-width: 2px; }
.about-art .bike .tul { fill: var(--accent); }
.about-art .bike .tul2 { fill: #fff; }
.about-art .bike .seat { fill: #2a211c; }
.about-art .bike .skin { fill: #ffd9bd; }
.about-art .bike .hair { fill: #2a211c; }
.about-art .bike .jumper { fill: var(--blue); }
.about-art .bike .bag { fill: var(--accent-dark); }
.about-art .bike .strap { fill: none; stroke: #2a211c; stroke-width: 3px; }
.about-art .bike .scarf, .about-art .bike .scarf-tail { fill: var(--accent); }
.about-art .bike .shoe { fill: #2a211c; }
.about-art .bike .eye { fill: var(--ink); stroke: none; }
.about-art .bike .blush { fill: #ffb08a; stroke: none; opacity: .7; }
.about-art .bike .lens { fill: rgba(255,255,255,.3); stroke: var(--ink); stroke-width: 2.2px; }
.about-art .bike .leg-f, .about-art .bike .leg-b { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.about-art .bike .leg-f { stroke: #6f7380; stroke-width: 15px; }
.about-art .bike .leg-b { stroke: #565a66; stroke-width: 14px; }
.about-art .bike .sl-i { stroke: var(--blue); }
.about-art .bike .speed path { fill: none; stroke: var(--accent); stroke-width: 3px; stroke-linecap: round; }
.about-art .bike .tb-big { font-size: 32px; }
.about-art .bike .tb-el { font-size: 13px; }
@media (prefers-reduced-motion: no-preference) {
  .about-art .bike .spokes { transform-box: fill-box; transform-origin: 50% 50%; animation: spin 1.4s linear infinite; }
  .about-art .bike .rider { animation: bob .7s ease-in-out infinite alternate; }
  .about-art .bike .scarf-tail { transform-box: fill-box; transform-origin: 100% 30%; animation: flutter .5s ease-in-out infinite alternate; }
  .about-art .bike .speed path { animation: whoosh 1.2s ease-in-out infinite; }
  .about-art .bike .speed path:nth-child(2) { animation-delay: .25s; } .about-art .bike .speed path:nth-child(3) { animation-delay: .5s; }
}
@keyframes spin { to { rotate: 360deg; } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -2px; } }
@keyframes flutter { from { rotate: -4deg; } to { rotate: 5deg; } }
@keyframes whoosh { 0%, 100% { opacity: 0; translate: 8px 0; } 50% { opacity: 1; translate: 0 0; } }

/* Hero scene polish */
.scene .sail { fill: #fff; stroke: var(--accent); stroke-width: 1.6; }
.scene .lattice { fill: none; stroke: var(--tint2); stroke-width: 1.2; }
.scene .mill-line, .scene .mill-rail { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; }
.scene .mill-rail { stroke-width: 1.8; }
.scene :is(.tul-a, .tul-b, .tul-c, .tul-d) { stroke-width: 1.6; }
.scene .tul-a { fill: var(--accent); stroke: var(--accent-dark); }
.scene .tul-b { fill: #fff; stroke: var(--accent); }
.scene .tul-c { fill: var(--blue-tint); stroke: var(--blue); }
.scene .tul-d { fill: var(--tint2); stroke: var(--accent); }
.scene .layer { will-change: transform; }
.scene #mill { will-change: transform; }
@media (min-width: 961px) { .scene { filter: none; } }
@media (max-width: 600px) { .scene .mill-pos { transform: translateX(48px); } }

/* Hero layout: messages get their own column on large screens, so they never cover the title or text */
@media (min-width: 961px) {
  .hero-wrap { display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 30%, 400px); column-gap: clamp(24px, 4vw, 72px); align-content: start; }
  .hero-wrap > * { grid-column: 1; }
  .hero-wrap > .pop-field { position: relative; grid-column: 2; grid-row: 1 / span 6; top: auto; right: auto; width: auto; height: auto; min-height: 340px; }
  .hero h1.brand-title { font-size: clamp(3.6rem, 9vw, 9rem); }
  .pop[data-slot] { left: auto; right: auto; }
  .pop[data-slot="0"] { left: 0; top: 4%; }
  .pop[data-slot="1"] { right: 0; top: 20%; }
  .pop[data-slot="2"] { left: 6%; top: 36%; }
  .pop[data-slot="3"] { right: 4%; top: 52%; }
  .pop[data-slot="4"] { left: 0; top: 68%; }
  .pop[data-slot="5"] { right: 0; top: 84%; }
}
/* The landscape keeps its proportions, so wide and full-screen windows show the whole windmill and sky */
.scene { height: clamp(230px, 25vw, 600px); }
/* The Amsterdam clock scrolls away with the top of the page instead of floating over the text */
.dclock { position: absolute; }
@media (max-width: 960px) { .hero { padding-top: 148px; } }
@media (max-width: 600px) { .hero { padding-top: 140px; } }

/* ---------- Lesson material: even 3 x 2 grid, icon badge above each title ---------- */
.bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.bento .tile, .bento .tile-wide { grid-column: auto; min-height: 0; justify-content: flex-start; gap: 18px; padding: 32px 30px 34px; }
.bento .tile h3 { margin-top: 6px; }
.bento .tile p { max-width: none; }
.bento .ticon { position: static; order: -1; box-sizing: border-box; width: 58px; height: 58px; padding: 14px; border-radius: 50%; background: var(--tint); flex: none; }
.bento .tile-wide:first-child .ticon { background: rgba(255, 255, 255, .2); }
.bento .tile-wide:last-child .ticon { background: var(--bg); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .bento .tile, .bento .tile-wide { padding: 26px 24px 28px; gap: 14px; }
  .bento .ticon { width: 50px; height: 50px; padding: 12px; }
}

/* ---------- Our own book band (under the lesson cards) ---------- */
.book-band { margin-top: 20px; display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px); background: var(--blue-soft); border-radius: 28px; padding: clamp(28px, 4vw, 52px) clamp(24px, 5vw, 64px); }
.book-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.book-art svg * { stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.book-art .bk-shadow { fill: var(--blue-tint); stroke: none; opacity: .7; }
.book-art .bk-blue { fill: var(--blue); }
.book-art .bk-pages { fill: var(--bg); }
.book-art .bk-line { fill: none; stroke: var(--line); stroke-width: 2; }
.book-art .bk-cover { fill: var(--accent); }
.book-art .bk-spine { fill: var(--accent-dark); }
.book-art .bk-frame { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 1.8; }
.book-art text { stroke: none; }
.book-art .bk-title { fill: #fff; font: italic 400 30px var(--f-accent); }
.book-art .bk-lvl, .book-art .bk-lvl-b { font: 700 14px var(--f-display); fill: var(--ink); }
.book-art .bk-lvl-b { fill: #fff; font-size: 16px; }
.book-art .bk-ribbon { fill: var(--tint); }
.book-art .bk-mill { fill: var(--bg); stroke-width: 2; }
.book-art .bk-sail { fill: none; stroke: #fff; stroke-width: 3; }
.book-art .bk-stem, .book-art .bk-ground { fill: none; stroke: #fff; stroke-width: 2.4; }
.book-art .bk-tul { fill: var(--tint); stroke-width: 2; }
.book-art .bk-back { transform-box: fill-box; transform-origin: 50% 100%; transform: rotate(6deg); }
.book-art .bk-front { transform-box: fill-box; transform-origin: 50% 100%; transform: rotate(-3deg); transition: transform .8s var(--ease); }
.book-band:hover .bk-front { transform: rotate(-6deg) translateY(-6px); }
.book-text { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.book-text .eyebrow { margin: 0; }
.book-text h3 { font: 600 clamp(1.8rem, 3.4vw, 2.8rem)/1.08 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.book-text h3 em { font: italic 400 1em var(--f-accent); color: var(--blue); }
.book-text > p:not(.eyebrow) { color: var(--muted); max-width: 36em; }
.book-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.book-facts li { position: relative; padding-left: 22px; font-weight: 500; }
.book-facts li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2.4px solid var(--accent); border-bottom: 2.4px solid var(--accent); transform: rotate(-45deg); }
.book-levels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.bl { font: 600 .9rem var(--f-display); padding: 7px 14px; border-radius: 999px; border: 1.5px dashed var(--blue-tint); color: var(--muted); background: transparent; }
.bl.on { border: 1.5px solid var(--accent); background: var(--accent); color: #fff; }
.bl small { font-weight: 500; opacity: .9; margin-left: 4px; }
.bl-note { color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) {
  .book-band { grid-template-columns: 1fr; text-align: left; }
  .book-art { max-width: 220px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) { .book-art .bk-front { transition: none; } }
/* real book cover in the book band */
.book-cover { margin: 0; justify-self: center; width: 100%; max-width: 280px; transform: rotate(-3deg); transition: transform .8s var(--ease); }
.book-cover img { display: block; width: 100%; height: auto; border-radius: 6px 12px 12px 6px; box-shadow: -6px 0 0 rgba(0, 0, 0, .12) inset, 0 22px 44px rgba(27, 20, 16, .22), 0 4px 10px rgba(27, 20, 16, .12); }
.book-band:hover .book-cover { transform: rotate(-1deg) translateY(-6px); }
.bl.on { background: var(--bg); color: var(--ink); border: 1.5px solid var(--blue-tint); }
@media (max-width: 760px) { .book-cover { max-width: 210px; } }
@media (prefers-reduced-motion: reduce) { .book-cover { transition: none; } }

/* ---------- Four books, fanned ---------- */
.book-band { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.book-fan { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1.12 / 1; justify-self: center; }
.book-fan img { position: absolute; bottom: 4%; width: 46%; height: auto; border-radius: 4px 9px 9px 4px;
  box-shadow: -5px 0 0 rgba(0, 0, 0, .12) inset, 0 18px 36px rgba(27, 20, 16, .22), 0 3px 8px rgba(27, 20, 16, .12);
  transform-origin: 50% 100%; transition: transform .7s var(--ease); }
.book-fan img:nth-child(1) { left: 0;   transform: rotate(-9deg); z-index: 1; }
.book-fan img:nth-child(2) { left: 18%; transform: rotate(-3deg) translateY(-3%); z-index: 2; }
.book-fan img:nth-child(3) { left: 36%; transform: rotate(3deg) translateY(-3%); z-index: 3; }
.book-fan img:nth-child(4) { left: 54%; transform: rotate(9deg); z-index: 4; }
.book-band:hover .book-fan img:nth-child(1) { transform: rotate(-13deg) translateX(-4%); }
.book-band:hover .book-fan img:nth-child(2) { transform: rotate(-5deg) translateY(-7%); }
.book-band:hover .book-fan img:nth-child(3) { transform: rotate(5deg) translateY(-7%); }
.book-band:hover .book-fan img:nth-child(4) { transform: rotate(13deg) translateX(4%); }
@media (max-width: 760px) { .book-band { grid-template-columns: minmax(0, 1fr); } .book-fan { max-width: 360px; } }
@media (prefers-reduced-motion: reduce) { .book-fan img { transition: none; } }

/* ---------- Social links ---------- */
.follow { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.follow-label { margin: 0; font-weight: 600; color: #fff; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.soc { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; transition: border-color .2s, transform .2s, color .2s; }
.soc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.soc svg .dot { fill: currentColor; stroke: none; }
.soc:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.social-foot { gap: 6px; }
.social-foot .soc { padding: 6px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; }
.social-foot .soc span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.social-foot .soc:hover { background: #fff; color: var(--accent); }
.footer-inner { align-items: center; }

/* ---------- Logo (same picture as the Instagram profile) ---------- */
img.logo-mark { width: 34px; height: 34px; padding: 0; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9), 0 2px 6px rgba(27, 20, 16, .15); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }

/* Privacy page */
html[lang="el"] .pv-nl, html[lang="nl"] .pv-el { display: none; }
.legal { padding-block: clamp(120px, 14vw, 160px) clamp(64px, 8vw, 96px); }
.legal-body { max-width: 68ch; }
.legal-body h1 { font: 700 clamp(2.2rem, 5vw, 3.4rem)/1.05 var(--f-display); letter-spacing: -.02em; text-wrap: balance; margin-bottom: 12px; }
.legal-body h1 em { font-family: var(--f-accent); font-weight: 400; color: var(--accent); }
.legal-date { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.legal-body .lead { margin-bottom: 8px; }
.legal-body h2 { font: 600 1.2rem/1.3 var(--f-display); margin: 36px 0 10px; }
.legal-body p, .legal-body li { line-height: 1.65; color: var(--ink); }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 1.2em; margin: 10px 0 12px; display: grid; gap: 6px; }
.legal-body a { color: var(--blue); }
.legal-back { margin-top: 48px; }
.footer-inner a.footer-privacy { color: inherit; }
.form-note a { color: inherit; }
