/* =========================================================================
   All Stars Music — site styles
   Tokens → base → layout → components → pages. Logical properties keep RTL (Arabic) correct.
   ========================================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  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: "Archivo";
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  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: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); font-weight: 700 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --bg-3: #1b1b1e;
  --ink: #f4f1ec;
  --ink-2: #d6d1ca;
  --muted: #a29d96;
  --line: rgba(244, 241, 236, 0.12);
  --line-strong: rgba(244, 241, 236, 0.24);
  --red: #ef3524;          /* logo red — accents and large type */
  --red-strong: #d42a1a;   /* button fill, AA contrast with white text */
  --red-deep: #a81e10;
  --success: #3ccf8e;

  --font-display: "Archivo", "Plex Arabic", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Plex Arabic", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
/* The canvas colour shows before <body> exists and behind transitions: keep it dark to avoid white flashes. */
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(ar) body, body:lang(ar) { line-height: 1.8; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }
main { display: block; min-height: 60vh; }
main:focus { outline: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 100; padding: 10px 16px; background: var(--red-strong); color: #fff; border-radius: var(--radius-sm); transform: translateY(-200%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }

/* ---------------------------------------------------------------- Type */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.025em;
  line-height: 1;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  text-wrap: balance;
}
.display-xl { font-size: clamp(2.6rem, 7.4vw, 6.6rem); line-height: .95; letter-spacing: -0.035em; }
.display-sm { font-size: clamp(1.6rem, 3vw, 2.4rem); }
:lang(ar) .display { font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-block-end: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow-light { color: #fff; }
:lang(ar) .eyebrow { letter-spacing: 0; font-size: .9rem; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 62ch; margin-block-start: 22px; }
.meta { font-size: .8rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; font-weight: 600; }
:lang(ar) .meta { text-transform: none; letter-spacing: 0; }

/* ---------------------------------------------------------------- Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red-strong); color: #fff; }
.btn-primary:hover { background: var(--red-deep); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.04); }
.btn-dark { background: var(--bg); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 34px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; color: var(--ink); }
.arrow-link::after { content: "→"; transition: transform .2s var(--ease); color: var(--red); }
[dir="rtl"] .arrow-link::after { content: "←"; }
.arrow-link:hover::after, .card-link:hover .arrow-link::after { transform: translateX(4px); }
[dir="rtl"] .arrow-link:hover::after, [dir="rtl"] .card-link:hover .arrow-link::after { transform: translateX(-4px); }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* ---------------------------------------------------------------- Header */
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would become the
   containing block of the fixed mobile menu and collapse it. */
.site-header { position: sticky; inset-block-start: 0; z-index: 50; border-block-end: 1px solid transparent; transition: border-color .3s; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 11, 12, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  transition: background .3s;
}
.site-header.is-scrolled { border-block-end-color: var(--line); }
.site-header.is-scrolled::before { background: rgba(11, 11, 12, .94); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav ul a {
  display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none;
  color: var(--ink-2); font-weight: 550; font-size: .95rem; transition: color .2s, background .2s;
}
.main-nav ul a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.main-nav ul a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.08); }
.nav-cta { min-height: 42px; padding: 10px 18px; }
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a { padding: 5px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.menu-toggle { display: none; }

@media (max-width: 1100px) {
  .main-nav ul a { padding: 8px 9px; font-size: .9rem; }
  .main-nav { gap: 14px; }
}
@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .brand img { height: 44px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  }
  .menu-icon { position: relative; width: 18px; height: 12px; }
  .menu-icon span { position: absolute; inset-inline: 0; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
  .menu-icon span:first-child { top: 0; }
  .menu-icon span:last-child { top: 10px; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:first-child { top: 5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:last-child { top: 5px; transform: rotate(-45deg); }
  .lang-switch { margin-inline-start: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 28px var(--gutter) 40px; background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a {
    padding: 16px 0; border-radius: 0; border-block-end: 1px solid var(--line); background: none !important;
    font-family: var(--font-display); font-stretch: 115%; font-weight: 750; font-size: 1.6rem; color: var(--ink);
  }
  .main-nav ul a[aria-current="page"] { color: var(--red); }
  .nav-cta { min-height: 54px; }
  body.menu-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 11vw, 150px) clamp(40px, 6vw, 72px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; z-index: -2;
  background: radial-gradient(closest-side, rgba(239, 53, 36, .32), rgba(239, 53, 36, 0) 70%);
  filter: blur(10px);
}
[dir="rtl"] .hero::before { inset: -20% auto auto -10%; }
.hero-inner { position: relative; }
@media (min-width: 981px) { .hero-inner { padding-inline-end: calc(var(--gutter) + min(36vw, 460px) + 32px); } }
.hero .display-xl { max-width: 14ch; }
.hero .lead { max-width: 58ch; }
.hero-bars {
  position: absolute; z-index: -1; inset-block: 12% 26%; inset-inline-end: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: flex; align-items: center; gap: clamp(8px, 1.4vw, 20px); width: min(36vw, 460px); opacity: .9;
}
.hero-bars i {
  flex: 1; border-radius: 4px; background: linear-gradient(180deg, var(--red), var(--red-deep));
  height: calc(28% + var(--n) * 14%); transform-origin: center;
}
.hero-bars i:nth-child(1) { --n: 0; opacity: .35; }
.hero-bars i:nth-child(2) { --n: 1; opacity: .5; }
.hero-bars i:nth-child(3) { --n: 2; opacity: .65; }
.hero-bars i:nth-child(4) { --n: 3; opacity: .8; }
.hero-bars i:nth-child(5) { --n: 4; flex: 3.2; height: 92%; opacity: 1; border-radius: 6px 18px 18px 6px; }
[dir="rtl"] .hero-bars { flex-direction: row-reverse; }
@media (prefers-reduced-motion: no-preference) {
  .hero-bars i:not(:last-child) { animation: eq 1.8s var(--ease) infinite alternate; }
  .hero-bars i:nth-child(2) { animation-delay: -.4s; }
  .hero-bars i:nth-child(3) { animation-delay: -.8s; }
  .hero-bars i:nth-child(4) { animation-delay: -1.2s; }
}
@keyframes eq { from { transform: scaleY(.72); } to { transform: scaleY(1.06); } }
@media (max-width: 980px) {
  .hero { display: flex; flex-direction: column; }
  .hero-bars { position: relative; inset: auto; order: 2; width: auto; height: 96px; margin: 44px var(--gutter) 0; opacity: .85; }
  .hero > .container:last-child { order: 3; }
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(56px, 8vw, 96px) 0 0;
  border-block-start: 1px solid var(--line);
}
.stats > div { padding: 26px 24px 0 0; border-inline-end: 1px solid var(--line); padding-inline-start: 24px; }
.stats > div:first-child { padding-inline-start: 0; }
.stats > div:last-child { border-inline-end: 0; }
.stats dt { color: var(--muted); font-size: .9rem; order: 2; }
.stats dd { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-stretch: 120%; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 22px 16px 22px 0; border-block-end: 1px solid var(--line); }
  .stats > div:nth-child(2n) { border-inline-end: 0; padding-inline-start: 16px; }
  .stats > div:nth-child(2n+1) { padding-inline-start: 0; }
}

/* ---------------------------------------------------------------- Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; background: var(--bg-2); }
.ticker-track { display: flex; gap: 0; width: max-content; }
.ticker span {
  display: inline-flex; align-items: center; gap: 28px; padding-inline-end: 28px;
  font-family: var(--font-display); font-weight: 800; font-stretch: 122%; font-size: clamp(1.1rem, 2.2vw, 1.6rem); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap;
}
.ticker span::after { content: "✦"; color: var(--red); font-size: .8em; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: marquee 40s linear infinite; }
  [dir="rtl"] .ticker-track { animation-direction: reverse; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-flush-top { padding-block-start: 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-block-end: clamp(32px, 4vw, 56px); max-width: 860px; }
.section-head.with-link { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head.with-link .arrow-link { flex: none; margin-block-end: 6px; }
@media (max-width: 640px) { .section-head.with-link { flex-direction: column; align-items: flex-start; } }

.page-hero { padding-block: clamp(48px, 8vw, 104px) clamp(36px, 5vw, 64px); }
.page-hero .display { max-width: 20ch; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-block-end: 26px; font-size: .85rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------------------------------------------------------------- Grids & cards */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-catalogs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.grid-artists { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-brands { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-artists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 1100px) { .grid-artists { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-artists { grid-template-columns: 1fr 1fr; } }

.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding-block-start: 16px; }
.card-body h3 { font-family: var(--font-display); font-stretch: 110%; font-weight: 750; font-size: 1.3rem; letter-spacing: -.01em; }
.card-body p:not(.meta) { color: var(--ink-2); font-size: .95rem; }

.cover { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.cover-square { aspect-ratio: 1; }
.cover-portrait { aspect-ratio: 4 / 5; }
.cover-wide { aspect-ratio: 16 / 10; }
.cover-video { aspect-ratio: 16 / 9; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-link:hover .cover img { transform: scale(1.04); }
.cover-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(90% 70% at 50% 50%, color-mix(in srgb, var(--cover-accent) 26%, transparent), transparent 70%),
    linear-gradient(160deg, #1b1b1f, #0d0d0f);
}
.fingerprint { width: 92%; height: 92%; overflow: visible; transition: transform 1.2s var(--ease); }
.fp-wave line { stroke: var(--cover-accent); stroke-width: 1.15; stroke-linecap: round; opacity: calc(.45 + mod(var(--d), 3) * .2); }
.fp-grooves circle { fill: none; stroke: rgba(255,255,255,.07); stroke-width: .35; }
.fp-label { fill: var(--cover-accent); }
.fp-hole { fill: #0d0d0f; }
.card-link:hover .fingerprint { transform: rotate(24deg) scale(1.04); }
@media (prefers-reduced-motion: no-preference) {
  .fp-wave line { transform-origin: 50px 50px; animation: fp-in .9s var(--ease) both; animation-delay: calc(var(--d) * 6ms); }
}
@keyframes fp-in { from { transform: scale(.82); opacity: 0; } }

/* Catalog card */
.catalog-card { --accent: var(--red); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--bg-2); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.catalog-card:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateY(-3px); }
.catalog-card .card-body { padding: 22px 24px 26px; flex: 1; }
.catalog-card h3 { font-size: 1.7rem; }
.catalog-visual {
  position: relative; aspect-ratio: 16 / 8; overflow: hidden;
  background: radial-gradient(120% 120% at 0% 100%, color-mix(in srgb, var(--accent) 70%, #000) 0%, #111 70%);
}
.catalog-visual img { width: 100%; height: 100%; object-fit: cover; }
.catalog-wave { position: absolute; inset: 22% 24px 22%; display: flex; align-items: center; gap: clamp(2px, .5vw, 6px); }
.catalog-wave i { flex: 1; height: var(--h); border-radius: 3px; background: rgba(255,255,255,.88); opacity: .85; transition: transform .4s var(--ease); }
.catalog-card:hover .catalog-wave i { transform: scaleY(1.12); }
.catalog-card:hover .catalog-wave i:nth-child(2n) { transform: scaleY(.85); }
.badge {
  position: absolute; inset-block-start: 14px; inset-inline-start: 14px;
  padding: 5px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff;
}
.catalog-card.is-own .badge { background: var(--red-strong); }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: auto; padding-block-start: 16px; border-block-start: 1px solid var(--line); }
.card-foot strong { font-family: var(--font-display); font-stretch: 115%; font-size: 1rem; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chips li { padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .78rem; color: var(--ink-2); white-space: nowrap; }
.chips-sm li { padding: 3px 8px; font-size: .72rem; }

/* Artist card */
.artist-card .card-body h3 { font-size: 1.15rem; }
.artist-card .card-body { padding-block-start: 14px; gap: 4px; }

/* Sync card */
.sync-visual { position: relative; }
.play-badge {
  position: absolute; inset-block-end: 14px; inset-inline-end: 14px; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--red-strong); color: #fff;
  transition: transform .3s var(--ease);
}
.play-badge svg { width: 20px; height: 20px; fill: currentColor; margin-inline-start: 2px; }
.card-link:hover .play-badge { transform: scale(1.08); }

/* Post / guide cards */
.post-card .card-link, .guide-card .card-link { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); transition: border-color .3s, background .3s; }
.post-card .card-link:hover, .guide-card .card-link:hover { border-color: var(--line-strong); background: var(--bg-3); }
.post-card .cover { margin: -10px -10px 8px; }
.post-card h3, .guide-card h3 { font-size: 1.3rem; }
.post-card .arrow-link, .guide-card .arrow-link { margin-block-start: auto; padding-block-start: 12px; }
.guide-card .card-link { gap: 10px; }
.guide-card h3 { font-family: var(--font-display); font-stretch: 110%; font-weight: 750; }
.guide-card p { color: var(--ink-2); }
.guide-group + .guide-group { margin-block-start: 56px; }

/* Brand card */
.brand-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.brand-card h2 { font-size: 1.15rem; }
.brand-card .arrow-link { margin-block-start: auto; font-size: .9rem; }
.brand-logo { display: grid; place-items: center; height: 96px; margin-block-end: 10px; border-radius: var(--radius-sm); background: var(--bg-3); }
.brand-logo img { max-height: 56px; max-width: 70%; object-fit: contain; }
.brand-logo span { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 2rem; color: var(--muted); }

/* Partner wall */
.partner-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; list-style: none; margin-block-start: 26px; }
.partner-wall li { display: flex; align-items: center; min-height: 56px; }
.partner-wall a { text-decoration: none; }
.partner-wall img { max-height: 44px; max-width: 160px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .75; transition: opacity .2s, filter .2s; }
.partner-wall a:hover img { filter: none; opacity: 1; }
.partner-wall span { font-family: var(--font-display); font-weight: 800; font-stretch: 118%; font-size: 1.3rem; color: var(--muted); letter-spacing: -.01em; transition: color .2s; }
.partner-wall a:hover span { color: var(--ink); }

/* ---------------------------------------------------------------- Services */
.services { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-block-start: 1px solid var(--line); }
.services li { padding: 28px 24px 8px 0; padding-inline-start: 24px; border-inline-end: 1px solid var(--line); }
.services li:first-child { padding-inline-start: 0; }
.services li:last-child { border-inline-end: 0; }
.service-num { display: block; font-family: var(--font-display); font-weight: 800; font-stretch: 120%; color: var(--red); margin-block-end: 36px; }
.services h3 { font-family: var(--font-display); font-stretch: 112%; font-size: 1.3rem; margin-block-end: 12px; }
.services p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 980px) {
  .services { grid-template-columns: 1fr 1fr; }
  .services li { border-block-end: 1px solid var(--line); padding-block-end: 28px; }
  .services li:nth-child(2n) { border-inline-end: 0; }
  .services li:nth-child(2n+1) { padding-inline-start: 0; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .services li { border-inline-end: 0; padding-inline: 0 !important; }
  .service-num { margin-block-end: 14px; }
}

/* ---------------------------------------------------------------- ASPM band & CTA */
.aspm-band { background: var(--red); color: #fff; padding-block: clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.aspm-band::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-end: -4%; width: 40%;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 14px, transparent 14px 34px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
}
[dir="rtl"] .aspm-band::after { -webkit-mask-image: linear-gradient(-90deg, transparent, #000); mask-image: linear-gradient(-90deg, transparent, #000); }
.aspm-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.aspm-band .eyebrow { color: #fff; }
.aspm-band p { font-size: 1.1rem; margin-block-end: 28px; color: rgba(255,255,255,.95); }
@media (max-width: 860px) { .aspm-inner { grid-template-columns: 1fr; } }

.cta-band { padding-block: clamp(64px, 10vw, 130px); border-block-start: 1px solid var(--line); background:
  radial-gradient(60% 120% at 50% 120%, rgba(239,53,36,.28), transparent 70%), var(--bg); text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner .display { max-width: 18ch; }
.cta-inner p { color: var(--ink-2); max-width: 56ch; margin-block-start: 20px; font-size: 1.1rem; }
.cta-inner .actions { justify-content: center; }

/* ---------------------------------------------------------------- Filters */
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin-block-end: 32px; padding-block-end: 18px; border-block-end: 1px solid var(--line); }
.filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 220px; }
.filter-field label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.filter-count { margin-inline-start: auto; color: var(--muted); font-size: .85rem; padding-block-end: 14px; }
.filter-empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
[data-filter-item][hidden] { display: none !important; }

input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 40px; }
[dir="rtl"] select { background-position: 20px 52%, 15px 52%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(239,53,36,.35); }
input::placeholder, textarea::placeholder { color: #77726c; }
input[type="date"] { color-scheme: dark; }

/* ---------------------------------------------------------------- Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form-card { padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--bg-2); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-block-end: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field label small { color: var(--muted); font-weight: 400; }
.field label span[aria-hidden] { color: var(--red); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff6b5b; }
.field-error { color: #ff8577; font-size: .85rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; font-weight: 400 !important; }
.check input { flex: none; width: 20px; height: 20px; margin-block-start: 2px; accent-color: var(--red-strong); }
.check.small { font-size: .8rem; }
.site-form .btn { margin-block-start: 24px; }
.notice { padding: 16px 18px; border-radius: var(--radius-sm); margin-block-end: 22px; font-weight: 500; }
.notice:focus { outline: none; }
.notice-success { background: rgba(60, 207, 142, .12); border: 1px solid rgba(60, 207, 142, .4); color: #9ff0c8; }
.notice-error { background: rgba(255, 107, 91, .1); border: 1px solid rgba(255, 107, 91, .4); color: #ffb0a6; }
.contact-aside { display: flex; flex-direction: column; gap: 28px; }
.aside-block h2 { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-block-end: 10px; }
.aside-block a { font-size: 1.05rem; }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }

.link-list { list-style: none; border-block-start: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-block-end: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.link-list a:hover span { color: var(--red); }
.link-list small { color: var(--muted); font-weight: 400; }
.link-list.compact a { padding: 12px 0; font-size: .95rem; }

/* ---------------------------------------------------------------- Detail pages */
.detail-hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); border-block-end: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.catalog-hero { background: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 65%); }
.detail-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.catalog-hero-visual { position: relative; aspect-ratio: 1.15; border-radius: calc(var(--radius) + 8px); overflow: hidden; background: radial-gradient(120% 120% at 0% 100%, color-mix(in srgb, var(--accent) 75%, #000), #111 70%); }
.catalog-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.catalog-wave-lg { inset: 20% 28px 30%; }
.catalog-count { position: absolute; inset-inline-start: 24px; inset-block-end: 20px; color: #fff; font-size: .95rem; }
.catalog-count strong { display: block; font-family: var(--font-display); font-weight: 900; font-stretch: 122%; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.artist-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.artist-portrait { position: sticky; inset-block-start: calc(var(--header-h) + 24px); }
.artist-portrait .cover { border-radius: calc(var(--radius) + 8px); }
.artist-info { padding-block-start: 8px; }
.display-lg { font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: .95; letter-spacing: -.03em; }
:lang(ar) .display-lg { line-height: 1.2; letter-spacing: 0; }
.artist-bio { margin-block-start: 30px; padding-block-start: 28px; border-block-start: 1px solid var(--line); }
.artist-actions { margin-block-start: 30px; }
.artist-info .embed-spotify { margin-block-start: 22px; }
.artist-hero-bg { position: absolute; inset: 0; z-index: -1; opacity: .22; }
.artist-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(30px) saturate(1.2); transform: scale(1.1); }
.icon-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-block-start: 26px; }
.icon-links a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink-2);
  transition: color .25s, border-color .25s, background .25s, transform .25s var(--ease);
}
.icon-links svg { width: 21px; height: 21px; }
.icon-links a:hover, .icon-links a:focus-visible { color: var(--brand); border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); transform: translateY(-2px); }
@media (max-width: 860px) {
  .detail-hero-grid, .artist-layout { grid-template-columns: 1fr; }
  .artist-portrait { position: static; max-width: 420px; }
}

.detail-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-block-start: clamp(28px, 4vw, 48px); }
.section > .detail-layout:first-child { margin-block-start: 0; }
.detail-aside { display: flex; flex-direction: column; gap: 22px; position: sticky; inset-block-start: calc(var(--header-h) + 24px); }
.facts { display: grid; gap: 0; margin: 0; border-block-start: 1px solid var(--line); }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-block-end: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 600; text-align: end; }
@media (max-width: 860px) { .detail-layout { grid-template-columns: 1fr; } .detail-aside { position: static; } }

.prose { font-size: 1.06rem; color: var(--ink-2); max-width: 70ch; }
.prose-lg { font-size: 1.15rem; }
.prose > * + * { margin-block-start: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); font-family: var(--font-display); font-stretch: 110%; margin-block-start: 1.8em; }
.prose h2 { font-size: 1.7rem; }
.prose h3 { font-size: 1.3rem; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-block-start: .4em; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--ink); text-decoration-color: var(--red); }
.prose strong { color: var(--ink); }
.prose blockquote { margin-inline: 0; padding-inline-start: 22px; border-inline-start: 3px solid var(--red); font-size: 1.2em; color: var(--ink); }
.prose hr { border: 0; border-block-start: 1px solid var(--line); }
.article .page-hero .display { max-width: none; }
.article-cover { margin-block-end: clamp(36px, 5vw, 64px); }
.article .prose + .muted { margin-block-start: 40px; }

/* Track list */
.tracklist { list-style: none; border-block-start: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 48px minmax(0, 2fr) minmax(0, 1.6fr) 80px 56px 28px; align-items: center; gap: 18px; padding: 14px 8px; border-block-end: 1px solid var(--line); border-radius: var(--radius-sm); transition: background .2s; }
.track:hover, .track.is-playing { background: rgba(255,255,255,.035); }
.track-main { display: flex; flex-direction: column; min-width: 0; }
.track-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-main span, .track-bpm, .track-time { color: var(--muted); font-size: .88rem; }
.track-time { text-align: end; font-variant-numeric: tabular-nums; }
.track-num { color: var(--muted); font-family: var(--font-display); font-weight: 700; text-align: center; }
.track-play, .player-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s;
}
.track-play:hover, .player-toggle:hover { border-color: var(--red); background: var(--red-strong); color: #fff; }
.track-play svg, .player-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.icon-pause { display: none; }
.is-playing .icon-play { display: none; }
.is-playing .icon-pause { display: block; }
.track.is-playing .track-play { background: var(--red-strong); border-color: var(--red-strong); color: #fff; }
.track-link { text-decoration: none; color: var(--muted); }
@media (max-width: 760px) {
  .track { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; }
  .track-moods, .track-bpm, .track-link { display: none; }
}

/* Video / embed facades — third-party iframes load only after a click */
.video-facade, .embed-facade { position: relative; border-radius: var(--radius); overflow: hidden; margin-block-end: clamp(32px, 4vw, 56px); }
.video-facade .cover { border-radius: var(--radius); }
.video-play {
  position: absolute; inset: 0; margin: auto; display: inline-flex; align-items: center; gap: 12px; width: max-content; height: max-content;
  padding: 16px 26px 16px 18px; border: 0; border-radius: 999px; background: var(--red-strong); color: #fff; font-weight: 700; cursor: pointer;
  box-shadow: 0 20px 50px rgba(0,0,0,.5); transition: transform .25s var(--ease);
}
.video-play:hover { transform: scale(1.04); }
.video-play svg { width: 24px; height: 24px; fill: currentColor; }
.video-note { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 12px 16px; font-size: .78rem; color: rgba(255,255,255,.75); background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade.is-loaded { aspect-ratio: 16 / 9; }
.embed-spotify { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; border: 1px solid var(--line); background: var(--bg-2); margin: 0; }
.embed-spotify.is-loaded { padding: 0; border: 0; background: none; }
.embed-spotify iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; }
.embed-spotify { padding: 0; border: 0; background: none; }

/* ---------------------------------------------------------------- Player */
.player {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60;
  background: rgba(18, 18, 20, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-block-start: 1px solid var(--line-strong);
  transform: translateY(100%); transition: transform .35s var(--ease);
}
.player.is-visible { transform: none; }
.player-inner { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.player-meta { display: flex; flex-direction: column; min-width: 0; flex: 0 1 260px; }
.player-meta strong, .player-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-meta span { color: var(--muted); font-size: .85rem; }
.player-progress { flex: 1; display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.player-progress input { flex: 1; accent-color: var(--red); min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.player-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.6rem; cursor: pointer; }
.player-close:hover { color: var(--ink); background: rgba(255,255,255,.06); }
body.has-player { padding-block-end: 76px; }
@media (max-width: 640px) {
  .player-inner { flex-wrap: wrap; gap: 10px 14px; padding-block: 10px; }
  .player-progress { order: 5; flex-basis: 100%; }
  .player-meta { flex: 1; }
  body.has-player { padding-block-end: 116px; }
}

/* ---------------------------------------------------------------- Footer */
.site-footer { border-block-start: 1px solid var(--line); background: var(--bg-2); padding-block: clamp(56px, 7vw, 88px) 28px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.5fr; gap: clamp(28px, 4vw, 56px); }
.footer-brand img { height: 84px; width: auto; margin-block-end: 18px; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.site-footer h2 { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-block-end: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.social-list { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin-block-start: 20px; }
.social-list a { color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.footer-newsletter p { color: var(--muted); margin-block-end: 16px; }
.newsletter-form { display: grid; gap: 12px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-row input { flex: 1; min-width: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-block-start: clamp(44px, 6vw, 72px); padding-block-start: 24px; border-block-start: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; }
.footer-bottom a, .footer-bottom .link-button { color: var(--muted); text-decoration: none; font-size: .85rem; }
.footer-bottom a:hover, .footer-bottom .link-button:hover { color: var(--ink); }
.to-top { margin-inline-start: auto; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-newsletter, .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .newsletter-row { flex-direction: column; } .to-top { margin-inline-start: 0; } }

/* ---------------------------------------------------------------- Cookie banner */
.cookie-banner {
  position: fixed; z-index: 70; inset-inline: 16px; inset-block-end: 16px; max-width: 560px; margin-inline: auto;
  padding: 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-3); box-shadow: 0 24px 60px rgba(0,0,0,.6);
  font-size: .9rem;
}
.cookie-banner p { color: var(--ink-2); }
.cookie-actions { display: flex; justify-content: flex-end; gap: 10px; margin-block-start: 16px; }

/* ---------------------------------------------------------------- Error */
.error-page { padding-block: clamp(80px, 14vw, 180px); text-align: center; }
.error-page .container { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.error-code { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(6rem, 20vw, 14rem); line-height: .8; color: var(--red); letter-spacing: -.05em; }
.error-page .lead { margin-block: 0 16px; }

/* ---------------------------------------------------------------- Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
/* Page transitions.
   Browsers with cross-document View Transitions (Chrome/Edge 126+, Safari 18.2+) animate between pages:
   the header and player stay put while the page content fades and slides. Others navigate normally
   and still get the entrance animations below. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  .player { view-transition-name: player; }
  ::view-transition-old(root) { animation: vt-out .22s ease-in both; }
  ::view-transition-new(root) { animation: vt-in .42s var(--ease) .06s both; }
  /* The header is the same on every page: swap it instantly instead of cross-fading. */
  ::view-transition-group(site-header), ::view-transition-group(player) { animation: none; }
  ::view-transition-old(site-header), ::view-transition-old(player) { animation: none; opacity: 0; }
  ::view-transition-new(site-header), ::view-transition-new(player) { animation: none; }


  /* Scroll reveal: added by JS only, so content is always visible without it. */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .reveal.is-visible { opacity: 1; transform: none; }

  /* Hero entrance */
  .hero-inner > * { animation: rise .9s var(--ease) both; }
  .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .hero-inner > :nth-child(3) { animation-delay: .16s; }
  .hero-inner > :nth-child(4) { animation-delay: .24s; }
  .hero-bars { animation: fade .9s .2s var(--ease) both; }
  .page-hero .container > *, .detail-hero-inner > * { animation: rise .8s var(--ease) both; }
  .page-hero .container > :nth-child(2), .detail-hero-inner > :nth-child(2) { animation-delay: .07s; }
  .page-hero .container > :nth-child(3) { animation-delay: .14s; }
  .page-hero .container > :nth-child(4) { animation-delay: .21s; }

  /* Arrived through a page transition: it already animated the page in. */
  html.vt-arrival :is(.hero-inner > *, .hero-bars, .page-hero .container > *, .detail-hero-inner > *) { animation: none; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes fade { from { opacity: 0; } }

/* ---------------------------------------------------------------- Print */
@media print {
  .site-header, .site-footer, .player, .cookie-banner, .cta-band, .filters { display: none !important; }
  body { background: #fff; color: #000; }
}
