:root {
  color: #16282f;
  background: #f5f1e8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #0b1f2a;
  --muted: #53636a;
  --paper: #fffdf7;
  --warm: #f5f1e8;
  --rule: #cbd0c9;
  --signal: #d45b2c;
  --teal: #176d6b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--warm);
  line-height: 1.65;
}

a {
  color: #0b5c73;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--signal);
}

a:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 4px;
}

.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 253, 247, 0.96);
}

.site-nav,
.research-index,
.article-shell,
.site-footer-inner {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.site-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav-links a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav-links .nav-cta {
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.research-index {
  padding: 92px 0 110px;
}

.research-intro {
  max-width: 760px;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.research-intro h1,
.article-header h1 {
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 5.4rem);
  font-weight: 400;
}

.research-intro > p:last-child {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.research-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.research-card-copy {
  padding: clamp(28px, 5vw, 58px);
}

.research-card time,
.article-byline {
  color: var(--muted);
  font-size: 0.84rem;
}

.research-card h2 {
  margin: 12px 0 20px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
}

.research-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.research-card p {
  color: var(--muted);
}

.read-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 800;
}

.research-card-stats {
  display: grid;
  align-content: center;
  gap: 1px;
  background: var(--rule);
}

.research-card-stats div {
  padding: 28px;
  background: #eaf0e9;
}

.research-card-stats strong,
.research-card-stats span {
  display: block;
}

.research-card-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1;
}

.research-card-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.83rem;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  gap: clamp(40px, 7vw, 90px);
  padding: 70px 0 110px;
}

.article-header {
  grid-column: 1 / -1;
  max-width: 980px;
}

.article-header h1 {
  max-width: 950px;
}

.article-deck {
  max-width: 820px;
  margin: 26px 0 18px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  line-height: 1.45;
}

.article-body {
  min-width: 0;
  font-size: 1.04rem;
}

.article-body h2 {
  margin: 68px 0 20px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 400;
}

.article-body h3 {
  margin: 34px 0 10px;
  font-size: 1.4rem;
}

.article-body p,
.article-body li {
  color: #283b43;
}

.article-body blockquote {
  margin: 32px 0;
  padding: 18px 26px;
  border-left: 4px solid var(--signal);
  background: #fff8e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.article-figure {
  margin: 42px 0;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.table-scroll {
  margin: 28px 0;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 0.91rem;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

th {
  background: #e6eee9;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

th:nth-child(n + 2),
td:nth-child(n + 2) {
  text-align: right;
}

.methodology {
  margin-top: 70px;
  padding: 28px;
  border: 1px solid var(--rule);
  background: #eaf0e9;
  font-size: 0.9rem;
}

.methodology h2 {
  margin-top: 0;
  font-size: 1.65rem;
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 26px;
  padding: 24px;
  border-top: 4px solid var(--teal);
  background: var(--paper);
}

.article-aside h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.article-aside p {
  color: var(--muted);
  font-size: 0.9rem;
}

.article-aside a {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.source-list {
  padding-left: 20px;
}

.site-footer {
  padding: 38px 0;
  color: #d7dfdc;
  background: var(--ink);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 800px) {
  .research-card,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-header {
    grid-column: 1;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-nav,
  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }

  .site-nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .site-nav-links a {
    font-size: 0.78rem;
  }

  .research-index,
  .article-shell {
    padding-top: 50px;
  }

  .article-body {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
