/* Fixed scroll duration; only the IMERI object presentation changes. */
.portfolio-journey.has-imeri-story { height:620svh; }
#imeri { width:100%; color:var(--ink); }
#imeri.project-entry { will-change:auto; }
.imeri-story { position:relative; height:70svh; perspective:1100px; transform-style:preserve-3d; }
.imeri-layer { position:absolute; left:50%; top:50%; margin:0; transform-style:preserve-3d; }
.imeri-layer svg { width:100%; display:block; overflow:visible; fill:var(--ink); }
.imeri-master { position:relative; filter:none; shape-rendering:geometricPrecision; }
.callout-svg-anchor { fill:#fff; pointer-events:none; }
html[lang="ka"] .imeri-callout { font-feature-settings:"case" 1; text-transform:none; }
.imeri-layer .imeri-glow { position:absolute; inset:0; height:100%; pointer-events:none; }
.imeri-fibonacci { fill:var(--accent); opacity:0; }
.imeri-wordmark-geo { display:none !important; }
html[lang="ka"] .imeri-wordmark-eng { display:none; }
html[lang="ka"] .imeri-wordmark-geo { display:block !important; }
.imeri-callout { position:absolute; left:50%; top:50%; display:flex; align-items:center; gap:14px; color:var(--ink); font-family:var(--font-family); font-size:clamp(32px,2.6vw,36px); line-height:1.6; text-align:left; width:max-content; max-width:27vw; opacity:0; }
.imeri-leader { position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; opacity:0; fill:var(--ink); }
.imeri-leader line { fill:none; stroke:var(--ink); stroke-width:1; vector-effect:non-scaling-stroke; }
@media(max-width:600px) {
 .portfolio-journey.has-imeri-story { height:600svh; }
 .imeri-callout { max-width:56vw; font-size:32px; }
}
@media(prefers-reduced-motion:reduce) {
 .callout-svg-anchor { display:none; }
 .imeri-glow { display:none !important; }
 .portfolio-journey.has-imeri-story { height:auto; }
 .design-hero,.portfolio-world { min-height:0; }
 .portfolio-world { padding-top:25svh; }
 .hero-copy,.project-entry { position:relative; left:auto; top:auto !important; margin:15svh auto; transform:none; }
 .imeri-story { height:auto; display:flex; flex-direction:column; align-items:center; gap:24px; perspective:none; }
 .imeri-layer { position:relative; left:auto; top:auto; width:min(65vw,440px) !important; transform:none !important; }
 .imeri-callout { position:relative; left:auto; top:auto; opacity:1 !important; transform:none !important; max-width:80vw; }
}

/* Screen-space UI lives outside every transformed/filtered scene ancestor. */
.imeri-annotations { position:fixed; inset:0; z-index:10000; pointer-events:none; color:var(--ink); }
.imeri-annotations[hidden] { display:none; }
.imeri-annotations .imeri-callout { z-index:2; }
.imeri-annotations .imeri-callout { display:block; white-space:normal; overflow-wrap:normal; word-break:normal; }
.imeri-annotations .imeri-leader { z-index:1; }
.scroll-cue.scroll-cue--fixed { position:fixed; bottom:max(20px,env(safe-area-inset-bottom)); z-index:2147483000; opacity:1; }
