/* Explain: Layout utilities and background effects for page sections. */
.section-pad {
    padding-top: clamp(5.5rem, 10vw, 9rem);
    padding-bottom: clamp(5.5rem, 10vw, 9rem);
}

.hero-split {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 52%, rgba(201, 162, 75, 0.12) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: hero-drift 26s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.55), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.50) 46%, rgba(255, 255, 255, 0.88) 100%);
}

@keyframes hero-drift {
    from {
        transform: scale(1.06) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.2) translate3d(-1.8%, -1.4%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg img {
        animation: none;
    }
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.52;
    pointer-events: none;
    z-index: -1;
}

.orb-sage {
    width: 24rem;
    height: 24rem;
    right: 8%;
    top: 10%;
    background: rgba(201, 162, 75, 0.18);
}

.orb-terracotta {
    width: 18rem;
    height: 18rem;
    left: 4%;
    bottom: 10%;
    background: rgba(214, 196, 160, 0.30);
}

.contact-section {
    background:
        radial-gradient(circle at 8% 16%, rgba(214, 196, 160, 0.22), transparent 24rem),
        linear-gradient(180deg, var(--background-color), var(--surface-color));
}