/* ============================================================
   tea.gratis — site styles
   Builds on ds/colors_and_type.css. Adds:
   • honey accent (per project brief: --accent-h:50, s:60%, l:55%)
   • layout primitives (page, section, two-up, three-up)
   • header / footer / constellation
   • six tt-* components (sample-box, pick-3, shipping-calc,
     quota-badge, charity-disclosure, brew-guide-mini)
   • screen-level styles
   ============================================================ */

:root {
  /* Honey accent — used ONLY for primary CTA + a few highlights. */
  --honey:        hsl(50, 60%, 55%);   /* #d1a73a */
  --honey-700:    hsl(48, 62%, 42%);   /* hover / pressed */
  --honey-100:    hsl(50, 55%, 90%);   /* tonal wash, chips */
  --honey-50:     hsl(50, 55%, 95%);

  --accent:       var(--honey);
  --accent-ink:   var(--ink);          /* legible text on honey */
  --accent-soft:  var(--honey-100);

  /* Page maxima — tighter than main storefront. */
  --max-page:     1240px;
  --max-prose:    62ch;

  /* Header height var so other things can offset themselves */
  --hdr-h:        56px;
  --const-h:      28px;
}

:root[data-theme="dark"] {
  --honey:        hsl(42, 72%, 56%);   /* saffron-leaning on dark — DS already calls this out */
  --honey-700:    hsl(40, 70%, 46%);
  --honey-100:    hsl(35, 28%, 18%);
  --honey-50:     hsl(30, 22%, 12%);
}

/* ============== Base resets ============== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--fg-1); }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--matcha); }
hr { border: 0; height: 1px; background: var(--border); margin: var(--s-7) 0; }
button { font: inherit; color: inherit; }

/* ============== Layout primitives ============== */
.g-page { max-width: var(--max-page); margin: 0 auto; padding: 0 24px; }
.g-section { padding: clamp(48px, 8vw, 96px) 0; }
.g-section--lg { padding: clamp(72px, 12vw, 140px) 0; }
.g-section + .g-section { border-top: 1px solid var(--border); }
.g-prose { max-width: var(--max-prose); }
.g-stack { display: flex; flex-direction: column; }
.g-stack--2 { gap: var(--s-3); }
.g-stack--3 { gap: var(--s-4); }
.g-stack--4 { gap: var(--s-5); }
.g-stack--5 { gap: var(--s-6); }
.g-stack--6 { gap: var(--s-7); }
.g-stack--7 { gap: var(--s-8); }
.g-row { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.g-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); }
.g-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.g-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }

/* ============== Header ============== */
.g-hdr {
  position: sticky; top: var(--const-h); z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: var(--s-6);
  height: var(--hdr-h); padding: 0 24px;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.g-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: 0; color: var(--ink); }
.g-brand__mark { width: 26px; height: 26px; }
.g-brand__word {
  font-family: var(--font-display);
  font-size: 20px; line-height: 1;
  letter-spacing: -0.02em;
  display: inline-flex; align-items: baseline; gap: 0;
}
.g-brand__the { color: var(--steep-500); }
.g-brand__dot { color: var(--steep); font-style: italic; letter-spacing: -0.03em; }
.g-brand__suffix {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
}
.g-nav { display: flex; gap: var(--s-6); justify-self: center; }
.g-nav a {
  font-family: var(--font-sans); font-size: 13px;
  color: var(--fg-1); text-decoration: none; border: 0;
  padding: 6px 0; position: relative;
}
.g-nav a:hover { color: var(--steep); }
.g-nav a.is-current { color: var(--steep); }
.g-nav a.is-current::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--honey);
}
.g-hdr__actions { display: inline-flex; align-items: center; gap: var(--s-3); }
.g-iconbtn {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 999px;
  color: var(--fg-1); cursor: pointer;
}
.g-iconbtn:hover { background: var(--mist); }

@media (max-width: 880px) {
  .g-nav { display: none; }
  .g-hdr { grid-template-columns: auto 1fr auto; }
}

/* ============== Constellation bar (collapsed) ============== */
.g-const {
  position: sticky; top: 0; z-index: 51;
  display: flex; align-items: center; justify-content: center; gap: var(--s-3);
  height: var(--const-h);
  background: var(--ink); color: var(--cream);
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
:root[data-theme="dark"] .g-const { background: var(--bg-tonal); color: var(--fg-1); border-bottom: 1px solid var(--border); }
.g-const__mark { width: 14px; height: 14px; }
.g-const__sep { opacity: .4; }
.g-const__site { opacity: .55; cursor: default; }
.g-const__site--on { opacity: 1; color: var(--honey); }
.g-const__btn {
  background: transparent; border: 0; color: inherit; cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  display: inline-flex; align-items: center; gap: 6px; padding: 0 6px;
  opacity: .55; transition: opacity 120ms var(--ease-tea);
}
.g-const__btn:hover { opacity: 1; }

/* ============== Buttons ============== */
.g-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  padding: 12px 22px;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; text-decoration: none;
  transition: background 160ms var(--ease-tea), color 160ms var(--ease-tea), border-color 160ms var(--ease-tea);
}
.g-btn--primary {
  background: var(--honey);
  color: var(--ink);
  border-color: var(--honey);
}
.g-btn--primary:hover { background: var(--honey-700); border-color: var(--honey-700); }
.g-btn--ghost {
  background: transparent;
  color: var(--fg-1);
  border-color: var(--border-strong);
}
.g-btn--ghost:hover { border-color: var(--steep); color: var(--steep); }
.g-btn--steep {
  background: var(--steep); color: var(--cream); border-color: var(--steep);
}
.g-btn--steep:hover { background: var(--steep-500); border-color: var(--steep-500); }
.g-btn--lg { font-size: 15px; padding: 15px 28px; }
.g-btn--sm { font-size: 13px; padding: 8px 14px; }
.g-btn[disabled] { opacity: .45; cursor: not-allowed; }
.g-btn__hint {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 400;
  color: color-mix(in oklab, currentColor 65%, transparent);
  letter-spacing: 0.04em;
}

.g-link {
  font-family: var(--font-sans); font-size: 14px;
  color: var(--fg-1); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.g-link:hover { color: var(--steep); }

/* ============== Eyebrow + helpers ============== */
.g-eyebrow {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 11px; line-height: 1;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--stone);
}
.g-eyebrow--honey { color: var(--honey-700); }
:root[data-theme="dark"] .g-eyebrow--honey { color: var(--honey); }
.g-mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; }
.g-mono--xs { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.g-display {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(52px, 8.5vw, 116px);
  line-height: .96; letter-spacing: -0.038em;
  margin: 0; color: var(--fg-1);
  text-wrap: balance;
}
.g-display em { font-style: italic; color: var(--steep); letter-spacing: -0.05em; }
.g-h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.02; letter-spacing: -0.03em;
  margin: 0; text-wrap: balance;
}
.g-h1 em { font-style: italic; color: var(--steep); }
.g-h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1; letter-spacing: -0.025em;
  margin: 0; text-wrap: balance;
}
.g-h2 em { font-style: italic; color: var(--steep); }
.g-h3 {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 20px; line-height: 1.25; letter-spacing: -0.01em;
  margin: 0;
}
.g-lede {
  font-family: var(--font-sans); font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55; color: var(--fg-1);
  max-width: 50ch; margin: 0;
}
.g-body { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--fg-1); margin: 0; }
.g-body--sm { font-size: 14px; }
.g-caption { font-family: var(--font-sans); font-size: 12px; line-height: 1.4; color: var(--stone); margin: 0; }

/* Hairspaced em-dash helper (per DS voice rule) */
.g-emdash::before { content: " — "; }

/* ============== Surface helpers ============== */
.g-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-6);
}
.g-card--lg { padding: var(--s-7); border-radius: var(--r-lg); }
.g-card--steep { background: var(--steep); color: var(--cream); border-color: var(--steep); }
.g-card--steep * { color: inherit; }
.g-card--steep .g-eyebrow,
.g-card--steep .g-caption { color: rgba(245,239,224,0.6); }
.g-card--steep .g-link { border-bottom-color: rgba(245,239,224,0.6); }

/* Paper-grain texture overlay (subtle) */
.g-textured {
  position: relative;
}
.g-textured::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("assets/paper-grain.svg");
  background-size: 320px;
  opacity: .08;
  pointer-events: none;
  mix-blend-mode: multiply;
  border-radius: inherit;
}

/* ============== Hero (home) ============== */
.g-hero {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 88px); align-items: end;
  padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
}
.g-hero__copy { display: flex; flex-direction: column; gap: var(--s-6); padding-bottom: var(--s-6); }
.g-hero__meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5); margin-top: var(--s-5);
  padding-top: var(--s-5); border-top: 1px solid var(--border);
}
.g-hero__metaitem { display: flex; flex-direction: column; gap: 4px; }
.g-hero__metaitem b { font-family: var(--font-mono); font-size: 18px; font-weight: 500; color: var(--fg-1); }
.g-hero__cta { display: inline-flex; align-items: center; gap: var(--s-5); margin-top: var(--s-4); flex-wrap: wrap; }
.g-hero__image {
  aspect-ratio: 4 / 5; min-height: 420px;
  border-radius: var(--r-md); overflow: hidden;
  position: relative;
  background: var(--mist-50);
  border: 1px solid var(--border);
}
.g-hero__image image-slot { width: 100%; height: 100%; display: block; --is-bg: var(--mist-50); --is-fg: var(--stone); }
.g-hero__cap {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: end; gap: var(--s-4);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cream);
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
  pointer-events: none;
}

@media (max-width: 880px) {
  .g-hero { grid-template-columns: 1fr; gap: var(--s-7); padding: 48px 0; }
  .g-hero__image { aspect-ratio: 4 / 5; min-height: 380px; order: -1; }
  .g-hero__meta { grid-template-columns: repeat(2, 1fr); }
}

/* Hero variant: editorial-essay (full bleed, no image side) */
.g-hero--essay {
  display: block; padding: clamp(64px, 10vw, 140px) 0;
}
.g-hero--essay .g-display { max-width: 18ch; }
.g-hero--essay .g-lede { max-width: 56ch; }
.g-hero--essay .g-hero__cta { margin-top: var(--s-6); }

/* Hero variant: chapter — large drop-cap-ish chapter mark */
.g-hero--chapter .g-hero__chapter {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(160px, 22vw, 320px);
  line-height: .8; letter-spacing: -0.06em;
  color: var(--honey);
  margin: 0;
}
.g-hero--chapter .g-hero__chaptersub {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone); margin-top: var(--s-3);
}

/* ============== tt-sample-box ============== */
.gb-sample {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
}
.gb-sample__media {
  aspect-ratio: 4 / 5; min-height: 360px;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--mist-50); border: 1px solid var(--border);
}
.gb-sample__media image-slot { width: 100%; height: 100%; display: block; --is-bg: var(--mist-50); --is-fg: var(--stone); }
.gb-sample__body { display: flex; flex-direction: column; gap: var(--s-6); }
.gb-sample__title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.gb-sample__title em { font-style: italic; color: var(--steep); }
.gb-sample__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.gb-sample__row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: var(--s-5); padding: 14px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.gb-sample__row:last-child { border-bottom: 1px solid var(--border); }
.gb-sample__rowmark {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--steep); /* default; overridden inline per tea */
  position: relative; top: 2px;
}
.gb-sample__rowname { display: flex; flex-direction: column; gap: 2px; }
.gb-sample__rowname b { font-family: var(--font-display); font-weight: 400; font-size: 18px; color: var(--fg-1); }
.gb-sample__rowname i { font-family: var(--font-cjk); font-style: normal; font-size: 14px; color: var(--stone); }
.gb-sample__rownote { font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--graphite); }
.gb-sample__rowgrams { font-family: var(--font-mono); font-size: 12px; color: var(--stone); letter-spacing: 0.04em; }
.gb-sample__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5); padding-top: var(--s-5);
}
.gb-sample__price { display: flex; flex-direction: column; gap: 2px; }
.gb-sample__price b { font-family: var(--font-display); font-size: 28px; color: var(--fg-1); font-weight: 400; line-height: 1; }
.gb-sample__price b em { font-style: italic; color: var(--steep); font-size: 14px; vertical-align: super; margin-right: 4px; }

@media (max-width: 720px) {
  .gb-sample { grid-template-columns: 1fr; gap: var(--s-6); padding: var(--s-6); }
  .gb-sample__media { min-height: 320px; }
  .gb-sample__foot { flex-direction: column; align-items: stretch; }
}

/* ============== tt-pick-3 ============== */
.gb-pick {
  display: grid; grid-template-columns: 1fr 320px;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.gb-pick__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.gb-pick__card {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-4);
  cursor: pointer;
  transition: border-color 160ms var(--ease-tea), background 160ms var(--ease-tea), transform 160ms var(--ease-tea);
}
.gb-pick__card:hover { border-color: var(--steep-300); transform: translateY(-2px); }
.gb-pick__card.is-on {
  border-color: var(--honey);
  background: var(--honey-50);
  box-shadow: 0 0 0 1px var(--honey) inset;
}
:root[data-theme="dark"] .gb-pick__card.is-on { background: var(--honey-100); }
.gb-pick__card.is-disabled { opacity: .4; cursor: not-allowed; }
.gb-pick__card.is-disabled:hover { transform: none; border-color: var(--border); }
.gb-pick__thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  background: var(--mist-50); border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.gb-pick__thumb-cat {
  position: absolute; top: 10px; left: 10px;
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--steep);
  border: 2px solid var(--bg-raised);
}
.gb-pick__thumb-label {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--stone);
}
.gb-pick__name {
  font-family: var(--font-display); font-size: 20px; line-height: 1.1;
  color: var(--fg-1); margin: 0;
}
.gb-pick__name i {
  font-family: var(--font-cjk); font-style: normal;
  font-size: 14px; color: var(--stone); margin-left: 6px;
}
.gb-pick__sub { font-family: var(--font-sans); font-size: 12px; color: var(--stone); margin: 0; }
.gb-pick__notes {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.gb-pick__note {
  font-family: var(--font-display); font-style: italic; font-size: 13px;
  color: var(--graphite);
}
.gb-pick__note::after { content: "·"; margin-left: 6px; color: var(--border-strong); }
.gb-pick__note:last-child::after { content: ""; }
.gb-pick__check {
  position: absolute; top: 14px; right: 14px;
  width: 26px; height: 26px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--bg-raised); border: 1px solid var(--border-strong);
  color: var(--fg-2);
  font-family: var(--font-mono); font-size: 13px;
}
.gb-pick__card.is-on .gb-pick__check {
  background: var(--honey); border-color: var(--honey); color: var(--ink);
}

/* Running-total sidebar */
.gb-pick__rail {
  position: sticky; top: calc(var(--hdr-h) + 28px + var(--s-5));
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-5);
}
.gb-pick__count {
  font-family: var(--font-display); font-size: 48px; line-height: 1;
  letter-spacing: -0.02em; margin: 0;
}
.gb-pick__count em { font-style: italic; color: var(--steep); }
.gb-pick__count span { color: var(--stone); font-family: var(--font-display); }
.gb-pick__sel { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.gb-pick__sel li {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: var(--s-4); align-items: baseline;
  padding-bottom: var(--s-3); border-bottom: 1px dashed var(--border);
}
.gb-pick__sel li:last-child { border-bottom: 0; }
.gb-pick__sel-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--steep); display: inline-block; position: relative; top: 1px; }
.gb-pick__sel-name { font-family: var(--font-display); font-size: 16px; color: var(--fg-1); }
.gb-pick__sel-x {
  background: transparent; border: 0; cursor: pointer;
  color: var(--stone); font-family: var(--font-mono); font-size: 14px;
  padding: 4px 6px; border-radius: 4px;
}
.gb-pick__sel-x:hover { color: var(--danger); background: var(--cream); }
.gb-pick__empty {
  font-family: var(--font-display); font-style: italic; font-size: 15px;
  color: var(--stone); padding: var(--s-3) 0;
}

@media (max-width: 880px) {
  .gb-pick { grid-template-columns: 1fr; }
  .gb-pick__grid { grid-template-columns: repeat(2, 1fr); }
  .gb-pick__rail { position: sticky; top: auto; bottom: 0; order: 2; }
}
@media (max-width: 540px) {
  .gb-pick__grid { grid-template-columns: 1fr; }
}

/* ============== tt-shipping-calc ============== */
.gb-ship {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-5);
}
.gb-ship__select {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--s-3);
}
.gb-ship__opt {
  display: flex; flex-direction: column; gap: 4px;
  padding: var(--s-4) var(--s-4);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer; text-align: left;
  font: inherit; color: var(--fg-1);
  transition: border-color 120ms var(--ease-tea), background 120ms var(--ease-tea);
}
.gb-ship__opt:hover { border-color: var(--steep-300); }
.gb-ship__opt.is-on {
  border-color: var(--steep); background: var(--steep-100);
  color: var(--steep);
}
:root[data-theme="dark"] .gb-ship__opt.is-on { color: var(--fg-1); background: var(--steep-100); }
.gb-ship__opt b { font-family: var(--font-display); font-size: 18px; font-weight: 400; }
.gb-ship__opt span { font-family: var(--font-mono); font-size: 11px; color: var(--stone); letter-spacing: 0.06em; text-transform: uppercase; }
.gb-ship__result {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5);
  padding: var(--s-5); background: var(--bg-tonal);
  border-radius: var(--r-sm);
}
.gb-ship__result-item { display: flex; flex-direction: column; gap: 2px; }
.gb-ship__result-item b { font-family: var(--font-mono); font-size: 18px; font-weight: 500; color: var(--fg-1); }
.gb-ship__note {
  font-family: var(--font-display); font-style: italic; font-size: 14px;
  color: var(--graphite); margin: 0;
}

/* ============== tt-quota-badge ============== */
.gb-quota {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--bg-tonal);
}
.gb-quota__stamp {
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--honey); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; line-height: 1;
}
.gb-quota--ok .gb-quota__stamp { background: var(--matcha); color: var(--cream); }
.gb-quota--block .gb-quota__stamp { background: var(--stone); color: var(--cream); }
.gb-quota span { color: var(--stone); }
.gb-quota strong { color: var(--fg-1); font-weight: 500; }

/* ============== tt-charity-disclosure ============== */
.gb-charity {
  background: var(--steep);
  color: var(--cream);
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-5);
}
.gb-charity .g-eyebrow { color: rgba(245,239,224,0.65); }
.gb-charity__title { font-family: var(--font-display); font-style: italic; font-size: 26px; line-height: 1.15; margin: 0; color: var(--cream); }
.gb-charity__bars { display: flex; flex-direction: column; gap: var(--s-3); }
.gb-charity__bar {
  display: grid; grid-template-columns: 1fr auto;
  align-items: baseline; gap: var(--s-4);
  padding-bottom: 4px; border-bottom: 1px solid rgba(245,239,224,0.18);
}
.gb-charity__barlabel { font-family: var(--font-sans); font-size: 14px; }
.gb-charity__barpct { font-family: var(--font-mono); font-size: 14px; }
.gb-charity__track {
  grid-column: 1 / -1;
  height: 4px; border-radius: 999px;
  background: rgba(245,239,224,0.18);
  position: relative; overflow: hidden;
  margin-top: 4px;
}
.gb-charity__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--honey);
  border-radius: inherit;
}
.gb-charity__sig {
  font-family: var(--font-display); font-style: italic; font-size: 14px;
  color: rgba(245,239,224,0.75); margin: 0;
}

/* ============== tt-brew-guide-mini ============== */
.gb-brew {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-5);
}
.gb-brew__row {
  display: grid; grid-template-columns: 32px 1fr;
  gap: var(--s-4); align-items: start;
}
.gb-brew__num {
  font-family: var(--font-display); font-style: italic;
  font-size: 28px; line-height: 1; color: var(--steep);
}
.gb-brew__body { display: flex; flex-direction: column; gap: 6px; }
.gb-brew__title { font-family: var(--font-display); font-size: 18px; line-height: 1.2; color: var(--fg-1); margin: 0; }
.gb-brew__title i {
  font-family: var(--font-cjk); font-style: normal;
  font-size: 14px; color: var(--stone); margin-left: 6px;
}
.gb-brew__specs {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--stone); letter-spacing: 0.04em;
}
.gb-brew__spec { display: inline-flex; align-items: baseline; gap: 4px; }
.gb-brew__spec b { color: var(--fg-1); font-weight: 500; }
.gb-brew__note {
  font-family: var(--font-display); font-style: italic; font-size: 14px;
  color: var(--graphite); margin: 0;
}

/* ============== Footer ============== */
.g-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 32px;
  margin-top: 80px;
}
:root[data-theme="dark"] .g-footer { background: var(--bg-raised); border-top: 1px solid var(--border); }
.g-footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(245,239,224,0.18);
}
:root[data-theme="dark"] .g-footer__top { border-bottom-color: var(--border); }
.g-footer__brand { display: flex; flex-direction: column; gap: var(--s-4); max-width: 32ch; }
.g-footer__brand .g-brand { color: var(--cream); }
:root[data-theme="dark"] .g-footer__brand .g-brand { color: var(--fg-1); }
.g-footer__brand .g-brand__the { color: rgba(245,239,224,0.65); }
:root[data-theme="dark"] .g-footer__brand .g-brand__the { color: var(--steep-500); }
.g-footer__brand .g-brand__dot { color: var(--honey); }
.g-footer__brand .g-brand__suffix { color: rgba(245,239,224,0.55); border-left-color: rgba(245,239,224,0.2); }
:root[data-theme="dark"] .g-footer__brand .g-brand__suffix { color: var(--stone); border-left-color: var(--border); }
.g-footer__tag {
  font-family: var(--font-display); font-style: italic;
  font-size: 16px; line-height: 1.45;
  color: rgba(245,239,224,0.7);
}
:root[data-theme="dark"] .g-footer__tag { color: var(--fg-2); }
.g-footer__col { display: flex; flex-direction: column; gap: var(--s-3); }
.g-footer__col .g-eyebrow { color: rgba(245,239,224,0.55); }
:root[data-theme="dark"] .g-footer__col .g-eyebrow { color: var(--stone); }
.g-footer__col a {
  font-family: var(--font-sans); font-size: 14px;
  color: var(--cream); text-decoration: none; border: 0;
  padding: 2px 0;
}
:root[data-theme="dark"] .g-footer__col a { color: var(--fg-1); }
.g-footer__col a:hover { color: var(--honey); }
.g-footer__bot {
  padding-top: var(--s-5);
  display: flex; justify-content: space-between; gap: var(--s-5);
  flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(245,239,224,0.55);
}
:root[data-theme="dark"] .g-footer__bot { color: var(--stone); }

@media (max-width: 880px) {
  .g-footer__top { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .g-footer__brand { grid-column: 1 / -1; }
}

/* ============== Screen: home — extras ============== */
.g-home__split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-7); align-items: center;
}
@media (max-width: 880px) { .g-home__split { grid-template-columns: 1fr; gap: var(--s-6); } }

.g-tile {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-6);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none; color: var(--fg-1); border-color: var(--border);
}
.g-tile:hover { border-color: var(--steep); color: var(--fg-1); }
.g-tile__num { font-family: var(--font-display); font-style: italic; font-size: 28px; color: var(--honey-700); }
:root[data-theme="dark"] .g-tile__num { color: var(--honey); }
.g-tile__title { font-family: var(--font-display); font-size: 22px; line-height: 1.2; margin: 0; }
.g-tile__body { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: var(--fg-2); margin: 0; }

/* ============== Screen: detail (box + farm-drop) — extras ============== */
.g-detail {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(40px, 6vw, 80px) 0;
  align-items: start;
}
.g-detail__media {
  position: sticky; top: calc(var(--hdr-h) + 28px + var(--s-5));
  display: flex; flex-direction: column; gap: var(--s-4);
}
.g-detail__hero {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--mist-50); border: 1px solid var(--border);
}
.g-detail__hero image-slot { width: 100%; height: 100%; display: block; --is-bg: var(--mist-50); --is-fg: var(--stone); }
.g-detail__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.g-detail__strip > div {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  background: var(--mist-50); border: 1px solid var(--border);
  position: relative; overflow: hidden;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--stone); letter-spacing: 0.08em; text-transform: uppercase;
  display: grid; place-items: center; text-align: center; padding: 6px;
}
.g-detail__body { display: flex; flex-direction: column; gap: var(--s-6); }
.g-detail__cruft {
  display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center;
}
.g-detail__quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3;
  color: var(--graphite); margin: 0;
  padding: var(--s-5) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.g-detail__quote-by {
  display: block; margin-top: var(--s-3);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--stone); letter-spacing: 0.12em; text-transform: uppercase;
  font-style: normal;
}

@media (max-width: 880px) {
  .g-detail { grid-template-columns: 1fr; }
  .g-detail__media { position: static; }
}

/* ============== Screen: account — extras ============== */
.g-account {
  display: grid; grid-template-columns: 220px 1fr;
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(40px, 6vw, 80px) 0;
}
.g-account__nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: calc(var(--hdr-h) + 28px + var(--s-5)); align-self: start; }
.g-account__nav a {
  padding: 8px 10px; border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 14px;
  color: var(--fg-1); text-decoration: none; border: 0;
  display: flex; align-items: center; justify-content: space-between;
}
.g-account__nav a:hover { background: var(--bg-tonal); }
.g-account__nav a.is-on { background: var(--steep); color: var(--cream); }
.g-account__nav a .g-mono { font-family: var(--font-mono); font-size: 11px; opacity: .7; }

.g-timeline { display: flex; flex-direction: column; }
.g-timeline__item {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: var(--s-5); padding: var(--s-5) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.g-timeline__item:last-child { border-bottom: 1px solid var(--border); }
.g-timeline__date { font-family: var(--font-mono); font-size: 11px; color: var(--stone); letter-spacing: 0.08em; text-transform: uppercase; padding-top: 4px; }
.g-timeline__body { display: flex; flex-direction: column; gap: 6px; }
.g-timeline__title { font-family: var(--font-display); font-size: 19px; line-height: 1.2; margin: 0; }
.g-timeline__sub { font-family: var(--font-sans); font-size: 13px; color: var(--fg-2); margin: 0; }
.g-timeline__status {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  background: var(--bg-tonal); color: var(--fg-2);
  white-space: nowrap;
  border: 1px solid var(--border);
}
.g-timeline__status--ship { background: var(--honey-100); color: var(--honey-700); border-color: var(--honey); }
:root[data-theme="dark"] .g-timeline__status--ship { color: var(--honey); }
.g-timeline__status--done { background: var(--steep-100); color: var(--steep); border-color: var(--steep-300); }

@media (max-width: 880px) {
  .g-account { grid-template-columns: 1fr; }
  .g-account__nav { flex-direction: row; flex-wrap: wrap; position: static; }
  .g-timeline__item { grid-template-columns: 80px 1fr; }
  .g-timeline__status { grid-column: 1 / -1; justify-self: start; }
}

/* ============== Screen: shipping — extras ============== */
.g-rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.g-rate {
  padding: var(--s-6);
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.g-rate__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); }
.g-rate__region { font-family: var(--font-display); font-size: 22px; margin: 0; line-height: 1.1; }
.g-rate__flag { font-family: var(--font-mono); font-size: 10.5px; color: var(--stone); letter-spacing: 0.12em; text-transform: uppercase; }
.g-rate__cost { font-family: var(--font-display); font-size: 32px; line-height: 1; }
.g-rate__cost em { font-style: italic; color: var(--steep); font-size: 14px; vertical-align: super; margin-right: 4px; }
.g-rate__eta { font-family: var(--font-mono); font-size: 12px; color: var(--stone); }
.g-rate__includes { font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--graphite); margin: 0; }

@media (max-width: 880px) { .g-rates { grid-template-columns: 1fr; } }

/* ============== Screen: about — extras ============== */
.g-about__quote {
  font-family: var(--font-display); font-style: normal;
  font-size: clamp(32px, 4vw, 56px); line-height: 1.15; letter-spacing: -0.02em;
  margin: 0; max-width: 22ch; text-wrap: balance;
}
.g-about__quote em { font-style: italic; color: var(--steep); }
.g-about__by {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone); margin-top: var(--s-5);
}

/* ============== Toast / inline note ============== */
.g-note {
  display: inline-flex; align-items: center; gap: var(--s-3);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--bg-tonal);
  border: 1px solid var(--border);
  font-family: var(--font-sans); font-size: 13px; color: var(--fg-2);
}
.g-note b { color: var(--fg-1); font-weight: 500; }
.g-note__dot { width: 6px; height: 6px; border-radius: 999px; background: var(--honey); }

/* ============== Tweaks panel overrides (use DS feel) ============== */
.tweaks-panel { font-family: var(--font-sans) !important; }
