/* ============================================================
   Снежные Пантеры - freeride club
   ink #13232A / bone #D4C9B7 / accent #E4572E (<=5%, сигнальный)
   ============================================================ */

:root {
  --ink: #13232A;
  --ink-deep: #0C171C;
  --ink-soft: #1A2E37;
  --bone: #D4C9B7;
  --bone-dim: rgba(212, 201, 183, .62);
  --bone-faint: rgba(212, 201, 183, .14);
  --accent: #E4572E;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--ink-deep); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Unbounded', sans-serif; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.mono { font-family: 'JetBrains Mono', monospace; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); position: relative; z-index: 2; }

/* ---- ромб-акцент ---- */
.gem {
  display: inline-block; width: 8px; height: 8px;
  background: var(--accent); transform: rotate(45deg);
  margin: 0 .55em; vertical-align: middle; flex: none;
  font-style: normal;
}
.gem-pulse { animation: gemPulse 2.2s var(--ease-out) infinite; }
@keyframes gemPulse {
  0%, 100% { transform: rotate(45deg) scale(1); opacity: 1; }
  50% { transform: rotate(45deg) scale(.55); opacity: .5; }
}

/* ---- кнопки ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .1em;
  font-family: 'Unbounded', sans-serif; font-weight: 500; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 15px 30px; border: 1px solid transparent;
  transition: transform .35s var(--ease-out), background .25s, color .25s, border-color .25s, box-shadow .35s;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--ink-deep); }
.btn-accent:hover { box-shadow: 0 12px 34px rgba(228, 87, 46, .35); }
.btn-accent .gem { background: var(--ink-deep); }
.btn-ghost { border-color: var(--bone-dim); color: var(--bone); background: rgba(19, 35, 42, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--bone); }
.btn-s { padding: 11px 20px; font-size: .72rem; }
.btn-xl { padding: 20px 44px; font-size: 1rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 14px clamp(20px, 4vw, 48px);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled {
  background: rgba(12, 23, 28, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--bone-faint);
  padding-top: 10px; padding-bottom: 10px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav-brand svg { height: 34px; width: auto; }
.nav-brand-text {
  font-family: 'Unbounded', sans-serif; font-weight: 500; font-size: .6rem;
  text-transform: uppercase; letter-spacing: .14em; line-height: 1.35; color: var(--bone-dim);
}
.nav-links { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.nav-links a {
  font-family: 'Unbounded', sans-serif; font-weight: 500; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--bone-dim);
  padding: 8px 2px; position: relative; transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 6px; height: 6px; background: var(--accent);
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform .3s var(--ease-out);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.nav-tg { font-size: .7rem; padding: 11px 20px; }
.nav-burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-photo, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-photo { animation: kenburns 34s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.14) translateY(-1.5%); }
}
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero.video-on .hero-video { opacity: 1; }
.hero.video-on .hero-photo { animation-play-state: paused; }

.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,23,28,.72) 0%, rgba(19,35,42,.42) 34%, rgba(19,35,42,.5) 62%, var(--ink) 100%),
    radial-gradient(120% 90% at 50% 42%, transparent 30%, rgba(12,23,28,.55) 100%);
}
.hero-snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

.hero-contours { position: absolute; inset: -6% -12%; z-index: 1; opacity: .5; }
.hero-contours svg { width: 100%; height: 100%; }
.contours-draw .c-line {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 2.6s var(--ease-out) forwards;
  animation-delay: calc(.35s + var(--i, 0) * .16s);
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-lockup {
  position: relative; z-index: 4;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 110px 20px 40px;
}
.hero-head { width: clamp(170px, 24vw, 270px); filter: drop-shadow(0 18px 50px rgba(12,23,28,.8)); }
.hero-head svg { width: 100%; height: auto; }
.hero-wordmark { width: clamp(300px, 56vw, 760px); margin-top: 14px; filter: drop-shadow(0 10px 34px rgba(12,23,28,.85)); }
.hero-wordmark svg { width: 100%; height: auto; }
.hero-tag { display: flex; align-items: center; margin-top: 22px; color: var(--bone-dim); }
.hero-cta { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }

/* появление лого: три ступени */
.hero-head, .hero-wordmark, .hero-tag, .hero-cta {
  opacity: 0; transform: translateY(26px);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero-head { animation-delay: .25s; transform: translateY(14px) scale(.92); animation-name: riseScale; }
.hero-wordmark { animation-delay: .55s; }
.hero-tag { animation-delay: .85s; }
.hero-cta { animation-delay: 1.05s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes riseScale { to { opacity: 1; transform: translateY(0) scale(1); } }

.hero-scroll {
  position: absolute; z-index: 4; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--bone-dim); opacity: 0; animation: rise 1s var(--ease-out) 1.6s forwards;
}
.hero-scroll .gem { margin: 0; }
.hero-scroll:hover { color: var(--bone); }

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  border-top: 1px solid var(--bone-faint);
  border-bottom: 1px solid var(--bone-faint);
  background: var(--ink-deep);
  overflow: hidden; white-space: nowrap;
  padding: 13px 0; position: relative; z-index: 3;
}
.ticker-track { display: inline-flex; animation: ticker 38s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: 'Unbounded', sans-serif; font-weight: 500; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--bone-dim);
  padding-right: .4em;
}
.ticker-item .gem { width: 7px; height: 7px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS common
   ============================================================ */
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }

.sec-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: clamp(30px, 4vw, 50px); }
.sec-num { color: var(--accent); font-weight: 700; }
.sec-head h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); letter-spacing: .01em; }
.sec-head::after { content: ''; flex: 1; height: 1px; background: var(--bone-faint); align-self: center; }

.lead { font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.5; font-weight: 600; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--ink); }
.about-grid {
  display: grid; gap: clamp(20px, 3vw, 36px);
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "text pha" "phb pha";
}
.about-text { grid-area: text; max-width: 560px; }
.about-text p + p { margin-top: 1em; color: var(--bone-dim); }

.stats {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px; margin-top: 40px;
}
.stats b {
  display: block; font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--bone); line-height: 1;
}
.stats span { color: var(--bone-dim); font-size: .72rem; }
.stats li { border-left: 1px solid var(--bone-faint); padding-left: 16px; position: relative; }
.stats li::before {
  content: ''; position: absolute; left: -4px; top: 4px;
  width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg);
}

.about-photo { position: relative; overflow: hidden; }
.about-photo.ph-a { grid-area: pha; }
.about-photo.ph-b { grid-area: phb; }
.about-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.about-photo:hover img { transform: scale(1.045); }
.about-photo figcaption {
  position: absolute; left: 0; bottom: 0;
  background: rgba(12, 23, 28, .82); backdrop-filter: blur(8px);
  padding: 9px 16px; color: var(--bone-dim); font-size: .66rem;
}
.about-photo figcaption .gem { width: 5px; height: 5px; }
.ph-a { aspect-ratio: 4 / 4.6; }
.ph-b { aspect-ratio: 16 / 9; }

.claw-divider {
  width: clamp(120px, 16vw, 200px); margin: clamp(70px, 9vw, 120px) auto 0;
  opacity: .35;
}
.claw-divider svg { width: 100%; height: auto; }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { background: var(--ink-deep); overflow: hidden; }
.manifesto-bg { position: absolute; inset: -12% 0; z-index: 0; }
.manifesto-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .16; will-change: transform;
}
.manifesto-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink-deep) 0%, transparent 26%, transparent 72%, var(--ink-deep) 100%);
}
.manifesto-intro { color: var(--bone-dim); max-width: 480px; margin-bottom: clamp(40px, 6vw, 70px); }

.creed {
  list-style: none; display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(26px, 4vw, 54px) clamp(30px, 5vw, 70px);
  counter-reset: creed;
}
.creed li {
  border-top: 1px solid var(--bone-faint);
  padding-top: 22px; position: relative;
  transition: border-color .4s;
}
.creed li:hover { border-top-color: var(--accent); }
.creed li::before {
  content: ''; position: absolute; top: -4px; left: 0;
  width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg);
  opacity: 0; transition: opacity .3s;
}
.creed li:hover::before { opacity: 1; }
.creed-num { color: var(--accent); font-weight: 700; }
.creed h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin: 10px 0 12px; }
.creed p { color: var(--bone-dim); max-width: 420px; }

/* ============================================================
   TOURS
   ============================================================ */
.tours { background: var(--ink); overflow: hidden; }
.tours-contours {
  position: absolute; top: -4%; right: -18%; width: 68%; z-index: 0;
  opacity: .12; pointer-events: none;
}
.tours-contours svg { width: 100%; height: auto; }
.tours-intro { color: var(--bone-dim); max-width: 520px; margin-bottom: clamp(36px, 5vw, 60px); }

.tour-list { display: flex; flex-direction: column; }
.tour {
  display: grid; grid-template-columns: 150px 1fr 190px;
  gap: clamp(20px, 3vw, 44px); align-items: start;
  padding: clamp(24px, 3vw, 36px) clamp(4px, 1vw, 12px);
  border-top: 1px solid var(--bone-faint);
  position: relative;
  transition: background .35s;
}
.tour:last-child { border-bottom: 1px solid var(--bone-faint); }
.tour::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease-out);
}
.tour:hover { background: rgba(212, 201, 183, .03); }
.tour:hover::before { transform: scaleY(1); }

.tour-date b { display: block; font-size: .95rem; font-weight: 700; color: var(--bone); }
.tour-date span { color: var(--bone-dim); }
.tour-body h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-bottom: 8px; transition: color .3s; }
.tour-geo { color: var(--accent); margin-bottom: 12px; font-size: .7rem; }
.tour-geo .gem { width: 5px; height: 5px; }
.tour-body > p:last-child { color: var(--bone-dim); max-width: 560px; }
.tour-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-self: end; text-align: right; }

.badge {
  font-family: 'JetBrains Mono', monospace; font-size: .66rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 13px; border: 1px solid var(--bone-faint); color: var(--bone-dim);
}
.badge-open {
  border-color: var(--accent); color: var(--accent);
  animation: badgeBlink 2.6s ease-in-out infinite;
}
@keyframes badgeBlink { 50% { box-shadow: 0 0 18px rgba(228, 87, 46, .35); } }

.tours-note { color: var(--bone-dim); margin-top: 34px; font-size: .68rem; }
.tours-note .gem { width: 5px; height: 5px; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--ink); }
.gallery-intro { color: var(--bone-dim); max-width: 480px; margin-bottom: clamp(36px, 5vw, 56px); }
.gal-video { position: relative; margin-bottom: 18px; border: 1px solid var(--bone-faint); background: var(--ink-deep); }
.gal-tg { position: relative; display: block; overflow: hidden; aspect-ratio: 1920 / 818; background: var(--ink-deep); }
.gal-tg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gal-tg:hover img { transform: scale(1.03); }
.gal-play {
  position: absolute; left: 68%; top: 50%; width: clamp(64px, 8vw, 96px); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent);
  box-shadow: 0 12px 40px rgba(228, 87, 46, .45); transition: transform .4s var(--ease-out);
}
.gal-play::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 14px 0 14px 23px; border-color: transparent transparent transparent var(--ink-deep);
}
.gal-tg:hover .gal-play { transform: translate(-50%, -50%) scale(1.08); }
.gal-tg-cta {
  position: absolute; right: 16px; bottom: 14px; padding: 8px 14px;
  background: rgba(12, 23, 28, .75); color: var(--bone); font-size: .66rem;
}
.gal-video figcaption { padding: 12px 16px; color: var(--bone-dim); font-size: .66rem; }
.gal-video figcaption .gem { width: 5px; height: 5px; }
.gal-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 20vw, 260px); }
.gal-item { display: block; overflow: hidden; border: 1px solid var(--bone-faint); background: var(--ink-soft); transition: border-color .35s; }
.gal-item:first-child { grid-column: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gal-item:hover { border-color: rgba(228, 87, 46, .6); }
.gal-item:hover img { transform: scale(1.04); }
.lightbox { margin: auto; border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(12, 23, 28, .92); }
.lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: -44px; right: 0; width: 40px; height: 40px;
  background: none; border: 1px solid var(--bone-faint); color: var(--bone);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { border-color: var(--accent); }

/* ============================================================
   MERCH
   ============================================================ */
.merch { background: var(--ink-deep); }
.merch-intro { color: var(--bone-dim); max-width: 480px; margin-bottom: clamp(36px, 5vw, 56px); }
.merch-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto);
}
.merch-item {
  position: relative; overflow: hidden; background: var(--ink-soft);
  border: 1px solid var(--bone-faint);
  transition: border-color .35s, transform .5s var(--ease-out);
}
.merch-item:hover { border-color: rgba(228, 87, 46, .6); transform: translateY(-5px); }
.merch-item img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1;
  transition: transform 1s var(--ease-out);
}
.merch-item:hover img { transform: scale(1.05); }
.merch-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(12, 23, 28, .9));
  color: var(--bone); font-size: .66rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .35s var(--ease-out);
}
.merch-item:hover figcaption { opacity: 1; transform: none; }
.merch-item figcaption .gem { width: 5px; height: 5px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative; overflow: hidden;
  background: var(--ink);
  padding: clamp(100px, 13vw, 170px) 0 46px;
  text-align: center;
}
.footer-claw {
  position: absolute; right: -8%; top: -6%;
  width: clamp(260px, 34vw, 520px); opacity: .1;
  transform: rotate(-12deg);
}
.footer-claw svg { width: 100%; height: auto; }
.footer-title { font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: 1.02; }
.footer-sub { color: var(--bone-dim); max-width: 420px; margin: 26px auto 38px; }
.footer-tg { margin-left: 12px; }
@media (max-width: 760px) { .footer-tg { margin: 12px 0 0; } }
.footer .btn-xl .gem { background: var(--ink-deep); }

.footer-base {
  margin-top: clamp(80px, 10vw, 130px);
  padding-top: 30px; border-top: 1px solid var(--bone-faint);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--bone-dim);
}
.footer-mono { width: 54px; opacity: .8; }
.footer-mono svg { width: 100%; height: auto; }
.footer-base .mono { font-size: .64rem; }
.footer-base .gem { width: 5px; height: 5px; }
.footer-fine { opacity: .55; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .creed { grid-template-columns: 1fr; }
  .tour { grid-template-columns: 110px 1fr; }
  .tour-side { grid-column: 2; flex-direction: row; align-items: center; justify-self: start; text-align: left; }
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links, .nav-tg { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav-burger span { width: 24px; height: 2px; background: var(--bone); transition: transform .3s, opacity .3s; }
  .nav.open { background: rgba(12, 23, 28, .96); }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; padding: 20px clamp(20px, 4vw, 48px) 30px;
    background: rgba(12, 23, 28, .96); backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--bone-faint);
  }
  .nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about-grid { grid-template-columns: 1fr; grid-template-areas: "text" "pha" "phb"; }
  .ph-a { aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .tour { grid-template-columns: 1fr; gap: 12px; }
  .tour-side { grid-column: 1; }
  .merch-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gal-grid { grid-template-columns: 1fr 1fr; gap: 10px; grid-auto-rows: 34vw; }
  .gal-tg-cta { display: none; }
  .gal-play { width: 48px; }
  .gal-play::after { border-width: 9px 0 9px 15px; }
  .hero-cta .btn { padding: 13px 22px; font-size: .74rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo { animation: none; }
  .hero-head, .hero-wordmark, .hero-tag, .hero-cta, .hero-scroll { animation-duration: .01s; animation-delay: 0s; }
  .contours-draw .c-line { animation-duration: .01s; animation-delay: 0s; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .gem-pulse, .badge-open { animation: none; }
  .hero-snow { display: none; }
}

/* ============================================================
   MORE WOW: loader / cursor / eyes / split / peek / tilt
   ============================================================ */

/* ---- прелоадер ---- */
.loader { display: none; }
html.js .loader {
  display: flex; position: fixed; inset: 0; z-index: 100;
  background: var(--ink-deep);
  flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: transform .75s cubic-bezier(.7, 0, .3, 1), visibility 0s .75s;
}
html.js .loader.done { transform: translateY(-101%); visibility: hidden; }
.loader-mono { width: 92px; animation: loaderPop 1s var(--ease-out) both; }
.loader-mono svg { width: 100%; height: auto; }
@keyframes loaderPop {
  from { opacity: 0; transform: scale(.82); }
  to { opacity: 1; transform: scale(1); }
}
.loader-bar { width: 148px; height: 2px; background: var(--bone-faint); overflow: hidden; }
.loader-bar i {
  display: block; height: 100%; width: 100%;
  background: var(--accent);
  transform: translateX(-100%);
  animation: loaderFill 1.4s cubic-bezier(.5, 0, .2, 1) both;
}
@keyframes loaderFill { to { transform: translateX(0); } }

/* хиро ждёт, пока уйдёт прелоадер */
html.js body:not(.loaded) .hero-head,
html.js body:not(.loaded) .hero-wordmark,
html.js body:not(.loaded) .hero-tag,
html.js body:not(.loaded) .hero-cta,
html.js body:not(.loaded) .hero-scroll,
html.js body:not(.loaded) .contours-draw .c-line { animation-play-state: paused; }

/* ---- скролл-прогресс ---- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 10px rgba(228, 87, 46, .5);
}

/* ---- кастомный курсор ---- */
.cursor, .cursor-dot { display: none; }
@media (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
  body.has-cursor .cursor {
    display: block; position: fixed; z-index: 99; pointer-events: none;
    width: 30px; height: 30px; top: -15px; left: -15px;
    border: 1px solid var(--bone-dim); transform: rotate(45deg);
    transition: width .25s, height .25s, top .25s, left .25s, border-color .25s, background .25s;
  }
  body.has-cursor .cursor-dot {
    display: block; position: fixed; z-index: 99; pointer-events: none;
    width: 5px; height: 5px; top: -2.5px; left: -2.5px;
    background: var(--accent); transform: rotate(45deg);
  }
  body.has-cursor .cursor.on {
    width: 46px; height: 46px; top: -23px; left: -23px;
    border-color: var(--accent); background: rgba(228, 87, 46, .08);
  }
}

/* ---- глаза пантеры ---- */
.eyes { opacity: 0; }
.hero-head.lit .eyes {
  animation: eyesLight 2.4s var(--ease-out) forwards;
}
.hero-head.lit svg { filter: drop-shadow(0 0 0 rgba(228, 87, 46, 0)); animation: eyesAura 2.4s var(--ease-out) forwards; }
@keyframes eyesLight {
  0% { opacity: 0; }
  18% { opacity: 1; }
  30% { opacity: .35; }
  46% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes eyesAura {
  0% { filter: drop-shadow(0 0 0 rgba(228, 87, 46, 0)); }
  46% { filter: drop-shadow(0 0 26px rgba(228, 87, 46, .55)); }
  100% { filter: drop-shadow(0 0 10px rgba(228, 87, 46, .28)); }
}
.hero-head.lit:hover svg { filter: drop-shadow(0 0 26px rgba(228, 87, 46, .6)); transition: filter .4s; }

/* ---- заголовки по буквам ---- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split .ch {
  display: inline-block;
  transform: translateY(115%) rotate(5deg);
  transition: transform .8s var(--ease-out) calc(var(--ci) * 45ms);
}
.split.in .ch { transform: none; }

/* ---- tilt мерча ---- */
@media (pointer: fine) {
  .merch-grid { perspective: 900px; }
  .merch-item { transition: border-color .35s; transform-style: preserve-3d; will-change: transform; }
  .merch-item::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 201, 183, .13), transparent 55%);
    opacity: 0; transition: opacity .35s;
  }
  .merch-item:hover::after { opacity: 1; }
}

/* ---- магнитные кнопки: transform отдан JS ---- */
@media (pointer: fine) {
  .btn[data-magnetic] { transition: background .25s, color .25s, border-color .25s, box-shadow .35s; will-change: transform; }
  .btn[data-magnetic]:hover { transform: none; }
}

/* ---- встречная лента ---- */
.ticker-rev { background: var(--ink); }
.ticker-rev .ticker-track { animation-direction: reverse; animation-duration: 46s; }

/* ---- reduced motion для нового ---- */
@media (prefers-reduced-motion: reduce) {
  html.js .loader { display: none; }
  html.js body:not(.loaded) .hero-head,
  html.js body:not(.loaded) .hero-wordmark,
  html.js body:not(.loaded) .hero-tag,
  html.js body:not(.loaded) .hero-cta,
  html.js body:not(.loaded) .hero-scroll,
  html.js body:not(.loaded) .contours-draw .c-line { animation-play-state: running; }
  .split .ch { transform: none; transition: none; }
  .eyes { opacity: 1; }
  .hero-head.lit svg { animation: none; }
  body.has-cursor .cursor, body.has-cursor .cursor-dot { display: none; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: auto; }
}
.tours-note a { color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--accent); }
.footer .btn-xl { margin-bottom: 8px; }
.btn-ghost { clip-path: none; }
