/* LNKS Luanda Music Group: the Artists tab intro (lnks-artists-intro.js).
   Black stage, fine grid, ARTISTS as slot reels that land one after the other, then the stage slides up off the page. Only transform, opacity and clip-path animate. */
html.ai-intro body { overflow: hidden; }
html.ai-intro body::after { content: ""; position: fixed; inset: 0; z-index: 2147482999; background: #050505; }
.ai { position: fixed; inset: 0; z-index: 2147483000; overflow: hidden; color: #FFFFFF; background: #050505; cursor: pointer;
  font-family: var(--font-sans, system-ui, sans-serif); display: grid; grid-template-rows: auto 1fr auto; padding: clamp(18px, 3vw, 40px);
  transition: transform .65s cubic-bezier(.76, 0, .24, 1); }
.ai.is-out { transform: translate3d(0, -100%, 0); }
.ai__grid { position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 56px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 56px); }
.ai__glow { position: absolute; left: 50%; top: 52%; width: 90vmax; height: 60vmax; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(222, 4, 18, .34), rgba(222, 4, 18, .08) 55%, transparent); opacity: 0; transition: opacity 1.2s ease .3s; }
.ai.is-on .ai__glow { opacity: 1; }
.ai__top { position: relative; display: flex; justify-content: space-between; gap: 16px; font-size: 11px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; }
.ai__k { color: rgba(255, 255, 255, .6); opacity: 0; transform: translateY(8px); transition: opacity .5s ease .2s, transform .6s cubic-bezier(.2, .8, .2, 1) .2s; }
.ai__k--r { color: #EF848B; }
.ai.is-on .ai__k { opacity: 1; transform: none; }
/* the word: every letter is a window one line tall, its reel of nine copies spins down and lands on the first */
.ai__word { position: relative; align-self: center; justify-self: center; margin: 0; display: flex; font-size: clamp(64px, 17vw, 300px); font-weight: 900; line-height: .84; letter-spacing: -.035em; }
.ai__ch { display: inline-block; height: .84em; overflow: hidden; }
.ai__reel { display: flex; flex-direction: column; transform: translate3d(0, calc(-8 * .84em), 0); }
.ai__reel span { display: block; height: .84em; line-height: .84; }
.ai__reel .is-final { color: #FFFFFF; }
.ai__reel .ai__c0 { color: #DE0412; }
.ai__reel .ai__c1 { color: transparent; -webkit-text-stroke: 2px #FFFFFF; }
.ai__reel .ai__c2 { color: #FFFFFF; }
.ai.is-on .ai__reel { animation: ai-spin var(--d, 1.2s) cubic-bezier(.16, .74, .16, 1) calc(var(--i) * 45ms + 80ms) both; }
@keyframes ai-spin { from { transform: translate3d(0, calc(-8 * .84em), 0); } to { transform: translate3d(0, 0, 0); } }
/* the last letter lands, a red flash runs through the word */
.ai__word::after { content: ""; position: absolute; left: -2%; right: -2%; top: 50%; height: 2px; background: #DE0412; box-shadow: 0 0 22px 3px rgba(222, 4, 18, .7);
  transform: scaleX(0); transform-origin: 0 50%; opacity: 0; }
.ai.is-on .ai__word::after { animation: ai-cut .6s cubic-bezier(.7, 0, .2, 1) 1.1s both; }
@keyframes ai-cut { 0% { transform: scaleX(0); opacity: 1; } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.ai__foot { position: relative; display: flex; align-items: center; gap: 18px; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.ai__count { color: #EF848B; font-variant-numeric: tabular-nums; }
.ai__bar { flex: 1; height: 1px; background: rgba(255, 255, 255, .2); position: relative; }
.ai__bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: #DE0412; transform: scaleX(0); transform-origin: 0 50%; }
.ai.is-on .ai__bar i { transition: transform 1.65s linear; transform: scaleX(1); }
.ai__skip { font: inherit; letter-spacing: inherit; text-transform: inherit; color: #FFFFFF; background: transparent; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.ai__skip:hover, .ai__skip:focus-visible { background: #DE0412; border-color: #DE0412; outline: none; }
@media (max-width: 699.98px) {
  .ai__word { font-size: clamp(48px, 15vw, 120px); }
  .ai__k--r { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ai { display: none; } html.ai-intro body::after { display: none; } }
