/* ============================================
   REYNOLD'S MARKET — Brand Styles
   Palette: Forest Green (#1A3C2A) + Off-White (#F5F0E8)
   Typography: Playfair Display + Inter
   ============================================ */

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

:root {
    --green-dark: #1A3C2A;
    --green-mid: #2D5A3F;
    --green-light: #3D7A54;
    --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: '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;
}

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

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-dark);
    color: var(--cream);
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-size: 0.875rem;
    font-weight: 500;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), padding 0.3s var(--ease-out);
}

.site-header.scrolled {
    background-color: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 60, 42, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--green-dark);
    color: var(--cream);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 8px;
    transition: transform 0.3s var(--ease-out), background 0.3s;
}

.logo:hover .logo-mark {
    transform: rotate(-5deg) scale(1.05);
}

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

.site-header:not(.scrolled) .logo-text,
.site-header:not(.scrolled) .nav-list a {
    color: var(--white);
}

/* NAV */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-dark);
    position: relative;
    transition: background 0.3s, transform 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--green-dark);
    left: 0;
    transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-list a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--green-dark);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--green-light);
    transition: width 0.3s var(--ease-out);
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn--dark {
    background: var(--green-dark);
    color: var(--cream);
    border-color: var(--green-dark);
}

.btn--dark:hover {
    background: var(--green-mid);
    border-color: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 60, 42, 0.25);
}

.btn--light {
    background: var(--cream);
    color: var(--green-dark);
    border-color: var(--cream);
}

.btn--light:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--ghost-light {
    background: transparent;
    color: var(--cream);
    border-color: rgba(245, 240, 232, 0.5);
}

.btn--ghost-light:hover {
    background: rgba(245, 240, 232, 0.1);
    border-color: var(--cream);
}

.btn--ghost-dark {
    background: transparent;
    color: var(--green-dark);
    border-color: var(--green-dark);
}

.btn--ghost-dark:hover {
    background: var(--green-dark);
    color: var(--cream);
}

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

.btn--nav {
    padding: 10px 20px;
    font-size: 0.8125rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: 1200px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 60, 42, 0.55) 0%,
        rgba(26, 60, 42, 0.40) 40%,
        rgba(26, 60, 42, 0.70) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    max-width: 800px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--cream);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 720px;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(245, 240, 232, 0.85);
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.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(245, 240, 232, 0.6);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
    padding: 120px 0;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--green-dark);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

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

/* ============================================
   PRODUCTS
   ============================================ */
.products {
    background: var(--cream);
}

.products .container:first-of-type {
    margin-bottom: 64px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26, 60, 42, 0.06);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 60, 42, 0.12);
}

.product-card-img {
    overflow: hidden;
    aspect-ratio: 3/2;
}

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

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

.product-card-body {
    padding: 28px 32px 32px;
}

.product-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

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

/* ============================================
   EDITORIAL STRIP
   ============================================ */
.editorial-strip {
    background: var(--green-dark);
    padding: 100px 0;
}

.editorial-quote {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quote-mark {
    color: var(--green-light);
    margin-bottom: 24px;
    opacity: 0.6;
}

.editorial-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    color: var(--cream);
    margin-bottom: 28px;
}

.editorial-quote footer {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.5);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--cream-light);
}

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

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(26, 60, 42, 0.15);
}

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

.about-content .section-title {
    margin-bottom: 28px;
}

.about-content p {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--cream-dark);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    background: var(--cream);
}

.visit-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.visit-header .section-title {
    margin-bottom: 16px;
}

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

.visit-card {
    background: var(--white);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(26, 60, 42, 0.05);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.visit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 60, 42, 0.1);
}

.visit-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-dark);
    border-radius: 12px;
    color: var(--cream);
}

.visit-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
}

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

.visit-card a {
    color: var(--green-light);
    font-weight: 500;
    transition: color 0.2s;
}

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

.visit-note {
    font-size: 0.8125rem !important;
    color: var(--text-light) !important;
    font-style: italic;
    margin-top: 6px !important;
}

/* ============================================
   CTA / CONTACT FORM
   ============================================ */
.cta {
    background: var(--green-dark);
    padding: 120px 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.cta-content .section-label {
    color: rgba(245, 240, 232, 0.5);
}

.cta-content .section-title {
    color: var(--cream);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.0625rem;
    color: rgba(245, 240, 232, 0.7);
    line-height: 1.75;
}

.cta-form-wrap {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.cta-form .form-group {
    margin-bottom: 20px;
}

.cta-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--cream-light);
    border: 1.5px solid var(--cream-dark);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

.cta-form input:focus,
.cta-form textarea:focus {
    border-color: var(--green-light);
    box-shadow: 0 0 0 3px rgba(61, 122, 84, 0.12);
}

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

.form-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 12px;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    color: var(--green-light);
    margin: 0 auto 20px;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #142E20;
    color: var(--cream);
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.footer-brand .logo-mark {
    margin-bottom: 12px;
}

.footer-brand .logo-text {
    color: var(--cream);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.5);
    line-height: 1.6;
    max-width: 280px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    color: var(--cream);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.5);
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(245, 240, 232, 0.7);
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }

    .cta-grid {
        gap: 48px;
    }

    .visit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 80px 0;
    }

    /* Mobile nav */
    .nav-toggle {
        display: block;
    }

    .nav-list {
        position: fixed;
        inset: 0;
        background: rgba(245, 240, 232, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s var(--ease-out), visibility 0.4s;
    }

    .nav-list.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list a {
        font-size: 1.25rem;
        color: var(--green-dark) !important;
    }

    .nav-list a::after {
        background: var(--green-light);
    }

    /* Hero */
    .hero {
        min-height: 600px;
    }

    .hero-content {
        padding-top: 100px;
    }

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

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

    .hero-scroll {
        display: none;
    }

    /* Products */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-stats {
        gap: 32px;
    }

    /* Editorial */
    .editorial-strip {
        padding: 64px 0;
    }

    /* Visit */
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* CTA */
    .cta {
        padding: 80px 0;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cta-form-wrap {
        padding: 28px;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-inner {
        height: 68px;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}
