/* Maiora — website
   Kleuren: enkel de zes kleuren van de huisstijlgids (2026-10-31). Vlakke kleur, geen texturen, geen gradiënten. */

/* Lettertypes staan op de eigen server (assets/fonts), niet bij Google Fonts: zonder akkoord gaat er niets naar Google.
   Alle drie onder de SIL Open Font License, zie assets/fonts/LICENTIE.txt. Enkel Latijnse tekens. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-italic.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono.woff2") format("woff2");
}

:root {
  --ink: #0F0F0F;
  --paper: #F7F3EF;
  --clay: #B65433;      /* terracotta: enkel groot schrift en accenten, schaars */
  --mist: #E6E3DF;
  --sand: #DCCBB5;
  --taupe: #5A524A;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(17px, 1.05vw + 10px, 19px);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration-color: var(--clay); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
a:hover { color: var(--clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); }

.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- logo (benadering; vervang door het officiële bestand) ---------- */

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo img { flex: none; width: auto; }
.logo .mark { height: 24px; }
.logo .word { height: 20px; }
.logo .bar { width: 1px; height: 24px; background: var(--ink); opacity: .5; }

/* ---------- partnerpagina ---------- */

.partners .lede { grid-column: 3 / 10; font-size: clamp(19px, 1.2vw + 9px, 23px); margin: 0 0 clamp(40px, 6vw, 80px); }
.partner-card { grid-column: 3 / 11; border-top: 3px solid var(--ink); padding-top: 18px; }
.partner-card .label { display: flex; justify-content: space-between; gap: 16px; }
.partners .partner-card h2 { margin: 16px 0 14px; font-family: var(--display); font-variation-settings: "opsz" 72, "wdth" 85; font-weight: 700; font-size: clamp(34px, 4vw, 56px); line-height: 1; letter-spacing: -.03em; }
.partner-card p { margin: 0 0 1em; max-width: 60ch; }
.partner-card ul { list-style: none; padding: 0; margin: 22px 0; border-top: 1px solid var(--sand); max-width: 60ch; }
.partners .partner-card li { padding: 10px 0; border-bottom: 1px solid var(--sand); font-size: 16px; max-width: none; }
.partner-card .note { margin: 28px 0 22px; max-width: 52ch; }
.partners .more { grid-column: 3 / 11; margin-top: clamp(48px, 6vw, 88px); }
.partners .more p { margin: 0 0 18px; max-width: 56ch; }

/* ---------- masthead ---------- */

.masthead { padding-top: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.masthead .grid { align-items: center; }
.masthead .logo { grid-column: 1 / 5; }
.masthead nav { grid-column: 5 / 13; justify-self: end; display: flex; gap: 24px; align-items: center; }
.masthead nav a { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }
.masthead nav a.cta { border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 14px 7px; }
.masthead nav a.cta:hover { background: var(--ink); color: var(--paper); text-decoration: none; }

/* ---------- opening ---------- */

.hero { padding-top: clamp(48px, 8vw, 120px); padding-bottom: clamp(56px, 8vw, 112px); position: relative; }
.hero .kicker { grid-column: 1 / 13; margin: 0 0 28px; }

.hero h1 {
  grid-column: 1 / 12;
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "opsz" 96, "wdth" 82;
  font-weight: 720;
  font-size: clamp(40px, 7vw, 108px);
  line-height: .95;
  letter-spacing: -.035em;
}
.hero h1 .line { display: block; }
.hero h1 .indent { padding-left: clamp(0px, 8vw, 132px); }
.hero h1 em { font-style: normal; color: var(--clay); }
.hero h1 sup { font-size: .42em; vertical-align: top; position: relative; top: .1em; color: var(--clay); margin-left: .02em; }

.hero .lede { grid-column: 6 / 12; margin-top: 56px; font-size: clamp(19px, 1.35vw + 8px, 24px); line-height: 1.5; }
.hero .lede p { margin: 0 0 .8em; }

.hero .actions { grid-column: 6 / 13; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

.hero .footnote { grid-column: 1 / 4; grid-row: 4; align-self: end; margin: 0; font-size: 14px; color: var(--taupe); }
.hero .footnote b { color: var(--clay); font-weight: 500; }

/* ---------- knoppen ---------- */

.btn {
  display: inline-block;
  padding: 14px 22px 13px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 14px;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn.solid { background: var(--ink); color: var(--paper); }
.btn:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }

/* ---------- algemene secties ---------- */

section { padding: clamp(64px, 9vw, 136px) 0; }
.rule { border-top: 1px solid var(--ink); }

.sec-head { grid-column: 1 / 4; }
.sec-head .no { font-family: var(--mono); font-size: 13px; color: var(--clay); display: block; margin-bottom: 6px; }
.sec-head h2 { margin: 0; font-family: var(--display); font-weight: 650; font-size: 20px; letter-spacing: -.01em; line-height: 1.2; }

.note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--taupe);
  padding-left: 16px;
  border-left: 2px solid var(--sand);
  max-width: 28ch;
  margin: 0;
}

/* ---------- 01 wat er klaarligt ---------- */

.ready .intro { grid-column: 4 / 11; margin: 0 0 40px; font-size: clamp(19px, 1.2vw + 9px, 23px); }

.done { grid-column: 4 / 13; list-style: none; margin: 0; padding: 0; }
.done li {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 0 18px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--sand);
}
.done li:last-child { border-bottom: 1px solid var(--sand); }
.done li:nth-child(even) { margin-left: clamp(0px, 5vw, 80px); }
.done .label { color: var(--clay); }
.done s {
  font-family: var(--display);
  font-variation-settings: "opsz" 72, "wdth" 90;
  font-weight: 560;
  font-size: clamp(24px, 2.7vw, 40px);
  line-height: 1.12;
  letter-spacing: -.02em;
  text-decoration-line: line-through;
  text-decoration-color: var(--clay);
  text-decoration-thickness: .07em;
}

.ready .after { grid-column: 6 / 12; margin-top: 48px; }
.ready .after p { margin: 0 0 1em; }
.ready .margin { grid-column: 1 / 4; margin-top: 48px; align-self: start; }

/* ---------- 02 werkwijze ---------- */

.steps { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin: 0; padding: 0; list-style: none; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li:nth-child(2) { margin-top: clamp(0px, 5vw, 72px); }
.steps li:nth-child(3) { margin-top: clamp(0px, 10vw, 144px); border-top-color: var(--clay); }
.steps b { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; }
.steps h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 680; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--taupe); font-size: 17px; }

.method .partner { grid-column: 4 / 10; margin-top: clamp(48px, 6vw, 88px); }
.method .partner p { margin: 0 0 1em; }
.method .margin { grid-column: 10 / 13; margin-top: clamp(48px, 6vw, 88px); align-self: end; }

/* ---------- donker vlak: wat je mag verwachten ---------- */

.promise { background: var(--ink); color: var(--paper); }
.promise .sec-head .no { color: var(--sand); }
.promise .sec-head h2 { color: var(--paper); }
.promise .big {
  grid-column: 4 / 12;
  margin: 0 0 clamp(40px, 5vw, 72px);
  font-family: var(--display);
  font-variation-settings: "opsz" 96, "wdth" 85;
  font-weight: 650;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -.03em;
}
.promise .big em { font-style: normal; color: var(--sand); }
.promise .pair { grid-column: 4 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); }
.promise .pair div { border-top: 1px solid var(--taupe); padding-top: 16px; }
.promise .pair h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 650; font-size: 24px; letter-spacing: -.02em; }
.promise .pair p { margin: 0; color: var(--mist); }

/* ---------- 04 waarom ---------- */

.why blockquote {
  grid-column: 4 / 12;
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "opsz" 96, "wdth" 82;
  font-weight: 720;
  font-size: clamp(36px, 5.6vw, 88px);
  line-height: .98;
  letter-spacing: -.035em;
}
.why blockquote em { font-style: normal; color: var(--clay); }
.why .body { grid-column: 6 / 12; margin-top: 40px; }
.why .body p { margin: 0 0 1em; }
.why .body em { color: var(--clay); }

/* ---------- 05 wie ---------- */

.who .people { grid-column: 4 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); }
.person { border-top: 1px solid var(--ink); padding-top: 16px; }
.person h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 680; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.025em; line-height: 1.05; }
.person p { margin: 10px 0 0; color: var(--taupe); max-width: 40ch; }

/* ---------- pagina wat klanten zeggen ---------- */

.klanten .lede { grid-column: 3 / 10; font-size: clamp(19px, 1.2vw + 9px, 23px); margin: 0 0 clamp(40px, 6vw, 80px); }
.klanten .quotes { grid-column: 3 / 12; display: grid; gap: clamp(48px, 6vw, 88px); }
.klanten .more { grid-column: 3 / 11; margin-top: clamp(56px, 7vw, 104px); }
.klanten .more p { margin: 0 0 18px; max-width: 56ch; }
.voice { margin: 0; border-top: 1px solid var(--ink); padding-top: 20px; }
.voice[hidden] { display: none; }
.voice blockquote {
  margin: 0;
  max-width: 24ch;
  font-family: var(--display);
  font-variation-settings: "opsz" 96, "wdth" 88;
  font-weight: 680;
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -.03em;
}
.voice blockquote::before { content: "\201C"; }
.voice blockquote::after { content: "\201D"; }
.voice blockquote em { font-style: normal; color: var(--clay); }
.voice figcaption { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.voice figcaption b { font-weight: 500; }
.voice figcaption .label { color: var(--taupe); }

.duo { grid-column: 4 / 11; margin: 0 0 40px; }
.duo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.duo figcaption { margin-top: 8px; }
.duo[hidden] { display: none; }

/* ---------- 06 contact ---------- */

.contact h2.big {
  grid-column: 1 / 12;
  margin: 0 0 40px;
  font-family: var(--display);
  font-variation-settings: "opsz" 96, "wdth" 80;
  font-weight: 720;
  font-size: clamp(44px, 7.4vw, 112px);
  line-height: .95;
  letter-spacing: -.035em;
}
.contact h2.big em { font-style: normal; color: var(--clay); }
/* woordwolk: losse woorden in vier groottes, enkel paletkleuren, geen rotatie */
.contact .cloud-hint { grid-column: 1 / 13; margin: 0 0 14px; }
.cloud {
  grid-column: 1 / 8;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 22px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.w {
  font: inherit;
  font-family: var(--display);
  font-variation-settings: "opsz" 72, "wdth" 85;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 2px 0;
  cursor: pointer;
  text-decoration: none;
  transition: color .15s;
}
.w.s1 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }
.w.s2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 560; }
.w.s3 { font-size: clamp(28px, 3vw, 42px); font-weight: 650; }
.w.s4 { font-size: clamp(36px, 4.2vw, 60px); font-weight: 720; }
.w.t { color: var(--taupe); }
.w.c { color: var(--clay); }
.w:nth-child(3n+2) { position: relative; top: -.18em; }
.w:nth-child(4n) { position: relative; top: .12em; }
.w:hover { color: var(--clay); }
.w[aria-pressed="true"] { color: var(--clay); text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .14em; }

.topics { grid-column: 9 / 13; align-self: center; }
.topic h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 680; font-size: 26px; letter-spacing: -.02em; }
.topic p { margin: 0 0 16px; color: var(--taupe); }
.topic + .topic { margin-top: 24px; }
.js .topic { display: none; }
.js .topic.open { display: block; }
.js .topic + .topic { margin-top: 0; }
.topics .empty { margin: 0; color: var(--taupe); font-size: 15px; border-left: 2px solid var(--sand); padding-left: 16px; }

.contact .text { grid-column: 5 / 11; margin-top: clamp(40px, 5vw, 64px); font-size: clamp(19px, 1.2vw + 9px, 22px); }
.contact .text p { margin: 0 0 1em; }
.contact .text code { font-family: var(--mono); font-size: .9em; background: var(--sand); padding: 1px 7px; border-radius: 3px; }
.contact .links { grid-column: 5 / 13; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--ink); padding: 28px 0 40px; font-size: 13px; color: var(--taupe); }
footer .grid > * { margin: 0; }
footer .brand { grid-column: 1 / 6; }
footer .brand p { margin: 10px 0 0; }
footer .legal { grid-column: 8 / 13; text-align: right; }
footer .legal p { margin: 0 0 4px; }
footer .social { display: flex; justify-content: flex-end; gap: 16px; margin-top: 10px; }
footer button { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: .22em; cursor: pointer; }

/* ---------- cookiekeuze ---------- */

.consent {
  position: fixed;
  left: var(--gutter);
  bottom: 18px;
  z-index: 40;
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--sand);
  padding: 20px 22px 18px;
  font-size: 14px;
  line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent p { margin: 6px 0 16px; }
.consent .row { display: flex; gap: 10px; }
.consent button {
  flex: 1;
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.consent button.yes { background: var(--ink); color: var(--paper); }
.consent button:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }

/* ---------- eenvoudige tekstpagina (privacy, 404) ---------- */

.page { padding: clamp(48px, 8vw, 112px) 0; }
.page .body { grid-column: 3 / 11; }
.page h1 { font-family: var(--display); font-weight: 720; font-size: clamp(40px, 6vw, 80px); line-height: .98; letter-spacing: -.03em; margin: 0 0 32px; }
.page h2 { font-family: var(--display); font-weight: 650; font-size: 22px; margin: 40px 0 8px; }
.page p, .page li { max-width: 64ch; }

/* ---------- smal scherm ---------- */

@media (max-width: 860px) {
  .grid > * { grid-column: 1 / -1 !important; }
  .masthead nav { justify-self: start; margin-top: 14px; gap: 14px; flex-wrap: wrap; }
  .hero h1 .indent { padding-left: 0; }
  .hero .lede { margin-top: 32px; }
  .hero .footnote { grid-row: auto; margin-top: 32px; }
  .sec-head { margin-bottom: 28px; }
  .done li { grid-template-columns: 1fr; gap: 4px; }
  .done li:nth-child(even) { margin-left: 0; }
  .ready .margin { margin-top: 24px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li:nth-child(n) { margin-top: 0; }
  .method .margin { margin-top: 24px; }
  .promise .pair, .who .people { grid-template-columns: 1fr; }
  footer .legal { text-align: left; margin-top: 18px; }
  footer .social { justify-content: flex-start; }
  .cloud { gap: 2px 16px; }
  .topics { margin-top: 24px; }
}

/* ---------- versie 2: profielkeuze ---------- */

/* Een blok met data-voor verschijnt enkel voor de profielen die erin staan. */
[data-voor] { display: none !important; }
body[data-profiel="algemeen"] [data-voor~="algemeen"],
body[data-profiel="zelfstandige"] [data-voor~="zelfstandige"],
body[data-profiel="manager"] [data-voor~="manager"],
body[data-profiel="ceo"] [data-voor~="ceo"],
body[data-profiel="twaalf"] [data-voor~="twaalf"] { display: revert !important; }
body[data-profiel] .cloud[data-voor],
body[data-profiel] .links[data-voor],
body[data-profiel] .steps[data-voor],
body[data-profiel] .pair[data-voor] { display: none !important; }
body[data-profiel="algemeen"] .cloud[data-voor~="algemeen"], body[data-profiel="zelfstandige"] .cloud[data-voor~="zelfstandige"],
body[data-profiel="manager"] .cloud[data-voor~="manager"], body[data-profiel="ceo"] .cloud[data-voor~="ceo"],
body[data-profiel="algemeen"] .links[data-voor~="algemeen"], body[data-profiel="zelfstandige"] .links[data-voor~="zelfstandige"],
body[data-profiel="manager"] .links[data-voor~="manager"], body[data-profiel="ceo"] .links[data-voor~="ceo"],
body[data-profiel="twaalf"] .links[data-voor~="twaalf"] { display: flex !important; }
body[data-profiel="algemeen"] .steps[data-voor~="algemeen"], body[data-profiel="zelfstandige"] .steps[data-voor~="zelfstandige"],
body[data-profiel="manager"] .steps[data-voor~="manager"], body[data-profiel="ceo"] .steps[data-voor~="ceo"],
body[data-profiel="twaalf"] .steps[data-voor~="twaalf"],
body[data-profiel="algemeen"] .pair[data-voor~="algemeen"], body[data-profiel="zelfstandige"] .pair[data-voor~="zelfstandige"],
body[data-profiel="manager"] .pair[data-voor~="manager"], body[data-profiel="ceo"] .pair[data-voor~="ceo"],
body[data-profiel="twaalf"] .pair[data-voor~="twaalf"] { display: grid !important; }

.hero-v2 { padding-bottom: clamp(32px, 4vw, 56px); }
.hero-v2 .footnote { grid-column: 1 / 13; grid-row: auto; margin-top: 28px; }

.choose { padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 112px); }
.choose-head { grid-column: 1 / 13; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; margin-bottom: 28px; }
.choose-head h2 { margin: 0; font-family: var(--display); font-variation-settings: "opsz" 72, "wdth" 85; font-weight: 720; font-size: clamp(32px, 4vw, 56px); letter-spacing: -.03em; line-height: 1; }
.choose-head p { margin: 0; color: var(--taupe); max-width: 44ch; }

.cards { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.card {
  font: inherit;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-top: 3px solid var(--ink);
  padding: 16px 4px 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .2s, color .2s, padding .2s;
}
.card:nth-child(2) { margin-top: clamp(0px, 2vw, 28px); }
.card:nth-child(3) { margin-top: clamp(0px, 4vw, 56px); }
.card .no { font-family: var(--mono); font-size: 13px; color: var(--clay); }
.card .title { font-family: var(--display); font-variation-settings: "opsz" 72, "wdth" 88; font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -.025em; }
.card .sub { font-size: 15px; color: var(--taupe); }
.card:hover { border-top-color: var(--clay); }
.card:hover .title { color: var(--clay); }
.card[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-top-color: var(--clay); padding-left: 16px; padding-right: 16px; }
.card[aria-pressed="true"] .title { color: var(--paper); }
.card[aria-pressed="true"] .sub { color: var(--sand); }
.card.kid { border-top-style: dashed; border-top-color: var(--clay); margin-top: 0; }
.card.kid .title { color: var(--clay); }
.card.kid[aria-pressed="true"] { background: var(--sand); color: var(--ink); }
.card.kid[aria-pressed="true"] .title { color: var(--clay); }
.card.kid[aria-pressed="true"] .sub { color: var(--taupe); }

.ready .intro h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.025em; line-height: 1.08; color: var(--ink); }
.ready .intro p { margin: 0 0 .8em; }

.masthead .who-am-i { color: var(--clay); }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card:nth-child(n) { margin-top: 0; }
}
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
}

/* ---------- versie 2: profielbalk en keuzevenster ---------- */

.masthead { position: sticky; top: 0; z-index: 30; background: var(--paper); padding-bottom: 0; }
.masthead > .wrap { padding-bottom: 16px; }

.switcher { border-top: 1px solid var(--mist); }
.switcher .wrap { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.switcher .label { flex: none; }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.pills::-webkit-scrollbar { display: none; }
.pill, .switcher .again {
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  padding: 7px 14px 6px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.pill:hover { border-color: var(--clay); color: var(--clay); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill.kid { border-style: dashed; border-color: var(--clay); color: var(--clay); }
.pill.kid[aria-pressed="true"] { background: var(--sand); color: var(--ink); border-style: solid; }
.switcher .again { border-color: transparent; color: var(--clay); text-decoration: underline; text-underline-offset: .2em; }
.switcher .again:hover { color: var(--ink); }

.ill-small { display: block; width: 100%; max-width: 220px; aspect-ratio: 4 / 3; margin-top: 24px; }

body.picking .consent { display: none; }

.picker {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: clamp(24px, 4vw, 52px);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--sand);
}
.picker::backdrop { background: rgba(15, 15, 15, .55); }
.picker[open] { animation: rise .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .picker[open] { animation: none; } }

.picker-head { max-width: 56ch; margin-bottom: clamp(24px, 3vw, 40px); }
.picker-head .mark { height: 22px; width: auto; margin-bottom: 18px; }
.picker-head .label { margin: 0 0 6px; }
.picker-head h2 { margin: 0 0 10px; font-family: var(--display); font-variation-settings: "opsz" 96, "wdth" 82; font-weight: 720; font-size: clamp(40px, 5.6vw, 76px); line-height: .95; letter-spacing: -.035em; }
.picker-head .lead { margin: 0; color: var(--taupe); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.tile {
  font: inherit;
  text-align: left;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--mist);
  border-radius: 6px;
  padding: 14px 14px 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tile .ill { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 8px; background: var(--mist); border-radius: 4px; }
.tile .title { font-family: var(--display); font-variation-settings: "opsz" 72, "wdth" 88; font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.05; letter-spacing: -.02em; }
.tile .sub { font-size: 14px; line-height: 1.45; color: var(--taupe); }
.tile:hover, .tile:focus-visible { border-color: var(--ink); transform: translateY(-4px); box-shadow: 6px 6px 0 var(--sand); }
.tile:hover .title { color: var(--clay); }
.tile[aria-pressed="true"] { border-color: var(--clay); }
.tile.kid { border-style: dashed; border-color: var(--clay); }
.tile.kid .title { color: var(--clay); }

.skip-pick { display: block; margin: clamp(20px, 3vw, 32px) auto 0; font: inherit; font-size: 15px; color: var(--taupe); background: none; border: 0; text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: .22em; cursor: pointer; }
.skip-pick:hover { color: var(--ink); }
.picker .close { position: absolute; top: 14px; right: 16px; font-size: 28px; line-height: 1; color: var(--ink); background: none; border: 0; cursor: pointer; padding: 6px 10px; }
.picker .close:hover { color: var(--clay); }

.picker h2:focus { outline: none; }

@media (max-width: 960px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  /* compacte vaste kop: logo en knop op één rij, profielbalk eronder */
  .masthead > .wrap { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; }
  .masthead nav { margin-top: 0; }
  .masthead nav a:not(.cta) { display: none; }
}
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .tile .ill { width: 96px; margin: 0 12px 0 0; }
  .tile .title { flex: 1; }
  .tile .sub { flex-basis: 100%; }
  .switcher .label, .switcher .again { display: none; }
  .switcher .wrap { padding-top: 8px; padding-bottom: 8px; }
  .pills { gap: 6px; }
  .pill { font-size: 11px; padding: 6px 10px 5px; letter-spacing: 0; }
}

/* ---------- keuzevenster op gsm: paneel dat van onderen opschuift, tegels twee op twee ---------- */
.picker { max-height: calc(100dvh - 32px); }

@media (max-width: 600px) {
  .picker {
    width: 100%;
    max-width: 100%;
    max-height: 100dvh;
    margin: auto 0 0;
    padding: 22px 16px calc(14px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: none;
  }
  .picker[open] { animation: sheet .35s cubic-bezier(.2, .7, .2, 1); }
  @keyframes sheet { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
  .picker::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--mist); margin: -8px auto 14px; }
  .picker-head { margin-bottom: 16px; }
  .picker-head .mark { display: none; }
  .picker-head .label { font-size: 11px; }
  .picker-head h2 { font-size: 38px; margin-bottom: 6px; }
  .picker-head .lead { font-size: 15px; line-height: 1.45; }
  .picker-head .lead .s2 { display: none; }
  .picker .close { top: 10px; right: 8px; }

  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { flex-direction: column; align-items: stretch; flex-wrap: nowrap; padding: 8px 8px 12px; gap: 4px; }
  .tile .ill { width: 100%; margin: 0 0 6px; aspect-ratio: 4 / 3; }
  .tile .title { flex: none; font-size: 17px; line-height: 1.1; }
  .tile .sub { flex-basis: auto; font-size: 12.5px; line-height: 1.35; }
  .tile .sub .s2 { display: none; }
  .tile:hover, .tile:focus-visible { transform: none; box-shadow: none; }
  .skip-pick { margin-top: 14px; font-size: 14px; }
}
