/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; }

/* ─── FONTS ─── */
.font-cormorant { font-family: 'Cormorant Garamond', Georgia, serif; }
.font-inter-light { font-family: 'Inter', system-ui, sans-serif; font-weight: 300; }

/* ─── SKIP LINK ─── */
.skip-link { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); background: #801a2e; color: #fff; padding: 0.75rem 1.5rem; z-index: 200; border-radius: 0 0 8px 8px; font-size: 0.875rem; text-decoration: none; }
.skip-link:focus { top: 0; }

/* ─── HERO GRADIENT ─── */
.hero-gradient {
    background: linear-gradient(135deg, #3d0811 0%, #6b182a 25%, #801a2e 45%, #9c1f36 60%, #b92b46 75%, #d44562 90%, #ea738e 100%);
}

/* ─── SECTION EYEBROW ─── */
.section-eyebrow { letter-spacing: 0.25em; }

/* ─── SECTION TITLE ─── */
.section-title { font-size: clamp(2rem, 4vw, 3.25rem); }

/* ─── SECTION BODY ─── */
.section-body { font-size: 0.9375rem; line-height: 1.75; }

/* ─── BUTTONS ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #801a2e;
    color: #fff;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #6b182a;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(128, 26, 46, 0.3); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: #fff;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* ─── NAV ─── */
#site-header {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
#site-header.scrolled {
    background: rgba(255, 248, 249, 0.97);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #801a2e;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ─── MOBILE MENU ─── */
#mobile-menu { pointer-events: none; }
#mobile-menu.open { pointer-events: all; transform: translateX(0); }

/* ─── HERO ANIMATIONS ─── */
.hero-eyebrow, .hero-title, .hero-subtitle, .hero-cta {
    opacity: 0;
    transform: translateY(24px);
    animation: heroReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.hero-title { animation-delay: 0.15s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-cta { animation-delay: 0.45s; }

@keyframes heroReveal {
    to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.revealed {
    opacity: 0;
    transform: translateY(32px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* stagger children */
.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; }

/* ─── GALLERY ─── */
.gallery-item { cursor: pointer; }

/* ─── PROCESS LINE ─── */
.process-line { background: linear-gradient(90deg, #f9d0d9, transparent); }

/* ─── FORM ─── */
input:focus, select:focus, textarea:focus {
    border-bottom-color: #801a2e !important;
}
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23801a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* ─── FOCUS VISIBLE ─── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #801a2e;
    outline-offset: 2px;
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .hero-scroll-indicator { animation: none; }
}
