/* GTA paper page: base, responsive layout, and scroll treatments. */
:root { --bg:#f5efe5;--ink:#273440;--muted:#697887;--line:#cdd5dc;--accent:#647f95 }
* { box-sizing:border-box }
html { scroll-behavior:smooth;scroll-padding-top:95px }
body { margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased }
a { color:inherit;text-decoration:none }
button { font:inherit;cursor:pointer;color:inherit }
img { display:block;max-width:100% }
h1, h2, h3, p, figure { margin:0 }
h1, h2 { font-weight:500;letter-spacing:-.055em;line-height:1.04 }
h2 { font-size:clamp(40px,4.8vw,76px) }
h3 { font-weight:500;letter-spacing:-.025em }
em { font-family:Georgia,'Times New Roman',serif;font-weight:400 }
button, a { -webkit-tap-highlight-color:transparent }
a:focus-visible, button:focus-visible { outline:2px solid #648aa8;outline-offset:6px }
.skip { position:fixed;top:-100px;left:20px;background:white;padding:12px;z-index:100 }
.skip:focus { top:10px }
header { height:88px;padding:0 4%;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);background:rgba(245,239,229,.94);position:sticky;top:0;z-index:20;backdrop-filter:blur(14px) }
.brand { display:flex;align-items:center;gap:10px }
.brand svg { width:30px;fill:none;stroke:currentColor;stroke-width:1.8 }
.brand b { font-size:27px;letter-spacing:-1.5px }
.brand>span { font-size:11px;line-height:1.4;width:100px;border-left:1px solid var(--line);padding-left:13px;margin-left:8px }
.pill { border:1px solid #b7c5d0;padding:13px 21px;border-radius:30px;display:inline-flex;align-items:center;gap:30px;font-size:13px;transition:background .2s }
.pill:hover { background:#e1e9f0 }
h1 { font-size:clamp(57px,8.8vw,144px);margin:22px 0 29px;letter-spacing:-.065em }
.section { padding:110px 6%;max-width:1800px;margin:auto }
.intro { display:grid;grid-template-columns:1fr 2fr;gap:70px;padding-top:130px;padding-bottom:130px }
.lead { font-size:25px;line-height:1.5;letter-spacing:-.025em;max-width:770px;margin-top:40px }
.dark { background:var(--ink);color:white;border-color:var(--ink);margin-top:32px }
.dark:hover { background:#405f78 }
@media(max-width:900px) {
header { height:74px }
.brand>span { display:none }
h1 { font-size:9vw }
.section { padding:75px 5% }
.intro { grid-template-columns:1fr;gap:24px }
}
@media(max-width:600px) {
header { padding:0 20px;gap:15px }
.brand b { font-size:23px }
.brand svg { width:25px }
h1 { font-size:58px;line-height:1.02;max-width:360px;margin:25px 0 }
h1 em { display:block }
.section { padding:65px 24px }
.intro { padding-top:75px;padding-bottom:75px }
.lead { font-size:22px;margin-top:28px }
}
@media(prefers-reduced-motion:reduce) {
html { scroll-behavior:auto }
* { transition:none!important }
}
h1 { font-size:clamp(35px,4.3vw,66px);line-height:1.13;letter-spacing:-.035em;margin:20px auto 24px;max-width:1080px }
.authors { font-size:17px;color:#5e6d7b;line-height:1.6 }
.paper-links { display:flex;align-items:center;justify-content:center;gap:30px;margin-top:25px }
.paper-links .dark { margin-top:0 }
h2 { font-size:clamp(30px,3vw,44px);letter-spacing:-.035em;line-height:1.15 }
.section { padding-top:74px;padding-bottom:74px }
.intro { grid-template-columns:1fr 3fr;gap:45px }
.intro .lead { font-size:17px;line-height:1.8;letter-spacing:0;max-width:850px;margin-top:0 }
@media(max-width:600px) {
h1 { font-size:35px;max-width:none;line-height:1.16;margin:18px 0 }
.authors { font-size:14px }
.paper-links { gap:24px }
.section { padding-top:52px;padding-bottom:52px }
.intro { grid-template-columns:1fr;gap:25px }
.intro .lead { font-size:15px }
}
.author-block { max-width:1050px;margin:0 auto }
.author-block .authors { font-size:20px;line-height:1.85;color:var(--ink);text-wrap:balance }
.authors>span { white-space:nowrap }
.author-block sup { font-size:.65em;line-height:0;vertical-align:super;margin-left:2px }
.affiliations { display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;margin-top:15px;font-size:15px;line-height:1.7;color:#5e6d7b }
.affiliations>span { white-space:nowrap }
.affiliations sup { margin-right:3px }
@media(max-width:600px) {
.author-block .authors { font-size:15px;line-height:1.9 }
.affiliations { font-size:12px;gap:5px 14px;margin-top:12px }
}
.intro { background:#f5efe5 }
:root { color-scheme:light;--bg:#f8f4ed;--ink:#161411;--muted:#7c7a78;--line:rgba(102,75,94,.13);--accent:#bd91aa;--panel:rgba(255,252,247,.88);--panel-2:rgba(255,253,250,.98);--soft:#51474f;--accent-2:#dcb9ce;--accent-3:#efdae5;--border-strong:rgba(102,75,94,.20) }
body { background:linear-gradient(180deg,#fcf8f1 0%,#f5efe7 100%);color:var(--ink) }
header { background:rgba(250,249,247,.86);border-color:var(--border-strong) }
.intro { background:linear-gradient(180deg,rgba(255,255,255,.58),rgba(255,255,255,.34)),var(--panel) }
.section h2, .section h3 { color:#2d3138 }
.pill { border-color:var(--border-strong) }
.pill:hover { background:rgba(239,218,229,.4) }
.dark { background:#956c88;border-color:#956c88 }
.dark:hover { background:#805971 }
a:focus-visible, button:focus-visible { outline-color:#956c88 }
.intro { background:#fffdf9 }
.tracking-hero { --travel:0;--exit:0;--ink-shift:0;position:relative;height:230svh;background:#fffdf9 }
.tracking-stage { position:sticky;top:88px;height:calc(100svh - 88px);min-height:650px;overflow:hidden;isolation:isolate;display:flex;align-items:center;justify-content:center }
.tracking-image { position:absolute;inset:0 0 -100px;z-index:-1;transform:translate3d(0,calc(var(--travel)*-100%),0);will-change:transform }
.tracking-image img { width:100%;height:100%;object-fit:cover;object-position:center top }
.tracking-image:after { content:"";position:absolute;inset:0;background:linear-gradient(180deg,#251d2814,#251d283d 45%,#251d2810 80%,#fffdf9 100%) }
.tracking-copy { width:100%;max-width:1280px;text-align:center;padding:48px 32px 90px;opacity:calc(1 - var(--exit));color:color-mix(in srgb,#fff calc((1 - var(--ink-shift))*100%),#302733);transform:translate3d(0,calc(var(--exit)*-16px),0);text-shadow:0 1px 14px rgb(25 16 31 / calc((1 - var(--ink-shift))*.35));will-change:opacity }
.tracking-copy h1 { color:inherit;font-size:clamp(38px,4.25vw,68px);font-weight:400;line-height:1.12;max-width:1160px;margin:0 auto 32px;text-wrap:balance }
.tracking-copy .author-block .authors { color:inherit;font-size:19px;line-height:1.9 }
.tracking-copy .affiliations { color:inherit;font-size:14px }
.tracking-copy .paper-links { margin-top:30px }
.tracking-copy .dark { margin:0;background:#fff8f1;color:#51404e;border-color:#fff8f1;text-shadow:none }
@media(max-width:900px) {
.tracking-stage { top:74px;height:calc(100svh - 74px) }
.tracking-copy .author-block .authors { font-size:17px }
}
@media(max-width:600px) {
.tracking-stage { min-height:740px }
.tracking-hero { height:calc(740px + 120svh) }
.tracking-copy { padding:40px 24px 90px }
.tracking-copy h1 { font-size:35px;line-height:1.15;margin-bottom:24px }
.tracking-copy .author-block .authors { font-size:14px }
.tracking-copy .affiliations { font-size:11px;gap:7px 13px }
.tracking-image img { object-position:40% top }
}
@media(prefers-reduced-motion:reduce) {
.tracking-hero { height:auto }
.tracking-stage { position:relative;top:0 }
.tracking-image { transform:none;will-change:auto }
.tracking-copy { transform:none;opacity:1;will-change:auto }
}
.tracking-image:after { background:linear-gradient(180deg,#251d2814,#251d283d 45%,#251d2810 100%) }
.tracking-image:before { content:"";position:absolute;inset:auto 0 0;height:100px;z-index:1;background:linear-gradient(180deg,transparent,#fffdf9) }
.tracking-copy>h1, .tracking-copy>.author-block, .tracking-copy>.paper-links { color:color-mix(in srgb,#fff calc((1 - var(--local-ink,0))*100%),#302733);text-shadow:0 1px 14px rgb(25 16 31 / calc((1 - var(--local-ink,0))*.35)) }
.tracking-copy h1, .tracking-copy .authors, .tracking-copy .affiliations { background:linear-gradient(to bottom,#fff calc(var(--text-edge,2000px) - 85px),#302733 calc(var(--text-edge,2000px) - 30px));background-clip:text;-webkit-background-clip:text;color:transparent!important;text-shadow:none }
.tracking-stage { top:0;height:100svh;min-height:740px }
.tracking-copy { padding-top:110px }
.intro { position:relative;z-index:2;max-width:none;margin-top:calc(-1 * var(--hero-overlap,0px));padding-top:52px;padding-bottom:74px;background:#fffdf9 }
@media(max-width:900px) {
.tracking-stage { top:0;height:100svh }
}
@media(max-width:600px) {
.tracking-stage { min-height:800px }
.tracking-hero { height:calc(800px + 120svh) }
.tracking-copy { padding-top:100px }
.intro { padding-top:36px;padding-bottom:52px }
}
@media(prefers-reduced-motion:reduce) {
.intro { margin-top:0 }
.tracking-stage { top:0 }
}
.tracking-hero { height:190svh }
@media(max-width:600px) {
.tracking-hero { height:calc(800px + 80svh) }
}
@media(prefers-reduced-motion:reduce) {
.tracking-hero { height:auto }
}
.tracking-stage { transform:translate3d(0,var(--release-offset,0px),0);will-change:transform }
@media(prefers-reduced-motion:reduce) {
.tracking-stage { transform:none;will-change:auto }
}
html.wheel-easing { scroll-behavior:auto!important }
.tracking-image:before { height:calc(20px + var(--edge-reveal,0)*var(--edge-span,340px));background:linear-gradient(180deg,rgba(255,253,249,0) 0%,rgba(255,253,249,.03) 18%,rgba(255,253,249,.16) 40%,rgba(255,253,249,.5) 64%,rgba(255,253,249,.85) 83%,#fffdf9 100%) }
.tracking-copy { max-width:none;text-align:left;padding-left:8%;padding-right:8% }
.tracking-copy h1 { max-width:1060px;margin-left:0;font-size:64px;line-height:1.12;text-wrap:initial }
.tracking-copy .author-block { margin-left:0;max-width:950px }
.tracking-copy .author-block .authors { text-wrap:initial;font-size:17px }
.tracking-copy .affiliations, .tracking-copy .paper-links { justify-content:flex-start }
@media(max-width:600px) {
.tracking-copy h1 { font-size:35px }
.tracking-copy { padding-left:24px;padding-right:24px }
}
.tracking-copy .author-block { max-width:1100px }
.tracking-copy .author-block .authors { font-size:20px;line-height:1.85;text-align:left }
.tracking-copy .authors>.author-row { display:block;white-space:normal }
.tracking-copy .author-row>span { white-space:nowrap }
.tracking-copy .affiliations { font-size:16px;line-height:1.7;gap:8px 22px;text-align:left;margin-top:17px }
@media(max-width:900px) {
.tracking-copy .author-block .authors { font-size:18px }
.tracking-copy .affiliations { font-size:14px }
}
@media(max-width:600px) {
.tracking-copy .author-block .authors { font-size:16px;line-height:1.75 }
.tracking-copy .authors>.author-row+.author-row { margin-top:5px }
.tracking-copy .affiliations { font-size:13px;gap:6px 13px }
.tracking-stage { min-height:880px }
.tracking-hero { height:calc(880px + 80svh) }
}
@media(prefers-reduced-motion:reduce) {
.tracking-hero { height:auto }
}
@media(max-width:600px) {
}
.tracking-image:before { height:calc(var(--fade-length,20px) + var(--fade-tail,0px));background:linear-gradient(180deg,rgba(255,253,249,0) 0px,rgba(255,253,249,.035) calc(var(--fade-length,20px)*.16),rgba(255,253,249,.2) calc(var(--fade-length,20px)*.36),rgba(255,253,249,.55) calc(var(--fade-length,20px)*.60),rgba(255,253,249,.9) calc(var(--fade-length,20px)*.82),#fffdf9 var(--fade-length,20px),#fffdf9 100%) }
.tracking-copy { position:relative;top:140px }
.intro { display:block;padding-left:8%;padding-right:8% }
.intro .lead { max-width:1060px;font-size:22px;line-height:1.65;margin:0;letter-spacing:-.015em }
@media(max-width:600px) {
.intro { padding-left:24px;padding-right:24px }
.intro .lead { font-size:18px;line-height:1.7 }
}
.intro { display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:clamp(32px,6vw,100px);padding-top:40px;padding-bottom:56px }
.intro .lead { max-width:610px;font-size:clamp(20px,1.8vw,28px);line-height:1.6;letter-spacing:-.025em;color:#514750;text-wrap:pretty;font-weight:400 }
.intro .lead strong { font-weight:600;color:#302733 }
.intro-scene { position:relative;min-width:0;margin:0;justify-self:end;width:min(100%,460px) }
.intro-scene video { display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:transparent }
@media(max-width:700px) {
.intro { grid-template-columns:1fr;gap:20px;padding-top:36px;padding-bottom:40px }
.intro .lead { font-size:20px;line-height:1.65 }
.intro-scene { width:min(76%,330px);justify-self:end }
}
.intro { grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);align-items:start;gap:28px;padding-top:20px;padding-bottom:40px;background:#fffdf9 }
.intro .lead { max-width:800px;margin-top:36px }
.intro-scene { width:min(100%,380px) }
@media(max-width:700px) {
.intro { grid-template-columns:1fr;gap:12px;padding-top:20px;padding-bottom:32px }
.intro .lead { margin-top:0 }
.intro-scene { width:min(70%,300px) }
}
.tracking-hero, .intro { background:#fffdf9 }
.intro .lead { background:none;border:0;border-left:5px solid #9b718c;border-radius:0;padding:2px 0 2px 26px }
@media(max-width:700px) {
.intro .lead { padding:2px 0 2px 20px }
}
.intro-scene { width:clamp(420px,38vw,600px);max-width:none;position:relative;top:-210px;right:-3vw;margin-bottom:-210px;pointer-events:none }
@media(min-width:701px) and (max-width:1000px) {
.intro-scene { width:400px;top:-155px;margin-bottom:-155px;right:-4vw }
}
@media(max-width:700px) {
.intro-scene { width:min(90%,390px);top:0;right:0;margin-bottom:0 }
}
.intro .lead { font-family:Georgia,'Times New Roman',serif;font-size:clamp(22px,1.85vw,28px);font-weight:400;line-height:1.6;letter-spacing:0;color:#40383e;-webkit-font-smoothing:antialiased }
.intro .lead strong { font-family:inherit;font-weight:700 }
@media(max-width:700px) {
.intro .lead { font-size:21px;line-height:1.6 }
}
.intro-writing { min-width:0 }
.intro-writing .lead { font-family:Georgia,'Times New Roman',serif;font-style:italic }
.tracking-copy .paper-links .pill { display:inline-flex;align-items:center;justify-content:center;gap:18px;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:1.2;letter-spacing:0;text-transform:none;padding:14px 22px }
.tracking-copy .paper-links .pill span { font:inherit;font-size:17px;line-height:1;margin:0;opacity:.75 }
.intro-scene { top:-260px;margin-bottom:-260px }
.intro-writing .lead { font-size:clamp(20px,1.65vw,24px);line-height:1.65 }
@media(min-width:701px) and (max-width:1000px) {
.intro-scene { top:-195px;margin-bottom:-195px }
}
@media(max-width:700px) {
.intro-scene { top:0;margin-bottom:0 }
.intro-writing .lead { font-size:19px;line-height:1.65 }
}
.intro { grid-template-columns:minmax(0,2.7fr) minmax(0,1fr);gap:22px }
.intro-writing .lead { max-width:920px;font-size:18px;line-height:1.65 }
.intro-scene { top:-310px;margin-bottom:-310px;right:-5vw }
@media(min-width:701px) and (max-width:1000px) {
.intro-scene { top:-235px;margin-bottom:-235px }
}
@media(max-width:700px) {
.intro { grid-template-columns:1fr }
.intro-writing .lead { font-size:18px }
.intro-scene { top:0;right:0;margin-bottom:0 }
}
@media(min-width:1001px) {
.intro-scene { top:-370px }
}
@media(min-width:701px) and (max-width:1000px) {
.intro-scene { top:-295px }
}
.tracking-copy { transform:translate3d(0,var(--text-alignment-shift,0px),0) }
.intro-writing { transform:translate3d(0,var(--text-alignment-shift,0px),0) }
main { background:#fffdf9 }
.intro { background:transparent }
.intro { pointer-events:none }
.intro-writing { pointer-events:auto }
.tracking-copy .authors a { color:inherit;text-decoration:underline;text-decoration-color:#b69bb2;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-skip-ink:auto;transition:color 180ms ease,text-decoration-color 180ms ease }
.tracking-copy .authors a:hover, .tracking-copy .authors a:focus-visible { color:#95648f;text-decoration-color:#95648f }
.tracking-copy .authors a:focus-visible { outline:2px solid #9b718c;outline-offset:4px;border-radius:2px }
@media(min-width:701px) {
.intro-scene { aspect-ratio:1 }
.intro-scene video { position:absolute;max-width:none;object-fit:contain }
}
@media(min-width:701px) {
.tracking-copy h1 { max-width:68%;font-size:clamp(38px,3.6vw,64px) }
main { overflow-x:clip }
}
.intro-writing .lead { margin-top:0 }
@media(min-width:701px) {
.intro-scene video { transform:translateX(3%) scale(1.2);transform-origin:center center }
}

/* Navigation overlays the cover without adding a separate layout row. */
header.cover-nav{position:fixed;inset:0 0 auto;background:transparent;border-color:transparent;backdrop-filter:none;color:#fff;transition:background .3s ease,color .3s ease,border-color .3s ease}
.cover-nav .brand>span{border-color:#ffffff55}
header.cover-nav.is-solid{background:rgba(255,253,249,.94);color:#302733;border-color:var(--line);backdrop-filter:blur(16px)}
.cover-nav.is-solid .brand>span{border-color:var(--border-strong)}
@media(max-width:600px){}
@media(prefers-reduced-motion:reduce){header.cover-nav{transition:none}}

/* Initial viewport caption, carried upward with the cover's motion. */
.opening-caption{position:absolute;top:calc(100svh - 46px);left:4%;right:4%;z-index:3;margin:0;color:#fff;font:12px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.015em;text-shadow:0 1px 5px #0006;pointer-events:none;transform:translate3d(0,var(--caption-offset,0px),0);opacity:var(--caption-opacity,1)}
@media(max-width:600px){.opening-caption{left:24px;right:24px;top:calc(100svh - 42px);font-size:11px}}

/* Responsive composition: measured copy, dedicated tower column, viewport caption. */
html { scrollbar-gutter:stable }
main { overflow-x:clip }
.tracking-hero { height:calc(var(--stage-height,100svh) + 85svh) }
.tracking-stage { height:var(--stage-height,100svh);min-height:0;align-items:flex-start }
.tracking-copy { top:var(--copy-top,30svh);padding:0 8%;transform:none }
.tracking-copy h1 { margin-top:0;max-width:66%;font-size:clamp(38px,3.6vw,64px) }
.tracking-copy .author-block { margin-left:0;width:66%;max-width:none }
.intro { grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:32px;padding-bottom:60px }
.intro-writing { transform:none }
.intro-scene { width:100%;top:0;right:0;margin-bottom:0;aspect-ratio:1 }
.intro-scene video { transform:none }
.opening-caption { top:calc(100dvh - 28px - env(safe-area-inset-bottom,0px));transform:translate3d(0,calc(var(--caption-offset,0px) - 100%),0) }
@media(max-width:1100px) {
 .tracking-copy { padding-left:6%;padding-right:6% }
 .tracking-copy h1 { max-width:850px;font-size:clamp(28px,4.5vw,48px);margin-bottom:24px }
 .tracking-copy .author-block { width:100% }
 .tracking-copy .author-block .authors { font-size:17px;line-height:1.75 }
 .tracking-copy .affiliations { font-size:14px;margin-top:15px;gap:6px 16px }
 .intro { grid-template-columns:1fr;padding-left:6%;padding-right:6%;gap:20px }
 .intro-scene { width:min(80%,480px);justify-self:center }
 .intro-scene video { position:static;width:100%;height:auto }
}
@media(max-width:600px) {
 .tracking-copy { padding-left:24px;padding-right:24px }
 .tracking-copy h1 { font-size:clamp(27px,7.5vw,38px);line-height:1.13;margin-bottom:22px }
 .tracking-copy .author-block .authors { font-size:15px;line-height:1.8 }
 .tracking-copy .affiliations { font-size:12px;gap:5px 12px;margin-top:14px }
 .intro { padding-left:24px;padding-right:24px;padding-bottom:28px }
 .intro-writing .lead { font-size:17px;line-height:1.65 }
 .opening-caption { left:24px;right:24px;font-size:11px }
}
@media(max-height:600px) {
 header.cover-nav { height:58px }
 .tracking-copy h1 { font-size:clamp(25px,3.5vw,38px);margin-bottom:16px }
 .tracking-copy .author-block .authors { font-size:14px;line-height:1.65 }
 .tracking-copy .affiliations { font-size:11px;margin-top:10px;gap:4px 12px }
 .opening-caption { top:calc(100dvh - 18px - env(safe-area-inset-bottom,0px)) }
}
@media(prefers-reduced-motion:reduce) {
 .tracking-hero { height:var(--stage-height,100svh) }
 .tracking-stage { position:relative;transform:none }
 .intro { margin-top:0 }
 .intro-scene video { position:static!important;width:100%!important;height:auto!important }
}

/* Restore desktop writing position without moving the tower or scroll endpoint. */
@media(min-width:1101px) {
 .tracking-copy,.intro-writing { transform:translate3d(0,var(--desktop-copy-offset,0px),0) }
}

/* Transparent research animations, separate from the opening composition. */
.research-videos { position:relative;z-index:2;padding:0 8% 100px;background:#fffdf9 }
.research-video-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);padding-top:52px }
.research-video { min-width:0;aspect-ratio:16/9;margin:0 }
.research-video video { display:block;width:100%;height:100%;object-fit:contain;background:transparent }
.video-placeholder { display:grid;place-items:center;border:1px dashed #d7cbd3;border-radius:4px;color:#a2939e;font:12px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.08em }
@media(max-width:1100px) { .research-videos { padding-left:6%;padding-right:6% } }
@media(max-width:700px) {
 .research-videos { padding:12px 24px 52px }
 .research-video-grid { grid-template-columns:1fr;gap:28px;padding-top:32px }
}

.research-videos h2 { margin:0 0 32px;font-size:clamp(24px,2.4vw,36px);font-weight:400;line-height:1.25;letter-spacing:-.025em;color:#40383e }
.research-video-grid { padding-top:0 }
@media(max-width:700px) { .research-videos h2 { margin-bottom:24px } }

.research-video { aspect-ratio:auto;display:flex;flex-direction:column }
.research-video figcaption { margin-bottom:28px }
.research-video h3 { margin:0 0 10px;font-size:clamp(19px,1.6vw,24px);font-weight:500;line-height:1.3;letter-spacing:-.02em;color:#95648f }
.research-video figcaption p { max-width:540px;font-size:15px;line-height:1.65;color:#746873 }
.research-video video { height:auto;aspect-ratio:16/9;margin-top:auto }
@media(max-width:700px) { .research-video figcaption { margin-bottom:20px } .research-video-grid { gap:40px } }

/* Share heading, description, and video rows across both desktop columns. */
@media(min-width:701px) {
 .research-video-grid { grid-template-rows:auto auto auto;row-gap:0 }
 .research-video { display:grid;grid-template-rows:subgrid;grid-row:span 3 }
 .research-video figcaption { display:grid;grid-template-rows:subgrid;grid-row:span 2;margin:0;padding-bottom:28px }
 .research-video h3 { align-self:start }
 .research-video figcaption p { align-self:start }
 .research-video video { align-self:start;margin-top:0;object-position:center top }
}

/* Generation efficiency, with native HTML bars and visible numeric values. */
.efficiency-section { padding:20px 8% 100px;background:#fffdf9;color:#40383e }
.efficiency-section h2 { margin:0 0 42px;font-size:clamp(24px,2.4vw,36px);font-weight:400;line-height:1.25;letter-spacing:-.025em }
.efficiency-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,4vw,64px) }
.efficiency-panel { min-width:0 }
.efficiency-panel h3 { margin:0 0 18px;font-size:clamp(19px,1.6vw,24px);font-weight:500;line-height:1.3;letter-spacing:-.02em }
.efficiency-highlight { margin:0 0 28px;font-size:15px;line-height:1.5;color:#746873 }
.efficiency-highlight strong { display:block;color:#916d87;font-size:clamp(40px,4vw,58px);font-weight:400;line-height:1.2;letter-spacing:-.04em }
.metric-label { margin-bottom:22px;font-size:12px;line-height:1.5;color:#746873;min-height:36px }
.metric-row { display:grid;grid-template-columns:82px minmax(0,1fr) 48px;align-items:center;gap:12px;margin:18px 0;font-size:13px;line-height:1.4 }
.metric-track { height:16px }
.metric-track span { display:block;height:100%;background:#d4ccd3;border-radius:2px }
.metric-value { text-align:right;font-variant-numeric:tabular-nums }
.metric-row.is-gta { color:#76536b;font-weight:600 }
.metric-row.is-gta .metric-track span { background:#a47f9b }
.efficiency-note { max-width:none;width:100%;margin-top:30px;font-size:12px;line-height:1.7;color:#8a7e87 }
@media(max-width:1100px) { .efficiency-section { padding-left:6%;padding-right:6% } }
@media(max-width:700px) {
 .efficiency-section { padding:8px 24px 60px }
 .efficiency-section h2 { margin-bottom:30px }
 .efficiency-grid { grid-template-columns:1fr;gap:40px }
 .metric-row { grid-template-columns:76px minmax(0,1fr) 44px;gap:10px }
}

/* Full model names and shared-backbone footnotes. */
.metric-row { grid-template-columns:minmax(150px,190px) minmax(0,1fr) 6ch }
.metric-name sup { margin-left:3px;font-size:.75em;line-height:0 }
.efficiency-note span { display:block;margin:6px 0 }
@media(max-width:900px) and (min-width:701px) {
 .metric-row { grid-template-columns:1fr 6ch;row-gap:6px }
 .metric-name { grid-column:1 / -1 }
}
@media(max-width:700px) {
 .metric-row { grid-template-columns:1fr 6ch;row-gap:6px }
 .metric-name { grid-column:1 / -1 }
}

/* A shared progress value keeps bars and numeric labels exactly in sync. */
.efficiency-grid.charts-animated .metric-track > span {
 transform:scaleX(var(--chart-progress,1));transform-origin:left center;
}
.efficiency-highlight strong { font-variant-numeric:tabular-nums }
@media(prefers-reduced-motion:reduce) {
 .efficiency-grid.charts-animated .metric-track > span { transform:none }
}

/* Stable number boxes throughout the count-up animation. */
.metric-value {
 display:block;width:6ch;min-width:6ch;justify-self:end;
 text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums lining-nums;
}
.efficiency-highlight strong {
 width:5ch;min-width:5ch;text-align:left;white-space:nowrap;
 font-variant-numeric:tabular-nums lining-nums;letter-spacing:0;
}

/* Reserve each numeral and the multiplication sign independently. */
.efficiency-highlight .ratio-slot { display:inline-block;vertical-align:baseline;text-align:center }
.efficiency-highlight .ratio-digit { width:1ch }
.efficiency-highlight .ratio-point { width:.5ch }
.efficiency-highlight .ratio-symbol { width:1ch }

/* Regional scene gallery: original framing, quiet captions, native playback. */
.worlds-section { padding:12px 8% 100px;background:#fffdf9;color:#40383e }
.worlds-heading { margin-bottom:38px }
.worlds-heading h2 { margin:0 0 14px;font-size:clamp(24px,2.4vw,36px);font-weight:400;line-height:1.25;letter-spacing:-.025em }
.worlds-heading p { margin:0;color:#746873;font-size:16px;line-height:1.6 }
.worlds-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px 32px }
.world-scene { margin:0;min-width:0 }
.world-scene video { display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#f3eee9;border-radius:3px }
.world-scene figcaption { padding-top:14px;font-size:18px;line-height:1.4;letter-spacing:-.015em }
@media(max-width:1100px) { .worlds-section { padding-left:6%;padding-right:6% } }
@media(max-width:700px) {
 .worlds-section { padding:8px 24px 60px }
 .worlds-grid { grid-template-columns:1fr;gap:32px }
 .worlds-heading { margin-bottom:28px }
 .worlds-heading p { font-size:15px }
}

/* A horizontal, full-frame gallery with a glimpse of adjacent scenes. */
.worlds-section { overflow:hidden }
.worlds-grid { display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none;padding:0 8%;scroll-padding-inline:8%;margin:0 -9.524% }
.worlds-grid::-webkit-scrollbar { display:none }
.world-scene { flex:0 0 84%;scroll-snap-align:center;position:relative }
.world-scene video { aspect-ratio:16/10;max-height:72svh;object-fit:contain;background:#f0ebe6;border-radius:4px }
.world-scene figcaption { padding:16px 0 0;font-size:20px }
.gallery-toolbar { display:flex;align-items:center;justify-content:space-between;margin-top:22px }
.gallery-count { color:#8b7886;font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:.1em }
.gallery-arrows { display:flex;gap:10px }
.gallery-arrows button { display:grid;place-items:center;width:44px;height:44px;border:1px solid #d8cbd4;border-radius:50%;background:transparent;font-size:22px;transition:background .2s }
.gallery-arrows button:hover { background:#eee5eb }
.gallery-arrows button:disabled { opacity:.3;cursor:default }
.gallery-places { display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:24px }
.gallery-places button { background:none;border:0;border-bottom:1px solid transparent;padding:8px 0;color:#897c85;font-size:13px;line-height:1.5;transition:color .2s,border-color .2s }
.gallery-places button[aria-pressed="true"] { color:#76536b;border-color:#a47f9b }
.gallery-places button:hover { color:#40383e }
@media(max-width:1100px) { .worlds-grid { margin-inline:-6.818%;padding-inline:6%;scroll-padding-inline:6% } }
@media(max-width:700px) {
 .worlds-grid { margin-inline:-24px;padding-inline:24px;scroll-padding-inline:24px;gap:14px }
 .world-scene { flex-basis:92% }
 .world-scene video { aspect-ratio:4/3;max-height:none }
 .world-scene figcaption { font-size:18px }
 .gallery-places { flex-wrap:nowrap;overflow-x:auto;gap:22px;padding-bottom:6px }
 .gallery-places button { flex-shrink:0 }
}
@media(prefers-reduced-motion:reduce) { .worlds-grid { scroll-behavior:auto } }

/* A quiet center-stage gallery, with no matte or border around the videos. */
.worlds-grid { scroll-behavior:auto }
.worlds-grid.is-gliding { scroll-snap-type:none }
.world-scene { opacity:.42;transform:scale(.93);transform-origin:center center;transition:transform 1000ms cubic-bezier(.4,0,.2,1),opacity 1000ms cubic-bezier(.4,0,.2,1) }
.world-scene.is-current { opacity:1;transform:scale(1) }
.world-scene video { object-fit:cover;background:transparent;border:0;border-radius:0;box-shadow:none }
.gallery-autoplay { margin-left:auto;margin-right:20px;background:none;border:0;padding:8px 0;font-size:12px;color:#897c85 }
@media(prefers-reduced-motion:reduce) { .world-scene { transition:none } .gallery-autoplay { display:none } }

/* Compact gallery with continuous, position-based emphasis. */
.worlds-grid.continuous-gallery { scroll-snap-type:none;scroll-behavior:auto }
.world-scene { flex-basis:60%;opacity:calc(.42 + var(--scene-focus,0)*.58);transform:scale(calc(.93 + var(--scene-focus,0)*.07));transition:none }
.world-scene.is-current { opacity:calc(.42 + var(--scene-focus,0)*.58);transform:scale(calc(.93 + var(--scene-focus,0)*.07)) }
.world-scene video { max-height:46svh }
@media(max-width:700px) {
 .world-scene { flex-basis:74% }
 .world-scene video { max-height:42svh }
}

/* Keep gallery imagery fully opaque, including the side scenes. */
.worlds-section .world-scene, .worlds-section .world-scene.is-current { opacity:1 }

/* Uniform gallery video height, independent of source ratio or carousel position. */
.worlds-section .world-scene,
.worlds-section .world-scene.is-current { transform:none }
.worlds-grid { --gallery-media-height:clamp(320px,46vh,640px);--gallery-media-height:clamp(320px,46svh,640px); }
.worlds-section .world-scene { flex:0 0 auto;width:calc(var(--gallery-media-height) * var(--scene-ratio)); }
.worlds-section .world-scene-media {
 width:100%;height:var(--gallery-media-height);aspect-ratio:auto;flex-shrink:0;
}
.worlds-section .world-scene-media video {
 position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;
}
@media(max-width:700px) {
 .worlds-grid { --gallery-media-height:42vh;--gallery-media-height:42svh; }
}

/* Captions match the supplied results slides, with bidi-safe multilingual names. */
.world-scene-title { display:block;font-size:clamp(13px,1vw,16px);line-height:1.5;font-weight:400;letter-spacing:0 }
.world-scene-location { display:block;margin-top:6px;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:12px;line-height:1.5;color:#897c85;letter-spacing:0 }
.world-scene figcaption { min-height:100px }

/* Align media and both caption rows across the entire horizontal gallery. */
.worlds-grid { align-items:stretch }
.worlds-section .world-scene { display:flex;flex-direction:column }
.worlds-section .world-scene video { flex-shrink:0 }
.worlds-section .world-scene figcaption {
 display:grid;grid-template-rows:1fr auto;flex:1;min-height:0;
 padding:16px 0 0;text-align:left;align-content:start;
}
.world-scene-title { align-self:start }
.world-scene-location { align-self:end;margin-top:8px }

/* Enlarged scene viewer; gallery geometry stays untouched underneath. */
.world-scene video { cursor: zoom-in; }
.world-scene video:focus-visible { outline: 2px solid #9d7899; outline-offset: 5px; }
.scene-viewer { box-sizing: border-box; width: min(1200px,94vw); max-width: 94vw; max-height: 94svh; padding: 48px 20px 18px; border: 0; border-radius: 12px; background: #211e24; color: #fffdf9; overflow: auto; }
.scene-viewer::backdrop { background: rgb(18 15 22 / 80%); backdrop-filter: blur(8px); }
.scene-viewer video { display: block; width: 100%; max-height: 76svh; object-fit: contain; background: transparent; }
.scene-viewer-close { position: absolute; top: 7px; right: 13px; width: 36px; height: 36px; border: 0; background: transparent; color: inherit; font: 30px/1 sans-serif; cursor: pointer; }
.scene-viewer-caption { margin: 14px 0 0; font-size: 14px; line-height: 1.5; text-align: center; }
.scene-viewer[open] { animation: scene-viewer-enter 200ms ease-out; }
@keyframes scene-viewer-enter { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .scene-viewer[open] { animation: none; } }

/* A visible invitation to open the scene viewer. */
.worlds-section .gallery-view-hint { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: transparent; color: #9d7899; font-size: 15px; font-weight: 500; line-height: 1.5; }
.gallery-view-hint svg { flex-shrink: 0; }

/* Endless place-name ribbon with transparent edges, synced to scene movement. */
.worlds-section .gallery-places { display: block; position: relative; overflow: hidden; padding: 0; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.gallery-place-strip { position: relative; display: flex; align-items: center; gap: 32px; width: max-content; will-change: transform; }
.gallery-place-strip button { flex: 0 0 auto; white-space: nowrap; }
@media(max-width:700px) { .gallery-place-strip { gap: 24px; } }

/* A short, centered place selector keeps the active scene easy to identify. */
.worlds-section .gallery-places { width: min(100%, 640px); margin-inline: auto; }
.gallery-place-strip button { min-width: 110px; text-align: center; }
.gallery-place-strip button[aria-pressed="true"] { color: #a477a0; border-color: #b998b5; font-weight: 600; }
@media(max-width:700px) { .worlds-section .gallery-places { max-width: 420px; } .gallery-place-strip button { min-width: 96px; } }

/* Only the icon moves; its fixed footprint keeps the text still. */
.gallery-hint-icon { position: relative; display: inline-flex; width: 17px; height: 17px; flex: 0 0 17px; }
.gallery-hint-icon svg { position: relative; z-index: 1; animation: gallery-icon-hop 4.8s ease-in-out infinite; animation-delay: .95s; transform-origin: center; }
.gallery-hint-icon::after { content: ""; position: absolute; left: 3px; top: 10px; width: 2px; height: 5px; border-radius: 2px; background: linear-gradient(to bottom, currentColor, transparent); opacity: 0; transform-origin: top center; pointer-events: none; animation: gallery-icon-tail 4.8s ease-in-out infinite; animation-delay: .95s; }
@keyframes gallery-icon-hop {
  0%, 5%, 24%, 100% { transform: translate(0, 0) rotate(0); }
  10% { transform: translate(1px, -10px) rotate(-11deg); }
  15% { transform: translate(0, 2px) rotate(7deg); }
  19% { transform: translate(0, -3px) rotate(-3deg); }
}
@keyframes gallery-icon-tail {
  0%, 5%, 19%, 100% { opacity: 0; transform: translate(0, 0) rotate(15deg) scaleY(.3); }
  9% { opacity: .55; transform: translate(1px, -7px) rotate(20deg) scaleY(1); }
  13% { opacity: .25; transform: translate(1px, 0) rotate(-12deg) scaleY(.7); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-hint-icon svg, .gallery-hint-icon::after { animation: none; }
}

/* A staggered wave passes through the lettering without shifting its layout. */
.gallery-hint-words > span { white-space: nowrap; }
.gallery-hint-words > span > span { display: inline-block; animation: gallery-letter-wave 4.8s ease-in-out infinite; animation-delay: calc(var(--letter-delay) + 1080ms); }
@keyframes gallery-letter-wave {
  0%, 5%, 23%, 100% { transform: translateY(0); }
  12% { transform: translateY(var(--wave-lift, -4px)); }
  18% { transform: translateY(var(--wave-settle, 1px)); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-hint-words > span > span { animation: none; }
}

/* A crisp pointer reinforces the click invitation. */
.gallery-view-hint .gallery-hint-cursor { position: absolute; z-index: 2; left: 24px; top: calc(50% + 9px); pointer-events: none; transform-origin: 4px 2px; animation: gallery-cursor-click 4.8s ease-in-out infinite; }
.gallery-hint-words { margin-left: 12px; }
@keyframes gallery-cursor-click {
  0%, 4%, 49%, 100% { transform: translate(0, 0) scale(1); }
  18% { transform: translate(-19px, -16px) scale(1); }
  22% { transform: translate(-19px, -14px) scale(.84); }
  27% { transform: translate(-19px, -16px) scale(1.035); }
  33% { transform: translate(-19px, -16px) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-view-hint .gallery-hint-cursor { animation: none; }
}

/* A compact click ring appears at the pointer tip before the response wave. */
.gallery-view-hint::after { content: ""; position: absolute; pointer-events: none; left: 4px; top: calc(50% - 10px); width: 9px; height: 9px; box-sizing: border-box; border: 1px solid currentColor; border-radius: 50%; opacity: 0; animation: gallery-click-ripple 4.8s ease-out infinite; }
@keyframes gallery-click-ripple {
  0%, 21% { opacity: 0; transform: scale(.3); }
  22% { opacity: .75; transform: scale(.45); }
  29% { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1.5); }
}
@media (prefers-reduced-motion: reduce) {
  .worlds-section .gallery-view-hint::after { animation: none; }
}

/* Keep the click cue on the media itself, without covering the scene. */
.gallery-hint-words .hint-click-letter { font-weight: 700; }
.world-scene-media { position: relative; flex-shrink: 0; }
.world-scene-media video { display: block; }
.scene-enlarge-indicator { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fffdf9; background: rgb(48 35 49 / 65%); opacity: 0; transform: translate(-50%, -50%) scale(.9); pointer-events: none; transition: opacity 220ms ease, transform 220ms ease; }
.world-scene-media:hover .scene-enlarge-indicator,
.world-scene-media:has(video:focus-visible) .scene-enlarge-indicator { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media(max-width:700px), (hover:none) {
 .scene-enlarge-indicator { left: auto; top: auto; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 8px; opacity: 1; transform: none; }
 .scene-enlarge-indicator svg { width: 16px; height: 16px; }
 .world-scene-media:hover .scene-enlarge-indicator,
 .world-scene-media:has(video:focus-visible) .scene-enlarge-indicator { transform: none; }
}
@media(prefers-reduced-motion:reduce) {
 .scene-enlarge-indicator { transition: none; }
}

/* Put the invitation immediately above the gallery it describes. */
.worlds-section .worlds-heading { margin-bottom: 18px; }
.gallery-view-prompt { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.gallery-view-prompt .gallery-view-hint { margin: 0; }
@media(max-width:700px) {
 .gallery-view-prompt { justify-content: flex-start; margin-bottom: 18px; }
}

/* Desktop heading and invitation share a row; mobile retains the stacked layout. */
.worlds-heading-row { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 20px 28px; margin-bottom: 48px; }
.worlds-heading-row .worlds-heading { margin-bottom: 0; min-width: 0; }
.worlds-heading-row .worlds-heading h2 { margin-bottom: 0; }
.worlds-heading-row .gallery-view-prompt { flex-shrink: 0; margin-bottom: 0; }
.worlds-heading-row .gallery-view-hint { font-size: 18px; }
@media(max-width:700px) {
 .worlds-heading-row { display: block; margin-bottom: 32px; }
 .worlds-heading-row .worlds-heading { margin-bottom: 18px; }
 .worlds-heading-row .gallery-view-prompt { justify-content: flex-start; }
 .worlds-heading-row .gallery-view-hint { font-size: 16px; }
}

/* Add a readable caption to the desktop hover affordance. */
.scene-enlarge-label { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); padding: 6px 11px; border-radius: 6px; background: rgb(48 35 49 / 75%); color: #fffdf9; font-size: 14px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
@media(max-width:700px), (hover:none) {
 .scene-enlarge-label { display: none; }
}

/* Quiet provenance note beneath the regional gallery heading. */
.worlds-heading .worlds-production-note { margin: 10px 0 0; color: #897c85; font-size: 13px; line-height: 1.6; }

/* More breathing room between the introduction, method, results, and gallery. */
.research-videos { padding-top: 100px; }
.efficiency-section { padding-top: 120px; }
.worlds-section { padding-top: 112px; }
@media(max-width:700px) {
 .research-videos { padding-top: 44px; }
 .efficiency-section { padding-top: 40px; }
 .worlds-section { padding-top: 40px; }
}

/* Chapter entrances affect only outer content containers, preserving nested motion. */
.chapter-reveal > * { transition: opacity 800ms cubic-bezier(.22,1,.36,1), translate 1100ms cubic-bezier(.22,1,.36,1); }
.chapter-reveal:not(.chapter-visible) > * { opacity: 0; translate: 0 var(--chapter-enter-y,16px); }
.chapter-reveal.chapter-visible > * { opacity: var(--chapter-opacity,1); translate: 0 0; }
.chapter-reveal.chapter-visible > :not(:first-child) { transition-delay: 0ms, 120ms; }
@media(max-width:700px) {
 .chapter-reveal:not(.chapter-visible) > * { translate: 0 calc(var(--chapter-enter-y,16px) * .5); }
}
@media(prefers-reduced-motion:reduce) {
 .chapter-reveal > *, .chapter-reveal:not(.chapter-visible) > * { opacity: 1; translate: none; transition: none; }
}
@media print {
 .chapter-reveal > *, .chapter-reveal:not(.chapter-visible) > * { opacity: 1; translate: none; transition: none; }
}

/* Give desktop chapters roughly one viewport of space without scroll snapping. */
@media(min-width:701px) {
 .research-videos, .efficiency-section, .worlds-section {
  box-sizing: border-box;
  min-height: 0;
  padding-top: clamp(110px, 14svh, 170px);
  padding-bottom: clamp(100px, 12svh, 150px);
 }
}

@media(prefers-reduced-motion:reduce) {
 .chapter-reveal.chapter-visible > * { opacity: 1; }
}
@media print {
 .chapter-reveal.chapter-visible > * { opacity: 1; }
}

/* Fade only the cover image near its exit; preserve title and author visibility. */
.tracking-image { opacity: var(--cover-exit-opacity,1); transition: opacity 280ms ease-out; }
@media(prefers-reduced-motion:reduce) {
 .tracking-image { transition: none; }
}

/* Title, authors, and introduction fade as each approaches the top edge. */
.tracking-copy > h1, .tracking-copy > .author-block, .intro-writing {
 opacity: var(--text-exit-opacity,1);
 transition: opacity 280ms ease-out;
}
@media(prefers-reduced-motion:reduce) {
 .tracking-copy > h1, .tracking-copy > .author-block, .intro-writing { transition: none; }
}

/* Extra separation between the performance results and scene gallery. */
@media(min-width:701px) {
 .efficiency-section + .worlds-section { padding-top: calc(clamp(110px, 14svh, 170px) + 80px); }
}

/* Two camera views share one timeline and retain their complete framing. */
.embodied-section { padding:clamp(110px,14svh,170px) 8% clamp(100px,12svh,150px);background:#fffdf9;color:#40383e; }
.embodied-section h2 { margin:0 0 48px;font-size:clamp(24px,2.4vw,36px);font-weight:400;line-height:1.25;letter-spacing:-.025em; }
.embodied-demo { margin-inline:0; }
.embodied-views { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0; }
.embodied-view { min-width:0;margin:0; }
.embodied-view video { display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain; }
.embodied-view figcaption { margin-top:12px;font-size:14px;color:#95648f; }
.embodied-controls { display:flex;align-items:center;gap:16px;margin-top:24px; }
.embodied-controls button { background:none;border:0;padding:8px 0;color:#95648f;font-size:13px; }
.embodied-toggle { min-width:44px;text-align:left; }
.embodied-progress { flex:1;min-width:60px;accent-color:#9d7899;cursor:pointer; }
.embodied-time { font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#897c85; }
.embodied-status { min-height:1.5em;margin-top:8px;font-size:12px;color:#897c85; }
@media(max-width:1100px) { .embodied-section { padding-inline:6%; } }
@media(max-width:700px) {
 .embodied-section { padding:40px 24px 60px; }
 .embodied-section h2 { margin-bottom:32px; }
 .embodied-views { grid-template-columns:1fr;gap:0; }
 .embodied-controls { gap:12px; }
}

/* Keep the shared transport logic while hiding the visible controls. */
.embodied-controls[hidden] { display:none; }

/* A quiet rendering note for scenes whose dedicated tour is not yet available. */
.scene-viewer-media { position:relative; }
.scene-tour-pending { position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);display:block;width:max-content;max-width:calc(100% - 32px);margin:0;padding:16px 22px;border-radius:12px;background:rgb(33 26 36 / 78%);color:#ead6e7;font-size:clamp(15px,1.5vw,20px);font-weight:500;line-height:1.5;text-align:center;pointer-events:none; }
.scene-tour-pending[hidden] { display:none; }
.scene-tour-spinner { flex:0 0 20px;width:20px;height:20px;border:1.5px solid rgb(211 181 208 / 25%);border-top-color:currentColor;border-radius:50%;animation:scene-tour-spin 1.3s linear infinite; }
@keyframes scene-tour-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .scene-tour-spinner { animation:none; } }

.scene-tour-status { display:flex;align-items:center;justify-content:center;gap:12px;margin:0; }
.scene-tour-recommendation { margin:12px 0 0;max-width:620px;color:#e1d7df;font-size:clamp(12px,1.1vw,15px);font-weight:400;line-height:1.7; }
.scene-tour-recommendation button { pointer-events:auto;display:inline;padding:3px 1px;border:0;background:none;color:#f3c9ee;font:inherit;text-decoration:underline;text-underline-offset:3px; }
.scene-tour-recommendation button:hover { color:white; }
.scene-tour-recommendation button:focus-visible { outline:2px solid #f3c9ee;outline-offset:3px;border-radius:2px; }

/* Match the composited iOS video background to the surrounding paper color. */
video.ios-opaque-animation { background:#fffdf9; }

/* Separate demonstrations vertically, keeping each camera pair joined. */
.embodied-demo + .embodied-demo { margin-top:8px; }
@media(max-width:700px) { .embodied-demo + .embodied-demo { margin-top:calc(16px / 3); } }

/* Art-garden panoramas between the project introduction and method. */
.garden-section { padding:clamp(110px,14svh,170px) 8% clamp(100px,12svh,150px);background:#fffdf9;color:#40383e; }
.garden-section h2 { margin:0 0 48px;font-size:clamp(24px,2.4vw,36px);font-weight:400;line-height:1.25;letter-spacing:-.025em; }
.garden-views { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px; }
.garden-views figure { min-width:0;margin:0; }
.garden-video { display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain; }
.garden-views figcaption { margin-top:12px;font-size:13px;line-height:1.5;color:#95648f; }
@media(max-width:1100px) { .garden-section { padding-inline:6%; } }
@media(max-width:700px) {
 .garden-section { padding:44px 24px 60px; }
 .garden-section h2 { margin-bottom:32px; }
 .garden-views { grid-template-columns:1fr;gap:24px; }
}

/* Lazy-loaded, independent object viewers below the garden panoramas. */
.object-gallery { margin-top:72px; }
.object-heading { margin-bottom:28px; }
.object-heading h3 { margin:0 0 8px;font-size:24px;font-weight:400;letter-spacing:-.02em; }
.object-heading p { font-size:16px;line-height:1.6;color:#897c85; }
.object-comparison { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px; }
.object-panel { min-width:0; }
.object-panel h4 { margin:0 0 16px;color:#95648f;font-size:18px;font-weight:500; }
.object-stage { position:relative;height:clamp(280px,30vw,440px);background:transparent;border-radius:12px;overflow:hidden; }
.object-poster { width:100%;height:100%;object-fit:contain; }
.object-stage model-viewer { position:absolute;inset:0;display:block;width:100%;height:100%;background:transparent;--poster-color:transparent;touch-action:pan-y; }
.object-open { position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:10px;min-height:44px;border:0;background:transparent;padding:10px 16px;color:#76536b;white-space:nowrap;font:inherit;font-size:14px;font-weight:500;letter-spacing:.015em;cursor:pointer;isolation:isolate;transition:color 240ms ease; }
.object-open::before { content:"";width:20px;height:20px;flex:none;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='m12 2 9 5v10l-9 5-9-5V7zM3 7l9 5 9-5M12 12v10'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;transition:transform 350ms cubic-bezier(.22,1,.36,1); }
.object-open::after { content:"";position:absolute;inset:-6px -12px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse, rgb(255 253 249 / 96%) 20%,rgb(255 253 249 / 65%) 48%,transparent 72%);transition:transform 350ms ease; }
.object-open:hover { color:#56364f; }
.object-open:hover::before { transform:translateY(-2px) rotate(-8deg); }
.object-open:hover::after { transform:scale(1.12); }
.object-open:disabled { cursor:progress;color:#897c85; }

.object-open[hidden], .object-poster[hidden], .object-toolbar button[hidden] { display:none; }
.object-toolbar { display:flex;align-items:center;gap:16px;min-height:50px; }
.object-name { flex:1;font-size:16px;line-height:1.4; }
.object-toolbar button { padding:6px 0;border:0;background:none;color:#95648f;font-size:14px;text-decoration:underline;text-underline-offset:3px; }
.object-status { min-height:1.6em;color:#897c85;font-size:14px;line-height:1.6;margin-bottom:12px; }
.object-options { display:flex;gap:12px;width:100%;min-width:0;box-sizing:border-box;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:4px 2px 10px;mask-image:linear-gradient(to right,transparent,#000 12px,#000 calc(100% - 12px),transparent); }
.object-option { position:relative;isolation:isolate;flex:0 0 104px;min-width:0;scroll-snap-align:start;padding:6px;background:transparent;border:0;cursor:pointer; }
.object-option::before { content:"";position:absolute;z-index:-1;pointer-events:none;left:50%;top:0;width:100px;height:78px;transform:translateX(-50%);background:radial-gradient(ellipse at center,rgb(255 255 255 / 100%) 8%,rgb(213 179 210 / 48%) 35%,rgb(213 179 210 / 15%) 53%,transparent 72%);opacity:0;transition:opacity 320ms ease; }
.object-option img { width:100%;height:56px;object-fit:contain;opacity:.88;filter:brightness(.98) saturate(1);transition:opacity 320ms ease,filter 320ms ease; }
.object-option span { display:block;margin-top:6px;font-size:14px;line-height:1.35;color:#968d93;transition:color 320ms ease; }
.object-option:hover::before { opacity:.55; }
.object-option:hover img { opacity:1;filter:brightness(1.03); }
.object-option[aria-pressed="true"]::before { opacity:1; }
.object-option[aria-pressed="true"] img { opacity:1;filter:brightness(1.08) drop-shadow(0 4px 4px rgb(92 53 87 / 28%)); }
.object-option[aria-pressed="true"] span { color:#76536b; }
@media(prefers-reduced-motion:reduce) { .object-option img,.object-option span,.object-option::before,.object-open,.object-open::before,.object-open::after { transition:none; } }
.object-option:focus-visible,.object-open:focus-visible { outline:2px solid #95648f;outline-offset:3px; }
@media(max-width:700px) {
 .object-gallery { margin-top:48px; }
 .object-comparison { grid-template-columns:1fr;gap:40px; }
 .object-stage { height:340px;max-height:60svh; }
 .object-toolbar { gap:12px; }
}

.object-options::-webkit-scrollbar { display:none; }

/* Panoramas retain their layout space while shrinking into contextual guides. */
.garden-demo { position:relative;z-index:2; }
.garden-video { transform-origin:top left;will-change:transform;pointer-events:none; }
.garden-views figure { overflow:visible; }
.garden-views figcaption { pointer-events:none; }

/* Method labels stay at their original type size throughout the video move. */
.garden-views figure { position:relative;padding-top:32px; }
.garden-views figcaption { position:absolute;left:0;top:0;margin:0;font-size:14px;line-height:22px;white-space:nowrap;will-change:transform; }
.object-gallery { margin-top:56px; }
@media(max-width:700px) { .object-gallery { margin-top:40px; } }

/* Reserve a separate reference area, with 28px clear space above the model. */
.object-panel { padding-top:228px; }
@media(max-width:700px) { .object-panel { padding-top:228px; } }

/* A quiet recessed display surface for the interactive objects. */
.object-stage {
 box-sizing:border-box;
 border:1px solid rgb(154 128 149 / 18%);
 border-radius:20px;
 background:rgb(243 237 242 / 32%);
 box-shadow:inset 0 3px 10px rgb(78 53 73 / 8%),inset 0 1px 3px rgb(78 53 73 / 6%),0 1px 0 rgb(255 255 255 / 90%);
}
.object-stage::after {
 content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;
 box-shadow:inset 0 8px 20px -12px rgb(78 53 73 / 14%),inset 0 -1px 0 rgb(255 255 255 / 65%);
}

/* Method names sit beside each panorama, including its compact guide state. */
.garden-views figure { padding-top:0;padding-right:108px; }
.garden-views figcaption { left:auto;right:0;top:50%;width:96px;line-height:22px;margin-top:-11px; }
@media(max-width:700px) {
 .garden-views figure { padding-right:96px; }
 .garden-views figcaption { width:84px; }
}

/* Quiet exhibition labels keep the emphasis on the scene and geometry. */
.garden-views figure { padding:0 0 30px; }
.garden-views figcaption { left:0;right:auto;top:auto;bottom:0;width:auto;margin:0;font-size:13px;font-weight:400;line-height:22px;color:#897c85; }
.object-panel { position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start; }
.object-stage,.object-options { grid-column:1 / -1; }
.object-stage { grid-row:1; }
.object-name { position:absolute;z-index:3;left:20px;bottom:17px;margin:0;max-width:calc(100% - 40px);font-size:14px;font-weight:400;line-height:1.5;color:#655c62;pointer-events:none; }
.object-open { bottom:52px; }
.object-toolbar { grid-column:2;grid-row:2;justify-content:flex-end;gap:14px;min-height:40px; }
.object-toolbar button { color:#958a92;font-size:12px;text-decoration:none;transition:color 200ms ease; }
.object-toolbar button:hover { color:#76536b; }
.object-status { grid-column:1;grid-row:2;align-self:center;margin:0;padding:8px 14px 8px 0;min-height:0;font-size:12px;line-height:1.5;color:#958a92; }
.object-options { margin-top:8px; }
.object-option span { opacity:0;transition:opacity 200ms ease,color 200ms ease; }
.object-option:hover span,.object-option:focus-visible span { opacity:1; }
@media(max-width:700px) {
 .garden-views figure { padding:0 0 30px; }
 .garden-views figcaption { width:auto; }
 .object-name { left:16px;bottom:14px;max-width:calc(100% - 32px); }
 .object-toolbar { gap:10px; }
}
@media(prefers-reduced-motion:reduce) { .object-option span,.object-toolbar button { transition:none; } }

/* Give the method labels a little more presence without changing object captions. */
.garden-views figcaption { font-size:15px;font-weight:500;color:#795b74; }

/* Keep the interaction instruction prominent without adding another control. */
.object-status { grid-column:1 / -1;grid-row:2;margin:0;padding:14px 0 8px;font-size:14px;font-weight:500;line-height:1.6;color:#79506f;letter-spacing:.01em; }

/* Instructions float inside the model view; motion is confined to the gesture icon. */
.object-stage .object-status { position:absolute;z-index:3;top:16px;left:16px;right:16px;display:flex;align-items:center;justify-content:center;gap:10px;margin:0;padding:4px 0;color:#79506f;font-size:14px;font-weight:500;line-height:1.5;text-align:center;pointer-events:none;text-shadow:0 1px 5px #fffdf9; }
.object-stage .object-status:empty { display:none; }
.object-status.is-interactive::before { content:"";flex:0 0 18px;width:18px;height:22px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cg fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Crect x='3' y='2' width='14' height='22' rx='7'/%3E%3Cpath d='M10 6v5'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;animation:object-drag-cue 3.6s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes object-drag-cue { 0%,18%,82%,100% { transform:translateX(0) rotate(0); } 36% { transform:translateX(-5px) rotate(-8deg); } 60% { transform:translateX(5px) rotate(8deg); } }
.object-stage:active .object-status.is-interactive::before { animation-play-state:paused; }
@media(max-width:700px) { .object-stage .object-status { top:12px;left:12px;right:12px;gap:8px;font-size:13px; } }
@media(prefers-reduced-motion:reduce) { .object-status.is-interactive::before { animation:none; } }

/* Fade only display content, keeping the panorama's landing geometry stable. */
.object-panel.objects-reveal > * { opacity:0;transition:opacity 1100ms cubic-bezier(.22,.61,.36,1); }
.object-panel.objects-visible > *, .object-panel.objects-reduced-motion > * { opacity:1; }
@media(prefers-reduced-motion:reduce) { .object-panel.objects-reveal > * { opacity:1;transition:none; } }
@media print { .object-panel.objects-reveal > * { opacity:1; } }

/* Compact scene-reference header: transparent video left, method label right. */
.garden-views figure { padding:0 0 52px; }
.garden-views figcaption { bottom:0;line-height:22px; }
.garden-method { display:block; }
.garden-reference-note { display:block;margin-top:3px;font-size:12px;line-height:18px;font-weight:400;color:#958a92;opacity:var(--reference-note-opacity,0); }
.object-gallery { margin-top:24px; }
.object-panel { padding-top:168px; }
@media(max-width:700px) {
 .garden-views figure { padding:0 0 52px; }
 .object-gallery { margin-top:20px; }
 .object-panel { padding-top:150px; }
}

/* The scene thumbnail overlaps the frame's top edge as a corner reference. */
.garden-views figure { padding-bottom:30px; }
.garden-views figcaption { text-align:left; }
.object-panel { padding-top:126px; }
/* Keep the gesture instruction below the overlapping reference. */
.object-stage .object-status { top:36px; }
@media(max-width:700px) { .object-stage .object-status { top:36px; } }

/* Lower the corner reference while restoring the original instruction position. */
.object-stage .object-status { top:16px; }
@media(max-width:700px) { .object-stage .object-status { top:12px; } }

/* Stronger method headings while retaining the quiet, centered presentation. */
.garden-views figcaption { font-size:18px;font-weight:400;line-height:26px;color:#704d6b;letter-spacing:-.015em; }
@media(max-width:700px) { .garden-views figcaption { font-size:16px;line-height:24px; } }

/* A quiet guide to the scene-to-object comparison. */
.garden-section h2 { margin-bottom:12px; }
.garden-section-note { margin:0 0 40px;color:#897c85;font-size:14px;line-height:1.6; }
@media(max-width:700px) { .garden-section-note { margin-bottom:28px; } }

/* Center method names above the original full-size panoramas as well. */
.garden-views figure { padding:42px 0 0; }
.garden-views figcaption { top:0;bottom:auto;left:50%;right:auto;width:max-content;max-width:100%;translate:-50% 0;text-align:center; }

.garden-views figcaption { top:32px; }

/* The chapter title and note accompany the scene-to-object transition. */
.garden-heading-group { position:relative;z-index:3;will-change:transform;pointer-events:none; }
.garden-heading-group .garden-section-note { margin-bottom:0; }
.garden-heading-group { margin-bottom:40px; }
@media(max-width:700px) { .garden-heading-group { margin-bottom:28px; } }

/* Keep the compact panorama/object spacing; restore the original chapter separation. */
.object-gallery { margin-top:6px; }
.garden-section { padding-bottom:clamp(100px,12svh,150px); }
.garden-section + .research-videos { padding-top:clamp(110px,14svh,170px); }
@media(max-width:700px) {
 .object-gallery { margin-top:5px; }
 .garden-section { padding-bottom:60px; }
 .garden-section + .research-videos { padding-top:44px; }
}

/* Tighten the transparent panorama canvas rather than unrelated chapter spacing.
   Negative margins preserve every pixel while reducing its empty layout footprint. */
.garden-video { margin-top:clamp(-70px,-5vw,-30px);margin-bottom:clamp(-40px,-3vw,-18px); }
.object-panel { padding-top:20px; }
@media(max-width:700px) {
 .garden-video { margin-top:-24px;margin-bottom:-16px; }
 .object-panel { padding-top:16px; }
}

.garden-video { pointer-events:auto;cursor:zoom-in; }
.garden-views figcaption { pointer-events:auto; }
.garden-tour-open { display:block;margin:3px auto 0;padding:2px 4px;border:0;background:transparent;color:#95648f;font:inherit;font-size:12px;line-height:18px;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px; }
.garden-tour-open:hover { color:#63405b; }
.garden-tour-open:focus-visible,.garden-video:focus-visible { outline:2px solid #95648f;outline-offset:4px; }

/* A restrained animated enlarge cue; the label itself stays still. */
.garden-tour-open { display:flex;align-items:center;justify-content:center;gap:7px;margin:4px auto 0;padding:4px 0;border:0;background:none;text-decoration:none;font-size:14px;line-height:20px;color:#875580;transition:color 200ms ease; }
.garden-tour-open::before { content:"";display:block;flex:0 0 16px;width:16px;height:16px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3H3v5m13-5h5v5M3 16v5h5m13-5v5h-5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;animation:garden-explore-cue 3.8s ease-in-out infinite; }
.garden-tour-open:hover { color:#613b5c; }
@keyframes garden-explore-cue { 0%,25%,75%,100% { transform:scale(1); } 45% { transform:scale(1.18); } 60% { transform:scale(1); } }
@media(prefers-reduced-motion:reduce) { .garden-tour-open::before { animation:none; } .garden-tour-open { transition:none; } }

.hero-paper-link { margin:16px 0 0; }
.hero-paper-link a { display:inline-flex;align-items:center;gap:7px;padding:4px 0;color:#875580;font-size:16px;line-height:1.5;text-decoration:none;transition:color 180ms ease; }
.hero-paper-link a span { text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px; }
.hero-paper-link a:hover { color:#613b5c; }
.hero-paper-link a:focus-visible { outline:2px solid #95648f;outline-offset:5px;border-radius:2px; }

.cover-nav .nav-paper-link { margin-left:auto;padding:8px 0 8px 20px;color:inherit;font-size:15px;font-weight:400;line-height:1.5;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;transition:opacity 180ms ease; }
.cover-nav .nav-paper-link:hover { opacity:.75; }
.cover-nav .nav-paper-link:focus-visible { outline:2px solid currentColor;outline-offset:4px; }

/* Paper follows the author list inline instead of occupying its own row. */
.authors .author-paper-inline { display:inline-block;margin-left:20px;white-space:nowrap;vertical-align:baseline; }
.authors .author-paper-link { display:inline-flex;align-items:center;gap:6px;color:#875580;font-size:16px;line-height:1.5;vertical-align:baseline;text-decoration:none; }
.authors .author-paper-link span { text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px; }
.authors .author-paper-link:hover { color:#613b5c; }
@media(max-width:700px) { .authors .author-paper-inline { margin-left:12px; } .authors .author-paper-link { font-size:14px; } }

/* A real first-page preview alongside the authors, linked to the arXiv abstract. */
.tracking-copy .author-block { display:flex;flex-wrap:wrap;align-items:center;gap:24px;width:fit-content;max-width:66%; }
.author-info { flex:0 1 auto;width:max-content;max-width:100%;min-width:0; }
.paper-preview-link { flex:0 0 auto;align-self:center;display:flex;flex-direction:column;align-items:center;gap:7px;color:#875580;text-decoration:none;font-size:14px;line-height:1.4; }
.paper-preview-link img { display:block;width:78px;height:auto;background:white;border-radius:2px;box-shadow:0 2px 9px rgb(55 35 52 / 15%);transition:transform 240ms ease,box-shadow 240ms ease; }
.paper-preview-link:hover img { transform:translateY(-3px);box-shadow:0 6px 15px rgb(55 35 52 / 20%); }
.paper-preview-link:hover { color:#613b5c; }
.paper-preview-link:focus-visible { outline:2px solid #95648f;outline-offset:6px; }
@media(max-width:700px) {
 .tracking-copy .author-block { max-width:100%;gap:24px; }
 .author-info { flex-basis:100%; }
 .paper-preview-link img { width:58px; }
 .paper-preview-link { font-size:12px;gap:5px; }
}
@media(prefers-reduced-motion:reduce) { .paper-preview-link img { transition:none; } }

.paper-preview-link > span { white-space:nowrap; }

@media(min-width:701px) and (max-width:1100px) { .tracking-copy .author-block { max-width:100%; } }

/* Inline walkthroughs sit below their panoramas and dock at the opposite corner. */
.garden-tour-demo { margin-top:18px;position:relative;z-index:2; }
.garden-tour-views { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px; }
.garden-tour-views figure { position:relative;min-width:0;margin:0;overflow:visible; }
.garden-tour-video { margin:0;aspect-ratio:16/9;width:100%;height:auto;border-radius:8px;transform-origin:top left; }
@media(max-width:700px) { .garden-tour-views { grid-template-columns:1fr;gap:24px; } .garden-tour-demo { margin-top:16px; } .garden-tour-video { margin:0; } }

@media(max-width:700px) {
 .garden-media-stack { display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"panorama-astra" "tour-astra" "panorama-gta" "tour-gta";row-gap:24px; }
 .garden-media-stack .garden-demo,.garden-media-stack .garden-views,.garden-media-stack .garden-tour-views { display:contents; }
 .garden-views > figure:first-child { grid-area:panorama-astra; }
 .garden-views > figure:last-child { grid-area:panorama-gta; }
 .garden-tour-views > figure:first-child { grid-area:tour-astra; }
 .garden-tour-views > figure:last-child { grid-area:tour-gta; }
 .garden-media-stack figure { position:relative;z-index:2; }
 .garden-media-stack .embodied-status:empty { display:none; }
}

.garden-tour-video { background:transparent;border-radius:0; }
.garden-tour-viewer { background:#fffdf9;color:#40383e; }
.garden-tour-viewer .scene-viewer-close { color:#40383e; }

/* Docked transparent media sits above the object frame at full opacity.
   Preserve the file's alpha channel without fading the visible scene content. */
.garden-media-stack { position:relative;z-index:4; }
.garden-heading-group { z-index:5; }
.garden-section.chapter-reveal.has-docked-media > .garden-media-stack { opacity:1; }
.garden-media-stack video { opacity:1; }

.garden-quality-cover { position:absolute;z-index:2;pointer-events:none;transform-origin:top left;opacity:1;transition:opacity 160ms ease; }
@media(prefers-reduced-motion:reduce) { .garden-quality-cover { transition:none; } }

/* Paper citation follows the same content alignment as the research sections. */
.citation-section { padding:clamp(110px,14svh,170px) 8% 80px;background:#fffdf9;color:#40383e; }
.citation-heading { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px; }
.citation-heading h2 { margin:0;font-size:clamp(24px,2.4vw,36px);font-weight:400;line-height:1.25;letter-spacing:-.025em; }
.citation-copy { flex-shrink:0;padding:10px 0;border:0;background:none;color:#95648f;font:inherit;font-size:14px;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;transition:color .2s; }
.citation-copy:hover { color:#633d60; }
.citation-copy:focus-visible,.citation-code:focus-visible { outline:2px solid #9d7899;outline-offset:6px; }
.citation-code { margin:0;padding:24px 28px;border-left:3px solid #9d7899;background:#f5f1f4;border-radius:0 8px 8px 0;white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.85 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.citation-code code { font:inherit; }
.citation-status { min-height:1.6em;margin:10px 0 0;color:#95648f;font-size:14px; }
@media(max-width:1100px) { .citation-section { padding-inline:6%; } }
@media(max-width:700px) { .citation-section { padding:44px 24px 48px; }.citation-heading { margin-bottom:24px; }.citation-code { padding:18px;font-size:13px; } }
