/* A bounded opening, not a simulated network progress indicator. */
.page-intro{position:fixed;inset:0;z-index:4000;display:grid;place-items:center;pointer-events:none;background:var(--bg,#f5f6f2);color:var(--ink,#263b4a);animation:intro-dismiss 960ms ease both;contain:strict}
.intro-emblem{display:grid;place-items:center;gap:20px;position:relative;width:190px;height:190px}.intro-emblem:before{content:'';position:absolute;inset:5px;border:1px solid color-mix(in srgb,var(--accent,#587e92) 30%,transparent);border-top-color:var(--accent,#587e92);border-radius:50%;animation:intro-orbit 960ms ease-out both}.intro-emblem img{width:50px;height:50px;filter:drop-shadow(0 5px 14px #587e9220);animation:intro-emerge 650ms ease both}.intro-emblem span{position:absolute;bottom:38px;font:10px/1.4 monospace;letter-spacing:.28em;color:var(--muted,#647981)}
@keyframes intro-dismiss{0%,64%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes intro-orbit{from{rotate:-90deg;scale:.85;opacity:0}35%{opacity:1}to{rotate:110deg;scale:1;opacity:0}}
@keyframes intro-emerge{from{opacity:0;translate:0 6px;scale:.9}to{opacity:1;translate:0 0;scale:1}}
.is-loaded .hero-copy,.is-loaded .article-layout>h1,.is-loaded .article-layout>.lead,.is-loaded .about-portrait,.is-loaded .atlas-intro,.is-loaded .studio-intro,.is-loaded .login-card{animation-delay:600ms}
.is-loaded .hero-art{animation-delay:600ms,1800ms}
body[data-motion=false] .page-intro{display:none}
@media(prefers-reduced-motion:reduce){.page-intro{display:none}}
/* Intrinsic sizing, not truncation, accommodates different language densities. */
.hero-copy,.hero,.topline>*,.contact-strip>*,.studio-controls>*,.studio-actions>*,.preview-heading>*{min-width:0}.topline{height:auto;flex-wrap:wrap;padding-block:18px}.topline>a{flex-shrink:1;white-space:normal}.text-link,.studio-entry a,.studio-actions button,.studio-controls button{white-space:normal;text-align:start;line-height:1.5}.section-head{flex-wrap:wrap;gap:14px}.nav-link{white-space:normal!important;line-height:1.5}.nav-link small{flex-shrink:0}.hero h1,.article-layout h1,.studio-intro h1{overflow-wrap:anywhere;text-wrap:balance}.contact-links,.contact-icons{max-width:100%}.contact-name{overflow-wrap:anywhere}.studio-utility>span{flex:1 1 170px}.studio-actions button{max-width:100%}.studio-grid>*{min-width:0}.language-switch{flex-wrap:wrap;row-gap:8px}.article-layout{min-width:0}.article-layout pre{max-width:100%;overflow:auto}.article-layout table{display:block;max-width:100%;overflow:auto}
html[lang=ru] .hero h1{font-size:clamp(36px,4vw,58px);letter-spacing:-.035em}html[lang=ja] .hero h1,html[lang=zh-CN] .hero h1{line-height:1.35}
@media(max-width:900px){.hero{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}.hero h1{font-size:clamp(34px,4.7vw,48px)}.hero-caption{white-space:normal;max-width:70%;text-align:right}.studio-controls label{min-width:0;flex:1 1 180px}}
@media(max-width:680px){.hero{display:flex}.hero h1,html[lang=ru] .hero h1{font-size:clamp(32px,9.5vw,44px)}.margin-notes{grid-template-columns:1fr}.hero-description{max-width:100%}.topline{padding-block:14px;min-height:70px}.studio-entry a{max-width:100%}.studio-actions{align-items:stretch}.studio-actions button{flex:1 1 140px}.preview-heading>span{flex-basis:100%}.preview-heading select{max-width:100%}.contact-strip .contact-links{flex-wrap:wrap}.note-bottom{gap:12px;flex-wrap:wrap}}

/* Paint static surfaces on touch screens while retaining the opening transition. */
@media (max-width: 700px) and (pointer: coarse){
 .nav-enhanced .mobile-topbar{backdrop-filter:none;background:var(--bg)}
 .venue-card,.atlas-intro,.map-panel,.map-tools,.atlas-toolbar,.atlas-footer,.hero,.hero-link{
  backdrop-filter:none!important;
 }
 .is-loaded .hero-art{animation:none}
 .is-loaded #results>.venue-card{animation:none}
 #results>.venue-card{content-visibility:auto;contain-intrinsic-block-size:auto 140px}
}
