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

:root {
    --navy: #1a2744;
    --navy-light: #243352;
    --navy-dark: #121d33;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --gold-dark: #b8943f;
    --cream: #f5f0e8;
    --cream-light: #faf7f2;
    --cream-dark: #e8e0d0;
    --text-dark: #1a1a1a;
    --text-mid: #4a4a4a;
    --text-light: #7a7a7a;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 3px rgba(26, 39, 68, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 39, 68, 0.1);
    --shadow-lg: 0 8px 32px rgba(26, 39, 68, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

/* ── Loader ── */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-icon {
    animation: loaderPulse 1.2s ease-in-out infinite;
    margin-bottom: 16px;
}

.loader-text {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1); }
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 39, 68, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-logo-icon {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover {
    color: var(--gold);
}

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

.nav-link--cta {
    padding: 8px 20px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    color: var(--gold);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--gold);
    color: var(--navy);
}

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

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: 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(
        to bottom,
        rgba(18, 29, 51, 0.72) 0%,
        rgba(26, 39, 68, 0.65) 40%,
        rgba(26, 39, 68, 0.80) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-details {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.9s;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition);
    animation: fadeUp 0.8s ease forwards 1.1s;
    opacity: 0;
}

.hero-scroll:hover {
    color: var(--gold);
}

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn--gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

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

.btn--outline-light:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

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

/* ── Section Labels ── */
.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title .accent {
    color: var(--gold-dark);
    font-style: italic;
    font-weight: 400;
}

.section-subtitle {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 520px;
}

/* ── Heritage ── */
.heritage {
    padding: 120px 0;
    background: var(--cream-light);
}

.heritage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.heritage-image-wrap {
    position: relative;
}

.heritage-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: var(--shadow-lg);
}

.heritage-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 2px solid var(--gold);
    border-radius: 2px;
    z-index: -1;
}

.heritage-content {
    padding: 16px 0;
}

.heritage-content p {
    color: var(--text-mid);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

.heritage-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-dark);
}

.heritage-stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
}

.heritage-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-dark);
}

/* ── Brews ── */
.brews {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
}

.brews::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.02' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.brews .container {
    position: relative;
    z-index: 1;
}

.brews .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.brews .section-title {
    color: var(--white);
}

.brews .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
}

.brew-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.brew-card {
    background: var(--navy-light);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(201, 168, 76, 0.08);
}

.brew-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(201, 168, 76, 0.2);
}

.brew-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.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.08);
}

.brew-card-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 1px;
}

.brew-card-body {
    padding: 24px 20px;
}

.brew-card-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.brew-card-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    margin-bottom: 16px;
}

.brew-card-meta {
    display: flex;
    gap: 12px;
}

.brew-style, .brew-abv {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
    padding: 4px 10px;
    border-radius: 1px;
}

/* ── Bakes ── */
.bakes {
    padding: 120px 0;
    background: var(--cream);
}

.bakes-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.bakes-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: var(--shadow-lg);
}

.bakes-content {
    padding: 16px 0;
}

.bakes-content p {
    color: var(--text-mid);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

.bakes-list {
    list-style: none;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bakes-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── Visit ── */
.visit {
    padding: 120px 0;
    background: var(--cream-light);
}

.visit-header {
    text-align: center;
    margin-bottom: 56px;
}

.visit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.visit-card {
    background: var(--white);
    padding: 40px 28px;
    border-radius: 2px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.visit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 168, 76, 0.2);
}

.visit-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.08);
    border-radius: 50%;
}

.visit-card-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.visit-card p {
    color: var(--text-mid);
    font-size: 0.9rem;
    line-height: 1.7;
}

.visit-card a {
    color: var(--gold-dark);
    transition: var(--transition);
}

.visit-card a:hover {
    color: var(--navy);
}

/* ── Contact ── */
.contact {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-detail a {
    color: var(--gold);
    transition: var(--transition);
}

.contact-detail a:hover {
    color: var(--gold-light);
}

.contact-form-wrap {
    background: var(--navy-light);
    padding: 48px;
    border-radius: 2px;
    border: 1px solid rgba(201, 168, 76, 0.12);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--white);
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.06);
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    text-align: center;
    color: var(--gold);
}

.form-success p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* ── Footer ── */
.footer {
    background: var(--navy-dark);
    padding: 72px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-logo svg {
    color: var(--gold);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-hours h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
    transition: var(--transition);
}

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

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-hours p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

/* ── Scroll Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .heritage-grid,
    .bakes-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .heritage-image-wrap {
        order: -1;
    }
    
    .heritage-image-wrap img,
    .bakes-image img {
        height: 360px;
    }
    
    .heritage-image-accent {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }
    
    .brew-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-details {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .heritage-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .heritage-stat-divider {
        width: 40px;
        height: 1px;
    }
}
