:root {
  color-scheme: light;
  --ink: #192f32;
  --muted: #52656b;
  --accent: #136551;
  --line: #dbe4e4;
  --surface: #f3f7f7;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: #fff; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible, .figure-scroll:focus-visible { outline: 3px solid #258673; outline-offset: 5px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
button, summary { -webkit-tap-highlight-color: transparent; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 14px; background: #fff; }
.skip:focus { top: 10px; }
.nav { max-width: 1320px; margin: auto; padding: 18px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -1px; }
.nav nav { display: flex; gap: 28px; align-items: center; font-size: 14px; }
.nav-paper { border-left: 1px solid var(--line); padding-left: 28px; color: var(--accent); font-weight: 600; }
.hero { min-height: 590px; padding: 65px 32px 70px; position: relative; display: flex; align-items: center; justify-content: center; isolation: isolate; color: white; background: #122127; text-align: center; }
.hero-background, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #0d151b; }
.hero-background { object-fit: cover; }
.hero-overlay { z-index: -1; background: linear-gradient(180deg, #091d29d9 0%, #12282ecd 55%, #11272b80 100%); }
.hero-title { max-width: 1100px; }
.hero h1 { text-shadow: 0 2px 20px #07151b55; }
h1 { font-weight: 650; line-height: 1.23; }
.acronym { display: block; font-size: clamp(44px, 5vw, 68px); letter-spacing: -2.5px; color: #b9eddb; margin-bottom: 17px; }
.paper-title { display: block; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.9px; text-wrap: balance; }
h1 small { display: block; font-size: clamp(17px, 1.7vw, 23px); font-weight: 450; line-height: 1.5; margin-top: 12px; text-wrap: balance; }
.hero-description { max-width: 650px; margin: 26px auto 24px; font-size: 17px; color: #eef8f5; text-wrap: balance; }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button { padding: 11px 24px; border: 1px solid #ffffff8a; border-radius: 6px; font-family: inherit; font-size: 14px; font-weight: 600; line-height: inherit; white-space: nowrap; background: #ffffff0d; }
.button.primary { background: #f4fffa; color: #164d3d; border-color: #f4fffa; }
.button:not(:disabled):hover { background: #b9eddb; border-color: #b9eddb; color: #123c30; }
.button:disabled { color: #dbe8e3; border-color: #ffffff50; cursor: default; }
.affiliation { display: block; width: 224px; margin: 30px auto 0; }
.affiliation img { display: block; width: 100%; filter: brightness(0) invert(1); }
.background-toggle { position: absolute; bottom: 16px; right: 24px; background: #0b1b24aa; border: 1px solid #ffffff70; color: #fff; border-radius: 5px; padding: 8px 12px; font: inherit; font-size: 12px; cursor: pointer; }
.content, .demo { width: min(1184px, 100%); margin: auto; padding: 64px 48px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 12px; }
h2 { font-size: clamp(28px, 2.8vw, 38px); font-weight: 650; line-height: 1.2; letter-spacing: -1px; text-wrap: balance; }
h3 { font-size: 18px; line-height: 1.4; font-weight: 600; }
.research-overview { display: grid; grid-template-columns: .85fr 1.4fr; align-items: center; gap: 46px; padding-top: 72px; padding-bottom: 60px; }
.overview-copy>p:not(.eyebrow) { font-size: 16px; color: var(--muted); margin-top: 18px; }
.overview-copy strong { color: var(--ink); font-weight: 600; }
.text-link { display: inline-block; color: var(--accent); border-bottom: 1px solid #8bb8ac; font-size: 14px; font-weight: 600; margin-top: 22px; }
.overview-film { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 36px #102d3210; }
.adaptation { padding-top: 22px; padding-bottom: 60px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 25px; }
.section-heading>p { max-width: 365px; color: var(--muted); font-size: 15px; }
.demo-context { max-width: 390px; color: var(--muted); font-size: 15px; }
.demo-context p + p { margin-top: 6px; }
.demo-context strong { color: var(--accent); font-size: 12px; letter-spacing: .7px; text-transform: uppercase; margin-right: 8px; }
.reward-copy .demo-context { margin-top: 15px; }
.adaptation h2 { font-size: 29px; }
.adaptation figure { border: 1px solid var(--line); border-radius: 10px; padding: 22px 22px 16px; }
.figure-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #92b3ac #eaf0ee; border-radius: 4px; }
.figure-scroll img { max-width: none; }
.figure-actions { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.figure-actions a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.swipe-hint { display: none; }
.adaptation figcaption, .method-section figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; text-align: left; }
figure img { display: block; width: 100%; }
figure figcaption { font-size: 13px; color: var(--muted); margin-top: 13px; }
.demo-band { background: var(--surface); border-block: 1px solid var(--line); padding-bottom: 20px; }
.demo-nav { position: sticky; top: 0; z-index: 5; background: #f3f7f7f5; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.demo-nav nav { display: flex; justify-content: center; gap: 38px; padding: 18px 24px; font-size: 14px; }
.demo { padding-top: 45px; padding-bottom: 30px; }
.clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.clip { background: #fff; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.gallery-title { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.clip-count { font-size: 12px; color: var(--muted); background: #e5edeb; border-radius: 20px; padding: 3px 10px; white-space: nowrap; }
.more-clips { margin-top: 18px; }
.more-clips summary { color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer; width: fit-content; padding: 10px 16px; min-height: 44px; border: 1px solid #bfd2cc; border-radius: 6px; background: #fff; }
.more-clips summary:hover { border-color: var(--accent); background: #eef5f2; }
.more-clips summary::marker { color: var(--accent); }
.when-open, details[open] .when-closed { display: none; }
details[open] .when-open { display: inline; }
.more-clips .clips { padding-top: 15px; }
.reward { width: min(1088px, calc(100% - 96px)); margin: 30px auto; padding: 30px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 35px; align-items: center; background: #e5efec; border: 1px solid #d1e2db; border-radius: 10px; }
.reward h2 { font-size: 32px; }
.reward-copy>p:not(.eyebrow) { color: var(--muted); margin-top: 15px; }
.reward video { border-radius: 7px; }
dl { display: flex; gap: 34px; margin: 20px 0 0; }
dt { font-size: 13px; color: var(--muted); }
dd { font-size: 34px; line-height: 1.4; color: var(--accent); margin: 0; letter-spacing: -1px; }
dd span { font-size: 16px; letter-spacing: 0; }
.fine { font-size: 12px; }
.method-section { padding-top: 64px; padding-bottom: 64px; }
.method-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.method-points>div { border-top: 1px solid var(--line); padding-top: 18px; }
.method-points span { color: var(--accent); font-size: 12px; font-weight: 600; }
.method-points h3 { margin: 8px 0; }
.method-points p { color: var(--muted); font-size: 15px; }
.method-section figure { max-width: 800px; margin: 36px auto 0; }

.method-section figcaption a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
footer { max-width: 1088px; margin: 0 auto; padding: 30px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand span { color: var(--muted); font-size: 14px; border-left: 1px solid var(--line); padding-left: 20px; }
.footer-paper { color: var(--accent); font-size: 14px; font-weight: 600; }
.contact { flex-basis: 100%; text-align: center; color: var(--muted); font-size: 14px; padding-top: 5px; }
.contact a { color: var(--accent); }
.visitor-count { display: block; margin-bottom: 8px; }
.visitor-count strong { color: var(--accent); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .nav { padding-inline: 28px; }
  .content,.demo { padding-inline: 28px; }
  .research-overview { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .overview-copy { max-width: 630px; }
  .overview-copy h2 br { display: none; }
  .hero { min-height: 560px; padding-inline: 28px; }
  .section-heading { display: block; }
  .section-heading>p { margin-top: 14px; max-width: 600px; }
  .section-heading>.demo-context { margin-top: 14px; max-width: 600px; }
  .reward { width: calc(100% - 56px); grid-template-columns: 1fr; padding: 28px; }
  .method-points { gap: 22px; }
  footer { margin-inline: 28px; }
}
@media (max-width: 560px) {
  .nav { padding: 16px 20px; gap: 12px; }
  .nav nav { gap: 15px; font-size: 14px; }
  .nav-paper { display: none; }
  .wordmark { font-size: 22px; }
  .hero { padding: 40px 22px 65px; min-height: 570px; }
  .hero-background { object-position: 50% center; }
  .acronym { font-size: 49px; }
  .paper-title { font-size: 29px; line-height: 1.22; }
  h1 small { font-size: 17px; }
  .hero-description { font-size: 16px; margin-block: 22px; }
  .affiliation { width: 200px; margin-top: 24px; }
  .button { padding: 10px 18px; }
  .background-toggle { right: 20px; bottom: 16px; }
  .content,.demo { padding-inline: 20px; }
  .research-overview { padding-block: 40px; }
  .overview-copy h2 { font-size: 32px; }
  .overview-copy>p:not(.eyebrow) { margin-top: 15px; }
  .adaptation { padding-top: 0; padding-bottom: 40px; }
  .adaptation figure { padding: 12px; }
  .adaptation .figure-scroll img { width: 840px; }
  .method-section .figure-scroll img { width: 780px; }
  .swipe-hint { display: inline; }
  .adaptation figcaption, .method-section figcaption { font-size: 13px; }
  .adaptation h2 { font-size: 27px; }
  .demo-nav nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; padding: 12px 20px; font-size: 14px; }
  .demo-nav a { text-align: center; }
  .clips { grid-template-columns: 1fr; gap: 20px; }
  .demo { padding-top: 34px; padding-bottom: 22px; }
  .reward { width: calc(100% - 40px); padding: 22px; gap: 22px; margin-block: 22px; }
  .reward h2 { font-size: 29px; }
  .method-section { padding-block: 40px; }
  .method-points { grid-template-columns: 1fr; gap: 20px; }
  .method-points>div { position: relative; padding-left: 32px; }
  .method-points span { position: absolute; left: 0; top: 26px; }
  .method-points p { font-size: 16px; }
  footer { margin-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
