/* ==================== INTRO (opening animation) ====================
   Active only when intro.js adds html.intro-on (first view per session, motion allowed).
   Without JS nothing here applies. Remove: delete INTRO START/END block in index.html. */
.intro-ov{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
  background:linear-gradient(135deg,#fdf3f6 0%,#f8dde6 100%);pointer-events:auto;cursor:pointer;
  animation:intro-out .4s ease-in 1.1s forwards}
.intro-ov.intro-skip{animation:intro-out .2s ease-in forwards}
.intro-logo{position:relative;width:112px;height:112px;animation:intro-pop .55s cubic-bezier(.2,1.4,.4,1) both}
.intro-logo img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;box-shadow:0 10px 30px rgba(122,22,66,.18)}
.intro-ring{position:absolute;inset:-8px;border-radius:50%;border:3px solid #9e1f56;opacity:0;animation:intro-ring .7s ease-out .15s both}
.intro-name{font-family:"Merriweather",Georgia,serif;font-weight:700;font-size:1.5rem;color:#7a1642;opacity:0;animation:intro-fade .35s ease-out .3s both}
.intro-pen{width:200px;height:24px;overflow:visible}
.intro-pen path{fill:none;stroke:#9e1f56;stroke-width:2.6;stroke-linecap:round;stroke-dasharray:320;stroke-dashoffset:320;animation:intro-draw .6s ease-in-out .45s forwards}
@keyframes intro-pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes intro-ring{0%{transform:scale(.85);opacity:0}40%{opacity:.9}100%{transform:scale(1.12);opacity:0}}
@keyframes intro-fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes intro-draw{to{stroke-dashoffset:0}}
@keyframes intro-out{to{opacity:0;visibility:hidden;transform:translateY(-12px)}}

/* Hero stagger (transform/opacity only: no layout shift) */
html.intro-on .hero-grid>div>*{animation:intro-up .5s ease-out both}
html.intro-on .hero-grid>div>*:nth-child(1){animation-delay:1.15s}
html.intro-on .hero-grid>div>*:nth-child(2){animation-delay:1.23s}
html.intro-on .hero-grid>div>*:nth-child(3){animation-delay:1.31s}
html.intro-on .hero-grid>div>*:nth-child(4){animation-delay:1.39s}
html.intro-on .hero-grid>div>*:nth-child(n+5){animation-delay:1.47s}
html.intro-on .hero-logo>img{animation:intro-fade .5s ease-out 1.2s both}
html.intro-on.intro-skipped .hero-grid>div>*,html.intro-on.intro-skipped .hero-logo>img{animation-delay:0s!important;animation-duration:.3s}
@keyframes intro-up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (max-width:560px){.intro-logo{width:92px;height:92px}.intro-name{font-size:1.25rem}.intro-pen{width:170px}}
@media (prefers-reduced-motion:reduce){.intro-ov{display:none!important}html.intro-on .hero-grid>div>*,html.intro-on .hero-logo>img{animation:none!important}}
