/* ── Reset & Base ───────────────────────────────── */
*, *::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; }
img, video { display: block; max-width: 100%; }
input, textarea, select, button { font: inherit; }

/* ── Utility ────────────────────────────────────── */
.section-padding { padding: 8rem 0; }
@media (max-width: 767px) { .section-padding { padding: 5rem 0; } }

/* ── Navigation ─────────────────────────────────── */
.nav { background: transparent; }
.nav.scrolled { background: rgba(250,245,238,0.97); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(61,43,31,0.08); }
.nav.scrolled .nav-logo { color: #3D2B1F; }
.nav-logo { color: #FAF5EE; text-decoration: none; transition: color 0.3s; }
.nav-link { color: rgba(250,245,238,0.8); text-decoration: none; position: relative; padding: 0.25rem 0; transition: color 0.3s; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px; background: #B85C38; transition: width 0.3s; }
.nav-link:hover { color: #FAF5EE; }
.nav-link:hover::after { width: 100%; }
.nav.scrolled .nav-link { color: #6B5B4E; }
.nav.scrolled .nav-link:hover { color: #3D2B1F; }
.nav.scrolled .nav-link::after { background: #B85C38; }

/* Mobile menu */
.nav-mobile { max-height: 0; }
.nav-mobile.open { max-height: 400px; }
.nav-mobile-link { color: #3D2B1F; text-decoration: none; font-size: 1.25rem; transition: color 0.3s; }
.nav-mobile-link:hover { color: #B85C38; }

/* ── Hero ───────────────────────────────────────── */
.hero { min-height: 100vh; }
.hero-bg { z-index: 0; }
.hero-bg-inner { z-index: 1; }
.hero-overlay { z-index: 2; }
.hero-content { z-index: 3; padding-top: 5rem; }
.hero-headline { opacity: 0; transform: translateY(30px); animation: fadeUp 1s 0.3s forwards; }
.hero-eyebrow { opacity: 0; transform: translateY(16px); animation: fadeUp 0.8s 0.1s forwards; }
.hero-subtitle { opacity: 0; transform: translateY(16px); animation: fadeUp 0.8s 0.5s forwards; }
.hero-cta { opacity: 0; transform: translateY(16px); animation: fadeUp 0.8s 0.7s forwards; }
.hero-scroll { opacity: 0; animation: fadeIn 1s 1.2s forwards; }

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

.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Buttons ────────────────────────────────────── */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: #B85C38;
    color: #FAF5EE;
}
.btn-primary:hover { background: #a04d2e; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,92,56,0.3); }
.btn-secondary {
    background: transparent;
    color: #FAF5EE;
    border: 1.5px solid rgba(250,245,238,0.4);
}
.btn-secondary:hover { border-color: #FAF5EE; background: rgba(250,245,238,0.08); transform: translateY(-2px); }

/* ── Product Cards ──────────────────────────────── */
.product-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.product-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Form ───────────────────────────────────────── */
.input {
    background: #FAF5EE;
    border: 1.5px solid #f5ecda;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    color: #3D2B1F;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    width: 100%;
}
.input::placeholder { color: #d4aa70; }
.input:focus { border-color: #B85C38; box-shadow: 0 0 0 3px rgba(184,92,56,0.1); }
.input.error { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.1); }

/* ── Reveal on Scroll ───────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Selection ──────────────────────────────────── */
::selection { background: rgba(184,92,56,0.2); color: #3D2B1F; }
