:root {
  color-scheme: light;
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-muted: #eef2f4;
  --ink: #152331;
  --muted: #566575;
  --line: #dce3e8;
  --accent: #17617a;
  --accent-dark: #104a5e;
  --navy: #102536;
  --shadow: 0 12px 32px rgba(16, 37, 54, 0.07);
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid #5ba5bc;
  outline-offset: 3px;
}

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

p { margin: 0 0 1.15rem; }

h1, h2, h3, h4 {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

h1 { font-size: clamp(2.25rem, 4vw, 3.65rem); }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.45rem); }
h3 { font-size: 1.32rem; }

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

.narrow { max-width: 820px; }

.site-header {
  position: relative;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

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

.brand-mark {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.07em;
}

.brand-text { font-size: 1.15rem; }

.brand-tagline {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.83rem;
  letter-spacing: 0.015em;
}

.nav-row { border-top: 1px solid #edf0f2; }

.site-nav {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.header-inner > .site-nav {
  flex: 1 0 100%;
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 0.8rem;
}

.nav-link {
  padding: 0.68rem 0.3rem;
  border-bottom: 2px solid transparent;
  color: #394957;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0.58rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.105em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow a:hover { color: var(--accent-dark); }

.section-space { padding-block: 2.2rem; }

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-heading-row h2 { margin-bottom: 0; }

.text-link,
.read-more {
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link:hover,
.read-more:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.home-intro {
  padding-block: 2.2rem 1.05rem;
}

.home-intro-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 2rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}

.home-intro h1 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.home-intro-copy {
  max-width: 52ch;
  margin-bottom: 0.15rem;
}

.home-intro-copy p {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 1.03rem;
}

.home-feature-section { padding-top: 0.8rem; padding-bottom: 1.75rem; }

.featured-story {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.featured-image-link {
  display: block;
  min-height: 300px;
  overflow: hidden;
  background: var(--surface-muted);
}

.featured-image-link img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.featured-story .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.6rem);
}

.featured-story h2 {
  max-width: 22ch;
  margin-bottom: 0.85rem;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.featured-story .card-body p {
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.meta-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.topic-section { padding-top: 2rem; }

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

.topic-card {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.topic-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.32rem;
}

.topic-card p {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.topic-card .text-link { margin-top: auto; }

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

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.article-image-link {
  display: block;
  overflow: hidden;
  background: var(--surface-muted);
}

.article-image-link img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body { padding: 1.15rem; }

.card-body .eyebrow { margin-bottom: 0.45rem; }

.card-body h3 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.card-body > p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.article-card .meta-row {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.35rem 0.7rem;
  font-size: 0.76rem;
}

.article-card .read-more { margin-left: auto; }

.editorial-sections {
  display: grid;
  gap: 1.2rem;
  padding-top: 1rem;
}

.editorial-panel {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.research-panel { border-left: 4px solid var(--accent); }
.news-panel { background: #f0f4f6; }

.editorial-panel-copy h2 {
  max-width: 20ch;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.editorial-panel-copy p {
  max-width: 45ch;
  color: var(--muted);
}

.editorial-panel-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.editorial-panel-stories .article-card { min-width: 0; }
.editorial-panel-stories .card-body { padding: 0.95rem; }
.editorial-panel-stories .card-body h3 { font-size: 1.1rem; }
.editorial-panel-stories .card-body > p { font-size: 0.86rem; }
.editorial-panel-stories .meta-row { display: block; }
.editorial-panel-stories .read-more { display: inline-block; margin-top: 0.45rem; }

.page-hero {
  padding: 2.7rem 0 2rem;
  background: #edf1f3;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { margin-bottom: 0.65rem; }

.page-hero p {
  max-width: 66ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.breadcrumbs a { color: var(--accent-dark); }

.category-intro { max-width: 78ch; }

.long-form {
  color: #263746;
  font-size: 1.08rem;
  line-height: 1.82;
}

.long-form p { margin-bottom: 1.25rem; }

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

.category-feature { max-width: 100%; }

.category-feature .featured-story {
  grid-template-columns: 0.9fr 1.1fr;
  box-shadow: none;
}

.category-feature .featured-image-link,
.category-feature .featured-image-link img { min-height: 250px; }

.category-feature .featured-story h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); }

.related-topics {
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.related-topics ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-topics li a {
  display: inline-block;
  padding: 0.48rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 650;
}

.article-page { padding-bottom: 3rem; }

.article-header { padding: 2.4rem 0 1.15rem; }

.article-header h1 {
  max-width: 22ch;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
}

.article-header .eyebrow { margin-bottom: 0.55rem; }

.intro {
  max-width: 68ch;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.27rem);
  line-height: 1.65;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  margin-top: 1.05rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.article-meta a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.article-featured-image {
  width: 100%;
  max-height: 500px;
  margin: 1rem auto 2.2rem;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-muted);
  object-fit: cover;
}

.article-body {
  max-width: 72ch;
  margin-inline: auto;
}

.article-body.long-form {
  font-size: 1.12rem;
  line-height: 1.82;
}

.article-section { margin-bottom: 2.15rem; }

.article-section h2 {
  margin: 2.5rem 0 0.9rem;
  font-size: clamp(1.7rem, 2.5vw, 2.15rem);
  line-height: 1.22;
}

.article-section h3 {
  margin: 1.7rem 0 0.65rem;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}

.article-section p { margin-bottom: 1.15rem; }

.article-section ul,
.article-section ol {
  margin: 0 0 1.35rem;
  padding-left: 1.55rem;
}

.article-section li {
  padding-left: 0.25rem;
  margin-bottom: 0.55rem;
}

.article-body a,
.contextual-links a,
.financial-disclaimer a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.17em;
}

.article-section blockquote {
  margin: 1.5rem 0;
  padding: 0.3rem 1.2rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2em;
}

.article-section table {
  width: 100%;
  margin: 1.4rem 0;
  border-collapse: collapse;
  font-size: 0.92em;
}

.article-section th,
.article-section td {
  padding: 0.65rem;
  border: 1px solid var(--line);
  text-align: left;
}

.article-section th { background: var(--surface-muted); }

.article-section pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 8px;
  background: #edf1f3;
  font-size: 0.86em;
}

.contextual-links,
.financial-disclaimer {
  margin: 1.6rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 0.94rem;
}

.contextual-links p,
.financial-disclaimer p { margin: 0; }

.financial-disclaimer { border-left-color: #9aa8b1; }

.related-articles { padding-top: 1.2rem; }

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.related-item {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.related-item .eyebrow { margin-bottom: 0.5rem; }

.related-item h3 {
  margin-bottom: 0;
  font-size: 1.13rem;
}

.author-box { padding-top: 1rem; }

.author-card {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.author-card h3 { font-size: 1.2rem; }
.author-card p { max-width: 70ch; margin-bottom: 0; color: var(--muted); }

.author-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.author-wrap img,
.author-card img {
  width: 150px;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

.contact-form,
.legal-copy {
  max-width: 760px;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form-group { display: grid; gap: 0.45rem; margin-bottom: 1rem; }
label { font-weight: 650; }

input, textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #cbd5dc;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea { min-height: 140px; resize: vertical; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
}

.button:hover { background: var(--accent-dark); color: #fff; }

.site-footer {
  margin-top: 1rem;
  padding: 2.6rem 0 1.2rem;
  background: var(--navy);
  color: #d6e0e6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.8fr;
  gap: 2rem;
}

.footer-grid h2 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.footer-grid p {
  max-width: 36ch;
  color: #bdcbd4;
  font-size: 0.92rem;
}

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

.footer-grid a { color: #d6e0e6; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.15em; }
.footer-brand { margin-bottom: 0.9rem; color: #fff; }
.footer-brand:hover { color: #fff; }
.footer-brand .brand-mark { background: #e4edf1; color: var(--navy); }

.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #bdcbd4;
  font-size: 0.85rem;
}

@media (max-width: 1100px) {
  .site-nav { gap: 0.2rem; }
  .nav-link { padding-inline: 0.18rem; font-size: 0.77rem; }
  .editorial-panel { grid-template-columns: 0.65fr 1.35fr; gap: 1.2rem; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 66px; }
  .brand-tagline { margin-left: auto; font-size: 0.76rem; }
  .nav-toggle { display: block; flex: 0 0 44px; }
  .nav-row { border-top: 0; }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    left: 1.5rem;
    z-index: 30;
    display: none;
    width: auto;
    min-height: 0;
    max-height: min(75vh, 520px);
    overflow-y: auto;
    align-items: stretch;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .header-inner > .site-nav { flex: initial; width: auto; }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .nav-link { width: 100%; padding: 0.67rem 0.25rem; border-bottom: 1px solid #edf0f2; font-size: 0.92rem; }
  .nav-link:last-child { border-bottom: 0; }
  .home-intro-inner { grid-template-columns: 1fr 0.85fr; gap: 1.3rem; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(var(--max), calc(100% - 2rem)); }
  .brand-tagline { display: none; }
  .home-intro { padding-top: 2rem; }
  .home-intro-inner { grid-template-columns: 1fr; gap: 0.85rem; }
  .home-intro h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .home-intro-copy p { font-size: 0.98rem; }
  .section-space { padding-block: 1.65rem; }
  .section-heading-row { align-items: flex-start; }
  .featured-story,
  .category-feature .featured-story { grid-template-columns: 1fr; }
  .featured-image-link,
  .featured-image-link img,
  .category-feature .featured-image-link,
  .category-feature .featured-image-link img {
    min-height: 0;
    max-height: 300px;
    aspect-ratio: 16 / 10;
  }
  .featured-story .card-body { padding: 1.25rem; }
  .featured-story h2 { font-size: 1.8rem; }
  .topic-grid,
  .article-grid,
  .editorial-panel,
  .editorial-panel-stories,
  .related-list,
  .footer-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 0; }
  .editorial-panel { gap: 1.1rem; padding: 1.15rem; }
  .editorial-panel-stories .article-image-link img { aspect-ratio: 16 / 9; }
  .page-hero { padding: 2rem 0 1.5rem; }
  .page-hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.55rem); }
  .article-header { padding-top: 1.8rem; }
  .article-header h1 { font-size: clamp(1.9rem, 8.5vw, 2.55rem); }
  .article-body.long-form { font-size: 1.05rem; line-height: 1.78; }
  .article-featured-image { margin-block: 0.5rem 1.6rem; border-radius: 7px; }
  .article-meta { display: grid; gap: 0.35rem; }
  .article-section h2 { margin-top: 2rem; }
  .article-section table { display: block; overflow-x: auto; }
  .related-list { gap: 0.65rem; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-grid ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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