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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--teal-600);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--teal-700);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Typography ===== */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--slate-500);
    max-width: 560px;
    line-height: 1.8;
}

.lead {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border: 1.5px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--teal-600);
    color: var(--white);
    border-color: var(--teal-600);
}

.btn--primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: var(--white);
}

.btn--outline {
    background: transparent;
    color: var(--teal-600);
    border-color: var(--teal-600);
}

.btn--outline:hover {
    background: var(--teal-600);
    color: var(--white);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn--ghost:hover {
    background: var(--white);
    color: var(--slate-800);
    border-color: var(--white);
}

.btn--small {
    padding: 0.625rem 1.5rem;
    font-size: 0.75rem;
}

.btn--full {
    width: 100%;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--slate-900);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.logo:hover {
    color: var(--teal-600);
}

.logo-icon {
    color: var(--teal-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--slate-600);
    letter-spacing: 0.02em;
    text-decoration: none;
    position: relative;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-600);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--teal-600);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--slate-700);
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.45) 0%,
        rgba(15, 23, 42, 0.35) 50%,
        rgba(15, 23, 42, 0.6) 100%
    );
}

.hero-content {
    text-align: center;
    max-width: 720px;
    padding: 0 2rem;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-200);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--teal-200);
}

.hero-sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ===== About ===== */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--teal-200);
    border-radius: 2px;
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: 2rem;
}

.about-content p {
    color: var(--slate-600);
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--slate-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--teal-700);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--slate-400);
    letter-spacing: 0.02em;
}

/* ===== Roasting ===== */
.roasting {
    padding: 8rem 0;
    background: var(--slate-50);
}

.roasting .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.roasting .section-subtitle {
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 2px;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
}

.process-card:hover {
    border-color: var(--teal-200);
    box-shadow: 0 8px 40px rgba(13, 148, 136, 0.08);
    transform: translateY(-4px);
}

.process-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--teal-100);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.process-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.process-card p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.75;
}

/* ===== Shop ===== */
.shop {
    padding: 8rem 0;
}

.shop .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.shop .section-subtitle {
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--slate-200);
    border-radius: 2px;
    transition: all var(--transition);
}

.product-card:hover {
    border-color: var(--teal-200);
    box-shadow: 0 8px 40px rgba(13, 148, 136, 0.08);
}

.product-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 2px;
}

.product-tag {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
}

.product-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-notes {
    font-size: 0.875rem;
    color: var(--slate-400);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.product-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.shop-note {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--slate-400);
    font-style: italic;
}

/* ===== Visit ===== */
.visit {
    padding: 8rem 0;
    background: var(--slate-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.visit-info .section-title {
    margin-bottom: 2rem;
}

.visit-details {
    font-style: normal;
    margin-bottom: 2.5rem;
}

.visit-details p {
    color: var(--slate-600);
    line-height: 2;
    font-size: 1rem;
}

.visit-details a {
    color: var(--teal-600);
}

.visit-details a:hover {
    color: var(--teal-700);
    text-decoration: underline;
}

.hours h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 1.25rem;
}

.hours ul {
    list-style: none;
}

.hours li {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--slate-200);
    font-size: 0.9375rem;
    color: var(--slate-600);
}

.hours li span:last-child {
    color: var(--slate-800);
    font-weight: 400;
}

.visit-map {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visit-map img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 2px;
}

/* ===== Contact ===== */
.contact {
    padding: 8rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-content .section-title {
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--slate-600);
}

.contact-item:hover {
    color: var(--teal-600);
}

.contact-item svg {
    color: var(--teal-500);
    flex-shrink: 0;
}

/* ===== Form ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate-600);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--slate-800);
    padding: 0.875rem 1rem;
    border: 1px solid var(--slate-200);
    border-radius: 2px;
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-300);
}

.form-success {
    text-align: center;
    padding: 1.25rem;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: 2px;
    color: var(--teal-700);
    font-size: 0.9375rem;
}

/* ===== Footer ===== */
.footer {
    padding: 5rem 0 2rem;
    background: var(--slate-900);
    color: var(--slate-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--slate-400);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--slate-400);
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: var(--slate-400);
}

.footer-contact a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--slate-800);
    font-size: 0.8125rem;
    color: var(--slate-500);
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .visit-grid,
    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform var(--transition);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.125rem;
    }

    .about-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 350px;
    }

    .about-image::before {
        top: -10px;
        left: -10px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero {
        min-height: 600px;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about,
    .roasting,
    .shop,
    .visit,
    .contact {
        padding: 5rem 0;
    }
}
