/* Kretahuis variant-gpt: "Middaguur"
   citroengeel #FFD400 / warm wit #FFF8EA / inktzwart #17130E / zeeblauw #1D3FBF
   Satoshi (Fontshare). Brutaal-editorial, gapless grid, 2px inktranden. */

:root {
  --lemon: #FFD400;
  --lemon-soft: #FFE566;
  --paper: #FFF8EA;
  --ink: #17130E;
  --zee: #1D3FBF;
  --line: 2px solid var(--ink);
  --sect: clamp(7rem, 12vw, 12rem);
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; max-width: 100%; }

body {
  font-family: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
main { overflow-x: clip; width: 100%; max-width: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--lemon); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skiplink {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem;
  text-decoration: none; transition: top .2s;
}
.skiplink:focus { top: 1rem; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--zee); outline-offset: 2px;
}

/* ---------- nav: minimal split ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: .9rem var(--pad);
  background: var(--paper);
  border-bottom: var(--line);
}
.nav-brand {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 900; font-size: 1.35rem; letter-spacing: -.01em;
  text-transform: uppercase; text-decoration: none;
}
.nav-sun {
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--lemon); border: var(--line); flex: none;
}
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.nav-links a:hover { color: var(--zee); }
.nav-cta {
  background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .65rem 1.3rem; border-radius: 99px; border: var(--line);
}
.nav-cta:hover { background: var(--zee); border-color: var(--zee); }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}

/* ---------- hero: cinematic center on lemon field ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 4.2rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(255,255,255,.45), rgba(255,255,255,0) 55%),
    var(--lemon);
  border-bottom: var(--line);
  padding: clamp(4rem, 8vw, 7rem) var(--pad) clamp(5rem, 9vw, 8rem);
}
.hero-kicker {
  font-weight: 700; text-transform: uppercase; letter-spacing: .22em;
  font-size: clamp(.72rem, 1.1vw, .9rem); margin-bottom: 2.2rem;
}
.hero-h1 {
  width: 100%; max-width: 1160px; margin: 0 auto;
  font-size: clamp(2.7rem, 6.6vw, 6.4rem);
  line-height: 1.02; letter-spacing: -.025em;
  font-weight: 900; text-transform: uppercase;
}
.hero-line { display: block; white-space: nowrap; }
@media (max-width: 560px) { .hero-line { white-space: normal; } }
.pill {
  display: inline-block; vertical-align: baseline;
  width: clamp(3.4rem, 7vw, 6.6rem); height: clamp(1.7rem, 3.4vw, 3.2rem);
  border-radius: 99px; overflow: hidden; border: var(--line);
  margin: 0 .18em; transform: translateY(.28em);
  background: var(--paper);
}
.pill img { width: 100%; height: 100%; object-fit: cover; }
.hero-sub {
  max-width: 620px; margin: 2.4rem auto 0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500;
}
.hero-ctas {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2.6rem;
}
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: 700 1rem/1 'Satoshi', sans-serif; text-transform: uppercase; letter-spacing: .05em;
  padding: 1.05rem 1.9rem; border-radius: 99px; border: var(--line);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--zee); border-color: var(--zee); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--paper); }
.btn-lemon { background: var(--lemon); color: var(--ink); }
.btn-lemon:hover { background: var(--lemon-soft); }
.btn-wide { width: 100%; text-align: center; }

.hero-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 1.4rem;
  display: flex; justify-content: space-between; align-items: center;
}
.hero-sunmark {
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  border: var(--line);
  background:
    repeating-conic-gradient(var(--ink) 0 6deg, transparent 6deg 30deg),
    var(--lemon);
}
.hero-scroll {
  font-weight: 700; text-transform: uppercase; letter-spacing: .3em; font-size: .72rem;
}
@media (max-width: 560px) { .hero-sunmark { width: 2.4rem; height: 2.4rem; } }

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink); color: var(--lemon);
  border-bottom: var(--line);
  overflow: hidden; padding: 1.1rem 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee-set { display: flex; align-items: center; flex: none; }
.marquee-set span {
  font-weight: 900; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(1rem, 1.8vw, 1.45rem); white-space: nowrap; padding: 0 1.4rem;
}
.marquee-set i {
  width: .75em; height: .75em; flex: none; border-radius: 50%;
  background: var(--lemon);
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- section basics ---------- */
.h2 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: .98; letter-spacing: -.02em;
  font-weight: 900; text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.h2-center { text-align: center; }
.lead { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; font-size: 1.15rem; font-weight: 500; }

/* ---------- intro ---------- */
.intro { padding: var(--sect) var(--pad); }
.intro-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
  max-width: 1160px; margin: 0 auto clamp(4rem, 7vw, 6rem);
}
.intro-copy p { max-width: 56ch; margin-bottom: 1.1rem; }
.intro-print { justify-self: center; }
@media (max-width: 820px) { .intro-grid { grid-template-columns: 1fr; } }

/* fotoprint: kleine crawlfoto's als artefact, nooit opgerekt */
.print {
  position: relative; display: inline-block;
  background: #fff; border: var(--line);
  padding: .55rem .55rem .7rem;
  box-shadow: .5rem .5rem 0 rgba(23, 19, 14, .16);
  max-width: min(20rem, 100%);
  transform: rotate(-1.2deg);
}
.print img { width: 100%; max-width: 320px; }
.print figcaption {
  font-size: .8rem; font-weight: 500; font-style: italic;
  padding-top: .5rem; line-height: 1.35;
}
.print { transition: transform .55s cubic-bezier(.3, .8, .3, 1), box-shadow .55s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .print:hover { transform: rotate(0deg) scale(1.035); box-shadow: .8rem .8rem 0 rgba(23, 19, 14, .22); }
  .cell-a .print:hover { box-shadow: .8rem .8rem 0 rgba(255, 212, 0, .5); }
}
.tape {
  position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 5.5rem; height: 1.5rem; background: rgba(255, 212, 0, .75);
  border: 1px solid rgba(23, 19, 14, .25);
}

/* ---------- bento: 6 kolommen x 2 rijen = 12 eenheden, gapless ----------
   A 3x2=6  B 3x1=3  C 2x1=2  D 1x1=1  -> som 12, nul lege cellen */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(15rem, auto);
  grid-auto-flow: dense;
  gap: 0;
  max-width: 1160px; margin: 0 auto clamp(3rem, 5vw, 4.5rem);
  border: var(--line);
  background: var(--ink);
}
.cell { padding: clamp(1.3rem, 2.5vw, 2.2rem); background: var(--paper); }
.bento > .cell { outline: 1px solid var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cell-a {
  grid-column: span 3; grid-row: span 2;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
}
.cell-a .cell-big {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.05;
  font-weight: 900; text-transform: uppercase; letter-spacing: -.015em;
  max-width: 18ch;
}
.cell-a .print { align-self: flex-end; transform: rotate(1.6deg); box-shadow: .5rem .5rem 0 rgba(255, 212, 0, .35); }
.cell-b {
  grid-column: span 3;
  background: var(--lemon);
  display: flex; gap: 1.4rem; align-items: flex-start;
}
.cell-b .cell-num {
  font-size: clamp(4rem, 7vw, 6.5rem); font-weight: 900; line-height: .85;
  letter-spacing: -.04em;
}
.cell-b h3 {
  font-weight: 900; text-transform: uppercase; font-size: 1.15rem;
  letter-spacing: -.01em; margin-bottom: .4rem;
}
.cell-b p { font-size: .95rem; max-width: 34ch; }
.cell-c { grid-column: span 2; display: flex; flex-direction: column; gap: 1rem; }
.cell-c .print { transform: rotate(1deg); padding-bottom: .55rem; max-width: 15rem; }
.cell-c h3 { font-weight: 900; text-transform: uppercase; font-size: 1.05rem; line-height: 1.2; }
.cell-d {
  grid-column: span 1;
  background: var(--zee); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.cell-d .cell-score { font-size: clamp(2.6rem, 4.5vw, 4rem); font-weight: 900; line-height: 1; }
.cell-d .cell-scorelabel { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: .4rem; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .cell-a { grid-column: span 2; grid-row: span 1; }
  .cell-b { grid-column: span 2; }
  .cell-c { grid-column: span 1; }
  .cell-d { grid-column: span 1; }
  .cell-a .print { align-self: flex-start; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .cell-a, .cell-b, .cell-c, .cell-d { grid-column: span 1; }
  .cell-d { min-height: 11rem; }
}

.facts {
  max-width: 1160px; margin: 0 auto; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: .5rem 2rem;
}
.facts li {
  font-weight: 500; font-size: .98rem; padding: .55rem 0;
  border-bottom: 1px solid rgba(23, 19, 14, .25);
}

/* ---------- buiten: horizontal accordion ---------- */
.buiten {
  padding: var(--sect) var(--pad);
  background: var(--lemon);
  border-top: var(--line); border-bottom: var(--line);
}
.acc {
  display: flex; max-width: 1160px; margin: 0 auto;
  border: var(--line); background: var(--paper);
  min-height: 26rem;
}
.acc-item {
  flex: 1 1 0; min-width: 0; overflow: hidden;
  border-right: var(--line);
  transition: flex .55s cubic-bezier(.3, .8, .3, 1);
  position: relative; display: flex;
}
.acc-item:last-child { border-right: 0; }
.acc-item.is-open { flex: 4.2 1 0; }
.acc-label { display: contents; }
.acc-label button {
  all: unset; cursor: pointer; flex: none;
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 1.2rem .95rem;
  font-weight: 900; text-transform: uppercase; letter-spacing: .05em;
  font-size: 1.05rem; white-space: nowrap;
  border-left: var(--line);
  background: var(--paper); width: 100%;
}
.acc-item.is-open .acc-label button { background: var(--ink); color: var(--lemon); width: auto; }
.acc-body {
  flex: 1; min-width: 34rem; opacity: 0; visibility: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  transition: opacity .4s ease .2s, visibility 0s linear .4s;
}
.acc-item.is-open .acc-body { opacity: 1; visibility: visible; transition: opacity .5s ease .25s; }
.acc-body .print { transform: rotate(-1.6deg); max-width: 17rem; }
.acc-body p { max-width: 52ch; font-size: .98rem; }
@media (max-width: 820px) {
  .acc { flex-direction: column; min-height: 0; }
  .acc-item { flex: none; flex-direction: column; border-right: 0; border-bottom: var(--line); }
  .acc-item.is-open { flex: none; }
  .acc-body { min-width: 0; flex: none; justify-content: flex-start; }
  .acc-item:last-child { border-bottom: 0; }
  .acc-label button {
    writing-mode: horizontal-tb; transform: none;
    justify-content: flex-start; width: auto; border-left: 0;
    padding: 1rem 1.2rem;
  }
  .acc-item.is-open .acc-label button { width: auto; }
  .acc-body { display: none; }
  .acc-item.is-open .acc-body { display: flex; opacity: 1; visibility: visible; }
}
.buiten-note { max-width: 640px; margin: 3rem auto 0; text-align: center; font-weight: 500; }

/* ---------- quote: scrubbing text reveal ---------- */
.quote {
  background: var(--ink); color: var(--paper);
  padding: var(--sect) var(--pad);
  text-align: center;
}
.quote-text {
  max-width: 1080px; margin: 0 auto;
  font-size: clamp(1.7rem, 3.6vw, 3.2rem);
  line-height: 1.18; font-weight: 700; letter-spacing: -.01em;
}
.quote-text .w { opacity: .14; }
.quote-src {
  margin-top: 2.4rem; color: var(--lemon);
  font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: .8rem;
}

/* ---------- archief: card stacking ---------- */
.archief { padding: var(--sect) var(--pad); }
.archief-head { max-width: 1160px; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.archief-head p { max-width: 58ch; }
.stack { position: relative; max-width: 760px; margin: 0 auto; }
.stack-card {
  background: #fff; border: var(--line);
  box-shadow: .6rem .6rem 0 rgba(23, 19, 14, .18);
  padding: clamp(1.1rem, 2.5vw, 1.8rem);
  margin-bottom: 2.2rem;
}
.stack-card:nth-child(odd) { transform: rotate(-.8deg); }
.stack-card:nth-child(even) { transform: rotate(.9deg); }
.stack-meta {
  display: flex; justify-content: space-between; gap: 1rem;
  font-weight: 900; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem;
  border-bottom: var(--line); padding-bottom: .7rem; margin-bottom: 1rem;
}
.stack-meta span:last-child { color: var(--zee); }
.stack-card > img { width: 100%; border: 1px solid rgba(23, 19, 14, .3); }
.stack-card > p, .stack-duo p { padding-top: 1rem; font-size: .98rem; max-width: 62ch; }
.stack-duo { display: flex; gap: 1.4rem; align-items: flex-start; }
.stack-duo img { width: min(14rem, 45%); border: 1px solid rgba(23, 19, 14, .3); flex: none; }
@media (max-width: 560px) { .stack-duo { flex-direction: column; } .stack-duo img { width: 100%; max-width: 16rem; } }

/* stacking-modus (JS zet .stack.is-pinned) */
.stack.is-pinned { min-height: 100vh; }
.stack.is-pinned .stack-card {
  position: absolute; inset: 0 auto auto 0; width: 100%;
  margin: 0; max-height: 86vh; overflow: hidden;
}

/* ---------- tarieven ---------- */
.tarieven { padding: var(--sect) var(--pad); border-top: var(--line); }
.tarieven-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 1160px; margin: 0 auto; align-items: start;
}
.tarieven-copy p { max-width: 52ch; margin-bottom: 1.4rem; }
.tarieven-notes { list-style: none; }
.tarieven-notes li {
  position: relative; padding: .5rem 0 .5rem 1.6rem; font-size: .98rem; font-weight: 500;
  border-bottom: 1px solid rgba(23, 19, 14, .25);
}
.tarieven-notes li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: .65rem; height: .65rem; border-radius: 50%;
  background: var(--lemon); border: 1px solid var(--ink);
}
.pricetable {
  width: 100%; border-collapse: collapse; border: var(--line);
  font-variant-numeric: tabular-nums;
}
.pricetable th, .pricetable td { padding: .8rem 1.1rem; border: 1px solid var(--ink); text-align: left; }
.pricetable thead th {
  background: var(--ink); color: var(--lemon);
  text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
}
.pricetable tbody th { font-weight: 700; }
.pricetable td { font-weight: 500; }
.pricetable tbody tr:hover { background: var(--lemon-soft); }
@media (max-width: 820px) { .tarieven-grid { grid-template-columns: 1fr; } }

/* ---------- boeken ---------- */
.boeken {
  background: var(--ink); color: var(--paper);
  padding: var(--sect) var(--pad);
  border-top: var(--line);
}
.boeken-h2 {
  max-width: 1160px; margin: 0 auto clamp(3rem, 5vw, 4.5rem);
  font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .96;
  font-weight: 900; text-transform: uppercase; letter-spacing: -.025em;
  color: var(--lemon);
}
.boeken-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 1160px; margin: 0 auto; align-items: start;
}
.boeken-copy p { max-width: 54ch; margin-bottom: 1.3rem; opacity: .92; }
.boeken-copy .btn { margin-top: .6rem; }
.boeken-form {
  background: var(--paper); color: var(--ink);
  border: var(--line); box-shadow: .7rem .7rem 0 var(--lemon);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.field input, .field textarea {
  font: 500 1rem/1.5 'Satoshi', sans-serif; color: var(--ink);
  background: #fff; border: var(--line); border-radius: 0;
  padding: .7rem .85rem; width: 100%;
}
.form-note { font-size: .9rem; font-weight: 500; background: var(--lemon); padding: .8rem 1rem; border: var(--line); }
@media (max-width: 820px) { .boeken-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer {
  background: var(--ink); color: var(--paper);
  border-top: 2px solid var(--lemon);
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--pad) 2.2rem;
}
.footer-top { max-width: 1160px; margin: 0 auto 2.5rem; }
.footer-brand {
  font-size: clamp(3rem, 9vw, 7.5rem); line-height: .9;
  font-weight: 900; text-transform: uppercase; letter-spacing: -.03em;
  color: var(--lemon);
}
.footer-tag { font-style: italic; font-weight: 500; margin-top: .8rem; opacity: .85; }
.footer-cols {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem; font-size: .95rem; opacity: .9;
  border-top: 1px solid rgba(255, 248, 234, .25);
  padding-top: 2rem;
}
.footer-credit {
  max-width: 1160px; margin: 3rem auto 0;
  font-size: .85rem; opacity: .7;
}
.footer a { color: inherit; }
.footer a:hover { color: var(--lemon); }
