/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --charcoal-900: #1a1a1a;
    --charcoal-800: #2d2d2d;
    --charcoal-700: #3d3d3d;
    --charcoal-600: #555555;
    --charcoal-500: #6e6e6e;
    --charcoal-400: #8a8a8a;
    --charcoal-300: #b0b0b0;
    --charcoal-200: #d4d4d4;
    --charcoal-100: #ececec;
    --charcoal-50:  #f7f7f7;
    
    --coral-600: #d4546a;
    --coral-500: #f97583;
    --coral-400: #fb939e;
    --coral-300: #fcb4bc;
    --coral-200: #fdd8de;
    --coral-100: #fdeeee;
    --coral-50:  #fef6f7;
    
    --cream: #faf9f7;
    --warm-white: #fdfcfa;
    
    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 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(--charcoal-800);
    background-color: var(--warm-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: var(--coral-500);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--coral-600);
}

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

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--charcoal-900);
    color: #fff;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 200;
    font-size: 0.875rem;
}

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

/* ===== HEADER / NAV ===== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--charcoal-200);
    transition: box-shadow var(--transition);
}

#site-header.scrolled {
    box-shadow: 0 1px 20px rgba(26, 26, 26, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--charcoal-900);
}

.logo-mark {
    font-size: 1.25rem;
    color: var(--coral-500);
    line-height: 1;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

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

.nav-links a {
    color: var(--charcoal-600);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--coral-500);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--charcoal-900);
}

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

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 110;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal-800);
    position: relative;
    transition: background var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--charcoal-800);
    left: 0;
    transition: transform var(--transition);
}

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

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal-900);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 26, 0.4) 0%,
        rgba(26, 26, 26, 0.6) 50%,
        rgba(26, 26, 26, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 860px;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral-400);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: #fff;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

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

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--charcoal-300);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

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

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--charcoal-400);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--coral-500);
    color: #fff;
}

.btn-primary:hover {
    background: var(--coral-600);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(249, 117, 131, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: #fff;
    color: #fff;
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 0.9rem;
}

/* ===== SECTIONS ===== */
.section-pad {
    padding: var(--space-3xl) 0;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--charcoal-900);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-intro {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--charcoal-600);
    line-height: 1.8;
    max-width: 680px;
}

.title-wide {
    max-width: 800px;
}

/* ===== DIVIDER ===== */
.section-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--charcoal-200);
}

.divider-star {
    color: var(--coral-500);
    font-size: 0.875rem;
    flex-shrink: 0;
}

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

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

.about-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(249, 117, 131, 0.2);
    border-radius: var(--radius-md);
    pointer-events: none;
}

.about-text {
    padding: var(--space-md) 0;
}

.about-text p {
    color: var(--charcoal-600);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-text p:first-of-type {
    font-size: 1.05rem;
}

/* ===== BAKERY ===== */
.bakery {
    background: var(--cream);
}

.bakery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.bakery-card {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.bakery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(26, 26, 26, 0.1);
}

.bakery-card-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.bakery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.bakery-card-body {
    padding: var(--space-lg);
}

.bakery-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal-900);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.01em;
}

.bakery-card-body p {
    color: var(--charcoal-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== GROCERY ===== */
.grocery-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.grocery-text {
    padding-top: var(--space-md);
}

.grocery-list {
    list-style: none;
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.grocery-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--charcoal-700);
    font-size: 1rem;
    line-height: 1.6;
}

.grocery-list-icon {
    flex-shrink: 0;
    margin-top: 0.35rem;
    color: var(--coral-500);
}

.grocery-image-stack {
    position: relative;
}

.grocery-img-primary {
    width: 100%;
    border-radius: var(--radius-md);
    aspect-ratio: 3/4;
    object-fit: cover;
}

.grocery-img-secondary {
    position: absolute;
    bottom: -2rem;
    left: -1rem;
    width: 65%;
    border-radius: var(--radius-md);
    border: 4px solid var(--warm-white);
    box-shadow: 0 16px 48px rgba(26, 26, 26, 0.12);
}

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

.visit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.visit-card {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    border: 1px solid var(--charcoal-100);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.visit-card:hover {
    border-color: var(--coral-300);
    box-shadow: 0 8px 32px rgba(249, 117, 131, 0.08);
}

.visit-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--coral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-600);
    margin-bottom: var(--space-md);
}

.visit-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal-900);
    margin-bottom: var(--space-sm);
}

.visit-card p {
    color: var(--charcoal-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

.visit-card a {
    color: var(--coral-500);
    font-weight: 500;
}

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

/* ===== CTA BANNER ===== */
.cta-banner {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

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

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.88) 0%,
        rgba(45, 45, 45, 0.82) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-label {
    text-align: center;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.cta-sub {
    color: var(--charcoal-300);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

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

.contact-details {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--charcoal-400);
    margin-bottom: 0.35rem;
}

.contact-detail a {
    color: var(--charcoal-800);
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-detail address {
    color: var(--charcoal-600);
    font-size: 1rem;
    line-height: 1.7;
    font-style: normal;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--charcoal-100);
}

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

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--charcoal-600);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--charcoal-900);
    background: var(--warm-white);
    border: 1px solid var(--charcoal-200);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--coral-500);
    box-shadow: 0 0 0 3px rgba(249, 117, 131, 0.12);
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--space-md);
    background: var(--coral-50);
    border: 1px solid var(--coral-200);
    border-radius: var(--radius-sm);
    color: var(--coral-600);
    font-size: 0.95rem;
    margin-top: var(--space-sm);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--charcoal-900);
    color: var(--charcoal-300);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--charcoal-700);
    margin-bottom: var(--space-lg);
}

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

.footer-brand .logo-mark {
    color: var(--coral-400);
}

.footer-brand .logo-text {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-tagline {
    color: var(--charcoal-400);
    font-size: 0.95rem;
    max-width: 400px;
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--charcoal-500);
}

.footer-bottom a {
    color: var(--charcoal-400);
}

.footer-bottom a:hover {
    color: var(--coral-400);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .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) {
    .about-grid,
    .grocery-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .grocery-image-stack {
        order: -1;
        max-width: 500px;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
        --space-2xl: 4rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background: var(--warm-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: -8px 0 40px rgba(0,0,0,0.15);
        z-index: 105;
    }
    
    .nav-links.open {
        transform: translateX(0);
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-headline {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
    }
    
    .bakery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .grocery-img-secondary {
        position: static;
        width: 100%;
        margin-top: var(--space-sm);
        border: none;
        box-shadow: none;
    }
    
    .grocery-image-stack {
        max-width: 100%;
    }
    
    .contact-form-wrap {
        padding: var(--space-lg);
    }
    
    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-content {
        padding-top: var(--space-lg);
        padding-bottom: var(--space-lg);
    }
    
    .bakery-card-body {
        padding: var(--space-md);
    }
}

/* ===== MOBILE NAV OVERLAY ===== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.5);
    z-index: 104;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}
