:root {
  --paper: #f3f1ea;
  --paper-2: #ebe8df;
  --ink: #17231e;
  --muted: #667168;
  --green: #165b43;
  --green-2: #0e4634;
  --green-soft: #dfe9e2;
  --line: #d4d8cf;
  --line-strong: #bdc5ba;
  --soft: #e8ece5;
  --white: #fffdf8;
  --amber: #865719;
  --amber-bg: #f1e5cf;
  --shadow: 0 18px 45px rgba(26, 38, 31, .08);
  --shadow-small: 0 8px 24px rgba(26, 38, 31, .07);
  --radius: 14px;
  --radius-sm: 9px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(22, 91, 67, .055), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select { font: inherit; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; }
button:disabled { cursor: wait; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #3b82a0;
  outline-offset: 4px;
}
img, video { max-width: 100%; display: block; }
video { background: #121a16; }
h1, h2, h3, p, figure { margin: 0; }
p + p { margin-top: 16px; }
code { font-size: .94em; }

h1, h2 {
  font-family: Iowan Old Style, Baskerville, Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}
h1 { font-size: clamp(72px, 8.8vw, 132px); }
h2 { font-size: clamp(42px, 5vw, 68px); }
h1 em, h2 em { color: var(--green); font-weight: 400; }
h3 { line-height: 1.25; letter-spacing: -.025em; }
strong { font-weight: 650; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: 56px; padding-right: 56px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 15px 56px;
  border-bottom: 1px solid rgba(189, 197, 186, .7);
  background: rgba(243, 241, 234, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  min-width: 47px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.06em;
  color: var(--green);
  background: rgba(255, 253, 248, .72);
}
.wordmark > span:last-child { font-size: 12px; font-weight: 700; letter-spacing: -.01em; }
.nav nav { display: flex; gap: 6px; align-items: center; font-size: 12px; }
.nav nav a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  color: #3f4b44;
}
.nav nav a:hover { background: rgba(22, 91, 67, .08); color: var(--green); }
.nav .nav-cn { border: 1px solid var(--line-strong); margin-left: 3px; background: rgba(255,255,255,.45); }

.hero { padding-top: 56px; }
.eyebrow, .section-number, .teaser-kicker {
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 750;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; color: #445148; }
.dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(22, 91, 67, .08); }
.date { margin-left: auto; color: var(--muted); }
.hero-copy {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 78px;
  align-items: end;
  padding: 38px 0 50px;
}
.hero-aside { padding-bottom: 7px; }
.deck { font-size: clamp(20px, 2vw, 28px); line-height: 1.36; letter-spacing: -.035em; max-width: 560px; }
.hero-aside > p:not(.deck) { color: var(--muted); max-width: 570px; font-size: 14px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 15px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 253, 248, .5);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.button:hover { transform: translateY(-1px); background: var(--white); border-color: #aeb8aa; }
.button.primary { background: var(--green); border-color: var(--green); color: white; }
.button.primary:hover { background: var(--green-2); border-color: var(--green-2); }
.button.quiet { border-color: transparent; background: transparent; color: var(--muted); }
.button.small { min-height: 36px; padding: 8px 12px; font-size: 11px; gap: 8px; }
.micro { font-size: 11px !important; color: var(--muted); line-height: 1.58; }

.hero-film {
  border: 1px solid #28352f;
  border-radius: 18px;
  overflow: hidden;
  background: #121b17;
  color: #eef3ef;
  box-shadow: var(--shadow);
}
.film-label {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 17px;
  color: #c9d3cc;
  font-size: 9px;
  letter-spacing: .13em;
  font-weight: 700;
}
.hero-film video { width: 100%; aspect-ratio: 1792/432; object-fit: cover; }
.hero-film video[poster] { object-position: 50% 53%; }
.hero-film figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 14px 17px;
  color: #cdd7d0;
  font-size: 12px;
}
.hero-film figcaption strong { color: white; margin-left: 5px; }
.text-button { padding: 6px 0 6px 10px; background: transparent; color: white; font-size: 11px; white-space: nowrap; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 28px 0 18px;
}
.metrics > div {
  min-height: 124px;
  padding: 21px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .5);
}
.metrics strong {
  display: block;
  font-family: Iowan Old Style, Baskerville, Georgia, serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.05em;
}
.metrics strong span { font-size: 25px; color: var(--muted); letter-spacing: -.03em; }
.metrics > div > span { display: block; margin-top: 10px; font-size: 11px; color: var(--muted); }
.scope-note { max-width: 900px; padding-top: 4px; color: var(--muted); font-size: 11px; }

.article-teaser {
  margin-top: 74px;
  margin-bottom: 12px;
  padding-top: 54px;
  padding-bottom: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.teaser-kicker { color: var(--green); margin-bottom: 23px; }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.teaser-copy { max-width: 560px; font-family: "PingFang SC", "Microsoft YaHei", ui-sans-serif, sans-serif; }
.teaser-copy p { color: #4f5b53; font-size: 15px; line-height: 1.8; }
.teaser-copy .button { margin-top: 25px; }

.section { padding-top: 96px; padding-bottom: 92px; border-bottom: 1px solid var(--line); }
.section-heading { margin-bottom: 42px; }
.section-number { display: block; margin-bottom: 22px; color: var(--green); }
.row-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 55px; }
.section-intro { max-width: 400px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; }
.prose { max-width: 590px; font-size: 16px; line-height: 1.78; }
.prose p { color: #33423a; }
.inline-link {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose .inline-link { margin-top: 25px; }
.pipeline { list-style: none; margin: 0; padding: 0; }
.pipeline li { display: flex; gap: 20px; position: relative; padding: 0 0 26px; }
.pipeline li:not(:last-child)::after { content: ""; position: absolute; top: 38px; left: 18px; height: calc(100% - 38px); border-left: 1px solid var(--line-strong); }
.pipeline li > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green);
  background: rgba(255, 253, 248, .55);
  font-size: 10px;
  font-weight: 800;
}
.pipeline h3 { margin: 4px 0 6px; font-size: 15px; }
.pipeline p { color: var(--muted); font-size: 12px; }
.boundary {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 34px;
  margin-top: 40px;
  padding: 27px 30px;
  border: 1px solid #c9d5cb;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(223,233,226,.9), rgba(240,241,234,.8));
}
.boundary h3 { font-size: 14px; }
.boundary p { color: #56635b; font-size: 12px; }

.results-section { background: #e9ece5; }
.filters {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
  padding: 19px;
  border: 1px solid #d0d6cd;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .55);
}
label { display: block; font-size: 10px; font-weight: 750; letter-spacing: .02em; }
input[type=search], select {
  width: 100%;
  min-height: 42px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid #c5cdc2;
  border-radius: 8px;
  background: #faf9f4;
  font-size: 12px;
}
input[type=search]::placeholder { color: #829087; }
.check { display: flex; gap: 8px; align-items: center; cursor: pointer; font-size: 11px; font-weight: 500; letter-spacing: 0; }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }
.filters .check { grid-column: 1 / -1; }
.result-summary { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; color: #4d5951; font-size: 11px; }
.legend { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.key { width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; }
.good { background: var(--green); color: white; }
.partial { background: var(--amber-bg); color: var(--amber); border: 1px solid #c9aa72 !important; }
.zero { background: transparent; color: var(--muted); border: 1px solid #aab5a8 !important; }
.key.partial { background: #c59141; border: 0 !important; }
.key.zero { background: #bec7bc; border: 0 !important; }

.explorer { display: grid; grid-template-columns: .95fr 1.05fr; gap: 18px; align-items: start; }
.table-scroll, .trial-view {
  border: 1px solid #cdd3ca;
  border-radius: var(--radius);
  background: #f6f5ef;
  box-shadow: var(--shadow-small);
}
.table-scroll { max-height: 760px; overflow: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.task-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 245, 239, .96);
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.task-table th:first-child { padding-left: 18px; }
.task-table td { padding: 13px 8px; border-bottom: 1px solid #dcdfd8; font-size: 12px; }
.task-table td:first-child { width: 55%; padding-left: 18px; font-size: 12px; font-weight: 650; line-height: 1.35; }
.task-table td small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 500; }
.task-table tr.selected td { background: #dfe8dd; }
.seed-button {
  min-width: 42px;
  min-height: 34px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  position: relative;
  font-size: 10px;
  font-weight: 700;
}
.seed-button[aria-pressed=true] { outline: 2px solid var(--ink); outline-offset: 3px; }
.seed-button:hover { filter: brightness(.95); }
#no-results { padding: 25px; color: var(--muted); font-size: 13px; }

.trial-view { overflow: hidden; min-width: 0; }
.trial-heading { padding: 20px 22px 13px; }
.trial-heading .eyebrow { color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
.trial-heading h3 { margin-top: 8px; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 24px; font-weight: 400; }
.trial-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; margin-top: 11px; color: var(--muted); font-size: 10px; }
.status { padding: 4px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; }
.camera-bar { display: flex; gap: 6px; padding: 0 22px 12px; }
.camera-bar button { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 10px; }
.camera-bar button[aria-pressed=true] { background: var(--green); border-color: var(--green); color: white; }
#trial-video { width: 100%; aspect-ratio: 4 / 3; }
#trial-note { padding: 0 22px 14px; color: var(--muted); font-size: 12px; }
.video-note { padding: 9px 22px; }
.record-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 15px; padding: 0 22px 22px; }
.record-actions .inline-link { font-size: 10px; }
#decision-records { padding: 22px; border-top: 1px solid var(--line); }
.decision-select { margin: 15px 0; }
.decision-rationale { margin: 15px 0; font-size: 12px; }
.decision-image { width: 100%; margin: 12px 0 6px; border: 1px solid var(--line); border-radius: 8px; }
details { padding: 10px 0; border-top: 1px solid var(--line); font-size: 11px; }
summary { cursor: pointer; font-weight: 700; }
pre { max-height: 300px; overflow: auto; padding: 14px; border-radius: 8px; background: #e9ece5; font-size: 10px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }

.dimension-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 36px 0 14px; }
.dim-card { padding: 17px; border: 1px solid #c9d0c6; border-radius: var(--radius); background: rgba(255, 253, 248, .45); }
.dim-card > span { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.dim-card strong { display: block; margin: 9px 0; font-family: Georgia, serif; font-size: 32px; font-weight: 400; line-height: 1.2; }
.dim-card strong small { color: var(--muted); font-size: 16px; }
.dim-track { height: 4px; overflow: hidden; border-radius: 999px; background: #d5ddd2; }
.dim-track span { display: block; height: 100%; background: var(--green); }
.dim-card p { margin-top: 8px; color: var(--muted); font-size: 9px; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 25px; }
.case { padding-bottom: 10px; }
.case img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 13px; box-shadow: var(--shadow-small); }
.case-tag { display: block; margin: 18px 0 10px; color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.muted-tag { color: var(--amber); }
.case h3 { font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 27px; font-weight: 400; }
.case p { margin: 12px 0 16px; color: var(--muted); font-size: 13px; }

.comparison-section { background: #e4ebe4; }
.segmented { display: flex; gap: 0; margin: 0 0 28px; padding: 0; border: 0; }
.segmented legend { margin-bottom: 10px; color: var(--muted); font-size: 10px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.segmented span { display: block; padding: 10px 17px; border: 1px solid #b9c8b9; background: rgba(255,255,255,.2); font-size: 11px; font-weight: 600; }
.segmented label:first-of-type span { border-radius: 999px 0 0 999px; }
.segmented label:last-of-type span { border-radius: 0 999px 999px 0; }
.segmented input:checked + span { background: var(--green); border-color: var(--green); color: white; }
.segmented input:focus-visible + span { outline: 3px solid #367fa2; outline-offset: 3px; }
.comparison-wrap { overflow-x: auto; border-top: 1px solid #c5d1c3; }
.comparison-table { text-align: left; }
.comparison-table th { padding: 12px 20px 12px 0; border-bottom: 1px solid #c5d1c3; color: var(--muted); font-size: 9px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; }
.comparison-table td { padding: 14px 20px 14px 0; border-bottom: 1px solid #d0d8ce; font-size: 13px; }
.comparison-table td:first-child { width: 34%; }
.comparison-table td:nth-child(2) { width: 46%; }
.comparison-table td:last-child, .comparison-table th:last-child { padding-right: 14px; text-align: right; }
.comparison-table tr.ours td { background: #d6e5d8; font-weight: 700; }
.comparison-table tr.ours td:first-child { padding-left: 14px; }
.bar-cell { display: flex; align-items: center; gap: 18px; }
.bar-track { height: 8px; flex: 1; overflow: hidden; border-radius: 999px; background: #d5dfd4; }
.bar-fill { display: block; height: 100%; background: #8d9c8b; }
.ours .bar-fill { background: var(--green); }
.bar-cell > span:last-child { width: 58px; text-align: right; }
.comparison-footer { display: flex; justify-content: space-between; gap: 20px; margin: 19px 0 12px; color: var(--muted); font-size: 11px; }

.overview-video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; box-shadow: var(--shadow); }
.film-controls { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin: 20px 0 13px; }
.film-controls label { min-width: 300px; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.resource {
  display: block;
  min-height: 205px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .42);
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.resource:hover { transform: translateY(-2px); background: var(--white); box-shadow: var(--shadow-small); }
.resource > span { color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.resource h3 { display: flex; justify-content: space-between; gap: 10px; margin: 23px 0 12px; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 24px; font-weight: 400; }
.resource h3 b { color: var(--green); font-family: Arial, sans-serif; font-size: 19px; font-weight: 400; }
.resource p { color: var(--muted); font-size: 12px; }
.featured-resource { background: var(--green); border-color: var(--green); color: white; }
.featured-resource:hover { background: var(--green-2); }
.featured-resource > span, .featured-resource p, .featured-resource h3 b { color: #d8e9df; }
.download-links { display: flex; flex-wrap: wrap; gap: 13px 24px; margin-top: 24px; color: var(--green); font-size: 11px; }
.limitations { display: grid; grid-template-columns: .8fr 1.7fr; gap: 65px; margin-top: 70px; padding-top: 42px; border-top: 1px solid var(--line); }
.limitations h3 { font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 34px; font-weight: 400; line-height: 1.12; }
.limitations p { color: var(--muted); font-size: 13px; }
.limitations p strong { color: var(--ink); }
.about-study { max-width: 920px; margin-top: 42px; padding-top: 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 35px; padding-bottom: 35px; }
.footer > span, .footer > a:last-child { color: var(--muted); font-size: 10px; }
.skip { position: fixed; top: -80px; left: 10px; z-index: 60; padding: 12px 20px; background: var(--green); color: white; }
.skip:focus { top: 10px; }
.noscript { margin: 0; padding: 18px 22px; border-top: 2px solid var(--green); background: white; }
[hidden] { display: none !important; }

@media (min-width: 1500px) {
  .wrap { max-width: 1390px; }
  .hero-copy { gap: 110px; }
}

@media (max-width: 1050px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .nav { padding: 14px 32px; }
  .hero-copy { gap: 38px; }
  h1 { font-size: 92px; }
  .deck { font-size: 21px; }
  .teaser-grid, .method-grid { gap: 42px; }
  .explorer { grid-template-columns: 1fr 1fr; gap: 14px; }
  .task-table td:first-child { padding-left: 11px; font-size: 10px; }
  .task-table th:first-child { padding-left: 11px; }
  .task-table td { padding: 12px 5px; }
  .seed-button { min-width: 34px; padding: 5px; }
  .case-grid { gap: 16px; }
  .resource { padding: 20px; }
  .boundary { grid-template-columns: 170px 1fr; gap: 22px; }
  .nav nav { gap: 1px; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 120px; }
  .wrap { padding-left: 21px; padding-right: 21px; }
  .nav { position: sticky; padding: 13px 21px 11px; flex-wrap: wrap; gap: 7px; }
  .nav nav { width: 100%; flex-wrap: wrap; overflow: visible; justify-content: flex-start; gap: 2px 4px; padding-bottom: 0; }
  .nav nav a { padding: 6px 8px; white-space: nowrap; font-size: 11px; }
  .wordmark > span:last-child { font-size: 11px; }
  .brand-mark { min-width: 43px; height: 29px; }
  .hero { padding-top: 33px; }
  .eyebrow { font-size: 8px; letter-spacing: .09em; }
  .date { font-size: 8px; }
  .hero-copy { grid-template-columns: 1fr; gap: 26px; padding: 27px 0 32px; }
  h1 { font-size: clamp(68px, 18vw, 106px); }
  h2 { font-size: 42px; }
  .hero-aside { padding: 0; }
  .deck { font-size: 21px; max-width: 520px; }
  .hero-aside > p:not(.deck) { max-width: 520px; font-size: 13px; }
  .actions { margin-top: 20px; }
  .hero-film { border-radius: 13px; }
  .film-label { padding: 10px; font-size: 7px; letter-spacing: .05em; }
  .hero-film figcaption { align-items: flex-start; gap: 12px; padding: 11px; font-size: 10px; }
  .hero-film figcaption strong { display: block; margin: 2px 0 0; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 20px; }
  .metrics > div { min-height: 110px; padding: 17px; }
  .metrics strong { font-size: 40px; }
  .article-teaser { margin-top: 48px; padding-top: 42px; padding-bottom: 45px; }
  .teaser-grid { grid-template-columns: 1fr; gap: 26px; }
  .teaser-copy p { font-size: 14px; }
  .section { padding-top: 68px; padding-bottom: 64px; }
  .section-heading { margin-bottom: 31px; }
  .section-number { margin-bottom: 15px; font-size: 9px; }
  .row-heading { display: block; }
  .section-intro { max-width: 100%; margin-top: 22px; font-size: 13px; }
  .method-grid { grid-template-columns: 1fr; gap: 31px; }
  .prose { font-size: 14px; }
  .boundary { display: block; padding: 22px; }
  .boundary h3 { margin-bottom: 10px; }
  .filters { grid-template-columns: 1fr 1fr; padding: 15px; gap: 11px; }
  .filters > label:first-child { grid-column: 1 / -1; }
  .result-summary { display: block; font-size: 10px; }
  .legend { margin-top: 9px; }
  .legend .key:first-child { margin-left: 0; }
  .explorer { grid-template-columns: 1fr; gap: 18px; }
  .table-scroll { max-height: 415px; }
  .task-table td:first-child { padding-left: 15px; font-size: 12px; }
  .task-table th:first-child { padding-left: 15px; }
  .seed-button { min-width: 42px; }
  .trial-heading h3 { font-size: 24px; }
  .dimension-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
  .dim-card { padding: 13px; }
  .dim-card strong { font-size: 28px; }
  .case-grid { grid-template-columns: 1fr; gap: 35px; }
  .case img { max-height: 350px; }
  .case h3 { font-size: 28px; }
  .segmented span { padding: 10px 12px; font-size: 10px; }
  .comparison-table td { padding: 12px 9px 12px 0; font-size: 11px; }
  .comparison-table th { font-size: 8px; }
  .comparison-table td:first-child { min-width: 165px; }
  .comparison-table td:nth-child(2) { min-width: 130px; }
  .comparison-table td:last-child { min-width: 78px; }
  .bar-cell { gap: 8px; }
  .bar-cell > span:last-child { width: 49px; }
  .comparison-footer { display: block; }
  .comparison-footer > span { display: block; margin-top: 10px; }
  .film-controls { display: block; }
  .film-controls label { min-width: 0; }
  .film-controls a { margin-top: 18px; }
  .resource-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .resource { min-height: 195px; padding: 18px; }
  .resource h3 { margin: 16px 0 11px; font-size: 22px; }
  .resource p { font-size: 11px; }
  .limitations { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; padding-top: 31px; }
  .limitations h3 { font-size: 31px; }
  .limitations p { font-size: 12px; }
  .footer { flex-wrap: wrap; }
  .footer .wordmark { width: 100%; }
}

@media (max-width: 480px) {
  .resource-grid { grid-template-columns: 1fr; }
  .resource { min-height: 0; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics strong { font-size: 36px; }
  .button { width: 100%; }
  .actions .button.quiet { width: auto; }
  .dimension-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Compact GitHub Pages additions: decision summaries + four representative clips. */
.worked-example{display:grid;grid-template-columns:1fr 1fr;gap:65px;margin-top:48px;padding-top:35px;border-top:1px solid var(--line)}
.worked-example h3{font-family:Iowan Old Style,Baskerville,Georgia,serif;font-size:30px;font-weight:400;margin-bottom:20px}.worked-example p{font-size:13px;color:var(--muted)}
.worked-steps{list-style:none;counter-reset:step;padding:0;margin:0}.worked-steps li{counter-increment:step;border-bottom:1px solid var(--line);padding:15px 0 15px 40px;position:relative}.worked-steps li:before{content:'0' counter(step);position:absolute;left:0;top:17px;font-size:11px;color:var(--green)}.worked-steps strong{display:block;font-size:14px;margin-bottom:6px}.worked-steps span{font-size:12px;color:var(--muted);display:block}
.method-details{margin-top:28px;font-size:12px}.method-details p{color:var(--muted);margin:14px 0}.trial-takeaway{margin:4px 20px 20px;padding:17px;background:var(--soft);border-radius:var(--radius-sm)}.trial-takeaway h4{margin:0 0 8px;font-size:13px}.trial-takeaway p{font-size:12px;color:var(--muted)}.primitive-counts{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.primitive-counts span{padding:5px 10px;background:var(--soft);font-size:11px;border:1px solid var(--line);border-radius:999px}
.demo-selector{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:25px}.demo-selector button{font-size:12px;padding:10px 14px;border:1px solid var(--line-strong);background:rgba(255,253,248,.5);border-radius:999px}.demo-selector button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.demo-video{width:100%;aspect-ratio:1792/432;object-fit:contain;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-small)}.seed-labels{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;background:#121b17;color:#dae6d9;padding:12px;font-size:10px;letter-spacing:.12em;border-radius:var(--radius) var(--radius) 0 0}.demo-caption{display:flex;justify-content:space-between;gap:20px;margin:16px 0;font-size:13px}.demo-caption span{color:var(--muted);font-size:12px}
@media(max-width:760px){.worked-example{grid-template-columns:1fr;gap:20px}.worked-example h3{font-size:28px}.demo-selector{gap:7px}.demo-selector button{font-size:10px;padding:9px 11px}.demo-caption{display:block}.demo-caption span{display:block;margin-top:6px}.seed-labels{font-size:8px;padding:8px}}
