/* ==========================================================================
   AXIS — The Centre of Health
   Design System & Editorial Stylesheet
   ========================================================================== */

:root {
  /* Brand Palette: Deep Obsidian Midnight & Precision Ocean Cerulean */
  --dark: #0a1626;
  --dark-soft: #1e293b;
  --accent: #0284c7;
  --accent-deep: #0369a1;
  --accent-hover: #075985;
  --accent-light: #e0f2fe;
  --accent-subtle: #f0f9ff;
  --sage: #38bdf8;
  --forest: #091626;
  --wash: #f1f5f9;
  --wash-subtle: #f8fafc;

  /* Surfaces & Text */
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --text-lead: #0f172a;
  --muted: #64748b;
  --muted-light: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-hover: #cbd5e1;

  /* Semantic & Status Colors */
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --danger: #e11d48;
  --danger-deep: #be123c;
  --danger-bg: #fff1f2;
  --danger-border: #fecdd3;
  --success: #059669;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;

  /* Geometry & Typography */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --max: 1240px;
  /* Supporting text stays at 1rem; reading text stays at 1.125rem on every screen. */
  --text-small: 1rem;
  --text-body: 1.125rem;
  --font: "Inter", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px -1px rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);

  /* Animation */
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Core Elements */
* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
  color-scheme: light;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font: var(--text-body)/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.65em;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 1.25rem;
}

h5, h6 {
  font-size: var(--text-small);
  line-height: 1.5;
}

p {
  margin: 0 0 1.3em;
}

a {
  color: var(--accent-deep);
  text-underline-offset: 4px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: 0.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  padding-left: 1.35em;
}

svg {
  vertical-align: middle;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

small, .small-text {
  font-size: var(--text-small);
  color: var(--muted);
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 96px), var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--dark);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  background: #ffffff;
  position: relative;
  z-index: 20;
}

.masthead {
  min-height: 114px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--dark);
}

.brand img {
  width: 168px;
  height: 46px;
  transition: opacity 0.15s ease;
}

.brand:hover img {
  opacity: 0.9;
}

.brand > span {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-search {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-full);
  width: 410px;
  padding: 4px 6px 4px 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.header-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.header-search input[type="search"] {
  background: transparent;
  border: 0;
  padding: 8px 0;
  min-height: 38px;
  font-size: var(--text-small);
  color: var(--text);
  outline: none;
  min-width: 0;
  flex: 1;
}

.header-search input[type="search"]::placeholder {
  color: var(--muted-light);
}

.header-search button {
  border: 0;
  background: transparent;
  color: var(--muted);
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.header-search button:hover {
  background: var(--wash);
  color: var(--accent-deep);
}

.navigation-band {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  min-height: 52px;
  font-size: var(--text-small);
  font-weight: 600;
}

.primary-nav > a,
.topics-menu summary {
  color: var(--dark-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}

.primary-nav > a {
  padding-block: 14px;
  position: relative;
}

.primary-nav > a:hover,
.primary-nav > a[aria-current] {
  color: var(--accent-deep);
  text-decoration: none;
}

.primary-nav > a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-deep);
  border-radius: 2px 2px 0 0;
}

.primary-nav .nav-about {
  margin-left: auto;
  font-weight: 500;
  color: var(--muted);
}

.primary-nav .nav-about:hover {
  color: var(--accent-deep);
}

.topics-menu {
  position: relative;
  z-index: 30;
}

.topics-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.topics-menu summary::-webkit-details-marker {
  display: none;
}

.topics-menu summary span {
  margin-left: 8px;
  font-size: var(--text-small);
  transition: transform 0.2s ease;
}

.topics-menu[open] summary span {
  transform: rotate(180deg);
}

.topics-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 540px;
  padding: 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  border: 1px solid var(--border);
  border-top: none;
}

.topics-dropdown a {
  padding: 9px 12px;
  text-decoration: none;
  color: var(--dark-soft);
  font-size: var(--text-small);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.topics-dropdown a:hover {
  color: var(--accent-deep);
  background: var(--wash-subtle);
  transform: translateX(2px);
}

.topics-dropdown .all-topics {
  grid-column: 1 / -1;
  color: var(--accent-deep);
  font-weight: 600;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.topics-dropdown .all-topics:hover {
  background: transparent;
  text-decoration: underline;
}

.menu-toggle {
  display: none;
}

/* ==========================================================================
   Homepage Layout
   ========================================================================== */

.home-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 75px;
  align-items: center;
  padding-block: 52px 42px;
}

.home-intro h1 {
  font-size: clamp(2.6rem, 4.1vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--dark);
}

.home-intro > div {
  max-width: 480px;
}

.home-intro p {
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-deep);
  font-size: var(--text-small);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.15s ease;
}

.text-link:hover {
  color: var(--accent-hover);
  gap: 16px;
  text-decoration: none;
}

.opening-stories {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 60px;
  align-items: start;
  padding-bottom: 58px;
}

.cover-story {
  min-width: 0;
}

.cover-photo {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1.75;
  background: var(--wash);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.cover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transition: transform 0.4s ease;
}

.cover-photo:hover img {
  transform: scale(1.02);
}

.cover-copy {
  padding-top: 24px;
}

.story-topic {
  font-size: var(--text-small);
  max-width: 100%;
  overflow-wrap: anywhere;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent-deep);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}

.story-topic:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.cover-copy h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.55rem);
  letter-spacing: -0.04em;
  max-width: 760px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cover-copy h2 a,
.desk-story h3 a,
.evidence-note h3 a,
.rest-story h3 a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.cover-copy h2 a:hover,
.desk-story h3 a:hover,
.evidence-note h3 a:hover,
.rest-story h3 a:hover {
  color: var(--accent-deep);
  text-decoration: none;
}

.cover-copy > p {
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 18px;
}

.reading-link {
  font-size: var(--text-small);
  display: inline-flex;
  gap: 16px;
  align-items: center;
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.2s ease, color 0.15s ease;
}

.reading-link:hover {
  color: var(--accent-hover);
  gap: 20px;
  text-decoration: none;
}

.reading-link > span:first-child {
  font-weight: 450;
  color: var(--muted);
}

.reading-desk > h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-deep);
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.desk-story {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.desk-story h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.desk-story p {
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 14px;
}

.desk-story .story-topic {
  font-size: var(--text-small);
}

.evidence-note {
  padding: 24px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  margin-top: 24px;
  box-shadow: var(--shadow-xs);
}

.evidence-note h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.evidence-note p {
  font-size: var(--text-body);
  line-height: 1.75;
  color: #0369a1;
  margin: 0;
}

.evidence-note .story-topic {
  font-size: var(--text-small);
  color: #0284c7;
}

.evidence-note .text-link {
  margin-top: 14px;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: 1.9rem;
  margin: 0;
  letter-spacing: -0.035em;
}

.subject-shelves {
  padding-block: 40px 52px;
  padding-inline: clamp(14px, 2.5vw, 32px);
  border: 1px solid #cbdde8;
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--wash-subtle);
  box-shadow: var(--shadow-sm);
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.subject-shelf {
  display: grid;
  min-width: 0;
  overflow-wrap: anywhere;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.subject-shelf:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.subject-picture {
  display: block;
  width: 78px;
  height: 78px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--wash);
  border: 1px solid var(--border-light);
}

.subject-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.subject-shelf:hover .subject-picture img {
  transform: scale(1.05);
}

.subject-shelf h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.subject-shelf h3 a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.subject-shelf h3 a:hover {
  color: var(--accent-deep);
  text-decoration: none;
}

.subject-shelf p {
  font-size: var(--text-body);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.subject-shelf .subject-count,
.subject-count {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-subtle);
  border: 1px solid #e0f2fe;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.subject-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 10px;
}

.subject-links a {
  font-size: var(--text-small);
  text-decoration: none;
  color: var(--dark-soft);
  background: var(--wash);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.subject-links a:hover {
  background: var(--accent-light);
  color: var(--accent-deep);
  text-decoration: none;
}

.recent-reading {
  padding-block: 58px 72px;
}

.recent-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 60px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.article-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 155px;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  min-width: 0;
  transition: background 0.15s ease;
}

.article-card:first-child {
  padding-top: 0;
}

.card-image {
  display: block;
  height: 114px;
  width: 155px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--wash);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-card:hover .card-image img {
  transform: scale(1.04);
}

.card-content {
  min-width: 0;
}

.card-content > .story-topic {
  font-size: var(--text-small);
  margin-bottom: 8px;
}

.card-content h3 {
  font-size: 1.34rem;
  line-height: 1.28;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.card-content h3 a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.card-content h3 a:hover {
  color: var(--accent-deep);
  text-decoration: none;
}

.card-content p {
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 12px;
}

.article-meta {
  font-size: var(--text-small);
  color: var(--muted-light);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.article-meta span:first-child {
  color: var(--muted);
  font-weight: 500;
}

.rest-story {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.rest-story:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.rest-story > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.rest-story > div {
  padding: 26px;
}

.rest-story h3 {
  font-size: 1.45rem;
  line-height: 1.25;
}

.rest-story p {
  font-size: var(--text-body);
  color: var(--muted);
  line-height: 1.75;
}

.editorial-note {
  padding: 28px 12px;
  margin-top: 18px;
  border-top: 1px solid var(--border);
}

.editorial-note h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.editorial-note p,
.editorial-note a {
  font-size: var(--text-small);
  line-height: 1.8;
  color: var(--muted);
}

.editorial-note a {
  color: var(--accent-deep);
  font-weight: 600;
}

/* ==========================================================================
   Topic Directories, Catalogs & Search
   ========================================================================== */

.breadcrumbs {
  font-size: var(--text-small);
  color: var(--muted);
  padding-block: 22px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 0;
  margin: 0;
}

.breadcrumbs li + li:before {
  content: "/";
  padding-right: 10px;
  color: var(--muted-light);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumbs a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

.page-heading {
  max-width: 940px;
  padding-block: 30px 42px;
}

.page-heading h1 {
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.eyebrow {
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 16px;
  display: inline-block;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 780px;
}

.topic-directory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 0 0 65px;
}

.topic-directory {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  align-self: start;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.topic-directory:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.directory-heading {
  display: grid;
  grid-template-columns: 1fr 95px;
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.directory-heading h2 {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.directory-heading h2 a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.directory-heading h2 a:hover {
  color: var(--accent-deep);
}

.directory-heading p {
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 12px;
}

.directory-heading > img {
  width: 95px;
  height: 85px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

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

.directory-subjects > li {
  border-top: 1px solid var(--border-light);
}

.directory-subjects > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--text-small);
  color: var(--dark-soft);
  text-decoration: none;
  padding: 13px 4px;
  transition: var(--transition);
}

.directory-subjects > li > a:hover {
  color: var(--accent-deep);
  padding-left: 8px;
}

.directory-subjects > li > a > span:last-child,
.directory-subjects summary > span {
  font-size: var(--text-small);
  color: var(--muted);
  white-space: nowrap;
  font-weight: 500;
  background: var(--wash);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.directory-subjects summary {
  padding: 13px 4px;
  font-size: var(--text-small);
  font-weight: 600;
  cursor: pointer;
  color: var(--dark-soft);
}

.directory-subjects summary > span {
  float: right;
  margin-top: 1px;
}

.directory-subjects .directory-subjects {
  margin-left: 18px;
  margin-bottom: 12px;
}

.directory-subjects .directory-subjects > li > a {
  font-size: var(--text-small);
}

.directory-overview {
  font-size: var(--text-small);
  margin: 4px 0 14px 4px;
}

.subtopics {
  padding-bottom: 32px;
}

.subtopics h2 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.topic-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.topic-chips a {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  background: #ffffff;
  color: var(--dark-soft);
  border: 1px solid var(--border);
  font-size: var(--text-small);
  font-weight: 500;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.topic-chips a:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.25);
  transform: translateY(-1px);
}

.listing-section {
  padding-block: 24px 65px;
  max-width: 1040px;
}

.section {
  padding-block: 48px;
}

.listing-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.listing-toolbar h2 {
  font-size: 1.05rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.listing-toolbar form {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-small);
}

.listing-toolbar select {
  display: inline-block;
  width: auto;
  min-height: 38px;
  padding: 6px 12px;
  margin-left: 7px;
  border-radius: var(--radius-sm);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  font-size: var(--text-small);
}

.empty-state {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--wash);
  border: 1px dashed var(--border-hover);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.empty-state h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.empty-state p {
  font-size: var(--text-small);
  color: var(--muted);
  max-width: 650px;
}

.empty-symbol {
  font-size: 1.8rem;
  color: var(--accent-deep);
}

.search-form {
  max-width: 860px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.search-form > label {
  font-size: var(--text-small);
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
  color: var(--dark);
}

.search-input {
  display: flex;
  gap: 12px;
}

.search-input input {
  min-width: 0;
  flex: 1;
}

.filter-field {
  display: flex !important;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  font-size: var(--text-small);
  font-weight: 500;
}

.filter-field select {
  max-width: 300px;
}

/* ==========================================================================
   Editorial Reading Experience & Typography
   ========================================================================== */

.reading-page {
  padding-bottom: 40px;
}

.article-heading {
  max-width: 870px;
  margin: 25px auto 40px;
}

.article-heading h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.65rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.article-heading > .eyebrow {
  font-size: var(--text-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
}

.article-heading .lede {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 820px;
  color: var(--dark-soft);
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 50px;
  font-size: var(--text-small);
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  margin-top: 24px;
}

.byline > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.byline > div > strong {
  font-weight: 600;
  color: var(--dark);
}

.byline span {
  color: var(--muted);
}

.review-note,
.evidence-label {
  font-size: var(--text-small);
  color: var(--muted);
  margin: 16px 0 0;
}

.evidence-label {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: inline-block;
}

.article-featured {
  max-width: 1020px;
  margin: 0 auto 48px;
}

.article-featured img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.article-featured figcaption {
  font-size: var(--text-small);
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

.reading-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 740px);
  gap: 65px;
  justify-content: center;
}

.reading-sidebar {
  align-self: start;
  position: sticky;
  top: 28px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  font-size: var(--text-small);
  padding-right: 5px;
}

.toc {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}

.toc > .eyebrow,
.share-box > .eyebrow {
  font-size: var(--text-small);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

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

.toc li {
  padding: 6px 0;
  line-height: 1.6;
}

.toc a {
  display: block;
  overflow-wrap: anywhere;
  color: var(--dark-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}

.toc a:hover {
  color: var(--accent-deep);
  text-decoration: none;
}

.toc-h3 {
  padding-left: 12px !important;
  font-size: var(--text-small);
}

.share-box {
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--wash-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.share-box > a,
.share-box > button {
  display: block;
  font-size: var(--text-small);
  text-decoration: none;
  margin-bottom: 10px;
  color: var(--dark-soft);
}

.share-box > a:hover,
.share-box > button:hover {
  color: var(--accent-deep);
}

.share-box > [role="status"] {
  display: block;
  font-size: var(--text-small);
  overflow-wrap: anywhere;
  color: var(--success);
  font-weight: 500;
  margin-top: 6px;
}

.reading-main {
  min-width: 0;
}

.prose {
  font-size: var(--text-body);
  line-height: 1.88;
  overflow-wrap: anywhere;
  color: var(--text);
}

.prose > p:first-child {
  font-size: var(--text-body);
  color: var(--dark);
  line-height: 1.78;
}

.prose h2 {
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin: 1.8em 0 0.8em;
  scroll-margin-top: 28px;
}

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

.prose h3 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  margin: 1.6em 0 0.7em;
  scroll-margin-top: 28px;
}

.prose h4 {
  font-size: 1.15rem;
  margin-top: 1.5em;
}

.prose h5,
.prose h6 {
  font-size: 1.02rem;
  margin-top: 1.5em;
}

.prose li {
  margin-bottom: 0.6em;
}

.prose ul,
.prose ol {
  margin-bottom: 1.6em;
}

.prose blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.12rem;
  font-style: italic;
  color: #0c4a6e;
}

.prose blockquote p:last-child {
  margin: 0;
}

.prose figure {
  margin: 36px 0;
}

.prose figcaption {
  font-size: var(--text-small);
  line-height: 1.7;
  color: var(--muted);
  margin-top: 12px;
}

.prose table {
  display: block;
  border-collapse: separate;
  border-spacing: 0;
  overflow-x: auto;
  max-width: 100%;
  margin: 30px 0;
  font-size: var(--text-small);
  line-height: 1.75;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.prose caption {
  text-align: left;
  font-size: var(--text-small);
  color: var(--muted);
  padding-bottom: 10px;
}

.prose th,
.prose td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 13px 16px;
  vertical-align: top;
  min-width: 90px;
}

.prose th:last-child,
.prose td:last-child {
  border-right: none;
}

.prose tr:last-child td {
  border-bottom: none;
}

.prose th {
  background: var(--wash-subtle);
  font-weight: 650;
  color: var(--dark);
}

.prose pre {
  padding: 22px;
  white-space: pre-wrap;
  background: var(--wash);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-small);
}

.prose mark {
  background: #fef08a;
  padding: 2px 4px;
  border-radius: 3px;
}

.prose section {
  margin-bottom: 32px;
}

.references {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  font-size: var(--text-small);
  overflow-wrap: anywhere;
}

.references h2 {
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.references li {
  margin-bottom: 14px;
  line-height: 1.8;
  color: var(--dark-soft);
}

.article-disclaimer {
  margin-top: 36px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid var(--warning);
  font-size: var(--text-small);
  color: #92400e;
}

.article-disclaimer strong {
  font-size: var(--text-small);
  color: #78350f;
}

.article-disclaimer p {
  margin: 8px 0 0;
  color: #92400e;
}

.article-disclaimer a {
  color: #78350f;
  font-weight: 600;
}

.author-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 36px 0 48px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  font-size: var(--text-small);
}

.author-initial {
  display: grid;
  place-items: center;
  background: var(--accent-light);
  color: var(--accent-deep);
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
}

.author-box .eyebrow {
  font-size: var(--text-small);
  margin: 0 0 8px;
}

.author-box h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.author-box p:not(.eyebrow) {
  font-size: var(--text-small);
  color: var(--muted);
  line-height: 1.7;
}

.policy-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 740px);
  gap: 65px;
  margin-bottom: 65px;
}

.policy-grid > aside nav {
  display: flex;
  flex-direction: column;
  font-size: var(--text-small);
}

.policy-grid > aside a {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.policy-grid > aside a:hover {
  color: var(--accent-deep);
  padding-left: 6px;
}

.policy-grid > aside a[aria-current] {
  color: var(--accent-deep);
  font-weight: 650;
  border-bottom-color: var(--accent);
}

.support-panel {
  margin-block: 36px;
  padding: 32px;
  background: linear-gradient(135deg, #f0fdf4 0%, #e6f9ed 100%);
  border-radius: var(--radius-lg);
  border: 1px solid #bbf7d0;
  box-shadow: var(--shadow-sm);
}

.support-panel > .eyebrow {
  font-size: var(--text-small);
  margin-bottom: 12px;
  color: #15803d;
}

.support-panel h2 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #14532d;
}

.support-panel > p {
  font-size: var(--text-small);
  line-height: 1.8;
  color: #166534;
}

.support-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-block: 26px;
}

.support-links > div {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid #dcfce7;
  box-shadow: var(--shadow-xs);
}

.support-links h3 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: #14532d;
}

.support-links p,
.support-links a {
  font-size: var(--text-small);
  line-height: 1.75;
}

.support-links p {
  margin-bottom: 10px;
  color: var(--muted);
}

.support-links > div > a {
  display: block;
  font-weight: 600;
  color: #15803d;
}

.support-links > div > a:hover {
  color: #166534;
}

.support-links > div > a[href^="tel:"] {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.support-panel .small-text {
  font-size: var(--text-small);
  color: #166534;
  margin-bottom: 0;
}

.support-panel .small-text a {
  color: #14532d;
  font-weight: 600;
}

/* ==========================================================================
   Buttons, Forms & Interactive UI
   ========================================================================== */

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 22px;
  border: 1px solid var(--accent-deep);
  border-radius: var(--radius-sm);
  background: var(--accent-deep);
  color: #ffffff;
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.25);
}

.button:active {
  transform: translateY(0);
}

.button.secondary {
  background: #ffffff;
  border-color: var(--border-hover);
  color: var(--dark-soft);
}

.button.secondary:hover {
  background: var(--wash);
  border-color: var(--muted-light);
  color: var(--dark);
  box-shadow: var(--shadow-xs);
}

.button.small {
  font-size: var(--text-small);
  padding: 8px 14px;
  gap: 10px;
}

.text-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent-deep);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  line-height: 1.7;
  cursor: pointer;
  transition: color 0.15s ease;
}

.text-button:hover {
  color: var(--accent-hover);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.field > span,
.source-label > span {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--dark);
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  font-size: var(--text-small);
  line-height: 1.5;
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--border-hover);
  background: #ffffff;
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
  outline: none;
}

textarea {
  resize: vertical;
}

input[type="file"] {
  padding: 9px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--text-small);
  line-height: 1.6;
  margin-bottom: 18px;
}

.checkbox input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent-deep);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.field-help {
  font-size: var(--text-small);
  line-height: 1.75;
  color: var(--muted);
  margin-top: -6px;
}

.alert {
  background: var(--wash);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  font-size: var(--text-small);
  margin-bottom: 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.alert h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.alert p:last-child {
  margin: 0;
}

.alert ul {
  margin: 0;
}

.alert.error {
  background: var(--danger-bg);
  border-color: var(--danger);
  color: #881337;
}

.alert.success {
  background: var(--success-bg);
  border-color: var(--success);
  color: #064e3b;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.danger {
  color: var(--danger) !important;
}

.danger-button {
  background: var(--danger);
  border-color: var(--danger);
  color: #ffffff;
}

.danger-button:hover {
  background: var(--danger-deep);
  border-color: var(--danger-deep);
}

.badge {
  display: inline-block;
  font-size: var(--text-small);
  font-weight: 600;
  padding: 3px 10px;
  background: var(--wash);
  color: var(--dark-soft);
  border-radius: var(--radius-full);
  text-transform: capitalize;
}

.badge-published {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.badge-draft {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-archived {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

dialog {
  max-width: min(850px, calc(100vw - 36px));
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

dialog::backdrop {
  background: rgba(10, 22, 38, 0.65);
  backdrop-filter: blur(2px);
}

dialog h2 {
  font-size: 1.5rem;
}

.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 20px;
}

.error-page {
  max-width: 840px;
  margin: auto;
  padding: 90px 30px;
}

.error-page > .brand {
  margin-bottom: 65px;
}

.error-page h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.setup-page {
  padding: 45px 24px;
  background: var(--wash);
  min-height: 100vh;
}

.setup-card {
  max-width: 850px;
  margin: auto;
  padding: 42px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.setup-card > img {
  margin-bottom: 30px;
}

.setup-card h1 {
  font-size: 2.5rem;
}

.setup-card h2 {
  font-size: 1.3rem;
}

.requirements {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  font-size: var(--text-small);
}

.requirements li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.requirements strong {
  font-size: var(--text-small);
  color: var(--accent-deep);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--forest);
  color: #94a3b8;
  padding-block: 52px 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 1.2fr 1fr;
  gap: 75px;
  padding-bottom: 40px;
}

.footer-identity > .brand {
  margin-bottom: 18px;
}

.footer-identity p {
  font-size: var(--text-small);
  line-height: 1.85;
  max-width: 320px;
  color: #cbd5e1;
}

.footer-identity p:last-child {
  color: #94a3b8;
}

.footer-main nav h2 {
  font-size: var(--text-small);
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 4px 0 20px;
}

.footer-main nav > a {
  display: block;
  font-size: var(--text-small);
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 9px;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.footer-main nav > a:hover {
  text-decoration: none;
  color: #38bdf8;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
  padding-top: 22px;
  border-top: 1px solid #1e293b;
  font-size: var(--text-small);
  color: #94a3b8;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #94a3b8;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (min-width: 1550px) {
  .home-intro {
    padding-block: 62px 48px;
  }
  .opening-stories {
    gap: 70px;
  }
  .cover-copy h2 {
    font-size: 2.75rem;
  }
}

@media (max-width: 1100px) {
  .container {
    width: calc(100% - 60px);
  }
  .primary-nav {
    gap: 22px;
    font-size: var(--text-small);
  }
  .home-intro {
    gap: 40px;
  }
  .home-intro h1 {
    font-size: 3.1rem;
  }
  .home-intro p {
    font-size: var(--text-body);
  }
  .opening-stories {
    gap: 35px;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
  }
  .cover-copy h2 {
    font-size: 2.1rem;
  }
  .desk-story {
    padding-block: 18px;
  }
  .desk-story h3 {
    font-size: 1.25rem;
  }
  .desk-story p {
    font-size: var(--text-body);
  }
  .evidence-note {
    padding: 20px;
    margin-top: 20px;
  }
  .evidence-note h3 {
    font-size: 1.25rem;
  }
  .subject-grid {
    gap: 24px 20px;
  }
  .subject-shelf {
    grid-template-columns: 62px 1fr;
    gap: 14px;
    padding: 16px;
  }
  .subject-picture {
    width: 62px;
    height: 62px;
  }
  .subject-shelf h3 {
    font-size: 1.25rem;
  }
  .subject-shelf p {
    font-size: var(--text-body);
  }
  .subject-links a {
    font-size: var(--text-small);
  }
  .recent-layout {
    gap: 35px;
    grid-template-columns: minmax(0, 1.9fr) minmax(235px, 1fr);
  }
  .article-card {
    grid-template-columns: 1fr 125px;
    gap: 20px;
  }
  .card-image {
    width: 125px;
    height: 105px;
  }
  .card-content h3 {
    font-size: 1.25rem;
  }
  .card-content p {
    font-size: var(--text-body);
  }
  .footer-main {
    gap: 40px;
  }
  .reading-grid,
  .policy-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
  }
  .support-links {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .support-links > div {
    border-top: 1px solid #dcfce7;
    padding-top: 14px;
  }
  .directory-heading {
    grid-template-columns: 1fr 75px;
    gap: 15px;
  }
  .directory-heading > img {
    width: 75px;
    height: 75px;
  }
  .directory-heading h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 850px) {
  .container {
    width: calc(100% - 40px);
  }
  .masthead {
    min-height: 100px;
    gap: 20px;
  }
  .brand img {
    width: 145px;
    height: 40px;
  }
  .brand > span {
    font-size: var(--text-small);
  }
  .header-search {
    width: 350px;
  }
  .primary-nav {
    gap: 18px;
    font-size: var(--text-small);
  }
  .primary-nav .nav-about {
    display: none;
  }
  .home-intro {
    gap: 30px;
    padding-block: 36px;
  }
  .home-intro h1 {
    font-size: 2.7rem;
  }
  .home-intro p {
    font-size: var(--text-body);
  }
  .opening-stories {
    grid-template-columns: minmax(0, 1.55fr) minmax(225px, 1fr);
    gap: 28px;
  }
  .cover-copy h2 {
    font-size: 1.85rem;
  }
  .cover-copy > p {
    font-size: var(--text-body);
  }
  .desk-story h3 {
    font-size: 1.25rem;
  }
  .desk-story p {
    font-size: var(--text-body);
  }
  .desk-story .story-topic {
    font-size: var(--text-small);
  }
  .evidence-note {
    padding: 18px;
  }
  .evidence-note p {
    font-size: var(--text-body);
  }
  .reading-desk > h2 {
    font-size: 1.5rem;
  }
  .subject-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .subject-shelf {
    grid-template-columns: 68px 1fr;
  }
  .subject-picture {
    width: 68px;
    height: 68px;
  }
  .subject-shelf h3 {
    font-size: 1.25rem;
  }
  .subject-shelf p {
    font-size: var(--text-body);
  }
  .subject-links a {
    font-size: var(--text-small);
  }
  .recent-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .reading-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .rest-story > img {
    height: 180px;
  }
  .rest-story > div {
    padding: 22px;
  }
  .editorial-note {
    padding: 15px 0;
  }
  .article-card {
    grid-template-columns: 1fr 150px;
  }
  .card-image {
    width: 150px;
    height: 115px;
  }
  .card-content h3 {
    font-size: 1.35rem;
  }
  .card-content p {
    font-size: var(--text-body);
  }
  .topic-directory {
    padding: 24px;
  }
  .topic-directory-grid {
    gap: 20px;
  }
  .directory-heading {
    grid-template-columns: 1fr;
  }
  .directory-heading > img {
    display: none;
  }
  .reading-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 740px;
    margin: auto;
  }
  .reading-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .share-box {
    margin-top: 0;
    padding: 18px;
  }
  .toc {
    padding: 20px;
  }
  .policy-grid {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
  }
  .article-heading h1 {
    font-size: 3rem;
  }
  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 25px;
  }
  .footer-main nav > a {
    font-size: var(--text-small);
  }
  .footer-identity p {
    font-size: var(--text-small);
  }
  .footer-main nav h2 {
    font-size: var(--text-small);
  }
  .footer-bottom {
    font-size: var(--text-small);
    gap: 15px;
  }
  .prose {
    font-size: var(--text-body);
  }
}

@media (max-width: 650px) {
  .masthead {
    min-height: 88px;
    flex-wrap: wrap;
    padding-block: 18px;
    gap: 16px;
  }
  .masthead > .brand {
    flex: 1;
    min-width: 0;
  }
  .brand img {
    width: 135px;
    height: 37px;
  }
  .brand > span {
    font-size: var(--text-small);
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--wash);
    color: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: var(--text-small);
    font-weight: 600;
  }
  .header-search {
    width: 100%;
    order: 3;
    padding-block: 3px;
  }
  .header-search input[type="search"] {
    font-size: var(--text-small);
  }
  .navigation-band {
    background: #ffffff;
  }
  .primary-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 12px 0 20px;
    font-size: var(--text-small);
  }
  .primary-nav > a {
    padding: 11px 0;
    border-bottom: 1px solid var(--border-light);
  }
  .primary-nav .nav-about {
    display: block;
    margin-left: 0;
  }
  .js .primary-nav {
    display: none;
  }
  .js .primary-nav.is-open {
    display: flex;
  }
  .topics-menu summary {
    padding: 11px 0;
  }
  .topics-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
    background: var(--wash);
    border-radius: var(--radius);
    padding: 15px;
    grid-template-columns: 1fr 1fr;
  }
  .topics-dropdown a {
    font-size: var(--text-small);
    padding: 8px 6px;
  }
  .home-intro {
    display: block;
    padding-block: 32px 28px;
  }
  .home-intro h1 {
    font-size: clamp(2.25rem, 8.4vw, 3.2rem);
    margin-bottom: 18px;
    line-height: 1.1;
  }
  .home-intro p {
    font-size: var(--text-body);
    margin-bottom: 14px;
  }
  .home-intro > div {
    max-width: 520px;
  }
  .text-link {
    font-size: var(--text-small);
  }
  .opening-stories {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 35px;
  }
  .cover-photo {
    aspect-ratio: 1.5;
    border-radius: var(--radius);
  }
  .cover-copy {
    padding-top: 18px;
  }
  .cover-copy h2 {
    font-size: 1.9rem;
    line-height: 1.2;
  }
  .cover-copy > p {
    font-size: var(--text-body);
  }
  .story-topic {
    font-size: var(--text-small);
  }
  .reading-desk {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .reading-desk > h2 {
    grid-column: 1 / -1;
    font-size: 1.5rem;
    margin: 0;
  }
  .desk-story {
    padding: 0 0 18px;
    min-width: 0;
  }
  .desk-story h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  .desk-story p {
    font-size: var(--text-body);
  }
  .desk-story .story-topic {
    font-size: var(--text-small);
    line-height: 1.5;
  }
  .desk-story .reading-link {
    font-size: var(--text-small);
    gap: 10px;
    flex-wrap: wrap;
  }
  .evidence-note {
    grid-column: 1 / -1;
    margin: 0;
    padding: 20px;
  }
  .evidence-note h3 {
    font-size: 1.25rem;
  }
  .evidence-note p {
    font-size: var(--text-body);
  }
  .section-heading {
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
  }
  .section-heading h2 {
    font-size: 1.55rem;
  }
  .section-heading > .text-link {
    font-size: var(--text-small);
  }
  .subject-shelves {
    padding-block: 30px;
  }
  .subject-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .subject-shelf {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 16px;
  }
  .subject-picture {
    width: 78px;
    height: 78px;
  }
  .subject-shelf h3 {
    font-size: 1.25rem;
  }
  .subject-shelf p {
    font-size: var(--text-body);
    margin-bottom: 8px;
  }
  .subject-shelf .subject-count {
    font-size: var(--text-small);
  }
  .subject-links {
    gap: 6px 10px;
  }
  .subject-links a {
    font-size: var(--text-small);
  }
  .recent-reading {
    padding-block: 36px 48px;
  }
  .article-card {
    grid-template-columns: 1fr 92px;
    gap: 18px;
    padding-block: 22px;
  }
  .card-image {
    width: 92px;
    height: 92px;
    border-radius: var(--radius-sm);
  }
  .card-content h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  .card-content p {
    font-size: var(--text-body);
    line-height: 1.75;
  }
  .card-content > .story-topic {
    font-size: var(--text-small);
    line-height: 1.5;
  }
  .article-meta {
    font-size: var(--text-small);
    gap: 12px;
    flex-wrap: wrap;
  }
  .reading-aside {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .rest-story {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .rest-story > img {
    width: 120px;
    height: 100%;
    object-fit: cover;
  }
  .rest-story > div {
    padding: 20px;
  }
  .rest-story h3 {
    font-size: 1.2rem;
  }
  .rest-story p {
    font-size: var(--text-body);
  }
  .rest-story .story-topic {
    font-size: var(--text-small);
  }
  .editorial-note {
    padding: 15px 0;
  }
  .editorial-note p,
  .editorial-note a {
    font-size: var(--text-small);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-identity {
    grid-column: 1 / -1;
  }
  .footer-identity p {
    max-width: 100%;
    font-size: var(--text-small);
  }
  .footer-main nav > a {
    font-size: var(--text-small);
    line-height: 1.7;
  }
  .footer-main nav h2 {
    font-size: var(--text-small);
  }
  .footer-bottom {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 24px;
  }
  .footer-bottom p:nth-child(2) {
    width: 100%;
    order: 3;
  }
  .breadcrumbs {
    font-size: var(--text-small);
    padding-block: 16px;
  }
  .page-heading {
    padding-block: 22px 28px;
  }
  .page-heading h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }
  .lede {
    font-size: 1.05rem;
  }
  .page-heading .eyebrow {
    font-size: var(--text-small);
  }
  .topic-directory-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 45px;
  }
  .topic-directory {
    padding: 24px;
  }
  .directory-heading {
    grid-template-columns: 1fr 75px;
    gap: 16px;
  }
  .directory-heading > img {
    display: block;
  }
  .directory-heading h2 {
    font-size: 1.45rem;
  }
  .directory-heading p {
    font-size: var(--text-body);
  }
  .directory-subjects > li > a {
    font-size: var(--text-small);
  }
  .directory-subjects summary {
    font-size: var(--text-small);
  }
  .directory-subjects summary > span {
    font-size: var(--text-small);
  }
  .directory-subjects .directory-subjects {
    margin-left: 10px;
  }
  .directory-subjects .directory-subjects > li > a {
    font-size: var(--text-small);
  }
  .directory-overview {
    font-size: var(--text-small);
  }
  .topic-chips {
    gap: 8px;
  }
  .topic-chips a {
    font-size: var(--text-small);
    padding: 7px 13px;
  }
  .listing-toolbar {
    display: block;
  }
  .listing-toolbar form {
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: var(--text-small);
  }
  .listing-section {
    padding-bottom: 40px;
  }
  .pagination {
    gap: 14px;
    flex-wrap: wrap;
    font-size: var(--text-small);
  }
  .pagination > .button {
    font-size: var(--text-small);
    padding: 10px 14px;
  }
  .search-form {
    padding: 22px;
  }
  .search-input {
    flex-direction: column;
  }
  .filter-field {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .search-form > label {
    font-size: var(--text-small);
  }
  .article-heading {
    margin: 20px 0 28px;
  }
  .article-heading h1 {
    font-size: 2.4rem;
    line-height: 1.16;
  }
  .article-heading .lede {
    font-size: 1.1rem;
  }
  .byline {
    gap: 15px 30px;
    font-size: var(--text-small);
  }
  .article-featured {
    margin-bottom: 30px;
  }
  .article-featured img {
    border-radius: var(--radius);
  }
  .reading-sidebar {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .toc {
    padding: 20px;
  }
  .toc ol {
    font-size: var(--text-small);
  }
  .share-box {
    padding: 16px;
    display: flex;
    gap: 8px 18px;
    flex-wrap: wrap;
  }
  .share-box > .eyebrow {
    width: 100%;
    margin: 0 0 4px;
  }
  .share-box > a,
  .share-box > button {
    font-size: var(--text-small);
    margin: 0;
  }
  .share-box > [role="status"] {
    width: 100%;
  }
  .reading-grid {
    gap: 28px;
  }
  .prose {
    font-size: var(--text-body);
    line-height: 1.85;
  }
  .prose > p:first-child {
    font-size: var(--text-body);
  }
  .prose h2 {
    font-size: 1.55rem;
    line-height: 1.25;
  }
  .prose h3 {
    font-size: 1.25rem;
  }
  .prose table {
    font-size: var(--text-small);
  }
  .prose th,
  .prose td {
    padding: 10px 12px;
    min-width: 80px;
  }
  .references {
    font-size: var(--text-small);
  }
  .references h2 {
    font-size: 1.25rem;
  }
  .article-disclaimer {
    padding: 22px;
    font-size: var(--text-small);
  }
  .support-panel {
    padding: 24px;
  }
  .support-panel h2 {
    font-size: 1.4rem;
  }
  .support-panel > p {
    font-size: var(--text-small);
  }
  .support-panel > .eyebrow {
    font-size: var(--text-small);
  }
  .support-links {
    margin-block: 20px;
  }
  .support-links p,
  .support-links a {
    font-size: var(--text-small);
  }
  .policy-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 45px;
  }
  .policy-grid > aside {
    order: 2;
  }
  .policy-grid > aside nav {
    font-size: var(--text-small);
  }
  .empty-state {
    padding: 24px;
    gap: 18px;
  }
  .empty-state h3 {
    font-size: 1.2rem;
  }
  .empty-state p {
    font-size: var(--text-small);
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .setup-page {
    padding: 22px 14px;
  }
  .setup-card {
    padding: 26px;
  }
  .setup-card h1 {
    font-size: 2.1rem;
  }
  .error-page {
    padding: 60px 24px;
  }
  .error-page > .brand {
    margin-bottom: 45px;
  }
  dialog {
    padding: 24px;
  }
  .dialog-heading h2 {
    font-size: 1.25rem;
  }
  .dialog-heading button {
    font-size: var(--text-small);
  }
}

@media (max-width: 370px) {
  .reading-desk {
    grid-template-columns: 1fr;
  }
  .evidence-note,
  .reading-desk > h2 {
    grid-column: auto;
  }
  .article-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .card-content h3 {
    font-size: 1.25rem;
  }
  .card-content p {
    font-size: var(--text-body);
  }
  .directory-heading {
    grid-template-columns: 1fr;
  }
  .directory-heading > img {
    display: none;
  }
  .rest-story {
    grid-template-columns: minmax(0, 1fr);
  }
  .rest-story > img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .rest-story > div {
    padding: 18px;
  }
}

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