:root {
    --black: #11100e;
    --cream: #f7f1e7;
    --gold: #b9892e;
    --gold-light: #d5ad58;
    --white: #fff;
    --accent: #173e36;
    --accent-soft: #dfe8df;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: #29251f;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 241, 231, .97);
    border-bottom: 1px solid rgba(185, 137, 46, .25);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1250px;
    min-height: 82px;
    margin: auto;
    padding: 12px 30px;
}

.brand {
    color: var(--black);
    font-size: 25px;
    letter-spacing: 7px;
    line-height: 1.15;
    text-decoration: none;
}

.brand span {
    display: block;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 5px;
    text-align: center;
}

.back-link {
    color: var(--black);
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-decoration: none;
    text-transform: uppercase;
}

.back-link:hover,
.back-link:focus-visible {
    color: var(--gold);
}

.product-hero {
    background:
        linear-gradient(120deg, rgba(247, 241, 231, .98), rgba(247, 241, 231, .82)),
        var(--accent-soft);
}

.product-hero-inner {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 70px;
    max-width: 1120px;
    min-height: 650px;
    margin: auto;
    padding: 70px 30px;
}

.product-bag {
    width: 100%;
    max-height: 540px;
    object-fit: contain;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.product-copy h1 {
    color: var(--black);
    font-size: clamp(45px, 7vw, 78px);
    font-weight: normal;
    letter-spacing: 3px;
    line-height: 1;
}

.product-lead {
    max-width: 600px;
    margin-top: 25px;
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.8;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.product-meta span {
    padding: 8px 13px;
    border: 1px solid rgba(185, 137, 46, .45);
    background: rgba(255, 255, 255, .45);
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.jump-button,
.collection-button {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 26px;
    background: var(--gold);
    border: 1px solid var(--gold);
    color: var(--white);
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: .25s ease;
}

.jump-button:hover,
.collection-button:hover {
    background: var(--black);
    border-color: var(--black);
}

.brew-guide {
    padding: 100px 30px;
    background: var(--black);
    color: var(--white);
}

.guide-heading {
    max-width: 700px;
    margin: 0 auto 70px;
    text-align: center;
}

.guide-heading h2 {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: normal;
}

.guide-heading p {
    margin-top: 15px;
    color: #cec7bb;
    font-family: Arial, sans-serif;
}

.steps {
    max-width: 1120px;
    margin: auto;
}

.brew-step {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 85px;
}

.brew-step:nth-child(even) .step-image {
    order: 2;
}

.step-image {
    overflow: hidden;
    border: 1px solid rgba(213, 173, 88, .38);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.step-image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.step-number {
    color: var(--gold-light);
    font-family: Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.step-copy h3 {
    margin-top: 8px;
    color: var(--white);
    font-size: 34px;
    font-weight: normal;
}

.step-copy p {
    margin-top: 13px;
    color: #cec7bb;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

.serving-note {
    max-width: 780px;
    margin: 0 auto;
    padding: 45px;
    border: 1px solid rgba(213, 173, 88, .42);
    text-align: center;
}

.serving-note h2 {
    color: var(--gold-light);
    font-size: 34px;
    font-weight: normal;
}

.serving-note p {
    margin-top: 12px;
    color: #d7d0c6;
    font-family: Arial, sans-serif;
}

.page-footer {
    padding: 65px 30px 35px;
    background: #0b0a09;
    color: #cbc3b7;
    text-align: center;
}

.page-footer .footer-brand {
    color: var(--white);
    font-size: 23px;
    letter-spacing: 7px;
}

.page-footer p {
    margin-top: 18px;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.theme-damascus { --accent: #173e36; --accent-soft: #dce5df; }
.theme-aleppo { --accent: #66743e; --accent-soft: #e5e2c9; }
.theme-milano { --accent: #6d1f24; --accent-soft: #ead9d3; }
.theme-paris { --accent: #14243a; --accent-soft: #dce1e7; }

@media (max-width: 800px) {
    .navbar {
        min-height: 70px;
        padding: 10px 18px;
    }

    .brand {
        font-size: 19px;
        letter-spacing: 4px;
    }

    .back-link {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .product-hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
        padding: 45px 20px 65px;
        text-align: center;
    }

    .product-bag {
        max-height: 420px;
    }

    .product-lead {
        font-size: 15px;
    }

    .product-meta {
        justify-content: center;
    }

    .brew-guide {
        padding: 70px 20px;
    }

    .guide-heading {
        margin-bottom: 45px;
    }

    .brew-step {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 58px;
    }

    .brew-step:nth-child(even) .step-image {
        order: initial;
    }

    .step-copy {
        text-align: center;
    }

    .step-copy h3 {
        font-size: 29px;
    }

    .serving-note {
        padding: 32px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
