/* Opening animation (from "Bubble Logo Intro HTML.html"). Shown only while <html> has the .intro class. */
  #bubble-intro{position:fixed;inset:0;z-index:9999;overflow:hidden;
    font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
    -webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;touch-action:manipulation}
  #bubble-intro[data-mode="section"]{position:relative;inset:auto;width:100%;height:100vh;height:100svh;z-index:auto}
  #bubble-intro .bi-bg{position:absolute;inset:0;transition:opacity .6s ease;
    background:var(--sky)} /* same sky as the hero, so the background never changes */
  #bubble-intro[data-transparent="true"] .bi-bg{opacity:0}
  #bubble-intro .bi-dock{position:absolute;left:0;top:0;width:0;height:0;transform-origin:0 0}
  #bubble-intro .bi-logo{position:absolute;inset:0;opacity:0;transform-origin:50% 100%;will-change:transform,opacity,filter}
  #bubble-intro .bi-logo img,#bubble-intro .bi-glint{position:absolute;left:0;top:0;width:100%;height:100%;display:block;pointer-events:none;-webkit-user-drag:none}
  #bubble-intro .bi-glint{opacity:0;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
    background-image:linear-gradient(104deg,rgba(255,255,255,0) 41%,rgba(243,235,166,.55) 46%,rgba(255,255,255,.98) 50%,rgba(232,214,138,.55) 54%,rgba(255,255,255,0) 59%);
    background-size:260% 100%;background-repeat:no-repeat;background-position:100% 0}
  #bubble-intro canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
  #bubble-intro .bi-replay{position:absolute;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translateX(-50%);
    font-size:13px;letter-spacing:.04em;color:#7D7440;opacity:0;pointer-events:none;text-decoration:none;cursor:pointer;
    padding:8px 12px;transition:opacity .9s ease;border-bottom:1px solid transparent}
  #bubble-intro .bi-replay.on{opacity:.55;pointer-events:auto}
  #bubble-intro .bi-replay.on:hover,#bubble-intro .bi-replay.on:focus-visible{opacity:1;outline:none}
  #bubble-intro[data-docked="true"]{pointer-events:none}
  #bubble-intro[data-docked="true"] .bi-replay{display:none}

/* site wiring */
#bubble-intro{display:none}
.intro #bubble-intro{display:block}
.intro, .intro body{overflow:hidden}
.intro .site-header .site-logo img{visibility:hidden} /* the intro's logo lands here */
