:root {
  --ink: #102d24;
  --forest: #12372a;
  --forest-2: #0a261e;
  --paper: #f4f0e4;
  --paper-2: #ebe4d4;
  --lime: #b7f34a;
  --coral: #ff684d;
  --cobalt: #3255d4;
  --muted: #6f766f;
  --line: rgba(16, 45, 36, 0.16);
  --sidebar: 272px;
  --rail: 0px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: "Inter", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
html { background: var(--forest-2); }
body { color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 15px; background: var(--lime); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 12px; }

.sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: var(--sidebar); height: 100dvh; overflow: hidden; display: flex; flex-direction: column; background: var(--forest-2); color: #f8f3e8; border-right: 1px solid rgba(255,255,255,.12); }
.brand { min-height: 94px; display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand__specimen { position: relative; flex: 0 0 43px; height: 43px; border: 1px solid rgba(183,243,74,.6); border-radius: 50%; }
.brand__specimen::before { content: ""; position: absolute; width: 2px; height: 26px; background: var(--lime); left: 20px; top: 8px; transform: rotate(8deg); }
.brand__specimen i { position: absolute; width: 14px; height: 8px; border: 1px solid var(--lime); border-radius: 100% 0 100% 0; transform: rotate(35deg); }
.brand__specimen i:nth-child(1) { left: 6px; top: 10px; }
.brand__specimen i:nth-child(2) { right: 5px; top: 18px; transform: rotate(215deg); }
.brand__specimen i:nth-child(3) { left: 7px; bottom: 5px; }
.brand strong { display: block; font-family: var(--serif); font-size: 18px; letter-spacing: .04em; }
.brand small { display: block; margin-top: 4px; color: rgba(248,243,232,.56); font-size: 9px; letter-spacing: .13em; }

.side-nav { padding: 23px 0 8px; }
.side-nav > p { margin: 0 22px 10px; color: rgba(248,243,232,.42); font-size: 10px; letter-spacing: .18em; }
.side-nav a, .side-nav .side-profile-link { position: relative; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; width: 100%; min-height: 49px; padding: 0 20px; color: rgba(248,243,232,.68); background: transparent; border: 0; border-left: 3px solid transparent; text-align: left; cursor: pointer; transition: color .2s ease, background .2s ease; }
.side-nav a:hover, .side-nav a:focus-visible, .side-nav .side-profile-link:hover, .side-nav .side-profile-link:focus-visible { color: #fff; background: rgba(255,255,255,.06); outline: none; }
.side-nav a[aria-current="page"] { color: #fff; background: linear-gradient(90deg, rgba(183,243,74,.17), rgba(183,243,74,.04)); border-left-color: var(--lime); }
.side-nav a[aria-current="page"]::after { content: ""; position: absolute; right: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
.side-nav .nav-icon { font-size: 17px; color: var(--lime); }
.side-nav a > span:nth-child(2), .side-nav .side-profile-link > span:nth-child(2) { font-size: 14px; font-weight: 700; }
.side-nav a small, .side-nav .side-profile-link small { min-width: 24px; padding: 2px 7px; text-align: center; border-radius: 20px; color: rgba(248,243,232,.58); background: rgba(255,255,255,.08); font-size: 9px; }
.side-nav .side-profile-link small { font-size: 12px; }

/* Resource cards size to their text; short screens scroll instead of shrinking glyphs. */
.view.view--resources {
  overflow-y: auto;
  overflow-x: hidden;
  grid-template-rows: max-content max-content max-content;
  align-content: start;
  overscroll-behavior-y: contain;
}
.view--resources .resource-grid {
  grid-template-rows: none;
  grid-auto-rows: max-content;
  align-items: stretch;
}
.view--resources .resource-card__button {
  height: auto;
  min-height: 100%;
  grid-template-rows: clamp(125px, 17vh, 190px) auto;
  align-content: start;
}
.view--resources .resource-card__body { min-width: 0; min-height: auto; gap: 6px; }
.view--resources .resource-card__body > * { flex-shrink: 0; min-width: 0; }
.view--resources .resource-card__body > p:first-child,
.view--resources .resource-card h2,
.view--resources .resource-card__summary,
.view--resources .resource-card__author {
  display: block;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-line-clamp: unset;
  margin: 0;
}
.view--resources .resource-card h2 { line-height: 1.4; }
.view--resources .resource-card__meta { flex-wrap: wrap; gap: 6px 12px; }
.view--resources .resource-pager { min-height: 48px; gap: 12px; }
@media (max-width: 820px) {
  .view--resources .resource-card__button { grid-template-columns: minmax(0, .36fr) minmax(0, .64fr); grid-template-rows: auto; }
  .view--resources .resource-card__image { min-height: 140px; }
  .view--resources .resource-card__image img { position: absolute; inset: 0; }
  .view--resources .resource-pager { grid-template-columns: 1fr; padding: 10px 0; }
}
@media (max-width: 380px) {
  .view--resources .resource-card__button { grid-template-columns: 1fr; grid-template-rows: 140px auto; }
}
.resource-tree { margin: -2px 14px 6px 46px; padding: 8px 0 8px 12px; border-left: 1px solid rgba(183,243,74,.24); }
.resource-tree section + section { margin-top: 8px; }
.resource-tree h2 { margin: 0 0 5px; color: rgba(248,243,232,.42); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.resource-tree button { width: 100%; min-height: 25px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 0 8px; border: 0; border-radius: 0; color: rgba(248,243,232,.66); background: transparent; text-align: left; font-size: 11px; font-weight: 700; cursor: pointer; }
.resource-tree button:hover, .resource-tree button:focus-visible { color: #fff; background: rgba(255,255,255,.06); outline: none; }
.resource-tree button[aria-current] { color: var(--lime); background: rgba(183,243,74,.11); }
.resource-tree small { min-width: 22px; padding: 1px 6px; border-radius: 999px; color: rgba(248,243,232,.56); background: rgba(255,255,255,.07); font-size: 8px; text-align: center; }
.resource-tree button[aria-current] small { color: var(--forest-2); background: var(--lime); }
.sidebar__grow { flex: 1; min-height: 8px; }

.side-contact { display: grid; grid-template-columns: 61px 1fr; gap: 10px; align-items: center; margin: 0 18px 11px; padding: 13px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.035); }
.side-contact strong { font-size: 11px; }
.side-contact p { margin: 5px 0 0; font-size: 9px; line-height: 1.5; color: rgba(248,243,232,.5); }
.side-qr, .large-qr { position: relative; overflow: hidden; background: #f8f3e8; color: var(--forest); }
.side-qr { width: 61px; height: 61px; }
.side-qr span, .large-qr span { position: absolute; width: 25%; aspect-ratio: 1; border: 4px double var(--forest); }
.side-qr span:nth-child(1), .large-qr span:nth-child(1) { left: 7%; top: 7%; }
.side-qr span:nth-child(2), .large-qr span:nth-child(2) { right: 7%; top: 7%; }
.side-qr span:nth-child(3), .large-qr span:nth-child(3) { left: 7%; bottom: 7%; }
.side-qr b { position: absolute; right: 6px; bottom: 6px; font-size: 9px; }
.side-email { margin: 0 20px 12px; color: rgba(248,243,232,.52); font-size: 10px; }
.side-email span { margin-right: 6px; color: var(--coral); }
.side-footer { padding: 10px 18px 13px; border-top: 1px solid rgba(255,255,255,.12); }
.visit-stats__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.visit-stats__head p { margin: 0; font-size: 10px; font-weight: 800; }
.visit-stats__head small { color: rgba(248,243,232,.42); font-size: 8px; }
.visit-stats { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 8px; margin: 8px 0 0; }
.visit-stats div { min-width: 0; padding: 0 7px; border-left: 1px solid rgba(255,255,255,.12); }
.visit-stats div:first-child { padding-left: 0; border-left: 0; }
.visit-stats dt { color: rgba(248,243,232,.45); font-size: 8px; white-space: nowrap; }
.visit-stats dd { overflow: hidden; margin: 2px 0 0; color: var(--lime); font-family: var(--serif); font-size: 15px; font-weight: 800; line-height: 1; text-overflow: ellipsis; }
.side-footer .visit-stats__note { display: block; margin-top: 7px; color: rgba(248,243,232,.36); font-size: 7px; line-height: 1.35; }
.eye-dot { display: inline-block; width: 12px; height: 7px; margin-right: 7px; border: 1px solid var(--coral); border-radius: 100%; }
.eye-dot::after { content: ""; display: block; width: 3px; height: 3px; margin: 1px auto; border-radius: 50%; background: var(--coral); }

.mobile-menu, .sidebar-backdrop { display: none; }
.view-stage { position: fixed; inset: 0 0 0 var(--sidebar); overflow: hidden; background: var(--paper); }
.top-rail { display: none; height: var(--rail); grid-template-columns: 1fr auto 82px; align-items: center; gap: 24px; padding: 0 clamp(22px, 2.4vw, 40px); border-bottom: 1px solid var(--line); background: rgba(244,240,228,.92); }
.top-rail > div:first-child { display: flex; align-items: baseline; gap: 15px; }
.top-rail > div:first-child span { color: var(--coral); font: 700 9px/1 var(--sans); letter-spacing: .16em; }
.top-rail > div:first-child strong { font-family: var(--serif); font-size: 18px; }
.top-rail > p { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .05em; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(183,243,74,.18); }
.rail-actions { display: flex; justify-content: flex-end; gap: 6px; }
.rail-actions button { width: 35px; height: 31px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.rail-actions button:hover { color: #fff; background: var(--forest); transform: scale(1.08); }

.view { width: 100%; height: calc(100dvh - var(--rail)); overflow: hidden; padding: clamp(20px, 2.6vw, 42px); animation: viewIn .34s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.eyebrow { margin: 0; color: var(--forest); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 23px; height: 2px; margin: 0 9px 3px 0; background: var(--coral); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 0 19px; border: 1px solid var(--forest); font-size: 12px; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover, .button:focus-visible { transform: scale(1.075); box-shadow: 0 12px 26px rgba(16,45,36,.18); outline: none; }
.button--primary { color: #fff; background: var(--forest); }
.button--primary span { margin-left: 22px; color: var(--lime); }
.button--ghost { background: transparent; }
.button--lime { background: var(--lime); }

/* Home */
.view--home { display: grid; grid-template-columns: minmax(410px, .92fr) minmax(430px, 1.08fr); grid-template-rows: minmax(0, 1fr) clamp(132px, 18vh, 184px); gap: clamp(14px, 1.6vw, 24px); }
.home-copy { position: relative; z-index: 3; align-self: center; padding: 0 clamp(5px, 1vw, 18px); }
.home-copy h1 { max-width: 760px; margin: 0 0 16px; font: 700 clamp(34px, 3.65vw, 62px)/1.14 var(--serif); letter-spacing: -.035em; }
.home-copy h1 > span { display: block; }
.home-copy h1 em { position: relative; color: var(--forest); font-style: normal; white-space: nowrap; }
.home-copy h1 em::after { content: ""; position: absolute; z-index: -1; left: -3px; right: -3px; bottom: 5px; height: .25em; background: var(--lime); transform: rotate(-1.3deg); }
.home-intro { max-width: 630px; margin: 0; color: var(--muted); font-size: clamp(12px, 1vw, 15px); line-height: 1.85; }
.home-actions { display: flex; gap: 10px; margin-top: clamp(17px, 2.4vh, 28px); }
.home-stats { display: flex; width: min(100%, 510px); margin-top: clamp(18px, 3vh, 34px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-stats div { display: flex; align-items: baseline; gap: 8px; width: 50%; padding: 10px 8px; border-right: 1px solid var(--line); }
.home-stats div:last-child { border: 0; }
.home-stats strong { font: 700 clamp(21px, 2vw, 31px)/1 var(--serif); }
.home-stats span { color: var(--muted); font-size: 9px; }
.home-art { position: relative; min-height: 0; overflow: hidden; background: #dfe7d4; border: 1px solid var(--line); }
.home-art::before { content: ""; position: absolute; inset: 9% 12%; border: 1px solid rgba(16,45,36,.24); border-radius: 50%; transform: rotate(-14deg); }
.home-art::after { content: ""; position: absolute; width: 42%; aspect-ratio: 1; right: -6%; top: -10%; border: 1px solid rgba(16,45,36,.19); border-radius: 50%; }
.archive-label { position: absolute; z-index: 3; left: 16px; top: 14px; font: 700 8px/1.5 var(--sans); letter-spacing: .13em; }
.home-art figure { position: absolute; z-index: 2; margin: 0; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.home-art figure:hover { z-index: 8; transform: scale(1.095) rotate(0deg); box-shadow: 0 22px 50px rgba(16,45,36,.28); }
.home-art__main { left: 11%; top: 7%; width: 56%; height: 80%; background: var(--paper); padding: 7px; transform: rotate(-2deg); }
.home-art__main img { object-position: center 28%; }
.home-art__main figcaption { position: absolute; left: 14px; right: 14px; bottom: 13px; padding: 9px 10px; color: #fff; background: rgba(10,38,30,.88); }
.home-art__main figcaption strong { display: block; font: 700 11px/1 var(--serif); letter-spacing: .1em; }
.home-art__main figcaption span { display: block; margin-top: 4px; color: rgba(255,255,255,.7); font-size: 8px; }
.home-art__pea { right: 4%; bottom: 8%; width: 38%; height: 45%; padding: 5px; background: var(--paper); transform: rotate(4deg); }
.home-art__scope { left: 3%; bottom: 4%; width: 27%; height: 35%; padding: 5px; background: var(--paper); transform: rotate(-6deg); }
.archive-stamp { position: absolute; z-index: 5; right: 4%; top: 5%; display: grid; place-items: center; width: 58px; height: 58px; border: 2px solid var(--coral); border-radius: 50%; color: var(--coral); font: 800 18px/1 var(--serif); transform: rotate(9deg); }
.archive-stamp small { display: block; font: 700 6px/1 var(--sans); letter-spacing: .08em; }
.home-feature { position: relative; overflow: hidden; display: grid; grid-template-columns: 39% 1fr; min-width: 0; border: 1px solid var(--line); background: #fffdf6; transition: transform .24s ease, box-shadow .24s ease; }
.home-feature:hover { z-index: 5; transform: scale(1.06); box-shadow: 0 18px 42px rgba(16,45,36,.2); }
.home-feature > img { min-width: 0; min-height: 0; transition: transform .28s ease; }
.home-feature:hover img { transform: scale(1.12); }
.home-feature > div { align-self: center; min-width: 0; padding: 14px clamp(14px, 1.6vw, 24px); }
.home-feature p { margin: 0 0 6px; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.home-feature h2 { overflow: hidden; margin: 0 0 10px; font: 700 clamp(16px, 1.45vw, 23px)/1.25 var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.home-feature a { font-size: 10px; font-weight: 800; border-bottom: 1px solid var(--ink); }
.home-feature a span { color: var(--coral); }
.home-feature .home-feature__button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 13px 6px 7px; border: 1px solid var(--forest); border-bottom: 1px solid var(--forest); color: #fff; background: var(--forest); box-shadow: 0 8px 18px rgba(10,38,30,.18); font-size: 13px; line-height: 1; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.home-feature .home-feature__button:hover, .home-feature .home-feature__button:focus-visible { color: var(--forest); background: var(--lime); box-shadow: 0 11px 25px rgba(10,38,30,.28); transform: translateY(-2px) scale(1.045); }
.home-feature__button strong { font-weight: 900; letter-spacing: .04em; }
.home-feature .home-feature__finger, .home-feature .home-feature__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--forest); background: var(--lime); font-size: 18px; line-height: 1; transition: transform .2s ease; }
.home-feature .home-feature__icon { font: 900 14px/1 var(--serif); }
.home-feature .home-feature__button:hover .home-feature__finger, .home-feature .home-feature__button:focus-visible .home-feature__finger, .home-feature .home-feature__button:hover .home-feature__icon, .home-feature .home-feature__button:focus-visible .home-feature__icon { background: #fff; transform: translateY(-2px) rotate(-8deg) scale(1.12); }
.home-feature .home-feature__arrow { color: inherit; font-size: 16px; }
.home-feature--qa, .home-feature--models { grid-template-columns: 39% 1fr; }

/* Resources */
.view--resources { display: grid; grid-template-rows: auto minmax(0, 1fr) 43px; gap: 13px; background: var(--forest); color: #fff; }
.resources-head { display: grid; grid-template-columns: minmax(120px, .38fr) minmax(245px, .62fr) minmax(520px, 1.8fr); align-items: end; gap: 15px; }
.resources-head .eyebrow { color: rgba(255,255,255,.68); }
.resources-head h1 { margin: 4px 0 0; font: 700 clamp(28px, 2.6vw, 42px)/1 var(--serif); }
.search-box { display: flex; align-items: center; height: 42px; padding: 0 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); }
.search-box span { margin-right: 8px; color: var(--lime); font-size: 20px; }
.search-box input { width: 100%; border: 0; outline: 0; color: #fff; background: transparent; font-size: 11px; }
.search-box input::placeholder { color: rgba(255,255,255,.45); }
.resource-filter-stack { display: grid; gap: 7px; }
.filter-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.filter-list button { height: 25px; padding: 0 9px; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.65); background: transparent; font-size: 9px; cursor: pointer; }
.filter-list button:hover, .filter-list button[aria-pressed="true"] { color: var(--forest); background: var(--lime); border-color: var(--lime); }
.filter-list--scope button { height: 27px; padding: 0 10px; }
.filter-list--type button { height: 24px; padding: 0 9px; color: rgba(255,255,255,.55); }
.resource-grid { min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: clamp(9px, 1vw, 15px); }
.resource-card { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #fffdf6; color: var(--ink); border: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: transform .24s ease, box-shadow .24s ease; }
.resource-card:hover, .resource-card:focus-within { z-index: 7; transform: scale(1.075); box-shadow: 0 24px 55px rgba(0,0,0,.38); outline: none; }
.resource-card__button { width: 100%; height: 100%; display: grid; grid-template-rows: 55% 45%; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.resource-card__image { position: relative; overflow: hidden; min-height: 0; }
.resource-card__image img { transition: transform .3s ease; }
.resource-card:hover img, .resource-card:focus-within img { transform: scale(1.13); }
.status-chip { position: absolute; right: 8px; top: 8px; padding: 4px 8px; color: #fff; background: var(--forest); border-radius: 20px; font-size: 8px; font-weight: 800; }
.status-chip.is-ready { color: var(--forest); background: var(--lime); }
.status-chip.is-internal { background: var(--cobalt); }
.status-chip.is-building { background: rgba(10,38,30,.84); }
.resource-card__body { min-height: 0; padding: 10px 12px; display: flex; flex-direction: column; }
.resource-card__body > p:first-child { overflow: hidden; margin: 0 0 4px; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .05em; text-overflow: ellipsis; white-space: nowrap; }
.resource-card h2 { display: -webkit-box; overflow: hidden; margin: 0 0 5px; font: 700 clamp(14px, 1.15vw, 18px)/1.25 var(--serif); word-break: break-word; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.resource-card__summary { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.resource-card__author { display: block; overflow: hidden; margin-top: 4px; color: var(--forest); font-size: 8px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.resource-card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.resource-card__meta strong { color: var(--ink); }
.resource-pager { display: grid; grid-template-columns: 1fr auto; align-items: center; border-top: 1px solid rgba(255,255,255,.17); }
.resource-pager p { margin: 0; color: rgba(255,255,255,.54); font-size: 9px; }
.resource-pager > div { display: flex; align-items: center; gap: 12px; }
.resource-pager button { min-width: 80px; height: 29px; border: 1px solid rgba(255,255,255,.24); color: #fff; background: transparent; font-size: 9px; cursor: pointer; }
.resource-pager button:hover:not(:disabled) { color: var(--forest); background: var(--lime); }
.resource-pager button:disabled { opacity: .28; cursor: default; }
.resource-pager span { min-width: 55px; text-align: center; color: var(--lime); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.empty-state { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; place-content: center; text-align: center; border: 1px dashed rgba(255,255,255,.22); }
.empty-state strong { font: 700 26px/1 var(--serif); }
.empty-state p { color: rgba(255,255,255,.55); font-size: 11px; }

/* Classroom */
.view--classroom { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(15px, 2.3vh, 25px); }
.chapter-title { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.chapter-title h1 { max-width: 770px; margin: 0; text-align: right; font: 700 clamp(28px, 3.3vw, 50px)/1.14 var(--serif); letter-spacing: -.03em; }
.method-grid { min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(11px, 1.3vw, 20px); margin: 0; padding: 0; list-style: none; }
.method-grid li { position: relative; min-width: 0; min-height: 0; display: grid; grid-template-rows: 51% 49%; background: #fffdf6; border: 1px solid var(--line); transition: transform .24s, box-shadow .24s; }
.method-grid li:hover { z-index: 4; transform: scale(1.055); box-shadow: 0 20px 44px rgba(16,45,36,.18); }
.method-grid figure { min-height: 0; overflow: hidden; margin: 0; }
.method-grid figure img { transition: transform .3s; }
.method-grid li:hover img { transform: scale(1.11); }
.method-grid li > div { min-height: 0; padding: clamp(12px, 1.6vw, 23px); }
.method-no { position: absolute; z-index: 2; top: 10px; left: 10px; display: grid; place-items: center; width: 42px; height: 42px; color: var(--forest); background: var(--lime); border-radius: 50%; font: 800 13px/1 var(--serif); }
.method-grid small { color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.method-grid h2 { margin: 6px 0 8px; font: 700 clamp(18px, 1.8vw, 28px)/1.15 var(--serif); }
.method-grid p { display: -webkit-box; overflow: hidden; margin: 0 0 10px; color: var(--muted); font-size: clamp(9px, .8vw, 12px); line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.method-grid a { color: var(--forest); font-size: 9px; font-weight: 800; border-bottom: 1px solid var(--forest); }
.chapter-note { margin: 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .06em; }

/* History */
.view--history { padding: 0; color: #fff; background: var(--forest-2); }
.history-app { width: 100%; height: 100%; overflow: hidden; }
.history-home { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(12px, 1.6vh, 20px); padding: clamp(20px, 2.4vw, 38px); }
.history-home__head { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: end; gap: clamp(18px, 2.5vw, 38px); }
.history-home__head .eyebrow { color: rgba(255,255,255,.62); }
.history-home__head h1 { margin: 8px 0 0; font: 700 clamp(31px, 3.15vw, 50px)/1 var(--serif); letter-spacing: -.035em; }
.history-home__head > p { max-width: 520px; margin: 0; color: rgba(255,255,255,.6); font-size: clamp(10px, .9vw, 13px); line-height: 1.75; }
.history-audience-switch { display: grid; grid-template-columns: repeat(2, minmax(78px, 1fr)); gap: 5px; }
.history-audience-switch a { min-width: 0; display: grid; gap: 3px; padding: 9px 12px; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.025); }
.history-audience-switch a:hover, .history-audience-switch a:focus-visible { color: #fff; outline: none; }
.history-audience-switch a[aria-current="page"] { color: var(--forest); background: var(--lime); border-color: var(--lime); }
.history-audience-switch span { font-size: 6px; font-weight: 800; letter-spacing: .1em; }
.history-audience-switch strong { font: 700 11px/1.1 var(--serif); }
.history-home__status { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 3px 8px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.15); }
.history-home__status strong { color: var(--lime); font: 700 24px/1 var(--serif); }
.history-home__status span { color: rgba(255,255,255,.5); font-size: 8px; white-space: nowrap; }
.history-library { min-height: 0; display: grid; grid-template-columns: clamp(190px, 19vw, 270px) minmax(0, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.history-bookcase { min-height: 0; display: grid; grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 7px; }
.history-book-spine { position: relative; min-height: 0; display: grid; grid-template-columns: 25px 1fr auto; grid-template-rows: 1fr 1fr; align-items: center; column-gap: 8px; padding: 9px 12px; overflow: hidden; color: rgba(255,255,255,.64); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.025); transition: background .2s, color .2s, transform .2s; }
.history-book-spine::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; }
.history-book-spine:hover, .history-book-spine:focus-visible { color: #fff; background: rgba(255,255,255,.07); transform: translateX(4px); outline: none; }
.history-book-spine[aria-current="page"] { color: var(--forest); background: var(--lime); border-color: var(--lime); }
.history-book-spine[aria-current="page"]::before { background: var(--coral); }
.history-book-spine > span { grid-row: 1 / 3; font: 700 12px/1 var(--serif); }
.history-book-spine strong { align-self: end; font-size: clamp(10px, .9vw, 13px); }
.history-book-spine small { align-self: start; overflow: hidden; color: inherit; opacity: .67; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.history-book-spine i { grid-column: 3; grid-row: 1 / 3; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid currentColor; border-radius: 50%; font-size: 8px; font-style: normal; opacity: .7; }
.history-dossier { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; padding: clamp(14px, 1.5vw, 23px); color: var(--ink); background: var(--paper); border: 1px solid rgba(255,255,255,.18); }
.history-dossier > header { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.history-dossier > header small { color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.history-dossier > header h2 { margin: 5px 0 0; font: 700 clamp(21px, 2vw, 31px)/1.1 var(--serif); }
.history-dossier > header p { margin: 0; color: var(--muted); font-size: 9px; }
.history-chapter-tabs { min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)); gap: 5px; padding-top: 10px; }
.history-chapter-tabs a { min-width: 0; height: 31px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0 7px; color: var(--muted); border: 1px solid var(--line); background: #fffdf6; font-size: 8px; transition: transform .18s, color .18s, background .18s; }
.history-chapter-tabs a:hover, .history-chapter-tabs a:focus-visible { color: var(--forest); transform: translateY(-2px); outline: none; }
.history-chapter-tabs a[aria-current="page"] { color: var(--forest); background: var(--lime); border-color: var(--lime); }
.history-chapter-tabs a.is-empty:not([aria-current="page"]) { opacity: .42; }
.history-chapter-tabs strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-chapter-tabs small { display: grid; place-items: center; width: 17px; height: 17px; flex: 0 0 auto; color: inherit; border: 1px solid currentColor; border-radius: 50%; font-size: 6px; opacity: .65; }
.history-entry-grid { min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 17px); padding-top: clamp(12px, 1.5vh, 20px); }
.history-entry-card { min-width: 0; min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(105px, 28%) minmax(0, 72%); border: 1px solid var(--line); background: #fffdf6; transition: transform .24s, box-shadow .24s; }
.history-entry-card--brief { border-top: 3px solid var(--cobalt); }
.history-entry-card:hover, .history-entry-card:focus-visible { z-index: 3; transform: scale(1.045); box-shadow: 0 22px 46px rgba(16,45,36,.2); outline: none; }
.history-entry-card__visual { min-width: 0; min-height: 0; padding: 8px; background: #d9e1d1; }
.history-card-image { width: 100%; height: 100%; display: block; object-fit: cover; filter: grayscale(1) sepia(.16) contrast(.92); }
.history-card-image--contain { object-fit: contain; background: #e2e8d9; }
.history-entry-card__copy { min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: clamp(14px, 1.5vw, 23px); }
.history-entry-card__copy > p { margin: 0; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.history-entry-card__copy h2 { margin: clamp(9px, 1.4vh, 16px) 0 10px; font: 700 clamp(18px, 1.65vw, 27px)/1.25 var(--serif); }
.history-entry-card__copy > span { color: var(--muted); font-size: 9px; line-height: 1.55; }
.history-entry-card__hook { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.history-entry-card__copy > div { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); }
.history-entry-card__copy > div small { padding: 4px 7px; color: #8a3c30; background: #ffe0d9; font-size: 7px; white-space: nowrap; }
.history-entry-card__copy > div strong { font-size: 8px; }
.history-page-nav { min-width: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; min-height: 34px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.history-page-nav a { justify-self: start; min-width: 72px; padding: 6px 8px; color: var(--ink); border: 1px solid var(--line); font-size: 7px; font-weight: 800; text-align: center; }
.history-page-nav a:last-child { justify-self: end; }
.history-page-nav a:hover, .history-page-nav a:focus-visible { color: var(--forest); background: var(--lime); border-color: var(--lime); outline: none; }
.history-page-nav a[aria-disabled="true"] { pointer-events: none; opacity: .28; }
.history-page-nav span { color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.history-page-nav--single { display: flex; justify-content: center; }
.history-empty-chapter { grid-column: 1 / -1; align-self: center; justify-self: center; max-width: 520px; padding: clamp(20px, 3vw, 38px); text-align: center; border: 1px solid var(--line); background: #fffdf6; }
.history-empty-chapter strong { font: 700 clamp(20px, 2vw, 30px)/1.2 var(--serif); }
.history-empty-chapter p { margin: 10px 0 15px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.history-empty-chapter a { display: inline-grid; place-items: center; min-width: 120px; height: 32px; color: var(--forest); background: var(--lime); font-size: 8px; font-weight: 800; }
.history-legend { display: flex; align-items: center; gap: 22px; color: rgba(255,255,255,.52); font-size: 8px; }
.history-legend p { display: flex; align-items: center; gap: 6px; margin: 0; }
.history-legend span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.history-legend .is-pending { margin-left: auto; }
.history-legend .is-pending span { background: var(--coral); }

.history-placeholder { position: relative; width: 100%; height: 100%; min-height: 0; overflow: hidden; display: grid; place-content: center; text-align: center; color: var(--forest); border: 1px solid rgba(16,45,36,.2); background: #e2e8d9; }
.history-placeholder::before, .history-placeholder::after { content: ""; position: absolute; border: 1px solid currentColor; border-radius: 50%; opacity: .2; }
.history-placeholder::before { width: 72%; aspect-ratio: 1; left: -22%; top: -16%; }
.history-placeholder::after { width: 54%; aspect-ratio: 1; right: -19%; bottom: -12%; }
.history-placeholder--blue { color: var(--cobalt); background: #dfe5f5; }
.history-placeholder--coral { color: #a43e2e; background: #f5e1d8; }
.placeholder-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px); background-size: 22px 22px; }
.placeholder-orbit { position: absolute; left: 16%; top: 17%; width: 68%; height: 64%; border: 1px dashed currentColor; border-radius: 50%; opacity: .3; transform: rotate(-17deg); }
.history-placeholder > strong { position: relative; z-index: 1; margin-bottom: 9px; font: 700 clamp(32px, 4vw, 64px)/1 var(--serif); opacity: .82; }
.history-placeholder > p { position: relative; z-index: 1; margin: 0; font: 700 clamp(11px, 1vw, 15px)/1.35 var(--serif); letter-spacing: .04em; }
.history-placeholder > p small { font: 700 7px/1 var(--sans); letter-spacing: .08em; }
.history-placeholder > i { position: absolute; z-index: 1; right: 8px; bottom: 7px; font-size: 6px; font-style: normal; letter-spacing: .1em; }

.history-theater { height: 100%; display: grid; grid-template-columns: clamp(270px, 27%, 390px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 52px; }
.history-theater__rail { grid-row: 1 / 3; min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 38px); border-right: 1px solid rgba(255,255,255,.14); background: #0b2b22; }
.history-back { align-self: flex-start; padding-bottom: 3px; color: var(--lime); border-bottom: 1px solid rgba(183,243,74,.5); font-size: 9px; font-weight: 800; }
.history-theater__rail > div { margin-top: clamp(20px, 3vh, 35px); }
.history-theater__rail > div small { color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.history-theater__rail h1 { margin: 9px 0 10px; font: 700 clamp(25px, 2.55vw, 40px)/1.18 var(--serif); letter-spacing: -.025em; }
.history-theater__rail > div p { margin: 0; color: rgba(255,255,255,.48); font-size: 9px; line-height: 1.55; }
.history-theater__rail nav { display: grid; gap: 4px; margin-top: clamp(20px, 3vh, 34px); }
.history-theater__rail nav a { display: grid; grid-template-columns: 26px 1fr; align-items: center; min-height: 37px; padding: 0 9px; color: rgba(255,255,255,.45); border: 1px solid transparent; font-size: 9px; }
.history-theater__rail nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.history-theater__rail nav a[aria-current="step"] { color: var(--forest); background: var(--lime); }
.history-theater__rail nav span { font: 700 9px/1 var(--serif); }
.history-rights-note { margin: auto 0 0; padding-top: 12px; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.12); font-size: 8px; line-height: 1.55; }
.history-rights-note span { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--coral); }
.history-theater__stage { min-width: 0; min-height: 0; display: grid; grid-template-columns: minmax(300px, 1.05fr) minmax(300px, .9fr); gap: clamp(18px, 2.4vw, 38px); padding: clamp(22px, 3vw, 48px); color: var(--ink); background: var(--paper); }
.history-stage-visual { position: relative; min-width: 0; min-height: 0; padding: 9px; background: #fffdf6; border: 1px solid var(--line); }
.history-stage-caption { position: absolute; z-index: 3; left: 18px; bottom: 18px; padding: 6px 9px; color: #fff; background: var(--forest); font-size: 7px; letter-spacing: .08em; }
.history-stage-copy { min-width: 0; align-self: center; }
.history-stage-copy > p { margin: 0; color: var(--coral); font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.history-stage-copy h2 { margin: clamp(12px, 2vh, 22px) 0; font: 700 clamp(30px, 3.5vw, 55px)/1.12 var(--serif); letter-spacing: -.04em; }
.history-stage-text { color: var(--muted); font-size: clamp(12px, 1.05vw, 16px); line-height: 1.9; }
.history-source-ids { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 15px; }
.history-source-ids span { padding: 4px 7px; color: var(--cobalt); border: 1px solid rgba(50,85,212,.25); font-size: 7px; font-weight: 800; }
.history-stage-copy blockquote { margin: clamp(18px, 3vh, 32px) 0 0; padding: clamp(13px, 1.5vw, 21px); border: 0; border-left: 4px solid var(--lime); background: #fffdf6; }
.history-stage-copy blockquote small { display: block; margin-bottom: 6px; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.history-stage-copy blockquote strong { font: 700 clamp(16px, 1.4vw, 22px)/1.45 var(--serif); }
.history-stage-nav { min-width: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 3vw, 48px); color: var(--ink); border-top: 1px solid var(--line); background: var(--paper); }
.history-stage-nav > span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.history-stage-nav > div { display: flex; gap: 7px; }
.history-stage-nav a { display: grid; place-content: center; min-width: 86px; height: 31px; padding: 0 9px; border: 1px solid var(--line); font-size: 8px; font-weight: 800; }
.history-stage-nav a:hover { background: #fffdf6; }
.history-stage-nav a.is-primary { color: var(--forest); background: var(--lime); border-color: var(--lime); }
.history-theater__stage.is-sources { display: block; }
.history-sources-panel { height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(260px, .72fr) minmax(380px, 1.28fr); align-items: center; gap: clamp(24px, 4vw, 62px); }
.history-sources-panel__intro > p { margin: 0; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.history-sources-panel__intro h2 { margin: 13px 0 16px; font: 700 clamp(28px, 3.1vw, 48px)/1.14 var(--serif); letter-spacing: -.035em; }
.history-sources-panel__intro span { color: var(--muted); font-size: 10px; line-height: 1.75; }
.history-source-list { min-height: 0; display: grid; gap: 7px; }
.history-source { min-width: 0; display: grid; grid-template-columns: 55px 1fr 20px; align-items: center; gap: 10px; min-height: 62px; padding: 10px 12px; border: 1px solid var(--line); background: #fffdf6; transition: transform .2s, box-shadow .2s; }
.history-source:hover, .history-source:focus-visible { transform: translateX(5px); box-shadow: 0 10px 24px rgba(16,45,36,.1); outline: none; }
.history-source > span { color: var(--cobalt); font-size: 8px; font-weight: 800; }
.history-source div { min-width: 0; }
.history-source strong { display: block; overflow: hidden; font: 700 11px/1.35 var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.history-source small { display: block; overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.history-source i { color: var(--coral); font-style: normal; }

/* Science history: one-page Wikipedia brief */
.history-article { height: 100%; min-height: 0; display: grid; grid-template-columns: clamp(270px, 27%, 390px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 52px; }
.history-article__rail { grid-row: 1 / 3; min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 38px); color: #fff; border-right: 1px solid rgba(255,255,255,.14); background: #0b2b22; }
.history-article__rail > div:nth-of-type(1) { margin-top: clamp(20px, 3vh, 35px); }
.history-article__rail > div:nth-of-type(1) small { color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.history-article__rail h1 { display: -webkit-box; overflow: hidden; margin: 9px 0 10px; font: 700 clamp(23px, 2.2vw, 36px)/1.18 var(--serif); letter-spacing: -.025em; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.history-article__rail > div:nth-of-type(1) p { margin: 0; color: rgba(255,255,255,.48); font-size: 9px; line-height: 1.55; }
.history-article__basis { margin-top: clamp(25px, 4vh, 46px); padding: 15px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.035); }
.history-article__basis span { display: block; color: var(--coral); font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.history-article__basis strong { display: block; margin: 6px 0; color: var(--lime); font: 700 20px/1 var(--serif); }
.history-article__basis p { margin: 0; color: rgba(255,255,255,.47); font-size: 8px; line-height: 1.6; }
.history-article__rail > .history-audience-switch { margin-top: clamp(18px, 2.5vh, 30px); }
.history-article__tabs { display: grid; gap: 5px; margin-top: 10px; }
.history-article__tabs a { min-height: 32px; display: flex; align-items: center; padding: 0 10px; color: rgba(255,255,255,.48); border: 1px solid rgba(255,255,255,.14); font-size: 8px; font-weight: 800; }
.history-article__tabs a:hover, .history-article__tabs a:focus-visible { color: #fff; outline: none; }
.history-article__tabs a[aria-current="page"] { color: var(--forest); background: var(--lime); border-color: var(--lime); }
.history-article__stage { min-width: 0; min-height: 0; display: grid; grid-template-columns: minmax(360px, 1.28fr) minmax(260px, .72fr); gap: clamp(20px, 3vw, 48px); padding: clamp(24px, 3vw, 48px); color: var(--ink); background: var(--paper); }
.history-article__copy { min-width: 0; align-self: center; }
.history-article__copy > p { margin: 0; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.history-article__copy h2 { display: -webkit-box; overflow: hidden; margin: clamp(9px, 1.4vh, 15px) 0; font: 700 clamp(22px, 1.9vw, 31px)/1.16 var(--serif); letter-spacing: -.035em; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.history-article__story { display: grid; gap: clamp(12px, 1.7vh, 20px); }
.history-article__story section { min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.history-article__story section > span { display: grid; place-content: center; align-self: start; width: 31px; height: 31px; color: var(--forest); border: 1px solid var(--forest); border-radius: 50%; font: 700 9px/1 var(--serif); }
.history-article__story section > div { min-width: 0; }
.history-article__story h3 { margin: 0 0 6px; color: var(--ink); font: 700 clamp(14px, 1.15vw, 18px)/1.35 var(--serif); }
.history-article__story p { margin: 0; color: var(--muted); font-size: clamp(12px, 1vw, 15px); line-height: 1.72; }
.history-section-citations { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 7px; }
.history-section-citations small { margin-right: 2px; color: var(--muted); font-size: 6px; }
.history-section-citations a { padding: 2px 5px; color: var(--cobalt); border: 1px solid rgba(50,85,212,.22); font-size: 6px; font-weight: 800; }
.history-story-pager { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: clamp(13px, 2vh, 22px); }
.history-story-pager a { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px; min-height: 35px; padding: 6px 9px; color: var(--muted); border: 1px solid var(--line); font: 700 13px/1 var(--serif); }
.history-story-pager a small { overflow: hidden; font: 700 7px/1 var(--sans); text-overflow: ellipsis; white-space: nowrap; }
.history-story-pager a[aria-current="page"] { color: var(--forest); background: var(--lime); border-color: var(--lime); }
.history-article__notes { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: clamp(15px, 2.4vh, 25px); }
.history-article__notes section { min-width: 0; padding: 12px 14px; border-left: 3px solid var(--lime); background: #fffdf6; }
.history-article__notes section:last-child { border-left-color: var(--coral); }
.history-article__notes small { display: block; margin-bottom: 5px; color: var(--coral); font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.history-article__notes strong { font: 700 clamp(11px, .95vw, 14px)/1.5 var(--serif); }
.history-article__media { min-width: 0; min-height: 0; align-self: center; display: grid; grid-template-rows: minmax(210px, 34vh) auto minmax(0, auto); gap: 8px; }
.history-article__visual { min-height: 0; padding: 7px; border: 1px solid var(--line); background: #fffdf6; }
.history-licensed-image { position: relative; width: 100%; height: 100%; min-height: 0; margin: 0; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: #e2e8d9; }
.history-licensed-image img { width: 100%; height: 100%; min-height: 0; display: block; object-fit: cover; filter: grayscale(1) sepia(.14) contrast(.94); }
.history-licensed-image--contain img { object-fit: contain; }
.history-licensed-image figcaption { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; padding: 7px 8px; color: #fff; background: #0b2b22; font-size: 6px; line-height: 1.35; }
.history-licensed-image figcaption strong, .history-licensed-image figcaption small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-licensed-image figcaption strong { font: 700 7px/1.35 var(--serif); }
.history-licensed-image figcaption small { grid-column: 1; color: rgba(255,255,255,.64); }
.history-licensed-image figcaption span { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; gap: 6px; }
.history-licensed-image figcaption a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.42); }
.history-article__media > p { margin: 0; color: var(--muted); font-size: 7px; line-height: 1.5; }
.history-article__wiki { display: grid; gap: 5px; }
.history-wiki-link { min-width: 0; display: grid; grid-template-columns: 25px 1fr 14px; align-items: center; gap: 8px; min-height: 46px; padding: 7px 9px; color: var(--ink); border: 1px solid var(--line); background: #fffdf6; }
.history-wiki-link:hover, .history-wiki-link:focus-visible { transform: translateX(4px); outline: none; }
.history-wiki-link > span { display: grid; place-content: center; width: 24px; height: 24px; color: #fff; border-radius: 50%; background: var(--forest); font: 700 12px/1 var(--serif); }
.history-wiki-link div { min-width: 0; }
.history-wiki-link strong, .history-wiki-link small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-wiki-link strong { font: 700 10px/1.3 var(--serif); }
.history-wiki-link small { margin-top: 2px; color: var(--muted); font-size: 6px; }
.history-wiki-link i { color: var(--coral); font-style: normal; }
.history-article__research { display: grid; gap: 3px; padding-top: 5px; border-top: 1px solid var(--line); }
.history-article__research > small { color: var(--muted); font-size: 6px; letter-spacing: .05em; }
.history-article__research a { display: block; overflow: hidden; color: var(--muted); font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.history-article__research a span { margin-right: 5px; color: var(--cobalt); font-weight: 800; }
.history-evidence-card { padding: 11px 13px; border-left: 3px solid var(--lime); background: #fffdf6; }
.history-evidence-card small { display: block; color: var(--coral); font-size: 6px; font-weight: 800; letter-spacing: .08em; }
.history-evidence-card strong { display: block; margin: 4px 0; font: 700 13px/1.25 var(--serif); }
.history-evidence-card p { margin: 0; color: var(--muted); font-size: 7px; line-height: 1.5; }
.history-evidence-card a { display: inline-block; margin-top: 7px; color: var(--cobalt); font-size: 7px; font-weight: 800; }
.history-related { min-height: 0; display: grid; gap: 4px; padding-top: 5px; border-top: 1px solid var(--line); }
.history-related > small { color: var(--muted); font-size: 6px; letter-spacing: .06em; }
.history-related a { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 7px; padding: 5px 7px; border: 1px solid var(--line); background: #fffdf6; }
.history-related a small { color: var(--coral); font-size: 6px; font-weight: 800; }
.history-related a strong { overflow: hidden; font: 700 8px/1.3 var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.history-rights-note.is-cleared span { background: var(--lime); }
.history-article__stage--teacher { grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); grid-template-rows: auto minmax(0, 1fr); align-content: center; }
.history-article__stage--teacher > header { grid-row: 1 / 3; align-self: center; padding-right: clamp(10px, 2vw, 28px); }
.history-article__stage--teacher > header p, .history-source-overview > p { margin: 0; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.history-article__stage--teacher > header h2, .history-source-overview h2 { margin: 12px 0; font: 700 clamp(28px, 3vw, 48px)/1.12 var(--serif); letter-spacing: -.035em; }
.history-article__stage--teacher > header span, .history-source-overview > span { color: var(--muted); font-size: 10px; line-height: 1.7; }
.history-teacher-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-self: end; }
.history-teacher-grid section { min-width: 0; padding: 13px 15px; border: 1px solid var(--line); background: #fffdf6; }
.history-teacher-grid small, .history-teacher-questions > small { display: block; margin-bottom: 6px; color: var(--coral); font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.history-teacher-grid strong { display: block; font: 700 clamp(12px, 1.1vw, 16px)/1.35 var(--serif); }
.history-teacher-grid p { margin: 5px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.history-teacher-questions { align-self: start; margin-top: 8px; padding: 13px 15px; border-left: 3px solid var(--lime); background: #fffdf6; }
.history-teacher-questions ol { display: grid; gap: 6px; margin: 0; padding-left: 18px; }
.history-teacher-questions li { font: 700 clamp(10px, .9vw, 13px)/1.4 var(--serif); }
.history-article__stage--sources, .history-article__stage--anchors { grid-template-columns: minmax(230px, .65fr) minmax(360px, 1.35fr); align-items: center; }
.history-source-overview > div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 8px; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line); }
.history-source-overview > div strong { color: var(--cobalt); font: 700 24px/1 var(--serif); }
.history-source-overview > div small { color: var(--muted); font-size: 7px; }
.history-source-browser { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; }
.history-source-browser > nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.history-source-browser > nav a { justify-self: start; min-width: 72px; padding: 6px 8px; border: 1px solid var(--line); font-size: 7px; font-weight: 800; text-align: center; }
.history-source-browser > nav a:last-child { justify-self: end; }
.history-source-browser > nav a[aria-disabled="true"] { pointer-events: none; opacity: .28; }
.history-source-browser > nav span { color: var(--muted); font-size: 7px; font-weight: 800; }
.history-anchor-list { min-height: 0; display: grid; gap: 7px; }
.history-anchor { min-width: 0; display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 62px; padding: 9px 11px; border: 1px solid var(--line); background: #fffdf6; }
.history-anchor > span { color: var(--cobalt); font-size: 7px; font-weight: 800; }
.history-anchor > div { min-width: 0; }
.history-anchor strong, .history-anchor small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-anchor strong { font: 700 11px/1.35 var(--serif); }
.history-anchor small { margin-top: 4px; color: var(--muted); font-size: 7px; }
.history-anchor > p { display: grid; gap: 3px; margin: 0; color: var(--muted); font-size: 6px; font-weight: 700; text-align: right; white-space: nowrap; }
.history-anchor-empty { align-self: center; margin: 0; color: var(--muted); font-size: 11px; }
.history-article-nav { min-width: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 3vw, 48px); color: var(--ink); border-top: 1px solid var(--line); background: var(--paper); }
.history-article-nav > span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.history-article-nav > div { display: flex; gap: 7px; }
.history-article-nav a { display: grid; place-content: center; min-width: 86px; height: 31px; padding: 0 9px; border: 1px solid var(--line); font-size: 8px; font-weight: 800; }
.history-article-nav a.is-primary { color: var(--forest); background: var(--lime); border-color: var(--lime); }

/* Follow */
.view--follow { display: grid; grid-template-columns: minmax(310px, .82fr) repeat(2, minmax(250px, .65fr)); grid-template-rows: minmax(0, 1fr) auto; gap: clamp(12px, 1.5vw, 22px); background: #dfe7d4; }
.follow-copy { align-self: center; padding-right: 10px; }
.follow-copy h1 { margin: clamp(15px, 2vh, 25px) 0; font: 700 clamp(34px, 3.8vw, 58px)/1.13 var(--serif); letter-spacing: -.04em; }
.follow-copy > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: clamp(10px, 1vw, 14px); line-height: 1.85; }
.follow-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.follow-tags span { padding: 5px 9px; border: 1px solid rgba(16,45,36,.2); font-size: 8px; }
.social-card { min-width: 0; min-height: 0; overflow: hidden; display: grid; align-content: center; background: #fffdf6; border: 1px solid var(--line); transition: transform .24s, box-shadow .24s; }
.social-card:hover { z-index: 4; transform: scale(1.06); box-shadow: 0 22px 50px rgba(16,45,36,.2); }
.social-card--wechat { justify-items: center; padding: clamp(18px, 2.2vw, 34px); text-align: center; }
.large-qr { width: min(76%, 230px); aspect-ratio: 1; margin: 0 auto clamp(16px, 2vh, 24px); border: 9px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.large-qr span { border-width: 8px; }
.large-qr b { position: absolute; inset: 34%; display: grid; place-content: center; font-size: clamp(10px, .9vw, 13px); line-height: 1.35; }
.social-card small { color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.social-card h2 { margin: 8px 0; font: 700 clamp(19px, 1.7vw, 27px)/1.2 var(--serif); }
.social-card p { color: var(--muted); font-size: 10px; line-height: 1.6; }
.social-card strong { display: inline-block; margin-top: 6px; padding: 5px 9px; color: var(--forest); background: var(--lime); font-size: 8px; }
.social-card--xhs { grid-template-rows: 50% 50%; }
.social-card--xhs img { min-height: 0; }
.social-card--xhs > div { min-height: 0; padding: clamp(14px, 1.7vw, 24px); }
.contact-note { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 17px; padding-top: 12px; border-top: 1px solid var(--line); }
.contact-note span { color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.contact-note strong { font: 700 14px/1 var(--serif); }
.contact-note p { margin: 0; color: var(--muted); font-size: 9px; }

/* Detail */
.view--detail { position: relative; display: grid; grid-template-columns: minmax(360px, 1fr) minmax(390px, .9fr); gap: clamp(24px, 3vw, 50px); align-items: center; }
.detail-back { position: absolute; z-index: 4; left: clamp(20px, 2.6vw, 42px); top: clamp(16px, 2vw, 28px); height: 34px; padding: 0 11px; border: 1px solid var(--line); color: var(--ink); background: rgba(244,240,228,.9); font-size: 9px; font-weight: 800; cursor: pointer; }
.detail-back:hover { background: var(--lime); }
.detail-media { position: relative; min-width: 0; height: min(65vh, 660px); margin: 0; overflow: hidden; border: 10px solid #fffdf6; box-shadow: 0 22px 60px rgba(16,45,36,.16); transform: rotate(-1deg); }
.detail-media .status-chip { top: 12px; right: 12px; }
.detail-copy { min-width: 0; }
.detail-copy h1 { margin: clamp(13px, 2vh, 22px) 0; font: 700 clamp(36px, 4vw, 62px)/1.08 var(--serif); letter-spacing: -.045em; }
.detail-summary { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(11px, 1vw, 15px); line-height: 1.85; }
.detail-author { display: inline-flex; width: fit-content; margin: 14px 0 0; padding: 7px 10px; color: var(--forest); background: rgba(183,243,74,.34); border-left: 3px solid var(--coral); font-size: 12px; font-weight: 900; }
.classroom-note { margin-top: clamp(18px, 3vh, 35px); padding: clamp(14px, 2vw, 24px); border-left: 4px solid var(--lime); background: #fffdf6; }
.classroom-note small { color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.classroom-note h2 { margin: 5px 0 7px; font: 700 20px/1.2 var(--serif); }
.classroom-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.detail-notice { margin: 12px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.detail-actions { display: flex; gap: 10px; margin-top: clamp(16px, 2.5vh, 28px); }
.button--disabled { opacity: .45; cursor: default; }
.button--disabled:hover { transform: none; box-shadow: none; }

@media (max-height: 820px) and (min-width: 821px) {
  :root { --sidebar: 246px; --rail: 0px; }
  .brand { min-height: 76px; padding: 14px 18px; }
  .brand__specimen { flex-basis: 38px; height: 38px; }
  .brand__specimen::before { left: 18px; height: 23px; }
  .side-nav { padding-top: 12px; }
  .side-nav a { min-height: 41px; padding: 0 16px; }
  .resource-tree { margin-left: 39px; padding-top: 5px; padding-bottom: 5px; }
  .resource-tree section + section { margin-top: 5px; }
  .resource-tree h2 { margin-bottom: 3px; font-size: 8px; }
  .resource-tree button { min-height: 20px; font-size: 10px; }
  .side-contact { margin: 0 13px 8px; padding: 9px; }
  .side-email { margin-bottom: 8px; }
  .side-footer { padding: 8px 16px 10px; }
  .view { padding: 20px 26px; }
  .home-copy h1 { font-size: clamp(31px, 3.25vw, 45px); margin: 15px 0 11px; }
  .home-intro { line-height: 1.6; }
  .home-actions { margin-top: 14px; }
  .home-stats { margin-top: 14px; }
  .home-stats div { padding: 7px; }
  .home-art__main { height: 82%; }
  .resource-grid { gap: 9px; }
  .resource-card__button { grid-template-rows: 52% 48%; }
  .resource-card__body { padding: 7px 10px; }
  .resource-card__summary { -webkit-line-clamp: 1; }
  .method-grid li > div { padding: 11px 14px; }
  .method-grid p { -webkit-line-clamp: 1; }
  .view--history { padding: 0; }
  .history-home { padding: 16px 22px; gap: 10px; }
  .history-home__head h1 { font-size: clamp(29px, 2.8vw, 39px); }
  .history-entry-card__copy { padding: 12px 15px; }
  .history-entry-card__copy h2 { margin: 8px 0 6px; font-size: clamp(17px, 1.55vw, 22px); }
  .history-theater__rail { padding: 19px 24px; }
  .history-theater__rail > div { margin-top: 15px; }
  .history-theater__rail nav { margin-top: 15px; }
  .history-theater__rail nav a { min-height: 31px; }
  .history-theater__stage { padding: 21px 26px; gap: 22px; }
  .history-stage-copy h2 { margin: 10px 0; font-size: clamp(28px, 3vw, 40px); }
  .history-stage-text { font-size: 11px; line-height: 1.72; }
  .history-stage-copy blockquote { margin-top: 13px; padding: 11px 14px; }
  .history-source { min-height: 50px; padding: 7px 10px; }
  .history-article__rail { padding: 19px 24px; }
  .history-article__rail > div:nth-of-type(1) { margin-top: 15px; }
  .history-article__basis { margin-top: 18px; padding: 11px; }
  .history-article__stage { gap: 22px; padding: 20px 26px; }
  .history-article__copy h2 { margin: 8px 0 10px; font-size: clamp(22px, 2.25vw, 29px); }
  .history-article__story { gap: 6px; }
  .history-article__story section { gap: 9px; padding-top: 8px; }
  .history-article__story h3 { margin-bottom: 3px; font-size: 13px; }
  .history-article__story p { font-size: 11px; line-height: 1.58; }
  .history-story-pager { margin-top: 8px; }
  .history-story-pager a { min-height: 30px; padding: 4px 7px; }
  .history-article__notes { margin-top: 11px; }
  .history-article__notes section { padding: 8px 10px; }
  .history-article__notes strong { font-size: 10px; line-height: 1.4; }
  .history-article__media { grid-template-rows: minmax(175px, 31vh) auto auto; gap: 5px; }
  .large-qr { max-width: 170px; margin-bottom: 10px; }
}

@media (max-width: 1180px) and (min-width: 821px) {
  :root { --sidebar: 232px; }
  .resources-head { grid-template-columns: 130px 1fr; }
  .resource-filter-stack { grid-column: 1 / -1; }
  .filter-list { justify-content: flex-start; }
  .resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .history-library { grid-template-columns: 175px minmax(0, 1fr); }
  .history-book-spine { padding: 8px; }
  .history-entry-card { grid-template-columns: minmax(125px, 38%) minmax(0, 62%); }
  .history-entry-card__copy h2 { font-size: 18px; }
  .history-theater { grid-template-columns: 255px minmax(0, 1fr); }
  .history-theater__stage { grid-template-columns: minmax(250px, 1fr) minmax(260px, .9fr); }
  .history-article { grid-template-columns: 255px minmax(0, 1fr); }
  .history-article__stage { grid-template-columns: minmax(330px, 1.22fr) minmax(220px, .78fr); }
}

@media (max-width: 820px) {
  :root { --rail: 0px; }
  .mobile-menu { position: fixed; z-index: 70; top: 10px; left: 12px; display: grid; place-content: center; gap: 5px; width: 34px; height: 34px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
  .mobile-menu span { display: block; width: 16px; height: 2px; background: var(--forest); transition: transform .2s; }
  .mobile-menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .mobile-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .sidebar-backdrop { position: fixed; z-index: 55; inset: 0; display: block; background: rgba(10,38,30,.5); }
  .sidebar { z-index: 60; width: min(84vw, 300px); transform: translateX(-101%); transition: transform .25s ease; }
  .sidebar[data-open="true"] { transform: none; }
  .view-stage { inset: 0; }
  .top-rail { grid-template-columns: 1fr auto; padding: 0 12px 0 56px; }
  .top-rail > p { display: none; }
  .top-rail > div:first-child { gap: 8px; }
  .top-rail > div:first-child strong { font-size: 15px; }
  .rail-actions { gap: 3px; }
  .rail-actions button { width: 30px; height: 29px; }
  .view { padding: 14px; }

  .view--home { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) 92px; gap: 9px; }
  .home-copy { align-self: start; padding: 0; }
  .home-copy h1 { margin: 42px 0 8px; font-size: clamp(27px, 8.1vw, 36px); line-height: 1.12; }
  .home-intro { display: -webkit-box; overflow: hidden; font-size: 10px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .home-actions { margin-top: 10px; }
  .button { min-height: 34px; padding: 0 12px; font-size: 9px; }
  .home-stats { display: none; }
  .home-art { min-height: 0; }
  .home-art__main { left: 20%; width: 55%; height: 85%; }
  .home-feature { grid-template-columns: 34% 1fr; }
  .home-feature > div { padding: 9px 11px; }
  .home-feature h2 { margin-bottom: 4px; font-size: 13px; }
  .home-feature .home-feature__button { min-height: 34px; gap: 6px; padding: 4px 9px 4px 5px; font-size: 10px; }
  .home-feature .home-feature__finger, .home-feature .home-feature__icon { width: 23px; height: 23px; font-size: 14px; }
  .home-feature .home-feature__arrow { font-size: 13px; }
  .home-feature--qa, .home-feature--models { display: none; }

  .view--resources { grid-template-rows: auto minmax(0, 1fr) 37px; gap: 8px; }
  .resources-head { grid-template-columns: 105px 1fr; gap: 7px; align-items: center; }
  .resources-head h1 { font-size: 25px; }
  .resources-head .eyebrow { display: none; }
  .search-box { height: 35px; }
  .resource-filter-stack { grid-column: 1 / -1; gap: 5px; overflow: hidden; }
  .filter-list { flex-wrap: nowrap; justify-content: flex-start; overflow: hidden; }
  .filter-list button { flex: 0 0 auto; height: 22px; padding: 0 7px; font-size: 8px; }
  .resource-grid { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .resource-card__button { grid-template-columns: 42% 58%; grid-template-rows: 1fr; }
  .resource-card__body { padding: 9px; }
  .resource-card h2 { font-size: 15px; }
  .resource-card__summary { font-size: 8px; -webkit-line-clamp: 2; }
  .resource-pager > div { gap: 5px; }
  .resource-pager button { min-width: 58px; padding: 0 5px; font-size: 8px; }
  .resource-pager p { display: none; }
  .resource-pager { grid-template-columns: 1fr; justify-items: center; }

  .view--classroom { grid-template-rows: auto minmax(0, 1fr) auto; gap: 9px; }
  .chapter-title { display: block; }
  .chapter-title .eyebrow { display: none; }
  .chapter-title h1 { text-align: left; font-size: 24px; }
  .method-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .method-grid li { grid-template-columns: 34% 66%; grid-template-rows: 1fr; }
  .method-no { width: 31px; height: 31px; font-size: 9px; }
  .method-grid li > div { padding: 9px 10px; }
  .method-grid small { font-size: 6px; }
  .method-grid h2 { margin: 3px 0 4px; font-size: 16px; }
  .method-grid p { margin-bottom: 4px; font-size: 8px; line-height: 1.4; -webkit-line-clamp: 2; }
  .method-grid a { font-size: 7px; }
  .chapter-note { font-size: 7px; }

  .view--history { padding: 0; }
  .history-home { padding: 11px 13px; gap: 7px; }
  .history-home__head { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
  .history-home__head .eyebrow { font-size: 8px; }
  .history-home__head h1 { margin-top: 5px; font-size: 27px; }
  .history-home__head > p { grid-column: 1 / -1; display: -webkit-box; overflow: hidden; font-size: 10px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .history-home__status { padding-left: 10px; }
  .history-home__status strong { font-size: 17px; }
  .history-home__status span { font-size: 6px; }
  .history-home__head > .history-audience-switch { width: 144px; }
  .history-audience-switch { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .history-audience-switch a { gap: 1px; padding: 5px 7px; }
  .history-audience-switch span { font-size: 7px; }
  .history-audience-switch strong { font-size: 10px; }
  .history-library { grid-template-columns: 1fr; grid-template-rows: 48px minmax(0, 1fr); gap: 7px; }
  .history-bookcase { grid-template-columns: repeat(5, 1fr); grid-template-rows: 1fr; gap: 4px; }
  .history-book-spine { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto; place-content: center; padding: 4px; text-align: center; }
  .history-book-spine:hover, .history-book-spine:focus-visible { transform: translateY(-2px); }
  .history-book-spine > span, .history-book-spine small, .history-book-spine i { display: none; }
  .history-book-spine strong { align-self: center; font-size: 7px; line-height: 1.25; }
  .history-dossier { padding: 9px; }
  .history-dossier > header { padding-bottom: 7px; }
  .history-dossier > header small { font-size: 6px; }
  .history-dossier > header h2 { margin-top: 2px; font-size: 17px; }
  .history-dossier > header p { font-size: 6px; }
  .history-chapter-tabs { grid-template-columns: repeat(auto-fit, minmax(38px, 1fr)); gap: 3px; padding-top: 5px; }
  .history-chapter-tabs a { height: 24px; gap: 2px; padding: 0 3px; font-size: 6px; }
  .history-chapter-tabs small { width: 13px; height: 13px; font-size: 5px; }
  .history-entry-grid { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 7px; padding-top: 7px; }
  .history-entry-card { grid-template-columns: 27% 73%; }
  .history-entry-card:hover, .history-entry-card:focus-visible { transform: scale(1.025); }
  .history-entry-card__visual { padding: 4px; }
  .history-entry-card__copy { padding: 8px 9px; }
  .history-entry-card__copy > p { font-size: 7px; }
  .history-entry-card__copy h2 { display: -webkit-box; overflow: hidden; margin: 5px 0; font-size: 18px; line-height: 1.18; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .history-entry-card__copy > span { font-size: 9px; line-height: 1.45; }
  .history-entry-card__copy > div { padding-top: 5px; }
  .history-entry-card__copy > div small { font-size: 7px; }
  .history-entry-card__copy > div strong { font-size: 8px; }
  .history-page-nav { min-height: 27px; gap: 4px; margin-top: 5px; padding-top: 4px; }
  .history-page-nav a { min-width: 59px; padding: 4px 5px; font-size: 6px; }
  .history-page-nav span { font-size: 6px; }
  .history-empty-chapter { padding: 14px 16px; }
  .history-empty-chapter strong { font-size: 17px; }
  .history-empty-chapter p { margin: 7px 0 10px; font-size: 8px; line-height: 1.5; }
  .history-placeholder > strong { margin-bottom: 4px; font-size: 27px; }
  .history-placeholder > p { font-size: 8px; }
  .history-placeholder > p small, .history-placeholder > i { font-size: 5px; }
  .history-legend { gap: 9px; font-size: 6px; }
  .history-legend p:nth-child(2) { display: none; }
  .history-legend .is-pending { margin-left: auto; }

  .history-theater { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) 46px; }
  .history-theater__rail { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; padding: 10px 13px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .history-back { font-size: 7px; white-space: nowrap; }
  .history-theater__rail > div { margin: 0; }
  .history-theater__rail > div small { font-size: 6px; }
  .history-theater__rail h1 { display: -webkit-box; overflow: hidden; margin: 3px 0; font-size: 18px; line-height: 1.18; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .history-theater__rail > div p { font-size: 6px; }
  .history-theater__rail nav, .history-rights-note { display: none; }
  .history-theater__stage { grid-column: 1; grid-row: 2; grid-template-columns: 1fr; grid-template-rows: 39% minmax(0, 1fr); gap: 8px; padding: 9px 13px; }
  .history-stage-visual { padding: 4px; }
  .history-stage-caption { left: 9px; bottom: 9px; padding: 4px 6px; font-size: 5px; }
  .history-stage-copy { align-self: start; }
  .history-stage-copy > p { font-size: 6px; }
  .history-stage-copy h2 { margin: 6px 0; font-size: 23px; line-height: 1.1; }
  .history-stage-text { font-size: 9px; line-height: 1.55; }
  .history-source-ids { margin-top: 6px; }
  .history-source-ids span { padding: 2px 4px; font-size: 5px; }
  .history-stage-copy blockquote { margin-top: 7px; padding: 7px 9px; }
  .history-stage-copy blockquote small { margin-bottom: 3px; font-size: 6px; }
  .history-stage-copy blockquote strong { font-size: 12px; line-height: 1.35; }
  .history-stage-nav { grid-column: 1; grid-row: 3; padding: 0 13px; }
  .history-stage-nav a { min-width: 68px; height: 28px; font-size: 7px; }
  .history-theater__stage.is-sources { display: block; padding: 11px 13px; }
  .history-sources-panel { display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 8px; align-items: start; }
  .history-sources-panel__intro { display: grid; grid-template-columns: 1fr 1.7fr; align-items: end; gap: 5px; }
  .history-sources-panel__intro > p { grid-column: 1 / -1; font-size: 6px; }
  .history-sources-panel__intro h2 { margin: 0; font-size: 18px; }
  .history-sources-panel__intro span { font-size: 7px; line-height: 1.45; }
  .history-source-list { gap: 4px; }
  .history-source { grid-template-columns: 43px 1fr 14px; min-height: 46px; padding: 6px 8px; }
  .history-source > span { font-size: 6px; }
  .history-source strong { font-size: 9px; }
  .history-source small { font-size: 6px; }

  .history-article { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) 46px; }
  .history-article__rail { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; padding: 9px 13px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .history-article__rail > div:nth-of-type(1) { margin: 0; }
  .history-article__rail > div:nth-of-type(1) small { font-size: 7px; }
  .history-article__rail h1 { display: -webkit-box; overflow: hidden; margin: 3px 0; font-size: 19px; line-height: 1.16; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .history-article__rail > div:nth-of-type(1) p { font-size: 8px; }
  .history-article__basis, .history-article__rail .history-rights-note { display: none; }
  .history-article__rail > .history-audience-switch { grid-column: 1 / -1; margin: 0; }
  .history-article__tabs { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); gap: 3px; margin: 0; }
  .history-article__tabs a { min-height: 28px; justify-content: center; padding: 0 4px; font-size: 8px; }
  .history-article__stage { grid-column: 1; grid-row: 2; grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; gap: 7px; padding: 8px 13px; }
  .history-article__copy { align-self: start; }
  .history-article__copy > p { font-size: 7px; }
  .history-article__copy h2 { display: block; overflow: visible; margin: 5px 0 7px; font-size: 20px; line-height: 1.13; -webkit-line-clamp: unset; }
  .history-article__story { gap: 5px; }
  .history-article__story section { grid-template-columns: 26px minmax(0, 1fr); gap: 7px; padding-top: 6px; }
  .history-article__story section > span { width: 24px; height: 24px; font-size: 7px; }
  .history-article__story h3 { margin-bottom: 3px; font-size: 12px; line-height: 1.35; }
  .history-article__story p { display: block; overflow: visible; font-size: 10.5px; line-height: 1.48; -webkit-line-clamp: unset; }
  .history-section-citations { gap: 3px; margin-top: 4px; }
  .history-section-citations small, .history-section-citations a { font-size: 6px; }
  .history-story-pager { gap: 4px; margin-top: 6px; }
  .history-story-pager a { min-height: 28px; gap: 3px; padding: 4px 5px; font-size: 11px; }
  .history-story-pager a small { font-size: 6px; }
  .history-article__notes { gap: 5px; margin-top: 7px; }
  .history-article__notes section { padding: 6px 7px; border-left-width: 2px; }
  .history-article__notes small { margin-bottom: 2px; font-size: 7px; }
  .history-article__notes strong { display: -webkit-box; overflow: hidden; font-size: 9px; line-height: 1.35; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
  .history-article__media { align-self: start; grid-template-columns: 35% 65%; grid-template-rows: 122px; width: 100%; height: 122px; gap: 5px; }
  .history-article__visual { grid-row: 1; min-height: 0; padding: 3px; }
  .history-licensed-image figcaption { grid-template-columns: 1fr; gap: 2px; padding: 4px 5px; }
  .history-licensed-image figcaption strong { display: none; }
  .history-licensed-image figcaption small { grid-column: 1; font-size: 5px; }
  .history-licensed-image figcaption span { grid-column: 1; grid-row: auto; gap: 4px; font-size: 5px; }
  .history-article__media > p, .history-article__research { display: none; }
  .history-evidence-card { padding: 8px 9px; }
  .history-evidence-card strong { font-size: 12px; }
  .history-evidence-card p { font-size: 8px; line-height: 1.45; }
  .history-evidence-card a { margin-top: 5px; font-size: 8px; }
  .history-related { display: none; }
  .history-article__wiki { align-self: start; gap: 4px; }
  .history-wiki-link { grid-template-columns: 21px 1fr 11px; gap: 5px; min-height: 42px; padding: 5px 6px; }
  .history-wiki-link > span { width: 20px; height: 20px; font-size: 10px; }
  .history-wiki-link strong { font-size: 8px; }
  .history-wiki-link small { font-size: 5px; }
  .history-article-nav { grid-column: 1; grid-row: 3; padding: 0 13px; }
  .history-article-nav a { min-width: 68px; height: 28px; font-size: 7px; }
  .history-article__stage--teacher { grid-template-columns: 1fr; grid-template-rows: auto auto auto; align-content: start; gap: 7px; }
  .history-article__stage--teacher > header { grid-row: auto; padding: 0; }
  .history-article__stage--teacher > header p, .history-source-overview > p { font-size: 8px; }
  .history-article__stage--teacher > header h2, .history-source-overview h2 { margin: 5px 0; font-size: 22px; line-height: 1.12; }
  .history-article__stage--teacher > header span, .history-source-overview > span { font-size: 10px; line-height: 1.45; }
  .history-teacher-grid { gap: 6px; }
  .history-teacher-grid section { padding: 9px 10px; }
  .history-teacher-grid small, .history-teacher-questions > small { margin-bottom: 4px; font-size: 7px; }
  .history-teacher-grid strong { font-size: 13px; line-height: 1.28; }
  .history-teacher-grid p { display: block; overflow: visible; margin-top: 4px; font-size: 9.5px; line-height: 1.42; -webkit-line-clamp: unset; }
  .history-teacher-questions { margin-top: 0; padding: 9px 11px; }
  .history-teacher-questions ol { grid-template-columns: 1fr; gap: 5px; padding-left: 18px; }
  .history-teacher-questions li { font-size: 11px; line-height: 1.35; }
  .history-article__stage--sources, .history-article__stage--anchors { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-content: start; gap: 7px; }
  .history-source-overview { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 4px 8px; }
  .history-source-overview > p { grid-column: 1 / -1; }
  .history-source-overview > span { display: none; }
  .history-source-overview > div { margin: 0; padding: 0; border: 0; }
  .history-source-overview > div strong { font-size: 19px; }
  .history-source-browser { gap: 4px; }
  .history-source { grid-template-columns: 54px 1fr 18px; min-height: 58px; padding: 8px 10px; }
  .history-source > span { font-size: 8px; }
  .history-source strong { font-size: 12px; line-height: 1.3; }
  .history-source small { margin-top: 3px; font-size: 8px; }
  .history-source-browser > nav a { min-width: 72px; padding: 6px 7px; font-size: 8px; }
  .history-anchor-list { gap: 4px; }
  .history-anchor { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 6px; min-height: 54px; padding: 7px 8px; }
  .history-anchor > span { font-size: 7px; }
  .history-anchor strong { font-size: 10px; }
  .history-anchor small { font-size: 7px; }
  .history-anchor > p { font-size: 6px; }

  .view--follow { grid-template-columns: 1fr 1fr; grid-template-rows: auto minmax(0, 1fr) 34px; gap: 8px; }
  .follow-copy { grid-column: 1 / -1; align-self: start; }
  .follow-copy h1 { margin: 8px 0 5px; font-size: 27px; }
  .follow-copy > p:not(.eyebrow) { display: -webkit-box; overflow: hidden; margin: 0; font-size: 8px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .follow-tags { display: none; }
  .social-card--wechat { padding: 10px; }
  .large-qr { width: min(76%, 135px); border-width: 5px; margin-bottom: 8px; }
  .large-qr span { border-width: 4px; }
  .large-qr b { font-size: 7px; }
  .social-card small { font-size: 5px; }
  .social-card h2 { margin: 4px 0; font-size: 13px; }
  .social-card p { margin: 3px 0; font-size: 7px; }
  .social-card strong { font-size: 6px; }
  .social-card--xhs > div { padding: 8px; }
  .contact-note { grid-column: 1 / -1; gap: 8px; padding-top: 7px; }
  .contact-note p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 7px; }

  .view--detail { grid-template-columns: 1fr; grid-template-rows: 36% minmax(0, 1fr); gap: 10px; align-items: stretch; padding-top: 54px; }
  .detail-back { top: 11px; left: 14px; }
  .detail-media { height: 100%; min-height: 0; border-width: 5px; }
  .detail-copy { min-height: 0; }
  .detail-copy h1 { margin: 8px 0; font-size: 29px; }
  .detail-summary { display: -webkit-box; overflow: hidden; font-size: 9px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .classroom-note { margin-top: 9px; padding: 9px 11px; }
  .classroom-note h2 { margin: 3px 0; font-size: 15px; }
  .classroom-note p { font-size: 8px; line-height: 1.45; }
  .detail-notice { display: -webkit-box; overflow: hidden; margin-top: 6px; font-size: 7px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .detail-actions { margin-top: 8px; }
}

@media (max-width: 420px) and (max-height: 700px) {
  .home-copy h1 { font-size: 24px; }
  .home-intro, .eyebrow { font-size: 8px; }
  .home-art__main figcaption { display: none; }
  .history-home__head > p, .follow-copy > p:not(.eyebrow) { display: none; }
  .history-theater__rail h1 { font-size: 15px; }
  .history-stage-copy h2 { font-size: 19px; }
  .history-stage-text { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
  .large-qr { max-width: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 2026-08-24 readability pass: usable text takes priority over dense decoration. */
.side-nav a { font-size: 14px; }
.resource-tree h2 { font-size: 10px; }
.resource-tree button { min-height: 28px; font-size: 12px; }
.button { min-height: 48px; padding-inline: 23px; font-size: 15px; }
.home-intro { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.72; }
.home-art__main figcaption { padding: 11px 13px; }
.home-art__main figcaption strong { font-size: 14px; }
.home-art__main figcaption span { margin-top: 6px; font-size: 12px; }
.home-feature p { font-size: 11px; }
.home-feature h2 { font-size: clamp(18px, 1.55vw, 24px); }
.home-feature .home-feature__button { min-height: 46px; font-size: 15px; }

.resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.search-box { height: 46px; }
.search-box input { font-size: 14px; }
.filter-list button { min-height: 32px; height: auto; padding: 0 12px; font-size: 12px; }
.filter-list--scope button, .filter-list--type button { min-height: 32px; height: auto; }
.resource-card__button { grid-template-rows: 53% 47%; }
.resource-card__body { padding: 13px 15px; }
.resource-card__body > p:first-child { font-size: 11px; }
.resource-card h2 { font-size: clamp(18px, 1.45vw, 23px); }
.resource-card__summary { font-size: 13px; line-height: 1.55; }
.resource-card__author, .resource-card__meta { font-size: 11px; }
.status-chip { font-size: 11px; }
.resource-pager p, .resource-pager span { font-size: 12px; }
.resource-pager button { min-width: 94px; height: 38px; font-size: 12px; }

.history-home__head > p { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.65; }
.history-audience-switch span { font-size: 11px; }
.history-audience-switch strong { font-size: 15px; }
.history-book-spine strong { font-size: 15px; }
.history-dossier > header small, .history-dossier > header p { font-size: 11px; }
.history-chapter-tabs a { font-size: 12px; }
.history-entry-card__copy > p { font-size: 11px; }
.history-entry-card__copy h2 { font-size: clamp(20px, 1.75vw, 28px); }
.history-entry-card__copy > span { font-size: 14px; line-height: 1.58; }
.history-entry-card__copy > div small, .history-entry-card__copy > div strong { font-size: 11px; }
.history-page-nav a, .history-page-nav span, .history-legend { font-size: 11px; }

.history-article__rail > div:nth-of-type(1) small { font-size: 11px; }
.history-article__rail h1 { font-size: clamp(27px, 2.25vw, 38px); }
.history-article__rail > div:nth-of-type(1) p { font-size: 13px; }
.history-article__tabs { gap: 7px; margin-top: 14px; }
.history-article__tabs a { min-height: 42px; padding-inline: 13px; font-size: 13px; }
.history-rights-note { font-size: 11px; line-height: 1.55; }
.history-article__stage { grid-template-columns: minmax(430px, 1.35fr) minmax(300px, .65fr); gap: clamp(24px, 2.6vw, 44px); }
.history-article__copy > p { font-size: 11px; }
.history-article__copy h2 { font-size: clamp(27px, 2vw, 34px); }
.history-article__story h3 { font-size: clamp(17px, 1.25vw, 21px); }
.history-article__story p { font-size: clamp(15px, 1.08vw, 17px); line-height: 1.68; }
.history-section-citations small { font-size: 10px; }
.history-section-citations a { padding: 4px 7px; font-size: 10px; }
.history-story-pager a { min-height: 44px; padding: 8px 11px; font-size: 16px; }
.history-story-pager a small { font-size: 11px; }
.history-article__media { grid-template-rows: minmax(280px, 46vh) auto; gap: 10px; }
.history-media-source-link { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 15px; color: #fff; background: var(--forest); font-size: 14px; font-weight: 800; }
.history-media-source-link span { color: var(--lime); font-size: 18px; }
.history-licensed-image figcaption { padding: 9px 10px; font-size: 10px; }
.history-licensed-image figcaption strong { font-size: 11px; }
.history-licensed-image figcaption small { font-size: 9px; }

.history-article__stage--teacher > header p, .history-source-overview > p { font-size: 11px; }
.history-article__stage--teacher > header span, .history-source-overview > span { font-size: 14px; line-height: 1.65; }
.history-teacher-grid small, .history-teacher-questions > small { font-size: 11px; }
.history-teacher-grid strong { font-size: clamp(16px, 1.25vw, 20px); }
.history-teacher-grid p { font-size: 13px; line-height: 1.55; }
.history-teacher-questions li { font-size: 14px; line-height: 1.5; }
.history-source-overview > div small { font-size: 11px; }
.history-source { grid-template-columns: 76px 1fr 24px; min-height: 76px; padding: 12px 15px; }
.history-source > span { font-size: 11px; }
.history-source strong { font-size: 15px; }
.history-source small { font-size: 11px; }
.history-source-browser > nav a { min-width: 96px; padding: 9px 12px; font-size: 12px; }
.history-source-browser > nav span { font-size: 11px; }
.history-anchor { grid-template-columns: 104px minmax(0, 1fr) auto; min-height: 76px; padding: 12px 15px; }
.history-anchor > span { font-size: 11px; }
.history-anchor strong { font-size: 16px; }
.history-anchor small { font-size: 12px; }
.history-anchor > p { gap: 5px; font-size: 11px; }
.history-corpus-disclosure { margin-top: 17px; padding: 13px 15px; border-left: 3px solid var(--lime); background: #fffdf6; }
.history-corpus-disclosure strong { color: var(--forest); font: 700 15px/1.3 var(--serif); }
.history-corpus-disclosure p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.history-article-nav > span { font-size: 11px; }
.history-article-nav a { min-width: 104px; height: 40px; font-size: 12px; }

.follow-copy > p:not(.eyebrow), .social-card p, .contact-note p { font-size: 14px; line-height: 1.6; }
.social-card small, .social-card strong { font-size: 11px; }
.detail-summary { font-size: 16px; line-height: 1.65; }
.classroom-note p { font-size: 14px; line-height: 1.55; }
.detail-notice { font-size: 12px; line-height: 1.5; }

@media (max-height: 820px) and (min-width: 821px) {
  .button { min-height: 44px; font-size: 14px; }
  .home-intro { font-size: 14px; }
  .resource-card__body { padding: 9px 12px; }
  .resource-card h2 { font-size: 18px; }
  .resource-card__summary { font-size: 12px; -webkit-line-clamp: 1; }
  .resource-card__author, .resource-card__meta { font-size: 10px; }
  .history-home__head > p { font-size: 13px; }
  .history-entry-card__copy > span { font-size: 12px; }
  .history-article__rail h1 { font-size: 27px; }
  .history-article__tabs a { min-height: 36px; font-size: 11px; }
  .history-article__stage { gap: 22px; padding: 20px 26px; }
  .history-article__copy h2 { font-size: 27px; }
  .history-article__story h3 { font-size: 16px; }
  .history-article__story p { font-size: 14px; line-height: 1.58; }
  .history-section-citations small, .history-section-citations a { font-size: 9px; }
  .history-story-pager a { min-height: 36px; font-size: 14px; }
  .history-story-pager a small { font-size: 10px; }
  .history-article__media { grid-template-rows: minmax(190px, 35vh) auto; }
  .history-media-source-link { min-height: 40px; font-size: 12px; }
  .history-source, .history-anchor { min-height: 64px; padding: 9px 12px; }
  .history-source strong, .history-anchor strong { font-size: 13px; }
  .history-source small, .history-anchor small, .history-anchor > p { font-size: 10px; }
  .history-corpus-disclosure { margin-top: 10px; padding: 9px 11px; }
  .history-corpus-disclosure strong { font-size: 13px; }
  .history-corpus-disclosure p { font-size: 10.5px; line-height: 1.45; }
}

@media (max-width: 820px) {
  .side-nav a { font-size: 14px; }
  .button { min-height: 44px; padding-inline: 16px; font-size: 14px; }
  .home-intro { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .home-art__main figcaption strong { font-size: 12px; }
  .home-art__main figcaption span { font-size: 10px; }
  .home-feature p { font-size: 10px; }
  .home-feature h2 { font-size: 17px; }
  .home-feature .home-feature__button { min-height: 40px; font-size: 13px; }

  .search-box input { font-size: 13px; }
  .filter-list button { min-height: 29px; padding-inline: 9px; font-size: 10px; }
  .resource-grid { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .resource-card__body { padding: 10px 11px; }
  .resource-card__body > p:first-child { font-size: 10px; }
  .resource-card h2 { font-size: 18px; }
  .resource-card__summary { font-size: 12px; }
  .resource-card__author, .resource-card__meta { font-size: 10px; }
  .resource-pager button { min-width: 76px; height: 34px; font-size: 11px; }

  .history-home__head .eyebrow { font-size: 10px; }
  .history-home__head > p { font-size: 12px; line-height: 1.5; }
  .history-home__head > .history-audience-switch { width: 172px; }
  .history-audience-switch span { font-size: 10px; }
  .history-audience-switch strong { font-size: 13px; }
  .history-book-spine strong { font-size: 10px; }
  .history-dossier > header small, .history-dossier > header p { font-size: 9px; }
  .history-chapter-tabs a { min-height: 29px; font-size: 9px; }
  .history-entry-card__copy > p { font-size: 9px; }
  .history-entry-card__copy h2 { font-size: 19px; }
  .history-entry-card__copy > span { font-size: 12px; line-height: 1.48; }
  .history-entry-card__copy > div small, .history-entry-card__copy > div strong { font-size: 9px; }
  .history-page-nav a, .history-page-nav span, .history-legend { font-size: 9px; }

  .history-back { font-size: 10px; }
  .history-article__rail > div:nth-of-type(1) small { font-size: 9px; }
  .history-article__rail h1 { font-size: 21px; }
  .history-article__rail > div:nth-of-type(1) p { font-size: 11px; }
  .history-article__rail > .history-audience-switch { display: none; }
  .history-article__tabs a { min-height: 34px; font-size: 10px; }
  .history-article__stage { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; gap: 8px; padding: 10px 13px; }
  .history-article__copy > p { font-size: 9px; }
  .history-article__copy h2 { font-size: 23px; line-height: 1.15; }
  .history-article__story h3 { font-size: 14px; }
  .history-article__story p { font-size: 13px; line-height: 1.5; }
  .history-section-citations small, .history-section-citations a { font-size: 9px; }
  .history-story-pager a { min-height: 34px; font-size: 13px; }
  .history-story-pager a small { font-size: 9px; }
  .history-article__media { display: none; }
  .history-licensed-image figcaption { padding: 5px 6px; }
  .history-licensed-image figcaption strong { display: none; }
  .history-licensed-image figcaption small, .history-licensed-image figcaption span { font-size: 8px; }
  .history-media-source-link { min-height: 100%; padding: 0 11px; font-size: 12px; line-height: 1.4; }
  .history-article-nav a { min-width: 80px; height: 34px; font-size: 10px; }
  .history-article-nav > span { font-size: 9px; }

  .history-article__stage--teacher > header p, .history-source-overview > p { font-size: 10px; }
  .history-article__stage--teacher { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .history-article__stage--teacher > header span, .history-source-overview > span { font-size: 12px; }
  .history-teacher-grid small, .history-teacher-questions > small { font-size: 9px; }
  .history-teacher-grid strong { font-size: 14px; }
  .history-teacher-grid p { font-size: 11px; }
  .history-teacher-questions li { font-size: 12px; }
  .history-source { grid-template-columns: 58px 1fr 18px; min-height: 78px; padding: 10px 11px; }
  .history-source > span { font-size: 9px; }
  .history-source strong, .history-source small { overflow: visible; text-overflow: clip; white-space: normal; }
  .history-source strong { font-size: 13px; line-height: 1.35; }
  .history-source small { font-size: 9px; line-height: 1.4; }
  .history-source-browser > nav a { min-width: 78px; padding: 8px; font-size: 10px; }
  .history-source-browser > nav span { font-size: 9px; }
  .history-article__stage--sources, .history-article__stage--anchors { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .history-anchor { grid-template-columns: 68px minmax(0, 1fr) auto; min-height: 76px; padding: 10px 11px; }
  .history-anchor > span { font-size: 9px; }
  .history-anchor strong, .history-anchor small { overflow: visible; text-overflow: clip; white-space: normal; }
  .history-anchor strong { font-size: 13px; }
  .history-anchor small, .history-anchor > p { font-size: 9px; line-height: 1.4; }
  .history-corpus-disclosure { margin-top: 8px; padding: 8px 10px; }
  .history-corpus-disclosure strong { font-size: 12px; }
  .history-corpus-disclosure p { display: -webkit-box; overflow: hidden; font-size: 10px; line-height: 1.4; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

  .follow-copy > p:not(.eyebrow), .social-card p, .contact-note p { font-size: 12px; }
  .social-card small, .social-card strong { font-size: 9px; }
  .detail-summary { font-size: 13px; }
  .classroom-note p { font-size: 12px; }
  .detail-notice { font-size: 10px; }
}

@media (max-width: 420px) and (max-height: 700px) {
  .home-intro { font-size: 12px; }
  .button { min-height: 40px; font-size: 13px; }
  .history-article__copy h2 { font-size: 21px; }
  .history-article__story h3 { font-size: 13px; }
  .history-article__story p { font-size: 12px; line-height: 1.42; }
  .history-article__media { grid-template-rows: 104px; height: 104px; }
}

/* 2026-08-24 readability system v2
   The visual style stays editorial; density yields before type size. */
:root {
  --sidebar: clamp(288px, 20vw, 312px);
  --font-micro: 12px;
  --font-caption: 14px;
  --font-ui: 16px;
  --font-body: 18px;
}

.brand strong { font-size: 22px; }
.brand small { color: rgba(248,243,232,.72); font-size: var(--font-micro); }
.side-nav { padding-top: 18px; }
.side-nav > p { color: rgba(248,243,232,.62); font-size: 13px; }
.side-nav a { min-height: 52px; color: rgba(248,243,232,.82); }
.side-nav a > span:nth-child(2), .side-nav a { font-size: 17px; }
.side-nav a small, .resource-tree small { font-size: var(--font-micro); }
.resource-tree { margin-left: 50px; }
.resource-tree h2 { color: rgba(248,243,232,.68); font-size: 12px; }
.resource-tree button { min-height: 32px; color: rgba(248,243,232,.82); font-size: 15px; }
.side-contact { grid-template-columns: 66px 1fr; }
.side-qr { width: 66px; height: 66px; }
.side-contact strong { font-size: var(--font-caption); }
.side-contact p, .side-email { color: rgba(248,243,232,.68); font-size: var(--font-micro); }
.side-qr b { font-size: var(--font-micro); }
.visit-stats__head p { font-size: 13px; }
.visit-stats__head small, .visit-stats dt, .side-footer .visit-stats__note { color: rgba(248,243,232,.62); font-size: var(--font-micro); }
.visit-stats dd { font-size: 19px; }

.eyebrow { font-size: var(--font-micro); }
.button { min-height: 48px; font-size: 17px; }
.home-intro { font-size: clamp(17px, 1.15vw, 19px); line-height: 1.65; }
.home-art__main figcaption strong { font-size: 16px; }
.home-art__main figcaption span { font-size: var(--font-caption); }
.home-stats span { font-size: var(--font-caption); }
.home-feature p { font-size: 13px; }
.home-feature h2 { font-size: clamp(21px, 1.55vw, 26px); }
.home-feature .home-feature__button { min-height: 48px; font-size: 17px; }

.search-box input { font-size: var(--font-ui); }
.filter-list button { min-height: 44px; padding-inline: 14px; font-size: var(--font-caption); }
.resource-card__body > p:first-child, .status-chip { font-size: 13px; }
.resource-card h2 { font-size: clamp(20px, 1.45vw, 25px); }
.resource-card__summary { font-size: var(--font-ui); line-height: 1.5; }
.resource-card__author, .resource-card__meta { font-size: var(--font-caption); }
.resource-pager p, .resource-pager span { font-size: var(--font-caption); }
.resource-pager button { min-width: 104px; height: 44px; font-size: 15px; }

.history-home__head > p { font-size: clamp(16px, 1.08vw, 18px); line-height: 1.6; }
.history-audience-switch a { min-height: 52px; }
.history-audience-switch span { font-size: var(--font-micro); }
.history-audience-switch strong { font-size: 17px; }
.history-book-spine strong { font-size: var(--font-ui); }
.history-dossier > header small, .history-dossier > header p { font-size: var(--font-caption); }
.history-chapter-tabs a { min-height: 44px; font-size: 15px; }
.history-entry-card__copy > p { font-size: var(--font-micro); }
.history-entry-card__copy h2 { font-size: clamp(22px, 1.8vw, 30px); }
.history-entry-card__copy > span { font-size: var(--font-ui); line-height: 1.58; }
.history-entry-card__copy > div small, .history-entry-card__copy > div strong { font-size: 13px; }
.history-page-nav a, .history-page-nav span, .history-legend { font-size: var(--font-caption); }

.history-back { min-height: 44px; display: inline-flex; align-items: center; font-size: var(--font-caption); }
.history-article__rail > div:nth-of-type(1) small { font-size: var(--font-micro); }
.history-article__rail h1 { font-size: clamp(32px, 2.35vw, 42px); }
.history-article__rail > div:nth-of-type(1) p { color: rgba(255,255,255,.7); font-size: 15px; }
.history-article__tabs a { min-height: 48px; padding-inline: 15px; color: rgba(255,255,255,.72); font-size: var(--font-ui); }
.history-rights-note { color: rgba(255,255,255,.68); font-size: 13px; }
.history-article__copy > p { font-size: var(--font-micro); }
.history-article__copy h2 { font-size: clamp(30px, 2.1vw, 38px); }
.history-article__story h3 { font-size: clamp(20px, 1.35vw, 23px); }
.history-article__story p { font-size: clamp(17px, 1.15vw, 19px); line-height: 1.65; }
.history-article__story section > span { width: 34px; height: 34px; font-size: var(--font-micro); }
.history-section-citations small, .history-section-citations a { font-size: var(--font-micro); }
.history-story-pager a { min-height: 48px; font-size: var(--font-ui); }
.history-story-pager a small { font-size: var(--font-micro); }
.history-media-source-link { min-height: 48px; font-size: var(--font-ui); }
.history-licensed-image figcaption, .history-licensed-image figcaption small { font-size: var(--font-micro); }
.history-licensed-image figcaption strong { font-size: 13px; }

.history-article__stage--teacher > header p, .history-source-overview > p { font-size: var(--font-micro); }
.history-article__stage--teacher > header span, .history-source-overview > span { font-size: var(--font-ui); line-height: 1.6; }
.history-teacher-grid small, .history-teacher-questions > small { font-size: var(--font-caption); }
.history-teacher-grid strong { font-size: clamp(18px, 1.3vw, 22px); }
.history-teacher-grid p { font-size: 15px; line-height: 1.5; }
.history-teacher-questions li { font-size: var(--font-ui); line-height: 1.5; }
.history-teacher-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.history-teacher-pager a { min-height: 44px; display: flex; align-items: center; justify-content: center; padding-inline: 12px; border: 1px solid var(--line); font-size: var(--font-caption); font-weight: 800; }
.history-teacher-pager a:last-child { justify-self: end; }
.history-teacher-pager a[aria-disabled="true"] { opacity: .38; pointer-events: none; }
.history-teacher-pager span { font-size: var(--font-caption); font-weight: 800; }
.history-source-overview > div small { font-size: var(--font-caption); }
.history-source { min-height: 88px; }
.history-source > span { font-size: var(--font-caption); }
.history-source strong { font-size: 17px; }
.history-source small { font-size: var(--font-caption); }
.history-source-browser > nav a { min-height: 44px; font-size: var(--font-caption); }
.history-source-browser > nav span { font-size: var(--font-caption); }
.history-anchor { min-height: 88px; }
.history-anchor > span { font-size: var(--font-caption); }
.history-anchor strong { font-size: 18px; }
.history-anchor small, .history-anchor > p { font-size: var(--font-caption); }
.history-corpus-disclosure strong { font-size: 17px; }
.history-corpus-disclosure p { font-size: var(--font-caption); line-height: 1.5; }
.history-article-nav > span { font-size: var(--font-caption); }
.history-article-nav a { min-width: 112px; height: 44px; font-size: 15px; }

.follow-copy > p:not(.eyebrow), .social-card p, .contact-note p { font-size: var(--font-ui); }
.social-card small, .social-card strong { font-size: var(--font-caption); }
.detail-summary { font-size: var(--font-body); }
.classroom-note p { font-size: var(--font-ui); }
.detail-notice { font-size: var(--font-caption); }

@media (max-height: 820px) and (min-width: 821px) {
  .brand { min-height: 78px; padding-block: 12px; }
  .brand small { display: none; }
  .side-nav { padding-top: 8px; }
  .side-nav a { min-height: 46px; }
  .resource-tree { padding-block: 3px; }
  .resource-tree section + section { margin-top: 3px; }
  .resource-tree button { min-height: 27px; font-size: 14px; }
  .side-contact { display: none; }
  .side-footer .visit-stats__note { display: none; }
  .button { min-height: 44px; font-size: var(--font-ui); }
  .home-intro { font-size: var(--font-ui); }
  .resource-card__summary { font-size: 15px; }
  .resource-card__author, .resource-card__meta { font-size: 13px; }
  .history-article__rail h1 { font-size: 32px; }
  .history-article__tabs a { min-height: 44px; font-size: 15px; }
  .history-article__copy h2 { font-size: 30px; }
  .history-article__story h3 { font-size: 19px; }
  .history-article__story p { font-size: 17px; line-height: 1.55; }
  .history-section-citations small, .history-section-citations a { font-size: var(--font-micro); }
  .history-story-pager a { min-height: 44px; font-size: 15px; }
  .history-media-source-link { min-height: 44px; font-size: var(--font-caption); }
  .history-source, .history-anchor { min-height: 76px; }
  .history-source strong { font-size: var(--font-ui); }
  .history-anchor strong { font-size: 17px; }
  .history-source small, .history-anchor small, .history-anchor > p { font-size: 13px; }
  .history-corpus-disclosure strong { font-size: var(--font-ui); }
  .history-corpus-disclosure p { font-size: 13px; }
}

@media (max-width: 820px) {
  :root {
    --font-micro: 12px;
    --font-caption: 13px;
    --font-ui: 15px;
    --font-body: 16px;
  }
  .mobile-menu { width: 44px; height: 44px; }
  .sidebar { overflow-y: auto; }
  .side-nav a, .side-nav a > span:nth-child(2) { font-size: 17px; }
  .resource-tree button { min-height: 32px; font-size: 15px; }
  .button { min-height: 44px; font-size: var(--font-ui); }
  .home-intro { font-size: var(--font-body); line-height: 1.55; }
  .home-art__main figcaption strong { font-size: var(--font-caption); }
  .home-art__main figcaption span { font-size: var(--font-micro); }
  .home-feature p { font-size: var(--font-micro); }
  .home-feature h2 { font-size: 20px; }
  .home-feature .home-feature__button { min-height: 44px; font-size: var(--font-ui); }
  .search-box input { font-size: var(--font-ui); }
  .filter-list button { min-height: 40px; font-size: var(--font-caption); }
  .resource-card__body > p:first-child, .status-chip { font-size: var(--font-micro); }
  .resource-card h2 { font-size: 20px; }
  .resource-card__summary { font-size: 15px; }
  .resource-card__author, .resource-card__meta { font-size: var(--font-caption); }
  .resource-pager button { min-width: 84px; height: 44px; font-size: var(--font-caption); }

  .history-home__head .eyebrow { font-size: var(--font-micro); }
  .history-home__head > p { font-size: 15px; }
  .history-audience-switch a { min-height: 48px; }
  .history-audience-switch span { font-size: var(--font-micro); }
  .history-audience-switch strong { font-size: var(--font-ui); }
  .history-book-spine strong { font-size: var(--font-caption); }
  .history-dossier > header small, .history-dossier > header p { font-size: var(--font-micro); }
  .history-chapter-tabs a { min-height: 40px; font-size: var(--font-caption); }
  .history-entry-card__copy > p { font-size: var(--font-micro); }
  .history-entry-card__copy h2 { font-size: 21px; }
  .history-entry-card__copy > span { font-size: 15px; }
  .history-entry-card__copy > div small, .history-entry-card__copy > div strong,
  .history-page-nav a, .history-page-nav span, .history-legend { font-size: var(--font-micro); }

  .history-back { min-height: 40px; font-size: var(--font-caption); }
  .history-article__rail > div:nth-of-type(1) small { font-size: var(--font-micro); }
  .history-article__rail h1 { font-size: 28px; }
  .history-article__rail > div:nth-of-type(1) p { font-size: var(--font-caption); }
  .history-article__tabs a { min-height: 44px; font-size: var(--font-caption); }
  .history-article__copy > p { font-size: var(--font-micro); }
  .history-article__copy h2 { font-size: 27px; }
  .history-article__copy.is-continuation > h2 { display: none; }
  .history-article__story h3 { font-size: 19px; }
  .history-article__story p { font-size: var(--font-body); line-height: 1.6; }
  .history-article__story section > span { width: 32px; height: 32px; font-size: var(--font-micro); }
  .history-section-citations small, .history-section-citations a { font-size: var(--font-micro); }
  .history-story-pager { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .history-story-pager a { min-height: 44px; font-size: var(--font-ui); }
  .history-story-pager a small { font-size: var(--font-micro); }
  .history-article-nav a { min-width: 86px; height: 44px; font-size: var(--font-caption); }
  .history-article-nav > span { font-size: var(--font-micro); }

  .history-article__stage--teacher > header p, .history-source-overview > p { font-size: var(--font-micro); }
  .history-article__stage--teacher > header span, .history-source-overview > span { font-size: var(--font-caption); }
  .history-teacher-grid small, .history-teacher-questions > small { font-size: var(--font-micro); }
  .history-teacher-grid strong { font-size: var(--font-ui); }
  .history-teacher-grid p, .history-teacher-questions li { font-size: var(--font-caption); }
  .history-teacher-grid { grid-template-columns: 1fr; }
  .history-teacher-pager { grid-column: 1 / -1; }
  .history-source { grid-template-columns: 68px 1fr 20px; min-height: 92px; }
  .history-source > span, .history-source small { font-size: var(--font-caption); }
  .history-source strong { font-size: var(--font-ui); }
  .history-source-browser > nav a { min-width: 88px; min-height: 44px; font-size: var(--font-caption); }
  .history-source-browser > nav span { font-size: var(--font-micro); }
  .history-anchor { grid-template-columns: 74px minmax(0, 1fr) auto; min-height: 90px; }
  .history-anchor > span, .history-anchor small, .history-anchor > p { font-size: var(--font-caption); }
  .history-anchor strong { font-size: var(--font-ui); }
  .history-corpus-disclosure strong { font-size: var(--font-ui); }
  .history-corpus-disclosure p { font-size: var(--font-caption); }

  .follow-copy > p:not(.eyebrow), .social-card p, .contact-note p,
  .detail-summary, .classroom-note p { font-size: var(--font-body); }
  .social-card small, .social-card strong, .detail-notice { font-size: var(--font-caption); }
}

@media (max-width: 420px) and (max-height: 700px) {
  .home-intro { font-size: 15px; }
  .button { min-height: 44px; font-size: var(--font-ui); }
  .history-article__copy h2 { font-size: 25px; }
  .history-article__story h3 { font-size: 18px; }
  .history-article__story p { font-size: 15px; line-height: 1.52; }
}

/* Resource scope groups: make junior/high-school boundaries visible at a glance. */
.filter-list--scope {
  display: grid;
  grid-template-columns: auto auto minmax(285px, 1fr) auto;
  align-items: stretch;
  justify-content: stretch;
  gap: 8px;
}

.scope-filter-all {
  min-height: 62px !important;
  padding-inline: 16px !important;
  font-weight: 800;
}

.scope-filter-group {
  min-inline-size: 0;
  margin: 0;
  padding: 4px 6px 6px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.035);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.scope-filter-group legend {
  padding: 0 6px;
  color: rgba(255,255,255,.78);
  font-size: var(--font-micro);
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1;
}

.scope-filter-group__buttons {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 4px;
}

.scope-filter-group__buttons button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.scope-filter-group:has(button[aria-pressed="true"]) {
  border-color: rgba(183,243,74,.82);
  background: rgba(183,243,74,.08);
  box-shadow: inset 0 0 0 1px rgba(183,243,74,.12);
}

@media (min-width: 821px) and (max-width: 1600px) {
  .resources-head {
    grid-template-columns: minmax(150px, .35fr) minmax(300px, 1fr);
  }

  .resource-filter-stack { grid-column: 1 / -1; }
  .filter-list { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .filter-list--scope {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .filter-list--scope::-webkit-scrollbar { display: none; }
  .scope-filter-all,
  .scope-filter-group { flex: 0 0 auto; scroll-snap-align: start; }
  .scope-filter-all { min-height: 58px !important; }
  .scope-filter-group { padding: 3px 5px 5px; }
  .scope-filter-group__buttons { gap: 4px; }
}

/* 2026-08-29 home co-creation recruitment panel */
.view--home {
  grid-template-columns: minmax(350px, .86fr) minmax(390px, 1fr) minmax(245px, .58fr);
  grid-template-rows: minmax(0, 1fr) clamp(124px, 17vh, 170px);
  gap: clamp(12px, 1.25vw, 20px);
}

.home-copy { grid-column: 1; grid-row: 1; }
.home-recruit { grid-column: 2; grid-row: 1 / 3; }
.home-art { grid-column: 3; grid-row: 1; }
.home-feature--race { grid-column: 1; grid-row: 2; }
.home-feature--models { grid-column: 3; grid-row: 2; }

.home-copy h1 { font-size: clamp(39px, 3.1vw, 55px); line-height: .98; }
.home-copy h1 > span:first-child { margin-bottom: .16em; font-size: .76em; letter-spacing: -.02em; }
.home-copy h1 > span:last-child { margin-top: .08em; }
.home-art__main { left: 8%; top: 7%; width: 78%; height: 82%; }
.home-art__pea { right: 1%; bottom: 5%; width: 48%; height: 40%; }
.home-art .archive-label { max-width: 110px; }

.home-recruit {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  color: var(--forest);
  background:
    radial-gradient(circle at 112% 25%, transparent 0 78px, rgba(255,102,82,.22) 79px 80px, transparent 81px),
    linear-gradient(155deg, #fffdf6 0%, #fff9ee 58%, #f5ead8 100%);
  border: 1px solid var(--coral);
  box-shadow: inset 0 0 0 7px rgba(255,255,255,.46);
}

.home-recruit::before {
  content: "";
  position: absolute;
  right: -42px;
  top: 27%;
  width: 145px;
  height: 260px;
  opacity: .18;
  background: repeating-linear-gradient(118deg, transparent 0 18px, var(--forest) 19px 20px, transparent 21px 38px);
  transform: rotate(-9deg);
  pointer-events: none;
}

.home-recruit > header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  color: #fff;
  background: var(--coral);
}

.home-recruit > header span { color: var(--lime); font-size: 18px; }
.home-recruit > header strong { font-size: 16px; letter-spacing: .06em; }
.home-recruit > header small { font-size: 12px; letter-spacing: .08em; }

.home-recruit__copy {
  position: relative;
  z-index: 3;
  padding: clamp(17px, 2.1vh, 24px) clamp(16px, 1.55vw, 24px) 8px;
}

.home-recruit__copy > p {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 8px;
  color: var(--forest);
  background: var(--lime);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.home-recruit__copy h2 {
  margin: 0 0 12px;
  font: 800 clamp(28px, 2.25vw, 40px)/1.06 var(--serif);
  letter-spacing: -.035em;
}

.home-recruit__copy h2 em { color: var(--coral); font-style: normal; }
.home-recruit__copy > span { display: block; font-size: 15px; font-weight: 650; line-height: 1.65; }

.home-recruit__scene { position: relative; z-index: 2; min-height: 0; }
.home-recruit__scene blockquote {
  position: absolute;
  z-index: 4;
  left: 14px;
  top: 7%;
  width: min(46%, 150px);
  margin: 0;
  padding: 14px 10px;
  color: var(--coral);
  background: rgba(255,253,246,.94);
  border: 2px solid var(--coral);
  border-radius: 50%;
  font: 800 clamp(13px, 1vw, 17px)/1.48 var(--serif);
  text-align: center;
  transform: rotate(-3deg);
}

.home-recruit__scene blockquote::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: -10px;
  width: 18px;
  height: 18px;
  background: #fffdf6;
  border-right: 2px solid var(--coral);
  border-bottom: 2px solid var(--coral);
  transform: rotate(34deg);
}

.home-recruit__scene img {
  position: absolute;
  right: -4%;
  bottom: -3%;
  width: 72%;
  height: 94%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 14px 12px rgba(46,24,18,.13));
}

.home-recruit__cta {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 3px;
  min-height: 64px;
  padding: 11px 16px;
  color: #fff;
  background: var(--coral);
  transition: background-color .2s ease, color .2s ease;
}

.home-recruit__cta:hover,
.home-recruit__cta:focus-visible { color: var(--forest); background: var(--lime); outline: none; }
.home-recruit__cta strong { font-size: 16px; }
.home-recruit__cta span { font-size: 12px; font-weight: 700; }

@media (max-width: 1600px) and (min-width: 1281px) {
  .view--home {
    grid-template-columns: minmax(300px, .84fr) minmax(340px, 1fr) minmax(220px, .58fr);
    grid-template-rows: minmax(0, 1fr) 132px;
    gap: 12px;
  }
  .home-copy h1 { font-size: clamp(36px, 3.05vw, 47px); }
  .home-recruit__copy { padding: 14px 15px 6px; }
  .home-recruit__copy > p { margin-bottom: 8px; font-size: 12px; }
  .home-recruit__copy h2 { margin-bottom: 8px; font-size: clamp(27px, 2.45vw, 34px); }
  .home-recruit__copy > span { font-size: 14px; line-height: 1.5; }
  .home-recruit__scene blockquote { left: 9px; padding: 10px 6px; font-size: 13px; }
  .home-recruit__cta { min-height: 58px; padding: 9px 12px; }
  .home-recruit__cta strong { font-size: 14px; }
  .home-recruit__cta span { font-size: 12px; }
  .home-feature--models p { display: none; }
  .home-feature--models > div { padding: 10px; }
  .home-feature--models h2 { font-size: 18px; }
}

@media (max-width: 1280px) and (min-width: 821px) {
  .view--home {
    grid-template-columns: minmax(280px, .92fr) minmax(330px, 1.08fr);
    grid-template-rows: minmax(0, 1fr) 132px;
    gap: 12px;
  }
  .home-copy { grid-column: 1; grid-row: 1; }
  .home-art { display: none; }
  .home-recruit { grid-column: 2; grid-row: 1 / 3; }
  .home-feature--race,
  .home-feature--models { grid-column: 1; grid-row: 2; width: calc(50% - 5px); grid-template-columns: 1fr; }
  .home-feature--race { justify-self: start; }
  .home-feature--models { justify-self: end; }
  .home-feature--race > img,
  .home-feature--models > img { display: none; }
  .home-feature--race > div,
  .home-feature--models > div { padding: 10px; }
  .home-feature--race p,
  .home-feature--models p { display: none; }
  .home-feature--race h2,
  .home-feature--models h2 { font-size: 16px; }
  .home-feature--race .home-feature__button,
  .home-feature--models .home-feature__button { min-height: 40px; font-size: 14px; }
  .home-copy h1 { font-size: clamp(33px, 3.8vw, 43px); }
}

@media (max-width: 820px) {
  .view--home {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
  }
  .home-copy { grid-column: 1; grid-row: 1; }
  .home-art,
  .home-feature--race,
  .home-feature--models { display: none; }
  .home-recruit { grid-column: 1; grid-row: 2; }
  .home-copy h1 { margin-top: 42px; font-size: clamp(27px, 8vw, 34px); }
  .home-intro { font-size: var(--font-body); -webkit-line-clamp: 2; }
  .home-recruit > header { min-height: 42px; padding-inline: 12px; }
  .home-recruit > header strong { font-size: 15px; }
  .home-recruit > header small { font-size: 12px; }
  .home-recruit__copy { padding: 11px 12px 4px; }
  .home-recruit__copy > p { margin-bottom: 7px; padding: 4px 6px; font-size: 12px; }
  .home-recruit__copy h2 { margin-bottom: 5px; font-size: 27px; }
  .home-recruit__copy > span { font-size: 13px; line-height: 1.45; }
  .home-recruit__scene blockquote { left: 9px; top: 8px; width: 43%; padding: 9px 6px; font-size: 13px; }
  .home-recruit__scene img { right: -1%; width: 63%; height: 99%; }
  .home-recruit__cta { min-height: 54px; padding: 8px 11px; }
  .home-recruit__cta strong { font-size: 14px; }
  .home-recruit__cta span { font-size: 12px; }
}

/* 2026-09-02 home editorial showcase */
.view--home {
  grid-template-columns: minmax(320px, 24%) repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1.22fr) minmax(0, .95fr) minmax(0, 1fr) minmax(0, .96fr);
  gap: clamp(8px, .7vw, 12px);
  padding: clamp(18px, 2vw, 32px);
}

.home-copy {
  grid-column: 1;
  grid-row: 1 / 5;
  align-self: center;
  padding: 0 clamp(8px, 1.25vw, 22px);
}

.home-copy__eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 clamp(18px, 2.2vh, 25px);
  color: var(--forest);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
}

.home-copy__eyebrow span { width: 25px; height: 2px; background: var(--coral); }
.home-copy h1 { margin-bottom: clamp(19px, 2.4vh, 27px); font-size: clamp(43px, 2.9vw, 54px); line-height: .98; }
.home-copy h1 > span:first-child { margin-bottom: .22em; font-size: .7em; }
.home-copy h1 > span:last-child { margin-top: .12em; }
.home-intro { max-width: 470px; font-size: 16px; line-height: 1.75; }
.home-actions { flex-wrap: wrap; }
.home-actions .button { min-height: 48px; font-size: 15px; }
.home-stats { max-width: 470px; }
.home-stats span { font-size: 14px; }

.home-history,
.home-project,
.home-recruit {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffdf6;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.home-history:hover,
.home-history:focus-visible,
.home-project:hover,
.home-project:focus-visible,
.home-recruit:hover,
.home-recruit:focus-visible {
  z-index: 12;
  border-color: rgba(16,45,36,.34);
  box-shadow: 0 16px 34px rgba(16,45,36,.2);
  outline: none;
  transform: translateY(-2px) scale(1.04);
}

.home-history {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
  color: var(--forest);
  background:
    radial-gradient(circle at 6% 108%, rgba(183,243,74,.18), transparent 34%),
    linear-gradient(135deg, #f4ead7 0%, #fffaf0 62%, #dfe7d4 100%);
}

.home-history::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -38%;
  width: 47%;
  aspect-ratio: 1;
  border: 1px solid rgba(16,45,36,.18);
  border-radius: 50%;
}

.home-history__copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 1.7vw, 26px);
}

.home-history__copy > p {
  margin: 0 0 13px;
  padding: 6px 9px;
  color: var(--forest);
  background: rgba(183,243,74,.5);
  font-size: 12px;
  font-weight: 850;
}

.home-history__copy h2 { margin: 0 0 13px; font: 800 clamp(28px, 2.15vw, 40px)/1.08 var(--serif); letter-spacing: -.025em; }
.home-history__copy > strong { font: 700 clamp(17px, 1.15vw, 21px)/1.48 var(--serif); }
.home-history__copy > span { display: block; max-width: 340px; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.home-history__copy > b,
.home-project__body > b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 43px;
  margin-top: auto;
  padding: 0 16px;
  color: #fff;
  background: var(--forest);
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(16,45,36,.16);
}

.home-history__copy > b i,
.home-project__body > b i { color: var(--lime); font-style: normal; }

.home-history__art { position: relative; min-width: 0; min-height: 0; }
.home-history__portrait { position: absolute; left: 9%; top: 7%; width: 66%; height: 84%; padding: 7px; background: var(--paper); object-position: center 24%; transform: rotate(-2deg); box-shadow: 0 10px 28px rgba(16,45,36,.12); }
.home-history__pea { position: absolute; z-index: 3; right: 2%; bottom: 5%; width: 48%; height: 45%; padding: 5px; background: var(--paper); transform: rotate(4deg); box-shadow: 0 10px 28px rgba(16,45,36,.14); }
.home-history__art small { position: absolute; z-index: 4; left: 14%; bottom: 10%; padding: 8px 10px; color: #fff; background: rgba(10,38,30,.9); font: 750 12px/1.15 var(--serif); letter-spacing: .08em; }
.home-history__art small em { display: block; margin-top: 4px; color: rgba(255,255,255,.72); font: 600 12px/1.2 var(--sans); letter-spacing: 0; }

.home-recruit {
  grid-column: 4;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(86px, 7vw, 128px);
  grid-template-rows: 46px minmax(0, 1fr);
  color: var(--forest);
  border-color: rgba(255,104,77,.72);
  background: linear-gradient(145deg, #fffdf6 0%, #fff3e9 100%);
}

.home-recruit > header {
  grid-column: 1 / 3;
  grid-row: 1;
  min-height: 46px;
  padding: 0 14px;
}

.home-recruit__compact-copy { position: relative; z-index: 3; grid-column: 1 / 3; grid-row: 2; align-self: stretch; padding: 13px clamp(90px, 8vw, 142px) 12px 16px; }
.home-recruit__compact-copy h2 { margin: 0 0 6px; font: 800 clamp(22px, 1.55vw, 28px)/1.05 var(--serif); }
.home-recruit__compact-copy p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.45; }
.home-recruit__compact-copy span { display: block; margin-top: 8px; color: var(--coral); font-size: 13px; font-weight: 850; }
.home-recruit > img { position: absolute; z-index: 2; right: -3px; bottom: -22%; width: clamp(94px, 8.8vw, 158px); height: 91%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 8px 9px rgba(46,24,18,.16)); }

.home-project { display: grid; grid-template-columns: 43% minmax(0, 1fr); }
.home-project > img { min-width: 0; min-height: 0; object-position: center; transition: transform .24s ease; }
.home-project:hover > img,
.home-project:focus-visible > img { transform: scale(1.08); }
.home-project__body { position: relative; z-index: 2; display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(10px, .95vw, 16px); background: rgba(255,253,246,.95); }
.home-project__body > small { display: block; margin-bottom: 5px; color: var(--coral); font-size: 11px; font-weight: 850; letter-spacing: .04em; }
.home-project__body > strong { display: block; font: 800 clamp(18px, 1.28vw, 24px)/1.15 var(--serif); letter-spacing: -.02em; }
.home-project__body > em { display: -webkit-box; overflow: hidden; margin-top: 6px; color: var(--muted); font-size: 14px; font-style: normal; font-weight: 650; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-project__body > b { min-height: 38px; margin-top: auto; padding: 0 13px; font-size: 14px; }

.home-project--race { grid-column: 4; grid-row: 2; }
.home-project--eye { grid-column: 2; grid-row: 3; }
.home-project--amino { grid-column: 3; grid-row: 3; }
.home-project--cell { grid-column: 4; grid-row: 3; }
.home-project--microscope { grid-column: 2; grid-row: 4; }
.home-project--pigment { grid-column: 3; grid-row: 4; }
.home-project--universe { grid-column: 4; grid-row: 4; }

@media (max-width: 1600px) and (min-width: 1281px) {
  .view--home { grid-template-columns: minmax(290px, 24%) repeat(3, minmax(0, 1fr)); gap: 8px; padding: 20px; }
  .home-copy h1 { font-size: clamp(39px, 3.1vw, 50px); }
  .home-copy__eyebrow { font-size: 12px; }
  .home-intro { font-size: 16px; }
  .home-actions .button { min-height: 44px; padding-inline: 14px; font-size: 15px; }
  .home-history__copy { padding: 16px; }
  .home-history__copy > p { margin-bottom: 9px; font-size: 12px; }
  .home-history__copy h2 { margin-bottom: 8px; font-size: 30px; }
  .home-history__copy > strong { font-size: 16px; }
  .home-history__copy > span { margin-top: 6px; font-size: 12px; }
  .home-history__copy > b { min-height: 38px; font-size: 13px; }
  .home-recruit > header small { display: none; }
  .home-recruit__compact-copy { padding-right: 82px; }
  .home-recruit__compact-copy p { font-size: 12px; }
  .home-recruit__compact-copy span { font-size: 12px; }
  .home-project { grid-template-columns: 40% minmax(0, 1fr); }
  .home-project__body { padding: 9px; }
  .home-project__body > small { font-size: 12px; }
  .home-project__body > strong { font-size: 18px; }
  .home-project__body > em { font-size: 12px; }
  .home-project__body > b { min-height: 34px; padding-inline: 10px; font-size: 12px; }
}

@media (max-width: 1280px) and (min-width: 821px) {
  .view--home {
    grid-template-columns: minmax(280px, 36%) repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 16px;
  }
  .home-copy { grid-column: 1; grid-row: 1 / 5; }
  .home-copy__eyebrow { font-size: 12px; }
  .home-copy h1 { font-size: clamp(36px, 4.1vw, 46px); }
  .home-intro { font-size: 15px; }
  .home-history { grid-column: 2 / 4; grid-row: 1 / 3; }
  .home-history__copy > span { display: none; }
  .home-history__copy h2 { font-size: 28px; }
  .home-recruit { grid-column: 2; grid-row: 3; }
  .home-project--race { grid-column: 3; grid-row: 3; }
  .home-project--eye { display: grid; grid-column: 2; grid-row: 4; }
  .home-project--microscope { display: grid; grid-column: 3; grid-row: 4; }
  .home-project--amino,
  .home-project--cell,
  .home-project--pigment,
  .home-project--universe { display: none; }
  .home-project__body > small { font-size: 12px; }
  .home-project__body > strong { font-size: 16px; }
  .home-project__body > em { font-size: 12px; }
  .home-project__body > b { min-height: 32px; padding-inline: 9px; font-size: 12px; }
}

@media (max-width: 820px) {
  .view--home { grid-template-columns: 1fr; grid-template-rows: 1.16fr 1.2fr .55fr .84fr; gap: 8px; padding: 13px; }
  .home-copy { grid-column: 1; grid-row: 1; align-self: start; padding: 0; }
  .home-copy__eyebrow { margin: 35px 0 8px; font-size: 12px; }
  .home-copy h1 { margin: 0 0 8px; font-size: clamp(28px, 8vw, 36px); line-height: 1; }
  .home-copy h1 > span:first-child { margin-bottom: .08em; }
  .home-copy h1 > span:nth-child(2),
  .home-copy h1 > span:nth-child(3),
  .home-copy h1 > span:nth-child(4) { display: inline; }
  .home-copy h1 > span:last-child { margin-top: 0; }
  .home-intro { font-size: 15px; line-height: 1.5; -webkit-line-clamp: 2; }
  .home-actions { margin-top: 9px; }
  .home-actions .button { min-height: 38px; font-size: 15px; }
  .home-stats { display: none; }
  .home-history { grid-column: 1; grid-row: 2; grid-template-columns: 45% 55%; }
  .home-history__copy { padding: 12px; }
  .home-history__copy > p { margin-bottom: 7px; padding: 4px 6px; font-size: 12px; }
  .home-history__copy h2 { margin-bottom: 7px; font-size: 24px; }
  .home-history__copy > strong { font-size: 14px; }
  .home-history__copy > span { display: none; }
  .home-history__copy > b { min-height: 34px; padding-inline: 10px; font-size: 12px; }
  .home-history__portrait { left: 4%; width: 73%; }
  .home-history__pea { width: 51%; }
  .home-history__art small { display: none; }
  .home-project { display: none; }
  .home-recruit { display: grid; grid-column: 1; grid-row: 3; grid-template-columns: 1fr 80px; grid-template-rows: 32px minmax(0, 1fr); }
  .home-recruit > header { min-height: 32px; padding: 0 10px; }
  .home-recruit > header strong { font-size: 13px; }
  .home-recruit > header small { display: none; }
  .home-recruit__compact-copy { padding: 6px 75px 4px 10px; }
  .home-recruit__compact-copy h2 { margin-bottom: 2px; font-size: 17px; }
  .home-recruit__compact-copy p { font-size: 12px; line-height: 1.25; }
  .home-recruit__compact-copy span { display: none; }
  .home-recruit > img { right: 0; bottom: -19%; width: 91px; height: 93%; }
  .home-project--microscope { display: grid; grid-column: 1; grid-row: 4; grid-template-columns: 40% minmax(0, 1fr); }
  .home-project__body { padding: 9px; }
  .home-project__body > small { font-size: 12px; }
  .home-project__body > strong { font-size: 17px; }
  .home-project__body > em { margin-top: 3px; font-size: 12px; -webkit-line-clamp: 1; }
  .home-project__body > b { min-height: 34px; padding: 0 10px; font-size: 13px; }
}

/* Keep the contact slot visible on editorial pages; book filters belong to the cabinet. */
.resource-tree { display: none; }
.sidebar[data-section="resources"] .resource-tree { display: block; }
.side-qr .side-qr__placeholder {
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}
.side-qr .side-qr__placeholder:first-child { left: 0; top: 0; }

@media (min-width: 821px) and (max-height: 950px) {
  .sidebar[data-section="resources"] .side-contact { display: none; }
}

.side-nav .side-profile-link,
.side-nav .side-profile-link > span:nth-child(2) { font-size: 17px; }
.side-nav .side-profile-link small { font-size: 12px; }
