:root {
  --bg: #f2f1ed;
  --surface: #ffffff;
  --surface-soft: #eef3f2;
  --ink: #1d2629;
  --muted: #57636c;
  --primary: #214f64;
  --secondary: #2b7a6c;
  --accent: #d97706;
  --rose: #b24a3f;
  --radius: 8px;
  --shadow: 0 16px 34px rgba(15, 31, 45, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 245, 241, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(33, 79, 100, 0.08);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  color: var(--muted);
}

.main-nav a {
  padding: 8px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  background: var(--primary);
  color: #fff;
}

.btn-solid:hover {
  box-shadow: 0 10px 20px rgba(33, 79, 100, 0.2);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.24);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
  background: transparent;
}

.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/106399/pexels-photo-106399.jpeg?auto=compress&cs=tinysrgb&w=2400");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(13, 24, 38, 0.8) 0%, rgba(13, 24, 38, 0.62) 42%, rgba(43, 122, 108, 0.22) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 74px;
  color: #fff;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.92);
}

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

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.12;
  margin: 0 0 14px;
  letter-spacing: 0;
}

h1 {
  font-size: 56px;
  max-width: 17ch;
}

h2 {
  font-size: 40px;
  max-width: 22ch;
}

h3 {
  font-size: 30px;
}

p {
  margin: 0 0 14px;
}

.hero-copy {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.94);
}

.hero-actions {
  margin: 26px 0 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats li {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  border-radius: 8px;
  padding: 12px;
  min-height: 90px;
}

.hero-stats strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
}

.hero-stats span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.trust-strip {
  background: linear-gradient(135deg, #1f3f57 0%, #2b7a6c 100%);
  color: #fff;
  padding: 20px 0;
}

.trust-grid {
  display: grid;
  gap: 14px;
}

.trust-title {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.logo-row span {
  min-height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
}

.section {
  padding: 76px 0;
}

.programs {
  background: var(--surface);
}

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

.program-card {
  background: var(--surface-soft);
  border-radius: 8px;
  padding: 18px;
  min-height: 176px;
  box-shadow: var(--shadow);
}

.program-card h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.program-card p {
  margin: 0;
  color: var(--muted);
}

.pathways {
  background: #f0ece8;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pathway {
  border-radius: 8px;
  padding: 28px;
  color: #fff;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.pathway::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 27, 44, 0.84), rgba(25, 58, 73, 0.65));
}

.pathway.purchase {
  background-image: url("https://images.pexels.com/photos/323780/pexels-photo-323780.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.pathway.refinance {
  background-image: url("https://images.pexels.com/photos/280222/pexels-photo-280222.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.pathway > * {
  position: relative;
  z-index: 1;
}

.pathway .eyebrow.dark {
  color: #a6ddd4;
}

.pathway ul {
  margin: 14px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 8px;
}

.calculator {
  background: linear-gradient(120deg, #f6f3ee 0%, #e7efed 100%);
}

.calc-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  align-items: start;
}

.calc-form {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.calc-form label,
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(87, 99, 108, 0.28);
  border-radius: 8px;
  background: #fff;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(43, 122, 108, 0.28);
  outline-offset: 1px;
}

.calc-result {
  margin: 2px 0 0;
  font-size: 21px;
  font-weight: 800;
  color: var(--primary);
}

.calc-footnote {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.process {
  background: var(--surface);
}

.timeline {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.timeline li {
  min-height: 130px;
  border-radius: 8px;
  background: #eaf1ee;
  padding: 14px;
}

.timeline strong {
  display: block;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline span {
  color: var(--muted);
  font-size: 14px;
}

.testimonials {
  background: #f3efea;
}

.testimonial-box {
  margin-top: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 26px;
}

blockquote {
  margin: 0 0 10px;
  font-size: 34px;
  font-family: "Playfair Display", serif;
  color: var(--primary);
  max-width: 28ch;
}

#quoteMeta {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 600;
}

.quote-controls {
  display: flex;
  gap: 8px;
}

.quote-controls button {
  height: 38px;
  min-width: 78px;
  border-radius: 8px;
  border: 1px solid rgba(33, 79, 100, 0.26);
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.faq {
  background: var(--surface);
}

.faq-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 8px;
  background: #eef3f2;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  min-height: 62px;
  padding: 0 16px;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  max-height: 160px;
}

.contact {
  background:
    linear-gradient(180deg, rgba(31, 122, 108, 0.08), rgba(217, 119, 6, 0.08)),
    url("https://images.pexels.com/photos/3183198/pexels-photo-3183198.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-copy,
.contact-form {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-copy ul {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.contact-form {
  display: grid;
  gap: 11px;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.site-footer {
  background: #16262d;
  color: rgba(245, 251, 250, 0.9);
  padding: 38px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr 1fr;
  gap: 16px;
}

.footer-brand {
  font-family: "Playfair Display", serif;
  font-size: 27px;
  margin-bottom: 10px;
}

.footer-heading {
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-grid a {
  display: block;
  color: rgba(245, 251, 250, 0.9);
  margin-bottom: 8px;
}

.legal-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.legal-note p {
  margin: 0;
  color: rgba(245, 251, 250, 0.8);
  font-size: 13px;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: 78vh;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 27px;
  }

  blockquote {
    font-size: 30px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .logo-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .program-grid,
  .split,
  .calc-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav-wrap {
    min-height: 70px;
  }

  .brand span:last-child {
    font-size: 14px;
  }

  .btn {
    height: 42px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 29px;
  }

  h3 {
    font-size: 24px;
  }

  blockquote {
    font-size: 24px;
  }

  .hero-content {
    padding: 58px 0;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }
}

/* ============================================================
   ARTICLES LISTING PAGE
   ============================================================ */

.nav-active {
  color: var(--accent) !important;
  font-weight: 700;
}

/* Hero */
.articles-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 80px 0 64px;
}

.articles-hero .eyebrow {
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.1em;
}

.articles-hero h1 {
  color: #fff;
  font-size: 52px;
  line-height: 1.08;
  margin: 12px 0 18px;
  max-width: 20ch;
}

.articles-hero-sub {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  max-width: 56ch;
  line-height: 1.65;
  margin-bottom: 32px;
}

.search-wrap {
  position: relative;
  max-width: 500px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-wrap input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 0 18px 0 48px;
  border-radius: 100px;
  border: none;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 500;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.search-wrap input[type="search"]:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4), 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Featured section */
.articles-featured {
  background: var(--surface);
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(33, 79, 100, 0.08);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* All articles section */
.articles-body {
  background: var(--surface);
  padding: 48px 0 96px;
}

/* Filter chips */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 100px;
  border: 1.5px solid rgba(33, 79, 100, 0.2);
  background: transparent;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}

.chip:hover {
  background: rgba(33, 79, 100, 0.07);
  border-color: var(--primary);
  color: var(--primary);
}

.chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(33, 79, 100, 0.28);
}

.results-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 24px;
  min-height: 20px;
}

/* Article card grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(33, 79, 100, 0.07);
  transition: box-shadow 0.22s, transform 0.22s;
}

.article-card:hover {
  box-shadow: 0 12px 40px rgba(33, 79, 100, 0.12);
  transform: translateY(-3px);
}

.article-card--featured {
  background: linear-gradient(145deg, #edf4f1, #f3ede9);
  border-color: rgba(33, 79, 100, 0.12);
}

.card-category-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
}

.card-title {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.28;
  margin: 0;
}

.card-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s;
}

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

.card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(33, 79, 100, 0.09);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 0;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hidden {
  display: none !important;
}

.link-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* ============================================================
   SINGLE ARTICLE READER PAGE
   ============================================================ */

.article-loading {
  padding: 140px 0;
  text-align: center;
  color: var(--muted);
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(33, 79, 100, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.article-not-found {
  padding: 140px 0;
  text-align: center;
}

.article-not-found h1 {
  margin: 16px 0 12px;
}

.article-not-found p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* Breadcrumb */
.article-breadcrumb {
  background: var(--bg);
  border-bottom: 1px solid rgba(33, 79, 100, 0.09);
  padding: 14px 0;
}

.article-breadcrumb nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.article-breadcrumb a {
  color: var(--primary);
  font-weight: 600;
  transition: opacity 0.15s;
}

.article-breadcrumb a:hover {
  opacity: 0.75;
}

/* Article header */
.article-header {
  background: linear-gradient(150deg, #f3ede9, #edf4f1);
  padding: 64px 0 56px;
  border-bottom: 1px solid rgba(33, 79, 100, 0.09);
}

.article-header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.article-category-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 100px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-read-time,
.article-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.article-title {
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 18px;
  max-width: 22ch;
  color: var(--ink);
}

.article-excerpt {
  font-size: 19px;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.65;
  margin: 0;
}

/* Two-column layout */
.article-layout {
  background: var(--surface);
  padding: 64px 0 80px;
}

.article-layout-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}

/* Table of contents */
.article-toc {
  position: sticky;
  top: 100px;
}

.toc-heading {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 14px;
}

#tocNav a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 0 6px 14px;
  border-left: 2px solid rgba(33, 79, 100, 0.14);
  transition: color 0.15s, border-color 0.15s;
  line-height: 1.4;
  text-decoration: none;
}

#tocNav a:hover,
#tocNav a.toc-active {
  color: var(--primary);
  border-left-color: var(--primary);
}

/* Prose body */
.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 70ch;
}

.prose h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 52px 0 16px;
  color: var(--primary);
  line-height: 1.2;
}

.prose h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--ink);
}

.prose p {
  margin: 0 0 22px;
}

.prose ul,
.prose ol {
  padding-left: 24px;
  margin: 0 0 22px;
}

.prose li {
  margin-bottom: 10px;
}

.prose strong {
  font-weight: 800;
  color: var(--ink);
}

.prose blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 22px;
  margin: 32px 0;
  background: rgba(217, 119, 6, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 19px;
  color: var(--primary);
  font-style: italic;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  font-size: 15px;
  border-radius: var(--radius);
  overflow: hidden;
}

.prose th {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
}

.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(33, 79, 100, 0.09);
  vertical-align: top;
}

.prose tr:nth-child(even) td {
  background: var(--surface-soft);
}

/* CTA strip (shared between listing and reader) */
.article-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 72px 0;
}

.article-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.article-cta .eyebrow {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.1em;
}

.article-cta h2 {
  color: #fff;
  font-size: 34px;
  margin: 10px 0 10px;
  max-width: 24ch;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Related articles */
.article-related {
  background: var(--bg);
  padding: 80px 0;
}

.article-related h2 {
  margin: 14px 0 32px;
}

.article-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ============================================================
   ARTICLE PAGE — RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .featured-grid,
  .article-grid,
  .article-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-toc {
    position: static;
    border: 1px solid rgba(33, 79, 100, 0.12);
    border-radius: var(--radius);
    padding: 18px 22px;
    background: var(--surface-soft);
    margin-bottom: 40px;
  }

  .article-title {
    font-size: 38px;
  }

  .articles-hero h1 {
    font-size: 38px;
  }

  .article-cta-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-cta h2 {
    font-size: 28px;
  }
}

@media (max-width: 620px) {
  .featured-grid,
  .article-grid,
  .article-grid--three {
    grid-template-columns: 1fr;
  }

  .articles-hero {
    padding: 56px 0 48px;
  }

  .articles-hero h1 {
    font-size: 30px;
  }

  .article-title {
    font-size: 28px;
  }

  .article-excerpt {
    font-size: 16px;
  }

  .prose {
    font-size: 16px;
  }

  .prose h2 {
    font-size: 24px;
  }

  .filter-bar {
    gap: 8px;
  }

  .chip {
    height: 34px;
    padding: 0 14px;
    font-size: 12px;
  }
}
