@font-face {
  font-family: "Google Sans";
  src: url("../fonts/google-sans-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #192839;
  --muted: #4c6174;
  --link: #245578;
  --line: #d3dde4;
  --body-font: "Noto Sans", Arial, sans-serif;
  --title-font: "Google Sans", "Noto Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 var(--body-font);
  margin: 0;
}
p, figure, h1, h2, h3 { margin: 0; }
h1 { font: 600 clamp(2rem, 3.6vw, 3rem)/1.125 var(--title-font); }
h2 { font-size: 2rem; line-height: 1.125; font-weight: 600; }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 600; }
p + p { margin-top: .9rem; }
a { color: var(--link); text-underline-offset: .19em; text-decoration-thickness: 1px; }
a:hover { color: #153b58; text-decoration: underline; }
:focus-visible { outline: 3px solid #3675a2; outline-offset: 3px; }
img, video { display: block; max-width: 100%; }
.shell { width: min(1120px, calc(100% - clamp(2.25rem, 8vw, 7.5rem))); margin-inline: auto; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; padding: .5rem 1rem; background: white; z-index: 2; }
.bar { border-bottom: 1px solid var(--line); background: #f5f8fa; }
.bar-inner, nav, .resources, .section-line, .footer-inner { display: flex; align-items: center; flex-wrap: wrap; }
.bar-inner, .section-line, .footer-inner { justify-content: space-between; gap: .6rem 1.4rem; }
.bar-inner { min-height: 3.75rem; padding-block: .65rem; }
.wordmark { font: 600 1.15rem/1.2 var(--title-font); color: var(--ink); }
nav { gap: .25rem clamp(.8rem, 2vw, 1.65rem); }
.wordmark, nav a, .resources a { text-decoration: none; }
nav a { color: var(--muted); font-size: .9rem; }
.masthead { display: grid; grid-template-columns: 1.18fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.4rem, 5.2vw, 4.8rem) clamp(1.8rem, 3vw, 3rem); }
.venue { color: var(--link); font-size: .9rem; font-weight: 600; line-height: 1.5; margin-bottom: 1rem; }
.resources { gap: .45rem; margin-top: 1.6rem; }
.resources a { color: var(--ink); font-size: .88rem; font-weight: 550; border: 1px solid #bfcfda; padding: .35rem .78rem; border-radius: .25rem; }
.resources a:hover { background: #eef4f8; }
.resources .primary { background: #244b68; color: white; border-color: #244b68; }
.resources .primary:hover { background: #18384f; }
.sequence { display: grid; grid-template-columns: 1fr 1fr; gap: .38rem; }
.frame img { width: 100%; height: auto; }
.frame span { display: block; color: var(--muted); font-size: .85rem; margin-top: .22rem; }
.credits { border-top: 1px solid var(--line); padding: 1.2rem 0 clamp(1.8rem, 3vw, 2.5rem); }
.authors, .affiliations { font: 400 1.25rem/1.5 var(--title-font); }
.authors span { white-space: nowrap; }
.authors sup, .affiliations sup { color: var(--link); font-size: .68em; line-height: 0; }
.authors sup { margin-left: .1em; }
.affiliations { margin: .55rem 0 0; padding: 0; list-style: none; color: var(--muted); }
.corresponding { display: inline-block; margin-left: 1em; font: 400 1rem/1.5 var(--body-font); }
.section { border-top: 1px solid var(--line); padding-block: clamp(2.1rem, 5vw, 4.25rem); }
.overview-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.lead { margin-top: 1rem; }
.overview-figure img, .pipeline img { width: 100%; height: auto; background: white; }
figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.section-intro { max-width: 68ch; margin-top: .8rem; color: var(--muted); }
.materials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 2vw, 1.4rem); margin: 1.5rem 0 2.5rem; }
.materials video { width: 100%; height: auto; background: #eef2f5; }
.materials figcaption { color: var(--ink); }
.adaptation { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 4vw, 3rem); }
.adaptation p { margin: .55rem 0; }
.adaptation table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.adaptation caption { text-align: left; padding-bottom: .35rem; color: var(--muted); }
.adaptation th, .adaptation td { text-align: right; padding: .34rem 0 .34rem .45rem; border-bottom: 1px solid var(--line); }
.adaptation th:first-child { text-align: left; padding-left: 0; }
.adaptation th { font-weight: 600; }
.adaptation td { font-variant-numeric: tabular-nums; }
.pipeline { margin: 1.5rem 0; }
.pipeline img { padding: .45rem; }
.method-notes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.25rem,3.3vw,3rem); }
.method-notes h3 { color: var(--link); }
.method-notes p { margin-top: .4rem; }
.video-section, .endmatter { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.8fr); gap: clamp(1.7rem,5vw,4rem); align-items: start; }
.video-section p, .endmatter p { margin: .75rem 0; }
.full-video { width: 100%; aspect-ratio: 16/9; background: #1b2530; }
.section-line { margin-bottom: 1rem; }
pre { margin: 0; background: #f1f5f8; border-left: 3px solid #829db1; padding: 1.2rem; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .86rem; line-height: 1.65; }
.endmatter { grid-template-columns: repeat(2,minmax(0,1fr)); }
.endmatter h2 { font-size: 1.5rem; }
.endmatter a { overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { padding-block: 1.2rem; font-size: .88rem; }
@media (max-width: 760px) {
  .masthead, .overview-grid, .video-section, .adaptation { grid-template-columns: 1fr; }
  .masthead { gap: 1.5rem; }
  .sequence { max-width: 35rem; }
  .materials { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 1rem; }
  .frame img { aspect-ratio: 4/4.3; object-fit: cover; object-position: center 59%; }
  .method-notes { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bar-inner { align-items: flex-start; gap: .15rem 1rem; }
  nav { font-size: .85rem; gap: .25rem .8rem; }
  .endmatter { grid-template-columns: 1fr; }
  .materials figcaption { font-size: .82rem; }
  .authors, .affiliations { font-size: 1.1rem; }
}
