/* Logo intro: plays once per visit (sessionStorage), skipped for reduced motion.
   The P outline draws in cyan, the turquoise body fills, the white square drops in,
   the wordmark slides out from behind the mark, then the curtain lifts. */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--nav-bg); /* same navy as header and footer (owner) */ animation: intro-out 700ms cubic-bezier(.7, 0, .2, 1) 1.75s forwards; }
.intro-mark { display: flex; align-items: center; }
.intro-p { width: 76px; height: 114px; overflow: visible; flex: none; }
.ip-line { fill: none; stroke: #30F2F2; stroke-width: 5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ip-draw 750ms cubic-bezier(.6, 0, .3, 1) 100ms forwards, ip-fade 300ms ease 950ms forwards; }
.ip-main { fill: #30F2F2; opacity: 0; clip-path: inset(100% 0 0 0); animation: ip-fill 420ms cubic-bezier(.3, .7, .2, 1) 700ms forwards; }
.ip-sq { fill: #fff; opacity: 0; transform: translateY(-70px); animation: ip-drop 520ms cubic-bezier(.3, 1.5, .5, 1) 950ms forwards; }
.intro-word { display: block; overflow: hidden; max-width: 0; margin-left: 0; animation: ip-word 650ms cubic-bezier(.5, 0, .2, 1) 1.1s forwards; }
.intro-word img { display: block; width: 196px; max-width: none; height: auto; }
.intro-tag { font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #B9C3EE; opacity: 0; animation: ip-tag 500ms ease 1.3s forwards; }
.intro-tag b { color: #30F2F2; font-weight: 500; }

@keyframes ip-draw { to { stroke-dashoffset: 0; } }
@keyframes ip-fade { to { opacity: 0; } }
@keyframes ip-fill { to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes ip-drop { to { opacity: 1; transform: none; } }
@keyframes ip-word { to { max-width: 196px; margin-left: 22px; } }
@keyframes ip-tag { to { opacity: 1; } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

.no-intro .intro { display: none; }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }
.shot .intro { display: none; } /* draft review screenshots */
