:root {
  color-scheme: light;
  --page: #f6f7f3;
  --white: #fff;
  --ink: #171e1a;
  --muted: #505a52;
  --line: #dce1d9;
  --pine: #101e18;
  --moss: #254e37;
  --lime: #daf47c;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
figure, p, dl, dd, pre { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 650; line-height: 1.06; letter-spacing: -.04em; }
sup { line-height: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #5b9c55; outline-offset: 4px; }
section[id] { scroll-margin-top: 5rem; }

.container { width: min(100% - 5rem, 77rem); margin-inline: auto; }
.site-header { background: var(--page); }
.header-inner {
  min-height: 4.6rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  font-weight: 750;
  font-size: 1.2rem;
  letter-spacing: -.035em;
  width: fit-content;
}
.brand-icon {
  width: 1.88rem;
  height: auto;
  flex: none;
}
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { font-weight: 550; font-size: .92rem; color: var(--muted); }
nav a:hover, .footer-inner a:hover { color: var(--moss); text-decoration: underline; text-underline-offset: .26em; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.91rem;
  padding: .68rem 1.06rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  font-size: .9rem;
  font-weight: 680;
  line-height: 1.25;
  text-align: center;
  transition: background-color .18s, border-color .18s;
}
.button-nav { justify-self: end; min-height: 2.55rem; border-color: #c7d0c6; color: var(--ink); }
.button-nav span { font: 600 .7rem/1 var(--mono); color: var(--moss); }
.button-nav:hover, .button-copy:hover { background: #ebf0e8; }

.hero {
  isolation: isolate;
  position: relative;
  min-height: clamp(32rem, 43vw, 39.5rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #11221a;
  color: var(--white);
}
.hero-visual {
  position: absolute;
  inset: 0 0 0 21%;
  z-index: -2;
  background: url("assets/hero.webp") center 53% / cover no-repeat;
}
.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #11221a 5%, #11221a 24%, rgba(17,34,26,.95) 32%, rgba(17,34,26,.74) 48%, rgba(17,34,26,.13) 78%),
              linear-gradient(0deg, rgba(9,18,13,.68), transparent 31%);
}
.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  min-height: inherit;
  padding-block: 3.6rem 4.5rem;
}
.hero-copy { max-width: 36rem; }
.eyebrow {
  font: 650 .79rem/1.4 var(--mono);
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--moss);
}
.hero .eyebrow { color: var(--lime); display: flex; gap: .67rem; align-items: center; }
.accent-line { display: inline-block; width: 1.6rem; height: 1px; background: var(--lime); }
.hero h1 {
  margin: .65rem 0 .95rem -.045em;
  font-size: clamp(4.5rem, 10vw, 8.4rem);
  font-weight: 720;
  line-height: .94;
  letter-spacing: -.045em;
}
.hero-subtitle {
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  font-weight: 580;
  line-height: 1.2;
  letter-spacing: -.036em;
}
.hero-description {
  color: #d2ddd1;
  font-size: 1.02rem;
  max-width: 27.5rem;
  margin-top: 1.05rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .68rem; margin-top: 1.75rem; }
.button-accent { background: var(--lime); color: #152217; }
.button-accent:hover { background: #ecffa9; }
.button-ghost { background: #14231b75; border-color: #a0afa0; color: #f5f9f1; }
.button-ghost:hover { background: #304738; border-color: #eff6ee; }
.hero-credit {
  position: absolute;
  right: 0;
  bottom: 1.05rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font: 550 .73rem/1.4 var(--mono);
  color: #f1f6ea;
  padding: .4rem .55rem;
  background: #101e18bd;
  border-radius: .25rem;
}
.hero-credit > span:first-child { width: .55rem; height: .55rem; border: 1px solid var(--lime); }

.overview { background: #eef2eb; border-bottom: 1px solid var(--line); }
.overview-inner { min-height: 8.1rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.overview-authors p { font-size: .97rem; font-weight: 580; }
.overview-authors a { font-size: .85rem; color: var(--moss); text-decoration: underline; text-underline-offset: .24em; }
.overview-stats { display: flex; gap: 0; white-space: nowrap; }
.overview-stats > div { padding: 0 clamp(.9rem, 2.4vw, 2.1rem); border-left: 1px solid #cbd5c9; }
.overview-stats > div:last-child { padding-right: 0; }
.overview-stats dt, .navigation-study dt { font-size: 2.12rem; font-weight: 690; letter-spacing: -.065em; line-height: 1.1; }
.overview-stats dd, .navigation-study dd { color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: .28rem; }

.section { padding-block: clamp(3.8rem, 7vw, 6.6rem); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(13rem, .65fr);
  align-items: end;
  gap: 1.2rem 3rem;
  margin-bottom: 2rem;
}
.section-heading h2, .team-section h2 {
  margin-top: .49rem;
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  letter-spacing: -.046em;
}
.section-heading > p { color: var(--muted); max-width: 26rem; padding-bottom: .18rem; }

.gallery { min-width: 0; }
.gallery-feature {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr);
  background: #15251c;
  color: var(--white);
  border-radius: .52rem;
  overflow: hidden;
}
.gallery-image-wrap {
  background: #293b30;
  height: clamp(21rem, 38vw, 30rem);
}
.gallery-image-wrap img { height: 100%; width: 100%; object-fit: cover; object-position: center; }
.gallery-image-wrap img[data-scene="mountain"],
.scene-button[data-scene="mountain"] img { object-position: center 15%; }
.gallery-image-wrap img[data-scene="river"],
.scene-button[data-scene="river"] img { object-position: center 26%; }
.gallery-caption {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.4rem, 4vw, 3.2rem);
  gap: .74rem;
}
.gallery-caption .eyebrow { color: var(--lime); }
.gallery-caption h3 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.046em; }
.gallery-caption p:not(.eyebrow) { color: #d3ded2; }
.gallery-caption .scene-source { font-size: .8rem; }
.gallery-controls {
  display: grid;
  grid-template-columns: repeat(10, minmax(5.65rem, 1fr));
  gap: .5rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  padding: .75rem .15rem .48rem;
}
.scene-button {
  scroll-snap-align: start;
  display: grid;
  position: relative;
  padding: .24rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: .36rem;
  color: var(--muted);
  text-align: center;
  min-width: 0;
}
.scene-button img {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-radius: .19rem;
}
.scene-button span { font-size: .79rem; font-weight: 600; padding: .25rem .14rem .18rem; }
.scene-button[aria-pressed="true"] { color: #1f3c2b; border-color: #476f4b; background: #e4f0d8; }
.scene-button:hover { border-color: #476f4b; }
.scene-button:focus-visible { outline-offset: -2px; }
.fidelity-comparison {
  margin-top: .4rem;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: .36rem;
  background: #fff;
}
.fidelity-comparison summary { cursor: pointer; font-weight: 630; color: var(--moss); }
.fidelity-comparison p { margin-top: .58rem; color: var(--muted); }
.level-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(7.5rem, 1fr));
  gap: .5rem;
  overflow-x: auto;
  margin-top: .75rem;
  padding-bottom: .3rem;
}
.level-grid figure { background: #eef1ec; border: 1px solid var(--line); border-radius: .3rem; overflow: hidden; }
.level-grid img { width: 100%; aspect-ratio: 1.33; object-fit: contain; }
.level-grid figcaption { padding: .27rem .38rem; font: 650 .8rem/1.4 var(--mono); text-align: center; }

.method { background: #e9eee8; border-block: 1px solid var(--line); }
.framework-figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .52rem;
  padding: clamp(.32rem, 2vw, 1.4rem);
  overflow: hidden;
}
.framework-figure img { width: 100%; height: auto; }
.method-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
  margin-top: 1.7rem;
}
.method-details article { border-top: 2px solid #92a68f; padding-top: .95rem; }
.method-details h3, .navigation-study h3, .citation-header h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.035em; }
.method-details p, .navigation-study p { margin-top: .53rem; color: var(--muted); }
.entity-example {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.15fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  margin-top: 2.4rem;
  padding: 1.2rem;
  border-radius: .52rem;
  border: 1px solid var(--line);
  background: #fff;
}
.entity-example h3, .policy-heading h3 { font-size: 1.38rem; line-height: 1.21; }
.entity-example p, .policy-heading p { color: var(--muted); margin-top: .53rem; }
.entity-example img { width: 100%; }
.entity-example figcaption, .trajectory-figure figcaption { margin-top: .5rem; color: var(--muted); font-size: .86rem; }

.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.result-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: .5rem;
  overflow: hidden;
}
.result-media { height: auto; aspect-ratio: 1.85; background: #e7ece1; overflow: hidden; }
.result-media img { width: 100%; height: 100%; object-fit: cover; }
.result-body { padding: 1.24rem; display: flex; flex: 1; flex-direction: column; }
.result-body h3 { font-size: 1.16rem; line-height: 1.2; }
.result-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .38rem;
  color: var(--moss);
  font-weight: 650;
  margin: .56rem 0;
}
.result-stat strong { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -.069em; }
.result-body > p:not(.result-stat):not(.result-detail) { color: var(--muted); margin-bottom: 1.02rem; }
.result-detail { border-top: 1px solid var(--line); padding-top: .76rem; margin-top: auto; line-height: 1.5; }
.result-detail strong { color: #264a32; }
.navigation-study {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.3rem 2rem;
  margin-top: 1.28rem;
  padding: 1.4rem;
  background: #e9eee8;
  border-radius: .5rem;
}
.navigation-study dl { display: flex; gap: clamp(.6rem, 2.3vw, 1.7rem); }
.navigation-study dl div { padding-left: 1.1rem; border-left: 1px solid #b9c7b7; }
.navigation-study dd { max-width: 9rem; }
.policy-study { margin-top: 3rem; }
.policy-heading { display: grid; grid-template-columns: 1fr 1.4fr; align-items: baseline; gap: .5rem 1.5rem; margin-bottom: .85rem; }
.policy-heading p { margin-top: 0; }
.trajectory-figure { background: #fff; border: 1px solid var(--line); border-radius: .52rem; padding: 1rem; }
.trajectory-figure img { width: 100%; }
.policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: .85rem; }
.policy-results { padding: 1rem; border: 1px solid var(--line); border-radius: .5rem; background: #fff; }
.policy-results h4 { margin: 0; font-size: 1.05rem; }
.policy-results p { color: var(--muted); margin-top: .25rem; font-size: .92rem; min-height: 2.9em; }
.policy-bars { list-style: none; margin: .78rem 0 0; padding: 0; }
.policy-bars li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) 3.4rem; align-items: center; gap: .45rem; min-height: 1.85rem; font-size: .9rem; }
.policy-bars strong { font: 650 .84rem/1.4 var(--mono); text-align: right; }
.bar { background: #e8eee6; height: .5rem; width: 100%; border-radius: .16rem; overflow: hidden; }
.bar::before { content: ""; display: block; width: var(--share); height: 100%; background: #41765a; }
.bar.baseline::before { background: #9a652f; }

.team-section { background: var(--pine); color: #f3f8f1; padding-block: clamp(3.1rem, 6vw, 5.3rem); }
.team-section .eyebrow { color: var(--lime); }
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0,.88fr); gap: clamp(1.6rem, 5vw, 4.5rem); align-items: start; }
.author-names { margin-top: .95rem; font-size: 1.07rem; font-weight: 560; }
.affiliations { padding-inline-start: 1.2rem; line-height: 1.55; color: #d6e2d6; }
.affiliations li + li { margin-top: .28rem; }
.author-note { color: #c5d2c5; font-size: .9rem; }
.author-note a { color: var(--lime); text-decoration: underline; text-underline-offset: .23em; }
.citation-box { min-width: 0; padding: 1rem; background: #1c2d23; border: 1px solid #4b6451; border-radius: .46rem; }
.citation-header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .65rem; }
.button-copy { color: #1b2d20; background: var(--lime); min-height: 2.35rem; border-color: transparent; padding: .45rem .65rem; }
pre { overflow-x: auto; padding: .88rem; background: #121e17; border-radius: .2rem; color: #e4eee3; }
code { font: 500 .8rem/1.6 var(--mono); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-inner > a:last-child { color: var(--moss); font-weight: 600; }

.skip-link { position: absolute; z-index: 10; top: .4rem; left: .4rem; padding: .8rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 64rem) {
  .container { width: min(100% - 3rem, 77rem); }
  .overview-inner { gap: .75rem; }
  .overview-stats > div { padding-inline: .9rem; }
  .navigation-study { grid-template-columns: 1fr; }
  .navigation-study dl { gap: 1.2rem; }
}
@media (max-width: 48rem) {
  .container { width: min(100% - 2rem, 77rem); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 3.75rem; }
  .header-inner nav { display: none; }
  .hero { min-height: 34rem; }
  .hero-inner { align-items: end; padding-block: 6rem 4rem; }
  .hero-visual { inset: 0 0 8% 0; background-position: 58% center; }
  .hero::before { background: linear-gradient(0deg, #11221a 3%, #11221a 22%, rgba(17,34,26,.89) 46%, rgba(17,34,26,.5) 69%, rgba(17,34,26,.08) 100%); }
  .hero h1 { font-size: clamp(4.2rem, 15.5vw, 7.5rem); }
  .hero-credit { right: 0; bottom: .57rem; font-size: .7rem; }
  .hero-description { max-width: 24rem; }
  .overview-inner { grid-template-columns: 1fr; padding-block: 1.18rem; gap: .95rem; }
  .overview-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); white-space: normal; }
  .overview-stats > div:first-child { border-left: 0; padding-left: 0; }
  .overview-stats dt { font-size: 1.8rem; }
  .section-heading { grid-template-columns: 1fr; gap: .84rem; }
  .section-heading > p { max-width: 37rem; }
  .gallery-feature { grid-template-columns: 1fr; }
  .gallery-image-wrap { height: auto; aspect-ratio: 1.55; }
  .gallery-caption { min-height: 10.1rem; padding: 1.1rem 1.2rem; justify-content: flex-start; gap: .5rem; }
  .gallery-caption h3 { font-size: 2.15rem; }
  .method-details, .result-grid, .team-grid, .entity-example, .policy-grid, .policy-heading { grid-template-columns: 1fr; }
  .policy-results p { min-height: 0; }
  .method-details { gap: 1rem; }
  .result-media { aspect-ratio: 2.15; }
  .result-stat strong { font-size: 2.65rem; }
}
@media (max-width: 25rem) {
  .hero { min-height: 34rem; }
  .hero-subtitle { font-size: 1.18rem; }
  .hero-actions { gap: .4rem; }
  .hero-actions .button { padding-inline: .62rem; }
  .navigation-study dl { gap: .5rem; }
  .navigation-study dl div { padding-left: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
