.brand-intro { display: none }
.intro-pending .brand-intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; isolation: isolate }
html.intro-pending { overflow: hidden }
.intro-aperture {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 48% 44%,#173d59 0%,#0d263e 40%,#081827 82%);
  mask-image: linear-gradient(#000,#000),url(/assets/map-logo-mark.svg);
  mask-mode: alpha;
  mask-repeat: no-repeat;
  mask-position: center,center 47%;
  mask-composite: exclude;
  animation: intro-portal 2.4s both;
}
.intro-aperture::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,#84d9f524 0 1px,transparent 1px 54px),repeating-linear-gradient(0deg,#84d9f524 0 1px,transparent 1px 54px);
  mask-image: radial-gradient(ellipse at center,#000 6%,transparent 67%);
}
.intro-lockup {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(.8rem,2.5vh,1.55rem);
  width: min(88vw,800px);
  translate: 0 -2svh;
  animation: intro-lockup 2.4s both;
}
.intro-emblem { position: relative; width: min(73vw,43rem,78svh); aspect-ratio: 142/81 }
.intro-facets,.intro-outline,.intro-glint { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible }
.intro-facets path { transform-box: fill-box; transform-origin: center; animation: intro-assembly .78s var(--motion-snap) var(--piece-delay) both }
.intro-facet-base { fill: #0a1721; stroke: #7bacc6; stroke-width: .27; --piece-x:0px; --piece-y:7px; --piece-angle:0deg; --piece-delay:190ms }
.intro-facet-blue { fill: #009dd8; --piece-x:-16px; --piece-y:10px; --piece-angle:-7deg; --piece-delay:365ms }
.intro-facet-metal { --piece-x:22px; --piece-y:-11px; --piece-angle:8deg; --piece-delay:475ms }
.intro-outline path { fill: none; stroke-width: .33; stroke-linejoin: round; stroke-dasharray: 1; animation: intro-trace .91s var(--motion-snap) var(--trace-delay,0ms) both }
.intro-outline-shape { stroke: #b7e8fc }
.intro-outline-blue { stroke: #4cccf7; --trace-delay:110ms }
.intro-outline-metal { stroke: #e0edf5; --trace-delay:210ms }
.intro-glint {
  mask: url(/assets/map-logo-mark.svg) center/contain no-repeat;
  background: linear-gradient(109deg,transparent 32%,#d5f4ffbd 50%,transparent 64%) -34% 0/25% 100% no-repeat;
  animation: intro-glint .7s .78s ease both;
  mix-blend-mode: screen;
}
.intro-type { width: min(58vw,24rem,46svh); height: auto; animation: intro-type .68s .66s var(--motion-snap) both }
.intro-skip {
  position: absolute;
  inset-inline-end: max(1rem,4vw);
  inset-block-end: max(1.15rem,4vh);
  min-height: 44px;
  padding: .55rem .85rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid #c4e9f78c;
  border-radius: 0;
  background: #102d45;
  color: #f1faff;
  font-size: .8rem;
  font-weight: 690;
}
.intro-skip:hover { background: #225371 }
@keyframes intro-portal {
  0%,57% { mask-size: 100% 100%,0px auto; opacity: 1 }
  63% { mask-size: 100% 100%,min(73vw,43rem,78svh) auto; opacity: 1 }
  92% { mask-size: 100% 100%,max(850vw,850svh) auto; opacity: 1 }
  to { mask-size: 100% 100%,max(850vw,850svh) auto; opacity: 0 }
}
@keyframes intro-assembly { from { translate: var(--piece-x) var(--piece-y); rotate: var(--piece-angle); opacity: 0 } 35% { opacity: .36 } to { translate: 0 0; rotate: 0deg; opacity: 1 } }
@keyframes intro-trace { from { stroke-dashoffset: 1; opacity: 0 } 65% { opacity: 1 } to { stroke-dashoffset: 0; opacity: .72 } }
@keyframes intro-glint { from { background-position: -35% 0 } to { background-position: 140% 0 } }
@keyframes intro-type { from { clip-path: inset(100% 0 0); translate: 0 10px; opacity: 0 } to { clip-path: inset(0); translate: 0 0; opacity: 1 } }
@keyframes intro-lockup { 0%,54% { opacity: 1; scale: 1 } 68%,100% { opacity: 0; scale: 1.12 } }

.hero-line { display: block; overflow: clip; overflow-clip-margin: 10px }
.hero-line>span { display: block }
.hero-intro-line { animation: landing-line .94s var(--motion-snap) var(--motion-delay,0ms) both }
.hero-intro-header { animation: landing-header .83s var(--motion-snap) var(--motion-delay,0ms) both }
.motion-hero .hero-stage.motion-hero-image { animation: landing-camera 1.48s var(--motion-snap) both }
.motion-enabled .hero-photo { translate: var(--sky-x,0px) var(--sky-y,0px); transition: translate .64s var(--motion-ease) }
@keyframes landing-line { from { opacity: .42; transform: translateY(86%) skewY(2deg); clip-path: inset(0 0 58%) } to { opacity: 1; transform: none; clip-path: inset(0 -10px -10px) } }
@keyframes landing-header { from { opacity: 0; translate: 0 -15px } to { opacity: 1; translate: 0 0 } }
@keyframes landing-camera { from { scale: 1.12; translate: 0 -1.6%; opacity: .77 } to { scale: 1; translate: 0 0; opacity: 1 } }
@media(max-width:680px) { .hero-line { display: inline } .hero-line>span { display: inline-block; max-width: 100% } }
@media(prefers-reduced-motion:reduce) {
  html.intro-pending { overflow: auto }
  .intro-pending .brand-intro { display: none }
  .hero-intro-header,.hero-intro-line { animation: none }
}
