:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --surface: #fffdf6;
  --ink: #1b302c;
  --muted: #4b5c53;
  --line: #d7d9ca;
  --teal: #1c493e;
  --dark: #173a32;
  --gold: #816121;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.5rem; }
body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
}
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.13; }
p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #936121; outline-offset: 4px; }
.frame { width: min(1196px, calc(100% - 88px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 3;
  padding: .8rem 1rem;
  background: var(--surface);
}
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.brand { display: inline-flex; gap: .72rem; align-items: center; font: 1.32rem/1.14 var(--serif); text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  position: relative;
  width: 33px;
  height: 33px;
  flex: 0 0 33px;
  border-radius: 50%;
  color: #ebdcaf;
  background: var(--dark);
}
.brand-mark i { position: absolute; width: 20px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
.brand-mark i:nth-child(2) { transform: rotate(60deg); }
.brand-mark i:nth-child(3) { transform: rotate(-60deg); }
.header-inner nav, .site-footer nav { display: flex; gap: clamp(.85rem, 3vw, 2.25rem); align-items: center; }
.header-inner nav a, .site-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
}
.header-inner nav a:hover, .header-inner nav a[aria-current], .site-footer nav a:hover { text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(2.2rem, 5vw, 5.25rem); align-items: center; padding: 64px 0 57px; }
.hero-copy { padding-bottom: 1.7rem; }
.eyebrow, .section-label {
  display: flex;
  gap: .6rem;
  align-items: center;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .81rem;
  font-weight: 750;
}
.eyebrow span { background: #aa7826; width: 21px; height: 2px; }
.hero h1 { margin: 1.15rem 0 1.25rem; font-size: clamp(2.6rem, 5vw, 4.7rem); letter-spacing: -.042em; line-height: 1.02; }
.hero h1 em { color: var(--teal); font-weight: 400; }
.hero-description { max-width: 34ch; color: var(--muted); font-size: clamp(1.05rem, 1.65vw, 1.22rem); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.35rem; margin-top: 1.8rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: .63rem 1.16rem;
  border: 1px solid var(--dark);
  border-radius: 4px;
  background: var(--dark);
  color: #fffdf5;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
}
.button:hover { background: #255549; border-color: #255549; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; font-size: .9rem; font-weight: 680; color: var(--dark); }
.hero-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1.53; object-fit: cover; object-position: center 52%; border-radius: 5px; background: #a4b7a4; }
.hero-figure figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 0 .45rem; margin-top: .75rem; color: var(--muted); font-size: .8rem; }
.figure-dot { width: 7px; height: 7px; border-radius: 50%; background: #906620; }

.library { background: #eeeee3; padding-block: 3.45rem 4.65rem; border-block: 1px solid var(--line); }
.library-title { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; }
.library h2, .related h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.055em; }
.library-title p { margin-top: .5rem; color: var(--muted); }
.search { position: relative; width: min(100%, 300px); }
.search input {
  width: 100%;
  min-height: 47px;
  padding: .68rem 1rem .68rem 2.5rem;
  border: 1px solid #969e8d;
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.search-icon { position: absolute; top: 16px; left: 15px; width: 13px; height: 13px; border: 1.5px solid var(--teal); border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.5px; background: var(--teal); bottom: -3px; right: -4px; transform: rotate(45deg); }
.library-tools { margin-top: 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: .65rem 1rem; }
.filters { display: flex; gap: .55rem; flex-wrap: wrap; }
.filters button {
  min-height: 44px;
  padding: .45rem .88rem;
  border: 1px solid #aeb8a8;
  border-radius: 100vw;
  background: transparent;
  color: var(--dark);
  font-size: .86rem;
  font-weight: 650;
}
.filters button[aria-pressed="true"] { border-color: var(--dark); background: var(--dark); color: #fffdf5; }
@media (hover: hover) {
  .filters button:not([aria-pressed="true"]):hover { border-color: var(--teal); background: #e0e7dc; }
}
.result-count { color: var(--muted); font-size: .85rem; flex-shrink: 0; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}
.card:hover, .card:focus-within { border-color: #748d75; }
.card > a { display: block; height: 100%; text-decoration: none; }
.card > a:focus-visible { outline-offset: -4px; }
.card > a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.science { --plate: #dce8df; --plate-ink: #315a4f; }
.systems { --plate: #efe5cc; --plate-ink: #785927; }
.safety { --plate: #e4e6ed; --plate-ink: #4b5877; }
.card-plate, .article-plate {
  display: grid;
  place-items: center;
  background-color: var(--plate);
  background-image: linear-gradient(90deg, #1d3d2c10 1px, transparent 1px), linear-gradient(#1d3d2c10 1px, transparent 1px);
  background-size: 19px 19px;
  background-position: center;
  color: var(--plate-ink);
}
.card-plate { height: 87px; }
.card-text { padding: 1.05rem 1.22rem 1.22rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: .25rem .7rem; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.card-meta span:first-child { color: var(--plate-ink); font-weight: 760; }
.card h3 { margin: .45rem 0 .48rem; font-size: clamp(1.4rem, 2.3vw, 1.78rem); letter-spacing: -.04em; }
.card p { color: var(--muted); font-size: .94rem; line-height: 1.53; }
.card .search-match { margin-top: .65rem; padding-left: .55rem; border-left: 2px solid #879d85; font-size: .82rem; }
.empty { padding: 1.5rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; }
.empty .button { margin-top: .8rem; }

.motif { position: relative; display: block; width: 80px; height: 54px; }
.motif i { position: absolute; display: block; border: 1.5px solid currentColor; }
.motif-reactor i:nth-child(1) { width: 31px; height: 35px; left: 24px; top: 10px; border-radius: 12px 12px 10px 10px; }
.motif-reactor i:nth-child(2) { width: 66px; height: 25px; left: 7px; top: 15px; border-radius: 20px; }
.motif-reactor i:nth-child(3) { width: 4px; height: 25px; left: 34px; top: 15px; border-top: 0; border-bottom: 0; }
.motif-reactor i:nth-child(4) { width: 4px; height: 25px; right: 34px; top: 15px; border-top: 0; border-bottom: 0; }
.motif-modules i:nth-child(-n+3) { height: 27px; width: 20px; top: 13px; border-radius: 7px 7px 2px 2px; background: var(--plate); }
.motif-modules i:nth-child(1) { left: 6px; }
.motif-modules i:nth-child(2) { left: 30px; }
.motif-modules i:nth-child(3) { left: 54px; }
.motif-modules i:nth-child(4) { width: 76px; left: 2px; top: 43px; border-width: 1px 0 0; }
.motif-cost i:nth-child(1) { width: 58px; height: 35px; left: 12px; top: 8px; border-width: 0 0 1.5px 1.5px; }
.motif-cost i:nth-child(n+2) { width: 11px; bottom: 11px; background-color: var(--plate); }
.motif-cost i:nth-child(2) { height: 13px; left: 22px; }
.motif-cost i:nth-child(3) { height: 21px; left: 37px; }
.motif-cost i:nth-child(4) { height: 30px; left: 52px; }
.motif-fusion i:nth-child(-n+3) { width: 74px; height: 19px; top: 18px; left: 3px; border-radius: 50%; }
.motif-fusion i:nth-child(2) { transform: rotate(32deg); }
.motif-fusion i:nth-child(3) { transform: rotate(-32deg); }
.motif-fusion i:nth-child(4) { width: 6px; height: 6px; top: 24px; left: 37px; border-radius: 50%; background: currentColor; }
.motif-fuel i:nth-child(1) { inset: 14px 14px 8px; border-radius: 4px; background: var(--plate); }
.motif-fuel i:nth-child(2) { inset: 9px 14px auto; height: 12px; border-radius: 50%; background: var(--plate); }
.motif-fuel i:nth-child(3) { inset: 24px 23px 15px; border-width: 0 1.5px; background: repeating-linear-gradient(90deg, transparent 0 5px, currentColor 5px 6px); }
.motif-fuel i:nth-child(4) { display: none; }
.motif-mix i { height: 9px; left: 7px; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 9px); border-radius: 1px; }
.motif-mix i:nth-child(1) { width: 66px; top: 9px; }
.motif-mix i:nth-child(2) { width: 49px; top: 23px; }
.motif-mix i:nth-child(3) { width: 58px; top: 37px; }
.motif-mix i:nth-child(4) { display: none; }
.motif-capacity i:nth-child(1) { width: 64px; height: 42px; top: 6px; left: 8px; border-width: 0 0 1.5px 1.5px; }
.motif-capacity i:nth-child(2) { width: 61px; height: 34px; left: 9px; top: 9px; border: 0; background: currentColor; clip-path: polygon(0 90%, 10% 65%, 21% 64%, 32% 31%, 43% 17%, 56% 45%, 66% 33%, 80% 47%, 91% 13%, 100% 0, 100% 9%, 91% 22%, 81% 57%, 66% 42%, 56% 54%, 42% 26%, 34% 39%, 23% 72%, 12% 73%, 0 98%); }
.motif-capacity i:nth-child(3), .motif-capacity i:nth-child(4) { display: none; }
.motif-safety i:nth-child(1) { inset: 4px 12px; border-radius: 50% 50% 39% 39%; }
.motif-safety i:nth-child(2) { inset: 11px 20px; border-radius: 50% 50% 39% 39%; }
.motif-safety i:nth-child(3) { inset: 18px 28px; border-radius: 50% 50% 39% 39%; }
.motif-safety i:nth-child(4) { display: none; }
.motif-emissions i:nth-child(1) { width: 45px; height: 45px; border-radius: 50%; left: 17px; top: 4px; }
.motif-emissions i:nth-child(2) { width: 24px; height: 28px; border-radius: 80% 0 80% 0; left: 28px; top: 13px; transform: rotate(-10deg); }
.motif-emissions i:nth-child(3) { width: 29px; height: 1px; left: 25px; top: 27px; border-width: 1px 0 0; transform: rotate(-46deg); }
.motif-emissions i:nth-child(4) { display: none; }

.article-header { background: #edeee3; border-bottom: 1px solid var(--line); }
.article-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, .34fr); gap: 3rem; align-items: center; padding-block: 2.6rem 3.5rem; }
.crumb { color: var(--muted); font: 650 .85rem/1.5 var(--sans); }
.crumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; padding: 0; margin: 0; list-style: none; }
.crumb li > span { margin-right: .7rem; }
.crumb a { display: inline-flex; min-height: 44px; align-items: center; }
.article-heading h1, .info h1 { max-width: 19ch; margin-top: .6rem; font-size: clamp(2.7rem, 5.7vw, 5rem); letter-spacing: -.045em; }
.article-lead { max-width: 55ch; margin-top: .95rem; font-size: 1.14rem; color: var(--muted); }
.article-date { margin-top: 1rem; color: var(--muted); font-size: .83rem; }
.article-date time { margin-left: .33rem; }
.article-plate { min-height: 198px; border-radius: 5px; }
.article-plate .motif { transform: scale(1.9); }
.reader-layout { display: grid; grid-template-columns: minmax(165px, 210px) minmax(0, 695px); gap: clamp(1.25rem, 6.3vw, 6rem); align-items: start; padding-block: 3rem 4rem; }
.article-aside { position: sticky; top: 2rem; }
.article-aside nav { border-left: 1px solid #b1b9a7; padding-left: .95rem; }
.mobile-contents { display: none; }
.article-aside ul, .mobile-contents ul { display: grid; list-style: none; padding: 0; margin: .36rem 0 0; }
.article-aside a { display: flex; min-height: 30px; align-items: center; padding: .27rem 0; font-size: .86rem; line-height: 1.45; color: var(--muted); text-decoration: none; }
.article-aside a:hover { color: var(--ink); text-decoration: underline; }
.reader { font-size: 1.08rem; line-height: 1.72; }
.reader h2, .info h2 { margin-bottom: .67rem; font-size: clamp(1.65rem, 3.4vw, 2.25rem); letter-spacing: -.036em; }
.reader-section { margin-top: 2.2rem; }
.reader-section > p + p { margin-top: .85rem; }
.reader-section a, .citation { color: var(--teal); }
.citation { white-space: nowrap; padding-inline: .09em; font: 700 .83em var(--sans); }
.citation:target { background: #e5dab4; color: var(--dark); }
.answer { border-left: 3px solid #a16d25; background: #efead8; border-radius: 0 4px 4px 0; padding: 1rem 1.25rem; }
.answer p + p { margin-top: .34rem; }
.article-figure {
  margin-top: 1.4rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}
.article-figure > h3 { margin: 0 0 .86rem; font-size: clamp(1.34rem, 2.5vw, 1.65rem); }
.article-figure figcaption { margin-top: .8rem; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.technical-art { display: block; width: 100%; height: auto; margin: 0 auto; border-radius: 3px; }
.reactor-figure .technical-art { margin-bottom: .85rem; }
.cost-chart { margin-bottom: .9rem; }
.cost-scale { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr); text-align: center; white-space: nowrap; font-size: .73rem; color: var(--muted); }
.cost-scale span:first-child { text-align: left; }
.cost-scale span:last-child { justify-self: end; }
.cost-chart ul { display: grid; gap: .55rem; margin: .35rem 0 0; padding: 0; list-style: none; }
.cost-chart li { font-size: .85rem; }
.cost-track { position: relative; height: .48rem; margin-top: .18rem; border-radius: 8px; background: #e4e9de; }
.cost-track i { position: absolute; inset-block: 0; left: calc(var(--low) / 270 * 100%); width: calc((var(--high) - var(--low)) / 270 * 100%); border-radius: inherit; background: #476b57; }
@media (forced-colors: active) { .cost-chart { display: none; } }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(126px, 100%), 1fr)); gap: .55rem; margin: 0; padding: 0; list-style: none; }
.steps { counter-reset: stage; }
.steps li { display: grid; align-content: start; padding: .65rem .7rem; border-top: 2px solid #879d85; background: #eef0e5; }
.steps strong { font-size: .89rem; }
.steps span { color: var(--muted); font-size: .8rem; line-height: 1.43; }
.steps li::before { counter-increment: stage; content: counter(stage); font-size: .78rem; font-weight: 750; color: var(--teal); }
.reactor-figure section { border-top: 1px solid var(--line); padding-block: .8rem; }
.reactor-figure h4 { margin: 0 0 .65rem; font: 400 1.17rem/1.2 var(--serif); }
.circuit { --circuit-ink: #315a4f; --circuit-bg: #e4eee6; }
.circuit.hot { --circuit-ink: #764e25; --circuit-bg: #f0e5cf; }
.circuit p { color: var(--circuit-ink); font-size: .84rem; font-weight: 700; }
.circuit ol { display: flex; padding: 0; margin: .25rem 0 0; gap: .65rem; list-style: none; }
.circuit li {
  position: relative; flex: 1; min-width: 0; display: grid; align-content: center;
  padding: .38rem .25rem; text-align: center; border: 1px solid var(--circuit-ink); border-radius: 3px;
  background: var(--circuit-bg); color: var(--ink); font-size: .82rem; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere;
}
.circuit li + li::before {
  content: ""; position: absolute; width: .32rem; height: .32rem; top: calc(50% - .16rem); left: -.53rem;
  border-top: 1px solid var(--circuit-ink); border-right: 1px solid var(--circuit-ink); transform: rotate(45deg);
}
.circuit-return {
  margin: 0 .45rem; padding: .28rem .4rem; border: 1px solid var(--circuit-ink); border-top: 0;
  text-align: center; color: var(--circuit-ink); font-size: .78rem;
}
.heat-transfer { padding: .38rem .1rem; color: var(--muted); font-size: .8rem; }
.module-path { display: grid; gap: .3rem; text-align: center; }
.module-path > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.module-path strong { display: block; padding: .44rem .35rem; border: 1px solid #92a99b; border-radius: 3px; background: #e4eee6; font-size: .9rem; }
.module-path p { color: var(--muted); font-size: .81rem; }
.formula { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; color: var(--dark); font-size: clamp(1rem, 2.7vw, 1.28rem); font-variant-numeric: tabular-nums; }
.formula strong { font-size: 1.42rem; }
.timeline { padding: 0; margin: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 6rem 4.5rem 1fr; gap: .65rem; padding: .46rem 0; border-bottom: 1px solid var(--line); font-size: .91rem; }
.timeline-date, .timeline strong { color: var(--teal); font-weight: 750; }
.mix-legend { display: flex; flex-wrap: wrap; gap: .2rem .8rem; margin-bottom: .75rem; }
.mix-legend span { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); font-size: .82rem; }
.mix-legend span::before { content: ""; width: .75rem; height: .75rem; background: var(--pattern), var(--swatch); }
.mix-row { display: grid; grid-template-columns: 7.3rem 1fr; gap: .35rem; align-items: center; margin: .36rem 0; }
.mix-row strong { font-size: .83rem; }
.narrow-output { display: none; }
.mix-bar { display: flex; height: 15px; border-radius: 2px; overflow: hidden; }
.mix-bar i { flex: var(--share) 0 0%; background: var(--pattern), var(--swatch); }
.mix-bar i + i { box-shadow: inset 1px 0 #fffdf6; }
.nuclear { --swatch: #214f49; --pattern: linear-gradient(transparent, transparent); }
.renewable { --swatch: #b5c29d; --pattern: repeating-linear-gradient(135deg, transparent 0 4px, #36463068 4px 5px); }
.fossil { --swatch: #aa724b; --pattern: radial-gradient(circle at center, #f8e6cb 1px, transparent 1.1px) 0 0 / 5px 5px; }
.data-table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
.data-table caption { color: var(--muted); font-size: .8rem; text-align: left; }
.data-table th, .data-table td { border-bottom: 1px solid var(--line); text-align: right; padding: .3rem .25rem; }
.data-table th:first-child { text-align: left; }
.data-table thead th { background: #eef0e5; }
.data-table thead th + th { border-left: 1px solid #dfe4d5; }
.data-table td { white-space: nowrap; }
.comparison .data-table th, .comparison .data-table td { padding: .42rem .55rem; }
.comparison .data-table td { font-weight: 695; }
.comparison .data-table { max-width: 36rem; }
.sources { margin-top: 2.6rem; }
.sources ol { margin: 0; padding-left: 1.55rem; }
.sources li { padding: .45rem .62rem; font-size: .95rem; }
.sources li::marker { color: var(--muted); }
.sources li span { display: block; color: var(--muted); font-size: .82rem; }
.sources li:target { background: #efead8; border-radius: 4px; }
.sources li > a { color: var(--teal); }
.sources li .citation-return { display: inline-block; margin-left: .55rem; font-size: .78rem; color: var(--muted); }
.related { padding-block: 2.35rem 3.1rem; border-top: 1px solid var(--line); background: #eeeee3; }
.related .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 775px; }

.info { padding-block: 3.8rem 4.8rem; }
.info-inner { max-width: 695px; }
.info h1 { margin-bottom: 1.2rem; }
.info section { margin-top: 1.85rem; font-size: 1.075rem; line-height: 1.72; }
.info .button { margin-top: .9rem; }
.site-footer { background: var(--dark); color: #fffdf5; }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 1.3rem 2.5rem; padding-block: 2.1rem 2.35rem; }
.site-footer .brand-mark { border: 1px solid #aeaf92; }
.site-footer p { max-width: 64ch; margin-top: .75rem; color: #e0e8d9; font-size: .87rem; line-height: 1.55; }
.site-footer :focus-visible { outline-color: #efcc89; }

@media (max-width: 1000px) {
  .frame { width: calc(100% - 60px); }
  .hero { gap: 2rem; padding-block: 48px; }
  .hero-copy { padding-bottom: .8rem; }
  .hero-actions { gap: .4rem 1rem; }
  .article-heading { gap: 1.6rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .card-text { padding-inline: .91rem; }
}
@media (max-width: 760px) {
  .frame { width: calc(100% - 40px); }
  .header-inner { min-height: 63px; }
  .hero { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 2.35rem 1.75rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3rem, 10.3vw, 4.7rem); margin-block: .72rem .8rem; }
  .hero-description { max-width: 42ch; }
  .hero-actions { margin-top: .95rem; }
  .hero-figure img { aspect-ratio: 1.75; }
  .hero-figure figcaption { margin-top: .5rem; }
  .library { padding-block: 2.1rem 3rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-heading { grid-template-columns: 1fr; gap: 1.15rem; padding-block: 1.45rem 2rem; }
  .article-plate, .article-aside { display: none; }
  .reader-layout { display: block; padding-block: 1.35rem 2.7rem; }
  .mobile-contents { display: block; margin-top: .9rem; border-block: 1px solid var(--line); }
  .mobile-contents summary { padding: .6rem .15rem; color: var(--teal); font-weight: 720; font-size: .9rem; cursor: pointer; }
  .mobile-contents ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1rem; margin: .15rem 0 .65rem; }
  .mobile-contents a { display: block; min-height: 32px; color: var(--teal); font-size: .88rem; line-height: 1.45; }
  .reader .answer + .mobile-contents + .article-figure { margin-top: .9rem; }
  .info { padding-block: 2.4rem 3.1rem; }
}
@media (max-width: 510px) {
  .frame { width: calc(100% - 32px); }
  .brand { gap: .44rem; font-size: 1.07rem; }
  .brand-mark { width: 29px; height: 29px; flex-basis: 29px; }
  .header-inner nav { gap: .65rem; }
  .header-inner nav a { font-size: .82rem; }
  .library-title, .library-tools { align-items: start; flex-direction: column; }
  .search { width: 100%; }
  .library-tools { margin-top: .85rem; }
  .filters { gap: .42rem; }
  .filters button { padding-inline: .72rem; }
  .cards, .related .cards { grid-template-columns: 1fr; margin-top: .75rem; }
  .card-plate { height: 75px; }
  .card h3 { font-size: 1.58rem; }
  .card-text { padding: .8rem .9rem .95rem; }
  .footer-inner { flex-direction: column; gap: .5rem; }
  .reader { font-size: 1rem; }
  .article-figure, .answer { padding: .85rem; }
  .mix-row { grid-template-columns: 6.05rem 1fr; }
  .data-table { font-size: .75rem; }
  .data-table th, .data-table td { padding-inline: .13rem; }
  .timeline li { grid-template-columns: 3.7rem 3.8rem 1fr; gap: .34rem; font-size: .82rem; }
}
@media (forced-colors: active) {
  .mix-chart, .card-plate, .article-plate { display: none; }
  .filters button[aria-pressed="true"] { outline: 2px solid ButtonText; }
}
@media print {
  :root { --paper: #fff; --surface: #fff; }
  body { display: block; }
  .frame { width: auto; }
  .site-header nav, .site-footer nav, .search, .library-tools, .article-aside, .mobile-contents,
  .article-plate, .related, .citation-return { display: none; }
  .article-heading, .reader-layout { display: block; padding-block: .8rem; }
  .article-heading h1, .info h1 { font-size: 32pt; }
  .article-figure, .reader-section h2, .sources li { break-inside: avoid; }
}
@media (max-width: 345px) {
  .frame { width: calc(100% - 24px); }
  .brand { font-size: .89rem; }
  .header-inner nav { gap: .45rem; }
  .hero h1 { font-size: 2.7rem; }
  .mix-figure { padding-inline: .55rem; }
  .mix-figure .data-table { table-layout: fixed; }
  .mix-figure th, .mix-figure td { overflow-wrap: anywhere; white-space: normal; }
  .mix-figure .wide-output { display: none; }
  .mix-figure th:nth-child(3) { width: 31%; }
  .narrow-output { display: block; margin-top: .55rem; }
  .narrow-output summary { padding: .3rem 0; color: var(--teal); cursor: pointer; font-size: .85rem; font-weight: 650; }
  .narrow-output .data-table { margin-top: .2rem; }
}
