/* ==========================================================================
   Why Humans: main stylesheet
   Tokens, typography, layout, components. No external requests.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset, OFL) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-600-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-700-italic.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --wh-ink: #152238;
  --wh-bg: #FFF9EF;
  --wh-white: #FFFFFF;
  --wh-violet: #6941D9;
  --wh-coral: #F06449;
  --wh-teal: #087F8C;
  --wh-gold: #F4C542;
  --wh-sky: #D9F0FF;

  --wh-violet-dark: #4B2AAE;
  --wh-coral-dark: #B93A22;
  --wh-teal-dark: #066470;
  --wh-gold-dark: #7A5A00;
  --wh-sky-deep: #1E6FA8;
  --wh-plum: #8E2F7D;
  --wh-forest: #2E7D4F;
  --wh-indigo: #2D3A8C;
  --wh-ink-soft: #4A5568;
  --wh-ink-muted: #56627A;

  /* helper tones (contrast-checked in docs/contrast-report.md) */
  --wh-ink-2: #1D2D4A;        /* raised surface on ink */
  --wh-on-dark-muted: #C9D3E6; /* secondary text on ink */
  --wh-on-violet-muted: #EDE8FB;
  --wh-cream-2: #F6EEDD;      /* deeper cream panel */
  --wh-line: #D9D1BF;         /* decorative hairlines only */

  --wh-s1: 4px; --wh-s2: 8px; --wh-s3: 12px; --wh-s4: 16px;
  --wh-s5: 24px; --wh-s6: 32px; --wh-s7: 48px;
  --wh-s8: clamp(48px, 7vw, 96px);

  --wh-r: 16px;
  --wh-r-lg: 28px;
  --wh-shadow: 0 1px 2px rgba(21, 34, 56, .06), 0 10px 30px -12px rgba(21, 34, 56, .22);
  --wh-shadow-lift: 0 2px 4px rgba(21, 34, 56, .08), 0 22px 44px -16px rgba(21, 34, 56, .32);

  --wh-container: 1200px;
  --wh-gutter: clamp(16px, 4vw, 40px);
  --wh-measure: 68ch;

  --wh-font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wh-font-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* per-section context (overridden by .wh-section--*) */
  --fg: var(--wh-ink);
  --muted: var(--wh-ink-soft);
  --link: var(--wh-violet-dark);
  --eyebrow: var(--wh-violet-dark);
  --focus: var(--wh-violet-dark);
  --surface: var(--wh-white);
  --surface-fg: var(--wh-ink);
  --surface-muted: var(--wh-ink-soft);

  /* topic defaults (neutral) */
  --t-solid: var(--wh-violet);
  --t-on: #FFFFFF;
  --t-text: var(--wh-violet-dark);
  --t-tint: #ECE6FB;
}

[data-topic="mind-behavior"]          { --t-solid: #6941D9; --t-on: #FFFFFF; --t-text: #4B2AAE; --t-tint: #ECE6FB; }
[data-topic="emotions-relationships"] { --t-solid: #F06449; --t-on: #152238; --t-text: #B93A22; --t-tint: #FDE6E0; }
[data-topic="history-origins"]        { --t-solid: #087F8C; --t-on: #FFFFFF; --t-text: #066470; --t-tint: #D6EEF0; }
[data-topic="culture-society"]        { --t-solid: #F4C542; --t-on: #152238; --t-text: #7A5A00; --t-tint: #FCF1C9; }
[data-topic="science-body"]           { --t-solid: #1E6FA8; --t-on: #FFFFFF; --t-text: #1E6FA8; --t-tint: #D9F0FF; }
[data-topic="creativity-achievement"] { --t-solid: #8E2F7D; --t-on: #FFFFFF; --t-text: #8E2F7D; --t-tint: #F5E1F1; }
[data-topic="technology-future"]      { --t-solid: #2D3A8C; --t-on: #FFFFFF; --t-text: #2D3A8C; --t-tint: #E1E5F8; }
[data-topic="meaning-everyday-life"]  { --t-solid: #2E7D4F; --t-on: #FFFFFF; --t-text: #256A41; --t-tint: #DDF0E4; }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--wh-bg);
  color: var(--wh-ink);
  font-family: var(--wh-font-body);
  font-size: 1.125rem; /* 18px */
  line-height: 1.65;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .16em; }
p, ul, ol, dl, figure, blockquote { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--wh-font-display);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.2rem + 5.2vw, 5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }
h4 { font-size: 1.125rem; }
p { text-wrap: pretty; }
ul[class], ol[class] { list-style: none; padding: 0; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.wh-sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.wh-skip {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  transform: translateY(-200%);
  background: var(--wh-ink); color: var(--wh-bg); padding: 12px 20px; border-radius: 12px;
  font-weight: 700; text-decoration: none;
}
.wh-skip:focus { transform: none; outline: 3px solid var(--wh-gold); outline-offset: 2px; }

html:not(.wh-js) .wh-js-only { display: none !important; }
html.wh-js .wh-nojs-only { display: none !important; }

.wh-container { width: 100%; max-width: calc(var(--wh-container) + var(--wh-gutter) * 2); margin-inline: auto; padding-inline: var(--wh-gutter); }
.wh-container--narrow { max-width: calc(780px + var(--wh-gutter) * 2); }
.wh-container--wide { max-width: calc(1320px + var(--wh-gutter) * 2); }
.wh-muted { color: var(--muted); }
.wh-main { display: block; min-height: 60vh; }

/* ---------- Sections (alternating light / dark / tinted) ---------- */
.wh-section {
  padding-block: var(--wh-s8);
  background: var(--s-bg, var(--wh-bg));
  color: var(--fg);
  position: relative;
}
.wh-section--light  { --s-bg: var(--wh-bg); }
.wh-section--white  { --s-bg: var(--wh-white); }
.wh-section--sky, .wh-section--tint { --s-bg: var(--wh-sky); }
.wh-section--gold   { --s-bg: var(--wh-gold); --muted: var(--wh-ink); --link: var(--wh-ink); --eyebrow: var(--wh-ink); --focus: var(--wh-ink); }
.wh-section--coral  { --s-bg: var(--wh-coral); --muted: var(--wh-ink); --link: var(--wh-ink); --eyebrow: var(--wh-ink); --focus: var(--wh-ink); }
.wh-section--violet { --s-bg: var(--wh-violet); --fg: #fff; --muted: var(--wh-on-violet-muted); --link: #fff; --eyebrow: #fff; --focus: #fff; }
.wh-section--violet-deep { --s-bg: var(--wh-violet-dark); --fg: #fff; --muted: var(--wh-on-violet-muted); --link: var(--wh-gold); --eyebrow: var(--wh-gold); --focus: var(--wh-gold); }
.wh-section--dark   { --s-bg: var(--wh-ink); --fg: var(--wh-bg); --muted: var(--wh-on-dark-muted); --link: var(--wh-gold); --eyebrow: var(--wh-gold); --focus: var(--wh-gold); --surface: var(--wh-ink-2); --surface-fg: var(--wh-bg); --surface-muted: var(--wh-on-dark-muted); }

.wh-eyebrow {
  font-family: var(--wh-font-body); font-weight: 700; font-size: .875rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); margin: 0 0 var(--wh-s3);
}
.wh-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--wh-s4) var(--wh-s6); margin-bottom: var(--wh-s7); }
.wh-section__head-text { max-width: 46rem; }
.wh-section__title { margin: 0; font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4rem); }
.wh-section__intro { margin: var(--wh-s3) 0 0; font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.wh-section__foot { margin: var(--wh-s7) 0 0; display: flex; flex-wrap: wrap; gap: var(--wh-s3); }
.wh-link-arrow { font-weight: 700; color: var(--link); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; min-height: 44px; display: inline-flex; align-items: center; }
.wh-link-arrow:hover { border-bottom-width: 4px; }

/* ---------- Buttons & chips ---------- */
.wh-btn {
  --b-bg: var(--wh-violet); --b-fg: #fff; --b-bd: var(--wh-violet);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .6em 1.4em;
  background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bd); border-radius: 999px;
  font-family: var(--wh-font-body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.wh-btn:hover { --b-bg: var(--wh-violet-dark); --b-bd: var(--wh-violet-dark); text-decoration: none; }
.wh-btn--primary { }
.wh-btn--accent, .wh-btn--gold { --b-bg: var(--wh-gold); --b-fg: var(--wh-ink); --b-bd: var(--wh-gold); }
.wh-btn--accent:hover, .wh-btn--gold:hover { --b-bg: #FFD865; --b-bd: #FFD865; }
.wh-btn--ghost { --b-bg: transparent; --b-fg: var(--wh-ink); --b-bd: var(--wh-ink); }
.wh-btn--ghost:hover { --b-bg: var(--wh-ink); --b-fg: var(--wh-bg); --b-bd: var(--wh-ink); }
.wh-btn--ghost-dark { --b-bg: transparent; --b-fg: var(--wh-bg); --b-bd: var(--wh-bg); }
.wh-btn--ghost-dark:hover { --b-bg: var(--wh-bg); --b-fg: var(--wh-ink); --b-bd: var(--wh-bg); }
.wh-btn--topic { --b-bg: var(--t-solid); --b-fg: var(--t-on); --b-bd: var(--t-solid); }
.wh-btn--topic:hover { filter: brightness(.92); --b-bg: var(--t-solid); --b-bd: var(--t-solid); }
.wh-btn--small { min-height: 44px; padding: .35em 1.1em; font-size: .9375rem; }
.wh-btn--large { min-height: 56px; padding: .7em 1.9em; font-size: 1.125rem; }
.wh-btn[disabled], .wh-btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.wh-section--violet .wh-btn--ghost, .wh-section--dark .wh-btn--ghost { --b-fg: var(--fg); --b-bd: var(--fg); }
.wh-section--violet .wh-btn--ghost:hover, .wh-section--dark .wh-btn--ghost:hover { --b-bg: var(--fg); --b-fg: var(--wh-ink); }

.wh-chips ul { display: flex; flex-wrap: wrap; gap: var(--wh-s2); list-style: none; padding: 0; margin: 0; }
.wh-chips { display: flex; flex-wrap: wrap; gap: var(--wh-s2); margin-bottom: var(--wh-s5); }
.wh-chips--spaced { margin-block: var(--wh-s5); }
.wh-chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .2em .8em; border-radius: 999px; font-size: .875rem; font-weight: 700; line-height: 1.4;
  background: var(--t-tint); color: var(--t-text); text-decoration: none; border: 2px solid transparent;
}
.wh-chip--plain { background: var(--wh-cream-2); color: var(--wh-ink); }
.wh-chip--btn { min-height: 44px; padding: .3em 1.1em; font-size: .9375rem; background: var(--wh-white); color: var(--wh-ink); border-color: var(--wh-ink-muted); cursor: pointer; }
.wh-chip--btn.wh-chip--topic { color: var(--t-text); }
.wh-chip--btn:hover { border-color: var(--wh-ink); background: var(--t-tint); }
.wh-chip--btn[aria-pressed="true"], .wh-chip--btn[aria-current="page"] { background: var(--wh-ink); color: var(--wh-bg); border-color: var(--wh-ink); }
.wh-chip--btn.wh-chip--topic[aria-pressed="true"], .wh-chip--btn.wh-chip--topic[aria-current="page"] { background: var(--t-solid); color: var(--t-on); border-color: var(--t-solid); }
.wh-chip--topic::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--t-solid); flex: none; box-shadow: 0 0 0 2px var(--wh-white); }
.wh-chip--btn.wh-chip--topic[aria-pressed="true"]::before { background: var(--t-on); box-shadow: none; }
.wh-section--dark .wh-chip--topic, .wh-card .wh-card__topic .wh-chip--topic { background: var(--t-tint); color: var(--t-text); }
.wh-section--dark .wh-card .wh-chip--topic { background: var(--t-solid); color: var(--t-on); }
.wh-section--dark .wh-card .wh-chip--topic::before { background: var(--t-on); box-shadow: none; }

.wh-countbadge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4em; height: 1.4em; padding: 0 .35em; border-radius: 999px; background: var(--wh-coral-dark); color: #fff; font-size: .75rem; font-weight: 700; margin-left: .3em; }
.wh-badge-cert { display: inline-block; padding: .1em .7em; border-radius: 999px; font-size: .8125rem; font-weight: 700; background: var(--wh-cream-2); color: var(--wh-ink); }
.wh-badge-cert[data-certainty="well-established"] { background: #DDF0E4; color: #1F5C38; }
.wh-badge-cert[data-certainty="approximate"] { background: #FCF1C9; color: var(--wh-gold-dark); }
.wh-badge-cert[data-certainty="debated"] { background: #FDE6E0; color: var(--wh-coral-dark); }

/* ---------- Notes & misc ---------- */
.wh-note { margin: var(--wh-s4) 0; padding: var(--wh-s3) var(--wh-s4); border-left: 6px solid var(--wh-sky-deep); background: var(--wh-sky); color: var(--wh-ink); border-radius: 0 var(--wh-r) var(--wh-r) 0; }
.wh-note p:last-child { margin-bottom: 0; }
.wh-note--info { border-left-color: var(--wh-sky-deep); background: var(--wh-sky); }
.wh-note--warn { border-left-color: var(--wh-gold-dark); background: #FCF1C9; }
.wh-note--error { border-left-color: var(--wh-coral-dark); background: #FDE6E0; }
.wh-empty { padding: var(--wh-s6); text-align: center; color: var(--muted); background: var(--wh-white); border: 2px dashed var(--wh-ink-muted); border-radius: var(--wh-r); }
.wh-filter__count { font-size: .9375rem; color: var(--muted); margin: 0 0 var(--wh-s4); min-height: 1.5em; }
.wh-mount { min-height: 0; }
.wh-stack > * + * { margin-top: var(--wh-s4); }
.wh-linklist { padding-left: 1.2em; }

/* ---------- Grids ---------- */
.wh-grid { display: grid; gap: clamp(16px, 2.4vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .wh-grid--2, .wh-grid--3, .wh-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .wh-grid--3 { grid-template-columns: repeat(3, 1fr); } .wh-grid--4 { grid-template-columns: repeat(4, 1fr); } }
ul.wh-grid, ol.wh-grid { list-style: none; padding: 0; }

/* ---------- Header & navigation ---------- */
.wh-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 249, 239, .97);
  border-bottom: 2px solid var(--wh-ink);
}
.wh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--wh-s4); min-height: 72px; }
.wh-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wh-ink); min-height: 44px; }
.wh-logo__symbol { width: 36px; height: 36px; }
.wh-logo__word { font-family: var(--wh-font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.wh-logo__accent { color: var(--wh-violet-dark); }

.wh-menu-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px;
  background: var(--wh-ink); color: var(--wh-bg); border: 0; border-radius: 999px; font-weight: 700;
}
.wh-menu-toggle__bars { display: grid; gap: 4px; width: 20px; }
.wh-menu-toggle__bars span { display: block; height: 2.5px; background: currentColor; border-radius: 2px; }

.wh-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--wh-bg); border-bottom: 2px solid var(--wh-ink); padding: var(--wh-s4) var(--wh-gutter) var(--wh-s6); max-height: calc(100vh - 72px); overflow-y: auto; }
.wh-nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.wh-nav__item { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--wh-line); }
.wh-nav__link { display: flex; align-items: center; min-height: 52px; padding: 0 4px; color: var(--wh-ink); font-weight: 700; font-size: 1.125rem; text-decoration: none; }
.wh-nav__link:hover { text-decoration: underline; text-underline-offset: .25em; }
.wh-nav__item.is-current > .wh-nav__link { box-shadow: inset 0 -4px 0 var(--wh-violet); }
.wh-nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; border: 0; color: var(--wh-ink); border-radius: 12px; }
.wh-nav__toggle:hover { background: var(--wh-sky); }
.wh-nav__chev { transition: transform .15s; }
.wh-nav__toggle[aria-expanded="true"] .wh-nav__chev { transform: rotate(180deg); }
.wh-subnav { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0 0 var(--wh-s3) var(--wh-s4); display: none; }
.wh-nav__toggle[aria-expanded="true"] + .wh-subnav { display: block; }
html:not(.wh-js) .wh-nav__toggle { display: none; }
html:not(.wh-js) .wh-subnav { display: block; }
.wh-subnav__link { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px; color: var(--wh-ink); text-decoration: none; border-radius: 10px; font-weight: 600; font-size: 1rem; }
.wh-subnav__link:hover { background: var(--t-tint, var(--wh-sky)); text-decoration: underline; }
.wh-subnav__link[data-topic]::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--t-solid); }
.wh-subnav__link[aria-current="page"] { background: var(--wh-sky); }
.wh-nav__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--wh-s3); margin-top: var(--wh-s5); }
.wh-iconbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 14px; color: var(--wh-ink); text-decoration: none; border: 2px solid var(--wh-ink); border-radius: 999px; font-weight: 700; font-size: 1rem; background: transparent; position: relative; justify-content: center; }
.wh-iconbtn:hover { background: var(--wh-ink); color: var(--wh-bg); }

@media (min-width: 1180px) {
  .wh-menu-toggle { display: none; }
  .wh-header .wh-nav, .wh-header .wh-nav[hidden] { display: flex !important; position: static; background: transparent; border: 0; padding: 0; max-height: none; overflow: visible; align-items: center; gap: var(--wh-s4); }
  .wh-nav__list { display: flex; gap: 2px; align-items: center; }
  .wh-nav__item { position: relative; display: flex; align-items: center; border: 0; }
  .wh-nav__link { min-height: 48px; padding: 0 10px; font-size: 1rem; border-radius: 10px; white-space: nowrap; }
  .wh-nav__link:hover { background: var(--wh-sky); text-decoration: none; }
  .wh-nav__item.is-current > .wh-nav__link { box-shadow: inset 0 -3px 0 var(--wh-violet); border-radius: 10px 10px 0 0; }
  .wh-nav__item--has-sub > .wh-nav__link { padding-right: 2px; }
  .wh-nav__toggle { width: 36px; height: 44px; margin-left: -4px; }
  .wh-subnav {
    position: absolute; left: 0; top: calc(100% + 6px); min-width: 280px; z-index: 50;
    background: var(--wh-white); border: 2px solid var(--wh-ink); border-radius: var(--wh-r);
    padding: var(--wh-s2); box-shadow: var(--wh-shadow-lift);
  }
  .wh-nav__item:last-child .wh-subnav, .wh-nav__item--has-sub:nth-last-child(-n+3) .wh-subnav { left: auto; right: 0; }
  html:not(.wh-js) .wh-nav__item--has-sub:hover > .wh-subnav, html:not(.wh-js) .wh-nav__item--has-sub:focus-within > .wh-subnav { display: block; }
  html:not(.wh-js) .wh-subnav { display: none; }
  .wh-nav__actions { margin: 0 0 0 var(--wh-s2); flex-wrap: nowrap; gap: var(--wh-s2); }
  .wh-nav__actions .wh-btn { white-space: nowrap; }
  .wh-iconbtn { padding: 0; width: 48px; }
  .wh-iconbtn__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wh-iconbtn .wh-countbadge { position: absolute; top: -6px; right: -6px; margin: 0; }
}
@media (min-width: 1180px) and (max-width: 1320px) { .wh-logo__word { font-size: 1.35rem; } .wh-nav__link { padding: 0 7px; font-size: .9375rem; } .wh-header__inner { gap: var(--wh-s3); } }

/* ---------- Footer ---------- */
.wh-footer { background: var(--wh-ink); color: var(--wh-bg); padding-block: var(--wh-s8) var(--wh-s6); --link: var(--wh-gold); --focus: var(--wh-gold); position: relative; }
.wh-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, var(--wh-violet) 0 20%, var(--wh-coral) 20% 40%, var(--wh-gold) 40% 60%, var(--wh-teal) 60% 80%, var(--wh-sky) 80%); }
.wh-footer a { color: var(--wh-bg); text-decoration-color: rgba(255, 249, 239, .45); }
.wh-footer a:hover { color: var(--wh-gold); text-decoration-color: currentColor; }
.wh-footer__top { display: grid; gap: var(--wh-s7) var(--wh-s6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .wh-footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .wh-footer__top { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.wh-footer__logo { font-family: var(--wh-font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.04em; line-height: 1; margin: 0 0 var(--wh-s2); }
.wh-footer .wh-logo__accent { color: var(--wh-gold); }
.wh-footer__tagline { font-family: var(--wh-font-display); font-size: 1.25rem; font-weight: 600; color: var(--wh-gold); margin: 0 0 var(--wh-s4); }
.wh-footer__blurb { color: var(--wh-on-dark-muted); max-width: 30rem; }
.wh-footer__social { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--wh-s2); margin: var(--wh-s4) 0 0; }
.wh-footer__h { font-family: var(--wh-font-body); font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wh-gold); margin: 0 0 var(--wh-s4); }
.wh-footer__col ul { list-style: none; padding: 0; margin: 0; }
.wh-footer__col li a { display: inline-flex; align-items: center; min-height: 36px; padding-block: 4px; font-size: 1rem; }
.wh-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--wh-s4); margin-top: var(--wh-s7); padding-top: var(--wh-s5); border-top: 1px solid rgba(255, 249, 239, .25); color: var(--wh-on-dark-muted); font-size: .9375rem; }
.wh-footer__bottom p { margin: 0; max-width: 46rem; }

/* ---------- Breadcrumbs ---------- */
.wh-breadcrumbs { font-size: .9375rem; margin-bottom: var(--wh-s5); color: var(--muted); }
.wh-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 0; padding: 0; margin: 0; }
.wh-breadcrumbs li + li::before { content: "/"; margin-inline: .6em; opacity: .7; }
.wh-breadcrumbs a { color: inherit; display: inline-flex; align-items: center; min-height: 28px; }
.wh-breadcrumbs [aria-current] { font-weight: 700; color: var(--fg); }

/* ---------- Home hero ---------- */
.wh-hero {
  background: var(--wh-ink); color: var(--wh-bg); position: relative; overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 112px);
  --link: var(--wh-gold); --focus: var(--wh-gold); --muted: var(--wh-on-dark-muted);
  isolation: isolate;
}
.wh-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(105, 65, 217, .75), transparent 62%),
    radial-gradient(40% 60% at 5% 100%, rgba(240, 100, 73, .38), transparent 70%),
    radial-gradient(35% 45% at 60% 110%, rgba(8, 127, 140, .55), transparent 70%);
}
.wh-hero__inner { display: grid; gap: var(--wh-s7); align-items: center; }
@media (min-width: 960px) { .wh-hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.wh-eyebrow--gold, .wh-hero .wh-eyebrow { color: var(--wh-gold); }
.wh-hero__title { font-size: clamp(3.1rem, 1.2rem + 8.2vw, 7.4rem); line-height: .93; letter-spacing: -.045em; font-weight: 800; margin: 0 0 var(--wh-s5); text-wrap: balance; }
.wh-hero__lede { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.5; max-width: 34rem; color: var(--wh-bg); margin-bottom: var(--wh-s5); }
.wh-hero__actions { display: flex; flex-wrap: wrap; gap: var(--wh-s3); margin-bottom: var(--wh-s6); }
.wh-hero__rq { border-left: 6px solid var(--wh-gold); padding: var(--wh-s2) 0 var(--wh-s2) var(--wh-s5); max-width: 36rem; }
.wh-hero__rq-label { font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--wh-gold); margin: 0 0 var(--wh-s2); }
.wh-hero__rq-list { list-style: none; padding: 0; margin: 0; font-family: var(--wh-font-display); font-weight: 650; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem); line-height: 1.2; letter-spacing: -.015em; }
.wh-hero__rq-list a { color: var(--wh-bg); text-decoration-color: var(--wh-gold); display: inline-block; padding-block: 4px; }
.wh-hero__rq-list a:hover { color: var(--wh-gold); }
.wh-rq__controls { display: flex; flex-wrap: wrap; gap: var(--wh-s2); margin-top: var(--wh-s3); }
.wh-hero .wh-btn--ghost { --b-fg: var(--wh-bg); --b-bd: var(--wh-bg); }
.wh-hero .wh-btn--ghost:hover { --b-bg: var(--wh-bg); --b-fg: var(--wh-ink); }
.wh-hero__art { position: relative; justify-self: center; width: 100%; max-width: 640px; }
.wh-hero__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; border-radius: var(--wh-r-lg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); border: 3px solid var(--wh-bg); }
@media (min-width: 960px) { .wh-hero__img { transform: rotate(1.6deg); } }
.wh-hero__blob { position: absolute; border-radius: 50%; }
.wh-hero__blob--a { width: 70%; aspect-ratio: 1; background: var(--wh-violet); top: 0; right: 0; }
.wh-hero__blob--b { width: 45%; aspect-ratio: 1; background: var(--wh-gold); bottom: 0; left: 6%; }
.wh-hero__blob--c { width: 30%; aspect-ratio: 1; background: var(--wh-coral); top: 24%; left: 0; }
.wh-hero__art:has(.wh-hero__blob) { aspect-ratio: 1; }

/* ---------- Inner page hero ---------- */
.wh-pagehero { --s-bg: var(--wh-sky); background: var(--s-bg); color: var(--fg); padding-block: clamp(32px, 5vw, 72px); position: relative; overflow: hidden; border-bottom: 2px solid var(--wh-ink); }
.wh-pagehero--tint { --s-bg: var(--wh-sky); }
.wh-pagehero--sky { --s-bg: var(--wh-sky); }
.wh-pagehero--gold { --s-bg: var(--wh-gold); --muted: var(--wh-ink); --link: var(--wh-ink); --eyebrow: var(--wh-ink); --focus: var(--wh-ink); }
.wh-pagehero--violet { --s-bg: var(--wh-violet); --fg: #fff; --muted: var(--wh-on-violet-muted); --link: #fff; --eyebrow: #fff; --focus: #fff; }
.wh-pagehero--dark { --s-bg: var(--wh-ink); --fg: var(--wh-bg); --muted: var(--wh-on-dark-muted); --link: var(--wh-gold); --eyebrow: var(--wh-gold); --focus: var(--wh-gold); }
.wh-pagehero--topic { --s-bg: var(--t-solid); --fg: var(--t-on); --muted: var(--t-on); --link: var(--t-on); --eyebrow: var(--t-on); --focus: var(--t-on); }
.wh-pagehero__inner { display: grid; gap: var(--wh-s6); align-items: center; }
@media (min-width: 900px) { .wh-pagehero.has-art .wh-pagehero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.wh-pagehero__title { font-size: clamp(2.6rem, 1.2rem + 5.6vw, 5.4rem); margin: 0 0 var(--wh-s4); letter-spacing: -.04em; }
.wh-pagehero__intro { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 38rem; color: var(--fg); line-height: 1.55; }
.wh-pagehero__actions { display: flex; gap: var(--wh-s3); flex-wrap: wrap; margin-top: var(--wh-s5); }
.wh-pagehero__art { justify-self: center; width: 100%; max-width: 420px; }
.wh-pagehero__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--wh-r-lg); border: 3px solid var(--wh-ink); background: var(--wh-white); }
.wh-pagehero--dark .wh-pagehero__img, .wh-pagehero--violet .wh-pagehero__img { border-color: var(--wh-bg); }
.wh-pagehero .wh-btn--ghost { --b-fg: var(--fg); --b-bd: var(--fg); }
.wh-pagehero--tint .wh-btn--ghost, .wh-pagehero--sky .wh-btn--ghost, .wh-pagehero--gold .wh-btn--ghost { --b-fg: var(--wh-ink); --b-bd: var(--wh-ink); }
.wh-pagehero .wh-searchform { margin-top: var(--wh-s5); max-width: 36rem; }

/* ---------- Topic hub hero ---------- */
.wh-hubhero { background: var(--t-solid); color: var(--t-on); --fg: var(--t-on); --muted: var(--t-on); --link: var(--t-on); --eyebrow: var(--t-on); --focus: var(--t-on); padding-block: clamp(32px, 5vw, 80px); border-bottom: 2px solid var(--wh-ink); }
.wh-hubhero__inner { display: grid; gap: var(--wh-s6); align-items: center; }
@media (min-width: 900px) { .wh-hubhero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.wh-hubhero__title { font-size: clamp(2.8rem, 1rem + 6.4vw, 6rem); letter-spacing: -.045em; margin: 0 0 var(--wh-s3); }
.wh-hubhero__tag { font-family: var(--wh-font-display); font-size: clamp(1.3rem, 1.1rem + .9vw, 1.9rem); font-weight: 600; margin-bottom: var(--wh-s5); }
.wh-hubhero__intro { max-width: 40rem; font-size: 1.125rem; }
.wh-hubhero__intro a { color: inherit; }
.wh-hubhero__art { justify-self: center; width: 100%; max-width: 480px; }
.wh-hubhero__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--wh-r-lg); border: 3px solid var(--wh-ink); background: var(--t-tint); }

/* ---------- Media ---------- */
.wh-media { position: relative; overflow: hidden; background: var(--t-tint); aspect-ratio: 16 / 9; }
.wh-media__img { width: 100%; height: 100%; object-fit: cover; }
.wh-media__fallback { position: absolute; inset: 0; background:
  radial-gradient(circle at 20% 30%, var(--t-solid) 0 18%, transparent 19%),
  radial-gradient(circle at 78% 70%, var(--wh-gold) 0 22%, transparent 23%),
  var(--t-tint); }
.wh-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--t-solid); }

/* ---------- Cards ---------- */
.wh-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); color: var(--surface-fg);
  border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); overflow: hidden; min-width: 0;
  box-shadow: 6px 6px 0 var(--wh-ink);
  transition: transform .15s, box-shadow .15s;
}
.wh-card:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--wh-ink); }
.wh-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.wh-card__media { border-bottom: 2px solid var(--wh-ink); }
.wh-card__body { padding: var(--wh-s5) var(--wh-s5) var(--wh-s4); display: flex; flex-direction: column; flex: 1; gap: var(--wh-s2); }
.wh-card__topic { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--wh-s2); }
.wh-card__title { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
.wh-card__link { color: inherit; text-decoration: none; }
.wh-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wh-card__link:hover { text-decoration: underline; text-decoration-thickness: .1em; text-underline-offset: .2em; }
.wh-card__link:focus-visible { outline: none; }
.wh-card__excerpt { margin: 0; color: var(--surface-muted); font-size: 1rem; line-height: 1.55; }
.wh-card__meta { margin: auto 0 0; padding-top: var(--wh-s2); font-size: .875rem; color: var(--surface-muted); display: flex; flex-wrap: wrap; gap: 6px; }
.wh-card__years { font-size: .875rem; font-weight: 600; color: var(--surface-muted); }
.wh-card__actions { position: relative; z-index: 2; padding: 0 var(--wh-s5) var(--wh-s4); display: flex; justify-content: flex-start; }
.wh-card--compact .wh-card__body { padding-block: var(--wh-s4); }
.wh-card--feature { box-shadow: 10px 10px 0 var(--wh-ink); }
.wh-card--feature .wh-card__title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.wh-card--feature .wh-card__excerpt { font-size: 1.125rem; }
@media (min-width: 800px) {
  .wh-card--feature { flex-direction: row; }
  .wh-card--feature .wh-card__media { flex: 1.15; aspect-ratio: auto; min-height: 320px; border-bottom: 0; border-right: 2px solid var(--wh-ink); }
  .wh-card--feature .wh-card__body { flex: 1; justify-content: center; padding: var(--wh-s6); }
  .wh-card--feature .wh-card__actions { display: none; }
}
.wh-section--dark .wh-card { border-color: var(--wh-bg); box-shadow: 6px 6px 0 var(--wh-violet); }
.wh-section--dark .wh-card:hover { box-shadow: 9px 9px 0 var(--wh-violet); }
.wh-section--dark .wh-card__media { border-color: var(--wh-bg); }
.wh-section--gold .wh-card, .wh-section--coral .wh-card { background: var(--wh-white); --surface-fg: var(--wh-ink); --surface-muted: var(--wh-ink-soft); }

.wh-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; display: grid; place-items: center; background: var(--wh-gold); color: var(--wh-ink); border: 3px solid var(--wh-ink); border-radius: 50%; box-shadow: 3px 3px 0 var(--wh-ink); }
.wh-card__duration { position: absolute; z-index: 2; right: 10px; bottom: 16px; background: var(--wh-ink); color: var(--wh-bg); font-size: .8125rem; font-weight: 700; padding: 2px 9px; border-radius: 8px; }

.wh-save { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: transparent; color: var(--surface-fg, var(--wh-ink)); border: 2px solid currentColor; border-radius: 999px; font-weight: 700; font-size: .9375rem; }
.wh-save:hover { background: var(--wh-sky); color: var(--wh-ink); }
.wh-save__icon { width: 14px; height: 18px; border: 2.5px solid currentColor; border-bottom-color: transparent; border-radius: 3px 3px 0 0; position: relative; }
.wh-save__icon::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 7px; height: 7px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateX(-50%) rotate(45deg) skew(10deg, 10deg); background: transparent; }
.wh-save[aria-pressed="true"] { background: var(--wh-violet-dark); color: #fff; border-color: var(--wh-violet-dark); }
.wh-save[aria-pressed="true"] .wh-save__icon { background: currentColor; }
.wh-save-status { font-size: .875rem; margin-left: var(--wh-s2); color: var(--surface-muted, var(--muted)); }
.wh-card__actions { flex-wrap: wrap; align-items: center; }

/* ---------- Topic cards ---------- */
.wh-topicgrid { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .wh-topicgrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 479px) { .wh-topicgrid { grid-template-columns: 1fr; } }
.wh-topiccard { position: relative; display: flex; flex-direction: column; background: var(--t-solid); color: var(--t-on); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); padding: var(--wh-s3); box-shadow: 5px 5px 0 var(--wh-ink); transition: transform .15s, box-shadow .15s; min-width: 0; }
.wh-topiccard:hover { transform: translate(-2px, -2px) rotate(-.5deg); box-shadow: 8px 8px 0 var(--wh-ink); }
.wh-topiccard:focus-within { outline: 3px solid var(--wh-violet-dark); outline-offset: 3px; }
.wh-topiccard__art { border-radius: var(--wh-r); overflow: hidden; background: var(--t-tint); aspect-ratio: 4 / 3; border: 2px solid var(--wh-ink); }
.wh-topiccard__img { width: 100%; height: 100%; object-fit: cover; }
.wh-topiccard__title { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); margin: var(--wh-s4) var(--wh-s2) var(--wh-s2); letter-spacing: -.03em; }
.wh-topiccard__link { color: inherit; text-decoration: none; }
.wh-topiccard__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.wh-topiccard__link:hover { text-decoration: underline; text-underline-offset: .18em; }
.wh-topiccard__link:focus-visible { outline: none; }
.wh-topiccard__tag { margin: 0 var(--wh-s2) var(--wh-s3); font-size: 1rem; line-height: 1.4; }
.wh-topicgrid--big .wh-topiccard__art { aspect-ratio: 16 / 10; }

/* ---------- Featured story ---------- */
.wh-feature { display: grid; background: var(--wh-white); color: var(--wh-ink); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); overflow: hidden; box-shadow: 10px 10px 0 var(--wh-ink); position: relative; }
@media (min-width: 900px) { .wh-feature { grid-template-columns: 1.15fr 1fr; } }
.wh-feature__media { aspect-ratio: 16 / 10; border-bottom: 2px solid var(--wh-ink); }
@media (min-width: 900px) { .wh-feature__media { aspect-ratio: auto; min-height: 460px; border-bottom: 0; border-right: 2px solid var(--wh-ink); } }
.wh-feature__media .wh-media__img { position: absolute; inset: 0; }
.wh-feature__body { padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: var(--wh-s3); }
.wh-feature__title { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.6rem); margin: 0; letter-spacing: -.035em; }
.wh-feature__excerpt { font-size: 1.2rem; color: var(--wh-ink-soft); margin: 0; }
.wh-feature__body ul.wh-feature__list { margin: 0; padding-left: 1.3em; list-style: disc; color: var(--wh-ink); }
.wh-feature__list li::marker { color: var(--t-text); }
.wh-feature__list li { margin-bottom: .3em; }
.wh-feature__meta { margin: 0; color: var(--wh-ink-soft); font-size: .9375rem; }
.wh-feature__cta { margin: var(--wh-s2) 0 0; }

/* ---------- Videos on home ---------- */
.wh-videos { display: grid; gap: clamp(16px, 2.4vw, 32px); }
@media (min-width: 960px) { .wh-videos { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.wh-videos__rest { display: grid; gap: var(--wh-s4); }
.wh-videos__rest .wh-card--video { flex-direction: row; box-shadow: 4px 4px 0 var(--wh-violet); }
.wh-videos__rest .wh-card__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 120px; border-bottom: 0; border-right: 2px solid var(--wh-bg); }
.wh-videos__rest .wh-play { width: 44px; height: 44px; }
.wh-videos__rest .wh-play svg { width: 16px; height: 16px; }
.wh-videos__rest .wh-card__body { padding: var(--wh-s3) var(--wh-s4); }
.wh-videos__rest .wh-card__title { font-size: 1.05rem; }
.wh-videos__lead .wh-card--feature { flex-direction: column; }
.wh-videos__lead .wh-card--feature .wh-card__media { aspect-ratio: 16 / 9; min-height: 0; border-right: 0; border-bottom: 2px solid var(--wh-bg); flex: none; }
.wh-videos__lead .wh-card--feature .wh-card__body { padding: var(--wh-s5); }
.wh-videos__lead .wh-card--feature { box-shadow: 8px 8px 0 var(--wh-violet); }

/* ---------- Human story preview ---------- */
.wh-storyline { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--wh-s5); counter-reset: story; }
@media (min-width: 700px) { .wh-storyline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .wh-storyline { grid-template-columns: repeat(3, 1fr); } }
.wh-storyline__item { position: relative; background: var(--wh-white); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); padding: var(--wh-s5); padding-top: var(--wh-s6); box-shadow: 5px 5px 0 var(--wh-teal); counter-increment: story; }
.wh-storyline__item::before { content: counter(story, decimal-leading-zero); position: absolute; top: -18px; left: var(--wh-s5); background: var(--wh-teal-dark); color: #fff; font-family: var(--wh-font-display); font-weight: 800; font-size: 1.1rem; padding: 2px 14px; border-radius: 999px; border: 2px solid var(--wh-ink); }
.wh-storyline__date { font-family: var(--wh-font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; color: var(--wh-teal-dark); margin: 0 0 var(--wh-s2); line-height: 1.1; }
.wh-storyline__title { font-size: 1.25rem; margin: 0 0 4px; }
.wh-storyline__title a { color: var(--wh-ink); }
.wh-storyline__loc { font-size: .9375rem; color: var(--wh-ink-soft); margin-bottom: var(--wh-s2); font-weight: 600; }
.wh-storyline__sum { font-size: 1rem; margin-bottom: var(--wh-s3); }

/* ---------- Lab cards ---------- */
.wh-labgrid { list-style: none; padding: 0; margin: 0; }
.wh-labcard { position: relative; background: var(--wh-white); color: var(--wh-ink); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); padding: var(--wh-s6) var(--wh-s5) var(--wh-s5); box-shadow: 6px 6px 0 var(--wh-ink); border-top: 14px solid var(--t-solid); transition: transform .15s, box-shadow .15s; }
.wh-labcard:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--wh-ink); }
.wh-labcard:focus-within { outline: 3px solid var(--wh-gold); outline-offset: 3px; }
.wh-labcard__title { font-size: 1.5rem; margin: 0 0 var(--wh-s2); }
.wh-labcard__desc { margin: 0; color: var(--wh-ink-soft); font-size: 1rem; }
.wh-labnav { margin-top: var(--wh-s8); padding-top: var(--wh-s6); border-top: 2px solid var(--wh-ink); }
.wh-labnav__title { font-size: 1.4rem; }
.wh-labnav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--wh-s3); }
.wh-labnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--t-tint); color: var(--t-text); border: 2px solid var(--t-text); font-weight: 700; text-decoration: none; }
.wh-labnav a:hover { background: var(--t-solid); color: var(--t-on); border-color: var(--t-solid); }

/* ---------- One question, three lenses ---------- */
.wh-lenses { display: grid; gap: var(--wh-s5); }
@media (min-width: 900px) { .wh-lenses { grid-template-columns: repeat(3, 1fr); } }
.wh-lens { border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); padding: var(--wh-s6) var(--wh-s5); color: var(--wh-ink); box-shadow: 5px 5px 0 var(--wh-ink); }
.wh-lens--1 { background: #ECE6FB; --l: var(--wh-violet-dark); }
.wh-lens--2 { background: #D6EEF0; --l: var(--wh-teal-dark); }
.wh-lens--3 { background: #FDE6E0; --l: var(--wh-coral-dark); }
.wh-lens__label { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .875rem; color: var(--l); margin-bottom: var(--wh-s3); }
.wh-lens__title { font-size: 1.6rem; margin-bottom: var(--wh-s3); }
.wh-lens__body { font-size: 1.0625rem; }
.wh-lens__body p { max-width: none; }
.wh-lens a, .wh-useful a { color: var(--wh-ink); }
.wh-lens__more, .wh-lens__sources { font-size: .9375rem; margin-top: var(--wh-s3); }

/* ---------- Something useful today ---------- */
.wh-useful__inner { display: grid; gap: var(--wh-s6); }
@media (min-width: 900px) { .wh-useful__inner { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.wh-useful__title { font-family: var(--wh-font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; margin: var(--wh-s3) 0; }
.wh-useful__min { display: inline-block; background: var(--wh-ink); color: var(--wh-bg); border-radius: 999px; padding: 2px 14px; font-weight: 700; font-size: .9375rem; }
.wh-useful__body { background: var(--wh-white); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); padding: var(--wh-s5); box-shadow: 6px 6px 0 var(--wh-ink); color: var(--wh-ink); }
.wh-usteps { list-style: none; counter-reset: us; padding: 0; margin: 0 0 var(--wh-s4); display: grid; gap: var(--wh-s3); }
.wh-usteps li { counter-increment: us; display: grid; grid-template-columns: 40px 1fr; gap: var(--wh-s3); align-items: start; }
.wh-usteps li::before { content: counter(us); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--wh-violet-dark); color: #fff; font-family: var(--wh-font-display); font-weight: 800; }
.wh-useful__sources { font-size: .9375rem; color: var(--wh-ink-soft); }
.wh-useful__body a { color: var(--wh-violet-dark); }

/* ---------- Poll & chart wrappers ---------- */
.wh-pollwrap .wh-mount { background: var(--wh-white); color: var(--wh-ink); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); padding: var(--wh-s5); box-shadow: 6px 6px 0 var(--wh-ink); max-width: 720px; }
.wh-chartrow { position: relative; display: flex; gap: var(--wh-s5); overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 8px 28px 4px; margin-inline: -4px; list-style: none; }
.wh-chartrow:focus-visible { outline-offset: 4px; }
.wh-chartcard { flex: 0 0 min(720px, 92%); scroll-snap-align: start; min-width: 0; }
.wh-chartcard .wh-chart, .wh-chartblock .wh-chart { margin: 0; border-radius: var(--wh-r-lg); box-shadow: 6px 6px 0 var(--wh-ink); }
.wh-chartcard .wh-mount > noscript, .wh-chartblock .wh-mount > noscript { display: block; }
.wh-chartblock { margin-bottom: var(--wh-s8); }
.wh-chartblock__h { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); max-width: 48rem; }
.wh-chartblock__rel { margin-top: var(--wh-s4); font-size: .9375rem; }

/* ---------- Newsletter ---------- */
.wh-newsletter__inner { display: grid; gap: var(--wh-s6); align-items: center; }
@media (min-width: 900px) { .wh-newsletter__inner { grid-template-columns: 1fr 1fr; } }
.wh-newsletter__title { font-size: clamp(3rem, 1.2rem + 7vw, 6.2rem); letter-spacing: -.045em; line-height: .95; margin: 0 0 var(--wh-s4); }
.wh-newsletter__lede { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); max-width: 30rem; }
.wh-newsletter__form { background: var(--wh-white); color: var(--wh-ink); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); padding: var(--wh-s5); box-shadow: 8px 8px 0 var(--wh-gold); --link: var(--wh-violet-dark); --focus: var(--wh-violet-dark); }

/* ---------- Filter bars ---------- */
.wh-filterbar { display: flex; flex-wrap: wrap; gap: var(--wh-s4) var(--wh-s5); align-items: flex-end; margin-bottom: var(--wh-s4); }
.wh-filterbar .wh-chips { margin: 0; flex: 1 1 100%; }
.wh-filterbar--grid { display: grid; grid-template-columns: 1fr; gap: var(--wh-s4); }
@media (min-width: 800px) { .wh-filterbar--grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.wh-chips--az { flex: 1 1 100%; }
.wh-filter__grid { margin-top: var(--wh-s4); }

/* ---------- Forms ---------- */
.wh-field { display: grid; gap: 6px; margin-bottom: var(--wh-s4); }
.wh-field label { font-weight: 700; font-size: 1rem; }
.wh-field input[type="text"], .wh-field input[type="email"], .wh-field input[type="search"], .wh-field select, .wh-field textarea, .wh-searchform input[type="search"], .wh-search__form input, .wh-form input[type="text"], .wh-form input[type="email"], .wh-form textarea, .wh-form select {
  width: 100%; min-height: 48px; padding: 10px 14px; background: var(--wh-white); color: var(--wh-ink);
  border: 2px solid var(--wh-ink-muted); border-radius: 12px; font-size: 1rem;
}
.wh-field textarea { min-height: 150px; resize: vertical; }
.wh-field input:focus-visible, .wh-field select:focus-visible, .wh-field textarea:focus-visible, .wh-searchform input:focus-visible { outline: 3px solid var(--wh-violet-dark); outline-offset: 1px; border-color: var(--wh-ink); }
.wh-field input[aria-invalid="true"], .wh-field textarea[aria-invalid="true"] { border-color: var(--wh-coral-dark); }
.wh-field--check { grid-template-columns: 28px 1fr; align-items: start; gap: 12px; }
.wh-field--check input { width: 24px; height: 24px; margin: 4px 0 0; accent-color: var(--wh-violet-dark); }
.wh-field--check label { font-weight: 400; }
.wh-field--check .wh-field__error { grid-column: 2; }
.wh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wh-form__hint { font-size: .9375rem; color: var(--wh-ink-soft); margin: var(--wh-s3) 0 0; }
.wh-form__notice { font-size: .9375rem; background: #FCF1C9; border: 2px solid var(--wh-gold-dark); border-radius: 12px; padding: var(--wh-s3) var(--wh-s4); margin: var(--wh-s4) 0 0; color: var(--wh-ink); }
.wh-form__status { margin-top: var(--wh-s3); }
.wh-formcard { background: var(--wh-white); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); padding: var(--wh-s6); box-shadow: 6px 6px 0 var(--wh-ink); margin-block: var(--wh-s6); }
.wh-formcard--wide { margin-top: var(--wh-s8); }
.wh-formcard__h { font-size: 1.6rem; }
.wh-searchform { display: flex; flex-wrap: wrap; gap: var(--wh-s3); }
.wh-searchform input[type="search"] { flex: 1 1 240px; width: auto; }

/* ---------- Resources, glossary, quotes, results ---------- */
.wh-resgrid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--wh-s4); grid-template-columns: 1fr; }
@media (min-width: 760px) { .wh-resgrid { grid-template-columns: repeat(2, 1fr); } }
.wh-resource { background: var(--wh-white); color: var(--wh-ink); border: 2px solid var(--wh-ink); border-radius: var(--wh-r); padding: var(--wh-s5); box-shadow: 4px 4px 0 var(--wh-ink); }
.wh-resource__title { font-size: 1.25rem; margin-bottom: var(--wh-s2); }
.wh-resource__title a { color: var(--wh-violet-dark); }
.wh-resource__desc { font-size: 1rem; color: var(--wh-ink-soft); }
.wh-resource__meta { display: flex; flex-wrap: wrap; gap: var(--wh-s2); align-items: center; margin-bottom: var(--wh-s2); }
.wh-resource__aud { font-size: .875rem; color: var(--wh-ink-soft); }
.wh-resource__checked { font-size: .8125rem; color: var(--wh-ink-soft); margin: 0; }

.wh-glossary { margin: 0; }
.wh-glossary__item { padding: var(--wh-s4) 0; border-bottom: 2px solid var(--wh-line); }
.wh-glossary dt { font-family: var(--wh-font-display); font-weight: 750; font-size: 1.4rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.wh-glossary dt::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--t-solid); flex: none; }
.wh-glossary dd { margin: 4px 0 0; max-width: 60ch; }
.wh-glossary__more { display: block; margin-top: 6px; font-weight: 700; font-size: .9375rem; }
.wh-glossary--short { display: grid; gap: 0 var(--wh-s6); }
@media (min-width: 860px) { .wh-glossary--short { grid-template-columns: repeat(2, 1fr); } }

.wh-quotes { list-style: none; padding: 0; display: grid; gap: var(--wh-s6); }
.wh-quote { background: var(--wh-white); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); padding: var(--wh-s6); box-shadow: 6px 6px 0 var(--wh-gold); }
.wh-quote figure { margin: 0 0 var(--wh-s4); }
.wh-quote__text { margin: 0 0 var(--wh-s3); padding: 0; font-family: var(--wh-font-display); font-weight: 650; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.wh-quote__text p { margin: 0; }
.wh-quote figcaption { color: var(--wh-ink-soft); font-size: 1rem; }
.wh-quote__who { font-weight: 700; color: var(--wh-ink); }
.wh-quote__verify { font-size: .9375rem; }
.wh-quote__verify summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; color: var(--wh-violet-dark); }

.wh-results { list-style: none; padding: 0; margin: var(--wh-s5) 0 0; display: grid; gap: var(--wh-s4); }
.wh-result { padding: var(--wh-s4) var(--wh-s5); background: var(--wh-white); border: 2px solid var(--wh-ink); border-left: 12px solid var(--t-solid); border-radius: var(--wh-r); }
.wh-result__type { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--wh-ink-soft); margin: 0 0 2px; }
.wh-result__title { font-size: 1.3rem; margin: 0 0 4px; }
.wh-result__title a { color: var(--wh-ink); }
.wh-result__ex { margin: 0; color: var(--wh-ink-soft); }
.wh-search__count { font-weight: 700; margin-top: var(--wh-s5); }

.wh-waycards { list-style: none; padding: 0; }
.wh-waycard { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: var(--wh-s5); border: 2px solid var(--wh-bg); border-radius: var(--wh-r); color: var(--wh-bg); text-decoration: none; background: var(--wh-ink-2); }
.wh-waycard:hover { background: var(--wh-violet-dark); }
.wh-waycard strong { font-family: var(--wh-font-display); font-size: 1.25rem; color: var(--wh-gold); }
.wh-waycard span { color: var(--wh-on-dark-muted); font-size: 1rem; }
.wh-waycard:hover span { color: #fff; }

.wh-storylist { padding-left: 1.2em; }
.wh-storylist li { margin-bottom: var(--wh-s5); }
.wh-storylist__date { font-weight: 700; margin: 0; }

.wh-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--wh-s2); padding: 0; justify-content: center; margin: var(--wh-s7) 0 0; }
.wh-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 16px; border: 2px solid var(--wh-ink); border-radius: 999px; color: var(--wh-ink); text-decoration: none; font-weight: 700; background: var(--wh-white); }
.wh-pagination a.page-numbers:hover { background: var(--wh-sky); }
.wh-pagination .page-numbers.current { background: var(--wh-ink); color: var(--wh-bg); }
.wh-pagination .dots { border: 0; background: transparent; }

.wh-faq { background: var(--wh-white); border: 2px solid var(--wh-ink); border-radius: var(--wh-r); margin-bottom: var(--wh-s3); box-shadow: 4px 4px 0 var(--wh-ink); }
.wh-faq__q { cursor: pointer; padding: var(--wh-s4) var(--wh-s5); min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--wh-s4); font-family: var(--wh-font-display); font-weight: 700; font-size: 1.25rem; list-style: none; }
.wh-faq__q::-webkit-details-marker { display: none; }
.wh-faq__q::after { content: "+"; font-size: 1.8rem; line-height: 1; font-weight: 400; flex: none; }
.wh-faq[open] .wh-faq__q::after { content: "\2212"; }
.wh-faq__a { padding: 0 var(--wh-s5) var(--wh-s5); }

/* ---------- Article ---------- */
.wh-article { --focus: var(--wh-violet-dark); }
.wh-article__head { background: var(--t-tint); border-bottom: 2px solid var(--wh-ink); padding-block: clamp(28px, 4vw, 64px) clamp(56px, 7vw, 104px); --muted: var(--wh-ink-soft); --link: var(--t-text); color: var(--wh-ink); }
.wh-article__head-inner { max-width: calc(980px + var(--wh-gutter) * 2); }
.wh-article__topic { margin: 0 0 var(--wh-s4); }
.wh-article__title { font-size: clamp(2.3rem, 1.1rem + 4.8vw, 4.8rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 var(--wh-s4); text-wrap: balance; }
.wh-article__lede { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.45; max-width: 42rem; margin: 0 0 var(--wh-s5); color: var(--wh-ink); }
.wh-article__byline { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .9375rem; color: var(--wh-ink-soft); margin: 0; align-items: center; }
.wh-article__byline a { color: var(--wh-ink); font-weight: 700; }
.wh-article__figure-wrap { margin-top: calc(-1 * clamp(32px, 5vw, 72px)); position: relative; z-index: 2; }
.wh-article__figure { margin: 0; max-width: 1080px; margin-inline: auto; }
.wh-article__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--wh-r-lg); border: 2px solid var(--wh-ink); box-shadow: 8px 8px 0 var(--wh-ink); background: var(--t-tint); }
.wh-article__figure figcaption { font-size: .875rem; color: var(--wh-ink-soft); margin-top: var(--wh-s3); padding-inline: 4px; }
.wh-article__layout { display: flex; flex-direction: column; gap: var(--wh-s6); padding-block: var(--wh-s7) var(--wh-s8); }
.wh-article__main { min-width: 0; width: 100%; max-width: var(--wh-measure); margin-inline: auto; order: 1; }
.wh-article__rail { order: 2; max-width: var(--wh-measure); width: 100%; margin-inline: auto; }
@media (min-width: 1040px) {
  .wh-article__layout { display: grid; grid-template-columns: 230px minmax(0, var(--wh-measure)); gap: clamp(32px, 5vw, 72px); justify-content: center; align-items: start; }
  .wh-article__rail { order: 0; position: sticky; top: 96px; max-width: none; margin: 0; }
  .wh-article__main { order: 0; margin: 0; }
}
.wh-toc { margin-bottom: var(--wh-s5); font-size: .9375rem; }
.wh-toc__title { font-family: var(--wh-font-body); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wh-ink-soft); margin: 0 0 var(--wh-s3); }
.wh-toc ol { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--wh-line); }
.wh-toc li a { display: block; padding: 6px 0 6px var(--wh-s3); margin-left: -3px; border-left: 3px solid transparent; color: var(--wh-ink); text-decoration: none; line-height: 1.35; }
.wh-toc li a:hover { border-left-color: var(--t-solid); text-decoration: underline; }
.wh-article__tools { display: grid; gap: var(--wh-s3); }
.wh-sharebar { display: grid; gap: 6px; }
.wh-sharebar__label { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wh-ink-soft); margin: 0; font-weight: 700; }
.wh-sharebar__actions { display: flex; flex-wrap: wrap; gap: var(--wh-s2); align-items: center; }
.wh-sharebar__status, .wh-share-status { font-size: .875rem; color: var(--wh-ink-soft); }
.wh-share-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--wh-s2); flex-basis: 100%; margin: 0; }
.wh-share-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--wh-ink); border-radius: 999px; color: var(--wh-ink); font-weight: 700; text-decoration: none; background: var(--wh-white); }

.wh-discover { background: var(--wh-white); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); padding: var(--wh-s5) var(--wh-s6); margin-bottom: var(--wh-s7); box-shadow: 6px 6px 0 var(--t-solid); }
.wh-discover__title { font-family: var(--wh-font-display); font-size: 1.35rem; margin: 0 0 var(--wh-s3); }
.wh-discover ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--wh-s2); }
.wh-discover li { position: relative; padding-left: 34px; line-height: 1.5; }
.wh-discover li::before { content: ""; position: absolute; left: 2px; top: .25em; width: 20px; height: 20px; border-radius: 50%; background: var(--t-solid); }
.wh-discover li::after { content: ""; position: absolute; left: 8px; top: calc(.25em + 4px); width: 6px; height: 10px; border: solid var(--t-on); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ---------- Prose (article reading surface) ---------- */
.wh-prose { font-size: 1.1875rem; line-height: 1.72; color: var(--wh-ink); }
.wh-article__body { font-size: clamp(1.125rem, 1.05rem + .25vw, 1.25rem); }
.wh-prose > :first-child { margin-top: 0; }
.wh-prose p, .wh-prose ul, .wh-prose ol { margin-bottom: 1.3em; max-width: var(--wh-measure); }
.wh-prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); margin: 2.2em 0 .6em; letter-spacing: -.03em; line-height: 1.1; }
.wh-prose h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); margin: 1.8em 0 .5em; }
.wh-prose a { color: var(--wh-violet-dark); font-weight: 600; }
.wh-prose a:hover { color: var(--wh-ink); }
.wh-prose ul, .wh-prose ol { padding-left: 1.4em; }
.wh-prose li { margin-bottom: .5em; padding-left: .2em; }
.wh-prose li::marker { color: var(--t-text, var(--wh-violet-dark)); font-weight: 700; }
.wh-prose strong { font-weight: 700; }
.wh-prose img { border-radius: var(--wh-r); }
.wh-prose table { border-collapse: collapse; width: 100%; margin-bottom: 1.5em; font-size: 1rem; }
.wh-prose th, .wh-prose td { border: 2px solid var(--wh-ink); padding: 8px 12px; text-align: left; }
.wh-prose th { background: var(--wh-sky); }
.wh-section--dark .wh-prose { color: var(--wh-bg); }
.wh-section--dark .wh-prose a { color: var(--wh-gold); }
.wh-hubhero .wh-prose, .wh-pagehero .wh-prose { color: inherit; font-size: 1.125rem; }
.wh-hubhero .wh-prose a, .wh-pagehero .wh-prose a { color: inherit; }
.wh-page__body { padding-block: 0; }
.wh-page__body h2:first-child { margin-top: 0; }

/* Pull quote */
.wh-prose blockquote.wh-pull, .wh-pull { margin: 2em 0; padding: var(--wh-s2) 0 var(--wh-s2) var(--wh-s5); border-left: 8px solid var(--t-solid, var(--wh-violet)); font-family: var(--wh-font-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.22; font-weight: 650; letter-spacing: -.02em; color: var(--wh-ink); max-width: none; }
.wh-pull p { margin: 0 0 var(--wh-s3); max-width: none; }
.wh-pull cite { display: block; font-family: var(--wh-font-body); font-style: normal; font-weight: 600; font-size: 1rem; letter-spacing: 0; color: var(--wh-ink-soft); }
.wh-pull cite::before { content: "\2014\00a0"; }
.wh-prose blockquote:not(.wh-pull) { margin: 1.6em 0; padding: 0 0 0 var(--wh-s5); border-left: 4px solid var(--wh-line); font-style: italic; }

/* Callouts */
.wh-callout { --c-bg: var(--wh-sky); --c-bd: var(--wh-sky-deep); --c-h: var(--wh-sky-deep); margin: 2.2em 0; padding: var(--wh-s5) var(--wh-s6); background: var(--c-bg); border: 2px solid var(--wh-ink); border-left: 14px solid var(--c-bd); border-radius: var(--wh-r); color: var(--wh-ink); font-size: 1.0625rem; line-height: 1.65; }
.wh-callout h2, .wh-callout h3 { font-size: 1.3rem; margin: 0 0 var(--wh-s3); color: var(--c-h); letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.wh-callout h2::before, .wh-callout h3::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c-bd); flex: none; }
.wh-callout p { max-width: none; margin-bottom: .9em; }
.wh-callout p:last-child, .wh-callout ul:last-child { margin-bottom: 0; }
.wh-callout--evidence { --c-bg: #D6EEF0; --c-bd: var(--wh-teal); --c-h: var(--wh-teal-dark); }
.wh-callout--limits { --c-bg: #FCF1C9; --c-bd: var(--wh-gold); --c-h: var(--wh-gold-dark); }
.wh-callout--try { --c-bg: #ECE6FB; --c-bd: var(--wh-violet); --c-h: var(--wh-violet-dark); }
.wh-callout a { color: var(--wh-ink); }

/* Visual explanations */
.wh-steps { margin: 2.2em 0; padding: var(--wh-s6); background: var(--wh-white); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); box-shadow: 6px 6px 0 var(--t-solid, var(--wh-violet)); }
.wh-steps figcaption { font-family: var(--wh-font-display); font-weight: 750; font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: var(--wh-s4); }
.wh-steps ol { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: var(--wh-s4); max-width: none; }
.wh-steps li { counter-increment: st; position: relative; padding: 0 0 0 56px; margin: 0; min-height: 40px; line-height: 1.55; }
.wh-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--t-solid, var(--wh-violet)); color: var(--t-on, #fff); font-family: var(--wh-font-display); font-weight: 800; font-size: 1.2rem; border: 2px solid var(--wh-ink); }
.wh-steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: -14px; width: 3px; background: var(--wh-line); }
.wh-steps li strong { display: block; font-family: var(--wh-font-display); font-size: 1.15rem; letter-spacing: -.01em; }
.wh-compare { margin: 2.2em 0; display: grid; gap: var(--wh-s4); }
@media (min-width: 640px) { .wh-compare { grid-template-columns: repeat(2, 1fr); } .wh-compare:has(.wh-compare__col:nth-child(3)) { grid-template-columns: repeat(3, 1fr); } }
.wh-compare figcaption { grid-column: 1 / -1; font-family: var(--wh-font-display); font-weight: 750; font-size: 1.3rem; }
.wh-compare__col { background: var(--t-tint, #ECE6FB); border: 2px solid var(--wh-ink); border-radius: var(--wh-r); padding: var(--wh-s5); color: var(--wh-ink); }
.wh-compare__col:nth-of-type(2) { background: var(--wh-white); }
.wh-compare__col h3 { margin: 0 0 var(--wh-s2); font-size: 1.25rem; color: var(--t-text, var(--wh-violet-dark)); }
.wh-compare__col p { margin: 0; max-width: none; font-size: 1.0625rem; }

/* Takeaway, sources, notes */
.wh-takeaway { margin: var(--wh-s7) 0; padding: var(--wh-s6); background: var(--t-tint, #ECE6FB); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); box-shadow: 6px 6px 0 var(--t-solid, var(--wh-violet)); color: var(--wh-ink); }
.wh-takeaway__title { font-size: 1.7rem; margin: 0 0 var(--wh-s3); color: var(--t-text, var(--wh-violet-dark)); }
.wh-takeaway .wh-prose { font-size: 1.125rem; }
.wh-takeaway p:last-child { margin-bottom: 0; }
.wh-takeaway ul { padding-left: 1.3em; }
.wh-sources { margin: var(--wh-s7) 0 var(--wh-s5); padding-top: var(--wh-s5); border-top: 2px solid var(--wh-ink); font-size: 1rem; }
.wh-sources__title { font-size: 1.4rem; margin-bottom: var(--wh-s3); }
.wh-sources__list { padding-left: 1.4em; margin: 0; display: grid; gap: var(--wh-s3); list-style: decimal; }
.wh-sources__list li { padding-left: .3em; line-height: 1.45; }
.wh-sources__list a { color: var(--wh-violet-dark); font-weight: 600; word-break: break-word; }
.wh-sources__meta { color: var(--wh-ink-soft); }
.wh-ainote { margin-top: var(--wh-s6); padding: var(--wh-s4) var(--wh-s5); border-radius: var(--wh-r); background: var(--wh-cream-2); font-size: .9375rem; color: var(--wh-ink); }
.wh-ainote p { margin: 0; }
.wh-related__title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); margin-bottom: var(--wh-s6); }

/* ---------- Achievement facts ---------- */
.wh-facts { display: flex; flex-wrap: wrap; gap: var(--wh-s3) var(--wh-s6); margin: var(--wh-s5) 0 0; }
.wh-facts div { min-width: 0; }
.wh-facts dt { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--wh-ink-soft); }
.wh-facts dd { margin: 0; font-weight: 600; max-width: 40ch; }

/* ---------- Video page & embed ---------- */
main .wh-video-embed { position: relative; aspect-ratio: 16 / 9; background: var(--wh-ink); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); overflow: hidden; box-shadow: 8px 8px 0 var(--wh-violet); isolation: isolate; display: block; }
main .wh-video-embed .wh-video__poster, main .wh-video-embed .wh-media__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
main .wh-video-embed .wh-video__controls { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; display: flex; flex-wrap: wrap; gap: var(--wh-s3) var(--wh-s4); align-items: center; justify-items: initial; text-align: left; padding: var(--wh-s4) var(--wh-s5); background: rgba(21, 34, 56, .94); color: var(--wh-bg); }
main .wh-video-embed .wh-video__controls a, main .wh-video-embed .wh-video__alt { color: var(--wh-gold); font-weight: 600; }
main .wh-video-embed .wh-video__note { font-size: .875rem; margin: 0; color: var(--wh-on-dark-muted); flex: 1 1 240px; }
main .wh-video-embed.is-playing { overflow: visible; background: transparent; border: 0; box-shadow: none; }
main .wh-video-embed.is-playing .wh-video__poster, main .wh-video-embed.is-playing .wh-media__fallback { display: none; }
main .wh-video-embed .wh-video__frame { border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); box-shadow: 8px 8px 0 var(--wh-violet); background: #000; }
.wh-videopage__player { margin-top: calc(-1 * clamp(32px, 5vw, 72px)); position: relative; z-index: 2; max-width: calc(1040px + var(--wh-gutter) * 2); }
.wh-videopage__actions { display: flex; flex-wrap: wrap; gap: var(--wh-s3); align-items: center; margin-top: var(--wh-s5); }
.wh-videopage__actions .wh-sharebar { display: flex; align-items: center; gap: var(--wh-s2); }
.wh-videopage__actions .wh-sharebar__label { display: none; }
.wh-videopage__cols { display: grid; gap: var(--wh-s7); padding-block: var(--wh-s7) var(--wh-s8); }
@media (min-width: 960px) { .wh-videopage__cols { grid-template-columns: minmax(0, 1fr) 340px; } }
.wh-videopage__h { font-size: 1.7rem; }
.wh-reflect { margin: var(--wh-s6) 0; padding: var(--wh-s5) var(--wh-s6); border: 2px dashed var(--wh-ink); border-radius: var(--wh-r-lg); background: var(--wh-white); }
.wh-reflect__title { font-size: 1.2rem; }
.wh-reflect__q { font-family: var(--wh-font-display); font-size: 1.4rem; line-height: 1.3; font-weight: 600; margin: 0; }

/* ---------- Learning paths ---------- */
.wh-pathintro { display: grid; gap: var(--wh-s6); }
@media (min-width: 900px) { .wh-pathintro { grid-template-columns: 1.3fr 1fr; } }
.wh-pathintro__outcomes { background: var(--t-tint); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); padding: var(--wh-s5) var(--wh-s6); box-shadow: 5px 5px 0 var(--t-solid); }
.wh-pathintro__outcomes h3 { margin-top: 0; }
.wh-lessons { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--wh-s5); }
.wh-lesson { display: grid; grid-template-columns: 56px 1fr; gap: var(--wh-s4); padding: var(--wh-s5); background: var(--wh-bg); border: 2px solid var(--wh-ink); border-radius: var(--wh-r-lg); }
.wh-lesson__num { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--t-solid); color: var(--t-on); font-family: var(--wh-font-display); font-weight: 800; font-size: 1.5rem; border: 2px solid var(--wh-ink); }
.wh-lesson__title { margin: 0 0 var(--wh-s2); font-size: 1.5rem; }
.wh-lesson__links { list-style: none; padding: 0; margin: var(--wh-s3) 0; display: grid; gap: 6px; }
.wh-lesson__kind { display: inline-block; min-width: 4.8em; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--wh-ink-soft); }
.wh-lesson__reflect { background: var(--wh-white); border-left: 6px solid var(--t-solid); padding: var(--wh-s3) var(--wh-s4); border-radius: 0 12px 12px 0; }
.wh-lesson__done { display: flex; align-items: center; gap: 12px; margin: var(--wh-s3) 0 0; min-height: 44px; }
.wh-lesson__done input { width: 26px; height: 26px; accent-color: var(--wh-violet-dark); }
.wh-lesson__done label { font-weight: 700; }
@media (max-width: 560px) { .wh-lesson { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .wh-reveal[data-wh-reveal="pending"] { opacity: 0; transform: translateY(18px); }
  .wh-reveal[data-wh-reveal="done"] { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  .wh-reveal[data-wh-reveal="pending"] { opacity: 0; }
  .wh-reveal[data-wh-reveal="done"] { opacity: 1; transition: opacity .15s linear; }
  .wh-card, .wh-card:hover, .wh-topiccard, .wh-topiccard:hover, .wh-labcard, .wh-labcard:hover, .wh-btn, .wh-nav__chev { transition: none; transform: none; }
  .wh-hero__img { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  @page { margin: 18mm; }
  html, body { background: #fff !important; color: #000 !important; font-size: 11.5pt; }
  .wh-header, .wh-footer, .wh-skip, .wh-article__rail, .wh-newsletter, .wh-sharebar, .wh-save, .wh-js-only, .wh-filterbar, .wh-chips, .wh-pagination,
  .wh-labnav, [data-wh-print], dialog, .wh-video-embed, .wh-hero__art, .wh-pagehero__art, .wh-hubhero__art, .wh-card__actions, .wh-related, .wh-videos, noscript { display: none !important; }
  .wh-section, .wh-pagehero, .wh-hubhero, .wh-hero, .wh-article__head { background: #fff !important; color: #000 !important; padding-block: 8mm !important; border: 0 !important; }
  .wh-section--dark, .wh-section--violet, .wh-section--violet-deep { --fg: #000; --muted: #000; }
  .wh-card, .wh-feature, .wh-useful__body, .wh-callout, .wh-steps, .wh-takeaway, .wh-lesson, .wh-resource { box-shadow: none !important; border: 1px solid #000 !important; break-inside: avoid; }
  .wh-article__img { box-shadow: none; max-height: 70mm; object-fit: cover; }
  .wh-prose a[href^="http"]::after, .wh-sources a[href^="http"]::after, .wh-useful a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
  h1, h2, h3 { break-after: avoid; color: #000 !important; }
  .wh-article__layout { display: block; padding: 0; }
  .wh-article__main { max-width: none; }
  a { color: #000 !important; text-decoration: underline; }
  .wh-print-area, [data-wh="habit-builder"] { display: block !important; }
}
