/* ============================================================
   VEXA DETAILING — brand tokens
   ============================================================ */
:root{
  --black:       #07070a;
  --black-2:     #0d0f15;
  --black-3:     #14161e;
  --blue:        #0a3fc4;
  --blue-2:      #1450e6;
  --blue-light:  #4d84ff;
  --silver:      #cfd5e0;
  --silver-2:    #9aa2b3;
  --white:       #f3f5f9;
  --muted:       #8891a3;
  --line:        rgba(255,255,255,0.09);
  --radius:      16px;
  --radius-sm:   10px;
  --shadow-lg:   0 30px 60px -20px rgba(0,0,0,0.65);
  --shadow-blue: 0 20px 50px -15px rgba(20,80,230,0.45);
  --ease: cubic-bezier(.22,.68,.35,1);
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

body{
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; }

.container{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible{
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--blue-light);
}
.eyebrow::before{
  content: "";
  width: 26px;
  height: 2px;
  background: var(--blue-light);
  display: inline-block;
}

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--white);
}

.section-head{
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head h2{
  font-size: clamp(32px, 4.4vw, 46px);
  margin-top: 14px;
  line-height: 1.1;
}
.section-head p{
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  max-width: 52ch;
}
.section-head.center{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center p{ margin-left: auto; margin-right: auto; }

section{ position: relative; padding: 110px 0; }
@media (max-width: 720px){ section{ padding: 74px 0; } }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  min-height: 56px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 26px 60px -14px rgba(20,80,230,0.6); }
.btn-ghost{
  background: rgba(255,255,255,0.03);
  color: var(--white);
  border-color: rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover{ border-color: var(--blue-light); background: rgba(77,132,255,0.08); transform: translateY(-3px); }
.btn-block{ width: 100%; }
.btn svg{ width: 18px; height: 18px; flex: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled{
  padding: 12px 0;
  background: rgba(7,7,10,0.82);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav .container{ display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo{ display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); }
.logo .mark{
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff, var(--silver) 55%, #6d7488);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo .sub{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--blue-light);
}

.nav-links{ display: flex; align-items: center; gap: 36px; }
.nav-links a{
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver-2);
  transition: color .2s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover{ color: var(--white); }
.nav-links a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:2px; background: var(--blue-light);
  transition: right .25s var(--ease);
}
.nav-links a:hover::after{ right: 0; }

.nav-cta{ display: flex; align-items: center; gap: 14px; }
.nav-phone{
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.03em; color: var(--white);
}
.nav-phone svg{ width: 17px; height: 17px; color: var(--blue-light); flex: none; }
.nav .btn{ padding: 13px 22px; min-height: 44px; font-size: 13px; }

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width: 20px; height: 2px; background: var(--white); position: relative; transition: transform .25s, opacity .25s;
}
.nav-toggle span::before{ position: absolute; top: -6px; }
.nav-toggle span::after{ position: absolute; top: 6px; }

@media (max-width: 900px){
  .nav-links, .nav-phone{ display: none; }
  .nav-toggle{ display: flex; }
  body.nav-open .nav-links{
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: fixed; top: 68px; left: 16px; right: 16px;
    background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 22px; box-shadow: var(--shadow-lg);
  }
  body.nav-open .nav-links a{ padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  body.nav-open .nav-links a:last-child{ border-bottom: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(20,80,230,0.30), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(20,80,230,0.14), transparent 65%),
    linear-gradient(180deg, #08090d 0%, #07070a 60%, #050506 100%);
}

.hero-beams{ position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-beams span{
  position: absolute;
  width: 3px;
  height: 220%;
  top: -60%;
  background: linear-gradient(180deg, transparent, rgba(77,132,255,0.55), rgba(10,63,196,0.15), transparent);
  transform: rotate(-32deg);
  opacity: 0;
  animation: beamSweep 2.6s var(--ease) forwards;
}
.hero-beams span:nth-child(1){ left: 8%;  animation-delay: .15s; }
.hero-beams span:nth-child(2){ left: 16%; width: 6px; animation-delay: .3s; }
.hero-beams span:nth-child(3){ left: 82%; animation-delay: .5s; }
.hero-beams span:nth-child(4){ left: 91%; width: 5px; animation-delay: .65s; }
@keyframes beamSweep{
  0%{ opacity: 0; transform: rotate(-32deg) translateX(-30px); }
  35%{ opacity: 1; }
  100%{ opacity: .55; transform: rotate(-32deg) translateX(0); }
}

.hero-inner{ position: relative; z-index: 2; text-align: center; margin: 0 auto; }

.hero-mark{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.92;
  font-size: clamp(64px, 13vw, 168px);
  letter-spacing: 0.02em;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 10%, var(--silver) 45%, #6f7793 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn .9s var(--ease) forwards .2s;
}
.hero-mark::after{
  content:"";
  position: absolute; top:0; left:-60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.85), transparent);
  transform: skewX(-20deg);
  animation: chromeSweep 2.6s ease-in-out 1.1s 1;
}
@keyframes chromeSweep{
  0%{ left: -60%; }
  100%{ left: 130%; }
}

.hero-sub{
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-size: clamp(14px, 2vw, 20px);
  color: var(--blue-light);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn .9s var(--ease) forwards .45s;
}

.hero-tag{
  margin: 26px auto 0;
  max-width: 44ch;
  color: var(--silver-2);
  font-size: clamp(17px, 2vw, 20px);
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn .9s var(--ease) forwards .6s;
}

.hero-ctas{
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn .9s var(--ease) forwards .78s;
}

@keyframes riseIn{ to{ opacity: 1; transform: translateY(0); } }

.hero-scroll{
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
  animation: riseIn .8s var(--ease) forwards 1.2s;
}
.hero-scroll svg{ width: 20px; height: 20px; color: var(--blue-light); animation: bob 2s ease-in-out infinite; }
@keyframes bob{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(8px);} }

/* ---------- signature divider (reflection beam) ---------- */
.divider{
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.divider svg{ width: min(920px, 90%); height: 100%; overflow: visible; }
.divider path{
  fill: none;
  stroke: url(#beamGradient);
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.divider.in-view path{ stroke-dashoffset: 0; }

/* ============================================================
   REVEAL utility
   ============================================================ */
.reveal{
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }
.reveal-stagger > *{ transition-delay: calc(var(--i, 0) * 110ms); }

/* ============================================================
   SHINE SPOTLIGHT
   ============================================================ */
.shine{ background: var(--black-2); }
.shine .container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.shine-text ul{ margin-top: 26px; display: grid; gap: 16px; }
.shine-text li{
  display: flex; align-items: flex-start; gap: 14px;
  color: var(--silver-2); font-size: 17px;
}
.shine-text li svg{ width: 22px; height: 22px; color: var(--blue-light); flex: none; margin-top: 2px; }
.shine-text li b{ color: var(--white); font-weight: 600; }

.shine-frame{
  position: relative;
  justify-self: center;
  width: min(300px, 78vw);
  border-radius: 34px;
  padding: 12px;
  background: linear-gradient(155deg, #1a1e2a, #0a0b10);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.shine-frame::before{
  content:"";
  position: absolute; inset: -1px;
  border-radius: 34px;
  padding: 1px;
  background: linear-gradient(155deg, rgba(77,132,255,0.6), transparent 40%, transparent 70%, rgba(77,132,255,0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.shine-frame video{
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}
.shine-frame .tag{
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  background: rgba(7,8,12,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

@media (max-width: 900px){
  .shine .container{ grid-template-columns: 1fr; gap: 46px; text-align: center; }
  .shine-text li{ text-align: left; }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  background: var(--black-3);
}
.gallery-item img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .7s var(--ease);
  filter: saturate(1.02);
}
.gallery-item:hover img{ transform: scale(1.08); }
.gallery-item::after{
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(4,5,8,0.85));
  opacity: .85;
}
.gallery-cap{
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--white);
}
.gallery-cap span{
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}

@media (max-width: 860px){
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child{ grid-column: 1 / -1; aspect-ratio: 16/10; }
}
@media (max-width: 560px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-item:first-child{ aspect-ratio: 4/3; }
}

/* ============================================================
   SERVICES / PRICING
   ============================================================ */
.services{ background: var(--black-2); }
.services-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card{
  background: linear-gradient(165deg, var(--black-3), #0b0c12);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover{
  transform: translateY(-8px);
  border-color: rgba(77,132,255,0.4);
  box-shadow: var(--shadow-blue);
}
.service-icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, rgba(20,80,230,0.22), rgba(20,80,230,0.05));
  border: 1px solid rgba(77,132,255,0.28);
  color: var(--blue-light);
  margin-bottom: 22px;
}
.service-icon svg{ width: 26px; height: 26px; }
.service-card h3{ font-size: 20px; font-weight: 500; letter-spacing: 0.02em; }
.service-card p{ color: var(--muted); font-size: 15px; margin: 10px 0 18px; }
.service-price{
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--blue-light);
}

@media (max-width: 980px){ .services-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .services-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   BOOKING
   ============================================================ */
.booking{ position: relative; }
.booking .container{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.booking-info .section-head{ margin-bottom: 30px; }
.booking-points{ display: grid; gap: 22px; margin-top: 6px; }
.booking-point{ display: flex; gap: 16px; align-items: flex-start; }
.booking-point .num{
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--blue-light);
  border: 1px solid rgba(77,132,255,0.4);
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.booking-point h4{ font-family: var(--font-display); font-weight: 500; font-size: 17px; margin: 0 0 4px; }
.booking-point p{ color: var(--muted); font-size: 15px; margin: 0; }

.call-card{
  margin-top: 36px;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(20,80,230,0.16), rgba(20,80,230,0.02));
  border: 1px solid rgba(77,132,255,0.3);
  display: flex; align-items: center; gap: 18px;
}
.call-card .ico{
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center; flex: none;
}
.call-card .ico svg{ width: 22px; height: 22px; color: #fff; }
.call-card a{ font-family: var(--font-display); font-size: 22px; letter-spacing: 0.02em; color: var(--white); }
.call-card span{ display:block; font-size: 13px; color: var(--muted); margin-top: 2px; }

.form-card{
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field{ margin-bottom: 20px; }
.field label{
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-2);
  margin-bottom: 9px;
}
.field input, .field select, .field textarea{
  width: 100%;
  background: #0a0b10;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder{ color: #545c6e; }
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--blue-light);
  box-shadow: 0 0 0 4px rgba(77,132,255,0.16);
  outline: none;
}
.field textarea{ resize: vertical; min-height: 96px; }
.field select{ appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238891a3'%3E%3Cpath d='M5.5 7.5l4.5 5 4.5-5' stroke='%238891a3' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

.form-note{ font-size: 13px; color: var(--muted); margin-top: -6px; margin-bottom: 22px; }
.form-status{
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  display: none;
}
.form-status.show{ display: block; }
.form-status.ok{ background: rgba(30,180,110,0.12); border: 1px solid rgba(30,180,110,0.35); color: #7de8b6; }
.form-status.err{ background: rgba(230,60,60,0.1); border: 1px solid rgba(230,60,60,0.35); color: #ff9d9d; }

@media (max-width: 900px){
  .booking .container{ grid-template-columns: 1fr; }
  .form-card{ padding: 26px; }
  .form-row{ grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{
  border-top: 1px solid var(--line);
  padding: 60px 0 34px;
  background: #050506;
}
.footer .container{
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px;
}
.footer-brand .logo{ margin-bottom: 12px; }
.footer-brand p{ color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer-col h5{
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-2);
  margin: 0 0 16px;
}
.footer-col a, .footer-col p{ display: block; color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.footer-col a:hover{ color: var(--blue-light); }

.pay-badges{ display: flex; gap: 10px; margin-top: 4px; }
.pay-badges span{
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff;
}
.pay-venmo{ background: #3d95ce; }
.pay-cash{ background: #1b9e4b; }
.pay-zelle{ background: #6b3fa0; }

.footer-bottom{
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: #565d6e;
  font-size: 13px;
}

/* Skip link for accessibility */
.skip-link{
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: #fff; padding: 12px 20px; border-radius: 8px; z-index: 1000;
}
.skip-link:focus{ left: 20px; top: 20px; }

/* anchor offset for fixed nav */
section[id], .booking, #gallery, #services{ scroll-margin-top: 90px; }

/* ============================================================
   AMBIENT ANIMATED BACKGROUND
   ============================================================ */
.ambient-bg{
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.ambient-bg .orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.orb-1{
  width: 620px; height: 620px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(20,80,230,0.55), transparent 70%);
  animation: driftA 34s var(--ease) infinite alternate;
}
.orb-2{
  width: 520px; height: 520px;
  bottom: -160px; right: -100px;
  background: radial-gradient(circle, rgba(77,132,255,0.4), transparent 70%);
  animation: driftB 40s var(--ease) infinite alternate;
}
.orb-3{
  width: 420px; height: 420px;
  top: 45%; left: 60%;
  background: radial-gradient(circle, rgba(10,63,196,0.35), transparent 70%);
  animation: driftC 46s var(--ease) infinite alternate;
}
@keyframes driftA{
  0%{ transform: translate(0,0) scale(1); }
  100%{ transform: translate(120px, 90px) scale(1.15); }
}
@keyframes driftB{
  0%{ transform: translate(0,0) scale(1); }
  100%{ transform: translate(-100px, -70px) scale(1.1); }
}
@keyframes driftC{
  0%{ transform: translate(0,0) scale(1); }
  100%{ transform: translate(-80px, 60px) scale(0.9); }
}

.grain{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > *:not(.ambient-bg):not(.grain):not(.nav){ position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce){
  .ambient-bg .orb{ animation: none; }
}
@media (max-width: 720px){
  .ambient-bg .orb{ filter: blur(60px); opacity: 0.35; }
}

/* ============================================================
   NAV SCROLL PROGRESS
   ============================================================ */
.nav-progress{
  position: absolute;
  left: 0; top: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  box-shadow: 0 0 12px rgba(77,132,255,0.7);
}

/* ============================================================
   HERO — cursor glow + floating particles
   ============================================================ */
.cursor-glow{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 40%), rgba(77,132,255,0.16), transparent 65%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.hero:hover .cursor-glow{ opacity: 1; }
@media (hover: none), (pointer: coarse){ .cursor-glow{ display: none; } }

.hero-particles{ position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-particles span{
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue-light);
  opacity: 0.55;
  box-shadow: 0 0 8px 2px rgba(77,132,255,0.5);
  animation: floatUp linear infinite;
}
.hero-particles span:nth-child(1){ left: 8%;  bottom: -10%; animation-duration: 16s; animation-delay: 0s; }
.hero-particles span:nth-child(2){ left: 18%; bottom: -10%; animation-duration: 22s; animation-delay: 2s; width:3px; height:3px; }
.hero-particles span:nth-child(3){ left: 30%; bottom: -10%; animation-duration: 19s; animation-delay: 5s; }
.hero-particles span:nth-child(4){ left: 44%; bottom: -10%; animation-duration: 25s; animation-delay: 1s; width:2px; height:2px; }
.hero-particles span:nth-child(5){ left: 58%; bottom: -10%; animation-duration: 18s; animation-delay: 4s; }
.hero-particles span:nth-child(6){ left: 70%; bottom: -10%; animation-duration: 23s; animation-delay: 3s; width:3px; height:3px; }
.hero-particles span:nth-child(7){ left: 84%; bottom: -10%; animation-duration: 20s; animation-delay: 6s; }
.hero-particles span:nth-child(8){ left: 93%; bottom: -10%; animation-duration: 27s; animation-delay: 2.5s; width:2px; height:2px; }
@keyframes floatUp{
  0%{ transform: translateY(0) translateX(0); opacity: 0; }
  10%{ opacity: 0.55; }
  90%{ opacity: 0.35; }
  100%{ transform: translateY(-115vh) translateX(30px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .hero-particles span{ animation: none; opacity: 0; }
}

/* ============================================================
   REVEAL — smoother, filmic entrance
   ============================================================ */
.reveal{
  opacity: 0;
  transform: translateY(36px) scale(.975);
  filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}
.reveal.in-view{ opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* ============================================================
   CARD TILT (service cards + gallery) — JS sets --rx/--ry
   ============================================================ */
.service-card, .gallery-item{
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateZ(0);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover{ box-shadow: var(--shadow-blue); }

/* divider gentle glow pulse once drawn */
.divider.in-view path{
  animation: dividerPulse 3.4s ease-in-out .6s infinite;
}
@keyframes dividerPulse{
  0%, 100%{ opacity: 1; }
  50%{ opacity: .55; }
}
@media (prefers-reduced-motion: reduce){
  .divider.in-view path{ animation: none; }
}
