@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;500;600;700&display=swap");

:root {
  --paper: #f8f7f3;
  --ink: #252c29;
  --muted: #414642;
  --green: #345d4d;
  --line: #dcded5;
  --wash: #eeefe8;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: var(--serif);
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
body:has(dialog[open]) { overflow: hidden; }
::selection { background: #d7e5d7; color: var(--ink); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a[href] { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (hover: hover) {
  a[href]:hover { background-color: var(--link-hover-fill, #dfe7dc); border-radius: 4px; }
  .skip-link:hover { background-color: var(--green); }
}
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; border-radius: 2px; }
button { font: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
img { object-fit: contain; }
svg { display: block; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 114px; border-bottom: 1px solid var(--line); }
.wordmark { font: 26px/1.2 var(--serif); letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.wordmark::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 13px; border-radius: 50%; background: var(--green); vertical-align: middle; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.site-nav a { text-decoration: none; padding-block: 12px; }
.site-nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 8px; }
.nav-contact { display: flex; align-items: center; gap: 7px; }
.arrow { display: inline-block; font-family: var(--sans); font-weight: 400; }
.eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .15em; line-height: 1.6; text-transform: uppercase; color: var(--green); }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid var(--ink); }
.text-link:hover { border-color: var(--green); }

.wrap.homepage, .wrap.homepage-footer { width: min(940px, calc(100% - 64px)); }
.home-hero-content { padding-bottom: 28px; }
.home-hero .home-intro { margin-block: 20px 0; line-height: 1.7; }
.latest-updates { display: flex; align-items: center; gap: 12px 20px; margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: var(--wash); font-size: 13px; line-height: 1.5; }
.latest-updates p { flex: 1; }
.latest-updates-label { color: var(--muted); margin-right: 10px; white-space: nowrap; }
.latest-updates p a, .updates-list a { color: var(--green); }
.updates-jump { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding-block: 5px; color: var(--muted); font-weight: 400; text-decoration: underline; text-decoration-color: var(--line); }
.updates-jump:hover { text-decoration-color: currentColor; }
.home-updates { padding-block: 28px 36px; }
.home-updates h2 { margin-bottom: 18px; font: 400 28px/1.25 var(--serif); letter-spacing: -.035em; }
.updates-list { list-style: none; padding: 0; margin: 0; }
.updates-list li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding-block: 12px; font-size: 14px; line-height: 1.7; }
.updates-list time { color: var(--muted); font-size: 12px; padding-top: 2px; }
.profile { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 32px; }
.profile-copy { min-width: 0; }
.profile h1 { font: 400 40px/1.15 var(--serif); letter-spacing: -.04em; }
.profile-field { margin-top: 8px; font-size: 14px; color: var(--muted); }
.profile-affiliation { margin-top: 6px; font-size: 13px; color: var(--muted); }
.profile-photo { width: 200px; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.profile-info { display: grid; gap: 6px; margin-top: 16px; font-size: 14px; }
.profile-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.profile-label { color: var(--muted); font-size: 12px; }
.profile-row > a { justify-self: start; }
.profile-links { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.link-icon { display: inline-block; width: 1.1em; height: 1.1em; margin-right: .4em; vertical-align: -.18em; }
.profile-info a, .project-resources a { color: var(--green); }
.home-intro { max-width: 860px; margin-block: 28px 34px; font-size: 16px; line-height: 1.8; }
.home-projects { padding-block: 28px 32px; }
.home-projects > h2 { margin-bottom: 22px; font: 400 28px/1.25 var(--serif); letter-spacing: -.035em; }
.projects { display: grid; gap: 16px; }
.project { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px; background: #fff; border: 1px solid #eae9e3; border-radius: 12px; }
.project-image { display: block; width: 168px; max-width: 100%; overflow: hidden; border-radius: 6px; }
.project-image img, .project-image video { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: var(--thumbnail-position, center); }
.project-image.learning { background: white; }
.project-image.learning img { aspect-ratio: auto; object-fit: contain; }
.project-image.cutout { background: transparent; }
.project-image.cutout img { aspect-ratio: 1; object-fit: contain; padding: 0; }
.project-video { background: #161b19; }
/* Preserve the original Safari thumbnail behavior without affecting article players. */
.project-video video { pointer-events: none; }
.project-video video::-webkit-media-controls { display: none !important; }
.project-video video::-webkit-media-controls-start-playback-button { display: none !important; }
/* The football clip has two demonstrations side by side; frame the left one. */
#blind-dexterity .project-image { --thumbnail-position: left center; }
.project-image .project-video-still { display: none; }
.project-authors { font-size: 12px; line-height: 1.6; color: var(--muted); margin-bottom: 6px; }
.project-authors strong { font-weight: 600; color: var(--ink); }
.project-recognition, .project-related { margin-top: 7px; font-size: 12px; line-height: 1.6; }
.project-recognition { color: var(--muted); }
.project-recognition strong, .project-meta strong { color: #b84d0b; font-weight: 700; }
.project-related { color: var(--muted); }
.project-meta { color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.project h3 { font: 500 18px/1.25 var(--serif); letter-spacing: -.025em; margin-block: 0 7px; }
.project h3 a { text-decoration: none; }
.project-description { font-size: 14px; line-height: 1.75; color: var(--muted); }
.project-resources { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 13px; }
.project-resources { gap: 8px; }
.project-resources a { display: inline-flex; align-items: center; padding: 3px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); text-decoration: none; line-height: 1.5; }
@media (hover: hover) {
  .project-resources a[href]:hover { border-radius: 999px; }
}
.site-footer { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 25px 34px; font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; }
.homepage-footer { padding-block: 20px 30px; border-top: 0; }

.article-header { max-width: 900px; padding-block: 58px 38px; }
.back-link { display: inline-flex; gap: 10px; color: var(--muted); font-size: 13px; text-decoration: none; margin-bottom: 35px; }
.article-header h1 { font: 400 clamp(39px, 4.8vw, 63px)/1.1 var(--serif); letter-spacing: -.045em; margin-block: 15px 22px; text-wrap: balance; }
.article-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.article-meta > span::before { content: '/'; margin-right: 12px; color: var(--muted); }
.article-cover { margin-bottom: 48px; background: white; border-radius: 3px; overflow: hidden; }
.article-cover img { width: 100%; max-height: 450px; object-fit: contain; }
.article-cover.manipulation { background: #161b19; }
.article-cover.manipulation img { padding: 0; max-height: none; }
.article-layout { display: grid; grid-template-columns: 175px minmax(0, 740px); gap: 55px; padding-bottom: 56px; }
.article-sidebar { align-self: start; position: sticky; top: 30px; font-size: 12px; line-height: 1.6; }
.article-sidebar .eyebrow { font-size: 10px; margin-bottom: 15px; }
.article-sidebar a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 12px; }
.article-sidebar .sidebar-rule { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.article-body { font-size: 17px; line-height: 1.9; overflow-wrap: break-word; min-width: 0; }
.article-body > p { margin-bottom: 25px; }
.article-body > p:first-child { font-size: 19px; line-height: 1.8; }
.article-body ul { padding-left: 24px; margin-block: 20px 28px; }
.article-body li { padding-left: 5px; margin-bottom: 5px; }
.article-body h2 { font: 400 32px/1.25 var(--serif); letter-spacing: -.035em; margin-block: 52px 24px; }
.article-body a { color: var(--green); overflow-wrap: anywhere; }
.article-body figure { margin-block: 34px; }
.article-body figure figure { margin: 0; }
.article-body img { margin-inline: auto; max-height: 900px; }
.article-body video { width: 100%; background: #161b19; border-radius: 3px; aspect-ratio: 16 / 9; }
.article-body iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; margin-block: 30px; }
.article-body figcaption { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 14px; text-align: center; }
.article-body .note-ref { color: inherit; text-decoration: underline dotted; text-decoration-color: #799484; text-underline-offset: .2em; border-radius: 2px; }
.article-body .note-ref:hover, .article-body .note-ref.is-active { background: #e7ede3; text-decoration-color: var(--green); }
.article-notes { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.article-notes h2 { font: 400 28px/1.3 var(--serif); margin-bottom: 24px; }
.article-notes ul { list-style: none; margin: 0; padding: 0; }
.article-notes li { padding: 0 0 0 16px; margin-bottom: 28px; border-left: 2px solid var(--line); scroll-margin-top: 35px; overflow-wrap: anywhere; }
.article-notes li:target, .article-notes li.is-active { border-color: var(--green); background: var(--wash); }
.article-notes .note-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: var(--green); text-decoration: none; }
.article-notes .note-content a { color: var(--green); }
.article-notes iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.article-notes img { width: 100%; margin-block: 15px; }
.article-layout.article-layout--annotated { display: block; }
.annotation-connector { display: none; }
.article-layout--annotated .article-main, .article-layout--annotated .article-notes { max-width: 740px; margin-inline: auto; }
.article-layout--annotated .article-sidebar { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; max-width: 740px; margin: 0 auto 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article-layout--annotated .article-sidebar .eyebrow { flex-basis: 100%; margin: 0 0 4px; }
.article-layout--annotated .article-sidebar a { margin: 0; }
.article-layout--annotated .article-sidebar .sidebar-rule { border: 0; margin: 0; padding: 0; }
.note-dialog { position: fixed; width: min(480px, calc(100vw - 32px)); max-height: min(80vh, 700px); border: 1px solid var(--line); border-radius: 5px; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 20px 90px #18271d26; }
.note-dialog::backdrop { background: #1d282344; backdrop-filter: blur(3px); }
.note-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 13px 22px; }
.note-dialog-header h2 { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.note-close { display: grid; place-items: center; width: 38px; height: 38px; border: 0; background: transparent; color: var(--ink); border-radius: 50%; font-size: 25px; cursor: pointer; }
.note-close:hover { background: var(--wash); }
.note-dialog-content { padding: 24px; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.note-dialog-content a { color: var(--green); }
.note-dialog-content img { margin-block: 18px; }
.note-dialog-content iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; margin-bottom: 15px; }
.note-dialog-footer { padding: 0 24px 22px; font-size: 12px; color: var(--muted); }
.article-end { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 65px; padding-block: 26px; border-top: 1px solid var(--line); font-size: 13px; }
.article-end .text-link { font-size: 13px; }
.error-page { min-height: 65vh; display: flex; flex-direction: column; justify-content: center; align-items: start; padding-block: 70px; }
.error-page h1 { font: 400 clamp(48px, 7vw, 80px)/1.1 var(--serif); letter-spacing: -.05em; margin-block: 18px 24px; }
.error-page p { color: var(--muted); margin-bottom: 30px; }

/* Match the homepage's compact identity, serif scale, and rounded surfaces. */
.article-page .site-header { min-height: 0; padding-block: 32px 24px; border: 0; flex-direction: row; }
.article-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 400 24px/1.2 var(--serif); letter-spacing: -.04em; white-space: nowrap; }
.article-brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.article-page .site-nav { gap: 22px; font-size: 13px; }
.article-page .article-header { max-width: none; padding-block: 20px 16px; }
.article-topline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; }
.article-topline .eyebrow { font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.article-topline .project-resources { margin: 0; font-size: 14px; }
.article-page .article-meta { font-size: 14px; }
.copy-article-link { position: relative; }
.copy-article-link::after { content: attr(data-tooltip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 6px 10px; border-radius: 6px; background: var(--ink); color: var(--paper); font: 400 12px/1.4 var(--serif); letter-spacing: 0; white-space: nowrap; pointer-events: none; opacity: 0; }
.copy-article-link:hover::after, .copy-article-link:focus-visible::after, .copy-article-link[data-copied]::after { opacity: 1; }
.copy-article-link { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 5px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; vertical-align: middle; }
.copy-article-link[hidden] { display: none; }
.copy-article-link:hover { background: #dfe7dc; }
.copy-article-link svg { width: 20px; height: 20px; }
.copy-article-link[data-copied] { background: var(--wash); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.article-page .article-header h1 { font-size: 40px; line-height: 1.15; letter-spacing: -.04em; margin-block: 10px 16px; text-wrap: wrap; }
.article-page .article-meta > span::before { content: '·'; margin-right: 12px; }
.article-page .article-cover { border-radius: 12px; margin-bottom: 28px; }
.article-hero { --ink: #f8f7f3; --muted: #d4d4d0; --link-hover-fill: #ffffff24; background: #000; border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.article-page .article-hero .article-sidebar { position: static; display: flex; flex-wrap: wrap; align-items: baseline; max-width: none; width: 100%; margin: 0; padding: 14px 22px; border: 0; gap: 10px 24px; }
.article-page .article-hero .article-sidebar .eyebrow { flex-basis: 100%; margin: 0 0 2px; }
.article-page .article-hero .article-sidebar a { margin: 0; }
.article-page .article-hero .article-cover { margin: 0; border-radius: 0; background: #000; }
.article-page .article-hero .article-cover img { aspect-ratio: 4.3 / 1; object-fit: cover; object-position: center 39%; }
.article-page .article-sidebar .eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.article-page .article-body { font-size: 16px; line-height: 1.75; }
.article-page .article-body > p { margin-bottom: 20px; }
.article-page .article-body > p:first-child { font-size: 17px; line-height: 1.75; }
.article-page .article-body h2 { font-size: 26px; margin-block: 40px 18px; }
.hardware-figures { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 24px; margin-block: 28px; }
.article-body .hardware-figures figure { min-width: 0; margin: 0; }
.hardware-figures img { width: 100%; height: auto; }
@media (min-width: 601px) {
  .article-body .hardware-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-body .hardware-figures > figure:first-child { grid-area: 1 / 1; }
  .article-body .hardware-figures > figure:last-child { grid-area: 1 / 2; }
}
.section-number { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; background: var(--green); color: var(--paper); font: 500 12px/1 var(--serif); letter-spacing: 0; vertical-align: middle; flex-shrink: 0; }
.article-page .article-body h2:has(.section-number) { display: flex; align-items: flex-start; gap: 12px; }
.article-page .article-body h2 .section-number { width: 28px; height: 28px; margin: 2.25px 0 0; font-size: 15px; }
.article-page .article-body video, .article-page .article-body iframe { border-radius: 12px; }
.article-page .note-dialog { border-radius: 12px; }
.article-page .article-end { border: 0; padding: 20px 24px; border-radius: 12px; background: var(--wash); margin-bottom: 36px; }
.article-page .site-footer { border: 0; }

/* Keep this breakpoint in sync with the media query in site.js. */
@media screen and (min-width: 960px) {
  .article-page .article-layout--annotated .article-notes { grid-row: 1; }
  .article-layout.article-layout--annotated { display: grid; position: relative; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px 40px; align-items: start; }
  .article-layout--annotated .article-sidebar { grid-column: 1 / -1; max-width: none; width: 100%; margin: 0; }
  .article-layout--annotated .article-main { grid-column: 1; min-width: 0; max-width: none; margin: 0; }
  .article-layout--annotated .note-ref { background: #edf1e8; white-space: nowrap; }
  .article-layout--annotated .article-notes { grid-column: 2; grid-row: 2; position: relative; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; font-size: 13px; line-height: 1.8; }
  .article-layout--annotated .article-notes h2 { font: 600 10px/1.6 var(--sans); color: var(--green); letter-spacing: .15em; text-transform: uppercase; margin: 0 0 20px; }
  .article-notes li { position: relative; --connector-color: #a5b5a7; --connector-gutter: 12px; --connector-end: 2.5em; }
  .sidenotes-ready .article-notes li { position: absolute; top: var(--note-top); left: 0; width: 100%; margin: 0; }
  .article-notes li::after { content: ''; position: absolute; top: var(--connector-end); left: calc(0px - var(--connector-gutter)); width: var(--connector-gutter); border-top: 1px dotted var(--connector-color); pointer-events: none; }
  .article-notes li:is(:hover, :focus-within, :target) { --connector-color: var(--green); }

  /* Lines share the article layout's containing block with both endpoints.
     Keep their elements after the phrase and note anchors in the HTML. */
  @supports (anchor-name: --annotation) and (top: anchor(bottom)) {
    #note-ref-1 { anchor-name: --annotation-1; }
    #note-1 { anchor-name: --margin-note-1; }
    .annotation-connector[data-note="1"] { --reference-anchor: --annotation-1; --note-anchor: --margin-note-1; --connector-gutter: 8px; }
    #note-ref-2 { anchor-name: --annotation-2; }
    #note-2 { anchor-name: --margin-note-2; }
    .annotation-connector[data-note="2"] { --reference-anchor: --annotation-2; --note-anchor: --margin-note-2; --connector-gutter: 16px; }
    #note-ref-3 { anchor-name: --annotation-3; }
    #note-3 { anchor-name: --margin-note-3; }
    .annotation-connector[data-note="3"] { --reference-anchor: --annotation-3; --note-anchor: --margin-note-3; --connector-gutter: 24px; }
    #note-ref-4 { anchor-name: --annotation-4; }
    #note-4 { anchor-name: --margin-note-4; }
    .annotation-connector[data-note="4"] { --reference-anchor: --annotation-4; --note-anchor: --margin-note-4; --connector-gutter: 32px; }
    #note-ref-5 { anchor-name: --annotation-5; }
    #note-5 { anchor-name: --margin-note-5; }
    .annotation-connector[data-note="5"] { --reference-anchor: --annotation-5; --note-anchor: --margin-note-5; --connector-gutter: 8px; }
    #note-ref-6 { anchor-name: --annotation-6; }
    #note-6 { anchor-name: --margin-note-6; }
    .annotation-connector[data-note="6"] { --reference-anchor: --annotation-6; --note-anchor: --margin-note-6; --connector-gutter: 16px; }
    #note-ref-7 { anchor-name: --annotation-7; }
    #note-7 { anchor-name: --margin-note-7; }
    .annotation-connector[data-note="7"] { --reference-anchor: --annotation-7; --note-anchor: --margin-note-7; --connector-gutter: 24px; }
    #note-ref-8 { anchor-name: --annotation-8; }
    #note-8 { anchor-name: --margin-note-8; }
    .annotation-connector[data-note="8"] { --reference-anchor: --annotation-8; --note-anchor: --margin-note-8; --connector-gutter: 32px; }
    #note-ref-9 { anchor-name: --annotation-9; }
    #note-9 { anchor-name: --margin-note-9; }
    .annotation-connector[data-note="9"] { --reference-anchor: --annotation-9; --note-anchor: --margin-note-9; --connector-gutter: 8px; }

    .article-notes li::after { display: none; }
    .annotation-connector {
      display: block;
      position: absolute;
      position-anchor: var(--reference-anchor);
      top: calc(anchor(bottom) + 2px);
      left: calc(anchor(right) + 4px);
      right: calc(anchor(var(--note-anchor) left) + var(--connector-gutter));
      bottom: calc(anchor(var(--note-anchor) top) - 2.5em);
      min-height: 0;
      font-size: 13px;
      --connector-color: #a5b5a7;
      border-top: 1px dotted var(--connector-color);
      border-right: 1px dotted var(--connector-color);
      pointer-events: none;
    }
    .annotation-connector::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 100%;
      width: var(--connector-gutter);
      border-top: 1px dotted var(--connector-color);
    }
  }

  /* Match phrase/note hover, keyboard focus and fragment navigation in CSS. */
  .article-layout--annotated:has(:is(#note-ref-1, #note-1):is(:hover, :focus-within, :target)) .annotation-connector[data-note="1"],
  .article-layout--annotated:has(:is(#note-ref-2, #note-2):is(:hover, :focus-within, :target)) .annotation-connector[data-note="2"],
  .article-layout--annotated:has(:is(#note-ref-3, #note-3):is(:hover, :focus-within, :target)) .annotation-connector[data-note="3"],
  .article-layout--annotated:has(:is(#note-ref-4, #note-4):is(:hover, :focus-within, :target)) .annotation-connector[data-note="4"],
  .article-layout--annotated:has(:is(#note-ref-5, #note-5):is(:hover, :focus-within, :target)) .annotation-connector[data-note="5"],
  .article-layout--annotated:has(:is(#note-ref-6, #note-6):is(:hover, :focus-within, :target)) .annotation-connector[data-note="6"],
  .article-layout--annotated:has(:is(#note-ref-7, #note-7):is(:hover, :focus-within, :target)) .annotation-connector[data-note="7"],
  .article-layout--annotated:has(:is(#note-ref-8, #note-8):is(:hover, :focus-within, :target)) .annotation-connector[data-note="8"],
  .article-layout--annotated:has(:is(#note-ref-9, #note-9):is(:hover, :focus-within, :target)) .annotation-connector[data-note="9"] { --connector-color: var(--green); }
}

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .article-layout { grid-template-columns: 140px minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 720px) {
  .article-page .site-header { padding-block: 24px 16px; gap: 12px; flex-wrap: wrap; }
  .article-brand { font-size: 22px; gap: 10px; }
  .article-page .site-nav { width: auto; gap: 16px; }
  .article-page .article-header { padding-block: 16px; }
  .article-page .article-header h1 { font-size: 32px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 92px; gap: 20px; }
  .wordmark { font-size: 23px; }
  .wordmark::before { width: 6px; height: 6px; margin-right: 8px; }
  .site-nav { gap: 18px; font-size: 13px; }
  .nav-contact { display: none; }
  .site-footer { padding-block: 23px 28px; font-size: 11px; }
  .footer-links { gap: 16px; }
  .article-header { padding-block: 36px 30px; }
  .back-link { margin-bottom: 26px; }
  .article-header h1 { font-size: clamp(36px, 7vw, 49px); }
  .article-cover { margin-bottom: 32px; }
  .article-layout { display: flex; flex-direction: column; gap: 28px; padding-bottom: 36px; }
  .article-sidebar { position: static; width: 100%; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
  .article-sidebar .eyebrow { margin-bottom: 10px; }
  .article-sidebar a { display: inline-block; margin: 0 16px 8px 0; font-size: 12px; }
  .article-sidebar .sidebar-rule { border: 0; margin-top: 6px; padding-top: 0; }
  .article-body { font-size: 16px; line-height: 1.85; width: 100%; }
  .article-body > p:first-child { font-size: 18px; }
  .article-body h2 { font-size: 29px; margin-top: 40px; }
  .article-body figure { margin-block: 28px; }
  .article-notes { font-size: 13px; }
  .article-end { align-items: start; flex-direction: column; margin-bottom: 45px; }
}
@media (max-width: 600px) {
  .latest-updates { flex-wrap: wrap; }
  .latest-updates p { flex-basis: 100%; }
  .home-updates h2 { font-size: 26px; }
  .updates-list li { grid-template-columns: 66px minmax(0, 1fr); gap: 12px; }
  .wrap.homepage, .wrap.homepage-footer { width: calc(100% - 40px); }
  .profile { grid-template-columns: 112px minmax(0, 1fr); gap: 18px 16px; padding-top: 24px; }
  .profile-copy { display: contents; }
  .profile-heading { grid-column: 2; grid-row: 1; align-self: center; }
  .profile h1 { font-size: 30px; }
  .profile-field { font-size: 12px; line-height: 1.5; }
  .profile-photo { grid-column: 1; grid-row: 1; width: 112px; }
  .profile-info { grid-column: 1 / -1; grid-row: 2; margin-top: 0; font-size: 13px; }
  .profile-links { gap: 4px 12px; }
  .home-intro { margin-block: 26px 28px; font-size: 15px; }
  .home-projects { padding-block: 24px 28px; }
  .home-projects > h2 { font-size: 26px; margin-bottom: 18px; }
  .project { grid-template-columns: clamp(80px, 22vw, 112px) minmax(0, 1fr); gap: 8px 14px; padding: 16px; }
  .project > div { display: contents; }
  .project > .project-image { grid-column: 1; grid-row: 1 / 4; width: 100%; }
  .project h3 { grid-column: 2; grid-row: 1; font-size: 18px; margin-bottom: 0; overflow-wrap: anywhere; }
  .project-authors { grid-column: 2; grid-row: 2; margin-bottom: 0; }
  .project-meta { grid-column: 2; grid-row: 3; margin-bottom: 0; }
  .project-description, .project-recognition, .project-related, .project-resources { grid-column: 1 / -1; }
  .profile-affiliation { font-size: 12px; line-height: 1.5; }
}
@media (max-width: 380px) {
  .wrap, .wrap.homepage, .wrap.homepage-footer { width: calc(100% - 32px); }
  .site-header { align-items: start; flex-direction: column; gap: 6px; padding-block: 22px 12px; }
  .site-nav { width: 100%; justify-content: space-between; }
  .eyebrow { font-size: 10px; }
  .site-footer { flex-direction: column; gap: 12px; }
  .homepage-footer { flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .project-video video { display: none; }
  .project-image .project-video-still { display: block; }
}
@media print {
  .site-header, .site-footer, .article-sidebar, .article-end, .note-dialog, .skip-link { display: none; }
  .article-layout--annotated .article-sidebar { display: none; }
  body { background: white; color: black; }
  .wrap { width: 100%; }
  .article-layout { display: block; }
  .article-header { padding-top: 0; }
  a { color: inherit !important; }
  video, iframe { display: none !important; }
  .project-image .project-video-still { display: block; }
  h2, h3 { break-after: avoid; }
  figure { break-inside: avoid; }
}
