:root {
  color-scheme: light;
  --ink: #20282e;
  --night: #142c38;
  --text: #333c43;
  --muted: #545e65;
  --blue: #376b86;
  --amber: #ddb17a;
  --paper: #f7f7f8;
  --rule: #d8dcdf;
  --surface: #fff;
  --mist: #eff1f2;
  --nav-paper: rgba(247,247,248,.88);
  --nav-paper-solid: var(--paper);
  --chapter-space: clamp(2.25rem,3.7vw,4rem);
  --panel-radius: clamp(.75rem,1vw,1.1rem);
  --selected: #dce8ed;
  --dark-panel: #203c4c;
  --ice: #95bdcf;
  --ochre: #986530;
  --baseline: #788993;
  --serif: "STIX Two Text", Baskerville, "Baskerville Old Face", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --section-size: clamp(1.9rem, 3.15vw, 3.1rem);
  --section-face: 440 var(--section-size)/1.07 var(--serif);
  --section-tracking: -.026em;
  --brand-face: 580 1.47rem/1 var(--serif);
  --tab-size: .97rem;
  --tab-face: 550 var(--tab-size)/1.25 var(--sans);
  --panel-face: 600 1.16rem/1.2 var(--sans);
  --caption-face: 400 .98rem/1.5 var(--sans);
  --reading-measure: 82ch;
  --project-width: min(88.5%, 87rem);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid #d99b48; outline-offset: 4px; }
a:hover { text-underline-offset: .27em; }
figure, h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.wrap { width: var(--project-width); margin-inline: auto; }
@media (min-width: 1100px) {
  :root { --project-width: min(92%, calc(100% - 7rem), 176rem); }
}
@media (min-width: 1500px) and (min-height: 850px) {
  :root { font-size: clamp(100%, min(calc(62.5% + .4vw), calc(65% + .62vh)), 125%); }
}
.skip { position: fixed; z-index: 9; top: -8rem; left: 1rem; padding: .7rem 1rem; background: white; color: #142b35; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.site-header, .hero { color: #faf9f2; }
.site-header { border-bottom: 1px solid #40525a; }
.mast, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.mast { min-height: 4.45rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: 600 1.55rem/1 var(--serif); text-decoration: none; letter-spacing: -.035em; white-space: nowrap; }
.brand img { border-radius: 4px; }
nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 3rem); }
nav a, .footer-inner > a:last-child { font-size: .925rem; text-decoration: none; }
nav a:hover, .footer-inner > a:last-child:hover { text-decoration: underline; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.06fr; align-items: center; gap: clamp(2.4rem, 5vw, 5.25rem); padding-block: clamp(2.25rem, 4.2vw, 4.5rem) clamp(2.7rem, 4.2vw, 4.5rem); }
.kicker { font: 600 .755rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.hero-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: .66rem; color: #cedbdd; }
.hero-kicker i { display: inline-block; width: 1.65rem; height: 2px; background: var(--amber); }
.hero-kicker span { color: #82989e; }
.hero h1 { font-weight: 400; font-family: var(--serif); }
.paper-name { display: block; margin: clamp(1rem, 1.7vw, 1.8rem) 0 .85rem; font-size: clamp(5.8rem, 7.75vw, 8.2rem); letter-spacing: -.066em; line-height: .95; }
.paper-title { display: block; max-width: 21em; font-size: clamp(1.72rem, 2.3vw, 2.42rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.1; text-wrap: pretty; }
.hero-actions { margin-top: 1.8rem; display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.4rem; }
.button { display: inline-flex; gap: .7rem; align-items: center; justify-content: center; font-weight: 600; font-size: .965rem; text-decoration: none; border-radius: 3px; min-height: 2.95rem; padding: .7rem 1.05rem; }
.primary { background: #f3e6cb; color: #1f3439; }
.primary:hover { background: #fff1d5; }
.play { display: inline-block; width: 0; height: 0; border-block: .32rem solid transparent; border-left: .55rem solid currentColor; }
.preprint { color: #b5c4c8; font-size: .895rem; }
a.preprint { color: #ffdfae; text-underline-offset: .23em; }
.sequence { min-width: 0; align-self: center; }
.sequence-head { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: .62rem; }
.sequence-head > span:last-child { color: #c1cfd2; font: .8rem/1.4 var(--sans); }
.sequence-head .kicker { display: flex; align-items: center; gap: .64rem; color: #e2e8e6; font-size: .72rem; letter-spacing: .1em; }
.frame-mark { height: .64rem; width: .86rem; display: inline-block; border: 1px solid var(--amber); box-shadow: 2px -2px 0 -1px var(--night), 2px -2px var(--amber); }
.sequence-image { background: #263b42; aspect-ratio: 1.60; overflow: hidden; position: relative; }
.sequence-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 47%; }
.sequence-image::after { content: ""; position: absolute; inset: 0; border: 1px solid #ffffff2b; pointer-events: none; }
.sequence-steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.sequence-steps button { color: #bdcbd0; min-height: 2.95rem; background: #1b333e; border: 0; border-right: 1px solid #3b5058; border-top: 2px solid transparent; font-size: .89rem; font-weight: 500; }
.sequence-steps button:last-child { border-right: 0; }
.sequence-steps button span { font: .75rem var(--sans); margin-right: .42rem; color: #adbdc2; }
.sequence-steps button[aria-selected="true"] { border-top-color: var(--amber); background: #33444a; color: white; }
.sequence-steps button[aria-selected="true"] span { color: #f4c88e; }
.sequence-steps button:hover { background: #344b54; color: white; }
.section { padding-block: var(--chapter-space); }
.ink-label { color: var(--blue); margin-bottom: .65rem; }
.section-title { font: var(--section-face); letter-spacing: var(--section-tracking); color: var(--ink); text-wrap: balance; }
.method-grid { margin-top: 2rem; display: grid; grid-template-columns: .85fr 1.25fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.method-body p, .section-lede, .film-desc { font-size: 1.02rem; line-height: 1.65; }
.method-body p + p { margin-top: .8rem; }
.film-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.3rem; margin-top: 1.2rem; }
.film-links .text-action { margin-top: 0; }
.text-action { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.2rem; color: var(--blue); font-weight: 600; font-size: .92rem; text-decoration: underline; text-underline-offset: .22em; }
.expand-icon { display: inline-block; width: .9rem; height: .85rem; border: 1px solid currentColor; box-shadow: -2px 2px var(--paper), -3px 3px currentColor; }
.method-figure { background: white; border: 1px solid var(--rule); }
.figure-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem; padding: 1rem 1.15rem .65rem; color: #4d6066; font-size: .83rem; }
.figure-legend span { display: flex; align-items: center; gap: .45rem; }
.figure-legend i { display: inline-block; width: .65rem; height: .65rem; border-radius: 2px; }
.visual-key { background: #638cac; }.action-key { background: #c58d53; }
.method-figure img { width: 100%; padding: .25rem .5rem .7rem; }
figcaption { font: .88rem/1.55 var(--sans); color: var(--muted); }
.method-figure figcaption { padding: .75rem 1.15rem; border-top: 1px solid #e2e5df; }
.abstract { margin-top: 1.85rem; border-block: 1px solid var(--rule); }
.abstract summary { padding: .85rem 0; cursor: pointer; color: var(--ink); font-size: .96rem; font-weight: 600; }
.abstract summary:focus-visible { outline: 3px solid #d99b48; outline-offset: 3px; }
.abstract summary::marker { color: var(--blue); }
.abstract div { max-width: 54rem; font-size: 1rem; line-height: 1.68; padding-bottom: 1.2rem; }
.abstract p + p { margin-top: .65rem; }
.results { border-block: 1px solid var(--rule); background: #eaf0ee; }
.section-lede { max-width: 46rem; margin-top: 1.1rem; color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 2.35rem; border-block: 1px solid #a9bcb9; }
.metrics article { padding: 1.45rem clamp(1rem, 2.4vw, 2.7rem) 1.7rem; border-left: 1px solid #b8c7c4; }
.metrics article:first-child { padding-left: 0; border-left: 0; }
.metrics article:last-child { padding-right: 0; }
.metric-context { font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.metric-context span { display: inline-block; font: .8rem/1.5 var(--sans); color: var(--muted); margin-left: .47rem; }
.metric-context sub { line-height: 0; }
.metric-value { font: 400 clamp(3.65rem, 5.3vw, 5.6rem)/1.25 var(--serif); color: #2f637d; letter-spacing: -.065em; }
.metric-value span { font-size: .6em; margin-left: .035em; }
.metrics article > p:last-child, .efficiency p, .section-head > p, .task > p { color: var(--muted); font-size: .965rem; line-height: 1.55; }
.efficiency { display: flex; align-items: center; gap: 1.35rem; padding-top: 1.45rem; }
.efficiency strong { color: #67502d; font: 400 2.45rem/1 var(--serif); letter-spacing: -.055em; white-space: nowrap; }
.efficiency p { max-width: 53rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.section-head > p { max-width: 15rem; }
.tasks { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem, 1.65vw, 1.7rem); margin-top: 2.1rem; }
.task { display: flex; flex-direction: column; min-width: 0; }
.task-link { text-decoration: none; color: var(--ink); }
.task-link:hover h3 { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.task-photo { aspect-ratio: 1.5; position: relative; overflow: hidden; background: #e9ece6; }
.task-photo img { width: 100%; height: 100%; object-fit: cover; }
.play-disc { position: absolute; bottom: .65rem; right: .65rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; color: white; background: #172c34de; border: 1px solid #ffffff8f; }
.play-disc .play { margin-left: .12rem; }
.task h3 { margin: .88rem 0 .4rem; font: 500 clamp(1.36rem, 1.8vw, 1.8rem)/1.14 var(--serif); letter-spacing: -.035em; }
.task > p { margin-bottom: .8rem; }
.task-result { margin-top: auto; padding-top: .72rem; border-top: 1px solid var(--rule); display: flex; align-items: baseline; justify-content: space-between; gap: .3rem; }
.task-result > span { font-weight: 500; font-size: .95rem; }.task-result b { color: var(--blue); }
.task-result small, .results-note, .player-caption { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.results-note { margin-top: 1.3rem; }
.film-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(2.25rem, 5vw, 5rem); }
.film-grid .section-title { color: #faf9f2; margin-top: .8rem; }
.film-desc { margin-top: 1rem; max-width: 28rem; color: #c2d0d2; }
.chapters { margin-top: 1.15rem; }
.chapters a { display: flex; align-items: baseline; gap: 1rem; padding: .43rem 0; text-decoration: none; font-size: .94rem; width: fit-content; }
.chapters a:hover { text-decoration: underline; }
.chapters time { font: .83rem var(--sans); color: var(--amber); }
.player-wrap { min-width: 0; }
video { display: block; background: #0c1b23; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.player-caption { margin-top: .65rem; color: #c2d0d2; }.player-caption span { margin-inline: .28rem; }
.footer-inner { min-height: 4.65rem; }
.footer-inner .brand { font-size: 1.35rem; }
dialog { width: min(94vw, 85rem); max-height: 90dvh; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); padding: 1rem; }
dialog::backdrop { background: #0b1e27d6; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 0 .8rem; }
.dialog-head h2 { font: 500 1.55rem var(--serif); }
.dialog-head button { padding: .45rem .85rem; color: var(--ink); background: white; border: 1px solid var(--rule); }
.diagram-scroll { overflow: auto; max-height: 68dvh; background: white; }
.diagram-scroll img { width: 100%; min-width: 44rem; }
.original { display: inline-block; margin-top: .55rem; font-size: .9rem; color: var(--blue); }
@media(max-width: 1050px) {
  .wrap { width: 91%; }
  .hero-grid { gap: 2rem; grid-template-columns: 1fr 1fr; }
  .paper-name { font-size: 5.8rem; }.paper-title { font-size: 1.83rem; }
  .sequence-image { aspect-ratio: 1.33; }
  .method-grid { gap: 2rem; grid-template-columns: .93fr 1.07fr; }
  .tasks { grid-template-columns: repeat(2,1fr); gap: 2rem 1.4rem; }
}
@media(max-width: 750px) {
  .wrap { width: 90%; }
  .mast { min-height: 3.85rem; gap: .7rem; }
  .mast .brand { font-size: 1.32rem; gap: .4rem; }.mast .brand img { width: 24px; }
  nav { gap: .9rem; }nav a { font-size: .82rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.4rem 2.25rem; }
  .paper-name { font-size: clamp(5.1rem, 15vw, 7rem); margin-block: 1rem .55rem; }
  .paper-title { font-size: clamp(1.68rem, 5.6vw, 2rem); }
  .hero-actions { margin-top: 1.2rem; }
  .sequence-image { aspect-ratio: 1.65; }
  .method-grid, .film-grid { grid-template-columns: 1fr; }
  .method-grid { margin-top: 1.2rem; gap: 1.5rem; }
  .section-head { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .section-head > p { max-width: none; }
  .metrics { grid-template-columns: 1fr; margin-top: 1.45rem; }
  .metrics article, .metrics article:first-child, .metrics article:last-child { padding: 1.1rem 0; border-left: 0; display: grid; grid-template-columns: 7.9rem 1fr; gap: .2rem .8rem; align-items: center; }
  .metrics article + article { border-top: 1px solid #b8c7c4; }
  .metric-value { grid-column: 1; grid-row: 1 / 3; font-size: 3.3rem; }.metric-context { grid-column: 2; }
  .metrics article > p:last-child { grid-column: 2; }
  .efficiency { align-items: flex-start; gap: 1rem; }
  .film-grid { gap: 1.65rem; }.film-desc { max-width: none; }
  :root { --section-size: clamp(1.78rem, 5.6vw, 2.2rem); --tab-size:.875rem; }
}
@media(max-width: 440px) {
  .paper-name { font-size: clamp(4.15rem, 21vw, 5.4rem); }
  .mast { flex-wrap: wrap; padding-block: .7rem; gap: .55rem; }
  nav { gap: .7rem; }
  nav a { font-size: .8rem; }
  .hero-kicker { font-size: .68rem; }
  .hero-actions { gap: .85rem; }.button { font-size: .9rem; }.preprint { font-size: .84rem; }
  .sequence-steps button { font-size: .84rem; }.sequence-steps button span { margin-right: .17rem; }
  .metrics article, .metrics article:first-child, .metrics article:last-child { grid-template-columns: 6.9rem 1fr; }
  .metric-value { font-size: 2.85rem; }
  .tasks { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Use the text family's tabular figures in quantitative and timed views. */
:where(table, output, time, svg text, .sc-section, .sys-profile, .ab-panel, .rc-board, .rollout-scores, .reel-footer, .dg-figure) {
  font-variant-numeric: lining-nums tabular-nums;
}
