/* Dutch with Geert: shared styles */

:root {
  --ink: #16302c;
  --ink-soft: #3f5753;
  --ink-faint: #6b7f7b;
  --teal: #0b6b66;
  --teal-deep: #084f4b;
  --wash: #edf3f1;
  --line: #d3dfdb;
  --yellow: #ffd447;
  --yellow-deep: #f2c200;
  --white: #ffffff;
  --error: #b3261e;

  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;

  --measure: 66ch;
  --page: 1120px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 2px; border-radius: 3px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; line-height: 1.25; }
strong { font-weight: 700; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: .6rem 1rem; z-index: 999; }
.skip:focus { left: 1rem; }

/* Dutch sentence with its English gloss: the house style for headings */
.gloss {
  display: block;
  margin-top: .45rem;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--teal);
}
h1 .gloss { font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin-top: .9rem; }

/* ── header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand {
  font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: .6rem;
}
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.menu { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--ink-soft); text-decoration: none; font-size: .98rem; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 3px; text-underline-offset: .4em; }
.menu .btn { color: var(--ink); }
.menu .btn:hover { text-decoration: none; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); padding: .45rem .8rem; cursor: pointer;
}

/* ── buttons ── */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 700; font-size: 1rem;
  background: var(--yellow); color: var(--ink); text-decoration: none;
  padding: .75rem 1.3rem; border-radius: 8px; border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { color: var(--ink); transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-plain { background: var(--white); }

/* ── sections ── */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.wash { background: var(--wash); border-top: 0; }
.section.wash + .section { border-top: 0; }
.section-head { margin-bottom: 2.4rem; max-width: var(--measure); }
.section-head p.intro { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.1rem; }

/* ── page hero (subpages) ── */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: var(--measure); margin-top: 1.4rem; }
.crumbs { font-size: .92rem; color: var(--ink-faint); margin-bottom: 1.6rem; }
.crumbs a { color: var(--ink-faint); }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 1.8rem 0 0; padding: 0; list-style: none; color: var(--ink-soft); }
.facts li { padding-left: 1rem; position: relative; }
.facts li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }

/* ── lists of things (instead of card grids) ── */
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.rows > li { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: .5rem 2.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 1.2rem; }
.rows p { margin: 0; color: var(--ink-soft); }
.rows .meta { display: block; margin-top: .35rem; font-size: .95rem; color: var(--ink-faint); }

/* ── notes / callouts ── */
.note {
  border-left: 4px solid var(--yellow-deep); background: #fff8dc;
  padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; max-width: var(--measure);
}
.note p:last-child { margin-bottom: 0; }

/* ── FAQ ── */
.faq { max-width: 760px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: .25rem; top: .85rem;
  font-family: var(--display); font-size: 1.6rem; font-weight: 400; color: var(--teal); line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq .answer { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: var(--measure); }

/* ── footer ── */
.site-footer { background: var(--teal-deep); color: #d7e6e3; padding: 3rem 0 2.5rem; font-size: .95rem; }
.site-footer a { color: #ffffff; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer .small { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.18); color: #b5ccc8; }

/* ── responsive ── */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.2rem;
  }
  .menu.open { display: flex; }
  .menu li { width: 100%; }
  .menu a { display: block; padding: .7rem 0; font-size: 1.05rem; }
  .menu .btn { display: inline-block; margin-top: .6rem; padding: .7rem 1.2rem; }
  .rows > li { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* keep anchored content clear of the sticky header */
[id] { scroll-margin-top: 84px; }
