/* RX MT2 — Editorial Tri-Tone Design System
   Palette: Deep Burgundy / Dusty Pink / Mustard / Cool Porcelain
   Fonts: Bricolage Grotesque (display) + Instrument Serif (body) + Inter (UI)
*/

/* ═══════════════════════════════════════════════
   CUSTOM PROPERTIES
═══════════════════════════════════════════════ */
:root {
  --primary: #7A1F35;
  --primary-50: #F3E2E7;
  --primary-900: #3D0E1B;
  --secondary: #E59AB0;
  --accent: #E0B526;
  --neutral-50: #F7F4F6;
  --neutral-200: #E4D8DC;
  --neutral-500: #8A6F77;
  --neutral-900: #231016;
  --bg: #F7F4F6;
  --surface: #FFFFFF;
  --surface-pink: #FBEEF1;
  --surface-burgundy: #3D0E1B;
  --text: #231016;
  --text-muted: #6E545C;
  --text-on-burgundy: #F7E9ED;
  --text-muted-on-burgundy: #D9A9B6;
  --success: #3F7A52;
  --warning: #B07A12;
  --danger: #A12238;

  --max-width: 70rem;
  --reading-width: 44rem;
  --container-px: clamp(1.1rem, 3vw, 2.25rem);

  --font-heading: 'Bricolage Grotesque', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;

  --h1: clamp(2.1rem, 4.6vw, 3.4rem);
  --h2: clamp(1.6rem, 3vw, 2.3rem);
  --h3: 1.4rem;
  --body: 1.1875rem;
  --small: 0.9375rem;
  --eyebrow: 0.8125rem;

  --lh-heading: 1.1;
  --lh-body: 1.6;

  --radius-button: 9999px;
  --radius-card: 0.25rem;

  --transition: 220ms ease-out;
}

/* ═══════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-900);
}

ul, ol {
  padding-left: 1.5rem;
}

/* ═══════════════════════════════════════════════
   LAYOUT CONTAINERS
═══════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.reading-col {
  max-width: var(--reading-width);
}

/* Full-bleed section bands */
.band {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.band--porcelain {
  background: var(--bg);
  color: var(--text);
}

.band--blush {
  background: var(--surface-pink);
  color: var(--text);
}

.band--burgundy {
  background: var(--surface-burgundy);
  color: var(--text-on-burgundy);
}

.band--white {
  background: var(--surface);
  color: var(--text);
}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--lh-heading);
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: var(--h1); font-weight: 800; }
h2 { font-size: var(--h2); font-weight: 700; }
h3 { font-size: var(--h3); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 600; }

/* On burgundy backgrounds */
.band--burgundy h1,
.band--burgundy h2,
.band--burgundy h3,
.band--burgundy h4,
.site-header--hero h1 {
  color: var(--text-on-burgundy);
}

p {
  max-width: 72ch;
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
  display: block;
  margin-bottom: 0.75rem;
}

.band--burgundy .eyebrow {
  color: var(--secondary);
}

.subheadline {
  font-family: var(--font-body);
  font-size: 1.3125rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 60ch;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.band--burgundy .subheadline {
  color: var(--text-muted-on-burgundy);
}

strong { font-weight: 700; }
em { font-style: italic; }

code {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  background: var(--surface-pink);
  padding: 0.1em 0.35em;
  border-radius: 2px;
}

blockquote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.4375rem;
  line-height: 1.5;
  padding-left: 1.5rem;
  margin: 2rem 0;
  border-left: none;
  position: relative;
  color: var(--primary);
}

blockquote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  position: absolute;
  left: -0.25rem;
  top: -0.5rem;
  line-height: 1;
}

/* Drop cap — first paragraph of .prose-drop-cap */
.prose-drop-cap > p:first-child::first-letter {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--primary-900);
  float: left;
  line-height: 0.82;
  margin-right: 0.1em;
  margin-top: 0.1em;
}

/* Prose section spacing */
.prose > * + * {
  margin-top: 1.25rem;
}

.prose h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.5rem; }

.prose ul, .prose ol {
  margin-block: 1rem;
}

.prose li { margin-bottom: 0.5rem; }

/* Citation superscripts */
sup.cite a {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  vertical-align: super;
  line-height: 0;
  padding: 0 0.1em;
  transition: color var(--transition);
}

sup.cite a:hover {
  color: var(--primary);
}

.band--burgundy sup.cite a {
  color: var(--accent);
}

/* Heading mustard accent word */
.accent-word {
  color: var(--accent);
}

/* ═══════════════════════════════════════════════
   MASTHEAD / TRI-TONE TICK
═══════════════════════════════════════════════ */
.tri-tone-tick {
  display: flex;
  gap: 0;
  height: 3px;
  width: 120px;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.tri-tone-tick__segment:nth-child(1) { background: var(--secondary); width: 28px; }
.tri-tone-tick__segment:nth-child(2) { background: var(--accent); width: 28px; }
.tri-tone-tick__segment:nth-child(3) { background: rgba(247,233,237,0.4); flex: 1; }

/* ═══════════════════════════════════════════════
   HEADER + NAV
═══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--neutral-200);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.site-brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-900);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.site-brand:hover { color: var(--primary); }

.site-nav {
  display: none;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 0;
  align-items: center;
}

.site-nav a {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  transition: color var(--transition);
}

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

.nav-toggle {
  background: none;
  border: 1.5px solid var(--neutral-200);
  border-radius: 4px;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav drawer */
.site-nav--mobile {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--neutral-200);
  padding: 1rem var(--container-px);
}

.site-nav--mobile.is-open {
  display: block;
}

.site-nav--mobile ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-nav--mobile a {
  font-family: var(--font-ui);
  font-size: var(--small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.75rem 0;
  display: block;
  border-bottom: 1px solid var(--neutral-200);
  transition: color var(--transition);
}

.site-nav--mobile a:hover { color: var(--primary); }
.site-nav--mobile li:last-child a { border-bottom: none; }

@media (min-width: 768px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* ═══════════════════════════════════════════════
   HERO — MAGAZINE COVER
═══════════════════════════════════════════════ */
.hero {
  background: var(--surface-burgundy);
  color: var(--text-on-burgundy);
  padding-block: clamp(4rem, 8vw, 6rem) clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__content {
  max-width: var(--reading-width);
}

.hero h1 {
  font-size: var(--h1);
  font-weight: 800;
  color: var(--text-on-burgundy);
  line-height: 1.08;
  margin-bottom: 0.75rem;
}

.hero .subheadline {
  color: var(--text-muted-on-burgundy);
  margin-bottom: 2rem;
}

.hero__figure {
  position: relative;
  border: 1px solid var(--secondary);
  border-radius: 2px;
}

.hero__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1px;
}

.hero__figure figcaption {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted-on-burgundy);
  padding: 0.5rem 0.75rem;
  border-top: 1px solid rgba(229,154,176,0.3);
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: var(--reading-width) 1fr;
    gap: 4rem;
  }
}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-button);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--neutral-900);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #C9A11E;
  border-color: #C9A11E;
  color: var(--neutral-900);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-on-burgundy);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: rgba(229,154,176,0.08);
  color: var(--text-on-burgundy);
}

/* On light backgrounds, secondary button */
.btn-secondary--light {
  color: var(--primary);
  border-color: var(--secondary);
}

.btn-secondary--light:hover {
  background: rgba(229,154,176,0.12);
  color: var(--primary-900);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

/* ═══════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(61,14,27,0.10);
  transform: translateY(-1px);
}

.card--blush {
  background: var(--surface-pink);
}

.card--burgundy {
  background: var(--surface-burgundy);
  border-color: var(--primary);
  color: var(--text-on-burgundy);
}

.card--burgundy h2,
.card--burgundy h3,
.card--burgundy h4 {
  color: var(--text-on-burgundy);
}

/* ═══════════════════════════════════════════════
   CALLOUT / PULL BAND
═══════════════════════════════════════════════ */
.callout {
  border-left: 3px solid var(--secondary);
  padding: 1.25rem 1.5rem;
  background: var(--surface-pink);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin-block: 2rem;
}

.callout--burgundy {
  background: var(--surface-burgundy);
  border-left-color: var(--accent);
  color: var(--text-on-burgundy);
}

.callout--burgundy p {
  color: var(--text-on-burgundy);
}

.callout p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════
   STAT ROW
═══════════════════════════════════════════════ */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
  margin-block: 2rem;
}

.band--burgundy .stat-row {
  border-color: rgba(229,154,176,0.3);
}

.stat-item {
  flex: 1 1 140px;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--neutral-200);
}

.band--burgundy .stat-item {
  border-right-color: rgba(229,154,176,0.3);
}

.stat-item:last-child { border-right: none; }

.stat-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.band--burgundy .stat-label {
  color: var(--text-muted-on-burgundy);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.band--burgundy .stat-value {
  color: var(--text-on-burgundy);
}

/* ═══════════════════════════════════════════════
   TABLES
═══════════════════════════════════════════════ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: var(--small);
  overflow-x: auto;
  display: block;
}

.data-table thead tr {
  border-bottom: 2px solid var(--primary-900);
}

.data-table th {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-900);
  padding: 0.75rem 0.9rem;
  text-align: left;
}

.data-table tbody tr {
  border-bottom: 1px solid var(--neutral-200);
}

.data-table tbody tr:nth-child(even) {
  background: var(--surface-pink);
}

.data-table td {
  padding: 0.75rem 0.9rem;
  color: var(--text);
  vertical-align: top;
}

/* ═══════════════════════════════════════════════
   SECTION HEADINGS + ARTICLE LAYOUT
═══════════════════════════════════════════════ */
.section-heading {
  font-family: var(--font-heading);
  font-size: var(--h2);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
  line-height: var(--lh-heading);
}

.band--burgundy .section-heading {
  color: var(--text-on-burgundy);
}

.page-intro {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

/* Section divider */
.divider {
  border: none;
  border-top: 1px solid var(--neutral-200);
  margin-block: 2.5rem;
}

/* ═══════════════════════════════════════════════
   ILLUSTRATION FIGURES
═══════════════════════════════════════════════ */
.illustration {
  margin-block: 2.5rem;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.illustration img {
  width: 100%;
  height: auto;
}

.illustration figcaption {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.6rem 0;
  font-style: italic;
}

/* ═══════════════════════════════════════════════
   REFERENCES LIST
═══════════════════════════════════════════════ */
.references-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.references-list li {
  font-family: var(--font-ui);
  font-size: var(--small);
  line-height: 1.6;
  padding: 1rem 0;
  border-bottom: 1px solid var(--neutral-200);
  display: flex;
  gap: 0.75rem;
  color: var(--text-muted);
}

.references-list li:last-child { border-bottom: none; }

.ref-num {
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
  min-width: 1.5rem;
}

.ref-link {
  color: var(--secondary);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.ref-link:hover { color: var(--primary); text-decoration: underline; }

/* ═══════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--neutral-200);
}

.faq-item:first-child {
  border-top: 1px solid var(--neutral-200);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-question[aria-expanded="true"] { color: var(--primary); }

.faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid var(--neutral-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}

.faq-question:hover .faq-icon,
.faq-question[aria-expanded="true"] .faq-icon {
  border-color: var(--secondary);
  background: var(--surface-pink);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  transition: transform var(--transition), opacity var(--transition);
}

.faq-icon::before {
  width: 8px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 8px;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: var(--lh-body);
  color: var(--text-muted);
  max-width: 64ch;
}

.faq-answer.is-open { display: block; }

/* ═══════════════════════════════════════════════
   CONTACT FORM
═══════════════════════════════════════════════ */
.contact-form {
  max-width: 38rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--small);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--neutral-200);
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: var(--small);
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
}

textarea.form-control {
  resize: vertical;
  min-height: 7rem;
}

/* ═══════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════ */
.breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--primary); }

.breadcrumb__sep {
  color: var(--neutral-500);
  font-size: 0.7rem;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: var(--surface-burgundy);
  color: var(--text-on-burgundy);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col-heading {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link-list a {
  font-family: var(--font-ui);
  font-size: var(--small);
  color: var(--text-muted-on-burgundy);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-link-list a:hover {
  color: var(--text-on-burgundy);
}

.footer-bottom {
  border-top: 1px solid rgba(229,154,176,0.25);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-disclaimer {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted-on-burgundy);
  max-width: 52ch;
  font-style: italic;
}

.footer-copyright {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--text-muted-on-burgundy);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══════════════════════════════════════════════
   PAGE HEADER (non-hero inner pages)
═══════════════════════════════════════════════ */
.page-header {
  background: var(--surface-burgundy);
  color: var(--text-on-burgundy);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.page-header h1 {
  color: var(--text-on-burgundy);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-header .page-intro {
  color: var(--text-muted-on-burgundy);
}

/* ═══════════════════════════════════════════════
   READING PROGRESS BAR
═══════════════════════════════════════════════ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  width: 0%;
  z-index: 200;
  transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════════
   404 PAGE
═══════════════════════════════════════════════ */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--container-px);
}

.page-404__code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  color: var(--primary-50);
  line-height: 1;
  display: block;
}

.cta-row.text-center {
  justify-content: center;
}

/* ═══════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ═══════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
