/* tokens.css */
/* AI Pulse Česko 2026 — supplied identity integrated into an editorial system.
   #B7E1E6 is the primary field colour; dark ink and white remain the accessible text surfaces.
   Contrast is documented in DESIGN-BRIEF.md and re-measured by tests/e2e.test.mjs. */

:root {
  /* Body/UI uses self-hosted Poppins (SIL OFL 1.1). Headings use the user-supplied
     PP Acma Semibold only for this private preview; public web use needs licence confirmation.
     The legacy --font-brand alias remains so the Founders/Klim guard can stay intact. */
  --font-body: "Poppins", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-heading: "PP Acma", "Poppins", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-brand: var(--font-body);
  --font-brand-display-stretch: 100%;
  --font-brand-display-tracking: -0.025em;
  /* Respondent voices only (pull quotes) — the source's own display face, SIL OFL 1.1. */
  --font-voice: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* ── Colour ───────────────────────────────────────────────────────────────────────── */
  --brand: #b7e1e6;
  --paper: #f4fafb;
  --paper-2: #ffffff;
  --surface: #ffffff;
  --ink: #0b1113;
  --ink-2: #29383c;
  --muted: #4f6165;
  --rule: rgba(11, 17, 19, 0.15);
  --rule-strong: rgba(11, 17, 19, 0.38);
  --teal: #075f68;
  --teal-ink: #064c54;
  --aqua: #b7e1e6;
  --aqua-tint: #e3f3f5;
  --signal: #a8412a;
  --signal-ink: #8b3421;
  --signal-tint: #f4e2da;
  --sage: #263b3f;
  --sage-fg: #d9e8ea;
  --night: #0b1113;
  --night-2: #172226;
  --night-fg: #ffffff;
  --night-muted: #bed0d3;
  --night-rule: rgba(255, 255, 255, 0.2);
  --signal-on-dark: #e0866f;

  /* Data colours (validated: audits/dataviz/palette-validation.md) */
  --chart-base: #008c9e;
  --chart-hl: #a8412a;
  --chart-muted: #78857f;
  --chart-s1: #a8412a;
  --chart-s2: #008c9e;
  --chart-track: rgba(16, 28, 26, 0.06);

  /* ── Type scale (fluid) ───────────────────────────────────────────────────────────── */
  --step--2: 0.75rem;
  --step--1: 0.84rem;
  --step-0: clamp(1.03rem, 0.98rem + 0.22vw, 1.125rem);
  --step-1: clamp(1.15rem, 1.06rem + 0.42vw, 1.375rem);
  --step-2: clamp(1.35rem, 1.16rem + 0.85vw, 1.875rem);
  --step-3: clamp(1.7rem, 1.35rem + 1.6vw, 2.75rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.7vw, 4rem);
  --step-5: clamp(2.9rem, 1.6rem + 6.2vw, 8rem);
  --figure: clamp(3.6rem, 2.4rem + 5.6vw, 8.25rem);
  --leading: 1.6;
  --measure: 68ch;

  /* ── Space, shape, layout ─────────────────────────────────────────────────────────── */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(64px, 8vw, 128px);
  --max: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;
  --masthead-h: 64px;
  --readbar-h: 40px;
  --header-offset: calc(var(--masthead-h) + var(--readbar-h) + 16px);
  --focus: 3px solid var(--signal);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 719px) {
  :root { --masthead-h: 56px; --readbar-h: 36px; }
}

/* fonts.css */
/* All fonts are self-hosted; no third-party font request is made at runtime.
   Poppins is SIL OFL 1.1 (OFL-Poppins.txt), split into latin + latin-ext subsets.
   PP Acma Semibold is user-supplied for this private preview; see
   LICENCE-PP-ACMA-PRIVATE-PREVIEW.txt before any public release. */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-regular-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-regular-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-medium-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-medium-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-semibold-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-semibold-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-bold-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-bold-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PP Acma";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/pp-acma-semibold.otf") format("opentype");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* base.css */
/* Base: reset, typography, links, focus, utilities */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* every in-page target and every keyboard-focused element clears the sticky masthead + reading bar */
  scroll-padding-top: var(--header-offset);
}
/* A target owns its clearance. This remains correct when the mobile reading bar becomes
   visible only after the initial fragment navigation (notably direct links to #z02). */
[id] { scroll-margin-top: var(--header-offset); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading);
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
main { display: block; }
main:focus { outline: none; }
img, svg { display: block; max-width: 100%; height: auto; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: var(--step-4); font-stretch: var(--font-brand-display-stretch); letter-spacing: -0.03em; line-height: 1.07; }
h3 { font-size: var(--step-2); letter-spacing: -0.015em; line-height: 1.15; }
h4 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; }
p { text-wrap: pretty; }
small { font-size: inherit; }
strong, b { font-weight: 600; }
code { font-family: inherit; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 2px; }
/* Sequential keyboard focus uses the same clearance as fragment targets. Chromium
   honours scroll-margin when bringing a newly focused control into view. */
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible { scroll-margin-block: var(--header-offset) var(--s-5); }
/* focus ring stays ≥ 3:1 on every surface: aqua on dark, signal on light/brand */
.chapter--dark :focus-visible, .primer :focus-visible, .continuation :focus-visible, .texture :focus-visible,
.part--3 .part__opener :focus-visible { outline-color: var(--aqua); }
::selection { background: var(--aqua); color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.measure { max-width: var(--measure); }
.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow--on-dark { color: var(--aqua); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
/* visually hidden until focused (never painted off-screen, so no capture artefacts) */
.skip-link:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .bars__fill, .legend__item::before, .evidence-mark { forced-color-adjust: none; border: 1px solid CanvasText; }
}

/* layout.css */
/* Layout: container, masthead, reading bar, progress, section scaffolding, footer, toast */

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ── Masthead ─────────────────────────────────────────────────────────────────────── */
.masthead {
  position: sticky;
  z-index: 40;
  top: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.masthead__bar { position: relative; display: flex; align-items: center; gap: var(--s-4); min-height: var(--masthead-h); }
.masthead__brand { display: flex; align-items: center; flex: none; min-height: 44px; }
.masthead__brand img { width: auto; height: 30px; }
.masthead__title {
  padding-left: var(--s-4);
  border-left: 1px solid var(--rule-strong);
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.masthead__nav { margin-left: auto; }
.masthead__links { display: flex; align-items: center; gap: 2px; list-style: none; }
/* Primary destinations carry explicit numerals so visual and accessible order cannot diverge. */
.masthead__links a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: var(--radius);
  color: var(--ink-2);
  font-family: var(--font-brand);
  font-size: 1.0625rem; /* 17px */
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.masthead__link-no { color: var(--teal); font-size: 0.72em; font-weight: 700; font-variant-numeric: tabular-nums; }
/* rail + progress underline: the active chapter fills with reading progress (--nav-p from app.js) */
.masthead__links a:not(.is-cta)::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.2s var(--ease);
}
.masthead__links a:hover { background: rgba(16, 28, 26, 0.06); color: var(--ink); }
.masthead__links a:hover::after { transform: scaleX(0.18); }
.masthead__links a[aria-current] { color: var(--ink); background: linear-gradient(var(--brand), var(--brand)) 12px calc(100% - 6px) / calc(100% - 24px) 4px no-repeat; }
.masthead__links a[aria-current]::after { transform: scaleX(max(0.06, var(--nav-p, 1))); transition-duration: 0.08s; }
.masthead__links a.is-cta { align-items: center; margin-right: 6px; padding-inline: 18px; background: var(--ink); color: var(--paper); border-radius: 999px; font-weight: 700; }
.masthead__links a.is-cta .masthead__link-no { color: var(--aqua); }
.masthead__links a.is-cta:hover { background: var(--teal-ink); }
.masthead__links a.is-cta[aria-current] { background: var(--brand); color: var(--ink); }
@media (min-width: 1024px) and (max-width: 1179px) { .masthead__links a { padding-inline: 9px; } .masthead__links a:not(.is-cta)::after { right: 9px; left: 9px; } }
.menu-chapters { display: none; }
.masthead__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 0.94rem/1 var(--font-brand);
  cursor: pointer;
}
.masthead__toggle-icon { position: relative; width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.masthead__toggle[aria-expanded="true"] .masthead__toggle-icon { height: 2px; border-bottom: 0; transform: rotate(45deg); }
.masthead__toggle[aria-expanded="true"] .masthead__toggle-icon::after { content: ""; position: absolute; left: 0; top: -2px; width: 16px; border-top: 2px solid currentColor; transform: rotate(-90deg); }

@media (max-width: 1279px) {
  .masthead__title { display: none; }
}
/* Without JS the nav stays a scrollable row; with JS it becomes a full-height chapter overlay
   (focus trap, Escape, scroll lock, inert page underneath — app.js) */
@media (max-width: 1023px) {
  .no-js .masthead__bar { flex-wrap: wrap; padding-block: 6px; }
  .no-js .masthead__nav { width: 100%; margin: 0; overflow-x: auto; }
  .no-js .masthead__links a { font-size: 1rem; }
  .js .masthead__toggle:not([hidden]) { display: inline-flex; position: relative; z-index: 6; }
  .js .masthead__nav {
    position: fixed;
    z-index: 5;
    top: var(--masthead-h);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--s-5) var(--gutter) calc(var(--s-8) + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--rule-strong);
    /* opaque: nothing underneath is ever visible (or clickable — the rest of the page is inert) */
    background: var(--surface);
    visibility: hidden;
    opacity: 0;
    transform: translate3d(0, -12px, 0);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
  }
  .js .masthead__nav[data-open] { visibility: visible; opacity: 1; transform: none; transition: none; }
  .js .masthead__links { flex-direction: column; align-items: stretch; gap: 0; border-top: 2px solid var(--ink); }
  .js .masthead__links li { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); transition-delay: calc(var(--i, 0) * 35ms); }
  .js .masthead__nav[data-open] .masthead__links li { opacity: 1; transform: none; }
  .js .masthead__links a {
    width: 100%;
    min-height: 64px;
    gap: 14px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    color: var(--ink);
    font-size: clamp(1.75rem, 1.15rem + 3.4vw, 2.6rem);
    font-stretch: var(--font-brand-display-stretch);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.1;
    white-space: normal;
  }
  .js .masthead__link-no { font-size: 0.42em; letter-spacing: 0; }
  .js .masthead__links a:not(.is-cta)::after { right: 0; bottom: -1px; left: 0; height: 3px; }
  .js .masthead__links a[aria-current] { background: none; }
  .js .masthead__links a.is-cta { justify-content: center; align-items: center; min-height: 56px; margin: var(--s-5) 0 var(--s-2); padding-inline: 20px; border-bottom: 0; border-radius: 999px; color: var(--paper); font-size: var(--step-1); font-weight: 700; letter-spacing: 0; }
  .js .menu-chapters { display: block; margin-top: var(--s-6); }
  .menu-chapters__title { margin-bottom: var(--s-2); color: var(--muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
  .menu-chapters ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 var(--s-5); list-style: none; }
  .menu-chapters a { display: flex; gap: 12px; align-items: center; min-height: 48px; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: var(--step-1); font-weight: 500; text-decoration: none; }
  .menu-chapters a[aria-current] { color: var(--ink); font-weight: 600; }
  .menu-chapters__no { color: var(--teal); font-weight: 600; font-variant-numeric: tabular-nums; }
  /* scroll lock while the overlay is open */
  html.is-menu-open, html.is-menu-open body { overflow: hidden; }
}

/* ── Reading bar (chapter progress) ───────────────────────────────────────────────── */
.readbar {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: var(--readbar-h);
  border-bottom: 1px solid var(--rule);
  background: var(--aqua-tint);
}
.readbar[hidden] { display: none; }
.readbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); height: 100%; }
.readbar__now { min-width: 0; overflow: hidden; color: var(--ink-2); font-size: var(--step--1); white-space: nowrap; text-overflow: ellipsis; }
.readbar__index { color: var(--teal); font-weight: 600; font-variant-numeric: tabular-nums; }
.readbar__title { font-weight: 500; }
.readbar__steps { display: flex; flex: none; align-items: center; gap: 4px; list-style: none; }
.readbar__steps a { position: relative; display: block; width: 28px; height: 28px; }
.readbar__steps a::before { content: ""; position: absolute; top: 12px; left: 2px; right: 2px; height: 4px; border-radius: 2px; background: var(--rule-strong); }
.readbar__steps a.is-done::before { background: var(--teal); }
.readbar__steps a[aria-current]::before { top: 10px; height: 8px; background: var(--teal); }
@media (min-width: 720px) { .readbar__steps a { width: 40px; } }
/* small phones: full chapter title instead of step links (they stay in the menu) */
@media (max-width: 479px) { .readbar__steps { display: none; } }

.progress { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; pointer-events: none; }
.progress__bar { display: block; width: 100%; height: 100%; background: var(--teal); transform: scaleX(var(--progress, 0)); transform-origin: 0 50%; }

/* ── Section scaffolding ──────────────────────────────────────────────────────────── */
section, .interlude { position: relative; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5);
  margin-bottom: clamp(var(--s-7), 5vw, var(--s-9));
}
.section-head h2 { max-width: 18ch; margin-top: var(--s-3); }
.section-head__intro { color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; }
@media (min-width: 1024px) {
  .section-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: var(--s-8); }
}

/* ── Footer ───────────────────────────────────────────────────────────────────────── */
.footer { padding-block: var(--s-8) var(--s-7); border-top: 1px solid var(--rule-strong); background: var(--paper); }
.footer__grid { display: grid; gap: var(--s-6); }
.footer__brand img { width: 150px; height: auto; }
.footer__report { margin-top: var(--s-3); font-weight: 600; }
.footer__heading { margin-bottom: var(--s-2); font-size: var(--step-0); letter-spacing: 0; }
.footer__iin p { max-width: 52ch; color: var(--ink-2); }
.footer__nav ul { display: grid; gap: 2px; list-style: none; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); }
.footer__colophon { margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid var(--rule); color: var(--muted); font-size: var(--step--1); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1fr 1.6fr 1fr; } }

/* ── Toast ────────────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  z-index: 60;
  bottom: 24px;
  left: 50%;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--step--1);
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* components.css */
/* Components: buttons, evidence marks, findings, pairs, steps, voices, caveats, photos,
   index, FAQ, tips, recommendations, timeline, tables, QR, embed */

/* ── Buttons & chips ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-brand);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--teal-ink); }
.btn--ghost { border-color: var(--rule-strong); background: transparent; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(16, 28, 26, 0.05); }
.btn--ghost-dark { border-color: var(--night-rule); background: transparent; color: var(--night-fg); }
.btn--ghost-dark:hover { border-color: var(--aqua); }
.btn--block { width: 100%; }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: 0.94rem; }
.btn[hidden], [hidden] { display: none !important; }

.chip {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 500 0.94rem/1.2 var(--font-brand);
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* ── Evidence type: verbatim source label + a shape (never colour alone) ───────────── */
.evidence {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  max-width: 100%;
  padding: 5px 10px 5px 9px;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  color: var(--ink-2);
  font-size: var(--step--1);
  font-weight: 500;
  line-height: 1.35;
}
.evidence-mark { display: inline-block; flex: none; width: 10px; height: 10px; color: var(--ink); }
.evidence-mark--direct { background: currentColor; }
.evidence-mark--estimate { border: 1.5px solid currentColor; background: linear-gradient(135deg, currentColor 50%, transparent 50%); }
.evidence-mark--correlation { border: 2px solid currentColor; border-radius: 50%; }
.evidence-mark--interpretation { width: 9px; height: 9px; border: 1.5px solid currentColor; transform: rotate(45deg) translate(1px, -1px); }
.evidence-mark--qualitative { background: currentColor; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.legend-evidence { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--night-rule); }
.legend-evidence__title { margin-bottom: var(--s-3); color: var(--night-muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.legend-evidence ul { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); list-style: none; }
.legend-evidence li { display: inline-flex; align-items: center; gap: 10px; color: var(--night-fg); font-size: 0.94rem; }
.legend-evidence .evidence-mark { color: var(--aqua); }

/* ── Finding (exhibit) ───────────────────────────────────────────────────────────── */
.finding {
  display: grid;
  gap: var(--s-6);
  padding-block: clamp(var(--s-7), 6vw, var(--s-9));
  border-top: 1px solid var(--rule-strong);
}
.finding__lead { display: grid; align-content: start; gap: var(--s-4); }
.finding__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.finding__no { color: var(--ink); font-variant-numeric: tabular-nums; }
.finding__topic { color: var(--teal); }
.finding__lead .evidence { justify-self: start; }
.finding__figure {
  margin-top: var(--s-2);
  color: var(--ink);
  font-size: var(--figure);
  font-stretch: var(--font-brand-display-stretch);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.05em;
  word-spacing: 0.1em;
}
.finding__figure small { margin-left: 0.12em; color: var(--teal); font-size: 0.3em; font-stretch: 100%; font-weight: 600; letter-spacing: -0.005em; }
.finding__title { max-width: 28ch; font-size: clamp(1.45rem, 1.2rem + 1.05vw, 2.15rem); font-stretch: var(--font-brand-display-stretch); letter-spacing: -0.02em; line-height: 1.12; }
.finding__measure { max-width: 60ch; padding-top: var(--s-3); border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 0.98rem; line-height: 1.6; }
.finding__body { display: grid; align-content: start; gap: var(--s-6); min-width: 0; }
/* grid children must be allowed to shrink below their content's min-content width
   (open chart tables on mobile would otherwise widen the page) */
.finding > *, .finding__body > *, .finding__lead > * { min-width: 0; }
.finding--feature { border-top-width: 3px; border-top-color: var(--brand); }

@media (min-width: 1024px) {
  .finding { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); }
}
@media (min-width: 1024px) and (min-height: 760px) {
  .finding__lead { position: sticky; top: calc(var(--header-offset) + 8px); align-self: start; }
}

.share {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-height: 40px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 500 var(--step--1)/1.2 var(--font-brand);
  cursor: pointer;
}
.share:hover { border-color: var(--ink); color: var(--ink); }
.share__icon { position: relative; width: 14px; height: 8px; border: 1.5px solid currentColor; border-radius: 4px; }
.share__icon::after { content: ""; position: absolute; top: 1.5px; left: 3px; width: 5px; border-top: 1.5px solid currentColor; }

/* steps: Co z toho plyne / Proč na tom záleží / Co udělat */
.steps { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.steps__item { display: grid; gap: 4px; padding-block: var(--s-4); border-bottom: 1px solid var(--rule); }
.steps__item dt { color: var(--muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.steps__item dd { color: var(--ink-2); max-width: 66ch; }
.steps__item--action { margin-top: var(--s-2); padding: var(--s-4) var(--s-5); border: 0; border-left: 3px solid var(--teal); background: var(--aqua-tint); }
.steps__item--action dt { color: var(--teal-ink); }
.steps__item--action dd { color: var(--ink); font-weight: 500; }
@media (min-width: 720px) {
  .steps__item:not(.steps__item--action) { grid-template-columns: 11rem minmax(0, 1fr); gap: var(--s-5); }
  .steps__item--action { grid-template-columns: 11rem minmax(0, 1fr); gap: var(--s-5); }
}

/* pair cells */
.pair { display: grid; gap: var(--s-3); }
.pair__cell { display: grid; align-content: start; gap: var(--s-2); padding: var(--s-5); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.pair__cell--accent { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pair__label { color: var(--muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.pair__cell--accent .pair__label { color: var(--aqua); }
.pair__value { font-size: clamp(2.2rem, 1.7rem + 2vw, 3.4rem); font-stretch: var(--font-brand-display-stretch); font-weight: 500; line-height: 0.95; letter-spacing: -0.03em; word-spacing: 0.08em; }
.pair__text { color: var(--ink-2); font-size: 0.97rem; }
.pair__cell--accent .pair__text { color: var(--night-muted); }
@media (min-width: 560px) { .pair { grid-template-columns: 1fr 1fr; } }

/* respondent voices */
.voice { padding-left: var(--s-5); border-left: 2px solid var(--signal); }
.voice blockquote { margin: 0; }
.voice blockquote p { font-family: var(--font-voice); font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2.2rem); font-style: italic; line-height: 1.22; letter-spacing: -0.005em; }
.voice figcaption { margin-top: var(--s-3); color: var(--muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }

/* caveats */
.caveat { padding: var(--s-4) var(--s-5); border: 1px solid var(--rule); border-left: 3px solid var(--ink-2); border-radius: 0 var(--radius) var(--radius) 0; background: var(--paper-2); color: var(--ink-2); font-size: 0.97rem; }
.caveat__label { margin-bottom: 4px; color: var(--muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.caveat--verify { border-left-color: var(--signal); background: var(--signal-tint); color: var(--ink); }
.caveat--verify .caveat__label { color: var(--signal-ink); }
.caveat--lead { margin-top: var(--s-6); }

/* ── Photographs ──────────────────────────────────────────────────────────────────── */
.photo { margin: 0; }
.photo__frame { overflow: hidden; border-radius: var(--radius); background: var(--rule); }
.photo__frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.88) contrast(1.03); }
.photo__caption { margin-top: var(--s-3); color: var(--muted); font-size: var(--step--1); line-height: 1.5; }
.photo__caption a { color: var(--ink-2); }
.photo__caption strong { color: var(--ink-2); }
.photo__label { display: inline-block; margin-right: 6px; padding: 1px 7px; border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--ink-2); font-weight: 600; }
.photo__caption .credit { display: block; margin-top: 2px; }

/* ── Ruled lists & tables ────────────────────────────────────────────────────────── */
.ruled { list-style: none; border-top: 1px solid var(--rule); }
.ruled li { padding-block: var(--s-3); border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; font-size: 0.95rem; }
thead th { color: var(--muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
tbody th { font-weight: 500; }
td:last-child, th:last-child { padding-right: 0; text-align: right; }
td { white-space: nowrap; }
.ntable thead th:first-child { color: var(--ink); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.ntable thead th:last-child { color: var(--ink); font-size: var(--step-2); letter-spacing: -0.02em; text-transform: none; }

/* ── Index (rejstřík) ─────────────────────────────────────────────────────────────── */
.index { padding-block: var(--section); background: var(--paper-2); border-top: 1px solid var(--rule); }
.index__head { display: grid; gap: var(--s-5); margin-bottom: var(--s-7); }
.index__head h2 { max-width: 20ch; margin-top: var(--s-3); font-size: var(--step-3); }
.index__head p { color: var(--ink-2); }
@media (min-width: 1024px) { .index__head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: var(--s-8); } }
.index__tools { display: grid; gap: var(--s-4); margin-bottom: var(--s-5); }
.index__search { display: grid; gap: 6px; max-width: 32rem; }
.index__search label { color: var(--ink-2); font-size: var(--step--1); font-weight: 600; }
.index__search input {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: 400 1rem/1.3 var(--font-brand);
}
.index__search input::placeholder { color: #6b7671; }
.index__filters { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.index__status { color: var(--muted); font-size: var(--step--1); font-weight: 500; }
.index__group-title { margin: var(--s-6) 0 var(--s-3); font-size: var(--step-1); letter-spacing: -0.01em; }
.index__list { list-style: none; border-top: 1px solid var(--rule-strong); }
.index__row { border-bottom: 1px solid var(--rule); }
.index__link { display: grid; grid-template-columns: auto 1fr; gap: 4px var(--s-4); padding: var(--s-4) 2px; color: var(--ink); text-decoration: none; }
.index__link:hover { background: rgba(16, 28, 26, 0.035); }
.index__link:hover .index__title { text-decoration: underline; text-underline-offset: 0.2em; }
.index__no { color: var(--ink); font-size: var(--step--1); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; text-transform: uppercase; }
.index__chapter { color: var(--teal); font-size: var(--step--1); font-weight: 600; text-align: right; }
.index__figure { grid-column: 1 / -1; font-size: var(--step-2); font-stretch: var(--font-brand-display-stretch); font-weight: 500; letter-spacing: -0.02em; word-spacing: 0.06em; line-height: 1.1; }
.index__title { grid-column: 1 / -1; color: var(--ink-2); line-height: 1.45; }
.index__caveat { display: block; margin-top: 4px; color: var(--signal-ink); font-size: 0.92rem; }
.index__kind { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--step--1); }
.index__empty { padding: var(--s-5) 0; color: var(--ink-2); }
.index__qual { margin-top: var(--s-7); padding: var(--s-5); border: 1px dashed var(--rule-strong); border-radius: var(--radius); }
.index__qual .index__group-title { margin-top: 0; }
.index__qual-note { max-width: 70ch; margin-bottom: var(--s-4); color: var(--ink-2); font-size: 0.97rem; }
@media (min-width: 900px) {
  .index__link { grid-template-columns: 7.5rem 9.5rem minmax(0, 1fr) 10rem; align-items: baseline; gap: var(--s-5); }
  .index__no { grid-column: 1; }
  .index__figure { grid-column: 2; grid-row: 1; font-size: var(--step-1); }
  .index__chapter { grid-column: 1; grid-row: 2; text-align: left; font-weight: 500; }
  .index__title { grid-column: 3; grid-row: 1 / span 2; color: var(--ink); }
  .index__kind { grid-column: 4; grid-row: 1; }
}

/* ── FAQ ──────────────────────────────────────────────────────────────────────────── */
.faq__item { border-bottom: 1px solid var(--rule-strong); }
.faq__item:first-child { border-top: 1px solid var(--rule-strong); }
.faq__item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: var(--s-4) 48px var(--s-4) 0;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; top: 50%; right: 8px; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.faq__item[open] summary::after { margin-top: -3px; transform: rotate(225deg); }
.faq__answer { padding: 0 0 var(--s-5); }
.faq__answer p { max-width: 70ch; color: var(--ink-2); }

/* ── Tips (personal recommendations) ─────────────────────────────────────────────── */
.tips { display: grid; gap: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.tip { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 6px var(--s-4); padding-block: var(--s-5); border-bottom: 1px solid var(--rule); }
.tip__no { grid-row: span 2; color: var(--teal); font-size: var(--step-2); font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1; }
.tip h4 { font-size: var(--step-1); }
.tip p { color: var(--ink-2); }
@media (min-width: 900px) {
  .tips { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s-6); border-top: 0; }
  .tip { grid-template-columns: 1fr; align-content: start; border-top: 1px solid var(--rule-strong); border-bottom: 0; }
  .tip__no { grid-row: auto; }
}

/* ── Organisational recommendations ──────────────────────────────────────────────── */
.recs { display: grid; gap: var(--s-5); }
.rec { padding: clamp(var(--s-5), 3vw, var(--s-7)); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.rec__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4); align-items: start; margin-bottom: var(--s-5); }
.rec__no { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: var(--step-1); font-weight: 600; }
.rec h3 { font-size: var(--step-2); }
.rec__owner { margin-top: 6px; color: var(--teal); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.rec__grid { display: grid; gap: var(--s-4); }
.rec__field { padding-top: var(--s-3); border-top: 1px solid var(--rule); }
.rec__field dt { margin-bottom: 4px; color: var(--muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.rec__field dd { color: var(--ink-2); }
.rec__field--why dd { color: var(--ink); }
@media (min-width: 720px) { .rec__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); } }
@media (min-width: 1200px) { .rec__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .rec__head { grid-template-columns: auto minmax(0, 1fr); } }

/* ── Timeline (30-day experiment) ────────────────────────────────────────────────── */
.timeline { list-style: none; border-top: 1px solid var(--rule-strong); }
.timeline__step { display: grid; gap: var(--s-2) var(--s-5); padding-block: var(--s-5); border-bottom: 1px solid var(--rule); }
.timeline__days { color: var(--signal-ink); font-size: var(--step--1); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.07em; text-transform: uppercase; }
.timeline__body h3 { margin-bottom: 6px; font-size: var(--step-1); }
.timeline__body p { max-width: 64ch; color: var(--ink-2); }
@media (min-width: 720px) { .timeline__step { grid-template-columns: 9rem minmax(0, 1fr); } }
.rules { align-self: start; padding: var(--s-6); border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.rules h3 { margin-bottom: var(--s-4); font-size: var(--step-1); }
.rules ul { display: grid; gap: var(--s-3); list-style: none; }
.rules li { position: relative; padding-left: 22px; color: var(--sage-fg); }
.rules li::before { content: ""; position: absolute; top: 0.62em; left: 0; width: 10px; height: 2px; background: var(--aqua); }

/* ── QR, CTA box, embed ───────────────────────────────────────────────────────────── */
.qr { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-5); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.qr img { width: min(240px, 100%); height: auto; image-rendering: pixelated; }
.qr figcaption { font-size: var(--step--1); font-weight: 600; }
.cta-box { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.cta-box__note { color: var(--night-muted); font-size: var(--step--1); line-height: 1.5; }
.embed { display: grid; gap: var(--s-5); margin-top: clamp(var(--s-7), 6vw, var(--s-9)); padding: clamp(var(--s-5), 3vw, var(--s-7)); border: 1px solid var(--night-rule); border-radius: var(--radius); background: var(--night-2); }
.embed__copy h3 { color: var(--night-fg); font-size: var(--step-3); font-stretch: var(--font-brand-display-stretch); }
.embed__copy p { margin-top: var(--s-2); color: var(--night-muted); }
.embed__frame { min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.embed__frame iframe { display: block; width: 100%; height: clamp(760px, 80vh, 920px); border: 0; }
.embed__placeholder { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-8) var(--s-5); text-align: center; }
.embed__placeholder p { max-width: 48ch; color: var(--ink-2); font-size: var(--step--1); }
.embed__noscript { padding: var(--s-6); text-align: center; }
@media (min-width: 900px) { .embed { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); align-items: start; } }

/* charts.css */
/* Charts — HTML/CSS horizontal bars (dataviz mark specs: bars ≤ 24 px, 4 px rounded data end,
   square at the baseline, value at the tip, text in text tokens, legend for ≥ 2 series). */

.chart {
  margin: 0;
  padding: clamp(var(--s-4), 2.4vw, var(--s-6));
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
}
.chart__caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: var(--s-5); }
.chart__no { color: var(--teal); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.chart__title { font-size: 1.02rem; font-weight: 600; line-height: 1.35; }

.bars { display: grid; gap: 10px; list-style: none; }
.bars__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; align-items: center; }
.bars__label { color: var(--ink-2); font-size: 0.92rem; line-height: 1.3; }
.bars__track { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bars__fill {
  flex: none;
  width: calc((100% - 4.75rem) * var(--v));
  min-width: 2px;
  height: 18px;
  border-radius: 0 4px 4px 0;
  background: var(--bar, var(--chart-base));
}
.bars__value { color: var(--ink); font-size: 0.95rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bars__row--hl { --bar: var(--chart-hl); }
.bars__row--muted { --bar: var(--chart-muted); }
.bars__row--muted .bars__label, .bars__row--muted .bars__value { color: var(--muted); }
.bars__row--s1 { --bar: var(--chart-s1); }
.bars__row--s2 { --bar: var(--chart-s2); }

@media (min-width: 560px) {
  .bars__row { grid-template-columns: minmax(7rem, 36%) minmax(0, 1fr); gap: 12px; }
  .bars__label { text-align: right; }
  .bars__fill { height: 20px; }
}

/* two-series charts */
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: calc(var(--s-2) * -1) 0 var(--s-4); list-style: none; }
.legend__item { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 0.92rem; }
.legend__item::before { content: ""; width: 12px; height: 12px; border-radius: 2px; background: var(--bar); }
.legend__item--s1 { --bar: var(--chart-s1); }
.legend__item--s2 { --bar: var(--chart-s2); }
.bars-groups { display: grid; gap: var(--s-4); list-style: none; }
.bars-group__label { margin-bottom: 6px; color: var(--ink); font-size: 0.95rem; font-weight: 600; }
.bars--grouped { gap: 6px; }
.bars--grouped .bars__label { color: var(--muted); font-size: 0.86rem; }
@media (min-width: 560px) {
  .bars-groups { gap: var(--s-3); }
  .bars-group { display: grid; grid-template-columns: minmax(7rem, 36%) minmax(0, 1fr); gap: 12px; align-items: center; }
  .bars-group__label { margin: 0; text-align: right; }
  /* series stay direct-labelled above each bar (legend + direct labels for 2 series) */
  .bars--grouped .bars__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bars--grouped .bars__label { text-align: left; }
}

/* exact table alternative */
.chart__table { margin-top: var(--s-5); border-top: 1px solid var(--rule); }
.chart__table summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--teal);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.chart__table summary::-webkit-details-marker { display: none; }
.chart__table summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.16s var(--ease); }
.chart__table[open] summary::before { transform: rotate(45deg); }
.chart__table table { margin-top: var(--s-2); }
.chart__table td, .chart__table th { font-size: 0.92rem; }

/* sections.css */
/* Sections — cover, purpose, primer, overview, parts, chapters, interludes, continuation,
   recommendations, experiment, methodology, FAQ, citation, team, live answers */

/* Supplied overlapping-loop identity. Decorative placement only: these are not data charts. */
.brand-loop { position: absolute; z-index: 0; max-width: none; pointer-events: none; user-select: none; }

/* ── Cover ────────────────────────────────────────────────────────────────────────── */
.cover { overflow: clip; padding-block: clamp(var(--s-7), 6vw, var(--s-9)) var(--section); background: var(--brand); }
.cover .brand-loop--cover { top: -12%; right: -12%; width: min(62vw, 760px); opacity: 0.72; }
.cover__grid { position: relative; z-index: 1; display: grid; gap: var(--s-7); align-items: end; }
.cover__eyebrow { max-width: 46ch; }
.cover__title {
  margin-top: var(--s-5);
  font-size: var(--step-5);
  font-stretch: var(--font-brand-display-stretch);
  font-weight: 600;
  line-height: 1.04; /* room for the Č caron on the second line (found in the design-shotgun variant pass) */
  letter-spacing: var(--font-brand-display-tracking);
}
.cover__sub { max-width: 30ch; margin-top: var(--s-5); font-size: var(--step-2); font-weight: 500; line-height: 1.22; letter-spacing: -0.015em; text-wrap: balance; }
.cover__lede { margin-top: var(--s-5); color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; }
.cover__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.cover__photo .photo__frame { aspect-ratio: 16 / 10; }
@media (min-width: 1024px) {
  .cover__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); }
  .cover__photo { margin-bottom: 6px; }
  .cover__photo .photo__frame { aspect-ratio: 4 / 5; }
}

.keyfigs { position: relative; z-index: 1; display: grid; margin-top: clamp(var(--s-7), 6vw, var(--s-9)); list-style: none; border-top: 2px solid var(--ink); }
.keyfig { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4); align-items: baseline; padding-block: var(--s-5); border-bottom: 1px solid var(--rule); }
.keyfig__value { font-size: clamp(3rem, 2.2rem + 3.6vw, 5.5rem); font-stretch: var(--font-brand-display-stretch); font-weight: 500; line-height: 0.9; letter-spacing: -0.05em; }
.keyfig__value span { margin-left: 0.08em; color: var(--teal); font-size: 0.42em; font-stretch: 100%; font-weight: 600; letter-spacing: 0; }
.keyfig__text { max-width: 30ch; color: var(--ink-2); line-height: 1.45; }
@media (min-width: 900px) {
  .keyfigs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .keyfig { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-5) var(--s-5) var(--s-5) 0; border-bottom: 0; }
  .keyfig + .keyfig { padding-left: var(--s-5); border-left: 1px solid var(--rule); }
}

.ledger { position: relative; z-index: 1; display: grid; gap: var(--s-3) var(--s-6); margin-top: var(--s-6); padding: var(--s-5); border: 1px solid var(--rule-strong); border-radius: var(--radius); background: rgba(255, 255, 255, 0.78); }
.ledger__title { color: var(--signal-ink); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ledger__text { max-width: 78ch; color: var(--ink); }
.ledger__links { display: flex; flex-wrap: wrap; gap: 4px var(--s-5); list-style: none; }
.ledger__links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--teal); font-weight: 600; font-size: 0.95rem; }
@media (min-width: 900px) { .ledger { grid-template-columns: 11rem minmax(0, 1fr); } .ledger__links { grid-column: 2; } }

/* ── Purpose (personal introduction) ─────────────────────────────────────────────── */
.purpose { padding-block: var(--section); border-top: 1px solid var(--rule); background: var(--paper-2); }
.purpose__grid { display: grid; gap: var(--s-6); }
.purpose__head h2 { max-width: 11ch; margin-top: var(--s-3); }
.purpose__copy { display: grid; gap: var(--s-4); color: var(--ink-2); font-size: var(--step-1); line-height: 1.6; }
.purpose__signature { margin-top: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--rule); color: var(--ink); font-family: var(--font-voice); font-size: var(--step-2); font-style: italic; line-height: 1.3; }
.purpose__signature span { display: block; margin-top: 4px; color: var(--muted); font-family: var(--font-brand); font-size: var(--step--1); font-style: normal; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.purpose__visual { display: grid; margin-top: clamp(var(--s-7), 6vw, var(--s-9)); overflow: hidden; border-radius: var(--radius); background: var(--night); color: var(--night-fg); }
.purpose__visual figcaption { display: grid; align-content: end; gap: var(--s-3); padding: clamp(var(--s-5), 4vw, var(--s-7)); }
.purpose__visual figcaption strong { max-width: 22ch; font-size: var(--step-3); font-stretch: var(--font-brand-display-stretch); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; }
.purpose__visual .eyebrow { color: var(--aqua); }
.signal { position: relative; min-height: 260px; background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), var(--night-rule) calc(20% - 1px) 20%); }
.signal__bars { position: absolute; inset: 18% 8% 0; display: flex; align-items: flex-end; gap: 7%; }
.signal__bars span { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: var(--aqua); opacity: 0.9; }
.signal__bars span:nth-child(4) { background: var(--signal-on-dark); }
.signal__rules { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 47px, var(--night-rule) 47px 48px); }
@media (min-width: 1024px) {
  .purpose__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); }
  .purpose__visual { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .signal { min-height: 380px; }
}

/* ── Primer (how to read) ────────────────────────────────────────────────────────── */
.primer { padding-block: var(--section); background: var(--night); color: var(--night-fg); }
.primer__head { display: grid; gap: var(--s-5); }
.primer__head h2 { max-width: 13ch; margin-top: var(--s-3); }
.primer__intro { color: var(--night-muted); font-size: var(--step-1); line-height: 1.55; }
.flow { position: relative; display: grid; gap: var(--s-4); margin-top: clamp(var(--s-7), 5vw, var(--s-8)); list-style: none; counter-reset: flow; }
.flow__step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px var(--s-4); align-items: center; }
.flow__no { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--aqua); border-radius: 50%; color: var(--aqua); font-weight: 600; }
.flow__step strong { font-size: var(--step-1); font-weight: 600; }
.flow__step span:last-child { color: var(--night-muted); font-size: 0.95rem; }
@media (min-width: 900px) {
  .primer__head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; gap: var(--s-8); }
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
  .flow::before { content: ""; position: absolute; top: 21px; right: 12%; left: 22px; height: 2px; background: linear-gradient(90deg, var(--aqua), rgba(143, 207, 209, 0.25)); }
  .flow__step { grid-template-columns: 1fr; align-items: start; gap: var(--s-3); }
  .flow__no { grid-row: auto; background: var(--night); }
}
.primer__notes { display: grid; gap: var(--s-4); margin-top: clamp(var(--s-6), 4vw, var(--s-8)); }
.primer__note { padding: var(--s-5); border-top: 3px solid var(--aqua); background: rgba(243, 240, 232, 0.05); }
.primer__note h3 { margin-bottom: var(--s-2); font-size: var(--step-1); }
.primer__note p { color: var(--night-muted); }
@media (min-width: 900px) { .primer__notes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Story overview ──────────────────────────────────────────────────────────────── */
.story__overview { padding-block: var(--section); }
.parts-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); margin-bottom: clamp(var(--s-7), 5vw, var(--s-8)); padding-block: var(--s-3); border-block: 1px solid var(--rule); }
.parts-nav__title { color: var(--muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.parts-nav ol { display: flex; flex-wrap: wrap; gap: 4px var(--s-5); list-style: none; }
.parts-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--ink); font-weight: 500; text-decoration: none; }
.parts-nav a span { color: var(--teal); font-weight: 600; font-variant-numeric: tabular-nums; }
.parts-nav a:hover { text-decoration: underline; }
.groups { display: grid; gap: var(--s-5); }
.group { display: grid; align-content: start; gap: var(--s-3); padding: clamp(var(--s-5), 3vw, var(--s-7)); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper-2); }
.group__index { color: var(--teal); font-size: var(--step--1); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.group h3 { max-width: 20ch; font-size: var(--step-3); font-stretch: var(--font-brand-display-stretch); letter-spacing: -0.025em; }
.group__thesis { max-width: 56ch; color: var(--ink-2); }
.group__topics { display: grid; gap: var(--s-3); margin-top: var(--s-4); list-style: none; }
.topic { display: flex; flex-direction: column; gap: var(--s-2); height: 100%; padding: var(--s-5); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color 0.16s var(--ease); }
.topic:hover { border-color: var(--ink); }
.topic__figure { margin-block: var(--s-2); font-size: clamp(2.4rem, 1.9rem + 2vw, 3.6rem); font-stretch: var(--font-brand-display-stretch); font-weight: 500; line-height: 0.95; letter-spacing: -0.03em; word-spacing: 0.06em; }
.topic__figure--accent { color: var(--signal); }
.topic__title { font-size: 1.06rem; font-weight: 600; line-height: 1.35; }
.topic__text { color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.topic__go { margin-top: auto; padding-top: var(--s-3); color: var(--teal); font-size: var(--step--1); font-weight: 600; }
.topic__go::after { content: " →"; }
@media (min-width: 720px) { .group__topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .group--4 .group__topics { grid-template-columns: 1fr; } }
@media (min-width: 1200px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Varied contrast shells for overview groups */
.group--aqua { border-color: color-mix(in srgb, var(--teal) 30%, var(--rule-strong)); background: color-mix(in srgb, var(--aqua-tint, #e6f3f3) 55%, var(--paper-2)); }
.group--aqua .group__index { color: var(--teal-ink, var(--teal)); }
.group--warm { border-color: color-mix(in srgb, var(--signal) 22%, var(--rule-strong)); background: color-mix(in srgb, var(--signal) 6%, var(--paper-2)); }
.group--warm .group__index { color: var(--signal-ink, var(--signal)); }
.group--night { border-color: rgba(143, 207, 209, 0.22); background: var(--night); color: var(--night-fg); }
.group--night .group__index { color: var(--aqua); }
.group--night .group__thesis { color: var(--night-muted); }
.group--night h3 { color: var(--night-fg); }
.group--night .topic { background: var(--night-2); border-color: rgba(143, 207, 209, 0.16); color: var(--night-fg); }
.group--night .topic:hover { border-color: var(--aqua); }
.group--night .topic__figure--accent { color: var(--signal-on-dark, var(--signal)); }
.group--night .topic__text { color: var(--night-muted); }
.group--night .topic__go { color: var(--aqua); }
.group--night .topic .eyebrow { color: var(--aqua); }

/* ── Parts (chapter groups) ──────────────────────────────────────────────────────── */
.part__opener { position: relative; overflow: clip; padding-block: clamp(var(--s-8), 8vw, var(--s-10)); }
.part__opener .brand-loop--part { top: 50%; right: clamp(-150px, -8vw, -60px); width: min(52vw, 620px); opacity: 0.74; transform: translateY(-50%); }
.part__grid { position: relative; z-index: 1; display: grid; gap: var(--s-5); align-items: end; }
.part__count { font-size: clamp(3.4rem, 2.4rem + 5vw, 7rem); font-stretch: var(--font-brand-display-stretch); font-weight: 500; line-height: 0.85; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.part__count span { font-size: 0.32em; letter-spacing: 0; opacity: 0.8; }
.part__copy h2 { max-width: 16ch; }
.part__copy p { margin-top: var(--s-4); font-size: var(--step-1); line-height: 1.55; }
.part__links { display: grid; list-style: none; border-top: 1px solid currentColor; }
.part__links a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid currentColor; font-weight: 600; text-decoration: none; }
.part__links a::after { content: "→"; }
.part__links a:hover { text-decoration: underline; }
.part--1 .part__opener { background: var(--brand); color: var(--ink); }
.part--1 .part__copy p { color: var(--ink-2); }
.part--2 .part__opener { background: var(--surface); color: var(--ink); border-block: 1px solid var(--rule); }
.part--2 .part__copy p { color: var(--ink-2); }
.part--3 .part__opener { background: var(--sage); color: var(--paper); }
.part--3 .part__copy p { color: var(--sage-fg); }
.part--4 .part__opener { background: var(--brand); color: var(--ink); }
.part--4 .part__copy p { color: var(--ink-2); }
@media (min-width: 1024px) { .part__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: clamp(32px, 4vw, 72px); } }

/* ── Chapters ────────────────────────────────────────────────────────────────────── */
.chapter { padding-block: var(--section) clamp(var(--s-6), 4vw, var(--s-8)); }
.chapter--paper { background: var(--paper); }
.chapter--alt { background: var(--paper-2); }
.chapter__head { display: grid; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-6); }
.chapter__index { color: var(--teal); font-size: clamp(3rem, 2rem + 4vw, 6rem); font-stretch: var(--font-brand-display-stretch); font-weight: 500; line-height: 0.85; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.chapter__heading { padding-left: var(--s-5); border-left: 6px solid var(--brand); }
.chapter__heading h2 { max-width: 18ch; margin-top: var(--s-3); }
.chapter__intro { color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; }
@media (min-width: 1024px) {
  .chapter__head { grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 4fr); align-items: end; }
}

/* dark chapters (03, 07) */
.chapter--dark { background: var(--night); color: var(--night-fg); }
.chapter--dark .chapter__heading { border-left-color: var(--aqua); }
.chapter--dark .eyebrow, .chapter--dark .chapter__index, .chapter--dark .finding__topic { color: var(--aqua); }
.chapter--dark .chapter__intro, .chapter--dark .finding__measure, .chapter--dark .steps__item dd { color: var(--night-muted); }
.chapter--dark .finding { border-top-color: var(--night-rule); }
.chapter--dark .finding--feature { border-top-color: var(--aqua); }
.chapter--dark .finding__no, .chapter--dark .finding__figure { color: var(--night-fg); }
.chapter--dark .finding__figure small { color: var(--aqua); }
.chapter--dark .finding__measure, .chapter--dark .steps, .chapter--dark .steps__item { border-color: var(--night-rule); }
.chapter--dark .evidence, .chapter--dark .share { border-color: var(--night-rule); color: var(--night-fg); }
.chapter--dark .evidence-mark { color: var(--aqua); }
.chapter--dark .share:hover { border-color: var(--aqua); }
.chapter--dark .steps__item dt { color: var(--aqua); }
.chapter--dark .steps__item--action { border-left-color: var(--aqua); background: rgba(143, 207, 209, 0.1); }
.chapter--dark .steps__item--action dd { color: var(--night-fg); }
.chapter--dark .voice { border-left-color: var(--signal-on-dark); }
.chapter--dark .voice figcaption { color: var(--night-muted); }
.chapter--dark .caveat { border-color: var(--night-rule); border-left-color: var(--aqua); background: var(--night-2); color: var(--night-fg); }
.chapter--dark .caveat__label { color: var(--night-muted); }
.chapter--dark .caveat a { color: var(--night-fg); }
.chapter--dark .pair__cell { border-color: var(--night-rule); background: var(--night-2); color: var(--night-fg); }
.chapter--dark .pair__cell .pair__label { color: var(--aqua); }
.chapter--dark .pair__cell .pair__text { color: var(--night-muted); }
.chapter--dark .pair__cell--accent { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.chapter--dark .pair__cell--accent .pair__label { color: var(--teal); }
.chapter--dark .pair__cell--accent .pair__text { color: var(--ink-2); }

/* ── Interludes (source photographs) ─────────────────────────────────────────────── */
.interlude { padding-block: clamp(var(--s-7), 6vw, var(--s-9)); background: var(--paper); }
.interlude--learning .photo { display: grid; gap: var(--s-4); }
.interlude--learning .photo__frame { max-width: 720px; aspect-ratio: 4 / 5; }
.interlude--cinematic .photo__frame { aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
  .interlude--learning .photo { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: var(--s-7); }
  .interlude--learning .photo__frame { aspect-ratio: 16 / 11; max-width: none; }
  .interlude--learning .photo__caption { margin: 0; max-width: 38ch; font-size: 0.95rem; }
  .interlude--cinematic .photo__frame { aspect-ratio: 21 / 9; }
}
.interlude__grid { display: grid; gap: var(--s-5); }
.texture { position: relative; display: grid; align-content: space-between; gap: var(--s-6); min-height: 320px; padding: clamp(var(--s-5), 3vw, var(--s-7)); overflow: hidden; border-radius: var(--radius); background: var(--night); color: var(--night-fg); }
.texture::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgba(143, 207, 209, 0.14) calc(20% - 1px) 20%), repeating-linear-gradient(0deg, transparent 0 calc(20% - 1px), rgba(143, 207, 209, 0.14) calc(20% - 1px) 20%); }
.texture > * { position: relative; }
.texture__words { display: grid; gap: 0; }
.texture__words span { display: block; padding-block: var(--s-2); border-bottom: 1px solid var(--night-rule); font-size: var(--step-3); font-stretch: var(--font-brand-display-stretch); font-weight: 500; letter-spacing: -0.03em; }
.texture__text { color: var(--night-muted); }
.interlude--collage .photo__frame { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .interlude__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr); align-items: stretch; } .interlude--collage .photo__frame { aspect-ratio: auto; height: clamp(380px, 40vw, 540px); } }

/* ── Continuation (qualitative call to action) ───────────────────────────────────── */
.continuation { overflow: clip; padding-block: var(--section); background: var(--night); color: var(--night-fg); }
.continuation .brand-loop--continuation { bottom: -34%; left: -18%; width: min(74vw, 720px); opacity: 0.38; }
.continuation__grid { position: relative; z-index: 1; display: grid; gap: var(--s-7); }
.continuation h2 { max-width: 12ch; margin-top: var(--s-3); }
.continuation__intro { margin-top: var(--s-5); color: var(--night-muted); font-size: var(--step-1); line-height: 1.55; }
.questions { margin-top: var(--s-6); list-style: none; border-top: 1px solid var(--night-rule); }
.questions li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--night-rule); }
.questions__no { display: grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid var(--aqua); border-radius: 50%; color: var(--aqua); font-weight: 600; }
.questions li > div > strong { display: block; font-size: var(--step-1); }
.questions li > div > span { display: block; margin-top: 2px; color: var(--night-muted); font-size: 0.97rem; }
.continuation__act { align-self: start; }
.continuation .btn--primary { background: var(--brand); color: var(--ink); }
.continuation .btn--primary:hover { background: #d7f0f3; }
@media (min-width: 1024px) { .continuation__grid { grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr); gap: clamp(48px, 7vw, 120px); align-items: center; } }

/* ── Recommendations ─────────────────────────────────────────────────────────────── */
.recommendations { padding-block: var(--section); background: var(--paper-2); }
.personal { padding: clamp(var(--s-5), 4vw, var(--s-8)); border-radius: var(--radius); background: var(--paper); }
.personal__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-6); }
.personal__head h3 { max-width: 20ch; margin-top: var(--s-3); font-size: var(--step-3); font-stretch: var(--font-brand-display-stretch); }
.personal__head p { color: var(--ink-2); }
@media (min-width: 1024px) { .personal__head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: var(--s-8); } }
.organization { margin-top: clamp(var(--s-8), 8vw, var(--s-10)); }
.organization__label { display: inline-block; margin-bottom: var(--s-5); padding: 4px 10px; border-radius: 2px; background: var(--ink); color: var(--paper); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.section-head--sub { margin-bottom: var(--s-7); }

/* ── Experiment ──────────────────────────────────────────────────────────────────── */
.experiment { padding-block: var(--section); }
.experiment__grid { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .experiment__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s-8); } .rules { position: sticky; top: calc(var(--header-offset) + 8px); } }

/* ── Methodology (evidence ledger) ──────────────────────────────────────────────── */
.methodology { padding-block: var(--section); background: var(--paper-2); }
.methodology__ledger { display: grid; gap: 0; border: 1px solid var(--rule-strong); border-radius: var(--radius); overflow: hidden; }
.methodology__entry { padding: clamp(var(--s-5), 3vw, var(--s-7)); border-bottom: 1px solid var(--rule); }
.methodology__entry:last-child { border-bottom: 0; }
.methodology__entry h3 { margin-bottom: var(--s-4); font-size: var(--step-2); }
.methodology__entry--sample { background: var(--surface, var(--paper)); }
.methodology__entry--who { background: var(--paper-2); }
.methodology__entry--limits { background: color-mix(in srgb, var(--signal) 4%, var(--paper-2)); }
.methodology__note { margin-top: var(--s-3); color: var(--muted); font-size: var(--step--1); }
.methodology__caveat { margin-top: var(--s-6); padding: var(--s-5); border: 2px solid var(--signal); border-left-width: 4px; border-radius: var(--radius); background: color-mix(in srgb, var(--signal) 6%, var(--paper)); }
.ruled--limits li { position: relative; padding-left: 22px; }
.ruled--limits li::before { content: ""; position: absolute; top: calc(var(--s-3) + 0.62em); left: 0; width: 10px; height: 2px; background: var(--signal); }
@media (min-width: 1024px) { .methodology__ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); } .methodology__entry { border-bottom: 0; border-right: 1px solid var(--rule); } .methodology__entry:last-child { border-right: 0; } }

/* ── FAQ ─────────────────────────────────────────────────────────────────────────── */
.faq { padding-block: var(--section); }
.faq__grid { display: grid; gap: var(--s-6); }
.faq__head h2 { max-width: 14ch; margin-top: var(--s-3); }
.faq__head p { margin-top: var(--s-4); color: var(--ink-2); }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s-8); } .faq__head { position: sticky; top: calc(var(--header-offset) + 8px); align-self: start; } }

/* ── Citation ────────────────────────────────────────────────────────────────────── */
.cite { padding-block: var(--section); background: var(--aqua-tint); }
.cite__grid { display: grid; gap: var(--s-6); }
.cite__card { display: grid; align-content: start; gap: var(--s-4); padding: clamp(var(--s-5), 3vw, var(--s-7)); border-radius: var(--radius); background: var(--surface); }
.cite__card h3 { font-size: var(--step-2); }
.cite__text { padding: var(--s-4) var(--s-5); border-left: 3px solid var(--teal); background: var(--paper-2); font-size: var(--step-1); line-height: 1.5; }
.cite__text code { font-family: var(--font-brand); }
.cite__help { color: var(--ink-2); }
.cite__card .btn { justify-self: start; }
.cite__steps { display: grid; gap: var(--s-3); padding-left: 1.4em; color: var(--ink); }
.cite__steps li::marker { color: var(--teal); font-weight: 600; }
.cite__rules { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--rule-strong); }
.cite__rules h3 { margin-bottom: var(--s-2); font-size: var(--step-1); }
.cite__rules p { color: var(--ink-2); }
@media (min-width: 1024px) { .cite__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-8); } }

/* ── Team ────────────────────────────────────────────────────────────────────────── */
.team { padding-block: var(--section); }
.authors { display: grid; gap: var(--s-5); margin-block: var(--s-6); padding: clamp(var(--s-5), 3vw, var(--s-6)); border-block: 1px solid var(--rule-strong); background: var(--aqua-tint); }
.authors__head { display: grid; gap: var(--s-3); }
.authors__head h3 { font-size: var(--step-2); }
.authors__head p { max-width: 76ch; color: var(--ink-2); }
.authors__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.author-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: start; gap: var(--s-2) var(--s-4); min-width: 0; padding: var(--s-3); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.author-card__photo { grid-column: 1; grid-row: 1 / span 3; display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--rule); border-radius: var(--radius); }
.author-card__body { display: contents; }
.author-card__body h4 { grid-column: 2; grid-row: 1; align-self: end; overflow-wrap: anywhere; font-family: var(--font-heading); font-size: var(--step-1); line-height: 1.15; }
.author-card__role { grid-column: 2; grid-row: 2; color: var(--teal-ink); font-size: var(--step--1); font-weight: 600; line-height: 1.4; }
.author-card__bio { grid-column: 1 / -1; grid-row: 4; color: var(--ink-2); font-size: var(--step--1); line-height: 1.45; }
.author-card__link { grid-column: 2; grid-row: 3; display: inline-flex; align-items: center; justify-self: start; min-height: 44px; color: var(--teal-ink); font-size: var(--step--1); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.team__facts { display: grid; gap: 18px; padding-top: var(--s-3); }
.team__grid { display: grid; gap: var(--s-6); }
.team__col h3 { margin-bottom: var(--s-4); font-size: var(--step-1); }
.team__col--people li { color: var(--ink); font-size: var(--step-1); font-weight: 500; }
@media (max-width: 899px) {
  .authors { gap: var(--s-4); margin-block: var(--s-5); padding: var(--s-4); }
  .authors__grid { gap: var(--s-2); }
  .author-card { gap: var(--s-1) var(--s-4); padding: var(--s-2); }
  .author-card__bio { line-height: 1.4; }
}
@media (min-width: 900px) {
  .authors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
  .author-card { grid-template-columns: 112px minmax(0, 1fr); gap: var(--s-3) var(--s-5); padding: var(--s-5); }
}
@media (min-width: 900px) { .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Live qualitative answers ────────────────────────────────────────────────────── */
.answers { padding-block: var(--section); background: var(--aqua-tint); border-top: 1px solid var(--rule); }
.stream-flag { display: inline-flex; margin-bottom: var(--s-5); padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px; background: var(--brand); color: var(--ink); font-size: 0.95rem; font-weight: 600; }
.live-overview { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); }
.live-card { padding: clamp(var(--s-4), 3vw, var(--s-5)); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.live-card h3 { margin-bottom: var(--s-4); font-size: var(--step-1); }
.live-card--questions { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.live-card--questions h3 { color: var(--aqua); }
.live-card--questions ol { display: grid; gap: var(--s-3); padding-left: 1.35rem; }
.live-card--questions li { padding-left: var(--s-2); color: var(--night-fg); line-height: 1.45; }
.live-card--questions li::marker { color: var(--aqua); font-weight: 600; }
.live-card--quotes ul { display: grid; gap: var(--s-3); list-style: none; }
.live-card--quotes li { padding-left: var(--s-3); border-left: 3px solid var(--teal); }
.live-card--quotes li:nth-child(even) { border-left-color: var(--signal); }
.live-card--quotes blockquote { margin: 0; }
.live-card--quotes blockquote p { font-family: var(--font-voice); font-size: 1.08rem; font-style: italic; line-height: 1.35; }
@media (min-width: 760px) {
  .live-overview { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .live-card--quotes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.answers .finding__figure small { color: var(--signal-ink); }

/* ==========================================================================
   Motion + graphics layer (CSS only). Static state is final & readable;
   html.motion-on adds reversible transform/opacity driven by JS vars:
   --scene (0..1 progress), --scene-y, --px, --py (-1..1 pointer).
   ========================================================================== */
:root { --mo-ease: cubic-bezier(.2,.7,.2,1); --mo-dur: .7s; --mo-ink: currentColor; }

/* ---- Sculpture: real 3D rig ------------------------------------------- */
.sculpture { position: relative; overflow: clip; contain: paint; perspective: 1100px; perspective-origin: 50% 40%; isolation: isolate; }
.sculpture__rig { position: relative; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-22deg); will-change: transform; }
.sculpture__sheet, .sculpture__field, .sculpture__light, .sculpture__glass { transform-style: preserve-3d; backface-visibility: hidden; }
.sculpture__field { transform: translateZ(-60px); background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--mo-ink) 9%, transparent) 0 1px, transparent 1px 24px), repeating-linear-gradient(0deg, color-mix(in srgb, var(--mo-ink) 6%, transparent) 0 1px, transparent 1px 24px); }
.sculpture__sheet { transform: translateZ(0); box-shadow: 0 1px 0 color-mix(in srgb, var(--mo-ink) 14%, transparent), 0 24px 40px -18px rgb(0 0 0 / .32), 0 60px 80px -40px rgb(0 0 0 / .22); }
.sculpture__sheet:nth-child(2) { transform: translateZ(40px) translateY(-6%); }
.sculpture__sheet:nth-child(3) { transform: translateZ(80px) translateY(-12%); }
.sculpture__sheet:nth-child(4) { transform: translateZ(120px) translateY(-18%); }
.sculpture__glass { transform: translateZ(150px); background: linear-gradient(135deg, rgb(255 255 255 / .28), rgb(255 255 255 / .04) 45%, rgb(255 255 255 / 0) 60%); border: 1px solid rgb(255 255 255 / .22); -webkit-backdrop-filter: blur(6px) saturate(1.2); backdrop-filter: blur(6px) saturate(1.2); }
.sculpture__light { position: absolute; inset: -20%; pointer-events: none; transform: translateZ(170px); mix-blend-mode: soft-light; background: radial-gradient(40% 35% at calc(35% + var(--px, 0) * 20%) calc(30% + var(--py, 0) * 20%), rgb(255 255 255 / .55), transparent 70%); }
html.motion-on .sculpture__rig { transform: rotateX(calc(14deg - var(--py, 0) * 6deg + var(--scene, 0) * 6deg)) rotateY(calc(-22deg + var(--px, 0) * 9deg + var(--scene, 0) * 14deg)) translateZ(calc(var(--scene, 0) * 30px)); transition: transform var(--mo-dur) var(--mo-ease); }
html.motion-on .sculpture__sheet:nth-child(2) { transform: translateZ(calc(40px + var(--scene, 0) * 18px)) translateY(-6%); }
html.motion-on .sculpture__sheet:nth-child(3) { transform: translateZ(calc(80px + var(--scene, 0) * 36px)) translateY(-12%); }
html.motion-on .sculpture__sheet:nth-child(4) { transform: translateZ(calc(120px + var(--scene, 0) * 54px)) translateY(-18%); }
html.motion-on .sculpture__sheet { transition: transform var(--mo-dur) var(--mo-ease); }

.sculpture__sheet.sculpture__sheet--a { transform: translateZ(0); }
.sculpture__sheet.sculpture__sheet--b { transform: translateZ(40px) translateY(-6%); }
.sculpture__sheet.sculpture__sheet--c { transform: translateZ(80px) translateY(-12%); }
html.motion-on .sculpture__sheet.sculpture__sheet--b { transform: translateZ(calc(40px + var(--scene, 0) * 18px)) translateY(-6%); }
html.motion-on .sculpture__sheet.sculpture__sheet--c { transform: translateZ(calc(80px + var(--scene, 0) * 36px)) translateY(-12%); }

/* The decorative sheets are overlays, not flow content: bounding the rig keeps
   the cover photograph and headline in the intended two-column hierarchy. */
.sculpture { width: clamp(132px, 18vw, 252px); height: clamp(184px, 26vw, 352px); position: absolute; inset: 4% auto auto -3%; z-index: 2; pointer-events: none; }
.cover__stage { position: relative; isolation: isolate; }
.sculpture--front { width: clamp(118px, 16vw, 220px); height: clamp(166px, 23vw, 314px); inset: auto -3% 5% auto; z-index: 4; }
.sculpture__rig { width: 100%; height: 100%; }
.sculpture__field, .sculpture__shadow, .sculpture__sheet, .sculpture__glass { position: absolute; display: block; box-sizing: border-box; }
.sculpture__field { inset: 8% 5% 4%; border: 1px solid color-mix(in srgb, var(--mo-ink) 16%, transparent); }
.sculpture__shadow { inset: 15% 2% 0 12%; background: rgb(0 0 0 / .16); filter: blur(18px); transform: translateZ(-72px) rotate(-7deg); }
.sculpture__sheet { width: 76%; aspect-ratio: 200 / 260; right: 5%; bottom: 6%; overflow: hidden; background: var(--paper, #f5f0e6); border: 1px solid color-mix(in srgb, var(--mo-ink) 26%, transparent); }
.sculpture__sheet svg { display: block; width: 100%; height: 100%; }
.sculpture__sheet--a { left: 7%; right: auto; bottom: 13%; }
.sculpture__sheet--b { right: 0; }
.sculpture__sheet--c { width: 84%; right: 6%; bottom: 3%; }
.sculpture__glass { inset: 4% 3% 2% 9%; }
.sheet__paper { fill: var(--paper, #f5f0e6); }
.sheet__margin, .sheet__grid { fill: none; stroke: color-mix(in srgb, var(--mo-ink) 27%, transparent); stroke-width: 1; }
.sheet__head, .sheet__line { fill: color-mix(in srgb, var(--mo-ink) 50%, transparent); }
.sheet__mark { fill: var(--signal, #70c6b5); }

/* ---- Depth scenes: four distinct compositions ------------------------- */
.scene { position: relative; display: block; width: min(100%, 620px); min-height: clamp(148px, 22vw, 288px); overflow: clip; contain: paint; perspective: 900px; isolation: isolate; }
.scene > * { transform-style: preserve-3d; }
.scene > svg { display: block; width: 100%; height: 100%; }
.scene__plane, .scene__louver { position: absolute; display: block; box-sizing: border-box; }
.scene--strata .scene__plane { width: 84%; height: 19%; left: calc(8% + var(--k) * 2%); top: calc(12% + var(--k) * 13%); transform: perspective(900px) rotateX(60deg) translateZ(calc(var(--k) * -26px)); transform-origin: 50% 100%; background: linear-gradient(135deg, color-mix(in srgb, var(--signal, #70c6b5) 36%, var(--paper, #f5f0e6)), color-mix(in srgb, var(--mo-ink) 22%, transparent)); border: 1px solid color-mix(in srgb, var(--mo-ink) 34%, transparent); box-shadow: 0 10px 16px rgb(0 0 0 / .13); }
.scene--louvers { background: linear-gradient(135deg, color-mix(in srgb, var(--mo-ink) 9%, transparent), transparent); }
.scene--louvers .scene__louver { top: 7%; bottom: 7%; width: 8%; left: calc(7% + var(--k) * 10.5%); transform: rotateY(-24deg) translateZ(calc(var(--k) * 7px)); transform-origin: 0 50%; background: linear-gradient(90deg, color-mix(in srgb, var(--mo-ink) 42%, transparent), color-mix(in srgb, var(--signal, #70c6b5) 38%, var(--paper, #f5f0e6))); border-inline: 1px solid color-mix(in srgb, var(--mo-ink) 34%, transparent); box-shadow: 8px 0 10px rgb(0 0 0 / .12); }
.scene__facet { fill: color-mix(in srgb, var(--signal, #70c6b5) calc(20% + var(--k) * 10%), var(--paper, #f5f0e6)); stroke: color-mix(in srgb, var(--mo-ink) 38%, transparent); stroke-width: 1.5; transform-origin: center; }
.scene__crease { fill: none; stroke: color-mix(in srgb, var(--mo-ink) 46%, transparent); stroke-width: 2; }
.scene__step { transform-box: fill-box; transform-origin: 50% 100%; }
.scene--steps .iso__ground { fill: color-mix(in srgb, var(--mo-ink) 10%, transparent); }
html.motion-on .scene--strata .scene__plane { transform: perspective(900px) rotateX(60deg) translateZ(calc(var(--k) * -26px + var(--scene, 0) * (var(--k) + 1) * 12px)); }
html.motion-on .scene--louvers .scene__louver { transform: rotateY(calc(-24deg + var(--scene, 0) * 19deg)) translateZ(calc(var(--k) * 7px)); }
html.motion-on .scene--folds .scene__facet { transform: rotateY(calc((1 - var(--scene, 1)) * 9deg)); }
html.motion-on .scene--steps .scene__step { transform: translateY(calc((1 - var(--scene, 1)) * (var(--k) + 1) * 7px)); }
/* Scene children own their transforms; generic reveal only governs uncomposed scenes. */
html.motion-on [data-scene]:not(.sculpture):not(.scene) > * { opacity: calc(.35 + var(--scene, 1) * .65); transform: translate3d(0, calc((1 - var(--scene, 1)) * 24px), 0); transition: opacity var(--mo-dur) var(--mo-ease), transform var(--mo-dur) var(--mo-ease); }
html.motion-on .sculpture__rig, html.motion-on .scene > * { opacity: 1; }

/* strata: stacked horizontal planes receding in Z */
.scene--strata { perspective-origin: 50% 0%; background: linear-gradient(180deg, transparent 0 60%, color-mix(in srgb, var(--mo-ink) 6%, transparent)); }
.scene--strata::before, .scene--strata::after { content: ""; position: absolute; inset: 30% -10% auto; height: 40%; pointer-events: none; transform: rotateX(62deg) translateZ(-40px); background: repeating-linear-gradient(0deg, color-mix(in srgb, var(--mo-ink) 14%, transparent) 0 1px, transparent 1px 14px); }
.scene--strata::after { inset: 46% -10% auto; transform: rotateX(62deg) translateZ(-110px); opacity: .55; }
/* folds: zig-zag paper folds via alternating rotateY */
.scene--folds { perspective-origin: 50% 50%; background: linear-gradient(90deg, rgb(0 0 0 / .06) 0 25%, rgb(255 255 255 / .05) 25% 50%, rgb(0 0 0 / .06) 50% 75%, rgb(255 255 255 / .05) 75%); }
.scene--folds::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 24.5%, color-mix(in srgb, var(--mo-ink) 18%, transparent) 25%, transparent 25.5%, transparent 49.5%, color-mix(in srgb, var(--mo-ink) 18%, transparent) 50%, transparent 50.5%, transparent 74.5%, color-mix(in srgb, var(--mo-ink) 18%, transparent) 75%, transparent 75.5%); }
/* louvers: vertical slats rotated on Y, light through gaps */
.scene--louvers::before { content: ""; position: absolute; inset: 0; pointer-events: none; transform: rotateY(-18deg) translateZ(-30px); background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--mo-ink) 12%, transparent) 0 10px, transparent 10px 22px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 20% 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20% 80%, transparent); }
/* steps: ascending terraces */
.scene--steps::before { content: ""; position: absolute; inset: auto 0 0; height: 60%; pointer-events: none; transform-origin: 50% 100%; transform: rotateX(48deg); background: linear-gradient(90deg, color-mix(in srgb, var(--mo-ink) 5%, transparent) 0 20%, color-mix(in srgb, var(--mo-ink) 9%, transparent) 20% 40%, color-mix(in srgb, var(--mo-ink) 13%, transparent) 40% 60%, color-mix(in srgb, var(--mo-ink) 17%, transparent) 60% 80%, color-mix(in srgb, var(--mo-ink) 21%, transparent) 80%); box-shadow: inset 0 -30px 40px -30px rgb(0 0 0 / .25); }
html.motion-on .scene--strata::before { transform: rotateX(62deg) translateZ(calc(-40px + var(--scene, 0) * 40px)) translateY(calc(var(--scene-y, 0) * -20px)); }
html.motion-on .scene--strata::after { transform: rotateX(62deg) translateZ(calc(-110px + var(--scene, 0) * 70px)); }
html.motion-on .scene--folds > * { transform: rotateY(calc((var(--px, 0) * 4deg) + (1 - var(--scene, 1)) * 8deg)); }
html.motion-on .scene--louvers::before { transform: rotateY(calc(-18deg + var(--scene, 0) * 30deg)) translateZ(-30px); }
html.motion-on .scene--steps::before { transform: rotateX(calc(48deg - var(--scene, 0) * 14deg)); }
html.motion-on .scene::before, html.motion-on .scene::after, html.motion-on .scene > * { transition: transform var(--mo-dur) var(--mo-ease), opacity var(--mo-dur) var(--mo-ease); }

/* Reveal applies only to ordinary scenes; composed sculpture/stages keep their own transforms. */
html.motion-on [data-scene]:not(.sculpture):not(.scene) > * { opacity: calc(.35 + var(--scene, 1) * .65); transform: translate3d(0, calc((1 - var(--scene, 1)) * 24px), 0); transition: opacity var(--mo-dur) var(--mo-ease), transform var(--mo-dur) var(--mo-ease); }

/* ---- Group art: isometric SVG tones (used by SCENES/part openers) ---- */
.iso { transform-style: preserve-3d; }
.iso__top, .iso-top { fill: color-mix(in srgb, var(--mo-ink) 10%, #fff); stroke: color-mix(in srgb, var(--mo-ink) 55%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.iso__left, .iso-left { fill: color-mix(in srgb, var(--mo-ink) 28%, #fff); stroke: color-mix(in srgb, var(--mo-ink) 55%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.iso__right, .iso-right { fill: color-mix(in srgb, var(--mo-ink) 46%, #fff); stroke: color-mix(in srgb, var(--mo-ink) 55%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.iso__shadow, .iso-shadow { fill: rgb(0 0 0 / .14); filter: blur(.5px); }
.iso__line, .iso-line { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.iso__layer, .iso-layer { transform-box: fill-box; transform-origin: 50% 100%; }
html.motion-on .iso__layer, html.motion-on .iso-layer { transition: transform var(--mo-dur) var(--mo-ease); }
html.motion-on .iso__layer:nth-of-type(2), html.motion-on .iso-layer:nth-of-type(2) { transform: translateY(calc(var(--scene, 1) * -6px)); }
html.motion-on .iso__layer:nth-of-type(3), html.motion-on .iso-layer:nth-of-type(3) { transform: translateY(calc(var(--scene, 1) * -12px)); }
html.motion-on .iso__layer:nth-of-type(4), html.motion-on .iso-layer:nth-of-type(4) { transform: translateY(calc(var(--scene, 1) * -18px)); }

/* ---- 3D group rigs: real HTML/CSS layered compositions ---------------- */
.group-rig { position: relative; width: min(100%, 280px); height: 190px; perspective: 600px; perspective-origin: 50% 42%; }
.group-rig__stage { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(16deg) rotateY(-20deg); }
.group-rig__layer { position: absolute; display: block; box-sizing: border-box; transform: translateZ(calc(var(--z) * 1px)); backface-visibility: hidden; }

/* Use rig: stacked research sheets rising into an organized block */
.group-rig--use .group-rig__slab { bottom: 0; left: 10%; right: 10%; height: 12%; background: color-mix(in srgb, var(--mo-ink) 12%, transparent); border-radius: 2px; }
.group-rig--use .group-rig__sheet { bottom: 12%; left: 14%; width: 52%; height: 48%; background: var(--paper, #f5f0e6); border: 1px solid color-mix(in srgb, var(--mo-ink) 22%, transparent); border-radius: 3px; box-shadow: 0 4px 14px rgb(0 0 0 / .1); }
.group-rig--use .group-rig__sheet--b { left: 20%; width: 48%; }
.group-rig--use .group-rig__cap { bottom: 18%; right: 12%; width: 30%; height: 52%; background: var(--signal, #70c6b5); border-radius: 3px; box-shadow: 0 8px 22px rgb(0 0 0 / .14); }

/* Frame rig: gateway the work must pass through */
.group-rig--frame .group-rig__floor { bottom: 0; left: 6%; right: 6%; height: 8%; background: color-mix(in srgb, var(--mo-ink) 10%, transparent); border-radius: 2px; }
.group-rig--frame .group-rig__post { bottom: 8%; width: 13%; height: 68%; background: color-mix(in srgb, var(--mo-ink) 20%, var(--paper, #f5f0e6)); border: 1px solid color-mix(in srgb, var(--mo-ink) 18%, transparent); border-radius: 2px; }
.group-rig--frame .group-rig__post--l { left: 10%; }
.group-rig--frame .group-rig__post--r { right: 10%; }
.group-rig--frame .group-rig__lintel { top: 10%; left: 10%; right: 10%; height: 12%; background: var(--signal, #70c6b5); border-radius: 3px; box-shadow: 0 6px 18px rgb(0 0 0 / .12); }
.group-rig--frame .group-rig__pass { bottom: 20%; left: 30%; width: 36%; height: 36%; background: var(--paper, #f5f0e6); border: 1px solid color-mix(in srgb, var(--mo-ink) 16%, transparent); border-radius: 3px; box-shadow: 0 4px 12px rgb(0 0 0 / .08); }

/* Transfer rig: central hub distributing to satellites */
.group-rig--transfer .group-rig__web { inset: 22%; border: 1px dashed color-mix(in srgb, var(--mo-ink) 18%, transparent); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--mo-ink) 8%, transparent), transparent 70%); }
.group-rig--transfer .group-rig__sat { width: 24%; height: 26%; background: var(--paper, #f5f0e6); border: 1px solid color-mix(in srgb, var(--mo-ink) 18%, transparent); border-radius: 3px; box-shadow: 0 3px 10px rgb(0 0 0 / .08); }
.group-rig--transfer .group-rig__sat--a { top: 6%; left: 6%; }
.group-rig--transfer .group-rig__sat--b { top: 6%; right: 6%; }
.group-rig--transfer .group-rig__sat--c { bottom: 6%; right: 20%; }
.group-rig--transfer .group-rig__core { top: 26%; left: 30%; width: 34%; height: 42%; background: var(--signal, #70c6b5); border-radius: 4px; box-shadow: 0 8px 22px rgb(0 0 0 / .14); }

/* 3D rig motion: use --scene-y from app.js scroll coordinator */
html.motion-on .group-rig__stage { transform: rotateX(calc(16deg + var(--scene-y, 0) * -8deg)) rotateY(calc(-20deg + var(--scene-y, 0) * 10deg)); transition: transform var(--mo-dur) var(--mo-ease); }
html.motion-on .group-rig__layer { transition: transform var(--mo-dur) var(--mo-ease); }

/* ---- Purpose–method transition 3D illustration ----------------------- */
.purpose__transition { position: relative; width: min(100%, 320px); height: 110px; margin: var(--s-6) auto 0; perspective: 800px; perspective-origin: 50% 60%; }
.purpose__transition-stage { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(22deg) rotateY(-8deg); }
.purpose__transition-layer { position: absolute; display: block; box-sizing: border-box; left: 10%; width: 80%; height: 26%; transform: translateZ(calc(var(--z) * 1px)); backface-visibility: hidden; border-radius: 3px; box-shadow: 0 4px 12px rgb(0 0 0 / .07); }
.purpose__transition-layer:nth-child(1) { bottom: 0; background: color-mix(in srgb, var(--night) 8%, var(--paper-2, #fffdf8)); border: 1px solid color-mix(in srgb, var(--mo-ink) 14%, transparent); }
.purpose__transition-layer:nth-child(2) { bottom: 22%; left: 14%; width: 72%; background: color-mix(in srgb, var(--teal) 14%, var(--paper, #f5f0e6)); border: 1px solid color-mix(in srgb, var(--mo-ink) 16%, transparent); }
.purpose__transition-layer:nth-child(3) { bottom: 44%; left: 18%; width: 64%; background: var(--signal, #70c6b5); border: 1px solid color-mix(in srgb, var(--mo-ink) 10%, transparent); }

/* ---- Chart graphics: transform-only bars (never tables/labels/scales) -- */
:where(.chart, .chart__plot, .chart__graphic, figure) svg :where(rect, path)[class*="bar"]:not([class*="label"]):not([class*="axis"]):not([class*="scale"]),
:where(.chart, .chart__plot, .chart__graphic) :where(.chart__bar, .bar):not(table *):not(text) { transform-box: fill-box; transform-origin: 0 100%; }
html.motion-on [data-scene] :where(.chart, .chart__plot, .chart__graphic, figure) svg :where(rect, path)[class*="bar"]:not([class*="label"]):not([class*="axis"]):not([class*="scale"]),
html.motion-on [data-scene] :where(.chart, .chart__plot, .chart__graphic) :where(.chart__bar, .bar):not(table *):not(text) { transform: scale(1, calc(.08 + var(--scene, 1) * .92)); transition: transform var(--mo-dur) var(--mo-ease); }
/* The report uses HTML bars. --grow is written only by the IO-gated coordinator;
   scaleX preserves every stored width, label and shared scale exactly. */
html.motion-on .chart .bars__fill { transform: scaleX(var(--grow, 1)); transform-origin: 0 50%; transition: transform .42s var(--mo-ease); transition-delay: calc(var(--i, 0) * 45ms); }

/* ---- Responsive: flatter, simpler on small screens -------------------- */
@media (max-width: 720px) {
  .sculpture, .scene, .group-rig { perspective: 1400px; }
  .sculpture__rig, html.motion-on .sculpture__rig { transform: rotateX(10deg) rotateY(-12deg); }
  .sculpture__glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sculpture__light { display: none; }
  .scene--strata::after, .scene--louvers::before { display: none; }
  /* Keep real group-rig depth and scroll rotation on mobile; simplify only folded art. */
  html.motion-on .scene--folds > * { transform: none; }
}

/* ---- Compact editorial rhythm: keep complete copy, reduce wrappers ---- */
.section-head { gap: 20px; margin-bottom: 36px; }
.chapter__head { gap: 20px 32px; margin-bottom: 32px; }
.section-head h2, .chapter__heading h2 { max-width: 24ch; margin-top: 8px; }
.section-head__intro, .chapter__intro { font-size: clamp(1rem, .9rem + .3vw, 1.18rem); line-height: 1.5; }
.group__thesis { line-height: 1.5; }
@media (max-width: 719px) {
  .section-head { margin-bottom: 24px; gap: 14px; }
  .chapter__head { gap: 12px; margin-bottom: 24px; }
  .section-head h2, .chapter__heading h2 { font-size: clamp(1.85rem, 7.5vw, 2.5rem); line-height: 1.05; }
  .group { padding-block: 32px; }
  .group__topics { margin-top: 16px; gap: 12px; }
  .group__topics > li { min-width: 0; }
  .topic { padding: 16px; gap: 7px; }
  .topic__figure { margin-block: 3px; font-size: 2.15rem; line-height: 1; }
  .topic__title { font-size: 1rem; line-height: 1.25; }
  .topic__text { font-size: .9375rem; line-height: 1.4; }
  .topic__go { padding-top: 7px; }
  .group__thesis { margin-top: 12px; }
  .methodology__grid { gap: 28px; }
}
/* Subsections enter as coordinated groups; never transform data labels separately. */
@media (prefers-reduced-motion: no-preference) {
  html.motion-on .motion-subsection > * {
    opacity: calc(.2 + var(--e, 1) * .8);
    transform: translate3d(0, calc((1 - var(--e, 1)) * 42px), 0);
    transition: transform .65s cubic-bezier(.2,.7,.2,1), opacity .65s ease;
  }
  html.motion-on .motion-subsection > :nth-child(2) { transition-delay: 70ms; }
  html.motion-on .motion-subsection > :nth-child(3) { transition-delay: 120ms; }
  html.motion-on svg.group__art {
    transform: perspective(1000px) rotateX(calc(var(--scene-y, 0) * -8deg)) rotateY(calc(var(--scene-y, 0) * 10deg)) translateY(calc(var(--scene-y, 0) * -14px));
  }
  html.motion-on .group__art svg { transform: none; }
  html.motion-on .iso__layer:nth-of-type(2) { transform: translateY(calc(var(--scene-y, 0) * -12px)); }
  html.motion-on .iso__layer:nth-of-type(3) { transform: translateY(calc(var(--scene-y, 0) * -24px)); }
  html.motion-on .iso__layer:nth-of-type(4) { transform: translateY(calc(var(--scene-y, 0) * -36px)); }
}

/* ---- Reduced motion: final readable state, no transitions ------------- */
@media (prefers-reduced-motion: reduce) {
  html.motion-on .sculpture__rig { transform: rotateX(14deg) rotateY(-22deg); }
  html.motion-on :is(.group__art, .group__art svg), html.motion-on .iso__layer, html.motion-on .iso-layer,
  html.motion-on [data-scene]:not(.sculpture):not(.scene) > *,
  html.motion-on [data-scene] :where(.chart, .chart__plot, .chart__graphic, figure) svg :where(rect, path)[class*="bar"],
  html.motion-on [data-scene] :where(.chart, .chart__plot, .chart__graphic) :where(.chart__bar, .bar) { transform: none !important; opacity: 1 !important; }
  .sculpture *, .scene, .scene *, .scene::before, .scene::after, .group__art *, [data-scene], [data-scene] * { transition: none !important; animation: none !important; }
}

/* ---- Editorial compression: tiered findings, one action, native details ------------
   lead = the chapter's dominant conclusion (big figure, wide exhibit); support = compact
   secondary finding. Visible surface: figure, short H3, subtitle, "Co měří" with its caveat,
   the evidence graphic and one action; the complete source text opens in .finding__more. */
.finding--lead {
  margin-block: var(--s-5) var(--s-7);
  padding: clamp(var(--s-5), 4vw, var(--s-7));
  border: 1px solid var(--rule-strong);
  border-top: 8px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
}
.finding--support { padding-block: clamp(28px, 4vw, 56px); border-top-width: 1px; border-top-color: var(--rule-strong); }
.finding--lead .finding__title { max-width: 22ch; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.06; letter-spacing: -0.025em; }
.finding--support .finding__title { max-width: 30ch; font-size: clamp(1.25rem, 1.12rem + .55vw, 1.6rem); line-height: 1.15; }
.finding--support .finding__figure { font-size: clamp(2.6rem, 1.9rem + 2.8vw, 4.6rem); }
.finding__lead { gap: 14px; }
.finding__sub { max-width: 46ch; color: var(--ink); font-size: var(--step-1); font-weight: 500; line-height: 1.38; text-wrap: pretty; }
.finding--support .finding__sub { font-size: 1.04rem; }
.finding__core { max-width: 62ch; padding-top: 12px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
.finding__core-label, .finding__act-label, .finding__more-label { color: var(--teal-ink); font-size: var(--step--1); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.finding__body { gap: 22px; }
.finding__act { display: grid; gap: 2px; max-width: 64ch; padding: 12px 16px; border-left: 3px solid var(--teal); background: color-mix(in srgb, var(--aqua-tint) 55%, transparent); color: var(--ink); font-weight: 500; line-height: 1.45; }
@media (min-width: 1024px) {
  .finding--support { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

/* balanced two-value comparison: one shared 0–100 % scale, direct labels */
.compare { display: grid; gap: 8px; max-width: 30rem; margin: 2px 0 4px; }
.compare__caption { color: var(--muted); font-size: var(--step--1); font-weight: 600; }
.compare__scale { font-weight: 500; }
.compare__rows { display: grid; gap: 6px; list-style: none; }
.compare__row { display: grid; grid-template-columns: minmax(6.5rem, 9.5rem) minmax(0, 1fr) 3.4rem; align-items: center; gap: 10px; font-size: .9rem; }
.compare__label { color: var(--ink-2); font-weight: 500; }
.compare__track { position: relative; height: 12px; border-radius: 2px; background: var(--chart-track); overflow: hidden; }
.compare__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); min-width: 2px; background: var(--chart-base); }
.compare__row--a .compare__fill { background: var(--chart-hl); }
.compare__value { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }

/* native disclosures (closed by default, keyboard + no-JS) */
:is(.finding__more, .group__more, .index__fold, .cover__more, .purpose__more, .rec__more) > summary,
.rules__more > summary, .tip__more > summary { cursor: pointer; list-style: none; }
:is(.finding__more, .group__more, .index__fold, .cover__more, .purpose__more, .rec__more, .rules__more, .tip__more) > summary::-webkit-details-marker { display: none; }
:is(.finding__more, .group__more, .index__fold, .cover__more, .purpose__more, .rec__more) > summary {
  position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-height: 44px; padding: 11px 36px 11px 0;
  border-top: 1px solid var(--rule); color: var(--teal-ink); font-weight: 600; line-height: 1.3;
}
:is(.finding__more, .group__more, .index__fold, .cover__more, .purpose__more, .rec__more, .rules__more, .tip__more) > summary::after {
  content: ""; position: absolute; top: 50%; right: 8px; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
:is(.finding__more, .group__more, .index__fold, .cover__more, .purpose__more, .rec__more, .rules__more, .tip__more)[open] > summary::after { margin-top: -2px; transform: rotate(225deg); }
:is(.finding__more, .group__more, .index__fold, .cover__more, .purpose__more, .rec__more) > summary:hover { color: var(--ink); }
.finding__more-hint { color: var(--muted); font-size: var(--step--1); font-weight: 500; }
.finding__more-body { display: grid; gap: 18px; padding: 6px 0 4px; }
.finding__more-body .finding__measure { padding-top: 0; border-top: 0; }
.finding__source-title { display: grid; gap: 2px; color: var(--ink); font-weight: 600; line-height: 1.35; }
.finding__more-body .voice blockquote p { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.6rem); }

/* dark chapters */
.chapter--dark .finding--lead { border-color: var(--night-rule); border-top-color: var(--aqua); background: var(--night-2); }
.chapter--dark .finding__sub { color: var(--night-fg); }
.chapter--dark .finding__core { border-color: var(--night-rule); color: var(--night-muted); }
.chapter--dark :is(.finding__core-label, .finding__act-label, .finding__more-label) { color: var(--aqua); }
.chapter--dark .finding__act { border-left-color: var(--aqua); background: rgba(143, 207, 209, .1); color: var(--night-fg); }
.chapter--dark .finding__more > summary { border-color: var(--night-rule); color: var(--aqua); }
.chapter--dark .finding__more > summary:hover { color: var(--night-fg); }
.chapter--dark :is(.finding__more-hint, .compare__caption) { color: var(--night-muted); }
.chapter--dark .finding__source-title, .chapter--dark .compare__value { color: var(--night-fg); }
.chapter--dark .compare__label { color: var(--night-muted); }
.chapter--dark .compare__track { background: rgba(243, 240, 232, .1); }
.chapter--dark .compare__fill { background: var(--aqua); }
.chapter--dark .compare__row--a .compare__fill { background: var(--signal-on-dark); }

/* overview: four core statements; chapter links keep figure + one claim (+ caveat) */
.topic__note { color: var(--signal-ink); font-size: .88rem; font-weight: 500; line-height: 1.35; }
.group--night .topic__note { color: var(--signal-on-dark); }
.group__more { margin-top: 4px; }
.group__more > summary { font-size: .95rem; }
.group__more ul { display: grid; gap: 10px; padding: 4px 0 6px; list-style: none; }
.group__more li { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.group__more-label { display: block; color: var(--teal-ink); font-size: var(--step--1); font-weight: 650; }
.group--night .group__more > summary, .group--night .group__more-label { color: var(--aqua); border-color: var(--night-rule); }
.group--night .group__more li { color: var(--night-muted); }

/* index: tools stay visible, the 19 rows fold */
.index__fold > summary { margin-top: 4px; font-size: 1.02rem; }
.index__fold[open] > summary { margin-bottom: 4px; }

/* hero / purpose / recommendations / experiment folds */
.cover__more { max-width: 60ch; margin-top: 20px; }
.cover__more .cover__lede { margin-top: 4px; }
.purpose__more > summary { font-size: 1rem; }
.purpose__more p + p { margin-top: 12px; }
.rec__more { margin-top: 16px; }
.rec__more > summary { font-size: .95rem; }
.rec__more .rec__grid { padding-top: 8px; }
.rules__more > summary { position: relative; min-height: 44px; padding: 10px 32px 10px 0; }
.rules__more > summary h3 { margin-bottom: 0; }
.rules__more[open] > summary h3 { margin-bottom: var(--s-4); }
.rules__more > summary::after { color: var(--aqua); }
.tip { display: block; }
.tip__more > summary { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: baseline; gap: 6px var(--s-4); min-height: 44px; padding: 10px 32px 10px 0; }
.tip__more > summary::after { color: var(--teal); }
.tip__more > summary .tip__no { grid-row: auto; }
.tip__more > p { margin: 6px 0 0 calc(3rem + var(--s-4)); }
@media (min-width: 1024px) {
  .tip__more > summary { grid-template-columns: 1fr; }
  .tip__more > p { margin-left: 0; }
}
@media (min-width: 1200px) {
  /* recommendation: heading column + the two visible fields side by side, plan/measure fold below */
  .rec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--s-7); align-items: start; }
  .rec__head { grid-row: span 2; margin-bottom: 0; }
  .rec .rec__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rec__more { grid-column: 2; }
}

@media (max-width: 719px) {
  .cover .brand-loop--cover { top: 2%; right: -42%; width: 118vw; opacity: 0.24; }
  .part__opener .brand-loop--part { right: -42%; width: 104vw; opacity: 0.28; }
  .continuation .brand-loop--continuation { bottom: -8%; left: -58%; width: 132vw; opacity: 0.22; }
  .chapter__heading { padding-left: var(--s-4); border-left-width: 4px; }
  .finding--lead { margin-inline: calc(var(--gutter) * -0.25); }
}

/* structural.css */
/* Progressive-disclosure layout. This file follows the legacy component sheets so
   the simplified renderer has one explicit, compact visual contract. */

/* Hero */
.cover--compact { padding-block: clamp(44px, 5vw, 76px); }
.cover--compact .cover__grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
.cover--compact .cover__copy { max-width: 62rem; }
.cover--compact .cover__title { max-width: 13ch; }
.cover--compact .cover__sub { max-width: 38ch; }
.cover--compact .keyfigs { width: 100%; margin-top: 6px; }
.cover--compact .trust-note { padding: 18px 20px; border-left: 4px solid var(--signal); background: rgb(255 255 255 / .72); line-height: 1.55; }
.cover--compact .trust-note p { max-width: 88ch; }
.hero-purpose { border-bottom: 1px solid var(--rule-strong); }
.hero-purpose .purpose__signature { max-width: 40rem; }
@media (max-width: 767px) {
  .cover__cta--secondary { display: none; }
}
@media (min-width: 900px) {
  .cover--compact .keyfigs { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  /* Higher specificity than sections.css' bare .cover__grid media rule, so the hero grid must
     repeat the two-column split here or the compact single-column override above wins at any width. */
  .cover--compact .cover__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(40px, 5vw, 88px); }
}

/* Shared native disclosure */
details:not([open]) > :not(summary) { display: none !important; }
.compact-disclosure { border-top: 1px solid var(--rule-strong); }
.compact-disclosure > summary {
  position: relative;
  min-height: 48px;
  padding: 13px 42px 13px 2px;
  color: var(--teal-ink);
  font-weight: 650;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.compact-disclosure > summary::-webkit-details-marker { display: none; }
.compact-disclosure > summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 500 1.1rem/1 var(--font-body);
}
.compact-disclosure[open] > summary::after { content: "−"; }
.compact-disclosure__body { display: grid; gap: 18px; padding: 10px 0 26px; }
.compact-disclosure__body > p { max-width: 76ch; color: var(--ink-2); }
.compact-disclosure--dark { border-color: var(--night-rule); }
.compact-disclosure--dark > summary { color: var(--aqua); }

/* Executive summary */
.executive { padding-block: clamp(56px, 7vw, 96px); background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.executive__head { display: grid; gap: 12px; margin-bottom: 32px; }
.executive__head h2 { max-width: 18ch; }
.executive__head p:last-child { color: var(--ink-2); }
.executive__groups { display: grid; gap: 18px; }
.executive__group { padding: 22px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.executive__group-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.executive__group-head h3 { margin-bottom: 0; font-size: 1.12rem; color: var(--teal-ink); }
.executive__glyph { flex-shrink: 0; display: inline-flex; color: var(--teal); opacity: 0.8; transition: transform 0.2s ease; }
.executive__group:hover .executive__glyph { transform: translateY(-2px); }
.executive__group h3 { margin-bottom: 14px; font-size: 1.12rem; color: var(--teal-ink); }
.executive__group ul { display: grid; gap: 0; list-style: none; }
.executive__group li { display: grid; grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid var(--rule); }
.executive__group li strong { font-family: var(--font-heading); font-size: 1.55rem; line-height: 1; letter-spacing: -.025em; }
.executive__group li span { color: var(--ink-2); line-height: 1.48; }
.mini-index { margin-top: 26px; }
.mini-index ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 14px; padding: 8px 0 24px; list-style: none; }
.mini-index a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: .94rem; }
.source-overview { margin-top: 24px; }
.source-overview__body { display: grid; gap: 24px; padding: 12px 0 28px; }
.source-overview__body section { display: grid; gap: 9px; }
.source-overview__body section > p { color: var(--ink-2); }
.source-overview__body ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.source-overview__body li { display: grid; gap: 5px; padding: 16px; border: 1px solid var(--rule); background: var(--surface); }
.source-overview__body li > strong { font-family: var(--font-heading); font-size: 1.4rem; }
.source-overview__body li > p { color: var(--ink-2); }
@media (min-width: 800px) {
  .executive__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .executive__head .eyebrow { grid-column: 1 / -1; }
  .executive__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-index ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Story and four thematic chapters */
.story__intro { display: grid; gap: 12px; padding-block: clamp(48px, 6vw, 78px) 24px; }
.story__intro h2 { max-width: 21ch; }
.story__intro p:last-child { color: var(--ink-2); }
.report-chapter { padding-block: clamp(42px, 5vw, 72px); border-top: 1px solid var(--rule-strong); }
.report-chapter:nth-of-type(even) { background: var(--paper-2); }
.report-chapter .chapter__head { margin-bottom: 12px; }
.report-chapter__thesis { max-width: 68ch; margin: 0 0 18px auto; color: var(--ink-2); font-weight: 500; }
.report-chapter__links ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 28px; list-style: none; }
.report-chapter__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal-ink); font-weight: 600; }
.finding-group { padding-block: 22px; border-top: 1px solid var(--rule); }
.finding-group__head { display: grid; gap: 8px; margin-bottom: 14px; }
.finding-group__head h3 { max-width: 34ch; font-size: clamp(1.35rem, 1.12rem + .7vw, 1.85rem); }
.finding-group__head > p:last-child { max-width: 76ch; color: var(--ink-2); }
.finding-list { border-bottom: 1px solid var(--rule-strong); }

/* Every finding is one closed, native row. */
.finding-row { border-top: 1px solid var(--rule-strong); background: transparent; }
.finding-row > summary {
  position: relative;
  display: grid;
  grid-template-columns: 7.2rem minmax(6rem, 9rem) minmax(0, 1fr) 7rem;
  gap: 14px 22px;
  align-items: center;
  min-height: 96px;
  padding: 15px 46px 15px 2px;
  list-style: none;
  cursor: pointer;
}
.finding-row > summary::-webkit-details-marker { display: none; }
.finding-row > summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font: 500 1.2rem/1 var(--font-body);
}
.finding-row[open] > summary::after { content: "−"; background: var(--ink); color: var(--paper); }
.finding-row[open] > summary { background: color-mix(in srgb, var(--brand) 16%, transparent); }
.finding-row__no { color: var(--teal-ink); font-size: .78rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.finding-row__figure.finding__figure { margin: 0; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1; letter-spacing: -.025em; }
.finding-row__figure.finding__figure small { font-size: .42em; }
.finding-row__copy { display: grid; gap: 5px; }
.finding-row__title { font-family: var(--font-heading); font-size: 1.14rem; font-weight: 600; line-height: 1.2; }
.finding-row__interpretation { max-width: 68ch; color: var(--ink-2); font-size: .93rem; line-height: 1.42; }
.finding-row__kind { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .76rem; font-weight: 600; }
.finding-row__body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px 48px; padding: 28px 24px 42px; border-top: 1px solid var(--rule); background: var(--surface); }
.finding-row__source, .finding-row__evidence { display: grid; align-content: start; gap: 18px; min-width: 0; }
.finding-row__source .finding__title { font-size: 1.45rem; }
.finding-row__source .finding__topic { color: var(--teal-ink); font-size: .8rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.finding-row__source .finding__measure { padding-top: 12px; }
.finding-row__body .share { grid-column: 1; min-height: 44px; }
.finding-row__evidence > * { min-width: 0; }
.finding-row--qualitative > summary { grid-template-columns: 6.5rem minmax(5rem, 8rem) minmax(0, 1fr) 7rem; }
@media (max-width: 799px) {
  .finding-row > summary, .finding-row--qualitative > summary { grid-template-columns: minmax(5.4rem, 7.5rem) minmax(0, 1fr); gap: 8px 14px; padding-block: 14px; min-height: 110px; }
  .finding-row__no { grid-column: 1; }
  .finding-row__figure.finding__figure { grid-column: 1; grid-row: 2; align-self: start; }
  .finding-row__copy { grid-column: 2; grid-row: 1 / span 2; }
  .finding-row__kind { display: none; }
  .finding-row__body { grid-template-columns: 1fr; gap: 26px; padding: 24px 14px 34px; }
  .finding-row__body .share { grid-column: 1; }
}

/* Compact qualitative continuation */
.continuation--compact { padding-block: clamp(50px, 6vw, 82px); }
.continuation--compact .continuation__grid { gap: 34px; align-items: center; }
.continuation--compact .continuation__intro { margin-top: 18px; }
.continuation--compact .continuation__copy > .btn { margin-top: 24px; }
.continuation__answers-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: 14px; color: var(--aqua); font-weight: 600; }
.continuation--compact .cta-box__note { max-width: 60ch; margin-top: 10px; }
.continuation__questions { margin-top: 18px; }
.continuation__questions .questions { margin-top: 8px; }
.continuation--compact .qr { padding: 18px; }
.continuation--compact .qr img { width: min(190px, 100%); }
.embed-disclosure { margin-top: 24px; }
.embed-disclosure .embed { margin-top: 4px; }
.answers--compact { padding-block: clamp(50px, 6vw, 82px); }
.answers--compact .section-head { margin-bottom: 20px; }
.answers--compact .live-overview { margin-bottom: 26px; }
.finding-list--qualitative { margin-top: 20px; }
.media-archive { margin-block: 26px 54px; }
.media-archive__grid { display: grid; gap: 20px; padding: 12px 0 28px; }
.archive-photo { display: grid; gap: 10px; }
.archive-photo img { width: 100%; max-height: 340px; object-fit: cover; border-radius: var(--radius); }
.archive-photo figcaption, .archive-texture { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.archive-texture { display: grid; gap: 5px; padding: 12px; border: 1px solid var(--rule); }
.loop-archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.loop-archive .brand-loop { position: static; width: 100%; opacity: .35; }
@media (min-width: 900px) {
  .continuation--compact .continuation__grid { grid-template-columns: minmax(0, 8fr) minmax(15rem, 4fr); }
  .media-archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loop-archive { grid-column: 1 / -1; max-width: 34rem; }
}

/* Recommendations */
.recommendations--compact { padding-block: clamp(54px, 7vw, 92px); }
.recommendations--compact .personal { padding: clamp(22px, 3vw, 38px); }
.principles { display: grid; gap: 16px; list-style: none; }
.principles li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 12px; padding-top: 16px; border-top: 1px solid var(--rule-strong); }
.principles li > span { color: var(--teal); font-family: var(--font-heading); font-size: 1.4rem; }
.principles h4 { margin-bottom: 5px; }
.principles p { color: var(--ink-2); }
.secondary-guidance { margin-top: 22px; }
.secondary-guidance > ul { display: grid; gap: 18px; padding: 10px 0 24px; list-style: none; }
.secondary-guidance li p { margin-top: 4px; color: var(--ink-2); }
.recommendations--compact .organization { margin-top: clamp(56px, 7vw, 86px); }
.usecase-photo { display: grid; gap: 16px; margin-bottom: clamp(26px, 3.4vw, 38px); }
.usecase-photo .photo__frame { aspect-ratio: 16 / 9; }
.usecase-photo__body { display: grid; gap: 10px; align-content: start; }
.usecase-photo__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.usecase-photo__tags li { padding: 4px 11px; border: 1px solid var(--rule-strong); border-radius: 999px; color: var(--ink-2); font-size: var(--step--1); font-weight: 600; }
@media (min-width: 700px) {
  .usecase-photo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--s-6); }
  .usecase-photo .photo__frame { aspect-ratio: 4 / 3; }
}
.recommendations--compact .recs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec--compact { display: flex; flex-direction: column; padding: 22px; }
.rec--compact .rec__head { margin-bottom: 18px; }
.rec--compact .rec__grid--visible { grid-template-columns: 1fr; }
.rec--compact .rec__more { margin-top: auto; padding-top: 14px; }
.rec--compact .compact-disclosure > summary { font-size: .92rem; }
.secondary-rec { display: grid; gap: 18px; padding: 12px 0 28px; }
.experiment-fold { margin-top: 36px; border-bottom: 1px solid var(--rule-strong); }
.experiment-fold > summary { font-family: var(--font-heading); font-size: 1.35rem; }
.experiment-fold__body { display: grid; gap: 20px; padding: 14px 0 32px; }
.experiment-fold__body > p:not(.eyebrow) { max-width: 72ch; color: var(--ink-2); }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .recommendations--compact .recs { grid-template-columns: minmax(0, 1fr); } }

/* Methodology and trust hub */
.methodology--compact { padding-block: clamp(54px, 7vw, 92px); }
.trust-panel { padding: clamp(22px, 3vw, 34px); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--brand); }
.trust-panel h3 { margin-bottom: 14px; }
.trust-panel__label { margin-bottom: 10px; color: var(--teal-ink); font-size: .8rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.trust-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 30px; padding-left: 1.2em; }
.trust-panel li { line-height: 1.48; }
.trust-stack { margin-top: 28px; border-bottom: 1px solid var(--rule-strong); }
.trust-disclosure > summary { font-size: 1.05rem; }
.trust-disclosure .compact-disclosure__body { padding: 18px 18px 34px; }
.trust-disclosure .flow { margin-top: 8px; }
.trust-disclosure .primer__notes { margin-top: 8px; }
.trust-disclosure .primer__note { background: var(--paper); color: var(--ink); }
.trust-disclosure .primer__note p { color: var(--ink-2); }
.trust-disclosure .faq__list, .trust-disclosure .team__grid { margin-top: 4px; }
.trust-disclosure .cite__card { padding: 20px; }
@media (max-width: 700px) { .trust-panel ul { grid-template-columns: 1fr; } }

@media (max-width: 520px) {
  .executive__group li { grid-template-columns: 1fr; gap: 7px; }
  .mini-index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter__index { font-size: 2.5rem; }
  .report-chapter .chapter__heading { padding-left: 14px; }
  .stream-flag { display: block; border-radius: var(--radius); line-height: 1.45; }
  .source-overview__body ul { grid-template-columns: 1fr; }
}

/* print.css */
/* Print: the report prints as a document — chrome hidden, every <details> opened by app.js
   (beforeprint), link targets of external sources printed. */
@media print {
  @page { margin: 16mm 14mm; }
  :root { --section: 24px; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .masthead, .readbar, .progress, .skip-link, .share, .toast, .index__tools, .embed, .cover__ctas, .brand-loop, .masthead__toggle, [data-copy-cite] { display: none !important; }
  .chapter--dark, .primer, .continuation, .part__opener, .texture, .purpose__visual, .rules, .pair__cell--accent { background: #fff !important; color: #000 !important; }
  .chapter--dark *, .primer *, .continuation *, .part__opener *, .rules * { color: #000 !important; border-color: #999 !important; }
  .finding { break-inside: avoid-page; grid-template-columns: 1fr !important; }
  .finding-row { break-inside: avoid-page; }
  .finding-row > summary { grid-template-columns: 28mm 35mm minmax(0, 1fr) !important; min-height: 0; padding: 4mm 0 !important; }
  .finding-row > summary::after, .compact-disclosure > summary::after { display: none !important; }
  .finding-row__kind { display: none !important; }
  .finding-row__body { display: grid !important; grid-template-columns: 1fr !important; padding: 5mm 0 9mm !important; }
  details > :not(summary) { display: block !important; }
  .finding__lead { position: static !important; }
  .chart, .rec, .faq__item, .caveat, .voice, .usecase-photo { break-inside: avoid; }
  .authors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 5mm !important; }
  .author-card { grid-template-columns: 28mm minmax(0, 1fr) !important; gap: 4mm !important; padding: 4mm !important; break-inside: avoid; }
  .author-card__photo { width: 28mm !important; height: 28mm !important; }
  .author-card__body { display: grid !important; }
  .author-card__photo, .author-card__body h4, .author-card__role, .author-card__bio, .author-card__link { grid-column: auto !important; grid-row: auto !important; }
  .author-card__link { min-height: 0; }
  .interlude { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; word-break: break-all; }
  .photo__caption a[href^="http"]::after { content: ""; }
}
