/* BrewShipper homepage layout. Loaded after css/site.css and uses its tokens only.
   Sections in page order: hero, proof, how, use cases, testimonial, label designer
   teaser, bags and coffee, bulk and wholesale, FAQ, quote request, blog, closer. */

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 4.5vw, 64px) 0 clamp(56px, 6vw, 88px); background:
  radial-gradient(1100px 520px at 88% -10%, color-mix(in srgb, var(--c-brown) 10.0%, transparent), transparent 60%),
  linear-gradient(180deg, var(--c-cream) 0%, #f6efe6 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { max-width: 640px; }
.hero-h1 { margin-bottom: var(--sp-5); max-width: 12ch; }
.hero-lede { margin-bottom: var(--sp-6); max-width: 50ch; }
.hero-ctas { margin-bottom: var(--sp-4); }
.hero-call { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--sp-6); }
.hero-ticks { padding-top: var(--sp-5); border-top: 1px solid var(--line); }

/* The product stage: two bags under a warm light. The bag images are baked from the label
   studio's renderer (js/bag-render.js), labels included, so they match what /create/ shows. */
.hero-visual { position: relative; }
.stage { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 620px; margin-left: auto; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 46% at 58% 40%, color-mix(in srgb, var(--c-brown) 72%, #fff) 0%, color-mix(in srgb, var(--c-brown) 0.0%, transparent) 70%),
    radial-gradient(120% 80% at 50% 0%, var(--c-brown) 0%, var(--c-brown-deep) 55%, var(--c-espresso) 100%);
  box-shadow: var(--sh-3); }
.stage::before { /* floor */ content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(20, 10, 4, 0.38) 100%); z-index: -1; }
.stage::after { /* grain */ content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0.22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.stage-glow { position: absolute; left: 10%; right: 8%; bottom: 5.5%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c-espresso) 60.0%, transparent), color-mix(in srgb, var(--c-espresso) 0.0%, transparent)); z-index: 0; }
.bag { position: absolute; z-index: 1; filter: drop-shadow(0 18px 18px color-mix(in srgb, var(--c-espresso) 35.0%, transparent)); }
.bag-img { width: 100%; height: auto; }
.bag-white { width: 44%; left: 6%; bottom: 9%; }
.bag-black { width: 50%; left: 33%; bottom: 5%; z-index: 2; }
.stage-beans { position: absolute; z-index: 3; width: 23%; left: 71%; bottom: 5%; height: auto; filter: drop-shadow(0 10px 10px color-mix(in srgb, var(--c-espresso) 40.0%, transparent)); }
.stage-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--c-cream) 94.0%, transparent); color: var(--c-ink); font-size: 13px; font-weight: 700; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5); white-space: nowrap; }
.stage-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-brown); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-brown) 16.0%, transparent); }
.chip-a { left: 4%; top: 4%; }
.chip-b { right: 4%; bottom: 3%; }

/* Hero entrance. Static for reduced motion and without JS. */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes bagIn { from { opacity: 0; transform: translateY(26px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.js .hero-copy > * { animation: rise 0.9s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.js .hero-copy > :nth-child(5) { animation-delay: 0.22s; }
.js .hero-copy > :nth-child(6) { animation-delay: 0.26s; }
.js .stage { animation: rise 1s var(--ease) 0.05s both; }
.js .bag-white { animation: bagIn 1.1s var(--ease) 0.3s both; }
.js .bag-black { animation: bagIn 1.1s var(--ease) 0.18s both; }
.js .stage-beans { animation: rise 1.1s var(--ease) 0.42s both; }
.js .chip-a { animation: chipIn 0.7s var(--ease) 0.8s both; }
.js .chip-b { animation: chipIn 0.7s var(--ease) 0.95s both; }

/* ---------- Proof ---------- */
.proof { padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); background: var(--c-cream); border-bottom: 1px solid var(--line); }
.proof-title { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: var(--sp-6); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px clamp(32px, 5.5vw, 76px); margin-bottom: clamp(40px, 5vw, 64px); }
.logos img { height: var(--h, 40px); width: auto; opacity: 0.78; transition: opacity var(--dur-2); }
.logos img:hover { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-inline: auto; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; gap: 8px; padding: 6px 16px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .num { font-size: var(--fs-num); line-height: 1; color: var(--heading); }
.stat dt { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: none; }
.step { position: relative; background: var(--c-paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 2.6vw, 36px); }
.step-n { display: block; font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--c-brown); margin-bottom: var(--sp-5); }
.step .h3 { margin-bottom: var(--sp-2); }
.step p { color: var(--muted); font-size: 16px; }
.how-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-6); margin-top: clamp(28px, 3.5vw, 44px); }
.how-foot .fine { max-width: 52ch; font-size: 14px; }

/* ---------- Use cases ---------- */
/* Liquid glass cards (James, 2026-11-04). Glass only reads with something behind it, so the
   section gets a soft warm wash; the cards are translucent, blurred, with a light rim and a deep soft shadow. */
.uses { isolation: isolate; overflow: hidden; }
.uses::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 12% 58%, color-mix(in srgb, var(--c-crema) 75.0%, transparent), transparent 70%),
    radial-gradient(34% 40% at 88% 36%, rgba(232, 220, 205, 0.95), transparent 72%),
    radial-gradient(30% 34% at 56% 88%, color-mix(in srgb, var(--c-brown) 10.0%, transparent), transparent 70%),
    radial-gradient(26% 30% at 46% 30%, rgba(243, 235, 225, 0.9), transparent 70%); }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.use { display: flex; flex-direction: column; transition: border-color var(--dur-2), box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.use-grid .use.card { position: relative; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 252, 248, 0.52) 55%, rgba(250, 244, 236, 0.44) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 color-mix(in srgb, var(--c-ink) 4.0%, transparent),
    0 1px 2px color-mix(in srgb, var(--c-ink) 4.0%, transparent), 0 26px 50px -30px color-mix(in srgb, var(--c-ink) 32.0%, transparent); }
/* Rim light: a gradient hairline that is bright at the top-left and bottom-right edges. */
.use-grid .use.card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.15) 32%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.use-grid .use.card:hover { border-color: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 -1px 0 color-mix(in srgb, var(--c-ink) 4.0%, transparent),
    0 1px 2px color-mix(in srgb, var(--c-ink) 5.0%, transparent), 0 34px 60px -30px color-mix(in srgb, var(--c-ink) 42.0%, transparent); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .use-grid .use.card { background: rgba(255, 252, 248, 0.92); }
}
@media (prefers-reduced-transparency: reduce) {
  .use-grid .use.card { background: #fffcf8; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.use-icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: var(--c-brown); margin-bottom: var(--sp-5);
  background: linear-gradient(160deg, rgba(243, 235, 225, 0.95), rgba(232, 220, 205, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 14px -8px color-mix(in srgb, var(--c-brown) 35.0%, transparent); }
.use .h3 { margin-bottom: var(--sp-2); }
.use p { color: var(--muted); font-size: 16px; margin-bottom: var(--sp-5); }
.use-links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.use-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--c-brown); text-decoration: none; padding: 4px 0; }
.use-links .use-go { margin-top: 0; }
.use-go .i { transition: transform var(--dur-2) var(--ease); }
.use-go:hover { text-decoration: underline; text-underline-offset: 4px; }
.use-go:hover .i { transform: translateX(3px); }
.use-more { font-size: 14px; color: var(--muted); text-underline-offset: 3px; padding: 4px 0; }
.use-more:hover { color: var(--c-brown); }

/* ---------- Testimonial ---------- */
.testi { text-align: center; overflow: hidden; }
.testi::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 320px at 50% 0%, rgba(255, 255, 255, 0.08), transparent 70%); }
.testi-fig { position: relative; }
.testi-mark { width: 44px; height: 33px; margin: 0 auto var(--sp-5); color: var(--c-crema); opacity: 0.9; }
.testi-q p { font-family: var(--font-display); font-size: clamp(24px, 1.4rem + 1.2vw, 36px); line-height: 1.32; color: var(--c-cream); text-wrap: pretty; }
.testi-fig figcaption { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--muted); }
.testi-fig figcaption strong { color: var(--c-cream); font-size: 16px; }

/* ---------- Label designer teaser ---------- */
.designer { overflow: hidden; }
.designer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 500px at 85% 50%, color-mix(in srgb, var(--c-brown) 35.0%, transparent), transparent 70%); }
.designer-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.designer .lede { margin-top: var(--sp-4); margin-bottom: var(--sp-6); }
.designer-checks { margin-bottom: var(--sp-7); }
.designer-checks li { color: var(--c-cream); font-size: 16px; }
.designer-checks .i { color: var(--c-crema); }

.try { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 2.4vw, 28px); background: color-mix(in srgb, var(--c-cream) 4.0%, transparent); border: 1px solid color-mix(in srgb, var(--c-cream) 12.0%, transparent); border-radius: var(--r-xl); padding: clamp(14px, 2vw, 22px); }
/* Same split as the studio: the flat label (tall, 2.5 x 5 in) on the left, the bag on the right.
   Both are canvases drawn by the studio's engine once js/home.js has loaded it, images until then. */
.try-stage { position: relative; aspect-ratio: 1.1; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(60% 70% at 62% 45%, color-mix(in srgb, var(--c-brown) 72%, #fff) 0%, var(--c-brown-deep) 70%, var(--c-espresso) 100%); }
.try-flat { position: absolute; z-index: 2; left: 6%; top: 10%; height: 80%; aspect-ratio: 1 / 2; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 18px 30px -14px rgba(0, 0, 0, 0.6); border-radius: 2px; overflow: hidden; }
.try-bag { position: absolute; z-index: 1; right: -4%; bottom: -3%; height: 104%; aspect-ratio: 4 / 5; }
.try-flat img, .try-flat canvas, .try-bag img, .try-bag canvas { width: 100%; height: 100%; transition: opacity var(--dur-2); }
.try-stage.is-busy .try-bag > :last-child { opacity: 0.55; }
.try-controls { display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-6); padding: 0 clamp(4px, 1vw, 12px) clamp(4px, 1vw, 10px); }
.try-field, .try-group-wide, .try-foot { flex: 1 1 100%; }
.seg.seg-wrap { flex-wrap: wrap; border-radius: var(--r-md); }
.try-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.try-foot .try-note { flex: 1 1 220px; }
/* Renderer still loading: keep the space (no layout shift). Renderer failed or no JS: remove. */
.try.is-pending [data-try-live] { visibility: hidden; }
.try.is-static [data-try-live], .no-js [data-try-live] { display: none; }
.try-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-on-dark-muted); margin-bottom: 10px; }
.try-field input { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-sm); border: 1.5px solid color-mix(in srgb, var(--c-cream) 28.0%, transparent); background: color-mix(in srgb, var(--c-cream) 6.0%, transparent); color: var(--c-cream); font-size: 16px; transition: border-color var(--dur-1), background-color var(--dur-1); }
.try-field input::placeholder { color: color-mix(in srgb, var(--c-cream) 55.0%, transparent); }
.try-field input:focus-visible { outline: none; border-color: var(--c-crema); background: color-mix(in srgb, var(--c-cream) 10.0%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-crema) 18.0%, transparent); }
.seg { display: inline-flex; flex-wrap: nowrap; padding: 4px; gap: 2px; border-radius: var(--r-pill); border: 1.5px solid color-mix(in srgb, var(--c-cream) 22.0%, transparent); background: rgba(0, 0, 0, 0.18); }
.seg-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 13px; border-radius: var(--r-pill); color: var(--c-on-dark-muted); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background-color var(--dur-2) var(--ease), color var(--dur-1); }
.seg-btn:hover { color: var(--c-cream); }
.seg-btn[aria-pressed="true"] { background: var(--c-cream); color: var(--c-espresso); }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--c-cream) 60.0%, transparent); }
.swatch-black { background: #1b1b1b; }
.swatch-white { background: #f1f0ec; }
.seg-btn[aria-pressed="true"] .swatch { border-color: color-mix(in srgb, var(--c-espresso) 35.0%, transparent); }
.try-note { font-size: 13px; color: var(--c-on-dark-muted); }

/* ---------- Bags and coffee ---------- */
.bags-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.bags-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 7%; aspect-ratio: 1 / 0.96; padding: 0 6% 8%; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(70% 60% at 50% 38%, #fbf6ef 0%, var(--c-sand) 55%, var(--c-sand-deep) 100%); }
.bags-visual::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: 14%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c-ink) 22.0%, transparent), transparent); }
.bags-fig { position: relative; z-index: 1; width: 44%; display: grid; justify-items: center; gap: 18px; }
.bags-fig img { width: 100%; }
.bags-fig figcaption { font-size: 14px; font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.bags .h2 { margin-bottom: var(--sp-6); }
.specs { border-top: 1px solid var(--line-strong); margin-bottom: var(--sp-5); }
.spec-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); font-size: 16.5px; }
.spec-row dt { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-brown); padding-top: 3px; }
.spec-row dd { color: var(--c-ink); }
.bags-note { font-size: 15px; color: var(--muted); margin-bottom: var(--sp-5); }
.addons { padding: 18px 20px; border-radius: var(--r-md); background: var(--c-sand); margin-bottom: var(--sp-6); }
.addons-h { font-size: 15px; margin-bottom: 4px; }
.addons p { font-size: 15px; color: var(--muted); }

/* ---------- Bulk and wholesale ---------- */
.wholesale { background: var(--c-cream); padding-top: 0; padding-bottom: 0; }
.wholesale-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--sp-6) var(--sp-7); align-items: end; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--c-brown) 50.0%, transparent), transparent 70%), var(--c-brown-deep);
  --heading: var(--c-cream); --text: #eadccf; --muted: #eadccf; --accent: var(--c-cream); --focus: var(--c-crema); }
.wholesale-card .h2 { max-width: 18ch; }
.wholesale-card .lede { margin-top: var(--sp-4); }
.wholesale-actions { display: grid; gap: 12px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--navh) + 32px); }
.faq-intro .h2 { margin-bottom: var(--sp-4); }
.faq-intro .lede { margin-bottom: var(--sp-5); }

/* ---------- Quote request ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.quote-aside .h2 { max-width: 16ch; }
.quote-aside .lede { margin: var(--sp-4) 0 var(--sp-6); }
.next-steps { display: grid; gap: 18px; margin-bottom: var(--sp-7); }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; font-size: 15.5px; color: var(--muted); }
.next-steps li > span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c-brown); color: var(--c-cream); font-weight: 700; font-size: 14px; }
.next-steps strong { display: block; color: var(--heading); font-size: 16px; margin-bottom: 2px; }
.talk { padding-top: var(--sp-6); border-top: 1px solid var(--line-strong); }
.talk-h { font-family: var(--font-display); font-size: 26px; line-height: 1.15; color: var(--heading); margin-bottom: var(--sp-4); }
.talk-mail { margin-top: var(--sp-4); font-size: 15px; color: var(--muted); }
.quote-card { background: var(--c-paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 44px); box-shadow: var(--sh-3); }
.quote-form .form-submit { margin-top: 6px; }
.quote-success { text-align: center; padding: clamp(16px, 4vw, 48px) 0; }
.quote-success:focus { outline: none; }
.success-check { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c-brown); color: var(--c-cream); margin: 0 auto 20px; }
.success-check .i { width: 28px; height: 28px; }
.success-h { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; margin-bottom: 10px; }
.success-p { color: var(--muted); max-width: 44ch; margin: 0 auto 26px; }
.success-actions { justify-content: center; }

/* ---------- Blog ---------- */
.guides-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--sp-5); margin-bottom: clamp(32px, 4vw, 52px); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.guide { padding: 0; overflow: hidden; }
.guide-cover { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; background: var(--c-brown); }
.guide-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.guide .h3 { font-size: 18px; line-height: 1.35; }
.guide-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--c-brown); }

.guides-all-m { display: none; margin-top: var(--sp-5); width: 100%; }

/* ---------- Closer ---------- */
.closer { background: var(--c-brown); padding: clamp(56px, 7vw, 96px) 0; --heading: var(--c-cream); --focus: var(--c-crema); }
.closer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-6); }
.closer .h2 { max-width: 18ch; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  /* minmax(0, 1fr), not 1fr: a plain 1fr track never shrinks below its content, which
     pushed the label designer teaser 40 px past a 320 px screen. */
  .hero-grid, .designer-grid, .bags-grid, .faq-grid, .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: none; }
  .stage { margin: 0 auto; max-width: 560px; }
  .steps { grid-template-columns: 1fr; }
  .use-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-intro { position: static; }
  .wholesale-card { grid-template-columns: 1fr; align-items: start; }
  .wholesale-actions { grid-template-columns: repeat(2, max-content); }
  .bags-visual { max-width: 560px; }
  .try { width: 100%; max-width: 620px; justify-self: center; }
}
@media (max-width: 640px) {
  .hero { padding-top: 20px; }
  .hero-h1 { font-size: clamp(40px, 11.4vw, 52px); max-width: 11ch; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-ticks { flex-direction: column; gap: 10px; }
  .stage { aspect-ratio: 1 / 1.05; border-radius: var(--r-lg); }
  .stage-chip { font-size: 12px; padding: 6px 12px 6px 10px; }
  .chip-a { left: 4%; top: 5%; }
  .chip-b { right: 4%; bottom: 3.5%; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat { padding: 4px 6px; }
  .stat .num { font-size: 34px; }
  .stat dt { font-size: 10.5px; letter-spacing: 0.06em; }
  .logos { gap: 22px 30px; }
  .logos img { height: calc(var(--h, 40px) * 0.8); }
  .use-grid, .guide-grid { grid-template-columns: 1fr; }
  .how-foot .btn { width: 100%; }
  .try { padding: 10px; }
  .spec-row { grid-template-columns: 76px 1fr; gap: 12px; font-size: 15.5px; }
  .wholesale-card { border-radius: var(--r-lg); }
  .wholesale-actions { grid-template-columns: 1fr; width: 100%; }
  .quote-card { border-radius: var(--r-lg); padding: 22px 18px; }
  .closer .btn-row, .closer .btn { width: 100%; }
  .guides-all { display: none; }
  .guides-all-m { display: flex; }
  .hero .eyebrow { font-size: 11.5px; letter-spacing: 0.1em; }
  .hero .eyebrow::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > *, .js .stage, .js .bag-white, .js .bag-black, .js .stage-beans, .js .chip-a, .js .chip-b { animation: none; }
}

/* ---------- Loose leaf tea ---------- */
.tea-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.tea-copy .h2 { margin-bottom: var(--sp-4); }
.tea-copy .lede { margin-bottom: var(--sp-5); }
.tea-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 var(--sp-5); padding: 0; list-style: none; }
.tea-chips li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; color: var(--heading); }
.tea-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--tea); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); flex: none; }
.tea-checks { margin-bottom: var(--sp-6); }
.tea-visual { position: relative; aspect-ratio: 1 / 0.9; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(70% 60% at 50% 38%, var(--c-paper) 0%, var(--c-cream) 100%); box-shadow: inset 0 0 0 1px var(--line); }
.tea-label { position: absolute; width: 30%; height: auto; border-radius: 4px; box-shadow: 0 16px 30px color-mix(in srgb, var(--c-ink) 26%, transparent), 0 2px 6px color-mix(in srgb, var(--c-ink) 16%, transparent); }
.tea-label-a { left: 6%; top: 22%; transform: rotate(-3deg); z-index: 1; }
.tea-label-b { left: 35%; top: 10%; z-index: 2; }
.tea-label-c { left: 64%; top: 22%; transform: rotate(3deg); z-index: 1; }
@media (max-width: 960px) {
  .tea-grid { grid-template-columns: 1fr; }
  .tea-visual { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .tea-chips { gap: 8px; }
  .tea-chips li { padding: 7px 12px 7px 10px; }
}
