/* ═══════════════════════════════════════════════════
   JAVA BURN — SHARED DESIGN SYSTEM
   Refined Wellness Editorial
   Palette: Deep Roast + Ivory + Antique Gold + Sage
   Typography: Cormorant Garamond + DM Sans
═══════════════════════════════════════════════════ */

:root {
  --roast:     #1e0f06;
  --espresso:  #3a1a08;
  --mahogany:  #5c2d14;
  --gold:      #b8893a;
  --gold-lt:   #d4aa62;
  --gold-pale: #ede0c4;
  --ivory:     #faf7f1;
  --parchment: #f3ede2;
  --sage:      #3d5c47;
  --sage-lt:   #e8f0eb;
  --mist:      #e9e4db;
  --ink:       #1a1410;
  --ink-soft:  #4a3f35;
  --ink-muted: #7a6e63;
  --white:     #ffffff;

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 6px 32px rgba(30,15,6,.10);
  --shadow-md: 0 12px 48px rgba(30,15,6,.15);
  --shadow-lg: 0 24px 80px rgba(30,15,6,.20);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Navbar ── */
.jb-nav {
  background: var(--roast);
  border-bottom: 1px solid rgba(184,137,58,.2);
  position: sticky;
  top: 0;
  z-index: 999;
}
.jb-nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.jb-nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-lt);
  white-space: nowrap;
  flex-shrink: 0;
}
.jb-nav__links {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  flex-wrap: wrap;
}
.jb-nav__links a {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(250,247,241,.65);
  padding: .4rem .6rem;
  border-radius: 6px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.jb-nav__links a:hover { color: var(--gold-lt); background: rgba(184,137,58,.08); }
.jb-nav__links a.active { color: var(--gold-lt); }
.jb-nav__cta {
  background: linear-gradient(135deg, var(--gold) 0%, #a07228 100%);
  color: #fff !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  padding: .55rem 1.2rem !important;
  border-radius: 50px !important;
  white-space: nowrap;
  box-shadow: 0 3px 14px rgba(184,137,58,.35);
  transition: transform .18s ease, box-shadow .18s ease;
  flex-shrink: 0;
}
.jb-nav__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(184,137,58,.5); }

/* ── Mobile nav toggle ── */
.jb-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
}
.jb-nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--gold-lt); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.jb-nav__menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── Page hero ── */
.jb-hero {
  background: linear-gradient(160deg, var(--roast) 0%, var(--espresso) 60%, var(--mahogany) 100%);
  padding: 72px 0 60px;
  text-align: center;
}
.jb-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: .75rem;
}
.jb-hero__eyebrow::before, .jb-hero__eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--gold-lt);
  opacity: .5;
}
.jb-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--gold-pale);
  line-height: 1.12;
  max-width: 760px;
  margin: 0 auto .75rem;
}
.jb-hero p {
  font-size: 1.05rem;
  color: rgba(250,247,241,.7);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ── Container ── */
.jb-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.jb-container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Section wrappers ── */
.jb-section {
  padding: 72px 0;
}
.jb-section--ivory  { background: var(--ivory); }
.jb-section--white  { background: var(--white); }
.jb-section--parch  { background: var(--parchment); }
.jb-section--dark   { background: var(--espresso); }

/* ── Section heading ── */
.jb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.jb-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--gold);
}
.jb-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--roast);
  line-height: 1.15;
  margin-bottom: .6rem;
}
.jb-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--roast);
  line-height: 1.2;
  margin-bottom: .5rem;
  margin-top: 2.5rem;
}
.jb-rule {
  width: 40px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  margin: .6rem 0 1.5rem;
}
.jb-rule--center { margin: .6rem auto 1.5rem; }
.jb-lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.72;
  margin-bottom: 2rem;
}

/* ── Prose text ── */
.jb-prose p {
  color: var(--ink-soft);
  line-height: 1.78;
  margin-bottom: 1.2rem;
  font-size: .97rem;
}
.jb-prose ul, .jb-prose ol {
  margin: .75rem 0 1.4rem 1.2rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.jb-prose ul { list-style: none; padding: 0; }
.jb-prose ul li {
  padding: .35rem 0 .35rem 1.8rem;
  position: relative;
  border-bottom: 1px solid var(--mist);
}
.jb-prose ul li:last-child { border-bottom: none; }
.jb-prose ul li::before {
  content: '✦';
  position: absolute; left: 0; top: .42rem;
  color: var(--gold); font-size: .65rem;
}
.jb-prose strong { color: var(--roast); font-weight: 600; }

/* ── Authority link ── */
a.jb-auth {
  color: var(--sage);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(61,92,71,.3);
  text-underline-offset: 2px;
  transition: color .15s;
}
a.jb-auth:hover { color: var(--roast); }

/* ── Internal link ── */
a.jb-internal {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(184,137,58,.3);
  text-underline-offset: 2px;
  transition: color .15s;
}
a.jb-internal:hover { color: var(--roast); }

/* ── CTA block ── */
.jb-cta-block {
  background: linear-gradient(135deg, var(--roast) 0%, var(--espresso) 100%);
  border-radius: var(--radius);
  padding: 2.8rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin: 3rem 0;
}
.jb-cta-block h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold-pale);
  margin-bottom: .6rem;
}
.jb-cta-block p { color: rgba(250,247,241,.7); font-size: .93rem; margin-bottom: 1.5rem; }
.jb-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, #8a6020 100%);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .9rem 2.4rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(184,137,58,.4);
  transition: transform .18s ease, box-shadow .18s ease;
}
.jb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,137,58,.55);
  color: #fff;
}
.jb-btn--sm { font-size: .78rem; padding: .65rem 1.6rem; }

/* ── Info box ── */
.jb-info-box {
  background: var(--sage-lt);
  border-left: 3px solid var(--sage);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.jb-info-box strong { color: var(--sage); }

.jb-warn-box {
  background: #fdf6ee;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ── Timeline ── */
.jb-timeline { margin-top: 2rem; }
.jb-timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.jb-timeline-badge {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--mahogany) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow);
}
.jb-timeline-content {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  flex: 1;
  box-shadow: var(--shadow);
}
.jb-timeline-content h3 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--roast);
  margin: 0 0 .5rem;
  font-family: var(--font-body);
}
.jb-timeline-content p {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.65;
}

/* ── Ingredient cards ── */
.jb-ing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}
.jb-ing-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.jb-ing-card:hover { transform: translateY(-3px); }
.jb-ing-card__icon { font-size: 1.6rem; margin-bottom: .6rem; }
.jb-ing-card h3 {
  font-weight: 700;
  font-size: .97rem;
  color: var(--roast);
  margin-bottom: .4rem;
  font-family: var(--font-body);
}
.jb-ing-card__tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-lt);
  padding: .2rem .65rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.jb-ing-card p {
  font-size: .87rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

/* ── FAQ ── */
.jb-faq { margin-top: 2rem; }
.jb-faq-item {
  border: 1px solid var(--mist);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: .6rem;
  box-shadow: 0 2px 8px rgba(30,15,6,.05);
}
.jb-faq-q {
  width: 100%;
  background: var(--parchment);
  border: none;
  cursor: pointer;
  padding: 1rem 1.4rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 700;
  color: var(--roast);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  transition: background .15s;
}
.jb-faq-q:hover { background: var(--gold-pale); }
.jb-faq-q .icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.jb-faq-item.open .jb-faq-q .icon { transform: rotate(45deg); }
.jb-faq-a {
  display: none;
  padding: 1.1rem 1.4rem;
  background: var(--white);
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  border-top: 1px solid var(--mist);
}
.jb-faq-item.open .jb-faq-a { display: block; }

/* ── Trust badges strip ── */
.jb-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin: 2rem 0;
}
.jb-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 50px;
  padding: .45rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow);
}
.jb-trust-pill .dot { color: var(--sage); font-size: .9rem; }

/* ── Breadcrumb ── */
.jb-breadcrumb {
  padding: .75rem 0;
  font-size: .78rem;
  color: var(--ink-muted);
}
.jb-breadcrumb a { color: var(--gold); }
.jb-breadcrumb a:hover { color: var(--roast); }
.jb-breadcrumb span { margin: 0 .35rem; opacity: .5; }

/* ── Footer ── */
.jb-footer {
  background: var(--roast);
  border-top: 1px solid rgba(184,137,58,.15);
  padding: 48px 0 24px;
}
.jb-footer__grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.jb-footer__brand .logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-lt);
  letter-spacing: .06em;
  margin-bottom: .75rem;
}
.jb-footer__brand p {
  font-size: .82rem;
  color: rgba(250,247,241,.5);
  line-height: 1.65;
}
.jb-footer__col h4 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.jb-footer__col ul { list-style: none; }
.jb-footer__col ul li { margin-bottom: .4rem; }
.jb-footer__col ul li a {
  font-size: .82rem;
  color: rgba(250,247,241,.55);
  transition: color .15s;
}
.jb-footer__col ul li a:hover { color: var(--gold-lt); }
.jb-footer__bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(184,137,58,.12);
  font-size: .75rem;
  color: rgba(250,247,241,.4);
  line-height: 1.6;
}
.jb-footer__bottom a { color: rgba(250,247,241,.55); }
.jb-footer__bottom a:hover { color: var(--gold-lt); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .jb-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .jb-nav__links { display: none; flex-direction: column; gap: 0; }
  .jb-nav__links.open {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--roast);
    border-bottom: 1px solid rgba(184,137,58,.2);
    padding: .75rem 1.5rem 1rem;
    z-index: 998;
  }
  .jb-nav__links.open a { padding: .6rem 0; font-size: .8rem; }
  .jb-nav__toggle { display: flex; }
  .jb-nav__inner { position: relative; flex-wrap: wrap; height: auto; padding: .8rem 1.5rem; }
  .jb-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .jb-timeline-item { flex-direction: column; }
  .jb-ing-grid { grid-template-columns: 1fr; }
  .jb-cta-block { padding: 2rem 1.5rem; }
}
