@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #07131d;
  --ink-soft: #0c1c29;
  --paper: #f1eee6;
  --paper-2: #e7e3da;
  --mist: #b7c3c7;
  --blue: #87d4e3;
  --blue-deep: #42a9c0;
  --amber: #f1a94e;
  --amber-soft: #ffd694;
  --line-dark: rgba(255,255,255,.13);
  --line-light: rgba(7,19,29,.15);
  --radius: 24px;
  --max: 1240px;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
section[id] { scroll-margin-top: 88px; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); padding: 10px 16px; color: #fff; background: var(--ink); border-radius: 999px; }
.skip-link:focus { transform: translateY(0); }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: .035; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }

.site-header { position: fixed; inset: 18px 24px auto; z-index: 100; width: min(calc(100% - 48px), 1320px); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 11px 13px 11px 18px; color: #eaf4f4; background: rgba(6,17,26,.72); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; box-shadow: 0 20px 50px rgba(0,0,0,.18); backdrop-filter: blur(18px); transition: background .3s, transform .3s; }
.site-header.scrolled { background: rgba(6,17,26,.9); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-family: var(--sans); font-weight: 800; letter-spacing: -.03em; }
.brand-mark { display: block; flex: 0 0 32px; width: 32px; height: 24px; border: 0; background: transparent; transform: none; }
.nav-links { display: flex; align-items: center; gap: 7px; }
.nav-links a { padding: 8px 11px; border-radius: 999px; color: rgba(234,244,244,.67); font-size: 12px; font-weight: 600; transition: .25s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.09); }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(360px,.88fr) minmax(480px,1.12fr); gap: clamp(30px,5vw,78px); align-items: center; padding: 130px max(5vw,40px) 80px; color: #f3f5f2; background: radial-gradient(circle at 70% 55%, #153549 0, transparent 37%), linear-gradient(135deg,#06111a 0%,#081926 52%,#0a1d26 100%); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, #000, transparent 80%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-glow-a { width: 430px; height: 430px; top: -170px; left: 15%; background: rgba(66,169,192,.2); }
.hero-glow-b { width: 340px; height: 340px; right: -80px; bottom: -80px; background: rgba(241,169,78,.15); }
.hero-copy, .hero-cinema { position: relative; z-index: 2; }
.eyebrow, .kicker { margin: 0 0 18px; color: var(--amber); font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--amber-soft); }
.eyebrow span { width: 28px; height: 1px; background: var(--amber); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 760px; margin: 0; font-family: var(--sans); font-size: clamp(52px,6.2vw,102px); line-height: .97; letter-spacing: -.07em; }
h1 em { display: block; color: var(--blue); font-style: normal; font-weight: 500; }
.hero-deck { max-width: 650px; margin: 28px 0 30px; color: rgba(235,244,242,.7); font-size: clamp(16px,1.35vw,20px); line-height: 1.6; }
.resource-row { display: flex; flex-wrap: wrap; gap: 9px; max-width: 720px; }
.resource-button { display: flex; align-items: center; gap: 8px; min-height: 43px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.055); color: #f3f5f2; font-size: 12px; font-weight: 700; backdrop-filter: blur(10px); transition: transform .25s, border-color .25s, background .25s; }
.resource-button:hover { transform: translateY(-2px); border-color: rgba(241,169,78,.7); background: rgba(241,169,78,.1); }
.resource-button svg { width: 17px; height: 17px; fill: none; stroke: var(--amber-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.resource-button small { padding: 3px 6px; border-radius: 999px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.55); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }

.hero-cinema { min-height: min(650px,70vh); display: grid; place-items: center; }
.cinema-rail { position: relative; width: 100%; min-height: 580px; perspective: 1100px; }
.cinema-card { position: absolute; overflow: hidden; margin: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: #05090d; box-shadow: 0 35px 80px rgba(0,0,0,.43); }
.cinema-card::before, .demo-card::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 -100px 100px rgba(0,0,0,.35); }
.cinema-card video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); }
.cinema-card figcaption { position: absolute; left: 17px; right: 17px; bottom: 14px; z-index: 2; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.78); font-family: var(--sans); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.cinema-card figcaption span { color: var(--amber); }
.cinema-card-a { width: 74%; aspect-ratio: 16/10; top: 4%; left: 0; transform: rotateY(4deg) rotateZ(-2deg); }
.cinema-card-b { width: 68%; aspect-ratio: 16/10; top: 27%; right: -2%; transform: rotateY(-4deg) rotateZ(2.5deg); }
.cinema-card-c { width: 72%; aspect-ratio: 16/10; left: 8%; bottom: 0; transform: rotateY(3deg) rotateZ(-1deg); }
.cinema-meta { position: absolute; left: 5%; right: 5%; bottom: -30px; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 8px; color: rgba(255,255,255,.38); font-size: 9px; letter-spacing: .15em; }
.cinema-meta i { height: 1px; background: linear-gradient(90deg,var(--amber),rgba(135,212,227,.35)); }
.motion-toggle { position: absolute; right: 0; bottom: -76px; display: flex; align-items: center; gap: 7px; border: 0; padding: 8px 11px; border-radius: 999px; color: rgba(255,255,255,.58); background: transparent; font: 600 10px var(--sans); cursor: pointer; }
.motion-toggle:hover { color: #fff; }
.motion-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.scroll-cue { position: absolute; z-index: 3; left: max(5vw,40px); bottom: 28px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.38); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue i { width: 48px; height: 1px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-cue i::after { content: ''; display: block; width: 18px; height: 1px; background: var(--amber); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateX(-20px); } 70%,100% { transform: translateX(50px); } }

.section { position: relative; overflow: hidden; padding: clamp(90px,10vw,160px) max(5vw,40px); }
.section > * { width: min(100%, var(--max)); margin-inline: auto; }
.section-index { position: absolute; top: 42px; right: max(5vw,40px); width: auto; color: rgba(7,19,29,.22); font: 700 11px var(--sans); letter-spacing: .12em; }
.section-heading { max-width: 820px; margin: 0 auto 56px; }
.section-heading.split { max-width: var(--max); display: grid; grid-template-columns: 1.15fr .7fr; gap: 80px; align-items: end; }
.section-heading h2, .citation h2 { margin: 0; font-family: var(--sans); font-size: clamp(39px,5vw,72px); line-height: 1.02; letter-spacing: -.055em; }
.section-heading > p, .section-heading.split > p { margin: 24px 0 0; max-width: 680px; color: #566068; font-size: 18px; line-height: 1.7; }
.section-heading.split > p { margin: 0; font-size: 16px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.workflow { color: #eef5f3; background: #07131d; }
.workflow::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 76% 26%,rgba(66,169,192,.14),transparent 34%), linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: auto,72px 72px,72px 72px; }
.workflow .section-index { color: rgba(255,255,255,.24); }
.workflow .section-heading { position: relative; }
.workflow .section-heading.split > p { color: rgba(237,245,244,.58); }
.workflow-player { position: relative; }
.workflow-video-shell { overflow: hidden; padding: 9px; border: 1px solid rgba(135,212,227,.24); border-radius: 28px; background: linear-gradient(145deg,rgba(135,212,227,.09),rgba(255,255,255,.025)); box-shadow: 0 38px 100px rgba(0,0,0,.38); }
.workflow-video-shell video { display: block; width: 100%; aspect-ratio: 16/9; border-radius: 19px; background: #02070a; object-fit: cover; }
.workflow-caption { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 20px 5px 17px; border-bottom: 1px solid var(--line-dark); }
.workflow-caption p { margin: 0; color: rgba(237,245,244,.43); font: 600 10px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.workflow-caption p:first-child { display: grid; gap: 5px; }
.workflow-caption span { color: var(--amber-soft); font-size: 9px; letter-spacing: .14em; }
.workflow-caption strong { color: #eef5f3; font-size: 14px; letter-spacing: -.01em; text-transform: none; }
.workflow-timeline { display: grid; grid-template-columns: repeat(5,1fr); padding-top: 20px; }
.workflow-timeline span { position: relative; padding: 0 16px 0 24px; color: rgba(237,245,244,.58); font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.workflow-timeline span::before { content: ''; position: absolute; left: 4px; top: 50%; width: 7px; height: 7px; border: 1px solid var(--blue); border-radius: 50%; transform: translateY(-50%); box-shadow: 0 0 0 4px rgba(135,212,227,.08); }
.workflow-timeline span:not(:last-child)::after { content: ''; position: absolute; top: 50%; left: calc(100% - 10px); width: 20px; height: 1px; background: linear-gradient(90deg,rgba(135,212,227,.42),rgba(241,169,78,.38)); }

.challenge { background: var(--paper); }
.challenge-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 42px; align-items: stretch; }
.challenge-figure { overflow: hidden; min-height: 460px; border: 1px solid var(--line-light); border-radius: var(--radius); background: #fff; box-shadow: 0 20px 60px rgba(18,29,35,.08); }
.challenge-figure img { width: 100%; height: 100%; object-fit: contain; }
.challenge-list { display: flex; flex-direction: column; justify-content: center; }
.challenge-list article { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 27px 0; border-bottom: 1px solid var(--line-light); }
.challenge-list article:first-child { border-top: 1px solid var(--line-light); }
.challenge-list article > span { color: #9b6a2f; font: 700 11px var(--sans); }
.challenge-list h3 { margin: 0 0 7px; font: 700 19px var(--sans); letter-spacing: -.02em; }
.challenge-list p { margin: 0; color: #697176; font-size: 14px; }

.method { color: #eef5f3; background: var(--ink); }
.method .section-index { color: rgba(255,255,255,.25); }
.method .section-heading > p { color: rgba(238,245,243,.6); }
.method-stage { overflow: hidden; padding: 14px; border: 1px solid var(--line-dark); border-radius: 30px; background: linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025)); box-shadow: 0 35px 90px rgba(0,0,0,.26); }
.method-stage img { width: 100%; border-radius: 18px; background: white; }
.method-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 18px; }
.method-cards article { padding: 28px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(255,255,255,.025); }
.method-cards b { color: var(--amber); font: 700 10px var(--sans); letter-spacing: .14em; }
.method-cards h3 { margin: 30px 0 8px; font: 700 18px var(--sans); }
.method-cards p { margin: 0; color: rgba(238,245,243,.53); font-size: 13px; }

.data { background: #f3f0e8; }
.stats-row { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.stats-row div { padding: 28px 18px 28px 0; border-right: 1px solid var(--line-light); }
.stats-row div:not(:first-child) { padding-left: 24px; }
.stats-row div:last-child { border-right: 0; }
.stats-row strong { display: block; font: 700 clamp(30px,3vw,48px) var(--sans); letter-spacing: -.05em; }
.stats-row span { color: #697176; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.data-example-block { margin-top: 42px; padding: clamp(26px,3.5vw,48px); border-radius: 28px; color: #edf5f4; background: #0d2532; }
.data-example-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,6vw,90px); align-items: end; margin-bottom: 34px; }
.data-example-head .kicker { color: var(--amber-soft); }
.data-example-head h3 { margin: 8px 0 0; font: 700 clamp(34px,4.6vw,64px)/.98 var(--sans); letter-spacing: -.055em; }
.data-example-head > p { max-width: 560px; margin: 0; color: rgba(237,245,244,.58); font-size: 16px; }
.dataset-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.dataset-card { position: relative; overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--line-dark); border-radius: 20px; background: #040b10; cursor: pointer; box-shadow: 0 20px 55px rgba(0,0,0,.18); }
.dataset-card video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1), filter .35s; }
.dataset-card::after { content: ''; position: absolute; inset: 45% 0 0; pointer-events: none; background: linear-gradient(transparent,rgba(2,8,12,.82)); }
.dataset-card:hover video, .dataset-card:focus video { transform: scale(1.035); filter: saturate(1.08); }
.dataset-card:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.dataset-caption { position: absolute; z-index: 2; inset: auto 18px 16px; display: grid; grid-template-columns: 1fr auto; align-items: end; color: #fff; }
.dataset-caption span { grid-column: 1; color: var(--amber-soft); font: 700 9px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.dataset-caption strong { grid-column: 1; margin-top: 3px; font: 700 18px var(--sans); letter-spacing: -.025em; }
.dataset-caption i { grid-column: 2; grid-row: 1/3; align-self: center; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-style: normal; background: rgba(4,12,18,.42); backdrop-filter: blur(8px); }

.results { color: #edf5f4; background: #0a1923; }
.results .section-index { color: rgba(255,255,255,.2); }
.results .section-heading.split > p { color: rgba(237,245,244,.55); }
.result-hero { display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid var(--line-dark); border-radius: 28px; background: linear-gradient(135deg,rgba(135,212,227,.08),rgba(241,169,78,.025)); }
.result-number { padding: 44px; border-right: 1px solid var(--line-dark); }
.result-number > span { color: var(--amber-soft); font: 700 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.result-number strong { display: block; margin: 28px 0 12px; color: var(--blue); font: 700 clamp(80px,10vw,150px)/.8 var(--sans); letter-spacing: -.08em; }
.result-number strong small { font-size: .22em; color: var(--blue); }
.result-number p { margin: 25px 0 0; color: rgba(237,245,244,.5); font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.metric-grid div { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 28px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.metric-grid div:nth-child(3n) { border-right: 0; }
.metric-grid div:nth-child(n+4) { border-bottom: 0; }
.metric-grid span { color: rgba(237,245,244,.45); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.metric-grid strong { font: 700 clamp(28px,3.4vw,48px) var(--sans); letter-spacing: -.05em; }
.leaderboard { margin-top: 30px; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 22px; }
.leaderboard-head { display: flex; justify-content: space-between; align-items: baseline; padding: 23px 25px; border-bottom: 1px solid var(--line-dark); }
.leaderboard-head h3 { margin: 0; font: 700 17px var(--sans); }
.leaderboard-head p { margin: 0; color: rgba(237,245,244,.36); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 890px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 14px 13px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: right; font-size: 12px; }
th { color: rgba(237,245,244,.38); font: 700 9px var(--sans); letter-spacing: .07em; text-transform: uppercase; }
th:first-child, td:first-child { text-align: left; padding-left: 25px; }
tr:last-child td { border-bottom: 0; }
tbody tr { color: rgba(237,245,244,.64); }
tbody tr:hover { background: rgba(255,255,255,.025); }
tr.ours { color: #fff; background: rgba(135,212,227,.1); font-weight: 700; }
tr.ours td { color: var(--blue); }
tr.ours td:first-child { color: #fff; }
tr.ours small { margin-left: 6px; padding: 3px 6px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: 8px; text-transform: uppercase; }

.demos { background: #e8e4db; }
.demo-grid { display: grid; grid-template-columns: repeat(3,calc((100% - 32px)/3)); grid-auto-flow: row; gap: 16px; width: 100%; max-width: var(--max); }
.demo-card { position: relative; overflow: hidden; width: 100%; min-width: 0; aspect-ratio: 16/10; border: 1px solid var(--line-light); border-radius: 20px; background: #050a0d; cursor: pointer; box-shadow: 0 20px 55px rgba(0,0,0,.12); }
.demo-card video { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1), filter .4s; }
.demo-card:hover video, .demo-card:focus video { transform: scale(1.025); filter: saturate(1.08); }
.demo-overlay { position: absolute; z-index: 2; inset: auto 16px 15px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: end; color: #fff; }
.demo-caption { display: grid; gap: 5px; min-width: 0; }
.demo-caption p { margin: 0; color: rgba(255,255,255,.96); font: 600 clamp(11px,.92vw,14px)/1.3 var(--sans); letter-spacing: -.01em; text-wrap: balance; }
.demo-caption strong { display: inline-block; min-width: 56px; margin-right: 5px; color: var(--amber-soft); font-size: .65em; letter-spacing: .12em; text-transform: uppercase; vertical-align: .12em; }
.demo-overlay button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; background: rgba(5,15,21,.5); cursor: pointer; backdrop-filter: blur(8px); }


.citation { background: var(--amber); }
.citation-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.citation .kicker { color: #694214; }
.citation p { max-width: 500px; color: rgba(7,19,29,.62); }
.citation pre { overflow-x: auto; margin: 0; padding: 30px; border-radius: 20px; color: #dce9e8; background: #091820; box-shadow: 0 24px 60px rgba(63,40,12,.18); font: 12px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace; }

footer { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 30px; padding: 32px max(5vw,40px); color: rgba(237,245,244,.55); background: #040c12; font-size: 11px; }
footer .brand { color: #fff; }
footer p { margin: 0; }
.footer-meta { text-transform: uppercase; letter-spacing: .1em; }
.footer-top { padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(237,245,244,.72); font-weight: 700; transition: color .2s, border-color .2s, background .2s; }
.footer-top:hover { border-color: rgba(241,169,78,.65); color: #fff; background: rgba(241,169,78,.08); }

.video-dialog { width: min(1100px,92vw); max-width: none; padding: 0; border: 1px solid rgba(255,255,255,.15); border-radius: 22px; background: #020609; box-shadow: 0 40px 120px rgba(0,0,0,.65); }
.video-dialog::backdrop { background: rgba(1,7,10,.88); backdrop-filter: blur(10px); }
.video-dialog video { width: 100%; max-height: 86vh; border-radius: 22px; }
.dialog-close { position: fixed; z-index: 2; top: 22px; right: 24px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; background: rgba(0,0,0,.45); font-size: 25px; cursor: pointer; }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 130px; }
  .hero-copy { max-width: 820px; }
  .hero-cinema { min-height: 650px; }
  .cinema-rail { width: min(820px,100%); }
  .challenge-grid { grid-template-columns: 1fr; }
  .challenge-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
  .challenge-list article, .challenge-list article:first-child { border-top: 1px solid var(--line-light); }
  .method-cards { grid-template-columns: 1fr; }
  .method-cards h3 { margin-top: 20px; }
  .result-hero { grid-template-columns: 1fr; }
  .result-number { border-right: 0; border-bottom: 1px solid var(--line-dark); }
}

@media (max-width: 760px) {
  .site-header { inset: 10px 12px auto; width: calc(100% - 24px); }
  .hero, .section { padding-left: 20px; padding-right: 20px; }
  .hero { overflow: hidden; padding-top: 120px; }
  h1 { font-size: clamp(48px,14vw,76px); }
  .resource-row { gap: 7px; }
  .resource-button { padding: 9px 11px; }
  .hero-cinema { min-height: 480px; margin-top: 25px; }
  .cinema-rail { min-height: 430px; }
  .cinema-card-a { width: 86%; }
  .cinema-card-b { width: 78%; top: 28%; }
  .cinema-card-c { width: 82%; }
  .cinema-card figcaption { font-size: 8px; }
  .scroll-cue { display: none; }
  .section-index { top: 28px; right: 20px; }
  .section-heading, .section-heading.split { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .section-heading.split > p { font-size: 15px; }
  .challenge-figure { min-height: 0; }
  .workflow-caption { display: grid; gap: 9px; }
  .workflow-timeline { grid-template-columns: repeat(5,max-content); gap: 17px; overflow-x: auto; padding-bottom: 8px; }
  .workflow-timeline span { padding-left: 20px; padding-right: 0; }
  .workflow-timeline span::after { display: none; }
  .challenge-list { grid-template-columns: 1fr; gap: 0; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stats-row div { border-bottom: 1px solid var(--line-light); }
  .stats-row div:nth-child(2n) { border-right: 0; }
  .stats-row div:last-child { border-bottom: 0; }
  .data-example-head { grid-template-columns: 1fr; gap: 18px; }
  .dataset-grid { grid-template-columns: repeat(2,1fr); }
  .result-number { padding: 30px; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .metric-grid div:nth-child(3n) { border-right: 1px solid var(--line-dark); }
  .metric-grid div:nth-child(2n) { border-right: 0; }
  .metric-grid div:nth-child(4) { border-bottom: 1px solid var(--line-dark); }
  .leaderboard-head { display: block; }
  .demo-grid { grid-template-columns: repeat(2,1fr); }
  .demo-card { grid-column: auto; min-height: 0; }
  .citation-grid { grid-template-columns: 1fr; gap: 35px; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .dataset-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
