/*
Theme Name: My Theme
Author: Ваше имя
Description: Кастомная тема «Вектор ЧЗ».
Version: 1.0
Text Domain: mytheme
*/

/* ============ BASE ============ */
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { font-feature-settings: 'ss01', 'cv11'; }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s cubic-bezier(.2,.8,.25,1), transform 1.1s cubic-bezier(.2,.8,.25,1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ NAVBAR BLUR ============ */
#navbar.scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(11, 18, 32, .06);
  box-shadow: 0 4px 24px -8px rgba(11, 18, 32, .06);
}

/* ============ ORBS ============ */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: .55;
}

/* ============ BUTTON SHINE ============ */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::before {
  content: '';
  position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  transition: left .8s cubic-bezier(.2,.8,.25,1);
}
.btn-shine:hover::before { left: 130%; }

/* ============ SECTION DASH ============ */
.section-dash {
  display: inline-block;
  width: 32px; height: 1px;
  background: #393185;
  flex-shrink: 0;
}

/* ============ KEYFRAME (используется в hero статьи) ============ */
@keyframes coverScan {
  0%, 100% { top: 6%; }
  50% { top: 94%; }
}

/* ============ SCROLLBAR & SELECTION ============ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #F7F8FA; }
::-webkit-scrollbar-thumb {
  background: #D5DAE2;
  border-radius: 10px;
  border: 2px solid #F7F8FA;
}
::-webkit-scrollbar-thumb:hover { background: #FF7A00; }
::selection { background: #EBFF00; color: #393185; }

/* ============ MOTION REDUCE ============ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}