@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .food-hero-content .hero-cta:hover {
        transform: translateY(-3px);
    }

    .food-hero-content .hero-cta:active,
    #pricing .pricing-card a.btn-investment:active,
    #contact .btn-minimal-wa:active,
    #lokasi .btn-map-cta:active {
        transform: translate(2px, 2px) scale(0.99);
    }
}

#hero.hero-editorial {
    --st-hero-scroll: 0;
    perspective: 1400px;
}

#hero.hero-editorial .hero-ambient-lights {
    transform: translate3d(
            0,
            calc(var(--st-hero-scroll) * 44px),
            -80px
        )
        scale(calc(1 + var(--st-hero-scroll) * 0.05));
    will-change: transform;
}

#hero.hero-editorial .hero-copy {
    transform: translate3d(
            0,
            calc(var(--st-hero-scroll) * -28px),
            calc(var(--st-hero-scroll) * -36px)
        )
        rotateX(calc(var(--st-hero-scroll) * 3.5deg));
    transform-style: preserve-3d;
    will-change: transform;
}

#hero.hero-editorial .hero-visual {
    transform: translate3d(
            0,
            calc(var(--st-hero-scroll) * -48px),
            calc(var(--st-hero-scroll) * 44px)
        )
        scale(calc(1 + var(--st-hero-scroll) * 0.035));
    will-change: transform;
}

#brand-story .container,
#about .stats-grid,
#whats-new .container,
#portfolio .portfolio-grid,
#team .container {
    perspective: 1200px;
}

body.st-motion-ready [data-st-reveal] {
    opacity: 0;
    transform: perspective(1000px) translate3d(0, 26px, -64px) rotateX(7deg)
        scale(0.965);
    transition:
        opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--st-reveal-delay, 0ms);
    will-change: opacity, transform;
}

body.st-motion-ready [data-st-reveal].st-is-visible {
    opacity: 1;
    transform: perspective(1000px) translate3d(0, 0, 0) rotateX(0deg) scale(1);
    will-change: auto;
}

body.st-motion-ready #hero [data-st-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
}

#hero.st-hero-entrance-ready::before {
    animation: stHeroBackdropIn 700ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

#hero.st-hero-entrance-ready::after {
    animation: stHeroOrnamentIn 850ms 80ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

#hero .st-hero-enter {
    animation: stHeroElementIn 720ms var(--st-hero-entrance-delay, 0ms)
        cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

#hero .hero-actions.st-hero-enter {
    animation-name: stHeroCtaIn;
}

#hero .hero-visual.st-hero-enter {
    animation-duration: 900ms;
}

@keyframes stHeroBackdropIn {
    from {
        opacity: 0;
        background-position: 50% 50%;
    }

    to {
        opacity: 0.38;
        background-position: 50% 50%;
    }
}

@keyframes stHeroOrnamentIn {
    from {
        opacity: 0;
        transform: rotate(-24deg) translate3d(18px, 14px, 0);
    }

    to {
        opacity: 0.18;
        transform: rotate(-18deg) translate3d(0, 0, 0);
    }
}

@keyframes stHeroElementIn {
    from {
        opacity: 0;
        transform: translate3d(0, 24px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes stHeroCtaIn {
    from {
        opacity: 0;
        transform: translate3d(0, 16px, 0) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

#whats-new .instagram-embed-card,
#portfolio .portfolio-item,
#team .team-card,
#pricing .pricing-card {
    backface-visibility: hidden;
}

#whats-new .instagram-embed-card {
    transition:
        transform 260ms cubic-bezier(0.2, 0.65, 0.3, 1),
        box-shadow 260ms ease;
}

#whats-new .instagram-embed-card:hover {
    transform: translateY(-4px);
}

#portfolio .portfolio-item img {
    transition:
        transform 560ms cubic-bezier(0.2, 0.65, 0.3, 1),
        filter 560ms ease;
}

#team .team-img {
    transition: transform 360ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.hero-visual-sun {
    animation: selaluTeaSunDrift 9s ease-in-out infinite alternate;
}

.hero-spark-one {
    animation: selaluTeaSpark 5s ease-in-out infinite;
}

.hero-spark-two {
    animation: selaluTeaSpark 6s ease-in-out -2.5s infinite;
}

@keyframes selaluTeaSunDrift {
    from {
        transform: translate3d(-1.5%, 0, 0) scale(0.98);
    }

    to {
        transform: translate3d(1.5%, -1.5%, 0) scale(1.02);
    }
}

@keyframes selaluTeaSpark {
    0%,
    100% {
        opacity: 0.65;
        transform: translate3d(0, 0, 0) rotate(0);
    }

    50% {
        opacity: 1;
        transform: translate3d(0, -6px, 0) rotate(18deg);
    }
}

header.header .mobile-navigation:not([hidden]) {
    transform-origin: top;
}

header.header .mobile-navigation:not([hidden]) a {
    animation: selaluTeaMenuItemIn 300ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

header.header .mobile-navigation:not([hidden]) a:nth-child(2) {
    animation-delay: 25ms;
}

header.header .mobile-navigation:not([hidden]) a:nth-child(3) {
    animation-delay: 50ms;
}

header.header .mobile-navigation:not([hidden]) a:nth-child(4) {
    animation-delay: 75ms;
}

header.header .mobile-navigation:not([hidden]) a:nth-child(5) {
    animation-delay: 100ms;
}

header.header .mobile-navigation:not([hidden]) a:nth-child(6) {
    animation-delay: 125ms;
}

header.header .mobile-navigation:not([hidden]) a:nth-child(7) {
    animation-delay: 150ms;
}

header.header .mobile-navigation:not([hidden]) {
    opacity: 0;
    transform: translate3d(0, -6px, 0);
    transition:
        opacity 220ms ease,
        transform 220ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

header.header .mobile-navigation.is-opening {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    animation: selaluTeaMenuIn 220ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

@keyframes selaluTeaMenuIn {
    from {
        opacity: 0;
        transform: translate3d(0, -6px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes selaluTeaMenuItemIn {
    from {
        opacity: 0;
        transform: translate3d(0, -5px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.portfolio-lightbox {
    transition:
        opacity 280ms ease,
        visibility 280ms ease;
}

.portfolio-lightbox-image {
    transition: transform 280ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.portfolio-lightbox:not(.is-open) .portfolio-lightbox-image {
    transform: scale(0.97);
}

.portfolio-lightbox.is-open .portfolio-lightbox-image {
    transform: scale(1);
}

body.st-motion-ready #hero .hero-cta:focus-visible,
body.st-motion-ready #contact a:focus-visible,
body.st-motion-ready #lokasi a:focus-visible,
body.st-motion-ready .mobile-menu-toggle:focus-visible {
    outline: 3px solid #2c2926;
    outline-offset: 4px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    #portfolio .portfolio-item {
        --st-rx: 0deg;
        --st-ry: 0deg;
        transform-style: preserve-3d;
    }

    #portfolio .portfolio-item.st-is-visible:hover {
        transform: perspective(1000px) rotateX(var(--st-rx)) rotateY(var(--st-ry))
            translateY(-6px) scale(1.015);
        box-shadow: 0 24px 48px -12px rgba(23, 25, 21, 0.22);
    }

    #portfolio .portfolio-overlay {
        transform-style: preserve-3d;
    }

    #portfolio .portfolio-overlay span,
    #portfolio .portfolio-overlay h4 {
        transform: translateZ(26px);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    body.st-motion-ready [data-st-reveal] {
        transform: translate3d(0, 15px, 0);
        transition-duration: 540ms;
    }

    .hero-visual-sun {
        animation-duration: 12s;
    }

    .hero-spark-one,
    .hero-spark-two {
        animation-duration: 7s;
    }
}

@media (max-width: 767px) {
    body.st-motion-ready [data-st-reveal] {
        transform: translate3d(0, 14px, 0);
        transition-duration: 480ms;
        transition-delay: 0ms;
    }

    #whats-new .instagram-embed-card:hover,
    #portfolio .portfolio-item:hover,
    #team .team-card:hover {
        transform: none;
    }

    .hero-visual-sun {
        animation-duration: 14s;
    }

    .hero-spark-one,
    .hero-spark-two {
        animation-duration: 8s;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    body.st-motion-ready [data-st-reveal],
    body.st-motion-ready [data-st-reveal].st-is-visible,
    #hero.st-hero-entrance-ready::before,
    #hero.st-hero-entrance-ready::after,
    #hero .st-hero-enter {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
        will-change: auto;
    }

    #hero.hero-editorial .hero-ambient-lights,
    #hero.hero-editorial .hero-copy,
    #hero.hero-editorial .hero-visual {
        transform: none !important;
    }

    .hero-visual-sun,
    .hero-spark-one,
    .hero-spark-two {
        animation: none !important;
    }

    header.header .mobile-navigation:not([hidden]),
    header.header .mobile-navigation:not([hidden]) a {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }

    header.header .mobile-navigation.is-opening {
        animation: none;
    }
}
