/* Netspelletjes — toy-catalogue stickers on cream paper. Mobile first. */
@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage-grotesque-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage-grotesque-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson-hyperlegible-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson-hyperlegible-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson-hyperlegible-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --cream: #fff7e6;
  --paper: #ffffff;
  --ink: #1b1b3a;
  --ink-soft: #45456a;
  --tomato: #ff5a36;
  --mint: #2ec4b6;
  --sky: #5b8cff;
  --sun: #ffcc29;
  --pink: #ff8fc7;
  --violet: #9b7bff;
  --lime: #b8e05a;
  --line: 3px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --radius: 18px;
  --display: "Bricolage", "Arial Black", system-ui, sans-serif;
  --body: "Atkinson", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(27, 27, 58, 0.08) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--tomato); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px dashed var(--tomato); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 0.5em; overflow-wrap: break-word; }
h1 { font-weight: 800; font-size: clamp(2rem, 7vw, 3.6rem); }
h2 { font-weight: 800; font-size: clamp(1.45rem, 4.5vw, 2rem); }
h3 { font-weight: 600; font-size: 1.2rem; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 0.9em; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 0 0.3em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* header */
.site-header { background: var(--cream); border-bottom: var(--line); position: relative; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; transition: transform 0.2s; }
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand-tld { display: inline-block; margin-left: 0.2rem; padding: 0 0.4rem; background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; font-size: 0.8em; transform: rotate(-6deg); }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem; flex: none;
  font: 700 0.95rem var(--body); color: var(--ink);
  background: var(--paper); border: var(--line); border-radius: 999px;
  padding: 0.4rem 0.9rem; box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
}
.menu-toggle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.menu-dots { display: inline-flex; gap: 3px; }
.menu-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--tomato); border: 1.5px solid var(--ink); }
.menu-dots i:nth-child(2) { background: var(--mint); }
.menu-dots i:nth-child(3) { background: var(--sun); }
.site-nav { display: none; border-top: var(--line); background: var(--paper); }
.site-nav.is-open { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.8rem; padding-bottom: 0.9rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font: 700 0.95rem var(--body); text-decoration: none; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 0.3rem 0.8rem;
}
.chip::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--cream); }
.chip:hover { background: var(--sun); color: var(--ink); }
.chip[aria-current="page"] { background: var(--ink); color: var(--cream); }
.chip-bouwen::before, .cat-bouwen .card-tag { background: var(--mint); }
.chip-rennen::before, .cat-rennen .card-tag { background: var(--tomato); }
.chip-puzzels::before, .cat-puzzels .card-tag { background: var(--sky); }
.chip-matchen::before, .cat-matchen .card-tag { background: var(--sun); }
.chip-creatief::before, .cat-creatief .card-tag { background: var(--pink); }
.chip-klassiek::before, .cat-klassiek .card-tag { background: var(--lime); }
.chip-io::before, .cat-io .card-tag { background: var(--violet); }

/* status strip */
.status { background: var(--ink); color: var(--cream); font-size: 0.88rem; line-height: 1.45; }
.status p { margin: 0; padding: 0.55rem 0; }
.status-badge { display: inline-block; margin-right: 0.35rem; padding: 0 0.5rem; background: var(--sun); color: var(--ink); border-radius: 999px; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* buttons */
.btn {
  display: inline-block; font: 700 1rem var(--body); text-decoration: none; color: var(--ink);
  background: var(--paper); border: var(--line); border-radius: 999px; padding: 0.6rem 1.15rem; box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.btn-main { background: var(--tomato); color: var(--paper); }
.btn-main:hover { color: var(--paper); }
.more { font-weight: 700; }
.more::after { content: " →"; }

/* hero */
.hero { padding: 2rem 0 2.5rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.kicker { display: inline-block; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 0.15rem 0.7rem; }
.hero h1 { margin-top: 0.3em; }
.mark { display: inline-block; background: var(--tomato); color: var(--paper); padding: 0 0.25em; border: var(--line); border-radius: 12px; transform: rotate(-3deg); box-shadow: 4px 4px 0 var(--ink); }
.hero-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.hero-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.hero-fig { margin: 0; position: relative; border: var(--line); border-radius: 26px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); transform: rotate(1.5deg); background: var(--sun); }
.hero-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* moods */
.moods { padding: 1rem 0 2rem; }
.mood-grid { display: grid; gap: 1rem; }
.mood { background: var(--paper); border: var(--line); border-radius: var(--radius); padding: 1rem 1.1rem 0.9rem; box-shadow: var(--shadow); }
.mood:nth-child(1) { background: #ffe1d8; }
.mood:nth-child(2) { background: #dff5f2; }
.mood:nth-child(3) { background: #e3eaff; }
.mood:nth-child(4) { background: #fff0bf; }
.mood h3 { margin-bottom: 0.2rem; }
.mood p { margin-bottom: 0.6rem; color: var(--ink-soft); font-size: 0.95rem; }
.mood ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mood li a { display: inline-block; font-weight: 700; font-size: 0.92rem; text-decoration: none; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 0.15rem 0.65rem; }
.mood li a:hover { background: var(--ink); color: var(--cream); }

/* shelves */
.shelf { padding: 2rem 0 2.2rem; border-top: var(--line); }
.shelf-rennen { background: #ffe9e3; }
.shelf-puzzels { background: #e8eeff; }
.shelf-bouwen { background: #e2f7f4; }
.shelf-matchen { background: #fff4cc; }
.shelf-io { background: #efe9ff; }
.shelf-creatief { background: #ffe8f3; }
.shelf-klassiek { background: #f1f8e0; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.3rem 1.2rem; margin-bottom: 1.2rem; }
.shelf-head h2 { margin: 0; }
.shelf-head p { margin: 0; color: var(--ink-soft); }
.shelf-tab { display: inline-block; background: var(--paper); border: var(--line); border-radius: 14px; padding: 0.15em 0.5em; box-shadow: 4px 4px 0 var(--ink); }
.cards { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr); }
.card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-width: 0;
  background: var(--paper); border: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translate(-3px, -3px) rotate(-0.6deg); box-shadow: 8px 8px 0 var(--ink); color: var(--ink); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: var(--line); }
.card-body { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.8rem 1rem 1rem; }
.card-tag { align-self: flex-start; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border: 2px solid var(--ink); border-radius: 999px; padding: 0 0.55rem; }
.card-title { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.15; }
.card-text { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.45; }

/* feature */
.feature { padding: 2.5rem 0; border-top: var(--line); background: var(--sun); }
.feature-card { max-width: 860px; background: var(--paper); border: var(--line); border-radius: 22px; box-shadow: 7px 7px 0 var(--ink); padding: 1.3rem 1.2rem 0.6rem; position: relative; }
.feature-card::before { content: ""; position: absolute; top: -12px; right: 2rem; width: 70px; height: 22px; background: rgba(255, 204, 41, 0.85); border: 2px solid var(--ink); transform: rotate(4deg); }
.feature-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 0.1rem 0.65rem; margin-bottom: 0.7rem; }
.feature-card a { font-weight: 700; }
@media (min-width: 900px) { .feature-card { padding: 1.8rem 2rem 0.9rem; } }

/* promise */
.promise { padding: 2.5rem 0; border-top: var(--line); background: var(--paper); }
.promise-grid { display: grid; gap: 1.5rem; }
.promise ul { margin: 0; padding-left: 1.2rem; }

/* article */
.article-head { padding: 1.6rem 0 1rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.9rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }
.article-grid { display: grid; gap: 1.6rem; padding-bottom: 2.5rem; grid-template-columns: minmax(0, 1fr); }
.article-main { min-width: 0; }
.hero-img { margin: 0 0 1.6rem; border: var(--line); border-radius: 22px; overflow: hidden; box-shadow: 7px 7px 0 var(--ink); background: var(--paper); }
.hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-img figcaption { font-size: 0.85rem; color: var(--ink-soft); padding: 0.45rem 0.9rem; border-top: var(--line); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.8em; padding-bottom: 0.2em; background-image: linear-gradient(var(--sun), var(--sun)); background-repeat: no-repeat; background-size: 3.2rem 6px; background-position: 0 100%; }
.prose h2:first-child { margin-top: 0; }
.cat-rennen .prose h2 { background-image: linear-gradient(var(--tomato), var(--tomato)); }
.cat-puzzels .prose h2 { background-image: linear-gradient(var(--sky), var(--sky)); }
.cat-bouwen .prose h2 { background-image: linear-gradient(var(--mint), var(--mint)); }
.cat-creatief .prose h2 { background-image: linear-gradient(var(--pink), var(--pink)); }
.cat-io .prose h2 { background-image: linear-gradient(var(--violet), var(--violet)); }
.cat-klassiek .prose h2 { background-image: linear-gradient(var(--lime), var(--lime)); }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose ul li::marker { content: "■  "; color: var(--tomato); font-size: 0.8em; }
.prose ol li::marker { font-family: var(--display); font-weight: 800; }
.prose a { overflow-wrap: anywhere; }
.faq { background: var(--paper); border: var(--line); border-radius: 14px; margin: 0 0 0.8rem; box-shadow: 3px 3px 0 var(--ink); }
.faq summary { cursor: pointer; font-weight: 700; padding: 0.7rem 1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1; flex: none; }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 1rem 0.9rem; }
.h-sum + p { background: var(--sun); border: var(--line); border-radius: 14px; padding: 0.9rem 1.1rem; box-shadow: 4px 4px 0 var(--ink); }

.spelkaart { align-self: start; background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.15rem 1rem; min-width: 0; position: relative; }
.spelkaart::before { content: ""; position: absolute; top: -12px; left: 50%; width: 70px; height: 22px; margin-left: -35px; background: rgba(255, 204, 41, 0.85); border: 2px solid var(--ink); transform: rotate(-3deg); }
.spelkaart-label { margin: 0; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.spelkaart-name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin: 0 0 0.6rem; line-height: 1.15; }
.spelkaart dl { margin: 0 0 0.9rem; display: grid; grid-template-columns: minmax(0, 1fr); }
.spelkaart dt { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); border-top: 2px dashed rgba(27, 27, 58, 0.25); padding-top: 0.45rem; }
.spelkaart dd { margin: 0 0 0.45rem; font-weight: 700; line-height: 1.35; }
.official { font-size: 0.95rem; background: var(--cream); border: 2px solid var(--ink); border-radius: 12px; padding: 0.55rem 0.75rem; overflow-wrap: anywhere; }
.toc-label { margin: 0.9rem 0 0.3rem; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.toc { margin: 0; padding-left: 1.3rem; font-size: 0.93rem; line-height: 1.4; }
.toc li { margin-bottom: 0.3rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.related p { margin-top: 1.4rem; }
.related { padding: 2rem 0 2.5rem; border-top: var(--line); background: var(--paper); }

/* category */
.cat-head { padding: 1.6rem 0 1.2rem; }
.cat-intro { max-width: 46em; }
.cat-list { padding: 2rem 0 2.5rem; border-top: var(--line); background: var(--paper); }
.cat-list ul { padding-left: 1.2rem; max-width: 52em; }
.cat-list li { margin-bottom: 0.5rem; }

/* plain pages */
.plain { padding: 2rem 0 3rem; }
.plain h2 { margin-top: 1.6em; }
.plain ul { padding-left: 1.3rem; }
.plain li { margin-bottom: 0.6rem; }
.credits-list { font-size: 0.93rem; }
.privacy a { overflow-wrap: anywhere; }
.notfound { text-align: left; }
.big404 { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 22vw, 9rem); line-height: 1; margin: 0 0 0.3rem; letter-spacing: -0.04em; }
.big404 span { display: inline-block; color: var(--tomato); transform: rotate(12deg); }

/* footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 2.2rem 0 1rem; border-top: var(--line); font-size: 0.95rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin-bottom: 0.4rem; }
.footer-brand span { color: var(--sun); }
.footer-cats, .footer-nav { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-nav a { font-weight: 700; }
.copyright { margin: 1.6rem 0 0; padding-top: 0.9rem; border-top: 1px solid rgba(255, 247, 230, 0.25); font-size: 0.82rem; opacity: 0.85; }

@media (min-width: 560px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mood-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .wrap { padding: 0 1.5rem; }
  .menu-toggle { display: none; }
  .site-nav { display: block; border-top: 0; background: transparent; }
  .chips { padding-top: 0; }
  .header-row { padding-top: 0.9rem; padding-bottom: 0.6rem; }
  .brand-word { font-size: 1.6rem; }
  .brand-mark { width: 46px; height: 46px; }
  .hero { padding: 3rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
  .mood-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; }
  .article-main { grid-column: 1; grid-row: 1; }
  .article-grid > .spelkaart { grid-column: 2; grid-row: 1; }
  .spelkaart { position: sticky; top: 1.2rem; max-height: calc(100vh - 2.4rem); overflow-y: auto; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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