/* DynoNode Flagship 2026 Native Motion & View Transitions Layer
 * Zero-JS off-main-thread animations, 100% WCAG prefers-reduced-motion safe.
 */
@view-transition {
  navigation: auto;
}

.num, .tabular {
  font-variant-numeric: tabular-nums lining-nums;
}

/* Smooth focus rings for EAA / WCAG 2.1 AA+ */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 2000;
  padding: 10px 16px;
  background: #0a0a0c;
  color: #ffffff;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
}

/* Native CSS Scroll-Driven Reveal (compositor thread 60fps) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: dnReveal linear both;
      animation-timeline: view();
      animation-range: entry 4% cover 24%;
    }
    @keyframes dnReveal {
      from {
        opacity: 0.01;
        transform: translateY(18px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}

/* Pause / play pill for ambient hero videos (WCAG 2.2.2) */
.dn-vid-toggle {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 6;
  background: rgba(15, 15, 18, 0.72);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.18s ease;
}
.dn-vid-toggle:hover {
  background: rgba(15, 15, 18, 0.92);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Compact Vertical Rhythm (Zero Dead Whitespace Around Dividers — All 40 Pages) */
main > section,
section.sec,
section.section,
section.page-hero,
section.sub-hero {
  padding-top: clamp(22px, 2.6vw, 36px) !important;
  padding-bottom: clamp(24px, 2.8vw, 40px) !important;
}
footer {
  padding-top: 34px !important;
  padding-bottom: 22px !important;
}

/* Guaranteed Horizontal Side Breathing Room Across All Viewports (All 40 Pages) */
.wrap,
.container,
.kv-wrap,
.kv-container,
.nav-inner,
.header-inner,
.inner,
.shell {
  padding-left: clamp(20px, 3.2vw, 36px) !important;
  padding-right: clamp(20px, 3.2vw, 36px) !important;
  box-sizing: border-box !important;
}

/* Compact header logo + zero overlap / zero double-menu across all viewports */
header .brand,
header .kv-brand,
header a.logo {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  min-width: auto !important;
  max-width: none !important;
}
header .brand svg,
header .kv-brand svg {
  width: 30px !important;
  height: 30px !important;
  flex-shrink: 0 !important;
}
@media (max-width: 1160px) {
  header .brand small,
  header .brand-sub,
  header .kv-brand-sub,
  header .logo-sub {
    display: none !important;
  }
  header nav,
  header .nav-links,
  header .kv-nav-links,
  header .nav-menu {
    display: none !important;
  }
  header .menu-btn,
  header .kv-burger,
  header .burger,
  header button[aria-controls*="Drawer"],
  header button[aria-controls*="drawer"],
  header button[aria-controls*="Menu"],
  header button[aria-controls*="menu"] {
    display: inline-flex !important;
    flex-shrink: 0 !important;
  }
  header .btn,
  header .nav-cta,
  header .kv-btn,
  header .cta-btn {
    padding-left: 14px !important;
    padding-right: 14px !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}


