/* ─── Base & Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ─── Header Ink Colors ─── */
.header-ink { color: #3D2B1F; }

/* ─── Loader ─── */
#page-loader { transition: opacity 0.6s ease, visibility 0.6s ease; }
#page-loader.fade-out { opacity: 0; visibility: hidden; }

/* ─── Hero Blobs ─── */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: blob-float 8s ease-in-out infinite;
}
.blob-1 {
    width: 400px; height: 400px;
    background: #C05028;
    top: 10%; right: 5%;
    animation-delay: 0s;
}
.blob-2 {
    width: 300px; height: 300px;
    background: #D4AF63;
    bottom: 15%; left: 10%;
    animation-delay: -3s;
}
.blob-3 {
    width: 200px; height: 200px;
    background: #F08A5C;
    top: 50%; right: 25%;
    animation-delay: -5s;
}
@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scroll-bounce 2s ease-in-out infinite;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.scroll-indicator:hover { opacity: 1; }
@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ─── Service Cards ─── */
.service-card { perspective: 1000px; }

/* ─── Testimonial Cards ─── */
.testimonial-card { position: relative; }
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px; right: 24px;
    font-family: 'DM Serif Display', serif;
    font-size: 6rem;
    color: #FCEADD;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}
.testimonial-card > * { position: relative; z-index: 1; }

/* ─── Reveal Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .hero-blob { animation: none; }
    .scroll-indicator { animation: none; }
    #page-loader { display: none; }
}

/* ─── Mobile Menu ─── */
.mobile-nav-link {
    color: #3D2B1F;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav-link:hover {
    background: #FCEADD;
    color: #C05028;
}

/* ─── Back to Top ─── */
#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ─── Selection ─── */
::selection { background: #FCEADD; color: #3D2B1F; }
