/* Bingo-registratie — basisstijl. Mobile-first; zie CLAUDE.md § Responsief.
   De huisstijlen (stap 7) zetten alleen de variabelen onder .theme-*. */

:root {
  --bg: #f4f4f5;
  --surface: #ffffff;
  --text: #1c1c1f;
  --muted: #55555c;
  --border: #d4d4d8;
  --accent: #2f3a4a;          /* knoppen, actieve filter, bingobal; per huisstijl */
  --kop-bg: #2f3a4a;
  --balk-bg: #2f3a4a;
  --balk-text: #ffffff;
  --bar-button: #1c1c1f;
  --font-head: var(--font);
  --on-accent: #ffffff;
  --error-bg: #fdecec;
  --error-text: #8a1c1c;
  --radius: 10px;
  --tap: 44px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.5 var(--font);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; }

/* ---------- Formulieren ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gutter);
}

.form { display: grid; gap: 0.5rem; }
.form label { font-weight: 600; margin-top: 0.5rem; }

/* Minimaal 16px, anders zoomt iOS Safari in bij focus. */
input, select, textarea, button { font: inherit; font-size: max(1rem, 16px); }

input[type="text"], input[type="password"], input[type="number"], select {
  width: 100%;
  min-height: var(--tap);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--muted);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

input:focus-visible, button:focus-visible, a:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 0.5rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}
.button--primary { background: var(--accent); color: var(--on-accent); margin-top: 1rem; }
.button--ghost { background: transparent; color: inherit; border-color: currentColor; }

.alert { margin: 0 0 0.5rem; padding: 0.75rem 1rem; border-radius: 8px; }
.alert--error { background: var(--error-bg); color: var(--error-text); font-weight: 600; }

/* ---------- Inloggen ---------- */

.login {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: calc(var(--gutter) + env(safe-area-inset-top)) var(--gutter) var(--gutter);
}
.login__title { margin: 1rem 0 0; font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.2; }
.login__sub { margin: 0.25rem 0 1.5rem; color: var(--muted); }

/* ---------- Ingelogd ---------- */

/* Kop (logo) en balk (label + uitloggen). Kleuren per huisstijl hieronder. */
.brand__kop {
  display: flex;
  align-items: center;
  padding: calc(0.5rem + env(safe-area-inset-top)) var(--gutter) 0.5rem;
  background: var(--kop-bg);
}
.brand__home { display: inline-flex; min-height: var(--tap); align-items: center; }
.brand__logo { height: clamp(32px, 9vw, 44px); width: auto; display: block; }
.brand__balk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem var(--gutter);
  background: var(--balk-bg);
  color: var(--balk-text);
}
.brand__balk form { margin: 0; }
.brand__label { font-weight: 700; }
.button--bar {
  background: var(--bar-button);
  color: #fff;
  border: 2px solid var(--bar-button-border, transparent);
  min-height: var(--tap);
}

.content {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--gutter);
}

.button--block { display: flex; width: 100%; margin: 0 0 1rem; text-decoration: none; }
@media (min-width: 600px) { .button--block { width: auto; display: inline-flex; } }
.muted { color: var(--muted); font-weight: normal; }
.alert--ok { background: #e7f5ea; color: #1d5b2c; font-weight: 600; }
.alert--warn { background: #fff4d6; color: #6b4a00; font-weight: 600; }

/* ---------- Overzicht: teller ---------- */

.stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

/* De bingobal: het enige speelse element (functioneel ontwerp). */
.ball {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: inset 0 0 0 6px var(--surface), inset 0 0 0 8px var(--accent);
  position: relative;
  /* Ruimte voor de bezettingsring rondom (zie .ball__ring). */
  margin: 12px;
}
.ball__num, .ball__of { position: relative; }
.ball__num { font-size: 1.75rem; font-weight: 800; line-height: 1; }
.ball__of { font-size: 0.8rem; }

/* Bezettingsring om de bal: hoe vol de avond is. Geen animatie (geen circus).
   Kleuren met >= 3:1 contrast, ook t.o.v. het grijze spoor: groen 5,1:1 (4,0),
   amber 4,9:1 (3,9), rood 6,5:1 (5,2). Amber in plaats van oranje, zodat
   "druk" niet lijkt op het merkoranje van Boodschappenkast. */
.ball__ring {
  position: absolute;
  /* Iets verder van de bal, zodat er een witte rand tussen bal en ring zit
     (anders valt de rode ring weg naast de rode Sportiv-bal). */
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  overflow: visible;
}
.ball__ring circle { fill: none; stroke-width: 7; }
.ball__track { stroke: #e4e4e7; }
/* Platte uiteinden: ronde kapjes lopen door en laten 58 van 60 er vol uitzien. */
.ball__fill { stroke-linecap: butt; }

/* Drukte ook in tekst, niet alleen in kleur (kleurenblindheid). */
.stats__level {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  vertical-align: middle;
  white-space: nowrap;
}
.stats__level--druk { background: #fef3c7; color: #713f12; }
.stats__level--vol { background: #fde8e7; color: #8a1c1c; }
.ball--rustig .ball__fill { stroke: #2e7d32; }
.ball--druk .ball__fill { stroke: #a16207; }
.ball--vol .ball__fill { stroke: #b3261e; }

.stats__body { display: contents; }
.stats__title { font-size: clamp(1.125rem, 4.5vw, 1.375rem); line-height: 1.25; margin: 0; }

/* Tegels: getal boven het label, zodat lange labels niet afbreken. */
.stats__list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
}
.stats__list div {
  display: flex;
  flex-direction: column-reverse;
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  border-radius: 8px;
}
.stats__list dt { color: var(--muted); font-size: 0.875rem; overflow-wrap: normal; }
.stats__list dd { margin: 0; font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.stats__list dd .muted { font-size: 0.875rem; font-weight: 600; }

.present { grid-column: 1 / -1; display: grid; gap: 0.25rem; }
.present label { font-weight: 700; }
.present meter { width: 100%; height: 1rem; }

/* ---------- Overzicht: filters en lijst ---------- */

.filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.5rem;
  margin-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.filter {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.filter[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.list-title { font-size: 1rem; margin: 0.5rem 0; }

/* ---------- Zoeken en sorteren ---------- */

.toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: end;
  margin-bottom: 1rem;
}
.toolbar__search { grid-column: 1 / -1; }
.toolbar { scroll-margin-top: calc(0.5rem + env(safe-area-inset-top)); }
.toolbar__sort { display: flex; align-items: center; gap: 0.5rem; }
.toolbar__sort label { font-weight: 600; white-space: nowrap; }
.toolbar__sort select { width: auto; flex: 1 1 auto; }
.toolbar__go { min-width: 5rem; }
.js .toolbar__go { display: none; }
.js .toolbar { grid-template-columns: 1fr; }

input[type="search"] {
  width: 100%;
  min-height: var(--tap);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--muted);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 600px) {
  .toolbar, .js .toolbar { grid-template-columns: minmax(0, 1fr) auto auto; }
  .toolbar__search { grid-column: auto; }
}

.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.person {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-height: 56px;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.person--waitlist { border-style: dashed; }
.person__nr {
  flex: 0 0 auto;
  min-width: 2.75rem;
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.person__main { display: grid; gap: 0.25rem; min-width: 0; }
.person__name { font-weight: 700; }
.person__tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }

.tag {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #ececee;
  color: #3a3a40;
  font-size: 0.8125rem;
  font-weight: 600;
}
.tag--ok { background: #e7f5ea; color: #1d5b2c; }
.tag--todo { background: #fff4d6; color: #6b4a00; }

.empty { color: var(--muted); padding: 1rem 0; }

/* ---------- Formulier deelnemer ---------- */

.choice { border: 0; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.25rem; }
.choice legend { font-weight: 600; padding: 0; margin-bottom: 0.25rem; }
.choice__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--tap);
  font-weight: normal !important;
  margin: 0 !important;
}
.choice__option input { width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--accent); }

/* Bedrag en "betaling al ontvangen" alleen bij Boodschappenkast, zonder JS. */
.form:has(#party-sportiv:checked) .bk-only { display: none; }
.bk-only { display: grid; gap: 0.25rem; margin-top: 0.5rem; }
.bk-only p { margin: 0; }

.field-error { margin: 0; color: var(--error-text); font-weight: 600; }
input[aria-invalid="true"] { border-color: var(--error-text); border-width: 2px; }

.form__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.form__actions .button { margin-top: 0; flex: 1 1 10rem; text-decoration: none; }

/* ---------- Inchecken en acties (stap 5) ---------- */

.person { padding-right: 0.5rem; }
.person__main {
  flex: 1 1 auto;
  min-height: var(--tap);
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
}
.person__main:hover .person__name { text-decoration: underline; }
.person--present { background: #f1f8f3; }
.person__checkin { margin: 0; flex: 0 0 auto; }
.person__wait { flex: 0 0 auto; font-size: 0.875rem; padding: 0 0.5rem; }

.checkin {
  min-height: var(--tap);
  min-width: 6.5rem;
  padding: 0 0.75rem;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}
.checkin--on { background: #1d5b2c; border-color: #1d5b2c; color: #fff; }
.checkin:disabled { opacity: 0.6; }

.button--small { min-height: var(--tap); padding: 0 0.75rem; font-size: 0.9375rem; background: var(--accent); color: var(--on-accent); }
.button--danger { background: #9b1c1c; color: #fff; text-decoration: none; }
.button:disabled { opacity: 0.6; cursor: progress; }

.notice {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: #fff4d6;
  color: #4d3600;
  border-radius: var(--radius);
}
.notice__title { font-size: 1rem; margin: 0 0 0.5rem; }
.notice__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.notice__item { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; }
.notice__item a { color: inherit; font-weight: 700; }
.notice__item form { margin: 0 0 0 auto; }

.back { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); font-weight: 600; }
.detail__name { margin: 0 0 1rem; font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.2; }
.detail { display: grid; gap: 0.5rem; margin: 0 0 1rem; }
.detail div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
.detail div:last-child { border-bottom: 0; padding-bottom: 0; }
.detail dt { color: var(--muted); }
.detail dd { margin: 0; font-weight: 700; text-align: right; }
.detail__actions { display: grid; gap: 0.75rem; }
.detail__actions form { margin: 0; }
.detail__actions .button { width: 100%; margin: 0; text-decoration: none; }
.stack > * + * { margin-top: 1rem; }
.stack > p { margin-bottom: 0; }

.form:has(#party-bk:checked) .sportiv-only { display: none; }

.toast:empty { display: none; }
.toast {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(1rem + env(safe-area-inset-bottom));
  margin: 0;
  padding: 0.75rem 1rem;
  background: #1c1c1f;
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 10;
}

@media (min-width: 600px) {
  .detail__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toast { left: 50%; right: auto; transform: translateX(-50%); max-width: 32rem; }
}

/* ---------- Betaallink en snelkoppelingen (stap 6) ---------- */

.card + .card { margin-top: 1rem; }
.quicklinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin: 0 0 1rem; }
.quicklinks .button { text-decoration: none; padding: 0 0.5rem; }
/* Knoptekst nooit midden in een woord afbreken (body heeft overflow-wrap: anywhere). */
.button, .checkin, .filter { overflow-wrap: normal; word-break: normal; }
@media (max-width: 399px) {
  .quicklinks .button { font-size: 0.875rem; padding: 0 0.25rem; }
  .theme-sportiv .quicklinks .button { letter-spacing: 0; }
}
.h2 { font-size: 1.125rem; margin: 0; }

.paylink { display: grid; gap: 0.25rem; }
.paylink label { font-weight: 600; margin: 0; }
.paylink__row { display: flex; gap: 0.5rem; }
.paylink__row input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: var(--tap);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: max(1rem, 16px);
}
.paylink__row .button { flex: 0 0 auto; margin: 0; }
.paylink p { margin: 0; }
.copy-done:empty { display: none; }
input[type="url"] {
  width: 100%;
  min-height: var(--tap);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--muted);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.paystate { font-weight: 700; margin: 0; }
.paystate--expired { color: var(--error-text); }
.paystate--soon { color: #6b4a00; }

/* ---------- Noodlijst ---------- */

.noodlijst__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.noodlijst__bar .back { margin-right: auto; }
.noodlijst__bar .button { margin: 0; text-decoration: none; }
.noodlijst { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--gutter); }
.noodlijst h1 { font-size: 1.25rem; margin: 0 0 0.25rem; }
.noodlijst h2 { font-size: 1rem; margin: 1.25rem 0 0.5rem; }
.noodlijst__destroy { font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; margin: 0 0 0.25rem; }
.noodlijst table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.noodlijst th, .noodlijst td { border-bottom: 1px solid var(--border); padding: 0.35rem 0.4rem; text-align: left; vertical-align: top; }
.noodlijst th { font-weight: 700; }
.noodlijst .num { width: 3.5rem; text-align: right; font-variant-numeric: tabular-nums; }
.noodlijst .mark { width: 4.5rem; text-align: center; }
.noodlijst__foot { margin-top: 1rem; }
.noodlijst td, .noodlijst th { overflow-wrap: normal; word-break: normal; hyphens: auto; }
.noodlijst .short { display: none; }
@media screen and (max-width: 599px) {
  .noodlijst { padding: 0.75rem; }
  .noodlijst table { font-size: 0.875rem; }
  .noodlijst .num { width: 2.25rem; }
  .noodlijst .mark { width: 2.75rem; }
  .noodlijst th, .noodlijst td { padding: 0.35rem 0.25rem; }
  .noodlijst .long { display: none; }
  .noodlijst .short { display: inline; }
}

@media print {
  @page { size: A4 portrait; margin: 12mm 12mm 14mm; }
  html, body { background: #fff !important; color: #000 !important; }
  body { font: 10pt/1.3 Arial, Helvetica, sans-serif; padding: 0; }
  .brand, .no-print, .toast { display: none !important; }
  .content { max-width: none; padding: 0; }
  .noodlijst { border: 0; padding: 0; }
  .noodlijst h1 { font-size: 14pt; }
  .noodlijst h2 { font-size: 11pt; break-after: avoid; }
  .noodlijst table { font-size: 10pt; }
  .noodlijst thead { display: table-header-group; }
  .noodlijst tr { break-inside: avoid; }
  .noodlijst th, .noodlijst td { border-bottom: 0.5pt solid #000; padding: 1.2mm 1.5mm; color: #000; }
  .noodlijst th { border-bottom-width: 1pt; }
  .noodlijst .mark { font-size: 12pt; }
  * { box-shadow: none !important; }
}

/* ---------- Huisstijlen (stap 7) ----------
   Contrast gecontroleerd (WCAG AA): wit op #E5653A is 3,4:1 en mag alleen
   voor grote tekst; knoppen en de bingobal gebruiken daarom #B4461B (5,5:1).
   Sportiv-rood #E31837 is 4,7:1 op wit; wit op #383D4A is 10,9:1. */

.theme-boodschappenkast {
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: var(--font);
  --kop-bg: #E5653A;
  --balk-bg: #E5653A;
  --balk-text: #ffffff;
  --accent: #B4461B;
  --on-accent: #ffffff;
  --bar-button: #B4461B;
}
/* Wit label met gespatieerde hoofdletters; groot en vet genoeg voor 3:1. */
.theme-boodschappenkast .brand__label {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.theme-boodschappenkast .brand__kop { padding-bottom: 0.25rem; }
/* Het witte logo heeft dunne letters: iets groter dan het Sportiv-logo. */
.theme-boodschappenkast .brand__logo { height: clamp(40px, 11vw, 56px); }
.theme-boodschappenkast .brand__balk { border-top: 1px solid rgba(255, 255, 255, 0.35); }

.theme-sportiv {
  --font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Roboto', 'Open Sans', system-ui, sans-serif;
  --kop-bg: #ffffff;
  --balk-bg: #383D4A;
  --balk-text: #ffffff;
  --accent: #E31837;
  --on-accent: #ffffff;
  --bar-button: #7B2A3A;
  /* Bordeaux op donkergrijs is maar 1,2:1: een lichte rand maakt de knop herkenbaar. */
  --bar-button-border: rgba(255, 255, 255, 0.6);
}
.theme-sportiv .brand__kop { border-bottom: 4px solid #E31837; }
/* Titels en knoppen in schuine, vette hoofdletters. */
.theme-sportiv h1, .theme-sportiv h2, .theme-sportiv .stats__title,
.theme-sportiv .button, .theme-sportiv .checkin, .theme-sportiv .brand__label, .theme-sportiv .filter {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.theme-sportiv .filter, .theme-sportiv .checkin { font-weight: 700; }
.theme-sportiv h1 { color: #383D4A; }

/* Focusrand in kop en balk: wit, want de accentkleur heeft daar te weinig
   contrast met de achtergrond (minimaal 3:1 voor een focusindicator). */
.theme-boodschappenkast .brand :focus-visible,
.theme-sportiv .brand__balk :focus-visible { outline-color: #fff; }

@media print {
  /* Noodlijst neutraal zwart-wit, voor beide accounts gelijk. */
  h1, h2 { color: #000 !important; font-family: Arial, Helvetica, sans-serif !important;
    font-style: normal !important; text-transform: none !important; }
}

h1, h2, .stats__title { font-family: var(--font-head); }

/* ---------- Breekpunten ---------- */

@media (max-width: 380px) {
  .ball { width: 72px; height: 72px; }
  .ball__num { font-size: 1.5rem; }
}

/* Tablet: tellers op één rij en de lijst in twee kolommen. */
@media (min-width: 600px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filters { flex-wrap: wrap; overflow-x: visible; }
}

/* Tablet (iPad staand en groter): meer lucht, inhoud gecentreerd. */
@media (min-width: 600px) {
  .login { padding-top: 12vh; }
}

/* iPad liggend en groter: bredere inhoud voor het overzicht (stap 4). */
@media (min-width: 1024px) {
  .content { max-width: 1100px; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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