:root {
  color-scheme: light;
  --paper: #f6f7f3;
  --ink: #153638;
  --muted: #506466;
  --dark: #0b2629;
  --accent: #137363;
  --mint: #9ed6c4;
  --line: #d8e1da;
  --font: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { color: var(--dark); background: var(--mint); }
a { color: inherit; text-underline-offset: 5px; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.opening :focus-visible { outline-color: var(--mint); }
button { font: inherit; }
img, video { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h2 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.13; letter-spacing: -.045em; text-wrap: balance; }
h3 { font-size: 22px; letter-spacing: -.018em; line-height: 1.3; }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 112px; }
.skip-link { position: fixed; z-index: 20; left: 20px; top: -100px; padding: 12px 20px; color: var(--dark); background: var(--paper); }
.skip-link:focus { top: 12px; }
.opening { color: #f2f6f1; background: var(--dark); padding-bottom: 25px; }
.header-surface { color: #f2f6f1; background: var(--dark); }
.header-surface :focus-visible { outline-color: var(--mint); }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 88px; gap: 28px; border-bottom: 1px solid #ffffff20; }
.wordmark { font-size: 21px; font-weight: 600; letter-spacing: -.04em; text-decoration: none; }
.site-header nav { display: flex; gap: 32px; font-size: 16px; }
.site-header nav a { color: #c0d2ce; text-decoration: none; transition: color .18s ease; }
.site-header nav a:hover { color: white; }
.hero { padding-top: 62px; padding-bottom: 46px; }
.project-name { display: block; font-size: clamp(68px, 8.6vw, 114px); line-height: 1.04; font-weight: 600; letter-spacing: -.073em; }
.project-title { display: block; margin-top: 23px; max-width: 1060px; font-size: clamp(29px, 3.1vw, 43px); line-height: 1.22; letter-spacing: -.036em; }
.project-title > span { color: var(--mint); }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-top: 36px; }
.hero-actions { display: flex; gap: 12px; flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 10px 20px; border: 1px solid transparent; border-radius: 5px; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--dark); background: #d8eddf; }
.button-light:hover { background: #eff9f0; }
.button-outline { color: #e1ebe4; border-color: #ffffff40; }
.button-outline:hover { border-color: #a4c9bb; background: #ffffff09; }
.video-section { scroll-margin-top: 30px; }
.video-frame { overflow: hidden; border: 1px solid #ffffff24; border-radius: 6px; background: #081d20; box-shadow: 0 22px 70px #041e2035; }
video { width: 100%; height: auto; aspect-ratio: 16/9; background: #0b2227; }
.video-caption { display: flex; justify-content: space-between; gap: 24px; margin-top: 18px; color: #adc5bf; font-size: 16px; }
.video-caption a { text-decoration: none; }
.video-caption a:hover { text-decoration: underline; }
.video-transcript { margin-top: 10px; color: #adc5bf; font-size: 16px; }
.video-transcript > summary { font-size: 16px; padding-block: 10px; justify-content: start; gap: 15px; }
.video-transcript > summary > span { font-size: 21px; }
.transcript-copy { max-width: 850px; padding-top: 10px; padding-bottom: 20px; }
.transcript-copy p + p { margin-top: 18px; }
.question { display: grid; grid-template-columns: 1.05fr 1fr; gap: 92px; align-items: start; }
.question h2 { max-width: 600px; }
.question-copy { color: var(--muted); }
.question-copy p + p { margin-top: 22px; }
.framework { border-top: 1px solid var(--line); padding-top: 94px; }
.section-intro { max-width: 750px; }
.section-intro > p { max-width: 680px; margin-top: 25px; color: var(--muted); }
.framework-figure { margin-top: 44px; padding: 22px; background: #fff; border: 1px solid #e0e7df; border-radius: 6px; }
.figure-link { display: block; border-radius: 3px; }
.framework-figure img { width: 100%; height: auto; }
.framework-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; margin-top: 38px; }
.framework-notes p { margin-top: 13px; color: var(--muted); }
.profile-details, .citation { margin-top: 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; padding-block: 21px; font-size: 18px; font-weight: 500; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary > span { font-size: 25px; line-height: 1; font-weight: 300; transition: transform .2s; }
details[open] > summary > span { transform: rotate(45deg); }
.profile-details figure { padding-bottom: 30px; }
.profile-details img { width: 100%; height: auto; background: white; }
.profile-details img { height: auto; }
figcaption { color: var(--muted); max-width: 820px; font-size: 16px; margin-top: 20px; }
.results { background: #e9efe7; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; margin-top: 56px; padding-block: 0 30px; border-bottom: 1px solid #cdd8cd; }
.result-item { display: flex; flex-direction: column; }
.result-item dd { order: -1; color: var(--accent); font-size: clamp(62px, 7.2vw, 96px); font-weight: 500; letter-spacing: -.07em; line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; }
.result-item dd span { margin-left: 5px; font-size: .47em; letter-spacing: -.04em; }
.result-item dt { margin-top: 16px; font-size: 19px; line-height: 1.4; }
.robot-result dd { color: #607774; }
.result-definition { color: #566b63; max-width: 780px; font-size: 16px; margin-top: 20px; }
.results-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 42px; color: #405b51; }
.resources { display: grid; grid-template-columns: 1fr 1fr; column-gap: 110px; row-gap: 30px; }
.resource-copy > p { color: var(--muted); max-width: 510px; margin-top: 25px; }
.resource-links { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 26px; }
.text-link { display: inline-flex; gap: 24px; align-items: center; padding-block: 6px; text-decoration: none; border-bottom: 1px solid #99b4a7; font-weight: 500; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.boundary { border-left: 1px solid var(--line); padding-left: 35px; }
.boundary h3 { margin-bottom: 20px; }
.boundary p { font-size: 17px; color: var(--muted); }
.boundary p + p { margin-top: 18px; }
.citation { grid-column: 1/-1; margin-top: 22px; }
.citation-body { position: relative; padding: 6px 0 28px; }
pre { overflow-x: auto; margin: 0 0 20px; padding: 22px 25px; border-radius: 5px; background: #eaf0e9; color: #24433a; font: 15px/1.7 "Cascadia Code", "SFMono-Regular", Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-button { color: var(--ink); background: transparent; border: 1px solid #a5baad; border-radius: 5px; padding: 9px 16px; font-size: 16px; cursor: pointer; }
.copy-button:hover { background: #e4eee3; }
.copy-status { font-size: 16px; margin-left: 14px; color: var(--accent); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-block: 30px 40px; }
.repository-link { font-size: 15px; color: var(--muted); text-decoration: none; }
.repository-link:hover { text-decoration: underline; }
.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal-ready.is-visible { opacity: 1; transform: none; }

@media (min-width: 1440px) {
  .hero { padding-top: 72px; padding-bottom: 50px; }
}
@media (max-width: 1150px) {
  .hero-bottom { align-items: start; flex-direction: column; gap: 22px; }
  .question { gap: 55px; }
  .framework-notes, .results-copy { gap: 50px; }
  .resources { column-gap: 65px; }
}
@media (max-width: 768px) {
  .shell { width: calc(100% - 48px); }
  .site-header { min-height: 77px; }
  .site-header nav { gap: 19px; font-size: 15px; }
  .hero { padding-top: 48px; padding-bottom: 32px; }
  .project-name { font-size: clamp(57px, 10vw, 80px); }
  .project-title { font-size: clamp(27px, 4.3vw, 36px); max-width: 640px; }
  .desktop-break { display: none; }
  .hero-bottom { margin-top: 27px; }
  .opening { padding-bottom: 26px; }
  .video-caption { font-size: 15px; }
  .section { padding-block: 74px; }
  .question { grid-template-columns: 1fr; gap: 28px; }
  h2 { font-size: clamp(31px, 5.2vw, 41px); }
  .question h2 { max-width: 620px; }
  .framework-figure { padding: 12px; margin-top: 32px; }
  .framework-notes { gap: 35px; }
  .framework-notes p { font-size: 17px; }
  .result-grid { gap: 25px; margin-top: 38px; }
  .result-item dd { font-size: clamp(52px, 9.5vw, 75px); }
  .result-item dt { font-size: 17px; max-width: 180px; }
  .results-copy { grid-template-columns: 1fr; gap: 23px; margin-top: 30px; }
  .resources { grid-template-columns: 1fr; gap: 38px; }
  .boundary { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .citation { margin-top: 0; }
  .site-footer { align-items: start; flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .shell { width: calc(100% - 36px); }
  .site-header { min-height: 71px; gap: 14px; }
  .site-header .wordmark { font-size: 19px; }
  .site-header nav { gap: 15px; font-size: 14px; }
  .site-header nav a:first-child { display: none; }
  .hero { padding-top: 39px; }
  .project-name { font-size: clamp(50px, 13vw, 63px); }
  .project-title { margin-top: 21px; font-size: 29px; line-height: 1.22; }
  .hero-actions { width: 100%; gap: 9px; }
  .button { gap: 11px; padding-inline: 14px; font-size: 15px; min-height: 47px; }
  .video-caption { align-items: start; font-size: 14px; gap: 20px; }
  .video-caption p { max-width: 190px; }
  .video-caption a { white-space: nowrap; }
  .section { padding-block: 59px; }
  h2 { font-size: 33px; }
  h3 { font-size: 21px; }
  .framework-figure { margin-inline: -7px; padding: 6px; }
  .framework-notes { grid-template-columns: 1fr; gap: 25px; }
  .profile-details { margin-top: 30px; }
  summary { font-size: 17px; }
  .result-grid { grid-template-columns: 1fr; gap: 25px; padding-bottom: 27px; }
  .result-item { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 20px; }
  .result-item dd { font-size: 67px; }
  .result-item dt { margin-top: 0; }
  .result-definition { font-size: 15px; }
  .resources { gap: 31px; }
  .boundary p { font-size: 16px; }
}
@media (max-width: 360px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-ready { opacity: 1; transform: none; }
  .button:hover { transform: none; }
}
