/* NORMEL Partners entry intro (owner, 23.11.2026): as on normel.ru — a light sweep (lightning) runs over NORMEL,
   then PARTNERS rises under it with its own sweep; 1.5 s later the messenger opens.
   Same visual vocabulary as normel.ru (themes/custom/normel/css/intro-inline.css).
   Timeline: 0–0.55 logo in · 0.38–1.0 sweep over NORMEL · 1.0–1.45 PARTNERS rises · 1.2–1.8 sweep over PARTNERS
             · hold 1.5 s · 3.3–3.75 the white screen dissolves. Click or any key skips it. */
.partner-intro { display: none; }
html.partner-intro-on .partner-intro {
  position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; overflow: hidden;
  background: #fff; cursor: pointer; animation: partner-intro-out .45s ease-in 3.3s forwards;
}
html.partner-intro-skip .partner-intro { animation: partner-intro-out .2s ease-out forwards; }
.partner-intro::before {
  content: ""; position: absolute; width: min(760px, 120vw); aspect-ratio: 3 / 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(216 30 5 / 9%), rgb(216 30 5 / 0%)); animation: partner-intro-glow 1.8s ease-out both;
}
.partner-intro-brand { position: relative; display: grid; justify-items: stretch; gap: min(18px, 3vw); width: min(440px, 72vw); }
.partner-intro-mark { position: relative; width: 100%; aspect-ratio: 2561 / 525; animation: partner-intro-logo .55s cubic-bezier(.2, .7, .2, 1) both; }
.partner-intro-mark img { display: block; width: 100%; height: 100%; }
/* The lightning: a bright band masked by the logo, running left to right. */
.partner-intro-shine {
  position: absolute; inset: 0; -webkit-mask: var(--logo) center / 100% 100% no-repeat; mask: var(--logo) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, rgb(255 255 255 / 0%) 38%, rgb(255 255 255 / 80%) 46%, #fff 50%, rgb(255 255 255 / 80%) 54%, rgb(255 255 255 / 0%) 62%) no-repeat;
  background-size: 300% 100%; animation: partner-intro-shine .62s cubic-bezier(.45, .05, .35, 1) .38s both;
}
.partner-intro-mark::after, .partner-intro-word::after {
  content: ""; position: absolute; right: -2%; top: -14%; width: 34px; height: 34px; opacity: 0;
  background: radial-gradient(closest-side, #fff 0, #fff 18%, rgb(255 214 160 / 90%) 30%, rgb(255 214 160 / 0%) 70%),
    linear-gradient(90deg, rgb(255 200 140 / 0%), #ffc98c 50%, rgb(255 200 140 / 0%)) center / 100% 2px no-repeat,
    linear-gradient(0deg, rgb(255 200 140 / 0%), #ffc98c 50%, rgb(255 200 140 / 0%)) center / 2px 100% no-repeat;
  animation: partner-intro-glint 1.05s ease-out both;
}
.partner-intro-flare {
  position: absolute; left: -10%; right: -10%; height: 2px; margin-top: -1px;
  background: linear-gradient(90deg, rgb(255 190 120 / 0%) 35%, rgb(255 176 96 / 95%) 50%, rgb(255 190 120 / 0%) 65%) no-repeat;
  background-size: 300% 100%;
}
.partner-intro-flare.one { top: 24%; animation: partner-intro-flare .62s cubic-bezier(.45, .05, .35, 1) .38s both; }
.partner-intro-flare.two { top: 88%; animation: partner-intro-flare .62s cubic-bezier(.45, .05, .35, 1) 1.2s both; }
/* PARTNERS: the letters spread over the logo width, like WORKSPACE on the Workspace launch screen. */
.partner-intro-word {
  position: relative; display: flex; justify-content: space-between; margin: 0;
  font: 700 clamp(18px, 4.6vw, 30px) / 1 Arial, "Helvetica Neue", sans-serif; letter-spacing: 0; color: #d81e05;
  animation: partner-intro-rise .45s cubic-bezier(.4, 0, .2, 1) 1s both;
}
.partner-intro-word span {
  background: linear-gradient(105deg, #d81e05 38%, #ffd2a8 46%, #fff 50%, #ffd2a8 54%, #d81e05 62%) no-repeat;
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: partner-intro-shine .62s cubic-bezier(.45, .05, .35, 1) 1.2s both;
}
.partner-intro-word::after { top: -40%; right: -6%; animation-delay: .82s; }
@keyframes partner-intro-logo { from { opacity: 0; transform: scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes partner-intro-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes partner-intro-flare { 0% { opacity: 0; background-position: 100% 0; } 25% { opacity: 1; } 100% { opacity: 0; background-position: 0 0; } }
@keyframes partner-intro-glow { 0% { opacity: 0; transform: scale(.8); } 60% { opacity: 1; } 100% { opacity: .6; transform: scale(1); } }
@keyframes partner-intro-glint { 0%, 62% { opacity: 0; transform: scale(.2) rotate(0); } 80% { opacity: 1; transform: scale(1) rotate(45deg); } 100% { opacity: 0; transform: scale(.5) rotate(90deg); } }
@keyframes partner-intro-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes partner-intro-out { to { opacity: 0; visibility: hidden; } }
