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

:root {
    --color-burgundy: #7B2D3B;
    --color-burgundy-deep: #5C1F2B;
    --color-burgundy-light: #9A3E4E;
    --color-blush: #FDF2F2;
    --color-blush-mid: #F8E4E4;
    --color-cream: #FEFAF9;
    --color-white: #FFFFFF;
    --color-text: #1A1A1A;
    --color-text-muted: #6B6B6B;
    --color-text-light: #9A9A9A;
    --color-line: #E8D8D8;
    --color-line-light: #F0E0E0;

    --font-serif: 'Cormorant Garamond', 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;

    --container-max: 1200px;
    --header-height: 72px;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ── Preloader ── */
#page-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-line {
    width: 40px;
    height: 1px;
    background: var(--color-blush);
    animation: preloaderLine 1s ease-in-out infinite;
}

@keyframes preloaderLine {
    0%, 100% { transform: scaleX(0.3); opacity: 0.3; }
    50% { transform: scaleX(1); opacity: 1; }
}

/* ── Skip Link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--color-burgundy);
    color: var(--color-blush);
    padding: var(--space-xs) var(--space-sm);
    z-index: 100;
    font-size: 0.875rem;
    transition: top 0.2s;
}

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

/* ── Header ── */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#site-header.scrolled {
    background: rgba(254, 250, 249, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--color-line);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    z-index: 101;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-burgundy);
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.logo:hover .logo-mark {
    background: var(--color-burgundy);
    color: var(--color-blush);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-text);
}

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

.main-nav a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    position: relative;
    transition: color 0.3s ease;
}

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

.main-nav a:hover,
.main-nav a:focus {
    color: var(--color-burgundy);
}

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

.nav-cta {
    color: var(--color-burgundy) !important;
    border: 1px solid var(--color-burgundy);
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    transition: background 0.3s ease, color 0.3s ease !important;
}

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

.nav-cta:hover {
    background: var(--color-burgundy);
    color: var(--color-blush) !important;
}

/* ── Mobile Menu Toggle ── */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 101;
}

.menu-toggle-line {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

/* ── Hero ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.45) 0%,
        rgba(26, 26, 26, 0.55) 50%,
        rgba(26, 26, 26, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding-top: var(--header-height);
}

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

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 480px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--color-burgundy);
    color: var(--color-blush);
    border-color: var(--color-burgundy);
}

.btn-primary:hover {
    background: var(--color-burgundy-deep);
    border-color: var(--color-burgundy-deep);
}

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

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

.btn-full {
    width: 100%;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-md);
    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;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Section Shared ── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-text);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

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

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

.about-image-wrap {
    overflow: hidden;
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

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

.about-divider {
    width: 48px;
    height: 1px;
    background: var(--color-burgundy);
    margin: var(--space-md) 0;
}

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

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-burgundy);
    line-height: 1;
}

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

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--color-line);
    flex-shrink: 0;
}

/* ── Products ── */
.products {
    padding: var(--space-2xl) 0;
    background: var(--color-white);
}

.products-line {
    width: 100%;
    height: 1px;
    background: var(--color-line);
}

.products-line--bottom {
    margin-top: var(--space-2xl);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.product-card {
    group: product;
}

.product-card-img {
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.6s ease;
}

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

.product-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.375rem;
}

.product-card-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-sm);
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item--tall {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
    aspect-ratio: 5/7;
}

.gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
    grid-column: span 6;
    aspect-ratio: 5/4;
}

.gallery-item--wide {
    grid-column: 1 / 13;
    aspect-ratio: 2/1;
}

/* ── Visit ── */
.visit {
    padding: var(--space-2xl) 0;
    background: var(--color-burgundy);
    color: var(--color-blush);
}

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

.visit .section-eyebrow {
    color: var(--color-blush);
    opacity: 0.7;
}

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

.visit-address {
    font-style: normal;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.visit-phone a {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: rgba(253, 242, 242, 0.7);
    transition: color 0.3s ease;
    letter-spacing: 0.04em;
}

.visit-phone a:hover {
    color: var(--color-white);
}

.visit-icon {
    display: inline-flex;
    opacity: 0.6;
}

.visit-map-wrap {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.visit-map-wrap iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: saturate(0.6) contrast(1.05);
    transition: filter 0.3s ease;
}

.visit-map-wrap:hover iframe {
    filter: saturate(0.8) contrast(1.05);
}

/* ── Contact ── */
.contact {
    padding: var(--space-2xl) 0;
    background: var(--color-blush);
}

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

.contact-info p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-line);
}

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

.contact-detail-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--color-text);
}

.contact-detail-link {
    font-size: 1rem;
    color: var(--color-burgundy);
    transition: color 0.3s ease;
}

.contact-detail-link:hover {
    color: var(--color-burgundy-deep);
    text-decoration: underline;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.form-input {
    width: 100%;
    padding: 0.875rem 0;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-text);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-line);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

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

.form-input:focus {
    border-bottom-color: var(--color-burgundy);
}

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

.form-success,
.form-error {
    font-size: 0.875rem;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
}

.form-success {
    color: #1a6b3c;
}

.form-error {
    color: var(--color-burgundy);
}

/* ── Footer ── */
#site-footer {
    padding: var(--space-lg) 0;
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: var(--space-xs);
}

.footer-brand .logo-mark {
    border-color: rgba(253, 242, 242, 0.4);
    color: var(--color-blush);
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-copy {
    font-size: 0.8125rem;
    font-weight: 300;
}

.footer-address {
    font-size: 0.8125rem;
    font-weight: 300;
}

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

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

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

    .gallery-item--tall {
        grid-column: 1 / 7;
        grid-row: auto;
    }

    .gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
        grid-column: span 6;
    }

    .gallery-item--wide {
        grid-column: 1 / 13;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 100;
        background: var(--color-cream);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .main-nav a {
        font-size: 1rem;
        letter-spacing: 0.12em;
    }

    .nav-cta {
        border: none;
        padding: 0;
    }

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

    .about-grid,
    .visit-inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .about-image-wrap {
        aspect-ratio: 4/3;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

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

    .gallery-item--tall,
    .gallery-item:not(.gallery-item--tall):not(.gallery-item--wide),
    .gallery-item--wide {
        grid-column: 1 / -1;
        aspect-ratio: 4/3;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

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

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}
