/* VANTAGE POINT — premium motion + visual layer (injected) */

html.vp-intro-lock,
html.vp-intro-lock body {
  overflow: hidden !important;
}

#vp-intro {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  pointer-events: none;
  opacity: 1;
}

#vp-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, .07), transparent 24%),
    radial-gradient(50% 38% at 50% 100%, rgba(42, 72, 130, .14), transparent 70%);
  opacity: 0;
  animation: vpIntroGlow 2s ease-out .25s both;
}

#vp-intro::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 66vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
  opacity: 0;
  transform: translate(-50%, 64px) scaleX(.08);
  filter: blur(.4px);
}

.vp-intro-metal {
  position: absolute;
  inset: -12%;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  animation: vpMetalIn 1.2s ease-out .18s both;
}

.vp-metal {
  position: absolute;
  display: block;
  width: clamp(260px, 34vw, 560px);
  height: auto;
  object-fit: contain;
  opacity: .18;
  filter:
    grayscale(1)
    contrast(1.55)
    brightness(1.55)
    saturate(.4)
    drop-shadow(0 0 34px rgba(150, 180, 240, .18));
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.vp-metal::selection {
  background: transparent;
}

.vp-metal-one {
  top: -8%;
  right: -7%;
  transform: rotate(19deg) scale(1.08);
  opacity: .3;
  animation: vpMetalOne 8s ease-in-out infinite alternate;
}

.vp-metal-two {
  left: -9%;
  bottom: -18%;
  transform: rotate(-18deg) scale(1.2);
  opacity: .22;
  animation: vpMetalTwo 9s ease-in-out infinite alternate;
}

.vp-metal-three {
  width: clamp(180px, 24vw, 360px);
  left: 52%;
  top: 4%;
  transform: translateX(-50%) rotate(4deg) scale(.9);
  opacity: .12;
  animation: vpMetalThree 10s ease-in-out infinite alternate;
}

.vp-intro-metal::before,
.vp-intro-metal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vp-intro-metal::before {
  background:
    linear-gradient(108deg, transparent 22%, rgba(255, 255, 255, .26) 38%, transparent 52%),
    linear-gradient(18deg, transparent 46%, rgba(86, 130, 220, .18), transparent 64%);
  mix-blend-mode: screen;
  opacity: .55;
  transform: translateX(-36%);
  animation: vpMetalSheen 3.8s cubic-bezier(.2, .7, .2, 1) .45s both;
}

.vp-intro-metal::after {
  background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 38%, rgba(0, 0, 0, .72) 78%);
}

.vp-intro-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .2;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 .42'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.68'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: vpGrainShift 1.1s steps(3, end) infinite;
}

.vp-intro-lockup {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  color: #fff;
  font-family: "Inter Tight", "Inter Tight Placeholder", "Inter", sans-serif;
  font-size: clamp(30px, 5.4vw, 70px);
  font-weight: 600;
  line-height: .92;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  opacity: 1;
  will-change: transform, filter;
  transform: translateY(8px) scale(.98);
  filter: blur(14px);
  transition: transform .72s cubic-bezier(.2, .75, .2, 1), filter .72s cubic-bezier(.2, .75, .2, 1);
}

.vp-intro-word {
  min-width: 0;
  color: rgba(255, 255, 255, .94);
  text-shadow: 0 0 34px rgba(255, 255, 255, .12);
  opacity: 0;
  filter: blur(12px);
  transition:
    opacity .68s cubic-bezier(.2, .75, .2, 1),
    transform .82s cubic-bezier(.2, .75, .2, 1),
    filter .68s cubic-bezier(.2, .75, .2, 1);
}

.vp-intro-left {
  transform: translateX(-34px);
}

.vp-intro-right {
  color: rgba(255, 255, 255, .52);
  transform: translateX(34px);
}

.vp-intro-emblem {
  position: relative;
  display: block;
  width: clamp(34px, 4.8vw, 62px);
  aspect-ratio: 543 / 459;
  opacity: 0;
  filter: blur(18px) brightness(1.35);
  transform: translateY(-96px) scale(.54) rotate(-20deg);
  will-change: opacity, transform, filter;
  transition:
    opacity .72s cubic-bezier(.16, .9, .22, 1),
    transform .86s cubic-bezier(.16, .9, .22, 1),
    filter .72s cubic-bezier(.16, .9, .22, 1);
}

.vp-intro-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#vp-intro.vp-intro-focus .vp-intro-lockup {
  transform: none;
  filter: blur(0);
}

#vp-intro.vp-intro-focus .vp-intro-word {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

#vp-intro.vp-intro-focus .vp-intro-emblem {
  opacity: .98;
  filter: blur(0) brightness(1.35) drop-shadow(0 0 18px rgba(255, 255, 255, .2));
  transform: none;
}

#vp-intro.vp-intro-seal::after {
  animation: vpIntroSeal .9s cubic-bezier(.2, .7, .2, 1) both;
}

#vp-intro.vp-intro-seal .vp-intro-emblem {
  filter: blur(0) brightness(1.55) drop-shadow(0 0 24px rgba(255, 255, 255, .3));
}

@media (max-width: 560px) {
  .vp-intro-lockup {
    flex-direction: column;
    gap: 8px;
    font-size: clamp(38px, 13vw, 56px);
  }

  .vp-intro-emblem {
    order: -1;
    width: 44px;
  }

  .vp-intro-left,
  .vp-intro-right {
    transform: translateY(18px);
  }
}

#vp-intro.vp-intro-open {
  opacity: 0;
  transform: scale(1.025);
  filter: blur(10px);
  transition:
    opacity .7s cubic-bezier(.7, 0, .2, 1),
    transform .7s cubic-bezier(.7, 0, .2, 1),
    filter .7s cubic-bezier(.7, 0, .2, 1);
}

#vp-intro.vp-intro-done {
  opacity: 0;
}

@keyframes vpIntroGlow {
  0% { opacity: 0; transform: scale(.92); }
  45% { opacity: 1; }
  100% { opacity: .36; transform: scale(1.08); }
}

@keyframes vpIntroSeal {
  0% { opacity: 0; transform: translate(-50%, 64px) scaleX(.08); }
  32% { opacity: .75; }
  100% { opacity: 0; transform: translate(-50%, 64px) scaleX(1); }
}

@keyframes vpMetalIn {
  0% { opacity: 0; filter: blur(14px); }
  100% { opacity: 1; filter: blur(0); }
}

@keyframes vpMetalOne {
  0% { transform: rotate(19deg) translate3d(0, 0, 0) scale(1.08); }
  100% { transform: rotate(16deg) translate3d(-2.5vw, 1.5vh, 0) scale(1.14); }
}

@keyframes vpMetalTwo {
  0% { transform: rotate(-18deg) translate3d(0, 0, 0) scale(1.2); }
  100% { transform: rotate(-14deg) translate3d(2vw, -1vh, 0) scale(1.27); }
}

@keyframes vpMetalThree {
  0% { transform: translateX(-50%) rotate(4deg) translateY(0) scale(.9); }
  100% { transform: translateX(-50%) rotate(8deg) translateY(1.4vh) scale(.98); }
}

@keyframes vpMetalSheen {
  0% { opacity: 0; transform: translateX(-38%); }
  28% { opacity: .62; }
  100% { opacity: 0; transform: translateX(42%); }
}

@keyframes vpGrainShift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-1.5%, 1%, 0); }
  100% { transform: translate3d(1%, -.75%, 0); }
}

/* scroll reveal */
.vp-reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s cubic-bezier(.2,.65,.2,1), transform .85s cubic-bezier(.2,.65,.2,1); will-change: opacity, transform; }
.vp-reveal.vp-in { opacity: 1; transform: none; }

/* animated aurora glow over the hero (mix-blend screen only lightens — text stays crisp) */
#vp-aurora { position: fixed; top: -10vh; left: 50%; transform: translateX(-50%); width: 130vw; height: 110vh; pointer-events: none; z-index: 30; mix-blend-mode: screen; opacity: 1; filter: blur(8px);
  background:
    radial-gradient(38% 30% at 32% 30%, rgba(70,120,255,.30), transparent 70%),
    radial-gradient(34% 28% at 70% 26%, rgba(150,190,255,.22), transparent 72%),
    radial-gradient(46% 34% at 50% 8%, rgba(120,150,230,.20), transparent 70%);
  animation: vpDrift 16s ease-in-out infinite alternate; }
@keyframes vpDrift {
  0%   { transform: translateX(-52%) translateY(0) scale(1); }
  100% { transform: translateX(-48%) translateY(2.5vh) scale(1.08); }
}

/* shimmer sheen sweeping across gradient headings */
.vp-shimmer { position: relative; }
.vp-shimmer::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.55) 50%, transparent 62%);
  background-size: 220% 100%; -webkit-mask: linear-gradient(#000,#000); animation: vpSheen 6.5s ease-in-out 1.2s infinite; }
@keyframes vpSheen { 0% { background-position: 160% 0; } 45%,100% { background-position: -60% 0; } }

/* cinematic full-bleed "vantage" band */
#vp-band { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; min-height: 460px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: #000; font-family: "Inter Tight","Inter Tight Placeholder",sans-serif; }
#vp-band .bg { position: absolute; inset: 0; background-size: cover; background-position: 50% 42%; transform: scale(1.04); animation: vpKen 22s ease-in-out infinite alternate; }
@keyframes vpKen { 0% { transform: scale(1.04) translateY(0); } 100% { transform: scale(1.14) translateY(-2%); } }
#vp-band .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.86), rgba(0,0,0,.5) 45%, rgba(0,0,0,.92)); }
#vp-band .inner { position: relative; z-index: 2; max-width: 880px; padding: 96px 24px; }
#vp-band .ey { font-size: 13px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 20px; }
#vp-band h2 { font-size: clamp(30px, 5vw, 58px); line-height: 1.04; letter-spacing: -.03em; font-weight: 600; color: #fff; margin: 0 0 18px; text-shadow: 0 2px 40px rgba(0,0,0,.6); }
#vp-band p { font-size: clamp(16px,1.6vw,19px); line-height: 1.55; color: rgba(255,255,255,.7); margin: 0 auto; max-width: 640px; }

/* card hover polish on the case-study image boxes */
[data-vpcs] { transition: transform .4s cubic-bezier(.2,.6,.2,1), box-shadow .4s ease; }
[data-vpcs]:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -30px rgba(80,120,220,.45); }
