:root {
  --ink: #0b1728;
  --muted: #5c6d80;
  --line: #d9e1eb;
  --paper: #f5f7fb;
  --white: #ffffff;
  --accent: #0869f5;
  --accent-deep: #0750c5;
  --hero-mark: #e8f1fb;
  --lime: #8eb7e8;
  --coral: #ff805a;
  --max-width: 1160px;
  --font-geist-sans: "Geist";
  --font-geist-mono: "Geist Mono";
  --font-card-title: "Lora", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-card-body: "Inter", "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-geist-sans), "Inter", Arial, sans-serif; font-size: 16px; line-height: 1.58; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select, input { font: inherit; }

.hero { position: relative; overflow: hidden; min-height: auto; display: grid; place-items: center; padding: 4.6rem 1.5rem 3.3rem; color: var(--ink); background: var(--white); border-bottom: 1px solid var(--line); }
.hero::before, .hero::after { content: ""; position: absolute; width: 42vw; aspect-ratio: 1; border-radius: 50%; filter: blur(9px); opacity: .52; pointer-events: none; }
.hero::before { left: -20vw; top: -28vw; background: radial-gradient(circle, #145df2 0%, transparent 67%); }
.hero::after { right: -16vw; bottom: -31vw; background: radial-gradient(circle, #0dcbd1 0%, transparent 68%); }
.hero-noise { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 95%); }
.hero-inner { position: relative; z-index: 2; width: min(100%, 1080px); text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.7rem; color: #a9bfd9; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(142,183,232,.14); }
h1 { margin: 0; letter-spacing: -.05em; line-height: .97; }
h1 > span { display: block; }
.hero-mark { display: block; color: var(--accent); font-family: var(--font-geist-sans), "Inter", Arial, sans-serif; font-size: clamp(3.6rem, 8.4vw, 6.4rem); font-weight: 800; letter-spacing: -.08em; line-height: .86; }
.hero-title { display: block; margin: .7rem auto 0; color: var(--ink); font-family: var(--font-geist-sans), "Inter", Arial, sans-serif; font-size: clamp(1.42rem, 2.7vw, 2.2rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.12; white-space: nowrap; }
h1 small { display: block; max-width: 34em; margin: .85rem auto 0; color: var(--muted); font-size: clamp(1.18rem, 2.05vw, 1.52rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.42; text-wrap: balance; }
.authors { margin-top: 2rem; }
.author-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.7rem; font-size: 1rem; font-weight: 600; }
.authors p { margin: .45rem 0 0; color: #a9bfd9; font-size: .82rem; }
.resource-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.resource-links a { display: inline-flex; align-items: center; gap: .65rem; min-width: 150px; justify-content: center; padding: .72rem 1.15rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-size: .85rem; font-weight: 650; text-decoration: none; transition: 160ms ease; }
.resource-links a:hover, .resource-links a:focus-visible { border-color: var(--accent); background: var(--accent); color: white; transform: translateY(-2px); }

.section-nav { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(217,225,235,.9); background: rgba(255,255,255,.92); backdrop-filter: blur(16px) saturate(180%); }
.section-nav > div { width: min(100% - 2rem, var(--max-width)); min-height: 58px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.55rem; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { color: var(--muted); font-size: .8rem; font-weight: 650; letter-spacing: .02em; text-decoration: none; white-space: nowrap; transition: color 150ms ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent); }

.section { width: min(100% - 2.5rem, var(--max-width)); margin: 0 auto; padding: 5.6rem 0; scroll-margin-top: 64px; }
.section + .section { border-top: 1px solid var(--line); }
.section-kicker { margin-bottom: 1.1rem; color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.section-heading p { margin: 0 0 .5rem; color: var(--accent); font-size: .7rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.section h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.08; }
.section-heading h2 span { display: block; }
.section-heading-accent h2 { display: flex; align-items: stretch; gap: .85rem; }
.section-heading-accent h2::before { content: ""; flex: 0 0 .32rem; width: .32rem; min-height: 1.05em; margin: .08em 0; border-radius: 999px; background: var(--accent); }
.gallery-section .section-heading h2,
.downstream-section .section-heading h2,
.ablation-section .section-heading h2,
.component-ablation-section .section-heading h2,
.grpo-section .section-heading h2,
.destutter-section .section-heading h2 { color: var(--accent); font-family: var(--font-geist), "Geist", sans-serif; font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 750; letter-spacing: .08em; line-height: 1.15; text-transform: uppercase; }
.section-intro { max-width: none; margin: 1.35rem 0 0; color: var(--muted); font-size: .96rem; line-height: 1.7; }
.gallery-section { width: min(100% - 2.5rem, 1320px); }
.gallery-section .section-intro { white-space: nowrap; }

.overview { padding-top: 2.8rem; }
.overview-layout { display: grid; grid-template-columns: 1fr; gap: 2.2rem; align-items: start; }
.overview-copy { max-width: 820px; }
.section-number { display: block; margin-bottom: 1.15rem; color: var(--accent); font-family: var(--font-geist-mono), monospace; font-size: .75rem; font-weight: 750; }
.overview-copy h2 { font-size: clamp(1.85rem, 3.2vw, 2.9rem); }
.overview-copy p { max-width: 470px; margin: 1.35rem 0 0; color: var(--muted); font-size: .96rem; line-height: 1.68; }
.overview-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.overview-tags span { padding: .42rem .7rem; border: 1px solid #c4d0df; border-radius: 999px; background: var(--white); color: var(--accent-deep); font-size: .73rem; font-weight: 700; }
.overview-video { position: relative; order: -1; overflow: hidden; min-height: 0; aspect-ratio: 2.55 / 1; border: 1px solid #c7d5e4; border-radius: 18px; background: #09192c; box-shadow: 0 25px 70px rgba(18,48,83,.15); }
.overview-video video { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.overview-video-label { position: absolute; left: 1.15rem; right: 1.15rem; bottom: 1rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(7,20,38,.74); color: white; backdrop-filter: blur(12px); }
.overview-video-label span { color: var(--lime); font-size: .68rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.overview-video-label strong { font-size: .86rem; font-weight: 650; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.2rem; }
.highlight-card { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 1rem; min-height: 118px; padding: 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.68); }
.highlight-card span { color: var(--accent); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; }
.highlight-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.48; }

.gallery-section { padding-top: 6rem; }
.sync-gallery { margin-top: 2.4rem; }
.sync-panel { position: sticky; top: 78px; z-index: 10; display: grid; grid-template-columns: minmax(180px, .6fr) minmax(0, 1.4fr); gap: 1rem 1.3rem; padding: 1rem 1.15rem .9rem; border: 1px solid #bbcadb; border-radius: 14px; background: rgba(255,255,255,.91); box-shadow: 0 16px 40px rgba(18,48,83,.1); backdrop-filter: blur(16px); }
.sync-panel-copy { display: flex; min-width: 0; align-items: center; }
.sync-summary { display: block; min-width: 0; overflow: hidden; color: var(--muted); font-size: .74rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.sync-summary strong { color: var(--ink); font-size: .88rem; letter-spacing: -.02em; }
.sync-summary b { color: var(--ink); font-weight: 700; }
.sync-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .45rem; }
.sync-actions button, .speed-control select { min-height: 36px; border-radius: 8px; font-size: .76rem; font-weight: 700; }
.sync-play { display: inline-flex; align-items: center; gap: .5rem; padding: .48rem .8rem; border: 1px solid var(--ink); background: var(--ink); color: white; cursor: pointer; }
.sync-play:hover, .sync-play:focus-visible { background: var(--accent); border-color: var(--accent); }
.sync-play span { color: var(--lime); }
.sync-secondary { padding: .48rem .7rem; border: 1px solid #c4d0df; background: white; color: var(--ink); cursor: pointer; }
.sync-secondary:hover, .sync-secondary:focus-visible { border-color: var(--accent); color: var(--accent); }
.speed-control { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .73rem; }
.speed-control select { padding: 0 .55rem; border: 1px solid #c4d0df; background: white; color: var(--ink); cursor: pointer; }
.sync-scrubber { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .7rem; }
.sync-scrubber input { width: 100%; accent-color: var(--accent); cursor: pointer; }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.35rem; margin-top: 1.35rem; }
.gallery-card { margin: 0; min-width: 0; }
.gallery-card-wide { grid-column: 1 / -1; }
.video-shell { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid #bfcede; border-radius: 12px; background: #09192c; box-shadow: 0 12px 28px rgba(18,48,83,.09); }
.video-shell-wide { aspect-ratio: 3.47 / 1; }
.video-shell video { display: block; width: 100%; height: 100%; object-fit: cover; background: #09192c; }
.video-index { position: absolute; top: .65rem; left: .65rem; display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(7,20,38,.74); color: var(--lime); font-family: var(--font-geist-mono), monospace; font-size: .68rem; font-weight: 750; }
.gallery-demo { min-width: 0; padding: 1rem 0 1.5rem; border-bottom: 1px solid #d6e0eb; }
.gallery-demo-heading { display: flex; align-items: center; gap: .75rem; }
.gallery-demo-heading .video-index { position: static; flex: 0 0 auto; }
.gallery-demo-heading > div { display: grid; gap: .16rem; min-width: 0; }
.gallery-demo-heading > div > span { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gallery-demo-heading strong { display: none; }
.gallery-triptych-labels, .gallery-triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.gallery-triptych-labels { margin-top: 1.05rem; }
.gallery-triptych-labels span { color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gallery-triptych { margin-top: .4rem; }
.gallery-demo > p { margin: .65rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.gallery-card figcaption { padding: .75rem .15rem 0; }
.gallery-card-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; }
.gallery-card-heading span { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gallery-card-heading strong { font-size: .98rem; letter-spacing: -.02em; }
.gallery-card p { margin: .3rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.gallery-note { margin: 1.35rem 0 0; color: var(--muted); font-size: .76rem; }
.mono-inline { font-family: var(--font-geist-mono), monospace; font-size: .9em; color: var(--ink); }
.downstream-section { padding-top: 5.6rem; }
.downstream-part { margin-top: 2.1rem; }
.downstream-part-title { margin: 0 0 1rem; color: var(--accent); font-family: var(--font-geist), "Geist", sans-serif; font-size: clamp(1.02rem, 1.7vw, 1.28rem); font-weight: 750; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.downstream-part-copy { max-width: 820px; margin: -.35rem 0 1.15rem; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.downstream-video-note { max-width: 820px; margin: .85rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.downstream-bar-figure { margin: 0 0 1.35rem; }
.downstream-extra-figure { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.downstream-extra-figure img { display: block; width: 100%; height: auto; }
.downstream-extra-stage .model-stage-actions.is-hidden { display: none; }
.downstream-extra-stage.is-chart .model-stage-header { display: none; }
.downstream-extra-stage.is-chart .downstream-switch-video-shell { display: none; }
.downstream-extra-stage:not(.is-chart) .downstream-extra-panel { display: none; }
.downstream-extra-stage.is-chart .downstream-extra-panel { display: grid; }
.downstream-extra-panel { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(12rem, .7fr); gap: 1rem; align-items: center; }
.downstream-rate-stack { display: grid; gap: .7rem; }
.downstream-rate-card { min-width: 0; padding: .85rem .95rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.9); }
.downstream-rate-card h4 { margin: 0 0 .55rem; color: var(--ink); font-size: .86rem; font-weight: 750; letter-spacing: -.015em; line-height: 1.35; }
.downstream-rate-table { width: 100%; border-collapse: collapse; }
.downstream-rate-table th, .downstream-rate-table td { padding: .22rem 0; font-size: .74rem; line-height: 1.35; }
.downstream-rate-table th { color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .62rem; font-weight: 750; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.downstream-rate-table th:nth-child(n+2), .downstream-rate-table td:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.downstream-rate-table td:first-child { color: var(--ink); font-weight: 650; }
.downstream-rate-table td:nth-child(n+2) { color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .7rem; }
.downstream-metric-stack { display: grid; gap: .55rem; align-content: center; }
.downstream-metric-card { min-width: 0; min-height: 58px; display: grid; place-items: center; align-content: center; gap: .04rem; padding: .44rem .65rem .4rem; border: 1px solid #bdc8d5; border-radius: 8px; background: #f3f6fa; box-shadow: 0 1px 2px rgba(18,48,83,.2); text-align: center; }
.downstream-metric-card span { color: #355574; font-family: var(--font-geist-sans), "Inter", Arial, sans-serif; font-size: .65rem; font-weight: 500; line-height: 1.1; }
.downstream-metric-card span i { font-family: Georgia, "Times New Roman", serif; font-size: 1.02em; font-style: italic; }
.downstream-metric-card strong { color: #102c49; font-family: var(--font-geist-sans), "Inter", Arial, sans-serif; font-size: 1.16rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.downstream-metric-card small { color: #718197; font-family: var(--font-geist-sans), "Inter", Arial, sans-serif; font-size: .55rem; font-weight: 500; line-height: 1.1; }
.downstream-metric-card sub { position: relative; bottom: -.12em; font-size: .8em; }
.ttc-block.downstream-part { margin-top: 2.6rem; }
.downstream-switcher { margin-top: 2.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 14px 32px rgba(18,48,83,.06); }
.model-tabs { display: flex; flex-wrap: wrap; gap: .55rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); background: rgba(248,250,253,.9); }
.model-tab { min-height: 38px; padding: .48rem .95rem; border: 1px solid #d9e2ee; border-radius: 999px; background: white; color: #64758d; font-size: .78rem; font-weight: 750; letter-spacing: .02em; cursor: pointer; transition: 160ms ease; }
.model-tab:hover, .model-tab:focus-visible { border-color: var(--accent); color: var(--accent); }
.model-tab.is-active { border-color: var(--accent); background: var(--accent); color: white; box-shadow: 0 8px 18px rgba(8,105,245,.2); }
.model-case-label { display: inline-flex; align-items: center; min-height: 38px; padding: .48rem .95rem; border: 1px solid var(--accent); border-radius: 999px; background: rgba(8,105,245,.1); color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .02em; }
span.model-tab { cursor: default; }
.model-stage { padding: 1.35rem; }
.model-stage-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.model-stage-header h3 { margin: .35rem 0 .18rem; font-size: 1.18rem; letter-spacing: -.03em; }
.model-stage-header p { margin: 0; color: var(--muted); font-size: .86rem; }
.model-stage-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem; }
.model-stage-actions.is-hidden { display: none; }
.model-stage-actions .sync-play,
.model-stage-actions .sync-secondary { min-height: 34px; border-radius: 8px; font-size: .74rem; font-weight: 700; }
.model-speed-control { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .73rem; font-weight: 700; }
.model-speed-control select { min-height: 34px; padding: 0 .6rem; border: 1px solid #c4d0df; border-radius: 8px; background: white; color: var(--ink); font-size: .76rem; font-weight: 700; cursor: pointer; }
.downstream-switch-video-shell { position: relative; overflow: hidden; aspect-ratio: 1664 / 576; border: 1px solid #bfcede; border-radius: 11px; background: #050b14; }
.downstream-switch-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #050b14; }
.downstream-video-overlay { position: absolute; inset: 0 0 auto; z-index: 2; display: grid; padding: .42rem .5rem; background: rgba(3,7,11,.98); pointer-events: none; color: white; font-family: var(--font-geist-mono), monospace; font-size: clamp(.54rem, .65vw, .68rem); font-weight: 800; letter-spacing: .025em; line-height: 1.18; text-align: center; text-transform: uppercase; }
.downstream-video-labels { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.downstream-video-labels span:last-child { color: var(--lime); }
.downstream-groups { display: grid; gap: 2.1rem; margin-top: 2.4rem; }
.downstream-group { padding: 1.45rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.72); box-shadow: 0 14px 32px rgba(18,48,83,.06); }
.downstream-group-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.downstream-group-header h3 { margin: .35rem 0 .15rem; font-size: 1.16rem; letter-spacing: -.03em; }
.downstream-group-header p { margin: 0; color: var(--muted); font-size: .78rem; }
.downstream-kicker { color: var(--accent); font-family: var(--font-geist-mono), monospace; font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.downstream-score { display: none; }
.downstream-score span { display: block; color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; }
.downstream-score strong { display: block; margin-top: .18rem; color: var(--ink); font-family: Georgia, serif; font-size: 1.5rem; letter-spacing: -.04em; }
.downstream-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.downstream-controls button { min-height: 34px; border-radius: 8px; font-size: .74rem; font-weight: 700; }
.downstream-status { color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .68rem; }
.downstream-model-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.05rem; }
.downstream-card { min-width: 0; margin: 0; }
.downstream-card figcaption { display: flex; align-items: baseline; justify-content: flex-start; gap: .4rem; margin-bottom: .4rem; }
.downstream-card figcaption span { overflow: hidden; color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .64rem; font-weight: 700; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.downstream-card figcaption strong { display: none; }
.downstream-card .video-shell { aspect-ratio: 3.07 / 1; border-radius: 9px; box-shadow: none; }
.downstream-card .video-shell video { object-fit: contain; }
.ttc-block { margin-top: 2.6rem; padding: 1.45rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.72); color: var(--ink); box-shadow: 0 14px 32px rgba(18,48,83,.06); }
.ttc-block-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 1.5rem; }
.ttc-block-heading h3 { margin: .35rem 0 .2rem; color: var(--ink); font-size: 1.18rem; letter-spacing: -.03em; }
.ttc-block-heading p { max-width: 670px; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.ttc-kicker { color: var(--lime); font-family: var(--font-geist-mono), monospace; font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.ttc-label { max-width: 320px; padding: .55rem .7rem; border: 1px solid #c4d0df; border-radius: 8px; background: rgba(255,255,255,.72); color: var(--accent-deep); font-family: var(--font-geist-mono), monospace; font-size: .66rem; font-weight: 750; letter-spacing: .04em; line-height: 1.35; text-align: right; }
.ttc-overview-figure { margin: 1.35rem 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ttc-overview-figure img { display: block; width: 100%; height: auto; }
.ttc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; margin-top: 1.35rem; }
.ttc-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; }
.ttc-controls .sync-play,
.ttc-controls .sync-secondary { min-height: 34px; border-radius: 8px; font-size: .74rem; font-weight: 700; }
.ttc-controls .model-speed-control { margin-left: .15rem; }
.ttc-card { min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.84); }
.ttc-card figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .5rem 1rem; min-height: 0; margin-bottom: .7rem; }
.ttc-card figcaption > div { display: flex; min-width: 0; align-items: baseline; gap: .55rem; }
.ttc-card figcaption span { color: var(--lime); font-family: var(--font-geist-mono), monospace; font-size: .63rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.ttc-card figcaption strong { min-width: 0; overflow: hidden; color: var(--ink); font-size: .86rem; letter-spacing: -.025em; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.ttc-card figcaption small { display: block; margin: 0; color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .62rem; text-align: right; white-space: nowrap; }
.ttc-video-shell { position: relative; overflow: hidden; aspect-ratio: 32 / 15; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; background: #050b14; }
.ttc-video-shell video { display: block; width: 100%; height: 100%; object-fit: contain; background: #050b14; }
.ttc-video-overlay { position: absolute; inset: 0 0 auto; z-index: 2; display: grid; padding: .42rem .5rem; background: rgba(3,7,11,.98); pointer-events: none; color: white; font-family: var(--font-geist-mono), monospace; font-size: clamp(.54rem, .65vw, .68rem); font-weight: 800; letter-spacing: .025em; line-height: 1.18; text-align: center; text-transform: uppercase; }
.ttc-video-labels { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.ttc-video-labels span:last-child { color: var(--lime); }
.ablation-section { padding-top: 5.6rem; }
.ablation-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: 2.2rem; }
.ablation-summary-card, .ablation-summary-note { min-width: 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.74); }
.ablation-summary-card { display: grid; gap: .25rem; }
.ablation-summary-card span, .ablation-summary-note span { color: var(--accent); font-family: var(--font-geist-mono), monospace; font-size: .65rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.ablation-summary-card strong { color: var(--ink); font-family: Georgia, serif; font-size: 1.65rem; letter-spacing: -.04em; }
.ablation-summary-card small { color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .66rem; }
.ablation-summary-note p { margin: .35rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.ablation-groups { display: grid; gap: 2.1rem; margin-top: 1.25rem; }
.ablation-group { padding: 1.45rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.72); box-shadow: 0 14px 32px rgba(18,48,83,.06); }
.ablation-group-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.ablation-group-header h3 { margin: .35rem 0 .15rem; font-size: 1.16rem; letter-spacing: -.03em; }
.ablation-group-header p { margin: 0; color: var(--muted); font-size: .78rem; }
.ablation-kicker { color: var(--accent); font-family: var(--font-geist-mono), monospace; font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.ablation-score { flex: 0 0 auto; min-width: 112px; padding-left: 1rem; border-left: 1px solid var(--line); text-align: right; }
.ablation-score span { display: block; color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; }
.ablation-score strong { display: block; margin-top: .18rem; color: var(--ink); font-family: Georgia, serif; font-size: 1.5rem; letter-spacing: -.04em; }
.ablation-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.ablation-controls button { min-height: 34px; border-radius: 8px; font-size: .74rem; font-weight: 700; }
.ablation-status { color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .68rem; }
.ablation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: 1.05rem; }
.ablation-card { min-width: 0; margin: 0; }
.ablation-card figcaption { min-height: 3rem; margin-bottom: .4rem; }
.ablation-card figcaption > div { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; }
.ablation-card figcaption span { overflow: hidden; color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .64rem; font-weight: 700; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.ablation-card figcaption strong { flex: 0 0 auto; color: var(--accent-deep); font-family: var(--font-geist-mono), monospace; font-size: .65rem; }
.ablation-card figcaption small { display: block; margin-top: .2rem; color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .62rem; }
.ablation-card .video-shell { aspect-ratio: 1664 / 480; border-radius: 9px; box-shadow: none; }
.ablation-card .video-shell video { object-fit: contain; }
.ablation-switcher { margin-top: 1.6rem; }
.ablation-switcher .model-stage { padding-top: 1.05rem; }
.ablation-switcher .model-stage-header { margin-bottom: .7rem; }
.ablation-switcher .ablation-controls { margin-top: 0; margin-bottom: .15rem; padding-top: 0; border-top: 0; }
.ablation-case-title { margin: 0; color: var(--accent); font-family: var(--font-geist-sans), "Inter", Arial, sans-serif; font-size: clamp(1.85rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.ablation-compare-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-top: .85rem; }
.ablation-compare-grid .ablation-card figcaption { min-height: 0; margin-bottom: .4rem; }
.ablation-compare-grid .ablation-card figcaption span { display: block; overflow: visible; color: var(--ink); font-size: .7rem; font-weight: 750; letter-spacing: .04em; text-overflow: clip; text-transform: none; }
.ablation-compare-grid .ablation-card .video-shell { aspect-ratio: 832 / 480; border-radius: 9px; box-shadow: none; background: #050b14; }
.ablation-compare-grid .ablation-card .video-shell video { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #050b14; }
.ablation-placeholder { position: absolute; inset: 0; background: #091018; }
.ablation-placeholder[hidden] { display: none; }
.sheep-box { position: absolute; inset: 0; z-index: 2; display: none; width: 100%; height: 100%; pointer-events: none; }
.ablation-card.has-sheep-box .sheep-box { display: block; }
.ablation-card.is-empty .ablation-video { visibility: hidden; }
.component-ablation-section { padding-top: 5.6rem; }
.component-ablation-layout { display: grid; gap: 1rem; margin-top: .85rem; }
.component-ablation-gt-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr); gap: 1rem; align-items: center; }
.component-ablation-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.component-ablation-layout .ablation-card figcaption { min-height: 0; margin-bottom: .4rem; text-align: center; }
.component-ablation-layout .ablation-card figcaption span { display: block; overflow: visible; color: var(--ink); font-size: .7rem; font-weight: 750; letter-spacing: .04em; text-overflow: clip; text-transform: none; }
.component-ablation-layout .ablation-card .video-shell { aspect-ratio: 832 / 464; border-radius: 9px; box-shadow: none; background: #050b14; }
.component-ablation-layout .ablation-card .video-shell video { width: 100%; height: 100%; object-fit: cover; object-position: center; background: #050b14; }
.component-ablation-note { min-width: 0; padding: 1.05rem 1.15rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.84); }
.component-ablation-note span { display: block; color: var(--accent); font-family: var(--font-geist-mono), monospace; font-size: .66rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.component-ablation-note h4 { margin: .35rem 0 .45rem; color: var(--ink); font-size: 1.08rem; letter-spacing: -.03em; line-height: 1.25; }
.component-ablation-note p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.grpo-section { padding-top: 5.6rem; }
.grpo-cases-block { margin-top: 1.6rem; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 14px 32px rgba(18,48,83,.06); }
.grpo-kicker, .grpo-panel-kicker { display: block; color: var(--accent); font-family: var(--font-geist-mono), monospace; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.grpo-source-note { flex: 0 0 auto; padding: .48rem .65rem; border: 1px solid #c4d0df; border-radius: 8px; color: var(--accent-deep); font-family: var(--font-geist-mono), monospace; font-size: .63rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.grpo-case-tabs { margin-top: 0; padding: 1.15rem 1.45rem 0; }
.grpo-case-stage { padding: 1.25rem 1.45rem 1.45rem; }
.grpo-case-panel[hidden] { display: none; }
.grpo-case-copy { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem; }
.grpo-case-copy h4 { margin: .35rem 0 .35rem; color: var(--ink); font-size: clamp(1.05rem, 1.8vw, 1.35rem); letter-spacing: -.03em; line-height: 1.2; }
.grpo-case-copy p { max-width: 720px; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.grpo-legend, .grpo-process-key { display: inline-flex; flex: 0 0 auto; align-items: center; flex-wrap: wrap; gap: .35rem .45rem; color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .63rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
.grpo-swatch { display: inline-block; width: .65rem; height: .65rem; border-radius: 2px; }
.grpo-swatch-bad, .grpo-swatch-rejected { background: #ef3b34; }
.grpo-swatch-good, .grpo-swatch-selected { background: #21e56e; }
.grpo-pair-labels, .grpo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.grpo-pair-labels { margin-top: 1.05rem; }
.grpo-pair-labels span { display: inline-flex; align-items: center; gap: .38rem; min-width: 0; color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .66rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.grpo-pair-labels .grpo-swatch { flex: 0 0 auto; width: .58rem; height: .58rem; }
.grpo-pair { margin-top: .4rem; }
.grpo-half-card { min-width: 0; margin: 0; padding: 0; border: 1px solid #bfcede; border-radius: 9px; background: transparent; }
.grpo-half-shell { position: relative; overflow: hidden; aspect-ratio: 832 / 450; border-radius: 8px; background: #fff; }
.grpo-half-shell video { position: absolute; top: 0; left: 0; display: block; width: 200%; max-width: none; height: auto; background: #fff; }
.grpo-half-shell[data-grpo-half="right"] video { transform: translateX(-50%); }
.grpo-origin-row { display: grid; grid-template-columns: minmax(0, .62fr) minmax(16rem, 1fr); gap: 1rem; align-items: center; margin-top: 1.05rem; }
.grpo-origin-row > .component-ablation-note { justify-self: start; width: min(100%, 28rem); }
.grpo-origin-row > .grpo-reward-note { justify-self: start; width: min(100%, 32rem); }
.grpo-reward-note p { text-align: justify; text-justify: inter-word; }
.grpo-origin-media { min-width: 0; }
.grpo-origin-label { display: flex; align-items: center; gap: .38rem; margin: 0 0 .4rem; color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .66rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.grpo-origin-label .grpo-swatch { flex: 0 0 auto; width: .58rem; height: .58rem; }
.grpo-origin-card { width: min(320px, 100%); margin: 0; padding: 0; border: 1px solid #bfcede; border-radius: 9px; background: transparent; }
.grpo-origin-viewport { position: relative; overflow: hidden; aspect-ratio: 320 / 176; border-radius: 8px; background: #050b14; }
.grpo-origin-viewport--case3,
.grpo-origin-viewport--case4 { aspect-ratio: 320 / 176; }
.grpo-origin-video { display: block; width: 100%; height: 100%; object-fit: fill; background: #050b14; }
.grpo-process-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: 1.35rem; }
.grpo-process-heading > div:first-child > span { color: var(--ink); font-family: var(--font-geist-mono), monospace; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.grpo-process-heading p { margin: .25rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.grpo-process-card { margin-top: .55rem; padding: .7rem; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.grpo-process-viewport { position: relative; overflow: hidden; width: 100%; border: 1px solid #bfcede; border-radius: 8px; background: #050b14; }
.grpo-process-viewport--case1,
.grpo-process-viewport--case2,
.grpo-process-viewport--case3,
.grpo-process-viewport--case4 { aspect-ratio: 1280 / 176; }
.grpo-process-video { position: absolute; top: 0; left: 0; display: block; width: 100%; max-width: none; height: 100%; object-fit: fill; background: #050b14; }
.grpo-process-viewport--case1 .grpo-process-video,
.grpo-process-viewport--case2 .grpo-process-video,
.grpo-process-viewport--case3 .grpo-process-video,
.grpo-process-viewport--case4 .grpo-process-video { width: 100%; height: 100%; max-width: none; object-fit: fill; transform: none; }
.grpo-process-borders { position: absolute; z-index: 2; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; pointer-events: none; }
.grpo-process-border { position: relative; box-sizing: border-box; min-width: 0; border: 0; }
.grpo-process-border::after { content: ""; position: absolute; inset: 1px; border: 5px solid var(--grpo-border); pointer-events: none; }
.grpo-process-border--red { --grpo-border: #ef3b34; }
.grpo-process-border--green { --grpo-border: #21e56e; }
.grpo-process-border--violet { --grpo-border: #f01ee3; }
.grpo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .65rem; }
.grpo-controls button { min-height: 34px; border-radius: 8px; font-size: .74rem; font-weight: 700; }
.action-reward-block { margin-top: 2.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 14px 32px rgba(18,48,83,.06); }
.action-reward-heading { padding: 1.35rem 1.45rem 0; }
.action-reward-heading h3 { margin: .35rem 0 .35rem; color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -.04em; line-height: 1.15; }
.action-reward-heading p { max-width: 820px; margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.action-reward-tabs { margin-top: 1.1rem; padding: 0 1.45rem; }
.action-reward-stage { padding: 1.15rem 1.45rem 1.45rem; }
.action-reward-stage-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.action-reward-stage-header h4 { margin: 0; color: var(--ink); font-size: 1.05rem; letter-spacing: -.03em; }
.action-reward-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.action-reward-controls button { min-height: 34px; border-radius: 8px; font-size: .74rem; font-weight: 700; }
.action-reward-col-labels, .action-reward-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.action-reward-col-labels span { color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .66rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.action-reward-col { display: grid; gap: .7rem; }
.action-reward-card { margin: 0; }
.action-reward-card figcaption { margin: 0 0 .35rem; color: var(--ink); font-family: var(--font-geist-mono), monospace; font-size: .66rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.action-reward-shell { overflow: hidden; border: 1px solid #bfcede; border-radius: 9px; background: #050b14; }
.action-reward-shell--full { aspect-ratio: 16 / 9; }
.action-reward-shell--local { width: min(100%, 220px); aspect-ratio: 1 / 1; }
.action-reward-video { display: block; width: 100%; height: 100%; object-fit: fill; background: #050b14; }
.action-reward-shell--full .action-reward-video { object-fit: fill; }
.figures-section { padding-top: 5.6rem; }
.paper-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.3rem; }
.paper-figure { min-width: 0; margin: 0; padding: .7rem; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 12px 28px rgba(18,48,83,.06); }
.paper-figure-wide { grid-column: 1 / -1; }
.paper-figure img { display: block; width: 100%; height: auto; border-radius: 8px; background: #f7f9fc; }
.paper-figure figcaption { display: flex; align-items: baseline; justify-content: center; gap: .65rem; padding: .7rem .25rem .15rem; text-align: center; }
.paper-figure figcaption span { color: var(--accent); font-family: var(--font-geist-mono), monospace; font-size: .65rem; font-weight: 750; text-transform: uppercase; }
.paper-figure figcaption strong { font-size: .82rem; letter-spacing: -.015em; }

.destutter-figure { margin-top: 1.6rem; }
.destutter-figure figcaption { display: block; padding: .9rem .45rem .2rem; text-align: center; }
.destutter-figure figcaption span { display: inline; margin-right: .4rem; }
.destutter-figure figcaption strong { display: inline; color: var(--accent); font-size: .92rem; letter-spacing: -.02em; }
.destutter-figure figcaption p { max-width: 980px; margin: .45rem auto 0; color: var(--muted); font-size: .84rem; line-height: 1.55; text-align: center; text-wrap: balance; }
.destutter-switcher { margin-top: 1.35rem; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 14px 32px rgba(18,48,83,.06); }
.destutter-stage { padding: 1.25rem 1.2rem 1.35rem; }
.destutter-stage-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.destutter-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .65rem; }
.destutter-metric { max-width: 34rem; color: var(--muted); font-size: .78rem; font-weight: 650; line-height: 1.45; }
.destutter-metric span { display: block; color: var(--ink); font-family: var(--font-geist-mono), monospace; font-size: .66rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.destutter-metric b { display: block; margin-top: .18rem; color: var(--accent-deep); font-family: var(--font-geist-mono), monospace; font-size: .86rem; }
.destutter-metric small { display: block; margin-top: .18rem; color: var(--muted); font-size: .72rem; font-weight: 500; line-height: 1.4; }
.destutter-pair-labels, .destutter-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.destutter-pair-labels { margin-top: .15rem; }
.destutter-pair-labels span { color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.destutter-pair { margin-top: .35rem; }
.destutter-switcher .video-shell { aspect-ratio: 784 / 448; background: #050b14; }
.destutter-switcher .video-shell video { object-fit: contain; background: #050b14; }

.teaser-section { width: min(100% - 2.5rem, 1320px); padding-top: 2.6rem; padding-bottom: 1.4rem; }
.teaser-figure { margin: 0; padding: .85rem; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 16px 36px rgba(18,48,83,.07); }
.teaser-figure img { display: block; width: 100%; height: auto; border-radius: 10px; background: #f7f9fc; }
.teaser-figure figcaption { display: flex; align-items: baseline; justify-content: center; gap: .65rem; padding: .75rem .3rem .1rem; text-align: center; }
.teaser-figure figcaption span { color: var(--accent); font-family: var(--font-geist-mono), monospace; font-size: .65rem; font-weight: 750; text-transform: uppercase; }
.teaser-figure figcaption strong { font-size: .9rem; letter-spacing: -.015em; }
.teaser-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.teaser-highlight-card { min-width: 0; min-height: 148px; padding: 1.45rem 1.55rem 1.35rem; border: 1px solid var(--line); border-radius: 16px; background: #f7f9fc; }
.teaser-highlight-card h3 { margin: 0; color: var(--accent); font-family: var(--font-card-title); font-size: clamp(1.08rem, 1.5vw, 1.42rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.18; white-space: nowrap; }
.teaser-highlight-card p { max-width: 32ch; margin: .72rem 0 0; color: #64758d; font-family: var(--font-card-body); font-size: clamp(1rem, 1.2vw, 1.18rem); font-weight: 400; letter-spacing: .005em; line-height: 1.46; }

.abstract-section { width: min(100% - 2.5rem, 1320px); padding-top: 3.2rem; padding-bottom: 4.6rem; }
.abstract-section .section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.abstract-layout { display: block; margin-top: 1.2rem; }
.lead { max-width: none; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1rem, 1.2vw, 1.16rem); line-height: 1.7; text-align: justify; text-justify: inter-word; text-wrap: pretty; }
.method-grid, .result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
.method-grid article { min-height: 174px; padding: 1.35rem 1.45rem; border: 1px solid var(--line); border-radius: 15px; background: #f7f9fc; box-shadow: 0 8px 22px rgba(18,48,83,.035); }
.method-grid h3 { margin: 0 0 .72rem; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.method-grid p, .result-grid p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.result-grid h3 { margin: .75rem 0 .4rem; font-size: 1rem; letter-spacing: -.015em; }
.result-grid { margin-top: 3rem; }
.result-grid article { min-height: 260px; padding: 1.75rem; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 12px 35px rgba(17,26,40,.045); }
.result-metric { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.result-grid h3 { margin-top: 2.7rem; font-size: 1.05rem; }
footer { width: min(100% - 2.5rem, var(--max-width)); margin: 0 auto; padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--line); display: flex; align-items: center; color: var(--muted); font-size: .75rem; }
footer > a { color: var(--accent); font-family: Georgia, serif; font-size: 1.1rem; font-weight: 700; text-decoration: none; }

@media (max-width: 800px) {
  .hero { min-height: auto; padding-top: 3.8rem; padding-bottom: 2.8rem; }
  .section-nav > div { width: 100%; justify-content: center; padding: 0 1rem; }
  .nav-links { gap: 1.25rem; }
  .section { padding: 5rem 0; }
  .overview-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .overview-copy { max-width: none; }
  .overview-video, .overview-video video { min-height: auto; }
  .highlight-grid, .method-grid, .result-grid, .teaser-highlights { grid-template-columns: 1fr; }
  .destutter-pair-labels, .destutter-pair { grid-template-columns: 1fr; }
  .destutter-stage-header { flex-direction: column; }
  .destutter-controls { justify-content: flex-start; }
  .model-stage { padding: 1rem; }
  .downstream-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ttc-grid { grid-template-columns: 1fr; }
  .ttc-block-heading { grid-template-columns: 1fr; gap: 1rem; }
  .ttc-label { max-width: none; justify-self: start; text-align: left; }
  .ablation-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ablation-summary-note { grid-column: 1 / -1; }
  .ablation-grid, .ablation-compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .component-ablation-gt-row, .downstream-extra-panel { grid-template-columns: 1fr; }
  .grpo-case-copy, .grpo-process-heading, .action-reward-stage-header { flex-direction: column; align-items: flex-start; }
  .grpo-origin-row { grid-template-columns: 1fr; }
  .grpo-source-note { align-self: flex-start; }
  .action-reward-col-labels, .action-reward-grid { grid-template-columns: 1fr; }
  .abstract-layout { grid-template-columns: 1fr; gap: 2rem; }
  .sync-panel { top: 68px; grid-template-columns: 1fr; }
  .sync-actions { justify-content: flex-start; }
  .sync-scrubber { grid-column: auto; }
  .result-grid article { min-height: 220px; }
}
@media (max-width: 760px) {
  .gallery-triptych-labels, .gallery-triptych { grid-template-columns: 1fr; }
  .gallery-triptych-labels { gap: .35rem; }
  .gallery-triptych-labels span:not(:first-child) { margin-top: .45rem; }
  .downstream-model-grid, .ttc-grid, .ablation-grid, .ablation-compare-grid, .component-ablation-pair, .paper-figures, .grpo-pair-labels, .grpo-pair { grid-template-columns: 1fr; }
  .grpo-origin-card { width: min(320px, 100%); }
  .paper-figure-wide { grid-column: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: auto; padding: 3.2rem 1rem 2.3rem; }
  .hero-mark { font-size: clamp(3.1rem, 16vw, 4.6rem); }
  .hero-title { margin-top: .55rem; max-width: 14ch; font-size: clamp(1.18rem, 5.4vw, 1.7rem); white-space: normal; text-wrap: balance; }
  h1 small { margin-top: .7rem; font-size: clamp(1.1rem, 4.8vw, 1.32rem); }
  .section-heading-accent h2 { gap: .65rem; }
  .section-heading-accent h2::before { flex-basis: .26rem; width: .26rem; }
  .gallery-section .section-intro { white-space: normal; }
  .model-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: .75rem; }
  .model-tabs::-webkit-scrollbar { display: none; }
  .model-tab { flex: 0 0 auto; }
  .model-stage-header { flex-direction: column; gap: .75rem; }
  .resource-links a { min-width: 46%; }
  .section { width: min(100% - 2rem, var(--max-width)); }
  .teaser-highlight-card h3 { white-space: normal; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card-wide { grid-column: auto; }
  .video-shell-wide { aspect-ratio: 16 / 6; }
  .overview-video-label { display: grid; gap: .1rem; }
  .sync-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sync-play { justify-content: center; }
  .speed-control { justify-content: space-between; }
  .downstream-group-header { display: grid; gap: 1rem; }
  .downstream-score { padding: 0; border-left: 0; text-align: left; }
  .downstream-score strong { font-size: 1.3rem; }
  .ttc-card figcaption { grid-template-columns: 1fr; }
  .ttc-card figcaption > div { flex-wrap: wrap; }
  .ttc-card figcaption strong { overflow: visible; text-overflow: clip; white-space: normal; }
  .ttc-card figcaption small { text-align: left; white-space: normal; }
  .ttc-card { padding: .75rem; }
  .ablation-group-header { display: grid; gap: 1rem; }
  .ablation-score { padding: 0; border-left: 0; text-align: left; }
  .ablation-score strong { font-size: 1.3rem; }
  footer { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before { transition-duration: .01ms !important; }
}
