/* 6 Degrees Coffee — design system (preview build)
   Layout: single warm-cream ground, espresso ink, brass accent reserved for emphasis.
   Display: Fraunces (optical sizing). Body/UI: Manrope. Both via Google Fonts; self-host WOFF2 in WordPress. */

:root {
  /* Machines-first system (matches the approved prototype): warm paper, glossy-black bands, Kafenio brown as the one accent. */
  --espresso: #141110;
  --roast: #2A2320;
  --ink: #141110;
  --ink-2: #5E534B;
  --ink-3: #8C8178;
  --cream: #F6F2EC;
  --crema: #EFE8DF;
  --parchment: #FFFFFF;
  --line: #E2D8CC;
  --brass: #6E4A30;
  --brass-soft: #F1E6DA;
  --olive: #2F6B45;
  --ok: #2F6B45;
  --warn: #8A5A12;
  --err: #B03A2E;
  --band: #121010;
  --band-fg: #F4EEE6;
  --band-mute: #B9ADA1;
  --band-line: #2E2825;
  --wa: #1F7A4D;
  --bg: var(--cream);
  --fg: var(--ink);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(20,17,16,.08);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --espresso:#F4EEE6; --roast:#E4D9CD; --ink:#F4EEE6; --ink-2:#C4B8AC; --ink-3:#8F8378; --cream:#131110; --crema:#24201D; --parchment:#1B1816;
  --line:#2F2925; --brass:#C08A62; --brass-soft:#2C2119; --olive:#7CC394; --ok:#7CC394; --warn:#E0A85A; --err:#E07A6E; --band:#0B0A09; --band-line:#2A2421; --wa:#46B07A; color-scheme: dark } }
:root[data-theme="dark"] {
  --espresso:#F4EEE6; --roast:#E4D9CD; --ink:#F4EEE6; --ink-2:#C4B8AC; --ink-3:#8F8378; --cream:#131110; --crema:#24201D; --parchment:#1B1816;
  --line:#2F2925; --brass:#C08A62; --brass-soft:#2C2119; --olive:#7CC394; --ok:#7CC394; --warn:#E0A85A; --err:#E07A6E; --band:#0B0A09; --band-line:#2A2421; --wa:#46B07A; color-scheme: dark }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 450;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--brass); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: balance; color: var(--espresso); }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-variation-settings: "opsz" 144, "SOFT" 30; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.3rem); font-variation-settings: "opsz" 96; }
h3 { font-size: 1.25rem; font-variation-settings: "opsz" 48; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: 1.125rem; color: var(--ink-2); max-width: 62ch; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: .6rem; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.tnum { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2rem; margin-bottom: .6rem; }
.prose h3 { margin-top: 1.6rem; margin-bottom: .4rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose strong { font-weight: 700; color: var(--espresso); }

/* Top bar + header */
.topbar { background: var(--espresso); color: var(--cream); font-size: .8125rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: center; padding-block: .45rem; }
.topbar span { white-space: nowrap; }
.topbar .dot::before { content: "·"; margin-right: 1.5rem; opacity: .6; }
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(245,237,225,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: .8rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--espresso); letter-spacing: -.01em; }
.logo:hover { color: var(--espresso); }
.logo .mark { width: 34px; height: 34px; border-radius: 50%; background: var(--espresso); color: var(--cream); display: grid; place-items: center; font-size: .95rem; font-weight: 700; font-family: var(--font-display); }
.logo small { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: block; line-height: 1; margin-top: .15rem; }
.nav { display: none; margin-left: auto; align-items: center; gap: .25rem; }
.nav > li { list-style: none; position: relative; }
.nav ul { margin: 0; padding: 0; }
.nav > ul { display: flex; gap: .25rem; }
.nav a, .nav summary { display: block; padding: .5rem .75rem; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: var(--radius); cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav a:hover, .nav summary:hover { background: var(--crema); color: var(--espresso); }
.nav details { position: relative; }
.nav details > ul { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--parchment); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: .5rem; z-index: 60; }
.nav details > ul a { font-weight: 500; padding: .5rem .7rem; }
.hdr-actions { margin-left: auto; display: flex; gap: .5rem; align-items: center; }
.nav + .hdr-actions { margin-left: 0; }
.menu-btn { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .75rem; font: inherit; font-weight: 600; cursor: pointer; color: var(--espresso); }
.mnav { display: none; border-top: 1px solid var(--line); background: var(--parchment); }
.mnav[data-open="true"] { display: block; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav > .wrap { padding-block: .5rem 1rem; }
.mnav details summary { font-weight: 700; padding: .7rem 0; cursor: pointer; }
.mnav details ul { padding: 0 0 .5rem .5rem; }
.mnav a { display: block; padding: .45rem 0; text-decoration: none; }
.mnav > .wrap > ul > li > a { font-weight: 700; padding: .7rem 0; }
@media (min-width: 960px) { .nav { display: flex; } .menu-btn { display: none; } .mnav { display: none !important; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: var(--radius); font-weight: 700; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: transform .12s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--espresso); color: var(--cream); }
.btn-primary:hover { background: var(--roast); color: var(--cream); }
.btn-secondary { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-secondary:hover { background: var(--crema); color: var(--espresso); }
.btn-ghost { background: transparent; color: var(--espresso); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--espresso); color: var(--espresso); }
.btn-sm { padding: .55rem .9rem; font-size: .85rem; }
.btn svg { width: 16px; height: 16px; }

/* Hero (home) */
.hero { background: var(--espresso); color: var(--cream); overflow: hidden; position: relative; }
.hero .wrap { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 7vw, 6rem); align-items: center; }
.hero h1 { color: var(--cream); font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.4rem); max-width: 14ch; }
.hero .lede { color: var(--crema); font-size: 1.15rem; }
.hero .eyebrow { color: var(--brass-soft); }
.hero .btn-primary { background: var(--cream); color: var(--espresso); }
.hero .btn-primary:hover { background: var(--parchment); }
.hero .btn-secondary { color: var(--cream); border-color: rgba(245,237,225,.5); }
.hero .btn-secondary:hover { background: rgba(245,237,225,.1); color: var(--cream); }
.hero-art { width: 100%; max-width: 520px; justify-self: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; font-size: .875rem; color: var(--crema); }
.hero-proof li { list-style: none; display: flex; align-items: center; gap: .45rem; }
.hero-proof ul { padding: 0; margin: 0; display: contents; }
.hero-proof svg { width: 14px; height: 14px; color: var(--brass-soft); }
@media (min-width: 880px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } }

/* Page header (interior) */
.page-head { padding-block: clamp(2.2rem, 5vw, 4rem) 1.5rem; }
.page-head .lede { margin-top: 1rem; }
.crumbs { font-size: .8125rem; color: var(--ink-2); margin-bottom: 1.2rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Sections */
.section { padding-block: clamp(2rem, 5vw, 4rem); }
.section + .section { padding-top: 0; }
.section-head { margin-bottom: 1.6rem; max-width: 70ch; }
.section-head .lede { margin-top: .6rem; font-size: 1.05rem; }
.section-alt { background: var(--parchment); border-block: 1px solid var(--line); }
.section-alt + .section-alt { border-top: 0; }
.section.section-alt + .section { padding-top: clamp(2rem, 5vw, 4rem); }
.section.section-dark { background: var(--espresso); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark .lede, .section-dark .muted { color: var(--crema); }

/* Grids and cards */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { background: var(--parchment); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; min-width: 0; display: flex; flex-direction: column; gap: .6rem; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--ink-2); font-size: .95rem; }
.card .link { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--espresso); display: inline-flex; align-items: center; gap: .35rem; }
.card .link::after { content: "→"; transition: transform .15s; }
.card .link:hover::after { transform: translateX(3px); }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--brass); transform: translateY(-2px); color: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.chip { font-size: .75rem; font-weight: 700; letter-spacing: .02em; padding: .25rem .6rem; border-radius: 999px; background: var(--crema); color: var(--roast); white-space: nowrap; }
.chip-olive { background: #E3E7D6; color: var(--olive); }
.chip-brass { background: var(--brass-soft); color: #6B4B14; }

/* Product cards */
.pcard { background: var(--parchment); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.pcard .art { background: var(--crema); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 1.25rem; }
.pcard .art svg { width: 100%; height: 100%; max-height: 220px; }
.pcard .body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pcard h3 { font-size: 1.15rem; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a:hover { text-decoration: underline; color: var(--espresso); }
.pcard .desc { font-size: .9rem; color: var(--ink-2); }
.price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--espresso); display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.price s { font-size: .9rem; color: var(--ink-3); font-family: var(--font-body); font-weight: 500; }
.price .sizes { font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.pcard .actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .4rem; }
.pcard .actions .btn { flex: 1; min-width: 120px; }
.roast { display: inline-flex; gap: 3px; align-items: center; }
.roast i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; }
.roast i.on { background: var(--espresso); }
.roast-label { font-size: .78rem; color: var(--ink-2); font-weight: 600; margin-left: .4rem; }

/* Segment (recipient/occasion) blocks */
.seg { background: var(--parchment); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; display: grid; gap: 1rem; min-width: 0; }
.seg h3 { font-size: 1.3rem; }
.seg p { color: var(--ink-2); }
.picks { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.pick { display: grid; grid-template-columns: 56px 1fr; gap: .75rem; align-items: center; padding: .6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); text-decoration: none; color: inherit; min-width: 0; }
.pick:hover { border-color: var(--brass); color: inherit; }
.pick .art { width: 56px; height: 56px; border-radius: 6px; background: var(--crema); display: grid; place-items: center; padding: 6px; }
.pick b { display: block; font-size: .9rem; line-height: 1.25; }
.pick span { font-size: .8rem; color: var(--ink-2); }
.seg .seg-cta { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--parchment); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; min-width: 520px; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); background: var(--crema); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: var(--espresso); }
.tbl-note { font-size: .82rem; color: var(--ink-2); margin-top: .6rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--espresso); color: var(--cream); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.steps b { display: block; margin-bottom: .2rem; color: var(--espresso); }
.steps p { color: var(--ink-2); font-size: .95rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 700; font-size: 1.02rem; list-style: none; position: relative; color: var(--espresso); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font-size: 1.4rem; font-weight: 400; color: var(--brass); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 0 1.1rem; color: var(--ink-2); max-width: 70ch; }

/* Stats */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat { padding: 1.2rem 1.3rem; border-left: 3px solid var(--brass); background: var(--parchment); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; min-width: 0; }
.stat .v { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--espresso); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { font-weight: 700; margin-top: .4rem; }
.stat .n { font-size: .82rem; color: var(--ink-2); }

/* CTA band */
.band { background: var(--espresso); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3rem); display: grid; gap: 1.2rem; align-items: center; }
.band h2 { color: var(--cream); }
.band p { color: var(--crema); max-width: 60ch; }
.band .btn-primary { background: var(--cream); color: var(--espresso); }
.band .btn-secondary { color: var(--cream); border-color: rgba(245,237,225,.5); }
.band .btn-secondary:hover { background: rgba(245,237,225,.1); color: var(--cream); }
.band .actions { display: flex; gap: .6rem; flex-wrap: wrap; }
@media (min-width: 820px) { .band { grid-template-columns: 1fr auto; } }

/* Notices */
.notice { padding: .9rem 1.1rem; border-radius: var(--radius); font-size: .9rem; border: 1px solid var(--line); background: var(--parchment); color: var(--ink-2); }
.notice-warn { border-color: #E3C79A; background: #FBF1DF; color: #6B4B14; }
.notice b { color: var(--espresso); }

/* Forms */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-weight: 700; font-size: .9rem; }
.field .hint { font-size: .8rem; color: var(--ink-2); }
input, select, textarea { font: inherit; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--parchment); color: var(--ink); width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--espresso); outline: none; box-shadow: 0 0 0 3px var(--brass-soft); }
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.err-msg { color: var(--err); font-size: .85rem; }
.ok-msg { color: var(--ok); font-weight: 700; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; margin-bottom: .5rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--parchment); cursor: pointer; font-size: .9rem; font-weight: 600; }
.choices input { width: auto; margin: 0; accent-color: var(--espresso); }
.choices label:has(input:checked) { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

/* Widgets */
.widget { background: var(--parchment); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.2rem, 3vw, 2rem); }
.widget-head { margin-bottom: 1.2rem; }
.result { margin-top: 1.5rem; display: grid; gap: 1rem; }
.result-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); padding: 1.1rem; display: grid; gap: .6rem; }
.result-card .why { font-size: .9rem; color: var(--ink-2); }
.pin-result { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream); display: none; }
.pin-result[data-show="true"] { display: block; }
.pin-result b { color: var(--espresso); }
.pin-result .tier { display: inline-block; margin-top: .3rem; }

/* Compare */
.compare th:first-child, .compare td:first-child { position: sticky; left: 0; background: var(--parchment); z-index: 1; }
.compare thead th:first-child { background: var(--crema); }

/* Product page */
.pdp { display: grid; gap: 2rem; padding-block: 1.5rem 3rem; }
.pdp .gallery { background: var(--crema); border-radius: var(--radius-lg); padding: 2rem; display: grid; place-items: center; min-height: 320px; }
.pdp .gallery svg { width: 80%; max-width: 420px; height: auto; }
.pdp .buy { display: grid; gap: 1rem; align-content: start; }
.pdp .buy .price { font-size: 1.9rem; }
.pdp .facts { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.fact { background: var(--parchment); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .85rem; min-width: 0; }
.fact b { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .2rem; }
.pdp .trust { font-size: .875rem; color: var(--ink-2); display: grid; gap: .3rem; }
.pdp .trust li { list-style: none; padding-left: 1.3rem; position: relative; }
.pdp .trust li::before { content: "✓"; position: absolute; left: 0; color: var(--olive); font-weight: 700; }
.pdp .trust ul { padding: 0; margin: 0; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; } }
.spec-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--parchment); }
.spec-list div { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec-list div:last-child { border-bottom: 0; }
.spec-list b { color: var(--espresso); }
.todo { color: var(--warn); font-weight: 700; font-size: .8rem; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px)); background: var(--parchment); border-top: 1px solid var(--line); display: flex; gap: .75rem; align-items: center; z-index: 40; backdrop-filter: blur(8px); }
.sticky-cta .price { font-size: 1.1rem; }
.sticky-cta .btn { margin-left: auto; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
body.has-sticky { padding-bottom: 76px; }
@media (min-width: 900px) { body.has-sticky { padding-bottom: 0; } }

/* Footer */
.ftr { background: var(--espresso); color: var(--crema); margin-top: 3rem; }
.ftr .wrap { padding-block: 3rem 2rem; display: grid; gap: 2rem; }
.ftr h4 { color: var(--cream); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.ftr a { text-decoration: none; color: var(--crema); font-size: .92rem; }
.ftr a:hover { color: var(--brass-soft); }
.ftr .brand p { font-size: .9rem; max-width: 36ch; color: var(--crema); }
.ftr .brand .logo { color: var(--cream); margin-bottom: .8rem; }
.ftr .brand .logo .mark { background: var(--cream); color: var(--espresso); }
.ftr .brand .logo small { color: var(--brass-soft); }
.ftr .legal { grid-column: 1 / -1; border-top: 1px solid rgba(245,237,225,.15); padding-top: 1.2rem; font-size: .8rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.ftr address { font-style: normal; font-size: .85rem; color: var(--crema); line-height: 1.5; }
@media (min-width: 760px) { .ftr .wrap { grid-template-columns: 1.4fr repeat(4, 1fr); } }
@media (max-width: 759px) { .ftr .wrap { grid-template-columns: repeat(2, 1fr); } .ftr .brand { grid-column: 1 / -1; } }

/* Preview ribbon */
.preview-note { background: var(--brass-soft); color: var(--ink); font-size: .78rem; text-align: center; padding: .4rem var(--gutter); }

/* Utilities */
.flex { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-1 { margin-bottom: 1rem; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); margin-block: 2rem; }
.anchor-target { scroll-margin-top: 90px; }
.inline-list { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.inline-list a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.inline-list a:hover { border-color: var(--brass); }
.two-col { display: grid; gap: 2rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.quote { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--roast); max-width: 40ch; }

/* QA fixes */
.nav li, .mnav li { list-style: none; }
@media (max-width: 959px) {
  .hdr-actions .btn { display: none; }
  .logo { font-size: 1.15rem; }
  .topbar .dot::before { display: none; }
  .topbar .wrap { gap: .15rem 1rem; font-size: .75rem; }
}


/* ===== Prototype alignment layer ===== */
body { font-weight: 400; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.015em; }
.eyebrow { color: var(--ink-3); letter-spacing: .14em; }
.topbar { background: var(--band); color: var(--band-fg); }
.topbar b { font-weight: 600; }
.hdr { background: var(--cream); backdrop-filter: none; }
.logo { gap: .6rem; }
.logo .mark { width: auto; height: auto; background: none; color: var(--ink); font-size: 1.55rem; font-weight: 600; border-radius: 0; }
.logo small { display: none; }
.ftr .brand .logo .mark { background: none; color: var(--band-fg); }
.nav a, .nav summary { border-radius: 999px; font-weight: 500; color: var(--ink-2); }
.nav a:hover, .nav summary:hover { background: var(--crema); color: var(--ink); }
.nav details > ul { background: var(--parchment); }
.btn { border-radius: 999px; min-height: 46px; font-weight: 600; }
.btn-sm { min-height: 38px; }
.btn-primary { background: var(--brass); color: #fff; border-color: var(--brass); }
.btn-primary:hover { background: #5A3B25; color: #fff; }
.btn-secondary { border: 1.5px solid var(--ink-3); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-ghost { border: 1.5px solid var(--line); }
.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa:hover { color: #fff; filter: brightness(1.05); }
.hero, .section.section-dark, .band, .ftr { background: var(--band); color: var(--band-fg); }
.hero h1, .band h2, .section-dark h2, .section-dark h3 { color: var(--band-fg); }
.hero .lede, .band p, .ftr .brand p, .ftr address, .ftr a { color: var(--band-mute); }
.hero .eyebrow { color: var(--band-mute); }
.hero .btn-primary, .band .btn-primary { background: var(--brass); color: #fff; border-color: var(--brass); }
.hero .btn-secondary, .band .btn-secondary { color: var(--band-fg); border-color: var(--band-mute); }
.hero-proof { color: var(--band-mute); }
.hero-proof svg { color: #D29B72; }
.hero .wrap { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero-art { max-width: 560px; border-radius: var(--radius-lg); overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.pcard .art { padding: 0; aspect-ratio: 16/11; background: #EDEAE6; overflow: hidden; }
.pcard .art img, .pick .art img, .result-card .art img { width: 100%; height: 100%; object-fit: cover; }
.pcard .art img { transition: transform .3s ease; }
.pcard:hover .art img { transform: scale(1.03); }
.pick .art { padding: 0; overflow: hidden; }
.pdp .gallery { padding: 0; overflow: hidden; background: #EDEAE6; min-height: 0; aspect-ratio: 16/11; }
.pdp .gallery img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs img { width: 76px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.chip { background: var(--crema); color: var(--ink-2); font-weight: 500; }
.chip-olive { background: var(--crema); color: var(--ink-2); }
.chip-brass { background: var(--brass-soft); color: var(--brass); }
.roast i { width: 14px; height: 6px; border-radius: 2px; }
.roast i.on { background: var(--brass); }
.price { font-family: var(--font-display); font-weight: 500; }
.price .sizes { font-family: var(--font-body); }
.sizes-list { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; }
.sizes-list span { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.stat { border-left-color: var(--brass); }
.notice-warn { background: var(--brass-soft); border-color: var(--line); color: var(--ink); }
.offer { border: 1.5px dashed var(--brass); border-radius: var(--radius-lg); padding: 14px 16px; background: var(--brass-soft); font-size: .92rem; }
.offer b { color: var(--brass); }
.wafab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 34; display: flex; align-items: center; gap: 8px; background: var(--wa); color: #fff; border-radius: 999px; padding: 12px 16px; text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.wafab:hover { color: #fff; }
body.has-sticky .wafab { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { body.has-sticky .wafab { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 520px) { .wafab span { display: none; } .wafab { padding: 14px; } }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.socials a { border: 1.5px solid var(--band-line); border-radius: 999px; padding: 6px 12px; font-size: .82rem; color: var(--band-fg); }
.preview-note a { text-decoration: underline; }
.ftr .legal { color: var(--band-mute); }
.ftr h4 { color: var(--band-mute); }

/* Promo bar: rotating offers, one line, tappable */
.topbar, .preview-note { display: none; }
.promo { background: var(--band); color: var(--band-fg); font-size: .86rem; }
.promo-in { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; padding-block: 6px; }
.promo-track { position: relative; flex: 1; min-width: 0; height: 1.6em; text-align: center; }
.promo-msg { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: 10px; text-decoration: none; color: var(--band-fg); opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; white-space: nowrap; overflow: hidden; }
.promo-msg span { overflow: hidden; text-overflow: ellipsis; }
.promo-msg.on { opacity: 1; transform: none; }
.promo-msg b { color: #E8C4A4; font-weight: 600; flex: 0 0 auto; }
.promo-msg:hover { color: #fff; }
.promo-dots { display: flex; gap: 5px; }
.promo-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--band-line); }
.promo-dots i.on { background: #E8C4A4; }
@media (max-width: 600px) { .promo-dots { display: none; } .promo-msg { font-size: .8rem; } .promo-msg b { display: none; } }

/* Home hero v2: full-bleed pour shot, rising steam, copy on the dark side */
.hero2 { position: relative; background: #0d0b0a; color: #F4EEE6; overflow: hidden; isolation: isolate; }
.hero2-media { position: absolute; inset: 0; z-index: -1; }
.hero2-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; filter: saturate(1.05) contrast(1.05); animation: heroZoom 18s ease-out both; }
.hero2-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,11,10,.94) 0%, rgba(13,11,10,.82) 38%, rgba(13,11,10,.25) 70%, rgba(13,11,10,.1) 100%), linear-gradient(0deg, rgba(13,11,10,.7), rgba(13,11,10,0) 40%); }
.hero2-copy { padding-block: clamp(64px, 11vw, 150px) clamp(48px, 7vw, 96px); display: grid; gap: 22px; max-width: var(--wrap); }
.hero2-copy > * { max-width: 600px; }
.hero2 h1 { color: #F4EEE6; font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5rem); line-height: 1.02; letter-spacing: -.02em; }
.hero2 h1 em { font-style: italic; color: #E8C4A4; }
.hero2 .lede { color: #D9CEC2; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); }
.hero2 .eyebrow { color: #E8C4A4; }
.hero2 .btn-primary { background: #F4EEE6; color: #141110; border-color: #F4EEE6; }
.hero2 .btn-primary:hover { background: #fff; color: #141110; }
.hero2 .btn-secondary { color: #F4EEE6; border-color: rgba(244,238,230,.5); }
.hero2-proof { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero2-proof li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid #8a6446; }
.hero2-proof b { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: #F4EEE6; }
.hero2-proof span { font-size: .82rem; color: #B9ADA1; }
.steam { position: absolute; left: 66%; top: 18%; width: 140px; height: 220px; pointer-events: none; }
.steam i { position: absolute; bottom: 0; width: 36px; height: 160px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255,255,255,.22), rgba(255,255,255,0) 70%); filter: blur(10px); opacity: 0; animation: steam 6s ease-in-out infinite; }
.steam i:nth-child(1) { left: 20px; } .steam i:nth-child(2) { left: 56px; animation-delay: 2s; } .steam i:nth-child(3) { left: 90px; animation-delay: 4s; }
@keyframes steam { 0% { transform: translateY(40px) scaleX(.8); opacity: 0; } 25% { opacity: .9; } 100% { transform: translateY(-120px) scaleX(1.4) skewX(8deg); opacity: 0; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (max-width: 760px) {
  .hero2-media img { object-position: 78% 40%; }
  .hero2-media::after { background: linear-gradient(0deg, rgba(13,11,10,.96) 0%, rgba(13,11,10,.85) 55%, rgba(13,11,10,.35) 100%); }
  .hero2-copy { padding-top: 220px; }
  .steam { left: 58%; top: 4%; }
}
@media (prefers-reduced-motion: reduce) { .steam { display: none; } .hero2-media img { animation: none; } }

/* Chikmagalur story band */
.origin { background: #1a1411; color: #F4EEE6; position: relative; overflow: hidden; }
.origin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 400px at 85% 0%, rgba(201,153,102,.22), transparent 60%), radial-gradient(800px 300px at 0% 100%, rgba(110,74,48,.35), transparent 60%); }
.origin .wrap { position: relative; display: grid; gap: 28px; padding-block: clamp(56px, 8vw, 110px); }
.origin h2 { color: #F4EEE6; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); max-width: 18ch; }
.origin h2 em { color: #E8C4A4; font-style: italic; }
.origin p { color: #D9CEC2; max-width: 62ch; font-size: 1.08rem; }
.origin .eyebrow { color: #C99966; }
.origin-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.origin-facts div { border-top: 1px solid rgba(232,196,164,.35); padding-top: 12px; }
.origin-facts b { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: #F4EEE6; }
.origin-facts span { font-size: .88rem; color: #B9ADA1; }
.packart { display: block; width: 100%; height: 100%; background: #EFE6DA; }
.packart svg { width: 100%; height: 100%; }
/* Gift-finder result cards: contain the image */
.result-card .art { height: 160px !important; padding: 0 !important; overflow: hidden; border-radius: 10px; background: #EFE6DA !important; }
.result-card .art img, .result-card .art svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.result-card h4 { font-size: 1.05rem; }
.result-card { align-content: start; }
.lead-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; background: var(--crema); display: grid; gap: 12px; }
.lead-box h3 { font-size: 1.15rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-2); }
.consent input { width: auto; margin-top: 3px; accent-color: var(--brass); }
.req { color: var(--err); }

/* Barrel Room waitlist */
.barrel { background: radial-gradient(900px 400px at 100% 0%, rgba(201,153,102,.18), transparent 60%), #1a1411; color: #F4EEE6; border-radius: 20px; padding: clamp(22px, 5vw, 48px); }
.barrel h2 { color: #F4EEE6; } .barrel .lede, .barrel p, .barrel legend { color: #D9CEC2; } .barrel .eyebrow { color: #C99966; }
.barrel label { color: #F4EEE6; }
.barrel input:not([type=checkbox]):not([type=radio]) { background: #241c18; border-color: #3a2e28; color: #F4EEE6; }
.barrel .consent { color: #B9ADA1; }
.barrel .choices label { background: #241c18; border-color: #3a2e28; color: #F4EEE6; }
.barrel .choices label:has(input:checked) { background: #C99966; color: #1a1411; border-color: #C99966; }
.barrel .btn-primary { background: #C99966; border-color: #C99966; color: #1a1411; }
.barrel .btn-secondary, .barrel .btn-ghost { color: #F4EEE6; border-color: rgba(244,238,230,.4); }
.barrel-step { display: none; gap: 18px; } .barrel-step.on { display: grid; animation: rise .5s ease both; }
.quiz { display: grid; gap: 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 1.1rem; }
.checks li { display: flex; align-items: center; gap: 12px; opacity: .35; transition: opacity .3s; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C99966; flex: 0 0 auto; }
.checks li.done { opacity: 1; } .checks li.done::before { background: #C99966; box-shadow: inset 0 0 0 4px #1a1411; }
.checks li.done::after { content: "approved"; margin-left: auto; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #C99966; }
.pass-card { position: relative; background: linear-gradient(135deg, #2b211c, #1a1411); border: 1px solid #C99966; border-radius: 16px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 12px; overflow: hidden; animation: stamp .7s cubic-bezier(.2,1.4,.4,1) both; }
.pass-card h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.seal { position: absolute; right: 20px; top: 20px; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #b5452e, #7d2416); color: #f6d9c8; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.5rem; box-shadow: 0 6px 18px rgba(0,0,0,.4), inset 0 -4px 8px rgba(0,0,0,.3); transform: rotate(-12deg); }
.pass-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 6px 0 0; }
.pass-meta dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #B9ADA1; } .pass-meta dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.15rem; color: #F4EEE6; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.15) rotate(-2deg); } 100% { opacity: 1; transform: none; } }

/* QA round 3 fixes */
@media (max-width: 959px) { .hdr .hdr-actions { margin-left: auto; } }
@media (min-width: 761px) {
  .hero2-media { left: auto; right: 0; width: 58%; }
  .hero2-media img { object-position: 30% 50%; filter: saturate(1.08) contrast(1.06) brightness(1.04); }
  .hero2-media::after { background: linear-gradient(90deg, #0d0b0a 0%, rgba(13,11,10,.55) 18%, rgba(13,11,10,0) 45%), linear-gradient(0deg, rgba(13,11,10,.35), rgba(13,11,10,0) 30%); }
  .steam { left: 20%; top: 14%; }
  .hero2 { min-height: min(720px, 86vh); display: flex; align-items: center; }
  .hero2-copy { width: 100%; }
  .hero2-copy > * { max-width: 560px; }
}
@media (max-width: 760px) {
  .hero2-media { height: 300px; bottom: auto; }
  .hero2-media img { object-position: 25% 50%; }
  .hero2-media::after { background: linear-gradient(0deg, #0d0b0a 0%, rgba(13,11,10,0) 55%); }
  .hero2-copy { padding-top: 270px; }
  .steam { left: 14%; top: 2%; }
}
.pass-card h2 { padding-right: 84px; }
@media (max-width: 520px) { .seal { width: 56px; height: 56px; font-size: 1.15rem; right: 14px; top: 14px; } .pass-card h2 { padding-right: 60px; } }
.hero2-media { overflow: hidden; }
@media (min-width: 761px) {
  .hero2-media { width: 50%; }
  .hero2-media::after { background: linear-gradient(90deg, #0d0b0a 0%, rgba(13,11,10,.6) 12%, rgba(13,11,10,0) 35%), linear-gradient(0deg, rgba(13,11,10,.35), rgba(13,11,10,0) 30%); }
  .hero2-copy > * { max-width: min(560px, 44vw); }
}
@media (max-width: 760px) { .hero2-copy { padding-top: 310px; } }
@media (min-width: 761px) { .hero2-copy { padding-block: 56px 48px; } }

/* Real product cut-outs (transparent WebP): show the whole pack on warm cream */
img[src$=".webp"] { object-fit: contain !important; background: #F3EEE7; }
.pcard .art img[src$=".webp"], .pdp .gallery img[src$=".webp"], .result-card .art img[src$=".webp"] { padding: 12px; }
.pdp .gallery { position: relative; } .pdp .gallery > img { position: absolute; inset: 0; }
.logo-img { height: 38px; width: auto; display: inline-block; vertical-align: middle; margin-right: 6px; background: none !important; }
/* studio product photos (square, own background): fill the frame */
img[src*="/img/house-"], img[src*="/img/aaa-"], img[src*="/img/filter-"], img[src*="/img/spec-"], img[src*="/img/bulk-"], img[src*="/img/cup-"], img[src*="/img/noir-"], img[src*="/img/ss-life"], img[src*="/img/ss-info"], img[src*="/img/ss-feat"] { object-fit: cover !important; padding: 0 !important; background: #E7E2DC; }
.pdp .gallery > img[src*="/img/"] { object-fit: contain !important; }
