:root {
  --max: 960px;
  --text: #17212a;
  --muted: #62696d;
  --link: #496575;
  --line: #d9dcdd;
  --cream: #f3f1eb;
  --pad: 32px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.72;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px var(--pad) 72px;
}

.page-header {
  position: relative;
  padding: 36px 156px 38px 38px;
  border-radius: 16px;
  background: var(--cream);
}

.lang-toggle {
  position: absolute;
  top: 28px;
  right: 28px;
  display: inline-flex;
  gap: 8px;
  font-size: 0.95rem;
}

.lang-toggle a {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fafaf8;
  color: #111;
  text-decoration: none;
}

.lang-toggle a.is-active {
  background: #ecebe6;
  font-weight: 600;
}

a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: #304c5b; }

.eyebrow {
  margin: 28px 0 8px;
  color: #555e63;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 0 0 22px;
  font-size: clamp(38px, 5.3vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h2 {
  margin: 60px 0 18px;
  font-size: clamp(29px, 4vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

p { max-width: 76ch; }

.lead {
  max-width: 780px;
  margin: 0;
  color: #2f3b44;
  font-size: 21px;
  line-height: 1.58;
}

.story-intro {
  margin: 30px 0 0;
  padding: 18px 22px;
  border-left: 3px solid #7d878c;
  border-radius: 0 8px 8px 0;
  background: #fff;
  font-size: 18px;
}

.story-section {
  margin-top: 54px;
  padding: 30px 34px 34px;
  border-radius: 12px;
  background: #fff;
}

.story-section h2 { margin: 0 0 18px; }
.story-section > p:last-child { margin-bottom: 0; }

.story-figure {
  width: min(100%, 760px);
  margin: 38px auto 48px;
}

.map-visual,
.map-visual img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  margin: 0;
  padding: 13px 18px 15px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.key-idea {
  max-width: 760px;
  margin: 30px 0;
  padding: 19px 22px;
  border-radius: 9px;
  background: #f3f3f0;
  font-size: 17px;
}

.recognition-note {
  width: fit-content;
  margin: 28px 0 0;
  padding: 12px 17px;
  border-radius: 8px;
  background: #f5f4f0;
  font-size: 15px;
}

.citation {
  color: #4a6574;
  font-size: 0.82em;
  white-space: nowrap;
}

.citation a {
  color: inherit;
  text-decoration-style: solid;
  text-underline-offset: 2px;
}

.program-map-figure {
  width: min(1320px, calc(100vw - (2 * var(--pad))));
  margin: 38px 0 48px 50%;
  transform: translateX(-50%);
}

.program-map-scroll {
  overflow-x: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-overflow-scrolling: touch;
}

.program-map-image {
  display: block;
  width: 100%;
  min-width: 920px;
  height: auto;
}

.program-map-caption {
  max-width: none;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field-note {
  max-width: 820px;
  margin: 30px 0 0;
  padding: 18px 20px;
  border-radius: 9px;
  background: #f3f4f3;
}

.field-note p { margin: 0; }
.field-note p + p { margin-top: 1em; }

.takeaways { margin: 62px 0 0; }
.takeaways h2 { margin-top: 0; }

.takeaways ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style-position: inside;
}

.takeaways li {
  min-height: 178px;
  padding: 23px 22px;
  border-radius: 10px;
  background: #f7f7f4;
}

.takeaways .citation {
  display: block;
  margin-top: 12px;
}

.research-table-section {
  margin-top: 66px;
}

.research-table-section h2 {
  margin-top: 0;
}

.table-intro {
  margin: 0 0 12px;
  color: #3f4b52;
}

.research-table-scroll {
  width: min(1380px, calc(100vw - (2 * var(--pad))));
  margin: 10px 0 16px 50%;
  transform: translateX(-50%);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.research-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: separate;
  border-spacing: 0 10px;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.48;
}

.research-table th {
  position: relative;
  padding: 15px 44px 15px 18px;
  background: #2f3b44;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  vertical-align: middle;
}

.research-table th:first-child { border-radius: 10px 0 0 10px; }

.research-table th:last-child {
  padding-right: 14px;
  border-radius: 0 10px 10px 0;
}

.header-arrow {
  position: absolute;
  right: 13px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: #c7d0d4;
  font-size: 20px;
  font-weight: 400;
}

.research-table td {
  padding: 20px 18px;
  background: #f5f5f2;
  vertical-align: top;
}

.research-table td:first-child { border-radius: 10px 0 0 10px; }
.research-table td:last-child { border-radius: 0 10px 10px 0; }
.research-table td + td { padding-left: 24px; }

.research-table td p {
  margin: 0 0 10px;
  line-height: inherit;
}

.research-table td p:last-child { margin-bottom: 0; }
.research-table tbody tr:nth-child(even) td { background: #faf9f6; }

.go-deeper {
  margin-top: 54px;
  padding: 26px 28px;
  border-radius: 10px;
  background: #f2f3f2;
}

.go-deeper h2 { margin-top: 0; }

.media-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.source-notes {
  margin-top: 30px;
  padding: 0 20px;
  border-radius: 9px;
  background: #f5f4f0;
  font-size: 14px;
}

.source-notes summary {
  padding: 15px 0;
  cursor: pointer;
  font-weight: 650;
}

.source-list {
  columns: 2 360px;
  column-gap: 40px;
  margin: 0 0 20px;
  padding: 0;
  font-size: 14.5px;
  line-height: 1.58;
}

.source-item {
  break-inside: avoid;
  margin: 0 0 24px;
  scroll-margin-top: 24px;
}

.source-title {
  display: grid;
  grid-template-columns: 2.35em minmax(0, 1fr);
  column-gap: 0.2em;
  margin-bottom: 5px;
  font-size: 15.5px;
  line-height: 1.35;
}

.source-number {
  color: #405c6b;
  font-weight: 700;
}

.source-authors,
.source-publication,
.source-distinction {
  display: block;
  margin-left: 2.55em;
}

.source-authors { color: #364148; }
.source-publication { color: var(--muted); }

.source-distinction {
  margin-top: 5px;
  color: #6b5148;
  font-style: italic;
}

.source-item:target {
  background: #fff8d6;
  outline: 3px solid #fff8d6;
}

.source-item a {
  color: inherit;
  text-decoration-style: solid;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (max-width: 700px) {
  :root { --pad: 18px; }
  main { padding-top: 34px; }
  .page-header { padding: 24px 20px 28px; }
  .lang-toggle { position: static; margin-bottom: 24px; }
  .lead { font-size: 19px; }
  .story-section { padding: 26px 20px 28px; }
  .takeaways ol { grid-template-columns: 1fr; }
  .takeaways li { min-height: 0; }
  .research-table-scroll { width: calc(100vw - (2 * var(--pad))); }
  .source-list { columns: 1; }
}
