/* =========================================================
   ONECLI.COM — Космический премиум
   ========================================================= */

:root {
  --bg-deep: #050505;
  --bg-card: #0F0F0F;
  --gold-primary: #D4AF37;
  --gold-light: #FFD700;
  --gold-pale: #FFF1B8;
  --gold-dark: #8A6A12;
  --text-main: #FFFFFF;
  --text-muted: #A0A0A0;
  --glow-gold: 0 0 25px rgba(212, 175, 55, 0.4);

  --line-gold: rgba(212, 175, 55, 0.22);
  --glass: rgba(10, 10, 10, 0.55);
  --gold-grad: linear-gradient(110deg, #8A6A12 0%, #D4AF37 22%, #FFF1B8 42%, #FFD700 55%, #D4AF37 72%, #8A6A12 100%);

  --ff-title: 'Unbounded', 'Arial Black', sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-serif: 'Cormorant Garamond', Georgia, serif;

  --container: 1320px;
  --gutter: 24px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 1900px) { :root { --container: 1640px; } }
@media (min-width: 2500px) { :root { --container: 2040px; } }
@media (max-width: 640px)  { :root { --gutter: 16px; --header-h: 68px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--ff-body);
  font-size: clamp(15px, 0.35vw + 13.8px, 20px);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-loading, body.menu-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold-primary); color: #000; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; border-radius: 4px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: linear-gradient(#8A6A12, #D4AF37, #8A6A12); border-radius: 10px; border: 2px solid #050505; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ---------- Typography helpers ---------- */
.gold-text {
  background: var(--gold-grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-light);
  animation: goldFlow 7s linear infinite;
}
@keyframes goldFlow { to { background-position: -220% 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-title);
  font-size: clamp(10px, 0.25vw + 9px, 14px);
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-primary);
}
.eyebrow b { color: var(--gold-light); font-weight: 400; }
.eyebrow__line { width: 42px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light)); }

.section-tag {
  display: inline-block;
  font-family: var(--ff-title);
  font-size: clamp(10px, 0.2vw + 9px, 13px);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.h2 {
  font-family: var(--ff-title);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 76px);
  line-height: 1.05;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.lead { color: #cfcfcf; font-weight: 300; font-size: 1.06em; }
.lead strong, .hero__sub strong, .cta__text strong { color: #fff; font-weight: 500; }

.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-light);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--ff-title);
  font-size: clamp(11px, 0.2vw + 10px, 14px);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease), background-color .35s;
}
.btn:hover { transform: scale(1.05); }
.btn:active { transform: scale(.98); }
.btn--sm { --pad-y: 10px; --pad-x: 20px; font-size: 11px; }
.btn--lg { --pad-y: 18px; --pad-x: 32px; }
.btn--xl { --pad-y: 22px; --pad-x: 44px; font-size: clamp(12px, 0.25vw + 11px, 16px); }

.btn__icon { width: 18px; height: 18px; flex: none; }
.btn__arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  color: #120d00;
  background: linear-gradient(110deg, #B8902A, #FFD700 30%, #FFF1B8 48%, #FFD700 62%, #B8902A);
  background-size: 220% 100%;
  box-shadow: 0 0 0 1px rgba(255, 215, 0, .5) inset, 0 10px 30px -10px rgba(212, 175, 55, .6);
  animation: goldFlow 6s linear infinite;
}
.btn--primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.75) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
  z-index: -1;
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(255, 241, 184, .8) inset, var(--glow-gold), 0 0 60px rgba(255, 215, 0, .35); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--outline {
  color: var(--gold-light);
  background: rgba(212, 175, 55, .04);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, .65) inset;
  backdrop-filter: blur(6px);
}
.btn--outline:hover {
  color: #fff;
  background: rgba(212, 175, 55, .1);
  box-shadow: 0 0 0 1px var(--gold-light) inset, inset 0 0 22px rgba(255, 215, 0, .35), var(--glow-gold);
}

.btn--pulse { animation: goldFlow 6s linear infinite, btnPulse 2.6s ease-in-out infinite; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 215, 0, .5) inset, 0 0 0 0 rgba(255, 215, 0, .45); }
  50%      { box-shadow: 0 0 0 1px rgba(255, 215, 0, .5) inset, 0 0 0 18px rgba(255, 215, 0, 0); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: radial-gradient(circle at 50% 45%, #15110a 0%, #050505 60%);
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
/* логотип из золотых линий: сначала «прорисовывается», затем по контуру бежит луч */
.preloader__logo { width: 112px; height: 112px; overflow: visible; }
.preloader__logo polygon { fill: none; stroke-linejoin: miter; }
.pl-base polygon {
  stroke: url(#plGold); stroke-width: 15; opacity: .85;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: plDraw 1.2s cubic-bezier(.6, .05, .3, 1) forwards;
}
.pl-base polygon:nth-child(2) { animation-delay: .35s; }
.pl-beam polygon {
  stroke: #FFF6D0; stroke-width: 26; stroke-linecap: round;
  stroke-dasharray: 9 91; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 4px #FFD700) drop-shadow(0 0 10px rgba(255, 215, 0, .7));
  opacity: 0; animation: plBeam 1.6s linear .9s infinite;
}
.pl-beam polygon:nth-child(2) { animation-duration: 1.1s; animation-delay: 1.1s; }
@keyframes plDraw { to { stroke-dashoffset: 0; } }
@keyframes plBeam { 0% { stroke-dashoffset: 100; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pl-base polygon { animation: none; stroke-dashoffset: 0; } .pl-beam { display: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.preloader__word {
  font-family: var(--ff-title); font-weight: 800; letter-spacing: .5em; padding-left: .5em;
  font-size: 15px;
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: goldFlow 2.5s linear infinite;
}
.preloader__bar { width: 160px; height: 1px; background: rgba(212, 175, 55, .15); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0; background: var(--gold-light); box-shadow: 0 0 10px var(--gold-light); transition: width .3s var(--ease); }

/* ---------- Grain & cursor glow ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none;
  width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .09) 0%, rgba(212, 175, 55, .03) 35%, transparent 65%);
  opacity: 0; transition: opacity .6s;
  will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(5, 5, 5, .35);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: height .45s var(--ease), background-color .45s var(--ease);
}
.header::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary) 20%, var(--gold-light) 50%, var(--gold-primary) 80%, transparent);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
  animation: linePulse 3.5s ease-in-out infinite;
}
@keyframes linePulse {
  0%, 100% { opacity: .45; box-shadow: 0 0 8px rgba(212, 175, 55, .2); }
  50%      { opacity: 1;   box-shadow: 0 0 18px rgba(212, 175, 55, .55); }
}
.header.is-scrolled { height: calc(var(--header-h) - 18px); background: rgba(3, 3, 3, .86); }

.header__inner {
  height: 100%;
  width: min(var(--container) + 120px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.logo__mark { position: relative; display: block; width: 38px; height: 38px; flex: none; filter: drop-shadow(0 0 8px rgba(255, 215, 0, .3)); }
.logo__mark img { display: block; width: 100%; height: 100%; }
.logo__mark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 240, .95) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 160% 0;
  -webkit-mask: url("../images/logo-gold.webp") center / contain no-repeat;
          mask: url("../images/logo-gold.webp") center / contain no-repeat;
  mix-blend-mode: screen; animation: logoShine 4.5s ease-in-out infinite;
}
.logo:hover .logo__mark::after { animation-duration: 1.2s; }
@keyframes logoShine { 0%, 55% { background-position: 160% 0; } 85%, 100% { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .logo__mark::after { animation: none; } }
@keyframes orbitRun { to { stroke-dashoffset: -100; } }
.logo__text {
  font-family: var(--ff-title); font-weight: 800; font-size: 19px; letter-spacing: .14em;
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: goldFlow 5s linear infinite;
}
.logo__text em { font-style: normal; font-weight: 400; opacity: .75; font-size: .72em; letter-spacing: .1em; }

.nav { display: flex; gap: clamp(18px, 2.4vw, 44px); }
.nav a {
  position: relative;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d8d8d8;
  transition: color .3s;
}
.nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  box-shadow: 0 0 8px var(--gold-light);
  transform: scaleX(0); transform-origin: center;
  transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--gold-light); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__actions { justify-self: end; display: flex; align-items: center; gap: 14px; }

/* RU / EN */
.lang-switch {
  display: inline-flex; padding: 4px; gap: 2px; flex: none;
  border-radius: 999px; border: 1px solid var(--line-gold);
  background: rgba(10, 10, 10, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lang-switch button {
  padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 600 11.5px/1 var(--ff-title); letter-spacing: .08em; color: #8f8f8f;
  transition: color .2s, background .2s, box-shadow .2s;
}
.lang-switch button:hover { color: var(--gold-pale, #FFF1B8); }
.lang-switch button.is-active { color: #140f00; background: linear-gradient(135deg, #FFE680, #D4AF37); box-shadow: 0 0 12px rgba(255, 215, 0, .35); }
.lang-switch button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.lang-switch--menu { align-self: flex-start; }
.lang-switch--menu button { padding: 9px 18px; font-size: 13px; }

.burger { display: none; width: 44px; height: 44px; position: relative; justify-self: end; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--gold-light); box-shadow: 0 0 6px rgba(255, 215, 0, .6);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; left: 18px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; left: 10px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: calc(var(--header-h) + 20px) 28px 40px;
  background: rgba(5, 5, 5, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-gold);
  font-family: var(--ff-title); font-size: 22px; font-weight: 600; text-transform: uppercase;
  transform: translateY(20px); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s, color .3s;
}
.mobile-menu__nav a i { font-style: normal; font-size: 11px; color: var(--gold-primary); letter-spacing: .2em; }
.mobile-menu__nav a:hover { color: var(--gold-light); }
.mobile-menu.is-open .mobile-menu__nav a { transform: none; opacity: 1; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: .06s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: .12s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: .18s; }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal="up"] { transform: translateY(60px); }
[data-reveal="left"] { transform: translateX(-60px); filter: blur(6px); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }
.no-js .preloader { display: none; }
html.no-js body { overflow: auto; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: -4%;
  z-index: -4;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 2s var(--ease), transform 3s var(--ease-out);
  will-change: transform;
}
.hero__bg.is-loaded { opacity: .85; transform: scale(1); }

.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }

.hero__rings {
  position: absolute; z-index: -2;
  top: 50%; left: 66%;
  width: min(78vw, 1200px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  perspective: 1400px;
  pointer-events: none;
}
.hero__rings-tilt {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 64deg)) rotateY(var(--ry, -14deg));
  transition: transform 1.2s var(--ease-out);
}
.ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, .35);
  box-shadow: 0 0 40px rgba(212, 175, 55, .18), inset 0 0 40px rgba(212, 175, 55, .12);
  animation: spin 60s linear infinite;
}
.ring::before {
  content: '';
  position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(255, 215, 0, .9) 72%, transparent 78% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 8px #FFD700);
}
.ring--2 { inset: 9%;  border-style: dashed; border-color: rgba(212, 175, 55, .22); animation-duration: 90s; animation-direction: reverse; }
.ring--3 { inset: 20%; border-width: 2px; border-color: rgba(255, 215, 0, .5); animation-duration: 40s; }
.ring--3::before { background: conic-gradient(from 180deg, transparent 0 40%, rgba(255, 241, 184, 1) 50%, transparent 60% 100%); }
.ring--4 { inset: 32%; border-color: rgba(212, 175, 55, .28); animation-duration: 25s; animation-direction: reverse; }
.ring-core {
  position: absolute; inset: 41%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 241, 184, .55), rgba(212, 175, 55, .18) 40%, transparent 70%);
  filter: blur(10px);
  animation: corePulse 5s ease-in-out infinite;
}
@keyframes corePulse { 50% { transform: scale(1.25); opacity: .7; } }

.hero__vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(5, 5, 5, .85) 0%, rgba(5, 5, 5, .2) 55%, transparent 75%),
    linear-gradient(180deg, rgba(5, 5, 5, .6) 0%, transparent 25%, transparent 70%, #050505 100%);
}

.hero__content { position: relative; }
.hero__eyebrow { margin-bottom: clamp(20px, 2.4vw, 40px); }

.hero__title {
  font-family: var(--ff-title);
  font-weight: 900;
  font-size: clamp(32px, 6vw, 150px);
  line-height: 1.02;
  letter-spacing: -.025em;
  text-transform: uppercase;
  max-width: 14em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > span { display: inline-block; }

.hero__sub {
  max-width: 640px;
  margin-top: clamp(22px, 2.2vw, 40px);
  color: #c8c8c8;
  font-size: clamp(15px, .45vw + 13.5px, 22px);
  font-weight: 300;
}
@media (min-width: 1900px) { .hero__sub { max-width: 860px; } }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(30px, 3vw, 54px); }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 80px);
  padding-top: 26px;
  border-top: 1px solid var(--line-gold);
  max-width: 640px;
}
.hero__stats li { display: flex; align-items: center; gap: 12px; }
.hero__stats b {
  font-family: var(--ff-title); font-weight: 700; font-size: clamp(24px, 2vw, 40px); line-height: 1;
  color: var(--gold-light); text-shadow: 0 0 20px rgba(255, 215, 0, .45);
}
.hero__stats span { font-size: 12px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); max-width: 110px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 10px; letter-spacing: .4em; text-transform: uppercase;
}
.scroll-hint__mouse { width: 22px; height: 36px; border: 1px solid rgba(212, 175, 55, .55); border-radius: 12px; position: relative; }
.scroll-hint__mouse i {
  position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px;
  background: var(--gold-light); box-shadow: 0 0 8px var(--gold-light);
  animation: wheel 2s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  border-block: 1px solid var(--line-gold);
  background: linear-gradient(90deg, #050505, #0c0a05 50%, #050505);
  overflow: hidden;
  padding: 18px 0;
}
.marquee__track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 40s linear infinite; }
.marquee span {
  font-family: var(--ff-title); font-weight: 300; font-size: clamp(13px, .5vw + 11px, 22px);
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); white-space: nowrap;
}
.marquee i { font-style: normal; color: var(--gold-light); text-shadow: 0 0 10px var(--gold-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS (common)
   ========================================================= */
.section { position: relative; padding: clamp(90px, 11vw, 200px) 0; }
/* меньше пустоты между «Манифестом» и «Продуктом №1» */
.section.philosophy { padding-bottom: clamp(40px, 4vw, 70px); }
.section.product { padding-top: clamp(40px, 4vw, 70px); padding-bottom: clamp(40px, 4vw, 70px); }

.section-head { display: flex; align-items: center; gap: 22px; margin-bottom: clamp(30px, 4vw, 60px); }
.section-head__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-gold), transparent); }
.section-head__meta { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); }

/* =========================================================
   PHILOSOPHY
   ========================================================= */
.philosophy { overflow: hidden; }
.philosophy::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 20% 50%, rgba(212, 175, 55, .07), transparent 70%);
}
.philosophy__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: center;
}
.philosophy__visual { position: relative; }

.frame { position: relative; padding: 14px; }
.frame__media {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 4px;
  background: radial-gradient(ellipse at 50% 40%, #1c160a 0%, #070604 70%);
}
.frame__img {
  position: absolute; inset: -6%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s var(--ease);
  will-change: transform;
}
.frame__img.is-loaded { opacity: 1; }
.frame__img.is-loaded + .frame__fallback { opacity: 0; }
.frame__fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  transition: opacity 1s;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 215, 0, .25), transparent 35%),
    repeating-linear-gradient(115deg, transparent 0 40px, rgba(212, 175, 55, .04) 40px 41px);
}
.frame__fallback svg { width: 26%; filter: drop-shadow(0 0 24px rgba(255, 215, 0, .55)); animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-12px); } }

/* мерцающая золотая рамка */
.frame--shimmer::before {
  content: ''; position: absolute; inset: 0; border-radius: 8px; padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), rgba(212, 175, 55, .15), var(--gold-light), rgba(212, 175, 55, .15) 30%, rgba(212, 175, 55, .15) 60%, var(--gold-pale), rgba(212, 175, 55, .15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: angSpin 8s linear infinite;
}
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes angSpin { to { --ang: 360deg; } }

.corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--gold-light); filter: drop-shadow(0 0 6px var(--gold-light)); animation: flicker 4s infinite; }
.corner--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corner--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; animation-delay: .7s; }
.corner--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; animation-delay: 1.4s; }
.corner--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; animation-delay: 2.1s; }
@keyframes flicker { 0%, 100% { opacity: 1; } 8% { opacity: .3; } 10% { opacity: 1; } 55% { opacity: .85; } 57% { opacity: .2; } 60% { opacity: 1; } }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(10, 10, 10, .75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-gold);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #e8e8e8;
  box-shadow: 0 20px 40px -20px #000;
  animation: floatY 7s ease-in-out infinite;
}
.float-chip--a { right: -18px; bottom: 40px; }

.philosophy__text .h2 { margin: 18px 0 30px; }

.typing {
  position: relative;
  font-size: clamp(16px, .6vw + 13px, 26px);
  font-weight: 300;
  line-height: 1.6;
  color: #dcdcdc;
}
.typing__ghost { visibility: hidden; }
.typing__live { position: absolute; inset: 0; }
.typing__caret {
  display: inline-block; width: .55em; height: 1.05em; margin-left: 2px; vertical-align: -.15em;
  background: var(--gold-light); box-shadow: 0 0 10px var(--gold-light);
  animation: caret 1s steps(1) infinite;
}
.typing.is-done .typing__caret { animation: caret 1s steps(1) infinite; opacity: .8; }
@keyframes caret { 50% { opacity: 0; } }
.typing .hl { color: var(--gold-light); text-shadow: 0 0 14px rgba(255, 215, 0, .35); }

.pillars { display: grid; gap: 4px; margin-top: clamp(30px, 3vw, 50px); }
.pillars li {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line-gold);
}
.pillars i {
  flex: none; width: 46px;
  font-family: var(--ff-serif); font-size: 26px; font-weight: 500; line-height: 1;
  color: var(--gold-primary);
}
.pillars b { display: block; font-family: var(--ff-title); font-weight: 600; font-size: clamp(13px, .3vw + 12px, 18px); letter-spacing: .05em; text-transform: uppercase; }
.pillars span { color: var(--text-muted); font-size: .92em; }

/* Декор: большой золотой логотип торчит из-за края блока (едва заметный) */
.philosophy > .container, .product > .container { position: relative; z-index: 1; }
.product { overflow-x: clip; }
.deco-logo { position: absolute; z-index: 0; pointer-events: none; opacity: .11; filter: blur(.4px) drop-shadow(0 0 40px rgba(212, 175, 55, .35)); }
.deco-logo img { display: block; width: 100%; height: auto; animation: decoFloat 14s ease-in-out infinite; }
.deco-logo--left { width: clamp(420px, 46vw, 900px); left: clamp(-360px, -18vw, -170px); top: 50%; transform: translateY(-50%) rotate(-24deg); }
.deco-logo--right { width: clamp(300px, 30vw, 580px); right: clamp(-380px, -19vw, -200px); top: 55%; transform: translateY(-50%) rotate(28deg); opacity: .17; }
@keyframes decoFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .deco-logo img { animation: none; } }
@media (max-width: 760px) { .deco-logo--left { width: 340px; left: -190px; opacity: .06; } .deco-logo--right { width: 260px; right: -200px; opacity: .09; } }

/* =========================================================
   PRODUCT — YUKI (holo card)
   ========================================================= */
.product__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 75% 55%, rgba(212, 175, 55, .09), transparent 70%);
}

.holo-card {
  --mx: 50%; --my: 50%;
  position: relative;
  border-radius: 28px;
  background: linear-gradient(160deg, #141210 0%, var(--bg-card) 45%, #0a0a0a 100%);
  transform-style: preserve-3d;
  transform: perspective(1600px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(212, 175, 55, .12);
}
.holo-card.is-hover { box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 70px -10px rgba(212, 175, 55, .3); }

.holo-card__border {
  position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), #6B520E, #D4AF37, #FFF1B8, #FFD700, #8A6A12, #D4AF37, #FFF1B8, #6B520E);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .45;
  animation: angSpin 10s linear infinite;
  transition: opacity .5s;
}
.holo-card.is-hover .holo-card__border { opacity: 1; animation-duration: 3s; filter: drop-shadow(0 0 6px rgba(255, 215, 0, .7)); }

.holo-card__sheen {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background:
    radial-gradient(600px circle at var(--mx) var(--my), rgba(255, 241, 184, .13), transparent 45%),
    linear-gradient(115deg, transparent 30%, rgba(255, 215, 0, .05) 45%, rgba(120, 220, 255, .04) 50%, rgba(255, 120, 230, .04) 55%, transparent 70%);
  background-size: 100% 100%, 250% 250%;
  background-position: 0 0, var(--mx) var(--my);
  opacity: 0; transition: opacity .5s;
  mix-blend-mode: screen;
}
.holo-card.is-hover .holo-card__sheen { opacity: 1; }

.holo-card__inner { position: relative; z-index: 2; padding: clamp(18px, 2.4vw, 46px); }

.product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4.5vw, 90px); align-items: center; }

.product__media { position: relative; transform: translateZ(40px); }
.media-frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #1d170a, #070604 70%);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, .25), 0 30px 60px -30px #000;
}
.media-frame__img {
  position: absolute; inset: -4%; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s var(--ease), transform .8s var(--ease-out);
  transform: translate(var(--ix, 0), var(--iy, 0)) scale(1.04);
}
.media-frame__img.is-loaded { opacity: 1; }
.media-frame__img.is-loaded + .media-frame__fallback { opacity: 0; }
.media-frame__fallback { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 1s; }

.ai-orb { position: relative; width: 44%; aspect-ratio: 1; }
.ai-orb span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, .55);
  box-shadow: 0 0 30px rgba(255, 215, 0, .25), inset 0 0 30px rgba(255, 215, 0, .2);
  animation: orb 8s linear infinite;
}
.ai-orb span:nth-child(1) { transform: rotateX(70deg); }
.ai-orb span:nth-child(2) { animation-duration: 11s; animation-direction: reverse; border-style: dashed; inset: 10%; }
.ai-orb span:nth-child(3) {
  inset: 30%; border: 0;
  background: radial-gradient(circle at 40% 35%, #FFF1B8, #D4AF37 45%, #4d3a08 100%);
  box-shadow: 0 0 60px rgba(255, 215, 0, .65);
  animation: corePulse 4s ease-in-out infinite;
}
@keyframes orb { to { transform: rotate(360deg) rotateX(70deg); } }

.scanline {
  position: absolute; left: 0; right: 0; height: 30%; top: -30%;
  background: linear-gradient(180deg, transparent, rgba(255, 215, 0, .09), transparent);
  animation: scan 5s linear infinite;
  pointer-events: none;
}
@keyframes scan { to { top: 100%; } }

.chat {
  position: absolute; z-index: 2;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(12, 12, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, .35);
  box-shadow: 0 20px 40px -15px #000, 0 0 20px rgba(212, 175, 55, .12);
  font-size: 13px; line-height: 1.45; color: #eee;
  transform: translateZ(70px);
  animation: floatY 6s ease-in-out infinite;
}
.chat__name { display: block; font-family: var(--ff-title); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 3px; }
/* живой диалог Юки */
.chat-feed {
  position: absolute; z-index: 2; left: -22px; bottom: 12%;
  width: 250px; height: 270px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  transform: translateZ(70px); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 42%);
}
.cf-msg {
  position: relative; flex: none; max-width: 100%;
  padding: 10px 14px; border-radius: 16px;
  background: rgba(12, 12, 12, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, .35);
  box-shadow: 0 20px 40px -15px #000, 0 0 20px rgba(212, 175, 55, .12);
  font-size: 13px; line-height: 1.45; color: #eee;
  align-self: flex-start; border-bottom-left-radius: 4px;
  transform-origin: 0 100%;
  animation: cfIn .55s cubic-bezier(.2, .8, .2, 1) both;
  transition: opacity .6s;
}
.cf-msg--me {
  align-self: flex-end; border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; transform-origin: 100% 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, .26), rgba(120, 90, 20, .3)); border-color: rgba(255, 215, 0, .45);
}
.cf-msg--me .chat__name { color: #fff; opacity: .7; text-align: right; }
.cf-msg.is-gone { opacity: 0; }
@keyframes cfIn { from { opacity: 0; transform: translateY(18px) scale(.92); } to { opacity: 1; transform: none; } }
.chat--2 { right: 18px; top: -18px; animation-delay: -3s; }
.typing-dots { display: flex; gap: 5px; padding: 4px 2px; }
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); animation: dots 1.2s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.status-pill {
  position: absolute; left: 18px; top: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(5, 5, 5, .7); border: 1px solid var(--line-gold);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #ddd;
}

.product__body { transform: translateZ(20px); }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(212, 175, 55, .08); border: 1px solid rgba(212, 175, 55, .35);
  font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--gold-light);
}
.badge svg { width: 14px; height: 14px; }
.product__body .h2 { margin: 20px 0 22px; }

.checklist { display: grid; gap: 14px; margin: 28px 0 36px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: #e6e6e6; }
.check {
  flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #FFF1B8, #D4AF37 55%, #8A6A12);
  box-shadow: 0 0 14px rgba(255, 215, 0, .45);
}
.check svg { width: 15px; height: 15px; fill: none; stroke: #1a1200; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.product__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.note { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }

/* =========================================================
   CREATOR (pinned art + overlay content)
   ========================================================= */
.creator { position: relative; background: #050505; }
.creator__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.creator__bg {
  position: absolute; inset: -8% 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s var(--ease);
  will-change: transform;
}
.creator__bg.is-loaded { opacity: .9; }
.creator__floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background:
    linear-gradient(rgba(212, 175, 55, .35) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(212, 175, 55, .35) 1px, transparent 1px) 0 0 / 80px 80px;
  transform: perspective(500px) rotateX(70deg);
  transform-origin: 50% 100%;
  -webkit-mask: linear-gradient(transparent, #000 60%);
          mask: linear-gradient(transparent, #000 60%);
  opacity: .35;
  animation: floor 4s linear infinite;
}
.creator__bg.is-loaded ~ .creator__floor { opacity: .12; }
@keyframes floor { to { background-position: 0 80px, 0 0; } }
.creator__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.creator__word {
  position: absolute; left: 50%; top: 50%;
  font-family: var(--ff-title); font-weight: 900;
  font-size: clamp(80px, 19vw, 520px); letter-spacing: -.03em; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, .28);
  white-space: nowrap;
  transform: translate(-50%, -50%) scale(var(--ws, 1));
  opacity: var(--wo, .9);
  will-change: transform;
}
.creator__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, .25) 9%, rgba(5, 5, 5, .2) 70%, #050505 100%),
    radial-gradient(ellipse at 30% 60%, rgba(5, 5, 5, .55), transparent 70%);
}

.creator__content {
  position: relative; z-index: 2;
  margin-top: -55vh;
  padding-bottom: clamp(100px, 14vh, 200px);
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}
@media (min-width: 1900px) { .creator__content { grid-template-columns: minmax(0, 980px) minmax(0, 1fr); } }

.hud-card {
  position: relative;
  padding: clamp(26px, 3.5vw, 64px);
  background: linear-gradient(160deg, rgba(15, 15, 15, .82), rgba(8, 8, 8, .7));
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid rgba(212, 175, 55, .18);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  box-shadow: 0 40px 120px -40px #000;
}
.hud-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 34px; height: 1px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
  box-shadow: 0 0 10px var(--gold-light);
}
.hud-corner { position: absolute; width: 16px; height: 16px; border: 0 solid var(--gold-primary); }
.hud-corner--tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.hud-corner--tr { top: 10px; right: 44px; border-top-width: 1px; border-right-width: 1px; }
.hud-corner--bl { bottom: 10px; left: 44px; border-bottom-width: 1px; border-left-width: 1px; }
.hud-corner--br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }

.hud-card__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hud-card__live { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }
.hud-card .h2 { margin: 20px 0 22px; }

.hud-stats { display: grid; gap: 14px; justify-self: end; width: min(100%, 340px); }
.hud-stat {
  position: relative;
  padding: 16px 20px 20px;
  background: rgba(8, 8, 8, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-left: 2px solid var(--gold-primary);
}
.hud-stat span { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); }
.hud-stat b { font-family: var(--ff-title); font-weight: 600; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); }
.hud-stat i {
  position: absolute; left: 20px; right: 20px; bottom: 10px; height: 2px; background: rgba(212, 175, 55, .15);
}
.hud-stat i::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light)); box-shadow: 0 0 8px var(--gold-light);
  transition: width 1.6s var(--ease-out) .4s;
}
.hud-stats.is-in .hud-stat i::after { width: var(--w); }

/* =========================================================
   CTA / ENERGY
   ========================================================= */
.cta { overflow: hidden; text-align: center; isolation: isolate; }
.cta__pulse {
  position: absolute; left: 50%; top: 50%; z-index: -2;
  width: min(1400px, 160vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 175, 55, .22) 0%, rgba(212, 175, 55, .07) 30%, transparent 60%);
  animation: ctaPulse 5s ease-in-out infinite;
}
@keyframes ctaPulse { 0%, 100% { transform: translate(-50%, -50%) scale(.85); opacity: .7; } 50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; } }
.cta__grid {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(212, 175, 55, .06) 1px, transparent 1px) 50% 50% / 60px 60px,
    linear-gradient(90deg, rgba(212, 175, 55, .06) 1px, transparent 1px) 50% 50% / 60px 60px;
  -webkit-mask: radial-gradient(ellipse at center, #000 20%, transparent 70%);
          mask: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title { margin: 20px 0 clamp(40px, 5vw, 80px); font-size: clamp(34px, 5vw, 110px); }

.energy {
  width: 100%; max-width: 1100px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  margin-bottom: clamp(40px, 5vw, 80px);
}
.node { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px; transition: transform .4s var(--ease); }
.node:hover { transform: translateY(-6px) scale(1.04); }
.node__orb {
  position: relative; width: clamp(96px, 9vw, 150px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 10px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 215, 0, .18), rgba(10, 10, 10, .9) 70%);
  border: 1px solid rgba(212, 175, 55, .5);
  box-shadow: 0 0 40px rgba(212, 175, 55, .25), inset 0 0 30px rgba(212, 175, 55, .2);
  animation: nodeGlow 3s ease-in-out infinite;
}
.node:last-child .node__orb { animation-delay: -1.5s; }
.node__orb::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, .35);
  animation: spin 20s linear infinite;
}
.node__orb svg { width: 46%; fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--gold-light)); }
@keyframes nodeGlow { 50% { box-shadow: 0 0 70px rgba(255, 215, 0, .45), inset 0 0 40px rgba(255, 215, 0, .35); } }
.node b { font-family: var(--ff-title); font-weight: 700; font-size: clamp(14px, .5vw + 12px, 22px); letter-spacing: .1em; text-transform: uppercase; }
.node > span:last-child { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }

.energy__field { position: relative; height: 120px; margin-top: -60px; }
.energy__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.beam { fill: none; stroke: url(#beam); stroke-linecap: round; }
.beam--1, .beam--2 { stroke-width: 1.4; stroke-dasharray: 6 10; animation: beamFlow 1.6s linear infinite; filter: drop-shadow(0 0 4px #FFD700); }
.beam--2 { animation-direction: reverse; animation-duration: 2.1s; }
.beam--3 { stroke-width: 2.4; stroke-dasharray: 60 340; animation: beamShot 2.2s var(--ease) infinite; filter: drop-shadow(0 0 8px #FFD700); }
@keyframes beamFlow { to { stroke-dashoffset: -64; } }
@keyframes beamShot { from { stroke-dashoffset: 400; } to { stroke-dashoffset: -400; } }
.energy__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 9px 18px; border-radius: 999px;
  background: #0a0a0a; border: 1px solid var(--gold-primary);
  box-shadow: 0 0 30px rgba(255, 215, 0, .4);
  font-family: var(--ff-title); font-weight: 700; font-size: 12px; letter-spacing: .3em; color: var(--gold-light);
}

.cta__text { max-width: 720px; margin-bottom: 40px; color: #cfcfcf; font-weight: 300; font-size: clamp(16px, .5vw + 14px, 24px); }
@media (min-width: 1900px) { .cta__text { max-width: 980px; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  background: #030303;
  border-top: 1px solid var(--line-gold);
  padding-top: clamp(70px, 8vw, 140px);
  overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: -1px; left: 50%; width: 40%; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  box-shadow: 0 0 16px var(--gold-light);
}

.footer__founder {
  display: grid;
  grid-template-columns: minmax(200px, 380px) 1fr;
  gap: clamp(30px, 5vw, 100px);
  align-items: end;
}
@media (min-width: 1900px) { .footer__founder { grid-template-columns: 480px 1fr; } }

.founder__photo { position: relative; align-self: end; }
.founder__photo img {
  position: relative; width: 100%; height: auto;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
  -webkit-mask: linear-gradient(180deg, #000 78%, transparent 100%), linear-gradient(270deg, transparent 0, #000 14%);
  -webkit-mask-composite: source-in;
          mask: linear-gradient(180deg, #000 78%, transparent 100%) intersect, linear-gradient(270deg, transparent 0, #000 14%);
}
.founder__halo {
  position: absolute; left: 50%; top: 42%; width: 95%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .28), rgba(212, 175, 55, .05) 50%, transparent 70%);
  animation: corePulse 6s ease-in-out infinite;
}

.founder__quote { position: relative; margin: 0; padding-bottom: clamp(50px, 6vw, 110px); }
.founder__mark {
  position: absolute; left: -.08em; top: -.42em;
  font-family: var(--ff-serif); font-size: clamp(120px, 12vw, 260px); line-height: 1;
  color: var(--gold-primary); opacity: .25;
}
.founder__quote p {
  position: relative;
  font-family: var(--ff-serif); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 2.6vw, 60px); line-height: 1.25;
  background: linear-gradient(110deg, #D4AF37, #FFF1B8 35%, #FFD700 55%, #B8902A 85%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.founder__quote footer { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: clamp(24px, 2.5vw, 44px); }

/* подпись htsign: золото через маску + «прописывание» слева направо */
.founder__sign {
  display: block;
  width: clamp(220px, 22vw, 480px);
  aspect-ratio: 1200 / 410;
  background: linear-gradient(110deg, #8A6A12, #D4AF37 25%, #FFF1B8 45%, #FFD700 60%, #B8902A 85%);
  background-size: 220% 100%;
  -webkit-mask: url("../images/htsign.webp") left center / contain no-repeat;
          mask: url("../images/htsign.webp") left center / contain no-repeat;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
  clip-path: inset(0 100% 0 0);
  transition: clip-path 2.4s cubic-bezier(.6, .05, .3, 1) .5s;
  animation: goldFlow 6s linear infinite;
}
.founder__quote.is-in .founder__sign { clip-path: inset(0 0 0 0); }
.founder__role { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: 50px 0 calc(50px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-gold);
}
.footer__brand p { margin-top: 18px; font-size: 13px; line-height: 1.7; color: var(--text-muted); }
.logo--footer .logo__mark { width: 32px; height: 32px; }
.logo--footer .logo__text { font-size: 16px; }

.footer__links { display: flex; gap: clamp(30px, 6vw, 100px); flex-wrap: wrap; }
.footer__links h4 { font-family: var(--ff-title); font-weight: 600; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-primary); margin-bottom: 16px; }
.footer__links a { display: block; padding: 4px 0; font-size: 14px; color: #bdbdbd; transition: color .3s, transform .3s; }
.footer__links a:hover { color: var(--gold-light); transform: translateX(4px); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 10, 10, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, .5);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease), box-shadow .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { box-shadow: var(--glow-gold); transform: scale(1.08); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header__inner { grid-template-columns: 1fr auto auto; gap: 16px; }

  .philosophy__grid, .product__grid { grid-template-columns: 1fr; }
  .philosophy__visual { max-width: 720px; }
  .float-chip--a { right: 10px; bottom: -14px; }

  .creator__content { grid-template-columns: 1fr; }
  .hud-stats { justify-self: stretch; width: 100%; grid-template-columns: repeat(3, 1fr); }

  .hero__rings { left: 70%; width: 110vw; opacity: .7; }
}

@media (max-width: 640px) {
  .header__actions { display: none; }
  .header__inner { grid-template-columns: 1fr auto; }
  .hero { padding-bottom: 100px; align-items: flex-end; }
  .hero__rings { left: 60%; top: 30%; width: 150vw; opacity: .55; }
  .hero__vignette { background: linear-gradient(180deg, rgba(5, 5, 5, .4) 0%, rgba(5, 5, 5, .3) 30%, rgba(5, 5, 5, .85) 70%, #050505 100%); }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 18px 26px; }
  .hero__stats li { gap: 8px; }
  .hero__stats span { font-size: 10px; max-width: 86px; }
  .scroll-hint { display: none; }
  .hero__eyebrow { flex-direction: column; align-items: flex-start; gap: 6px; letter-spacing: .2em; }
  .hero__eyebrow .eyebrow__line, .hero__eyebrow b { display: none; }

  .btn { white-space: normal; text-align: center; }
  .btn--lg, .btn--xl { --pad-x: 24px; }

  .holo-card { border-radius: 20px; }
  .chat-feed { left: 8px; bottom: 10px; width: 210px; height: 175px; }
  .cf-msg { font-size: 12px; padding: 8px 12px; }
  .chat--2 { right: 10px; top: -14px; }
  .product__cta .btn { width: 100%; }

  .creator__content { margin-top: -70vh; }
  .hud-card { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
  .hud-card .btn { width: 100%; }
  .hud-stats { grid-template-columns: 1fr; }

  .energy { grid-template-columns: 1fr; gap: 0; }
  .energy__field { height: 110px; margin: -6px 0; }
  .energy__svg { transform: rotate(90deg) scaleX(.3); }
  .energy__core { font-size: 10px; }

  .footer__founder { grid-template-columns: 1fr; gap: 10px; }
  .founder__photo { max-width: 260px; margin: 0 auto; }
  .founder__quote { padding-bottom: 50px; text-align: center; }
  .founder__mark { left: 50%; transform: translateX(-50%); }
  .founder__quote footer { align-items: center; }
  .founder__sign { -webkit-mask-position: center; mask-position: center; }
  .footer__bottom { flex-direction: column; }
  .to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}
