/* ==========================================================================
   Taraneh Sharghi Records
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("../fonts/BebasNeue-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
/* Persian pages. Limited to Persian letters, digits and punctuation, so English words keep the English fonts. */
@font-face { font-family: "Kahroba"; src: url("../fonts/Kahroba-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0020-002F, U+003A-003F, U+00A0, U+00AB, U+00BB, U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+2010-2027, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Kahroba"; src: url("../fonts/Kahroba-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0020-002F, U+003A-003F, U+00A0, U+00AB, U+00BB, U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+2010-2027, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Kahroba"; src: url("../fonts/Kahroba-Bold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0020-002F, U+003A-003F, U+00A0, U+00AB, U+00BB, U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+2010-2027, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Kahroba"; src: url("../fonts/Kahroba-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; unicode-range: U+0020-002F, U+003A-003F, U+00A0, U+00AB, U+00BB, U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+2010-2027, U+FB50-FDFF, U+FE70-FEFF; }

/* ---------- Tokens ---------- */
:root {
  --crimson: #ac1340;
  --crimson-2: #8e0f35;
  --crimson-3: #5e0a24;
  --rose: #e05a7f;
  --ink: #1e1e1e;
  --ink-2: #131313;
  --ink-3: #2a2a2a;
  --gray: #f3f3f3;
  --text: #424242;
  --muted: #706d6e;
  --white: #fff;

  --f-display: "Bebas Neue", "Bebas Neue Pro", Impact, "Arial Narrow", sans-serif;
  --f-body: "Gilroy", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, sans-serif;
  --f-nav: "Barlow Condensed", "Arial Narrow", sans-serif;

  --radius: 10px;
  --radius-lg: 20px;
  --container: 1300px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--crimson); color: #fff; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(70px, 10vw, 130px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; flex: none; }

.skip-link {
  position: fixed; top: 10px; inset-inline-start: 10px; z-index: 1000;
  padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--ink);
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: #fff;
  transition: opacity .6s var(--ease-out), visibility .6s, transform .8s var(--ease-in-out);
}
.loaded-once .preloader { display: none; }
.no-js .preloader, .preloader.is-done { opacity: 0; visibility: hidden; transform: translateY(-30px); }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader img { width: 90px; height: auto; animation: logo-breathe 1.6s ease-in-out infinite; }
.preloader__bar { width: 120px; height: 2px; border-radius: 2px; background: #f1d5dd; overflow: hidden; }
.preloader__bar span { display: block; width: 40%; height: 100%; background: var(--crimson); animation: loader-bar 1.1s var(--ease-in-out) infinite; }
@keyframes logo-breathe { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1); } }
@keyframes loader-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ---------- Buttons & pills ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 40px; border-radius: var(--radius);
  font-family: var(--f-body); font-size: 17px; font-weight: 600; letter-spacing: -.1px;
  transition: color .3s, background .3s;
}
.btn--light { color: #424242; background: linear-gradient(90deg, #fff 0%, #cacaca 100%); }
.btn--light:hover { color: rgba(255, 255, 255, .85); background: #1e1e1e; }
.btn--soft { color: var(--text); background: var(--gray); font-weight: 500; font-size: 16px; }
.btn--soft:hover { background: #e6e6e6; }
.btn--dark { color: #fff; background: #313131; font-weight: 500; font-size: 20px; letter-spacing: -.2px; }
.btn--dark:hover { background: #000; }
.btn--block { width: 100%; }

.pill {
  display: inline-block;
  padding: 5px 45px 4px; border-radius: 50px;
  background: var(--gray); color: var(--ink-2);
  font-size: 15px; line-height: 1.6;
}
.pill--glass {
  padding: 3px 20px 6px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

.section-head { display: grid; justify-items: center; gap: 18px; text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.section-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(38px, 4.2vw, 56px); line-height: 1.02;
  text-transform: uppercase; color: var(--ink); letter-spacing: .5px;
}
.section-title--left { text-align: start; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; color: #fff; }
.site-header__inner {
  width: min(100% - 40px, 1340px); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 120px;
}
.site-header--solid { background: var(--crimson); }

.nav { display: flex; gap: clamp(20px, 3vw, 54px); }
.nav--right { justify-content: flex-end; }
.nav__link {
  position: relative; padding: 6px 0;
  font-family: var(--f-nav); font-size: 19px; text-transform: uppercase; letter-spacing: .3px;
  color: rgba(255, 255, 255, .92);
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transition: transform .45s var(--ease-out);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); }

.brand { display: block; width: 60px; }
.site-header__end { display: flex; justify-content: flex-end; align-items: center; gap: clamp(20px, 3vw, 54px); }

/* Language switch (header, and floating on the release page) */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: 2px 14px; border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: 16px; line-height: 1; color: rgba(255, 255, 255, .92);
  transition: background-color .3s, border-color .3s;
}
.lang-switch:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }
.lang-switch[lang="fa"] { font-family: "Kahroba", Tahoma, sans-serif; font-weight: 600; font-size: 14px; padding-top: 4px; }
.lang-switch[lang="en"] { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .6px; }
.lang-switch--float { position: absolute; top: 18px; inset-inline-end: 18px; z-index: 5; }


/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 780px;
  display: grid; place-items: center;
  padding: 140px 0 300px;
  background: var(--crimson);
  color: #fff; text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__photo {
  position: absolute; inset: -8% -4%;
  background-size: cover; background-position: center;
  animation: ken-burns 26s ease-in-out infinite alternate;
}
@keyframes ken-burns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
/* Same crimson noise texture the WordPress hero lays over the photo (~95% opaque, tiled). */
.hero__overlay { position: absolute; inset: 0; background: url("../img/hero-texture.webp") repeat; }
@keyframes eq { 0% { transform: scaleY(.15); } 50% { transform: scaleY(.7); } 100% { transform: scaleY(1); } }

.hero__content { display: grid; justify-items: center; gap: 22px; position: relative; }
.hero__title {
  position: relative;
  font-family: var(--f-display); font-weight: 400;
  font-size: 70px; line-height: 1; letter-spacing: 1px;
  text-transform: uppercase;
}
/* Gradient text like the WordPress hero. Split words each carry the title-wide gradient, offset by JS (--gx/--gy). */
.hero__title, .hero__title.is-split .word > span {
  background-image: linear-gradient(100deg, #fefefe 0%, #bbbbbb 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__title.is-split { background-image: none; }
.hero__title.is-split .word > span { background-size: var(--gw, 100%) var(--gh, 100%); background-position: var(--gx, 0) var(--gy, 0); background-repeat: no-repeat; }
.hero__lead { max-width: 580px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .66); }
.hero__actions { margin-top: 10px; }

.hero__curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(26px, 6.5vw, 100px); }

/* ---------- Recent tracks ---------- */
.tracks { position: relative; z-index: 5; margin-top: -250px; }
.tracks__panel {
  display: grid; grid-template-columns: 300px 1fr; gap: 14px;
  padding: 14px; border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(40, 0, 12, .55);
}
.tracks__intro { position: relative; min-height: 290px; }
.vinyl { position: absolute; top: 50%; right: -6px; translate: 0 -50%; width: 74%; aspect-ratio: 1; }
.vinyl__disc {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 17%, rgba(255, 255, 255, .05) 17.5% 18%, transparent 18.5%),
    repeating-radial-gradient(circle, #1a0a10 0 2px, #2a0e18 2px 3px),
    #1a0a10;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .04), 0 10px 30px rgba(0, 0, 0, .5);
  animation: spin 7s linear infinite;
}
.vinyl__disc::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 10%, rgba(255, 255, 255, .12) 14%, transparent 20% 60%, rgba(255, 255, 255, .08) 64%, transparent 70%);
}
.vinyl__disc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(172, 19, 64, .0) 0 35%, rgba(172, 19, 64, .55) 70%, rgba(172, 19, 64, .25) 100%);
  mix-blend-mode: screen;
}
.vinyl__label {
  position: absolute; inset: 32%; border-radius: 50%; z-index: 1;
  background-size: cover; background-position: center;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .4);
}
.vinyl__label::after { content: ""; position: absolute; inset: 44%; border-radius: 50%; background: #111; }
@keyframes spin { to { transform: rotate(360deg); } }

.tracks__intro-card {
  position: relative; z-index: 1;
  height: 100%; width: 72%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 22px 14px; border-radius: 14px; text-align: center;
  background: linear-gradient(160deg, rgba(60, 60, 60, .55), rgba(20, 20, 20, .65));
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 10px 0 30px rgba(0, 0, 0, .35);
}
.tracks__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .08));
  color: #fff; font-size: 26px;
  position: relative;
}
.tracks__icon::before { content: ""; position: absolute; top: -12px; left: 12px; right: 12px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .22); box-shadow: 0 -7px 0 -1px rgba(255, 255, 255, .12); }
.tracks__title { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1; color: #fff; text-transform: uppercase; margin-top: 4px; }
.tracks__tag { padding: 5px 10px; border-radius: 6px; font-size: 11px; color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .1); }

.tracks__list {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  padding: 14px; border-radius: 14px;
  background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .12);
}

/* track card (shared) */
.track-card { position: relative; min-width: 0; }
.track-card__media {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 8px;
  background: #2a2a2a; margin-bottom: 14px;
  transform: translateZ(0);
}
.track-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s; }
.track-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55));
  opacity: 0; transition: opacity .4s;
}
.track-card:hover .track-card__media img { transform: scale(1.08); }
.track-card:hover .track-card__media::after,
.track-card.is-playing .track-card__media::after { opacity: 1; }
.track-card__title { font-size: 18px; font-weight: 500; line-height: 1.3; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.track-card__artist { font-size: 14px; color: rgba(255, 255, 255, .5); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.play-btn {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--crimson); color: #fff; font-size: 17px;
  box-shadow: 0 10px 24px -6px rgba(172, 19, 64, .7);
  opacity: 0; transform: translateY(12px) scale(.8);
  transition: opacity .35s, transform .45s var(--ease-out), background-color .3s;
}
.play-btn .icon--play { margin-left: 2px; }
.play-btn:hover { background: #c8174b; }
.track-card:hover .play-btn, .play-btn:focus-visible, .is-playing .play-btn { opacity: 1; transform: none; }
.play-btn .icon--pause, .is-playing .play-btn .icon--play { display: none; }
.is-playing .play-btn .icon--pause { display: block; }
.play-btn__eq { position: absolute; left: -64px; bottom: 6px; display: none; gap: 3px; align-items: flex-end; height: 18px; }
.is-playing .play-btn__eq { display: flex; }
.play-btn__eq i { width: 3px; height: 100%; border-radius: 2px; background: #fff; transform-origin: bottom; animation: eq .7s ease-in-out infinite alternate; }
.play-btn__eq i:nth-child(2) { animation-delay: -.25s; }
.play-btn__eq i:nth-child(3) { animation-delay: -.5s; }


/* ---------- About ---------- */
.about { padding-top: clamp(70px, 9vw, 120px); }
.collage { position: relative; width: 100%; aspect-ratio: 2560 / 954; margin-bottom: clamp(36px, 5vw, 60px); }
.collage__tile {
  position: absolute; margin: 0;
  border-radius: clamp(6px, 1vw, 14px); overflow: hidden;
  will-change: transform;
}
.collage__tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); }

.about__text { max-width: 760px; margin-inline: auto; }
.about__body {
  position: relative; overflow: hidden;
  max-height: 10.2em;
  font-size: 20px; line-height: 1.7; letter-spacing: -.3px; text-align: justify; color: var(--muted);
  transition: max-height .9s var(--ease-in-out);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.about__body p + p { margin-top: 1em; }
.about__text.is-open .about__body { -webkit-mask-image: none; mask-image: none; }
.about__text [data-label-close], .about__text.is-open [data-label-open] { display: none; }
.about__text.is-open [data-label-close] { display: inline; }
.about__text .btn { margin-top: 26px; }

/* ---------- Videos carousel ---------- */
.videos { padding-top: 40px; overflow: hidden; }
.carousel { position: relative; --slide-w: min(40vw, 640px); }
.carousel__viewport { position: relative; height: calc(var(--slide-w) * 9 / 16); touch-action: pan-y; user-select: none; }
.carousel__slide {
  position: absolute; top: 0; left: 50%; width: var(--slide-w); height: 100%;
  margin-left: calc(var(--slide-w) / -2);
  transition: transform .8s var(--ease-out), filter .8s var(--ease-out), opacity .8s;
  transform: translateX(calc(var(--offset, 0) * 100%)) scale(var(--scale, 1));
  filter: blur(var(--blur, 0px)) grayscale(var(--gray, 0));
  opacity: var(--opacity, 1);
  z-index: var(--z, 1);
}
.carousel__slide:not(.is-active) .video { cursor: pointer; }
.carousel__slide:not(.is-active) .video__play, .carousel__slide:not(.is-active) .video__meta { opacity: 0; }
.carousel__slide .video__play, .carousel__slide .video__meta { transition: opacity .5s, transform .5s var(--ease-out), background-color .3s; }
.carousel__slide.is-hidden { pointer-events: none; }

.video {
  position: relative; display: block; width: 100%; height: 100%;
  border-radius: 14px; overflow: hidden; background: #111;
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, .5);
}
.video__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.video:hover .video__thumb { transform: scale(1.05); }
.video__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)); transition: opacity .4s; }
.video__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255, 255, 255, .15); color: #fff; font-size: 26px;
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .3s, border-color .3s;
}
.video__play .icon { margin-left: 4px; }
.video__play::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  animation: ping 2.2s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.video:hover .video__play { background: var(--crimson); border-color: var(--crimson); }
.video__meta { position: absolute; left: 22px; right: 22px; bottom: 18px; display: grid; text-align: left; color: #fff; line-height: 1.3; }
.video__meta strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: .5px; }
.video__meta span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing .video__shade, .video.is-playing .video__play, .video.is-playing .video__meta { opacity: 0; pointer-events: none; }

.carousel__arrow {
  position: absolute; top: calc(var(--slide-w) * 9 / 32); translate: 0 -50%; z-index: 20;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fffdfd; color: var(--muted); font-size: 20px;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .25);
  transition: background-color .3s, color .3s;
}
.carousel__arrow--prev { left: calc(50% - var(--slide-w) / 2 - 70px); }
.carousel__arrow--next { right: calc(50% - var(--slide-w) / 2 - 70px); }
.carousel__arrow:hover { background: var(--crimson); color: #fff; }
.carousel__dots { display: flex; justify-content: center; gap: 6px; margin-top: 34px; }
.carousel__dots button { width: 9px; height: 9px; border-radius: 9px; background: #ccc; transition: width .5s var(--ease-out), background-color .3s; }
.carousel__dots button:hover { background: var(--rose); }
.carousel__dots button.is-active { width: 28px; background: var(--crimson); }

/* ---------- Talent / contact ---------- */
.talent { padding-top: clamp(60px, 8vw, 110px); padding-bottom: 60px; }
.talent__head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-inline-start: 4%; }
.talent__copy { display: grid; gap: 22px; padding-bottom: 60px; }
.talent__copy p { max-width: 520px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.talent__mic { position: relative; justify-self: center; width: min(276px, 60%); margin-bottom: -50px; }
.talent__mic img { position: relative; width: 100%; animation: float 6s ease-in-out infinite; transform-origin: 70% 20%; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-3deg); } }

.talent__form {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding: 45px clamp(20px, 8%, 100px);
  border-radius: var(--radius-lg);
  background: var(--gray);
  overflow: hidden;
}
.talent__form::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(40% 70% at 0% 0%, rgba(172, 19, 64, .07), transparent), radial-gradient(40% 70% at 100% 100%, rgba(172, 19, 64, .06), transparent);
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; padding: 26px 20px 10px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  background: #fff; color: var(--ink);
  font: 500 18px/1.4 var(--f-body);
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field label {
  position: absolute; inset-inline: 21px 20px; top: 19px;
  font-size: 17px; font-weight: 500; color: #8b8b8b;
  pointer-events: none; transform-origin: var(--start, left) top;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: transform .35s var(--ease-out), color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(172, 19, 64, .5); box-shadow: 0 0 0 4px rgba(172, 19, 64, .08); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.72); color: var(--crimson); }
.field.has-error input { border-color: #d33; }
.field__error { display: block; min-height: 0; margin: 6px 4px 0; font-size: 13px; color: #c62828; }
.field__error:empty { display: none; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn--submit { padding-block: 16px; }
.btn__spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-sending .btn__spinner { display: block; }
.is-sending .btn__label { opacity: .7; }
.form-status { margin-top: 14px; min-height: 1.5em; text-align: center; font-size: 15px; }
.form-status.is-ok { color: #1f7a3f; }
.form-status.is-error { color: #c62828; }
.talent__form.is-sent .field, .talent__form.is-sent .btn--submit { opacity: .45; pointer-events: none; transition: opacity .4s; }
.form-success {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 20px;
  background: rgba(243, 243, 243, .92); backdrop-filter: blur(4px);
  animation: fade-in .5s var(--ease-out);
}
.form-success__icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--crimson); color: #fff; font-size: 34px; animation: pop .7s var(--ease-out); }
.form-success h3 { font-family: var(--f-display); font-weight: 400; font-size: 36px; color: var(--ink); text-transform: uppercase; line-height: 1; }
.form-success p { color: var(--muted); max-width: 380px; }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Footer ---------- */
.site-footer { padding: 50px 0 60px; text-align: center; font-size: 14px; line-height: 1.65; color: rgba(30, 30, 30, .64); }
.site-footer a { white-space: nowrap; font-weight: 700; color: var(--ink-2); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.site-footer a:hover { background-size: 100% 1px; }

/* ---------- Mini player ---------- */
.mini-player {
  position: fixed; left: 50%; bottom: 18px; z-index: 80;
  display: flex; align-items: center; gap: 12px;
  width: min(420px, calc(100% - 24px));
  padding: 8px; padding-inline-end: 10px; border-radius: 14px;
  background: rgba(24, 24, 24, .82); color: #fff;
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .6);
  overflow: hidden;
  transform: translate(-50%, 0);
  animation: player-in .6s var(--ease-out);
}
@keyframes player-in { from { transform: translate(-50%, 140%); } }
.mini-player__cover { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.is-audio-playing .mini-player__cover { animation: spin 8s linear infinite; border-radius: 50%; }
.mini-player__meta { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.mini-player__title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-player__title:hover { text-decoration: underline; }
.mini-player__artist { font-size: 13px; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-player__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--crimson); font-size: 15px; transition: background-color .3s; }
.mini-player__btn:hover { background: #c8174b; }
.mini-player__btn .icon--play { display: none; margin-left: 2px; }
.mini-player.is-paused .mini-player__btn .icon--play { display: block; }
.mini-player.is-paused .mini-player__btn .icon--pause { display: none; }
.mini-player__close { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: rgba(255, 255, 255, .6); font-size: 16px; }
.mini-player__close:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.mini-player__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .1); }
.mini-player__progress span { display: block; height: 100%; width: 0; background: var(--rose); }
.page-track .mini-player { display: none; }

/* ---------- Track (link) page ---------- */
.page-track { background: #0e0e0e; color: #fff; min-height: 100vh; }
.track-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.track-bg__img {
  position: absolute; inset: -10%;
  background-size: cover; background-position: center;
  filter: blur(40px) brightness(.55) saturate(1.2);
  animation: ken-burns 30s ease-in-out infinite alternate;
}
.track-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 40%, transparent, rgba(0, 0, 0, .55)); }


.track-page { display: grid; justify-items: center; padding: 50px 16px 80px; }
.link-card {
  width: min(420px, 100%);
  border-radius: var(--radius); overflow: hidden;
  background: var(--ink);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8);
}
.link-card__cover { position: relative; aspect-ratio: 1; overflow: hidden; }
.link-card__cover > img { width: 100%; height: 100%; object-fit: cover; }
.cover-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 10px 30px rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .3s;
}
.cover-play:hover { background: rgba(172, 19, 64, .85); }
.cover-play .icon--play { margin-left: 3px; }
.cover-play .icon--pause, .is-playing .cover-play .icon--play, .cover-play.is-playing .icon--play { display: none; }
.cover-play.is-playing .icon--pause { display: block; }
.cover-play__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cover-play__ring circle { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .25s linear; }
.cover-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); opacity: 0; transition: opacity .3s; }
.cover-progress span { display: block; width: 0; height: 100%; background: var(--crimson); }
.link-card.is-active .cover-progress { opacity: 1; }

.link-card__head { position: relative; padding: 24px 20px 26px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.link-card__title { font-size: 20px; font-weight: 600; color: #fff; line-height: 1.3; }
.link-card__artist { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.link-card__notch { position: absolute; left: 50%; bottom: -9px; width: 16px; height: 9px; margin-left: -8px; background: #434343; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.link-card__notch::after { content: ""; position: absolute; inset: 0 1.5px 1.5px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); }

.platform { border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 0; animation: anim-fade .6s var(--ease-out) forwards; animation-delay: calc(.25s + var(--i) * .06s); }
.no-js .platform { opacity: 1; transform: none; animation: none; }
.platform a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; padding: 12px 30px; }
.platform__brand { position: relative; display: flex; align-items: center; }
.platform-logo { width: 100px; height: auto; }
.platform-text { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: #fff; }
.platform-glyph { width: 20px; height: 20px; }
.platform-glyph--telegram { color: #2aabee; }
.platform__cta {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 30px;
  font-size: 13px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; color: #fff;
  transition: background-color .3s;
}
.platform__cta .icon { width: 11px; height: 11px; }
.platform a:hover .platform__cta { background: var(--crimson); }

.link-card__video { padding: 25px 30px; }
.video--card { aspect-ratio: 16 / 9; height: auto; border-radius: 6px; }
.video--card .video__play { width: 58px; height: 58px; font-size: 20px; }

.socials { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 17px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .3s;
}
.socials a:hover { background: var(--crimson); }


.agency-badge { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 10; width: 132px; opacity: .85; transition: opacity .3s; }
.agency-badge:hover { opacity: 1; }

/* ---------- 404 ---------- */
.notfound { min-height: 80vh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 200px 20px 60px; text-align: center; }
.notfound__disc { position: relative; width: 140px; aspect-ratio: 1; margin-bottom: 10px; }
.notfound__code { font-family: var(--f-display); font-weight: 400; font-size: clamp(90px, 16vw, 180px); line-height: .9; color: var(--crimson); }
.notfound__text { color: var(--muted); font-size: 18px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.notfound .btn--dark { font-size: 17px; }

/* ---------- Inner pages: store, about, contact, terms, privacy ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 170px 0 clamp(90px, 9vw, 140px);
  background: var(--crimson) url("../img/hero-texture.webp") repeat;
  color: #fff; text-align: center;
}
.page-hero__inner { display: grid; justify-items: center; gap: 18px; }
.page-hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: .5px;
  text-transform: uppercase; color: #fff;
}
.page-hero__lead { max-width: 620px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .7); }
.page-body { padding-block: clamp(40px, 6vw, 80px) clamp(60px, 8vw, 110px); }
.block-title {
  margin-bottom: 22px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(30px, 3vw, 40px); line-height: 1.05; letter-spacing: .3px;
  text-transform: uppercase; color: var(--ink);
}
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Store list */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: 26px; }
.shop-card a {
  display: block; overflow: hidden;
  border-radius: var(--radius-lg); background: #fff;
  box-shadow: 0 22px 50px -30px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .05);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.shop-card a:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .05); }
.shop-card__cover { display: block; aspect-ratio: 1; overflow: hidden; background: var(--gray); }
.shop-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.shop-card a:hover .shop-card__cover img { transform: scale(1.05); }
.shop-card__body { display: grid; gap: 2px; padding: 18px 20px 22px; }
.shop-card__type { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--crimson); }
.shop-card__title { font-family: var(--f-display); font-size: 36px; line-height: 1.05; color: var(--ink); }
.shop-card__artist { color: var(--muted); }
.shop-card__price { margin-top: 12px; font-weight: 600; color: var(--ink); }

/* Product */
.page-hero--product { text-align: start; padding-bottom: clamp(100px, 10vw, 160px); }
.product-hero { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: center; gap: clamp(30px, 5vw, 72px); }
.product-hero__cover {
  margin: 0; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--crimson-3);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65);
}
.product-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.product-hero__info { display: grid; justify-items: start; gap: 14px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .85); transition: color .3s; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs .icon { font-size: 12px; opacity: .7; }
.product-hero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(72px, 9vw, 124px); line-height: .9; letter-spacing: 1px; color: #fff; }
.product-hero__artist { font-size: 22px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.product-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.product-hero__meta li {
  padding: 4px 14px; border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .1);
  font-size: 14px; color: rgba(255, 255, 255, .86);
}
.product-hero__about { max-width: 540px; line-height: 1.75; color: rgba(255, 255, 255, .72); }

.product-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: clamp(36px, 5vw, 80px); }
.editions__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.edition {
  display: flex; flex-direction: column; gap: 18px;
  padding: 26px; border-radius: var(--radius-lg);
  background: var(--gray); border: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.edition:hover { background: #fff; border-color: rgba(172, 19, 64, .22); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .4); }
.edition__head { display: flex; align-items: center; gap: 12px; }
.edition__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--crimson); color: #fff; font-size: 22px; }
.edition__name { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.edition__points { display: grid; gap: 10px; flex: 1; }
.edition__points li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.55; }
.edition__points .icon { margin-top: .2em; font-size: 16px; color: var(--crimson); }
.edition__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, .08); color: var(--ink); }
.edition__price strong { font-size: 30px; font-weight: 700; letter-spacing: -.5px; line-height: 1.2; }
.edition__price span { font-size: 15px; color: var(--muted); }
.edition__buy.btn--dark { padding-block: 13px; font-size: 17px; }
.buy-note p {
  margin-top: 18px; padding: 14px 18px; border-radius: 12px;
  background: #fbe9ee; color: var(--crimson-2); font-size: 15px;
}
.buy-note a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.buy-note p.is-flash { animation: note-in .7s var(--ease-out); }
@keyframes note-in { from { opacity: .2; transform: translateY(8px); } }
.no-js .buy-note [data-buy-note][hidden] { display: block !important; }

.tracklist__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(0, 0, 0, .08); }
.tracklist__list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.tracklist__n, .tracklist__time { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tracklist__title { font-weight: 600; color: var(--ink); }

/* About, terms, privacy */
.prose { max-width: 760px; margin-inline: auto; font-size: 17px; line-height: 1.8; }
.prose p + p { margin-top: 1em; }
.prose__lead { font-size: 18px; color: var(--ink); }
.prose section { margin-top: 40px; }
.prose h2 { margin-bottom: 12px; font-size: 21px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-inline-start: 22px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); }
.prose a { font-weight: 600; color: var(--crimson); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--crimson-2); }

.facts { max-width: 760px; margin: clamp(40px, 6vw, 70px) auto 0; }
.facts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.facts__list div { padding: 18px 20px; border-radius: 14px; background: var(--gray); }
.facts__list div:last-child { grid-column: 1 / -1; }
.facts__list dt { font-size: 13px; color: var(--muted); }
.facts__list dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 1000px; margin-inline: auto; }
.contact-card { display: grid; align-content: start; gap: 6px; padding: 26px; border-radius: var(--radius-lg); background: var(--gray); }
.contact-card__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 12px; background: var(--crimson); color: #fff; font-size: 22px; }
.contact-card__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.contact-card p { font-weight: 600; line-height: 1.65; color: var(--ink); }
.contact-card a { transition: color .3s; }
.contact-card a:hover { color: var(--crimson); }
.contact-card p.contact-card__sub { font-size: 14px; font-weight: 400; color: var(--muted); }
.demo-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px;
  max-width: 1000px; margin: 22px auto 0; padding: 26px 30px;
  border-radius: var(--radius-lg); background: var(--ink); color: rgba(255, 255, 255, .82);
}
.demo-cta p { max-width: 580px; }
.demo-cta .btn--dark { padding: 12px 30px; font-size: 16px; background: var(--crimson); }
.demo-cta .btn--dark:hover { background: var(--crimson-2); }

/* Footer links */
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-bottom: 18px; font-size: 15px; }
.site-footer .footer-nav a { font-weight: 600; }

@media (max-width: 1100px) {
  .product-body { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .product-hero__cover { width: min(340px, 78%); }
  .product-hero__info { justify-items: center; }
  .product-hero__meta { justify-content: center; }
}
@media (max-width: 767px) {
  .page-hero { padding-top: 140px; }
  .page-hero__lead { font-size: 15px; }
  .product-hero__artist { font-size: 19px; }
  .editions__list, .facts__list { grid-template-columns: 1fr; }
  .edition { padding: 22px; }
  .prose { font-size: 16px; }
  .prose__lead { font-size: 17px; }
  .demo-cta { padding: 22px; }
  .footer-nav { gap: 6px 18px; font-size: 14px; }
}

/* ==========================================================================
   Motion
   ========================================================================== */

/* load-in animations (held while the preloader is up) */
.js [data-anim] { opacity: 0; animation: var(--anim, fade-up) 1s var(--ease-out) forwards; animation-delay: var(--delay, 0s); }
.js [data-anim="fade-in"] { --anim: anim-fade; }
.js [data-anim="card-in"] { --anim: card-in; animation-duration: 1.1s; }
.js:not(.loaded-once):has(.preloader:not(.is-done)) [data-anim] { animation-play-state: paused; }
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes anim-fade { to { opacity: 1; } }
@keyframes card-in { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

/* split headings (hidden until JS splits them; shown anyway after 3s as a safety net) */
.js [data-split]:not(.is-split) { opacity: 0; animation: anim-fade .4s 3s forwards; }
[data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .word > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--w) * 80ms + var(--delay, 0s)); }
[data-split].is-split-in .word > span { transform: none; }

/* scroll reveals */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--delay, 0s); }
.js [data-reveal="fade-up"] { transform: translateY(34px); }
.js [data-reveal="rise"] { transform: translateY(60px) scale(.98); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* collage: reveal on transform/clip-path, parallax on the separate `translate` property */
.collage__tile { translate: 0 var(--py, 0px); }
.js .collage__tile[data-reveal="tile"] {
  transform: translateY(50px) scale(.9);
  clip-path: inset(18% 18% 18% 18% round 14px);
  transition-property: opacity, transform, clip-path, translate;
  transition-duration: .9s, 1.1s, 1.2s, .7s;
  transition-timing-function: var(--ease-out);
  transition-delay: var(--delay, 0s), var(--delay, 0s), var(--delay, 0s), 0s;
}
.js .collage__tile[data-reveal="tile"].is-visible { transform: none; clip-path: inset(-80px round 0); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .tracks__panel { grid-template-columns: 240px 1fr; }
  .tracks__list { grid-template-columns: repeat(4, 1fr); }
  .tracks__list .track-card:nth-child(5) { display: none; }
  .carousel { --slide-w: 56vw; }
}

@media (max-width: 900px) {
  .pill { font-size: 13px; padding: 4px 20px; }
  .section-title { font-size: 42px; }
  .hero { min-height: 0; padding: 170px 0 250px; }
  .hero .pill { font-size: 12px; }
  .hero__title { font-size: 54px; }
  .hero__lead { font-size: 16px; max-width: 80%; }
  .hero__actions .btn { font-size: 15px; }
  .tracks { margin-top: -220px; }
  .tracks__panel { grid-template-columns: 210px 1fr; }
  .tracks__intro { min-height: 0; }
  .tracks__intro-card { width: 74%; padding: 22px 10px; gap: 10px; }
  .tracks__icon { width: 46px; height: 46px; font-size: 22px; }
  .tracks__title { font-size: 24px; }
  .tracks__tag { font-size: 10px; padding: 5px 8px; white-space: nowrap; }
  .tracks__list { grid-template-columns: repeat(3, 1fr); }
  .tracks__list .track-card:nth-child(n+4) { display: none; }
  .track-card__title { font-size: 16px; }
  .track-card__artist { font-size: 13px; }
  .nav__link { font-size: 14px; }
  .about__body { font-size: 16px; line-height: 1.8; }
  .talent .section-title { font-size: 38px; }
  .talent__copy p { font-size: 15px; line-height: 1.7; }
  .talent__form { padding: 30px; }
  .talent__head { grid-template-columns: 1fr; margin-inline-start: 0; }
  .talent__copy { padding-bottom: 0; }
  .talent__mic { position: absolute; inset-inline-end: 0; top: -40px; width: 160px; margin: 0; z-index: -1; }
  .talent .container { position: relative; }
}

@media (max-width: 767px) {
  .site-header__inner { position: relative; grid-template-columns: 1fr; height: 110px; }
  .site-header__end { position: absolute; top: 50%; inset-inline-end: 0; translate: 0 -50%; }
  .lang-switch--float { top: 12px; inset-inline-end: 12px; }
  .nav { display: none; }
  .brand { justify-self: center; width: 50px; }
  .pill { font-size: 12px; }
  .section-title { font-size: 34px; }
  .videos .section-title, .talent .section-title { font-size: 32px; }
  .hero { padding: 170px 0 270px; }
  .hero__title { font-size: 33px; }
  .hero__lead { font-size: 14px; }
  .hero__actions .btn { font-size: 13px; }
  .tracks__panel { grid-template-columns: 1fr; margin-top: 60px; }
  .vinyl, [dir="rtl"] .vinyl { top: -60px; right: auto; left: 50%; translate: -50% 0; width: 170px; }
  .tracks__intro-card { width: 100%; padding: 26px 14px 20px; }
  .tracks__title { font-size: 26px; }
  .tracks__list { grid-template-columns: repeat(2, 1fr); padding: 10px; gap: 12px; }
  .tracks__list .track-card:nth-child(4) { display: block; }
  .track-card__title { font-size: 16px; }
  .track-card__artist { font-size: 13px; }
  .play-btn { opacity: 1; transform: none; width: 40px; height: 40px; font-size: 15px; }
  .play-btn__eq { display: none !important; }
  .about__body { font-size: 15px; }
  .talent__copy p { font-size: 14px; line-height: 1.8; }
  .talent .section-title { max-width: 64%; }
  .carousel { --slide-w: 84vw; }
  .carousel__arrow { display: none; }
  .video__play { width: 58px; height: 58px; font-size: 20px; }
  .video__meta { left: 16px; bottom: 12px; }
  .talent__form { grid-template-columns: 1fr; padding: 22px 18px; margin-top: 30px; }
  .field input, .field textarea { font-size: 16px; }
  .field label { font-size: 16px; }
  .btn--dark { font-size: 18px; }
  .track-page { padding: 42px 35px 40px; }
  .agency-badge { position: static; display: block; width: 120px; margin: 0 auto 30px; }
}

/* ==========================================================================
   Persian (RTL)
   ========================================================================== */
html[lang="fa"] {
  --f-display: "Kahroba", "Bebas Neue", Impact, Tahoma, sans-serif;
  --f-body: "Kahroba", "Gilroy", Tahoma, sans-serif;
  --f-nav: "Kahroba", "Barlow Condensed", Tahoma, sans-serif;
  --start: right;
}
/* English words on Persian pages use the English fonts, which have fewer weights; never fake the bold. */
html[lang="fa"] { font-synthesis-weight: none; }
/* Letter-spacing breaks the joins of Persian script. */
html[lang="fa"] *, html[lang="fa"] *::before, html[lang="fa"] *::after { letter-spacing: 0; }
html[lang="fa"] body { line-height: 1.8; }

html[lang="fa"] .hero__title { font-weight: 900; font-size: 74px; line-height: 1.35; }
html[lang="fa"] .section-title { font-weight: 800; font-size: clamp(30px, 3.3vw, 44px); line-height: 1.45; }
html[lang="fa"] .tracks__title { font-weight: 800; font-size: 24px; line-height: 1.4; }
html[lang="fa"] .tracks__tag { font-size: 12px; }
html[lang="fa"] .track-card__title { font-weight: 600; font-size: 17px; line-height: 1.5; }
html[lang="fa"] .nav__link { font-size: 17px; }
html[lang="fa"] .hero__lead { line-height: 1.9; }
html[lang="fa"] .about__body { max-height: 12em; font-size: 18px; line-height: 2; }
html[lang="fa"] .talent__copy p { line-height: 2; }
html[lang="fa"] .video__meta strong { font-weight: 800; font-size: clamp(18px, 1.8vw, 26px); }
html[lang="fa"] .form-success h3 { font-weight: 800; font-size: 28px; line-height: 1.4; }
html[lang="fa"] .notfound__code { font-weight: 900; line-height: 1.1; }
html[lang="fa"] .platform__cta { font-size: 14px; }
html[lang="fa"] .page-hero__title { font-weight: 900; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.45; }
html[lang="fa"] .product-hero__title { font-weight: 900; font-size: clamp(60px, 7.5vw, 100px); line-height: 1.25; }
html[lang="fa"] .block-title { font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.5; }
html[lang="fa"] .shop-card__title { font-weight: 800; font-size: 28px; line-height: 1.45; }
html[lang="fa"] .prose { line-height: 2.05; }
html[lang="fa"] .prose h2 { font-weight: 800; }
html[lang="fa"] .edition__name { font-weight: 800; }
html[lang="fa"] .field label { font-weight: 400; }
html[lang="fa"] .field input, html[lang="fa"] .field textarea { font-weight: 400; }
/* Emails and phone numbers are typed left to right. */
html[lang="fa"] .field input[type="email"], html[lang="fa"] .field input[type="tel"] { direction: ltr; text-align: right; }
/* Persian dots sit above the line and tails reach below it; give split words room so nothing is clipped. */
html[lang="fa"] [data-split] .word { padding: .5em .04em .3em; margin: -.5em -.04em -.3em; }
/* The hero gradient only paints inside the title box and each word's box, so both reach up to the dots too. */
html[lang="fa"] .hero__title { padding-top: .4em; margin-top: -.4em; }
html[lang="fa"] .hero__title.is-split .word > span { padding-top: .5em; margin-top: -.5em; }
[dir="rtl"] [data-split] .word > span { transform-origin: right bottom; transform: translateY(150%) rotate(-4deg); }
[dir="rtl"] [data-split].is-split-in .word > span { transform: none; }

/* Mirrored details */
[dir="rtl"] .tracks__intro-card { box-shadow: -10px 0 30px rgba(0, 0, 0, .35); }
[dir="rtl"] .play-btn { right: auto; left: 10px; }
[dir="rtl"] .play-btn__eq { left: auto; right: -64px; }
[dir="rtl"] .site-footer a { background-position: 100% 100%; }
/* The video carousel keeps its left-to-right geometry; only the captions run right to left. */
[dir="rtl"] .carousel { direction: ltr; }
[dir="rtl"] .video__meta { direction: rtl; text-align: right; }

@media (min-width: 768px) {
  [dir="rtl"] .vinyl { right: auto; left: -6px; }
}
@media (max-width: 900px) {
  html[lang="fa"] .hero__title { font-size: 56px; }
  html[lang="fa"] .section-title, html[lang="fa"] .talent .section-title { font-size: 32px; }
  html[lang="fa"] .tracks__title { font-size: 20px; }
  html[lang="fa"] .tracks__tag { font-size: 11px; }
  html[lang="fa"] .track-card__title { font-size: 15px; }
  html[lang="fa"] .nav__link { font-size: 14px; }
  html[lang="fa"] .about__body { font-size: 16px; }
  html[lang="fa"] .talent__copy p { line-height: 1.9; }
}
@media (max-width: 767px) {
  html[lang="fa"] .hero__title { font-size: 40px; }
  html[lang="fa"] .section-title { font-size: 27px; }
  html[lang="fa"] .videos .section-title, html[lang="fa"] .talent .section-title { font-size: 25px; }
  html[lang="fa"] .tracks__title { font-size: 22px; }
  html[lang="fa"] .about__body { font-size: 15px; text-align: start; }
  html[lang="fa"] .talent__copy p { font-size: 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-anim], .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-split] .word > span { transform: none !important; }
}
