/* Bourbiza Mohamed, artist page. Night blue turning to desert sunset. */

.mar-hero { background: radial-gradient(ellipse at 85% 110%, rgba(232, 126, 40, .55), transparent 55%), radial-gradient(ellipse at 10% -10%, rgba(58, 92, 230, .45), transparent 55%), linear-gradient(180deg, #0f1430 0%, #1a1636 70%, #2a1a2e 100%); }
.mar-btn--spotify { background: #1db954; color: #071a0e; }
.mar-btn--spotify:hover, .mar-btn--spotify:focus-visible { color: #071a0e; box-shadow: 0 12px 24px -12px rgba(29, 185, 84, .9); }
.mar-btn--spotify svg { width: 18px; height: 18px; }

/* Turntable: sleeve, spinning record with the artist on the label, tonearm */
.mar-deck { position: relative; justify-self: center; width: min(100%, 27rem); aspect-ratio: 1; }
.mar-sleeve { position: absolute; left: 0; top: 8%; width: 66%; aspect-ratio: 1; border-radius: 6px; overflow: hidden; z-index: 2; rotate: -6deg;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); transition: rotate .8s cubic-bezier(.2, .75, .15, 1), translate .8s cubic-bezier(.2, .75, .15, 1); }
.mar-sleeve img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mar-vinyl { position: absolute; right: 0; top: 14%; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle, #1b1b1f 0 17%, transparent 17.5%), repeating-radial-gradient(circle, #0c0c0e 0 1px, #18181c 1.5px 2.6px), #101012;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9), inset 0 0 0 4px #050506; translate: -18% 0; transition: translate 1.1s cubic-bezier(.2, .75, .15, 1) .25s; }
.mar-vinyl__grooves { position: absolute; inset: 8%; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 9px, rgba(255, 255, 255, .035) 9px 10px); }
.mar-vinyl__label { position: absolute; inset: 33%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #d4952a, 0 0 0 5px #111; }
.mar-vinyl__label img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mar-vinyl__label::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8%; height: 8%; translate: -50% -50%; border-radius: 50%; background: #0f1430; }
.mar-deck::after { content: ""; position: absolute; right: 0; top: 14%; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: 1; pointer-events: none; translate: -18% 0; transition: translate 1.1s cubic-bezier(.2, .75, .15, 1) .25s;
  background: conic-gradient(from 30deg, transparent 0 12%, rgba(255, 255, 255, .13) 16%, transparent 22% 55%, rgba(255, 255, 255, .09) 60%, transparent 66%); }
.mar-vinyl__shine { display: none; }
.mar-arm { position: absolute; right: 2%; top: 4%; width: 6%; height: 52%; z-index: 3; transform-origin: 50% 6%; rotate: -28deg; transition: rotate 1.2s cubic-bezier(.2, .75, .15, 1) 1s; }
.mar-arm::before { content: ""; position: absolute; left: 50%; top: 0; width: 160%; aspect-ratio: 1; translate: -50% -30%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f1f2f6, #8a8f9c); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.mar-arm i { position: absolute; left: 50%; top: 6%; bottom: 0; width: 18%; translate: -50% 0; border-radius: 3px; background: linear-gradient(90deg, #8a8f9c, #f1f2f6, #8a8f9c); }
.mar-arm i::after { content: ""; position: absolute; left: 50%; bottom: -4%; width: 380%; height: 12%; translate: -50% 0; border-radius: 3px; background: linear-gradient(#d4952a, #9a6510); }
.mar-eq { position: absolute; left: 4%; bottom: 2%; display: flex; align-items: flex-end; gap: 5px; height: 2.6rem; z-index: 3; }
.mar-eq i { width: 6px; height: 20%; border-radius: 3px; background: linear-gradient(#f2c46b, #e87e28); animation: mar-eq 1s ease-in-out infinite alternate; animation-play-state: paused; }
.mar-eq i:nth-child(2) { animation-delay: -.3s; } .mar-eq i:nth-child(3) { animation-delay: -.6s; } .mar-eq i:nth-child(4) { animation-delay: -.15s; }
.mar-eq i:nth-child(5) { animation-delay: -.45s; } .mar-eq i:nth-child(6) { animation-delay: -.8s; } .mar-eq i:nth-child(7) { animation-delay: -.25s; }
@keyframes mar-eq { to { height: 100%; } }
@keyframes mar-spin { to { rotate: 360deg; } }

/* Played once the page is ready */
.mhp-hero.is-ready .mar-vinyl { translate: 0 0; animation: mar-spin 3.2s linear infinite; }
.mhp-hero.is-ready.mar-hero .mar-deck::after { translate: 0 0; }
.mhp-hero.is-ready .mar-eq i { animation-play-state: running; }
.mhp-hero.is-ready .mar-arm { rotate: 2deg; }
.mhp-hero.is-ready .mar-sleeve { rotate: -9deg; translate: -4% 2%; }
.mar-deck:hover .mar-vinyl { animation-duration: 1.6s; }

/* Player */
.mar-player { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: center; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 22px; background: linear-gradient(135deg, #0f1430, #1d1a3a); color: #fff; }
.mar-player .mhp-h2 { color: #fff; }
.mar-player p { margin: 0; font-family: var(--mhr-serif); font-size: 1.1rem; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.mar-player__frame { display: block; width: 100%; min-height: 352px; border: 0; border-radius: 14px; background: #121212; }

/* Releases */
.mar-releases__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.mar-release { display: block; color: var(--mhr-ink); text-decoration: none; transition: transform .9s var(--ease), opacity .8s ease; transition-delay: calc(var(--i, 0) * 100ms); }
.mhr-js .mar-release:not(.is-in) { opacity: 0; transform: translateY(1.4rem); }
.mar-release__art { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: #111; box-shadow: 0 30px 60px -40px rgba(15, 20, 48, .8); }
.mar-release__art img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.mar-release:hover .mar-release__art img { scale: 1.05; }
.mar-release__play { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #1db954; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); transform: translateY(.6rem); opacity: .9; transition: transform .3s, opacity .3s; }
.mar-release__play svg { width: 1.4rem; height: 1.4rem; fill: #071a0e; margin-left: 3px; }
.mar-release:hover .mar-release__play { transform: none; opacity: 1; }
.mar-release__k { display: block; margin-top: .9rem; font-family: var(--mhr-sans); font-size: .75rem; font-weight: 700; color: var(--mhr-saffron); }
.mar-release__t { display: block; margin-top: .25rem; font-family: var(--mhr-serif); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.mar-release:hover .mar-release__t { color: var(--mhr-majorelle); }
.mar-release__d { display: block; margin-top: .4rem; color: var(--mhr-muted); font-size: 1rem; line-height: 1.5; }

/* Platforms */
.mar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.mar-grid li::before { display: none; }
.mar-grid a { position: relative; display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 14px; border: 1px solid var(--mhr-line); background: #fff; color: var(--mhr-ink); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .25s, border-color .25s, color .25s; }
.mar-grid a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.mar-grid a:hover, .mar-grid a:focus-visible { transform: translateY(-3px); border-color: var(--c); color: #fff; }
.mar-grid a:hover::before, .mar-grid a:focus-visible::before { transform: none; }
.mar-badge { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--c); color: #fff; transition: background .25s; }
.mar-grid a:hover .mar-badge { background: rgba(255, 255, 255, .2); }
.mar-badge svg { width: 18px; height: 18px; }
.mar-badge__t { font-family: var(--mhr-sans); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.mar-grid b { font-family: var(--mhr-sans); font-size: .95rem; }
.mar-go { margin-left: auto; font-family: var(--mhr-sans); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
.mar-grid li { transition: transform .8s var(--ease), opacity .7s ease; transition-delay: calc(var(--i, 0) * 50ms); }
.mhr-js .mar-platforms:not(.is-in) .mar-grid li { opacity: 0; transform: translateY(1rem); }

/* Two names */
.mar-two__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.mar-id { display: grid; gap: .35rem; padding: 1.6rem 1.6rem 1.7rem; border-radius: 20px; text-decoration: none; color: #fff; position: relative; overflow: hidden; transition: transform .3s; }
.mar-id:hover { transform: translateY(-4px); color: #fff; }
.mar-id--music { background: radial-gradient(ellipse at 100% 100%, rgba(232, 126, 40, .6), transparent 60%), #1a1636; }
.mar-id--press { background: radial-gradient(ellipse at 100% 0%, rgba(58, 92, 230, .6), transparent 60%), var(--mhr-majorelle-deep); }
.mar-id__k { font-family: var(--mhr-sans); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #f2c46b; }
.mar-id b { font-family: var(--mhr-serif); font-size: 1.8rem; font-weight: 600; line-height: 1.1; }
.mar-id span:last-child { color: rgba(255, 255, 255, .78); font-size: 1rem; }

@media (max-width: 900px) {
  .mar-player, .mar-releases__grid, .mar-two__grid { grid-template-columns: 1fr; }
  .mar-deck { width: min(100%, 22rem); margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mhp-hero.is-ready .mar-vinyl, .mar-eq i { animation: none; }
}