:root {
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

body.intro-active {
  overflow: hidden;
}

.page-intro {
  position: fixed;
  z-index: 240;
  inset: 0;
  display: none;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 101, 0, 0.09), transparent 25rem),
    #070707;
  clip-path: inset(0 0 0 0);
}

.page-intro::before,
.page-intro::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.page-intro::before {
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
}

.page-intro::after {
  top: 0;
  bottom: 0;
  left: -20%;
  width: 25%;
  background: linear-gradient(90deg, transparent, rgba(255, 101, 0, 0.11), transparent);
  filter: blur(18px);
  transform: skewX(-18deg);
}

.motion-enabled.app-ready .page-intro {
  display: grid;
}

.motion-enabled .page-intro.is-playing::after {
  animation: intro-scan 1.05s var(--motion-ease) both;
}

.page-intro.is-exiting {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.82s var(--motion-ease);
}

.page-intro.is-exiting .intro-content {
  opacity: 0;
  transform: translateY(-28px) scale(0.96);
  transition: opacity 0.32s ease, transform 0.5s var(--motion-ease);
}

.intro-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(310px, calc(100% - 56px));
  justify-items: center;
  transition: opacity 0.3s ease, transform 0.5s var(--motion-ease);
}

.intro-index,
.intro-caption {
  color: #918780;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.intro-index {
  position: absolute;
  top: -28px;
  right: 0;
  opacity: 0;
}

.intro-mark {
  width: 164px;
  opacity: 0;
  filter: drop-shadow(0 0 24px rgba(255, 101, 0, 0.2));
  transform: translateY(18px) scale(0.8);
}

.intro-content strong {
  margin-top: 9px;
  opacity: 0;
  font-size: 18px;
  font-weight: 740;
  letter-spacing: -0.035em;
  transform: translateY(12px);
}

.intro-track {
  position: relative;
  width: 100%;
  height: 1px;
  margin-top: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
}

.intro-track i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ff4d00, #ff8b2b, #fff0e5);
  box-shadow: 0 0 14px rgba(255, 101, 0, 0.65);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.intro-caption {
  margin-top: 13px;
  opacity: 0;
}

.page-intro.is-playing .intro-index {
  animation: intro-fade 0.5s 0.08s ease both;
}

.page-intro.is-playing .intro-mark {
  animation: intro-mark-in 0.82s 0.06s var(--motion-spring) both;
}

.page-intro.is-playing .intro-content strong {
  animation: intro-word-in 0.65s 0.2s var(--motion-ease) both;
}

.page-intro.is-playing .intro-track i {
  animation: intro-progress 0.82s 0.18s var(--motion-ease) both;
}

.page-intro.is-playing .intro-caption {
  animation: intro-fade 0.5s 0.46s ease both;
}

.motion-switch {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.3s var(--motion-ease);
}

.motion-switch:hover {
  border-color: rgba(255, 101, 0, 0.36);
  background: rgba(255, 101, 0, 0.08);
  color: var(--orange);
  transform: rotate(5deg);
}

.motion-switch::after {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: max-content;
  max-width: 170px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  content: attr(data-tooltip);
  background: rgba(12, 12, 12, 0.94);
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, -4px);
  transition: opacity 0.2s ease, transform 0.25s var(--motion-ease);
}

.motion-switch:hover::after,
.motion-switch:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.motion-equalizer {
  display: flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.motion-equalizer i {
  display: block;
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: 50% 50%;
}

.motion-enabled .motion-equalizer i:first-child {
  animation: equalizer-a 0.9s ease-in-out infinite alternate;
}

.motion-enabled .motion-equalizer i:nth-child(2) {
  animation: equalizer-b 0.72s 0.12s ease-in-out infinite alternate;
}

.motion-enabled .motion-equalizer i:last-child {
  animation: equalizer-c 1.05s 0.06s ease-in-out infinite alternate;
}

.motion-reduced .motion-switch {
  color: #918780;
}

.cursor-follower {
  position: fixed;
  z-index: 95;
  top: 0;
  left: 0;
  display: none;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  overflow: visible;
  contain: layout style;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}

.has-fine-pointer.motion-enabled .cursor-follower {
  display: block;
}

.cursor-ring,
.cursor-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.cursor-ring {
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 101, 0, 0.54);
  box-shadow: 0 0 20px rgba(255, 101, 0, 0.08);
  transition: width 0.28s var(--motion-spring), height 0.28s var(--motion-spring), background 0.28s ease, border-color 0.28s ease, opacity 0.2s ease;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  transform: translate(-50%, -50%);
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 101, 0, 0.7);
  transition: opacity 0.2s ease;
  will-change: transform;
}

.cursor-follower.is-visible .cursor-ring,
.cursor-follower.is-visible .cursor-dot {
  opacity: 1;
}

.cursor-follower.is-hovering .cursor-ring {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 101, 0, 0.74);
  background: rgba(255, 101, 0, 0.08);
}

.cursor-follower.is-pressed .cursor-ring {
  width: 22px;
  height: 22px;
  background: rgba(255, 101, 0, 0.18);
}

.motion-enabled.app-ready .site-header {
  transform: translateY(-115%);
}

.motion-enabled.site-ready .site-header {
  transform: translateY(0);
  transition: height 0.35s var(--motion-ease), background 0.35s ease, border-color 0.35s ease, transform 0.85s 0.06s var(--motion-spring);
}

.motion-enabled.app-ready .ambient-canvas {
  opacity: 0;
}

.motion-enabled.site-ready .ambient-canvas {
  animation: canvas-in 1.8s 0.15s ease both;
}

.motion-enabled .pointer-glow {
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(255, 101, 0, 0.095), rgba(255, 101, 0, 0.025) 36%, transparent 70%);
}

.motion-enabled.app-ready .reveal {
  opacity: 0;
  filter: none;
  clip-path: none;
  transform: translate3d(0, 52px, 0) scale(0.985);
  transition:
    opacity 0.78s var(--motion-ease),
    transform 1.05s var(--motion-spring);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-enabled.app-ready .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-enabled.app-ready .timeline-item.reveal {
  transform: translate3d(0, 32px, 0) scale(0.99);
}

.motion-enabled.app-ready .timeline-item.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-enabled.app-ready .case-card.reveal,
.motion-enabled.app-ready .review-panel.reveal,
.motion-enabled.app-ready .contact-shell.reveal {
  transform: translate3d(0, 42px, 0) scale(0.965);
}

.motion-enabled.app-ready .case-card.reveal.is-visible,
.motion-enabled.app-ready .review-panel.reveal.is-visible,
.motion-enabled.app-ready .contact-shell.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-enabled.app-ready:not(.site-ready) .hero .reveal {
  opacity: 0;
}

.motion-enabled.app-ready .hero-title > span {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, 92%, 0) rotate(1.6deg);
  transform-origin: 0 100%;
}

.motion-enabled.site-ready .hero-title.is-visible > span:first-child {
  animation: hero-line-in 0.9s 0.04s var(--motion-spring) both;
}

.motion-enabled.site-ready .hero-title.is-visible > span:nth-child(2) {
  animation: hero-line-in 0.9s 0.14s var(--motion-spring) both;
}

.motion-enabled.site-ready .hero-title.is-visible > span:nth-child(3) {
  animation: hero-line-in 0.9s 0.24s var(--motion-spring) both, accent-flow 5s 1.2s ease-in-out infinite;
}

.motion-enabled .hero-title .text-accent {
  background: linear-gradient(105deg, #ff4d00 0%, #ff7a00 32%, #ffc69f 50%, #ff6500 68%, #ff4d00 100%);
  background-size: 220% 100%;
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.motion-enabled .hero-visual {
  --stage-x: 0px;
  --stage-y: 0px;
  --label-x: 0px;
  --label-y: 0px;
}

.motion-enabled .hero-mark {
  translate: var(--stage-x) var(--stage-y);
  transition: translate 0.55s var(--motion-spring);
}

.motion-enabled .visual-grid {
  background-position: var(--grid-x, 0px) var(--grid-y, 0px);
  transition: background-position 0.7s var(--motion-spring);
}

.motion-enabled .visual-label-top,
.motion-enabled .visual-index {
  translate: var(--label-x) var(--label-y);
  transition: translate 0.6s var(--motion-spring);
}

.motion-enabled .visual-label-bottom {
  translate: var(--label-inverse-x, 0px) var(--label-inverse-y, 0px);
  transition: translate 0.6s var(--motion-spring);
}

.energy-core,
.energy-sweep,
.signal-pulse {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.energy-core {
  top: 50%;
  left: 50%;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.58;
  background: conic-gradient(from 0deg, transparent 0 22%, rgba(255, 101, 0, 0.42) 29%, transparent 36% 68%, rgba(255, 255, 255, 0.16) 74%, transparent 81%);
  filter: blur(8px);
  mask-image: radial-gradient(circle, transparent 0 34%, #000 48%, transparent 72%);
  transform: translate(-50%, -50%);
  animation: energy-spin 10s linear infinite;
}

.energy-sweep {
  inset: -30%;
  opacity: 0.6;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 101, 0, 0.1) 49%, rgba(255, 255, 255, 0.08) 50%, transparent 59%);
  transform: translateX(-45%) rotate(-8deg);
  animation: energy-sweep 5.5s 0.5s var(--motion-ease) infinite;
}

.signal-pulse {
  top: 50%;
  left: 50%;
  width: 35%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 101, 0, 0.28);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
}

.signal-pulse-one {
  animation: signal-pulse 3.6s 0.6s var(--motion-ease) infinite;
}

.signal-pulse-two {
  animation: signal-pulse 3.6s 2.35s var(--motion-ease) infinite;
}

[data-parallax] {
  translate: 0 var(--parallax-y, 0px);
  will-change: translate;
}

[data-counter] {
  font-variant-numeric: tabular-nums;
}

.bento-card-stat strong b {
  color: inherit;
  font: inherit;
}

.section-kicker::after {
  display: block;
  width: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--orange), transparent);
  transition: width 0.8s 0.24s var(--motion-ease);
}

.section-heading.is-visible .section-kicker::after,
.split-heading.is-visible .section-kicker::after,
.review-panel.is-visible .section-kicker::after,
.contact-copy.is-visible .section-kicker::after {
  width: 42px;
}

.motion-enabled .bento-icon {
  animation: glyph-float 5.5s ease-in-out infinite;
}

.motion-enabled .icon-box svg,
.motion-enabled .button svg,
.motion-enabled .telegram-arrow {
  transition: transform 0.42s var(--motion-spring), color 0.3s ease;
}

.motion-enabled .skill-card:hover .icon-box svg,
.motion-enabled .service-card:hover .icon-box svg {
  transform: rotate(-8deg) scale(1.16);
}

.motion-enabled .button:hover svg,
.motion-enabled .text-link:hover svg,
.motion-enabled .telegram-card:hover .telegram-arrow {
  transform: translate3d(4px, -1px, 0);
}

.motion-enabled .price-card-featured::after {
  position: absolute;
  z-index: 0;
  top: -45%;
  left: -70%;
  width: 44%;
  height: 190%;
  content: "";
  opacity: 0.55;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 159, 92, 0.13), rgba(255, 255, 255, 0.09), transparent);
  transform: rotate(12deg);
  will-change: transform, opacity;
  animation: price-glint 6.5s 1s var(--motion-ease) infinite;
}

.motion-enabled .skill-tags.is-visible span {
  opacity: 0;
  animation: tag-in 0.62s var(--tag-delay, 0ms) var(--motion-spring) forwards;
}

.motion-enabled .timeline-marker::after {
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 1.15s 0.3s var(--motion-ease);
}

.motion-enabled .timeline-item.is-visible .timeline-marker::after {
  transform: scaleY(1);
}

.motion-enabled .timeline-marker span {
  transform: scale(0);
  transition: transform 0.55s 0.12s var(--motion-spring), box-shadow 0.55s ease;
}

.motion-enabled .timeline-item.is-visible .timeline-marker span {
  transform: scale(1);
  box-shadow: 0 0 0 4px rgba(255, 101, 0, 0.15), 0 0 24px rgba(255, 101, 0, 0.24);
}

.motion-enabled .shot-symbol {
  animation: shot-symbol-breathe 4.5s ease-in-out infinite;
}

.motion-enabled .review-proof img {
  animation: proof-float 5s ease-in-out infinite;
}

.motion-enabled .telegram-icon {
  position: relative;
}

.motion-enabled .telegram-icon::after {
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(255, 101, 0, 0.55);
  border-radius: 50%;
  content: "";
  animation: telegram-pulse 2.6s ease-out infinite;
}

.motion-enabled .marquee-track {
  animation-name: marquee-loop;
  animation-duration: 24s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

.motion-enabled .marquee:hover .marquee-track {
  animation-play-state: running;
}

.motion-enabled .motion-zone:not(.is-motion-visible),
.motion-enabled .motion-zone:not(.is-motion-visible)::before,
.motion-enabled .motion-zone:not(.is-motion-visible)::after,
.motion-enabled .motion-zone:not(.is-motion-visible) *,
.motion-enabled .motion-zone:not(.is-motion-visible) *::before,
.motion-enabled .motion-zone:not(.is-motion-visible) *::after {
  animation-play-state: paused !important;
}

.motion-enabled .form-status:not(:empty) {
  animation: status-in 0.45s var(--motion-spring) both;
}

html.motion-reduced {
  scroll-behavior: auto;
}

html.motion-reduced *,
html.motion-reduced *::before,
html.motion-reduced *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  transition-delay: 0ms !important;
}

html.motion-reduced .page-intro,
html.motion-reduced .ambient-canvas,
html.motion-reduced .pointer-glow,
html.motion-reduced .cursor-follower,
html.motion-reduced .energy-core,
html.motion-reduced .energy-sweep,
html.motion-reduced .signal-pulse {
  display: none !important;
}

html.motion-reduced .site-header {
  transform: none !important;
}

html.motion-reduced.js .reveal,
html.motion-reduced .hero-title > span {
  opacity: 1 !important;
  filter: none !important;
  clip-path: none !important;
  transform: none !important;
}

html.motion-reduced [data-parallax],
html.motion-reduced .hero-mark,
html.motion-reduced .visual-label,
html.motion-reduced .visual-index {
  translate: none !important;
}

@keyframes intro-scan {
  0% { transform: translateX(-35%) skewX(-18deg); }
  100% { transform: translateX(620%) skewX(-18deg); }
}

@keyframes intro-mark-in {
  0% { opacity: 0; transform: translateY(20px) scale(0.72); }
  65% { opacity: 1; transform: translateY(-3px) scale(1.035); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes intro-word-in {
  from { opacity: 0; letter-spacing: 0.12em; transform: translateY(12px); }
  to { opacity: 1; letter-spacing: -0.035em; transform: translateY(0); }
}

@keyframes intro-progress {
  0% { transform: scaleX(0); }
  75%, 100% { transform: scaleX(1); }
}

@keyframes intro-fade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes equalizer-a {
  from { height: 4px; }
  to { height: 14px; }
}

@keyframes equalizer-b {
  from { height: 12px; }
  to { height: 5px; }
}

@keyframes equalizer-c {
  from { height: 7px; }
  to { height: 15px; }
}

@keyframes canvas-in {
  from { opacity: 0; }
  to { opacity: 0.92; }
}

@keyframes hero-line-in {
  0% { opacity: 0; filter: blur(12px); transform: translate3d(0, 92%, 0) rotate(1.6deg); }
  100% { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotate(0); }
}

@keyframes accent-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes energy-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes energy-sweep {
  0%, 18% { transform: translateX(-55%) rotate(-8deg); opacity: 0; }
  42% { opacity: 0.65; }
  72%, 100% { transform: translateX(55%) rotate(-8deg); opacity: 0; }
}

@keyframes signal-pulse {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.35); }
  18% { opacity: 0.55; }
  75%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.4); }
}

@keyframes glyph-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

@keyframes tag-in {
  from { opacity: 0; transform: translateY(12px) scale(0.88); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes price-glint {
  0%, 26% { transform: translate3d(0, 0, 0) rotate(12deg); opacity: 0; }
  40% { opacity: 0.55; }
  68%, 100% { transform: translate3d(480%, 0, 0) rotate(12deg); opacity: 0; }
}

@keyframes shot-symbol-breathe {
  0%, 100% { opacity: 0.75; transform: scale(0.97); text-shadow: 0 0 40px rgba(200, 154, 88, 0.16); }
  50% { opacity: 1; transform: scale(1.025); text-shadow: 0 0 80px rgba(200, 154, 88, 0.34); }
}

@keyframes proof-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes telegram-pulse {
  0% { opacity: 0.65; transform: scale(1); }
  80%, 100% { opacity: 0; transform: scale(1.55); }
}

@keyframes status-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 680px) {
  .motion-switch {
    width: 39px;
    height: 39px;
  }

  .motion-switch::after {
    display: none;
  }

  .page-intro::before {
    background-size: 38px 38px;
  }

  .intro-mark {
    width: 138px;
  }

  .energy-core {
    width: 86%;
    opacity: 0.46;
  }

  .signal-pulse {
    width: 42%;
  }

  .motion-enabled.app-ready .reveal {
    filter: none;
    transform: translate3d(0, 36px, 0) scale(0.99);
  }

  .motion-enabled.app-ready .timeline-item.reveal {
    transform: translate3d(0, 36px, 0);
  }

  .motion-enabled.app-ready .timeline-item.reveal.is-visible {
    transform: translate3d(0, 0, 0);
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-follower {
    display: none !important;
  }

  .motion-enabled .hero-mark,
  .motion-enabled .visual-grid,
  .motion-enabled .visual-label,
  .motion-enabled .visual-index {
    translate: none;
  }
}
