/* ==========================================================
   MUL — Kiteschool Zandvoort
   mul (bn.): los, droog zand. Ook: een naam. Ook: Zandvoort.
   ========================================================== */

:root {
  --sand: #f2ece2;
  --sand-2: #e7ded0;
  --sand-3: #d6cab7;
  --ink: #151413;
  --ink-2: #2b2926;
  --muted: #6d665c;
  --rust: #b8532e;   /* zon, vuur, terracotta */
  --sea: #4f86b0;    /* water */
  --white: #fbf8f3;

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Outfit", "Futura", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 1rem/1.65 var(--mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* zandkorrels over alles heen */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.08  0 0 0 0 0.05  0 0 0 1.4 -0.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .22; mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--rust); color: var(--white); }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Typografie ---------- */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .86; letter-spacing: -.005em; margin: 0; }
.h-sans { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
.serif-caps { font-family: var(--serif); text-transform: uppercase; letter-spacing: .32em; font-weight: 400; }
.label { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rust { color: var(--rust); }
.sea { color: var(--sea); }
.lead { font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 58ch; }

/* pijl-links à la "➔ voir le projet" */
.arrow-link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; letter-spacing: .01em;
  text-decoration: none;
}
.arrow-link::before { content: "➔"; font-family: var(--sans); transition: transform .3s; }
.arrow-link:hover::before { transform: translateX(6px); }

/* omlijnde knop à la Club of the Waves */
.btn {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .95rem 1.4rem; border: 1px solid currentColor; border-radius: 4px;
  font: 500 .9rem var(--mono); text-decoration: none; background: transparent; color: inherit; cursor: pointer;
  transition: background .25s, color .25s;
}
.btn::before { content: "➔"; font-family: var(--sans); font-size: 1.1rem; }
.btn:hover { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.btn--rust { color: var(--rust); }
.btn--rust:hover { background: var(--rust); border-color: var(--rust); color: var(--white); }
.btn--solid { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.btn--solid:hover { background: var(--rust); border-color: var(--rust); }

/* ---------- Topbalk ---------- */
.topbar {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 2rem; align-items: start;
  padding: 1.6rem var(--gutter);
}
.topbar--light { color: var(--white); }
.logo { font-family: var(--display); font-size: 2.1rem; line-height: 1; text-decoration: none; letter-spacing: .02em; }
.logo img { height: 40px; width: auto; }
.topbar__tag { font-family: var(--display); text-transform: uppercase; font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.05; margin: 0; }
.topbar__note { font-size: .8rem; line-height: 1.55; margin: 0; justify-self: end; max-width: 30ch; opacity: .9; }

/* ---------- Zwevende menu-knop (Paddle) ---------- */
.menu-btn {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: stretch; border: 0; padding: 0; cursor: pointer;
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.45);
  font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; color: var(--ink);
}
.menu-btn__icon { background: var(--ink); width: 64px; display: grid; place-items: center; }
.menu-btn__icon span { display: block; width: 26px; height: 2px; background: var(--white); box-shadow: 0 7px 0 var(--white); transform: translateY(-3.5px); transition: transform .3s, box-shadow .3s; }
.menu-btn__text { padding: .7rem 1.1rem .65rem; }
.is-menu-open .menu-btn__icon span { box-shadow: none; transform: rotate(45deg); }
.is-menu-open .menu-btn__icon span::after { content: ""; display: block; width: 26px; height: 2px; background: var(--white); transform: rotate(-90deg); }

/* ---------- Boek-tab aan de zijkant ---------- */
.side-tab {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 55;
  writing-mode: vertical-rl; rotate: 180deg;
  background: var(--rust); color: var(--white); text-decoration: none;
  font-family: var(--display); text-transform: uppercase; font-size: 1.2rem; letter-spacing: .03em;
  padding: 1.2rem .7rem; border-radius: 0 8px 8px 0;
  transition: padding .25s;
}
.side-tab:hover { padding-right: 1rem; }

/* ---------- Menu-overlay ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: var(--ink); color: var(--sand);
  display: grid; grid-template-rows: 1fr auto; padding: 6rem var(--gutter) 7rem;
  clip-path: inset(100% 0 0 0); transition: clip-path .6s cubic-bezier(.7,0,.2,1);
  overflow-y: auto;
}
.is-menu-open .overlay { clip-path: inset(0 0 0 0); }
.overlay__links { list-style: none; margin: 0; padding: 0; align-self: center; }
.overlay__links li { overflow: hidden; border-bottom: 1px solid rgba(242,236,226,.12); }
.overlay__links a {
  display: flex; align-items: baseline; gap: 1.5rem; text-decoration: none;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(2.6rem, min(9vw, 11svh), 7.5rem); line-height: 1.02;
  transform: translateY(105%); transition: transform .6s cubic-bezier(.2,.8,.2,1), color .2s;
}
.overlay__links a small { font: 400 .85rem var(--mono); color: var(--muted); align-self: flex-start; padding-top: .9em; min-width: 2ch; }
.overlay__links a:hover { color: var(--rust); }
.is-menu-open .overlay__links a { transform: none; }
.is-menu-open .overlay__links li:nth-child(2) a { transition-delay: .05s; }
.is-menu-open .overlay__links li:nth-child(3) a { transition-delay: .1s; }
.is-menu-open .overlay__links li:nth-child(4) a { transition-delay: .15s; }
.is-menu-open .overlay__links li:nth-child(5) a { transition-delay: .2s; }
.overlay__foot { display: flex; flex-wrap: wrap; gap: 1rem 3rem; font-size: .85rem; color: var(--sand-3); }
.overlay__foot a { text-decoration: none; }
.is-menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; color: var(--white); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #555 url("img/hero.svg") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.25) 70%, rgba(0,0,0,.55) 100%); }
.hero__inner { position: relative; padding: 0 var(--gutter) 6.5rem; }
.hero__title { font-size: min(36vw, 64svh, 34rem); line-height: .78; margin-left: -.04em; }
.hero__sub { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-top: 1.4rem; flex-wrap: wrap; }
.hero__sub .serif-caps { font-size: clamp(.9rem, 1.4vw, 1.15rem); margin: 0; }
.hero__coords { font-size: .8rem; margin: 0; opacity: .85; }

/* ---------- Pagina-hero (subpagina's) ---------- */
.page-hero { position: relative; padding: 9rem 0 4rem; background: url("img/ripples.svg") center / cover; }
.page-hero__title { font-size: clamp(5rem, 18vw, 17rem); }
.page-hero__row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.5rem; align-items: end; }
.page-hero .topbar { color: var(--ink); }

/* ---------- Secties ---------- */
.section { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.section--ripples { background: url("img/ripples.svg") center / cover; }
.section--ink { background: var(--ink); color: var(--sand); }
.section--ink .label { color: var(--sand-3); }
.section--sand2 { background: var(--sand-2); }

/* CotW-layout: smalle linkerkolom, brede rechterkolom */
.cols { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: 3rem; }
.vlabel { writing-mode: vertical-rl; rotate: 180deg; font-family: var(--mono); letter-spacing: .6em; text-transform: uppercase; font-size: .8rem; color: var(--muted); align-self: start; }

/* ---------- Woordenboek ---------- */
.dict__word { font-size: clamp(6rem, 16vw, 13rem); }
.dict__phon { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--muted); margin: .6rem 0 2.5rem; }
.dict__list { list-style: none; counter-reset: d; padding: 0; margin: 0 0 3.5rem; display: grid; gap: 1.6rem; }
.dict__list li { counter-increment: d; display: grid; grid-template-columns: 3rem 1fr; font-family: var(--sans); font-size: clamp(1.2rem, 2.1vw, 1.7rem); line-height: 1.35; font-weight: 500; }
.dict__list li::before { content: counter(d) "."; font-family: var(--mono); font-size: .95rem; color: var(--rust); padding-top: .4em; }
.dict__list em { font-family: var(--mono); font-style: normal; font-size: .85rem; color: var(--muted); display: block; margin-top: .3rem; font-weight: 400; }
.statement { font-size: clamp(1.8rem, 3.6vw, 3.1rem); max-width: 22ch; }

/* ---------- Banden met reuzetitels (Paddle) ---------- */
.band {
  position: relative; min-height: 92svh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; text-decoration: none;
}
.band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.05); transform: scale(1.04); transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter .8s; }
.band:hover .band__bg { transform: scale(1); }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.05) 70%); }
.band__inner { position: relative; z-index: 2; padding: 0 var(--gutter) 4.5rem; width: 100%; }
.band__num { font-size: .85rem; margin-bottom: 1rem; display: block; opacity: .85; }
.band__title { font-size: clamp(5.5rem, 21vw, 19rem); margin-left: -.03em; }
.band__text { max-width: 46ch; margin: 1.2rem 0 1.4rem; font-size: .95rem; }
.band__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .8rem; opacity: .85; margin-bottom: 1.4rem; }

/* ---------- Windmeter ---------- */
.wind { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; }
.wind__num { font-family: var(--display); font-size: clamp(9rem, 26vw, 22rem); line-height: .8; display: flex; align-items: flex-end; gap: 1.2rem; }
.wind__num small { font-size: clamp(1.4rem, 3vw, 2.6rem); line-height: 1; padding-bottom: .6rem; }
.wind__verdict { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.1; margin: 0 0 1.6rem; color: var(--white); }
.wind__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(242,236,226,.2); }
.wind__stats div { padding: 1rem 0; }
.wind__stats strong { display: block; font-family: var(--display); font-size: 2rem; font-weight: 400; color: var(--white); }
.wind__arrow { display: inline-block; transition: transform 1s; }

/* lopende band */
.ticker { background: var(--rust); color: var(--white); overflow: hidden; white-space: nowrap; padding: .9rem 0; }
.ticker__track { display: inline-flex; gap: 3rem; animation: tick 40s linear infinite; font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; }
.ticker__track span::after { content: "✺"; margin-left: 3rem; font-family: var(--sans); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Folklore-beeld ---------- */
.still { position: relative; min-height: 100svh; display: grid; place-items: center; color: var(--white); text-align: center; overflow: hidden; }
.still__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.1); }
.still::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.18); }
.still p { position: relative; z-index: 2; font-size: clamp(1.4rem, 3.2vw, 2.6rem); line-height: 1.6; margin: 0; padding: 0 var(--gutter); text-shadow: 0 2px 30px rgba(0,0,0,.25); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.photo { aspect-ratio: 4 / 5; background-size: cover; background-position: center; filter: grayscale(1); border-radius: 2px; transition: filter .8s; }
.photo:hover { filter: grayscale(.2); }
.photo--wide { aspect-ratio: 16 / 10; }
.ticks { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid var(--sand-3); }
.ticks li { padding: .9rem 0; border-bottom: 1px solid var(--sand-3); display: flex; justify-content: space-between; gap: 1rem; }
.ticks li span:last-child { color: var(--muted); text-align: right; }

/* ---------- Windalarm (nieuwsbrief) ---------- */
.signup { background: var(--sand-2); padding: 2.8rem 0; }
.signup__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: center; }
.signup p { margin: 0; }
.signup form { display: flex; max-width: 560px; }
.signup input { flex: 1; min-width: 0; font: inherit; padding: 1.05rem 1.2rem; border: 1px solid var(--sand-3); border-right: 0; background: var(--white); color: var(--ink); border-radius: 4px 0 0 4px; }
.signup input:focus { outline: 2px solid var(--sea); outline-offset: -2px; }
.signup button { width: 64px; border: 0; background: var(--ink); color: var(--white); font-size: 1.4rem; cursor: pointer; border-radius: 0 4px 4px 0; }
.signup button:hover { background: var(--rust); }
.signup__msg { font-size: .8rem; margin-top: .6rem !important; min-height: 1.3em; color: var(--muted); }

/* ---------- Lessen-tabel (lessen.html) ---------- */
.lesson { display: grid; grid-template-columns: 5rem 1.3fr 1.5fr 1fr; gap: 2rem; padding: 3rem 0; border-top: 1px solid var(--ink); align-items: start; }
.lesson:last-child { border-bottom: 1px solid var(--ink); }
.lesson__num { font-size: .85rem; color: var(--rust); }
.lesson__name { font-size: clamp(3rem, 6vw, 5.2rem); }
.lesson__meta { font-size: .82rem; color: var(--muted); margin-top: .8rem; }
.lesson ul { margin: 0; padding-left: 1.1rem; }
.lesson li { margin-bottom: .35rem; }
.lesson__price { font-family: var(--display); font-size: 3.2rem; line-height: 1; }
.lesson__price small { font: 400 .8rem var(--mono); color: var(--muted); display: block; margin: .4rem 0 1.4rem; }

/* ---------- Stappen ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid currentColor; }
.step { padding: 2rem 2rem 2rem 0; }
.step + .step { padding-left: 2rem; border-left: 1px solid rgba(127,127,127,.35); }
.step__n { font-family: var(--display); font-size: 4.5rem; line-height: 1; color: var(--rust); }
.step h3 { font-family: var(--sans); font-weight: 600; font-size: 1.4rem; margin: 1rem 0 .5rem; }
.step p { margin: 0; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--sand-3); }
.faq details:last-child { border-bottom: 1px solid var(--sand-3); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--sans); font-weight: 500; font-size: 1.25rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--rust); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.5rem; max-width: 62ch; color: var(--ink-2); }

/* ---------- Formulier ---------- */
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form label { display: grid; gap: .4rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.form input, .form select, .form textarea {
  font: 400 1rem var(--mono); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--ink); padding: .7rem 0; border-radius: 0;
  text-transform: none; letter-spacing: 0;
}
.form select { appearance: none; 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='%23151413' stroke-width='1.5'/%3E%3C/svg%3E") right center no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--rust); }
.form .is-invalid { border-color: #c0392b; }
.form .btn { justify-self: start; margin-top: .6rem; }
.form__status { margin: 0; font-size: .85rem; min-height: 1.4em; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { display: grid; grid-template-columns: 7rem 1fr; padding: 1rem 0; border-top: 1px solid var(--sand-3); }
.contact-list li:last-child { border-bottom: 1px solid var(--sand-3); }
.contact-list span:first-child { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; padding-top: .15rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--rust); }

/* ---------- Footer ---------- */
.footer { background: var(--sand) url("img/ripples.svg") center / cover; padding: 5rem 0 2rem; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 2rem 3rem; }
.footer h4 { font: 400 .8rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--rust); }
.footer__about { font-family: var(--sans); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; margin: 0; }
.footer__mega { font-size: clamp(8rem, 40vw, 38rem); line-height: .75; margin: 4rem 0 0 -.04em; color: var(--ink); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--sand-3); padding-top: 1.4rem; margin-top: 1rem; padding-bottom: 5rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .topbar { grid-template-columns: auto 1fr; }
  .topbar__note { display: none; }
  .topbar__tag { justify-self: end; text-align: right; font-size: .95rem; }
  .cols, .split, .wind, .signup__row, .page-hero__row { grid-template-columns: 1fr; }
  .vlabel { writing-mode: horizontal-tb; rotate: 0deg; letter-spacing: .3em; }
  .lesson { grid-template-columns: 1fr; gap: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 1.6rem 0; border-left: 0; border-bottom: 1px solid rgba(127,127,127,.35); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > :last-child { grid-column: 1 / -1; order: -1; }
  .form__row { grid-template-columns: 1fr; }
  .side-tab { font-size: 1rem; padding: 1rem .55rem; }
}
@media (max-width: 640px) {
  .side-tab { display: none; }
  .hero__title { font-size: 44vw; }
  .band__title { font-size: 23vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
