@font-face {
  font-family: "Manrope Local";
  src: url("/assets/fonts/manrope-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0d1014;
  --surface: #15191f;
  --surface-strong: #1b2027;
  --text: #f1f3f6;
  --muted: #a9b0b9;
  --faint: #7f8893;
  --line: rgba(241, 243, 246, 0.14);
  --line-strong: rgba(241, 243, 246, 0.26);
  --accent: #c73c49;
  --accent-strong: #dd5260;
  --accent-soft: rgba(199, 60, 73, 0.14);
  --shadow: rgba(2, 5, 9, 0.35);
  --radius: 18px;
  --content: 1240px;
  --reading: 760px;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f1f2f4;
    --surface: #f9fafb;
    --surface-strong: #e7e9ed;
    --text: #15181d;
    --muted: #555e69;
    --faint: #626b76;
    --line: rgba(21, 24, 29, 0.14);
    --line-strong: rgba(21, 24, 29, 0.25);
    --accent: #b92f3c;
    --accent-strong: #9c2430;
    --accent-soft: rgba(185, 47, 60, 0.1);
    --shadow: rgba(34, 40, 49, 0.12);
  }
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope Local", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 8%, var(--accent-soft), transparent 27rem),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 20%, transparent), transparent 28rem);
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.24em; }
a:hover { color: var(--accent-strong); }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 78%, transparent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(var(--content), calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 790;
  letter-spacing: 0.12em;
  line-height: 1;
}

.wordmark-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 10px;
  color: var(--text);
  font-size: 11px;
  letter-spacing: -0.03em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.primary-nav a {
  position: relative;
  padding: 24px 0 22px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 16px;
  height: 2px;
  background: var(--accent);
  transition: right 180ms ease;
}

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

.external-mark { margin-left: 2px; font-size: 0.84em; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

main { min-height: 62dvh; }

.hero {
  height: min(860px, calc(100dvh - 72px));
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.96fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 138px) clamp(36px, 6vw, 96px) clamp(64px, 8vw, 112px) max(32px, calc((100vw - var(--content)) / 2));
}

.kicker {
  margin: 0 0 26px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(64px, 8.6vw, 126px);
  line-height: 0.9;
  letter-spacing: -0.066em;
  font-weight: 720;
}

.hero-intro {
  max-width: 640px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.5;
}

.hero-note {
  max-width: 600px;
  margin: 22px 0 0;
  color: var(--faint);
  font-size: 14px;
}

.hero-portrait {
  height: 100%;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: var(--surface-strong);
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 26%, transparent), transparent 26%);
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 30%;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.stat {
  min-height: 150px;
  padding: 28px clamp(18px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.stat span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.section {
  padding: clamp(78px, 10vw, 144px) 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 76px);
}

.section-heading h2,
.page-title,
.article-title {
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 700;
  text-wrap: balance;
}

.section-heading p,
.page-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 22px);
}

.profile-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(48px, 8vw, 108px);
  align-items: center;
}

.profile-copy h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.profile-copy p {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--text);
  font-weight: 720;
  text-decoration: none;
}
.text-link::after { content: "→"; color: var(--accent); }

.editorial-photo {
  margin: 0;
}
.editorial-photo img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: 0 30px 70px var(--shadow);
}
.editorial-photo figcaption,
.media-credit {
  margin-top: 12px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.45;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(34px, 5vw, 72px);
}

.news-feature,
.news-row,
.news-card { text-decoration: none; }

.news-feature figure,
.news-card figure,
.news-row figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.news-feature img,
.news-card img,
.news-row img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.news-feature figure { aspect-ratio: 16 / 10; }
.news-feature:hover img,
.news-card:hover img,
.news-row:hover img { transform: scale(1.018); }

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.news-meta span + span::before {
  content: "/";
  margin-right: 16px;
  color: var(--line-strong);
}

.news-feature h3,
.news-card h2,
.news-row h3 {
  margin: 13px 0 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.news-feature p,
.news-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.news-stack {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.news-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.news-row figure { aspect-ratio: 4 / 3; }
.news-row .news-meta { margin-top: 0; }
.news-row h3 { font-size: clamp(20px, 2vw, 28px); }

.page-hero {
  padding: clamp(72px, 10vw, 138px) 0 clamp(58px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}
.page-hero .shell { max-width: var(--content); }
.page-title { max-width: 980px; }
.page-lead { max-width: 790px; }
.page-context {
  margin-top: 32px;
  color: var(--faint);
  font-size: 13px;
}

.prose-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.prose-aside {
  position: sticky;
  top: 112px;
  padding-top: 12px;
}
.prose-aside p { margin: 0; color: var(--muted); }
.prose-aside strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
}

.prose {
  max-width: var(--reading);
  font-size: 18px;
}
.prose h2 {
  margin: 2.4em 0 0.7em;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 2em 0 0.65em;
  font-size: 23px;
  line-height: 1.25;
}
.prose p { margin: 0 0 1.35em; color: var(--muted); }
.prose strong { color: var(--text); }
.prose a { color: var(--text); }
.prose blockquote {
  margin: 2.4em 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.4;
}

.timeline {
  border-top: 1px solid var(--line-strong);
}
.timeline-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-year {
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 780;
}
.timeline-item h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
}
.timeline-item p { margin: 10px 0 0; color: var(--muted); }

.results-table-wrap {
  margin-top: 34px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.results-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--surface);
}
.results-table th,
.results-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.results-table tr:last-child td { border-bottom: 0; }
.results-table th {
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.results-table td { color: var(--muted); }
.results-table td:first-child,
.results-table td:nth-last-child(-n+2) { color: var(--text); font-weight: 670; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 64px);
}
.news-card figure { aspect-ratio: 16 / 9; }
.news-card h2 { font-size: clamp(28px, 3vw, 42px); }

.article-header {
  max-width: 1000px;
  padding: clamp(72px, 9vw, 126px) 0 50px;
}
.article-title { max-width: 960px; }
.article-deck {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 1.8vw, 24px);
}
.article-hero {
  margin: 0 auto;
  width: min(var(--content), calc(100% - 64px));
}
.article-hero img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-main {
  width: min(var(--reading), calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 100px) 0;
}
.article-main .prose { max-width: none; }
.article-highlights {
  margin: 34px 0;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.article-highlights strong { color: var(--text); }
.article-highlights ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.article-highlights li + li { margin-top: 8px; }
.sources {
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.sources h2 {
  margin: 0 0 16px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.sources ul { margin: 0; padding-left: 20px; color: var(--muted); }
.sources li + li { margin-top: 8px; }

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 62px);
}
.media-grid figure { margin: 0; }
.media-grid figure:first-child { grid-row: span 2; }
.media-grid img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.media-grid figure:first-child img { aspect-ratio: 3 / 4; }

.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  text-decoration: none;
}
.link-list span { color: var(--muted); }

.site-footer {
  padding: 58px 0 34px;
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.4fr) minmax(180px, 0.4fr);
  gap: 48px;
}
.footer-intro { max-width: 470px; color: var(--muted); }
.footer-heading {
  margin: 0 0 14px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

.error-page {
  min-height: 66dvh;
  display: grid;
  place-items: center;
  padding: 80px 0;
  text-align: center;
}
.error-code {
  color: var(--accent);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.18em;
}
.error-page h1 {
  margin: 18px 0 0;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: -0.055em;
}
.error-page p { max-width: 520px; margin: 20px auto 0; color: var(--muted); }

@media (max-width: 980px) {
  .shell { width: min(var(--content), calc(100% - 40px)); }
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: 73px 0 auto;
    display: none;
    padding: 22px 20px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 24px 50px var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 0; font-size: 17px; }
  .primary-nav a::after { display: none; }
  .hero {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    min-height: 0;
    padding: 62px 32px 54px;
  }
  .hero-portrait { height: min(50dvh, 520px); min-height: 340px; }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .profile-split,
  .news-layout,
  .prose-grid,
  .media-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .profile-split { gap: 48px; }
  .news-stack { margin-top: 10px; }
  .prose-aside { position: static; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
  .media-grid figure:first-child { grid-row: auto; }
  .media-grid figure:first-child img { aspect-ratio: 16 / 10; object-position: 50% 26%; }
}

@media (max-width: 680px) {
  .shell,
  .article-hero,
  .article-main { width: calc(100% - 40px); }
  .nav-wrap { min-height: 68px; }
  .primary-nav { top: 69px; }
  .hero-copy { min-height: 0; padding: 54px 20px 48px; }
  .hero h1 { font-size: clamp(58px, 20vw, 86px); }
  .hero-intro { margin-top: 24px; font-size: 19px; }
  .hero-portrait { height: 360px; min-height: 0; }
  .section { padding: 76px 0; }
  .stats-band { grid-template-columns: 1fr; }
  .stat,
  .stat:nth-child(2) { min-height: 112px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .news-grid { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .article-header { padding-top: 70px; }
  .article-title { font-size: clamp(42px, 13vw, 64px); }
  .article-hero { width: 100%; }
  .article-hero img { border-radius: 0; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 370px) {
  .shell,
  .article-main { width: calc(100% - 32px); }
  .wordmark { letter-spacing: 0.08em; }
  .hero-copy { padding: 44px 16px 38px; }
  .hero h1 { font-size: 56px; }
  .hero-portrait { height: 260px; }
  .news-row { grid-template-columns: 1fr; }
  .news-row figure { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header, .site-footer, .nav-toggle { display: none !important; }
  body { background: #f1f2f4; color: #15181d; }
  .article-main, .shell { width: 100%; }
  a { color: inherit; }
}
