:root {
  --bg: #000;
  --card: #141415;
  --card-2: #1d1d1f;
  --ink: #f5f5f7;
  --muted: #86868b;
  --red: #ff2d46;
  --red-deep: #b0061f;
  --line: rgba(245, 245, 247, 0.12);
  --grad: linear-gradient(100deg, #ff2d46, #ff8a3d);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Helvetica Neue", Arial, sans-serif;
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 var(--sans);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[hidden] { display: none !important; }

h1, h2 { font-family: var(--sans); font-weight: 700; margin: 0; line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.3rem, 6vw, 4.2rem); margin-bottom: 0.4em; text-wrap: balance; }
.eyebrow {
  margin: 0 0 0.8em;
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  width: fit-content;
}
section { padding-block: clamp(56px, 9vw, 120px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 980px; border: 0;
  background: var(--red); color: #fff; text-decoration: none; cursor: pointer;
  font: 500 1rem/1.2 var(--sans); letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease), background 0.2s, box-shadow 0.3s;
}
.btn:hover { transform: scale(1.04); box-shadow: 0 10px 40px rgba(255, 45, 70, 0.35); }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.2); box-shadow: none; }
.btn.live.big { padding: 16px 34px; font-size: 1.1rem; }
.btn.live.on { background: var(--ink); color: #000; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pulse {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: currentColor; margin-right: 10px;
  animation: pulse 1.6s ease-in-out infinite;
}
.eyebrow .pulse { background: var(--red); }
@keyframes pulse { 50% { opacity: 0.25; transform: scale(0.8); } }

/* cards */
.card {
  background: var(--card); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px); position: relative; overflow: hidden;
}
.card p { color: var(--muted); }
.card p.eyebrow { color: transparent; }
.card.center { text-align: center; background: radial-gradient(120% 120% at 50% 0%, #2a0a12, var(--card) 65%); }
.card.center .eyebrow, .card.center p { margin-inline: auto; max-width: 52ch; }
.card.center .cta { justify-content: center; margin-top: 1.6em; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: 48px;
  display: flex; justify-content: center; align-items: center; gap: clamp(16px, 4vw, 40px);
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-decoration: none; }
.nav nav { display: flex; gap: clamp(12px, 3vw, 30px); }
.nav nav a { font-size: 0.78rem; text-decoration: none; color: rgba(245, 245, 247, 0.8); transition: color 0.2s; }
.nav nav a:hover { color: #fff; }

/* hero: the picture is pinned, then shrinks into a rounded card as you scroll (--p runs 0 to 1) */
.hero { --p: 0; height: 220vh; padding: 0; }
.hero-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center; perspective: 1200px;
}
.hero-frame {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: calc(var(--p) * 48px);
  transform: scale(calc(1 - var(--p) * 0.22)) rotateX(calc(var(--p) * 10deg));
  transform-origin: center 60%;
  will-change: transform;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #050001; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.3));
  pointer-events: none;
}
.hero-text {
  position: relative; z-index: 1; text-align: center; padding: 0 20px;
  opacity: calc(1 - var(--p) * 2.2);
  transform: translate3d(0, calc(var(--p) * -120px), calc(var(--p) * 300px)) rotateX(calc(var(--p) * -25deg));
  will-change: transform, opacity;
}
.hero-text .eyebrow { margin-inline: auto; font-size: clamp(1rem, 2.2vw, 1.4rem); }
/* The title is extruded: a stack of red shadows gives it depth, and it turns with the pointer. */
.hero h1 {
  font-size: clamp(5rem, 21vw, 15rem); font-weight: 800; letter-spacing: -0.04em;
  transform: rotateY(calc(var(--mx, 0) * 28deg)) rotateX(calc(var(--my, 0) * -18deg));
  transform-style: preserve-3d;
  --dx: calc(var(--mx, 0) * -2.2px); --dy: calc(var(--my, 0) * -2.2px + 1px);
  text-shadow:
    calc(var(--dx) * 1) calc(var(--dy) * 1) 0 #e0263c, calc(var(--dx) * 2) calc(var(--dy) * 2) 0 #cf2036,
    calc(var(--dx) * 3) calc(var(--dy) * 3) 0 #bd1a30, calc(var(--dx) * 4) calc(var(--dy) * 4) 0 #ab152a,
    calc(var(--dx) * 5) calc(var(--dy) * 5) 0 #991024, calc(var(--dx) * 6) calc(var(--dy) * 6) 0 #870c1f,
    calc(var(--dx) * 7) calc(var(--dy) * 7) 0 #750819, calc(var(--dx) * 8) calc(var(--dy) * 8) 0 #630514,
    calc(var(--dx) * 14) calc(var(--dy) * 14 + 10px) 40px rgba(0, 0, 0, 0.7);
}
.hero h1 span {
  display: inline-block; transform-origin: 50% 100%;
  animation: rise 1.1s var(--ease) both;
}
.hero h1 span:nth-child(2) { animation-delay: 0.08s; }
.hero h1 span:nth-child(3) { animation-delay: 0.16s; }
.hero h1 span:nth-child(4) { animation-delay: 0.24s; }
.hero h1 span:nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(60%) rotateX(-80deg); } }
.tagline { font-size: clamp(1.3rem, 3.4vw, 2.2rem); font-weight: 600; margin: 0.2em 0 1.2em; letter-spacing: -0.02em; animation: fade 1s 0.5s both; }
.hero .cta { justify-content: center; animation: fade 1s 0.7s both; }
@keyframes fade { from { opacity: 0; transform: translateY(20px); } }

/* statement: words light up as you scroll */
.statement-section { padding-block: clamp(80px, 14vw, 200px); }
.statement {
  margin: 0; font-size: clamp(1.7rem, 4.6vw, 3.4rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.03em; text-wrap: pretty;
}
.statement span { opacity: 0.16; transition: opacity 0.25s linear; }
.statement span.lit { opacity: 1; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 0; }
.stat strong {
  display: block; font-size: clamp(3rem, 7vw, 5.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--muted); font-weight: 500; }
.card.photo { padding: 0; }
.card.photo img { height: 100%; min-height: 420px; object-fit: cover; object-position: center 42%; }
.card.radio { grid-column: span 2; background: radial-gradient(120% 140% at 100% 0%, #3a0a14, var(--card) 60%); }
.radio h2 { margin-bottom: 0.25em; }
.radio-now { margin: 0; font-size: 1.4rem; font-weight: 600; color: var(--ink) !important; }
.radio-now strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.radio-next { margin: 0.2em 0 1.4em; }
.radio-links { margin: 1.4em 0 0; font-size: 0.8rem; }
.radio-links a:hover { color: var(--ink); }
.eq { position: absolute; right: clamp(20px, 4vw, 48px); top: clamp(20px, 4vw, 48px); display: flex; gap: 6px; align-items: flex-end; height: 64px; }
.eq i { width: 8px; border-radius: 4px; background: var(--grad); animation: eq 1.2s ease-in-out infinite alternate; }
.eq i:nth-child(1) { animation-duration: 0.9s; } .eq i:nth-child(2) { animation-duration: 1.3s; }
.eq i:nth-child(3) { animation-duration: 0.7s; } .eq i:nth-child(4) { animation-duration: 1.1s; }
.eq i:nth-child(5) { animation-duration: 0.8s; } .eq i:nth-child(6) { animation-duration: 1.4s; }
.eq i:nth-child(7) { animation-duration: 1s; }
@keyframes eq { from { height: 12%; } to { height: 100%; } }

/* reveal + tilt */
[data-reveal] { opacity: 0; transform: perspective(1200px) translateY(60px) rotateX(14deg) scale(0.96); transform-origin: 50% 100%; transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-tilt] { will-change: transform; }
[data-tilt].in.tilting { transition: transform 0.08s linear; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.015); }
[data-float] { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotateY(18deg) rotateX(6deg); } }

/* music */
.music-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.music-head h2 { margin: 0; }
.search input {
  width: min(300px, 100%); padding: 12px 18px; border-radius: 980px;
  background: var(--card-2); border: 1px solid transparent;
  color: var(--ink); font: inherit; outline: none; transition: border-color 0.2s;
}
.search input:focus { border-color: var(--red); }
.player { aspect-ratio: 16 / 9; background: var(--card); border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.hint { color: var(--muted); font-size: 0.85rem; margin: 0 0 18px; }
.dot { color: var(--red); }
.tracks { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 40px; }
.tracks li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.tracks .row {
  display: flex; align-items: baseline; gap: 14px; padding: 13px 0; width: 100%;
  background: none; border: 0; color: inherit; font: inherit; text-align: left;
  text-decoration: none; cursor: pointer; transition: color 0.15s, padding 0.3s var(--ease);
}
.tracks .num { font-size: 0.7rem; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 2.2em; }
.tracks .num.dot { font-size: 0.8rem; color: var(--red); }
.tracks .title { font-size: 1.05rem; font-weight: 500; line-height: 1.25; }
.tracks a.row::after { content: "↗"; margin-left: auto; color: var(--muted); opacity: 0; transition: opacity 0.15s; }
.tracks .row:hover, .tracks .row.playing { color: var(--red); padding-left: 8px; }
.tracks a.row:hover::after { opacity: 1; }
.empty { color: var(--muted); font-size: 1.2rem; }

/* arabic */
.arabic { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.arabic h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.arabic h2 span { display: block; margin-top: 0.15em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.arabic p { margin-bottom: 1.6em; }
.arabic .player { margin: 0; background: #000; }

/* visuals: a ring of pictures that turns in 3D as you scroll (--p runs 0 to 1) */
.visuals { --p: 0; height: 380vh; padding: 0; }
.ring-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.ring-head { text-align: center; padding: 64px 20px 0; }
.ring-head .eyebrow { margin-inline: auto; }
.ring-head h2 { margin: 0; }
.ring-view { flex: 1; min-height: 0; display: grid; place-items: center; perspective: 1400px; }
.ring {
  --w: min(300px, 56vw); --n: 7; --r: 380px;
  position: relative; width: var(--w); aspect-ratio: 9 / 14; max-height: 62vh;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--r) * -1)) rotateY(calc(var(--p) * -308.6deg));
  will-change: transform;
}
.ring img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 22px; backface-visibility: hidden;
  transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--r));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* support, app, connect */
.support { padding-bottom: 0; }
.getapp { display: flex; gap: clamp(20px, 5vw, 56px); align-items: center; perspective: 800px; }
.app-icon { width: 120px; height: 120px; border-radius: 28px; flex: none; box-shadow: 0 30px 60px rgba(255, 45, 70, 0.25); }
.getapp h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.getapp .btn { margin-top: 0.6em; }
.connect { text-align: center; }
.connect .eyebrow { margin-inline: auto; }
.links { display: grid; gap: 34px; margin-top: 2em; }
.link-group h3 { margin: 0 0 14px; font: 600 0.8rem/1 var(--sans); color: var(--muted); }
.link-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.links a {
  padding: 11px 20px; border-radius: 980px; background: var(--card-2); text-decoration: none;
  font-size: 0.9rem; transition: transform 0.3s var(--ease), background 0.2s;
}
.links a:hover { background: var(--red); transform: translateY(-3px) scale(1.04); }

/* player bar */
.bar {
  position: fixed; left: 50%; bottom: 14px; z-index: 40; transform: translateX(-50%);
  width: min(720px, 100% - 20px);
  display: flex; align-items: center; gap: 8px; padding: 8px 18px 8px 10px;
  background: rgba(29, 29, 31, 0.78); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 980px;
  backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: barin 0.6s var(--ease);
}
@keyframes barin { from { opacity: 0; transform: translate(-50%, 40px) scale(0.92); } }
.bar button { background: none; border: 0; color: var(--ink); cursor: pointer; font-size: 1.05rem; padding: 8px; line-height: 1; }
.bar #toggle { background: var(--red); border-radius: 50%; width: 42px; height: 42px; flex: none; }
.bar-info { flex: 1; min-width: 0; }
.bar-title { display: block; font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar input[type="range"] { width: 100%; accent-color: var(--red); margin: 2px 0 0; height: 14px; }
.bar-time { font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar.radio-mode #prev, .bar.radio-mode #next, .bar.radio-mode #seek { display: none; }
body.has-bar { padding-bottom: 84px; }

footer {
  display: flex; justify-content: space-between; padding-block: 24px;
  border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--muted);
}
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .nav { justify-content: space-between; }
  .nav nav a[href="#visuals"], .nav nav a[href="#about"] { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .stat:nth-child(3), .card.photo, .card.radio { grid-column: 1 / -1; }
  .card.photo img { min-height: 0; aspect-ratio: 4 / 5; }
  .arabic, .getapp { display: flex; flex-direction: column; align-items: stretch; }
  .getapp { align-items: flex-start; }
  .eq { height: 44px; }
  .ring { --r: 250px; --w: min(210px, 52vw); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .statement span { opacity: 1; }
  .hero { height: auto; }
  .hero-frame, .hero-bg, .hero-text, .hero h1 { transform: none; opacity: 1; border-radius: 0; }
  .hero-stage { position: relative; }
  .visuals { height: auto; padding-block: 80px; }
  .ring-stage { position: static; height: auto; }
  .ring-view { perspective: none; padding: 24px 20px 0; }
  .ring { width: min(1080px, 100%); aspect-ratio: auto; max-height: none; transform: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .ring img { position: static; transform: none; aspect-ratio: 9 / 14; }
}
