@font-face { font-family: 'DM Sans'; src: url('../assets/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../assets/fonts/dm-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Fraunces; src: url('../assets/fonts/fraunces-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
:root { --paper: #f4f0e6; --white: #fffdf7; --ink: #173a32; --forest: #175c49; --muted: #53685e; --line: #d2d6c8; --lime: #dce8c8; --coral: #bd3f2c; --soft: #e6ebd9; --lavender: #dce8c8; font-family: 'DM Sans', sans-serif; color: var(--ink); background: var(--paper); font-synthesis: none; color-scheme: light; accent-color: var(--forest); scrollbar-color: var(--muted) var(--paper); }
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.55; }
h1, h2, h3, p, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; min-height: 46px; }
button:disabled { cursor: default; }
a { color: var(--forest); text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--lime); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 2; background: var(--white); padding: 12px 18px; }
.skip-link:focus { top: 10px; }
.topbar { min-height: 68px; border-bottom: 1px solid var(--line); padding: 0 clamp(20px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: 22px; font-weight: 700; text-decoration: none; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 11px); grid-template-rows: repeat(2, 11px); gap: 4px; transform: rotate(-8deg); }
.brand-mark span { background: var(--forest); border-radius: 2px; }
.brand-mark span:nth-child(2) { background: #edbd51; }
.brand-mark span:nth-child(3) { background: #bd3f2c; }
.brand-mark span:nth-child(4) { background: #718779; }
.topbar-note { font-size: 13px; color: var(--muted); }
.page-shell { width: min(1080px, calc(100% - 64px)); margin: 0 auto; padding: 28px 0 48px; }
.intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
h1 { font: 600 clamp(36px, 4.3vw, 56px)/1.08 Fraunces, Georgia, serif; letter-spacing: -.03em; }
h1 em { color: var(--coral); font-style: normal; }
.quiet { background: transparent; border: 1px solid #7b8d78; border-radius: 8px; padding: 9px 14px; }
.quiet:hover { background: var(--soft); }
#reset { flex-shrink: 0; font-size: 13px; }
.fiction { font-size: 13px; margin-top: 10px; color: var(--muted); max-width: 75ch; }
.step-number { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); flex-shrink: 0; font-variant-numeric: tabular-nums; }
h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 18px; line-height: 1.3; }
.mission { background: var(--soft); border-radius: 12px; margin-top: 24px; padding: clamp(22px, 4vw, 36px); }
.mission-progress { color: var(--muted); font-size: 13px; font-weight: 700; }
.mission h2 { font: 600 clamp(30px, 4vw, 42px)/1.15 Fraunces, Georgia, serif; margin-top: 6px; }
.mission-request { max-width: 60ch; margin-top: 12px; font-size: clamp(18px, 2vw, 21px); line-height: 1.45; }
.mission-action { max-width: 65ch; margin-top: 18px; }
.mission .known { color: var(--muted); font-size: 13px; margin-top: 10px; }
fieldset { min-width: 0; padding: 0; border: 0; margin: 0; }
.delivery-mode { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
.delivery-mode legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.delivery-mode label { display: flex; align-items: center; gap: 10px; min-height: 46px; cursor: pointer; }
input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; }
.workbench { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr); gap: 44px; margin-top: 34px; align-items: start; }
.choices h3 { font-size: 20px; }
.data-cards { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin-top: 10px; border-bottom: 1px solid var(--line); }
.data-card { min-width: 0; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding: 12px 6px; cursor: pointer; min-height: 72px; }
.data-card > span:nth-child(2) { flex: 1; min-width: 0; }
.data-card strong { display: block; font-size: 15px; line-height: 1.35; }
.card-value { display: block; font-size: 13px; margin-top: 5px; line-height: 1.4; overflow-wrap: anywhere; }
.data-card:hover { background: var(--soft); }
.data-card.chosen { background: var(--lime); }
.data-card.chosen strong { color: var(--forest); }
.data-card:has(:focus-visible), .delivery-mode label:has(:focus-visible) { outline: 3px solid var(--coral); outline-offset: 4px; }
.data-card input:focus-visible, .delivery-mode input:focus-visible { outline: none; }
.backpack { border-top: 3px solid var(--forest); padding-top: 18px; }
.bag-heading { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.bag-heading p { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bag-selection { margin-top: 14px; font-size: 14px; overflow-wrap: anywhere; }
.bag-help { color: var(--muted); font-size: 13px; margin: 10px 0 16px; }
.primary { background: var(--forest); color: var(--white); border: 0; border-radius: 9px; padding: 12px 20px; font-weight: 700; min-height: 48px; }
.primary:hover:enabled { background: #194d3b; }
.primary:disabled { background: #dde0d3; color: var(--muted); }
#try { width: 100%; }
.result { background: var(--soft); border-radius: 12px; padding: 28px; margin-top: 32px; }
.result-top { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.result h2 { scroll-margin-top: 24px; }
.result-state { font-size: 12px; text-align: right; color: var(--muted); }
.stale { border: 1px dashed var(--muted); }
.stale .result-state { color: var(--coral); font-weight: 700; }
.tested { font-size: 12px; color: var(--muted); margin-top: 10px; }
.robot-answer { font: 600 clamp(23px, 2.2vw, 29px)/1.3 Fraunces, Georgia, serif; margin-top: 22px; max-width: 65ch; }
.robot-answer > span { display: block; font: 700 12px/1.5 'DM Sans', sans-serif; margin-bottom: 6px; }
.consequences { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 26px; }
.consequences h3 { font-size: 16px; }
.consequences ul { padding-left: 18px; margin: 10px 0 0; }
.consequences li + li { margin-top: 8px; }
.consequences p { margin-top: 10px; }
.consequences p, .consequences li { font-size: 14px; max-width: 65ch; }
.extra-note { color: var(--coral); }
.explanation { margin-top: 16px; max-width: 75ch; }
summary { min-height: 46px; align-content: center; cursor: pointer; font-size: 14px; font-weight: 700; }
summary::marker { color: var(--forest); }
.comparison { margin-top: 24px; padding-top: 8px; border-top: 1px solid #b3bda6; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.comparison h3 { font-size: 15px; }
.comparison p { font-size: 13px; margin-top: 8px; }
.comparison > p { margin-top: 18px; font-weight: 700; }
.continue { display: flex; justify-content: space-between; gap: 24px; margin-top: 24px; padding-top: 22px; border-top: 1px solid #b3bda6; }
.continue p { max-width: 55ch; font-size: 14px; }
.continue > div:last-child { flex-shrink: 0; max-width: 280px; }
.text-button { border: 0; background: transparent; padding: 8px 0; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.text-button:hover { color: var(--coral); }
.about { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 8px; }
.about p { color: var(--muted); max-width: 75ch; margin-top: 10px; font-size: 14px; }
.summary { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 28px; }
.summary > h2 { font: 600 clamp(30px, 4vw, 42px)/1.15 Fraunces, Georgia, serif; }
.summary-lead { margin-top: 12px; max-width: 65ch; }
.discoveries { list-style: none; padding: 0; margin: 28px 0 0; }
.discoveries > li { display: flex; align-items: start; gap: 18px; border-top: 1px solid var(--line); padding: 22px 0; }
.discoveries p { margin-top: 8px; max-width: 75ch; font-size: 14px; }
.discoveries details { margin-top: 4px; }
.reflection { background: var(--lavender); border-radius: 12px; padding: 28px; margin-top: 16px; }
.reflection > p { margin-top: 12px; max-width: 65ch; }
.reflection-choices { display: flex; gap: 12px; margin-top: 20px; }
.reflection-choices button { flex: 1; text-align: left; background: var(--white); font-size: 14px; }
.reflection-choices [aria-pressed='true'] { color: var(--white); background: var(--ink); }
#reflection-feedback:empty { display: none; }
.stamp { border-top: 1px solid #b6b7c1; margin-top: 24px; padding-top: 22px; }
.stamp h3 { font: 600 27px/1.3 Fraunces, Georgia, serif; }
.stamp p { margin-top: 10px; max-width: 65ch; font-size: 14px; }
.replay { margin-top: 24px; }
footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin: 0 clamp(20px, 5vw, 76px); padding: 20px 0; color: var(--muted); font-size: 12px; }
@keyframes unpack { from { clip-path: inset(0 0 8% 0); } to { clip-path: inset(0); } }
.result:not(.stale) .robot-answer { animation: unpack 280ms cubic-bezier(.16, 1, .3, 1); }
@media (max-width: 900px) {
  .workbench { gap: 30px; grid-template-columns: minmax(0, 1.4fr) minmax(230px, .8fr); }
  .data-cards { grid-template-columns: 1fr; }
  .result-top { flex-direction: column; gap: 8px; }
  .result-state { text-align: left; }
}
@media (max-width: 600px) {
  .page-shell { width: calc(100% - 36px); padding-top: 24px; }
  .intro { flex-direction: column; align-items: flex-start; gap: 14px; }
  h1 { font-size: clamp(32px, 8vw, 44px); overflow-wrap: anywhere; }
  h2 { font-size: 24px; }
  .workbench, .consequences, .comparison-grid { grid-template-columns: 1fr; }
  .workbench { gap: 30px; }
  .data-cards { grid-template-columns: 1fr; }
  .data-card { padding: 12px 4px; min-height: 68px; }
  .result, .reflection { padding: 22px; }
  .consequences { gap: 22px; }
  .continue { flex-direction: column; }
  .continue > div:last-child { max-width: none; }
  #next { width: 100%; }
  .reflection-choices { flex-direction: column; }
  footer { flex-direction: column; gap: 6px; }
}
@media (max-width: 360px) {
  .topbar { padding: 0 14px; gap: 14px; }
  .topbar-note { font-size: 12px; max-width: 90px; text-align: right; }
  .page-shell { width: calc(100% - 28px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Partnerlogo's in de gedeelde activiteitenheader */
.brand { gap: clamp(8px, 1vw, 14px); min-width: 0; flex-shrink: 1; }
.brand img { display: block; max-height: 46px; height: auto; object-fit: contain; }
.brand .brand-btxt { width: clamp(74px, 16vw, 152px); }
.brand .brand-maakbib { width: clamp(78px, 14vw, 124px); }
.task-panel { display: grid; grid-template-columns: minmax(140px, .4fr) minmax(0, 1.6fr); gap: 30px; align-items: baseline; margin: 22px 0 0; padding: 26px 30px; background: var(--soft); border-radius: 12px; }
.task-panel h2 { font: 600 clamp(27px, 3vw, 36px)/1.15 Fraunces, Georgia, serif; }
.task-panel p { max-width: 65ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; }
@media (max-width: 760px) { .task-panel { grid-template-columns: 1fr; gap: 7px; padding: 22px; } }
