/* Article-only styles. Use the site's existing palette and typography. */
.page-research .page-hero { padding-block: 0; }
.page-research .page-hero-inner { padding-block: calc(var(--header-height) + 2.25rem) 3.75rem; }
.page-research .page-hero-copy { max-width: 62rem; }
.page-research .page-hero h1 { max-width: 22ch; font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.75rem); line-height: 1.08; }
.page-research .page-hero-intro { max-width: 54ch; margin-top: 1.5rem; font-size: clamp(1rem, .94rem + .4vw, 1.2rem); }
.page-research .page-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.4rem; margin-top: 1.7rem; font-size: .875rem; }
.research-author { display: inline-flex; align-items: center; gap: .65rem; }
.research-author img { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.research-author a { text-decoration: underline; text-underline-offset: 4px; }
.research-author a:hover { color: var(--white); }
.research-author a:active { color: var(--sky); }
.research-layout { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 78rem; margin-inline: auto; padding: clamp(2.5rem, 5vw, 4.5rem) var(--space-gutter) clamp(4rem, 7vw, 7rem); }
.research-article { min-width: 0; width: 100%; max-width: 45rem; margin-inline: auto; color: var(--text-muted); font-size: 1.0625rem; line-height: 1.8; }
.research-article p { margin: 0 0 1.3rem; }
.research-article > p:first-child { color: var(--navy); font-size: clamp(1.15rem, 1.07rem + .4vw, 1.35rem); line-height: 1.65; }
.research-article h2 { margin: 3.3rem 0 1.25rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--navy); font-size: clamp(1.65rem, 1.3rem + 1.2vw, 2.15rem); line-height: 1.2; text-wrap: balance; scroll-margin-top: calc(var(--header-height) + 1.5rem); }
.research-article > :last-child { margin-bottom: 0; }
.research-nav { display: none; }
.research-figure { margin: 2rem 0; }
.research-chart { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
.research-chart .research-figure-label { margin: 0 0 .5rem; font-size: .7rem; line-height: 1.5; font-family: var(--font-display); font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--blue); }
.research-chart .research-figure-title { margin: 0 0 .4rem; color: var(--navy); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.research-chart .research-figure-subtitle { margin: 0 0 1.7rem; color: var(--text-muted); font-size: .8125rem; line-height: 1.55; }
.research-bar-row + .research-bar-row { margin-top: 1.15rem; }
.research-bar-label { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; margin-bottom: .4rem; font-size: .9375rem; line-height: 1.45; }
.research-bar-name { color: var(--navy); font-weight: 600; }
.research-bar-value { flex: none; font-variant-numeric: tabular-nums; color: var(--text-muted); font-size: .875rem; }
.research-bar-value strong { font-weight: 600; color: var(--navy); }
.research-bar-track { height: .65rem; background: #edf0f2; border-left: 1px solid var(--slate); }
.research-bar-fill { height: 100%; background: var(--slate); }
.research-bar-row.is-highlight .research-bar-fill { background: var(--blue); }
.research-axis { display: flex; justify-content: space-between; margin-top: .75rem; font-size: .6875rem; font-variant-numeric: tabular-nums; color: var(--text-muted); }
.research-figure figcaption { margin-top: 1rem; font-size: .875rem; line-height: 1.65; color: var(--text-muted); }
.research-data { margin: 1rem 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.research-data summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3rem; padding: .8rem 0; color: var(--blue); font-size: .875rem; font-weight: 600; }
.research-data summary::after { content: '+'; font-size: 1.25rem; line-height: 1; }
.research-data[open] summary::after { content: '−'; }
.research-data summary:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 4px; }
.research-data summary:active { color: var(--navy); }
.research-data summary:focus-visible { outline-offset: 4px; }
.research-table-wrap { overflow-x: auto; padding-block: .5rem 1rem; }
.research-data table { width: 100%; border-collapse: collapse; font-size: .8125rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.research-data caption { text-align: left; margin-bottom: .6rem; color: var(--text-muted); }
.research-data th, .research-data td { padding: .65rem .45rem; text-align: right; border-bottom: 1px solid var(--line); }
.research-data th:first-child { text-align: left; }
.research-data th { font-weight: 600; color: var(--navy); }
.research-data tr:last-child > * { border-bottom: 0; }
.research-actions { list-style: none; counter-reset: research-step; margin: 1.5rem 0 2rem; padding: 0; }
.research-actions li { position: relative; counter-increment: research-step; margin: 0; padding: 1.4rem 0 1.4rem 2.6rem; border-bottom: 1px solid var(--line); }
.research-actions li:first-child { border-top: 1px solid var(--line); }
.research-actions li::before { content: '0' counter(research-step); position: absolute; top: 1.55rem; left: 0; color: var(--blue); font-family: var(--font-display); font-size: .8125rem; font-weight: 700; }
.research-actions strong { display: block; margin-bottom: .35rem; color: var(--navy); font-weight: 600; line-height: 1.5; }
.research-actions li p { margin: 0; }
@media (min-width: 1050px) {
  .research-layout { grid-template-columns: 12rem minmax(0, 45rem); justify-content: space-between; gap: 4rem; }
  .research-article { margin: 0; font-size: 1.125rem; }
  .research-nav { display: block; align-self: start; position: sticky; top: calc(var(--header-height) + 2rem); }
  .research-nav p { margin-bottom: .85rem; color: var(--text-muted); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
  .research-nav ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
  .research-nav li + li { margin-top: .15rem; }
  .research-nav a { display: block; padding: .65rem 0 .65rem 1rem; color: var(--text-muted); font-size: .875rem; line-height: 1.5; }
  .research-nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
  .research-nav a:active { color: var(--navy); }
}
@media (prefers-reduced-motion: reduce) { .page-research { scroll-behavior: auto; } }
