:root {
    --black: #1a120e;
    --black-soft: #221912;
    --brown: #4a3228;
    --brown-light: #6b4a3a;
    --orange: #b86540;
    --orange-glow: #d4845c;
    --cream: #f3ebe0;
    --cream-panel: #ebe3d6;
    --text: #ece6df;
    --muted: #b8a99a;
    --ink: #2c1e14;
    --ink-muted: #5c4a3d;
    --radius: 14px;
    --header-h: 72px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --header-offset: calc(var(--header-h) + var(--safe-top));
    --font-display: "Playfair Display", "Georgia", serif;
    --font-accent: "Cormorant Garamond", "Georgia", serif;
    --font-body: "Jost", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-offset) + 12px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.02rem;
    background: var(--black);
    color: var(--text);
    line-height: 1.75;
    letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-glow); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: var(--header-offset);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--safe-top) max(1rem, env(safe-area-inset-right, 0px)) 0 max(1rem, env(safe-area-inset-left, 0px));
    z-index: 50;
    background: linear-gradient(to bottom, rgba(26,18,14,.97) 0%, rgba(26,18,14,.88) 70%, rgba(26,18,14,.4) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.logo {
    font-family: var(--font-accent);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.15;
    color: var(--cream);
    text-decoration: none;
    text-transform: uppercase;
    max-width: calc(100% - 3rem);
}
.logo span { color: var(--orange-glow); font-weight: 500; letter-spacing: .12em; }
.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.site-nav a {
    color: var(--text);
    font-size: .78rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .14em;
    text-decoration: none;
}
.site-nav a:hover { color: var(--orange-glow); }
.btn-cart {
    border: 1px solid rgba(184,101,64,.45);
    background: rgba(184,101,64,.14);
    color: var(--cream);
    padding: .45rem .85rem;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span {
    display: block; width: 24px; height: 2px; margin: 5px 0;
    background: var(--cream);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: calc(var(--header-offset) + 1.5rem) 1.25rem calc(4rem + var(--safe-bottom));
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-video {
    width: 100%; height: 100%; object-fit: cover;
    filter: contrast(1.05) saturate(1.1);
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(184,101,64,.22), transparent 55%),
        linear-gradient(to top, var(--black) 0%, rgba(26,18,14,.35) 45%, rgba(26,18,14,.78) 100%);
}
.hero-content {
    position: relative;
    max-width: 720px;
    text-align: center;
    z-index: 2;
}
.eyebrow {
    font-family: var(--font-accent);
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: .32em;
    font-size: .96rem;
    font-weight: 500;
    color: var(--orange-glow);
    margin-bottom: .75rem;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 600;
    line-height: 1.08;
    margin: 0 0 1rem;
    color: var(--cream);
    letter-spacing: -0.02em;
}
.lead {
    font-family: var(--font-accent);
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 500;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 1.75rem;
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.scroll-hint {
    position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    color: var(--muted); font-size: 1.4rem; animation: float 2s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform: translateX(-50%) translateY(0);} 50%{ transform: translateX(-50%) translateY(6px);} }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .75rem 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-glow));
    color: #fff8f2;
    box-shadow: 0 8px 28px rgba(184,101,64,.35);
}
.btn-primary:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-ghost {
    background: transparent;
    border-color: rgba(245,235,224,.35);
    color: var(--cream);
}
.btn-sm { padding: .5rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }

.section { padding: 5rem 0; }
.section-about { background: var(--black-soft); }
.container { width: min(1120px, 92vw); margin: 0 auto; }
.grid-2 { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.about-visual { position: relative; }
.about-frame {
    position: absolute; inset: 8% -6% -8% 6%;
    border: 1px solid rgba(184,101,64,.35);
    border-radius: var(--radius);
}
.about-cup-art {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 2rem 1rem 2.5rem;
    min-height: 320px;
}
.about-cup-art img {
    width: min(100%, 340px);
    height: auto;
    opacity: 0.92;
    filter: drop-shadow(0 20px 48px rgba(212,132,92,.15));
}
.about-cup-mark {
    display: none;
    width: 3.25rem;
    margin-bottom: .75rem;
    opacity: 0.85;
}
.about-cup-mark img { width: 100%; height: auto; }
@media (max-width: 899px) {
    .about-visual { display: none; }
    .about-cup-mark { display: block; }
    .about-layout-single { grid-template-columns: 1fr; }
}

.section-head { text-align: center; max-width: 620px; margin: 0 auto 2.5rem; }
.section-head h2, .about-copy h2, .section-contact h2 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.2vw, 3.15rem);
    font-weight: 600;
    color: var(--cream);
    margin: 0 0 .75rem;
    letter-spacing: -0.015em;
}
.section-head p {
    font-family: var(--font-accent);
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--muted);
}
.prose {
    font-family: var(--font-accent);
    font-size: 1.12rem;
    line-height: 1.85;
}
.prose p { color: var(--muted); margin: 0 0 1rem; }
.contact-form h3, .checkout-header h2, .checkout-panel h3 {
    font-family: var(--font-display);
    font-weight: 600;
}

.section-products {
    background: linear-gradient(175deg, #f7f0e6 0%, var(--cream-panel) 45%, #e5d9c9 100%);
    color: var(--ink);
    padding-top: 0;
}
.product-showcase-wrap {
    position: relative;
    padding: 2.5rem 1rem 1rem;
    max-width: 980px;
    margin: 0 auto;
}
.product-showcase-glow {
    position: absolute;
    inset: 10% 5% auto;
    height: 55%;
    background: radial-gradient(ellipse at center, rgba(212,132,92,.25), transparent 70%);
    pointer-events: none;
}
.product-showcase {
    margin: 0;
    position: relative;
    z-index: 1;
}
.product-showcase picture,
.product-showcase img {
    display: block;
    width: 100%;
    height: auto;
}
.product-showcase img {
    border-radius: calc(var(--radius) + 4px);
    box-shadow: 0 28px 70px rgba(44,30,20,.18);
}
@media (max-width: 768px) {
    .product-showcase-wrap {
        padding: 1.25rem .75rem .5rem;
    }
    .product-showcase img {
        border-radius: var(--radius);
        box-shadow: 0 16px 40px rgba(44,30,20,.12);
    }
}
.product-values {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem 1.25rem;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.product-values__dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    margin-right: .35rem;
    vertical-align: middle;
}
.section-head--light h2 { color: var(--ink); }
.section-head--light p { color: var(--ink-muted); }
.eyebrow--dark { color: var(--orange); }
.hint--center { text-align: center; color: var(--ink-muted); }
.hint--center a { color: var(--brown-light); }

.product-offers {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding-bottom: 2rem;
}
.product-offer {
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(74,50,40,.12);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.35rem 1.4rem 1.4rem;
    box-shadow: 0 12px 40px rgba(44,30,20,.06);
    transition: transform .25s, box-shadow .25s;
}
.product-offer:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(44,30,20,.1);
}
.product-offer__meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .65rem;
}
.product-offer__weight {
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    background: rgba(184,101,64,.12);
    border: 1px solid rgba(184,101,64,.25);
    padding: .25rem .65rem;
    border-radius: 999px;
}
.product-offer__tag {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff8f2;
    background: var(--orange);
    padding: .22rem .55rem;
    border-radius: 999px;
}
.product-offer h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 .5rem;
    line-height: 1.25;
}
.product-offer p {
    font-size: .92rem;
    color: var(--ink-muted);
    margin: 0 0 1.1rem;
    line-height: 1.65;
}
.product-offer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.product-offer__price strong {
    font-family: var(--font-accent);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--brown);
}
.price-tbd {
    font-size: 1rem !important;
    color: var(--ink-muted) !important;
}

.section-contact {
    background: radial-gradient(circle at 20% 20%, rgba(107,74,58,.35), transparent 50%), var(--black);
}
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; padding: 0; color: var(--muted); }
.contact-form label, .checkout-panel label {
    display: block; font-size: .85rem; color: var(--muted); margin-bottom: .85rem;
}
.contact-form input, .contact-form textarea,
.checkout-panel input, .checkout-panel textarea {
    width: 100%; margin-top: .35rem;
    background: #1c1714;
    border: 1px solid rgba(139,94,60,.35);
    border-radius: 10px;
    padding: .65rem .75rem;
    color: var(--cream);
    font: inherit;
}
.hint { font-size: .85rem; color: var(--muted); }

.site-footer {
    border-top: 1px solid rgba(139,94,60,.25);
    padding: 1.5rem 0 2rem;
    color: var(--muted);
    font-size: .88rem;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }

.checkout-drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.checkout-drawer.is-open { pointer-events: auto; }
.checkout-backdrop {
    position: absolute; inset: 0; background: rgba(0,0,0,.65);
    opacity: 0; transition: opacity .25s;
}
.checkout-drawer.is-open .checkout-backdrop { opacity: 1; }
.checkout-panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%);
    background: #12100e;
    border-left: 1px solid rgba(232,93,4,.25);
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex; flex-direction: column;
    padding: calc(1rem + var(--safe-top)) 1.15rem calc(1.5rem + var(--safe-bottom));
    overflow-y: auto;
}
.checkout-drawer.is-open .checkout-panel { transform: translateX(0); }
.checkout-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.checkout-header h2 { margin: 0; font-family: var(--font-display); color: var(--cream); }
.icon-btn { background: none; border: 0; color: var(--cream); font-size: 1.6rem; cursor: pointer; }
.cart-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.cart-list li {
    display: flex; justify-content: space-between; gap: .5rem;
    padding: .65rem 0; border-bottom: 1px solid rgba(139,94,60,.2);
    font-size: .92rem;
}
.cart-empty { color: var(--muted); font-size: .9rem; }
.shipping-option {
    display: flex; justify-content: space-between; align-items: center;
    padding: .65rem .75rem; margin: .35rem 0;
    border: 1px solid rgba(139,94,60,.35);
    border-radius: 10px; cursor: pointer;
}
.shipping-option.is-selected { border-color: var(--orange); background: rgba(184,101,64,.1); }
.pay-methods { display: flex; gap: 1rem; margin: .5rem 0 1rem; }
.checkout-summary {
    background: #1a1512; border-radius: 10px; padding: .75rem;
    font-size: .9rem; margin-bottom: .75rem;
}
.payment-result { margin-top: 1rem; font-size: .88rem; word-break: break-all; }
.payment-result textarea { width: 100%; min-height: 90px; font-size: .75rem; }

.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 768px) {
    :root { --header-h: 68px; }

    .logo {
        font-size: 1.05rem;
        letter-spacing: .1em;
    }
    .logo span { letter-spacing: .08em; }

    .nav-toggle {
        display: block;
        padding: .5rem;
        margin: -.25rem -.25rem 0 0;
    }
    .site-nav {
        position: fixed;
        top: var(--header-offset);
        left: 0;
        right: 0;
        background: rgba(26,18,14,.98);
        flex-direction: column;
        padding: 1rem max(1rem, env(safe-area-inset-right)) 1.25rem max(1rem, env(safe-area-inset-left));
        transform: translateY(-120%);
        transition: transform .25s;
        max-height: calc(100dvh - var(--header-offset));
        overflow-y: auto;
    }
    .site-nav.is-open { transform: translateY(0); }

    .hero {
        padding-top: calc(var(--header-offset) + 1.25rem);
        min-height: 100dvh;
    }
}
