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

:root {
    --terracotta: #C2594A;
    --terracotta-dark: #A04436;
    --terracotta-light: #D4786A;
    --sand: #F5EDE3;
    --sand-light: #FAF6F1;
    --sand-dark: #E8DDD0;
    --cream: #FDF9F4;
    --charcoal: #2A2220;
    --charcoal-light: #4A3F3A;
    --warm-gray: #7A6E67;
    --warm-gray-light: #A89890;
    --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: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--terracotta-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--charcoal);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: var(--space-sm);
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 249, 244, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-dark);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(42, 34, 32, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--charcoal);
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--terracotta);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

.main-nav a {
    color: var(--charcoal-light);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width var(--transition);
}

.main-nav a:hover {
    color: var(--charcoal);
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.nav-toggle:hover {
    background: var(--sand);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(42, 34, 32, 0.5) 0%,
        rgba(42, 34, 32, 0.7) 50%,
        rgba(42, 34, 32, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta-light);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

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

.hero-sub {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto var(--space-lg);
    font-weight: 300;
}

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

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

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

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194, 89, 74, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

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

.btn-outline:hover {
    background: var(--terracotta);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ===== SECTION COMMON ===== */
.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: var(--space-sm);
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--charcoal);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-sub {
    font-size: 1.125rem;
    color: var(--warm-gray);
    line-height: 1.7;
    max-width: 560px;
}

/* ===== ABOUT ===== */
.about {
    padding: var(--space-2xl) 0;
    background: var(--cream);
}

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

.about-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.about-text {
    padding: var(--space-md) 0;
}

.about-text p {
    font-size: 1.0625rem;
    color: var(--charcoal-light);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--sand-dark);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--terracotta);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--warm-gray);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ===== BEERS ===== */
.beers {
    padding: var(--space-2xl) 0;
    background: var(--sand);
}

.beers-eyebrow {
    text-align: center;
}

.beers-headline {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.beers > .container > .section-sub {
    text-align: center;
    margin: 0 auto var(--space-lg);
}

.beer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.beer-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition);
    border: 1px solid var(--sand-dark);
}

.beer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(42, 34, 32, 0.1);
    border-color: transparent;
}

.beer-card-icon {
    width: 56px;
    height: 56px;
    background: var(--sand);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: var(--space-md);
}

.beer-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.beer-style {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--terracotta);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.beer-desc {
    font-size: 0.9375rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

.taproom-note {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--warm-gray-light);
    font-style: italic;
}

/* ===== VISIT ===== */
.visit {
    padding: var(--space-2xl) 0;
    background: var(--cream);
}

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

.visit-headline {
    margin-bottom: var(--space-lg);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.visit-detail {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.visit-detail svg {
    color: var(--terracotta);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.visit-detail strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.visit-detail p {
    font-size: 0.9375rem;
    color: var(--charcoal-light);
    line-height: 1.7;
}

.visit-detail a {
    color: var(--terracotta);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 9/7;
    background: var(--sand-dark);
}

.visit-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== CONTACT ===== */
.contact {
    padding: var(--space-2xl) 0;
    background: var(--charcoal);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.contact-text .section-headline {
    color: var(--white);
}

.contact-text .section-sub {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.contact-text .section-eyebrow {
    color: var(--terracotta-light);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: all var(--transition);
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background: rgba(255, 255, 255, 0.1);
}

.form-group 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='rgba(255,255,255,0.5)' 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 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--charcoal);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    margin-top: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: var(--radius-sm);
    color: #81C784;
    font-size: 0.9375rem;
    text-align: center;
}

.form-success.show {
    display: block;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--charcoal);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-lg) 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand .logo-mark {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.25rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--terracotta-light);
}

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
}

.footer-copy a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-copy a:hover {
    color: var(--terracotta-light);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-grid,
    .visit-layout,
    .contact-inner {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrap {
        aspect-ratio: 16/9;
    }
    
    .beer-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        order: -1;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 640px) {
    :root {
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 249, 244, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--sand-dark);
        padding: var(--space-md);
        transform: translateY(-120%);
        transition: transform var(--transition);
        z-index: 99;
    }
    
    .main-nav.open {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .main-nav a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.0625rem;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: var(--space-md);
    }
}
