/* The opening reveals the same dashboard skeleton used by /dashboard/.
   Its React/CSS assets are already cached when the real page loads. */
:root { color-scheme: dark; }
body, .site { background: #08100a; }
/* The preview is taller than a viewport, but the animation's pivot must remain
   tied to the screen rather than the full height of the 50-row skeleton. */
.site { height: 100svh; overflow: hidden; }
.intro-footer { justify-content: center; flex-direction: column; gap: 10px; text-align: center; }
.intro-footer > span:first-child { max-width: none; font-size: 8px; line-height: 1.6; }
.intro-footer .motion-control { text-align: center; }
.envelope-hint { width: 200px; }
.no-script a { text-decoration: underline; }
/* Name the product's purpose clearly while keeping the short main slogan. */
.entrance-eyebrow { color: #d5dfb7; font-size: 14px; font-weight: 600; letter-spacing: 1.4px; }
.entrance-description { color: #c0c6db; font-size: 16px; }
@media (max-width: 600px) {
  .intro-footer > span:first-child { max-width: none; font-size: 7px; }
  .entrance-eyebrow { font-size: 11px; letter-spacing: 1px; }
  .entrance-description { font-size: 14px; }
}
@media (max-height: 600px) { .entrance-eyebrow { font-size: 11px; } .entrance-description { font-size: 13px; } }

/* Experimental flight backdrop. Setting data-flight-stars to false restores
   the original opaque wings and removes the effect without changing artwork. */
.entrance-stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; pointer-events: none; transition: opacity .35s ease; }
.entrance:not([data-flight-stars="true"]) .entrance-stars { display: none; }
.entrance[data-flight-stars="true"] .door-canvas { background: transparent; }
/* Cut out the fly's background instead of blending the fly itself with stars.
   The mask belongs to the image inside .wing-art, so the flex moves the wing
   pixels and their outline together. The original wing pixels stay opaque. */
.entrance[data-flight-stars="true"] .door-solid img { mask-image: url('./assets/wings-silhouette.svg'); mask-size: 100% 100%; mask-repeat: no-repeat; mask-composite: add; }
.entrance[data-flight-stars="true"].is-paper-cue .door-solid img { mask-image: url('./assets/envelope-knockout.svg'), url('./assets/wings-silhouette.svg'); mask-composite: intersect; }
.entrance.is-preparing .entrance-stars, .entrance.is-opening .entrance-stars, .entrance.is-scrubbing .entrance-stars { opacity: 0; }
