:root {
  --paper: #f6f5ef;
  --white: #fff;
  --ink: #172c29;
  --muted: #62716c;
  --green: #235b4f;
  --pale: #e6ece4;
  --line: #d6ddd4;
  --accent: #b67432;
  --dark: #112e29;
  --serif: 'Instrument Serif',Georgia,serif;
  --sans: 'DM Sans',Arial,sans-serif;
  --mono: 'Courier New',monospace
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased
}
a {
  color: inherit;
  text-decoration: none
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit
}
button, a {
  -webkit-tap-highlight-color: transparent
}
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px
}
img {
  max-width: 100%;
  height: auto;
  display: block
}
button {
  touch-action: manipulation
}
figure, h1, h2, h3, p {
  margin: 0
}
p+p {
  margin-top: 16px
}
::selection {
  background: #d3ddca;
  color: var(--ink)
}
.section-wrap {
  width: min(1264px,calc(100% - 112px));
  margin-inline: auto
}
.section-space {
  padding-block: 110px
}
.mono, .section-label, .eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px
}
.muted {
  color: var(--muted);
  font-size: 16px
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px
}
.skip-link:focus {
  top: 10px
}
.site-header {
  height: 84px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(246,245,239,.95);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px)
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.6px;
  white-space: nowrap
}
.wordmark svg {
  width: 30px;
  height: 26px;
  fill: var(--green);
  stroke: var(--green);
  stroke-width: 1.8
}
.wordmark svg circle {
  stroke: none
}
.site-header nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  align-items: center
}
.site-header nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  color: #52665f;
  transition: color .2s
}
.site-header nav a:hover {
  color: var(--ink)
}

.menu-toggle {
  display: none
}
.hero>* {
  min-width: 0
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  column-gap: 55px;
  padding-top: 74px
}
.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  letter-spacing: .65px;
  color: var(--green);
  white-space: nowrap
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green)
}

h1 {
  font-size: clamp(65px,6.7vw,99px);
  line-height: 1.07;
  letter-spacing: -7px;
  font-weight: 600;
  margin: 24px 0 17px
}
.title-link {
  color: var(--green)
}
.title-period {
  color: var(--accent)
}
.paper-subtitle {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -1px;
  font-weight: 500
}
.hero-summary {
  font-size: 17px;
  color: var(--muted);
  margin-top: 26px;
  line-height: 1.6
}
.hero-summary em {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--green);
  font-weight: 400;
  line-height: 1.3
}
.primary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px
}
.button {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid #bbc7bc;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: background .2s,transform .2s
}
.button:hover {
  background: var(--pale);
  transform: translateY(-2px)
}
.button-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}
.button-dark:hover {
  background: var(--green)
}

.author-block {
  grid-column: 1/-1;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 51px;
  padding: 26px 0 19px
}
.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 23px;
  row-gap: 6px;
  font-size: 16px;
  font-weight: 500
}
.authors a {
  border-bottom: 1px solid #bdc7bc
}
.authors sup, .affiliations sup {
  font-size: 13px;
  vertical-align: super;
  color: var(--accent);
  padding-left: 2px
}
.affiliations {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px
}
.affiliations sup {
  padding-right: 4px
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  margin-bottom: 25px;
  font-size: 13px
}
.section-label>span {
  font-size: 13px;
  color: #8b967f;
  border-right: 1px solid var(--line);
  padding-right: 12px
}
h2 {
  font-size: clamp(31px,3.05vw,46px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -1.8px
}
h2 em {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.18em;
  color: var(--green);
  letter-spacing: -1.3px
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 45px
}
.section-intro>p, .section-intro>div>p {
  font-size: 17px;
  color: #566a60;
  line-height: 1.75;
  max-width: 520px
}
.section-intro>div>p.muted {
  font-size: 15px;
  line-height: 1.7;
  color: #718071
}
.paper-figure {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 23px 23px 0;
  overflow: hidden
}
.figure-open {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: inherit;
  display: block;
  cursor: zoom-in
}
.paper-figure img {
  width: 100%;
  object-fit: contain
}
.paper-figure figcaption {
  display: flex;
  gap: 17px;
  align-items: start;
  padding: 17px 0;
  margin-top: 19px;
  border-top: 1px solid #e2e5dc;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6
}
.figure-number {
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
  letter-spacing: .4px;
  min-width: 85px;
  padding-top: 2px;
  color: var(--green)
}
.paper-figure figcaption p {
  max-width: 880px
}

.abstract {
  margin-top: 23px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 16px
}
.abstract summary {
  font-size: 16px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between
}
.abstract summary::-webkit-details-marker {
  display: none
}
.abstract summary span {
  font-size: 23px;
  font-weight: 400;
  color: var(--green)
}
.abstract[open] summary span {
  transform: rotate(45deg)
}
.abstract p {
  font-size: 16px;
  line-height: 1.9;
  max-width: 920px;
  margin: 20px auto 12px;
  color: var(--muted)
}
.video-section {
  background: var(--dark);
  color: var(--paper);
  position: relative
}
.video-section .section-wrap {
  max-width: 1080px
}
.video-section .section-label {
  color: #bed1b4
}
.video-section .section-label>span {
  color: #729b88;
  border-color: #3a564a
}
.video-section h2 em {
  color: #becda8
}
.video-heading {
  display: block;
  margin-bottom: 44px
}
.video-heading>p {
  margin-top: 20px;
  font-size: 18px;
  color: #b0c3b8;
  line-height: 1.8
}
.video-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 48px
}
.video-frame {
  aspect-ratio: 16/9;
  background: #09251f;
  border: 1px solid #536e5d;
  border-radius: 5px;
  overflow: hidden
}
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain
}
.video-card figcaption {
  padding-top: 19px
}
.video-card .mono {
  font-size: 13px;
  letter-spacing: 1.1px;
  color: #c6c59a
}
.video-card h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.5px;
  margin: 6px 0
}
.video-card p {
  color: #a6beb0;
  font-size: 16px;
  line-height: 1.7
}
.video-transcript {
  margin-top: 31px;
  font-size: 15px;
  border-top: 1px solid #3a594b;
  padding-top: 17px;
  color: #b6cabc
}
.video-transcript summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  list-style: none
}
.video-transcript p {
  max-width: 850px;
  margin-top: 18px
}
.video-transcript[open] summary {
  color: white
}
.method-steps {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  margin-bottom: 34px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}
.method-steps article {
  position: relative;
  padding-left: 45px
}
.step-number {
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
  border: 1px solid #a9bca7;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%
}
.method-steps h3 {
  font-size: 18px;
  font-weight: 500
}
.method-steps p {
  font-size: 15px;
  color: var(--muted);
  max-width: 390px;
  margin-top: 4px
}
.step-connector {
  color: #8ea187;
  font-size: 23px;
  justify-self: center
}
.dcc-section {
  background: #e8ece2;
  border-top: 1px solid #d6decb;
  border-bottom: 1px solid #d6decb
}

.dataset-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 45px 0;
  border-top: 1px solid #c5d0bd;
  border-bottom: 1px solid #c5d0bd
}
.dataset-stats>div {
  padding: 25px 34px;
  border-left: 1px solid #c5d0bd
}
.dataset-stats>div:first-child {
  border-left: 0;
  padding-left: 0
}
.dataset-stats strong {
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -3px;
  line-height: 1.2
}
.dataset-stats strong span {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: .8em;
  letter-spacing: -1px;
  color: #7f956c
}
.dataset-stats p {
  font-size: 15px;
  color: #6b7b60;
  margin-top: 7px
}

.results-panel {
  border: 1px solid var(--line);
  background: #fcfcf6;
  border-radius: 5px;
  padding: 29px 32px
}
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 26px
}
.results-toolbar h3 {
  font-size: 18px;
  font-weight: 500
}
.dataset-tabs {
  display: flex;
  border: 1px solid #c6cfbf;
  background: #edf0e7;
  border-radius: 4px;
  padding: 3px;
  gap: 3px
}
.dataset-tabs button {
  border: 0;
  background: none;
  padding: 6px 15px;
  border-radius: 2px;
  font-size: 13px;
  color: #60715d
}
.dataset-tabs button[aria-selected=true] {
  background: var(--green);
  color: white;
  box-shadow: 0 2px 6px #183c2420
}
.results-body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px
}
.chart-axis {
  display: grid;
  grid-template-columns: 200px minmax(0,1fr) 40px;
  gap: 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: #7c8872;
  padding: 0 0 15px
}
.chart-axis span:first-child {
  color: var(--green)
}
.chart-axis span:last-child {
  text-align: right
}
.chart-row {
  display: grid;
  grid-template-columns: 200px minmax(0,1fr) 40px;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px
}
.chart-label {
  font-size: 13px;
  white-space: normal;
  color: #62705c
}
.bar-track {
  height: 15px;
  background: #e7ebdf;
  border-right: 1px solid #becab4;
  position: relative
}
.bar-fill {
  display: block;
  height: 100%;
  background: #a8b899;
  border-radius: 1px
}
.chart-row strong {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  text-align: right
}
.chart-row.ours {
  padding-top: 15px;
  border-top: 1px solid var(--line)
}
.ours .bar-fill {
  background: var(--green)
}
.ours .chart-label, .ours strong {
  color: var(--green);
  font-weight: 700
}
.result-highlight {
  border-left: 1px solid var(--line);
  padding-left: 33px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center
}
.result-highlight>.mono {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--green)
}
.result-highlight>strong {
  font-size: 88px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -6px;
  margin-top: 11px
}
.result-label {
  font-size: 15px;
  color: var(--muted)
}
.caption-gain {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  width: 100%
}
.caption-gain strong {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--accent)
}
.caption-gain span {
  font-size: 13px;
  line-height: 1.5;
  max-width: 75px;
  color: var(--muted)
}
.results-note {
  font-size: 13px;
  color: #7a8573;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 10px;
  line-height: 1.7
}
.qualitative {
  margin-top: 34px
}
.resources-section {
  background: #e9eadd;
  border-top: 1px solid #d4d9c7
}
.resources-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 43px
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid #b8c4ab;
  border-radius: 4px;
  overflow: hidden
}
.resource-card {
  padding: 22px 23px;
  border-left: 1px solid #b8c4ab;
  display: flex;
  flex-direction: column;
  transition: background .2s
}
.resource-card:first-child {
  border-left: 0
}
.resource-card:hover {
  background: #f6f7ee
}
.resource-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .5px;
  color: var(--green)
}
.resource-top span {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1
}
.resource-card h3 {
  font-size: 19px;
  letter-spacing: -.7px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 33px
}
.resource-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #708063;
  margin-top: 9px;
  margin-bottom: 25px
}
.resource-bottom {
  font-size: 13px;
  color: var(--green);
  margin-top: auto
}

.citation-block {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 50px;
  margin-top: 75px;
  padding-top: 35px;
  border-top: 1px solid #bbc5ae
}
.citation-block .section-label {
  font-size: 13px;
  margin-bottom: 12px
}
.citation-block h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.5px
}
.citation-code {
  background: #f2f3e9;
  border: 1px solid #ced5be;
  border-radius: 4px;
  padding: 26px 25px 20px;
  position: relative;
  min-width: 0
}
.citation-code pre {
  font-size: 13px;
  line-height: 1.8;
  font-family: var(--mono);
  overflow-x: auto;
  margin: 22px 0 0;
  padding-bottom: 3px
}
.copy-button {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 1px solid #c1ceb2;
  background: #f9f9f0;
  color: var(--green);
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 3px
}
.copy-button:hover {
  background: #e1e8d6
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding-block: 37px
}
.site-footer .wordmark {
  font-size: 18px
}
.site-footer p {
  font-size: 13px;
  line-height: 1.8;
  color: #7b8874
}
.site-footer>a:not(.wordmark) {
  font-size: 13px
}
.site-footer>span {
  font-size: 13px;
  font-family: var(--mono);
  color: #7b8874
}
.noscript-note {
  padding: 24px;
  margin: auto;
  max-width: 900px;
  font-size: 16px
}
@media(min-width:1500px) {
  .hero {
    padding-top: 90px
  }
  .paper-subtitle {
    font-size: 35px
  }
  .hero-summary {
    font-size: 19px
  }
  .hero-summary em {
    font-size: 27px
  }
  .hero .button {
    font-size: 16px;
    padding: 12px 19px
  }
  .author-block {
    margin-top: 62px
  }
}
@media(max-width:1150px) {
  .section-wrap {
    width: calc(100% - 70px)
  }
  .site-header {
    padding-inline: 35px;
    gap: 22px
  }
  .site-header nav {
    gap: 19px
  }

  .hero {
    gap: 30px;
    padding-top: 58px
  }
  .eyebrow {
    font-size: 13px;
    letter-spacing: 0
  }
  .hero h1 {
    font-size: 75px;
    letter-spacing: -5px
  }
  .paper-subtitle {
    font-size: 27px
  }
  .hero-summary {
    font-size: 17px
  }
  .hero-summary em {
    font-size: 22px
  }
  .hero .button {
    gap: 16px;
    padding: 9px 13px
  }

  .authors {
    column-gap: 17px;
    font-size: 15px
  }
  .section-space {
    padding-block: 85px
  }
  .section-intro {
    gap: 40px
  }
  .section-intro>p, .section-intro>div>p {
    font-size: 16px
  }
  .resource-card {
    padding-inline: 17px
  }
  .resource-card h3 {
    font-size: 17px
  }
  .chart-row {
    grid-template-columns: 180px minmax(0,1fr) 40px;
    gap: 9px
  }
  .chart-axis {
    grid-template-columns: 180px minmax(0,1fr) 40px;
    gap: 9px
  }
  .results-body {
    grid-template-columns: 1fr 190px;
    gap: 23px
  }
  .result-highlight {
    padding-left: 25px
  }
  .result-highlight>strong {
    font-size: 78px
  }
  .chart-label {
    font-size: 13px
  }
  .citation-block {
    gap: 24px
  }
}
@media(max-width:900px) {
  .site-header {
    height: 70px
  }
  .site-header .wordmark {
    font-size: 17px
  }
  .site-header nav {
    gap: 16px
  }

  .hero {
    grid-template-columns: minmax(0,1fr);
    gap: 0;
    padding-top: 45px
  }
  .hero-copy {
    text-align: center
  }
  .eyebrow {
    justify-content: center;
    font-size: 13px;
    letter-spacing: .3px
  }
  .hero h1 {
    font-size: 90px;
    letter-spacing: -6px;
    margin-top: 20px
  }
  .paper-subtitle {
    font-size: 30px
  }
  .hero-summary {
    font-size: 18px;
    margin-top: 18px
  }
  .hero-summary br {
    display: none
  }
  .hero-summary em {
    font-size: 23px
  }
  .primary-links {
    justify-content: center;
    margin-top: 25px
  }

  .author-block {
    margin-top: 32px
  }
  .authors {
    max-width: 610px;
    margin-inline: auto;
    row-gap: 8px;
    column-gap: 19px
  }
  .affiliations {
    font-size: 13px
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 24px
  }
  .section-intro>p, .section-intro>div>p {
    max-width: 640px
  }
  .section-space {
    padding-block: 70px
  }
  .video-heading, .resources-heading {
    display: block
  }
  .video-heading>p {
    margin-top: 22px;
    max-width: 530px
  }
  .video-grid {
    gap: 20px
  }
  .video-card h3 {
    font-size: 18px
  }
  .method-steps {
    grid-template-columns: 1fr 40px 1fr
  }
  .method-steps h3 {
    font-size: 16px
  }
  .method-steps p {
    font-size: 13px
  }
  .dataset-stats strong {
    font-size: 58px
  }

  .results-panel {
    padding: 24px
  }
  .results-body {
    grid-template-columns: 1fr 165px;
    gap: 20px
  }
  .result-highlight {
    padding-left: 20px
  }
  .result-highlight>strong {
    font-size: 66px
  }
  .caption-gain {
    gap: 8px
  }
  .caption-gain strong {
    font-size: 25px
  }
  .resource-grid {
    grid-template-columns: 1fr 1fr
  }
  .resource-card {
    padding: 23px
  }
  .resource-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #b8c4ab
  }
  .resource-card:nth-child(4) {
    border-top: 1px solid #b8c4ab
  }
  .resource-card h3 {
    font-size: 21px;
    margin-top: 25px
  }
  .resource-card p {
    max-width: 240px
  }
  .resource-bottom {
    font-size: 13px
  }
  .citation-block {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 45px
  }
  .citation-code pre {
    font-size: 13px
  }
  .site-footer {
    flex-wrap: wrap
  }
  .site-footer>span {
    margin-left: auto
  }
}
@media(max-width:700px) {
  html {
    scroll-padding-top: 82px
  }
  .section-wrap {
    width: calc(100% - 38px)
  }
  .site-header {
    padding: 0 20px;
    height: 64px;
    justify-content: space-between
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 63px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 17px 24px 24px;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 16px #1732240a
  }
  .site-header nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0
  }
  .site-header nav a {
    font-size: 18px;
    padding: 8px 0
  }
  .menu-toggle {
    display: flex;
    gap: 15px;
    align-items: center;
    background: none;
    border: 1px solid #c9d0c1;
    border-radius: 3px;
    font-size: 13px;
    min-height: 44px;
    padding: 4px 10px
  }
  .menu-toggle span {
    font-size: 20px;
    line-height: 1
  }
  .menu-toggle[aria-expanded=true] span {
    transform: rotate(45deg)
  }
  .hero {
    padding-top: 32px
  }
  .eyebrow {
    font-size: 13px;
    gap: 7px;
    letter-spacing: 0
  }

  .hero h1 {
    font-size: clamp(60px,15vw,86px);
    letter-spacing: -4.7px;
    margin-top: 20px;
    margin-bottom: 12px
  }
  .paper-subtitle {
    font-size: 25px;
    line-height: 1.23;
    letter-spacing: -.8px
  }
  .hero-summary {
    font-size: 16px;
    line-height: 1.5;
    max-width: 290px;
    margin: 19px auto 0
  }
  .hero-summary em {
    font-size: 21px;
    white-space: nowrap
  }
  .primary-links {
    gap: 7px;
    margin-top: 23px
  }
  .hero .button {
    font-size: 13px;
    gap: 12px;
    padding: 8px 10px
  }

  .author-block {
    margin-top: 25px;
    padding: 21px 0 18px
  }
  .authors {
    font-size: 13px;
    gap: 7px 14px;
    max-width: 355px
  }
  .authors sup {
    font-size: 13px
  }
  .affiliations {
    font-size: 13px;
    flex-direction: column;
    gap: 2px;
    margin-top: 12px
  }

  .section-space {
    padding-block: 55px
  }
  .section-label {
    margin-bottom: 18px;
    font-size: 13px;
    gap: 9px
  }
  .section-label>span {
    font-size: 13px;
    padding-right: 9px
  }
  h2 {
    font-size: 32px;
    letter-spacing: -1.3px;
    line-height: 1.16
  }
  h2 em {
    letter-spacing: -1px
  }
  .section-intro {
    gap: 22px;
    margin-bottom: 29px
  }
  .section-intro>p, .section-intro>div>p {
    font-size: 16px
  }
  .section-intro>div>p.muted {
    font-size: 13px
  }
  .paper-figure {
    padding: 10px 10px 0;
    border-radius: 4px
  }
  .paper-figure figcaption {
    display: grid;
    grid-template-columns: 1fr 20px;
    gap: 6px;
    padding: 12px 0;
    margin-top: 10px;
    font-size: 13px
  }
  .figure-number {
    font-size: 13px;
    grid-column: 1
  }
  .paper-figure figcaption p {
    grid-column: 1
  }

  .abstract {
    margin-top: 18px;
    padding-bottom: 12px
  }
  .abstract summary {
    font-size: 15px
  }
  .abstract p {
    font-size: 15px;
    line-height: 1.8
  }
  .video-heading {
    margin-bottom: 27px
  }
  .video-heading>p {
    font-size: 15px;
    margin-top: 18px
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 31px
  }
  .video-card figcaption {
    padding-top: 13px
  }
  .video-card h3 {
    font-size: 20px
  }
  .video-card p {
    font-size: 13px
  }
  .video-transcript {
    font-size: 13px;
    margin-top: 25px
  }
  .method-steps {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 23px 0;
    margin-bottom: 24px
  }
  .method-steps article {
    padding-left: 41px
  }
  .step-connector {
    display: none
  }
  .method-steps h3 {
    font-size: 17px
  }
  .method-steps p {
    font-size: 13px
  }
  .dataset-stats {
    margin: 30px 0
  }
  .dataset-stats>div {
    padding: 20px 12px
  }
  .dataset-stats strong {
    font-size: 43px;
    letter-spacing: -2.5px
  }
  .dataset-stats p {
    font-size: 13px;
    line-height: 1.5
  }

  .results-panel {
    padding: 18px 14px
  }
  .results-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 23px
  }
  .results-toolbar h3 {
    font-size: 17px
  }
  .dataset-tabs {
    width: 100%
  }
  .dataset-tabs button {
    flex: 1;
    min-height: 44px;
    padding: 7px 10px
  }
  .results-body {
    display: flex;
    flex-direction: column;
    gap: 20px
  }
  .chart-row {
    grid-template-columns: minmax(0,1fr) 40px;
    gap: 7px;
    margin-bottom: 14px
  }
  .chart-axis {
    grid-template-columns: minmax(0,1fr) 40px;
    gap: 7px
  }
  .chart-label {
    font-size: 13px
  }
  .bar-track {
    height: 13px
  }
  .result-highlight {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    align-items: center
  }
  .result-highlight>.mono {
    grid-column: 1;
    grid-row: 1;
    font-size: 13px
  }
  .result-highlight>strong {
    grid-column: 1;
    grid-row: 2;
    font-size: 59px;
    letter-spacing: -4px;
    margin-top: 3px
  }
  .result-label {
    grid-column: 1;
    grid-row: 3;
    font-size: 13px
  }
  .caption-gain {
    grid-column: 2;
    grid-row: 1/4;
    border-top: 0;
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 8px 27px;
    margin: 0;
    gap: 5px
  }
  .caption-gain strong {
    font-size: 36px
  }
  .caption-gain span {
    max-width: none;
    font-size: 13px
  }
  .results-note {
    font-size: 13px;
    padding-top: 14px;
    margin-top: 22px
  }
  .qualitative {
    margin-top: 24px
  }
  .resources-heading {
    margin-bottom: 27px
  }

  .resource-card {
    padding: 20px 14px
  }
  .resource-top {
    font-size: 13px
  }
  .resource-card h3 {
    font-size: 17px;
    letter-spacing: -.6px;
    margin-top: 25px
  }
  .resource-card p {
    font-size: 13px;
    margin-bottom: 24px
  }
  .resource-bottom {
    font-size: 13px
  }

  .citation-block {
    padding-top: 25px;
    margin-top: 35px
  }
  .citation-code {
    padding: 22px 15px 12px
  }
  .citation-code pre {
    font-size: 13px
  }
  .site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-block: 29px
  }
  .site-footer .wordmark {
    font-size: 17px
  }
  .site-footer p {
    font-size: 13px;
    text-align: right
  }
  .site-footer>a:not(.wordmark) {
    font-size: 13px
  }
  .site-footer>span {
    font-size: 13px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  *, *::before, *::after {
    transition: none!important;
    animation: none!important
  }
}
.eyebrow {
  flex-wrap: wrap;
  row-gap: 5px;
  white-space: normal;
  font-size: 13px;
  letter-spacing: .2px
}

.authors {
  font-size: 16px
}
.authors sup, .affiliations sup {
  font-size: 12px
}
.affiliations {
  font-size: 14px
}
.site-header nav a {
  font-size: 16px
}
.hero .button {
  font-size: 16px;
  gap: 14px
}
.section-label, .section-label>span, .figure-number, .video-card .mono, .resource-top, .citation-block .section-label {
  font-size: 13px
}
.paper-figure figcaption {
  font-size: 15px;
  flex-wrap: wrap
}
.paper-figure figcaption p {
  flex: 1;
  min-width: 200px
}

.figure-dialog {
  width: calc(100vw - 32px);
  max-width: 1800px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  overflow: hidden
}
.figure-dialog::backdrop {
  background: #102b25d9
}
.figure-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper)
}
.figure-toolbar h3 {
  font-size: 17px;
  font-weight: 600
}
.figure-toolbar>div {
  display: flex;
  gap: 10px;
  flex-shrink: 0
}
.figure-toolbar button {
  font-size: 15px;
  min-height: 44px;
  border: 1px solid #a9bca7;
  padding: 8px 13px;
  background: white;
  border-radius: 4px
}
.figure-toolbar button:hover {
  background: var(--pale)
}
.figure-viewport {
  overflow: auto;
  max-height: calc(100vh - 117px);
  max-height: calc(100dvh - 117px);
  padding: 20px;
  overscroll-behavior: contain
}
.figure-viewport img {
  width: 100%;
  height: auto;
  max-width: none
}
.figure-viewport.is-zoomed img {
  width: 2400px
}
body:has(.figure-dialog[open]) {
  overflow: hidden
}
@media(max-width:1150px) {

  .site-header nav {
    gap: 22px
  }
  .hero {
    grid-template-columns: minmax(0,1fr);
    gap: 0
  }
  .hero-copy {
    text-align: center
  }
  .eyebrow, .primary-links {
    justify-content: center
  }
  .hero-summary {
    max-width: 600px;
    margin-inline: auto
  }
  .hero-summary br {
    display: none
  }
  .author-block {
    margin-top: 35px
  }
  .resource-grid {
    grid-template-columns: 1fr 1fr
  }
  .resource-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #b8c4ab
  }
  .resource-card:nth-child(4) {
    border-top: 1px solid #b8c4ab
  }
}
@media(max-width:900px) {
  .results-body {
    grid-template-columns: minmax(0,1fr) 185px
  }
  .chart-row, .chart-axis {
    grid-template-columns: 160px minmax(0,1fr) 40px
  }
  .result-highlight>strong {
    font-size: 66px
  }
  .caption-gain {
    flex-wrap: wrap
  }
  .caption-gain span {
    max-width: none
  }
}
@media(max-width:700px) {
  .hero-summary {
    max-width: 340px;
    font-size: 17px
  }
  .hero .button {
    font-size: 15px;
    padding: 10px 13px;
    min-height: 44px
  }
  .primary-links {
    gap: 10px
  }

  .authors {
    font-size: 15px;
    max-width: 500px
  }
  .affiliations {
    font-size: 14px;
    gap: 6px
  }
  .section-intro>p, .section-intro>div>p {
    font-size: 17px
  }
  .section-intro>div>p.muted {
    font-size: 15px
  }
  .paper-figure figcaption {
    grid-template-columns: minmax(0,1fr);
    font-size: 15px;
    gap: 9px
  }
  .paper-figure figcaption p {
    min-width: 0
  }

  .video-heading>p, .video-card p, .video-transcript, .method-steps p {
    font-size: 16px
  }
  .dataset-stats>div {
    padding-inline: 10px
  }
  .dataset-stats strong {
    font-size: 40px
  }
  .dataset-stats p {
    font-size: 14px
  }
  .chart-row {
    grid-template-columns: minmax(0,1fr) 40px;
    row-gap: 6px;
    margin-bottom: 20px
  }
  .chart-label {
    font-size: 15px;
    grid-column: 1;
    grid-row: 1
  }
  .chart-row strong {
    font-size: 14px;
    grid-column: 2;
    grid-row: 1
  }
  .bar-track {
    grid-column: 1/-1;
    grid-row: 2;
    height: 16px
  }
  .chart-axis {
    grid-template-columns: 1fr 40px;
    font-size: 13px
  }
  .chart-axis span:nth-child(2) {
    display: none
  }
  .results-note {
    font-size: 14px
  }
  .resource-card p {
    font-size: 15px
  }
  .resource-bottom {
    font-size: 14px
  }

  .citation-code pre {
    font-size: 13px;
    white-space: pre-wrap;
    overflow-wrap: anywhere
  }
  .copy-button {
    font-size: 14px;
    min-height: 44px
  }
  .figure-toolbar {
    padding: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px
  }
  .figure-toolbar h3 {
    font-size: 16px
  }
  .figure-viewport {
    padding: 10px;
    max-height: calc(100vh - 160px);
    max-height: calc(100dvh - 160px)
  }
  .figure-toolbar button {
    font-size: 14px
  }
  .figure-dialog {
    width: calc(100vw - 16px)
  }
  .site-footer {
    grid-template-columns: 1fr
  }
  .site-footer p {
    text-align: left
  }
  .site-footer>span {
    margin-left: 0
  }
}
@media(max-width:420px) {

  .resource-grid {
    grid-template-columns: 1fr
  }
  .resource-card {
    border-left: 0;
    border-top: 1px solid #b8c4ab
  }
  .resource-card:first-child {
    border-top: 0
  }
  .resource-card h3 {
    margin-top: 20px
  }
  .resource-card p {
    margin-bottom: 20px
  }

  .dataset-stats {
    grid-template-columns: 1fr
  }
  .dataset-stats>div, .dataset-stats>div:first-child {
    border-left: 0;
    border-top: 1px solid #c5d0bd;
    padding: 18px 0;
    display: flex;
    gap: 20px;
    align-items: center
  }
  .dataset-stats>div:first-child {
    border-top: 0
  }
  .dataset-stats strong {
    min-width: 110px
  }
  .dataset-stats p {
    margin: 0
  }
  .hero .button {
    min-width: calc(50% - 5px);
    justify-content: space-between
  }
}

.causal-study {
  min-width: 0;
  align-self: center;
  background: #edf0e8;
  border: 1px solid #cbd5c6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 35px #253e2710;
}
.focus-heading { padding: 22px 24px 0; }
.focus-kicker { display: block; color: #52665b; font-size: 14px; line-height: 1.4; letter-spacing: .08em; font-weight: 600; }
.focus-heading h2 { font: 500 28px/1.12 var(--sans); letter-spacing: -.035em; margin-top: 10px; color: var(--green); }
.focus-heading h2 br { display: none; }
.focus-heading p { margin-top: 10px; color: #52665b; font-size: 16px; line-height: 1.4; }
.focus-graph {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 14px 62px;
  padding: 20px 24px;
}
.focus-wires { position: absolute; inset: 0; height: 100%; width: 100%; pointer-events: none; overflow: visible; }
.focus-connection { opacity: .25; }
.focus-connection[data-active="true"] { opacity: 1; }
.connection-track { fill: none; stroke: #527d65; stroke-width: 2.5; stroke-linecap: round; }
.connection-flow { fill: none; stroke: #1d6348; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 14 86; opacity: 0; }
.focus-junction { fill: #356b50; }
.focus-junction-halo { fill: #7ba17c; opacity: .2; }
.focus-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.motion-toggle { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 8px 0 8px 6px; min-height: 40px; border: 0; background: none; font: 500 14px/1.2 var(--sans); color: #52665b; }
.motion-toggle[hidden] { display: none; }
.motion-toggle svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2; fill: none; }
.motion-play-icon { display: none; }
.motion-toggle[aria-pressed="true"] .motion-play-icon { display: block; }
.motion-toggle[aria-pressed="true"] .motion-pause-icon { display: none; }
.focus-event {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  align-self: center;
  padding: 0;
  border: 1px solid #b9c9b7;
  border-radius: 6px;
  background: var(--white);
  text-align: left;
  color: var(--green);
  box-shadow: 0 3px 10px #253e270a;
}
.focus-event[aria-pressed="true"] { outline: 2px solid #356b50; outline-offset: 1px; background: #f3f7ef; }
.focus-event:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.focus-preparation { grid-column: 1; }
.focus-outcome { grid-column: 2; grid-row: 1 / 3; }
.focus-meta { padding: 6px 10px; font-size: 15px; line-height: 1.35; color: #52665b; font-variant-numeric: tabular-nums; }
.focus-event img { width: 100%; height: 76px; object-fit: cover; }
.focus-outcome img { height: 110px; }
.focus-name { padding: 8px 10px 10px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.focus-caption { border-top: 1px solid #d3ddcc; padding: 16px 24px; min-height: 132px; background: #e4ecde; }
#focus-route { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--green); }
.focus-caption p { font-size: 17px; line-height: 1.45; margin-top: 6px; color: #405749; }
.focus-takeaway { padding: 14px 24px 17px; font-size: 16px; line-height: 1.45; color: #405749; }
.story-session-note { color: #52665b; font-size: 16px; line-height: 1.5; margin-bottom: 16px; }
@media (hover: hover) { .focus-event:hover { border-color: #356b50; background: #f3f7ef; } }
@media (max-width: 1150px) { .causal-study { width: 600px; max-width: 100%; margin: 36px auto 0; } }
@media (max-width: 700px) {
  .focus-heading { padding: 20px 16px 0; }
  .focus-kicker { font-size: 15px; letter-spacing: .04em; }
  .focus-heading h2 { font-size: 27px; }
  .focus-heading h2 br { display: block; }
  .focus-heading p { font-size: 17px; }
  .focus-graph { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 48px 16px; padding: 20px 16px; }
  .focus-preparation { grid-column: auto; grid-row: 1; align-self: stretch; }
  .focus-outcome { grid-column: 1 / 3; grid-row: 2; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
  .focus-outcome img { grid-column: 1; grid-row: 1 / 3; height: 100%; min-height: 106px; border-radius: 5px 0 0 5px; }
  .focus-outcome .focus-meta { grid-column: 2; grid-row: 1; padding-top: 14px; align-self: end; }
  .focus-outcome .focus-name { grid-column: 2; grid-row: 2; padding-bottom: 14px; }
  .focus-meta { font-size: 16px; padding: 6px 8px; }
  .focus-name { font-size: 18px; padding: 8px; }
  .focus-caption { padding: 16px; min-height: 160px; }
  .focus-caption p { font-size: 18px; }
  .focus-takeaway { padding: 14px 16px 17px; font-size: 17px; }
}
@media (max-width: 359px) {
  .focus-caption { min-height: 204px; }
}
@media (prefers-reduced-motion: no-preference) {
  .focus-connection { transition: opacity .24s ease; }
  .focus-event { transition: background .15s, border-color .15s; }
}

.explore-all {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
  padding-block: 9px;
  min-height: 44px;
}
.story-section { margin-top: 66px; scroll-margin-top: 8px; }
.story-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.story-heading .eyebrow { margin-bottom: 12px; }
.story-heading h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.12; }
.story-heading p { color: var(--muted); font-size: 17px; line-height: 1.5; }
.story-workspace { scroll-margin-top: 10px; border: 1px solid #cbd6cb; background: #fcfcf8; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 40px #172c2907; }
.story-workspace [hidden] { display: none !important; }
.story-toolbar { padding: 8px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); background: #edf1e9; }
.story-current-video { display: flex; align-items: center; gap: 14px; min-width: 0; }
.story-current-video > img { width: 80px; height: 52px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.story-current-video > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.story-current-video strong { font-size: 18px; line-height: 1.25; font-weight: 600; }
.story-current-video span { font-size: 14px; line-height: 1.35; color: #52665b; }
.story-browse { position: relative; flex-shrink: 0; border: 1px solid #b9c9b7; border-radius: 5px; background: #fff; color: var(--green); padding: 8px 36px 8px 14px; text-align: left; font: 500 16px/1.3 var(--sans); min-height: 48px; }
.story-browse > span:first-of-type { display: block; font-size: 13px; color: #52665b; font-weight: 400; margin-top: 2px; }
.browse-chevron { position: absolute; right: 13px; top: 14px; font-size: 20px; }
.story-browse[aria-expanded="true"] .browse-chevron { transform: rotate(180deg); }
.story-library { padding: 18px 22px 22px; border-bottom: 1px solid var(--line); background: #f3f5ef; }
.story-library > p { font-size: 16px; color: #455e4e; margin-bottom: 15px; }
.story-category-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 16px; padding-bottom: 10px; }
.story-category-tabs button { display: flex; align-items: center; gap: 10px; padding: 8px 14px; min-height: 44px; background: transparent; border: 1px solid transparent; border-radius: 5px; font: 500 16px/1.3 var(--sans); color: #52665b; }
.story-category-tabs button[aria-selected="true"] { background: white; border-color: var(--green); color: var(--green); }
.story-category-tabs button span { background: #e2e9dd; min-width: 24px; padding: 2px 6px; border-radius: 4px; text-align: center; font-size: 14px; }
.story-video-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.story-video-options[data-category="activity"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-video-option { border: 1px solid #c9d4c5; border-radius: 7px; background: #fff; color: var(--ink); padding: 0; overflow: hidden; min-width: 0; text-align: left; display: flex; flex-direction: column; }
.story-video-option > img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.video-option-label { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 5px; }
.video-option-label strong { font-size: 17px; line-height: 1.25; font-weight: 600; }
.video-option-label > span { font-size: 14px; line-height: 1.4; color: #52665b; }
.story-video-option[aria-pressed="true"] { border-color: var(--green); background: #e7efe3; box-shadow: 0 0 0 1px var(--green); }
.text-control { border: 0; background: transparent; color: var(--green); font-size: 16px; font-weight: 500; min-height: 44px; padding: 6px 0; }
.text-control span { margin-left: 6px; }
.story-main { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
.story-map-column { min-width: 0; padding: 22px; }
.story-preview-column { min-width: 0; padding: 22px; background: #f0f3ec; border-left: 1px solid var(--line); }
.map-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 15px; }
.map-heading h3 { font-size: 18px; font-weight: 600; }
.map-heading > span { font-size: 14px; color: #566a60; }
.story-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.story-map[data-count="3"], .story-map[data-count="5"], .story-map[data-count="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-event { position: relative; width: 100%; min-width: 0; background: white; border: 2px solid #d9dfd5; border-radius: 7px; padding: 0; overflow: hidden; text-align: left; transition: border-color .15s, box-shadow .15s; display: flex; flex-direction: column; }
.event-inspect { display: flex; flex-direction: column; width: 100%; height: 100%; min-width: 0; flex: 1; padding: 0; border: 0; border-radius: 5px; background: transparent; color: inherit; text-align: left; }
.event-inspect:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.event-toggle { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 44px; height: 44px; z-index: 1; cursor: pointer; touch-action: manipulation; }
.event-toggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 1; cursor: pointer; }
.event-check { display: grid; place-items: center; width: 25px; height: 25px; border: 2px solid #536e5a; border-radius: 5px; background: #fff; color: #fff; box-shadow: 0 1px 5px #102e2938; pointer-events: none; }
.event-check svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.event-toggle input:checked + .event-check { background: var(--green); border-color: var(--green); }
.event-toggle input:checked + .event-check svg { opacity: 1; }
.event-toggle input:focus-visible + .event-check { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .event-check { transition: background .15s ease, border-color .15s ease, transform .15s ease; }
  .event-toggle input:active + .event-check { transform: scale(.9); }
}

.event-thumb { position: relative; display: block; }
.event-thumb img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.event-number { position: absolute; top: 6px; background: #172c29e8; color: white; border-radius: 3px; font-family: var(--mono); font-size: 13px; line-height: 1.6; padding: 0 5px; }
.event-number { left: 6px; }
.event-body { display: flex; flex-direction: column; padding: 9px 9px 6px; flex: 1; }
.event-title { font-size: 15px; font-weight: 500; line-height: 1.3; min-height: 20px; }
.event-time { font-size: 13px; color: #596c60; margin-top: 3px; line-height: 1.3; }
.event-relationship { min-height: 24px; line-height: 1.5; font-size: 13px; margin-top: 4px; font-weight: 600; color: transparent; }
.story-event[data-relation="before"] { border-color: #ba833c; background: #fffaf0; }
.story-event[data-relation="before"] .event-relationship { color: #805017; }
.story-event[data-relation="selected"] { border-color: #235b4f; box-shadow: 0 0 0 2px #235b4f; background: #e7efe6; }
.story-event[data-relation="selected"] .event-relationship { color: var(--green); }
.story-event[data-relation="after"] { border-color: #698aa1; background: #f0f6fa; }
.story-event[data-relation="after"] .event-relationship { color: #3a6078; }
.relation-legend { display: flex; gap: 22px; align-items: center; font-size: 14px; margin: 18px 0 15px; color: #52665b; }
.relation-legend span { display: flex; align-items: center; gap: 6px; }
.relation-legend span:before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.relation-legend .legend-before:before { background: #ba833c; }
.relation-legend .legend-after:before { background: #698aa1; }
.story-relations { border-top: 1px solid var(--line); padding-top: 16px; }
.relation-row { display: grid; grid-template-columns: 1fr 16px 1fr 16px 1fr; gap: 8px; align-items: center; }
.relation-label { font-family: var(--mono); font-size: 12px; color: #52665b; letter-spacing: .6px; }
.relation-links { display: flex; flex-direction: column; gap: 1px; margin-top: 5px; }
.relation-links button { border: 0; background: none; padding: 4px 0; min-height: 32px; font-size: 14px; line-height: 1.35; text-align: left; }
.relation-group.before button { color: #805017; }
.relation-group.selected button { color: var(--green); font-weight: 600; }
.relation-group.after button { color: #3a6078; }
.relation-empty { color: var(--muted); font-size: 14px; line-height: 1.4; }
.relation-arrow { color: #6f8879; }
.relation-explanation { font-size: 16px; color: #455e4e; line-height: 1.5; margin-top: 14px; }
.story-player { position: relative; aspect-ratio: 16/10; background: #102621; border-radius: 6px; overflow: hidden; }
.story-player video { width: 100%; height: 100%; object-fit: contain; display: block; }
.playing-badge { position: absolute; top: 0; left: 0; right: 0; padding: 9px 12px 25px; font-size: 13px; line-height: 1.3; background: linear-gradient(#102621d9,transparent); color: white; pointer-events: none; }
.player-overlay { position: absolute; width: 50px; height: 50px; top: 36%; left: calc(50% - 25px); display: grid; place-items: center; border-radius: 50%; background: #fffffff0; border: 1px solid #fff; color: var(--green); padding-left: 5px; font-size: 21px; box-shadow: 0 2px 12px #0003; z-index: 2; }
.story-player-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent,#0c1e1be6 30%); color: white; font-size: 15px; line-height: 1.4; padding: 24px 12px 10px; pointer-events: none; }
.story-transport { display: flex; align-items: center; gap: 15px; padding-block: 14px; }
.play-edit { background: var(--green); color: #fff; border: 0; border-radius: 5px; white-space: nowrap; padding: 9px 14px; min-height: 44px; font-size: 15px; font-weight: 500; }
.play-edit span { margin-right: 5px; }
.transport-progress { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: #53695c; line-height: 1.3; }
.transport-progress progress { width: 100%; height: 4px; appearance: none; border: 0; border-radius: 3px; background: #cfdbcc; }
.transport-progress progress::-webkit-progress-bar { background: #cfdbcc; border-radius: 3px; }
.transport-progress progress::-webkit-progress-value { background: var(--green); border-radius: 3px; }
.transport-progress progress::-moz-progress-bar { background: var(--green); border-radius: 3px; }
.story-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.story-presets button { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; background: transparent; border: 1px solid #c8d4c5; border-radius: 5px; }
.story-presets button > span:first-child { font-size: 21px; line-height: 1.2; color: var(--green); margin-bottom: 4px; }
.story-presets button strong { font-size: 14px; font-weight: 600; }
.story-presets button > span:last-child { font-size: 12px; color: #53695c; }
.story-presets button[aria-pressed="true"] { border-color: var(--green); background: #fff; box-shadow: inset 0 -2px var(--green); }
.story-mode-description { font-size: 14px; color: #52665b; line-height: 1.5; margin-top: 12px; min-height: 42px; }
.selected-moment-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 15px; margin-top: 16px; border-top: 1px solid #cfdbcc; }
.selected-moment-controls > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.control-label { font-family: var(--mono); font-size: 11px; color: #53695c; letter-spacing: .4px; }
.selected-moment-controls strong { font-size: 14px; line-height: 1.3; font-weight: 500; }
#story-include { font-size: 14px; border: 1px solid var(--green); background: #fff; border-radius: 4px; color: var(--green); min-height: 44px; padding: 6px 10px; flex-shrink: 0; }
#story-include[aria-pressed="true"] { background: #e0ebdc; }
.context-action { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-top: 12px; }
.context-action p { font-size: 13px; line-height: 1.4; color: #546558; }
.context-action button { font-size: 13px; flex-shrink: 0; }
.story-edit { border-top: 1px solid var(--line); padding: 19px 22px 10px; }
.edit-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.edit-heading h3 { font-size: 17px; font-weight: 600; }
.edit-heading h3 span { font-weight: 400; color: var(--muted); }
.edit-heading p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.story-sequence { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 8px; padding: 0; list-style: none; }
.story-sequence li { display: flex; align-items: center; gap: 10px; }
.story-sequence li:not(:last-child):after { content: '→'; color: #8c9d8c; }
.sequence-moment { display: flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; border: 1px solid #cbd6c6; border-radius: 4px; background: #fff; font-size: 14px; min-height: 48px; }
.sequence-moment img { width: 50px; height: 36px; object-fit: cover; border-radius: 2px; }
.sequence-moment.is-selected { border-color: var(--green); background: #e8f0e2; }
.sequence-moment.is-playing { box-shadow: 0 0 0 2px #ba833c; }
.sequence-actions { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.sequence-move { display: flex; gap: 8px; }
.sequence-move button { border: 0; background: none; font-size: 14px; color: var(--green); padding: 4px 8px; min-height: 44px; }
.story-workspace button:disabled { opacity: .4; cursor: default; }
.empty-sequence { font-size: 16px; color: #596c60; padding: 8px 0; }
.story-narrative { border-top: 1px solid var(--line); margin-top: 8px; }
.story-narrative summary { display: flex; justify-content: space-between; cursor: pointer; padding: 12px 0; font-size: 16px; font-weight: 500; list-style: none; }
.story-narrative summary::-webkit-details-marker { display: none; }
.story-narrative[open] summary span { transform: rotate(45deg); }
.story-narrative p { font-family: var(--serif); font-size: 23px; line-height: 1.5; padding: 2px 0 16px; max-width: 950px; }
.story-caption-editor { padding: 12px 0; }
.story-caption-editor label { display: block; font-size: 16px; margin-bottom: 8px; }
.story-caption-editor textarea { display: block; width: 100%; padding: 12px; border: 1px solid #aebfaf; border-radius: 4px; background: white; color: var(--ink); font: 17px/1.5 var(--sans); resize: vertical; }
.story-caption-editor textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.story-caption-editor p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.story-feedback { min-height: 22px; font-size: 14px; color: #546b5b; line-height: 1.4; margin: 7px 0 0; }
.story-demo-note { padding: 13px 22px; border-top: 1px solid var(--line); color: #647566; background: #f2f4ed; font-size: 13px; line-height: 1.5; }
@media (hover: hover) {
  .story-event:hover { box-shadow: 0 3px 12px #172c2918; border-color: var(--green); }
  .story-video-option:hover, .story-browse:hover { border-color: var(--green); background: #e7efe3; }
  .text-control:not(:disabled):hover, .relation-links button:hover { text-decoration: underline; }
  .sequence-moment:hover, .story-presets button:hover { background: #e4eddf; }
}
@media (max-width: 1150px) {
  .explore-all { grid-column: 1; width: 600px; max-width: 100%; margin-inline: auto; }
  .story-main { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .story-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-inspect { display: grid; grid-template-columns: 65px minmax(0, 1fr); }
  .event-toggle { top: auto; bottom: 0; left: 10px; right: auto; }
  .event-thumb img { height: 100%; aspect-ratio: auto; }
  .event-body { padding: 7px; }
  .event-title { min-height: 0; font-size: 15px; }
  .event-time { font-size: 12px; margin-top: 3px; }
  .event-relationship { min-height: 18px; margin-top: 1px; font-size: 12px; }
  .event-number { top: 4px; left: 4px; font-size: 12px; }
  .story-map[data-count="3"], .story-map[data-count="5"], .story-map[data-count="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-map-column, .story-preview-column { padding: 18px; }
  .relation-row { gap: 5px; }
  .relation-links button { font-size: 13px; }
  .story-heading { align-items: start; }
  .story-heading p { max-width: 260px; }
  .story-presets button > span:last-child { display: none; }
  .story-presets button strong { font-size: 13px; }
  .selected-moment-controls { flex-wrap: wrap; }
  .context-action { flex-wrap: wrap; }
}
@media (max-width: 850px) {
  .story-main { grid-template-columns: minmax(0, 1fr); }
  .story-map { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .event-inspect { display: flex; }
  .event-toggle { top: 0; bottom: auto; left: auto; right: 0; }
  .event-thumb img { width: 100%; height: auto; aspect-ratio: 16/9; }
  .event-title { min-height: 39px; font-size: 16px; }
  .event-body { padding: 8px; }
  .story-map[data-count="3"], .story-map[data-count="5"], .story-map[data-count="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-preview-column { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .story-preview-column > .map-heading { grid-column: 1; margin: 0; }
  .story-player { grid-column: 1; grid-row: 2 / 5; }
  .story-transport { grid-column: 1; grid-row: 5; padding: 0; }
  .story-presets { grid-column: 2; grid-row: 2; }
  .story-mode-description { grid-column: 2; grid-row: 3; min-height: 0; margin: 0; }
  .selected-moment-controls { grid-column: 2; grid-row: 4; margin: 0; padding: 10px 0 0; }
  .context-action { grid-column: 2; grid-row: 5; margin: 0; }
  .story-presets button strong { font-size: 14px; }
}
@media (max-width: 700px) {
  .story-section { margin-top: 45px; }
  .story-heading { display: block; margin-bottom: 20px; }
  .story-heading h2 { font-size: 32px; line-height: 1.1; }
  .story-heading p { display: none; }
  .story-toolbar { padding: 8px 12px; gap: 10px; flex-wrap: nowrap; }
  .story-current-video { gap: 9px; }
  .story-current-video > img { width: 45px; height: 48px; }
  .story-current-video strong { font-size: 17px; }
  .story-current-video span { display: none; }
  .story-browse { font-size: 15px; padding: 8px 26px 8px 10px; }
  .browse-chevron { right: 8px; }
  .story-library { padding: 16px 12px; }
  .story-library > p { font-size: 16px; }
  .story-video-options, .story-video-options[data-category="activity"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .story-category-tabs { gap: 4px; }
  .story-category-tabs button { font-size: 16px; gap: 7px; padding-inline: 10px; }
  .story-video-option > img { aspect-ratio: 16/9; }
  .video-option-label { padding: 9px 8px 11px; }
  .video-option-label strong { font-size: 16px; }
  .video-option-label > span { font-size: 14px; }
  #story-reset { margin-left: auto; padding: 0; min-height: 32px; font-size: 14px; }
  .story-map-column { padding: 16px 12px; }
  .map-heading h3 { font-size: 18px; }
  .map-heading > span { font-size: 14px; }
  .story-map, .story-map[data-count="3"], .story-map[data-count="5"], .story-map[data-count="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .story-event { min-height: 88px; overflow: visible; }
  .event-inspect { display: grid; grid-template-columns: 44px minmax(0, 1fr); min-height: 88px; }
  .event-toggle { top: auto; bottom: 0; left: 0; right: auto; }
  .event-thumb { overflow: hidden; border-radius: 4px 0 0 4px; }
  .event-thumb img { height: 100%; width: 100%; aspect-ratio: auto; }
  .event-body { padding: 8px 6px; }
  .event-title { min-height: 0; font-size: 16px; line-height: 1.2; }
  .event-time { font-size: 12px; line-height: 1.3; }
  .event-relationship { font-size: 12px; line-height: 1.5; }
  .relation-legend { font-size: 14px; gap: 14px; margin: 15px 0; }
  .relation-row { grid-template-columns: 1fr 12px 1fr 12px 1fr; gap: 4px; align-items: start; }
  .relation-label { font-size: 11px; }
  .relation-links button { font-size: 14px; min-height: 44px; }
  .relation-arrow { margin-top: 33px; font-size: 15px; }
  .relation-empty { font-size: 14px; }
  .relation-explanation { font-size: 17px; margin-top: 12px; }
  .story-preview-column { display: block; padding: 16px 12px; }
  .story-preview-column > .map-heading { margin-bottom: 14px; }
  .story-player { aspect-ratio: 16/10; }
  .story-player-caption { font-size: 16px; }
  .playing-badge { font-size: 14px; }
  .story-transport { margin: 14px 0 18px; }
  .play-edit { font-size: 16px; }
  .transport-progress { font-size: 14px; }
  .story-presets button { padding: 12px 4px; }
  .story-presets button strong { font-size: 16px; }
  .story-presets button > span:last-child { display: block; font-size: 13px; }
  .story-mode-description { font-size: 17px; margin-top: 14px; }
  .selected-moment-controls { margin-top: 20px; padding-top: 16px; flex-wrap: nowrap; }
  .selected-moment-controls strong { font-size: 16px; }
  .control-label { font-size: 12px; }
  #story-include { font-size: 16px; }
  .context-action { margin-top: 12px; }
  .context-action p, .context-action button { font-size: 15px; }
  .story-edit { padding: 18px 12px 10px; }
  .edit-heading h3 { font-size: 18px; }
  .edit-heading p { font-size: 16px; }
  .story-sequence { gap: 8px; }
  .story-sequence li { gap: 8px; }
  .sequence-moment { padding: 3px 8px 3px 3px; gap: 6px; font-size: 15px; }
  .sequence-moment img { width: 32px; height: 36px; }
  .sequence-move button { padding-inline: 4px; font-size: 16px; }
  .story-narrative summary { font-size: 17px; }
  .story-narrative p { font-size: 23px; }
  .story-feedback { font-size: 15px; }
  .story-demo-note { padding: 14px 12px; font-size: 14px; }
  .story-caption-editor p { font-size: 15px; }
}
@media (max-width: 360px) {
  .story-category-tabs button { padding-inline: 7px; gap: 5px; }
  .story-current-video > img { display: none; }
  .story-event { grid-template-columns: 32px minmax(0, 1fr); }
  .event-body { padding: 8px 4px; }
  .event-number { left: 2px; padding-inline: 3px; }
  .story-map { gap: 8px; }
  .story-presets button strong { font-size: 15px; }
  .story-presets button > span:last-child { font-size: 12px; }
  .selected-moment-controls { flex-wrap: wrap; }
}

.edit-history { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
@media(max-width:700px) { .edit-history { gap: 10px; } .edit-heading { flex-wrap: wrap; } .edit-heading > div:first-child { flex: 1 1 210px; } .edit-history { margin-left: auto; } }


.direction-arrow { display: block; width: 100%; height: 20px; overflow: visible; }
.direction-track { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.direction-flow { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 18 82; opacity: 0; }
.relation-arrow { width: 24px; justify-self: center; }
.relation-arrow.before { color: #a66c26; }
.relation-arrow.after { color: #527d99; }
.relation-arrow[data-active="false"] { visibility: hidden; }
.relation-row { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr); }
.step-connector .direction-arrow { width: 46px; height: 24px; }
.focus-event img { transition: filter .24s ease; }
.focus-event[aria-pressed="true"] img { filter: saturate(1.1); }
.story-event { transition: background .24s ease, border-color .24s ease, box-shadow .24s ease; }
.story-presets button, .story-video-option, .sequence-moment, .story-browse, .text-control, .resource-card, .figure-open, .play-edit, .dataset-tabs button, .story-category-tabs button {
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .24s cubic-bezier(.22, 1, .36, 1);
}
.bar-fill { transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
  [data-motion="playing"] [data-motion-visible="true"] .focus-connection[data-active="true"] .connection-flow,
  [data-motion="playing"] [data-motion-visible="true"] .relation-arrow[data-active="true"] .direction-flow,
  [data-motion="playing"] .method-steps[data-motion-visible="true"] .direction-flow {
    opacity: 1;
    animation: connection-travel 2s linear infinite;
  }
  [data-motion="playing"] .causal-study[data-motion-visible="true"] .focus-junction-halo { animation: junction-breathe 2s ease-in-out infinite; }
  [data-motion="playing"] .results-panel[data-motion-visible="true"] .bar-fill { animation: bar-reveal .65s cubic-bezier(.22, 1, .36, 1) both; }
  .chart-row:nth-child(2) .bar-fill { animation-delay: .04s; }
  .chart-row:nth-child(3) .bar-fill { animation-delay: .08s; }
  .chart-row:nth-child(4) .bar-fill { animation-delay: .12s; }
  .chart-row:nth-child(5) .bar-fill { animation-delay: .16s; }
  .chart-row:nth-child(6) .bar-fill { animation-delay: .2s; }
  [data-motion="playing"] .story-presets button:active,
  [data-motion="playing"] .story-video-option:active,
  [data-motion="playing"] .button:active { transform: scale(.98); }
  @media (hover: hover) {
    [data-motion="playing"] .story-video-option:hover,
    [data-motion="playing"] .resource-card:hover { transform: translateY(-3px); box-shadow: 0 9px 22px #17372b10; }
    [data-motion="playing"] .figure-open:hover { transform: translateY(-2px); box-shadow: 0 7px 22px #17372b0d; }
    .motion-toggle:hover { color: var(--green); }
  }
}
[data-motion="paused"] *, [data-motion="paused"] *::before, [data-motion="paused"] *::after { animation: none !important; transition: none !important; }
@keyframes connection-travel { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes junction-breathe { 0%, 100% { opacity: .12; } 50% { opacity: .42; } }
@keyframes bar-reveal { from { transform: scaleX(.03); } to { transform: scaleX(1); } }
@media (max-width: 700px) {
  .motion-toggle { font-size: 14px; min-height: 44px; }
  .relation-row { grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr); }
  .relation-arrow { width: 16px; }
  .step-connector { display: flex; align-items: center; justify-content: center; justify-self: start; width: 24px; height: 30px; margin-left: 40px; }
  .step-connector .direction-arrow { flex-shrink: 0; width: 34px; transform: rotate(90deg); }
}
