/* prikteam.nl — stylesheet (Nouveau Bauhaus, functional; same system as zorgpayroll.nl). Jost: SIL OFL 1.1. */
/* Jost (SIL Open Font License 1.1, indestructible type*), self-hosted: no requests to third parties. */
@font-face { font-family: "Jost"; src: url("/fonts/jost.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --paper: #e9e8e2; --panel: #ffffff; --ink: #000000; --muted: #55554f; --rule: #000000;
  --red: #d9442e; --blue: #2a4db4; --yellow: #f1be32; --grey: #b9b8b0; --field: #ffffff;
  --ok: #1f6b3a; --focus: #2a4db4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b1b19; --panel: #262624; --ink: #f0efe9; --muted: #a9a8a0; --rule: #f0efe9;
    --red: #e4583f; --blue: #5b7be0; --yellow: #f2c543; --grey: #5c5b56; --field: #1f1f1d;
    --ok: #7fd19a; --focus: #f2c543;
  }
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Jost", "Futura", "Avenir Next", "Century Gothic", sans-serif;
       font-size: 17px; line-height: 1.55; font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: #000; padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 10; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; align-items: start; }
.c7, .c5, .c4, .c6, .c8 { grid-column: span 12; }
@media (min-width: 880px) {
  .c7 { grid-column: span 7; } .c5 { grid-column: span 5; } .c4 { grid-column: span 4; } .c6 { grid-column: span 6; } .c8 { grid-column: span 8; }
}

h1, h2, h3 { font-weight: 500; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; margin-bottom: 20px; }
h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 8px; }
p { margin: 0 0 14px; max-width: 66ch; }
.lead { font-size: 1.22rem; line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: .92rem; line-height: 1.5; }

/* Header */
header { border-bottom: 3px solid var(--rule); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.brand span { font-weight: 400; color: var(--muted); }
.brand svg { width: 30px; height: 30px; display: block; }
nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 1rem; }
nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
nav a:hover { border-bottom-color: var(--rule); }

/* Hero: the prik is a dot. One big red circle, a black square that carries the season, a small yellow triangle. */
.hero { padding: 56px 0 64px; border-bottom: 3px solid var(--rule); }
.hero .lead { margin: 22px 0 30px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; font: inherit; font-weight: 500; font-size: 1.05rem; padding: 13px 22px; border: 3px solid var(--ink);
       background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn:disabled { opacity: .55; cursor: default; }

.comp { position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin: 0 auto; }
.ball { position: absolute; left: 0; bottom: 0; width: 72%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--red); }
.tile { position: absolute; right: 0; top: 0; width: 56%; aspect-ratio: 1 / 1; background: var(--ink); color: var(--paper); padding: 7%;
        display: flex; flex-direction: column; justify-content: flex-end; }
.tile .big { font-weight: 700; font-size: clamp(2rem, 7vw, 2.8rem); line-height: .95; letter-spacing: -0.03em; margin: 0 0 10px; white-space: nowrap; }
.tile p { margin: 0 0 4px; max-width: none; font-size: .98rem; line-height: 1.3; }
.tile p.strong { font-weight: 500; }
.tri { position: absolute; right: 4%; bottom: 0; width: 22%; aspect-ratio: 1 / 1; background: var(--yellow); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Sections */
section { padding: 56px 0; border-bottom: 3px solid var(--rule); }
section.quiet { border-bottom: 0; }
.intro { font-size: 1.08rem; }

/* Three situations, one colour each */
.case { border-top: 10px solid var(--ink); padding-top: 16px; }
.case.a { border-top-color: var(--red); } .case.b { border-top-color: var(--blue); } .case.c { border-top-color: var(--yellow); }
.case h3 { font-size: 1.35rem; }
.case p { max-width: none; }

/* Season strip: the months of a flu campaign, information rather than decoration */
.months { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 34px 0 12px; max-width: 760px; list-style: none; padding: 0; }
.months li { border: 3px solid var(--ink); padding: 14px 10px 10px; min-height: 96px; display: flex; flex-direction: column; justify-content: flex-end; font-weight: 500; line-height: 1.2; }
.months li.on { background: var(--red); color: #fff; border-color: var(--red); }
.months li.late { background: var(--yellow); color: #000; border-color: var(--yellow); }
.months small { display: block; font-weight: 400; font-size: .85rem; line-height: 1.25; margin-top: 4px; }
@media (max-width: 640px) {
  /* Five columns do not fit next to each other on a phone: the strip becomes a list, one month per row. */
  .months { grid-template-columns: 1fr; gap: 4px; }
  .months li { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 12px; min-height: 0; }
  .months small { margin: 0; text-align: right; }
}

/* The four steps are a real sequence, so they are numbered */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; max-width: 800px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 2px solid var(--rule); }
.steps li:last-child { border-bottom: 2px solid var(--rule); }
.steps li::before { content: counter(s); font-weight: 700; font-size: 2.6rem; line-height: .9; letter-spacing: -0.03em; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; max-width: 62ch; }

dl { margin: 0; }
dl div { display: grid; grid-template-columns: 1fr; gap: 2px 20px; padding: 12px 0; border-bottom: 1px solid var(--grey); }
@media (min-width: 640px) { dl div { grid-template-columns: 220px 1fr; } }
dt { font-weight: 500; } dd { margin: 0; color: var(--muted); max-width: 60ch; }

/* Forms */
.field { margin: 0 0 18px; }
.field label, fieldset legend { display: block; font-weight: 500; margin: 0 0 6px; }
fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choice label { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.choice input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.form input[type=text], .form input[type=email], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--field); border: 2px solid var(--ink); padding: 11px 12px; margin: 0; border-radius: 0; }
.form textarea { min-height: 130px; resize: vertical; }
.form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
               background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.two { display: grid; grid-template-columns: 1fr; column-gap: 20px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.5em; margin: 14px 0 0; font-weight: 500; }
.status.ok { color: var(--ok); }
.aside { background: var(--panel); padding: 22px 22px 10px; border-top: 10px solid var(--red); }
.gemist { background: var(--panel); padding: 28px 24px; }

footer { padding: 36px 0 56px; }
footer p { max-width: 80ch; }
