/* ============================================
   ЧЁРНАЯ ТАЙГА — Official Site
   Dark rap / horrorcore aesthetic
   Palette: #C8102E · #0A0A0A · #E8E0D0
   ============================================ */

:root {
  --brand:        #C8102E;
  --brand-bright: #E8102E;
  --brand-dim:    #8B0A1F;
  --brand-pale:   rgba(200,16,46,0.12);
  --brand-glow:   rgba(200,16,46,0.35);

  --void:    #0A0A0A;
  --carbon:  #141414;
  --stone:   #1E1E1E;
  --shadow3: #2A2A2A;

  --bone:    #E8E0D0;
  --text-soft: rgba(232,224,208,0.82);
  --ash:     rgba(232,224,208,0.68);
  --faint:   rgba(232,224,208,0.30);
  --hairline:rgba(232,224,208,0.10);

  --ember:   #FF6A2B;

  /* Single typeface across the whole site — Bebas Neue Cyrillic Regular 400.
     С кириллическими глифами, поэтому никакой fallback на Oswald не нужен
     для русского текста. Oswald оставлен как страховка на случай если CDN
     с Bebas Neue Cyrillic недоступен. */
  --ff-display: 'Bebas Neue Cyrillic', 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  --ff-serif:   'Bebas Neue Cyrillic', 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  --ff-body:    'Bebas Neue Cyrillic', 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;

  --max-w: 1280px;
  --pad-x: clamp(20px, 5vw, 80px);
  --section-pad: clamp(80px, 10vw, 140px);

  /* Safe-area для iPhone с notch / Dynamic Island */
  --safe-top:    env(safe-area-inset-top,    0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left,   0px);
  --safe-right:  env(safe-area-inset-right,  0px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Шрифт — жирный 700 везде. Bebas Neue Cyrillic поставляется только в Regular 400,
   поэтому включаем font-synthesis: weight чтобы браузер синтезировал bold.
   Oswald 700 (fallback) — уже настоящий жирный, идёт мгновенно из Google Fonts
   и гарантированно работает на мобильных. Заглавные буквы — глобально.
   font-style: normal принудительно — никаких курсивов даже на <em>/<i>. */
*, *::before, *::after {
  font-weight: 700 !important;
  font-style: normal !important;
  text-transform: uppercase;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  font-synthesis: weight;
  /* iOS Safari в landscape сам увеличивает шрифт — выключаем */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  background: var(--void);
  color: var(--bone);
  /* Bebas Neue Cyrillic — all-caps condensed display face, синтетический bold от 400.
     Oswald 700 — резервный bold-condensed с кириллицей. */
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-weight: 700;
  /* Глобальный uppercase: весь текст на сайте — заглавными */
  text-transform: uppercase;
  overflow-x: hidden;

  /* CONTENT PROTECTION */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

/* Allow form inputs (when added later) */
input, textarea { -webkit-user-select: text; user-select: text; }

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

a { color: inherit; text-decoration: none; transition: color .25s var(--ease-out); cursor: pointer; }
a:hover { color: var(--brand); }

button { background: none; border: none; color: inherit; font-family: inherit; cursor: pointer; }

::selection { background: var(--brand); color: var(--void); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  /* Учитываем safe-area в landscape: padding не меньше базового, но плюс безопасная зона */
  padding-left:  max(var(--pad-x), var(--safe-left));
  padding-right: max(var(--pad-x), var(--safe-right));
}

/* =============================
   GRAIN OVERLAY
============================= */
.grain-overlay {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* =============================
   CUSTOM CURSOR (desktop)
============================= */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  transition: width .15s, height .15s, background .15s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  opacity: 0.5;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), opacity .25s, transform .12s;
}
.cursor-ring.expand { width: 60px; height: 60px; opacity: 0.85; }
@media (max-width: 900px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body { cursor: auto; }
}
@media (hover: hover) and (pointer: fine) {
  body, a, button { cursor: none; }
}

/* =============================
   AUDIO PLAYER (top-LEFT compact pill)
============================= */
.player {
  position: fixed;
  top: calc(92px + var(--safe-top));
  left: max(20px, var(--safe-left));
  width: 380px;
  max-width: calc(100% - 40px - var(--safe-left) - var(--safe-right));
  height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 0 6px;
  background: rgba(20,20,20,0.82);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  box-shadow:
    0 12px 36px rgba(0,0,0,0.45),
    0 0 0 1px rgba(200,16,46,0.0);
  z-index: 95;
  opacity: 0;
  animation: player-enter 0.7s 0.3s var(--ease-out) forwards;
  transition: border-color .3s, box-shadow .4s;
}
@keyframes player-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.player.ready {
  opacity: 1;
}
.player.playing {
  border-color: var(--brand);
  box-shadow:
    0 12px 36px rgba(0,0,0,0.45),
    0 0 0 1px rgba(200,16,46,0.4),
    0 0 30px rgba(200,16,46,0.15);
}

/* Cover */
.player-cover {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  background-size: cover;
  background-position: 70% 25%;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--hairline);
}
.player.playing .player-cover {
  animation: player-cover-spin 6s linear infinite;
}
@keyframes player-cover-spin {
  to { transform: rotate(360deg); }
}
.player-eq {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(10,10,10,0.55);
  opacity: 0;
  transition: opacity .3s;
}
.player.playing .player-eq { opacity: 1; }
.player-eq span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--brand);
  border-radius: 2px;
  animation: eq-bounce 1s ease-in-out infinite;
}
.player-eq span:nth-child(1) { animation-delay: 0s; }
.player-eq span:nth-child(2) { animation-delay: 0.18s; }
.player-eq span:nth-child(3) { animation-delay: 0.36s; }
.player-eq span:nth-child(4) { animation-delay: 0.12s; }
@keyframes eq-bounce {
  0%, 100% { height: 5px; }
  50%      { height: 18px; }
}

/* Info */
.player-info {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 120px;
}
.player-track {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
  margin-bottom: 1px;
}
.player-artist {
  font-size: 0.62rem;
  color: var(--ash);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Play button */
.player-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--void);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .25s var(--ease-out), background .25s, box-shadow .3s;
  position: relative;
}
.player-play svg { width: 18px; height: 18px; }
.player-play:hover {
  background: var(--brand-bright);
  transform: scale(1.08);
  box-shadow: 0 0 22px var(--brand-glow);
}
.player-play .player-icon-pause { display: none; }
.player.playing .player-icon-play { display: none; }
.player.playing .player-icon-pause { display: block; }

/* Progress */
.player-progress {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.player-current, .player-total {
  font-size: 0.62rem;
  color: var(--ash);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  min-width: 26px;
}
.player-current { text-align: right; }
.player-track-bar {
  position: relative;
  flex: 1;
  height: 3px;
  background: var(--hairline);
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  transition: height .25s, background .25s;
}
.player-track-bar:hover, .player-track-bar:focus-visible {
  height: 5px;
  background: rgba(232,224,208,0.18);
}
.player-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--brand);
  border-radius: 999px;
  transition: width .12s linear;
}
.player-knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .25s var(--ease-out);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.18);
}
.player-track-bar:hover .player-knob,
.player-track-bar:focus-visible .player-knob,
.player.playing .player-knob {
  transform: translate(-50%, -50%) scale(1);
}

/* Mute */
.player-mute {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ash);
  flex-shrink: 0;
  transition: color .25s, background .25s;
}
.player-mute svg { width: 15px; height: 15px; }
.player-mute:hover { color: var(--bone); background: rgba(232,224,208,0.06); }
.player-mute .player-icon-mute { display: none; }
.player.muted .player-icon-vol  { display: none; }
.player.muted .player-icon-mute { display: block; color: var(--brand); }

audio { display: none; }

/* =============================
   SCROLL TO TOP — LEFT SIDE
============================= */
.scroll-up {
  position: fixed;
  left: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 4vh, 36px);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--carbon);
  border: 1px solid var(--brand);
  color: var(--brand);
  display: grid; place-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s, background .25s, color .25s;
  overflow: hidden;
}
.scroll-up.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.scroll-up:hover {
  background: var(--brand);
  color: var(--void);
  box-shadow: 0 0 30px var(--brand-glow);
}
.scroll-up svg { position: relative; z-index: 2; }
.scroll-up-progress {
  position: absolute; inset: 2px;
  border-radius: 50%;
  background: conic-gradient(var(--brand-pale) calc(var(--scroll-pct, 0) * 1%), transparent 0);
  z-index: 1;
}

/* =============================
   NAVBAR
============================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  /* Учитываем safe-area для notch — отступ сверху, чтобы шапка не лезла под чёлку */
  padding: calc(20px + var(--safe-top)) 0 20px;
  transition: padding .3s var(--ease-out), background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: calc(12px + var(--safe-top)) 0 12px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--hairline);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  transition: transform .25s var(--ease-out);
}
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 0 transparent);
  transition: filter .25s, transform .25s var(--ease-out);
}
.nav-logo:hover { transform: scale(1.04); }
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(2px 0 0 var(--brand)) drop-shadow(-2px 0 0 #00FFFF);
}
.nav.scrolled .nav-logo-img { height: 32px; }
.nav-menu {
  list-style: none;
  display: flex; gap: 24px;
  flex: 1;
  justify-content: center;
}
.nav-menu a {
  font-family: var(--ff-body);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bone);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color .25s;
}
.nav-menu a::after {
  content: ''; position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--brand);
  transition: width .3s var(--ease-out);
}
.nav-menu a:hover { color: var(--brand); }
.nav-menu a:hover::after { width: 100%; }


/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  background: rgba(232,224,208,0.04);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  flex-shrink: 0;
}
.lang-toggle button {
  padding: 5px 10px;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ash);
  border-radius: 999px;
  transition: color .2s, background .2s;
  line-height: 1;
}
.lang-toggle button.active {
  color: var(--brand);
  background: var(--brand-pale);
}
.lang-toggle button:hover:not(.active) {
  color: var(--bone);
}
.lang-divider {
  width: 1px; height: 14px;
  background: var(--hairline);
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--brand);
  color: var(--void) !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform .3s var(--ease-out), box-shadow .3s, background .25s;
}
.nav-cta:hover {
  background: var(--brand-bright) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--brand-glow);
}

.burger { display: none; width: 28px; height: 22px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 1.5px; background: var(--bone); transition: .3s var(--ease-out); }
.burger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); background: var(--brand); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); background: var(--brand); }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--void);
  z-index: 99;
  padding: 100px var(--pad-x) 40px;
  opacity: 0; visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu a {
  font-family: var(--ff-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--bone);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
}
.mobile-lang {
  margin-top: 36px;
  display: flex; align-items: center; gap: 14px;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.mobile-lang button {
  color: var(--ash);
  padding: 6px 10px;
  border-radius: 4px;
}
.mobile-lang button.active { color: var(--brand); background: var(--brand-pale); }

/* =============================
   GLITCH LOGO
============================= */
.logo-glitch {
  position: relative;
  display: inline-block;
}
.logo-glitch::before, .logo-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
}
.logo-glitch:hover::before {
  color: var(--brand);
  transform: translate(-2px, 0);
  opacity: 0.85;
  animation: glitch-shake 0.4s infinite linear;
}
.logo-glitch:hover::after {
  color: #00FFFF;
  transform: translate(2px, 0);
  opacity: 0.85;
  animation: glitch-shake 0.4s infinite linear reverse;
}
@keyframes glitch-shake {
  0%   { transform: translate(-2px, 0); }
  20%  { transform: translate(-2px, 1px); }
  40%  { transform: translate(2px, 0); }
  60%  { transform: translate(-1px, -1px); }
  80%  { transform: translate(1px, 1px); }
  100% { transform: translate(-2px, 0); }
}

/* =============================
   HERO
============================= */
.hero {
  position: relative;
  /* 100vh на iOS пересчитывается при скрытии/показе адресной строки → прыжки.
     svh (small viewport height) фиксирован — не меняется при скролле.
     Fallback на 100vh для старых браузеров. */
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  /* normal-flow column: content area grows & centers itself, the marquee and
     scroll hint sit BELOW it in flow — they can never overlap, at any height */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding-top: 96px; /* clears the fixed navbar */
}
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  animation: hero-zoom 18s var(--ease-in-out) infinite alternate;
  filter: brightness(0.55) contrast(1.1) saturate(0.9);
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(10,10,10,0.4) 60%, var(--void) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.1) 40%, rgba(10,10,10,0.95) 100%);
}
.hero-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

.hero-content {
  position: relative; z-index: 3;
  max-width: var(--max-w); margin: 0 auto;
  /* top padding also clears the floating audio-player pill (top:88px + 54px) */
  padding: 56px var(--pad-x);
  width: 100%;
  text-align: center;
  /* take all the space above the marquee and center the block inside it */
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
  margin-bottom: 28px;
}

.hero-title {
  margin-bottom: 28px;
  line-height: 0;
}

/* Static hero logo — no animations, no hover effects */
.hero-logo-img {
  width: clamp(200px, 42vw, 380px);
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.6));
}
.hero-letters {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: clamp(4.5rem, 18vw, 14rem);
  line-height: 0.85;
  letter-spacing: 0.04em;
  color: var(--bone);
  position: relative;
  text-shadow:
    0 0 0 transparent,
    0 0 60px rgba(200,16,46,0.15);
  animation: title-breath 6s ease-in-out infinite;
  cursor: none;
}
@keyframes title-breath {
  0%, 100% { text-shadow: 0 0 60px rgba(200,16,46,0.10); }
  50%      { text-shadow: 0 0 90px rgba(200,16,46,0.25); }
}
.hero-letters::before, .hero-letters::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.hero-letters:hover::before {
  color: var(--brand);
  transform: translate(-3px, 0);
  opacity: 0.7;
  animation: glitch-shake 0.3s infinite linear;
}
.hero-letters:hover::after {
  color: #00FFFF;
  transform: translate(3px, 0);
  opacity: 0.7;
  animation: glitch-shake 0.3s infinite linear reverse;
}

.hero-tagline {
  font-family: var(--ff-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-style: italic;
  font-weight: 700;
  color: rgba(232,224,208,0.92);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.hero-tagline em {
  color: var(--bone);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-meta .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse-dot 1.6s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 var(--brand-glow); }
  50%      { box-shadow: 0 0 0 8px transparent; }
}

/* Hero marquee */
.hero-marquee {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 16px 0;
  background: rgba(10,10,10,0.4);
  backdrop-filter: blur(4px);
}
.marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: var(--ash);
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track .dot-sep { color: var(--brand); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-scroll-hint {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  align-self: center;
  padding: 14px 0 16px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.65rem; letter-spacing: 0.32em;
  color: var(--ash);
  opacity: 0.7;
}
.scroll-line {
  width: 1px; height: 30px;
  background: linear-gradient(to bottom, var(--ash), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50%      { transform: scaleY(0.4); transform-origin: top; }
}

/* =============================
   BUTTONS
============================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 32px;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all .3s var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: var(--void) !important;
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px var(--brand-glow);
  color: var(--void) !important;
}
.btn-ghost {
  background: transparent;
  color: var(--bone) !important;
  border-color: var(--faint);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand) !important;
  transform: translateY(-2px);
}

/* =============================
   SECTION COMMON
============================= */
section { padding: var(--section-pad) 0; position: relative; }

.section-head { margin-bottom: clamp(50px, 8vw, 90px); max-width: 700px; }
.section-num {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 26px;
  padding-left: 24px;
  position: relative;
}
.section-num::before {
  content: ''; position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 1px;
  background: var(--brand);
  transform: translateY(-50%);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--bone);
  margin-bottom: 22px;
}
.section-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--brand);
}
.section-sub {
  font-family: var(--ff-body);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-style: normal;
  color: rgba(232,224,208,0.78);
  font-weight: 700;
  line-height: 1.6;
  max-width: 580px;
  letter-spacing: 0.005em;
}

/* =============================
   REVEAL ON SCROLL
============================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================
   CONTACTS (former Listen section)
============================= */
.listen { background: var(--void); }
.listen .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.listen .section-num { padding-left: 0; }
.listen .section-num::before { display: none; }

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 60px 30px;
  background: var(--carbon);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .3s, background .3s, box-shadow .35s;
  text-decoration: none;
  text-align: center;
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 70%, var(--brand-pale) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  z-index: 0;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 14px 50px rgba(200,16,46,0.22);
}
.contact-card:hover::before { opacity: 1; }

.contact-label {
  font-family: var(--ff-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  font-weight: 700;
}

.contact-icon {
  width: 96px; height: 96px;
  display: grid; place-items: center;
  background: var(--brand);
  color: var(--void);
  border-radius: 50%;
  transition: transform .4s var(--ease-out), box-shadow .35s, background .25s;
  box-shadow: 0 0 0 0 var(--brand-glow);
}
.contact-card:hover .contact-icon {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 0 0 10px var(--brand-pale), 0 18px 40px rgba(200,16,46,0.35);
  background: var(--brand-bright);
}

@media (max-width: 760px) {
  .contacts-grid { grid-template-columns: 1fr; gap: 16px; max-width: 480px; }
  .contact-card { padding: 44px 24px; gap: 22px; }
  .contact-icon { width: 80px; height: 80px; }
  .contact-icon svg { width: 44px; height: 44px; }
}

/* =============================
   RELEASE
============================= */
.release { background: linear-gradient(180deg, var(--void) 0%, var(--carbon) 50%, var(--void) 100%); }

.release-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.release-cover {
  position: relative;
  aspect-ratio: 1 / 1;
}
.release-cover-img {
  position: relative;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center top;
  border-radius: 4px;
  transition: transform .6s var(--ease-out);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 1px var(--hairline);
}
.release-card:hover .release-cover-img { transform: scale(1.02) rotate(-0.5deg); }
.release-cover-shadow {
  position: absolute;
  bottom: -30px; left: 10%; right: 10%;
  height: 40px;
  background: var(--brand);
  filter: blur(60px);
  opacity: 0.4;
  z-index: -1;
}
.release-badge {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--brand);
  color: var(--void);
  padding: 7px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  animation: pulse-badge 2.5s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 var(--brand-glow); }
  50%      { box-shadow: 0 0 0 18px transparent; }
}

.release-info { padding: 20px 0; }
.release-type {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--brand);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.release-name {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  line-height: 1.05;
}
.release-desc {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
  font-weight: 700;
}

.release-tracks {
  margin-bottom: 36px;
  border-top: 1px solid var(--hairline);
}
.track {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding .3s var(--ease-out), color .25s;
  cursor: default;
}
.track:hover { padding-left: 16px; color: var(--brand); }
.track-num {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--ash);
  letter-spacing: 0.05em;
}
.track:hover .track-num { color: var(--brand); }
.track-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
.track-title em {
  font-family: var(--ff-body);
  font-style: italic;
  font-weight: 700;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.track-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 4px 10px;
  border-radius: 2px;
}

.release-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* =============================
   DISCOGRAPHY
============================= */
.discography { background: var(--void); }

.albums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.album-badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  font-family: var(--ff-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  background: var(--brand);
  color: var(--void);
  padding: 4px 10px;
  border-radius: 2px;
  animation: pulse-badge 2.5s ease-in-out infinite;
}
.album {
  position: relative;
  cursor: pointer;
  transition: transform .5s var(--ease-out);
}
.album-cover {
  aspect-ratio: 1 / 1;
  background-size: cover;
  /* portrait photos in a square frame — anchor to the top so heads/faces
     are never cropped (the bottom/body is cropped instead) */
  background-position: center top;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: transform .6s var(--ease-out), box-shadow .4s;
  box-shadow: 0 0 0 1px var(--hairline);
}
.album-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.85) 100%);
  transition: background .4s;
}
.album:hover .album-cover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--brand);
}
.album:hover .album-cover::after {
  background: linear-gradient(180deg, rgba(200,16,46,0.05) 0%, rgba(10,10,10,0.92) 100%);
}
.album-year {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--ff-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 2px;
  color: var(--bone);
}
.album-meta {
  padding: 22px 8px 0;
  text-align: center;
}
.album-type {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--brand);
  margin-bottom: 10px;
}
.album-title {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  transition: color .25s;
  line-height: 1.1;
}
.album:hover .album-title { color: var(--brand); }
.album-meta p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* =============================
   ABOUT / BIOGRAPHY
============================= */
.about {
  background: linear-gradient(180deg, var(--void) 0%, var(--carbon) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.about-photo {
  position: sticky; top: 100px;
}
.about-photo-frame {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center top;
  border-radius: 4px;
  filter: grayscale(0.3) contrast(1.05);
  transition: filter .5s;
  position: relative;
  box-shadow: 0 0 0 1px var(--hairline);
}
.about-photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid transparent;
  transition: border-color .4s;
  border-radius: 4px;
  pointer-events: none;
}
.about-photo:hover .about-photo-frame { filter: grayscale(0) contrast(1.1); }
.about-photo:hover .about-photo-frame::after {
  border-color: var(--brand);
  inset: -8px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 24px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.fact {
  background: var(--carbon);
  padding: 20px 18px;
  text-align: center;
}
.fact strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--brand);
  margin-bottom: 4px;
}
.fact span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
}

.about-text { padding-top: 12px; }
.about-text > * { margin-bottom: 24px; }
.about-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--bone);
}
.about-text p strong { color: var(--brand); font-weight: 700; }
.about-text p em { font-style: italic; color: var(--text-soft); font-weight: 700; }
.about-quote {
  font-family: var(--ff-serif);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.45;
  padding: 24px 0 24px 28px;
  border-left: 2px solid var(--brand);
  color: var(--bone);
  margin: 32px 0 !important;
}
.about-quote em { color: var(--brand); font-weight: 700; }

/* =============================
   GALLERY
============================= */
.gallery { background: var(--void); }
.gallery .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.gallery .section-num { padding-left: 0; }
.gallery .section-num::before { display: none; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

.g-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--stone);
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* keep heads in frame regardless of tile size (g-tall / g-wide) */
  object-position: center top;
  filter: grayscale(0.4) brightness(0.85);
  transition: transform .8s var(--ease-out), filter .5s;
}
.g-item::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.85) 100%);
  opacity: 0;
  transition: opacity .4s;
  z-index: 1;
}
.g-item figcaption {
  position: absolute;
  bottom: 18px; left: 20px;
  z-index: 2;
  font-family: var(--ff-display);
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s, transform .4s var(--ease-out);
}
.g-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0) brightness(1);
}
.g-item:hover::before { opacity: 1; }
.g-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* =============================
   VK FEED WIDGET
============================= */
.vk-section { background: linear-gradient(180deg, var(--void) 0%, var(--carbon) 100%); }
.vk-section .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.vk-section .section-num { padding-left: 0; }
.vk-section .section-num::before { display: none; }

.vk-wrapper {
  max-width: 760px;
  margin: 0 auto;
}
.vk-card {
  position: relative;
  display: block;
  background: var(--carbon);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow: hidden;
  max-height: 380px;
  transition: max-height .7s var(--ease-out), border-color .35s, box-shadow .4s;
  color: var(--bone);
}
.vk-card:hover {
  max-height: 1400px;
  border-color: var(--brand);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--brand-pale);
}

/* Header */
.vk-card-head {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--hairline);
  background: var(--carbon);
  position: sticky; top: 0;
  z-index: 3;
}
.vk-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--void);
  display: grid; place-items: center;
}
.vk-head-info { display: flex; flex-direction: column; gap: 4px; }
.vk-head-info strong {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}
.vk-head-info span {
  font-size: 0.85rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  font-weight: 700;
}
.vk-open-arrow {
  font-size: 1.3rem;
  color: var(--ash);
  transition: color .25s, transform .3s;
}
.vk-card:hover .vk-open-arrow { color: var(--brand); transform: translate(4px, -4px); }

/* Feed */
.vk-feed-preview {
  padding: 16px 26px 0;
  display: flex; flex-direction: column;
  gap: 18px;
}
.vk-post {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 18px;
  transition: opacity .35s;
}
.vk-post:last-child { border-bottom: none; }
.vk-post-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-soft);
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.vk-pin {
  background: var(--brand-pale);
  color: var(--brand);
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 700;
}
.vk-post-text {
  font-size: 1rem;
  color: var(--bone);
  line-height: 1.65;
  margin-bottom: 12px;
  font-weight: 700;
}
.vk-post-img {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  border-radius: 4px;
  margin-bottom: 10px;
  filter: brightness(0.92);
  transition: filter .4s, transform .6s var(--ease-out), background-position .6s var(--ease-out);
}
.vk-post:hover .vk-post-img { filter: brightness(1); transform: scale(1.01); }

/* Per-post image positioning to keep faces / heads visible */
.vk-pos-snow      { background-position: 70% 25%; background-size: cover; }
.vk-pos-stage     { background-position: center 18%; background-size: cover; }
.vk-pos-backstage { background-position: center 30%; background-size: cover; }
.vk-pos-press     { background-position: center 22%; background-size: cover; }
.vk-post-actions {
  display: flex; gap: 18px;
  font-size: 0.85rem; color: var(--text-soft);
  font-weight: 700;
}

/* Footer */
.vk-card-foot {
  padding: 18px 26px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ash);
  border-top: 1px solid var(--hairline);
  background: var(--carbon);
}
.vk-foot-cta {
  color: var(--brand);
  transition: transform .3s;
}
.vk-card:hover .vk-foot-cta { transform: translateX(6px); }

.vk-hint {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 20px;
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ash);
}
.vk-hint-line {
  flex: 0 0 auto;
  width: 60px; height: 1px;
  background: var(--brand);
}

/* =============================
   CONNECT GRID
============================= */
.connect { background: var(--void); }
.connect .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.connect .section-num { padding-left: 0; }
.connect .section-num::before { display: none; }

.connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.connect-card {
  display: grid;
  grid-template-columns: 64px 1fr 24px;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: var(--carbon);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  transition: transform .35s var(--ease-out), border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}
.connect-card::before {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--brand-pale) 0%, transparent 100%);
  transition: left .5s var(--ease-out);
}
.connect-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}
.connect-card:hover::before { left: 0; }
.connect-card > * { position: relative; z-index: 1; }
.connect-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: var(--stone);
  border-radius: 12px;
  color: var(--bone);
  transition: background .3s, color .3s, transform .35s var(--ease-out), box-shadow .35s;
  overflow: hidden;
}
.connect-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}
.connect-card:hover .connect-icon {
  transform: scale(1.06) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(200,16,46,0.25);
}

/* Text-mark icon (used in place of SVG for Yandex Music — «ЯМ» in site style) */
.connect-icon-text {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: inherit;
}
.nav-text-mark {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  padding-top: 1px;
}
.nav-text-mark span { display: inline-block; }
.connect-info { display: flex; flex-direction: column; gap: 4px; }
.connect-label {
  font-size: 0.7rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--brand);
}
.connect-info strong {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--bone);
}
.connect-desc { font-size: 0.92rem; color: var(--text-soft); margin-top: 4px; line-height: 1.5; }
.connect-arrow {
  font-size: 1.6rem;
  color: var(--ash);
  transition: transform .3s var(--ease-out), color .3s;
}
.connect-card:hover .connect-arrow {
  color: var(--brand);
  transform: translate(6px, -6px);
}

/* =============================
   FOOTER
============================= */
.footer {
  background: var(--carbon);
  padding: 90px 0 30px;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--hairline);
}
.f-col h4 {
  font-family: var(--ff-display);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--brand);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.f-col a { color: var(--text-soft); font-size: 0.95rem; }
.f-col a:hover { color: var(--brand); }
.f-logo { font-size: 2rem; letter-spacing: 0.06em; display: block; margin-bottom: 14px; }
.f-logo-img {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 30px rgba(200,16,46,0.15));
  transition: filter .3s, transform .3s var(--ease-out);
}
.f-logo-img:hover {
  filter: drop-shadow(2px 0 0 var(--brand)) drop-shadow(-2px 0 0 #00FFFF);
  transform: scale(1.02);
}
.f-brand p { color: var(--text-soft); font-size: 0.92rem; line-height: 1.6; margin-bottom: 6px; }
.f-tag { font-style: italic; color: var(--faint) !important; font-size: 0.75rem !important; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
}
.footer-bottom .protected {
  color: var(--brand);
}

/* =============================
   LIGHTBOX
============================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 60px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 95%; max-height: 90%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform .5s var(--ease-out);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--carbon);
  border: 1px solid var(--hairline);
  color: var(--bone);
  font-size: 1.6rem;
  display: grid; place-items: center;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.lightbox-close { top: 30px; right: 30px; }
.lightbox-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 30px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--brand); color: var(--void); border-color: var(--brand);
}

/* =============================
   COOKIE CONSENT BANNER
============================= */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(40px);
  width: calc(100% - 32px);
  max-width: 720px;
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility .5s;
  pointer-events: none;
}
.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cookie-inner {
  background: rgba(20,20,20,0.95);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}
.cookie-text strong { color: var(--bone); font-weight: 700; }
.cookie-text a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-text a:hover { color: var(--brand-bright); }
.cookie-btn {
  flex-shrink: 0;
  padding: 14px 24px;
  background: var(--brand);
  color: var(--void);
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .2s;
}
.cookie-btn:hover {
  background: var(--brand-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--brand-glow);
}

@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 12px; transform: translateY(40px); width: auto; bottom: 16px; }
  .cookie-banner.show { transform: translateY(0); }
  .cookie-inner { flex-direction: column; gap: 16px; padding: 18px 20px; align-items: stretch; }
  .cookie-btn { width: 100%; }
}

/* =============================
   FOOTER — Meta disclaimer
============================= */
.footer-disclaimer {
  margin: 30px 0 24px;
  padding: 14px 0 0;
  border-top: 1px solid var(--hairline);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--ash);
  letter-spacing: 0.01em;
  font-style: normal;
}
.meta-asterisk {
  color: var(--brand);
  font-weight: 700;
  font-style: normal;
  margin-left: 1px;
}
.footer-link {
  color: var(--ash);
  text-decoration: none;
  transition: color .25s;
}
.footer-link:hover { color: var(--brand); }

/* =============================
   TOAST (copy protection)
============================= */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--carbon);
  border: 1px solid var(--brand);
  color: var(--bone);
  padding: 14px 26px;
  border-radius: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 10000;
  opacity: 0;
  transition: opacity .35s, transform .35s var(--ease-out);
  pointer-events: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =============================
   NAV SOCIAL ICONS
============================= */
.nav-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-social a {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  transition: transform .25s var(--ease-out), box-shadow .25s;
  overflow: hidden;
}
.nav-social a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nav-social a:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 16px rgba(200,16,46,0.25);
}

.mobile-social {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.mobile-social a {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  color: var(--bone);
  border: 1px solid var(--hairline);
  transition: color .25s, border-color .25s, background .25s;
}
.mobile-social a:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-pale);
}

/* =============================
   TOUR / CONCERTS
============================= */
.tour { background: var(--void); }
.tour-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}
.tour-row {
  display: grid;
  grid-template-columns: 92px 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--hairline);
  transition: background .3s, padding .35s var(--ease-out);
}
.tour-row:hover {
  background: var(--carbon);
  padding-left: 22px;
}
.tour-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.tour-day {
  font-family: var(--ff-display);
  font-size: 2.7rem;
  color: var(--bone);
}
.tour-mon {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: var(--brand);
  margin-top: 2px;
}
.tour-place {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.tour-city {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  color: var(--bone);
  font-weight: 700;
}
.tour-venue {
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: var(--ash);
}
.tour-status {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}
.tour-btn { padding: 12px 28px; }
.tour-btn--disabled,
.merch-btn--disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}
.tour-row--soldout { opacity: 0.62; }
.tour-row--soldout .tour-status { color: var(--brand); }
.tour-empty {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ash);
  text-align: center;
  padding: 48px 8px;
  border-bottom: 1px solid var(--hairline);
}
.tour-note {
  margin-top: 26px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--faint);
}

/* =============================
   MERCH
============================= */
.merch { background: var(--void); }
.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.merch-item {
  background: var(--carbon);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s;
}
.merch-item:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
}
.merch-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center top;
  filter: grayscale(0.3) brightness(0.9);
  transition: filter .4s, transform .6s var(--ease-out);
}
.merch-item:hover .merch-img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.03);
}
.merch-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--brand);
  color: var(--void);
  font-family: var(--ff-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  padding: 5px 11px;
  border-radius: 2px;
}
.merch-badge--limited { background: var(--ember); }
.merch-badge--soldout { background: var(--stone); color: var(--ash); }
.merch-info { padding: 20px 18px 22px; }
.merch-type {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.merch-name {
  font-family: var(--ff-display);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--bone);
  margin-bottom: 18px;
  min-height: 2.1em;
}
.merch-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.merch-price {
  font-family: var(--ff-display);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  color: var(--bone);
  white-space: nowrap;
}
.merch-btn {
  padding: 11px 20px;
  font-size: 0.78rem;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 1280px) {
  .nav-social { gap: 8px; }
  .nav-social a { width: 28px; height: 28px; }
}

@media (max-width: 1100px) {
  .nav-menu { gap: 18px; }
  .nav-menu a { font-size: 0.82rem; }
  .nav-logo-img { height: 32px; }
  .nav-social { gap: 8px; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .albums { grid-template-columns: repeat(3, 1fr); }
  .connect-grid { grid-template-columns: repeat(2, 1fr); }
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav-inner { gap: 14px; }
  .player-info { max-width: 100px; }
}

@media (max-width: 760px) {
  .player-current, .player-total { display: none; }
  .player-info { max-width: 90px; }

  /* tour rows stack: date on the left, everything else in one column */
  .tour-row {
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-areas:
      "date place"
      "date status"
      "date btn";
    gap: 8px 14px;
    padding: 20px 4px;
  }
  .tour-row:hover { padding-left: 10px; }
  .tour-date   { grid-area: date; align-items: flex-start; }
  .tour-place  { grid-area: place; }
  .tour-status { grid-area: status; }
  .tour-btn    { grid-area: btn; justify-self: start; margin-top: 2px; }
  .tour-day  { font-size: 2rem; }
  .tour-mon  { font-size: 0.72rem; }
  .tour-city { font-size: 1.4rem; }
  .tour-venue { font-size: 0.88rem; }
  .tour-status { font-size: 0.74rem; letter-spacing: 0.1em; }
  .tour-btn { padding: 10px 22px; font-size: 0.74rem; }
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .lang-toggle { display: none; }
  .burger { display: flex; }

  /* Make social icons visible in the mobile nav — small, between logo and burger */
  .nav-social {
    display: flex !important;
    gap: 10px;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    margin-right: 4px;
  }
  .nav-social a {
    width: 30px; height: 30px;
  }

  .release-card { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 480px; margin: 0 auto; }
  .about-photo-frame { aspect-ratio: 1 / 1; }

  .albums { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .g-tall { grid-row: span 1; }
  .g-wide { grid-column: span 1; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* Tighter for tablets and small phones */
@media (max-width: 720px) {
  .nav-social { gap: 8px; }
  .nav-social a { width: 28px; height: 28px; }
  .nav-logo-img { height: 28px; }
  .nav-inner { gap: 10px; padding: 0 16px; }
}

/* Very small phones — иконки чуть мельче, но не меньше 32×32 для тапа */
@media (max-width: 480px) {
  .nav-social { gap: 4px; }
  /* Минимум 32×32 — Material Design touch target floor.
     Раньше было 24×24 — слишком мало для пальца. */
  .nav-social a { width: 32px; height: 32px; padding: 4px; }
  .nav-social a img { width: 100%; height: 100%; }
  .nav-logo-img { height: 24px; }
  .nav { padding: calc(10px + var(--safe-top)) 0 10px; }
  .nav.scrolled { padding: calc(6px + var(--safe-top)) 0 6px; }
  .nav-inner { gap: 6px; padding: 0 12px; }
  /* Burger — визуально 24×18, но кликабельная область 44×44 через padding+margin */
  .burger { width: 24px; height: 18px; padding: 13px; margin: -13px; box-sizing: content-box; }
}

/* Extra-tiny phones (< 380px) — drop the two least-essential icons (Spotify, Apple) */
@media (max-width: 380px) {
  .nav-social a:nth-child(5),
  .nav-social a:nth-child(6) { display: none; }
}

@media (max-width: 640px) {
  .platforms { grid-template-columns: 1fr; }
  .connect-grid { grid-template-columns: 1fr; }
  .merch-grid { grid-template-columns: 1fr; }
  .listen-stats { grid-template-columns: repeat(2, 1fr); }
  .listen-stats .stat:nth-child(2n) { border-right: none; }
  .albums { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .album-title { font-size: 1.05rem; letter-spacing: 0.03em; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  /* contacts: stack vertically on phones with more breathing room */
  .contacts-grid { grid-template-columns: 1fr; max-width: 100%; }
  .contact-card { padding: 38px 24px; gap: 20px; }
  /* section headings - reduce padding */
  section { padding-left: 0; padding-right: 0; }
  .section-title { font-size: clamp(2.3rem, 11vw, 4.2rem); line-height: 0.96; }
  .release-cta { flex-direction: column; gap: 12px; }
  .release-cta .btn { width: 100%; justify-content: center; }

  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-marquee { padding: 12px 0; }
  .marquee-track { font-size: 1rem; }

  /* stack the release buttons so none get clipped on narrow screens */
  .release-cta { flex-direction: column; }
  .release-cta .btn { width: 100%; justify-content: center; }
  .merch-grid { grid-template-columns: 1fr; }
  .merch-name { min-height: 0; }

  /* tighter hero spacing on phones — top padding still clears the player pill */
  .hero { padding-top: 84px; }
  .hero-content { padding-top: 70px; padding-bottom: 28px; }
  .hero-logo-img { width: clamp(170px, 56vw, 300px); }
  .hero-eyebrow { margin-bottom: 18px; }
  .hero-tagline { margin-bottom: 24px; }
  .hero-cta { margin-bottom: 26px; gap: 12px; }

  .scroll-up { width: 48px; height: 48px; }
  .scroll-up svg { width: 18px; height: 18px; }

  /* Compact player on phones — stays on left, narrower */
  .player {
    left: max(12px, var(--safe-left));
    width: 320px;
    max-width: calc(100% - 24px - var(--safe-left) - var(--safe-right));
    height: 50px;
    padding: 0 8px 0 5px;
    gap: 8px;
    top: calc(78px + var(--safe-top));
  }
  .player-cover { width: 38px; height: 38px; }
  .player-info { max-width: 80px; }
  .player-track { font-size: 0.88rem; }
  .player-artist { font-size: 0.58rem; letter-spacing: 0.1em; }
  .player-play { width: 32px; height: 32px; }
  .player-play svg { width: 15px; height: 15px; }
  .player-mute { width: 26px; height: 26px; }
  .player-mute svg { width: 13px; height: 13px; }

  .lightbox { padding: 20px; }
  .lightbox-close, .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-close { top: 14px; right: 14px; }

  .vk-card { max-height: 320px; }
  .vk-card:hover { max-height: 1400px; }
  .vk-card-head { padding: 16px 18px; }
  .vk-feed-preview { padding: 12px 18px 0; }
  .vk-post-img { height: 220px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-img { animation: none; }
}

/* Print: hide everything */
@media print {
  body * { visibility: hidden !important; }
  body::before {
    content: 'Контент ЧЁРНАЯ ТАЙГА защищён авторским правом. Печать запрещена.';
    visibility: visible;
    position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
    font-size: 24px; color: #000;
  }
}

/* =============================
   RETINA / HIGH-DPI ОБЛОЖКИ
   На экранах с плотностью пикселей ≥1.5x подменяем 1x JPG обложек
   на @2x варианты (1200×1200) — резкая картинка на iPhone Pro / Mac retina,
   Samsung Galaxy S и т.д. Inline-style на divах перебивается через !important.
============================= */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  /* Single — плеер + большая обложка нового релиза */
  .player-cover[style*="track-bog-na-voine.jpg"],
  .release-cover-img[style*="track-bog-na-voine.jpg"] {
    background-image: url('covers/track-bog-na-voine@2x.jpg') !important;
  }
  .album-cover[style*="album-bal.jpg"]    { background-image: url('covers/album-bal@2x.jpg')    !important; }
  .album-cover[style*="album-sun.jpg"]    { background-image: url('covers/album-sun@2x.jpg')    !important; }
  .album-cover[style*="album-naiman.jpg"] { background-image: url('covers/album-naiman@2x.jpg') !important; }
  .album-cover[style*="album-morg.jpg"]   { background-image: url('covers/album-morg@2x.jpg')   !important; }
  .album-cover[style*="album-loop.jpg"]   { background-image: url('covers/album-loop@2x.jpg')   !important; }
  .album-cover[style*="album-tales.jpg"]  { background-image: url('covers/album-tales@2x.jpg')  !important; }
  .album-cover[style*="album-street.jpg"] { background-image: url('covers/album-street@2x.jpg') !important; }
}

/* =============================
   MOBILE PERFORMANCE OPTIMIZATION
   Тач-устройства не вытягивают тяжёлые эффекты — отключаем то,
   что вызывает дёрганье на iOS Safari и слабых Android.
============================= */
@media (pointer: coarse), (max-width: 900px) {
  /* mix-blend-mode на full-viewport-слое = re-composite каждого кадра.
     Заменяем на простую прозрачность — визуально почти то же, в 10× дешевле. */
  .grain-overlay {
    mix-blend-mode: normal;
    opacity: 0.04;
  }
  .hero-scanlines {
    mix-blend-mode: normal;
    opacity: 0.15;
  }

  /* backdrop-filter на iOS — главный убийца FPS. Снижаем размытие,
     для совсем слабых устройств можно вообще убрать. */
  .player {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .nav.scrolled {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  /* Hero-zoom + filter одновременно = браузер падает в CPU rendering.
     Отключаем zoom-анимацию, оставляем статичный фон с фильтром. */
  .hero-img {
    animation: none !important;
    transform: none !important;
  }

  /* Marquee тоже грузит, особенно когда уехал за экран. */
  .marquee-track {
    animation-duration: 45s; /* медленнее → реже композит */
  }

  /* Glitch-shake на лого/буквах — постоянная анимация транформа
     на каждом кадре. Выключаем на мобиле. */
  .logo-glitch::before,
  .logo-glitch::after,
  .hero-letters::before,
  .hero-letters::after {
    animation: none !important;
  }

  /* Title breath — тоже непрерывная анимация. */
  .section-title {
    animation: none !important;
  }

  /* Подсказка браузеру композитить эти слои отдельно — меньше repaint */
  .hero-img,
  .marquee-track,
  .player,
  .nav {
    transform: translateZ(0);
    will-change: transform;
  }
}

/* Совсем слабые устройства — отключаем ещё больше */
@media (pointer: coarse) and (max-width: 480px) {
  /* На совсем маленьких экранах grain почти не виден — убираем полностью */
  .grain-overlay { display: none; }
  /* Backdrop-filter иногда вообще не работает на старых Android — заменяем
     на сплошной фон */
  .player {
    background: rgba(20,20,20,0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
