:root {
  --ink: #30343b;
  --muted: #666d76;
  --accent: #2473a6;
  --line: #e1e4e8;
  --tint: #f6f7f8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: #dbeaf4; }
.wrap { width: min(1000px, calc(100% - 64px)); margin-inline: auto; }
.reading-width { width: min(800px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 10; background: white; padding: 12px 20px; }
.skip:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { width: min(1100px, calc(100% - 64px)); min-height: 58px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.project-name { font-size: 14px; font-weight: 650; color: var(--ink); white-space: nowrap; }
.project-name span { color: var(--muted); font-weight: 400; }
nav { display: flex; gap: 25px; font-size: 13px; }
nav a { color: var(--muted); padding-block: 16px; }
nav a[aria-current="location"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(30px,3.8vw,46px); line-height: 1.21; letter-spacing: -.033em; font-weight: 650; margin-bottom: 23px; }
.title-name { color: var(--accent); }
h2 { font-size: 30px; line-height: 1.3; letter-spacing: -.025em; font-weight: 600; text-align: center; margin-bottom: 20px; }
h3 { font-size: 18px; line-height: 1.4; font-weight: 600; }
.hero { padding-top: 55px; text-align: center; }
.affiliation { font-size: 20px; margin-bottom: 13px; }
.project-summary { font-size: 15px; line-height: 1.7; margin-bottom: 21px; font-weight: 600; }
.project-summary span { font-weight: 400; color: var(--muted); }
.actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: #363b42; border: 1px solid #363b42; color: white; border-radius: 24px; padding: 8px 18px; font-size: 14px; min-height: 41px; }
.button:hover { background: #505761; text-decoration: none; }
.button span { font-size: 14px; }
figure { margin: 0; }
video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #20252a; border-radius: 4px; }
.teaser { margin: 34px auto 0; max-width: 900px; }
figcaption { text-align: left; color: #525963; font-size: 14px; line-height: 1.65; margin-top: 14px; }
figcaption strong { color: var(--ink); font-weight: 600; }
.clip-note { color: var(--muted); }
.abstract-section { margin-top: 48px; padding: 42px 0 45px; background: var(--tint); border-block: 1px solid #eef0f2; }
.abstract-section p { margin-bottom: 0; font-size: 17px; line-height: 1.85; }
.paper-section { padding-block: 49px; }
.paper-section + .paper-section { border-top: 1px solid var(--line); }
.section-intro { text-align: center; color: var(--muted); margin: -7px 0 30px; }
.device-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.device-pair img { display: block; width: 100%; height: auto; border-radius: 4px; }
.device-pair p { margin: 12px 0 0; text-align: center; line-height: 1.55; font-size: 15px; }
.device-pair p span { display: block; color: var(--muted); font-size: 13px; }
.system-figure figcaption { margin-top: 22px; }
.design-notes { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 34px; }
.design-notes article { border-top: 2px solid var(--line); padding-top: 17px; }
.design-notes h3 { font-size: 16px; margin-bottom: 9px; }
.design-notes h3 span { color: var(--accent); margin-right: 7px; font-size: 12px; font-weight: 500; }
.design-notes p { font-size: 14px; color: #525963; margin: 0; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.task-demo h3 { margin-bottom: 14px; text-align: center; }
.evidence-note { font-size: 13px; color: var(--muted); margin: 25px 0 0; text-align: center; }
.resources { max-width: 800px; }
.resource-intro { text-align: center; color: var(--muted); margin-top: -7px; }
.resource-list { list-style: none; margin: 28px 0; padding: 0; }
.resource-list li { display: grid; grid-template-columns: 210px 1fr; gap: 24px; border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 15px; }
.resource-list li:first-child { border-top: 1px solid var(--line); }
.resource-list span { color: var(--muted); }
.film-details { border: 1px solid var(--line); border-radius: 4px; }
.film-details summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; font-size: 14px; list-style: none; }
.film-details summary::-webkit-details-marker { display: none; }
.details-label { font-size: 12px; white-space: nowrap; color: var(--muted); }
.expand-icon { display: inline-block; margin-left: 12px; font-size: 18px; }
.film-details[open] .expand-icon { transform: rotate(45deg); }
.film-details figcaption { padding: 0 16px 16px; font-size: 13px; }
footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
@media (max-width: 800px) {
  .header-inner { width: calc(100% - 40px); }
  .project-name span { display: none; }
  nav { gap: 19px; }
  .desktop-break { display: none; }
  .hero { padding-top: 40px; }
  h1 { font-size: 36px; }
  .design-notes { gap: 20px; }
  .design-notes h3 span { display: block; margin-bottom: 5px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 73px; }
  .wrap, .reading-width { width: calc(100% - 36px); }
  .header-inner { width: calc(100% - 32px); min-height: 51px; gap: 14px; }
  .project-name { font-size: 13px; }
  nav { gap: 12px; font-size: 11px; }
  nav a { padding-block: 14px; }
  h1 { font-size: clamp(28px,7vw,36px); line-height: 1.24; letter-spacing: -.03em; margin-bottom: 20px; }
  h2 { font-size: 26px; }
  .hero { padding-top: 34px; }
  .affiliation { font-size: 18px; }
  .project-summary { font-size: 14px; }
  .button { font-size: 12px; padding: 7px 12px; min-height: 38px; gap: 6px; }
  .actions { gap: 7px; }
  .teaser { margin-top: 27px; }
  figcaption { font-size: 13px; margin-top: 12px; }
  .abstract-section { margin-top: 32px; padding-block: 32px; }
  .abstract-section p { font-size: 15px; line-height: 1.8; }
  .paper-section { padding-block: 35px; }
  .section-intro { font-size: 14px; margin-bottom: 25px; }
  .device-pair { gap: 12px; }
  .device-pair p { font-size: 14px; }
  .device-pair p span { font-size: 11px; }
  .design-notes { grid-template-columns: 1fr; gap: 20px; margin-top: 25px; }
  .design-notes h3 span { display: inline; }
  .demo-grid { grid-template-columns: 1fr; gap: 30px; }
  .evidence-note { text-align: left; }
  .resource-intro { font-size: 14px; }
  .resource-list li { grid-template-columns: 130px 1fr; gap: 12px; font-size: 13px; }
  .film-details summary { padding: 13px; font-size: 12px; gap: 12px; }
  .details-label { font-size: 10px; }
  footer { font-size: 11px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  nav { gap: 9px; font-size: 10px; }
  .button { padding-inline: 10px; font-size: 11px; }
  .resource-list li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
