/* tq2ka.ru
   Мотивы: огранка (рамка-изумруд, схема бриллианта), CD (бейдж, диски за обложками),
   звуковая волна вместо нитки, искры за курсором.
   Тема — системная (prefers-color-scheme), кнопка в шапке переключает вручную. */

/* ───────── Палитра ───────── */
:root {
  --bg: #f7f7fa;          /* лёд */
  --bg-2: #eeeff5;
  --card: #ffffff;
  --ink: #16171f;         /* тушь */
  --muted: #5d5f6e;
  --line: rgba(22, 23, 31, .12);
  --pink: #e0306a;        /* розовый напиток с аватарки */
  --pink-ink: #c21f57;    /* розовый для мелкого текста */
  --blue: #2e62f0;        /* молния с обложки «Хава нагила» */
  --gold: #c08a1e;        /* «йцукен» */
  --shadow: 0 28px 50px -26px rgba(22, 23, 31, .45);
  --foot: #14151d;
  --foot-ink: #f1f1f6;

  --serif: 'Cormorant Garamond', 'Cormorant', 'Times New Roman', serif;
  --sans: 'Onest', 'Segoe UI', system-ui, sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --head-h: 76px;

  color-scheme: light;
}

/* тёмная: по системе (если не выбрана светлая вручную) или по кнопке */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1016;
    --bg-2: #161722;
    --card: #1b1c27;
    --ink: #ecedf3;
    --muted: #a3a5b5;
    --line: rgba(236, 237, 243, .14);
    --pink: #ff4f86;
    --pink-ink: #ff6e9a;
    --blue: #7196ff;
    --gold: #e2b04a;
    --shadow: 0 30px 60px -24px rgba(0, 0, 0, .8);
    --foot: #08080c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1016;
  --bg-2: #161722;
  --card: #1b1c27;
  --ink: #ecedf3;
  --muted: #a3a5b5;
  --line: rgba(236, 237, 243, .14);
  --pink: #ff4f86;
  --pink-ink: #ff6e9a;
  --blue: #7196ff;
  --gold: #e2b04a;
  --shadow: 0 30px 60px -24px rgba(0, 0, 0, .8);
  --foot: #08080c;
  color-scheme: dark;
}
/* светлая вручную при тёмной системе: запрещаем браузеру «затемнять» страницу */
:root[data-theme="light"] { color-scheme: only light; }

/* ───────── База ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--head-h); overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  transition: background-color .4s ease, color .4s ease;
}
::selection { background: var(--pink); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 4px; }

.skip {
  position: fixed; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--bg); text-decoration: none;
}
.skip:focus { top: 12px; }

/* прогресс чтения: полоска спектра */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--blue), var(--gold));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* искры за курсором */
.trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 55; pointer-events: none; }

/* ───────── Шапка ───────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--head-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .3s, background-color .4s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo__t { font: 500 26px/1 var(--serif); letter-spacing: -.01em; }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a {
  position: relative; display: block; padding: 8px 12px;
  font-size: 15px; text-decoration: none; color: var(--ink);
}
.nav a span { position: relative; }
.nav a span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--pink) 0 5px, transparent 5px 9px);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s ease;
}
.nav a:hover span::after, .nav a[aria-current="true"] span::after { transform: scaleX(1); }

.head-r { display: flex; align-items: center; gap: 10px; }

.theme-t {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.theme-t svg { width: 20px; height: 20px; }
.theme-t .sun, .theme-t .moon { transition: opacity .35s, transform .5s cubic-bezier(.2, .7, .2, 1); transform-origin: 12px 12px; }
.theme-t .moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
.is-dark .theme-t .sun { opacity: 0; transform: rotate(90deg) scale(.5); }
.is-dark .theme-t .moon { opacity: 1; transform: none; }

.pill {
  display: none; align-items: center; height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--ink); color: var(--bg);
  font: 500 15px/1 var(--sans); text-decoration: none;
  transition: background-color .25s, color .25s;
}
.pill:hover { background: var(--pink); color: #fff; }

.burger {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); cursor: pointer; display: grid; place-content: center; gap: 6px;
}
.burger span { display: block; width: 18px; height: 1.6px; background: var(--ink); transition: transform .35s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

@media (min-width: 960px) {
  .nav { display: block; position: absolute; left: 50%; transform: translateX(-50%); }
  .pill { display: inline-flex; }
  .burger { display: none; }
}

.menu-full {
  position: fixed; inset: 0; z-index: 45;
  background: var(--bg);
  padding: calc(var(--head-h) + 32px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 40px;
}
.menu-full[hidden] { display: none; }
.menu-full nav { display: flex; flex-direction: column; gap: 4px; }
.menu-full nav a { font: 500 clamp(40px, 11vw, 64px)/1.15 var(--serif); text-decoration: none; }
.menu-full nav a:hover { color: var(--pink); font-style: italic; }
.menu-full__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────── Кнопки и ссылки ───────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px;
  font: 500 16px/1 var(--sans); text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s;
  will-change: transform;
}
.btn span { transition: transform .3s; }
.btn:hover span { transform: translateX(4px); }
.btn--pink {
  background: var(--pink); color: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 18%, transparent), 0 14px 28px -14px var(--pink);
}
/* пунктирная «строчка» внутри кнопки */
.btn--pink::before {
  content: ""; position: absolute; inset: 4px; border-radius: inherit;
  border: 1.4px dashed rgba(255, 255, 255, .55); pointer-events: none;
}
.btn--pink:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { border: 1.4px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: #fff; color: #14151d; }
.btn--light:hover { background: var(--pink); color: #fff; }

.more {
  display: inline-flex; gap: 8px; align-items: center;
  font: 600 13px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink-ink); text-decoration: none;
  padding-bottom: 4px;
  background: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 9px) 0 100% / 100% 1.5px no-repeat;
}
.more span { transition: transform .3s; }
.more:hover span { transform: translateX(5px); }

.script { margin: 0; font: 600 clamp(24px, 2.4vw, 32px)/1 var(--hand); color: var(--pink); transform: rotate(-3deg); transform-origin: 0 100%; }

/* ───────── Первый экран ───────── */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--head-h) + 40px) var(--gutter) 96px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  /* текст слева, карточка с фото справа */
  .hero {
    min-height: 100svh;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 32px;
    padding-bottom: 120px;
  }
}

/* схема огранки бриллианта на фоне */
.hero__facets {
  position: absolute; z-index: -1;
  width: min(820px, 95vw); right: -14%; top: 4%;
  fill: none; stroke: var(--ink); stroke-width: 1; opacity: .07;
  pointer-events: none;
}

.hero__text { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 22px;
  font: 600 13px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .spark { color: var(--pink); margin-right: 6px; }

.hero__name { margin: 0; position: relative; z-index: 1; }
.hero__name .n1 {
  display: block;
  font: 500 clamp(104px, 16vw, 236px)/.82 var(--serif);
  letter-spacing: -.035em;
  margin-left: -.04em;
}
.hero__name .n2 {
  display: block;
  white-space: nowrap;
  margin: .12em 0 0 clamp(16px, 9%, 110px);
  font: italic 300 clamp(38px, 5.6vw, 84px)/1 var(--serif);
  letter-spacing: -.01em;
  color: var(--pink);
}

/* звуковая волна: появляется, только когда крутят пластинку, бежит от неё влево */
.hero__wave {
  position: absolute; top: 0; left: 50%; z-index: 5;
  width: 100vw; height: 100%;
  translate: -50% 0;               /* на всю ширину окна, не только колонки */
  pointer-events: none;
}

.hero__intro {
  position: relative; z-index: 1;
  max-width: 34ch; margin: 36px 0 0;
  font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--muted);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }

/* фото в рамке огранки «изумруд» */
.hero__art { position: relative; justify-self: center; width: min(470px, 100%); margin-top: 24px; }
@media (min-width: 960px) { .hero__art { justify-self: end; margin-top: 40px; } }

.gem { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.gem__clip {
  position: absolute; inset: 0;
  clip-path: polygon(21% 0, 79% 0, 100% 17%, 100% 83%, 79% 100%, 21% 100%, 0 83%, 0 17%);
  background: var(--bg-2);
}
.gem__clip img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 38%; }
.gem__fire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .6s; }
.gem__fire.is-on { opacity: 1; }
.gem__stitch {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.3; stroke-dasharray: 5 6;
}
.gem__stitch polygon { vector-effect: non-scaling-stroke; }
/* тень повторяет огранку: drop-shadow на родителе следует форме clip-path */
.gem { filter: drop-shadow(0 34px 34px color-mix(in srgb, var(--pink) 26%, transparent)) drop-shadow(0 8px 12px rgba(0, 0, 0, .16)); }

.note {
  position: absolute; z-index: 3;
  right: -6px; top: -64px;
  margin: 0;
  font: 600 clamp(24px, 2.2vw, 30px)/.95 var(--hand); color: var(--pink);
  transform: rotate(-6deg); text-align: right;
}
.note svg {
  position: absolute; left: -84px; top: 22px; width: 90px; height: 60px;
  fill: none; stroke: var(--pink); stroke-width: 1.6; stroke-dasharray: 4 5; stroke-linecap: round;
}
.note svg path:last-child { stroke-dasharray: none; }

/* CD-пластинка: медленно вращается; если крутить рукой — играет песня */
.badge {
  position: absolute; z-index: 4;
  left: -70px; top: 30%;
  width: 168px; height: 168px;
  border-radius: 50%;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.badge.is-grabbing { cursor: grabbing; }
.badge:focus-visible { outline: 2px solid var(--pink); outline-offset: 6px; border-radius: 50%; }
.badge__spin { position: absolute; inset: 0; }
.badge__hint {
  /* слева под пластинкой — не залезает на фото */
  position: absolute; right: 58%; top: calc(100% + 2px);
  rotate: -4deg; transform-origin: 100% 0;
  white-space: nowrap; pointer-events: none; text-align: right;
  font: 600 24px/1 var(--hand); color: var(--pink);
  font-variant-numeric: tabular-nums;
}
.badge__disc, .disc, .shot__disc {
  --a: 20deg;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side,
      transparent 0 30%,
      rgba(255, 255, 255, .85) 30.5% 31.2%,
      #c9ced6 31.6% 36%,
      rgba(110, 118, 132, .35) 36.3% 37%,
      transparent 37.4% 97.6%,
      rgba(90, 98, 112, .45) 98% 100%),
    repeating-radial-gradient(circle closest-side, rgba(255, 255, 255, 0) 0 2px, rgba(255, 255, 255, .09) 2px 3px),
    conic-gradient(from var(--a),
      #d3d8df 0deg, #f1bfd2 20deg, #f8e6b2 38deg, #bfe7dc 56deg, #b6cbf2 74deg, #d9d6e6 92deg,
      #e8ebef 130deg, #d3d8df 180deg,
      #f1bfd2 200deg, #f8e6b2 218deg, #bfe7dc 236deg, #b6cbf2 254deg, #d9d6e6 272deg,
      #e8ebef 310deg, #d3d8df 360deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent 0 12.5%, rgba(0, 0, 0, .45) 13% 30%, #000 30.5%);
  mask: radial-gradient(circle closest-side, transparent 0 12.5%, rgba(0, 0, 0, .45) 13% 30%, #000 30.5%);
}
@property --a { syntax: '<angle>'; inherits: false; initial-value: 20deg; }
.badge__disc { position: absolute; inset: 0; }
.badge::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  box-shadow: 0 18px 30px -10px rgba(0, 0, 0, .35);
}
.badge__text {
  position: absolute; inset: 0; width: 100%; height: 100%;
  font: 600 12px var(--sans); letter-spacing: .08em; text-transform: uppercase;
  fill: #20212b;
}
.badge__core {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 22px; color: var(--pink);
}
@keyframes spin { to { rotate: 360deg; } }

.scroll-cue {
  display: none;
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 28px; height: 44px; border: 1.6px solid var(--ink); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--pink);
}
@media (min-width: 960px) { .scroll-cue { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue span { animation: cue 1.8s ease-in-out infinite; }
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* телефон, как у Марины: имя → текст → кнопки → большое фото с пластинкой-наклейкой на углу */
@media (max-width: 959px) {
  .hero { gap: 0; padding-bottom: 72px; }
  .hero__text { display: contents; }
  .eyebrow { order: 0; margin: 0 0 14px; }
  .hero__name { order: 1; }
  .hero__name .n1 { font-size: 36vw; }
  .hero__name .n2 { font-size: 12.2vw; margin: .08em 0 0 4%; }
  .hero__intro { order: 2; margin-top: 28px; }
  .hero__cta { order: 3; margin-top: 26px; }
  .hero__art { order: 4; width: 100%; margin-top: 104px; justify-self: stretch; }
  /* пластинка на правом верхнем углу фото, наполовину над ним; волна бежит влево по краю фото */
  .badge { width: 116px; height: 116px; left: auto; right: -4px; top: -58px; }
  .badge__hint { top: 2px; bottom: auto; left: auto; right: calc(100% + 8px); font-size: 21px; text-align: right; transform-origin: 100% 0; }
  .note { display: none; }
}

/* ───────── Лента ───────── */
.ribbon {
  position: relative; z-index: 3;
  margin: 0 -4vw;
  padding: 18px 0;
  background: var(--pink); color: #fff;
  transform: rotate(-2deg);
  overflow: hidden;
  box-shadow: 0 18px 40px -24px var(--pink);
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 0;
  border-top: 1.4px dashed rgba(255, 255, 255, .6);
}
.ribbon::before { top: 6px; }
.ribbon::after { bottom: 6px; }
.ribbon__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  padding-left: 28px;
  font: italic 400 clamp(24px, 2.6vw, 34px)/1 var(--serif); white-space: nowrap;
}
.ribbon__track i { font-style: normal; font-size: .7em; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon__track { animation: marquee 38s linear infinite; }
  .ribbon:hover .ribbon__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Секции ───────── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(96px, 11vw, 150px) var(--gutter) clamp(72px, 9vw, 120px);
}
.section--alt {
  max-width: none;
  background: var(--bg-2);
  padding-left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 32px; margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 {
  margin: 6px 0 0;
  font: 500 clamp(52px, 6.6vw, 92px)/.95 var(--serif); letter-spacing: -.02em;
}

/* ───────── Карточки релизов ───────── */
.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 56px 28px;
}
@media (min-width: 520px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* телефон: одна колонка — карточки по центру */
@media (max-width: 519px) {
  .rcard { text-align: center; }
  .rcard__case { margin-inline: auto; }
}
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.rcard { position: relative; padding-top: 30px; }
.rcard__case { position: relative; aspect-ratio: 1; max-width: 340px; }
.rcard__cover {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2), var(--shadow);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
/* диск выглядывает сверху и выезжает при наведении */
.rcard .disc {
  position: absolute; z-index: 0; left: 5%; top: 5%; width: 90%; height: 90%;
  translate: 0 -12%;
  transition: translate .7s cubic-bezier(.2, .75, .15, 1), --a .5s ease-out;
}
.rcard:hover .disc, .rcard:focus-within .disc, .rcard.is-playing .disc, .rcard.is-summoned .disc { translate: 0 -38%; }
.rcard:hover .rcard__cover { transform: translateY(4px); }
.rcard.is-playing .disc { animation: spin 1.8s linear infinite; }
.rcard.is-summoned .disc {
  filter: sepia(1) saturate(1.5) hue-rotate(-15deg) brightness(.8) contrast(1.15);
  animation: spin 2.4s linear 1;
}
.rcard.is-summoned .rcard__cover { outline: 2px solid var(--pink); outline-offset: 6px; }

.tag {
  position: absolute; z-index: 2; left: 12px; bottom: 12px;
  padding: 6px 11px; border-radius: 999px;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}

.rcard__by {
  margin: 26px 0 6px;
  font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.rcard__t { margin: 0 0 14px; font: 500 clamp(26px, 2.2vw, 30px)/1.1 var(--serif); text-wrap: balance; }
.rcard__t em { font-weight: 300; color: var(--muted); }
.rcard__go {
  font: 600 13px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink-ink); text-decoration: none;
}
.rcard__go span { display: inline-block; transition: transform .3s; }
.rcard__go:hover span { transform: translateX(5px); }
/* вся карточка кликабельна через ссылку «Слушать» */
.rcard__go::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.rcard .release__play { z-index: 4; }

/* плеер: появляется, только если у релиза есть data-audio */
.release__play {
  position: absolute; right: 12px; bottom: 12px;
  width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: var(--pink); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .6);
}
.release__play svg { width: 20px; height: 20px; }
.release__play .i-pause { display: none; }
.release.is-playing .release__play .i-play { display: none; }
.release.is-playing .release__play .i-pause { display: block; }
.release__progress { position: absolute; z-index: 2; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--line); }
.release__progress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--pink); }

/* ───────── Звучание ───────── */
.srow {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
  margin-bottom: clamp(80px, 10vw, 140px);
}
.srow:last-child { margin-bottom: 0; }
@media (min-width: 860px) {
  .srow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .srow--flip .shot { order: 2; }
}

.shot { position: relative; width: min(300px, 58vw); aspect-ratio: 1; }
/* телефон: связка «обложка + выехавший диск» по центру экрана */
@media (max-width: 859px) { .shot { justify-self: center; translate: -24% 0; } }
@media (min-width: 860px) {
  .shot { justify-self: center; translate: -18% 0; }
  .srow--flip .shot { translate: -18% 0; }
}
.shot img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  border-radius: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, .2), var(--shadow);
}
.shot__disc {
  position: absolute; z-index: 0; left: 4%; top: 4%; width: 92%; height: 92%;
  translate: 52% 0;
}

.srow__n { margin: 0; font: italic 300 clamp(56px, 6vw, 84px)/1 var(--serif); color: var(--pink); }
.srow h3 { margin: 6px 0 18px; font: 500 clamp(40px, 4.4vw, 60px)/1 var(--serif); letter-spacing: -.01em; }
.srow__text p:not(.srow__n) { margin: 0 0 26px; max-width: 44ch; color: var(--muted); }

/* ───────── Цитата ───────── */
.quote { padding: clamp(110px, 13vw, 180px) var(--gutter); text-align: center; }
.quote figure { margin: 0 auto; max-width: 920px; }
.quote__cover {
  width: 132px; margin: 0 auto 34px; aspect-ratio: 1;
  clip-path: polygon(21% 0, 79% 0, 100% 21%, 100% 79%, 79% 100%, 21% 100%, 0 79%, 0 21%);
}
.quote__cover img { width: 100%; height: 100%; object-fit: cover; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  margin: 0;
  font: italic 300 clamp(40px, 6vw, 88px)/1.05 var(--serif); letter-spacing: -.015em;
  text-wrap: balance;
}
.quote blockquote p span { display: block; text-wrap: balance; }
.quote blockquote p::before { content: "«"; color: var(--pink); }
.quote blockquote p span::after { content: "»"; color: var(--pink); }
.quote figcaption { margin-top: 22px; font: 600 26px/1 var(--hand); color: var(--pink); }
.quote__wave {
  display: block; width: 260px; margin: 26px auto 0;
  fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round;
}

/* ───────── Подвал ───────── */
.foot {
  position: relative; overflow: hidden;
  background: var(--foot); color: var(--foot-ink);
  padding: clamp(80px, 10vw, 130px) var(--gutter) 28px;
}
.foot__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 56px;
}
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.1fr .9fr; align-items: end; } }
.foot .script { color: #ff6e9a; }
.foot__h { margin: 10px 0 18px; font: 500 clamp(56px, 7.4vw, 112px)/.95 var(--serif); letter-spacing: -.02em; }
.foot__h em { font-weight: 300; color: #ff6e9a; }
.foot__p { margin: 0 0 32px; color: rgba(241, 241, 246, .7); }

/* соцсети: пока только Telegram */
.social { margin-top: 44px; }
.social__t { margin: 0 0 14px; font-size: 14px; color: rgba(241, 241, 246, .6); }
.tg { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: var(--foot-ink); }
.tg__i {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(241, 241, 246, .3);
  transition: background-color .25s, border-color .25s, color .25s;
}
.tg__i svg { width: 22px; height: 22px; translate: -1px 1px; }
.tg__n { font: 400 clamp(24px, 2.2vw, 30px)/1.1 var(--serif); transition: color .25s; }
.tg__n small { display: block; margin-top: 4px; font: 400 14px/1.2 var(--sans); color: rgba(241, 241, 246, .6); }
.tg:hover .tg__i { background: #ff6e9a; border-color: #ff6e9a; color: #fff; }
.tg:hover .tg__n { color: #ff6e9a; }

.foot__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(241, 241, 246, .16); }
.foot__list li { border-bottom: 1px solid rgba(241, 241, 246, .16); }
.foot__list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; text-decoration: none;
  font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif);
  transition: color .25s, padding .35s;
}
.foot__list a i { font-style: normal; font-family: var(--sans); font-size: 18px; transition: transform .3s; }
.foot__list a:hover { color: #ff6e9a; padding-left: 10px; }
.foot__list a:hover i { transform: translateX(6px); }

.foot__giant {
  margin: clamp(64px, 8vw, 110px) 0 0;
  text-align: center;
  font: 500 clamp(120px, 30vw, 480px)/.78 var(--serif); letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 241, 246, .22);
  user-select: none;
}
.foot__bar {
  max-width: var(--max); margin: 18px auto 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 14px; color: rgba(241, 241, 246, .6);
}
.up {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(241, 241, 246, .3); display: grid; place-items: center;
  color: var(--foot-ink); text-decoration: none; font-size: 18px;
  transition: background-color .25s, color .25s;
}
.up:hover { background: #fff; color: #14151d; }

/* ───────── Появление при прокрутке ───────── */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .cards [data-reveal]:nth-child(2) { transition-delay: .08s; }
  .js .cards [data-reveal]:nth-child(3) { transition-delay: .16s; }
  .js .cards [data-reveal]:nth-child(4) { transition-delay: .24s; }
}

/* переключение темы: круг раскрывается из кнопки (анимация в main.js) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
