/* ==========================================================================
   REKLAM CENTAR • DIGITAL SHOWROOM
   Architecture & Global State (Awwwards Grade)
   ========================================================================== */

:root {
  /* Surface & Industrial Dark Palette (Noble Deep Graphite-Green Base) */
  --bg-base: #0d110f;
  --bg-surface: #121815;
  --bg-surface-elevated: #16221c;
  --bg-surface-glass: rgba(13, 17, 15, 0.72);
  --bg-header-glass: rgba(13, 17, 15, 0.85);

  /* Neon Illumination Accents */
  --neon-green: #00ff66;
  --neon-green-glow: rgba(0, 255, 102, 0.45);
  --neon-green-soft: rgba(0, 255, 102, 0.08);
  --neon-green-border: rgba(0, 255, 102, 0.35);

  /* Soft Luxury Editorial Typography */
  --text-pure: rgba(255, 255, 255, 0.88);
  --text-primary: rgba(255, 255, 255, 0.85);
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);

  /* Precision Subtle Structural Borders */
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-medium: rgba(255, 255, 255, 0.08);

  /* High-End Architectural Typography */
  --font-display:
    "Satoshi", "Manrope", "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  --font-body:
    "General Sans", "Inter", "Manrope", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* Strict Non-Jitter Cubic Bezier Timing Functions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout Constants */
  --container-max: 1320px;
  --container-pad: clamp(1.5rem, 4.5vw, 3.5rem);
  --header-height: 84px;
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */

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

html {
  background-color: var(--bg-base);

  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  overflow-x: hidden;
}

/* Lenis Smooth Scroll Configuration */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background-color: var(--bg-base);

  color: var(--text-primary);

  min-height: 100vh;

  position: relative;

  overflow-x: hidden;

  transition: background-color 0.8s var(--ease-smooth);
}

/* ==========================================================================
   CINEMATIC MOVIE INTRO & PRELOADER (Avantial Studio Benchmark)
   "Открывается как фильм, вылетает"
   ========================================================================== */

.cinema-intro-overlay {
  position: fixed;
  inset: 0;

  width: 100vw;
  height: 100vh;

  z-index: 999999;

  background: #0d110f;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  user-select: none;
  pointer-events: all;
  will-change: opacity, transform, filter;
}

.cinema-intro-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  background: radial-gradient(circle at 50% 50%, #131815 0%, #0d110f 70%, #090c0a 100%);

  z-index: 1;
}

.cinema-intro-particles {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 2;
  pointer-events: none;
  opacity: 0.7;
}

.cinema-intro-spotlight {
  position: absolute;

  width: 750px;
  height: 750px;

  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 255, 102, 0.12) 0%,
    rgba(0, 255, 102, 0.03) 45%,
    transparent 70%
  );
  filter: blur(85px);

  z-index: 2;
  pointer-events: none;
}

.cinema-intro-stage {
  position: relative;
  z-index: 10;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  width: 100%;
  max-width: 900px;
  padding: 0 2rem;

  will-change: transform, opacity, filter;
}

/* High-End Dark Premium Brand Logo (Task 1) */
.intro-logo-wrap {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 2.25rem;
  width: 100%;
}

.hero-main-logo {
  width: clamp(280px, 38vw, 540px);
  max-width: 540px;
  height: auto;
  object-fit: contain;
  display: block;
  /* Illuminated physical sign aesthetic: neon green halo + deep shadow */

  filter: drop-shadow(0 0 15px rgba(0, 255, 102, 0.4)) drop-shadow(0 0 35px rgba(0, 255, 102, 0.2))
    drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));

  will-change: transform, opacity, filter;
}

/* Precision Dual-Layer Progress Bar (Task 2) */
.intro-progress-bar-wrap {
  position: relative;

  width: 100%;
  max-width: clamp(280px, 34vw, 480px);
  height: 2px;
  margin-bottom: 1.85rem;
}

.intro-progress-track {
  position: relative;

  width: 100%;
  height: 2px;

  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;

  overflow: hidden;
}

.intro-progress-fill {
  position: absolute;
  top: 0;
  left: 0;

  height: 100%;
  width: 100%;

  background: #00ff66;
  border-radius: 9999px;
  box-shadow:
    0 0 10px #00ff66,
    0 0 20px rgba(0, 255, 102, 0.55);

  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* Authority Business Statement & Telemetry (Task 2) */
.intro-authority-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;

  opacity: 0;

  will-change: opacity, transform;
}

.intro-authority-text {
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 0.95vw, 0.8rem);
  letter-spacing: 0.28em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  text-align: center;
}

.intro-counter-box {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;

  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.18em;
}

.intro-counter-pct {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   CUSTOM CURSOR & SPOTLIGHT ENGINE (Mirko Romanelli Benchmark)
   ========================================================================== */

.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;

  width: 650px;
  height: 650px;
  margin-top: -325px;
  margin-left: -325px;

  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 255, 102, 0.08) 0%,
    rgba(0, 255, 102, 0.015) 45%,
    rgba(10, 15, 13, 0) 70%
  );
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  will-change: transform;
  transform: translate(-9999px, -9999px);
  transition: opacity 0.6s var(--ease-smooth);
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;

  width: 6px;
  height: 6px;
  margin-top: -3px;
  margin-left: -3px;

  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  pointer-events: none;
  z-index: 99999;

  will-change: transform;
  transform: translate(-9999px, -9999px);
}

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

/* ==========================================================================
   LIGHT FLASH LAYER (Mix-Blend-Mode Screen)
   ========================================================================== */

.light-flash-layer {
  position: fixed;
  inset: 0;

  background: radial-gradient(
    circle at 75% 50%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(0, 255, 102, 0.65) 45%,
    rgba(10, 15, 13, 0) 80%
  );
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;

  will-change: opacity;
}

/* Background Atmospheric Noise & Alignment Grid */
.env-ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  overflow: hidden;
}

.env-radial-glow {
  position: absolute;
  top: -10%;
  right: -5%;

  width: 1100px;
  height: 900px;

  background: radial-gradient(circle, rgba(0, 255, 102, 0.07) 0%, rgba(10, 15, 13, 0) 70%);
  filter: blur(90px);

  transition: opacity 1.2s var(--ease-smooth);
}

.env-hairline-grid {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 60% 45%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 60% 45%, black 30%, transparent 85%);
}

/* ==========================================================================
   ШАГ 2: SMART HEADER (Transforms into Floating Glassmorphism Island)
   ========================================================================== */

.app-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: var(--header-height);

  z-index: 1000;

  display: flex;
  align-items: center;

  padding: 0 var(--container-pad);

  transition:
    top 0.5s var(--ease-smooth),
    padding 0.5s var(--ease-smooth),
    height 0.5s var(--ease-smooth);
}

.header-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0.6rem 1.25rem;

  border-radius: 20px;
  border: 1px solid transparent;
  background: transparent;

  transition:
    background-color 0.5s var(--ease-smooth),
    border-color 0.5s var(--ease-smooth),
    box-shadow 0.5s var(--ease-smooth),
    backdrop-filter 0.5s var(--ease-smooth),
    padding 0.5s var(--ease-smooth);
}

/* Floating Glassmorphism State triggered on scroll */
.app-header.is-scrolled {
  top: 14px;
}

.app-header.is-scrolled .header-inner {
  background: var(--bg-header-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 255, 102, 0.22);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 255, 102, 0.06);

  padding: 0.5rem 1.4rem;

  border-radius: 9999px;
}

/* Brand Identity */
.brand-block {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;

  text-decoration: none;
}

.brand-monogram {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 12px;

  transition:
    border-color var(--transition-smooth),
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.brand-block:hover .brand-monogram {
  border-color: var(--neon-green);
  box-shadow: 0 0 16px var(--neon-green-soft);

  transform: translateY(-1px);
}

.mono-symbol {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--text-pure);
}

.mono-pip {
  position: absolute;
  top: 4px;
  right: 4px;

  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text-pure);
  line-height: 1.1;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--neon-green);
}

/* Navigation Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;

  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;

  padding: 0.4rem 0.2rem;

  transition: color var(--transition-smooth);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;

  width: 0;
  height: 2px;

  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);

  transform: translateX(-50%);
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-pure);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;

  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.status-pulse {
  width: 6px;
  height: 6px;

  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

.scroll-tracker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--neon-green);

  min-width: 38px;
}

.btn-header-glass {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  padding: 0.55rem 1.25rem;

  border-radius: 9999px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);

  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-pure);
  text-decoration: none;

  transition:
    transform var(--transition-smooth),
    border-color var(--transition-smooth),
    background-color var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.btn-header-glass:hover {
  border-color: var(--neon-green);
  box-shadow: 0 0 16px var(--neon-green-soft);
  background: rgba(19, 28, 24, 0.95);

  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION: 100VH 2-COLUMN BALANCED COMPOSITION
   ========================================================================== */

.hero-section {
  position: relative;

  min-height: 100vh;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: calc(var(--header-height) + 2rem) var(--container-pad) 4rem;
  overflow: hidden;

  isolation: isolate;
}

.hero-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;

  position: relative;
  z-index: 2;
}

/* LEFT COLUMN: Content & Pitch (Unified Flex Gap 2rem) */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  max-width: 820px;

  text-align: left;

  will-change: opacity, filter, transform;
  transition:
    opacity 1.1s var(--ease-smooth),
    filter 1.1s var(--ease-smooth),
    transform 1.1s var(--ease-smooth);
}

/* Semi-darkness Initial State before first scroll */
body.dimmed-state .hero-content {
  opacity: 0.85;
  filter: brightness(0.95);

  transform: scale(1);
}

/* Full Active Showroom State after ignition flash */
body.lit-state .hero-content {
  opacity: 1;
  filter: brightness(1) blur(0px);

  transform: scale(1);
}

/* Hero Chip */
.hero-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;

  padding: 0.4rem 1rem;

  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;

  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);

  margin: 0;
}

.chip-spark {
  width: 6px;
  height: 6px;

  border-radius: 50%;
  background-color: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

/* H1 Headline: Monolithic, Dense, Soft Green Ambient Glow */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;

  margin: 0;

  text-wrap: balance;
  text-shadow: 0 0 40px rgba(0, 255, 102, 0.4);
}

.hero-description {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);

  max-width: 640px;
  margin: 0;

  text-wrap: pretty;
}

/* Interactive CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;

  margin: 0;
}

/* Primary Button: Dark #0a0f0d, Ultra-thin Border, Pure White Text */
.btn-hero-glass {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 0.85rem;

  padding: 1rem 2.25rem;

  border-radius: 9999px;
  background: #0a0f0d;

  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);

  transition:
    transform var(--transition-smooth),
    border-color var(--transition-smooth),
    box-shadow var(--transition-smooth),
    background-color var(--transition-smooth);
}

.btn-hero-glass .btn-text {
  color: #ffffff;
}

.btn-hero-glass .btn-arrow {
  display: flex;
  align-items: center;

  color: rgba(255, 255, 255, 0.85);

  transition:
    transform var(--transition-smooth),
    color var(--transition-smooth);
}

.btn-hero-glass:hover {
  transform: translateY(-2px);

  border-color: rgba(255, 255, 255, 0.4);
  background: #111814;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 255, 102, 0.12),
    inset 0 0 20px rgba(0, 255, 102, 0.2);
}

.btn-hero-glass:hover .btn-arrow {
  transform: translateX(4px);

  color: #00ff66;
}

/* Secondary Button: Ultra-minimalist, No Background, Pure Hover Opacity */
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;

  padding: 0.75rem 1rem;

  background: transparent;
  border: none;

  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;

  opacity: 0.7;

  transition:
    opacity var(--transition-smooth),
    transform var(--transition-smooth);
}

.btn-hero-secondary .btn-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;

  color: #ffffff;

  transition:
    border-color var(--transition-smooth),
    transform var(--transition-smooth);
}

.btn-hero-secondary:hover {
  opacity: 1;

  transform: translateY(-1px);
}

.btn-hero-secondary:hover .btn-play-icon {
  border-color: rgba(255, 255, 255, 0.6);

  transform: scale(1.08);
}

/* Metrics Strip */
.hero-metrics-strip {
  display: flex;
  align-items: center;
  gap: 2rem;

  padding-top: 1.5rem;

  border-top: 1px solid var(--border-subtle);

  max-width: 620px;
  margin: 0;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 32px;

  background: var(--border-subtle);
}

/* ==========================================================================
   HERO VISUAL UPGRADE: GRID MATRIX, PARTICLES, ORBITS & REFRACTIVE GLASS
   ========================================================================== */

/* Step 1: Architectural Grid Matrix (100x100px moving grid) */
.hero-grid-matrix {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  background-size: 100px 100px;
  background-image:
    linear-gradient(to right, rgba(0, 255, 102, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 255, 102, 0.05) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;

  animation: heroGridDrift 35s linear infinite;

  mask-image: radial-gradient(ellipse 95% 85% at 50% 50%, black 35%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 50%, black 35%, transparent 95%);
}

@keyframes heroGridDrift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 100px;
  }
}

/* Step 1: Particles Overlay Canvas (Sparks / Dust rising in industrial beam) */
.particles-overlay {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Local isolation keeps the requested negative canvas layer above the hero background. */
.hero-scene {
  position: absolute;
  inset: 8% 0 3% auto;

  width: 52%;

  z-index: 1;
  isolation: isolate;
  pointer-events: none;
}

#hero-3d {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: -1;

  display: block;
}

.hero-scene-fallback {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 49%;
  max-height: 65%;

  transform: translate(-50%, -50%);

  opacity: 0.75;
  filter: drop-shadow(0 0 28px rgba(0, 255, 102, 0.25));
}

.hero-scene[data-state="ready"] .hero-scene-fallback {
  display: none;
}

.hero-scene[data-state="fallback"] #hero-3d {
  visibility: hidden;
}

/* Keep the pitch separate from the orbital silhouette at desktop widths. */
.hero-content {
  max-width: min(51%, 760px);
}

.hero-title {
  font-size: clamp(2.8rem, 4.6vw, 5.6rem);
}

@media (max-width: 820px) {
  .hero-section {
    justify-content: flex-start;
  }

  .hero-section .hero-content {
    max-width: 100%;
  }

  .hero-scene {
    position: relative;
    inset: auto;

    order: 2;

    width: 100%;
    height: clamp(320px, 100vw, 480px);

    flex-shrink: 0;

    margin: 1rem auto 0;
  }

  .hero-section .scroll-ignite-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero-3d,
  .hero-scene {
    transition: none;
  }
}

/* ==========================================================================
   SCROLL IGNITION CUE (Task 3: Crisp, Floating Pulse & High Contrast)
   ========================================================================== */

.scroll-ignite-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;

  z-index: 10;

  opacity: 1;
  cursor: pointer;
  animation: cueFloatingBounce 2.4s ease-in-out infinite;
  transition:
    opacity var(--transition-smooth),
    transform var(--transition-smooth);
}

@keyframes cueFloatingBounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

body.lit-state .scroll-ignite-cue {
  opacity: 0.88; /* Stays crystal clear after ignition */
}

.scroll-ignite-cue:hover {
  opacity: 1;
}

.cue-mouse-icon {
  width: 22px;
  height: 34px;

  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);

  display: flex;
  justify-content: center;

  padding-top: 6px;

  box-shadow: 0 0 14px rgba(0, 255, 102, 0.22);

  transition:
    border-color var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.scroll-ignite-cue:hover .cue-mouse-icon {
  border-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.5);
}

.cue-wheel {
  width: 3px;
  height: 7px;

  background-color: var(--neon-green);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--neon-green);

  animation: wheelBounce 1.8s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

.cue-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);

  transition: color var(--transition-smooth);
}

.scroll-ignite-cue:hover .cue-text {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.6);
}

@keyframes wheelBounce {
  0% {
    transform: translateY(0);

    opacity: 1;
  }

  60% {
    transform: translateY(8px);

    opacity: 0;
  }

  100% {
    transform: translateY(0);

    opacity: 0;
  }
}

/* ==========================================================================
   ШАГ: СЕКЦИЯ RADOVI (Bento Box Asymmetric Grid)
   ========================================================================== */

/* ==========================================================================
   СЕКЦИЯ RADOVI (Awwwards Grade Horizontal Pinning Showcase & Custom Cursor)
   ========================================================================== */

.radovi-section {
  position: relative;

  width: 100%;

  background: var(--bg-base);

  overflow: hidden;

  border-top: 1px solid var(--border-subtle);

  z-index: 2;
}

/* Pinned Viewport Container (Fixed 100vh during scroll) */
.radovi-pin-wrap {
  position: relative;

  width: 100%;
  height: 100vh;
  min-height: 640px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(1.2rem, 2.5vh, 2.2rem) 0;
  overflow: hidden;
}

/* Pinned Header & Live Telemetry */
.radovi-pinned-header {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto clamp(1rem, 2vh, 1.8rem);
  padding: 0 var(--container-pad);

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-shrink: 0;

  z-index: 10;
}

.radovi-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.radovi-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--neon-green);
  text-transform: uppercase;
}

.radovi-title-pinned {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-pure);

  margin: 0;
}

.radovi-header-telemetry {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.radovi-counter {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  color: var(--neon-green);
  font-weight: 600;
}

.radovi-progress-bar {
  width: 140px;
  height: 3px;

  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;

  overflow: hidden;

  position: relative;
}

.radovi-progress-fill {
  width: 100%;
  height: 100%;

  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  border-radius: 9999px;

  transform: scaleX(0.05);
  transform-origin: left;
  will-change: transform;
}

/* Horizontal Track Window */
.radovi-track-window {
  position: relative;

  width: 100%;
  overflow: visible;

  flex: 1;
  display: flex;
  align-items: center;
}

.radovi-track {
  display: flex;
  align-items: center;
  gap: 2rem;

  padding-left: clamp(2rem, 5vw, 4rem);
  padding-right: clamp(4rem, 8vw, 8rem);

  will-change: transform;
}

/* Compact Vertical Editorial Card (~30vw, max 400px, aspect-ratio: 3/4) */
.radovi-card {
  position: relative;

  flex-shrink: 0;

  width: clamp(280px, 30vw, 400px);
  aspect-ratio: 3 / 4;

  border-radius: 20px;

  overflow: hidden;

  background: #080d0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease,
    border-color 0.4s ease,
    box-shadow 0.5s ease;
  will-change: transform, opacity;
}

/* Card Media & Image */
.radovi-card-media {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  overflow: hidden;

  background: #000;
}

.radovi-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  filter: brightness(0.88) contrast(1.04);

  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s ease;
  will-change: transform;
}

/* Ambient Bottom Scrim for Readability */
.radovi-card-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;

  background: linear-gradient(
    to top,
    rgba(3, 7, 5, 0.95) 0%,
    rgba(3, 7, 5, 0.68) 28%,
    rgba(3, 7, 5, 0.15) 55%,
    transparent 100%
  );
  pointer-events: none;
}

/* Floating Glass Arrow Pill ↗ */
.radovi-arrow-pill {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 4;

  width: 38px;
  height: 38px;

  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 14, 10, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;

  transform: scale(0.8) translate(-4px, 4px);
  transition:
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
  pointer-events: none;
}

/* Bottom Minimalist Editorial Info */
.radovi-card-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;

  padding: clamp(1.25rem, 2.4vw, 1.75rem);

  display: flex;
  flex-direction: column;
  gap: 0.45rem;

  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.radovi-card-cat {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--neon-green);
  text-transform: uppercase;
  font-weight: 500;
}

.radovi-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.55vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;

  margin: 0;
}

/* Hover Physics & Sibling Dimming Focus */
.radovi-track:has(.radovi-card:hover) .radovi-card:not(:hover) {
  opacity: 0.4;

  transform: scale(0.98);
}

.radovi-track:hover .radovi-card:not(:hover) {
  opacity: 0.4;
}

.radovi-track .radovi-card:hover {
  opacity: 1 !important;

  transform: scale(1.02);

  border-color: rgba(0, 255, 102, 0.4);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(0, 255, 102, 0.14);
}

.radovi-card:hover .radovi-card-img {
  transform: scale(1.05);

  filter: brightness(1) contrast(1.02);
}

.radovi-card:hover .radovi-card-bottom {
  transform: translateY(-8px);
}

.radovi-card:hover .radovi-arrow-pill {
  opacity: 1;

  transform: scale(1) translate(0, 0);

  border-color: var(--neon-green);

  color: var(--neon-green);

  box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}

/* Responsive Scaling */
@media (max-width: 1024px) {
  .radovi-card {
    width: clamp(260px, 38vw, 360px);
  }
}

@media (max-width: 768px) {
  .radovi-pinned-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .radovi-card {
    width: clamp(250px, 68vw, 320px);

    border-radius: 16px;
  }

  .radovi-card-title {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   СЕКЦИЯ TEHNOLOGIJA (Automated Synchronous Cinema Slider)
   ========================================================================== */

.tehnologija-section {
  position: relative;

  width: 100%;
  padding: clamp(5rem, 12vh, 8.5rem) 0;

  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);

  overflow: hidden;

  z-index: 2;
}

.tehnologija-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);

  display: grid;
  grid-template-columns: 0.44fr 0.56fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* Left Column: Pure Minimalist Slide Deck */
.tehnologija-col-content {
  width: 100%;

  position: relative;
}

.tech-minimal-card {
  background: rgba(10, 16, 12, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;

  padding: clamp(2.5rem, 4vw, 3.5rem);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: clamp(340px, 42vh, 420px);

  position: relative;

  overflow: hidden;
}

/* Slide Window */
.tech-narrative-window {
  position: relative;

  width: 100%;

  flex: 1;
}

.tech-slide {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;

  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  will-change: opacity, transform;
}

.tech-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tech-slide-eyebrow {
  display: inline-block;

  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--neon-green);
  text-transform: uppercase;
  font-weight: 700;
}

.tech-slide-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;

  margin: 0;
}

.tech-slide-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);

  margin: 0;
}

/* Bottom Elegant Progress Bar (2px height) */
.tech-progress-track {
  width: 100%;
  height: 2px;

  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;

  overflow: hidden;
  margin-top: 2rem;

  position: relative;
}

.tech-progress-bar {
  width: 0%;
  height: 100%;

  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  border-radius: 2px;

  will-change: width;
}

/* Right Column: Single Cinema Viewport */
.tehnologija-col-cinema {
  width: 100%;

  position: relative;
}

.tech-cinema-viewport {
  position: relative;

  width: 100%;
  height: clamp(480px, 62vh, 660px);

  border-radius: 20px;

  overflow: hidden;

  background: #030604;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.85);
}

.tech-photo-layer {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  pointer-events: none;
  overflow: hidden;

  will-change: opacity;
}

.tech-photo-layer.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.tech-master-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  filter: brightness(0.9) contrast(1.08);

  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
}

/* Soft Edge Radial Vignette (Melts photo borders smoothly into deep dark background) */
.cinematic-vignette-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;

  background: radial-gradient(
    ellipse at center,
    transparent 35%,
    rgba(3, 6, 4, 0.55) 70%,
    rgba(3, 6, 4, 0.98) 100%
  );
  box-shadow: inset 0 0 90px 30px #030604;
}

/* Tactile Film Grain Noise Overlay */
.cinematic-grain-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;

  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Responsive Layout */
@media (max-width: 992px) {
  .tehnologija-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .tehnologija-col-cinema {
    order: 1;
  }

  .tech-cinema-viewport {
    height: 400px;
  }

  .tech-minimal-card {
    min-height: 280px;
  }
}

/* ==========================================================================
   СЕКЦИЯ O NAMA (Editorial Magazine Layout: History & Craft)
   ========================================================================== */

.editorial-about-section {
  position: relative;

  padding: clamp(5rem, 12vh, 8.5rem) 0;

  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);

  z-index: 2;

  overflow: hidden;
}

/* Infinite Outline Marquee Band (Softened Speed & Colors) */
.team-marquee-track {
  width: 100%;
  overflow: hidden;

  white-space: nowrap;

  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);

  display: flex;

  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  user-select: none;
}

.team-marquee-inner {
  display: flex;

  width: max-content;

  animation: marqueeScroll 65s linear infinite;
  will-change: transform;
}

.team-marquee-track:hover .team-marquee-inner {
  animation-play-state: paused;
}

.marquee-text {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #ffffff;

  -webkit-text-stroke: 1px rgba(0, 255, 102, 0.28);

  text-shadow: 0 0 18px rgba(0, 255, 102, 0.12);

  padding-right: 0.5rem;
}

.marquee-bullet {
  color: var(--neon-green);

  -webkit-text-stroke: 0;

  text-shadow: 0 0 10px var(--neon-green);

  margin: 0 0.55rem;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Editorial Container & Header */
.editorial-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.editorial-header {
  max-width: 820px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.editorial-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;

  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--neon-green);

  margin-bottom: 0.75rem;
}

.editorial-tag-pip {
  width: 6px;
  height: 6px;

  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-pure);
}

/* Compact Bento Grid (12 Columns, Max Height Restrained) */
.bento-about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.bento-card-story {
  grid-column: span 7;
}

.bento-photo-workshop {
  grid-column: span 5;
}

.bento-photo-terminal {
  grid-column: span 5;
}

.bento-card-passport {
  grid-column: span 7;
}

/* Bento Card Base Styling */
.bento-card {
  position: relative;

  background: rgba(10, 16, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;

  padding: clamp(1.85rem, 3vw, 2.4rem);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);

  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.bento-card:hover {
  border-color: rgba(0, 255, 102, 0.3);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 255, 102, 0.06);
}

/* Giant Subtle Watermark */
.bento-watermark {
  position: absolute;
  right: -5%;
  bottom: -5%;

  font-family: var(--font-display);
  font-size: clamp(8rem, 14vw, 15rem);
  font-weight: 900;
  line-height: 0.75;
  color: #ffffff;

  opacity: 0.032;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  letter-spacing: -0.04em;

  transition: opacity 0.5s ease;
}

.bento-card:hover .bento-watermark {
  opacity: 0.055;
}

.bento-content {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;

  height: 100%;
}

.bento-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--neon-green);

  margin-bottom: 0.85rem;
}

.bento-meta-tag .meta-dot {
  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
}

.bento-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;

  margin-bottom: 0.85rem;
}

.bento-lead-p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);

  margin-bottom: 1.5rem;
}

/* Bottom Stats Badges in Card 1 */
.bento-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;

  margin-top: auto;
}

.bento-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  padding: 0.4rem 0.85rem;

  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.pill-dot {
  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
}

.pill-val {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.pill-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

/* Passport Specs Table in Card 2 */
.passport-specs-table {
  display: flex;
  flex-direction: column;

  margin-top: auto;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.passport-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  padding: 0.65rem 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.passport-row:last-child {
  border-bottom: none;

  padding-bottom: 0;
}

.passport-cell-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.passport-icon {
  color: var(--neon-green);
}

.cell-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  font-weight: 600;
}

.cell-value {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: right;
  line-height: 1.4;
}

/* Photos in Bento Grid */
.bento-photo-wrap {
  position: relative;

  border-radius: 16px;

  overflow: hidden;

  background: #060a08;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);

  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.bento-photo-wrap:hover {
  border-color: rgba(0, 255, 102, 0.3);
  box-shadow:
    0 25px 55px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 255, 102, 0.08);
}

.bento-photo-workshop {
  aspect-ratio: 4 / 3.8;
}

.bento-photo-terminal {
  aspect-ratio: 4 / 3.5;
}

.bento-img-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  filter: grayscale(100%) contrast(1.15) brightness(0.85);

  transform: scale(1);
  transition:
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, transform;
}

.bento-photo-wrap:hover .bento-img {
  filter: grayscale(0%) contrast(1) brightness(1);

  transform: scale(1.04);
}

.bento-glass-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 3;

  display: flex;
  align-items: center;
  gap: 0.65rem;

  padding: 0.65rem 1rem;

  border-radius: 8px;
  background: rgba(8, 14, 11, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.bento-photo-wrap:hover .bento-glass-caption {
  border-color: rgba(0, 255, 102, 0.35);
}

.caption-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);

  flex-shrink: 0;
}

.caption-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.caption-main {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.caption-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: rgba(0, 255, 102, 0.9);
}

/* Responsive */
@media (max-width: 992px) {
  .bento-card-story,
  .bento-photo-workshop,
  .bento-photo-terminal,
  .bento-card-passport {
    grid-column: span 12;
  }

  .bento-photo-workshop,
  .bento-photo-terminal {
    aspect-ratio: 16 / 9;
  }

  .passport-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .cell-value {
    text-align: left;
  }
}

/* ==========================================================================
   СЕКЦИЯ КЛИЕНТОВ: <section id="klijenti"> (3-Row Infinite Marquee & Sibling Spotlight)
   ========================================================================== */

/* Client showroom styles are owned by clients-showroom.css. */

/* ==========================================================================
   СЕКЦИЯ КОНТАКТОВ: NEON INDUSTRIAL TERMINAL (<footer id="kontakt">)
   ========================================================================== */

.terminal-footer {
  position: relative;

  background-color: #0b0f0d;
  background-image: radial-gradient(
    circle 900px at 0% 100%,
    rgba(0, 255, 102, 0.07) 0%,
    rgba(180, 255, 220, 0.02) 40%,
    transparent 70%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.06);

  padding: clamp(6.5rem, 12vh, 10.5rem) var(--container-pad) 3.5rem;
  overflow: hidden;

  z-index: 10;
}

/* Ambient Corner Projector Light Source */
.terminal-spotlight {
  position: absolute;
  bottom: -220px;
  left: -220px;

  width: 800px;
  height: 800px;

  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 255, 102, 0.12) 0%,
    rgba(0, 255, 102, 0.03) 45%,
    transparent 75%
  );
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.terminal-volumetric-canvas {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;

  opacity: 0.65;
}

.terminal-container {
  position: relative;

  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;

  z-index: 2;
}

/* Industrial Terminal HUD Status Bar */
.terminal-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 2rem;
  margin-bottom: clamp(3.5rem, 5vw, 5rem);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.hud-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hud-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}

.hud-pulse-pip {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 12px var(--neon-green);

  animation: pulseNeonDiode 1.6s infinite ease-in-out;
}

@keyframes pulseNeonDiode {
  0%,
  100% {
    opacity: 1;

    transform: scale(1);
  }

  50% {
    opacity: 0.35;

    transform: scale(0.8);
  }
}

/* Terminal Grid: Left Monumental Pitch (40%) / Right Interactive Form (60%) */
.terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  gap: clamp(3.5rem, 7vw, 7rem);
  align-items: start;

  margin-bottom: clamp(5.5rem, 9vw, 8rem);
}

/* Left Column: Monumental Editorial Content */
.terminal-info-col {
  position: relative;

  display: flex;
  flex-direction: column;
}

.terminal-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;

  margin-bottom: 1.5rem;
}

.terminal-badge-pip {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}

.terminal-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--neon-green);
  text-transform: uppercase;
  font-weight: 600;
}

.terminal-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;

  margin-bottom: 1.25rem;

  text-shadow: 0 0 30px rgba(0, 255, 102, 0.22);
}

.terminal-volumetric-beam-line {
  position: relative;

  width: 100%;
  max-width: 420px;
  height: 1px;

  background: linear-gradient(
    90deg,
    var(--neon-green) 0%,
    rgba(0, 255, 102, 0.45) 60%,
    transparent 100%
  );
  box-shadow:
    0 0 16px var(--neon-green),
    0 0 35px rgba(0, 255, 102, 0.4);

  margin-bottom: 2.2rem;
}

.terminal-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.35vw, 1.22rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);

  margin-bottom: 3.2rem;
  max-width: 540px;
}

/* Structured Contact Channels */
.terminal-contacts-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  padding-top: 2.25rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  text-decoration: none;

  transition: transform 0.35s var(--ease-smooth);
}

.contact-item:hover {
  transform: translateX(6px);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.contact-value {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.85vw, 1.65rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.3;

  transition: color 0.3s ease;
}

.contact-item:hover .contact-value {
  color: var(--neon-green);
}

/* Right Column: Premium Interactive Form */
.terminal-form-col {
  position: relative;

  width: 100%;
}

.terminal-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.terminal-field {
  position: relative;

  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.terminal-floating-label {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;

  transition: color 0.35s ease;
}

.terminal-field:focus-within .terminal-floating-label {
  color: var(--neon-green);
}

/* Thin Glass Line Underline Input (Zero Boxes) */
.terminal-line-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  outline: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 500;

  padding: 0.75rem 0 0.95rem;
  width: 100%;

  border-radius: 0;
  -webkit-appearance: none;

  transition:
    border-color 0.4s var(--ease-smooth),
    color 0.4s var(--ease-smooth),
    text-shadow 0.4s var(--ease-smooth);
}

.terminal-line-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
  font-size: 1.1rem;
  font-weight: 400;
}

.terminal-line-textarea {
  resize: vertical;
  min-height: 80px;

  line-height: 1.55;
}

.terminal-line-input:focus {
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(0, 255, 102, 0.5),
    0 0 1px #ffffff;
}

/* Focus Neon Glowing Line */
.field-neon-glow-line {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 0%;
  height: 2px;

  background: var(--neon-green);
  box-shadow:
    0 0 16px var(--neon-green),
    0 2px 20px rgba(0, 255, 102, 0.8);

  transition: width 0.45s var(--ease-smooth);

  z-index: 2;
  pointer-events: none;
}

.terminal-field:focus-within .field-neon-glow-line {
  width: 100%;
}

/* Super-Feature: Glass Pill Selector Buttons */
.terminal-pills-field {
  gap: 1rem;
}

.project-pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;

  padding-top: 0.35rem;
}

.project-pill {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 0.75rem;

  padding: 0.9rem 1.65rem;

  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);

  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.35s var(--ease-smooth);
  user-select: none;
  outline: none;
}

.pill-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);

  transition: all 0.3s ease;
}

.project-pill:hover {
  border-color: rgba(0, 255, 102, 0.55);

  color: #ffffff;

  background: rgba(255, 255, 255, 0.08);

  transform: translateY(-1px);
}

.project-pill.is-active {
  background: rgba(0, 255, 102, 0.14);
  border-color: var(--neon-green);

  color: #ffffff;

  box-shadow:
    0 0 22px rgba(0, 255, 102, 0.32),
    inset 0 0 12px rgba(0, 255, 102, 0.1);

  font-weight: 600;
}

.project-pill.is-active .pill-dot {
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}

/* Submit Row with Magnetic Button Physics */
.form-submit-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;

  padding-top: 1.25rem;
}

.btn-terminal-submit {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;

  padding: 1.35rem 3.25rem;

  border-radius: 9999px;
  background: rgba(18, 25, 21, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 102, 0.55);

  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.65),
    0 0 32px rgba(0, 255, 102, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);

  overflow: hidden;

  will-change: transform;
  transition:
    border-color var(--transition-smooth),
    box-shadow var(--transition-smooth),
    background-color var(--transition-smooth);
}

.btn-terminal-submit:hover {
  border-color: var(--neon-green);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(0, 255, 102, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  background: rgba(22, 36, 28, 0.98);
}

.btn-submit-text {
  position: relative;
  z-index: 2;
}

.btn-submit-arrow {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;

  color: var(--neon-green);

  transition: transform var(--transition-smooth);
}

.btn-terminal-submit:hover .btn-submit-arrow {
  transform: translateX(5px);
}

.terminal-security-note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.terminal-msg-feedback {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;

  min-height: 1.2rem;

  color: var(--neon-green);
}

/* Sub-Footer */
.terminal-subfooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;

  padding-top: 2.75rem;

  border-top: 1px solid rgba(255, 255, 255, 0.06);

  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.subfooter-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.subfooter-nav a {
  color: var(--text-secondary);
  text-decoration: none;

  transition: color var(--transition-smooth);
}

.subfooter-nav a:hover {
  color: var(--neon-green);
}

.subfooter-meta {
  color: var(--neon-green);
}

@media (max-width: 980px) {
  .terminal-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 600px) {
  .terminal-hud-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;

    font-size: 0.8rem;
  }

  .terminal-hud-bar .hud-item-right {
    width: 100%;

    justify-content: space-between;
  }

  .btn-terminal-submit {
    width: 100%;
    padding: 1.25rem 1.85rem;

    font-size: 1.15rem;
  }

  .project-pill {
    padding: 0.75rem 1.25rem;

    font-size: 0.96rem;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;

    padding-top: 1rem;
  }

  .hero-col-content {
    max-width: 760px;
    margin: 0 auto;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-metrics-strip {
    justify-content: center;
  }

  .sculpture-card {
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .header-nav,
  .header-status {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.4rem);
  }

  .hero-metrics-strip {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .metric-divider {
    display: none;
  }
}

/* Skip link: hidden until focused with the keyboard */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;

  padding: 10px 18px;

  border: 1px solid var(--neon-green-border);
  border-radius: 999px;
  background: var(--bg-surface-elevated);

  color: var(--text-pure);
  font: 500 14px/1.2 var(--font-body);
  text-decoration: none;

  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 3px;

  transform: none;
}

#appMain:focus {
  outline: none;
}
