/* ===== TOKENS ===== */
:root {
  --bg: #060606;
  --text: #f0ede8;
  --text-muted: rgba(240,237,232,0.38);
  --accent: #d4ff00;
  --border: rgba(240,237,232,0.08);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'IBM Plex Mono', monospace;
  --max-w: 1320px;
  --nav-h: 56px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; cursor: none; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; cursor: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { cursor: none; }

/* ===== CURSOR ===== */
.cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  top: 0;
  left: 0;
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor.hover {
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-color: var(--accent);
}
.cursor.click {
  width: 24px;
  height: 24px;
}

/* ===== BACKGROUND BLOBS ===== */
.blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.85;
  background: radial-gradient(circle at 40% 40%, #2d0050, #0e0020);
}
.blob-1 {
  width: 900px; height: 750px;
  top: -300px; left: -250px;
  border-radius: 42% 58% 65% 35% / 48% 38% 62% 52%;
  animation: blob1 28s ease-in-out infinite;
}
.blob-2 {
  width: 700px; height: 800px;
  bottom: -200px; right: -200px;
  border-radius: 60% 40% 38% 62% / 55% 65% 35% 45%;
  background: radial-gradient(circle at 60% 60%, #250045, #0a0018);
  animation: blob2 34s ease-in-out infinite;
}
.blob-3 {
  width: 500px; height: 500px;
  top: 45%; left: 55%;
  border-radius: 38% 62% 50% 50% / 42% 48% 52% 58%;
  background: radial-gradient(circle, #1e003a, #08000f);
  opacity: 0.65;
  animation: blob3 22s ease-in-out infinite;
}
.blob-4 {
  width: 600px; height: 500px;
  top: 30%; left: -100px;
  border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%;
  background: radial-gradient(circle, #200038, #0c0018);
  opacity: 0.55;
  animation: blob4 30s ease-in-out infinite;
}
@keyframes blob1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(80px,60px) scale(1.05); }
  66%      { transform: translate(-40px,100px) scale(0.95); }
}
@keyframes blob2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(-70px,-80px) scale(1.08); }
  66%      { transform: translate(50px,-40px) scale(0.96); }
}
@keyframes blob3 {
  0%,100% { transform: translate(0,0) scale(1) rotate(0deg); }
  50%      { transform: translate(-60px,40px) scale(1.1) rotate(20deg); }
}
@keyframes blob4 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%      { transform: translate(60px,-50px) scale(1.06); }
  80%      { transform: translate(20px,70px) scale(0.94); }
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,6,6,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.15em;
}
.nav__links {
  display: flex;
  gap: 48px;
  list-style: none;
}
.nav__links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }
.nav__num {
  font-size: 9px;
  color: var(--accent);
  opacity: 0.7;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text);
  transition: transform 0.35s, opacity 0.35s;
}
.nav__burger.open span:first-child { transform: translateY(8px) rotate(45deg); }
.nav__burger.open span:last-child  { transform: translateY(-8px) rotate(-45deg); }

/* ===== REVEAL ===== */
.reveal { overflow: hidden; }

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) 48px 48px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -15% 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(6,6,6,1)    0%,
    rgba(6,6,6,0.82) 35%,
    rgba(6,6,6,0.72) 70%,
    rgba(6,6,6,0.62) 100%
  );
}
.hero__vignette {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.hero__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__year {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.hero__title-wrap {
  text-align: center;
}
.hero__name {
  font-family: var(--font-display);
  font-size: clamp(90px, 17vw, 220px);
  letter-spacing: 0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}
.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.hero__eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
}
.hero__eq span {
  display: block;
  width: 3px;
  height: var(--h);
  background: var(--accent);
  border-radius: 1px;
  animation: eq 0.8s var(--d) ease-in-out infinite alternate;
  opacity: 0.8;
}
@keyframes eq {
  from { height: 15%; opacity: 0.4; }
  to   { height: var(--h); opacity: 1; }
}
.hero__scroll {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.hero__scroll:hover { color: var(--accent); }

/* ===== MARQUEE ===== */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: rgba(6,6,6,0.5);
}
.marquee__track { display: flex; }
.marquee__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee__inner:hover { animation-play-state: paused; }
.marquee__dot { color: var(--accent); font-size: 10px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* ===== SHARED SECTION ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  border-top: 1px solid var(--border);
}
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.section__header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 64px;
}
.section__index {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  padding-top: 4px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 110px);
  letter-spacing: 0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}

/* ===== ABOUT ===== */
.about__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 96px;
  align-items: start;
}
.about__photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.about__photo:hover img { transform: scale(1.04); }
.about__photo-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(6,6,6,0.7);
  padding: 6px 10px;
  border: 1px solid var(--border);
}
.about__text { padding-top: 8px; }
.about__para {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.about__stats {
  display: flex;
  gap: 48px;
  margin: 48px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--accent);
}
.stat__label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.about__socials {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.about__social-link {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.about__social-link:hover { color: var(--accent); border-color: var(--accent); }

/* ===== PROJECTS ===== */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.project-card {
  position: relative;
  overflow: hidden;
  background: #0f0f0f;
}
.project-card::before {
  content: '';
  display: block;
  aspect-ratio: 16/10;
  width: 100%;
}
.project-card--wide { grid-column: span 2; }
.project-card--wide::before { aspect-ratio: 16/9; }
.project-card--full { grid-column: 1 / -1; }
.project-card--full::before { aspect-ratio: 21/8; }
.project-card__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.project-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.8) saturate(0.9);
}
.project-card:hover .project-card__img-wrap img {
  transform: scale(1.06);
  filter: brightness(0.6) saturate(0.8);
}
.project-card__info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(6,6,6,0.9) 0%, transparent 60%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
}
.project-card:hover .project-card__info {
  opacity: 1;
  transform: translateY(0);
}
.project-card__num {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.project-card__tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.project-card__title {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== MIXES ===== */
.mixes__list { display: flex; flex-direction: column; }
.mix-item {
  display: grid;
  grid-template-columns: 32px 1fr auto auto 44px;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s;
}
.mix-item:first-child { border-top: 1px solid var(--border); }
.mix-item:hover { padding-left: 16px; }
.mix-item__num {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.mix-item__name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mix-item__tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mix-item__duration {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.mix-item__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.mix-item__play:hover {
  border-color: var(--accent);
  color: var(--bg);
  background: var(--accent);
}

/* ===== BOOKING ===== */
.section--booking { padding: 160px 0; }
.booking__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.booking__title {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 180px);
  letter-spacing: 0.03em;
  line-height: 0.88;
  text-transform: uppercase;
  margin-bottom: 56px;
}
.booking__email {
  display: inline-block;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  transition: color 0.3s, border-color 0.3s;
}
.booking__email:hover { color: var(--accent); border-color: var(--accent); }

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
}
.footer__copy {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.footer__links {
  display: flex;
  gap: 20px;
}
.footer__links a {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--accent); }

/* ===== FILM GRAIN ===== */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.055;
  animation: grain 0.35s steps(1) infinite;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='300' height='300' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}
@keyframes grain {
  0%   { background-position:   0px   0px; }
  10%  { background-position: -50px -90px; }
  20%  { background-position:  80px  40px; }
  30%  { background-position: -30px  70px; }
  40%  { background-position:  60px -50px; }
  50%  { background-position: -80px  20px; }
  60%  { background-position:  40px  90px; }
  70%  { background-position: -60px -30px; }
  80%  { background-position:  20px  60px; }
  90%  { background-position: -40px -70px; }
  100% { background-position:   0px   0px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .project-card--wide { grid-column: span 2; }
  .project-card--full { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root { --nav-h: 52px; }

  /* ── Nav ── */
  .nav { padding: 0 24px; }
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    background: rgba(6,6,6,0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 90;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
  }
  .nav__links.open { transform: translateX(0); pointer-events: all; }
  .nav__links a { font-size: 14px; letter-spacing: 0.18em; }

  /* ── Hero ── */
  .hero { padding: calc(var(--nav-h) + 28px) 24px 40px; }
  .hero__name { font-size: clamp(48px, 12vw, 130px); }

  /* ── Sections ── */
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .section__header { margin-bottom: 44px; }

  /* ── About ── */
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__photo { aspect-ratio: 3/4; max-width: 100%; }
  .about__stats { gap: 0; justify-content: space-between; }

  /* ── Projects ── */
  .projects__grid { grid-template-columns: 1fr; gap: 2px; }
  .project-card--wide,
  .project-card--full { grid-column: span 1; }
  .project-card--full .project-card__img-wrap { aspect-ratio: 16/9; }
  .project-card__info { opacity: 1; transform: none; }

  /* ── Mixes ── */
  .mix-item {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    padding: 20px 0;
  }
  .mix-item__num,
  .mix-item__tag { display: none; }
  .mix-item:hover { padding-left: 0; }
  .mix-item__name {
    font-size: 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  /* ── Booking ── */
  .section--booking { padding: 100px 0; }

  /* ── Footer ── */
  .footer__inner { flex-direction: column; text-align: center; gap: 12px; }
  .footer__copy { display: none; }

  /* ── Cursor off ── */
  .cursor { display: none; }
  html, body, a, button { cursor: auto; }
}

@media (max-width: 480px) {
  .nav { padding: 0 16px; }
  .container { padding: 0 16px; }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 20px) 16px 32px; }
  .hero__name { font-size: 11.5vw; }
  .hero__top { flex-direction: column; gap: 4px; }
  .hero__eq { display: none; }
  .hero__bottom { justify-content: flex-end; }

  /* Sections */
  .section { padding: 60px 0; }
  .section--booking { padding: 80px 0; }

  /* About */
  .about__stats { justify-content: space-around; }
  .stat__num { font-size: 40px; }

  /* Mixes — только название и кнопка */
  .mix-item { grid-template-columns: 1fr auto; }
  .mix-item__duration { display: none; }
  .mix-item__name { font-size: 16px; }

  /* Footer */
  .footer__links { flex-direction: column; gap: 10px; }
}
