/* ==========================================================================
   HLEEM TAJ ALSER — poster-grade editorial rap archive
   Palette is locked: ink / ink-2 / bone / bone-dim / blood / blood-deep / line.
   ========================================================================== */

/* ---------- Fonts (local only) ---------- */
@font-face { font-family: 'Almarai'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/Almarai-400-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Almarai'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/Almarai-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Almarai'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(assets/fonts/Almarai-700-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Almarai'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(assets/fonts/Almarai-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Almarai'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(assets/fonts/Almarai-800-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Almarai'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(assets/fonts/Almarai-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/Anton-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/Anton-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/IBMPlexMono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/IBMPlexMono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/IBMPlexMono-400-symbols2.woff2) format('woff2');
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(assets/fonts/IBMPlexMono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(assets/fonts/IBMPlexMono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(assets/fonts/SpaceGrotesk-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url(assets/fonts/Newsreader-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url(assets/fonts/Newsreader-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Aref Ruqaa'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(assets/fonts/ArefRuqaa-700-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0A0908;
  --ink-2: #121110;
  --bone: #EDE6DA;
  --bone-dim: #9C948A;
  --blood: #E11414;
  --blood-deep: #7A0A0A;
  --gold: #E9C46A;                        /* crown + ود ال only */
  --line: rgba(237, 230, 218, .14);
  --body: rgba(237, 230, 218, .82);

  --gut: 5vw;
  --col-gap: clamp(12px, 1.6vw, 28px);
  --rhythm: max(14vh, 96px);

  --f-display: 'Anton', 'Almarai', 'Arial Narrow', sans-serif;
  --f-ar: 'Almarai', 'Geeza Pro', 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --hero-size: clamp(64px, 19vw, 320px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);   /* expo.out */
  --ease-3: cubic-bezier(.215, .61, .355, 1); /* power3.out */
  --player-h: 64px;
  --micro: 11px;                          /* functional text: 11px <1024, 12px ≥1024 */
  --safe: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 1024px) { :root { --micro: 12px; } }
@property --fl { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --fr { syntax: '<length>'; inherits: false; initial-value: 0px; }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); scrollbar-color: var(--blood-deep) var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--f-ar); font-weight: 400; font-size: 17px; line-height: 1.55;
  overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.has-player { padding-bottom: calc(var(--player-h) + var(--safe)); }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--blood); color: var(--bone); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blood); outline-offset: 3px; }
[hidden] { display: none !important; }
[lang="ar"] { font-family: var(--f-ar); letter-spacing: 0 !important; font-feature-settings: "calt" 1, "liga" 1, "kern" 1; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 300; top: 8px; left: 8px; padding: 10px 14px; background: var(--blood-deep); color: var(--bone);
  font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; transform: translateY(-160%); transition: transform .3s var(--ease-3); }
.skip:focus-visible { transform: none; }

.wrap { padding-left: var(--gut); padding-right: var(--gut); }
.mono, .idx { font-family: var(--f-mono); font-weight: 400; font-size: var(--micro); line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); }
.idx { font-weight: 500; }

/* ---------- Texture: grain + vignette ---------- */
body::before, body::after { content: ""; position: fixed; pointer-events: none; }
body::before { /* vignette */
  inset: 0; z-index: 89;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(10, 9, 8, .55) 100%);
}
body::after { /* grain */
  inset: -60px; z-index: 90; opacity: .055;
  background: url(assets/grain.png) repeat; background-size: 180px 180px;
  animation: grain 1.1s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-24px, 14px); } 40% { transform: translate(18px, -30px); }
  60% { transform: translate(-12px, 36px); } 80% { transform: translate(30px, 8px); } 100% { transform: translate(0, 0); }
}

/* ---------- Section head (index · title · arabic) ---------- */
.sec-head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 0 var(--col-gap);
  padding-bottom: 18px; border-bottom: 1px solid var(--line); position: relative;
}
.sec-head .idx { align-self: start; padding-top: .6em; color: var(--bone); white-space: nowrap; }
.idx::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: .12em; background: var(--blood); }
.sec-head__title .wd { white-space: nowrap; }
.sec-head__title.is-cased { text-transform: none; }
.sec-head__title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(44px, 8.4vw, 150px); line-height: .84; color: var(--bone);
}
.motion .sec-head { border-bottom-color: transparent; }
.sec-head__rule { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--line); transform-origin: left; }
.sec-head__ar { font-weight: 800; font-size: clamp(40px, 6vw, 108px); line-height: 1.05; color: rgba(237, 230, 218, .65); padding-bottom: .02em; }

/* ---------- Title sequence v2: "VALVET." presents → his name → hero ----------
   Everything inside is positioned by JS from measured INK bounds (see buildIntroLayout in app.js);
   the CSS only provides the base layout. The black field is its own layer so the lift can cut a hole in it. */
@property --hole { syntax: '<length>'; inherits: false; initial-value: 0px; }
.intro { position: fixed; inset: 0; z-index: 200; color: var(--bone); overflow: hidden;
  animation: intro-failsafe .01s linear 11s forwards; }          /* if JS never runs, it can never trap the page */
.intro__black { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 78% 62% at 50% 50%, #0a0a09 0%, #060606 62%, #040404 100%); }
.intro::after { content: ""; position: absolute; inset: -60px; z-index: 6; pointer-events: none; opacity: .04;
  background: url(assets/grain.png) repeat; background-size: 180px 180px; animation: grain 1.1s steps(5) infinite; }   /* one grain layer over the whole frame */
@keyframes intro-failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }
.no-js .intro, .no-intro .intro, .reduced .intro { display: none; }
.intro-on, .intro-on body { overflow: hidden; }
/* gate weave: ±0.4px on the whole projected frame, 6s loop */
.intro__frame { position: absolute; inset: 0; z-index: 1; animation: gate-weave 6s ease-in-out infinite; }
@keyframes gate-weave { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(.4px, -.3px); } 45% { transform: translate(-.3px, .4px); }
  70% { transform: translate(.3px, .2px); } 85% { transform: translate(-.4px, -.2px); } }
.intro__bar { position: absolute; z-index: 2; left: -2px; right: -2px; height: 12vh; background: #000; transform: scaleY(0); }
.intro__bar--t::after, .intro__bar--b::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(237, 230, 218, .07); }
.intro__bar--t::after { bottom: 0; }
.intro__bar--b::after { top: 0; }
.intro__bar--t { top: -1px; transform-origin: 50% 0; }
.intro__bar--b { bottom: -1px; transform-origin: 50% 100%; }
.intro__stage { position: absolute; left: 0; right: 0; top: 12vh; bottom: 12vh; z-index: 3; display: grid; place-items: center; }
.intro__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(237, 230, 218, .5); transform: scaleX(0); transform-origin: 0 50%; }
.intro__card { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; align-items: center; opacity: 0; }
/* VALVET wordmark: Space Grotesk 700, tight, bone; the lime full stop is the only colour */
.intro__logo { position: relative; margin: 0; isolation: isolate; white-space: nowrap; font-family: 'Space Grotesk', var(--f-display); font-weight: 700;
  font-size: clamp(64px, 11.6vw, 178px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; color: var(--bone); }
.intro__wm { display: inline-block; }
.intro__wm span { display: inline-block; }
.intro__dot { display: inline-block; color: #CDFF50; }
/* single light sweep: a gradient band blended with `overlay` — invisible on black, it only lights the letters */
.intro__sweep { display: none; position: absolute; z-index: 2; top: -15%; bottom: -15%; left: 0; width: 34%; pointer-events: none; opacity: 0; mix-blend-mode: overlay;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 100%); }
.intro__presents { display: flex; align-items: center; gap: 18px; margin: 28px 0 0; font: 400 12px/1 var(--f-mono); letter-spacing: .4em;
  text-transform: uppercase; color: rgba(237, 230, 218, .72); opacity: 0; }
.intro__presents span { margin-right: -.42em; }
.intro__presents i { display: block; width: 48px; height: 1px; background: rgba(237, 230, 218, .55); }
/* dot ignition fx — centred on the dot's ink by JS */
.intro__fx { position: absolute; left: 0; top: 0; border-radius: 50%; pointer-events: none; opacity: 0; translate: -50% -50%; }
.intro__bloom { width: 176px; height: 176px; background: radial-gradient(closest-side, rgba(205, 255, 80, .34), rgba(205, 255, 80, .08) 45%, rgba(205, 255, 80, 0)); }
.intro__ring { width: 28px; height: 28px; border: 1px solid rgba(205, 255, 80, .6); }
.intro__flash { width: 220vmax; height: 220vmax; background: radial-gradient(closest-side, rgba(255, 244, 214, .12), rgba(255, 244, 214, .06) 40%, rgba(255, 244, 214, 0)); }
.intro__scratch { position: absolute; top: -12vh; bottom: -12vh; left: 63%; width: 1px; background: rgba(237, 230, 218, .75); opacity: 0;
  box-shadow: 0 0 2px rgba(237, 230, 218, .5); }
/* his title card */
.intro__card--title { --arF: clamp(48px, 7.4vw, 120px); }
.intro__ar { margin: 0; font-weight: 800; font-size: var(--arF); line-height: 1.05; color: var(--bone); white-space: nowrap; }
.intro__ar span { display: inline-block; }
.intro__latin { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 20px; }
.intro__rule { display: block; width: 56px; height: 1px; background: rgba(237, 230, 218, .45); transform-origin: 50% 50%; }
.intro__en { margin: 0 -.26em 0 0; font: 500 13px/1 var(--f-mono); letter-spacing: .26em; color: rgba(237, 230, 218, .88); white-space: nowrap; }
.intro__skip { position: absolute; z-index: 7; right: calc(var(--gut) - 12px); bottom: calc(12vh + 12px); min-width: 44px; min-height: 44px; padding: 0 12px;
  font: 500 11px/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--bone); opacity: 0; visibility: hidden; }
.intro__skip:hover, .intro__skip:focus-visible { color: #CDFF50; }
/* repeat loads in the same session: a plain 1.2s fade from black */
.intro-short .intro__frame, .intro-short .intro__skip { display: none; }

/* ---------- Top bar ---------- */
.topbar { position: absolute; z-index: 30; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start;
  padding: 10px var(--gut) 0; pointer-events: none; }
.topbar > * { pointer-events: auto; }
.kicker { padding-top: 13px; font: 500 var(--micro)/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); display: flex; flex-wrap: wrap; gap: 0 .9em; }
.kicker i { display: inline-block; align-self: center; width: 5px; height: 5px; background: var(--blood); }
.nav { display: flex; gap: 15px; margin-right: calc(-2px - .12em); font-size: var(--micro); }
.nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font: 500 var(--micro)/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone); padding: 0 2px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--blood); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ==========================================================================
   1 · HERO
   Layout maths (all screens) — S = type size; Anton caps are .86em, lines are .9em boxes,
   so the cap top sits .015em into a line and the baseline .875em into it.
     B1 = HLEEM baseline = nt + .875S          B2 = TAJ/ALSER baseline = nt + 1.815S
   Desktop: ود ال → crown → hair stack under HLEEM, the head rises into the gap between TAJ and
   ALSER (the gap is the portrait's slot). Mobile: crown + ود ال sit inside the TAJ/ALSER gap and
   the head starts just under the baseline.
   ========================================================================== */
.hero {
  --S: clamp(64px, 19vw, 170px);
  --nt: clamp(118px, 17vh, 170px);
  --B1: calc(var(--nt) + var(--S) * .875);
  --B2: calc(var(--nt) + var(--S) * 1.815);
  --cw: 54px;                                  /* crown width */
  --ch: calc(var(--cw) * .595);                /* crown.svg viewBox 168x100 (band flush to the bottom) */
  --arf: calc(var(--S) * .387);                /* ود ال font size = .45 × cap height (.86S) */
  --gap: calc(var(--cw) + 22px);               /* TAJ ↔ ALSER slot (fits the crown and ود ال) */
  --hx: calc(50vw - var(--S) * .39);           /* head x: centre of the slot when the line is centred */
  --figdx: 0px;                                /* optical balance offset for portrait + disc + crown */
  /* phones/tablets: hair 18px under the TAJ/ALSER baseline (≥14px from the lowest letter ink), crown 12px above
     the hair, ود ال 10px above the crown (measured values land 1–2px under these offsets) — the whole stack moves together */
  --hairTop: calc(var(--B2) + 20px);
  --crownTop: calc(var(--hairTop) - var(--ch) + 19px);   /* base tucks behind the curls */
  --arTop: calc(var(--crownTop) - 9px - var(--arf) * .8);
  --ph: min(66vh, 134vw);                      /* portrait height */
  --pw: calc(var(--ph) * .9057);               /* 1326/1464 */
  --ptop: calc(var(--hairTop) - var(--ph) * .014);   /* hair margin inside the PNG ≈ 1.4% */
  --tick: 44px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --fadeEnd: calc(100svh - var(--tick) - var(--safe-b) - var(--ptop));
  position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); isolation: isolate;
}
.hero__scan { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(to bottom, rgba(237, 230, 218, .025) 0 1px, transparent 1px 3px);
  animation: scan 9s linear infinite; }
@keyframes scan { to { background-position: 0 300px; } }

/* ghost Arabic: decorative only — under 4% so it never reads as an artefact */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__ar {
  position: absolute; left: 50%; bottom: calc(var(--tick) + var(--safe-b) + 2vh); translate: -50% 0; white-space: nowrap;
  font-weight: 800; font-size: clamp(54px, 14.6vw, 300px); line-height: 1.05; color: rgba(237, 230, 218, .03);
}
.hero__disc {
  position: absolute; z-index: 1; pointer-events: none;
  width: calc(var(--pw) * .55); aspect-ratio: 1; border-radius: 50%;
  left: calc(var(--hx) + var(--figdx)); top: calc(var(--hairTop) + var(--ph) * .205);
  translate: -50% -50%; background: var(--blood);
}
/* darker inner disc so the red glasses read against something deeper than --blood */
.hero__core { position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #120f0f 0 34%, var(--blood-deep) 72%); box-shadow: 0 0 0 1px rgba(10, 9, 8, .4), inset 0 0 90px rgba(10, 9, 8, .55); }
/* rings frame the head: masked out of the face zone */
.hero__ring { position: absolute; inset: -9%; border-radius: 50%; border: 1px solid rgba(237, 230, 218, .35);
  -webkit-mask-image: radial-gradient(ellipse 34% 40% at 50% 60%, transparent 0 88%, #000 100%); mask-image: radial-gradient(ellipse 34% 40% at 50% 60%, transparent 0 88%, #000 100%); }
.hero__ring::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1px solid rgba(225, 20, 20, .45); }

.hero__name { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); top: var(--nt);
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: -.02em; color: var(--bone); }
.hero__line { display: block; overflow: hidden; font-size: var(--S); line-height: .9; height: .9em; }
.hero__line--2 { margin-top: .04em; display: grid; grid-template-columns: calc(var(--hx) - var(--gut) - var(--gap) / 2 + var(--bal, 0px)) var(--gap) minmax(0, 1fr); align-items: end; }
.hero__word { display: inline-block; will-change: transform; }
.hero__word--taj { grid-column: 1; justify-self: end; }
.hero__word--alser { grid-column: 3; justify-self: start; }
.kern { letter-spacing: -.07em; }

/* ود ال + crown: front of everything, centred on the head */
.hero__wad { position: absolute; z-index: 8; left: calc(var(--hx) + var(--figdx)); top: var(--arTop); translate: -50% 0; margin: 0;
  font-family: 'Aref Ruqaa', var(--f-ar); font-weight: 700; font-size: var(--arf); line-height: .8; color: var(--gold);
  white-space: nowrap; letter-spacing: 0; text-shadow: 0 0 18px rgba(233, 196, 106, .25); pointer-events: none; }
.hero__crown { position: absolute; z-index: 2; left: calc(var(--hx) + var(--figdx)); top: var(--crownTop); width: var(--cw); translate: -50% 0; pointer-events: none; }
.hero__crown img { display: block; width: 100%; height: auto;
  filter: drop-shadow(0 0 8px rgba(233, 196, 106, .5)) drop-shadow(0 6px 10px rgba(0, 0, 0, .55)) drop-shadow(0 3px 16px rgba(225, 20, 20, .3));
  animation: crown-float 7s ease-in-out infinite; }
@keyframes crown-float { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-2px); } }

.hero__fig {
  position: absolute; z-index: 3; left: calc(var(--hx) + var(--figdx) - var(--pw) * .453); top: var(--ptop);
  height: var(--ph); width: var(--pw); transform-origin: 50% 30%; will-change: transform;
  /* deliberate crop: the jacket fades out before the ticker instead of being hard-cut */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(var(--fadeEnd) - 15vh), transparent calc(var(--fadeEnd) - 1vh));
  mask-image: linear-gradient(to bottom, #000 calc(var(--fadeEnd) - 15vh), transparent calc(var(--fadeEnd) - 1vh));
}
/* ~75% grayscale with a hint of warmth; rim light keeps the silhouette off the ink */
.hero__img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; position: relative; z-index: 2;
  filter: drop-shadow(0 0 3px rgba(237, 230, 218, .22)) drop-shadow(0 0 26px rgba(225, 20, 20, .34)) saturate(1.08) brightness(1.09) contrast(1.01); }
/* full-colour copy masked to the glasses — disabled now that the portrait is full colour */
.hero__tint { display: none; position: absolute; z-index: 3; inset: 0; pointer-events: none;
  background: url(assets/photos/hero-cut@2x.png) center bottom / contain no-repeat; filter: saturate(1.15) brightness(1.07) contrast(.95);
  -webkit-mask-image: radial-gradient(ellipse 15% 4.4% at 44.5% 21.2%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 15% 4.4% at 44.5% 21.2%, #000 62%, transparent 100%); }
.hero__key { position: absolute; z-index: 4; left: 26%; top: 6%; width: 40%; height: 34%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(237, 230, 218, .42), transparent); mix-blend-mode: soft-light; }
.hero__glow { position: absolute; z-index: 0; inset: -18% -30% 0; pointer-events: none;
  background: radial-gradient(48% 46% at 50% 46%, rgba(225, 20, 20, .42), rgba(122, 10, 10, .2) 55%, transparent 72%); filter: blur(10px); }
.hero__echo { position: absolute; z-index: 1; inset: 0; translate: -1.6% 0; background: var(--blood-deep); opacity: .95;
  -webkit-mask: url(assets/photos/hero-cut@2x.png) center bottom / contain no-repeat; mask: url(assets/photos/hero-cut@2x.png) center bottom / contain no-repeat; }
/* soft floor shadow grounding the crop */
.hero__floor { position: absolute; z-index: 4; left: 0; right: 0; bottom: calc(var(--tick) + var(--safe-b)); height: 24vh; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 9, 8, .92), rgba(10, 9, 8, .55) 40%, transparent); }

/* primary action */
.hero__cta { position: absolute; z-index: 6; left: var(--gut); bottom: calc(var(--tick) + var(--safe-b) + clamp(18px, 3.4vh, 36px));
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.btn--primary { min-height: 48px; padding: 0 20px 0 8px; gap: 14px; background: var(--blood-deep); border-color: var(--blood); color: var(--bone); }
.btn__ic { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blood-deep); box-shadow: inset 0 0 0 1px var(--blood); }
/* triangle centred on its optical centroid (1/3 from the flat side), not its bounding box */
.btn__ic::after { content: ""; position: absolute; left: calc(50% - 3.3px); top: calc(50% - 6px); border-left: 10px solid var(--bone); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.btn__label { display: block; padding-top: 1px; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn.btn--ghost { min-height: 44px; gap: 9px; border-color: rgba(237, 230, 218, .45); background: rgba(10, 9, 8, .6); color: var(--bone); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--bone); background: var(--ink); }

/* stats + scroll cue: one right axis, rule on the text baseline */
.hero__side { position: absolute; z-index: 5; display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  font: 500 var(--micro)/1.4 var(--f-mono); letter-spacing: .12em; color: var(--bone-dim); }
.hero__side--r { right: var(--gut); text-align: right; bottom: calc(var(--tick) + var(--safe-b) + 60px); }
.hero__side span { margin-right: -.12em; }                 /* trailing tracking would push text off the axis */
.hero__side span:first-child { color: var(--bone); }

.hero__scroll { position: absolute; z-index: 5; right: var(--gut); bottom: calc(var(--tick) + var(--safe-b) + 22px); display: flex; align-items: baseline; gap: 10px;
  font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; color: var(--bone); }
.hero__scroll i { display: block; width: 46px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--blood); animation: cue 1.6s var(--ease-3) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

.ticker { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: calc(var(--tick) + var(--safe-b)); padding-bottom: var(--safe-b);
  overflow: hidden; display: flex; align-items: center; background: var(--ink); border-top: 1px solid var(--line); }
/* wide, fully-transparent ends: a word is never legible while it is half off-screen */
.ticker__mask { flex: 1; min-width: 0; margin: 0 max(16px, 4vw); overflow: hidden;      /* text never within 16px of the screen edge */
  /* eased fade: stays near-transparent for its first half, so a half-visible word never reads */
  --tf: max(120px, 15%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.04) calc(var(--tf) * .35), rgba(0,0,0,.2) calc(var(--tf) * .6), rgba(0,0,0,.6) calc(var(--tf) * .82), #000 var(--tf),
    #000 calc(100% - var(--tf)), rgba(0,0,0,.6) calc(100% - var(--tf) * .82), rgba(0,0,0,.2) calc(100% - var(--tf) * .6), rgba(0,0,0,.04) calc(100% - var(--tf) * .35), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.04) calc(var(--tf) * .35), rgba(0,0,0,.2) calc(var(--tf) * .6), rgba(0,0,0,.6) calc(var(--tf) * .82), #000 var(--tf),
    #000 calc(100% - var(--tf)), rgba(0,0,0,.6) calc(100% - var(--tf) * .82), rgba(0,0,0,.2) calc(100% - var(--tf) * .6), rgba(0,0,0,.04) calc(100% - var(--tf) * .35), transparent 100%); }
.ticker__track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker__set { display: flex; align-items: center; gap: 1.4em; padding-right: 1.4em; white-space: nowrap;
  font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; color: var(--bone); }
.ticker__set b { display: inline-block; width: 7px; height: 7px; background: var(--blood); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

@media (min-width: 640px) and (max-width: 900px) {
  .hero { --cw: 64px; }
}
@media (max-width: 430px) {
  .hero { --arf: max(var(--S) * .387, 31px); }   /* ود ال ink ≥ 22px tall on phones (ink ≈ .73 × font-size) */
}
@media (min-width: 901px) {
  .hero {
    --S: min(17.4vw, 27.8vh, 320px);
    --nt: calc(24px + 44px + 1.2vh);
    --cw: clamp(94px, 8.9vw, 132px);
    /* optical balance of TAJ↔head↔ALSER (measured row by row against the silhouette) */
    --bal: calc(var(--S) * .088 - var(--pw) * .01828);
    --hx: 46vw;
    --figdx: calc((100vw - 1280px) * 0.0065);
    --ph: 84vh;
    --gap: calc(var(--pw) * .4);
    --arTop: calc(var(--B1) + var(--S) * .075);
    --crownTop: calc(var(--arTop) + var(--arf) * .8 + 4px);
    --hairTop: calc(var(--crownTop) + var(--ch) - 7px);   /* crown base sits in the curls */
  }
  .hero__disc { width: calc(var(--pw) * .56); }
  .hero__floor { height: 30vh; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__crown img { animation: none; transform: none; }
}

/* ==========================================================================
   2 · COVER MARQUEE
   ========================================================================== */
.covers { position: relative; padding-top: var(--rhythm); padding-bottom: calc(var(--rhythm) * .7); overflow: hidden; }
.covers__rows { position: relative; margin-top: clamp(40px, 8vh, 90px); display: grid; gap: clamp(10px, 1.4vw, 20px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0 6%, #000 17%, #000 83%, transparent 94% 100%); mask-image: linear-gradient(90deg, transparent 0 6%, #000 17%, #000 83%, transparent 94% 100%); }
.covers__row { overflow: visible; }
.covers__track { display: flex; gap: clamp(10px, 1.4vw, 20px); width: max-content; will-change: transform; }
.cover { position: relative; flex: none; width: clamp(140px, 17vw, 290px); aspect-ratio: 1; perspective: 700px; }
.cover__btn { display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: box-shadow .6s var(--ease-out); }
.cover__btn img { width: 100%; height: 100%; object-fit: cover; background: var(--ink-2); }
.cover__btn::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); pointer-events: none; }
.cover__btn:hover, .cover__btn:focus-visible { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), -8px 0 0 0 var(--blood); }
.cover__tag { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 4px 6px; background: var(--ink); color: var(--bone);
  font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); pointer-events: none; }
.cover__btn:hover .cover__tag, .cover__btn:focus-visible .cover__tag { opacity: 1; transform: none; }
.covers__edge { display: none; position: absolute; top: -10%; bottom: -10%; width: 20vw; z-index: 3; pointer-events: none;
  -webkit-backdrop-filter: grayscale(1) blur(3px) brightness(.7); backdrop-filter: grayscale(1) blur(3px) brightness(.7); }
.covers__edge--l { left: -2vw; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent); mask-image: linear-gradient(90deg, #000 30%, transparent); }
.covers__edge--r { right: -2vw; -webkit-mask-image: linear-gradient(270deg, #000 30%, transparent); mask-image: linear-gradient(270deg, #000 30%, transparent); }

/* ==========================================================================
   3 · STATEMENT
   ========================================================================== */
.statement { position: relative; padding-top: var(--rhythm); padding-bottom: var(--rhythm); overflow: hidden; }
.statement__wm { position: absolute; z-index: 0; right: -4vw; top: 22%; pointer-events: none; white-space: nowrap;
  font-weight: 800; font-size: clamp(220px, 46vw, 860px); line-height: 1; color: rgba(237, 230, 218, .035); }
.statement__body { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--rhythm) var(--col-gap);
  padding-top: clamp(48px, 10vh, 120px); }
.st { position: relative; }
.st__n { display: block; margin-bottom: 18px; font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; color: var(--bone); }
.st__n::before { content: ""; display: inline-block; width: 18px; height: 2px; margin-right: 10px; vertical-align: .3em; background: var(--blood); }
.st--1 { grid-column: 1 / span 11; font-weight: 700; font-size: clamp(28px, 3.7vw, 64px); line-height: 1.1; letter-spacing: -.012em; color: var(--bone); text-wrap: balance; }
.st--2 { grid-column: 2 / span 5; }
.st--3 { grid-column: 8 / span 5; margin-top: 18vh; }
.st--2 p, .st--3 p { font-family: 'Newsreader', var(--f-ar); font-weight: 400; font-size: clamp(18px, 1.32vw, 19px); line-height: 1.55; letter-spacing: -.005em;
  color: var(--body); max-width: 62ch; text-wrap: pretty; font-optical-sizing: auto; }
.st--4 { grid-column: 1 / -1; font-family: var(--f-display); text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(40px, 7.4vw, 136px); line-height: .9; color: var(--bone); text-wrap: balance; }
.st--4 .w--hl { color: var(--blood); }
.w { display: inline-block; will-change: transform, opacity, filter; }

.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--rhythm); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 26px 0 0 clamp(14px, 1.6vw, 28px); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd { font-family: var(--f-display); font-size: clamp(54px, 7.6vw, 140px); line-height: .86; letter-spacing: -.02em; color: var(--bone); font-variant-numeric: tabular-nums; }
.stat dt { margin-top: 14px; font: 500 var(--micro)/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); }
.stat:nth-child(2) dd { color: var(--blood); }

/* ==========================================================================
   4 · DISCOGRAPHY (pinned horizontal)
   ========================================================================== */
.disco { position: relative; padding-top: calc(var(--rhythm) * .6); }
.disco__pin { position: relative; min-height: 100vh; display: flex; flex-direction: column; padding-top: clamp(28px, 6vh, 64px); padding-bottom: clamp(20px, 4vh, 48px); overflow: hidden; }
.disco__head { display: grid; grid-template-columns: 1fr; gap: 20px; }
.rail-prog { display: flex; align-items: center; gap: 18px; font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); }
.rail-prog__count { white-space: nowrap; }
.rail-prog__count b { color: var(--bone); font-weight: 500; }
.rail-prog__bar { position: relative; flex: 1; height: 2px; background: var(--line); }
.rail-prog__bar i { position: absolute; inset: 0; background: var(--blood); transform: scaleX(.02); transform-origin: left; }
.rail-prog__cue { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--bone); }
.rail-prog__cue .arr-r { animation: nudge 1.8s var(--ease-3) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
/* edge fades: right always (until the end), left once scrolled */
.rail-mask { --fl: 0px; --fr: 12vw; transition: --fl .6s var(--ease-out), --fr .6s var(--ease-out);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%); }
.rail-mask.is-scrolled { --fl: 8vw; }
.rail-mask.is-end { --fr: 0px; }
.disco__rail { flex: 1; display: flex; align-items: center; margin-top: clamp(16px, 3vh, 36px); }
.disco__track { display: flex; gap: clamp(24px, 4vw, 80px); padding: 0 var(--gut); width: max-content; will-change: transform; }
.card { --cw: min(46vw, 620px, max(250px, calc(100vh - 560px))); position: relative; flex: none; width: var(--cw); container: card / inline-size; }
.card__btn { display: block; width: 100%; text-align: left; position: relative; }
.card__btn::before { content: ""; position: absolute; z-index: 3; left: -12px; top: 0; bottom: 0; width: 2px; background: var(--blood);
  transform: scaleY(0); transform-origin: top; transition: transform .9s var(--ease-out); }
.card__btn:hover::before, .card__btn:focus-visible::before { transform: scaleY(1); }
.card__top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; color: var(--bone-dim); text-transform: uppercase; }
.card__top b { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3vw, 48px); letter-spacing: -.02em; line-height: .8; color: var(--blood); }
.card__frame { display: block; position: relative; overflow: hidden; aspect-ratio: 1; background: var(--ink-2); transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out); }
.card__frame img { width: 116%; height: 100%; max-width: none; object-fit: cover; position: absolute; left: -8%; top: 0; will-change: transform; }
.card__frame::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); }
.card__btn:hover .card__frame, .card__btn:focus-visible .card__frame { transform: translateY(-10px); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .95); }
.card__title { display: block; margin-top: 18px; font-family: var(--f-display); text-transform: uppercase; letter-spacing: -.02em; line-height: .86;
  font-size: min(clamp(34px, 4.6vw, 84px), calc(var(--cw) * .118)); transition: transform .7s var(--ease-out), color .4s; }
.card__title[lang="ar"] { font-family: var(--f-ar); font-weight: 800; line-height: 1.05; }
.card__btn:hover .card__title, .card__btn:focus-visible .card__title { transform: translateX(8px); }
.card__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font: 500 var(--micro)/1.4 var(--f-mono); letter-spacing: .12em; color: var(--bone-dim); text-transform: uppercase; }
.card__info { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container card (max-width: 300px) { .card__dur { display: none; } }
.card__open { color: var(--bone); display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.card__open i { display: inline-block; width: 22px; height: 1px; background: var(--blood); transition: width .6s var(--ease-out); }
.card__btn:hover .card__open i { width: 40px; }

/* ==========================================================================
   5 · DRAWER
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(10, 9, 8, .78); cursor: pointer; }
.drawer__panel { position: absolute; top: 0; bottom: 0; right: 0; left: clamp(0px, 5vw, 96px); background: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); border-left: 1px solid var(--line); }
.has-player .drawer__panel { bottom: calc(var(--player-h) + var(--safe)); }
.drawer__close { position: fixed; z-index: 5; top: clamp(16px, 3vh, 30px); right: var(--gut); display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; background: var(--ink); border: 1px solid var(--line);
  font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; color: var(--bone); }
.drawer__close i { position: relative; width: 26px; height: 26px; }
.drawer__close i::before, .drawer__close i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--blood); transition: transform .6s var(--ease-out); }
.drawer__close i::before { transform: rotate(45deg); }
.drawer__close i::after { transform: rotate(-45deg); }
.drawer__close:hover i::before { transform: rotate(135deg); }
.drawer__close:hover i::after { transform: rotate(45deg); }
.drawer__art { position: sticky; top: 0; height: 100vh; height: 100dvh; padding: clamp(24px, 5vh, 56px); display: flex; flex-direction: column; justify-content: center; gap: 18px;
  background: var(--ink-2); border-right: 1px solid var(--line); overflow: hidden; }
.has-player .drawer__art { height: calc(100dvh - var(--player-h)); }
.drawer__art figure { position: relative; width: min(100%, 76vh); margin: 0 auto; aspect-ratio: 1; }
.drawer__art img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 1); }
.drawer__art figure::before { content: ""; position: absolute; inset: 0; translate: -14px 14px; background: var(--blood-deep); z-index: -1; }
.drawer__artcap { width: min(100%, 76vh); margin: 0 auto; display: flex; justify-content: space-between; font: 500 var(--micro)/1.4 var(--f-mono); letter-spacing: .12em; color: var(--bone-dim); text-transform: uppercase; }
.drawer__body { padding: clamp(72px, 14vh, 140px) var(--gut) clamp(96px, 16vh, 160px) clamp(24px, 4vw, 72px); min-width: 0; }
.drawer__panel { scroll-padding-bottom: 96px; }
.drawer__kicker { color: var(--bone); }
.drawer__kicker::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; vertical-align: .12em; background: var(--blood); }
.drawer__title { margin-top: 18px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: -.02em; line-height: .86;
  font-size: clamp(48px, 7vw, 132px); overflow-wrap: anywhere; hyphens: auto; }
.drawer__title.is-long { font-size: clamp(40px, 4.8vw, 92px); }
.drawer__title [lang="ar"] { display: block; font-family: var(--f-ar); font-weight: 800; line-height: 1.1; text-transform: none; font-size: 1em; }
.drawer__title .feat { display: block; margin-top: 16px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .12em; color: var(--bone-dim); }
.drawer__meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.drawer__meta span + span::before { content: "·"; color: var(--blood); margin-right: 18px; }
.drawer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.drawer__hint kbd { font: inherit; color: var(--bone); border: 1px solid var(--line); padding: 1px 5px; }
.drawer__more { position: sticky; bottom: 0; height: 0; pointer-events: none; transition: opacity .4s; }
.drawer__more span { position: absolute; left: calc(-1 * clamp(24px, 4vw, 72px)); right: calc(-1 * var(--gut)); bottom: 0; height: 110px; display: flex; align-items: flex-end; gap: 10px;
  padding: 0 var(--gut) 18px clamp(24px, 4vw, 72px); background: linear-gradient(to bottom, rgba(10, 9, 8, 0), var(--ink) 70%);
  font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone); }
.drawer__more b { font-weight: 500; color: var(--bone); animation: drop 1.6s var(--ease-3) infinite; }
.drawer__more em { font-style: normal; color: var(--bone-dim); }
@keyframes drop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.drawer__more.is-off { opacity: 0; }
.drawer__nav { margin-top: 40px; display: flex; justify-content: space-between; gap: 18px; }
.drawer__nav button { font: inherit; letter-spacing: inherit; text-transform: uppercase; color: var(--bone-dim); text-align: left; max-width: 48%; transition: color .3s; }
.drawer__nav button:last-child { text-align: right; margin-left: auto; }
.drawer__nav button:hover { color: var(--bone); }
.drawer__nav .arr-r { vertical-align: middle; margin: 0 6px; }
.drawer__nav button:first-child .arr-r { transform: scaleX(-1); }
.drawer__nav button span { display: block; margin-top: 6px; color: var(--bone); font-size: 13px; letter-spacing: .04em; text-transform: none; font-family: var(--f-ar); }

.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 22px; font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--bone); transition: background .4s, color .4s, border-color .4s; }
.btn--solid { background: var(--blood-deep); border-color: var(--blood); color: var(--bone); }
.btn--solid::before { content: ""; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.btn--solid[aria-pressed="true"]::before { width: 8px; height: 10px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.btn--solid:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }

/* track rows */
.tracks { margin-top: 8px; }
.track { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 44px; align-items: center; gap: 0 16px; min-height: 64px; padding: 10px 0 10px 14px;
  border-bottom: 1px solid var(--line); cursor: pointer; transition: background .35s; }
.track::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blood); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.track:hover, .track.is-current { background: rgba(237, 230, 218, .035); }
.track:hover::before, .track.is-current::before { transform: scaleY(1); }
.track__n { font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; color: var(--bone-dim); font-variant-numeric: tabular-nums; }
.track.is-current .track__n { color: var(--bone); }
.track__t { unicode-bidi: isolate; font-weight: 700; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.25; color: var(--bone); min-width: 0; overflow-wrap: anywhere; text-align: left; }
.track__t[lang="ar"] { font-weight: 800; font-size: clamp(20px, 1.8vw, 26px); }
.track__t small { display: block; direction: ltr; text-align: left; margin-top: 2px; font: 400 var(--micro)/1.4 var(--f-mono); letter-spacing: .12em; color: var(--bone-dim); text-transform: uppercase; }
.track__d { font: 400 var(--micro)/1 var(--f-mono); letter-spacing: .12em; color: var(--bone-dim); font-variant-numeric: tabular-nums; }

/* round play toggle used everywhere */
.play { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--bone); flex: none;
  transition: border-color .3s, background .3s, color .3s; }
.play::before { content: ""; margin-left: 3px; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.play[aria-pressed="true"] { background: var(--blood); border-color: var(--blood); }
.play[aria-pressed="true"]::before { margin: 0; width: 10px; height: 12px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.play:hover, .track:hover .play { border-color: var(--blood); }

/* ==========================================================================
   6 · SINGLES ARCHIVE (asymmetric)
   ========================================================================== */
.archive { position: relative; padding-top: var(--rhythm); padding-bottom: calc(var(--rhythm) + var(--safe)); }
.archive__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-cue { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; color: var(--bone-dim); transition: color .3s, border-color .3s, background .3s; }
.chip { color: var(--bone); }
.chip:hover { border-color: var(--bone-dim); }
.chip[aria-pressed="true"] { color: var(--bone); border-color: var(--blood); background: var(--blood-deep); }
.archive__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 7vh, 80px) var(--col-gap); margin-top: clamp(48px, 9vh, 110px); align-items: start; }
.single { position: relative; transition: opacity .5s var(--ease-out); }
.single.is-out { display: none; }
.single[data-p="a"] { grid-column: 1 / span 5; }
.single[data-p="b"] { grid-column: 7 / span 3; margin-top: 16vh; }
.single[data-p="c"] { grid-column: 10 / span 3; margin-top: 4vh; }
.single[data-p="d"] { grid-column: 2 / span 3; }
.single[data-p="e"] { grid-column: 6 / span 4; margin-top: 12vh; }
.single[data-p="f"] { grid-column: 10 / span 3; margin-top: -2vh; }
.single__open { display: block; width: 100%; text-align: start; }
.single__frame { display: block; position: relative; overflow: hidden; aspect-ratio: 1; background: var(--ink-2); }
.single__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter .6s; filter: saturate(.92); }
.single__frame::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); }
.single__open:hover .single__frame img, .single__open:focus-visible .single__frame img { transform: scale(1.07); filter: saturate(1.05); }
.single__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; color: var(--bone-dim); }
.single__row b { font-weight: 500; color: var(--bone); }
.single__yr { display: inline-block; transition: transform .6s var(--ease-out), color .3s; }
.single__open:hover .single__yr { transform: translateX(-10px); color: var(--bone); }
.single__t { display: block; margin-top: 10px; font-family: var(--f-display); text-transform: uppercase; letter-spacing: -.02em; line-height: .9; font-size: clamp(26px, 2.5vw, 46px); color: var(--bone); transition: color .35s; overflow-wrap: anywhere; }
.single[data-p="a"] .single__t { font-size: clamp(34px, 4vw, 72px); }
.single__t[lang="ar"] { font-family: var(--f-ar); font-weight: 800; line-height: 1.1; font-size: clamp(30px, 2.8vw, 52px); text-transform: none; }
.single[data-p="a"] .single__t[lang="ar"] { font-size: clamp(40px, 4.4vw, 80px); }
.single__t small { display: block; margin-top: 8px; font: 500 var(--micro)/1.4 var(--f-mono); letter-spacing: .12em; color: var(--bone-dim); text-transform: uppercase; direction: ltr; text-align: left; }
.single__open:hover .single__t, .single__open:focus-visible .single__t { color: var(--blood); }
.single__play { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 0 12px 0 6px; min-height: 44px; width: 100%; border: 1px solid rgba(237, 230, 218, .32);
  font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone); text-align: left; transition: border-color .3s, background .3s; }
.single__play:hover, .single__play:focus-visible { border-color: var(--bone); }
.single__play[aria-pressed="true"] { border-color: var(--blood); background: var(--blood-deep); }
.single__play .play { width: 30px; height: 30px; }
.single__play .play::before { border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; }
.single__play[aria-pressed="true"] .play { background: var(--ink); border-color: var(--blood); }
.single__play[aria-pressed="true"] .play::before { margin: 0; width: 8px; height: 10px; border: 0; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.single__play .bars { margin-left: auto; display: none; gap: 2px; align-items: flex-end; height: 12px; }
.single__play[aria-pressed="true"] .bars { display: inline-flex; }
.bars i { width: 2px; background: var(--blood); animation: bar .9s var(--ease-3) infinite alternate; }
.bars i:nth-child(1) { height: 40%; } .bars i:nth-child(2) { height: 100%; animation-delay: -.3s; } .bars i:nth-child(3) { height: 65%; animation-delay: -.6s; }
@keyframes bar { to { transform: scaleY(.25); } }
.bars i { transform-origin: bottom; }

/* ==========================================================================
   7 · FILM (pinned horizontal)
   ========================================================================== */
.film { position: relative; padding-top: calc(var(--rhythm) * .6); }
.film__pin { position: relative; min-height: 100vh; display: flex; flex-direction: column; padding-top: clamp(28px, 6vh, 64px); padding-bottom: clamp(20px, 4vh, 40px); overflow: hidden; }
.film__head { display: flex; flex-direction: column; gap: 18px; }
.film__rail { flex: 1; display: flex; align-items: center; }
.film__track { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); padding: 6vh var(--gut); width: max-content; will-change: transform; }
.film__card img, .film img { filter: brightness(1.14) contrast(1.04); }
.frame { flex: none; width: clamp(280px, 32vw, 560px); }
.frame:nth-child(odd) { margin-top: 7vh; }
.frame:nth-child(3n) { margin-top: -5vh; }
.frame__a { display: block; }
.frame__img { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-2); }
.frame__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(.8); transform: scale(1.04); transition: filter .7s var(--ease-out), transform 1.1s var(--ease-out); }
.frame__img::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); }
.frame__a:hover .frame__img img, .frame__a:focus-visible .frame__img img { filter: brightness(1) saturate(1.05); transform: scale(1.0); }
.frame__glyph { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; translate: -50% -50%; }
.frame__glyph circle, .frame__glyph path { fill: none; stroke: var(--blood); stroke-width: 2; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1s var(--ease-out); }
.frame__glyph path { fill: var(--blood); fill-opacity: 0; transition: stroke-dashoffset 1s var(--ease-out), fill-opacity .5s .35s; }
.frame__a:hover .frame__glyph circle, .frame__a:hover .frame__glyph path,
.frame__a:focus-visible .frame__glyph circle, .frame__a:focus-visible .frame__glyph path { stroke-dashoffset: 0; }
.frame__a:hover .frame__glyph path, .frame__a:focus-visible .frame__glyph path { fill-opacity: 1; }
.frame__num { white-space: nowrap; position: absolute; left: 10px; top: 10px; padding: 4px 6px; background: var(--ink); font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; color: var(--bone); }
.frame__cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.frame__t { font-weight: 700; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.3; color: var(--bone);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.frame__t bdi[lang="ar"] { font-weight: 800; }
.frame__w { font: 500 var(--micro)/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); white-space: nowrap; transition: color .3s; }
.frame__a:hover .frame__w, .frame__a:focus-visible .frame__w { color: var(--bone); text-decoration: underline; text-decoration-color: var(--blood); text-underline-offset: 4px; }

/* ==========================================================================
   8 · QUOTE
   ========================================================================== */
.quote { position: relative; min-height: 120vh; display: flex; align-items: center; padding: var(--rhythm) 0; overflow: hidden; background: var(--ink); }
.quote__img { position: absolute; left: 0; top: -12%; bottom: -12%; width: 44vw; overflow: hidden; z-index: 0; }
.quote__img img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 30%; filter: grayscale(1) contrast(1.1) brightness(.8); will-change: transform, filter; }
.quote__img::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 9, 8, .1) 0%, rgba(10, 9, 8, .25) 55%, var(--ink) 100%), linear-gradient(0deg, var(--ink) 0, transparent 22%, transparent 78%, var(--ink) 100%); }
.quote__inner { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--col-gap); }
.quote__inner .sec-head { grid-column: 6 / -1; border-bottom: 0; }
.quote__inner .sec-head__title { font-size: clamp(28px, 3vw, 52px); }
.quote__q { grid-column: 4 / -1; margin-top: 6vh; }
.quote__ar { font-weight: 800; font-size: clamp(48px, 7.6vw, 150px); line-height: 1.05; color: var(--bone); text-align: right; text-wrap: balance; }
.quote__ar .w--hl { color: var(--blood); }
.quote__en { display: block; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); text-align: right; font-size: 12px; }
.quote__en::before { content: "— "; color: var(--blood); }

/* ==========================================================================
   9 · FOOTER
   ========================================================================== */
.foot { position: relative; padding-top: var(--rhythm); border-top: 1px solid var(--line); overflow: hidden; background: var(--ink); }
.foot__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--col-gap); }
.foot__col { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 18px; }
.foot__col .idx { color: var(--bone); }
.foot__col--r { grid-column: 7 / -1; align-items: flex-end; text-align: right; }
.foot__links { display: grid; grid-template-columns: auto max-content auto; gap: 4px 0; justify-content: start; }
.foot__links li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
.foot__links a { position: relative; display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: 18px; align-items: baseline; padding: 6px 0; font-family: var(--f-display); text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(36px, 4.4vw, 76px); line-height: .9; color: var(--bone); transition: color .3s; }
.foot__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blood); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease-out); }
.foot__links a:hover::after, .foot__links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.foot__links a small { font: 500 var(--micro)/1 var(--f-mono); letter-spacing: .12em; color: var(--bone-dim); }
.foot__links a .host { padding-left: 18px; white-space: nowrap; }
.foot__links a:hover .host, .foot__links a:focus-visible .host { color: var(--bone); }
.foot__ar { font-weight: 800; font-size: clamp(44px, 6vw, 110px); line-height: 1.05; color: var(--bone); }
.foot__credit { max-width: 46ch; font-family: 'Newsreader', var(--f-ar); font-weight: 400; font-size: 18px; line-height: 1.55; letter-spacing: -.005em;
  text-transform: none; color: var(--body); }
.foot__top-btn { display: inline-flex; gap: 10px; color: var(--bone); padding: 10px 0; border-bottom: 1px solid var(--blood); }
.foot__mark { margin-top: clamp(60px, 12vh, 140px); height: 9.6vw; overflow: hidden; display: flex; justify-content: flex-start; align-items: flex-start; padding: 0 var(--gut); }
.foot__mark > span { display: block; font-family: var(--f-display); text-transform: uppercase; letter-spacing: -.02em; line-height: .82; white-space: nowrap;
  font-size: 13.6vw; color: var(--bone); transform: translateY(2%); }

/* ==========================================================================
   10 · PLAYER
   ========================================================================== */
.player { position: fixed; z-index: 105; left: 0; right: 0; bottom: 0; height: calc(var(--player-h) + var(--safe)); padding-bottom: var(--safe); display: grid; align-items: center;
  grid-template-columns: var(--player-h) minmax(160px, 1.3fr) auto minmax(200px, 2fr) 150px; gap: 0 clamp(14px, 2vw, 32px); padding-right: var(--gut);
  background: var(--ink); border-top: 1px solid var(--line); transform: translateY(105%); transition: transform .9s var(--ease-out); }
.player.is-on { transform: none; }
.player__art { width: var(--player-h); height: var(--player-h); background: var(--ink-2); overflow: hidden; }
.player__art img { width: 100%; height: 100%; object-fit: cover; }
.player__info { min-width: 0; }
.player__title { unicode-bidi: plaintext; font-weight: 700; font-size: 15px; line-height: 1.25; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__rel { display: block; max-width: 100%; margin-top: 3px; font: 400 var(--micro)/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.player__rel:hover { color: var(--bone); }
.player__ctrls { display: flex; align-items: center; gap: 6px; }
.pbtn { display: grid; place-items: center; width: 36px; height: 36px; color: var(--bone); transition: color .3s; }
.pbtn svg { width: 18px; height: 18px; fill: currentColor; }
.pbtn:hover { color: var(--blood); }
.pbtn--main { width: 44px; height: 44px; border-radius: 50%; background: var(--bone); color: var(--ink); }
.pbtn--main:hover { background: var(--blood); color: var(--bone); }
.pbtn--main .i-pause { display: none; }
.pbtn--main[aria-pressed="true"] .i-play { display: none; }
.pbtn--main[aria-pressed="true"] .i-pause { display: block; }
.pbtn--sm { width: 30px; }
.pbtn[aria-pressed="true"] .w { opacity: .15; }
.player__prog { display: flex; align-items: center; gap: 14px; min-width: 0; }
.player__time { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--bone); min-width: 9.5ch; }
.player__vol { display: flex; align-items: center; gap: 8px; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; cursor: pointer; --p: 0%; }
.range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--blood) var(--p), var(--line) var(--p)); }
.range::-moz-range-track { height: 2px; background: var(--line); }
.range::-moz-range-progress { height: 2px; background: var(--blood); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -5px; border-radius: 50%; background: var(--bone); border: 0; }
.range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--bone); border: 0; }
.range:focus-visible { outline-offset: 2px; }

.fatal { position: relative; z-index: 2; margin: 40px var(--gut); padding: 14px 0; border-top: 1px solid var(--blood); color: var(--bone); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .player { grid-template-columns: var(--player-h) minmax(120px, 1fr) auto minmax(160px, 1.4fr); }
  .player__vol { display: none; }
}

@media (max-width: 900px) {
  :root { --rhythm: max(12vh, 84px); }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .idx { padding: 0 0 10px; }
  .sec-head__ar { justify-self: end; margin-top: 6px; }

  /* hero */
  .hero__ar { bottom: calc(var(--tick) + var(--safe-b) + var(--ph) * .3); }
  .hero__side { display: none; }
  .kicker { flex-direction: column; gap: 0; }
  .kicker i { display: none; }

  /* statement */
  .st--1 { grid-column: 1 / -1; }
  .st--2 { grid-column: 1 / -1; }
  .st--3 { grid-column: 1 / -1; margin-top: 0; }
  .st--2, .st--3 { max-width: 62ch; }
  .st--3 { justify-self: end; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 26px; }

  /* discography: native scroll-snap rail */
  .disco__pin { min-height: 0; }
  .disco__rail { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .disco__rail::-webkit-scrollbar, .film__rail::-webkit-scrollbar { display: none; }
  .disco__track { gap: 18px; }
  .disco__rail, .film__rail { scroll-padding-left: var(--gut); }
  .card { --cw: 78vw; scroll-snap-align: start; }
  .rail-mask { --fr: 14vw; }
  .card__frame img { width: 100%; left: 0; }

  /* singles: equal cells, top-aligned (3-up tablet, 2-up phone) */
  .archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--col-gap); align-items: start; }
  .single[data-p] { grid-column: auto; margin-top: 0; }
  .single[data-p] .single__t { font-size: clamp(22px, 3.6vw, 32px); }
  .single[data-p] .single__t[lang="ar"] { font-size: clamp(24px, 4vw, 36px); }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% + 2 * var(--gut)); margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .archive__bar { flex-direction: column; align-items: flex-start; }
  .chips-cue { display: inline-flex; align-self: flex-end; align-items: center; gap: 8px; margin-top: -6px; color: var(--bone); transition: opacity .4s; }
  .archive__bar.is-end .chips-cue { opacity: 0; }
  .archive__bar.is-end .chips { -webkit-mask-image: none; mask-image: none; }

  /* film: native rail */
  .film__pin { min-height: 0; }
  .film__rail { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .frame { width: 78vw; scroll-snap-align: start; }
  .frame:nth-child(odd), .frame:nth-child(3n) { margin-top: 0; }
  .frame:nth-child(even) { margin-top: 4vh; }
  .film__track { align-items: flex-start; padding-top: 4vh; padding-bottom: 4vh; }

  /* quote */
  .quote { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 0; }
  .quote__img { position: relative; left: auto; top: auto; bottom: auto; width: 100%; height: 72vh; }
  .quote__img::after { background: linear-gradient(0deg, var(--ink) 0, transparent 40%), linear-gradient(180deg, var(--ink) 0, transparent 20%); }
  .quote__inner { margin-top: -18vh; }
  .quote__inner .sec-head, .quote__q { grid-column: 1 / -1; }
  .quote__ar { font-size: clamp(44px, 12vw, 96px); }

  /* footer */
  .foot__col, .foot__col--r { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
  .foot__ar { text-align: right; align-self: stretch; }

  /* drawer */
  .drawer__panel { left: 0; display: block; border-left: 0; }
  .drawer__art { position: relative; height: auto; padding: 0; background: var(--ink); border-right: 0; }
  .drawer__art figure { width: 100%; aspect-ratio: auto; height: min(56vh, 100vw); }
  .drawer__art figure::before { display: none; }
  .drawer__art figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0, transparent 45%); }
  .drawer__art img { box-shadow: none; }
  .drawer__artcap { width: auto; margin: 0; padding: 0 var(--gut); gap: 12px; }
  .has-player .drawer__art { height: auto; }
  .drawer__body { padding: 28px var(--gut) 80px; }
  .drawer__more span { left: calc(-1 * var(--gut)); padding-left: var(--gut); }
  .drawer__close { background: var(--ink); padding: 10px 12px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 12px; }
  .archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .single__play { padding: 0 8px 0 4px; gap: 8px; }
  .single__play .bars { display: none !important; }
  .hero__scroll { display: none; }
  .hero__cta { right: var(--gut); align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .rail-prog { flex-wrap: wrap; gap: 10px 14px; }
  .rail-prog__bar { order: 3; flex-basis: 100%; }
  .track { grid-template-columns: 30px minmax(0, 1fr) 40px; gap: 0 12px; padding-left: 10px; }
  .track__d { display: none; }
  .drawer__title { font-size: clamp(44px, 14vw, 80px); }
  .drawer__title.is-long { font-size: clamp(36px, 10vw, 60px); }
  .player { grid-template-columns: var(--player-h) minmax(0, 1fr) auto; padding-right: 10px; gap: 0 12px; }
  .player__prog { position: absolute; left: 0; right: 0; top: -9px; gap: 0; }
  .player__time { display: none; }
  .player__prev, #pPrev { display: none; }
  .stat dd { font-size: clamp(48px, 15vw, 80px); }
}

/* ---------- Reduced motion: static, still beautiful ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  body::after { animation: none; }
  .hero__scan { display: none; }
  .ticker__track { animation: none; }
  .covers__row { overflow-x: auto; scrollbar-width: none; }
  .disco__rail, .film__rail { overflow-x: auto; scroll-snap-type: x mandatory; }
  .card, .frame { scroll-snap-align: start; }
  .quote__img img { filter: grayscale(.2) contrast(1.05); }
}

@media (min-width: 1800px) {
  .hero { --hx: calc(46vw - 3px); }
}
