/* Animated header logo (10 s loop): the logo vanishes, "Skills / Project / Placements / Growth" pop up one by one,
   the four words join into one line, then the logo pops back. CSS only. To remove it: delete this file's <link> from the header/pages. */
.dd-logo.dd-logo-anim{position:relative;display:inline-block}
.dd-logo-anim img{display:block;transform-origin:left center;animation:lgLogo 10s ease-in-out infinite}
.lg-ov{position:absolute;inset:0;pointer-events:none;container-type:inline-size;font-family:system-ui,"Segoe UI",Arial,sans-serif}
.lg-w{position:absolute;left:0;top:50%;display:flex;align-items:center;gap:3.2cqw;white-space:nowrap;font-weight:800;font-size:10cqw;line-height:1;color:#0b1d58;letter-spacing:-.01em;opacity:0;transform:translateY(-50%) scale(.4);transform-origin:left center;animation:lgWord 10s ease-out infinite}
.lg-w.lg1{animation-delay:2.8s}.lg-w.lg2{animation-delay:4s}.lg-w.lg3{animation-delay:5.2s}.lg-w.lg4{animation-delay:6.4s}
.lg-i{display:grid;place-items:center;width:15cqw;height:15cqw;border-radius:50%;background:linear-gradient(135deg,#fcd34d,#ECAB00);box-shadow:0 0 0 0 rgba(236,171,0,.5);flex:none}
.lg-i svg{width:62%;height:62%;stroke:#0b1d58;stroke-width:2.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.lg-w em{font-style:normal;color:#ECAB00}
.lg-w small{font-size:.5em;font-weight:700;letter-spacing:.14em;color:#64748b;text-transform:uppercase;margin-left:.2em}
.lg-chain{position:absolute;left:0;top:50%;display:flex;align-items:center;gap:1.6cqw;white-space:nowrap;font-weight:800;font-size:4.9cqw;line-height:1;color:#0b1d58;opacity:0;transform:translateY(-50%) scale(.9);transform-origin:left center;animation:lgChain 10s ease-out 7.7s infinite}
.lg-chain b{color:#ECAB00;font-size:1.1em}
.lg-chain span{display:flex;align-items:center;gap:1.2cqw}
@keyframes lgLogo{0%,22%{opacity:1;transform:none;filter:none}26%,86%{opacity:0;transform:scale(.5);filter:blur(6px)}88%{opacity:1;transform:scale(1.12);filter:none}92%{transform:scale(.97)}96%,100%{opacity:1;transform:none;filter:none}}
@keyframes lgWord{0%{opacity:0;transform:translateY(-30%) scale(.4)}3%{opacity:1;transform:translateY(-50%) scale(1.12)}5%{transform:translateY(-50%) scale(1)}10%{opacity:1;transform:translateY(-50%) scale(1)}12%{opacity:0;transform:translateY(-95%) scale(.9)}100%{opacity:0}}
@keyframes lgChain{0%{opacity:0;transform:translateY(-50%) scale(.9)}2%{opacity:1;transform:translateY(-50%) scale(1)}8%{opacity:1}10%{opacity:0;transform:translateY(-50%) scale(1.06)}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.dd-logo-anim img{animation:none}.lg-ov{display:none}}
