/* Motion is a utility, subordinate to navigation and the demo invitation. */
.scene-utility{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#214d3e;font:inherit;font-size:11px;cursor:pointer;box-shadow:none}
.scene-utility[hidden]{display:none}
.scene-motion::before{content:'';width:7px;height:9px;border-inline:2px solid currentColor;box-sizing:border-box}
.scene-motion[aria-pressed="false"]::before{width:0;height:0;border:5px solid transparent;border-right:0;border-left:7px solid currentColor}
.scene-utility:hover{background:#f8f5ed99;text-decoration:underline;text-underline-offset:3px}
.scene-utility:focus-visible{outline:2px solid #214d3e;outline-offset:3px;background:#f8f5ed}
/* Keep stories readable without letting the room decoration dominate the interaction. */
.participant-card{width:286px;display:grid;grid-template-rows:112px minmax(0,1fr);overflow:hidden;max-height:min(520px,calc(100svh - 48px))}
.participant-card[hidden]{display:none}
.participant-card-artwork{height:112px}
.participant-card-body{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:13px 15px}
.participant-card h3{font-size:23px}
.participant-card .participant-card-caption{margin:11px 0 8px}
.participant-card-close{z-index:1;width:44px;height:44px;touch-action:manipulation}
.world-stage canvas{transition:opacity .35s ease}

/* Tablets use the room above its explanation, instead of squeezing two columns. */
@media(max-width:1100px){
  .service-selected,.service-selected:not(.room-active){height:auto;min-height:0;padding-bottom:55px}
  .service-selected .hero-copy{display:none}
  .service-selected .world-stage,.service-selected:not(.room-active) .world-stage{position:relative;left:auto;right:auto;top:auto;width:auto;height:480px;margin:108px 0 0;opacity:1;pointer-events:auto}
  .service-selected .world-stage canvas{mask-image:none}
  .service-selected .service-preview{position:relative;top:auto;bottom:auto;left:auto;width:auto;max-width:720px;margin:28px auto;padding:0 24px;min-height:0;max-height:none;overflow:visible}
  .service-selected .service-preview h2{font-size:34px;margin:12px 0}
  .service-selected .service-dock{position:relative;left:auto;right:auto;bottom:auto;margin:24px 5% 0}
  .service-selected .atlas-scene-actions,.service-selected:not(.room-active) .atlas-scene-actions{top:auto;bottom:12px;left:16px;right:16px;max-width:none;justify-content:center}
  .participant-card{position:absolute;right:auto;bottom:auto;margin:0;width:300px;max-width:calc(100vw - 24px);max-height:min(480px,65svh);z-index:30;grid-template-rows:96px minmax(0,1fr)}
  .participant-card-artwork{height:96px}
  .participant-card h3{font-size:22px}
  .participant-card p,.participant-card li{font-size:13px;line-height:1.5}
  .participant-card li{padding-bottom:7px}
}
@media(min-width:761px) and (max-width:1100px){
  .site-header{gap:24px;justify-content:space-between}
  .site-header nav{gap:18px}
  .service-hero:not(.service-selected){height:auto;min-height:0;padding-bottom:70px}
  .service-hero:not(.service-selected) .hero-copy{width:auto;max-width:670px;padding:140px 5% 0}
  .service-hero:not(.service-selected) h1{font-size:60px}
  .service-hero:not(.service-selected) .world-stage{position:relative;left:auto;right:auto;top:auto;height:620px;margin:-35px 0 0}
  .service-hero:not(.service-selected) .world-stage canvas{mask-image:linear-gradient(#000 85%,transparent)}
  .service-hero:not(.service-selected) .atlas-scene-actions{top:auto;bottom:18px;right:5%}
  .service-hero:not(.service-selected) .service-dock{position:relative;bottom:auto;left:auto;right:auto;margin:0 5%;grid-template-columns:repeat(5,1fr)}
  .service-hero .hero-bottom{bottom:22px}
  .journey-heading{grid-template-columns:1fr 2fr}
  .journey-heading>p:last-child{grid-column:2}
  .journey-cards{gap:14px}
  .journey-card h3{font-size:25px}
}
@media(max-width:760px){
  .service-selected .world-stage,.service-selected:not(.room-active) .world-stage{height:390px;margin-top:90px}
  .service-selected .service-preview{margin-top:24px;padding-inline:6%}
  .service-selected .service-preview h2{font-size:31px}
  .participant-card{width:min(300px,calc(100vw - 24px));max-height:60svh}
  .service-topic{padding:16px}
  .room-hotspot{max-width:46%;white-space:normal;text-align:center;padding:8px 12px;line-height:1.35}
}
@media(prefers-reduced-motion:reduce){.world-stage canvas{transition:none}}
/* Moon and cloud bank share a responsive frame and explicit front/back layers. */
.service-hero:not(.room-active):before,
.service-hero:not(.room-active) .world-stage:before{display:none}
.atlas-horizon{position:absolute;left:40%;right:-3%;top:25px;aspect-ratio:3;z-index:1;pointer-events:none;isolation:isolate}
.atlas-horizon::after{content:'';position:absolute;inset:0;z-index:1;background:url('/assets/releases/atlas-20261005-2/assets/rain-cloud-bank.png') center/contain no-repeat;opacity:.8;filter:brightness(calc(1 - var(--atlas-night,0)*.42))}
.atlas-horizon .atlas-moon{position:absolute;top:18%;left:73%;width:9%;aspect-ratio:1;z-index:0;opacity:var(--atlas-moon-rise,0);transform:translateY(calc((1 - var(--atlas-moon-rise,0))*45%));background:url('/assets/releases/atlas-20261005-2/assets/atlas-moon-v2.png') center/contain no-repeat;box-shadow:none;border-radius:0;filter:drop-shadow(0 0 10px #f4f0db25)}
.room-active .atlas-horizon{display:none}
@media(min-width:761px) and (max-width:1100px){.atlas-horizon{top:490px;left:10%;right:-3%}}
@media(max-width:760px){.atlas-horizon{left:9%;right:9%;top:-55px}}
