:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50: #ecfdf5;
    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
    --cream-200: #f5f0e1;
    --cream-300: #e8e0cc;
    --ink-900: #1a1a1a;
    --ink-800: #2d2d2d;
    --ink-700: #3d3d3d;
    --ink-600: #525252;
    --ink-400: #737373;
    --ink-300: #a3a3a3;
    --white: #ffffff;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-800);
    background-color: var(--cream-50);
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink-900);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--ink-600);
    max-width: 600px;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--ink-800);
    border-color: var(--ink-300);
}

.btn-secondary:hover {
    border-color: var(--emerald-700);
    color: var(--emerald-700);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--emerald-800);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-nav {
    background-color: var(--emerald-700);
    color: var(--white);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-nav:hover {
    background-color: var(--emerald-800);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink-900);
}

.logo-icon {
    color: var(--emerald-700);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-links a:not(.btn) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-600);
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--emerald-700);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--emerald-700);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--ink-800);
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--cream-50);
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    flex: 1;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink-900);
    margin-bottom: var(--space-lg);
}

.hero-title em {
    font-style: italic;
    color: var(--emerald-700);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--ink-600);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--ink-400);
}

.meta-item svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background-color: var(--emerald-100);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--cream-50);
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* About */
.about {
    background-color: var(--cream-50);
    padding: var(--space-4xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-50);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stat {
    position: absolute;
    top: -20px;
    right: 40px;
    background-color: var(--emerald-700);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    opacity: 0.9;
}

.about-content {
    padding: var(--space-lg) 0;
}

.about-content > p {
    font-size: 1.0625rem;
    color: var(--ink-600);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.value-item {
    display: flex;
    gap: var(--space-md);
}

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--emerald-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}

.value-item h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.9375rem;
    color: var(--ink-600);
    line-height: 1.6;
}

/* Brews */
.brews {
    background-color: var(--cream-100);
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

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

.brews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.brew-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.brew-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.brew-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.brew-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.brew-card:hover .brew-card-image img {
    transform: scale(1.05);
}

.brew-tag {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    background-color: var(--white);
    color: var(--ink-900);
}

.brew-tag-dark {
    background-color: var(--ink-900);
    color: var(--white);
}

.brew-tag-light {
    background-color: var(--cream-200);
    color: var(--ink-700);
}

.brew-card-content {
    padding: var(--space-lg);
}

.brew-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.brew-card-top h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ink-900);
}

.brew-abv {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald-700);
    background-color: var(--emerald-50);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
}

.brew-description {
    font-size: 0.9375rem;
    color: var(--ink-600);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.brew-meta {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.brew-style {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brew-bitterness {
    font-size: 0.8125rem;
    color: var(--ink-400);
}

.brews-cta {
    text-align: center;
    padding: var(--space-2xl);
    background-color: var(--white);
    border-radius: var(--radius-lg);
}

.brews-cta p {
    font-size: 1.0625rem;
    color: var(--ink-600);
    margin-bottom: var(--space-md);
}

.brews-cta .btn {
    margin: 0 auto;
}

/* Visit */
.visit {
    background-color: var(--cream-50);
    padding: var(--space-4xl) 0;
}

.visit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.visit-description {
    font-size: 1.0625rem;
    color: var(--ink-600);
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.detail-item {
    display: flex;
    gap: var(--space-md);
}

.detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--emerald-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}

.detail-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 4px;
}

.detail-item p {
    font-size: 0.9375rem;
    color: var(--ink-600);
    line-height: 1.6;
}

.detail-item a {
    color: var(--emerald-700);
    font-weight: 500;
    transition: color 0.2s ease;
}

.detail-item a:hover {
    color: var(--emerald-800);
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.visit-map iframe {
    width: 100%;
    height: 100%;
}

/* Gallery */
.gallery {
    background-color: var(--cream-100);
    padding: var(--space-4xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: var(--space-md);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-item.large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.gallery-item.tall {
    grid-row: 1 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    background-color: var(--emerald-800);
    padding: var(--space-4xl) 0;
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-section .section-eyebrow {
    color: var(--emerald-300);
}

.cta-section .section-title {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--ink-900);
    color: rgba(255,255,255,0.7);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: var(--space-md);
    max-width: 280px;
}

.footer-info h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.footer-info p {
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-info a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s ease;
}

.footer-info a:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}

/* Mobile Menu */
.nav-links.active {
    display: flex;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        gap: var(--space-2xl);
    }
    
    .about-grid {
        gap: var(--space-2xl);
    }
    
    .brews-grid {
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--cream-50);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--cream-200);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-meta {
        align-items: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-accent {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-img-secondary {
        right: 0;
    }
    
    .brews-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-content {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        order: -1;
        aspect-ratio: 16/9;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    
    .gallery-item.large {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    
    .gallery-item.tall {
        grid-column: 2 / 3;
        grid-row: 2 / 4;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    
    .footer-brand {
        grid-column: 1 / 3;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item.large,
    .gallery-item.tall {
        grid-column: 1;
        grid-row: auto;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: 1;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

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