:root {
  --bg: #0b0910;
  --bg-2: #13101a;
  --card: #17131f;
  --line: #ffffff17;
  --text: #f4eff8;
  --muted: #a99fb6;
  --accent: #d8b4fe;
  --accent-2: #f0abfc;
  --sky: #93c5fd;
  --radius: 22px;
  --pad: clamp(16px, 5vw, 64px);
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ── Кнопки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a0f24; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 10px 40px #d8b4fe40;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 50px #d8b4fe66; }
.btn-ghost { background: #ffffff0d; color: var(--text); border: 1px solid #ffffff2e; box-shadow: none; backdrop-filter: blur(10px); }
.btn-ghost:hover { background: #ffffff1a; box-shadow: none; }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; }

/* ── Шапка ── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 16px var(--pad);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: #0b0910cc; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--line); }
.logo { font: 900 20px/1 var(--display); letter-spacing: .06em; }
.logo span { color: var(--accent); margin: 0 2px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s; }
.nav.open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── Первый экран ── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--pad) 80px; overflow: hidden; isolation: isolate; }
.hero-photo {
  position: absolute; inset: 0 0 0 38%; z-index: -2;
  background: url("img/wall-arms.webp") center 20% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  filter: saturate(.9) contrast(1.05);
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0b0910b3 0%, #0b091000 18%, #0b091000 55%, var(--bg) 100%), linear-gradient(90deg, #0b0910 0%, #0b091000 45%); }
.hero-glow { position: absolute; z-index: -1; width: 60vmax; height: 60vmax; left: -15vmax; top: -10vmax; background: radial-gradient(circle, #a855f733, transparent 60%); filter: blur(20px); pointer-events: none; }
.hero-text { max-width: 640px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero-title { font: 900 clamp(72px, 15vw, 200px)/.86 var(--display); letter-spacing: -.02em; display: flex; flex-direction: column; margin-bottom: 28px; }
.hero-title span:last-child { background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 50%, var(--sky) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 460px; color: #d9d0e3; font-size: 18px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid #ffffff40; border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: hint 1.8s infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ── Бегущая строка ── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 28s linear infinite; font: 700 clamp(18px, 2.4vw, 28px)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.marquee-track i { font-style: normal; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Секции ── */
.section { padding: clamp(72px, 11vw, 140px) var(--pad); max-width: 1320px; margin: 0 auto; }
h2 { font: 700 clamp(30px, 4.4vw, 54px)/1.08 var(--display); letter-spacing: -.01em; margin-bottom: 22px; }
.section p:not(.eyebrow) { color: var(--muted); max-width: 520px; }
.section p + p { margin-top: 14px; }

/* Обо мне */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.about-photo { position: relative; }
.about-photo > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-inset { position: absolute; right: -28px; bottom: -36px; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; border: 6px solid var(--bg); box-shadow: 0 20px 60px #0009; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.facts li { padding: 18px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.facts b { display: block; font: 700 16px/1.2 var(--display); margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: 14px; }

/* Эфиры */
.onair { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.onair-photo { position: relative; max-width: 380px; }
.onair-photo img { width: 100%; aspect-ratio: 9 / 15; object-fit: cover; border-radius: var(--radius); }
.live-badge { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #0b0910cc; backdrop-filter: blur(10px); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #f43f5e; box-shadow: 0 0 0 0 #f43f5e99; animation: pulse 1.6s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px #f43f5e00; } }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.platform { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s, background .2s; }
.platform span { font-weight: 700; font-size: 18px; }
.platform em { font-style: normal; color: var(--accent); font-size: 14px; font-weight: 600; }
.platform:hover { transform: translateY(-3px); border-color: #d8b4fe66; background: #1d1727; }

/* Галерея */
.section-head { display: flex; flex-direction: column; margin-bottom: 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 14px; }
.shot { position: relative; overflow: hidden; border-radius: 18px; background: var(--card); }
.shot.tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; }
.shot:hover img { transform: scale(1.05); filter: brightness(1.08); }
.shot::after { content: "⤢"; position: absolute; right: 14px; bottom: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #0b0910b3; opacity: 0; transition: opacity .3s; }
.shot:hover::after { opacity: 1; }

/* Контакты */
.contact-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 80px);
  border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0%, #a855f740, transparent 60%), radial-gradient(ellipse at 100% 100%, #60a5fa26, transparent 55%), var(--bg-2);
}
.contact-card h2 { max-width: 760px; margin-inline: auto; }
.contact-card p:not(.eyebrow) { margin: 0 auto; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 32px; color: var(--muted); font-weight: 600; }
.socials a:hover { color: var(--text); }

.footer { display: flex; justify-content: space-between; padding: 28px var(--pad) calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ── Просмотр фото ── */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: #07060bf2; backdrop-filter: blur(8px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 88vh; border-radius: 14px; object-fit: contain; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; background: #ffffff14; font-size: 20px; }
.lb-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: #ffffff14; font-size: 30px; line-height: 1; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close:hover, .lb-nav:hover { background: #ffffff26; }

/* ── Появление при прокрутке ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ── Планшет и телефон ── */
@media (max-width: 900px) {
  .nav-links, .nav .btn-small { display: none; }
  .burger { display: flex; }
  .nav.open { background: #0b0910f2; backdrop-filter: blur(18px); flex-wrap: wrap; }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 4px; width: 100%; margin: 8px 0 4px; font-size: 20px; }
  .nav.open .nav-links a { padding: 10px 0; color: var(--text); }

  .hero { align-items: flex-end; padding-bottom: 96px; }
  .hero-photo { inset: 0; -webkit-mask-image: none; mask-image: none; background-position: center 15%; }
  .hero-photo::after { background: linear-gradient(180deg, #0b091033 0%, #0b091000 30%, #0b0910d9 68%, var(--bg) 100%); }

  .about, .onair { grid-template-columns: 1fr; }
  .about-inset { right: 12px; bottom: -28px; width: 38%; }
  .onair-photo { max-width: 340px; margin-inline: auto; }
  .grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .shot.wide-sm { grid-column: span 2; }
  .shot.wide-sm img { object-position: center 30%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: 1fr; }
  .grid { grid-auto-rows: 170px; gap: 10px; }
  .contact-actions .btn { width: 100%; }
  .lb-nav { top: auto; bottom: 20px; margin: 0; }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .scroll-hint span, .live-badge i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
