/* =========================================================================
   All Stars Music — site styles
   Tokens → base → layout → components → pages.
   ========================================================================= */

@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;
}

: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", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 92px;
  --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;
}
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: calc(clamp(2.1rem, 4.6vw, 3.9rem) * var(--fs-heading, 1));
  text-wrap: balance;
}
/* --fs-hero / --fs-heading / --fs-text: home page text size multipliers (Admin → Site ayarları), 1 elsewhere */
.display-xl { font-size: clamp(2.6rem, 7.4vw, 6.6rem); line-height: .95; letter-spacing: -0.035em; }
.hero .display-xl { font-size: calc(clamp(2.6rem, 7.4vw, 6.6rem) * var(--fs-hero, 1)); }
.display-sm { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.eyebrow {
  display: block;
  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: ""; display: inline-block; width: 22px; height: 2px; margin-inline-end: 10px; vertical-align: .3em; background: currentColor; }
.eyebrow.center { text-align: center; }
.eyebrow-light { color: #fff; }
.lead { font-size: calc(clamp(1.06rem, 1.6vw, 1.3rem) * var(--fs-text, 1)); 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; }

/* ---------------------------------------------------------------- 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); }
.arrow-link:hover::after, .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: 68px; 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 { white-space: nowrap; }
.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: 74px; }
  .brand img { height: 54px; }
}
/* With six menu items the full menu needs ~1180px; below that it folds into the menu button. */
@media (max-width: 1180px) {
  .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);
}
.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; font-size: calc(clamp(1.06rem, 1.6vw, 1.3rem) * var(--fs-lead, 1)); }
.hero-bars {
  position: absolute; z-index: -1; inset-block: 12% 26%; inset-inline-end: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  /* Bars keep one fixed thickness on every screen size; only their heights scale. */
  --bar: 20px;
  display: flex; align-items: center; justify-content: center; gap: 14px; width: min(36vw, 460px); opacity: .9;
}
.hero-bars i {
  flex: 0 0 var(--bar); 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-basis: calc(var(--bar) * 2.6); height: 92%; opacity: 1; border-radius: 6px 18px 18px 6px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-bars i { animation: eq 1.8s ease-in-out infinite alternate; animation-delay: calc(var(--n) * -.36s); }
}
@keyframes eq { from { transform: scaleY(.8); } to { transform: scaleY(1); } }
@media (max-width: 980px) {
  .hero { display: flex; flex-direction: column; }
  .hero-bars { position: relative; inset: auto; order: 2; width: min(78vw, 360px); height: clamp(150px, 46vw, 220px); margin: 48px auto 0; justify-content: center; opacity: .9; }
  .hero > .container:last-child { order: 3; }
}

.stats {
  display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 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: calc(.9rem * var(--fs-text, 1)); 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; overflow-wrap: anywhere; }
.stats[style*="--n: 5"] dd { font-size: clamp(1.9rem, 3vw, 2.6rem); }
@media (min-width: 761px) and (max-width: 1100px) {
  .stats[style*="--n: 5"] > div { padding-inline: 16px 12px; }
}
.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; }
  .stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-inline-end: 0; }
}

/* ---------------------------------------------------------------- Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; background: var(--bg-2); }
.ticker.is-interactive { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ticker.is-dragging { cursor: grabbing; }
.ticker-track { display: flex; gap: 0; width: max-content; }
.ticker.is-interactive .ticker-track { animation: none !important; will-change: transform; }
.ticker-track > span {
  display: inline-flex; align-items: center; gap: 28px; padding-inline-end: 28px;
  font-family: var(--font-display); font-weight: var(--ticker-weight, 800); font-stretch: 122%; font-size: calc(clamp(1.1rem, 2.2vw, 1.6rem) * var(--fs-ticker, 1)); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap;
}
.ticker-track > span::after { content: "✦"; color: var(--red); font-size: .8em; }
@media (max-width: 640px) {
  .ticker { padding-block: 12px; }
  .ticker-track > span { gap: 16px; padding-inline-end: 16px; font-size: calc(.95rem * var(--fs-ticker, 1)); }
}
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: marquee 40s linear infinite; }
}
@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%, 250px), 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: calc(1.3rem * var(--fs-text, 1)); letter-spacing: -.01em; }
.card-body p:not(.meta) { color: var(--ink-2); font-size: calc(.95rem * var(--fs-text, 1)); }

.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);
}
.cover-star { background: radial-gradient(80% 60% at 55% 52%, rgba(239, 53, 36, .10), transparent 70%), linear-gradient(160deg, #19191c, #0d0d0f); }
.cover-star svg { width: 70%; height: 70%; transition: transform .8s var(--ease); }
.cover-star polygon { fill: rgba(244, 241, 236, .06); stroke: rgba(244, 241, 236, .14); stroke-width: .6; stroke-linejoin: round; }
.cover-star .star-big { fill: rgba(239, 53, 36, .14); stroke: rgba(239, 53, 36, .32); }
.cover-star .star-stripes rect { fill: rgba(244, 241, 236, .07); }
.card-link:hover .cover-star svg { transform: scale(1.05) rotate(-3deg); }
.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: a square logo panel on a tint of the accent colour, with the details in their own block below */
.catalog-card { --accent: var(--red); position: relative; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; isolation: isolate;
  background: var(--bg-2); transition: border-color .3s, transform .3s var(--ease); }
.catalog-card:hover { border-color: color-mix(in srgb, var(--accent) 65%, transparent); transform: translateY(-3px); }
.catalog-card .card-link { position: relative; }
.catalog-logo { aspect-ratio: 1; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 15% 11% 9%; min-height: 0; overflow: hidden;
  background: radial-gradient(110% 90% at 50% 45%, color-mix(in srgb, var(--accent) 34%, #111), #0f0f11 75%); }
.catalog-logo img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.catalog-card:hover .catalog-logo img, .catalog-card:hover .catalog-wordmark { transform: scale(1.05); }
.catalog-wordmark { font-family: var(--font-display); font-weight: 900; font-stretch: 122%; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: .95; letter-spacing: -.03em; text-align: center; color: #fff; text-wrap: balance; transition: transform .5s var(--ease); }
.catalog-info { flex: 1; padding: 16px 20px 18px; border-block-start: 1px solid var(--line); }
.catalog-info h3 { font-family: var(--font-display); font-stretch: 110%; font-weight: 750; font-size: calc(1.1rem * var(--fs-text, 1)); margin-block: 4px 2px; }
.catalog-tracks { color: var(--ink-2); font-size: calc(.9rem * var(--fs-text, 1)); font-weight: 600; }
.badge {
  position: absolute; inset-block-start: 14px; inset-inline-start: 14px; z-index: 1;
  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: calc(1.15rem * var(--fs-text, 1)); }
.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; }
/* Knowledge hub */
.chip-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 32px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); font-weight: 600; font-size: .9rem;
  transition: background .2s, color .2s, border-color .2s;
}
.chip-btn span { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip-btn:hover { border-color: var(--ink); color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip-btn[aria-pressed="true"] span { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 1000px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card[hidden] { display: none; }
.guide-card .card-link {
  position: relative; gap: 14px; min-height: 260px; padding: 26px 26px 64px; overflow: hidden;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, var(--bg-2), var(--bg)); transition: border-color .3s, transform .3s var(--ease);
}
.guide-card .card-link::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.guide-card .card-link:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.guide-card .card-link:hover::before { transform: scaleX(1); }
.guide-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guide-num { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 1.9rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.guide-cat { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.guide-card h2 { font-family: var(--font-display); font-stretch: 110%; font-weight: 750; font-size: 1.35rem; line-height: 1.15; text-wrap: balance; }
.guide-card p { color: var(--ink-2); font-size: .95rem; }
.guide-arrow {
  position: absolute; inset-inline-end: 22px; inset-block-end: 20px; display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.guide-card .card-link:hover .guide-arrow { background: var(--red-strong); border-color: var(--red-strong); transform: translateX(3px); }

/* 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(var(--n, 4), minmax(0, 1fr)); border-block-start: 1px solid var(--line); }
.services[style*="--n: 5"] li { padding-inline: 20px 16px; }
.services[style*="--n: 5"] li:first-child { padding-inline-start: 0; }
.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: calc(1.3rem * var(--fs-text, 1)); margin-block-end: 12px; }
.services p { color: var(--ink-2); font-size: calc(.95rem * var(--fs-text, 1)); }
@media (min-width: 981px) and (max-width: 1180px) {
  .services[style*="--n: 5"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services[style*="--n: 5"] li { border-block-end: 1px solid var(--line); padding-block-end: 28px; }
  .services[style*="--n: 5"] li:nth-child(3n) { border-inline-end: 0; }
  .services[style*="--n: 5"] li:nth-child(3n+1) { padding-inline-start: 0; }
}
@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; }
  .services li:last-child:nth-child(odd) { grid-column: 1 / -1; border-inline-end: 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;
}
.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: calc(1.1rem * var(--fs-text, 1)); 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; }
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 */
/* overflow: clip (not hidden) so the sticky artist portrait inside keeps working */
.detail-hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); border-block-end: 1px solid var(--line); overflow: clip; 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; 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 { position: absolute; inset: 18% 18% 26%; width: 64%; height: 56%; object-fit: contain; }
.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; }
.catalog-wave-lg { inset: 18% 28px 34%; }
@media (max-width: 860px) { .catalog-hero-visual { aspect-ratio: 16 / 10; } .catalog-wave-lg { inset: 12% 24px 48%; } }
.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; }
.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-sm { gap: 8px; margin-block-start: 20px; }
.icon-links-sm a { width: 40px; height: 40px; }
.icon-links-sm svg { width: 18px; height: 18px; }
.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-facade { margin-block-end: 0; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.video-facade::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); transition: background .3s; pointer-events: none; }
.video-facade:hover::after { background: rgba(0,0,0,.05); }
.video-play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; align-content: center; gap: 14px; width: 100%; height: 100%;
  padding: 0; border: 0; background: none; color: #fff; font-weight: 700; cursor: pointer;
}
.video-play-icon {
  display: grid; place-items: center; width: clamp(64px, 8vw, 92px); aspect-ratio: 1; border-radius: 50%; background: var(--red-strong);
  box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 0 10px rgba(255,255,255,.12); transition: transform .3s var(--ease), box-shadow .3s;
}
.video-play svg { width: 42%; height: 42%; fill: currentColor; margin-inline-start: 6%; }
.video-play-label { padding: 6px 14px; border-radius: 999px; background: rgba(0,0,0,.55); font-size: .88rem; backdrop-filter: blur(6px); }
.video-play:hover .video-play-icon, .video-play:focus-visible .video-play-icon { transform: scale(1.07); box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 0 14px rgba(255,255,255,.16); }
.video-play:focus-visible { outline: none; }
.video-play:focus-visible .video-play-icon { outline: 3px solid #fff; outline-offset: 4px; }
.video-note { position: absolute; z-index: 2; 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; }

/* Sliders: always horizontally scrollable lists, --per columns in view (home catalogues, songwriters) */
.slider {
  --per: 4; --gap: clamp(16px, 2vw, 28px);
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
  padding-block: 4px; margin-block: -4px; /* room for the cards' hover lift */
}
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; }
.slider.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.slider.is-dragging a { pointer-events: none; }
.slider-artists { grid-template-rows: repeat(2, auto); row-gap: clamp(28px, 3vw, 40px); }
.slider-cell { min-width: 0; }
/* Last slide: link to the full list */
.slider-more {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%; min-height: 220px; padding: 24px;
  border: 1px dashed var(--line-strong); border-radius: calc(var(--radius) + 4px); text-align: center; text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-stretch: 112%; font-weight: 750; font-size: 1.1rem; transition: border-color .3s, background .3s;
}
.slider-more i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; font-style: normal; font-size: 1.3rem; transition: transform .3s var(--ease); }
.slider-more:hover { border-color: var(--red); background: color-mix(in srgb, var(--red) 8%, transparent); }
.slider-more:hover i { transform: translateX(4px); }
.slider-artists .slider-more { aspect-ratio: 4 / 5; height: auto; }
@media (max-width: 1100px) { .slider { --per: 3; } }
@media (max-width: 760px) { .slider { --per: 2; --gap: 12px; } }

/* Rail / slider navigation: arrows and one dot per page (added by site.js only when the list actually scrolls) */
.rail-dots { display: flex; align-items: center; justify-content: center; gap: 14px; margin-block-start: 22px; }
.rail-dots[hidden] { display: none; }
.rail-dot-list { display: flex; gap: 8px; }
.rail-dot-list button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.rail-dot-list button[aria-current="true"] { width: 24px; background: var(--red); }
.rail-dot-list button::after { content: ""; display: block; margin: -10px; padding: 10px; } /* larger tap target */
.rail-arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, opacity .2s; }
.rail-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rail-arrow:hover:not(:disabled) { border-color: var(--red); background: color-mix(in srgb, var(--red) 14%, transparent); }
.rail-arrow:disabled { opacity: .3; cursor: default; }
.rail-arrow.is-more { width: auto; padding-inline: 16px 12px; gap: 8px; display: inline-flex; align-items: center; border-color: var(--red); background: var(--red); color: #fff; border-radius: 999px; font-weight: 650; font-size: .88rem; text-decoration: none; }
.rail-dot-list[hidden] { display: none; }
@media (max-width: 640px) { .rail-arrow { width: 34px; height: 34px; } }

/* ---------------------------------------------------------------- Phones */
@media (max-width: 640px) {
  /* Catalogues in two columns, like the artists */
  .grid-catalogs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .catalog-card { border-radius: var(--radius); }
  .catalog-card .badge { inset-block-start: 8px; inset-inline-start: 8px; padding: 3px 8px; font-size: .58rem; letter-spacing: .04em; }
  .catalog-logo { padding: 18% 10% 8%; }
  .catalog-wordmark { font-size: clamp(1rem, 5vw, 1.3rem); }
  .catalog-info { padding: 10px 10px 12px; }
  .catalog-info .meta { font-size: .6rem; letter-spacing: .02em; }
  .catalog-info h3 { font-size: calc(.85rem * var(--fs-text, 1)); }
  .catalog-tracks { font-size: calc(.75rem * var(--fs-text, 1)); }

  /* Horizontal swipe rails instead of long stacks (home page sync work and news) */
  .rail { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .rail { -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; }
  .rail.is-dragging { scroll-snap-type: none; cursor: grabbing; }
  .rail.is-dragging a { pointer-events: none; }

  /* Full-width, equal buttons */
  .hero .actions, .cta-inner .actions, .detail-hero .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-inner .actions { max-width: 380px; }
  .site-form .btn, .artist-actions .btn { width: 100%; }

  .section-head { margin-block-end: 26px; }
  .section-head.with-link { gap: 14px; }
  .guide-card .card-link { min-height: 0; padding: 22px 22px 62px; }
  .guide-num { font-size: 1.5rem; }
  .chip-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .chip-filter::-webkit-scrollbar { display: none; }
  .chip-btn { flex: none; }
  .filters { gap: 10px; }
  .filter-field { min-width: 0; flex: 1; }
  .post-card .card-link { padding: 22px; }
  .facts dd { text-align: end; overflow-wrap: anywhere; }
  .tracklist .track { padding-inline: 4px; }
}

/* ---------------------------------------------------------------- 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 cross-fades. 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; }
  /* Keep the browser's own cross-fade (it blends old and new so the page never turns see-through);
     only its pace is tuned. */
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  /* 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 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; }
}


/* ---------------------------------------------------------------- Licensing detail: video + music used */
.page-hero-compact { padding-block-end: clamp(28px, 4vw, 48px); }
.page-hero-compact .display { max-width: 24ch; }
.sync-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(28px, 4vw, 56px); align-items: start; }
.sync-detail.is-single { grid-template-columns: minmax(0, 1fr); max-width: 1040px; }
.sync-main { min-width: 0; display: grid; gap: clamp(28px, 4vw, 44px); }
.sync-body { max-width: 68ch; }
.sync-aside { display: grid; gap: 22px; position: sticky; inset-block-start: calc(var(--header-h) + 24px); }
.music-card { padding: 22px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: linear-gradient(160deg, color-mix(in srgb, var(--red) 12%, var(--bg-2)), var(--bg-2) 60%); }
.music-card-label { display: flex; align-items: center; gap: 10px; margin-block-end: 16px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.music-card-label svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.music-list { list-style: none; display: grid; gap: 14px; }
.music-list li { display: grid; gap: 3px; padding-inline-start: 14px; border-inline-start: 2px solid var(--red); }
.music-list strong { font-family: var(--font-display); font-stretch: 110%; font-size: 1.12rem; line-height: 1.25; overflow-wrap: anywhere; }
.music-list span { color: var(--muted); font-size: .92rem; }
.music-links { display: grid; gap: 8px; margin-block-start: 18px; padding-block-start: 16px; border-block-start: 1px solid var(--line); }
.music-list + .music-links { margin-block-start: 20px; }
.music-card-label + .music-links { margin-block-start: 0; padding-block-start: 0; border: 0; }
.music-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); text-decoration: none; color: var(--ink); transition: background .2s; }
.music-links a:hover { background: rgba(255,255,255,.09); }
.music-links small { color: var(--muted); font-size: .8rem; }
.music-links span { font-weight: 650; text-align: end; }
.music-links span::after { content: " →"; color: var(--red); }
.sync-aside .facts { border-block-start: 0; }
@media (max-width: 980px) {
  .sync-detail { grid-template-columns: minmax(0, 1fr); }
  .sync-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
}

/* ---------------------------------------------------------------- About */
.about-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-layout.is-text-only { grid-template-columns: minmax(0, 1fr); }
.about-layout.is-text-only .about-body { max-width: 72ch; }
.about-media { position: sticky; inset-block-start: calc(var(--header-h) + 24px); }
.about-media .cover { border-radius: calc(var(--radius) + 8px); }
.about-body h2 { margin-block-start: 1.6em; }
.about-body > h2:first-child { margin-block-start: 0; }
.about-stats { margin-block-start: 0; }
@media (max-width: 860px) {
  .about-layout { grid-template-columns: minmax(0, 1fr); }
  .about-media { position: static; max-width: 460px; }
}
