@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

/* Academic Project Page Template adaptation. Visual reference: KidGym. */
:root {
  --ink: #1e293b;
  --body: #334155;
  --muted: #526175;
  --teal: #237f75;
  --teal-dark: #185d56;
  --brand-navy: #05245d;
  --brand-cyan: #006c69;
  --mint: #eef7f4;
  --line: #dce6e3;
  --blue: #799ebd;
  --paper: #fff;
  --radius: 16px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px
}

body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased
}

a {
  color: var(--teal)
}

a:hover {
  color: var(--teal-dark)
}

button,
select {
  font: inherit
}

button {
  cursor: pointer
}

button,
a,
select {
  touch-action: manipulation
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #258caa;
  outline-offset: 5px
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

p {
  margin: 0 0 1em
}

strong {
  color: inherit;
  font-weight: 700
}

section {
  scroll-margin-top: 0
}

.page-container {
  width: 100%;
  max-width: 1100px !important
}

.section {
  padding: 80px 28px
}

.tinted-section {
  background: #f5f8f7;
  border-block: 1px solid #e8eeeb
}

.section-heading {
  text-align: center;
  margin-bottom: 16px
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 13px
}

.title.is-3 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1.05px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 18px
}

.section-intro {
  text-align: center;
  font-size: 21px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 850px;
  margin: 0 auto 18px
}

.news-section .section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 0 auto 30px;
  background: var(--teal)
}

.news-list {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 24px;
  list-style: disc
}

.news-list time {
  white-space: nowrap
}

.accent {
  color: var(--teal)
}

.prose {
  font-size: 18px;
  line-height: 1.85;
  color: var(--muted)
}

.centered-prose {
  max-width: 870px;
  margin: 0 auto
}

.centered-text {
  text-align: center
}

.subtle {
  color: var(--muted);
  font-size: 17px
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px;
  background: white
}

.skip-link:focus {
  top: 12px
}

.publication-hero {
  background: radial-gradient(ellipse at 50% 37%, #fff 34%, #f0f7f3 100%);
  position: relative;
  overflow: hidden
}

.publication-hero .hero-body {
  padding: 63px 24px 43px;
  position: relative;
  z-index: 1
}

.project-name {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 14px auto 23px;
  max-width: 100%
}

.project-mark {
  display: block;
  width: clamp(92px, 12vw, 142px);
  height: auto;
  flex: 0 0 auto
}

.project-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(62px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .92;
  white-space: nowrap
}

.publication-title.title {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -1.25px;
  color: var(--ink);
  margin-bottom: 28px
}

.publication-authors {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: .35em;
  font-size: clamp(10px, 3vw, 20px);
  font-weight: 500;
  color: var(--teal)
}

.publication-authors > span {
  color: var(--teal);
  white-space: nowrap
}

.publication-authors sup {
  margin-left: 2px;
  font-size: .7em;
  line-height: 0;
  vertical-align: baseline;
  position: relative;
  top: -.5em
}

.publication-authors a,
.publication-authors a:visited,
.publication-authors a:hover,
.publication-authors a:focus {
  color: inherit
}

.publication-links {
  margin-top: 21px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap
}

.publication-links .button {
  height: 46px;
  font-size: 16px;
  font-weight: 600;
  padding: 0 20px;
  gap: 8px;
  box-shadow: none
}

.button.is-dark {
  background: #253c3f;
  border-color: #253c3f
}

.button.is-dark:hover {
  background: var(--teal);
  border-color: var(--teal)
}

.publication-links svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.8
}

.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.orbit {
  position: absolute;
  border: 1px solid #d9e9df;
  border-radius: 50%;
  width: 410px;
  height: 410px;
  top: 120px;
  opacity: .65
}

.orbit-one {
  left: -265px
}

.orbit-two {
  right: -280px;
  top: 0;
  width: 540px;
  height: 540px
}

.orbit-three {
  right: -220px;
  top: 60px;
  width: 420px;
  height: 420px
}

.orbit:after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: #c5ddd1;
  border: 4px solid #f4f8f5;
  box-shadow: 0 0 0 1px #d3e4da;
  border-radius: 50%;
  left: 52px;
  top: 55px
}

.zoom-hint {
  position: absolute;
  bottom: 13px;
  right: 13px;
  font-size: 14px;
  padding: 5px 10px;
  background: #fffef2eF;
  color: var(--muted);
  border: 1px solid #d5e3dc;
  border-radius: 5px;
  opacity: 0;
  transition: opacity .2s
}

.example-image-button:hover .zoom-hint,
.example-image-button:focus-visible .zoom-hint {
  opacity: 1
}

.method-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 38px
}

.method-principles article {
  position: relative;
  padding-left: 35px
}

.method-principles article>span {
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 14px;
  color: var(--muted)
}

.method-principles h3,
.findings h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px
}

.method-principles p,
.findings p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0
}

.role-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 27px 0
}

.role-tabs button {
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  background: #f1f5f3;
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 20px;
  transition: background .2s
}

.role-tabs button[aria-selected=true] {
  background: var(--teal);
  color: white
}

.role-tabs button:hover {
  border-color: #8bb6a0
}

.example-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 55px;
  align-items: center
}

.browser-frame {
  border: 1px solid #d8e3dd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px #263e3110;
  background: #fff
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f4f7f5;
  border-bottom: 1px solid #e1e8e3;
  padding: 11px 14px
}

.browser-chrome>span:not(.example-tag) {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ff5f57
}

.browser-chrome>span:nth-child(2) {
  background: #febc2e
}

.browser-chrome>span:nth-child(3) {
  background: #28c840
}

.browser-chrome .example-tag {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted)
}

.example-expand {
  display: grid;
  place-items: center;
  margin: -4px -4px -4px auto;
  width: 28px;
  height: 28px;
  padding: 4px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: zoom-in;
}

.example-expand:hover { background: #e4eeea; color: var(--teal-dark); }
.example-expand:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 2px; }
.example-expand svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.example-image-button {
  display: block;
  position: relative;
  background: #fff;
  border: 0;
  width: 100%;
  padding: 0
}

.example-image-button img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
  background: #fff
}

.example-image-button .zoom-hint {
  opacity: 1
}

.example-description h3 {
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -.7px;
  font-weight: 700;
  margin-bottom: 18px
}

.example-description>p:not(.eyebrow):not(.example-note) {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted)
}

.role-focus {
  border-left: 2px solid #85b5a1;
  padding-left: 16px;
  margin: 26px 0
}

.role-focus>span {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 700
}

.role-focus p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin: 5px 0 0
}

.example-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted)
}

.example-source-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 650;
  color: var(--teal-dark);
}

.benchmark-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
  margin: 40px 0
}

.big-number {
  font-size: 65px;
  line-height: 1.1;
  letter-spacing: -3px;
  color: var(--teal);
  font-weight: 700;
  margin: 0 0 20px
}

.big-number span {
  display: block;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .2px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 8px
}

.benchmark-story p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8
}

table {
  width: 100%;
  font-size: 16px;
  text-align: left;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums
}

table caption {
  text-align: left;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid #e0e9e3;
  vertical-align: middle
}

thead th {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600
}

tbody th {
  font-weight: 600;
  color: var(--muted)
}

td {
  color: var(--muted)
}

.dataset-table td {
  text-align: right
}

.dataset-table thead th:not(:first-child) {
  text-align: right
}

.dataset-table caption {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 15px
}

.dataset-table td:last-child {
  font-weight: 700;
  color: var(--teal)
}

.table-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 16px 0 0
}

.protocol {
  border-top: 1px solid #dce7df;
  padding-top: 32px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px
}

.protocol .eyebrow {
  font-size: 12px
}

.protocol h3 {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.5px
}

.protocol-explanation p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 20px 0 0
}

.search-ranks {
  display: flex;
  gap: 9px;
  padding-bottom: 17px
}

.search-ranks>span {
  position: relative;
  background: #e6ede8;
  border-radius: 6px;
  text-align: center;
  width: 42px;
  padding: 7px 0;
  font-size: 16px;
  color: var(--muted)
}

.search-ranks>span.target-rank {
  background: var(--teal);
  color: #fff
}

.target-rank small {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
  white-space: nowrap
}

.result-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  margin: 37px 0 33px
}

.result-highlights>div {
  border-right: 1px solid var(--line)
}

.result-highlights>div:last-child {
  border-right: 0
}

.result-highlights strong {
  display: block;
  font-size: 42px;
  letter-spacing: -1.3px;
  color: var(--teal);
  font-weight: 700;
  line-height: 1.35
}

.result-highlights strong small {
  font-size: 20px;
  letter-spacing: 0
}

.result-highlights span {
  display: block;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 7px
}

.results-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px 30px;
  background: #fff
}

.result-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid #edf1ed
}

.segmented {
  display: flex;
  gap: 3px;
  background: #f0f5f1;
  border-radius: 7px;
  padding: 4px
}

.segmented button {
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--muted)
}

.segmented button[aria-pressed=true] {
  background: white;
  color: var(--muted);
  box-shadow: 0 1px 5px #1e3c2710
}

.segmented button small {
  font-size: 13px;
  margin-left: 5px;
  font-weight: 500;
  opacity: 1
}

.result-controls label {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 14px;
  color: var(--muted)
}

.result-controls select {
  background: #fff;
  border: 1px solid #d9e3db;
  border-radius: 6px;
  padding: 8px 26px 8px 10px;
  font-size: 14px;
  color: var(--muted);
  max-width: 100%
}

.chart-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 24px
}

.chart-heading h3 {
  font-size: 17px;
  font-weight: 600
}

.chart-heading>span {
  font-size: 13px;
  color: var(--muted)
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 15px 0 24px
}

.chart-legend span {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px
}

.chart-legend span:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #cbd5d6
}

.chart-legend .legend-cseo:before {
  background: #a6bcce
}

.chart-legend .legend-multi:before {
  background: #7aa9a0
}

.chart-legend .legend-trace:before {
  background: #237f75
}

.results-chart {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px
}

.model-chart h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 15px
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  margin: 10px 0
}

.bar-track {
  height: 17px;
  background: repeating-linear-gradient(to right, #f6f8f6 0, #f6f8f6 calc(25% - 1px), #eaf0e9 calc(25% - 1px), #eaf0e9 25%);
  border-radius: 3px
}

.bar-fill {
  height: 100%;
  border-radius: 2px;
  width: var(--value);
  background: #cbd5d6;
  transition: width .4s
}

.bar-row:nth-child(3) .bar-fill {
  background: #a6bcce
}

.bar-row:nth-child(4) .bar-fill {
  background: #7aa9a0
}

.bar-row:nth-child(5) .bar-fill {
  background: var(--teal)
}

.bar-value {
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums
}

.bar-row:nth-child(5) .bar-value {
  font-weight: 700;
  color: var(--teal)
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-right: 52px
}

.metric-description {
  font-size: 14px;
  color: var(--muted);
  margin: 24px 0 0
}

.data-details {
  margin-top: 18px;
  border-top: 1px solid #edf2ee;
  padding-top: 15px
}

.data-details summary {
  font-size: 14px;
  color: var(--muted);
  cursor: pointer
}

.data-details summary span {
  margin-left: 8px
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  margin-top: 16px
}

.table-scroll table {
  min-width: 580px
}

.data-details th,
.data-details td {
  font-size: 14px
}

.emphasis-row {
  background: #eaf5ee
}

.emphasis-row th,
.emphasis-row td {
  color: var(--teal);
  font-weight: 700
}

.findings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 28px 0 54px
}

.findings h3:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6a9f87;
  margin: 0 9px 3px 0
}

.findings h3 {
  font-size: 17px
}

.findings p {
  font-size: 15px
}

.ablation-heading h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 8px
}

.ablation-heading p {
  font-size: 16px;
  color: var(--muted)
}

.ablation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 25px
}

.ablation-grid article {
  border-top: 2px solid #aacbbb;
  padding-top: 20px
}

.ablation-grid .eyebrow {
  font-size: 12px
}

.ablation-grid h4 {
  font-size: 20px;
  font-weight: 600
}

.ablation-grid table {
  font-size: 14px
}

.ablation-grid table th,
.ablation-grid table td {
  padding: 11px 8px
}

.ablation-grid table thead th {
  font-size: 12px
}

.research-note {
  margin-top: 40px;
  padding: 18px 22px;
  background: #f3f6f3;
  border-left: 3px solid #b5c9b9;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted)
}

.citation-section {
  background: #f4f7f5;
  border-top: 1px solid #e2e9e4;
  padding-block: 60px
}

.bibtex-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 20px
}

.bibtex-header .eyebrow {
  font-size: 13px
}

.bibtex-header .title {
  font-size: 32px;
  margin-bottom: 0
}

.copy-bibtex-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 14px;
  border: 1px solid #cbded1;
  border-radius: 6px;
  background: white;
  padding: 10px 15px
}

.copy-bibtex-btn:hover {
  background: #e7f2eb
}

.citation-section pre {
  background: white;
  border: 1px solid #dce6df;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  padding: 25px 28px;
  white-space: pre-wrap;
  overflow-wrap: anywhere
}

code {
  color: inherit;
  background: transparent
}

#copy-status {
  min-height: 20px;
  font-size: 14px;
  color: var(--teal);
  margin: 9px 0 0
}

.footer {
  padding: 35px 25px;
  background: #fff;
  text-align: center
}

.footer>.container>.credits {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 1100px;
  margin: 0 auto
}

.footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px
}

dialog {
  border: 0;
  padding: 0;
  background: #fff;
  width: min(1200px, 94vw);
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 25px 100px #0004;
  margin: auto;
  color: var(--ink)
}

dialog::backdrop {
  background: #132c24b8;
  backdrop-filter: blur(4px)
}

.dialog-toolbar {
  position: sticky;
  top: 0;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  z-index: 1
}

.dialog-toolbar p {
  font-size: 15px;
  margin: 0
}

.dialog-toolbar button {
  border: 1px solid #dce7de;
  border-radius: 50%;
  min-width: 34px;
  height: 34px;
  background: #fff;
  color: var(--muted)
}

.dialog-toolbar+img {
  display: block;
  width: 100%;
  height: auto
}

@media(min-width:1500px) {
  .publication-hero .hero-body {
    padding-block: 80px 60px
  }
}

@media(max-width:1000px) {
  .publication-title.title {
    font-size: 38px
  }

  .example-layout {
    gap: 30px
  }

  .method-principles {
    gap: 20px
  }

  .benchmark-layout {
    gap: 35px
  }

  .results-chart {
    gap: 20px
  }
}

@media(max-width:760px) {
  .section {
    padding: 55px 22px
  }

  .publication-hero .hero-body {
    padding: 48px 20px 34px
  }

  .project-name {
    gap: 10px;
    margin: 20px 0 22px
  }

  .project-mark {
    width: clamp(82px, 18vw, 118px)
  }

  .project-wordmark {
    font-size: clamp(55px, 11.5vw, 78px)
  }

  .publication-title.title {
    font-size: 32px;
    letter-spacing: -.8px;
    line-height: 1.3;
    margin-bottom: 24px
  }

  .desktop-break {
    display: none
  }

  .publication-links {
    gap: 8px
  }

  .publication-links .button {
    padding-inline: 15px;
    height: 44px;
    font-size: 15px
  }

  .title.is-3 {
    font-size: 32px;
    letter-spacing: -.6px
  }

  .section-intro {
    font-size: 18px
  }

  .prose {
    font-size: 18px
  }

  .eyebrow {
    font-size: 13px;
    letter-spacing: 1.5px
  }

  .zoom-hint {
    font-size: 12px;
    opacity: 1;
    padding: 4px 6px;
    bottom: 6px;
    right: 6px
  }

  .method-principles {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 27px
  }

  .method-principles p {
    font-size: 16px
  }

  .role-tabs {
    gap: 6px;
    margin-block: 23px
  }

  .role-tabs button {
    font-size: 14px;
    padding: 7px 13px
  }

  .example-layout {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .browser-frame {
    max-width: 540px;
    margin: auto;
    width: 100%
  }

  .example-description h3 {
    font-size: 28px;
    margin-bottom: 12px
  }

  .example-description>p:not(.eyebrow):not(.example-note) {
    font-size: 17px
  }

  .role-focus {
    margin-block: 18px
  }

  .role-focus p {
    font-size: 16px
  }

  .example-note {
    font-size: 14px
  }

  .benchmark-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 30px
  }

  .big-number {
    font-size: 55px
  }

  .benchmark-story p {
    font-size: 17px
  }

  .protocol {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .protocol h3 br {
    display: none
  }

  .protocol h3 {
    font-size: 24px
  }

  .search-ranks {
    gap: 6px
  }

  .search-ranks>span {
    flex: 1;
    font-size: 14px
  }

  .result-highlights {
    gap: 10px
  }

  .result-highlights strong {
    font-size: 32px;
    letter-spacing: -1px
  }

  .result-highlights strong small {
    font-size: 15px
  }

  .result-highlights span {
    font-size: 13px
  }

  .results-panel {
    padding: 20px 16px
  }

  .result-controls {
    flex-wrap: wrap;
    gap: 17px;
    padding-bottom: 19px
  }

  .segmented {
    width: 100%
  }

  .segmented button {
    flex: 1;
    padding: 8px 9px;
    font-size: 14px
  }

  .segmented button small {
    font-size: 12px
  }

  .result-controls label {
    width: 100%;
    justify-content: space-between
  }

  .chart-heading {
    display: block
  }

  .chart-heading>span {
    display: block;
    margin-top: 5px
  }

  .chart-legend {
    gap: 9px 14px
  }

  .chart-legend span {
    font-size: 12px
  }

  .results-chart {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .model-chart h4 {
    margin-bottom: 9px
  }

  .bar-row {
    margin-block: 7px
  }

  .bar-track {
    height: 16px
  }

  .findings {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-block: 26px 40px
  }

  .findings p {
    font-size: 16px
  }

  .ablation-heading h3 {
    font-size: 25px
  }

  .ablation-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .ablation-grid .table-scroll table {
    min-width: 390px
  }

  .ablation-grid table {
    font-size: 14px
  }

  .research-note {
    padding: 15px;
    font-size: 14px
  }

  .citation-section {
    padding-block: 40px
  }

  .citation-section pre {
    font-size: 14px;
    padding: 18px
  }

  .copy-bibtex-btn {
    padding: 8px 11px;
    font-size: 14px;
    gap: 7px
  }

  .bibtex-header .title {
    font-size: 28px
  }

  .dialog-toolbar p {
    font-size: 14px
  }

  .orbit {
    opacity: .3
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important
  }
}

/* GEO / EcoGEO comparison */
.publication-branding {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 25px 44px 0
}

.publication-branding a {
  display: flex;
  align-items: center;
  flex-shrink: 0
}

.publication-branding img {
  display: block;
  object-fit: contain
}

.conference-brand img {
  width: 290px;
  height: 140px
}

.institution-brands {
  display: flex;
  align-items: center;
  gap: 26px
}

.university-logo {
  width: 320px;
  height: 90px
}

.publication-hero .hero-body {
  padding-top: 4px
}

@media(min-width:901px) {
  .publication-hero .hero-body {
    margin-top: -100px
  }
}

.method-examples {
  margin-top: 40px;
  padding-top: 12px;
  border-top: 1px solid var(--line)
}

@media(min-width:1500px) {
  .publication-hero .hero-body {
    padding-top: 12px
  }
}

@media(max-width:900px) {
  .publication-branding {
    padding: 20px 22px 0;
    gap: 14px
  }

  .conference-brand img {
    width: 130px;
    height: 59px
  }

  .institution-brands {
    gap: 18px
  }

  .university-logo {
    width: 150px;
    height: 40px
  }

}

@media(max-width:760px) {
  .institution-brands {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px
  }

  .publication-hero .hero-body {
    padding-top: 8px
  }

  .method-examples {
    margin-top: 30px;
    padding-top: 5px
  }
}

@media(max-width:400px) {
  .publication-branding {
    padding-inline: 16px;
    gap: 10px
  }

  .conference-brand img {
    width: 110px;
    height: 50px
  }

  .university-logo {
    width: 128px;
    height: 34px
  }

}

.ecogeo-wordmark {
  white-space: nowrap
}

.wordmark-eco {
  color: var(--brand-cyan)
}

.wordmark-geo {
  color: var(--brand-navy)
}

.geo-foundation {
  max-width: 920px;
  color: var(--body);
  font-size: 19px;
  text-align: left;
  line-height: 1.85;
  margin-bottom: 20px
}

.geo-foundation strong {
  color: var(--brand-navy)
}

.comparison-lead {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 36px
}

.comparison-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce5eb;
  border-radius: var(--radius);
  background: #fff
}

.comparison-heading {
  padding: 24px 30px 6px;
  text-align: center
}

.comparison-heading .eyebrow {
  font-size: 14px;
  letter-spacing: 1.6px;
  margin-bottom: 8px
}

.comparison-geo .eyebrow {
  color: var(--muted)
}

.comparison-heading h3 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.9px;
  line-height: 1.2;
  margin-bottom: 0
}

.comparison-geo h3 {
  color: var(--brand-navy)
}

.comparison-ecogeo h3 {
  color: var(--brand-cyan)
}

/* Match the artwork: bottom corners are narrower than the top corners. */
.comparison-illustration {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  clip-path: inset(1.9% 8.8% 3.4% round 7% 7% 5.6% 5.6% / 7% 7% 7% 7%)
}

.comparison-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 30px;
  text-align: justify;
  text-align-last: left
}

.comparison-copy h4 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.3px;
  margin-bottom: 10px
}

.comparison-copy>p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 0
}

@media(max-width:760px) {
  .geo-foundation {
    font-size: 17px;
    line-height: 1.8;
    text-align: left
  }

  .comparison-lead {
    font-size: 17px
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 27px
  }

  .comparison-heading {
    padding: 22px 23px 6px
  }

  .comparison-heading h3 {
    font-size: 32px
  }

  .comparison-copy {
    padding: 22px 23px
  }

  .comparison-copy>p {
    font-size: 17px
  }
}

/* Readable text hierarchy, following KidGym's Inter typography. */
.prose,
.comparison-copy>p,
.method-principles p,
.findings p,
.example-description>p:not(.eyebrow):not(.example-note),
.role-focus p,
.benchmark-story p,
.protocol-explanation p {
  color: var(--body);
  font-size: 18px;
  line-height: 1.8
}

.method-principles h3,
.findings h3 {
  font-size: 20px;
  line-height: 1.4
}

.role-tabs button,
.segmented button,
.copy-bibtex-btn {
  font-weight: 600
}

.chart-heading h3 {
  font-size: 18px
}

.model-chart h4 {
  font-size: 15px;
  line-height: 1.5
}

.bar-value {
  font-weight: 600
}

.bar-track {
  height: 20px
}

.table-scroll {
  min-width: 0
}

.ablation-grid table {
  min-width: 390px
}

.comparison-card,
.example-description,
.dataset-table-wrap,
.model-chart {
  min-width: 0
}

.browser-chrome {
  flex-wrap: wrap
}

.browser-chrome .example-tag {
  font-size: 11px;
  letter-spacing: .4px
}

.target-rank small {
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 700
}

.footer a {
  color: var(--teal-dark)
}

@media(max-width:1000px) {
  .results-chart {
    grid-template-columns: 1fr;
    gap: 26px
  }
}

@media(max-width:760px) {
  body {
    font-size: 17px
  }

  .prose,
  .comparison-copy>p,
  .method-principles p,
  .findings p,
  .example-description>p:not(.eyebrow):not(.example-note),
  .role-focus p,
  .benchmark-story p,
  .protocol-explanation p {
    font-size: 17px
  }

  .browser-chrome .example-tag {
    margin-left: 5px
  }

  .segmented button {
    padding-inline: 8px
  }

  .segmented button small {
    display: block;
    margin-left: 0
  }

  .result-controls select {
    min-width: 0;
    max-width: calc(100% - 65px)
  }

  .result-highlights {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .result-highlights>div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px
  }

  .result-highlights>div:last-child {
    border-bottom: 0;
    padding-bottom: 0
  }

  .result-highlights span {
    font-size: 15px
  }

  .bibtex-header {
    flex-wrap: wrap
  }
}
