/* ── Custom Properties ── */
:root {
    --terra-500: #C0603A;
    --terra-600: #A84E2E;
    --sand-50: #FDFCF8;
    --sand-100: #F9F5EC;
}

/* ── Base ── */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Custom Shadows ── */
.shadow-soft {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.shadow-soft-lg {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ── Navigation ── */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #57534e;
    border-radius: 9999px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: #C0603A;
    background: rgba(192, 96, 58, 0.06);
}

/* ── Mobile Menu ── */
.mobile-link {
    border-radius: 0.75rem;
    transition: color 0.2s, background 0.2s;
}

.mobile-link:hover {
    background: rgba(192, 98, 58, 0.06);
}

/* ── Floating Animation ── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Back to Top ── */
#back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* ── Form Select Arrow ── */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    padding-right: 2.5rem;
}

/* ── Header scroll state ── */
#site-header.scrolled .rounded-full {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* ── Selection ── */
::selection {
    background: rgba(192, 96, 58, 0.15);
    color: #78350f;
}
