/* Blendy Brew — cozy & warm theme */
:root {
  --cream: #FAF6EF;
  --cream-deep: #F3EBDD;
  --sage: #8A9B7E;
  --sage-soft: #DCE3D4;
  --wood: #8B6F5B;
  --terra: #C97B5D;
  --terra-soft: #EAC3B2;
  --ink: #4A3F35;
  --ink-soft: #7A6E61;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(107, 82, 60, 0.12);
  --shadow-lift: 0 16px 40px rgba(107, 82, 60, 0.18);
  --radius: 20px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito', -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.02rem;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.25; }
a { color: var(--terra); text-decoration: none; }
img, svg { max-width: 100%; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-title { font-size: 2.4rem; margin-bottom: 12px; }
.section-lead { color: var(--ink-soft); max-width: 620px; margin: 0 auto 40px; text-align: center; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 999px;
  background: var(--terra); color: #fff; font-weight: 700; letter-spacing: 0.02em;
  border: none; cursor: pointer; font-family: var(--font-body); font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { background: #b96a4d; transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn.sage { background: var(--sage); }
.btn.sage:hover { background: #7a8b6f; }
.btn.ghost { background: transparent; color: var(--terra); border: 2px solid var(--terra); }
.btn.ghost:hover { background: var(--terra-soft); }
.btn[disabled] { background: var(--cream-deep); color: var(--ink-soft); cursor: not-allowed; transform: none; box-shadow: none; }

/* Header */
header.site {
  background: rgba(250, 246, 239, 0.92); backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50; border-bottom: 2px solid var(--cream-deep);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1120px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { width: 42px; height: 42px; }
.logo-text { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--wood); }
.logo-text span { color: var(--terra); }
nav.main ul { display: flex; gap: 30px; list-style: none; }
nav.main a { color: var(--ink); font-weight: 700; font-size: 0.98rem; padding: 6px 2px; border-bottom: 3px solid transparent; }
nav.main a:hover, nav.main a.active { color: var(--terra); border-bottom-color: var(--terra-soft); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: var(--wood); cursor: pointer; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--cream) 0%, var(--terra-soft) 55%, var(--sage-soft) 100%);
  padding: 100px 0 110px; text-align: center; overflow: hidden; position: relative;
}
.hero h1 { font-size: 3.4rem; max-width: 780px; margin: 18px auto 20px; }
.hero h1 em { color: var(--terra); font-style: italic; }
.hero p { max-width: 600px; margin: 0 auto 34px; color: var(--ink-soft); font-size: 1.18rem; }
.hero .steam { font-size: 3rem; }
.hero-decor { position: absolute; font-size: 8rem; opacity: 0.14; user-select: none; pointer-events: none; }
.hero-decor.d1 { top: 30px; left: 4%; transform: rotate(-12deg); }
.hero-decor.d2 { top: 24px; right: 4%; transform: rotate(10deg); }

/* Cards & grids */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); }

/* Product cards */
.product-card { text-align: center; position: relative; }
.product-emoji { font-size: 4rem; margin-bottom: 14px; display: block; filter: drop-shadow(0 8px 10px rgba(107,82,60,0.15)); }
.product-card h3 { font-size: 1.3rem; }
.tasting { font-style: italic; color: var(--sage); font-size: 0.92rem; margin-bottom: 10px; }
.product-card .desc { font-size: 0.95rem; min-height: 52px; }
.price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--terra); margin: 8px 0 4px; }
.cup-math { font-size: 0.84rem; color: var(--sage); font-weight: 700; margin: 0 0 16px; }
.tag { position: absolute; top: 16px; left: 16px; z-index: 6; background: var(--sage-soft); color: var(--wood); font-size: 0.75rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.chip {
  padding: 9px 24px; border-radius: 999px; border: 2px solid var(--cream-deep);
  background: var(--white); color: var(--ink-soft); font-weight: 800; font-size: 0.9rem;
  cursor: pointer; font-family: var(--font-body); transition: all 0.25s ease;
}
.chip:hover { border-color: var(--terra-soft); color: var(--terra); }
.chip.active { background: var(--terra); border-color: var(--terra); color: #fff; }

/* Feature strip / about */
.strip { background: var(--sage-soft); }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .icon { font-size: 1.9rem; }
.feature h3 { font-size: 1.15rem; }
.feature p { font-size: 0.95rem; }
.about-visual {
  background: linear-gradient(150deg, var(--terra-soft), var(--sage-soft));
  border-radius: 24px; min-height: 320px; display: flex; align-items: center; justify-content: center;
  font-size: 6rem; box-shadow: var(--shadow);
}

/* Testimonials */
.quote { font-style: italic; }
.quote .who { font-style: normal; font-weight: 800; color: var(--wood); margin-top: 14px; font-size: 0.92rem; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 16px; padding: 24px 28px; margin-bottom: 16px; box-shadow: var(--shadow); }
.faq-item h3 { color: var(--wood); font-size: 1.15rem; margin-bottom: 8px; }

/* Forms & newsletter */
.newsletter { background: var(--white); border-radius: 24px; padding: 44px; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto; text-align: center; }
.newsletter input, form input, form textarea {
  width: 100%; padding: 14px 18px; border-radius: 14px; border: 2px solid var(--cream-deep);
  font-family: var(--font-body); font-size: 1rem; background: var(--cream); color: var(--ink);
}
.newsletter .row { display: flex; gap: 12px; margin-top: 18px; }
.newsletter input { flex: 1; }
form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 800; margin-bottom: 6px; color: var(--wood); }
input:focus, textarea:focus { outline: none; border-color: var(--terra-soft); }
.form-card { max-width: 560px; margin: 0 auto; }

/* Footer */
footer.site { background: var(--wood); color: var(--cream); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding: 56px 0 30px; }
footer.site h4 { color: var(--cream); font-size: 1.05rem; margin-bottom: 12px; }
footer.site a { color: var(--terra-soft); }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(250,246,239,0.2); padding: 18px 0; text-align: center; font-size: 0.88rem; color: var(--terra-soft); }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; animation: fadeUp 0.7s ease-out forwards; }
.fade-in.d1 { animation-delay: 0.12s; } .fade-in.d2 { animation-delay: 0.24s; } .fade-in.d3 { animation-delay: 0.36s; }
.fade-in.d4 { animation-delay: 0.48s; } .fade-in.d5 { animation-delay: 0.60s; }
@media (prefers-reduced-motion: reduce) { .fade-in { animation: none; opacity: 1; } html { scroll-behavior: auto; } }

/* Cart */
.bb-cart-btn {
  position: relative; background: var(--white); border: 2px solid var(--cream-deep); border-radius: 999px;
  padding: 10px 22px; font-size: 1.35rem; cursor: pointer; font-family: var(--font-body);
  transition: border-color 0.25s ease;
}
.bb-cart-btn:hover { border-color: var(--terra-soft); }
#bb-count {
  position: absolute; top: -8px; right: -8px; background: var(--terra); color: #fff;
  min-width: 24px; height: 24px; border-radius: 999px; font-size: 0.85rem; font-weight: 800;
  align-items: center; justify-content: center; padding: 0 6px;
}
#bb-drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
#bb-drawer .bb-overlay { position: absolute; inset: 0; background: rgba(74, 63, 53, 0.4); opacity: 0; transition: opacity 0.3s ease; }
#bb-drawer .bb-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 96vw);
  background: var(--cream); box-shadow: -10px 0 40px rgba(107,82,60,0.25);
  transform: translateX(105%); transition: transform 0.32s ease; display: flex; flex-direction: column;
}
#bb-drawer.open { pointer-events: auto; }
#bb-drawer.open .bb-overlay { opacity: 1; }
#bb-drawer.open .bb-panel { transform: translateX(0); }
.bb-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 32px 18px; border-bottom: 2px solid var(--cream-deep); }
.bb-head h3 { font-size: 1.7rem; }
.bb-close { background: none; border: none; font-size: 1.4rem; color: var(--ink-soft); cursor: pointer; padding: 8px 12px; border-radius: 8px; }
.bb-close:hover { background: var(--cream-deep); }
.bb-items { flex: 1; overflow-y: auto; padding: 18px 32px; }
.bb-item { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--cream-deep); }
.bb-item-icon { font-size: 2.7rem; }
.bb-item-info { flex: 1; }
.bb-item-name { font-weight: 800; font-size: 1.1rem; }
.bb-item-price { color: var(--ink-soft); font-size: 1rem; }
.bb-qty { display: flex; align-items: center; gap: 14px; }
.bb-qty button {
  width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--cream-deep);
  background: var(--white); font-size: 1.25rem; cursor: pointer; color: var(--ink); font-family: var(--font-body);
}
.bb-qty button:hover { border-color: var(--terra); color: var(--terra); }
.bb-qty span { font-size: 1.15rem; font-weight: 800; min-width: 22px; text-align: center; }
.bb-empty { text-align: center; padding: 70px 20px; color: var(--ink-soft); font-size: 1.1rem; }
.bb-empty .btn { margin-top: 20px; }
.bb-foot { padding: 20px 32px 28px; border-top: 2px solid var(--cream-deep); background: var(--white); }
.bb-ship-hint { font-size: 1rem; color: var(--wood); margin-bottom: 12px; }
.bb-total { display: flex; justify-content: space-between; padding: 4px 0; color: var(--ink-soft); font-size: 1.02rem; }
.bb-total-strong { color: var(--ink); font-weight: 800; font-size: 1.3rem; padding-top: 10px; }
.bb-checkout { width: 100%; margin-top: 14px; font-size: 1.15rem; padding: 17px 34px; }
.bb-note { text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin-top: 12px; }
#bb-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--wood); color: var(--cream); padding: 14px 26px; border-radius: 14px;
  opacity: 0; pointer-events: none; transition: all 0.3s ease; z-index: 120; font-size: 1.05rem;
  box-shadow: var(--shadow-lift); display: flex; align-items: center; gap: 8px;
}
#bb-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Product photos */
.product-photo { position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 18px; aspect-ratio: 1 / 1; background: var(--cream-deep); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.product-card:hover .product-photo img { transform: scale(1.06); }
.product-emoji-badge {
  position: absolute; bottom: 12px; left: 12px; font-size: 1.35rem;
  background: rgba(250, 246, 239, 0.94); border-radius: 999px; padding: 6px 10px;
  box-shadow: 0 4px 12px rgba(107, 82, 60, 0.18);
}
.product-emoji { font-size: 4rem; margin-bottom: 14px; display: block; filter: drop-shadow(0 8px 10px rgba(107,82,60,0.15)); }

/* Gifting banner */
.gift-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(120deg, var(--terra-soft), var(--sage-soft));
  border-radius: 24px; padding: 44px 48px; box-shadow: var(--shadow); flex-wrap: wrap;
}
.gift-banner h2 { font-size: 2rem; margin-bottom: 8px; }
.gift-banner p { color: var(--ink-soft); max-width: 480px; }

/* Maintenance wall */
.wall {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--cream) 0%, var(--terra-soft) 55%, var(--sage-soft) 100%);
  text-align: center; padding: 40px 24px;
}
.wall-inner { max-width: 640px; }
.wall-steam { font-size: 5rem; margin-bottom: 18px; }
.wall h1 { font-size: 3rem; margin-bottom: 20px; }
.wall h1 em { color: var(--terra); }
.wall-sub { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 14px; }
.wall-fine { margin-top: 28px; color: var(--ink-soft); font-size: 1.05rem; }

/* Journal / article */
.article { max-width: 740px; margin: 0 auto; font-size: 1.06rem; }
.article-hero { border-radius: 24px; overflow: hidden; margin: 28px 0 30px; aspect-ratio: 21 / 9; background: var(--cream-deep); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article h1 { font-size: 2.5rem; line-height: 1.18; margin-bottom: 6px; text-align: left; }
.article h2 { font-size: 1.6rem; margin: 50px 0 8px; }
.article h3 { font-size: 1.2rem; margin: 22px 0 6px; }
.article p { margin-bottom: 18px; line-height: 1.85; }
.article .lede { font-size: 1.22rem; color: var(--ink-soft); font-style: italic; margin-bottom: 28px; line-height: 1.6; }
.article .dropcap::first-letter { font-family: var(--font-display); float: left; font-size: 3.6rem; line-height: 0.82; padding: 8px 12px 0 0; color: var(--terra); }
.article-meta { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 12px; }
.pullquote {
  font-family: var(--font-display); font-style: italic; font-size: 1.4rem; line-height: 1.5; color: var(--wood);
  border-left: 4px solid var(--terra); padding: 6px 0 6px 24px; margin: 32px 0;
}
.brewers-note {
  background: var(--sage-soft); border-radius: 14px; padding: 18px 22px; margin: 18px 0 36px;
  font-size: 0.98rem; line-height: 1.75;
}
.brewers-note strong { color: var(--wood); }
.article .pick {
  display: flex; gap: 16px; align-items: center; background: var(--white);
  border: 2px solid var(--cream-deep); border-radius: 14px; padding: 14px 18px; margin: 14px 0 40px; flex-wrap: wrap;
}
.article .pick img { width: 74px; height: 74px; object-fit: cover; border-radius: 50%; }
.article .pick .pick-body { flex: 1; min-width: 200px; }
.article .pick h3 { font-size: 1.05rem; margin: 0 0 3px; }
.article .pick p { color: var(--ink-soft); font-size: 0.88rem; margin: 0 0 8px; line-height: 1.5; }
.article .pick .price { font-size: 1.05rem; margin: 0; display: inline-block; }
.article .pick .btn { padding: 9px 20px; font-size: 0.9rem; margin-left: 12px; }
.article ul.cozy-list { margin: 0 0 18px 22px; }
.article ul.cozy-list li { margin-bottom: 10px; line-height: 1.75; }
.article .toc { background: var(--white); border-radius: 14px; padding: 18px 24px; margin: 26px 0; box-shadow: var(--shadow); }
.article .toc strong { font-family: var(--font-display); font-size: 1.05rem; }
.article .toc ul { list-style: none; margin-top: 8px; }
.article .toc li { margin-bottom: 6px; }

/* 404 */
.error-hero { text-align: center; padding: 120px 0; }
.error-hero .big { font-size: 6rem; }

/* Responsive */
@media (max-width: 820px) {
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 2px solid var(--cream-deep); padding: 12px 24px 20px; }
  .hero-decor { display: none; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; gap: 14px; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .newsletter .row { flex-direction: column; }
}

/* Coming-soon states */
.btn[disabled], .btn-soon {
  background: #E9DFCE;
  color: #6B5240;
  cursor: default;
  box-shadow: none;
  border: 2px solid #DCCDB6;
}
.btn[disabled]:hover, .btn-soon:hover { transform: none; }
.coming-soon-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(58, 46, 38, 0.85);
  color: #FAF6EF;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 5;
}

/* Product review stars + modal */
.bb-stars { margin: 2px 0 8px; cursor: pointer; user-select: none; }
.bb-star { color: #DCCDB6; font-size: 1.05rem; letter-spacing: 2px; }
.bb-star.on { color: #D9A441; }
.bb-star-count { color: var(--ink-soft); font-size: 0.85rem; margin-left: 4px; }
#bb-review-modal { position: fixed; inset: 0; z-index: 130; display: none; }
#bb-review-modal.open { display: block; }
#bb-review-modal .bb-rev-overlay { position: absolute; inset: 0; background: rgba(74, 63, 53, 0.45); }
#bb-review-modal .bb-rev-panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(520px, 94vw); max-height: 86vh; overflow-y: auto;
  background: var(--cream); border-radius: 18px; padding: 28px 30px;
  box-shadow: 0 20px 60px rgba(58, 46, 38, 0.35);
}
#bb-review-modal h3 { margin-bottom: 4px; font-size: 1.5rem; }
#bb-review-modal h4 { margin: 18px 0 8px; }
.bb-rev-summary { margin-bottom: 6px; }
.bb-rev-list { border-top: 2px solid var(--cream-deep); margin-top: 10px; }
.bb-rev-item { padding: 12px 0; border-bottom: 1px solid var(--cream-deep); }
.bb-rev-item .bb-rev-head { display: flex; justify-content: space-between; font-size: 0.92rem; }
.bb-rev-item p { margin: 6px 0 0; font-size: 0.95rem; color: var(--ink); }
.bb-rev-none { color: var(--ink-soft); font-size: 0.95rem; padding: 12px 0; }
#bb-rev-form input, #bb-rev-form textarea {
  width: 100%; box-sizing: border-box; margin-bottom: 10px; padding: 10px 14px;
  border: 2px solid var(--cream-deep); border-radius: 10px; font-family: var(--font-body); font-size: 0.95rem; background: var(--white);
}
#bb-rev-form input:focus, #bb-rev-form textarea:focus { outline: none; border-color: var(--sage); }
.bb-rev-pick { margin-bottom: 10px; }
.bb-rev-pick button {
  background: none; border: none; font-size: 1.5rem; color: #DCCDB6; cursor: pointer; padding: 2px;
}
.bb-rev-pick button.on { color: #D9A441; }
.bb-rev-msg { color: var(--terra); font-size: 0.9rem; min-height: 1.2em; margin-bottom: 8px; }
@media (max-width: 640px) {
  #bb-review-modal .bb-rev-panel { padding: 22px 18px; }
}

/* Verified-purchase review gate */
.bb-rev-verified { color: #6B7F5C; font-size: 0.92rem; font-weight: 700; margin: 10px 0 0; }
.bb-rev-buyonly { color: var(--ink-soft); font-size: 0.92rem; background: var(--cream-deep); border-radius: 10px; padding: 10px 14px; margin: 10px 0 0; }

/* Product detail pages + caffeine chips + cross-sell */
.crumbs { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); font-weight: 700; text-decoration: none; }
.crumbs a:hover { color: var(--terra); }
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product-page-photo .product-photo { aspect-ratio: 1 / 1; }
.product-page-info h1 { font-size: 2.3rem; margin-bottom: 6px; }
.product-page-info .tasting { font-size: 1.15rem; color: var(--wood); font-weight: 700; }
.product-page-info .price { font-size: 1.6rem; font-weight: 800; margin: 14px 0 4px; }
.steep-note { color: var(--ink-soft); font-size: 0.95rem; background: var(--cream-deep); padding: 10px 14px; border-radius: 10px; }
.ship-note { color: var(--ink-soft); font-size: 0.88rem; margin-top: 12px; }
.buy-row { margin-top: 18px; }
.subbox { margin-top: 18px; background: #EFF3EA; border: 2px solid var(--sage); border-radius: 14px; padding: 16px 18px; }
.subbox h3 { font-size: 1.15rem; margin-bottom: 6px; }
.subbox p { font-size: 0.93rem; margin-bottom: 12px; }
.pairs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin-top: 20px; }
.pair-card { text-decoration: none; color: inherit; display: block; }
.pair-card .product-photo { aspect-ratio: 1 / 1; }
.pair-card .product-photo img { height: 100%; object-fit: cover; }
.pair-card h3 { font-size: 1.1rem; }
.pair-card .price { font-weight: 800; }
.caf-chip { display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin: 4px 0 10px; }
.caf-none { background: #E4ECDA; color: #55663F; }
.caf-low { background: #F6ECD9; color: #8A6A2F; }
.caf-med { background: #F3E1D3; color: #9C5B36; }
.product-link { color: inherit; text-decoration: none; }
.product-link:hover { color: var(--terra); }
@media (max-width: 768px) {
  .product-page { grid-template-columns: 1fr; gap: 24px; }
  .product-page-info h1 { font-size: 1.9rem; }
}

/* Auto dark mode (applied by js/night.js after 7pm local) */
html.dark {
  --cream: #2A241E;
  --cream-deep: #3A312A;
  --white: #322B24;
  --ink: #F0E8DC;
  --ink-soft: #B7A995;
  --wood: #C8A98C;
  --terra: #D98B66;
  --terra-soft: #5A4436;
  --sage: #A3B594;
  --sage-soft: #454E3B;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 16px 40px rgba(0, 0, 0, 0.45);
}
html.dark body, html.dark .card, html.dark .bb-panel { transition: background 0.4s ease, color 0.4s ease; }
html.dark header.site { background: rgba(42, 36, 30, 0.92); }
html.dark .product-emoji-badge { background: rgba(50, 43, 36, 0.94); }
html.dark .btn[disabled], html.dark .btn-soon { background: #3A312A; color: #B7A995; border-color: #4A3F34; }
html.dark .caf-none { background: #454E3B; color: #C9D6B4; }
html.dark .caf-low { background: #4E3F27; color: #E3C58F; }
html.dark .caf-med { background: #4E3627; color: #E8AE8B; }
html.dark .subbox { background: #38302A; }
html.dark .steep-note { background: #322B24; }
html.dark #bb-review-modal .bb-rev-panel { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }

/* Unique hero: illustrated mug with animated steam + kinetic tagline + notes ticker */
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero-copy { text-align: left; max-width: 560px; }
.hero-copy .steam { text-align: left; }
.hero-copy h1 { font-size: 3rem; line-height: 1.15; }
.hero-copy em { color: var(--terra); font-style: italic; }
#bb-cycle { display: inline-block; min-width: 6.5ch; }
.cycle-cursor { color: var(--sage); }
.hero-mug { position: relative; display: flex; justify-content: center; }
.mug-svg { width: min(320px, 80%); height: auto; animation: mugFloat 7s ease-in-out infinite; }
.hero-glow {
  position: absolute; inset: 10% 8%;
  background: radial-gradient(circle, var(--terra-soft) 0%, transparent 70%);
  filter: blur(28px); opacity: 0.55; z-index: -1;
}
.steam-wisp path { animation: steamRise 3.6s ease-in-out infinite; }
.steam-wisp.s2 path { animation-duration: 3.1s; animation-delay: 0.5s; }
.steam-wisp.s3 path { animation-duration: 4s; animation-delay: 1.1s; }
@keyframes steamRise {
  0%   { transform: translateY(6px); opacity: 0.15; }
  40%  { opacity: 0.75; }
  100% { transform: translateY(-10px); opacity: 0; }
}
@keyframes mugFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}
.ticker {
  overflow: hidden; border-top: 2px solid var(--cream-deep); border-bottom: 2px solid var(--cream-deep);
  background: var(--white); padding: 14px 0;
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 18px; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ink-soft);
  animation: tickerScroll 36s linear infinite;
}
.ticker-track span:nth-child(odd) { color: var(--terra); }
.ticker-track i { color: var(--sage); font-style: normal; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .hero-copy .steam { text-align: center; }
  .hero-copy h1 { font-size: 2.2rem; }
  .hero-mug { order: -1; }
  .mug-svg { width: 200px; }
}
/* dark mode niceties */
html.dark .hero-glow { opacity: 0.4; }
html.dark .steam-wisp path { stroke: #B7A995; }

.hero-decor.d2 { animation: decorBob 6s ease-in-out infinite; }
.hero-decor.d1 { animation: decorBob 7s ease-in-out infinite; }
@keyframes decorBob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: 14px; }
}
