/* v34: stable geometry and a single motion owner on each surface. */
html{scrollbar-gutter:stable}
.scene{inset:0 auto auto 0;width:100vw;height:100vh;height:100lvh;contain:paint;transform:translateZ(0);backface-visibility:hidden}
.scene-art,.scene-light,.scene-grid,.scene-engraving{animation:none!important}
#dialog-body>*{animation:none!important}
dialog[open]::backdrop{animation:none!important}
.service-card,.hero-routes.revealed .route-card{animation:none!important}
.hero-copy{clip-path:none!important}
.dialog-scroll{overflow-anchor:none;scroll-behavior:auto}
.diagram-controls,.dialog-toolbar,.dialog-contact,.mobile-bar{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background-color:#101d2d}
.diagram-canvas{position:relative}
.diagram-canvas>.atlas{padding-top:48px}
.diagram-controls{position:absolute;inset:7px 9px auto auto;z-index:2;width:auto;display:flex;align-items:center;gap:3px;padding:0;margin:0;border:0;background:transparent!important;direction:ltr}
.diagram-status{margin:0 5px 0 0;font:650 10px/1 Inter,sans-serif;color:#a7bfd9}
.diagram-controls button,.diagram-controls [data-play]{display:grid;place-items:center;width:34px;height:34px;min-height:34px;min-width:34px;padding:8px;border:1px solid #a6c8f02b;border-radius:8px;background:#19304785;color:#c7d9ef;box-shadow:none}
.diagram-controls button:hover{background:#2b4d70;color:#fff}
.diagram-controls button:focus-visible{outline:2px solid #9ac6ff;outline-offset:2px}
.diagram-controls svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.diagram-controls .play-glyph{fill:currentColor;stroke:none}
.diagram-controls .pause-glyph,.diagram-controls [data-playing=true] .play-glyph{display:none}
.diagram-controls [data-playing=true] .pause-glyph{display:block}
.estimate-result{position:static}
.atlas-focus-copy{align-content:start}
.atlas-focus-copy .atlas-reserve{display:block!important;visibility:hidden;pointer-events:none}
.atlas-focus-copy>strong{grid-area:2/1}.atlas-focus-copy>p{grid-area:3/1}
.reference-ribbons .reference-ribbon{border-width:2px}
.atlas .reference-ribbons .reference-ribbon.selected-ribbon{border-color:var(--ribbon-tone)}
/* Shared dock geometry for links and buttons, on the home page and every panel. */
.mobile-bar,.dialog-contact{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 62px;gap:7px;align-items:center}
.mobile-bar>:is(a,button),.dialog-contact>:is(a,button){display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:auto;min-width:0;height:48px!important;min-height:48px!important;max-height:48px!important;padding:7px!important;border:1px solid #8db9ec55!important;border-radius:12px!important;gap:6px;box-shadow:0 3px 9px #0003!important;line-height:1.2;white-space:nowrap;transition:background-color .2s,border-color .2s,transform .2s}
.mobile-bar>.dock-qr,.dialog-contact>.dock-qr{width:100%;min-width:0;background:#1d2b40!important}
.mobile-bar .dock-whatsapp .wa-logo,.dialog-contact .dock-whatsapp .wa-logo{width:28px;height:28px;flex:none}
.mobile-bar .dock-email svg,.dialog-contact .dock-email svg,.mobile-bar .dock-qr svg,.dialog-contact .dock-qr svg{width:23px;height:23px;flex:none}
.mobile-bar .dock-email span,.dialog-contact .dock-email span{font:750 14px/1.2 Inter,sans-serif}
html[lang=fa] .mobile-bar .dock-email span,html[lang=fa] .dialog-contact .dock-email span{font:700 21px/1.2 'B Nazanin',serif}
.mobile-bar>.dock-whatsapp:before,.dialog-contact>.dock-whatsapp:before,.mobile-bar>.dock-email:before,.dialog-contact>.dock-email:before{display:none}
@media(max-width:359px){
 .mobile-bar,.dialog-contact{gap:5px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 56px}
 .mobile-bar .dock-whatsapp>span,.dialog-contact .dock-whatsapp>span,.mobile-bar .dock-email span,.dialog-contact .dock-email span{font-size:12px!important}
 html[lang=fa] .mobile-bar .dock-whatsapp>span,html[lang=fa] .dialog-contact .dock-whatsapp>span,html[lang=fa] .mobile-bar .dock-email span,html[lang=fa] .dialog-contact .dock-email span{font-size:20px!important}
}
/* Keep decorative timelines mounted; pause them rather than restarting on scroll. */
.sculpture-core:after{animation:sculpture-orbit 2.2s linear infinite;animation-play-state:paused}
.ribbon-ring:after{animation:sculpture-orbit 1.25s linear infinite;animation-play-state:paused;transition:opacity .2s}
.time-ring:after{animation:sculpture-orbit 1.5s linear infinite;animation-play-state:paused}
.is-playing .sculpture-core:after,.is-playing .selected-ribbon .ribbon-ring:after,.is-playing .time-ring:after{animation-play-state:running}
.is-playing .atlas-deep-dive[open] .atlas-flow i{animation-name:stable-handoff!important}
@keyframes stable-handoff{from{transform:translateY(-6px)}to{transform:translateY(6px)}}
.atlas-deep-dive[open] .atlas-expanded{animation:stable-detail .22s ease-out}
@keyframes stable-detail{from{transform:translateY(5px)}to{transform:none}}
@media(hover:none),(pointer:coarse){
 .service-card:hover .service-symbol,.service-card:hover .icon-accent{animation:none!important}
 .topbar{backdrop-filter:none;background:#0d1621}
}
@media(prefers-reduced-motion:reduce){
 .sculpture-core:after,.ribbon-ring:after,.time-ring:after,.atlas-deep-dive[open] .atlas-expanded,.is-playing .atlas-deep-dive[open] .atlas-flow i{animation:none!important}
}

/* Preserve the English poster and journey labels inside narrow phone viewports. */
@media(max-width:359px){html[lang=en] .section-heading .statement{font-size:38px!important}.journey-step{gap:4px}.journey-step strong{min-width:0}}
