:root {
  color-scheme: light;
  --ink: #17221f;
  --muted: #53615c;
  --paper: #f5f7f4;
  --white: #ffffff;
  --forest: #163c35;
  --forest-light: #dce9e3;
  --rust: #a8442c;
  --rust-light: #f2dfd8;
  --blue: #225f87;
  --blue-light: #dbeaf3;
  --ochre: #c89122;
  --ochre-light: #f5e9c9;
  --moss: #5d7655;
  --line: #cbd4ce;
  --line-dark: #89978f;
  --focus: #005fcc;
  --shadow: 0 12px 30px rgba(18, 37, 31, 0.1);
  --content: 74rem;
  --reading: 47rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--rust);
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--white);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 40;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.8rem max(1.25rem, calc((100% - var(--content)) / 2));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--forest);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  position: relative;
  display: block;
  border: 2px solid var(--forest);
  border-radius: 50%;
  overflow: hidden;
  background: var(--ochre-light);
}

.brand-mark i {
  position: absolute;
  left: -0.15rem;
  width: 2.2rem;
  height: 0.34rem;
  display: block;
  transform: rotate(-8deg);
}

.brand-mark i:nth-child(1) {
  top: 0.45rem;
  background: var(--rust);
}

.brand-mark i:nth-child(2) {
  top: 0.92rem;
  background: var(--blue);
}

.brand-mark i:nth-child(3) {
  top: 1.38rem;
  background: var(--moss);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.primary-nav a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--rust);
  border-bottom-color: currentColor;
}

.menu-button {
  display: none;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  width: 1rem;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
}

.menu-button span::before {
  transform: translateY(-5px);
}

.menu-button span::after {
  transform: translateY(3px);
}

.status-banner {
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.55rem 1.25rem;
  background: var(--ochre-light);
  border-bottom: 1px solid #dcc683;
  color: #4f3b0b;
  font-size: 0.82rem;
  text-align: center;
}

.status-banner strong {
  white-space: nowrap;
}

.home-hero {
  position: relative;
  height: 70vh;
  min-height: 33rem;
  max-height: 44rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--forest);
}

.home-hero picture,
.home-hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero img {
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 25, 22, 0.55);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(42rem, calc(100% - 2.5rem));
  margin: 0 auto 0 max(1.25rem, calc((100% - var(--content)) / 2));
  padding-top: 8rem;
  color: var(--white);
}

.hero-copy h1 {
  max-width: 12ch;
  margin: 0.25rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.75rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 34rem;
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.5;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--rust);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-copy .eyebrow {
  color: #f0cb6c;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-top: 2rem;
}

.primary-action,
.action-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 2px solid var(--ochre);
  border-radius: 4px;
  background: var(--ochre);
  color: #211a09;
  font-weight: 800;
  text-decoration: none;
}

.primary-action:hover,
.action-button:hover {
  background: #e2b952;
  border-color: #e2b952;
  color: #211a09;
}

.text-action {
  color: var(--white);
  font-weight: 800;
}

.lesson-section,
.method-band,
.gate-band,
.site-footer,
.breadcrumbs,
.article-shell,
.policy-page {
  width: min(var(--content), calc(100% - 2.5rem));
  margin-inline: auto;
}

.lesson-section {
  padding: 5rem 0 6rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.65fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -2.5rem;
}

.section-heading h2,
.method-intro h2,
.gate-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.lesson-card {
  position: relative;
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  padding: 1.45rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--forest);
  border-radius: 6px;
}

.lesson-card:first-child {
  grid-column: span 8;
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.lesson-card:nth-child(5),
.lesson-card:nth-child(6) {
  grid-column: span 6;
}

.lesson-card > p {
  margin: 0 0 0.7rem;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.lesson-card:first-child > p {
  color: #f0cb6c;
}

.lesson-card h2 {
  margin: 0 0 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.lesson-card h2 a {
  color: inherit;
  text-decoration: none;
}

.lesson-card h2 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.lesson-card > span {
  color: var(--muted);
  font-size: 0.94rem;
}

.lesson-card:first-child > span {
  max-width: 44rem;
  color: #d9e5df;
}

.card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--rust);
  font-weight: 800;
}

.lesson-card:first-child .card-link {
  color: #f0cb6c;
}

.lesson-card:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow);
}

.card-tectonics {
  border-top-color: var(--blue);
}

.card-age {
  border-top-color: var(--ochre);
}

.card-map {
  border-top-color: var(--rust);
}

.card-theory {
  border-top-color: var(--moss);
}

.card-fossils {
  border-top-color: #72518f;
}

.method-band {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: 5rem;
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.method-intro {
  align-self: start;
  position: sticky;
  top: 2rem;
}

.method-copy h2 {
  margin: 2.75rem 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.method-copy h2:first-child {
  margin-top: 0;
}

.method-copy ul {
  padding-left: 1.3rem;
}

.gate-band {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr) auto;
  gap: 2.5rem;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 6rem;
  padding: 2.5rem 0;
  border-top: 3px solid var(--ochre);
  border-bottom: 1px solid var(--line);
}

.gate-band p {
  margin: 0;
  color: var(--muted);
}

.gate-band > a {
  font-weight: 800;
  white-space: nowrap;
}

.breadcrumbs {
  display: flex;
  gap: 0.55rem;
  padding-top: 1.4rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumbs span[aria-current="page"] {
  max-width: 38rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-shell {
  padding-bottom: 6rem;
}

.article-header {
  max-width: 59rem;
  padding: 4.5rem 0 3.5rem;
}

.article-header h1,
.policy-page h1,
.not-found h1 {
  max-width: 20ch;
  margin: 0.35rem 0 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-meta span + span::before {
  margin-right: 1.2rem;
  color: var(--line-dark);
  content: "•";
}

.direct-answer {
  max-width: 54rem;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border-left: 5px solid var(--rust);
  box-shadow: 0 8px 24px rgba(18, 37, 31, 0.06);
}

.direct-answer > p:last-child {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 650;
  line-height: 1.55;
}

.article-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, var(--reading));
  gap: 4rem;
  align-items: start;
}

.page-toc {
  position: sticky;
  top: 1.5rem;
  max-height: calc(100vh - 3rem);
  overflow: auto;
  padding: 1rem 0;
  border-top: 2px solid var(--forest);
  border-bottom: 1px solid var(--line);
}

.page-toc > p {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-toc li + li {
  margin-top: 0.45rem;
}

.page-toc a {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  text-decoration: none;
}

.page-toc a:hover {
  color: var(--rust);
}

.article-body {
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > blockquote,
.article-body > pre {
  max-width: var(--reading);
}

.article-body h2,
.article-body h3,
.article-body h4 {
  position: relative;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

.article-body h2 {
  margin: 4.3rem 0 1rem;
  padding-top: 0.5rem;
  font-size: 2rem;
  line-height: 1.18;
}

.article-body h3 {
  margin: 2.8rem 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.article-body h4 {
  margin: 2rem 0 0.6rem;
  font-size: 1.08rem;
}

.heading-anchor {
  margin-left: 0.45rem;
  color: var(--blue);
  font-size: 0.72em;
  text-decoration: none;
  opacity: 0;
}

h2:hover .heading-anchor,
h3:hover .heading-anchor,
.heading-anchor:focus {
  opacity: 1;
}

.article-body p {
  margin: 0 0 1.25rem;
}

.article-body li + li {
  margin-top: 0.45rem;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 0.7rem 1.4rem;
  background: var(--forest-light);
  border-left: 4px solid var(--forest);
}

.article-body blockquote p {
  margin: 0;
}

.article-body hr {
  margin: 4rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-body pre {
  overflow: auto;
  padding: 1.2rem;
  background: #eef2ef;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #26332e;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
}

.citation {
  display: inline-block;
  margin-inline: 0.15rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.67em;
  font-weight: 800;
  line-height: 1;
  vertical-align: super;
}

.source-link {
  text-decoration: none;
}

.table-scroll {
  max-width: calc(100vw - 2.5rem);
  margin: 2rem 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
}

caption {
  padding: 0.75rem 0.9rem;
  color: var(--muted);
  font-weight: 700;
  text-align: left;
}

th,
td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--forest);
  color: var(--white);
  font-size: 0.74rem;
  text-transform: uppercase;
}

tbody th {
  background: #edf2ef;
}

tbody tr:last-child > * {
  border-bottom: 0;
}

tbody tr:hover > * {
  background: #f9fbf9;
}

.subcell {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.evidence-figure {
  width: 100%;
  margin: 3rem 0 3.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}

.figure-link {
  display: block;
  background: var(--white);
}

.figure-link:focus-visible {
  outline-offset: -4px;
}

.evidence-figure img {
  width: 100%;
  height: auto;
}

.evidence-figure figcaption {
  padding: 0.95rem 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.5;
}

.figure-source {
  display: block;
  margin-top: 0.25rem;
}

.data-tool,
.timeline-tool,
.quiz {
  width: 100%;
  margin: 4rem 0;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--rust);
  border-radius: 6px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.timeline-tool {
  border-top-color: var(--blue);
}

.quiz {
  border-top-color: #72518f;
}

.tool-heading {
  display: grid;
  grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

.tool-heading h2,
.quiz h2 {
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
}

.tool-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-button {
  min-height: 2.55rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.tool-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.timeline-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.2rem;
  margin: 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.timeline-date {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
}

.timeline-list strong,
.timeline-list span:last-child {
  display: block;
}

.timeline-list span:last-child {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.77rem;
}

.quiz fieldset {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.quiz legend {
  padding: 0 0.4rem;
  font-weight: 800;
}

.quiz label {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  padding: 0.45rem 0;
  font-size: 0.88rem;
}

.quiz input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.28rem;
  accent-color: var(--forest);
}

.quiz-result {
  min-height: 1.6rem;
  margin: 0.8rem 0 0;
  font-weight: 800;
}

.question-feedback {
  min-height: 1.4rem;
  margin: 0.6rem 0 0;
  color: var(--rust);
  font-size: 0.86rem;
  font-weight: 750;
}

.question-feedback.is-correct {
  color: var(--forest);
}

.source-notes {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 3px solid var(--forest);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.source-notes h2 {
  margin-top: 0;
}

.source-notes > p {
  color: var(--muted);
  font-size: 0.85rem;
}

.source-notes ol {
  padding-left: 1.25rem;
}

.source-notes li {
  padding: 0.5rem 0;
  font-size: 0.82rem;
}

.source-notes li span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.related {
  margin-top: 4rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.related ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related li {
  margin: 0;
}

.related a {
  height: 100%;
  display: block;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
}

.related a:hover {
  border-color: var(--rust);
}

.related strong,
.related span {
  display: block;
}

.related strong {
  color: var(--ink);
  line-height: 1.35;
}

.related span {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.corrections-link {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
}

.policy-page {
  max-width: 58rem;
  padding: 4.5rem 0 6rem;
}

.policy-page > header {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 3px solid var(--forest);
}

.policy-page > header > p:last-child {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto minmax(14rem, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0.25rem 0 0;
}

.site-footer nav {
  display: flex;
  gap: 1.2rem;
}

.footer-status {
  text-align: right;
}

.not-found {
  width: min(38rem, calc(100% - 2.5rem));
  min-height: 65vh;
  margin-inline: auto;
  padding: 8rem 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .hero-copy h1 {
    font-size: 3.9rem;
  }

  .lesson-card,
  .lesson-card:first-child,
  .lesson-card:nth-child(5),
  .lesson-card:nth-child(6) {
    grid-column: span 6;
  }

  .article-layout {
    grid-template-columns: minmax(0, var(--reading));
    gap: 0;
  }

  .page-toc {
    position: static;
    max-height: none;
    margin-bottom: 2rem;
    columns: 2;
  }

  .page-toc > p {
    column-span: all;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-status {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 2rem;
  }

  .site-header {
    min-height: 4rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .js .site-header {
    flex-wrap: nowrap;
  }

  .js .menu-button {
    display: inline-flex;
  }

  .primary-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1rem;
  }

  .js .primary-nav {
    position: absolute;
    top: 100%;
    right: 1.25rem;
    left: 1.25rem;
    display: none;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .js .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 0.7rem;
  }

  .status-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.1rem;
    text-align: left;
  }

  .home-hero {
    height: 68vh;
    min-height: 31rem;
    max-height: 38rem;
  }

  .home-hero img {
    object-position: 58% center;
  }

  .hero-copy {
    padding-top: 5.5rem;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 29rem;
    font-size: 1.08rem;
  }

  .lesson-section {
    padding: 4rem 0;
  }

  .section-heading,
  .method-band,
  .gate-band,
  .tool-heading {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .section-heading .eyebrow {
    margin-bottom: -0.5rem;
  }

  .section-heading h2,
  .method-intro h2,
  .gate-band h2 {
    font-size: 2.05rem;
  }

  .lesson-card,
  .lesson-card:first-child,
  .lesson-card:nth-child(5),
  .lesson-card:nth-child(6) {
    min-height: 17rem;
    grid-column: span 12;
  }

  .method-band {
    padding: 4rem 0;
  }

  .method-intro {
    position: static;
  }

  .gate-band {
    margin-bottom: 4rem;
  }

  .article-header {
    padding: 3rem 0 2.5rem;
  }

  .article-header h1,
  .policy-page h1,
  .not-found h1 {
    font-size: 2.5rem;
    overflow-wrap: anywhere;
  }

  .article-meta span + span::before {
    margin-right: 0.5rem;
  }

  .article-meta {
    gap: 0.5rem;
  }

  .page-toc {
    columns: 1;
  }

  .article-body {
    font-size: 1.02rem;
  }

  .article-body h2 {
    margin-top: 3.5rem;
    font-size: 1.7rem;
  }

  .article-body h3 {
    font-size: 1.22rem;
  }

  .data-tool,
  .timeline-tool,
  .quiz {
    padding: 1rem;
  }

  .timeline-list li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .related ul {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 0.45rem;
  }

  .footer-status {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .brand > span:last-child {
    font-size: 0.9rem;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-header h1,
  .policy-page h1,
  .not-found h1 {
    font-size: 1.95rem;
  }

  .direct-answer {
    padding: 1rem;
  }

  .breadcrumbs span[aria-current="page"] {
    max-width: 13rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .status-banner,
  .page-toc,
  .site-footer,
  .filter-controls,
  .quiz,
  .heading-anchor {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 10pt;
  }

  .article-shell,
  .article-layout,
  .article-body {
    width: auto;
    max-width: none;
    display: block;
  }

  a {
    color: #000;
  }

  .table-scroll {
    overflow: visible;
  }

  table {
    min-width: 0;
    font-size: 7pt;
  }

  [data-filter-row][hidden] {
    display: table-row !important;
  }

  figure,
  table,
  tr {
    break-inside: avoid;
  }
}
