.ahs-hero-3d {
  --ahs-bg-x: 0px;
  --ahs-bg-y: 0px;
  --ahs-copy-x: 0px;
  --ahs-copy-y: 0px;
  --ahs-card-x: 0px;
  --ahs-card-y: 0px;
  isolation: isolate;
  perspective: 1200px;
}

.ahs-hero-media {
  background-image: url("assets/aura-local/homepage-hero-desktop.webp") !important;
  background-position: center 48% !important;
  filter: saturate(.94) contrast(1.02);
}

.ahs-hero-backdrop::before {
  background:
    radial-gradient(circle at 76% 30%, rgba(255,255,255,.2), transparent 24%),
    linear-gradient(115deg, rgba(252,249,248,.74) 0%, rgba(252,249,248,.28) 43%, transparent 68%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.ahs-hero-backdrop {
  transform: translate3d(var(--ahs-bg-x), var(--ahs-bg-y), 0) scale(1.055);
  transition: transform 700ms cubic-bezier(.2, .75, .2, 1);
  will-change: transform;
}

.ahs-hero-copy {
  transform: translate3d(var(--ahs-copy-x), var(--ahs-copy-y), 36px);
  transition: transform 650ms cubic-bezier(.2, .75, .2, 1);
}

.ahs-hero-portrait {
  box-shadow: 0 30px 70px rgba(35, 42, 31, .22);
  transform: translate3d(var(--ahs-card-x), var(--ahs-card-y), 70px) rotateY(-2deg);
  transform-style: preserve-3d;
  transition: transform 650ms cubic-bezier(.2, .75, .2, 1), box-shadow 300ms ease;
}

.ahs-depth-orb {
  border: 1px solid rgba(176, 147, 88, .24);
  border-radius: 999px;
  filter: blur(.2px);
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.ahs-depth-orb-one {
  animation: ahs-float-one 8s ease-in-out infinite;
  background: radial-gradient(circle at 35% 30%, rgba(255, 245, 212, .48), rgba(83, 99, 75, .08) 60%, transparent 72%);
  height: 180px;
  right: 8%;
  top: 12%;
  width: 180px;
}

.ahs-depth-orb-two {
  animation: ahs-float-two 10s ease-in-out infinite;
  background: radial-gradient(circle at 40% 35%, rgba(238, 219, 174, .34), rgba(83, 99, 75, .05) 62%, transparent 74%);
  bottom: 12%;
  height: 110px;
  left: 44%;
  width: 110px;
}

.ahs-service-grid { perspective: 1100px; }

.ahs-tilt-card {
  --ahs-rx: 0deg;
  --ahs-ry: 0deg;
  opacity: 1;
  transform: rotateX(var(--ahs-rx)) rotateY(var(--ahs-ry));
  transform-style: preserve-3d;
  transition: opacity 700ms ease, transform 260ms cubic-bezier(.2, .8, .2, 1), box-shadow 260ms ease;
}

.ahs-tilt-card.ahs-tilting {
  box-shadow: 0 28px 58px rgba(27, 32, 25, .2);
  will-change: transform;
}

.ahs-tilt-card > .absolute:last-of-type {
  transform: translateZ(24px);
  transform-style: preserve-3d;
}

.ahs-tilt-shine {
  background: radial-gradient(circle at var(--ahs-shine-x, 50%) var(--ahs-shine-y, 50%), rgba(255, 233, 176, .2), transparent 42%);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 240ms ease;
  z-index: 20;
}

.ahs-tilting .ahs-tilt-shine { opacity: 1; }

.reveal.ahs-reveal-ready {
  opacity: 0;
  filter: blur(4px);
  transition: opacity 750ms ease, filter 800ms ease, transform 850ms cubic-bezier(.2, .75, .2, 1);
  transition-delay: var(--ahs-reveal-delay, 0ms);
}

.reveal.ahs-reveal-ready:not(.ahs-reveal-static-offset):not(.ahs-tilt-card):not(.ahs-hero-copy) {
  transform: translate3d(0, 26px, 0) scale(.99);
}

.reveal.ahs-reveal-ready.active {
  filter: blur(0);
  opacity: 1;
}

.reveal.ahs-reveal-ready.active:not(.ahs-reveal-static-offset):not(.ahs-tilt-card):not(.ahs-hero-copy) {
  transform: translate3d(0, 0, 0) scale(1);
}

.stagger-1 { --ahs-reveal-delay: 90ms; }
.stagger-2 { --ahs-reveal-delay: 180ms; }
.stagger-3 { --ahs-reveal-delay: 270ms; }
.stagger-4 { --ahs-reveal-delay: 360ms; }

@keyframes ahs-float-one {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-10px, 14px, 22px); }
}

@keyframes ahs-float-two {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -10px, 16px); }
}

@media (max-width: 767px), (hover: none), (pointer: coarse) {
  .ahs-hero-media {
    background-image: url("assets/aura-local/homepage-hero-mobile.webp") !important;
    background-position: center 58% !important;
  }
  .ahs-hero-backdrop::before {
    background: linear-gradient(180deg, rgba(252,249,248,.28) 0%, rgba(252,249,248,.12) 48%, rgba(252,249,248,.04) 76%, rgba(252,249,248,.22) 100%);
  }
  body.page-home main > header::after {
    background: linear-gradient(180deg, rgba(252,249,248,.12), transparent 46%, rgba(20,26,18,.08));
  }
  .ahs-hero-copy {
    background: rgba(252,249,248,.7);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(31,39,28,.16);
    padding: 18px;
  }
  .ahs-hero-copy button:last-child {
    background: rgba(255,255,255,.88) !important;
    color: #3c4b35 !important;
  }
  .ahs-hero-backdrop { transform: scale(1.025); }
  .ahs-hero-copy, .ahs-hero-portrait { transform: none; }
  .ahs-depth-orb { display: none; }
  .ahs-tilt-card { transform: none; }
  .reveal.ahs-reveal-ready:not(.ahs-reveal-static-offset):not(.ahs-tilt-card):not(.ahs-hero-copy) {
    transform: translate3d(0, 14px, 0);
  }
  .reveal.ahs-reveal-ready.active:not(.ahs-reveal-static-offset):not(.ahs-tilt-card):not(.ahs-hero-copy) {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ahs-depth-orb { display: none; }
  .ahs-hero-backdrop, .ahs-hero-copy, .ahs-hero-portrait, .ahs-tilt-card,
  .reveal.ahs-reveal-ready, .reveal.ahs-reveal-ready.active {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
