:root {
  --ink: #15241f;
  --muted: #60706a;
  --paper: #f4f7f4;
  --white: #fff;
  --line: #d9e1dc;
  --cyan: #39d5e7;
  --cyan-deep: #0aa9c2;
  --blue: #255fe9;
  --lime: #ccff64;
  --navy: #17575b;
  --radius: 24px;
  --shadow: 0 22px 70px rgba(21, 48, 40, .12);
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.site-header { position: fixed; z-index: 100; top: 18px; left: 50%; width: var(--shell); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 18px; border: 1px solid transparent; border-radius: 16px; transition: .3s ease; }
.site-header.scrolled { background: rgba(255,255,255,.82); border-color: rgba(217,225,220,.8); box-shadow: 0 12px 40px rgba(21,48,40,.09); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.03em; font-size: 1.08rem; }
.brand-mark { position: relative; display: inline-block; width: 42px; height: 30px; flex: 0 0 42px; }
.brand-mark i { position: absolute; top: 50%; display: block; border: 2px solid currentColor; border-radius: 1px; color: var(--cyan-deep); background-image: radial-gradient(circle, currentColor 1px, transparent 1.4px); background-size: 5px 5px; transform: translateY(-50%) skewY(-14deg); }
.brand-mark i:nth-child(1) { left: 0; width: 12px; height: 12px; color: #31dce4; }
.brand-mark i:nth-child(2) { left: 10px; width: 20px; height: 20px; color: #13add7; }
.brand-mark i:nth-child(3) { left: 22px; width: 20px; height: 28px; color: #2861e8; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: 10px; color: #34473f; font-size: .95rem; font-weight: 650; transition: .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: var(--ink); background: rgba(255,255,255,.7); }
.nav-toggle { display: none; width: 40px; height: 40px; padding: 9px; border: 0; border-radius: 10px; background: white; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero { position: relative; min-height: 760px; padding-top: 150px; padding-bottom: 90px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -80px 0 0; background: radial-gradient(circle at 74% 25%, rgba(57,213,231,.2), transparent 28%), radial-gradient(circle at 68% 65%, rgba(204,255,100,.14), transparent 24%); }
.eyebrow, .section-index { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; line-height: 1.35; font-weight: 850; color: #078eaa; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1 { margin: 0; font-size: clamp(4.4rem, 6.5vw, 6rem); line-height: .86; letter-spacing: -.078em; font-weight: 850; }
.hero-title { max-width: 680px; margin: 28px 0 14px; font-size: clamp(1.3rem, 1.65vw, 1.6rem); line-height: 1.3; letter-spacing: -.03em; font-weight: 720; }
.authors { margin: 0 0 24px; color: var(--muted); font-size: .95rem; }
.hero-summary { max-width: 610px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 17px; border: 1px solid var(--line); border-radius: 12px; font-size: .96rem; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21,48,40,.12); }
.button-primary { color: white; border-color: var(--ink); background: var(--ink); }
.button-secondary { background: rgba(255,255,255,.7); }
.hero-note { margin-top: 24px; color: var(--muted); font-size: .92rem; }
.hero-note strong { display: inline-block; margin-right: 7px; padding: 2px 8px; border-radius: 99px; color: #164927; background: var(--lime); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-visual { position: relative; min-height: 490px; display: grid; place-items: center; }
.hero-orbit { position: absolute; width: 94%; aspect-ratio: 1; border: 1px solid rgba(37,95,233,.16); border-radius: 50%; }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; inset: 15%; border: 1px dashed rgba(10,169,194,.22); border-radius: inherit; }
.hero-orbit::after { inset: 31%; border-style: solid; }
.paper-figure { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); cursor: zoom-in; }
.paper-figure img { width: 100%; height: auto; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.paper-figure:hover img { transform: scale(1.012); }
.hero-figure { z-index: 1; width: 88%; transform: rotate(-1.25deg); }
.float-card { position: absolute; z-index: 2; min-width: 134px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.86); box-shadow: 0 12px 32px rgba(21,48,40,.12); backdrop-filter: blur(12px); }
.float-card strong, .float-card span { display: block; }
.float-card strong { font-size: 1.05rem; letter-spacing: -.03em; }
.float-card span { color: var(--muted); font-size: .78rem; }
.float-card-a { top: 5%; right: -1%; }
.float-card-b { bottom: 6%; left: -2%; }
.float-card-c { bottom: -1%; right: 6%; }

.news-band { border-block: 1px solid var(--line); background: rgba(255,255,255,.56); }
.news-inner { min-height: 72px; display: flex; align-items: center; gap: 18px; font-size: .96rem; }
.news-inner p { flex: 1; margin: 0; color: var(--muted); }
.news-inner time { color: var(--ink); font-weight: 750; }
.news-label { padding: 4px 9px; border-radius: 99px; background: var(--ink); color: white; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.news-inner a { font-weight: 750; white-space: nowrap; }

.section { padding-block: 120px; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2 { margin: 0 0 22px; font-size: clamp(2.6rem, 4vw, 3.7rem); line-height: 1.02; letter-spacing: -.055em; }
.section-heading p:last-child { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.12rem; line-height: 1.65; }
.section-heading.centered p:last-child { margin-inline: auto; }
.section-heading.light h2, .section-heading.light p:last-child { color: white; }
.section-heading.light .section-index { color: var(--cyan); }
.motivation-section { color: white; background: linear-gradient(145deg, #317481 0%, #285f73 56%, #3a7184 100%); }
.challenge-grid { display: grid; grid-template-columns: 1.55fr .75fr; gap: 28px; align-items: start; }
.wide-figure { min-height: 0; align-self: start; }
.wide-figure img { width: 100%; height: auto; object-fit: contain; }
.challenge-cards { display: grid; gap: 12px; }
.challenge-cards article { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); }
.challenge-cards span { color: var(--cyan-deep); font-size: .76rem; font-weight: 850; letter-spacing: .12em; }
.challenge-cards h3 { margin: 6px 0; font-size: 1.08rem; letter-spacing: -.025em; }
.challenge-cards p { margin: 0; color: var(--muted); font-size: .96rem; }
.motivation-section .challenge-cards article { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.09); }
.motivation-section .challenge-cards span { color: var(--cyan); }
.motivation-section .challenge-cards h3 { color: white; }
.motivation-section .challenge-cards p { color: rgba(255,255,255,.76); }

.framework-figure, .performance-figure { padding: 16px; }
.zoom-hint { position: absolute; right: 26px; bottom: 24px; padding: 8px 11px; border-radius: 9px; background: rgba(11,39,40,.88); color: white; font-size: .72rem; font-weight: 700; backdrop-filter: blur(8px); }
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.method-steps article { padding: 30px 28px; border-top: 3px solid var(--ink); background: white; }
.method-steps span { color: var(--cyan-deep); font-size: .9rem; font-weight: 850; letter-spacing: .12em; }
.method-steps h3 { margin: 8px 0 10px; font-size: 1.38rem; letter-spacing: -.025em; }
.method-steps p { margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.62; }
.results-section { color: white; background: #285f73; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.metric-card { position: relative; min-height: 178px; padding: 28px 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.075); }
.metric-card p { margin: 0 0 20px; color: rgba(255,255,255,.86); font-size: .96rem; text-transform: uppercase; letter-spacing: .08em; }
.metric-card strong { display: block; font-size: 3.15rem; line-height: 1; letter-spacing: -.055em; }
.metric-card small { display: block; margin-top: 18px; color: rgba(255,255,255,.72); font-size: .88rem; }
.gain { position: absolute; right: 16px; top: 16px; padding: 5px 10px; border-radius: 99px; font-size: .76rem; font-weight: 850; }
.gain { color: #153820; background: var(--lime); }
.performance-figure { background: white; }

.gallery { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.gallery-toolbar, .gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; }
.gallery-toolbar span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; }
.gallery-toolbar h3 { margin: 0; font-size: 1.35rem; }
.gallery-controls { display: flex; gap: 8px; }
.gallery-controls button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.gallery-controls button:hover { color: white; background: var(--ink); }
.gallery-frame { border-inline: 0; border-radius: 0; box-shadow: none; }
.gallery-footer p { margin: 0; color: var(--muted); font-size: .94rem; }
.gallery-dots { display: flex; gap: 7px; }
.gallery-dots button { width: 24px; height: 5px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; }
.gallery-dots button.active { background: var(--cyan-deep); }
.gallery-frame img { transition: opacity .2s ease, transform .5s ease; }
.gallery-frame.switching img { opacity: .2; transform: scale(.99); }

.demo-section { color: white; background: linear-gradient(145deg, #317481 0%, #285f73 56%, #3a7184 100%); }
.demo-card { overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-radius: 28px; color: var(--ink); background: #f8faf9; box-shadow: 0 28px 80px rgba(18,54,62,.22); }
.demo-toolbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: white; }
.demo-samples, .demo-zoom { display: flex; align-items: center; gap: 8px; }
.demo-samples > span { margin-right: 6px; color: var(--muted); font-size: .82rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.demo-samples button, .demo-zoom button { min-width: 40px; height: 40px; padding-inline: 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; font-weight: 750; cursor: pointer; transition: .2s ease; }
.demo-samples button:hover, .demo-zoom button:hover { border-color: var(--cyan-deep); }
.demo-samples button.active { color: white; border-color: #2477bd; background: linear-gradient(135deg, var(--cyan-deep), var(--blue)); }
.demo-zoom input { width: 150px; accent-color: var(--cyan-deep); }
.demo-zoom .demo-reset { width: auto; padding-inline: 13px; color: var(--muted); font-size: .82rem; }
.demo-zoom output { min-width: 50px; color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.demo-viewers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.demo-pane { min-width: 0; background: white; }
.demo-pane-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.demo-pane-head span { color: var(--cyan-deep); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.demo-pane-head strong { font-size: 1rem; }
.zoom-viewport { position: relative; height: clamp(380px, 34vw, 520px); overflow: hidden; background: #102e31; cursor: grab; touch-action: none; user-select: none; }
.zoom-viewport.dragging { cursor: grabbing; }
.zoom-viewport img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: center center; will-change: transform; pointer-events: none; }
.zoom-cue { position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; border-radius: 9px; color: white; background: rgba(9,36,39,.76); font-size: .72rem; font-weight: 700; backdrop-filter: blur(8px); pointer-events: none; transition: opacity .25s ease; }
.demo-card.interacted .zoom-cue { opacity: 0; }
.demo-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 18px; color: var(--muted); background: white; font-size: .84rem; }
.demo-footer p { margin: 0; }
.sync-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #21cba5; box-shadow: 0 0 0 4px rgba(33,203,165,.13); }

.ablation-section { background: #e9efeb; }
.ablation-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; }
.ablation-tabs button { padding: 10px 14px; border: 1px solid #cbd7d0; border-radius: 99px; color: var(--muted); background: transparent; cursor: pointer; }
.ablation-tabs button.active { color: white; border-color: var(--ink); background: var(--ink); }
.ablation-panel { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 14px; align-items: stretch; }
.ablation-panel[hidden] { display: none; }
.ablation-copy { padding: 30px; border-radius: 20px; color: white; background: #285b54; }
.ablation-copy h3 { margin: 10px 0 14px; font-size: 1.55rem; line-height: 1.15; letter-spacing: -.04em; }
.ablation-copy p { margin: 0; color: rgba(255,255,255,.76); font-size: .96rem; }
.mini-label { color: #71eff4; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.ablation-panel .paper-figure { display: flex; align-items: center; padding: 8px; border-radius: 20px; box-shadow: none; }
.overlap-panel { grid-template-columns: .8fr 2fr; }
.overlap-panel .paper-figure { justify-content: center; }
.overlap-panel .paper-figure img { width: 50%; max-width: 430px; margin-inline: auto; }
.ablation-stat { margin-top: 24px; }
.ablation-stat strong, .ablation-stat span { display: block; }
.ablation-stat strong { color: var(--lime); font-size: 2.65rem; line-height: 1; letter-spacing: -.05em; }
.ablation-stat span { margin-top: 5px; color: rgba(255,255,255,.68); font-size: .82rem; }
.ablation-stat.neutral strong { font-size: 2.35rem; }

.release-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 45px; padding: 48px; border-radius: 30px; background: linear-gradient(145deg, white, #edf8f4); box-shadow: var(--shadow); }
.release-copy h2 { margin: 0 0 18px; font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: .95; letter-spacing: -.06em; }
.release-copy p:not(.section-index) { color: var(--muted); }
.release-copy .button { margin-top: 14px; }
.release-metrics { display: grid; gap: 10px; }
.release-metrics article { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.78); }
.release-metrics h3 { margin: 0 0 10px; font-size: .9rem; }
.release-metrics dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.release-metrics dl div { border-left: 1px solid var(--line); padding-left: 12px; }
.release-metrics dl div:first-child { border-left: 0; padding-left: 0; }
.release-metrics dt { color: var(--muted); font-size: .76rem; }
.release-metrics dd { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.04em; }
.release-metrics small { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; }

.citation-section { background: #1d5e62; }
.citation-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: center; }
.code-card { overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: #123c3e; box-shadow: 0 25px 70px rgba(0,0,0,.2); }
.code-card-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.7); font-size: .82rem; }
.code-card-head button { padding: 5px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; color: white; background: transparent; cursor: pointer; }
.code-card pre { margin: 0; padding: 22px; overflow-x: auto; color: #d6fff5; font: .86rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.phoebe-section { padding-block: 90px; background: linear-gradient(180deg, #f4f7f4, #edf5f2); }
.phoebe-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; padding: 46px; border: 1px solid var(--line); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.phoebe-copy h2 { margin: 0 0 18px; font-size: clamp(2.7rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.055em; }
.phoebe-copy > p:not(.section-index) { max-width: 520px; margin: 0 0 24px; color: var(--muted); font-size: 1.08rem; }
.phoebe-photo { margin: 0; overflow: hidden; border-radius: 24px; background: #fafafa; }
.phoebe-photo img { width: 100%; max-height: 520px; object-fit: contain; }

.site-footer { padding: 50px 0; color: rgba(255,255,255,.76); background: #12383a; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 22px; }
.footer-brand { color: white; }
.footer-inner p { margin: 8px 0 0; font-size: .8rem; }
.footer-links { display: flex; gap: 20px; font-size: .82rem; }
.footer-links a:hover { color: var(--cyan); }
.copyright { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }

.lightbox { width: min(1200px, calc(100vw - 40px)); max-height: calc(100vh - 40px); padding: 0; overflow: auto; border: 0; border-radius: 20px; background: white; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.lightbox::backdrop { background: rgba(3,16,17,.78); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; }
.lightbox-close { position: sticky; z-index: 2; top: 12px; float: right; width: 38px; height: 38px; margin: 12px 12px -50px; border: 0; border-radius: 50%; color: white; background: rgba(11,39,40,.86); cursor: pointer; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 760px); }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 130px; }
  .hero-visual { min-height: 430px; }
  .hero-figure { width: 82%; }
  .release-card, .citation-grid, .phoebe-card { grid-template-columns: 1fr; gap: 42px; }
  .challenge-grid { grid-template-columns: 1fr; }
  .challenge-cards { grid-template-columns: repeat(3, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .ablation-panel { grid-template-columns: 1fr 1fr; }
  .ablation-copy { grid-column: 1 / -1; }
  .overlap-panel { grid-template-columns: 1fr; }
  .overlap-panel .paper-figure img { width: min(100%, 430px); }
  .method-steps { grid-template-columns: 1fr; }
  .demo-toolbar { align-items: flex-start; flex-direction: column; }
  .demo-zoom { width: 100%; }
  .demo-zoom input { flex: 1; }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 28px); --radius: 18px; }
  .site-header { top: 8px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 11px 12px; }
  .hero { min-height: auto; padding-top: 120px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(3.7rem, 19vw, 5.1rem); }
  .hero-visual { min-height: 300px; }
  .float-card { min-width: 108px; padding: 9px 10px; }
  .float-card-a { right: 0; top: 0; }
  .float-card-b { left: 0; }
  .news-inner { padding-block: 14px; align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; }
  .news-inner p { flex-basis: calc(100% - 75px); }
  .section { padding-block: 82px; }
  .section-heading h2 { font-size: clamp(2.35rem, 10.5vw, 3.25rem); }
  .challenge-cards { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-card strong { font-size: 2.1rem; }
  .gallery-footer { align-items: flex-start; }
  .demo-samples { width: 100%; overflow-x: auto; padding-bottom: 3px; }
  .demo-zoom input { min-width: 80px; }
  .demo-zoom .demo-reset { display: none; }
  .demo-viewers { grid-template-columns: 1fr; }
  .zoom-viewport { height: min(82vw, 420px); }
  .demo-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
  .ablation-tabs { justify-content: flex-start; overflow-x: auto; padding-bottom: 5px; }
  .ablation-tabs button { white-space: nowrap; }
  .ablation-panel { grid-template-columns: 1fr; }
  .ablation-copy { grid-column: auto; }
  .release-card { padding: 26px; }
  .phoebe-card { padding: 26px; }
  .release-metrics dd { font-size: 1.05rem; }
  .code-card pre { font-size: .68rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

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