/* Fruit Up Herb University - 120fps Kitchen Apothecary & Concoction Studio
   Generated by build/build.mjs (herbs-1.0.20261201-1406). Mobile iOS Safari + Android Parity Enforced. */

:root {
  --primary: #155e3a;
  --primary-hover: #0f472b;
  --primary-soft: rgba(21, 94, 58, 0.08);
  --accent: #19b660;
  --accent-dark: #0d8042;
  --action: #e5232d;
  --action-hover: #bf1720;
  --bg: #faf8f4;
  --surface: #ffffff;
  --surface-2: #edf5f0;
  --surface-sage: #edf5f0;
  --surface-muted: #f3efe8;
  --surface-dark: #0f2e1c;
  --ink: #07110b;
  --text: #141a16;
  --text-2: #46524b;
  --muted: #6e7b73;
  --border: #e4dfd5;
  --border-strong: #cfc8ba;
  --header-glass: rgba(250, 248, 244, 0.86);
  --shadow-card: 0 10px 30px rgba(7, 17, 11, 0.06);
  --shadow-float: 0 22px 54px rgba(7, 17, 11, 0.18);
  --jar-glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(237, 245, 240, 0.56) 100%);
  --jar-rim-bg: linear-gradient(90deg, #cfd6d1 0%, #f4f7f5 46%, #b8c2bc 100%);
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
}

html[data-theme="dark"] {
  --primary: #1ec96c;
  --primary-hover: #19b660;
  --primary-soft: rgba(25, 182, 96, 0.16);
  --bg: #07110b;
  --surface: #0f2e1c;
  --surface-2: #133a24;
  --surface-sage: #133a24;
  --surface-muted: #0b2114;
  --text: #f5f2ea;
  --text-2: #b9c3ba;
  --muted: #8a968d;
  --border: #294134;
  --border-strong: #395c48;
  --header-glass: rgba(7, 17, 11, 0.86);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.34);
  --shadow-float: 0 24px 60px rgba(0, 0, 0, 0.58);
  --jar-glass-bg: linear-gradient(180deg, rgba(19, 58, 36, 0.76) 0%, rgba(11, 33, 20, 0.88) 100%);
  --jar-rim-bg: linear-gradient(90deg, #5d6e63 0%, #9eb0a4 48%, #4b5a50 100%);
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.modal-open {
  overflow: hidden;
}

/* Global flex & grid child overflow guard (375px-390px iPhone WebKit safety) */
.fu-campus-inner > *,
.fhu-header-inner > *,
.fhu-header-actions > *,
.fhu-connected-inner > *,
.fhu-safety-grid > *,
.fhu-hero-grid > *,
.fhu-goals-grid > *,
.fhu-mixer-layout > *,
.fhu-mixer-left > *,
.fhu-mixer-right > *,
.fhu-slots-grid > *,
.fhu-balance-coach > *,
.fhu-balance-meters > *,
.fhu-fix-pills > *,
#fhuMasteryApp > *,
.fhu-taste-feel-grid > *,
.fhu-filter-bar > *,
.fhu-concoctions-grid > *,
.fhu-herbs-grid > *,
.fhu-lessons-grid > *,
.fhu-detail-grid > *,
.fhu-detail-card,
.fhu-detail-card > *,
.fhu-formula-grid > *,
.fhu-footer-grid > *,
.fhu-herbs-disclaimer-banner > *,
.fhu-benefits-card > *,
.fhu-strong-disclaimer > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: var(--body);
}

/* Mandatory iOS Safari No-Auto-Zoom Input Rule */
input,
select,
textarea {
  font-size: max(16px, 1rem);
  line-height: 1.4;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 180ms var(--spring), box-shadow 180ms var(--spring), background-color 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(25, 182, 96, 0.22);
}

@media (max-width: 768px) {
  input,
  select,
  textarea {
    font-size: max(16px, 1rem);
  }
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}

.fhu-skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--primary);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.fhu-skip-link:focus {
  left: 12px;
}

.fhu-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography Helpers ---------- */
.fhu-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

html[data-theme="dark"] .fhu-eyebrow {
  color: var(--accent);
}

.fhu-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.fhu-section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 6px 0 8px;
  color: var(--text);
}

.fhu-section-head p {
  margin: 0;
  max-width: 68ch;
  color: var(--text-2);
  font-size: 1.04rem;
}

.fhu-muted {
  color: var(--muted);
  margin: 0;
}

/* ---------- Buttons & Pills ---------- */
.fhu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  transition: transform 180ms var(--spring), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.fhu-btn:active {
  transform: scale(0.97);
}

.fhu-btn.is-sm {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 0.86rem;
}

.fhu-btn.is-lg {
  min-height: 52px;
  padding: 13px 24px;
  font-size: 1.02rem;
}

.fhu-btn.is-primary {
  background: var(--primary);
  color: #ffffff;
}

.fhu-btn.is-primary:hover {
  background: var(--primary-hover);
}

html[data-theme="dark"] .fhu-btn.is-primary {
  background: var(--accent);
  color: #05180d;
}

html[data-theme="dark"] .fhu-btn.is-primary:hover {
  background: #24cf73;
}

.fhu-btn.is-action {
  background: var(--action);
  color: #ffffff;
}

.fhu-btn.is-action:hover {
  background: var(--action-hover);
}

.fhu-btn.is-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.fhu-btn.is-ghost:hover {
  border-color: var(--primary);
  background: var(--surface-sage);
}

.fhu-full-btn {
  width: 100%;
}

.fhu-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

.fhu-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 180ms var(--spring), background-color 180ms ease;
}

.fhu-icon-btn:active {
  transform: scale(0.95);
}

.fhu-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.fhu-pill.is-green {
  background: rgba(25, 182, 96, 0.15);
  color: #0e6336;
  border: 1px solid rgba(25, 182, 96, 0.35);
}

html[data-theme="dark"] .fhu-pill.is-green {
  background: rgba(25, 182, 96, 0.2);
  color: #7bf0ad;
}

.fhu-pill.is-amber {
  background: rgba(217, 130, 15, 0.16);
  color: #8a4b00;
  border: 1px solid rgba(217, 130, 15, 0.38);
}

html[data-theme="dark"] .fhu-pill.is-amber {
  background: rgba(245, 166, 35, 0.2);
  color: #ffd089;
}

/* ---------- Fruit Up University Campus Switcher Strip ---------- */
.fu-campus-bar {
  position: relative;
  z-index: 95;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  overflow: hidden;
  background: #faf8f4;
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0px);
}

html[data-theme="dark"] .fu-campus-bar {
  background: #0f2e1c;
  border-bottom-color: #294134;
}

.fu-campus-inner {
  width: 100%;
  max-width: 1380px;
  min-height: 44px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.fu-campus-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  white-space: nowrap;
  color: #155e3a;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fu-campus-brand strong {
  font-weight: 800;
}

html[data-theme="dark"] .fu-campus-brand {
  color: #f5f2ea;
}

.fu-campus-mark {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #19b660;
  box-shadow: 0 0 0 3px rgba(25, 182, 96, 0.2);
  flex-shrink: 0;
}

.fu-campus-links {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}

.fu-campus-links::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.fu-campus-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-2);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform 160ms var(--spring), background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.fu-campus-pill:hover {
  border-color: #155e3a;
  background: #edf5f0;
  color: #155e3a;
}

.fu-campus-pill:active {
  transform: scale(0.96);
}

.fu-campus-pill.is-active {
  background: #155e3a;
  border-color: #155e3a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(21, 94, 58, 0.22);
}

.fu-campus-pill.is-active:hover {
  background: #0f472b;
  border-color: #0f472b;
  color: #ffffff;
}

.fu-campus-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4ce88d;
  flex-shrink: 0;
}

.fu-campus-pill.is-app {
  background: rgba(21, 94, 58, 0.09);
  border-color: rgba(21, 94, 58, 0.3);
  color: #155e3a;
}

.fu-campus-pill.is-app:hover {
  background: #155e3a;
  border-color: #155e3a;
  color: #ffffff;
}

html[data-theme="dark"] .fu-campus-pill {
  background: rgba(7, 17, 11, 0.56);
  border-color: #294134;
  color: #c9d6cb;
}

html[data-theme="dark"] .fu-campus-pill:hover {
  background: #133a24;
  border-color: #19b660;
  color: #f5f2ea;
}

html[data-theme="dark"] .fu-campus-pill.is-active {
  background: #19b660;
  border-color: #19b660;
  color: #05180d;
  box-shadow: 0 4px 14px rgba(25, 182, 96, 0.26);
}

html[data-theme="dark"] .fu-campus-pill.is-active:hover {
  background: #24cf73;
  border-color: #24cf73;
  color: #05180d;
}

html[data-theme="dark"] .fu-campus-pill.is-active .fu-campus-dot {
  background: #05180d;
}

html[data-theme="dark"] .fu-campus-pill.is-app {
  background: rgba(25, 182, 96, 0.14);
  border-color: rgba(25, 182, 96, 0.45);
  color: #6ef2a3;
}

html[data-theme="dark"] .fu-campus-pill.is-app:hover {
  background: rgba(25, 182, 96, 0.24);
  border-color: #19b660;
  color: #ffffff;
}

@media (max-width: 720px) {
  .fu-campus-inner {
    padding: 6px 12px;
    gap: 8px;
  }

  .fu-campus-brand {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .fu-campus-pill {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

@media print {
  .fu-campus-bar {
    display: none !important;
  }
}

a.fu-campus-brand {
  text-decoration: none;
}

.fu-campus-pill.is-hub {
  background: linear-gradient(135deg, #ffa53a, #ffcb6b);
  border-color: #e2871e;
  color: #0b2215;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(255, 165, 58, 0.25);
}

.fu-campus-pill.is-hub:hover {
  background: linear-gradient(135deg, #ff961c, #ffd685);
  border-color: #c87211;
  color: #07150d;
}

html[data-theme="dark"] .fu-campus-pill.is-hub {
  background: linear-gradient(135deg, #ffa53a, #ffd23f);
  border-color: #ffd23f;
  color: #07110b;
}

html[data-fuu-embedded="1"] #fuk-campus-bar,
html[data-fuu-embedded="1"] #fuCampusBar {
  display: none !important;
}

html[data-fuu-embedded="1"] .fhu-hero {
  padding-top: 12px !important;
  padding-bottom: 16px !important;
}

/* ---------- Sticky Glassmorphic Header ---------- */
.fhu-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--header-glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0px);
}

.fhu-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

@media (min-width: 1220px) {
  .fhu-header-inner {
    max-width: 1380px;
    flex-wrap: nowrap;
  }
  .fhu-nav-pill {
    padding: 6px 8px;
    font-size: 0.79rem;
  }
  .fhu-header-actions {
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
}

.fhu-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.fhu-brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 11px;
  background: #ffffff;
  padding: 3px;
  border: 1px solid var(--border);
}

.fhu-brand-copy {
  display: flex;
  flex-direction: column;
}

.fhu-brand-copy strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.fhu-brand-copy small {
  font-size: 0.72rem;
  color: var(--text-2);
  font-weight: 600;
}

.fhu-nav-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
}

.fhu-nav-pills::-webkit-scrollbar {
  display: none;
}

.fhu-nav-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-2);
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 160ms var(--spring), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.fhu-nav-pill:hover {
  background: var(--surface-sage);
  color: var(--text);
  border-color: var(--border);
}

.fhu-nav-pill:active {
  transform: scale(0.97);
}

.fhu-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.fhu-header-actions .fhu-btn.is-sm {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 0.81rem;
}

.fhu-theme-btn {
  min-width: 42px;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 180ms var(--spring), background-color 180ms ease;
}

.fhu-theme-btn:active {
  transform: scale(0.96);
}

.fhu-theme-label-dark {
  display: inline;
}
.fhu-theme-label-light {
  display: none;
}
html[data-theme="dark"] .fhu-theme-label-dark {
  display: none;
}
html[data-theme="dark"] .fhu-theme-label-light {
  display: inline;
}

/* ---------- Connected Care Safety Bar & Drawer ---------- */
.fhu-safety-zone {
  background: var(--surface-sage);
  border-bottom: 1px solid var(--border);
}

.fhu-connected-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.fhu-connected-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--text);
}

.fhu-connected-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fhu-safety-drawer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 20px 20px;
}

.fhu-safety-drawer-card {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 18px;
}

.fhu-safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fhu-safety-group h3 {
  margin: 0 0 8px;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text);
}

.fhu-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fhu-filter-chip {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms var(--spring), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.fhu-filter-chip:hover {
  border-color: var(--primary);
}

.fhu-filter-chip:active {
  transform: scale(0.96);
}

.fhu-filter-chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

html[data-theme="dark"] .fhu-filter-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #061b0e;
}

.fhu-safety-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text-2);
}

/* ---------- Hero Section ---------- */
.fhu-hero {
  padding: 36px 0 32px;
}

.fhu-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.fhu-hero-copy {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.fhu-hero-copy h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 10px 0 14px;
  color: var(--text);
}

.fhu-hero-lead {
  font-size: 1.12rem;
  line-height: 1.58;
  color: var(--text-2);
  margin: 0;
  max-width: 60ch;
}

.fhu-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fhu-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.fhu-stat-item {
  background: var(--surface-sage);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.fhu-stat-item strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.05;
  color: var(--primary);
}

html[data-theme="dark"] .fhu-stat-item strong {
  color: var(--accent);
}

.fhu-stat-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
}

.fhu-hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fhu-bobby-card {
  background: var(--surface-dark);
  color: #f5f2ea;
  border-radius: var(--radius-lg);
  padding: 24px 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(130px, 0.85fr);
  gap: 14px;
  align-items: end;
  overflow: hidden;
  border: 1.5px solid #245339;
}

.fhu-bobby-quote {
  padding-bottom: 24px;
}

.fhu-bobby-quote .fhu-eyebrow {
  color: #6df0a6;
}

.fhu-bobby-quote h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.72rem;
  line-height: 1.06;
  margin: 6px 0 10px;
  color: #ffffff;
}

.fhu-bobby-quote p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.5;
  color: #d6e4da;
}

.fhu-bobby-portrait {
  width: 100%;
  max-width: 210px;
  justify-self: end;
  object-fit: contain;
}

.fhu-dshea-card {
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}

.fhu-dshea-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.fhu-dshea-head strong {
  font-size: 0.98rem;
  color: var(--text);
}

.fhu-dshea-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.52;
  color: var(--text-2);
}

/* ---------- Main Sections Spacing ---------- */
.fhu-section {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 84px;
}

.fhu-concoction-card,
.fhu-herb-card {
  scroll-margin-top: 92px;
}

.fhu-section.is-tinted {
  background: var(--surface-sage);
}

/* ---------- Section 1: 12 Friendly Goals ---------- */
.fhu-goals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fhu-goal-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 180ms var(--spring), border-color 180ms ease, background-color 180ms ease;
}

.fhu-goal-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.fhu-goal-card:active {
  transform: scale(0.97);
}

.fhu-goal-card.is-selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 2px var(--primary);
}

.fhu-goal-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fhu-goal-emoji {
  font-size: 1.65rem;
  line-height: 1;
}

.fhu-goal-count {
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
  color: var(--text-2);
}

.fhu-goal-card strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text);
}

.fhu-goal-card span.fhu-goal-sub {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.4;
}

/* ---------- Section 2: Mason Jar Concoction Studio ---------- */
.fhu-mixer-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.fhu-mixer-left,
.fhu-mixer-right {
  display: grid;
  gap: 18px;
}

.fhu-jar-stage {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 18px;
}

.fhu-scale-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--surface-muted);
  padding: 6px;
  border-radius: var(--radius-md);
}

.fhu-scale-btn {
  flex: 1 1 110px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 160ms var(--spring), background-color 160ms ease, color 160ms ease;
}

.fhu-scale-btn:active {
  transform: scale(0.97);
}

.fhu-scale-btn.is-active {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Illustrated Glass Mason Jar */
.fhu-jar-visual-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 4px;
}

.fhu-mason-jar {
  width: 220px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fhu-jar-lid {
  width: 146px;
  height: 24px;
  border-radius: 8px 8px 3px 3px;
  background: var(--jar-rim-bg);
  border: 2px solid var(--border-strong);
  position: relative;
  z-index: 2;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

.fhu-jar-neck {
  width: 134px;
  height: 10px;
  background: rgba(255, 255, 255, 0.55);
  border-left: 2.5px solid var(--border-strong);
  border-right: 2.5px solid var(--border-strong);
}

.fhu-jar-body {
  position: relative;
  width: 210px;
  height: 268px;
  border-radius: 30px 30px 34px 34px;
  border: 3px solid var(--border-strong);
  background: var(--jar-glass-bg);
  overflow: hidden;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.28), 0 16px 32px rgba(7, 17, 11, 0.12);
}

.fhu-jar-shine {
  position: absolute;
  top: 14px;
  bottom: 18px;
  left: 14px;
  width: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.08));
  pointer-events: none;
  z-index: 3;
}

.fhu-jar-ticks {
  position: absolute;
  right: 12px;
  top: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  text-align: right;
}

.fhu-jar-layers {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 276px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

@keyframes fhuPourRise {
  from {
    opacity: 0.35;
    transform: scaleY(0.86);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

.fhu-jar-layer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 28px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.36);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.68);
  text-align: center;
  transform-origin: bottom center;
  animation: fhuPourRise 480ms var(--spring);
  transition: height 520ms var(--spring), background-color 360ms ease;
}

.fhu-jar-layer span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.fhu-jar-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
}

.fhu-jar-caption {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
}

/* 4-Slot Builder Cards */
.fhu-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fhu-slot-card {
  background: var(--surface-muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  cursor: pointer;
  transition: transform 180ms var(--spring), border-color 180ms ease, background-color 180ms ease;
}

.fhu-slot-card:hover {
  border-color: var(--accent);
}

.fhu-slot-card:active {
  transform: scale(0.98);
}

.fhu-slot-card.is-filled {
  background: var(--surface);
}

.fhu-slot-card.is-focused {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
  background: var(--surface);
}

html[data-theme="dark"] .fhu-slot-card.is-focused {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.fhu-slot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.fhu-slot-role {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-2);
}

.fhu-slot-role em {
  font-style: normal;
  font-family: var(--mono);
  color: var(--primary);
  margin-left: 3px;
}

html[data-theme="dark"] .fhu-slot-role em {
  color: var(--accent);
}

.fhu-slot-clear {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-muted);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fhu-slot-herb {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fhu-slot-herb strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.25;
}

.fhu-slot-herb small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.fhu-slot-empty {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.fhu-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid rgba(0, 0, 0, 0.16);
}

.fhu-color-dot.is-lg {
  width: 20px;
  height: 20px;
}

/* Herb Picker & Live Recipe Card */
.fhu-picker-card,
.fhu-recipe-plan-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.fhu-picker-head h4 {
  margin: 4px 0 12px;
  font-size: 1.05rem;
  color: var(--text);
}

.fhu-picker-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 148px;
  overflow-y: auto;
  padding-right: 4px;
}

.fhu-herb-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms var(--spring), border-color 160ms ease, background-color 160ms ease;
}

.fhu-herb-pill:hover {
  border-color: var(--accent);
}

.fhu-herb-pill:active {
  transform: scale(0.96);
}

.fhu-herb-pill.is-selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

html[data-theme="dark"] .fhu-herb-pill.is-selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #061b0e;
}

.fhu-herb-pill.is-blocked-pill {
  border-color: rgba(229, 35, 45, 0.55);
  opacity: 0.85;
}

.fhu-rec-tag,
.fhu-warn-tag {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.fhu-rec-tag {
  background: rgba(25, 182, 96, 0.18);
  color: var(--primary);
}

.fhu-herb-pill.is-selected .fhu-rec-tag {
  background: rgba(255, 255, 255, 0.24);
  color: inherit;
}

.fhu-warn-tag {
  background: rgba(229, 35, 45, 0.16);
  color: var(--action);
}

/* Live Computed Plan */
.fhu-plan-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.fhu-plan-header h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.06;
  margin: 4px 0;
}

.fhu-safety-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  white-space: nowrap;
}

.fhu-safety-badge.is-discuss {
  background: rgba(21, 94, 58, 0.12);
  color: var(--primary);
  border: 1px solid rgba(21, 94, 58, 0.28);
}

html[data-theme="dark"] .fhu-safety-badge.is-discuss {
  background: rgba(25, 182, 96, 0.18);
  color: #82f3b2;
}

.fhu-safety-badge.is-caution {
  background: rgba(217, 130, 15, 0.16);
  color: #8a4b00;
  border: 1px solid rgba(217, 130, 15, 0.36);
}

html[data-theme="dark"] .fhu-safety-badge.is-caution {
  background: rgba(245, 166, 35, 0.22);
  color: #ffd38c;
}

.fhu-safety-badge.is-blocked {
  background: rgba(229, 35, 45, 0.14);
  color: #b5131c;
  border: 1px solid rgba(229, 35, 45, 0.4);
}

html[data-theme="dark"] .fhu-safety-badge.is-blocked {
  background: rgba(229, 35, 45, 0.24);
  color: #ff9ca1;
}

.fhu-brew-coach {
  background: var(--surface-sage);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.fhu-brew-coach strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.fhu-brew-coach p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-2);
}

.fhu-measure-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.fhu-measure-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
}

.fhu-measure-qty {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--primary);
  min-width: 78px;
  flex-shrink: 0;
}

html[data-theme="dark"] .fhu-measure-qty {
  color: var(--accent);
}

.fhu-measure-name small {
  color: var(--muted);
}

.fhu-safety-reasons {
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  margin-bottom: 16px;
  font-size: 0.86rem;
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.fhu-safety-reasons.is-caution {
  background: rgba(217, 130, 15, 0.1);
  border-color: rgba(217, 130, 15, 0.35);
}

.fhu-safety-reasons.is-blocked {
  background: rgba(229, 35, 45, 0.1);
  border-color: rgba(229, 35, 45, 0.38);
}

.fhu-safety-reasons p {
  margin: 3px 0;
}

.fhu-timer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-dark);
  color: #ffffff;
  margin-bottom: 16px;
}

.fhu-timer-display {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fhu-timer-phase {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: #82f3b2;
}

.fhu-timer-clock {
  font-family: var(--mono);
  font-size: 2rem;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.fhu-timer-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fhu-plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Filter Bar (Concoctions & Herbs) ---------- */
.fhu-filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.fhu-filter-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 6px;
}

.fhu-count-badge {
  font-family: var(--mono);
  font-size: 0.84rem;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text);
}

/* ---------- Section 3: 42 Signature Concoctions Grid ---------- */
.fhu-concoctions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fhu-concoction-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 200ms var(--spring), border-color 200ms ease;
}

.fhu-concoction-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.fhu-card-accent {
  height: 7px;
  width: 100%;
}

.fhu-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.fhu-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.fhu-collection-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fhu-concoction-card h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.22;
  font-weight: 800;
}

.fhu-concoction-card h3 a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.fhu-tagline {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
}

.fhu-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fhu-mini-chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-sage);
  color: var(--text-2);
}

.fhu-why-plain {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-2);
}

.fhu-ing-box {
  background: var(--surface-muted);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.fhu-ing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  margin-bottom: 8px;
  color: var(--text-2);
}

.fhu-ing-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 0.86rem;
}

.fhu-ing-box li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.fhu-ing-box li small {
  color: var(--muted);
}

.fhu-role-pill {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 500;
}

.fhu-role-pill.is-lead {
  background: rgba(21, 94, 58, 0.16);
  color: var(--primary);
}
.fhu-role-pill.is-ally {
  background: rgba(25, 182, 96, 0.16);
  color: #0e6b38;
}
.fhu-role-pill.is-soother {
  background: rgba(212, 162, 78, 0.22);
  color: #7c530c;
}
.fhu-role-pill.is-spark {
  background: rgba(229, 35, 45, 0.14);
  color: #b5131c;
}

html[data-theme="dark"] .fhu-role-pill.is-lead,
html[data-theme="dark"] .fhu-role-pill.is-ally {
  color: #82f3b2;
}
html[data-theme="dark"] .fhu-role-pill.is-soother {
  color: #ffd38c;
}
html[data-theme="dark"] .fhu-role-pill.is-spark {
  color: #ff9ea3;
}

.fhu-steps-drawer {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface);
}

.fhu-steps-drawer summary {
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--primary);
}

html[data-theme="dark"] .fhu-steps-drawer summary {
  color: var(--accent);
}

.fhu-steps-list {
  margin: 10px 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--text-2);
}

.fhu-bobby-tip,
.fhu-safety-note {
  margin: 8px 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-2);
}

.fhu-card-actions {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fhu-empty-card {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

/* ---------- Section 4: 90-Herb Encyclopedia Grid ---------- */
.fhu-herbs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fhu-herb-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 180ms var(--spring), border-color 180ms ease;
}

.fhu-herb-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.fhu-herb-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.fhu-herb-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.fhu-herb-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.22;
}

.fhu-herb-card h3 a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.fhu-latin {
  display: block;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.fhu-herb-summary {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

.fhu-herb-facts {
  background: var(--surface-muted);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: grid;
  gap: 6px;
  font-size: 0.83rem;
  color: var(--text-2);
}

.fhu-herb-facts strong {
  color: var(--text);
}

/* ---------- Section 5: Herb University 101 Lessons ---------- */
.fhu-lessons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fhu-lesson-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.fhu-lesson-step {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
}

html[data-theme="dark"] .fhu-lesson-step {
  color: var(--accent);
}

.fhu-lesson-card h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.28;
}

.fhu-lesson-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-2);
  flex: 1;
}

.fhu-lesson-takeaway {
  background: var(--surface-sage);
  border-left: 3.5px solid var(--accent);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.fhu-guide-cta-banner {
  margin-top: 28px;
  background: var(--surface-dark);
  color: #f5f2ea;
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border: 1.5px solid #245339;
}

.fhu-guide-cta-banner h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.06;
  margin: 6px 0 8px;
  color: #ffffff;
}

.fhu-guide-cta-banner p {
  margin: 0;
  max-width: 58ch;
  color: #d0dfd4;
  font-size: 0.96rem;
}

/* ---------- Individual Herb & Concoction Detail Pages ---------- */
.fhu-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.fhu-breadcrumb a {
  color: var(--primary);
  font-weight: 700;
}

html[data-theme="dark"] .fhu-breadcrumb a {
  color: var(--accent);
}

.fhu-detail-hero {
  padding: 30px 0 36px;
}

.fhu-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}

.fhu-detail-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 20px;
}

.fhu-detail-card h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  line-height: 1.02;
  margin: 6px 0;
}

.fhu-detail-sub {
  font-size: 1.08rem;
  color: var(--text-2);
  margin: 0;
}

.fhu-ratio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fhu-ratio-box {
  background: var(--surface-sage);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.fhu-ratio-box span {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.fhu-ratio-box strong {
  font-size: 1.02rem;
  color: var(--text);
}

.fhu-formula-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fhu-formula-item {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  gap: 6px;
}

.fhu-formula-item h3 {
  margin: 2px 0 0;
  font-size: 1.05rem;
}

.fhu-formula-item h3 a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.fhu-detail-steps {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.fhu-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fhu-related-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: var(--surface-sage);
  border: 1px solid var(--border-strong);
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 160ms var(--spring), border-color 160ms ease;
}

.fhu-related-pill:hover {
  border-color: var(--primary);
}

.fhu-pager-nav {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fhu-pager-link {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 180ms var(--spring), border-color 180ms ease;
}

.fhu-pager-link:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.fhu-pager-link small {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
}

.fhu-pager-link strong {
  font-size: 1rem;
}

/* ---------- Footer ---------- */
.fhu-footer {
  background: var(--surface-dark);
  color: #e6efe9;
  padding: 44px 0 calc(36px + env(safe-area-inset-bottom, 0px));
  margin-top: 24px;
}

.fhu-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.fhu-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.fhu-footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 14px;
  padding: 4px;
}

.fhu-footer-brand strong {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  color: #ffffff;
  display: block;
}

.fhu-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-content: flex-start;
}

.fhu-footer-links a,
.fhu-footer-links button {
  color: #c8dcd0;
  font-size: 0.92rem;
  font-weight: 600;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.fhu-footer-links a:hover,
.fhu-footer-links button:hover {
  color: #ffffff;
  text-decoration: underline;
}

.fhu-footer-legal {
  padding-top: 20px;
  font-size: 0.82rem;
  line-height: 1.58;
  color: #b3c6ba;
  display: grid;
  gap: 8px;
}

/* ---------- Complimentary PDF Modal & Toast ---------- */
.fhu-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 140;
  background: rgba(7, 17, 11, 0.64);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.fhu-modal-card {
  width: 100%;
  max-width: 500px;
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-float);
}

.fhu-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.fhu-modal-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.72rem;
  line-height: 1.08;
  margin: 8px 0 0;
}

.fhu-modal-lead {
  margin: 0 0 16px;
  font-size: 0.94rem;
  color: var(--text-2);
}

.fhu-lead-form {
  display: grid;
  gap: 12px;
}

.fhu-field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text);
}

.fhu-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.fhu-signup-notice {
  margin: 2px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.gate-status {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--action);
  min-height: 1.2em;
}

.fhu-toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(14px);
  z-index: 160;
  background: var(--ink);
  color: #ffffff;
  border: 1px solid rgba(25, 182, 96, 0.5);
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-float);
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms var(--spring);
  max-width: calc(100vw - 32px);
  text-align: center;
}

.fhu-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive Breakpoints ---------- */
@media (min-width: 1220px) {
  .fhu-header-inner {
    max-width: 1380px;
    flex-wrap: nowrap;
  }
  .fhu-nav-pills {
    overflow: visible;
    flex-shrink: 0;
  }
  .fhu-nav-pill {
    padding: 6px 8px;
    font-size: 0.79rem;
  }
  .fhu-header-actions {
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .fhu-header-actions .fhu-btn.is-sm {
    padding: 6px 11px;
    font-size: 0.79rem;
  }
}

@media (max-width: 1080px) {
  .fhu-hero-grid,
  .fhu-mixer-layout,
  .fhu-detail-grid {
    grid-template-columns: 1fr;
  }

  .fhu-goals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fhu-concoctions-grid,
  .fhu-herbs-grid,
  .fhu-lessons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fhu-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .fhu-shell {
    padding: 0 16px;
  }

  .fhu-header-inner {
    padding: 10px 16px;
  }

  .fhu-nav-pills {
    order: 3;
    width: 100%;
    padding-top: 4px;
    border-top: 1px solid var(--border);
  }

  .fhu-hero-copy {
    padding: 22px 18px;
  }

  .fhu-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fhu-bobby-card {
    grid-template-columns: 1fr;
    padding: 20px 20px 0;
  }

  .fhu-bobby-portrait {
    justify-self: center;
    max-width: 175px;
  }

  .fhu-safety-grid,
  .fhu-slots-grid,
  .fhu-concoctions-grid,
  .fhu-herbs-grid,
  .fhu-lessons-grid,
  .fhu-filter-bar,
  .fhu-ratio-grid,
  .fhu-formula-grid,
  .fhu-pager-nav,
  .fhu-footer-grid {
    grid-template-columns: 1fr;
  }

  .fhu-goals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fhu-detail-card {
    padding: 18px 16px;
  }

  .fhu-plan-actions .fhu-btn,
  .fhu-btn.is-lg {
    white-space: normal;
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .fhu-goals-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Photorealistic Botanical Specimen, Submerged Glass Jar & Editorial Stages (v2.0) ---------- */
.fhu-hero-apothecary-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-float);
  background: #1a120b;
  aspect-ratio: 4 / 3;
}

.fhu-hero-apothecary-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fhu-hero-apothecary-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(7, 17, 11, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #f5f2ea;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
}

.fhu-hero-apothecary-caption strong {
  color: #7bf0ad;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.fhu-jar-layers {
  width: 100%;
  min-height: 276px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fhu-real-jar-svg {
  width: 224px;
  max-width: 100%;
  height: auto;
  color: var(--muted);
  filter: drop-shadow(0 16px 28px rgba(7, 17, 11, 0.16));
  overflow: visible;
}

.fhu-real-jar-svg.is-compact {
  width: 78px;
  filter: drop-shadow(0 8px 14px rgba(7, 17, 11, 0.12));
}

@keyframes fhuBobFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

@keyframes fhuBubbleRise {
  0% { transform: translateY(0px) scale(0.85); opacity: 0; }
  25% { opacity: 0.68; }
  100% { transform: translateY(-135px) scale(1.18); opacity: 0; }
}

@keyframes fhuSteamDrift {
  0%, 100% { transform: translateY(0px); opacity: 0.26; }
  50% { transform: translateY(-5px); opacity: 0.58; }
}

.fhu-botanical-piece.is-floater {
  animation: fhuBobFloat 4.2s ease-in-out infinite;
  animation-delay: var(--bob-delay, 0s);
}

.fhu-jar-bubbles circle {
  animation: fhuBubbleRise 4.8s ease-in infinite;
  animation-delay: var(--b-delay, 0s);
}

.fhu-jar-bubbles.is-simmering circle {
  animation-duration: 2.1s;
}

.fhu-steam-group.is-active path {
  animation: fhuSteamDrift 2.4s ease-in-out infinite;
}

.fhu-specimen-well.is-slot {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, var(--surface-sage) 100%);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}

html[data-theme="dark"] .fhu-specimen-well.is-slot {
  background: radial-gradient(circle at 50% 42%, #1d4d32 0%, #0d2618 100%);
}

.fhu-specimen-well.is-slot img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.16));
}

.fhu-pill-herb-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px;
  flex-shrink: 0;
}

.fhu-measure-list li {
  align-items: center;
}

.fhu-measure-sprite {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
  padding: 3px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.fhu-conc-hero-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--surface-sage) 0%, var(--surface-muted) 100%);
  border: 1px solid var(--border);
}

.fhu-conc-mini-jar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fhu-conc-title-col {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.fhu-ing-thumb {
  width: 30px;
  height: 30px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  padding: 2px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.fhu-herb-specimen-stage {
  position: relative;
  height: 148px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f1ede4 72%, #e6dfd2 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}

html[data-theme="dark"] .fhu-herb-specimen-stage {
  background: radial-gradient(circle at 50% 45%, #1d4b31 0%, #102d1c 74%, #091a10 100%);
}

.fhu-herb-specimen-img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(7, 17, 11, 0.2));
  transition: transform 240ms var(--spring);
}

.fhu-herb-card:hover .fhu-herb-specimen-img {
  transform: scale(1.06) translateY(-2px);
}

.fhu-part-pill {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  color: #141a16;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

.fhu-editorial-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.fhu-editorial-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.fhu-editorial-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fhu-editorial-card figcaption {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text-2);
}

.fhu-editorial-card figcaption strong {
  display: block;
  color: var(--text);
  font-size: 0.96rem;
  margin-bottom: 2px;
}

.fhu-detail-specimen-box {
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f1ede4 75%, #e6dfd2 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

html[data-theme="dark"] .fhu-detail-specimen-box {
  background: radial-gradient(circle at 50% 45%, #1d4b31 0%, #102d1c 75%, #091a10 100%);
}

.fhu-detail-specimen-box img {
  width: 210px;
  height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(7, 17, 11, 0.24));
}

@media (max-width: 1080px) {
  .fhu-editorial-trio {
    grid-template-columns: 1fr;
  }
}

/* ---------- v3.0 Smoothie-Book-Imprint Hero French Press Demo & Multi-Vessel Studio ---------- */
.fhu-hero-art {
  position: relative;
  min-height: 620px;
  border-radius: var(--radius-lg);
  background: radial-gradient(125% 95% at 50% 18%, #1d3e2b 0%, #0d2015 62%, #07120c 100%);
  border: 1.5px solid #245339;
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px 12px 54px;
}

.fhu-hero-fallback {
  width: 240px;
  max-width: 80%;
  transition: opacity 280ms ease;
}

.fhu-hero-art.has-press .fhu-hero-fallback {
  display: none;
}

.fhu-hero-press {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 540 / 700;
  z-index: 2;
}

.fhu-hero-press canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.48));
}

.hb-hud {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 96%;
  max-width: 344px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  z-index: 4;
}

.hb-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  width: 100%;
}

.hb-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(6, 18, 11, 0.92);
  border: 1.5px solid var(--mg-color, #19b660);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-6px) scale(0.92);
  transition: opacity 260ms var(--spring), transform 300ms var(--spring);
}

.hb-pill.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hb-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mg-color, #19b660);
  box-shadow: 0 0 6px var(--mg-color, #19b660);
}

.hb-mograph {
  width: max-content;
  max-width: min(96%, 312px);
}

.hb-mg-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(7, 20, 12, 0.95) 0%, rgba(13, 36, 22, 0.94) 100%);
  border: 1.5px solid var(--mg-color, #19b660);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.52);
  overflow: hidden;
  opacity: 0;
  transform: translate3d(-16px, 2px, 0) scale(0.94);
  transition: opacity 260ms var(--spring), transform 340ms var(--spring);
}

.hb-mg-card.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.hb-mg-card.is-in.is-docked {
  transform: translate3d(0, 0, 0) scale(0.96);
}

.hb-mg-card.is-out {
  opacity: 0;
  transform: translate3d(16px, -2px, 0) scale(0.95);
}

.hb-mg-icon-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hb-mg-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.hb-mg-step {
  position: absolute;
  right: -4px;
  top: -3px;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--mg-color, #19b660);
  color: #06150d;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 800;
}

.hb-mg-body {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.hb-mg-kicker {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8bf0b5;
}

.hb-mg-title {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffd23f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hb-mg-sub {
  font-size: 10px;
  font-weight: 600;
  color: #e6f2eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hb-bar {
  position: absolute;
  left: 50%;
  bottom: -42px;
  transform: translateX(-50%);
  width: 96%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.hb-caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e6f4ec;
  background: rgba(8, 24, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 4px 10px;
  border-radius: 999px;
  text-align: center;
}

.hb-sound,
.hb-next-recipe,
.hb-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(12, 34, 21, 0.92);
  color: #f5f2ea;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms var(--spring), border-color 160ms ease;
}

.hb-cta {
  background: var(--accent);
  color: #05180d;
  border-color: var(--accent);
}

.hb-sound svg {
  width: 15px;
  height: 15px;
}

.hb-sound[aria-pressed="false"] .wave {
  opacity: 0.25;
}

.fhu-float-prop {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.42));
  transform: translateY(var(--py, 0px));
}

.fhu-float-prop.is-p1 { left: 10px; top: 56px; width: 78px; }
.fhu-float-prop.is-p2 { right: 10px; top: 88px; width: 76px; }
.fhu-float-prop.is-p3 { left: 12px; bottom: 84px; width: 78px; }
.fhu-float-prop.is-p4 { right: 10px; bottom: 78px; width: 84px; }

/* Dark Cinema Multi-Vessel Studio Stage Card */
.fhu-studio-stage-card {
  position: relative;
  border-radius: 26px;
  padding: 18px 18px 20px;
  background: radial-gradient(120% 95% at 50% 18%, #1d3b2a 0%, #0c1c13 62%, #07110b 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 48px rgba(7, 17, 11, 0.28);
  color: #f5f2ea;
  display: grid;
  gap: 12px;
}

.fhu-studio-stage-card .fhu-eyebrow {
  color: #82f3b2;
}

.fhu-studio-stage-card .fhu-scale-bar {
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.fhu-studio-stage-card .fhu-scale-btn {
  color: #cfe0d5;
  font-size: 0.8rem;
  padding: 7px 8px;
}

.fhu-studio-stage-card .fhu-scale-btn.is-active {
  background: var(--accent);
  color: #06180d;
  border-color: var(--accent);
  font-weight: 800;
}

.fhu-studio-telemetry {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.fhu-tele-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6e7b73;
  flex-shrink: 0;
}

.fhu-tele-dot.is-active {
  background: #19b660;
  box-shadow: 0 0 10px #19b660;
}

.fhu-tele-dot.is-pulsing {
  background: #ffd23f;
  box-shadow: 0 0 12px #ffd23f;
}

.fhu-tele-text {
  color: #e9f5ee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fhu-tele-right {
  margin-left: auto;
  color: #82f3b2;
  font-weight: 700;
  flex-shrink: 0;
}

.fhu-tele-sound {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.fhu-tele-sound svg {
  width: 14px;
  height: 14px;
}

.fhu-tele-sound[aria-pressed="false"] .wave {
  opacity: 0.22;
}

.fhu-studio-canvas-wrap {
  width: 100%;
  max-width: 356px;
  margin: 0 auto;
  aspect-ratio: 540 / 700;
}

.fhu-studio-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.45));
}

.fhu-vessel-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fhu-vessel-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  color: #f5f2ea;
}

.fhu-vessel-chip img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  padding: 1px;
}

.fhu-vessel-chip small {
  color: #9be8bc;
}

.fhu-vessel-chip button {
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}

.fhu-studio-console {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fhu-studio-console .fhu-brew-main-btn {
  flex: 1 1 100%;
  min-height: 48px;
  font-size: 0.98rem;
}

.fhu-studio-console .fhu-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.fhu-studio-stage-card .fhu-jar-caption {
  color: #b7d2c2;
  margin: 0;
}

/* 4-Step Botanical Dock Tabs */
.fhu-dock-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.fhu-dock-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms var(--spring), background-color 160ms ease, border-color 160ms ease;
}

.fhu-dock-tab:active {
  transform: scale(0.96);
}

.fhu-dock-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

html[data-theme="dark"] .fhu-dock-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #05180d;
}

.fhu-dock-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(21, 94, 58, 0.16);
  display: inline-grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
}

.fhu-dock-tab.is-active .fhu-dock-num {
  background: rgba(255, 255, 255, 0.24);
}

.fhu-dock-tab.is-filled:not(.is-active) {
  border-color: var(--accent);
}

@media (max-width: 860px) {
  .fhu-hero-art {
    min-height: 500px;
    padding-bottom: 58px;
  }
  .fhu-float-prop {
    width: 56px !important;
    opacity: 0.78;
  }
}

/* ---------- v4.0 Live "Fix My Cup" Balance Coach, Smart Inline Swaps & Herb Taste Profile ---------- */
.fhu-balance-coach {
  background: linear-gradient(145deg, var(--surface-sage) 0%, var(--surface) 100%);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 16px;
  display: grid;
  gap: 11px;
  box-shadow: 0 6px 18px rgba(7, 17, 11, 0.05);
}

html[data-theme="dark"] .fhu-balance-coach {
  background: linear-gradient(145deg, rgba(25, 182, 96, 0.11) 0%, rgba(15, 46, 28, 0.96) 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.fhu-balance-coach.is-needs-fix,
.fhu-balance-coach.is-warn,
.fhu-balance-coach.is-caution,
.fhu-balance-coach.is-alert {
  border-color: rgba(217, 130, 15, 0.58);
  background: linear-gradient(145deg, rgba(245, 166, 35, 0.12) 0%, var(--surface) 100%);
}

html[data-theme="dark"] .fhu-balance-coach.is-needs-fix,
html[data-theme="dark"] .fhu-balance-coach.is-warn,
html[data-theme="dark"] .fhu-balance-coach.is-caution,
html[data-theme="dark"] .fhu-balance-coach.is-alert {
  border-color: rgba(245, 166, 35, 0.48);
  background: linear-gradient(145deg, rgba(245, 166, 35, 0.15) 0%, rgba(15, 46, 28, 0.96) 100%);
}

.fhu-balance-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.fhu-balance-title-wrap {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.fhu-balance-score {
  display: block;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.fhu-balance-verdict {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(25, 182, 96, 0.16);
  color: var(--primary);
  border: 1px solid rgba(25, 182, 96, 0.38);
  white-space: nowrap;
}

html[data-theme="dark"] .fhu-balance-verdict {
  background: rgba(25, 182, 96, 0.22);
  color: #82f3b2;
}

.fhu-balance-verdict.is-roast {
  background: rgba(140, 86, 32, 0.15);
  color: #6f4010;
  border-color: rgba(140, 86, 32, 0.36);
}

html[data-theme="dark"] .fhu-balance-verdict.is-roast {
  background: rgba(212, 148, 72, 0.2);
  color: #f6c98e;
  border-color: rgba(212, 148, 72, 0.42);
}

.fhu-balance-coach.is-needs-fix .fhu-balance-verdict,
.fhu-balance-verdict.is-warn {
  background: rgba(217, 130, 15, 0.18);
  color: #8a4b00;
  border-color: rgba(217, 130, 15, 0.45);
}

html[data-theme="dark"] .fhu-balance-coach.is-needs-fix .fhu-balance-verdict,
html[data-theme="dark"] .fhu-balance-verdict.is-warn {
  background: rgba(245, 166, 35, 0.22);
  color: #ffd38c;
  border-color: rgba(245, 166, 35, 0.48);
}

.fhu-balance-meters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.fhu-meter-pill,
.fhu-balance-meters > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}

.fhu-meter-pill em {
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

.fhu-meter-pill.is-warming {
  border-color: rgba(217, 102, 24, 0.38);
  background: rgba(217, 102, 24, 0.08);
}

.fhu-meter-pill.is-cooling {
  border-color: rgba(25, 156, 182, 0.38);
  background: rgba(25, 156, 182, 0.08);
}

.fhu-meter-pill.is-moistening {
  border-color: rgba(25, 182, 96, 0.38);
  background: rgba(25, 182, 96, 0.09);
}

.fhu-meter-pill.is-toning {
  border-color: rgba(168, 114, 38, 0.38);
  background: rgba(168, 114, 38, 0.08);
}

.fhu-balance-note,
.fhu-balance-coach p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--text-2);
}

.fhu-fix-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.fhu-fix-pill-btn,
.fhu-fix-pills button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 5px 13px 5px 7px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--primary);
  background: var(--surface);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 170ms var(--spring), background-color 170ms ease, color 170ms ease, border-color 170ms ease;
}

.fhu-fix-pill-btn.is-fix-action {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.fhu-fix-pill-btn.is-fix-action:hover {
  background: var(--primary-hover);
}

.fhu-fix-pill-btn.is-remix:hover,
.fhu-fix-pills button:hover {
  background: var(--primary);
  color: #ffffff;
}

html[data-theme="dark"] .fhu-fix-pill-btn,
html[data-theme="dark"] .fhu-fix-pills button {
  border-color: var(--accent);
  color: #82f3b2;
  background: rgba(7, 17, 11, 0.58);
}

html[data-theme="dark"] .fhu-fix-pill-btn.is-fix-action {
  background: var(--accent);
  border-color: var(--accent);
  color: #05180d;
}

html[data-theme="dark"] .fhu-fix-pill-btn.is-remix:hover,
html[data-theme="dark"] .fhu-fix-pills button:hover {
  background: var(--accent);
  color: #05180d;
}

.fhu-fix-pill-btn img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  object-fit: contain;
  flex-shrink: 0;
}

.fhu-fix-pill-btn:active,
.fhu-fix-pills button:active {
  transform: scale(0.96);
}

.fhu-measure-list li {
  flex-wrap: wrap;
}

.fhu-measure-name {
  flex: 1 1 180px;
  min-width: 0;
}

.fhu-swap-inline-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--primary);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 160ms var(--spring), border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.fhu-swap-inline-btn:hover {
  border-color: var(--primary);
  background: var(--surface-sage);
}

html[data-theme="dark"] .fhu-swap-inline-btn {
  color: #82f3b2;
  background: rgba(7, 17, 11, 0.52);
}

html[data-theme="dark"] .fhu-swap-inline-btn:hover {
  border-color: var(--accent);
  background: rgba(25, 182, 96, 0.18);
}

.fhu-swap-inline-btn:active {
  transform: scale(0.96);
}

.fhu-taste-feel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fhu-tasting-prompt-box {
  margin: 10px 0 0;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  border-left: 3.5px solid var(--accent);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-2);
}

.fhu-tasting-prompt-box strong {
  color: var(--text);
}

@media (max-width: 720px) {
  .fhu-taste-feel-grid {
    grid-template-columns: 1fr;
  }
  .fhu-swap-inline-btn {
    margin-left: 0;
  }
}

/* ---------- Consistent Health Benefits & Strong Non-Doctor Disclaimer ---------- */
.fhu-herbs-disclaimer-banner {
  background: var(--surface);
  border: 2px solid rgba(229, 35, 45, 0.34);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 18px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-card);
}

html[data-theme="dark"] .fhu-herbs-disclaimer-banner {
  background: linear-gradient(145deg, rgba(19, 58, 36, 0.92) 0%, rgba(15, 46, 28, 0.98) 100%);
  border-color: rgba(255, 145, 150, 0.42);
}

.fhu-herbs-banner-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fhu-herbs-disclaimer-banner h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--text);
}

.fhu-herbs-disclaimer-banner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-2);
}

.fhu-herbs-banner-warn {
  background: rgba(229, 35, 45, 0.08);
  border-left: 4px solid var(--action);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  color: var(--text) !important;
  font-size: 0.85rem !important;
}

html[data-theme="dark"] .fhu-herbs-banner-warn {
  background: rgba(229, 35, 45, 0.16);
  color: #ffe2e4 !important;
}

.fhu-herb-benefit-line {
  background: var(--surface-sage);
  border: 1px solid rgba(21, 94, 58, 0.22);
  border-left: 3.5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.82rem;
  line-height: 1.42;
  color: var(--text-2);
}

.fhu-herb-benefit-line strong {
  color: var(--primary);
}

html[data-theme="dark"] .fhu-herb-benefit-line {
  background: rgba(25, 182, 96, 0.12);
  border-color: rgba(25, 182, 96, 0.28);
  border-left-color: var(--accent);
}

html[data-theme="dark"] .fhu-herb-benefit-line strong {
  color: #82f3b2;
}

.fhu-herb-notdoc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.fhu-not-doc-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(229, 35, 45, 0.1);
  border: 1px solid rgba(229, 35, 45, 0.34);
  color: #9e1119;
  font-family: var(--mono);
  font-size: 0.71rem;
  font-weight: 700;
  line-height: 1.25;
  max-width: 100%;
}

html[data-theme="dark"] .fhu-not-doc-pill {
  background: rgba(229, 35, 45, 0.22);
  border-color: rgba(255, 145, 150, 0.44);
  color: #ffadb2;
}

.fhu-benefits-card {
  background: var(--surface-sage);
  border: 1.5px solid rgba(21, 94, 58, 0.28);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: grid;
  gap: 11px;
}

html[data-theme="dark"] .fhu-benefits-card {
  background: rgba(25, 182, 96, 0.1);
  border-color: rgba(25, 182, 96, 0.32);
}

.fhu-benefits-head {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.fhu-benefits-head h2,
.fhu-benefits-head h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.25;
  color: var(--text);
}

.fhu-benefits-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 0.91rem;
  line-height: 1.48;
  color: var(--text);
}

.fhu-consistency-guide {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 3.5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  display: grid;
  gap: 4px;
}

.fhu-consistency-guide strong {
  font-size: 0.88rem;
  color: var(--primary);
}

html[data-theme="dark"] .fhu-consistency-guide strong {
  color: #82f3b2;
}

.fhu-consistency-guide p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.48;
  color: var(--text-2);
}

.fhu-strong-disclaimer {
  background: linear-gradient(145deg, rgba(229, 35, 45, 0.08) 0%, rgba(245, 166, 35, 0.1) 100%);
  border: 1.5px solid rgba(229, 35, 45, 0.42);
  border-left: 5px solid var(--action);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: grid;
  gap: 7px;
}

html[data-theme="dark"] .fhu-strong-disclaimer {
  background: linear-gradient(145deg, rgba(229, 35, 45, 0.18) 0%, rgba(168, 92, 12, 0.18) 100%);
  border-color: rgba(255, 145, 150, 0.5);
}

.fhu-strong-disclaimer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.fhu-strong-disclaimer-head strong {
  font-size: 0.9rem;
  color: #8b1118;
}

html[data-theme="dark"] .fhu-strong-disclaimer-head strong {
  color: #ffd38c;
}

.fhu-strong-disclaimer p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.48;
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
