/* ESM Workshop - CapEx Review Game */

@font-face {
  font-family: 'Futura for Stryker';
  src: url('../fonts/FuturaForStryker-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #FFB500;
  --ink: #17181A;
  --text-2: #45484E;
  --text-3: #5A5D64;
  --line: #DCDAD2;
  --line-2: #E6E4DD;
  --field: #8A877E;
  --bg: #F5F5F5;
  --white: #FFFFFF;
  --off-bg: #E4E2DB;
  --off-fg: #4F5258;
  --ok-bg: #E3F0E9;
  --ok-fg: #1F5C40;
  --no-bg: #F7E4DC;
  --no-fg: #8F3216;
  --hint-bg: #FBF3DD;
  --hint-line: #E3CD8F;
  --display: 'Futura for Stryker', Futura, 'Century Gothic', 'Trebuchet MS', sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}
body.has-overlay { overflow: hidden; }

a { color: var(--ink); }
a:hover { color: #3A3C41; }
p { margin: 0; }
strong { font-weight: 600; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---------- Header ---------- */

.site-header { background: var(--white); border-bottom: 4px solid var(--gold); }
.site-header--plain { border-bottom: 0; }
.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}
.site-header__right { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__logo { height: 20px; width: auto; display: block; }
.brand__logo--lg { height: 26px; }
.brand__rule { width: 1px; height: 26px; background: var(--field); flex-shrink: 0; }
.brand__title { font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.brand__sub { font-size: 13px; color: var(--text-3); }
.brand__text .brand__sub { display: none; }
.header-note { font-size: 14px; white-space: nowrap; }
.header-link { font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

.chip {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 46vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip--dark { background: var(--ink); color: var(--white); }

/* ---------- Layout ---------- */

.container { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.container--narrow { max-width: 600px; }
.page { padding-top: 24px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.page--tight { padding-top: 8px; gap: 16px; }
.page--center { align-items: center; padding: 40px 20px 56px; }
.page__intro { display: flex; flex-direction: column; gap: 6px; max-width: 720px; }

.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--sm { gap: 8px; }
.stack--lg { gap: 20px; }
.stack--xl { gap: 20px; }
.inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.split { display: flex; flex-direction: column; gap: 20px; }
.split__main, .split__side { min-width: 0; }

/* ---------- Type ---------- */

.h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.15; }
.h1--sm { font-size: 28px; margin-top: 10px; }
.h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; }
.h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.25; }
.h3--lg { font-size: 19px; }
.h4 { margin: 0; font-size: 17px; font-weight: 700; }
.lead { font-size: 16px; color: var(--text-2); }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.optional { font-weight: 400; color: var(--text-3); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.error-text { color: var(--no-fg); font-weight: 600; font-size: 15px; }
.hint-text { font-size: 14px; color: var(--text-2); }
.notice { background: var(--hint-bg); border: 1px solid var(--hint-line); border-radius: 8px; padding: 12px 16px; font-weight: 600; }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card--strong { border-color: var(--ink); }
.card--narrow { width: 100%; max-width: 600px; padding: 24px; gap: 20px; }
.card--login { width: 100%; max-width: 440px; padding: 28px; gap: 20px; }
.card--list { padding: 4px 16px; gap: 0; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__foot { border-top: 1px solid var(--line-2); padding-top: 14px; display: flex; justify-content: flex-end; }
.card__note { border-top: 1px solid var(--line-2); padding-top: 16px; font-size: 15px; color: var(--text-2); }
.card__note a { font-weight: 600; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { color: var(--ink); }
.btn--primary { background: var(--gold); border-color: var(--gold); font-weight: 700; font-size: 17px; min-height: 54px; }
.btn--primary:hover { background: #F2AB00; }
.btn--dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--dark:hover { color: var(--white); background: #2B2D31; }
.btn--outline { border-color: var(--ink); }
.btn--outline:hover { background: var(--bg); }
.btn--danger { border-color: var(--no-fg); color: var(--no-fg); }
.btn--danger:hover { color: var(--no-fg); background: #FCF3EF; }
.btn--danger.is-armed, .btn--outline.is-armed { background: var(--no-fg); border-color: var(--no-fg); color: var(--white); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: 15px; }
.btn--lg { min-height: 56px; }
.btn--start { align-self: flex-start; }
.btn:disabled, .btn[disabled] { background: var(--off-bg); border-color: var(--off-bg); color: var(--off-fg); cursor: not-allowed; }

.icon-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px; background: transparent; color: var(--text-2); cursor: pointer;
}
.icon-btn:hover { background: var(--bg); color: var(--ink); }

.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; align-self: flex-start; font-weight: 600; font-size: 15px; text-decoration: none; }

/* ---------- Forms ---------- */

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .decisions legend, .choices legend, .segmented-field legend { font-weight: 600; font-size: 15px; }
.input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--field);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
}
.input--sm { height: 48px; font-size: 16px; }
.input--area { height: auto; padding: 12px 14px; font-size: 16px; line-height: 1.4; resize: vertical; }
.input--display { font-family: var(--display); font-weight: 700; font-size: 20px; }
.input--medium { max-width: 300px; }
.input--roi { width: 150px; font-size: 24px; font-variant-numeric: tabular-nums; }
.input--minutes { width: 92px; font-size: 22px; font-variant-numeric: tabular-nums; }
.input--confirm { width: 150px; }
.input--error { border-color: var(--no-fg); }
.input:disabled { background: #ECEAE4; color: var(--off-fg); }

.roi-input { display: flex; align-items: center; gap: 10px; }
.roi-input__unit { font-size: 20px; font-weight: 600; }

.decisions { display: flex; flex-direction: column; gap: 8px; }
.decisions legend { margin-bottom: 8px; }
.decision { display: block; cursor: pointer; }
.decision input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.decision__box {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 10px 14px;
  border: 1px solid var(--field); border-radius: 8px;
  background: var(--white); color: var(--ink);
}
.decision__box > span { display: flex; flex-direction: column; gap: 1px; }
.decision__box strong { font-size: 16px; }
.decision__box small { font-size: 14px; color: var(--text-3); }
.decision input:checked + .decision__box { background: var(--ink); border-color: var(--ink); color: var(--white); }
.decision input:checked + .decision__box small { color: #D6D4CD; }
.decision input:focus-visible + .decision__box { outline: 3px solid var(--ink); outline-offset: 2px; }

.segmented { display: inline-flex; border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; margin-top: 6px; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span { display: flex; align-items: center; min-height: 44px; padding: 0 18px; font-weight: 600; font-size: 15px; background: var(--white); }
.segmented input:checked + span { background: var(--ink); color: var(--white); }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: -3px; }

/* ---------- Pills ---------- */

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  padding: 3px 10px; border-radius: 999px;
  background: #ECEAE4; color: var(--text-2);
}
.pill--ok { background: var(--ok-bg); color: var(--ok-fg); }
.pill--no { background: var(--no-bg); color: var(--no-fg); }
.pill--empty { background: var(--white); border: 1px solid var(--field); padding: 2px 9px; }

.badge-circle {
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--gold); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.badge-circle--lg { width: 72px; height: 72px; }

/* ---------- Start page ---------- */

.hero { background: var(--gold); }
.hero .container { padding-top: 32px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 10px; }
.hero__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1.05; }
.hero__text { max-width: 640px; font-size: 17px; }

/* ---------- Your table ---------- */

.people { display: flex; flex-direction: column; }
.people__row { min-height: 54px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-2); }
.people__no {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 999px; background: var(--bg);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}
.people__name { flex-grow: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; overflow-wrap: anywhere; }
.add-person { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.add-person .btn { grid-column: 1 / -1; }
.waiting {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 8px 16px; margin-top: 12px;
  border-radius: 8px; background: #ECEAE4; font-weight: 600; text-align: center;
}
#wait-block, #go-block { display: flex; flex-direction: column; gap: 10px; }
#go-block .btn { margin-top: 4px; }

/* ---------- Cases ---------- */

.case-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.case-card { gap: 14px; }
.figures { display: grid; gap: 12px; font-variant-numeric: tabular-nums; }
.figures--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figures--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.figure { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.figure__label { font-size: 13px; color: var(--text-3); }
.figure__value { font-size: 17px; font-weight: 600; }
.figure__value--muted { color: var(--text-3); }
.figure__value--xl { font-family: var(--display); font-weight: 700; font-size: 22px; }
.facts { border-top: 1px solid var(--line-2); padding-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 32px; font-size: 15px; color: var(--text-2); }
.facts strong { color: var(--ink); }
.quote { font-size: 16px; }
.hint { background: var(--hint-bg); border: 1px solid var(--hint-line); border-radius: 10px; padding: 6px 16px; }
.hint summary { min-height: 44px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
.hint__body { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; font-size: 15px; color: #33301F; }
.submit-bar { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 16px; }
.submit-bar > div { flex: 1 1 240px; }

.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.summary-row:last-child { border-bottom: 0; }
.summary-row__title { font-weight: 600; font-size: 15px; }
.summary-row__sub { font-size: 14px; color: var(--text-3); }

/* ---------- Overlays ---------- */

.overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 50; overflow-y: auto; }
.overlay--solid { z-index: 60; background: var(--white); display: flex; align-items: center; justify-content: center; padding: 32px; border-top: 6px solid var(--gold); }
.overlay__center { max-width: 520px; display: flex; flex-direction: column; gap: 14px; }
.overlay__center .h1 { font-size: 38px; }
.overlay__center .lead { font-size: 17px; }
.overlay--scrim { background: rgba(23, 24, 26, 0.6); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.sheet {
  width: 100%; max-width: 560px;
  background: var(--white);
  border-top: 6px solid var(--gold);
  border-radius: 20px 20px 0 0;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.sheet__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.2; }
.choices legend { margin-bottom: 8px; }
.choices__list { display: flex; flex-direction: column; gap: 8px; }
.choice { min-height: 52px; padding: 8px 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--field); border-radius: 8px; cursor: pointer; }
.choice input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--ink); }

/* ---------- Admin ---------- */

.control { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 24px; }
.control__clock { display: flex; flex-direction: column; gap: 8px; }
.clock { font-family: var(--display); font-weight: 700; font-size: 84px; line-height: 1; font-variant-numeric: tabular-nums; }
.control__length { max-width: 300px; }
.control__buttons { flex: 1 1 240px; max-width: 320px; display: flex; flex-direction: column; gap: 10px; }
.status { align-self: flex-start; font-weight: 600; font-size: 14px; padding: 4px 12px; border-radius: 999px; border: 1px solid #ECEAE4; background: #ECEAE4; }
.status--running { background: var(--ink); border-color: var(--ink); color: var(--white); }
.status--paused { background: var(--white); border-color: var(--ink); }

.q-list { border-top: 1px solid var(--line-2); }
.q-list__empty { padding: 14px 0; }
.q-row { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.q-row__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.q-form { background: var(--bg); border-radius: 10px; padding: 20px; scroll-margin-top: 16px; }

.answer-list { border-top: 1px solid var(--line-2); }
.answer-list__row { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.answer-list__table { width: 96px; flex-shrink: 0; overflow-wrap: anywhere; }
.results { display: flex; flex-direction: column; gap: 14px; }
.result { display: flex; flex-direction: column; gap: 5px; }
.result__head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
.result__head span { white-space: nowrap; }
.bar { height: 10px; border-radius: 999px; background: #ECEAE4; overflow: hidden; }
.bar__fill { height: 10px; background: var(--ink); }
.results__missing { border-top: 1px solid var(--line-2); padding-top: 10px; }

.table-list { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.table-list__row { min-height: 40px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.table-list__name { flex: 1 1 90px; min-width: 0; overflow-wrap: anywhere; }
.table-list__people { width: 84px; flex-shrink: 0; }
.table-list__progress { width: 120px; flex-shrink: 0; text-align: right; }

.reset summary { font-weight: 600; cursor: pointer; min-height: 28px; }
#answers { scroll-margin-top: 16px; }

/* ---------- Leaderboard (TV) ---------- */

body.lb { background: var(--white); display: flex; flex-direction: column; font-size: clamp(16px, 1.15vw, 22px); line-height: 1.4; }
.lb-header {
  border-bottom: 6px solid var(--gold);
  padding: clamp(16px, 1.5vw, 28px) clamp(20px, 4.2vw, 80px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
}
.lb-header__logo { height: clamp(22px, 1.9vw, 36px); width: auto; display: block; }
.lb-header__text { font-size: clamp(14px, 1.05vw, 20px); color: var(--text-2); }
.lb-main {
  flex-grow: 1;
  padding: clamp(20px, 2.1vw, 40px) clamp(20px, 4.2vw, 80px) 0;
  display: flex; flex-direction: column; gap: clamp(18px, 1.7vw, 32px);
}
.lb-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.lb-title h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 4.6vw, 88px); line-height: 1; }
.lb-switch { display: flex; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; }
.lb-switch button { min-height: 48px; padding: 0 22px; border: 0; background: var(--white); color: var(--ink); font-family: inherit; font-weight: 600; font-size: 18px; cursor: pointer; }
.lb-switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.lb-top {
  flex-grow: 1;
  min-height: 60vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: clamp(16px, 1.7vw, 32px);
}
.lb-card { background: var(--bg); border-radius: 12px; padding: clamp(20px, 2.1vw, 40px); display: flex; flex-direction: column; gap: clamp(14px, 1.25vw, 24px); }
.lb-card--first { background: var(--gold); }
.lb-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lb-card__rank { font-family: var(--display); font-weight: 700; font-size: clamp(64px, 5.8vw, 112px); line-height: 0.9; }
.lb-card__points { display: flex; flex-direction: column; align-items: flex-end; }
.lb-card__points span { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 3.75vw, 72px); line-height: 1; }
.lb-card__points small { font-size: clamp(15px, 1.05vw, 20px); font-weight: 600; }
.lb-card__name { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.5vw, 48px); line-height: 1.1; overflow-wrap: anywhere; }
.lb-card__stats { display: flex; flex-wrap: wrap; gap: 8px 40px; font-variant-numeric: tabular-nums; }
.lb-card__stats div { display: flex; flex-direction: column; }
.lb-card__stats small { font-size: clamp(14px, 0.94vw, 18px); color: var(--text-2); }
.lb-card--first .lb-card__stats small { color: var(--ink); }
.lb-card__stats strong { font-size: clamp(20px, 1.56vw, 30px); }
.lb-card__people { border-top: 1px solid var(--field); padding-top: clamp(14px, 1.25vw, 24px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; overflow-wrap: anywhere; }
.lb-card--first .lb-card__people { border-top-color: var(--ink); }

.lb-full { overflow-x: auto; }
.lb-table { min-width: 620px; display: flex; flex-direction: column; }
.lb-table__head, .lb-row { display: flex; align-items: center; padding: 0 clamp(12px, 1.45vw, 28px); }
.lb-table__head { min-height: 40px; border-bottom: 2px solid var(--ink); font-size: clamp(12px, 0.83vw, 16px); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.lb-row { min-height: clamp(40px, 5.9vh, 64px); border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.lb-row--first { background: var(--gold); border-bottom-color: var(--white); }
.lb-col--rank { width: 9%; flex-shrink: 0; }
.lb-col--name { flex-grow: 1; min-width: 0; overflow-wrap: anywhere; }
.lb-col--stat { width: 21%; flex-shrink: 0; display: flex; align-items: center; gap: clamp(8px, 0.94vw, 18px); }
.lb-col--points { width: 10%; flex-shrink: 0; text-align: right; }
.lb-row .lb-col--rank { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.67vw, 32px); }
.lb-row .lb-col--name { font-size: clamp(18px, 1.56vw, 30px); font-weight: 600; }
.lb-row .lb-col--stat { font-size: clamp(16px, 1.35vw, 26px); }
.lb-row .lb-col--points { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2vw, 38px); }
.pips { display: flex; gap: 6px; }
.pips i { width: clamp(12px, 0.94vw, 18px); height: clamp(12px, 0.94vw, 18px); border: 2px solid var(--ink); border-radius: 3px; background: var(--white); }
.lb-row--first .pips i { background: var(--gold); }
.pips i.on, .lb-row--first .pips i.on { background: var(--ink); }
.lb-empty { font-size: clamp(18px, 1.56vw, 30px); color: var(--text-2); padding: 24px 0; }
.lb-footer {
  padding: clamp(16px, 1.5vw, 28px) clamp(20px, 4.2vw, 80px) clamp(18px, 1.9vw, 36px);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px;
  font-size: clamp(14px, 0.94vw, 18px); color: var(--text-2);
}

/* ---------- Wider screens ---------- */

@media (min-width: 720px) {
  .site-header__inner { padding: 14px 32px; }
  .brand { gap: 16px; }
  .brand__logo { height: 24px; }
  .brand__rule { height: 30px; }
  .brand__title { font-size: 17px; }
  .brand__text .brand__sub { display: block; }
  .chip { font-size: 14px; padding: 6px 12px; }
  .container { padding-left: 32px; padding-right: 32px; }
  .page { padding-top: 32px; padding-bottom: 48px; gap: 24px; }
  .page--tight { padding-top: 16px; gap: 20px; }
  .page--center { padding-top: 64px; }
  .h1 { font-size: 36px; }
  .h1--sm { font-size: 32px; }
  .lead { font-size: 17px; }
  .h3 { font-size: 20px; }
  .h3--lg { font-size: 21px; }
  .card { padding: 24px; gap: 16px; }
  .card--narrow { padding: 28px; }
  .card--login { padding: 32px; }
  .card--list { padding: 4px 24px; }
  .hero .container { padding-top: 48px; padding-bottom: 52px; }
  .hero__title { font-size: 56px; }
  .hero__text { font-size: 19px; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .figure__value { font-size: 18px; }
  .figure__value--xl { font-size: 28px; }
  .figure__label { font-size: 14px; }
  .quote { font-size: 17px; }
  .add-person { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .add-person .btn { grid-column: auto; }
  .clock { font-size: 104px; }
  .control { padding: 28px; }
  .overlay--scrim { justify-content: center; padding: 24px; }
  .sheet { border-radius: 16px; padding: 32px; }
}

@media (min-width: 960px) {
  .split { flex-direction: row; align-items: flex-start; gap: 24px; }
  .split__main { flex: 1 1 0; }
  .split__side { flex: 0 0 380px; }
  .split--even .split__main, .split--even .split__side { flex: 1 1 0; }
  .figures--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
}
