@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #102c32;
  --muted: #4a6163;
  --dark: #102b34;
  --deep: #0c232b;
  --mint: #a7f0d4;
  --teal: #006d62;
  --edge: #cbd8d5;
  --milk: #fbfcfa;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--milk);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible, pre:focus-visible, video:focus-visible {
  outline: 3px solid #e8833f; outline-offset: 4px;
}
::selection { color: var(--deep); background: #a7f0d4; }
img, video { display: block; max-width: 100%; }
sup, sub { line-height: 0; }
.wrap { width: min(91%, 79rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: fixed; z-index: 8; top: 1rem; left: 1rem; background: white; padding: .8rem; }
.mast, .hero, .film { color: #f4faf7; background: var(--dark); }
.mast-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; border-bottom: 1px solid #385058; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 670; letter-spacing: -.035em; text-decoration: none; }
.symbol { width: 1.65rem; height: 1.45rem; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.symbol i { background: var(--mint); height: 3px; display: block; transform: skewX(-35deg); }
.symbol i:nth-child(1) { width: 22px; }
.symbol i:nth-child(2) { width: 16px; }
.symbol i:nth-child(3) { width: 10px; }
.mast nav { display: flex; gap: clamp(.8rem, 2.6vw, 2.4rem); }
.mast nav a { color: #d6e7e4; text-decoration: none; font-size: .92rem; padding-block: .7rem; }
.mast nav a:hover, .authors a:hover, .btn-quiet:hover, .film a:hover { color: var(--mint); }
.hero { background: radial-gradient(ellipse at 74% 53%, #1b3e46 0, transparent 58%), var(--dark); }
.hero-layout { display: grid; grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr); gap: clamp(1.5rem,3.8vw,4rem); align-items: center; padding-block: clamp(3rem,5.6vw,5.5rem); }
.hero-copy { min-width: 0; }
.publication, .eyebrow, .specimen, .unit, .scale-row, .code-head span, .film-title > p, .bib-toolbar > span {
  font-family: var(--mono); font-size: .79rem; letter-spacing: .015em;
}
.publication { display: inline-flex; align-items: center; gap: .55rem; color: #c2d9d6; text-decoration: none; }
.publication:hover { color: white; text-decoration: underline; }
.publication > span:not(.status-rule) { color: #84a6a5; }
.status-rule { height: 2px; width: 1.5rem; background: var(--mint); }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1 { font-size: clamp(3.4rem, 5.75vw, 5.6rem); font-weight: 650; line-height: .99; letter-spacing: -.067em; margin: 1.8rem 0 .86rem; }
.subtitle { max-width: 23em; color: #d8e8e5; font-size: clamp(1.36rem,2.03vw,1.95rem); line-height: 1.24; letter-spacing: -.035em; text-wrap: pretty; }
.authors { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; margin-top: 1.8rem; font-size: 1.04rem; font-weight: 560; }
.authors a { text-decoration: none; border-bottom: 1px solid #668383; }
.authors span { color: #82a4a4; }
.affiliations { margin-top: .65rem; color: #aec7c8; font-size: .875rem; max-width: 33rem; }
.affiliations summary, .abstract summary { cursor: pointer; width: fit-content; }
.affiliations[open] > div { margin: .85rem 0; line-height: 1.55; }
.affiliations ol { padding-left: 1.55rem; margin: .65rem 0; }
.primary-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.85rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .73rem 1.02rem; min-height: 2.75rem; text-decoration: none; font-size: .94rem; font-weight: 620; line-height: 1; border-radius: .45rem; }
.btn-mint { background: var(--mint); color: #0c3331; border: 1px solid var(--mint); }
.btn-mint:hover { background: #c6ffe8; }
.btn-line { color: #f0f8f6; border: 1px solid #718a8e; }
.btn-line:hover { background: #294952; }
.btn-quiet { color: #e2f1ed; }
.paper-icon { position: relative; width: .76rem; height: .92rem; border: 1.5px solid currentColor; border-radius: 1px; }
.paper-icon::after { content: ""; position: absolute; left: 2px; top: 3px; width: .34rem; height: 1px; background: currentColor; box-shadow: 0 3px currentColor; }
.code-icon { font: 600 .91rem var(--mono); }
.play-icon { width: 0; height: 0; border-left: .55rem solid currentColor; border-top: .35rem solid transparent; border-bottom: .35rem solid transparent; }
.viewer { background: #15343d; border: 1px solid #45616a; border-radius: .8rem; overflow: hidden; min-width: 0; }
.viewer-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .35rem 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid #385760; }
.viewer-top > :first-child { font-size: .96rem; font-weight: 630; }
.specimen { color: #bed2d0; }
.field-window {
  display: grid; place-items: center; height: clamp(12.4rem,18vw,16.4rem);
  padding: .8rem 1.4rem .25rem;
  background-color: #183943;
  background-image: linear-gradient(90deg, #89bdc30d 1px, transparent 1px), linear-gradient(#89bdc30d 1px, transparent 1px), radial-gradient(ellipse at 48% 58%, #31535a 0%, transparent 72%);
  background-size: 1.7rem 1.7rem, 1.7rem 1.7rem, auto;
}
.field-image-frame { width: 100%; max-width: 38rem; aspect-ratio: 2630 / 1087; position: relative; }
.field-image-frame > img { width: 100%; height: 100%; object-fit: contain; }
.field-window.is-detail .field-image-frame { height: 100%; max-height: clamp(11.35rem,16.8vw,15.2rem); aspect-ratio: auto; }
.markers { position: absolute; inset: 0; pointer-events: none; }
[hidden] { display: none !important; }
.pin { position: absolute; transform: translate(-50%,-50%); border: 0; background: transparent; width: 2.4rem; height: 2.4rem; pointer-events: auto; display: grid; place-items: center; padding: 0; z-index: 1; }
.pin::before { content: "+"; color: #fff; background: #163d40e6; border: 1.3px solid #e1fff4; border-radius: 50%; width: 1.15rem; height: 1.15rem; font: 600 .95rem/1 var(--mono); display: grid; place-content: center; box-shadow: 0 1px 4px #172f327a; }
.pin span { position: absolute; bottom: 93%; width: max-content; padding: .3rem .45rem; color: #13352f; background: #d7f8e9; border-radius: .2rem; font: 600 .8rem "Instrument Sans", sans-serif; visibility: hidden; }
.pin:hover, .pin:focus-visible { z-index: 2; }
.pin:hover span, .pin:focus-visible span { visibility: visible; }
.pin-wheel { left: 25%; top: 80%; }
.pin-mirror { left: 43%; top: 42%; }
.pin-intake { left: 5.5%; top: 66%; }
.scale-row { display: flex; align-items: center; justify-content: flex-end; gap: .8rem; padding: .5rem 1.25rem .75rem; background: #183943; color: #d7e6e6; font-size: .75rem; }
.color-scale { display: grid; width: 6.6rem; grid-template-columns: 1fr 1fr 1fr; row-gap: .15rem; font: .68rem var(--mono); }
.color-scale i { grid-column: 1/-1; height: .28rem; border-radius: 1rem; background: linear-gradient(90deg,#4272d4,#c3d6ee,#e9e4df,#e6ad93,#b82432); }
.color-scale > :nth-child(3) { text-align: center; }
.color-scale > :last-child { text-align: right; }
.region-choices { display: flex; flex-wrap: wrap; gap: .36rem; padding: .8rem 1.15rem .37rem; border-top: 1px solid #3a565e; }
.region-choices button { border: 1px solid #577079; border-radius: .35rem; padding: .4rem .7rem; color: #e5eeed; background: transparent; font-size: .84rem; line-height: 1.1; }
.region-choices button[aria-pressed="true"] { border-color: var(--mint); color: var(--mint); background: #203f43; }
.region-choices button:hover { border-color: #aac8c7; }
.region-note { color: #c6d7d7; font-size: .83rem; padding: .15rem 1.2rem .95rem; line-height: 1.43; min-height: 2.38rem; }
.findings { background: #eaf3ef; border-bottom: 1px solid #d2e0db; }
.facts { display: grid; grid-template-columns: 1fr 1fr 1fr; padding-block: 1.9rem; }
.facts > div { padding: .15rem clamp(1rem,3vw,3rem); border-left: 1px solid #c3d4cd; }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts > div:last-child { padding-right: 0; }
.facts strong { display: block; color: #174c44; font-size: clamp(2.15rem,3.1vw,3.05rem); line-height: .99; font-weight: 590; letter-spacing: -.065em; font-variant-numeric: lining-nums tabular-nums; }
.facts strong span { font-size: .61em; margin-left: .045em; }
.facts p { margin-top: .6rem; font-size: .94rem; color: #354f4e; line-height: 1.45; max-width: 27rem; }
.abstract { padding-block: .85rem; border-top: 1px solid #c7d8d1; color: #254b47; font-size: .92rem; }
.abstract > summary { font-weight: 600; }
.abstract p { max-width: 60rem; margin: .65rem 0; line-height: 1.6; }
.spread { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); gap: clamp(2rem,7vw,7.6rem); align-items: center; padding-block: clamp(3.2rem,6vw,6rem); }
.eyebrow { font-size: .8rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .11em; margin: 0 0 .9rem; }
h2 { font-size: clamp(2.35rem,3.6vw,3.7rem); font-weight: 590; line-height: 1.025; letter-spacing: -.058em; text-wrap: balance; }
.section-intro > p:not(.eyebrow) { font-size: 1.045rem; line-height: 1.62; color: var(--muted); margin-top: 1rem; max-width: 42rem; }
.text-link { color: var(--teal); display: inline-block; font-weight: 610; font-size: .93rem; text-decoration-thickness: 1px; text-underline-offset: .3em; margin-top: 1.2rem; }
.text-link:hover, figcaption a:hover { color: #093f39; }
.drag-panel, .bib-panel { min-width: 0; border: 1px solid var(--edge); border-radius: .65rem; background: white; }
.drag-panel { padding: clamp(1.05rem,2.6vw,2rem); }
.panel-title, .code-head, .bib-toolbar { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
h3 { font-size: 1.16rem; letter-spacing: -.025em; font-weight: 620; }
.unit { color: var(--muted); font-size: .8rem; text-align: right; }
.controls { display: grid; grid-template-columns: 1fr 1.35fr; gap: .9rem; margin: 1.35rem 0 1.6rem; }
.controls label { display: grid; gap: .36rem; color: var(--muted); font-size: .85rem; }
select { width: 100%; min-width: 0; padding: .55rem 1.55rem .55rem .68rem; border: 1px solid #adbfba; border-radius: .34rem; background-color: #f8faf8; font-size: .94rem; color: var(--ink); }
.bars { display: grid; gap: .83rem; }
.bars > div { display: grid; grid-template-columns: 6.15rem minmax(0,1fr); gap: .7rem; align-items: center; }
.bars dt { font-size: .94rem; }
.bars dt i { font-family: Georgia,serif; color: #586a69; margin-left: .12rem; }
.bars dd { display: grid; grid-template-columns: minmax(0,1fr) 3.5rem; gap: .65rem; align-items: center; font: .91rem var(--mono); text-align: right; }
.bar-track { display: block; background: #eaf0ec; border-radius: .15rem; height: .8rem; }
.bar-track i { display: block; height: 100%; border-radius: .15rem; transition: width .24s ease; }
#bar-w { background: #87aaa5; } #bar-b { background: #367f79; } #bar-g { background: #123e41; }
.chart-note { margin: 1.35rem 0 0; padding-top: .9rem; border-top: 1px solid var(--edge); color: var(--muted); font-size: .92rem; line-height: 1.5; }
.chart-note strong { color: var(--teal); font-weight: 700; }
.metric-key { color: var(--muted); font-size: .85rem; margin-top: .7rem; line-height: 1.5; }
.metric-key summary { color: var(--teal); width: fit-content; cursor: pointer; }
.metric-key p { padding-top: .5rem; }
.training { background: #f0f4f1; border-block: 1px solid #dce5df; }
.training-layout { grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); }
.guidance-figure { padding: clamp(.85rem,1.8vw,1.5rem); background: white; border: 1px solid var(--edge); border-radius: .65rem; }
.guidance-figure img { width: 100%; height: auto; }
.guidance-figure figcaption { color: var(--muted); font-size: .84rem; line-height: 1.45; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid #dde7e2; }
.guidance-figure a { color: var(--teal); }
.training-table { margin-top: 1.45rem; width: 100%; border-collapse: collapse; font-size: .93rem; }
.training-table caption { text-align: left; font-size: .84rem; line-height: 1.4; color: var(--muted); margin-bottom: .25rem; }
.training-table thead th { font-size: .82rem; color: var(--muted); font-weight: 500; }
.training-table th, .training-table td { border-bottom: 1px solid #c6d5cd; padding: .65rem .2rem; text-align: right; }
.training-table th:first-child { text-align: left; }
.training-table tbody th { font-weight: 600; }
.training-table td { font-family: var(--mono); color: var(--teal); }
.film { padding-block: clamp(3rem,5.3vw,5rem); }
.film-layout { max-width: 65rem; }
.film-title { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.6rem; }
.film-title h2 { font-size: clamp(2.15rem,3.4vw,3.25rem); text-wrap: pretty; }
.film-title .eyebrow { color: var(--mint); }
.film-title > p { color: #c2d6d5; white-space: nowrap; }
.film-title > p span { padding-inline: .32rem; }
.film video { width: 100%; height: auto; background: #0c2228; aspect-ratio: 16 / 9; border: 1px solid #50666a; border-radius: .6rem; }
.film-links { margin-top: .85rem; display: flex; gap: 1.5rem; color: #d4e7e2; font-size: .88rem; }
.resource-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.code-sample { min-width: 0; padding: 1.4rem; color: #e1efeb; background: #163239; border: 1px solid #334a51; border-radius: .6rem; }
.code-head { border-bottom: 1px solid #426063; padding-bottom: .85rem; }
.code-head span { color: #b8d5ce; }
pre { margin: 0; font: .88rem/1.65 var(--mono); tab-size: 2; }
pre code { font: inherit; }
.code-sample pre { overflow-wrap: anywhere; white-space: pre-wrap; margin: 1rem 0; }
.code-sample a { color: var(--mint); font-size: .9rem; }
.cite-section { background: #eef3ef; border-top: 1px solid var(--edge); }
.cite-layout { align-items: start; }
.bib-toolbar { padding: .85rem 1.2rem; border-bottom: 1px solid var(--edge); }
.bib-toolbar > div { display: flex; align-items: center; gap: .95rem; }
.bib-toolbar a, .bib-toolbar button { font-size: .85rem; color: var(--teal); }
.bib-toolbar button { border: 1px solid #a5bcb5; border-radius: .3rem; padding: .35rem .65rem; background: #f7faf7; min-width: 3.8rem; }
.bib-panel pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1.15rem; color: #304b4a; font-size: .83rem; }
footer { background: var(--deep); color: #d9e9e6; }
footer > div { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; min-height: 4.5rem; }
footer .brand { margin-right: auto; }
footer a:not(.brand) { font-size: .88rem; }
@media (max-width: 63rem) {
  .hero-layout { gap: 1.7rem; }
  .spread { gap: 2.2rem; }
  .viewer-top { padding-inline: 1rem; }
  .region-choices { padding-inline: .75rem; gap: .3rem; }
  .region-choices button { padding-inline: .52rem; }
  .region-note { padding-inline: .8rem; }
}
@media (max-width: 53rem) {
  .hero-layout, .spread { grid-template-columns: 1fr; }
  .hero-layout { padding-block: 2.6rem; gap: 2rem; }
  h1 { font-size: clamp(3.5rem,9.5vw,5rem); }
  .subtitle { max-width: 26em; font-size: clamp(1.36rem,3.4vw,1.8rem); }
  .field-window { height: clamp(12rem,34vw,18rem); }
  .field-window.is-detail .field-image-frame { max-height: clamp(11rem,31vw,16rem); }
  .viewer { max-width: 43rem; width: 100%; }
  .region-choices { padding-inline: 1.1rem; }
  .region-note { padding-inline: 1.15rem; }
  .spread { gap: 1.6rem; padding-block: 3.15rem; }
  .training-layout .section-intro { grid-row: 1; }
  .guidance-figure { width: min(100%, 42rem); }
  .facts p { font-size: .88rem; }
  .film-title { align-items: start; flex-direction: column; }
}
@media (max-width: 35rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .mast-inner { min-height: 3.6rem; gap: .6rem; }
  .mast nav { gap: .7rem; }
  .mast nav a { font-size: .82rem; }
  .brand { gap: .3rem; font-size: .93rem; }
  .symbol { width: 1.35rem; }
  .mast nav a[href="#code"] { display: none; }
  .authors { gap: .12rem .38rem; font-size: .97rem; }
  h1 { font-size: clamp(2.55rem,12vw,4.1rem); margin-top: 1.4rem; }
  .btn { padding-inline: .75rem; font-size: .88rem; }
  .primary-links { gap: .34rem; }
  .primary-links .btn-quiet { padding-inline: .33rem; }
  .field-window { padding-inline: .7rem; height: 11.8rem; }
  .field-window.is-detail .field-image-frame { max-height: 10.5rem; }
  .viewer-top { gap: .3rem; padding: .8rem; }
  .viewer-top > :first-child { font-size: .88rem; }
  .specimen { font-size: .7rem; }
  .region-choices { padding: .65rem .6rem .4rem; }
  .region-choices button { font-size: .8rem; padding: .48rem .47rem; }
  .region-note { padding: .12rem .75rem .75rem; font-size: .8rem; min-height: 3.1rem; }
  .facts { grid-template-columns: 1fr; padding-block: .6rem; }
  .facts > div, .facts > div:first-child, .facts > div:last-child { padding: .9rem 0; border-left: 0; display: grid; grid-template-columns: 8.7rem 1fr; align-items: center; gap: .6rem; }
  .facts > div + div { border-top: 1px solid #cfddd6; }
  .facts strong { font-size: 2.08rem; }
  .facts p { margin: 0; }
  .controls { gap: .5rem; grid-template-columns: 1fr 1.3fr; }
  .bars > div { grid-template-columns: 5.35rem 1fr; gap: .2rem; }
  .bars dd { grid-template-columns: minmax(0,1fr) 3rem; gap: .4rem; }
  .film-links { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
