/* Variant D — Speels · tokens, layout, navigation, footer */
:root {
  --cream: #FFF8EE;
  --cream-2: #FBEEDB;
  --paper: #FFFFFF;
  --ink: #1E2640;
  --ink-2: #4A5168;          /* 7.6:1 on cream */
  --blue: #17458F;           /* Rotary royal blue */
  --blue-dark: #0E2F66;
  --blue-soft: #E3EBF8;
  --gold: #F7A81B;           /* Rotary gold — fills only, ink text on top */
  --gold-soft: #FDE9C2;
  --coral: #B8482F;          /* terracotta, 5.4:1 on cream */
  --coral-soft: #F7DCD3;
  --sage: #2F6B55;
  --sage-soft: #DCEDE4;
  --line: #E7D9C3;
  --shadow: 0 2px 0 rgba(30,38,64,.06), 0 10px 24px -12px rgba(30,38,64,.28);
  --radius: 18px;
  --font-head: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
  --bottomnav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: hidden;
  padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom));
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 4.4vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
.muted { color: var(--ink-2); }
.eyebrow { font: 800 .8125rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-bottom: .5rem; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255,248,238,.94); backdrop-filter: blur(8px); border-bottom: 2px dashed var(--line); }
.topbar__in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand__wheel { width: 38px; height: 38px; color: var(--gold); flex: none; }
.brand__wheel svg { width: 100%; height: 100%; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt strong { font: 700 1.35rem/1 var(--font-head); color: var(--blue); }
.brand__txt small { font-size: .8125rem; color: var(--ink-2); font-weight: 700; }
.mainnav { display: none; }
.topbar__cta { margin-left: auto; }

/* Bottom nav (mobile) */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--paper); border-top: 2px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 20px -14px rgba(30,38,64,.35);
}
.bottomnav a, .bottomnav button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: var(--bottomnav-h); background: none; border: 0; cursor: pointer;
  font: 700 .75rem/1.1 var(--font-body); color: var(--ink-2); text-decoration: none; position: relative;
}
.bottomnav span[data-doodle] { width: 28px; height: 28px; }
.bottomnav span svg { width: 100%; height: 100%; }
.bottomnav [aria-current="page"], .bottomnav .is-active { color: var(--blue); }
.bottomnav [aria-current="page"]::before, .bottomnav .is-active::before {
  content: ""; position: absolute; top: 6px; width: 44px; height: 34px; border-radius: 14px; background: var(--gold-soft); z-index: -1;
}
.bottomnav a, .bottomnav button { isolation: isolate; }

/* "Meer" sheet */
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(30,38,64,.45); }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; background: var(--cream);
  border-radius: 24px 24px 0 0; padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
  animation: sheet-up .22s ease-out;
}
.sheet__head { display: flex; align-items: center; justify-content: space-between; }
.sheet__head h2 { margin: 0; font-size: 1.5rem; }
.sheet__list { list-style: none; margin: 8px 0 0; padding: 0; }
.sheet__list a {
  display: flex; flex-direction: column; padding: 12px 6px; min-height: 56px; border-bottom: 1px dashed var(--line);
  font: 600 1.15rem/1.3 var(--font-head); color: var(--ink); text-decoration: none;
}
.sheet__list a span { font: 400 .9375rem/1.3 var(--font-body); color: var(--ink-2); }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); cursor: pointer; font-size: 1.1rem; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }

/* Footer */
.footer { margin-top: 56px; padding: 40px 0 32px; border-top: 2px dashed var(--line); text-align: center; }
.footer__quote { margin: 0 auto 14px; max-width: 680px; font: italic 400 1.125rem/1.5 var(--font-body); color: var(--ink); }
.footer__quote::before { content: "“"; display: block; font: 700 3rem/0.6 var(--font-head); color: var(--gold); margin-bottom: 6px; }
.footer__meta { color: var(--ink-2); font-size: .9375rem; margin: 0; }
.footer__meta a { display: inline-block; padding: 10px 4px; }


/* Page scaffolding */
.page { padding-top: 24px; padding-bottom: 8px; }
.page__head { margin: 8px 0 24px; max-width: 760px; }
.page__head p { font-size: 1.125rem; color: var(--ink-2); }
.page__head .eyebrow { font-size: .8125rem; color: var(--coral); }
.section { margin-top: 48px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.section__head h2 { margin: 0; }
.section__head a { font-weight: 800; padding: 10px 0; }
.grid { display: grid; gap: 20px; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .wrap { padding: 0 32px; }
  .bottomnav { display: none; }
  .mainnav { display: flex; gap: 2px; margin-left: auto; }
  .mainnav a {
    display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px;
    font-weight: 700; color: var(--ink); text-decoration: none;
  }
  .mainnav a:hover { background: var(--cream-2); }
  .mainnav a[aria-current="page"] { background: var(--blue); color: #fff; }
  .topbar__cta { margin-left: 8px; }
  .topbar__in { min-height: 76px; }
  .page { padding-top: 40px; }
}
@media (max-width: 899px) { .topbar__cta { font-size: .9375rem; padding: 0 14px; } }
@media (max-width: 360px) { .brand__txt small { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
