:root {
    --cream: #FAF6F0;
    --cream-dark: #F0E9DD;
    --caramel: #8B5E3C;
    --caramel-dark: #6B4528;
    --peach: #E8A598;
    --olive: #7A8B5C;
    --ink: #3D2817;
    --muted: #8B7B6B;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 12px rgba(61, 40, 23, 0.06);
    --shadow-md: 0 12px 32px rgba(61, 40, 23, 0.10);
    --shadow-lg: 0 24px 60px rgba(61, 40, 23, 0.14);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --transition: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

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

/* ============ Typography ============ */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--caramel);
    margin-bottom: 16px;
    position: relative;
    padding-left: 36px;
}

.section-eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--caramel);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 620px;
}

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

.section-head .section-eyebrow,
.section-head .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.section-head .section-desc {
    margin-top: 12px;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--caramel);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--caramel-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-block { width: 100%; }

/* ============ Header ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 14px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ink);
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    line-height: 1;
}

.logo-text small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--caramel);
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 4px;
}

.logo-light {
    color: var(--cream);
}

.logo-light .logo-text small {
    color: var(--peach);
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--caramel);
    transition: width var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: all var(--transition);
}

/* ============ Hero ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(232, 165, 152, 0.25), transparent 50%),
        radial-gradient(circle at 15% 85%, rgba(122, 139, 92, 0.15), transparent 50%),
        linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    z-index: -2;
}

.hero-bg::after {
    content: "";
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    background-image: url("https://images.unsplash.com/photo-1486427944299-d1955d23e34d?w=900&q=80");
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    opacity: 0.85;
    box-shadow: var(--shadow-lg);
}

.hero-content {
    position: relative;
    max-width: 640px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--caramel);
    padding: 8px 18px;
    background: rgba(139, 94, 60, 0.08);
    border-radius: 999px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--caramel);
    position: relative;
}

.hero-title em::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.05em;
    height: 0.18em;
    background: var(--peach);
    opacity: 0.4;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 40px;
    max-width: 540px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid var(--caramel);
    border-radius: 14px;
}

.hero-scroll span {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--caramel);
    border-radius: 2px;
    animation: scroll 1.8s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 14px); opacity: 0; }
}

/* ============ About ============ */
.about {
    padding: 120px 0;
}

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

.about-image {
    position: relative;
    aspect-ratio: 4/5;
}

.about-image-main {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background-image: url("https://images.unsplash.com/photo-1568254183919-78a4f43a2877?w=800&q=80");
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 220px;
    height: 220px;
    border-radius: var(--radius-md);
    background-image: url("https://images.unsplash.com/photo-1509440159596-0249088772ff?w=500&q=80");
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
    border: 8px solid var(--cream);
}

.about-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 130px;
    height: 130px;
    background: var(--caramel);
    color: var(--cream);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    transform: rotate(-8deg);
}

.about-badge strong {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    line-height: 1;
}

.about-badge span {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    margin-top: 4px;
    opacity: 0.95;
}

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

.about-lead {
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 16px;
    font-weight: 500;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 16px;
}

.about-list {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 500;
}

.about-list span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--olive);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.about-rep {
    margin-top: 28px;
    padding: 14px 20px;
    background: var(--cream-dark);
    border-left: 3px solid var(--caramel);
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--ink) !important;
}

.about-rep strong {
    color: var(--caramel);
}

/* ============ Brand sections (Cakes / Sourdough) ============ */
.brand-section {
    padding: 120px 0;
}

.brand-cakes {
    background: linear-gradient(180deg, var(--white) 0%, #FFF5F2 100%);
}

.brand-bread {
    background: #2A1D14;
    color: var(--cream);
}

.brand-bread .section-title,
.brand-bread h3 {
    color: var(--cream);
}

.brand-bread .section-desc {
    color: rgba(250, 246, 240, 0.7);
}

.brand-head {
    text-align: center;
    margin-bottom: 64px;
}

.brand-head .section-title {
    margin-bottom: 18px;
}

.brand-head .section-desc {
    margin: 0 auto 32px;
}

.brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(232, 165, 152, 0.18);
    color: var(--caramel);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.brand-tag-icon {
    font-size: 1.1rem;
}

.brand-tag-dark {
    background: rgba(232, 165, 152, 0.15);
    color: var(--peach);
}

.brand-cta {
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.brand-bread .btn-ghost {
    color: var(--cream);
    border-color: var(--cream);
}

.brand-bread .btn-ghost:hover {
    background: var(--cream);
    color: var(--ink);
}

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

.product-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition);
}

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

.product-img[data-img="full-month"] { background-image: url("https://images.unsplash.com/photo-1535254973040-607b474cb50d?w=600&q=80"); }
.product-img[data-img="kids-bday"] { background-image: url("https://images.unsplash.com/photo-1558636508-e0db3814bd1d?w=600&q=80"); }
.product-img[data-img="adult-bday"] { background-image: url("https://images.unsplash.com/photo-1578985545062-69928b1d9587?w=600&q=80"); }
.product-img[data-img="custom-cake"] { background-image: url("https://images.unsplash.com/photo-1622896784083-cc051313dbab?w=600&q=80"); }
.product-img[data-img="anniversary"] { background-image: url("https://images.unsplash.com/photo-1535141192574-5d4897c12636?w=600&q=80"); }
.product-img[data-img="corporate"] { background-image: url("https://images.unsplash.com/photo-1607478900766-efe13248b125?w=600&q=80"); }

.product-img[data-img="socola"] { background-image: url("https://images.unsplash.com/photo-1509440159596-0249088772ff?w=600&q=80"); }
.product-img[data-img="pesto"] { background-image: url("https://images.unsplash.com/photo-1568471173242-461f0a730452?w=600&q=80"); }
.product-img[data-img="classic-sourdough"] { background-image: url("https://images.unsplash.com/photo-1586444248902-2f64eddc13df?w=600&q=80"); }
.product-img[data-img="seed"] { background-image: url("https://images.unsplash.com/photo-1549931319-a545dcf3bc73?w=600&q=80"); }

.product-body {
    padding: 24px 24px 28px;
    position: relative;
}

.product-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-body p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.product-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--caramel);
    padding: 4px 12px;
    background: rgba(139, 94, 60, 0.1);
    border-radius: 999px;
}

.product-card-dark {
    background: #3A2A1E;
    color: var(--cream);
}

.product-card-dark .product-body p {
    color: rgba(250, 246, 240, 0.7);
}

.product-card-dark .product-tag {
    background: rgba(232, 165, 152, 0.18);
    color: var(--peach);
}

.product-ingredients {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.product-ingredients li {
    font-size: 0.78rem;
    padding: 3px 10px;
    background: rgba(122, 139, 92, 0.15);
    color: var(--olive);
    border-radius: 999px;
    font-weight: 500;
}

.product-card-dark .product-ingredients li {
    background: rgba(250, 246, 240, 0.08);
    color: var(--peach);
}

/* ============ Values ============ */
.values {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

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

.value-item {
    background: var(--white);
    padding: 44px 32px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.value-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 72px;
    height: 72px;
    background: var(--cream);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.value-item h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.value-item p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ============ Story / Timeline ============ */
.story {
    padding: 120px 0;
    background: var(--white);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--caramel) 10%, var(--caramel) 90%, transparent);
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 48px;
    margin-bottom: 56px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 92px;
    top: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cream);
    border: 3px solid var(--caramel);
    z-index: 1;
}

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--caramel);
    text-align: right;
    padding-top: 6px;
}

.timeline-content {
    padding-left: 28px;
}

.timeline-content h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--muted);
}

/* ============ Contact ============ */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
}

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

.contact-lead {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 36px;
}

.contact-list {
    display: grid;
    gap: 24px;
}

.contact-list li {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(139, 94, 60, 0.15);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-label {
    font-weight: 600;
    color: var(--caramel);
    font-size: 0.92rem;
}

.inline-link {
    color: var(--caramel);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}

.inline-link:hover {
    border-bottom-color: var(--caramel);
}

.contact-form {
    background: var(--white);
    padding: 44px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
}

.form-row {
    margin-bottom: 16px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: var(--cream);
    color: var(--ink);
    transition: all var(--transition);
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--caramel);
    background: var(--white);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: var(--muted);
}

.form-note {
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--olive);
    text-align: center;
    min-height: 20px;
}

/* ============ Footer ============ */
.footer {
    background: var(--ink);
    color: var(--cream);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(250, 246, 240, 0.1);
}

.footer-brand p {
    margin-top: 20px;
    color: rgba(250, 246, 240, 0.65);
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--cream);
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer ul {
    display: grid;
    gap: 12px;
}

.footer a {
    color: rgba(250, 246, 240, 0.7);
    font-size: 0.92rem;
}

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

.footer-bottom {
    padding-top: 28px;
    text-align: center;
    color: rgba(250, 246, 240, 0.55);
    font-size: 0.88rem;
}

/* ============ Reveal animations ============ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============ Responsive ============ */
@media (max-width: 960px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .brand-section { padding: 80px 0; }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .hero-bg::after {
        right: -40%;
        width: 500px;
        height: 500px;
        opacity: 0.4;
    }

    .about-image {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-lg);
    }

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

    .nav-toggle {
        display: flex;
        z-index: 110;
    }

    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .hero-scroll { display: none; }

    .about, .products, .values, .story, .contact { padding: 80px 0; }

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

    .brand-cta { flex-direction: column; align-items: stretch; width: 100%; }
    .brand-cta .btn { width: 100%; }

    .timeline::before { left: 8px; }
    .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 40px; }
    .timeline-item::before { left: 0; top: 6px; }
    .timeline-year { text-align: left; padding-top: 0; }
    .timeline-content { padding-left: 0; }

    .contact-form { padding: 28px 20px; }
    .contact-list li { grid-template-columns: 1fr; gap: 4px; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }

    .about-image-accent { width: 140px; height: 140px; left: -16px; bottom: -20px; }
    .about-badge { width: 100px; height: 100px; top: -10px; right: -10px; }
    .about-badge strong { font-size: 1.6rem; }
}
