/* Hallmark v2.0.0 (condensed) · theme: custom, brief palette (ink, papier, status-accent) · genre: editorial · job: visit (one question, one answer)
 * shape: Marquee Hero · hero: Corridor, left-aligned · nav: edge-aligned · footer: colophon · posture: committed (answer panel and counter band)
 * signature: the giant answer, a new one on every visit
 * fingerprint: Left-margin|Asymmetric spans|Hairline|Solid|None|None */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V4 · weakest: E, accent contrast per status; fixed with a per-status on-accent colour */
:root {
  --ink: #1F2430;
  --paper: #F6F1E7;
  --orange: #FF7A00;
  --red: #D7263D;
  --blue: #2B59C3;
  --grey: #8A8F98;

  --ink-2: color-mix(in srgb, var(--ink) 74%, var(--paper));
  --paper-2: color-mix(in srgb, var(--paper) 90%, var(--ink));
  --rule: color-mix(in srgb, var(--ink) 55%, var(--paper));
  --paper-dim: color-mix(in srgb, var(--paper) 80%, var(--ink));

  --accent: var(--orange);
  --on-accent: var(--ink);

  --font-body: "Segoe UI", "Helvetica Neue", "Liberation Sans", Arial, sans-serif;
  --font-display: "Segoe UI", "Helvetica Neue", "Liberation Sans", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 40px; --s-7: 64px; --s-8: 96px; --s-9: 144px;
  --gutter: clamp(16px, 4.5vw, 64px);
  --radius: 6px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}
:root[data-status="door"] { --accent: var(--blue); --on-accent: var(--paper); }
:root[data-status="gevallen"] { --accent: var(--red); --on-accent: var(--paper); }

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.55;
  font-synthesis: none; caret-color: var(--accent); scrollbar-color: var(--grey) var(--paper);
}
::selection { background: var(--accent); color: var(--on-accent); }
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ticker :focus-visible, .band :focus-visible { outline-color: var(--paper); }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ticker */
.ticker { background: var(--ink); color: var(--paper); display: flex; align-items: stretch; min-height: 44px; overflow: hidden; }
.ticker-label { flex: none; background: var(--accent); color: var(--on-accent); font-weight: 800; padding: var(--s-2) var(--s-4); display: flex; align-items: center; font-size: 0.95rem; }
.ticker-view { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.track { display: flex; width: max-content; animation: tick var(--dur, 120s) linear infinite; }
.ticker:hover .track, .ticker:focus-within .track { animation-play-state: paused; }
.track ul { display: flex; flex: none; }
.track li { flex: none; padding: var(--s-2) var(--s-5); border-left: 1px solid var(--rule); font-size: 0.95rem; white-space: nowrap; }
.static-item { display: none; padding: var(--s-2) var(--s-4); font-size: 0.95rem; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); padding-block: var(--s-5) var(--s-4); }
.top img { width: clamp(132px, 22vw, 220px); height: auto; aspect-ratio: 4 / 1; }
.status { border: 2px solid var(--ink); border-radius: 999px; padding: var(--s-1) var(--s-4); font-size: 0.95rem; font-weight: 600; margin: 0; }

/* hero */
.hero { padding-block: var(--s-4) var(--s-7); }
h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 5.4vw, 4.5rem); line-height: 1.03; letter-spacing: -0.03em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.panel { margin-top: var(--s-4); background: var(--accent); color: var(--on-accent); border-radius: var(--radius); padding: var(--s-5) clamp(16px, 3vw, 40px); min-height: calc(clamp(2.7rem, 10.2vw, 8.6rem) * 2.1 + 2 * var(--s-5)); display: flex; align-items: center; }
.answer { --scale: 1; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; font-size: calc(clamp(2.7rem, 10.2vw, 8.6rem) * var(--scale)); overflow-wrap: break-word; min-width: 0; width: 100%; text-wrap: balance; }
.answer[data-len="m"] { --scale: 0.72; }
.answer[data-len="l"] { --scale: 0.52; }
.answer[data-len="xl"] { --scale: 0.4; letter-spacing: -0.03em; }
.swap { display: block; transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out); }
.swap.is-out { opacity: 0; transform: translateY(-0.1em); }
.swap.is-pre { transition: none; opacity: 0; transform: translateY(0.1em); }
.swap.fade { display: inline; transform: none; }
.swap.fade.is-out, .swap.fade.is-pre { transform: none; }
.sub { margin-top: var(--s-4); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink-2); min-height: 2lh; max-width: 60ch; }
.actions { margin-top: var(--s-4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
.btn { font: inherit; font-weight: 700; font-size: 1.05rem; min-height: 52px; padding: var(--s-2) var(--s-5); border-radius: var(--radius); border: 2px solid var(--ink); cursor: pointer; color: var(--ink); background: transparent; transition: background-color 0.15s var(--ease-out), color 0.15s var(--ease-out), transform 0.1s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); color: var(--on-accent); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-text { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; padding-inline: var(--s-3); min-height: 44px; font-weight: 600; }
.btn-text:hover { background: var(--paper-2); }
.note { font-size: 0.95rem; color: var(--ink-2); min-height: 1.5em; }

/* section heads */
h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }

/* aan tafel */
.table { padding-block: var(--s-6) var(--s-8); }
.table-head { display: grid; gap: var(--s-2); margin-bottom: var(--s-6); }
.table-head p { color: var(--ink-2); font-size: 1.1rem; max-width: 52ch; }
.seats { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--s-7); }
.seats li { border-top: 2px solid var(--ink); padding-block: var(--s-4) var(--s-5); min-width: 0; }
.line { font-family: var(--font-display); font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; min-height: 2.4em; text-wrap: pretty; }
.line strong { font-weight: 800; }
.seats small { display: block; margin-top: var(--s-2); font-size: 0.95rem; color: var(--ink-2); }
@media (min-width: 52rem) {
  .seats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seats li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* counter band */
.band { background: var(--ink); color: var(--paper); padding-block: var(--s-8); }
.band-grid { display: grid; gap: var(--s-6) var(--s-7); grid-template-columns: minmax(0, 1fr); }
.band h2 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; }
.band .cap { margin-top: var(--s-3); color: var(--paper-dim); font-size: 1rem; max-width: 44ch; }
.clock { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; font-size: clamp(2.6rem, 7.4vw, 6.2rem); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.meter { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: var(--s-5); }
.meter-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.meter-label { font-size: 1.1rem; font-weight: 600; }
.meter-val { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 2rem; }
.meter-bar { margin-top: var(--s-3); height: 20px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 22%, var(--ink)); overflow: hidden; }
.meter-fill { height: 100%; background: var(--paper); transform-origin: left center; transform: scaleX(0.5); transition: transform 1.1s var(--ease-out); }
@media (min-width: 52rem) { .band-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; } }

footer { padding-block: var(--s-6) var(--s-7); }
footer p { max-width: 60ch; font-size: 1.05rem; color: var(--ink-2); }

@media (max-width: 30rem) {
  .btn { width: 100%; }
  .btn-text { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .track { display: none; }
  .static-item { display: block; }
  .swap, .meter-fill, .btn { transition: none; }
}

/* melding vanuit beheer */
.melding { margin-top: var(--s-4); display: inline-block; border-left: 4px solid var(--accent); background: var(--paper-2); padding: var(--s-2) var(--s-4); font-weight: 600; max-width: 60ch; }

/* nieuws van elders */
.news { padding-block: 0 var(--s-8); }
.news-head { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
.news-head p { color: var(--ink-2); font-size: 1.1rem; max-width: 60ch; }
.news-list li { border-top: 1px solid var(--rule); padding-block: var(--s-3) var(--s-4); }
.news-list a { color: var(--ink); font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.3; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.news-list a:hover { text-decoration-color: var(--ink); }
.news-meta { display: block; margin-top: var(--s-1); font-size: 0.9rem; color: var(--ink-2); }
.news-foot { margin-top: var(--s-4); font-size: 0.9rem; color: var(--ink-2); }
footer .colofon { margin-top: var(--s-3); font-size: 0.9rem; }
