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

:root {
    --terracotta: #B5654A;
    --terracotta-dark: #8B4A35;
    --terracotta-light: #D4917B;
    --sand: #E8D5C0;
    --sand-light: #F5EDE3;
    --sand-lighter: #FAF6F1;
    --cream: #FDFBF8;
    --dark: #1A1614;
    --dark-soft: #2C2522;
    --gray: #6B6560;
    --gray-light: #9E9690;
    --line: rgba(181, 101, 74, 0.15);
    --line-strong: rgba(181, 101, 74, 0.3);
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-sm) 0;
    transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(253, 251, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--cream);
    transition: color 0.3s ease;
}

.nav.scrolled .nav-logo {
    color: var(--dark);
}

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

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(253, 251, 248, 0.8);
    transition: color 0.3s ease;
    position: relative;
}

.nav.scrolled .nav-links a {
    color: var(--gray);
}

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

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

.nav-links a:hover,
.nav-links a:focus {
    color: var(--terracotta);
}

.nav.scrolled .nav-links a:hover {
    color: var(--terracotta);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--cream);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.scrolled .nav-toggle-line {
    background: var(--dark);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 22, 20, 0.55) 0%,
        rgba(26, 22, 20, 0.45) 50%,
        rgba(26, 22, 20, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 var(--space-md);
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: var(--space-sm);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--cream);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(245, 237, 227, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 237, 227, 0.5);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(245, 237, 227, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--cream);
    border-color: rgba(253, 251, 248, 0.4);
}

.btn-ghost:hover {
    border-color: var(--cream);
    background: rgba(253, 251, 248, 0.08);
}

.btn-full {
    width: 100%;
}

/* ─── LABELS ─── */
.label {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: var(--space-sm);
}

/* ─── SECTION ─── */
.section {
    padding: var(--space-2xl) 0;
}

.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto var(--space-xl);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ─── DIVIDER ─── */
.divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.divider::after {
    content: '';
    display: block;
    height: 1px;
    background: var(--line);
}

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

.about-text .label {
    margin-bottom: var(--space-xs);
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

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

.about-image {
    position: relative;
}

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

.about-image::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 60%;
    height: 60%;
    border: 1px solid var(--line-strong);
    z-index: -1;
}

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

.beer-card {
    position: relative;
    background: var(--sand-lighter);
    border: 1px solid var(--line);
    padding: var(--space-md);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.beer-card:hover {
    border-color: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(181, 101, 74, 0.08);
}

.beer-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--terracotta);
}

.beer-card-body {
    padding-top: var(--space-sm);
}

.beer-style {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: var(--space-xs);
}

.beer-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: var(--space-xs);
}

.beer-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.beer-meta {
    display: flex;
    gap: var(--space-xs);
    font-size: 0.78rem;
    color: var(--gray-light);
}

.beer-sep {
    color: var(--line-strong);
}

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

/* ─── VISIT ─── */
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.visit-info .label {
    margin-bottom: var(--space-xs);
}

.visit-info h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: var(--space-md);
}

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

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

.visit-icon {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--terracotta);
}

.visit-detail strong {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.7;
}

.visit-detail a {
    color: var(--terracotta);
    transition: color 0.3s ease;
}

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

.visit-map {
    height: 420px;
    border: 1px solid var(--line);
    overflow: hidden;
}

/* ─── CONTACT ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-text .label {
    margin-bottom: var(--space-xs);
}

.contact-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.contact-phone {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--terracotta);
    transition: color 0.3s ease;
}

.contact-phone:hover {
    color: var(--terracotta-dark);
}

/* ─── FORM ─── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--dark);
    background: var(--sand-lighter);
    border: 1px solid var(--line);
    padding: 0.85rem 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(181, 101, 74, 0.08);
}

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

.form-success {
    display: none;
    text-align: center;
    font-size: 0.9rem;
    color: var(--terracotta);
    padding: var(--space-sm);
    background: rgba(181, 101, 74, 0.06);
    border: 1px solid var(--line-strong);
}

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

/* ─── FOOTER ─── */
.footer {
    background: var(--dark);
    color: var(--sand);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-md);
    align-items: start;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(232, 213, 192, 0.1);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--cream);
    display: block;
    margin-bottom: var(--space-xs);
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--gray-light);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.footer-links a {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-light);
    transition: color 0.3s ease;
}

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

.footer-contact {
    text-align: right;
}

.footer-contact a {
    font-size: 0.92rem;
    color: var(--sand);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: var(--space-md);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 0.05em;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .about-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

    .about-image {
        order: -1;
    }

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

    .about-image::after {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-md);
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 640px) {
    :root {
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    }

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

    .nav-links a {
        color: var(--dark) !important;
        font-size: 0.9rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

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

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

    .visit-map {
        height: 280px;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
