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

:root {
    --forest: #1B4332;
    --forest-deep: #0D2818;
    --forest-mid: #2D6A4F;
    --forest-light: #40916C;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --cream-dark: #E8DFD0;
    --warm: #D4A373;
    --warm-light: #E8C9A0;
    --warm-dark: #B07D4F;
    --charcoal: #1A1A1A;
    --text-dark: #1C1C1C;
    --text-mid: #3D3D3D;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

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

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

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

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(27, 67, 50, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-logo-icon {
    color: var(--warm);
    flex-shrink: 0;
}

.nav-logo-text {
    display: none;
}

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

.nav-link {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: color 0.3s, background 0.3s;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-link--cta {
    background: var(--warm);
    color: var(--forest-deep);
    margin-left: 0.5rem;
    font-weight: 600;
}

.nav-link--cta:hover {
    background: var(--warm-light);
    color: var(--forest-deep);
}

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

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 40, 24, 0.55) 0%,
        rgba(27, 67, 50, 0.7) 50%,
        rgba(13, 40, 24, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 80px;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm);
    background: rgba(212, 163, 115, 0.15);
    border: 1px solid rgba(212, 163, 115, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.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: 1.5rem;
    max-width: 800px;
    letter-spacing: -0.02em;
}

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

.hero-subhead {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.8);
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

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

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

.btn--primary {
    background: var(--warm);
    color: var(--forest-deep);
    border-color: var(--warm);
}

.btn--primary:hover {
    background: var(--warm-light);
    border-color: var(--warm-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 163, 115, 0.3);
}

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

.btn--outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

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

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

/* ─── HERO SCROLL ─── */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

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

/* ─── SECTION COMMON ─── */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--forest);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.section-title em {
    font-style: italic;
    color: var(--forest-mid);
}

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

.section-title--light em {
    color: var(--warm-light);
}

.section-lead {
    font-size: 1.125rem;
    color: var(--text-mid);
    line-height: 1.75;
    max-width: 600px;
}

.section-lead em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--forest);
}

.eyebrow-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-mid);
    margin-bottom: 1rem;
}

.eyebrow-text--light {
    color: var(--warm);
}

.divider-line {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--warm);
    border: none;
    margin-bottom: 1.25rem;
}

.divider-line--light {
    background: var(--warm);
}

/* ─── FEATURES ─── */
.features {
    padding: 7rem 0;
    background: var(--cream-light);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.features-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.features-eyebrow .divider-line {
    margin-bottom: 0;
    width: 32px;
}

.features-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--cream-dark);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--forest), var(--forest-light));
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(27, 67, 50, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 10px;
    color: var(--forest);
    margin-bottom: 1.25rem;
}

.feature-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.feature-card-body {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ─── PRODUCTS ─── */
.products {
    padding: 7rem 0;
    background: var(--cream);
}

.products-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.products-header .divider-line {
    margin-bottom: 1rem;
}

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

.product-tile {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--cream-dark);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.product-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(27, 67, 50, 0.1);
}

.product-tile-img {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.product-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.product-tile:hover .product-tile-img img {
    transform: scale(1.05);
}

.product-tile-content {
    padding: 1.75rem;
}

.product-tile-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.product-tile-desc {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.65;
}

/* ─── HERITAGE ─── */
.heritage {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

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

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

.heritage-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 40, 24, 0.92) 0%,
        rgba(27, 67, 50, 0.88) 50%,
        rgba(45, 106, 79, 0.85) 100%
    );
}

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

.heritage-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.heritage-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
}

.heritage-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.heritage-text p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.heritage-text p:first-child {
    font-size: 1.1875rem;
    color: rgba(255,255,255,0.9);
}

.heritage-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 1rem;
}

.heritage-stat {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.heritage-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.heritage-stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--warm);
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.heritage-stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

/* ─── VISIT ─── */
.visit {
    padding: 7rem 0;
    background: var(--cream-light);
}

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

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

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

.visit-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.visit-detail-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 10px;
    color: var(--forest);
}

.visit-detail-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 2px;
}

.visit-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.visit-detail-value {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.visit-detail-link {
    color: var(--forest-mid);
    font-weight: 500;
    transition: color 0.3s;
}

.visit-detail-link:hover {
    color: var(--forest);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    font-size: 0.9375rem;
}

.hours-row--closed .visit-detail-value {
    color: var(--text-light);
    font-style: italic;
}

.visit-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.visit-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27, 67, 50, 0.12);
    border: 1px solid var(--cream-dark);
}

.visit-map-wrapper {
    aspect-ratio: 4/3;
}

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

/* ─── FOOTER ─── */
.footer {
    background: var(--forest-deep);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 0.85;
}

.footer-logo-icon {
    color: var(--warm);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    max-width: 300px;
}

.footer-nav-label,
.footer-contact .footer-nav-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1rem;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav-list a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.footer-nav-list a:hover {
    color: var(--warm);
}

.footer-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-phone {
    color: var(--warm);
    transition: color 0.3s;
}

.footer-phone:hover {
    color: var(--warm-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

.footer-locale {
    color: rgba(255,255,255,0.25);
}

/* ─── SCROLL REVEAL (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ─── RESPONSIVE ─── */
@media (min-width: 640px) {
    .nav-logo-text {
        display: block;
    }
}

@media (max-width: 1024px) {
    .features-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .heritage-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .visit-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .visit-map {
        order: -1;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 0.25rem;
        background: var(--forest-deep);
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: -8px 0 32px rgba(0,0,0,0.3);
    }

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

    .nav-link {
        font-size: 1.0625rem;
        padding: 0.75rem 0;
        width: 100%;
    }

    .nav-link--cta {
        margin-left: 0;
        margin-top: 0.75rem;
        text-align: center;
        justify-content: center;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-headline {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }
}

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

    .nav-container {
        padding: 0 1.25rem;
    }

    .features,
    .products,
    .visit {
        padding: 5rem 0;
    }

    .heritage {
        padding: 5rem 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
        width: 100%;
    }

    .visit-cta-group {
        flex-direction: column;
    }
}
