/* Schep: one-pager for a made-up ice cream shop. Concept project by Studio SMART.
   Everything works without JavaScript; motion only starts under html.js and without reduced motion. */

@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 400 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --room: #FFF3E2;
  --choc: #3A1E14;
  --fram: #FF4D7E;
  --fram-diep: #D6195A;
  --pist: #A6D46A;
  --mango: #FFB21E;
  --bes: #A98BFF;
  --hoorn: #E9A55B;
  --hoorn-donker: #C9823E;
  --wit: #FFFFFF;

  --kop: "Bricolage", "Arial Rounded MT Bold", system-ui, sans-serif;
  --tekst: "Instrument Sans", system-ui, -apple-system, sans-serif;

  --t-mega: clamp(5.5rem, 19vw, 20rem);
  --t-xl: clamp(3.5rem, 9.5vw, 9.5rem);
  --t-l: clamp(2.4rem, 5.4vw, 4.75rem);
  --t-m: clamp(1.4rem, 2.2vw, 1.9rem);
  --t-body: clamp(1.05rem, 1.1vw, 1.2rem);
  --t-s: 0.95rem;
  --t-xs: 0.8rem;

  --s-1: 0.5rem; --s-2: 0.75rem; --s-3: 1rem; --s-4: 1.5rem; --s-5: 2rem; --s-6: 3rem; --s-7: 5rem; --s-8: 8rem;
  --rand: clamp(1rem, 5vw, 4.5rem);
  --rond: 2.25rem;
  --rond-s: 1rem;
  --veer: cubic-bezier(.3, 1.6, .5, 1);
  --zacht: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--room); color: var(--choc); font: 400 var(--t-body)/1.5 var(--tekst); -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--choc); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--fram); color: var(--wit); }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s-3); top: -4rem; z-index: 100; background: var(--choc); color: var(--room); padding: var(--s-2) var(--s-3); border-radius: 99px; text-decoration: none; font-weight: 600; }
.skip:focus { top: var(--s-3); }

/* ---------- shared pieces ---------- */
.kicker { font: 600 var(--t-s)/1.2 var(--tekst); letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--kop); font-weight: 800; letter-spacing: -.045em; line-height: .92; }
h2 { font-size: var(--t-l); }
.btn { display: inline-flex; align-items: center; gap: var(--s-1); padding: .95rem 1.4rem; border-radius: 99px; border: 2px solid var(--choc); font: 600 var(--t-body)/1 var(--tekst); text-decoration: none; transition: transform .35s var(--veer), background-color .25s, color .25s; }
.btn:hover { transform: scale(1.06) rotate(-2deg); }
.btn:active { transform: scale(.97); }
.btn--donker { background: var(--choc); color: var(--room); }
.btn--lijn { background: transparent; color: var(--choc); }
.btn--lijn:hover { background: var(--choc); color: var(--room); }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-1); list-style: none; padding: 0; }
.tags li { border: 2px solid currentColor; border-radius: 99px; padding: .3rem .8rem; font: 600 var(--t-s)/1.2 var(--tekst); }
.sticker { position: absolute; display: grid; place-items: center; border-radius: 50%; background: var(--fram); color: var(--wit); text-align: center; font: 800 1.05rem/1 var(--kop); }

/* ---------- concept bar ---------- */
.conceptbalk { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--s-1) var(--s-3); padding: .55rem var(--rand); background: var(--choc); color: var(--room); font-size: var(--t-s); text-align: center; }
.conceptbalk button { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- navigation ---------- */
.nav { position: sticky; top: var(--s-2); z-index: 50; display: flex; justify-content: center; padding: 0 var(--s-2); margin-top: var(--s-2); transition: transform .5s var(--zacht); }
.nav.is-weg { transform: translateY(-140%); }
.nav__pil { display: flex; align-items: center; gap: var(--s-1); padding: .4rem .45rem .4rem 1.1rem; border-radius: 99px; background: var(--room); box-shadow: 0 8px 30px -12px rgba(58, 30, 20, .35), 0 0 0 2px var(--choc); max-width: 100%; }
.nav__logo { font: 800 1.6rem/1 var(--kop); letter-spacing: -.05em; text-decoration: none; margin-right: var(--s-2); }
.nav__logo span, .woordmerk span:last-child, .voet__groot span:last-child { color: var(--fram); }
.nav__links { display: flex; gap: .15rem; list-style: none; padding: 0; }
.nav__links a { display: block; padding: .55rem .8rem; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: var(--t-s); transition: background-color .2s; }
.nav__links a:hover { background: rgba(58, 30, 20, .08); }
.status { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 99px; background: rgba(58, 30, 20, .07); font: 600 var(--t-s)/1 var(--tekst); white-space: nowrap; }
.status i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--hoorn-donker); }
.status.is-open i { background: #2E9E4F; animation: puls 2s ease-in-out infinite; }
.nav__menuknop { display: none; border: 0; background: var(--choc); color: var(--room); border-radius: 99px; padding: .6rem 1rem; font-weight: 600; font-size: var(--t-s); }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--fram); color: var(--choc); padding: var(--s-7) var(--rand) var(--s-5); display: flex; flex-direction: column; justify-content: space-between; visibility: hidden; clip-path: circle(0% at calc(100% - 3rem) 2.5rem); transition: clip-path .7s var(--zacht), visibility 0s .7s; }
.menu.is-open { visibility: visible; clip-path: circle(150% at calc(100% - 3rem) 2.5rem); transition: clip-path .7s var(--zacht); }
.menu ul { list-style: none; padding: 0; }
.menu a { display: block; font: 800 clamp(2.8rem, 13vw, 4.5rem)/1 var(--kop); letter-spacing: -.05em; text-decoration: none; padding: .35rem 0; }
.menu__sluit { position: absolute; top: var(--s-4); right: var(--rand); border: 0; background: var(--choc); color: var(--room); border-radius: 99px; padding: .6rem 1rem; font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: var(--s-5) 4vw; padding: var(--s-6) var(--rand) var(--s-6); min-height: min(92vh, 62rem); }
.hero__tekst { position: relative; z-index: 2; }
.woordmerk { font-size: var(--t-mega); line-height: .8; letter-spacing: -.065em; display: flex; clip-path: inset(-50% -50% 0 -50%); padding-bottom: .07em; margin: var(--s-3) 0 var(--s-4); }
.woordmerk span { display: inline-block; }
.hero__lead { font-size: var(--t-m); line-height: 1.3; max-width: 24ch; margin-bottom: var(--s-5); }
.hero__knoppen { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.hero__boog { position: relative; z-index: 1; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--rond) var(--rond); overflow: hidden; background: var(--mango); }
.hero__boog img { width: 100%; height: 100%; object-fit: cover; }
.sticker--draai { width: 9.5rem; height: 9.5rem; right: calc(var(--rand) - 1.5rem); top: var(--s-5); z-index: 3; }
.sticker--draai svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: draai 16s linear infinite; }
.sticker--draai strong { font-size: 2.9rem; }
.spikkels { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.spikkels i { position: absolute; width: 1.6rem; height: .55rem; border-radius: 99px; background: var(--fram); }
.spikkels i:nth-child(1) { left: 6%; top: 14%; rotate: 35deg; background: var(--pist); }
.spikkels i:nth-child(2) { left: 44%; top: 8%; rotate: -20deg; background: var(--bes); }
.spikkels i:nth-child(3) { left: 52%; top: 42%; rotate: 70deg; background: var(--mango); }
.spikkels i:nth-child(4) { left: 30%; top: 30%; rotate: 10deg; }
.spikkels i:nth-child(5) { left: 3%; top: 58%; rotate: -50deg; background: var(--bes); }
.spikkels i:nth-child(6) { left: 92%; top: 72%; rotate: 25deg; background: var(--pist); }
.spikkels i:nth-child(7) { left: 49%; top: 86%; rotate: -65deg; }
.spikkels i:nth-child(8) { left: 18%; top: 5%; rotate: 80deg; background: var(--mango); }

/* ---------- flavour ribbon ---------- */
.lint { background: var(--choc); color: var(--room); overflow: hidden; white-space: nowrap; padding: var(--s-3) 0; rotate: -2deg; scale: 1.05; margin: var(--s-4) 0 var(--s-7); position: relative; z-index: 2; }
.lint__rij { display: inline-flex; animation: lint 26s linear infinite; }
.lint__rij span { font: 800 clamp(1.8rem, 4vw, 3.3rem)/1 var(--kop); letter-spacing: -.03em; padding: 0 .4em; }
.lint__rij span:nth-child(even) { color: var(--mango); }
html.gsap .lint__rij { animation: none; }

/* ---------- flavours ---------- */
.smaken { transition: background-color .7s var(--zacht), color .7s var(--zacht); }
.smaken__kop { padding: var(--s-7) var(--rand) 0; max-width: 60rem; }
.smaken__kop h2 { margin-top: var(--s-3); }
.smaak { min-height: 92vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s-5) 6vw; padding: var(--s-7) var(--rand); }
.smaak:nth-of-type(even) .smaak__beeld { order: -1; }
.smaak__nr { font: 600 var(--t-s)/1 var(--tekst); letter-spacing: .12em; }
.smaak__naam { font-size: var(--t-xl); margin: var(--s-3) 0 var(--s-4); }
.smaak__tekst > p:not(.smaak__nr) { font-size: var(--t-m); line-height: 1.3; max-width: 26ch; margin-bottom: var(--s-4); }
.smaak__beeld { border-radius: var(--rond); overflow: hidden; aspect-ratio: 4 / 5; max-height: 80vh; box-shadow: 0 40px 70px -40px rgba(58, 30, 20, .55); }
.smaak__beeld img { width: 100%; height: 100%; object-fit: cover; }
/* without JS every flavour has its own colour; with JS the whole section takes the colour of the flavour in view */
.smaak[data-kleur="fram"] { background: var(--fram); }
.smaak[data-kleur="pist"] { background: var(--pist); }
.smaak[data-kleur="mango"] { background: var(--mango); }
.smaak[data-kleur="bes"] { background: var(--bes); }
.smaak[data-kleur="choc"] { background: var(--choc); color: var(--room); }
html.js .smaak { background: transparent; color: inherit; }
html.js .smaken { background: var(--room); }
html.js .smaken[data-actief="fram"] { background: var(--fram); }
html.js .smaken[data-actief="pist"] { background: var(--pist); }
html.js .smaken[data-actief="mango"] { background: var(--mango); }
html.js .smaken[data-actief="bes"] { background: var(--bes); }
html.js .smaken[data-actief="choc"] { background: var(--choc); color: var(--room); }

/* ---------- how we make it (horizontal) ---------- */
.proces { background: var(--room); padding: var(--s-7) 0 var(--s-6); overflow: hidden; }
.proces__rail { display: flex; align-items: center; gap: var(--s-5); padding: 0 var(--rand); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); scrollbar-width: none; }
.proces__rail::-webkit-scrollbar { display: none; }
.proces__kop { flex: 0 0 min(30rem, 80vw); scroll-snap-align: start; }
.proces__kop h2 { margin: var(--s-3) 0 var(--s-4); }
.proces__kop p:last-child { font-size: var(--t-m); line-height: 1.3; }
.hint-pin, .proces.is-gepind .hint-veeg { display: none; }
.proces.is-gepind .hint-pin { display: inline; }
.stap { flex: 0 0 auto; display: grid; gap: var(--s-3); scroll-snap-align: center; }
.stap__media { position: relative; border-radius: var(--rond); overflow: hidden; background: var(--choc); }
.stap__media video, .stap__media img { width: 100%; height: 100%; object-fit: cover; }
.stap--breed .stap__media { width: min(46rem, 82vw); aspect-ratio: 16 / 10; }
.stap--hoog .stap__media { width: min(24rem, 66vw); aspect-ratio: 9 / 14; }
.stap--staand .stap__media { width: min(30rem, 72vw); aspect-ratio: 4 / 5; }
.stap__tekst { display: grid; grid-template-columns: auto 1fr; gap: 0 var(--s-3); max-width: 34rem; }
.stap__nr { font: 800 3.4rem/1 var(--kop); color: var(--fram-diep); grid-row: span 2; letter-spacing: -.05em; }
.stap h3 { font-size: 2rem; line-height: 1; margin-bottom: var(--s-1); }
.stap p { font-size: var(--t-body); }
.proces__balk { height: 4px; margin: var(--s-5) var(--rand) 0; background: rgba(58, 30, 20, .12); border-radius: 99px; overflow: hidden; display: none; }
.proces__balk i { display: block; height: 100%; width: 100%; background: var(--choc); transform-origin: left; transform: scaleX(0); }
html.js .proces.is-gepind .proces__balk { display: block; }
html.js .proces.is-gepind { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: var(--s-5) 0; }
html.js .proces.is-gepind .proces__rail { overflow: visible; scroll-snap-type: none; }
.speel { position: absolute; left: var(--s-3); bottom: var(--s-3); border: 0; border-radius: 99px; padding: .55rem 1rem; background: var(--room); color: var(--choc); font-weight: 600; font-size: var(--t-s); display: none; }
html.js.stil .speel, html.js.spaar .speel { display: inline-flex; }

/* ---------- sold out ---------- */
.opisop { background: var(--mango); padding: var(--s-8) var(--rand); text-align: center; overflow: hidden; }
.opisop__groot { font: 800 var(--t-mega)/.82 var(--kop); letter-spacing: -.065em; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .18em; }
.opisop__groot span { display: inline-block; }
.opisop p:last-child { font-size: var(--t-m); line-height: 1.3; max-width: 30ch; margin: var(--s-5) auto 0; }

/* ---------- stack your cone ---------- */
.stapel { padding: var(--s-8) var(--rand); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-6) 6vw; align-items: center; background: var(--room); }
.stapel__kop h2 { margin: var(--s-3) 0 var(--s-4); font-size: var(--t-xl); }
.stapel__kop > p:last-child { font-size: var(--t-m); line-height: 1.3; max-width: 28ch; }
.stapel__podium { position: relative; display: grid; place-items: center; border-radius: var(--rond); background: var(--bes); min-height: 34rem; padding: var(--s-5); overflow: hidden; grid-row: span 2; }
.stapel__podium svg { width: min(18rem, 70%); height: auto; overflow: visible; }
.stapel__podium.is-schud svg { animation: schud .45s; }
.stapel__melding { position: absolute; top: var(--s-4); left: 50%; translate: -50% 0; background: var(--choc); color: var(--room); padding: .6rem 1rem; border-radius: 99px; font-weight: 600; font-size: var(--t-s); white-space: nowrap; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 2; }
.stapel__melding.is-zichtbaar { opacity: 1; }
.stapel__spel { display: grid; gap: var(--s-4); }
.keuze { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.keuze button { display: inline-flex; align-items: center; gap: .55rem; border: 2px solid var(--choc); background: var(--room); border-radius: 99px; padding: .7rem 1.1rem .7rem .7rem; font-weight: 600; transition: transform .3s var(--veer), background-color .2s; }
.keuze button:hover { transform: translateY(-3px) rotate(-2deg); }
.keuze button:active { transform: scale(.94); }
.keuze button i { width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid var(--choc); }
.keuze [data-smaak="fram"] i { background: var(--fram); }
.keuze [data-smaak="pist"] i { background: var(--pist); }
.keuze [data-smaak="mango"] i { background: var(--mango); }
.keuze [data-smaak="bes"] i { background: var(--bes); }
.keuze [data-smaak="choc"] i { background: #6B3B26; }
.schakel { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; cursor: pointer; }
.schakel input { appearance: none; width: 3.2rem; height: 1.9rem; border-radius: 99px; background: rgba(58, 30, 20, .18); position: relative; cursor: pointer; transition: background-color .25s; }
.schakel input::after { content: ""; position: absolute; left: .25rem; top: .25rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--wit); transition: translate .35s var(--veer); }
.schakel input:checked { background: var(--fram); }
.schakel input:checked::after { translate: 1.3rem 0; }
.bon { display: flex; justify-content: space-between; align-items: end; gap: var(--s-3); border-top: 2px dashed var(--choc); padding-top: var(--s-3); }
.bon__naam { font: 800 var(--t-m)/1.1 var(--kop); letter-spacing: -.03em; }
.bon__smaken { font-size: var(--t-s); margin-top: .2rem; }
.bon__prijs { font: 800 var(--t-l)/1 var(--kop); letter-spacing: -.04em; white-space: nowrap; }
.stapel__rij { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.prijslijst { font-size: var(--t-s); }
html:not(.js) .keuze, html:not(.js) .schakel, html:not(.js) .bon, html:not(.js) .stapel__knoppen { display: none; }
.stapel__knoppen { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.keuze.is-vol button { opacity: .45; }
.keuze.is-vol button:hover { transform: none; }
[data-bollen] > g { cursor: pointer; }
[data-spikkels-top] { pointer-events: none; }
.stapel__tip { position: absolute; bottom: var(--s-3); left: 0; right: 0; text-align: center; font: 600 var(--t-s)/1.2 var(--tekst); color: var(--choc); opacity: 0; transition: opacity .3s; pointer-events: none; }
.stapel__podium.is-gevuld .stapel__tip { opacity: .7; }

/* ---------- ice cream cakes ---------- */
.taart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6) 6vw; align-items: center; padding: var(--s-8) var(--rand); background: var(--fram); }
.taart__beeld { position: relative; }
.taart__beeld picture img { border-radius: var(--rond); aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; }
.sticker--wiebel { width: 8.5rem; height: 8.5rem; right: -1.5rem; top: -1.5rem; background: var(--mango); color: var(--choc); animation: wiebel 3s ease-in-out infinite; }
.taart__tekst h2 { font-size: var(--t-xl); margin: var(--s-3) 0 var(--s-4); }
.taart__tekst > p:not(.kicker) { font-size: var(--t-m); line-height: 1.3; max-width: 28ch; }
.maten { list-style: none; padding: 0; margin: var(--s-5) 0; display: grid; gap: var(--s-2); max-width: 30rem; }
.maten li { display: flex; align-items: baseline; gap: var(--s-2); border-bottom: 2px solid var(--choc); padding-bottom: var(--s-2); }
.maten b { font: 800 1.6rem/1 var(--kop); }
.maten span { margin-left: auto; font: 800 1.6rem/1 var(--kop); }

/* ---------- find us ---------- */
.vind { padding: var(--s-8) var(--rand); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-6) 6vw; align-items: center; background: var(--pist); }
.collage { position: relative; aspect-ratio: 1 / 1.05; }
.collage > * { position: absolute; border-radius: var(--rond); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(58, 30, 20, .5); }
.collage img, .collage video { width: 100%; height: 100%; object-fit: cover; }
.collage__a { left: 0; top: 4%; width: 52%; aspect-ratio: 4 / 5; rotate: -4deg; }
.collage__b { right: 2%; top: 0; width: 38%; aspect-ratio: 9 / 16; rotate: 3deg; }
.collage__c { left: 22%; bottom: 0; width: 56%; aspect-ratio: 3 / 2; rotate: 2deg; }
.vind__info h2 { font-size: var(--t-xl); margin: var(--s-3) 0 var(--s-4); }
.vind__info .status { background: var(--room); margin-bottom: var(--s-4); }
.tijden { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); max-width: 30rem; }
.tijden div { display: flex; justify-content: space-between; gap: var(--s-3); border-bottom: 2px solid var(--choc); padding-bottom: var(--s-2); }
.tijden dt { font-weight: 600; }
.tijden dd { text-align: right; }
.kaartje { margin-top: var(--s-5); max-width: 30rem; border-radius: var(--rond-s); background: var(--room); overflow: hidden; }
.kaartje svg { width: 100%; height: auto; }

/* ---------- footer ---------- */
.voet { background: var(--choc); color: var(--room); padding: var(--s-7) var(--rand) var(--s-5); overflow: hidden; }
.voet__groot { font: 800 clamp(6rem, 30vw, 30rem)/.8 var(--kop); letter-spacing: -.07em; display: flex; clip-path: inset(-50% -50% 0 -50%); padding-bottom: .06em; }
.voet__groot span { display: inline-block; }
.voet__rij { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: var(--s-4) var(--s-6); align-items: start; margin-top: var(--s-6); font-size: var(--t-s); }
.voet .btn--lijn { color: var(--room); border-color: var(--room); }
.voet .btn--lijn:hover { background: var(--room); color: var(--choc); }
.voet details summary { cursor: pointer; font-weight: 600; }
.voet details ul { list-style: none; padding: 0; margin-top: var(--s-2); display: grid; gap: .2rem; opacity: .85; }

/* ---------- concept dialog ---------- */
.concept { margin: auto; max-width: min(34rem, calc(100vw - 2rem)); border: 0; border-radius: var(--rond); padding: var(--s-6) var(--s-5) var(--s-5); background: var(--room); color: var(--choc); box-shadow: 0 0 0 2px var(--choc), 0 40px 80px -20px rgba(0, 0, 0, .45); }
.concept::backdrop { background: rgba(58, 30, 20, .55); backdrop-filter: blur(4px); }
.concept[open] { animation: plop .5s var(--veer); }
.concept h2 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin: var(--s-2) 0 var(--s-4); }
.concept p:not(.kicker) { margin-bottom: var(--s-3); }
.concept__knoppen { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

/* ---------- motion ---------- */
@keyframes draai { to { rotate: 360deg; } }
@keyframes lint { to { translate: -50% 0; } }
@keyframes puls { 50% { opacity: .35; } }
@keyframes wiebel { 0%, 100% { rotate: -8deg; } 50% { rotate: 6deg; } }
@keyframes schud { 20%, 60% { translate: -10px 0; } 40%, 80% { translate: 10px 0; } }
@keyframes plop { from { scale: .85; opacity: 0; } }

/* hero intro in pure CSS, so it plays on the first paint without waiting for any script */
@keyframes stuiter { from { translate: 0 110%; rotate: 12deg; } }
@keyframes boog { from { clip-path: inset(100% 0% 0% 0%); } }
@keyframes pop { from { scale: 0; rotate: -120deg; } }
@keyframes spikkel { from { scale: 0; } }
.woordmerk span { animation: stuiter 1s cubic-bezier(.34, 1.56, .64, 1) both; }
.woordmerk span:nth-child(2) { animation-delay: .07s; }
.woordmerk span:nth-child(3) { animation-delay: .14s; }
.woordmerk span:nth-child(4) { animation-delay: .21s; }
.woordmerk span:nth-child(5) { animation-delay: .28s; }
.woordmerk span:nth-child(6) { animation-delay: .35s; }
.hero__boog { animation: boog 1.2s cubic-bezier(.16, 1, .3, 1) .15s both; }
.sticker--draai { animation: pop 1s cubic-bezier(.34, 1.56, .64, 1) .6s both; }
.spikkels i { animation: spikkel .6s cubic-bezier(.34, 1.56, .64, 1) both; }
.spikkels i:nth-child(odd) { animation-delay: .5s; }
.spikkels i:nth-child(even) { animation-delay: .7s; }
/* the footer wordmark rises on scroll; hidden only once GSAP is known to be there */
html.gsap .voet__groot span { transform: translateY(110%); }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__menuknop { display: inline-flex; }
  .hero, .smaak, .stapel, .taart, .vind { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: var(--s-5); }
  .spikkels { display: none; }
  .hero__boog { max-width: 30rem; width: 100%; justify-self: center; }
  .sticker--draai { width: 7rem; height: 7rem; top: auto; bottom: 34%; right: var(--s-2); }
  .sticker--draai strong { font-size: 2.1rem; }
  .smaak { min-height: 0; }
  .smaak:nth-of-type(even) .smaak__beeld { order: 0; }
  .smaak__beeld { max-height: none; }
  .stapel__podium { min-height: 26rem; grid-row: auto; }
  .voet__rij { grid-template-columns: 1fr; }
  .sticker--wiebel { right: .5rem; width: 7rem; height: 7rem; }
}
.status__kort { display: none; }
@media (max-width: 520px) {
  .nav__pil .status__lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav__pil .status__kort { display: inline; }
}
@media (max-width: 339px) {
  .nav__pil .status { display: none; }
}
@media (max-width: 420px) {
  .nav__logo { margin-right: auto; }
  .nav__pil { width: 100%; }
  .status { padding: .5rem .7rem; font-size: var(--t-xs); }
  .bon { flex-direction: column; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
}

/* ---------- drip edge: hangs from the section above into this one ---------- */
.quiz, .stapel, .vind, .vragen, .voet, .opisop { position: relative; }
.drup { position: absolute; left: 0; top: -1px; width: 100%; height: clamp(3rem, 8.4vw, 7.5rem); pointer-events: none; z-index: 1; transform-origin: top; }
.drup--choc { color: var(--choc); }
.drup--mango { color: var(--mango); }
.drup--fram { color: var(--fram); }
.drup--room { color: var(--room); }

/* ---------- which flavour are you ---------- */
.quiz { padding: var(--s-8) var(--rand); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-6) 6vw; align-items: center; background: var(--room); }
.quiz__kop h2 { font-size: var(--t-xl); margin: var(--s-3) 0 var(--s-4); }
.quiz__kop > p:last-child { font-size: var(--t-m); line-height: 1.3; max-width: 26ch; }
.quiz__kaart { position: relative; border-radius: var(--rond); background: var(--wit); box-shadow: 0 0 0 2px var(--choc), 0 30px 60px -30px rgba(58, 30, 20, .4); padding: var(--s-6) var(--s-5) var(--s-5); min-height: 26rem; overflow: hidden; isolation: isolate; }
.quiz__kaart::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--uitslag, var(--wit)); clip-path: circle(0 at var(--x, 50%) var(--y, 50%)); transition: clip-path .9s var(--zacht); }
.quiz__kaart.is-klaar::before { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
.quiz__kaart[data-smaak="fram"] { --uitslag: var(--fram); }
.quiz__kaart[data-smaak="pist"] { --uitslag: var(--pist); }
.quiz__kaart[data-smaak="mango"] { --uitslag: var(--mango); }
.quiz__kaart[data-smaak="bes"] { --uitslag: var(--bes); }
.quiz__kaart[data-smaak="choc"] { --uitslag: var(--choc); }
.quiz__kaart[data-smaak="choc"] .quiz__uitslag { color: var(--room); }
.quiz__kaart[data-smaak="choc"] .quiz__uitslag .btn--donker { background: var(--room); color: var(--choc); border-color: var(--room); }
.quiz__kaart[data-smaak="choc"] .quiz__uitslag .btn--lijn { color: var(--room); border-color: var(--room); }
.quiz__stippen { position: absolute; top: var(--s-4); right: var(--s-5); display: flex; gap: .4rem; list-style: none; padding: 0; }
.quiz__stippen li { width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--choc); transition: background-color .3s; }
.quiz__stippen li.is-af { background: var(--choc); }
.quiz__nr { font: 600 var(--t-s)/1 var(--tekst); letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s-2); }
.quiz h3 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: var(--s-4); outline: none; }
.quiz__antwoorden { display: grid; gap: var(--s-2); }
.quiz__antwoord { text-align: left; border: 2px solid var(--choc); background: var(--room); border-radius: var(--rond-s); padding: 1rem 1.2rem; font-weight: 600; font-size: var(--t-body); transition: transform .3s var(--veer), background-color .2s; }
.quiz__antwoord:hover { transform: translateX(6px) rotate(-1deg); background: var(--mango); }
.quiz__uitslag h3 { font-size: var(--t-xl); margin: var(--s-2) 0 var(--s-3); }
.quiz__uitslag > p:not(.kicker) { font-size: var(--t-m); line-height: 1.3; max-width: 28ch; }
.quiz__knoppen { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
html:not(.js) .quiz__kaart { display: none; }
.quiz__geenjs { font-weight: 600; }

/* ---------- image trail ---------- */
.opisop > p { position: relative; z-index: 2; }
.spoor { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.spoor img { position: absolute; left: 0; top: 0; width: clamp(8rem, 13vw, 12rem); aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rond-s); opacity: 0; box-shadow: 0 20px 40px -20px rgba(58, 30, 20, .5); }
.opisop__hint { display: none; margin-top: var(--s-4); font: 600 var(--t-s)/1 var(--tekst); letter-spacing: .08em; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) { html.gsap .opisop__hint { display: block; } }

/* ---------- empty cone hint ---------- */
.stapel__leeg { position: absolute; top: 22%; left: 0; right: 0; text-align: center; font: 800 clamp(1.3rem, 2.2vw, 1.8rem)/1.15 var(--kop); letter-spacing: -.03em; color: var(--choc); opacity: .55; transition: opacity .3s; pointer-events: none; }
.stapel__leeg.is-weg { opacity: 0; }

/* ---------- questions ---------- */
.vragen { padding: var(--s-8) var(--rand); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s-6) 6vw; background: var(--room); }
.vragen__kop h2 { font-size: var(--t-l); margin-top: var(--s-3); }
.vragen__lijst { border-top: 2px solid var(--choc); }
.vragen details { border-bottom: 2px solid var(--choc); }
.vragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-4) 0; font: 800 clamp(1.3rem, 2.2vw, 1.9rem)/1.1 var(--kop); letter-spacing: -.03em; }
.vragen summary::-webkit-details-marker { display: none; }
.vragen summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--choc); color: var(--room); font: 600 1.6rem/1 var(--tekst); transition: rotate .4s var(--veer), background-color .2s; }
.vragen details[open] summary::after { rotate: 45deg; background: var(--fram); }
.vragen summary:hover::after { background: var(--fram); }
.vragen__antwoord { padding: 0 0 var(--s-4); max-width: 46ch; font-size: var(--t-m); line-height: 1.35; }
@supports (interpolate-size: allow-keywords) {
  .vragen { interpolate-size: allow-keywords; }
  .vragen details::details-content { height: 0; overflow: clip; transition: height .45s var(--zacht), content-visibility .45s allow-discrete; }
  .vragen details[open]::details-content { height: auto; }
}

/* ---------- footer extras ---------- */
.voet { padding-top: var(--s-8); }
.voet :focus-visible, .quiz__kaart[data-smaak="choc"] :focus-visible { outline-color: var(--room); }
.voet__knoppen { display: flex; flex-wrap: wrap; gap: var(--s-2); }

@media (max-width: 960px) {
  .quiz, .vragen { grid-template-columns: 1fr; }
  .quiz__kaart { padding: var(--s-6) var(--s-4) var(--s-4); }
}
@media (prefers-reduced-motion: reduce) {
  .quiz__kaart::before { transition: none; }
}

/* ---------- parts page (/onderdelen) ---------- */
.conceptbalk a { font-weight: 600; text-underline-offset: 3px; }
.gids { padding: var(--s-6) var(--rand) var(--s-8); }
.gids__kop h1 { font-size: var(--t-xl); margin: var(--s-3) 0 var(--s-4); }
.gids__kop h1 span { color: var(--fram); }
.gids__kop > p:last-child { font-size: var(--t-m); line-height: 1.3; max-width: 40ch; }
.gids__blok { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 2px solid var(--choc); }
.gids__blok h2 { font-size: var(--t-l); margin-bottom: var(--s-3); }
.gids__uitleg { max-width: 60ch; margin-bottom: var(--s-4); }
.gids code { font: 500 .85em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(58, 30, 20, .08); padding: .1em .35em; border-radius: 6px; }
.gids__stalen { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: var(--s-3); }
.gids__staal { display: grid; gap: .25rem; font-size: var(--t-s); }
.gids__kleur { display: block; height: 6rem; border-radius: var(--rond-s); box-shadow: inset 0 0 0 2px rgba(58, 30, 20, .2); margin-bottom: .4rem; }
.gids__kleur--room { background: var(--room); } .gids__kleur--choc { background: var(--choc); } .gids__kleur--fram { background: var(--fram); }
.gids__kleur--fram-diep { background: var(--fram-diep); } .gids__kleur--pist { background: var(--pist); } .gids__kleur--mango { background: var(--mango); }
.gids__kleur--bes { background: var(--bes); } .gids__kleur--hoorn { background: var(--hoorn); }
.gids__letters { display: grid; grid-template-columns: 1fr auto; gap: var(--s-3) var(--s-4); align-items: baseline; }
.gids__xl, .gids__l { font: 800 var(--t-xl)/.92 var(--kop); letter-spacing: -.045em; }
.gids__l { font-size: var(--t-l); }
.gids__m { font-size: var(--t-m); line-height: 1.3; }
.gids__rij { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.gids__paneel { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--rond-s); background: var(--choc); color: var(--room); }
.gids__paneel .btn--lijn { color: var(--room); border-color: var(--room); }
.gids__paneel :focus-visible { outline-color: var(--room); }
.gids__stickers { display: flex; flex-wrap: wrap; gap: var(--s-6); }
.gids__plek { position: relative; width: 10rem; height: 10rem; }
.gids__sticker { position: absolute; inset: 0; width: 100%; height: 100%; top: 0; right: 0; animation: none; }
.gids__sticker.sticker--wiebel { animation: wiebel 3s ease-in-out infinite; }
.gids__sticker svg { animation: draai 16s linear infinite; }
.gids__druppels { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: var(--s-3); }
.gids__drup { position: relative; height: 9rem; border-radius: var(--rond-s); overflow: hidden; box-shadow: inset 0 0 0 2px rgba(58, 30, 20, .2); }
.gids__drup--pist { background: var(--pist); } .gids__drup--room { background: var(--room); } .gids__drup--choc { background: var(--choc); }
.gids__tabelvak { overflow-x: auto; }
.gids__tabel { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: var(--t-s); }
.gids__tabel th, .gids__tabel td { text-align: left; vertical-align: top; padding: .8rem .9rem .8rem 0; border-bottom: 1px solid rgba(58, 30, 20, .2); }
.gids__tabel thead th { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: var(--t-xs); }
.gids__tabel tbody th { font-weight: 600; white-space: nowrap; }
.voet--klein { padding-top: var(--s-5); }
@media (max-width: 960px) { .gids__letters { grid-template-columns: 1fr; } }
