/* ============================================================
   STOREFRONT — Hearth template
   Cozy neighborhood barista homepage. Warm browns and cream,
   latte-art-on-cocoa intimacy — a beloved corner café where the
   regulars are known by name. Self-contained design; loaded only
   when location.storefrontTemplate = "hearth". Scoped under
   body.sf-hearth so styles cannot leak into other storefront
   variants.
   ============================================================ */

body.sf-hearth {
    --paper:        #f5ead7;
    --paper-2:      #ead9bc;
    --ink:          #2a1a10;
    --ink-soft:     #4a2f1f;
    --espresso:     #1a0f08;
    --ember:        #b87333;
    --ember-deep:   #8a4f1c;
    --olive:        #6b5436;
    --rule:         rgba(42, 26, 16, 0.18);
    --rule-strong:  rgba(42, 26, 16, 0.45);
    --serif: "Fraunces", "Newsreader", Georgia, "Palatino Linotype", serif;
    --read:  "Newsreader", Georgia, "Palatino Linotype", serif;
    --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--read);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.sf-hearth * { box-sizing: border-box; }
body.sf-hearth html, body.sf-hearth body { margin: 0; padding: 0; }

body.sf-hearth a { color: inherit; text-decoration: none; }
body.sf-hearth button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
body.sf-hearth img { max-width: 100%; display: block; }

/* paper grain overlay */
body.sf-hearth::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 200;
    mix-blend-mode: multiply;
    opacity: 0.32;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.08  0 0 0 0 0.05  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.sf-hearth .container {
    width: min(1280px, 92vw);
    margin-inline: auto;
}

/* ── top announcement ──────────────────────────────────── */
.sf-hearth .announce {
    background: var(--espresso);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 9px 0;
    text-align: center;
    position: relative;
    z-index: 50;
}
.sf-hearth .announce span { opacity: 0.85; }
.sf-hearth .announce strong { color: #e8b97b; font-weight: 500; }

/* ── nav ────────────────────────────────────────────────── */
.sf-hearth nav.top {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rule);
}
.sf-hearth .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 18px 0;
    gap: 24px;
}
.sf-hearth .brand {
    font-family: var(--serif);
    font-weight: 500;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    font-size: 26px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.sf-hearth .brand .ampers { color: var(--ember); font-style: italic; font-weight: 400; }
.sf-hearth .brand .vol {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border-left: 1px solid var(--rule-strong);
    padding-left: 10px;
    margin-left: 6px;
    align-self: center;
}
.sf-hearth .nav-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.sf-hearth .nav-links a { position: relative; padding: 6px 0; }
.sf-hearth .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--ember);
    transition: right 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sf-hearth .nav-links a:hover::after { right: 0; }
.sf-hearth .nav-right { display: flex; gap: 18px; justify-content: flex-end; align-items: center; }
.sf-hearth .nav-right button,
.sf-hearth .nav-right a {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.sf-hearth .bag {
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 8px 14px;
    transition: background 0.25s, color 0.25s;
}
.sf-hearth .bag:hover { background: var(--ink); color: var(--paper); }
.sf-hearth .bag .count {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--ember);
    color: var(--paper);
    font-size: 10px;
    letter-spacing: 0;
}
.sf-hearth .menu-btn { display: none; }

/* ── hero ───────────────────────────────────────────────── */
.sf-hearth .hero {
    position: relative;
    padding: 64px 0 88px;
    overflow: hidden;
}
.sf-hearth .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: end;
}
.sf-hearth .kicker {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}
.sf-hearth .kicker::before {
    content: "";
    width: 36px;
    height: 1px;
    background: var(--ember);
}
.sf-hearth h1.display {
    font-family: var(--serif);
    font-weight: 340;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-size: clamp(54px, 9.2vw, 148px);
    line-height: 0.92;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--ink);
}
.sf-hearth h1.display .it {
    font-style: italic;
    font-weight: 300;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    color: var(--ember-deep);
}
.sf-hearth h1.display .amp {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    color: var(--ember);
    font-variation-settings: "opsz" 144;
}
.sf-hearth .hero-meta {
    margin-top: 38px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    max-width: 640px;
}
.sf-hearth .hero-meta p {
    margin: 0;
    font-size: 16px;
    color: var(--ink-soft);
    font-family: var(--read);
    line-height: 1.55;
}
.sf-hearth .hero-cta {
    margin-top: 42px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.sf-hearth .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 24px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: transform 0.25s, background 0.25s, color 0.25s;
}
.sf-hearth .btn-primary { background: var(--espresso); color: var(--paper); }
.sf-hearth .btn-primary:hover { background: var(--ember-deep); transform: translateY(-1px); }
.sf-hearth .btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.sf-hearth .btn-ghost:hover { background: var(--ink); color: var(--paper); }
.sf-hearth .btn .arr { transition: transform 0.3s; }
.sf-hearth .btn:hover .arr { transform: translateX(4px); }

/* hero visual — stylised coffee bag */
.sf-hearth .hero-visual {
    position: relative;
    align-self: end;
    height: 560px;
}
.sf-hearth .bag-card {
    position: absolute;
    width: 78%;
    height: 100%;
    right: 0;
    bottom: 0;
    background: linear-gradient(155deg, #1d130d 0%, #34221a 65%, #4a3024 100%);
    border-radius: 6px;
    box-shadow:
        -22px 30px 50px -20px rgba(31, 22, 16, 0.45),
        inset 0 0 0 1px rgba(255, 235, 200, 0.06);
    overflow: hidden;
    transform: rotate(-2.5deg);
}
.sf-hearth .bag-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(180deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px),
        radial-gradient(120% 60% at 30% 0%, rgba(255,210,160,0.12), transparent 60%);
    pointer-events: none;
}

/* Operator-supplied override image: same rotated frame, image cover-fitted */
.sf-hearth .bag-card.hero-bag-image {
    background-color: var(--paper);
    background-size: cover;
    background-position: center;
}
/* YT/video overrides: shared CSS sets position:relative (higher specificity than .bag-card alone);
   re-assert absolute positioning so the media fills the hero-visual container correctly */
.sf-hearth .bag-card.hero-bag-yt,
.sf-hearth .bag-card.hero-bag-video {
    position: absolute;
    width: 78%; height: 100%;
    right: 0; bottom: 0;
    padding: 0;
}
.sf-hearth .label {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 9%;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid rgba(31, 22, 16, 0.6);
    border-radius: 3px;
    padding: 22px 22px 26px;
    font-family: var(--serif);
}
.sf-hearth .label .num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--rule-strong);
    padding-bottom: 10px;
    margin-bottom: 18px;
    text-transform: uppercase;
}
.sf-hearth .label .name {
    font-size: 34px;
    line-height: 1;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-weight: 400;
}
.sf-hearth .label .name em {
    font-style: italic;
    color: var(--ember-deep);
    font-weight: 300;
}
.sf-hearth .label .origin {
    margin-top: 14px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sf-hearth .label .origin span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.sf-hearth .label .origin span b { font-weight: 500; color: var(--ink); }
.sf-hearth .label .notes {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--rule);
    font-family: var(--read);
    font-style: italic;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ink-soft);
}
.sf-hearth .bag-tag {
    position: absolute;
    bottom: 4%;
    left: 8%;
    right: 8%;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(244, 236, 220, 0.55);
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(244, 236, 220, 0.18);
}
.sf-hearth .stamp {
    position: absolute;
    z-index: 3;
    left: -2%;
    bottom: 14%;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: var(--ember);
    color: var(--paper);
    display: grid;
    place-items: center;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.15;
    transform: rotate(-12deg);
    box-shadow: 0 14px 30px -14px rgba(192, 83, 46, 0.6);
    animation: sfFolioWobble 9s ease-in-out infinite;
}
.sf-hearth .stamp::before,
.sf-hearth .stamp::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 999px;
    border: 1px dashed rgba(244, 236, 220, 0.55);
}
.sf-hearth .stamp::after { inset: 14px; border-style: solid; opacity: 0.4; }
@keyframes sfFolioWobble {
    0%, 100% { transform: rotate(-12deg); }
    50% { transform: rotate(-7deg); }
}

/* ── marquee ────────────────────────────────────────────── */
.sf-hearth .marquee {
    border-block: 1px solid var(--ink);
    background: var(--paper-2);
    overflow: hidden;
    padding: 18px 0;
    display: flex;
    gap: 48px;
    white-space: nowrap;
}
.sf-hearth .marquee-track {
    display: flex;
    gap: 48px;
    animation: sfFolioScroll 38s linear infinite;
    flex-shrink: 0;
}
.sf-hearth .marquee span {
    font-family: var(--serif);
    font-weight: 300;
    font-variation-settings: "opsz" 144;
    font-size: 30px;
    letter-spacing: -0.01em;
}
.sf-hearth .marquee span.it { font-style: italic; color: var(--ember-deep); }
.sf-hearth .marquee .dot { color: var(--ember); font-size: 18px; align-self: center; }
.sf-hearth .marquee-tile {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px 6px 6px;
    border: 1.5px solid var(--ember);
    border-radius: 999px;
    background: var(--paper);
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.005em;
}
.sf-hearth .marquee-tile.tile-category { border-style: dashed; }
.sf-hearth .marquee-tile-img {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background-color: var(--paper-2);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.sf-hearth .marquee-tile-img-empty {
    background:
        repeating-linear-gradient(45deg, var(--paper-2) 0 4px, var(--paper) 4px 8px);
}
.sf-hearth .marquee-tile-label {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    color: var(--ink);
    white-space: nowrap;
}
@keyframes sfFolioScroll { to { transform: translateX(-50%); } }

/* ── section header ─────────────────────────────────────── */
.sf-hearth .section { padding: 60px 0; }
.sf-hearth .carousel-section { padding-top: 0; margin-top: 0; }
.sf-hearth .section-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 40px;
    margin-bottom: 56px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rule-strong);
}
.sf-hearth .section-head h2 {
    font-family: var(--serif);
    font-weight: 340;
    font-variation-settings: "opsz" 144, "SOFT" 80;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin: 0;
}
.sf-hearth .section-head h2 em {
    font-style: italic;
    color: var(--ember-deep);
    font-weight: 300;
}
.sf-hearth .section-head .label-mono {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    align-self: end;
    padding-bottom: 10px;
}
.sf-hearth .section-head .seeall {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    align-self: end;
    padding-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--ink);
    padding-block: 6px 8px;
}
.sf-hearth .section-head .seeall:hover {
    color: var(--ember-deep);
    border-color: var(--ember-deep);
}

/* ── product grid ───────────────────────────────────────── */
.sf-hearth .shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 36px;
}
.sf-hearth .product {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.sf-hearth .product .frame {
    aspect-ratio: 4 / 5;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sf-hearth .product:hover .frame { transform: translateY(-6px); }
.sf-hearth .product .frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(180deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 5px);
    pointer-events: none;
}
.sf-hearth .product .frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.sf-hearth .product .ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--paper);
    color: var(--ink);
    padding: 5px 9px;
    border-radius: 2px;
    border: 1px solid var(--ink);
    z-index: 2;
}
.sf-hearth .product .add {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-size: 22px;
    line-height: 0;
    transition: background 0.25s, color 0.25s, transform 0.3s;
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.sf-hearth .product:hover .add {
    background: var(--ember);
    color: var(--paper);
    transform: rotate(90deg);
}

/* product label inside frame */
.sf-hearth .plabel {
    width: 74%;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid rgba(31, 22, 16, 0.5);
    padding: 18px 16px;
    font-family: var(--serif);
    text-align: center;
    z-index: 1;
    position: relative;
}
.sf-hearth .plabel .pn {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rule);
}
.sf-hearth .plabel .pname {
    font-size: 24px;
    line-height: 1.05;
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.sf-hearth .plabel .pname em {
    font-style: italic;
    color: var(--ember-deep);
    font-weight: 300;
}
.sf-hearth .plabel .ptype {
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.sf-hearth .product .meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.sf-hearth .product .meta .o { color: var(--ink-soft); }
.sf-hearth .product .ptitle {
    font-family: var(--serif);
    font-weight: 380;
    font-variation-settings: "opsz" 60, "SOFT" 60;
    font-size: 22px;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 2px 0 6px;
}
.sf-hearth .product .ptitle em {
    font-style: italic;
    color: var(--ember-deep);
    font-weight: 340;
}
.sf-hearth .product .price {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
    border-top: 1px dashed var(--rule-strong);
    padding-top: 10px;
    margin-top: 6px;
}
.sf-hearth .price .roast {
    color: var(--ink-soft);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    align-self: center;
}

/* product palette swatches — auto-cycled by JS index */
.sf-hearth .frame.f1 { background: linear-gradient(160deg, #d9c79c, #b9a071); }
.sf-hearth .frame.f2 { background: linear-gradient(160deg, #6e8b6e, #455a45); }
.sf-hearth .frame.f3 { background: linear-gradient(160deg, #d68a5a, #a14a25); }
.sf-hearth .frame.f4 { background: linear-gradient(160deg, #2a2a3d, #44455d); }
.sf-hearth .frame.f5 { background: linear-gradient(160deg, #c9b59a, #8a7355); }
.sf-hearth .frame.f6 { background: linear-gradient(160deg, #b04f3a, #762d1f); }
.sf-hearth .frame.f7 { background: linear-gradient(160deg, #4a3a2c, #715a44); }
.sf-hearth .frame.f8 { background: linear-gradient(160deg, #d6c2a3, #a98a64); }

/* ── story ──────────────────────────────────────────────── */
.sf-hearth .story {
    background: var(--espresso);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}
.sf-hearth .story::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 50% at 80% 20%, rgba(192, 83, 46, 0.22), transparent 60%),
        radial-gradient(50% 60% at 10% 100%, rgba(94, 110, 74, 0.18), transparent 60%);
    pointer-events: none;
}
.sf-hearth .story .container { position: relative; }
.sf-hearth .story-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.sf-hearth .story-visual {
    aspect-ratio: 4 / 5;
    background: linear-gradient(160deg, #6b4530, #3a2418);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.sf-hearth .story-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(40% 30% at 30% 30%, rgba(255, 210, 170, 0.25), transparent 60%),
        repeating-linear-gradient(45deg, rgba(0,0,0,0.08) 0 2px, transparent 2px 8px);
}
.sf-hearth .cherry-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sf-hearth .stamp-2 {
    position: absolute;
    top: 6%;
    right: 6%;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    border: 1px solid rgba(244, 236, 220, 0.5);
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--paper);
    text-align: center;
    padding: 8px;
    z-index: 4;
}
.sf-hearth .story-text h2 {
    font-family: var(--serif);
    font-weight: 300;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-size: clamp(36px, 5.4vw, 68px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0 0 30px;
}
.sf-hearth .story-text h2 em {
    font-style: italic;
    color: #e8b97b;
    font-weight: 300;
}
.sf-hearth .story-text p {
    font-family: var(--read);
    font-size: 18px;
    line-height: 1.6;
    color: rgba(244, 236, 220, 0.78);
    max-width: 52ch;
    margin: 0 0 18px;
}
.sf-hearth .story-text p:first-of-type::first-letter {
    font-family: var(--serif);
    font-size: 64px;
    float: left;
    line-height: 0.85;
    padding: 6px 12px 0 0;
    color: var(--ember);
    font-weight: 300;
    font-style: italic;
}
.sf-hearth .story-stats {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid rgba(244, 236, 220, 0.2);
    padding-top: 30px;
}
.sf-hearth .stat .n {
    font-family: var(--serif);
    font-weight: 300;
    font-variation-settings: "opsz" 144;
    font-size: 48px;
    line-height: 0.9;
    color: var(--paper);
}
.sf-hearth .stat .n em { font-style: italic; color: #e8b97b; }
.sf-hearth .stat .l {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(244, 236, 220, 0.55);
    margin-top: 8px;
}

/* ── brew methods ───────────────────────────────────────── */
.sf-hearth .methods { padding-bottom: 120px; }
.sf-hearth .method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule-strong);
    border-bottom: 1px solid var(--rule-strong);
}
.sf-hearth .method {
    padding: 46px 32px 38px;
    border-right: 1px solid var(--rule);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.35s;
}
.sf-hearth .method:last-child { border-right: 0; }
.sf-hearth .method:hover { background: var(--paper-2); }
.sf-hearth .method .num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--ember-deep);
    margin-bottom: 48px;
    display: flex;
    justify-content: space-between;
}
.sf-hearth .method h3 {
    font-family: var(--serif);
    font-weight: 340;
    font-variation-settings: "opsz" 144, "SOFT" 80;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -0.015em;
    margin: 0 0 12px;
}
.sf-hearth .method h3 em { font-style: italic; color: var(--ember-deep); font-weight: 300; }
.sf-hearth .method .sub {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 24px;
}
.sf-hearth .method p {
    margin: 0 0 24px;
    font-family: var(--read);
    color: var(--ink-soft);
    max-width: 36ch;
}
.sf-hearth .method .steps {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    display: grid;
    gap: 6px;
    border-top: 1px dashed var(--rule-strong);
    padding-top: 18px;
}
.sf-hearth .method .steps span {
    display: flex;
    justify-content: space-between;
}
.sf-hearth .method .read {
    margin-top: 24px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.sf-hearth .method .read .arr { transition: transform 0.3s; }
.sf-hearth .method:hover .read .arr { transform: translateX(4px); }

/* ── visit ──────────────────────────────────────────────── */
.sf-hearth .visit {
    background: var(--paper-2);
    border-block: 1px solid var(--ink);
}
.sf-hearth .visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 96px 0;
    align-items: start;
}
.sf-hearth .visit h2 {
    font-family: var(--serif);
    font-weight: 300;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-size: clamp(48px, 7vw, 92px);
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin: 0 0 28px;
}
.sf-hearth .visit h2 em { font-style: italic; color: var(--ember-deep); }
.sf-hearth .visit .lead {
    font-family: var(--read);
    font-size: 18px;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 46ch;
    margin: 0 0 36px;
}
.sf-hearth .locations {
    display: grid;
    gap: 1px;
    background: var(--rule-strong);
    border: 1px solid var(--rule-strong);
}
.sf-hearth .loc {
    background: var(--paper-2);
    padding: 24px 26px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 24px;
}
.sf-hearth .loc h3 {
    font-family: var(--serif);
    font-weight: 380;
    font-variation-settings: "opsz" 60, "SOFT" 80;
    font-size: 24px;
    margin: 0 0 6px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.sf-hearth .loc h3 em {
    font-style: italic;
    color: var(--ember-deep);
    font-weight: 340;
}
.sf-hearth .loc address {
    font-style: normal;
    font-family: var(--read);
    font-size: 15px;
    color: var(--ink-soft);
    white-space: pre-line;
}
.sf-hearth .loc .hours {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-align: right;
    display: grid;
    gap: 4px;
    white-space: nowrap;
}
.sf-hearth .loc .hours b { color: var(--ink); font-weight: 500; }
.sf-hearth .loc .open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--olive);
    font-weight: 500;
}
.sf-hearth .loc .open::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--olive);
    box-shadow: 0 0 0 3px rgba(94, 110, 74, 0.18);
}

/* ── footer ─────────────────────────────────────────────── */
.sf-hearth footer {
    background: var(--espresso);
    color: var(--paper);
    padding: 72px 0 28px;
    font-family: var(--read);
}
.sf-hearth .f-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(244, 236, 220, 0.18);
}
.sf-hearth .f-grid h3 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(244, 236, 220, 0.55);
    margin: 0 0 22px;
    font-weight: 500;
}
.sf-hearth .f-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.sf-hearth .f-grid a {
    color: rgba(244, 236, 220, 0.85);
    transition: color 0.25s;
}
.sf-hearth .f-grid a:hover { color: #e8b97b; }
.sf-hearth .f-brand .big {
    font-family: var(--serif);
    font-weight: 300;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-size: 64px;
    line-height: 0.92;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
}
.sf-hearth .f-brand .big em {
    font-style: italic;
    color: #e8b97b;
}
.sf-hearth .f-brand p {
    color: rgba(244, 236, 220, 0.65);
    max-width: 36ch;
    font-size: 15px;
    margin: 0 0 22px;
}
.sf-hearth .f-brand .stamp-mono {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(244, 236, 220, 0.55);
}
.sf-hearth .f-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(244, 236, 220, 0.5);
    flex-wrap: wrap;
    gap: 14px;
}

/* ── reveal-on-scroll ───────────────────────────────────── */
.sf-hearth .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sf-hearth .reveal.in {
    opacity: 1;
    transform: none;
}

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
    .sf-hearth .hero-grid { grid-template-columns: 1fr; gap: 64px; }
    .sf-hearth .hero-visual { height: 480px; max-width: 380px; }
    .sf-hearth .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
    .sf-hearth .story-grid { grid-template-columns: 1fr; gap: 48px; }
    .sf-hearth .visit-grid { grid-template-columns: 1fr; gap: 36px; padding: 64px 0; }
    .sf-hearth .method-grid { grid-template-columns: 1fr; }
    .sf-hearth .method { border-right: 0; border-bottom: 1px solid var(--rule); }
    .sf-hearth .method:last-child { border-bottom: 0; }
    .sf-hearth .f-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .sf-hearth .nav-links { display: none; }
    .sf-hearth .menu-btn { display: inline-flex; }
    .sf-hearth .nav-inner { grid-template-columns: 1fr auto; }
    .sf-hearth .section { padding: 40px 0; }
    .sf-hearth .section-head { grid-template-columns: 1fr; gap: 14px; }
    .sf-hearth .section-head .label-mono,
    .sf-hearth .section-head .seeall { padding-bottom: 0; }
    .sf-hearth .hero-meta { grid-template-columns: 1fr; }
    .sf-hearth .loc { grid-template-columns: 1fr; gap: 8px; }
    .sf-hearth .loc .hours { text-align: left; }
}
@media (max-width: 560px) {
    .sf-hearth .shop-grid { grid-template-columns: 1fr; }
    .sf-hearth .story-stats { grid-template-columns: 1fr 1fr; }
    .sf-hearth .f-grid { grid-template-columns: 1fr; }
    .sf-hearth { font-size: 16px; }
}

/* ── brand logo (header) ───────────────────────────────── */
.sf-hearth .brand .brand-logo {
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    margin-right: 4px;
    align-self: center;
}
@media (max-width: 720px) {
    .sf-hearth .brand .brand-logo { height: 30px; max-width: 120px; }
}

/* ── category bar (above shop grid) ────────────────────── */
.sf-hearth .cat-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 6px;
    margin: 12px 0 36px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rule);
}
.sf-hearth .cat-pill {
    background: transparent;
    border: 1px solid var(--rule-strong);
    color: var(--ink);
    padding: 6px 11px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.sf-hearth .cat-pill:hover { border-color: var(--ink); }
.sf-hearth .cat-pill.active {
    background: var(--espresso);
    color: var(--paper);
    border-color: var(--espresso);
}
.sf-hearth .cat-pill .cat-count {
    margin-left: 8px;
    color: var(--ink-soft);
    font-weight: 400;
}
.sf-hearth .cat-pill.active .cat-count { color: var(--paper); opacity: 0.7; }

/* product options modal styles injected by folio.js (injectSheetStyles) */

/* ── cart drawer line extras (size + options) ──────────── */
.folio-cart-row .opts {
    margin-top: 4px;
    font-family: var(--read);
    font-size: 12px;
    color: var(--ink-soft);
    font-style: italic;
}
.folio-cart-row .ln-notes {
    margin-top: 4px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--ember-deep);
}
