/* ============================================================
   PLANTOORI — Site Intro Splash
   ============================================================ */

.site-splash {
    pointer-events: all;
    transition: opacity 0.65s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
                visibility 0.65s;
}

.site-splash.is-exiting {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-splash__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.site-splash__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    animation: splashOrbIn 1.2s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) forwards;
}

.site-splash__orb--1 {
    width: 280px;
    height: 280px;
    top: 15%;
    left: 10%;
    background: rgba(26, 122, 74, 0.45);
    animation-delay: 0.1s;
}

.site-splash__orb--2 {
    width: 220px;
    height: 220px;
    bottom: 20%;
    right: 8%;
    background: rgba(212, 175, 55, 0.22);
    animation-delay: 0.25s;
}

.site-splash__orb--3 {
    width: 160px;
    height: 160px;
    top: 55%;
    left: 55%;
    background: rgba(255, 255, 255, 0.08);
    animation-delay: 0.4s;
}

@keyframes splashOrbIn {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 1; transform: scale(1); }
}

.site-splash__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.site-splash__logo-wrap {
    position: relative;
    width: 152px;
    height: 152px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.site-splash__mark {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(15, 91, 53, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.55) rotate(-10deg);
    animation: splashMarkIn 1s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) 0.15s forwards;
}

.site-splash__ring {
    position: absolute;
    inset: 16px;
    border-radius: 28px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    opacity: 0;
    animation: splashRingPulse 2.4s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) infinite;
}

.site-splash__ring--1 { animation-delay: 0.3s; }
.site-splash__ring--2 { animation-delay: 0.55s; }
.site-splash__ring--3 { animation-delay: 0.8s; }

@keyframes splashRingPulse {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }
    25% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
        transform: scale(1.45);
    }
}

.site-splash__logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: none;
}

@keyframes splashMarkIn {
    0% {
        opacity: 0;
        transform: scale(0.55) rotate(-10deg);
    }
    60% {
        opacity: 1;
        transform: scale(1.06) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.site-splash__name {
    margin: 0;
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: clamp(2rem, 7vw, 2.75rem);
    font-weight: 600;
    letter-spacing: 0.28em;
    text-indent: 0.28em;
    color: #fff;
    opacity: 0;
    transform: translateY(18px);
    animation: splashTextUp 0.75s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) 0.55s forwards;
}

.site-splash__tag {
    margin: 0.45rem 0 0;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    opacity: 0;
    transform: translateY(14px);
    animation: splashTextUp 0.7s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) 0.75s forwards;
}

@keyframes splashTextUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-splash__line {
    display: block;
    width: 0;
    height: 2px;
    margin: 1.1rem auto 0.85rem;
    background: linear-gradient(90deg, transparent, var(--color-secondary, #D4AF37), transparent);
    border-radius: 2px;
    animation: splashLineGrow 0.65s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) 0.95s forwards;
}

@keyframes splashLineGrow {
    to { width: min(120px, 40vw); }
}

.site-splash__brand {
    margin: 0;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-secondary-light, #E8C84A);
    opacity: 0;
    animation: splashBrandIn 0.6s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) 1.15s forwards;
}

@keyframes splashBrandIn {
    to { opacity: 0.92; }
}

.site-splash__loader {
    position: absolute;
    bottom: clamp(2rem, 8vh, 3.5rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
    opacity: 0;
    animation: splashBrandIn 0.5s ease 1.2s forwards;
}

.site-splash__loader-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    animation: splashDotBounce 1.1s ease-in-out infinite;
}

.site-splash__loader-dot:nth-child(2) { animation-delay: 0.15s; }
.site-splash__loader-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes splashDotBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
    40% { transform: translateY(-6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .site-splash__orb,
    .site-splash__ring,
    .site-splash__mark,
    .site-splash__name,
    .site-splash__tag,
    .site-splash__line,
    .site-splash__brand,
    .site-splash__loader,
    .site-splash__loader-dot {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        width: min(120px, 40vw);
    }

    .site-splash.is-exiting {
        transition-duration: 0.2s;
    }
}
