:root {
    --cream: #fffdf7;
    --ink: #3b2319;
    --gold: #d4af37;
    --orange: #e05a10;
    --maroon: #58111a;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.font-display {
    font-family: "Cinzel", serif;
}

.font-hindi {
    font-family: "Noto Serif Devanagari", serif;
}

.font-serif-alt {
    font-family: "Cormorant Garamond", serif;
}

.grain::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .045;
    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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.arch-frame {
    border-radius: 999px 999px 12px 12px;
}
/* .h-64 {
    height: 18rem;
} */

.gold-frame {
    border: 1px solid rgba(212, 175, 55, .35);
    box-shadow: inset 0 0 0 6px #fffdf7, inset 0 0 0 7px rgba(212, 175, 55, .25);
}

.jharokha-divider {
    height: 14px;
    background-image: radial-gradient(circle at 7px 0, transparent 7px, currentColor 7.5px, currentColor 8.5px, transparent 9px);
    background-size: 22px 14px;
    background-repeat: repeat-x;
    opacity: .35;
}

.sun-chakra {
    background: repeating-conic-gradient(from 0deg, rgba(212, 175, 55, .2) 0 2deg, transparent 2deg 15deg);
    border: 1px solid rgba(212, 175, 55, .4);
    border-radius: 9999px;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

@keyframes kenburns {
    to {
        transform: scale(1.12) translateY(-2%);
    }
}

@keyframes spin-slow {
    to {
        transform: rotate(360deg);
    }
}

.marquee-track {
    animation: marquee 70s linear infinite;
}

.kenburns {
    animation: kenburns 24s ease-in-out infinite alternate;
}

.spin-slow {
    animation: spin-slow 90s linear infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.gallery-item {
    transition: opacity .3s ease, transform .3s ease;
}

.gallery-item.hidden {
    display: none;
}

.nav-scrolled {
    background: rgba(255, 253, 247, .93);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(59, 35, 25, .06);
    border-color: rgba(212, 175, 55, .3);
}

.nav-scrolled .nav-light {
    color: var(--ink);
}

@media (prefers-reduced-motion:reduce) {

    *,
    ::before,
    ::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}