/* LNKS Luanda Music Group: the homepage additions (lnks-home2.js).
   1. The panel in the top right of the hero: live news ticker, a play button for the artist on show, three numbers and two buttons.
   2. New music, Latest news, Legends and rising stars, Our divisions, Back the group and Follow the group.
   Colours of the logo only: red #DE0412, red ink #C40410, glow #EF848B, black and white.
   Only transform and opacity animate, and nothing here uses blur or blend modes, so scrolling stays smooth. */

/* ---------- shared: section heads, buttons, play buttons ---------- */
.hs-head { display: grid; gap: 14px; max-width: 900px; margin-bottom: clamp(32px, 4vw, 56px); }
.hs-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; }
.hs-head--row > div { display: grid; gap: 14px; }
.hs-kicker { margin: 0; display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #EF848B; }
.hs-kicker::before { content: ""; width: 34px; height: 2px; background: #DE0412; }
.hs-title { margin: 0; font-size: clamp(40px, 5.6vw, 96px); font-weight: 700; line-height: .95; letter-spacing: -.035em; }
.hs-title em { font-style: normal; color: transparent; -webkit-text-stroke: 2px #FFFFFF; }
.hs-lead { margin: 0; max-width: 40em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; opacity: .8; }
.hs-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.hs-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.hs-link:hover svg, .hs-link:focus-visible svg { transform: translateX(4px); }
.hs-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.hx__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .6); color: #FFFFFF; background: transparent; font-size: 12px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.hx__btn svg { width: 15px; height: 15px; transition: transform .25s ease; }
.hx__btn:hover svg, .hx__btn:focus-visible svg { transform: translateX(3px); }
.hx__btn:hover, .hx__btn:focus-visible { border-color: #FFFFFF; background: rgba(255, 255, 255, .12); outline: none; }
.hx__btn--solid { background: #DE0412; border-color: #DE0412; }
.hx__btn--solid:hover, .hx__btn--solid:focus-visible { background: #C40410; border-color: #C40410; }
.hx__btn:focus-visible { box-shadow: 0 0 0 3px #050505, 0 0 0 5px #EF848B; }

/* the round play button: play icon, pause icon while playing */
.pl { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: #DE0412; color: #FFFFFF; transition: background-color .2s ease, transform .2s ease; }
.pl svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.pl:hover { background: #C40410; transform: scale(1.06); }
.pl:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.pl .pl__pause, .pl.is-playing .pl__play { display: none; }
.pl.is-playing .pl__pause { display: block; }
/* the four bar equaliser: still until the song plays */
.pl__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.pl__eq i { width: 3px; height: 100%; background: currentColor; border-radius: 1px; transform-origin: 50% 100%; transform: scaleY(.3); }
.is-playing .pl__eq i, .pl__eq.is-playing i { animation: pl-eq .9s ease-in-out infinite alternate; }
.is-playing .pl__eq i:nth-child(2), .pl__eq.is-playing i:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.is-playing .pl__eq i:nth-child(3), .pl__eq.is-playing i:nth-child(3) { animation-delay: -.55s; animation-duration: 1.1s; }
.is-playing .pl__eq i:nth-child(4), .pl__eq.is-playing i:nth-child(4) { animation-delay: -.15s; animation-duration: .8s; }
@keyframes pl-eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* ---------- 1. Featured, in the top right of the red stage: editorial, no box ---------- */
.hx { position: absolute; z-index: 4; top: clamp(20px, 3vh, 40px); right: var(--mx-x); width: min(380px, 30vw); display: grid; gap: 16px; color: #FFFFFF; }
.hx__head { margin: 0; display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .45);
  font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.hx__n { font-variant-numeric: tabular-nums; letter-spacing: .12em; opacity: .75; }
.hx__n b { font-weight: 800; }
/* the stories sit on top of each other; one shows at a time */
.hx__stories { list-style: none; margin: 0; padding: 0; display: grid; }
.hx__story { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .6s; }
.hx__story.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hx__story a { display: grid; gap: 8px; color: inherit; text-decoration: none; }
.hx__cat { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.hx__t { font-size: clamp(20px, 1.75vw, 27px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.hx__read { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hx__read svg { width: 14px; height: 14px; transition: transform .25s ease; }
.hx__story a:hover .hx__t, .hx__story a:focus-visible .hx__t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.hx__story a:hover svg, .hx__story a:focus-visible svg { transform: translateX(4px); }
.hx__story a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 6px; }
.hx__dots { display: none; }
.hx__dots i { width: 18px; height: 2px; background: rgba(255, 255, 255, .35); transition: background-color .4s ease, width .4s ease; }
.hx__dots i.is-on { width: 36px; background: #FFFFFF; }
.hx__ctas { display: flex; gap: 8px; }
.hx__ctas .hx__btn { flex: 1; padding: 0 12px; }
.hx__btn--white { background: #FFFFFF; border-color: #FFFFFF; color: #050505; }
.hx__btn--white:hover, .hx__btn--white:focus-visible { background: #050505; border-color: #050505; color: #FFFFFF; }
@media (prefers-reduced-motion: no-preference) {
  .hx { animation: mx-fade .8s ease .6s both; }
}
@media (max-height: 819.98px) and (min-width: 700px) { .hx__ctas { display: none; } }
@media (max-width: 1099.98px) and (min-width: 700px) {
  .hx { width: min(330px, 40vw); gap: 12px; }
  .hx__t { font-size: 19px; }
}
/* phones: just the featured story, across the top of the stage */
@media (max-width: 699.98px) {
  .hx { top: 16px; left: 16px; right: 16px; width: auto; gap: 10px; }
  .hx__head { padding-bottom: 8px; font-size: 10px; }
  .hx__t { font-size: 18px; }
  .hx__read, .hx__ctas { display: none; }
}

/* ---------- 2. New music ---------- */
.nm, .ln, .lsx, .dvs, .btg, .flw { position: relative; color: #FFFFFF; padding: clamp(72px, 9vw, 140px) var(--gutter, 24px); }
.nm__inner, .ln__inner, .lsx__inner, .dvs__inner, .btg__inner, .flw__inner { max-width: var(--container, 1440px); margin: 0 auto; }
.nm { background: #050505; overflow: clip; }
.nm::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 100% 0%, rgba(222, 4, 18, .2), transparent 70%); }
.nm__inner { position: relative; }
.nm__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.nm__card { position: relative; min-width: 0; }
.nm__art { position: relative; aspect-ratio: 1; margin-bottom: 16px; }
/* the record slides out of its sleeve on hover and spins while the song plays */
.nm__disc { position: absolute; inset: 4%; border-radius: 50%; z-index: 0;
  background: repeating-radial-gradient(circle at 50% 50%, #0a0a0a 0 2px, #161616 2px 3px), #0a0a0a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.nm__disc::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: #DE0412; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); }
.nm__disc::before { content: ""; position: absolute; inset: 48.5%; border-radius: 50%; background: #050505; z-index: 1; }
.nm__art img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.nm__card:hover .nm__disc, .nm__card:focus-within .nm__disc, .nm__card.is-playing .nm__disc { transform: translateX(26%); }
.nm__card.is-playing .nm__disc { animation: nm-spin 2.4s linear infinite; }
@keyframes nm-spin { from { transform: translateX(26%) rotate(0); } to { transform: translateX(26%) rotate(360deg); } }
.nm__play { position: absolute; z-index: 2; left: 12px; bottom: 12px; width: 52px; height: 52px; box-shadow: 0 8px 20px rgba(0, 0, 0, .45); }
.nm__play svg { width: 20px; height: 20px; }
.nm__art .pl__eq { position: absolute; z-index: 2; right: 14px; bottom: 26px; color: #FFFFFF; opacity: 0; transition: opacity .3s ease; }
.nm__card.is-playing .nm__art .pl__eq { opacity: 1; }
.nm__meta { display: flex; align-items: center; gap: 4px; min-height: 22px; margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #EF848B; }
.nm__title { margin: 0 0 4px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.nm__artist { margin: 0; font-size: 15px; opacity: .8; }
.nm__artist a { color: inherit; text-decoration: none; }
.nm__artist a:hover, .nm__artist a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.nm__tag { color: #EF848B; }
.nm__tag--new { display: inline-block; padding: 4px 7px 3px; line-height: 1; border-radius: 3px; background: #DE0412; color: #FFFFFF; }
.nm__al { margin: 4px 0 0; font-size: 13px; opacity: .55; }
.nm__note { margin: 24px 0 0; font-size: 14px; color: #EF848B; }
.nm__note[hidden] { display: none; }

/* ---------- Latest news ---------- */
.ln { background: #0B0B0B; border-top: 1px solid rgba(255, 255, 255, .08); }
.ln__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.ln__card a { display: grid; gap: 12px; color: inherit; text-decoration: none; }
.ln__img { display: block; overflow: hidden; aspect-ratio: 8 / 5; border-radius: 3px; background: #151515; }
.ln__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.ln__card a:hover .ln__img img, .ln__card a:focus-visible .ln__img img { transform: scale(1.05); }
.ln__meta { display: flex; gap: 10px; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ln__cat { color: #EF848B; }
.ln__meta time { opacity: .65; }
.ln__title { font-size: clamp(17px, 1.35vw, 21px); font-weight: 700; line-height: 1.3; }
.ln__card a:hover .ln__title, .ln__card a:focus-visible .ln__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: #DE0412; }
.ln__card a:focus-visible { outline: 2px solid #EF848B; outline-offset: 6px; }

/* ---------- Legends and rising stars ---------- */
.lsx { background: #7A0309; overflow: clip; }
.lsx::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 80% at 0% 0%, rgba(222, 4, 18, .55), transparent 60%), linear-gradient(180deg, rgba(5, 5, 5, 0) 60%, rgba(5, 5, 5, .35)); }
.lsx__inner { position: relative; }
.lsx .hs-kicker { color: #FFFFFF; }
.lsx .hs-kicker::before { background: #FFFFFF; }
.lsx .hs-lead { opacity: .88; }
.lsx__stats { list-style: none; margin: 0 0 clamp(48px, 6vw, 88px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .35); }
.lsx__stats li { display: grid; align-content: start; gap: 8px; padding: 24px 20px 0 0; }
.lsx__stats li + li { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .2); }
.lsx__stats b { font-size: clamp(36px, 3.9vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lsx__what { font-size: 15px; font-weight: 600; line-height: 1.4; }
.lsx__stats a { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FFFFFF; opacity: .8; text-decoration: none; }
.lsx__stats a:hover, .lsx__stats a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lsx__rise { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 24px; border-radius: 6px; background: rgba(5, 5, 5, .45); border: 1px solid rgba(255, 255, 255, .18); }
.lsx__risek { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.lsx__faces { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; flex-wrap: wrap; gap: 10px 4px; }
.lsx__faces a { position: relative; display: block; border-radius: 50%; }
.lsx__faces img { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #050505; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7);
  transition: transform .25s ease, box-shadow .25s ease; }
.lsx__faces a:hover img, .lsx__faces a:focus-visible img { transform: translateY(-4px); box-shadow: 0 0 0 2px #DE0412; }
.lsx__faces a:focus-visible { outline: none; }
.lsx__faces span { position: absolute; left: 50%; bottom: calc(100% + 8px); translate: -50% 0; padding: 4px 8px; border-radius: 3px; background: #FFFFFF; color: #050505;
  font-size: 11px; font-weight: 800; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.lsx__faces a:hover span, .lsx__faces a:focus-visible span { opacity: 1; }
.lsx__rise .hx__btn--solid { background: #FFFFFF; border-color: #FFFFFF; color: #050505; }
.lsx__rise .hx__btn--solid:hover, .lsx__rise .hx__btn--solid:focus-visible { background: #EF848B; border-color: #EF848B; }

/* ---------- Our divisions ---------- */
.dvs { background: #050505; }
.dvs__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.dvs__card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #111111; color: #FFFFFF; text-decoration: none; isolation: isolate; }
.dvs__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.7); transform: scale(1.04);
  transition: filter .6s ease, transform 1s cubic-bezier(.16, .84, .24, 1); z-index: -1; }
.dvs__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 5, 5, .92), rgba(5, 5, 5, .2) 55%, rgba(5, 5, 5, 0)); }
.dvs__card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #DE0412; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.dvs__card:hover img, .dvs__card:focus-visible img { filter: none; transform: scale(1); }
.dvs__card:hover::before, .dvs__card:focus-visible::before { transform: scaleX(1); }
.dvs__card:focus-visible { outline: 2px solid #EF848B; outline-offset: 4px; }
.dvs__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: clamp(16px, 1.8vw, 24px); }
.dvs__tag { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #EF848B; }
.dvs__name { font-size: clamp(20px, 1.9vw, 30px); font-weight: 800; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }

/* ---------- Work in music, now a shorter panel ---------- */
.groove-panel.gp--short { min-height: clamp(380px, 62svh, 640px); }

/* ---------- Back the group ---------- */
.btg { background: #050505; border-top: 1px solid rgba(255, 255, 255, .08); }
.btg__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.btg__head { display: grid; gap: 14px; }
.btg__ways { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.btg__ways li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.btg__ways a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 24px; align-items: center; gap: 16px; padding: 22px 4px; color: #FFFFFF; text-decoration: none; transition: background-color .25s ease, padding .3s ease; }
.btg__n { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: #EF848B; }
.btg__h { font-size: clamp(20px, 2vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.btg__p { font-size: 14px; opacity: .72; text-align: right; }
.btg__ways svg { width: 20px; height: 20px; transition: transform .25s ease; }
.btg__ways a:hover, .btg__ways a:focus-visible { background: rgba(222, 4, 18, .14); padding-left: 14px; outline: none; }
.btg__ways a:hover svg, .btg__ways a:focus-visible svg { transform: translateX(4px); color: #DE0412; }
.btg__ways a:focus-visible { box-shadow: inset 0 0 0 2px #EF848B; }

/* ---------- Follow the group ---------- */
.flw { background: #DE0412; padding-block: clamp(56px, 7vw, 100px); }
.flw__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.flw__title { margin: 0; flex-basis: 100%; font-size: clamp(36px, 5vw, 80px); font-weight: 700; line-height: .95; letter-spacing: -.035em; }
.flw__p { margin: 0; font-size: clamp(16px, 1.4vw, 20px); max-width: 32em; }
.flw .hx__btn--solid { background: #050505; border-color: #050505; text-transform: none; letter-spacing: .02em; font-size: 15px; min-height: 52px; padding: 0 24px; }
.flw .hx__btn--solid:hover, .flw .hx__btn--solid:focus-visible { background: #FFFFFF; border-color: #FFFFFF; color: #050505; }
.flw .hx__btn:focus-visible { box-shadow: 0 0 0 3px #DE0412, 0 0 0 5px #FFFFFF; }
.flw + .marquee--red { border-top: 1px solid rgba(255, 255, 255, .25); }

/* ---------- tablets and phones ---------- */
@media (max-width: 1099.98px) {
  .nm__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 34%); overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; margin-inline: calc(var(--gutter, 24px) * -1); padding-inline: var(--gutter, 24px); scroll-padding-inline: var(--gutter, 24px); }
  .nm__row::-webkit-scrollbar { display: none; }
  .nm__card { scroll-snap-align: start; }
  .ln__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .lsx__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lsx__stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .lsx__stats li:nth-child(n+3) { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
  .dvs__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btg__inner { grid-template-columns: 1fr; }
}
@media (max-width: 699.98px) {
  .hs-title em { -webkit-text-stroke-width: 1.5px; }
  .nm__row { grid-auto-columns: 68%; }
  .ln__row { grid-template-columns: 1fr; }
  .lsx__stats b { font-size: clamp(30px, 9vw, 40px); }
  .lsx__stats li:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .lsx__faces img { width: 48px; height: 48px; }
  .lsx__rise { padding: 18px; }
  .dvs__card { aspect-ratio: 3 / 4; }
  .btg__ways a { grid-template-columns: 36px minmax(0, 1fr) 20px; }
  .btg__p { grid-column: 2; grid-row: 2; text-align: left; }
  .btg__ways svg { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 419.98px) {
  .dvs__row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dvs__name { font-size: 17px; }
  .dvs__tag { font-size: 9px; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  .hx, .hx__story, .nm__disc, .ln__img img, .dvs__card img, .dvs__card::before, .btg__ways a { transition: none !important; animation: none !important; }
  .is-playing .pl__eq i, .pl__eq.is-playing i, .nm__card.is-playing .nm__disc { animation: none !important; }
}
