/* Vantikai marketing site — shared styles */

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border-radius: 9999px;
  background: #fff;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 500;
  outline: none;
  box-shadow:
    0 20px 40px -10px rgba(15, 23, 42, 0.08),
    0 0 0 2px #2dd4bf;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .mesh-orb,
  .hero-photo,
  .hero-fade-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Hero photography */
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.55) 45%,
    rgba(15, 23, 42, 0.75) 100%
  );
  z-index: 1;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  animation: ken-burns 28s ease-in-out infinite alternate;
}
@keyframes ken-burns {
  0% {
    transform: scale(1.06) translate(0, 0);
  }
  100% {
    transform: scale(1.14) translate(-1.5%, 1%);
  }
}

.hero-fade-item {
  opacity: 0;
  animation: hero-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-fade-item--1 {
  animation-delay: 0.15s;
}
.hero-fade-item--2 {
  animation-delay: 0.38s;
}
.hero-fade-item--3 {
  animation-delay: 0.58s;
}
.hero-fade-item--4 {
  animation-delay: 0.78s;
}
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  will-change: transform;
  z-index: 2;
}
.mesh-orb--teal {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  background: radial-gradient(circle, rgba(45, 212, 191, 0.85) 0%, transparent 70%);
  top: -8%;
  right: -5%;
  animation: drift-a 18s ease-in-out infinite alternate;
}
.mesh-orb--red {
  width: min(45vw, 420px);
  height: min(45vw, 420px);
  background: radial-gradient(circle, rgba(200, 16, 46, 0.35) 0%, transparent 70%);
  bottom: 5%;
  left: -8%;
  animation: drift-b 22s ease-in-out infinite alternate;
}
.mesh-orb--slate {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  background: radial-gradient(circle, rgba(51, 65, 85, 0.75) 0%, transparent 70%);
  top: 35%;
  left: 25%;
  animation: drift-c 26s ease-in-out infinite alternate;
}
@keyframes drift-a {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-12%, 8%) scale(1.12);
  }
}
@keyframes drift-b {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(18%, -10%) scale(1.08);
  }
}
@keyframes drift-c {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-8%, 14%) scale(1.05);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}
.reveal-delay-5 {
  transition-delay: 0.4s;
}

.nav-scrolled {
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.logo-light {
  display: block;
}
.logo-dark {
  display: none;
}
.nav-scrolled .logo-light {
  display: none;
}
.nav-scrolled .logo-dark {
  display: block;
}
.nav-scrolled .nav-cta {
  border-color: #0f172a;
  background-color: #0f172a;
  color: #fff;
}
.nav-scrolled .nav-cta:hover {
  background-color: #1e293b;
}

.prose-legal h2 {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose-legal h2:first-child {
  margin-top: 0;
}
.prose-legal p,
.prose-legal li {
  color: #334155;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.prose-legal ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.prose-legal a {
  color: #0d9488;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-legal a:hover {
  color: #0f172a;
}
.prose-legal a:focus-visible {
  outline: 2px solid #2dd4bf;
  outline-offset: 2px;
  border-radius: 2px;
}
