@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
    --paper: #f7f1e9;
    --cream: #fffaf3;
    --ink: #241712;
    --muted: #75655d;
    --brand: #a95f40;
    --brand-dark: #743c27;
    --copper: #c67a55;
    --line: rgba(83, 52, 39, .16);
    --shadow: 0 28px 90px rgba(51, 29, 19, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only {
    position: absolute;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section-shell { width: min(1220px, calc(100% - 56px)); margin: 0 auto; }
.eyebrow {
    margin: 0 0 22px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .26em;
}
.eyebrow-warm { color: var(--brand); }

.site-header {
    position: fixed;
    z-index: 100;
    top: 0; left: 0; width: 100%;
    color: #fff;
    transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
    color: var(--ink);
    background: rgba(255, 250, 243, .92);
    box-shadow: 0 1px 0 var(--line);
    backdrop-filter: blur(16px);
}
.header-inner {
    width: min(1360px, calc(100% - 64px));
    height: 92px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    width: 218px;
    height: 58px;
    padding: 10px 14px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(255,255,255,.95);
    display: flex;
    align-items: center;
}
.brand img {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 500; }
.site-nav a { position: relative; }
.site-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0; bottom: -8px;
    width: 0; height: 1px;
    background: currentColor;
    transition: width .25s ease;
}
.site-nav a:hover::after { width: 100%; }
.nav-cta {
    padding: 13px 19px;
    border: 1px solid currentColor;
    border-radius: 999px;
}
.menu-toggle { display: none; }

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    color: #fff;
    background: #1c120f;
}
.hero-media {
    position: absolute;
    inset: 0;
    background: url("../images/hero-coffee-atmosphere.png") center/cover no-repeat;
    transform: scale(1.02);
    animation: hero-breathe 14s ease-in-out infinite alternate;
}
@keyframes hero-breathe { to { transform: scale(1.065); } }
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(19, 11, 8, .89) 0%, rgba(24, 13, 9, .68) 36%, rgba(26, 15, 10, .12) 72%),
        linear-gradient(0deg, rgba(12, 7, 5, .5), transparent 42%);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: min(1360px, calc(100% - 64px));
    margin: 0 auto;
    padding: 26vh 0 120px;
}
.hero h1, .story h2, .showcase-heading h2, .ritual h2, .gift-heading h2, .shop-copy h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    letter-spacing: -.045em;
}
.hero h1 { max-width: 810px; font-size: clamp(64px, 7.8vw, 118px); line-height: .92; }
.hero-copy {
    max-width: 610px;
    margin: 34px 0 0;
    color: rgba(255,255,255,.74);
    font-family: "Manrope", sans-serif;
    font-size: clamp(17px, 1.4vw, 21px);
    line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 42px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 25px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: #fff; }
.button-light:hover { background: #f3e4d6; }
.button-dark { color: #fff; background: var(--ink); }
.text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    font-size: 14px;
    font-weight: 600;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.text-link-light { color: #fff; }
.hero-signature {
    position: absolute;
    z-index: 2;
    right: 42px; bottom: 42px;
    margin: 0;
    color: rgba(255,255,255,.6);
    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-style: italic;
}
.scroll-cue {
    position: absolute;
    z-index: 2;
    left: 50%; bottom: 34px;
    width: 30px; height: 46px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 999px;
}
.scroll-cue span {
    position: absolute;
    top: 10px; left: 50%;
    width: 3px; height: 8px;
    border-radius: 3px;
    background: #fff;
    transform: translateX(-50%);
    animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 50% { transform: translate(-50%, 12px); opacity: .25; } }

.story {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 11vw;
    padding: 150px 0 160px;
}
.story h2, .showcase-heading h2, .ritual h2, .gift-heading h2, .shop-copy h2 {
    font-size: clamp(46px, 5.6vw, 84px);
    line-height: 1.02;
}
.story-copy { padding-top: 34px; color: var(--muted); font-family: "Manrope", sans-serif; font-size: 17px; line-height: 1.85; }
.story-copy .story-intro { margin-top: 0; color: var(--ink); font-size: clamp(21px, 2vw, 28px); line-height: 1.52; }

.coffee-showcase { padding: 145px 0 130px; background: var(--paper); }
.heading-row { display: grid; grid-template-columns: 1.25fr .75fr; gap: 9vw; align-items: end; }
.heading-row p { margin: 0 0 8px; color: var(--muted); font-family: "Manrope", sans-serif; font-size: 17px; line-height: 1.75; }
.product-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 76px; }
.product-card { overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.product-image { position: relative; aspect-ratio: 1 / .92; overflow: hidden; background: #eee7df; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-index {
    position: absolute;
    top: 22px; left: 22px;
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    color: #fff;
    background: rgba(30,20,16,.72);
    backdrop-filter: blur(8px);
    font-size: 12px;
}
.product-card-copy { padding: 38px 40px 42px; }
.product-card-copy h3 { margin: 0 0 14px; font-family: "Playfair Display", serif; font-size: 40px; font-weight: 500; }
.product-card-copy p:not(.eyebrow) { max-width: 460px; min-height: 56px; margin: 0 0 28px; color: var(--muted); line-height: 1.75; }

.ritual { display: grid; grid-template-columns: .82fr 1.18fr; gap: 7vw; align-items: center; padding: 160px 0; }
.ritual-copy > p:not(.eyebrow) { margin: 30px 0; color: var(--muted); font-family: "Manrope", sans-serif; font-size: 17px; line-height: 1.8; }
.fact-row { display: flex; flex-wrap: wrap; gap: 9px; }
.fact-row span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand-dark); font-size: 12px; }
.ritual-gallery { position: relative; min-height: 720px; }
.ritual-gallery figure { position: absolute; margin: 0; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.ritual-gallery img { width: 100%; height: 100%; object-fit: cover; }
.ritual-main { top: 0; right: 0; width: 69%; height: 87%; border-radius: 180px 180px 18px 18px; }
.ritual-detail { left: 0; bottom: 0; width: 43%; height: 55%; border: 10px solid var(--cream); border-radius: 16px; }
.real-sample-label {
    position: absolute;
    right: 24px; bottom: 42px;
    padding: 10px 13px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-dark);
    font-size: 10px;
    letter-spacing: .16em;
}

.gift-section { padding: 145px 0 155px; color: #fff; background: #251611; }
.gift-heading { display: grid; grid-template-columns: 1.25fr .75fr; column-gap: 9vw; }
.gift-heading .eyebrow { grid-column: 1 / -1; }
.gift-heading p:last-child { align-self: end; margin: 0 0 8px; color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.75; }
.gift-gallery { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 18px; margin-top: 70px; }
.gift-tile { position: relative; min-height: 520px; margin: 0; overflow: hidden; border-radius: 16px; background: #3a2821; }
.gift-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gift-tile:hover img { transform: scale(1.045); }
.gift-tile figcaption {
    position: absolute;
    left: 18px; bottom: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(21,12,9,.68);
    backdrop-filter: blur(10px);
    font-size: 12px;
}

.shop-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10vw; align-items: center; padding: 150px 0; }
.shop-copy > p:not(.eyebrow):not(.shop-note) { max-width: 640px; margin: 30px 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.shop-note { margin: 0; color: var(--brand); font-size: 14px; font-weight: 600; letter-spacing: .05em; }
.shop-code-card {
    justify-self: end;
    width: min(100%, 460px);
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}
.shop-code-card img { width: 100%; border-radius: 12px; }
.shop-code-card span { display: block; padding: 16px 0 2px; text-align: center; color: var(--brand-dark); font-size: 11px; font-weight: 600; letter-spacing: .18em; }

.closing { padding: 150px 28px; background: var(--paper); }
.closing-inner { text-align: center; }
.closing img { width: min(520px, 80vw); margin: 0 auto; mix-blend-mode: multiply; }
.closing p { margin: 24px 0 36px; color: var(--brand-dark); font-family: "Playfair Display", serif; font-size: 28px; font-style: italic; }

.site-footer { color: rgba(255,255,255,.72); background: #1e120e; }
.footer-inner {
    width: min(1220px, calc(100% - 56px));
    margin: 0 auto;
    padding: 70px 0 42px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
}
.footer-logo { width: 200px; padding: 9px; background: #fff; mix-blend-mode: screen; }
.footer-inner > div:first-child p { max-width: 430px; margin: 18px 0 0; color: rgba(255,255,255,.52); line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 13px 35px; align-content: start; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-note { grid-column: 1 / -1; margin: 30px 0 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.35); font-size: 12px; }

.default-page { min-height: 70vh; padding: 160px 0 100px; }
.default-page h1 { font-family: "Playfair Display", serif; font-size: clamp(48px, 8vw, 100px); font-weight: 500; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    .site-nav {
        position: fixed;
        inset: 0;
        z-index: -1;
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        opacity: 0;
        pointer-events: none;
        color: var(--ink);
        background: var(--cream);
        font-family: "Playfair Display", serif;
        font-size: 34px;
        transition: opacity .25s ease;
    }
    .site-nav.is-open { z-index: 1; opacity: 1; pointer-events: auto; }
    .site-nav .nav-cta { font-family: "DM Sans", sans-serif; font-size: 14px; }
    .menu-toggle {
        position: relative;
        z-index: 2;
        display: grid;
        width: 44px; height: 44px;
        place-content: center;
        gap: 7px;
        border: 0;
        border-radius: 50%;
        background: #fff;
        cursor: pointer;
    }
    .menu-toggle span:not(.sr-only) { width: 20px; height: 1px; background: var(--ink); transition: transform .25s ease; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
    .story, .heading-row, .ritual, .gift-heading, .shop-section { grid-template-columns: 1fr; }
    .story { gap: 30px; }
    .product-pair { gap: 18px; }
    .ritual-gallery { margin-top: 30px; }
    .gift-heading p:last-child { margin-top: 30px; }
    .gift-gallery { grid-template-columns: 1fr 1fr; }
    .gift-tile-wide { grid-column: 1 / -1; }
    .shop-code-card { justify-self: start; margin-top: 24px; }
}

@media (max-width: 640px) {
    .section-shell, .footer-inner { width: min(100% - 32px, 1220px); }
    .header-inner { width: calc(100% - 28px); height: 74px; }
    .brand { width: 166px; height: 46px; padding: 8px 10px; }
    .hero-content { width: calc(100% - 32px); padding: 25vh 0 120px; }
    .hero-media { background-position: 62% center; }
    .hero-shade { background: linear-gradient(90deg, rgba(19,11,8,.92), rgba(19,11,8,.58)); }
    .hero h1 { font-size: clamp(54px, 17vw, 74px); }
    .hero-copy { font-size: 16px; line-height: 1.65; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
    .hero-signature { right: 18px; bottom: 24px; font-size: 17px; }
    .scroll-cue { display: none; }
    .story, .coffee-showcase, .ritual, .gift-section, .shop-section { padding-top: 96px; padding-bottom: 96px; }
    .story h2, .showcase-heading h2, .ritual h2, .gift-heading h2, .shop-copy h2 { font-size: 48px; }
    .story-copy { padding-top: 0; font-size: 15px; }
    .story-copy .story-intro { font-size: 21px; }
    .heading-row { gap: 24px; }
    .heading-row p, .gift-heading p:last-child, .shop-copy > p:not(.eyebrow):not(.shop-note) { font-size: 15px; }
    .product-pair { grid-template-columns: 1fr; margin-top: 48px; }
    .product-card { border-radius: 17px; }
    .product-card-copy { padding: 28px 24px 32px; }
    .product-card-copy h3 { font-size: 34px; }
    .ritual-gallery { min-height: 510px; }
    .ritual-main { width: 78%; height: 88%; border-radius: 120px 120px 16px 16px; }
    .ritual-detail { width: 50%; height: 52%; border-width: 7px; }
    .real-sample-label { right: 8px; bottom: 22px; font-size: 9px; }
    .gift-gallery { grid-template-columns: 1fr; margin-top: 42px; }
    .gift-tile-wide { grid-column: auto; }
    .gift-tile { min-height: 390px; }
    .shop-code-card { width: 100%; }
    .closing { padding: 95px 20px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { justify-content: start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
