/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(26, 92, 48, 0.2);
    color: inherit;
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(26, 92, 48, 0.15), transparent);
}

/* ── Section Eyebrow ──────────────────────────────────────── */
.section-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(26, 92, 48, 0.6);
    font-weight: 500;
}

/* ── Hero Animations ──────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.hero-eyebrow {
    animation: fadeInUp 0.8s ease-out both;
    animation-delay: 0.2s;
}

.hero-headline {
    animation: fadeInUp 0.9s ease-out both;
    animation-delay: 0.4s;
}

.hero-sub {
    animation: fadeInUp 0.9s ease-out both;
    animation-delay: 0.6s;
}

.hero-cta {
    animation: fadeInUp 0.9s ease-out both;
    animation-delay: 0.8s;
}

.scroll-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #529d66);
    animation: scrollLine 1.8s ease-in-out infinite;
}

/* ── CTA Buttons ──────────────────────────────────────────── */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #1a5c30;
    color: #FAF8F4;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #144a26;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 100px;
}

.cta-primary:hover::before {
    opacity: 1;
}

.cta-primary span,
.cta-primary svg {
    position: relative;
    z-index: 1;
}

.cta-primary svg {
    transition: transform 0.3s ease;
}

.cta-primary:hover svg {
    transform: translateY(3px);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: transparent;
    color: #1a5c30;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 400;
    border: 1px solid rgba(26, 92, 48, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-secondary:hover {
    border-color: #1a5c30;
    background: rgba(26, 92, 48, 0.05);
}

/* ── Nav Links ────────────────────────────────────────────── */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1a5c30;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile Menu ──────────────────────────────────────────── */
.mobile-link {
    position: relative;
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Coffee Cards ─────────────────────────────────────────── */
.coffee-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.coffee-card:hover {
    transform: translateY(-4px);
}

.coffee-card-img-wrap {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.coffee-card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 26, 13, 0.15), transparent 40%);
    border-radius: 16px;
    pointer-events: none;
}

.coffee-card-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.coffee-card:hover .coffee-card-img {
    transform: scale(1.03);
}

/* ── Menu Items ───────────────────────────────────────────── */
.menu-item {
    padding: 12px 0;
}

.menu-item-border {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(26, 92, 48, 0.12), transparent);
}

/* ── Header Scroll State ──────────────────────────────────── */
#site-header.scrolled {
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 92, 48, 0.08);
}

#site-header.scrolled .font-serif {
    color: #0a2713;
}

/* ── 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;
    }

    .reveal-up {
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-headline span {
        font-size: 2.5rem;
    }
}
