/* =================================================================
   HotPot101 — Design System
   Modern food editorial. Mobile-first. Breakpoints: 640 / 768 / 1024.
   Palette: warm cream · deep charcoal · ember orange · teal accent.
   ================================================================= */

:root {
  /* Palette */
  --paper:        #FAFAF5;
  --surface:      #FFFFFF;
  --ink:          #1A1E1C;
  --ink-soft:     #4A5550;
  --ink-muted:    #7A8A85;
  --line:         #E5E0D8;
  --line-soft:    #F0ECE5;

  /* Primary — ember orange */
  --ember:        #C4622D;
  --ember-dark:   #A0501F;
  --ember-deep:   #7A3C14;
  --ember-soft:   #FBF0EA;
  --ember-ghost:  #FEF8F4;

  /* Accent — deep teal */
  --teal:         #2C5F52;
  --teal-dark:    #1E4A3E;
  --teal-soft:    #E8F3F0;

  /* Spice levels */
  --spice-0-c:    #2E7D32; --spice-0-bg: #E9F5EA;
  --spice-1-c:    #6A7D2E; --spice-1-bg: #F4F5E9;
  --spice-2-c:    #8A6500; --spice-2-bg: #FDF4DF;
  --spice-3-c:    #B55300; --spice-3-bg: #FFF0E6;
  --spice-4-c:    #C4240D; --spice-4-bg: #FDEAE8;
  --spice-5-c:    #8B0000; --spice-5-bg: #F9E0DE;

  /* UI tokens */
  --radius:       14px;
  --radius-sm:    8px;
  --radius-pill:  999px;
  --shadow:       0 1px 3px rgba(26,30,28,.06), 0 8px 28px -8px rgba(26,30,28,.14);
  --shadow-sm:    0 1px 2px rgba(26,30,28,.05), 0 3px 10px -4px rgba(26,30,28,.10);
  --shadow-hover: 0 2px 6px rgba(26,30,28,.08), 0 16px 40px -10px rgba(26,30,28,.20);
  --transition:   0.18s ease;

  /* Typography */
  --font-display: Georgia, "Times New Roman", serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "SF Mono", "Fira Code", monospace;

  /* Layout */
  --maxw:         1100px;
  --maxw-narrow:  720px;
}

/* ----------------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img, svg { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 .6rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
}
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--ember); text-underline-offset: 3px; transition: color var(--transition); }
a:hover { color: var(--ember-dark); }
ul { padding-left: 1.2rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: var(--maxw-narrow); }

/* ----------------------------------------------------------------
   Accessibility
   ---------------------------------------------------------------- */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  padding: .5rem 1rem; background: var(--ember); color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; text-decoration: none; z-index: 9999;
}
.skip-link:focus { top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }

/* ----------------------------------------------------------------
   Header & Navigation
   ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding-top: .85rem; padding-bottom: .85rem;
}
.brand {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; flex-shrink: 0;
}
.brand-icon { font-size: 1.4rem; line-height: 1; }
.brand-text  { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.brand-accent { color: var(--ember); }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.2rem; height: 2.2rem; padding: .35rem;
  background: none; border: none; cursor: pointer; margin-left: auto;
}
.nav-bar {
  display: block; width: 100%; height: 2px;
  background: rgba(255,255,255,.75);
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.08);
  padding: .75rem 0 1rem;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { border-bottom: 1px solid rgba(255,255,255,.06); }
.site-nav a {
  display: block; padding: .65rem 1.25rem;
  color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 500;
  text-decoration: none; transition: color var(--transition), background var(--transition);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ember); background: rgba(255,255,255,.04); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: none; padding: 0; margin-left: auto; }
  .site-nav ul { display: flex; gap: 0; align-items: center; }
  .site-nav li { border: none; }
  .site-nav a { padding: .4rem .7rem; font-size: .88rem; border-radius: var(--radius-sm); }
  .site-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .site-nav a[aria-current="page"] { color: var(--ember); background: rgba(196,98,45,.15); }
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .65rem 1.4rem; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  line-height: 1; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary  { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-dark); color: #fff; }
.btn-secondary { background: var(--teal); color: #fff; }
.btn-secondary:hover { background: var(--teal-dark); color: #fff; }
.btn-outline   { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ember); color: var(--ember); }
.btn-ghost     { background: transparent; color: var(--ember); border-color: transparent; padding-left: .5rem; padding-right: .5rem; }
.btn-ghost:hover { background: var(--ember-ghost); }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem .9rem; font-size: .85rem; }

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 4rem 0 3.5rem;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/assets/images/hero-bg.jpg');
  background-size: cover; background-position: center;
  opacity: .25;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 1rem;
  padding: .3rem .85rem; border-radius: var(--radius-pill);
  background: rgba(196,98,45,.2); border: 1px solid rgba(196,98,45,.4);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #FFC9A8;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: #fff; margin-bottom: .6rem; line-height: 1.1;
}
.hero h1 .accent { color: var(--ember); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.72); max-width: 500px; margin: 0 auto 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero-stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-n  { display: block; font-size: 1.6rem; font-weight: 700; color: var(--ember); font-family: var(--font-display); }
.hero-stat-lb { display: block; font-size: .78rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .07em; }

@media (min-width: 640px) {
  .hero { padding: 5.5rem 0 5rem; }
}

/* ----------------------------------------------------------------
   Section commons
   ---------------------------------------------------------------- */
.section { padding: 4rem 0; }
.section--alt { background: var(--surface); }
.section--dark { background: var(--ink); color: #fff; }
.section--ember { background: var(--ember); color: #fff; }
.section--teal  { background: var(--teal); color: #fff; }

.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: .4rem; }
.section-header p  { color: var(--ink-soft); margin: 0; font-size: 1.05rem; }
.section--dark .section-header h2,
.section--dark .section-header p { color: rgba(255,255,255,.88); }

.section-eyebrow {
  display: inline-block; margin-bottom: .6rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ember);
}
.section--dark .section-eyebrow { color: #FFC9A8; }

/* ----------------------------------------------------------------
   Cards — Ingredient
   ---------------------------------------------------------------- */
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) { .ingredient-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
@media (min-width: 1024px) { .ingredient-grid { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; } }

.ingredient-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}
.ingredient-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: inherit; }
.ingredient-card__img {
  aspect-ratio: 1 / 1;
  background: var(--line-soft);
  overflow: hidden;
}
.ingredient-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ingredient-card__img .placeholder-emoji { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 2.5rem; }
.ingredient-card__body { padding: .75rem; }
.ingredient-card__en   { font-weight: 700; font-size: .9rem; margin: 0 0 .2rem; }
.ingredient-card__cn   { font-size: .78rem; color: var(--ink-soft); margin: 0 0 .35rem; }
.ingredient-card__meta { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.ingredient-card__time { font-size: .72rem; color: var(--ink-muted); }

/* ----------------------------------------------------------------
   Cards — Style/Broth
   ---------------------------------------------------------------- */
.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
@media (min-width: 1024px) { .style-grid { grid-template-columns: repeat(3, 1fr); } }

.style-card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.style-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: inherit; }
.style-card__img {
  aspect-ratio: 16/9; background: var(--line-soft);
  overflow: hidden; position: relative;
}
.style-card__img img { width: 100%; height: 100%; object-fit: cover; }
.style-card__badge {
  position: absolute; bottom: .6rem; left: .6rem;
  padding: .2rem .6rem; border-radius: var(--radius-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
}
.style-card__body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.style-card__title { font-size: 1.1rem; margin: 0 0 .3rem; }
.style-card__origin { font-size: .8rem; color: var(--ink-soft); margin: 0 0 .6rem; }
.style-card__desc   { font-size: .88rem; color: var(--ink-soft); margin: 0 0 auto; }
.style-card__footer { margin-top: .85rem; padding-top: .75rem; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: .5rem; }

/* ----------------------------------------------------------------
   Spice badge
   ---------------------------------------------------------------- */
.spice-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .18rem .55rem; border-radius: var(--radius-pill);
  font-size: .72rem; font-weight: 600;
}
.spice-0 { color: var(--spice-0-c); background: var(--spice-0-bg); }
.spice-1 { color: var(--spice-1-c); background: var(--spice-1-bg); }
.spice-2 { color: var(--spice-2-c); background: var(--spice-2-bg); }
.spice-3 { color: var(--spice-3-c); background: var(--spice-3-bg); }
.spice-4 { color: var(--spice-4-c); background: var(--spice-4-bg); }
.spice-5 { color: var(--spice-5-c); background: var(--spice-5-bg); }

/* ----------------------------------------------------------------
   Interactive tool panels (quiz, decoder, builder)
   ---------------------------------------------------------------- */
.tool-panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tool-panel__header {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.tool-panel__header h2 { margin: 0; font-size: 1.3rem; }
.tool-panel__header p  { margin: .3rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.tool-panel__body { padding: 1.5rem 1.75rem; }

/* Quiz */
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-question { font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 480px) { .quiz-options { grid-template-columns: repeat(4, 1fr); } }
.quiz-option {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  padding: .75rem .5rem; border: 2px solid var(--line);
  border-radius: var(--radius); background: var(--paper);
  cursor: pointer; text-align: center; font-size: .88rem; font-weight: 500;
  transition: border-color var(--transition), background var(--transition);
  user-select: none;
}
.quiz-option .opt-icon { font-size: 1.5rem; }
.quiz-option:hover    { border-color: var(--ember); background: var(--ember-ghost); }
.quiz-option.selected { border-color: var(--ember); background: var(--ember-soft); color: var(--ember-dark); }
.quiz-progress { display: flex; gap: .35rem; margin-bottom: 1.25rem; }
.quiz-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .2s; }
.quiz-dot.done { background: var(--ember); }
.quiz-dot.active { background: var(--ember); box-shadow: 0 0 0 3px var(--ember-soft); }
.quiz-result { display: none; }
.quiz-result.active { display: block; }
.quiz-result__title { font-size: 1.3rem; font-weight: 700; margin-bottom: .3rem; color: var(--ember); }
.quiz-result__subtitle { color: var(--ink-soft); margin-bottom: 1.25rem; font-size: .9rem; }
.result-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.result-tag {
  padding: .3rem .75rem; border-radius: var(--radius-pill);
  background: var(--ember-soft); color: var(--ember-dark);
  font-size: .82rem; font-weight: 600;
}

/* Decoder */
.decoder-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.decoder-input {
  flex: 1; min-width: 200px;
  padding: .65rem 1rem; border: 2px solid var(--line);
  border-radius: var(--radius); font-size: 1rem;
  background: var(--paper); color: var(--ink);
  transition: border-color var(--transition);
}
.decoder-input:focus { outline: none; border-color: var(--ember); }
.decoder-result { margin-top: 1.25rem; }
.decoder-result__name { font-size: 1.5rem; font-weight: 700; margin-bottom: .15rem; }
.decoder-result__cn   { font-size: 1rem; color: var(--ink-soft); margin-bottom: .75rem; }
.decoder-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 480px) { .decoder-stats { grid-template-columns: repeat(3, 1fr); } }
.decoder-stat {
  padding: .65rem; border-radius: var(--radius-sm);
  background: var(--paper); border: 1px solid var(--line-soft);
}
.decoder-stat__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-muted); margin-bottom: .2rem; }
.decoder-stat__value { font-size: .9rem; font-weight: 600; color: var(--ink); }

/* Can I Hot Pot It */
.cihi-verdict {
  padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem;
}
.cihi-verdict--yes    { background: #E9F5EA; color: #1B5E20; }
.cihi-verdict--maybe  { background: #FDF3DF; color: #7A4F00; }
.cihi-verdict--no     { background: #FBEAE8; color: #9B1C1C; }

/* Builder */
.builder-selects { display: flex; flex-direction: column; gap: 1rem; }
.builder-field label { display: block; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); margin-bottom: .4rem; }
.builder-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.builder-chip {
  padding: .35rem .85rem; border-radius: var(--radius-pill);
  border: 2px solid var(--line); background: var(--paper);
  font-size: .85rem; font-weight: 500; cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.builder-chip:hover    { border-color: var(--ember); }
.builder-chip.selected { border-color: var(--ember); background: var(--ember-soft); color: var(--ember-dark); }
.builder-result { margin-top: 1.5rem; }
.shopping-list { list-style: none; padding: 0; margin: 0; }
.shopping-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: .9rem;
}
.shopping-list li:last-child { border-bottom: none; }
.shop-tag {
  padding: .2rem .7rem; border-radius: var(--radius-pill);
  background: var(--ember); color: #fff; font-size: .75rem;
  font-weight: 600; text-decoration: none;
  transition: background var(--transition);
}
.shop-tag:hover { background: var(--ember-dark); color: #fff; }
.cost-estimate { margin-top: 1rem; padding: .85rem 1rem; background: var(--ember-soft); border-radius: var(--radius-sm); }
.cost-estimate strong { color: var(--ember); font-size: 1.1rem; }

/* ----------------------------------------------------------------
   China map section
   ---------------------------------------------------------------- */
.map-section { background: var(--ink); padding: 4rem 0; }
.map-section .section-header h2 { color: #fff; }
.map-section .section-header p  { color: rgba(255,255,255,.6); }
.map-container { position: relative; max-width: 560px; margin: 0 auto; }
.map-pins { position: relative; }
.map-pin {
  position: absolute; transform: translate(-50%, -50%);
  text-align: center; cursor: pointer;
}
.map-pin__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ember); border: 2px solid rgba(255,255,255,.3);
  margin: 0 auto .3rem;
  transition: transform .2s, background .2s;
}
.map-pin:hover .map-pin__dot { transform: scale(1.4); background: #ff8c57; }
.map-pin__label {
  font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.8);
  white-space: nowrap; background: rgba(0,0,0,.5);
  padding: .15rem .45rem; border-radius: 4px;
}
.map-pin a { text-decoration: none; }
.map-img { width: 100%; opacity: .5; }

/* ----------------------------------------------------------------
   2-column feature layout
   ---------------------------------------------------------------- */
.feature-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.feature-grid.reverse-mobile { }
@media (min-width: 768px) { .feature-grid.reverse-mobile > *:first-child { order: 2; } }

/* ----------------------------------------------------------------
   FAQ
   ---------------------------------------------------------------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; font-weight: 600; color: var(--ink);
  font-family: var(--font-body);
  gap: 1rem;
}
.faq-q:hover { color: var(--ember); }
.faq-icon { font-size: 1.2rem; flex-shrink: 0; transition: transform .2s; }
.faq-a { display: none; padding: 0 0 1.1rem; font-size: .95rem; color: var(--ink-soft); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ----------------------------------------------------------------
   Newsletter / CTA strip
   ---------------------------------------------------------------- */
.cta-strip { background: var(--ember); color: #fff; padding: 3rem 0; text-align: center; }
.cta-strip h2 { color: #fff; margin-bottom: .4rem; }
.cta-strip p  { color: rgba(255,255,255,.82); margin-bottom: 1.5rem; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; max-width: 440px; margin: 0 auto; }
.newsletter-input {
  flex: 1; min-width: 200px; padding: .7rem 1.1rem;
  border-radius: var(--radius-pill); border: none;
  font-size: 1rem; background: rgba(255,255,255,.15);
  color: #fff; backdrop-filter: blur(8px);
}
.newsletter-input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-input:focus { outline: 2px solid rgba(255,255,255,.6); }

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.site-footer {
  background: #101410; color: rgba(255,255,255,.7);
  padding-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand-col { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-brand-col { grid-column: auto; } }
.footer-brand { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; margin: 0 0 .4rem; }
.footer-accent { color: var(--ember); }
.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.5); margin: 0 0 .75rem; line-height: 1.6; }
.footer-copy    { font-size: .8rem; color: rgba(255,255,255,.35); margin: 0; }
.footer-col h3  { font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.4); margin: 0 0 .85rem; font-family: var(--font-body); }
.footer-col ul  { list-style: none; padding: 0; margin: 0; }
.footer-col li  { margin-bottom: .55rem; }
.footer-col a   { color: rgba(255,255,255,.6); font-size: .88rem; text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: var(--ember); }
.footer-legal { padding: 1.1rem 0; font-size: .75rem; color: rgba(255,255,255,.3); }

/* ----------------------------------------------------------------
   Breadcrumb
   ---------------------------------------------------------------- */
.breadcrumb { padding: .65rem 0; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .82rem; }
.breadcrumb li::after { content: '/'; margin-left: .35rem; color: var(--ink-muted); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ember); }
.breadcrumb [aria-current="page"] { color: var(--ink-muted); }

/* ----------------------------------------------------------------
   Loading / spinner
   ---------------------------------------------------------------- */
.spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 3px solid rgba(196,98,45,.25);
  border-top-color: var(--ember);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  padding: 2rem; color: var(--ink-soft); font-size: .9rem;
}

/* ----------------------------------------------------------------
   Error / 404
   ---------------------------------------------------------------- */
.error-page { text-align: center; padding: 5rem 1.25rem; }
.error-icon { font-size: 4rem; margin-bottom: 1rem; }
.error-links { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }

/* ----------------------------------------------------------------
   Tool hub card
   ---------------------------------------------------------------- */
.tool-card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.5rem;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .6rem;
  border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.tool-card:hover { border-color: var(--ember); transform: translateY(-2px); box-shadow: var(--shadow-hover); color: inherit; }
.tool-card__icon { font-size: 2rem; }
.tool-card__title { font-size: 1.05rem; font-weight: 700; margin: 0; }
.tool-card__desc  { font-size: .88rem; color: var(--ink-soft); margin: 0; flex: 1; }
.tool-card__link  { font-size: .85rem; font-weight: 600; color: var(--ember); margin-top: auto; }

/* ----------------------------------------------------------------
   2-col tool section on homepage
   ---------------------------------------------------------------- */
.tools-showcase {
  display: grid; gap: 1.5rem;
}
@media (min-width: 768px) { .tools-showcase { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tools-showcase { grid-template-columns: 1fr 1fr 1fr 1fr; } }

/* ----------------------------------------------------------------
   "At Home" guide strips
   ---------------------------------------------------------------- */
.guide-strip { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .guide-strip { flex-direction: row; flex-wrap: wrap; } }
.guide-chip {
  flex: 1; min-width: 160px; padding: 1rem 1.25rem;
  background: var(--surface); border-radius: var(--radius-sm);
  border-left: 4px solid var(--ember);
  box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: .25rem;
  transition: transform var(--transition);
}
.guide-chip:hover { transform: translateX(2px); color: inherit; }
.guide-chip__title { font-weight: 700; font-size: .92rem; }
.guide-chip__desc  { font-size: .8rem; color: var(--ink-soft); }

/* ----------------------------------------------------------------
   Shop preview
   ---------------------------------------------------------------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.shop-card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}
.shop-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: inherit; }
.shop-card__img { aspect-ratio: 4/3; background: var(--line-soft); }
.shop-card__img img { width: 100%; height: 100%; object-fit: cover; }
.shop-card__body { padding: .85rem; }
.shop-card__name { font-size: .9rem; font-weight: 700; margin: 0 0 .3rem; }
.shop-card__price { font-size: .85rem; color: var(--ember); font-weight: 600; margin: 0; }

/* ----------------------------------------------------------------
   Ingredient page — detail layout
   ---------------------------------------------------------------- */
.ingredient-detail { display: grid; gap: 2rem; }
@media (min-width: 768px) { .ingredient-detail { grid-template-columns: 1fr 2fr; gap: 3rem; } }
.ingredient-image { border-radius: var(--radius); overflow: hidden; background: var(--line-soft); }
.ingredient-meta-table { border-collapse: collapse; width: 100%; margin-bottom: 1.5rem; }
.ingredient-meta-table td { padding: .5rem .2rem; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.ingredient-meta-table td:first-child { color: var(--ink-soft); font-weight: 600; width: 40%; }

/* ----------------------------------------------------------------
   Utility
   ---------------------------------------------------------------- */
.text-center  { text-align: center; }
.text-muted   { color: var(--ink-soft); }
.text-ember   { color: var(--ember); }
.mt-sm  { margin-top: .75rem; }
.mt-md  { margin-top: 1.5rem; }
.mt-lg  { margin-top: 2.5rem; }
.mb-sm  { margin-bottom: .75rem; }
.mb-md  { margin-bottom: 1.5rem; }
.mb-0   { margin-bottom: 0; }
.gap-sm { gap: .5rem; }
.hidden { display: none !important; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-gap { display: flex; gap: 1rem; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.chip {
  display: inline-block; padding: .2rem .65rem; border-radius: var(--radius-pill);
  background: var(--line-soft); color: var(--ink-soft); font-size: .78rem; font-weight: 500;
}
.divider { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }

/* Stars */
.stars { color: #F59E0B; letter-spacing: .05em; }

/* Category badge */
.cat-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .2rem .65rem; border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 600; text-transform: capitalize;
}
.cat-meat      { background: #FEECEC; color: #9B1C1C; }
.cat-seafood   { background: #E6F0FB; color: #1A3E72; }
.cat-tofu      { background: #FFF8E6; color: #78540A; }
.cat-vegetable { background: #E9F5EA; color: #1B5E20; }
.cat-noodle    { background: #F5F0FB; color: #4A1D96; }
.cat-other     { background: var(--line-soft); color: var(--ink-soft); }

/* ----------------------------------------------------------------
   Responsive tweaks
   ---------------------------------------------------------------- */
@media (min-width: 640px) {
  h1 { font-size: 2.3rem; }
  .section { padding: 5rem 0; }
  .ingredient-grid { gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
}

/* ================================================================
   HERO CAROUSEL
   ================================================================ */
.hero-carousel {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: #111;
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.9s ease;
}
.carousel-slide.active { opacity: 1; }
.carousel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.1) 100%);
}
.carousel-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem var(--side-pad, 1.25rem);
  max-width: calc(var(--maxw) + 2 * var(--side-pad, 1.25rem));
  margin: 0 auto; left: 0; right: 0;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ember); background: rgba(196,98,45,.15);
  border: 1px solid rgba(196,98,45,.3);
  padding: .35rem .9rem; border-radius: var(--radius-pill);
  margin-bottom: 1rem; width: fit-content;
}
.carousel-content h1 {
  font-family: var(--font-display); font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900; color: #fff; line-height: 1.05;
  margin: 0 0 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.carousel-content h1 .accent { color: var(--ember); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem); color: rgba(255,255,255,.85);
  margin: 0 0 1.75rem; line-height: 1.6; max-width: 520px;
}
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }
.carousel-btn-outline {
  color: #fff !important; border-color: rgba(255,255,255,.4) !important;
}
.carousel-btn-outline:hover {
  background: rgba(255,255,255,.12) !important; border-color: #fff !important;
}

/* Arrows */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: #fff; width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: background .18s;
  z-index: 10;
}
.carousel-arrow:hover { background: rgba(255,255,255,.3); }
.carousel-arrow--prev { left: 1.25rem; }
.carousel-arrow--next { right: 1.25rem; }

/* Dots */
.carousel-dots {
  position: absolute; bottom: 5.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem; z-index: 10;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer;
  transition: background .2s, width .2s;
}
.carousel-dot.active { background: var(--ember); width: 24px; border-radius: 4px; }

/* Stats bar at bottom */
.hero-stats-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.55); backdrop-filter: blur(8px);
  display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem);
  padding: .9rem 1.25rem; z-index: 10;
}
.hero-stat { text-align: center; }
.hero-stat-n { display: block; font-size: 1.5rem; font-weight: 900; color: var(--ember); font-family: var(--font-display); }
.hero-stat-lb { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }

/* ================================================================
   HOT POT BUILDER
   ================================================================ */
.builder-section {
  background: var(--paper);
  padding: 5rem 0 4rem;
}
.builder-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin: 0 auto 2.5rem; max-width: 480px;
}
.bstep {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  flex-shrink: 0;
}
.bstep-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--line); color: var(--ink-muted);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; transition: background .3s, color .3s;
}
.bstep.active .bstep-num { background: var(--ember); color: #fff; }
.bstep.done .bstep-num { background: var(--teal); color: #fff; }
.bstep-label {
  font-size: .72rem; font-weight: 600; color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: .06em;
}
.bstep.active .bstep-label { color: var(--ember); }
.bstep.done .bstep-label { color: var(--teal); }
.bstep-line {
  flex: 1; height: 2px; background: var(--line); margin: 0 .5rem;
  margin-bottom: 1.2rem;
}

.builder-body { max-width: 900px; margin: 0 auto; }
.builder-panel { display: none; }
.builder-panel.active { display: block; }

/* Category tabs */
.shelf-tabs {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.shelf-tab {
  padding: .5rem 1rem; border-radius: var(--radius-pill);
  border: 2px solid var(--line); background: var(--surface);
  font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--ink-soft);
  transition: all .18s;
}
.shelf-tab.active, .shelf-tab:hover {
  border-color: var(--ember); color: var(--ember); background: var(--ember-soft);
}

/* Shelf grid */
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.shelf-item {
  background: var(--surface); border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: all .18s; box-shadow: var(--shadow-sm);
  overflow: hidden; position: relative;
}
.shelf-item:hover { border-color: var(--ember); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.shelf-item.selected { border-color: var(--ember); background: var(--ember-soft); }
.shelf-item__img {
  position: relative; width: 100%; aspect-ratio: 1;
  background: var(--line-soft); overflow: hidden;
}
.shelf-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shelf-item__emoji {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; font-size: 2.5rem;
}
.shelf-item__check {
  position: absolute; top: .4rem; right: .4rem;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ember); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}
.shelf-item__body { padding: .6rem .7rem .75rem; }
.shelf-item__en { font-size: .82rem; font-weight: 700; margin: 0 0 .15rem; color: var(--ink); }
.shelf-item__cn { font-size: .72rem; color: var(--ink-muted); margin: 0 0 .2rem; }
.shelf-item__time { font-size: .7rem; color: var(--ink-soft); margin: 0; }
.shelf-badge {
  display: inline-block; font-size: .62rem; padding: .15rem .4rem;
  background: var(--teal-soft); color: var(--teal); border-radius: 3px;
  font-weight: 600; margin-top: .3rem;
}

/* Basket bar */
.basket-bar {
  position: sticky; bottom: 1rem;
  background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: .9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  z-index: 50;
}
.basket-bar__left { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; flex: 1; }
.basket-icon { font-size: 1.3rem; }
#basketCount { font-weight: 600; font-size: .9rem; white-space: nowrap; }
.basket-chips { display: flex; gap: .35rem; flex-wrap: wrap; }
.bchip {
  font-size: .72rem; padding: .2rem .55rem; border-radius: 20px;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
}
.bchip--more { background: rgba(196,98,45,.4); }

/* Builder nav */
.builder-nav {
  display: flex; gap: 1rem; justify-content: space-between;
  margin-top: 2rem; flex-wrap: wrap;
}
.step-heading {
  font-family: var(--font-display); font-size: 1.4rem;
  margin: 0 0 1.5rem; color: var(--ink);
}

/* Pot cards */
.pot-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem;
}
.pot-card {
  background: var(--surface); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1rem;
  cursor: pointer; text-align: center; transition: all .18s;
  box-shadow: var(--shadow-sm);
}
.pot-card:hover { border-color: var(--ember); transform: translateY(-2px); }
.pot-card.selected { border-color: var(--ember); background: var(--ember-soft); }
.pot-card__img { width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); margin-bottom: .6rem; background: var(--line-soft); }
.pot-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pot-card:hover .pot-card__img img { transform: scale(1.05); }
.pot-card__name { font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.pot-card__cn { font-size: .72rem; color: var(--ink-muted); margin-bottom: .4rem; }
.pot-card__desc { font-size: .72rem; color: var(--ink-soft); margin-bottom: .5rem; line-height: 1.4; }
.pot-badge {
  font-size: .62rem; padding: .15rem .5rem; border-radius: 20px;
  background: var(--teal-soft); color: var(--teal); font-weight: 600;
}

/* Broth cards */
.broth-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem;
}
.broth-card {
  border: 2px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1rem; cursor: pointer; text-align: center;
  transition: all .18s; background: var(--surface); box-shadow: var(--shadow-sm);
}
.broth-card:hover { border-color: var(--broth-color,var(--ember)); transform: translateY(-2px); }
.broth-card.selected {
  border-color: var(--broth-color,var(--ember));
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.7));
  box-shadow: 0 0 0 1px var(--broth-color,var(--ember));
}
.broth-card__emoji { font-size: 2rem; margin-bottom: .4rem; }
.broth-card__name { font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.broth-card__cn { font-size: .72rem; color: var(--ink-muted); margin-bottom: .3rem; }
.broth-card__spice { font-size: .8rem; margin-bottom: .4rem; }
.broth-card__desc { font-size: .7rem; color: var(--ink-soft); line-height: 1.4; }

/* Result */
.result-hero {
  display: flex; align-items: center; gap: 1.25rem;
  background: linear-gradient(135deg, var(--ember-soft), var(--paper));
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem;
}
.result-hero__emoji { font-size: 3.5rem; flex-shrink: 0; }
.result-hero__title { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 .25rem; }
.result-hero__sub { color: var(--ink-soft); margin: 0; font-size: .9rem; }

.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .result-grid { grid-template-columns: 1fr; } }

.result-card {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); padding: 1.25rem;
}
.result-card h4 { font-size: .9rem; font-weight: 700; margin: 0 0 .75rem; }
.result-list { list-style: none; padding: 0; margin: 0; }
.result-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .35rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: .82rem;
}
.result-cn { color: var(--ink-muted); font-size: .75rem; }
.cook-group { margin-bottom: .75rem; }
.cook-label {
  display: inline-block; font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; padding: .2rem .6rem;
  border-radius: 20px; margin-bottom: .4rem;
}
.cook-label.long { background: #FEE2E2; color: #991B1B; }
.cook-label.medium { background: #FEF3C7; color: #92400E; }
.cook-label.quick { background: #D1FAE5; color: #065F46; }
.cook-chip {
  display: inline-block; font-size: .75rem; padding: .2rem .6rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 20px; margin: .2rem;
}
.result-tip {
  margin-top: .75rem; padding: .65rem .85rem;
  background: var(--ember-ghost); border-left: 3px solid var(--ember);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .78rem; color: var(--ink-soft); line-height: 1.5;
}

/* Map chips */
.map-style-chip {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  padding: .85rem 1.1rem; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); transition: background .18s, transform .18s;
  min-width: 120px; text-align: center;
}
.map-style-chip:hover { background: rgba(196,98,45,.25); transform: translateY(-2px); }
.map-style-chip__name { font-size: .88rem; font-weight: 700; color: #fff; }
.map-style-chip__desc { font-size: .73rem; color: rgba(255,255,255,.5); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq-q {
  padding: 1rem 1.25rem; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 1.2rem; color: var(--ember); flex-shrink: 0; }
details[open] .faq-q::after { content: '−'; }
.faq-a { padding: 0 1.25rem 1rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.7; }

/* Responsive builder */
@media (max-width: 640px) {
  .shelf-grid { grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap: .75rem; }
  .pot-grid, .broth-grid { grid-template-columns: repeat(2,1fr); }
  .carousel-arrow { display: none; }
  .hero-stats-bar { gap: 1rem; }
  .basket-bar { flex-direction: column; align-items: flex-start; }
}
@media print {
  .builder-steps, .shelf-tabs, .shelf-grid, .basket-bar, .builder-nav,
  .hero-carousel, header, footer, .section:not(:has(.result-grid)) { display: none; }
  .result-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   INGREDIENT DETAIL PAGE
   ================================================================ */

/* Hero band */
.ing-hero {
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .ing-hero { grid-template-columns: 340px 1fr; min-height: 360px; }
}
.ing-hero__img-wrap {
  overflow: hidden;
  max-height: 400px;
}
@media (min-width: 768px) { .ing-hero__img-wrap { max-height: none; } }
.ing-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ing-hero__body { padding: 2rem 0; display: flex; align-items: center; }
.ing-hero__breadcrumb { margin-bottom: 1rem; }
.ing-hero__breadcrumb ol { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.ing-hero__breadcrumb li { font-size: .8rem; color: rgba(255,255,255,.6); }
.ing-hero__breadcrumb li::after { content: '›'; margin-left: .4rem; }
.ing-hero__breadcrumb li:last-child::after { display: none; }
.ing-hero__breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.ing-hero__breadcrumb a:hover { color: #fff; }
.ing-hero__cat { margin-bottom: .75rem; display: inline-flex; }
.ing-hero__title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin: 0 0 .25rem; line-height: 1.15; }
.ing-hero__cn { font-size: 1.1rem; color: rgba(255,255,255,.7); margin: 0 0 1.25rem; font-style: italic; }

/* Stats bar inside hero */
.ing-stats-bar {
  display: flex; flex-wrap: wrap; gap: .75rem;
}
.ing-stat {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: .6rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  min-width: 90px;
  backdrop-filter: blur(4px);
}
.ing-stat__icon { font-size: 1.1rem; }
.ing-stat__label { font-size: .65rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; }
.ing-stat__val { font-size: .82rem; font-weight: 700; color: #fff; text-align: center; }

/* Content layout */
.ing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  align-items: start;
}
@media (min-width: 900px) {
  .ing-layout { grid-template-columns: 1fr 300px; }
}

/* Article sections */
.ing-section { margin-bottom: 2.5rem; }
.ing-section h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--ember);
}
.ing-lead { font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); }

/* Flavor grid */
.ing-flavor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ing-flavor-card {
  background: var(--line-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.ing-flavor-card__icon { font-size: 1.8rem; }
.ing-flavor-card h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin: .4rem 0 .3rem; }
.ing-flavor-card p { margin: 0; font-size: .9rem; line-height: 1.5; }

/* Prep box */
.ing-prep-box {
  background: var(--ember-ghost);
  border-left: 4px solid var(--ember);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
}
.ing-prep-box__timer {
  display: inline-block;
  background: var(--ember);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: var(--radius-pill);
  margin-bottom: .75rem;
}
.ing-prep-box p { margin: 0; line-height: 1.7; }

/* Broth chips */
.ing-broth-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.ing-broth-chip {
  background: var(--teal-soft);
  color: var(--teal-dark);
  border: 1px solid var(--teal);
  border-radius: var(--radius-pill);
  padding: .35rem .9rem;
  font-size: .82rem;
  font-weight: 600;
}
.ing-broth-chips--sm .ing-broth-chip { font-size: .78rem; padding: .25rem .7rem; }

/* CTA bar */
.ing-cta-bar { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* Sidebar */
.ing-sidebar__card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.ing-sidebar__card h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin: 0 0 .75rem; }
.ing-meta-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.ing-meta-table td { padding: .4rem .2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ing-meta-table td:first-child { color: var(--ink-muted); width: 42%; }
.ing-sidebar__cta { text-align: center; }
.ing-sidebar__cta p { font-size: .85rem; color: var(--ink-soft); margin: 0 0 .75rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ================================================================
   INGREDIENTS HUB PAGE
   ================================================================ */
.ing-category-block { margin-bottom: 3.5rem; }
.ing-category-header {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--line);
}
.ing-category-emoji { font-size: 2.2rem; flex-shrink: 0; }
.ing-category-header h2 { margin: 0 0 .2rem; font-size: 1.4rem; }
.ing-category-desc { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.ingredient-grid--4 { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
@media (min-width: 1024px) { .ingredient-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.beginner-badge {
  background: var(--teal-soft); color: var(--teal-dark);
  border-radius: var(--radius-pill); padding: .15rem .5rem; font-size: .68rem; font-weight: 600;
}

/* ================================================================
   BROTH PAGES
   ================================================================ */

/* Hero */
.broth-hero {
  padding: 4rem 1rem 3rem;
  color: #fff;
  text-align: center;
  position: relative;
}
.broth-hero__tag {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  padding: .3rem .9rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.broth-hero__title { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .3rem; }
.broth-hero__cn    { font-size: 1.5rem; opacity: .75; margin: 0 0 1rem; }
.broth-hero__lead  { max-width: 620px; margin: 0 auto; opacity: .9; font-size: 1.05rem; line-height: 1.7; }
.broth-hero__meta  { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; font-size: .88rem; opacity: .85; }

/* Spice pill */
.broth-spice-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.2);
  border-radius: var(--radius-pill);
  padding: .4rem 1rem;
  font-size: .85rem; font-weight: 600; color: #fff;
}

/* Spice bar visualization */
.broth-spice-bar {
  display: flex; gap: 4px; margin: .5rem 0;
}
.broth-spice-seg {
  height: 10px; flex: 1; border-radius: 3px;
  background: var(--line);
  transition: background .2s;
}
.broth-spice-seg.active { background: var(--chili); }

/* ---- BROTH HUB PAGE ---- */
.broth-hub-hero {
  background: linear-gradient(135deg, #5C3317 0%, #3B1F0A 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem 3rem;
}
.broth-hub-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5rem; }
.broth-hub-hero p  { opacity: .85; max-width: 560px; margin: 0 auto 1.5rem; font-size: 1.05rem; }

.broth-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 3rem var(--page-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Broth cards */
.broth-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none; color: inherit;
}
.broth-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.broth-card__img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  background: var(--surface-alt);
}
.broth-card__img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #c8a882 0%, #a07040 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.broth-card__body { padding: 1.1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.broth-card__body h2 { font-size: 1.1rem; margin: 0 0 .2rem; }
.broth-card__cn     { font-size: .85rem; color: var(--ink-muted); margin: 0 0 .5rem; }
.broth-card__flavor { font-size: .85rem; color: var(--ink-soft); margin: 0 0 .75rem; flex: 1; }
.broth-card__spice  { margin-top: auto; }
.broth-card .broth-spice-bar { margin: .25rem 0 0; }

/* Yin-yang tip callout on hub */
.broth-yinyang-tip {
  background: linear-gradient(135deg, var(--teal-soft) 0%, #fff8f0 100%);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.broth-yinyang-tip h3 { margin: 0 0 .5rem; }
.broth-yinyang-tip p  { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Broth detail layout */
.broth-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem var(--page-pad);
}
@media (max-width: 768px) { .broth-layout { grid-template-columns: 1fr; } }

.broth-section { margin-bottom: 2.5rem; }
.broth-section h2 { font-size: 1.35rem; margin: 0 0 1rem; border-left: 4px solid var(--chili); padding-left: .75rem; }

/* Best ingredients grid */
.broth-ing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}
.broth-ing-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .2s;
}
.broth-ing-card:hover { transform: translateY(-2px); }
.broth-ing-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--surface-alt); }
.broth-ing-card__name { padding: .4rem .6rem; font-size: .82rem; font-weight: 600; }
.broth-ing-card__cn   { padding: 0 .6rem .5rem; font-size: .75rem; color: var(--ink-muted); }

/* Sidebar */
.broth-sidebar__card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.broth-sidebar__card h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin: 0 0 .75rem; }

/* Related broths in sidebar */
.broth-related-list { display: flex; flex-direction: column; gap: .6rem; }
.broth-related-item {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none; color: inherit;
  padding: .4rem 0;
  border-bottom: 1px solid var(--line);
}
.broth-related-item:last-child { border-bottom: none; }
.broth-related-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--surface-alt); }
.broth-related-item__name { font-size: .88rem; font-weight: 600; display: block; }
.broth-related-item__flavor { font-size: .78rem; color: var(--ink-muted); display: block; margin-top: .1rem; }

/* ================================================================
   GUIDE PAGES
   ================================================================ */

/* Hero variants */
.guide-hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
  color: #fff;
}
.guide-hero--green  { background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%); }
.guide-hero--amber  { background: linear-gradient(135deg, #5C3317 0%, #8B4513 100%); }
.guide-hero--rust   { background: linear-gradient(135deg, #7B2D00 0%, #BF360C 100%); }
.guide-hub-hero     { background: linear-gradient(135deg, #212121 0%, #37474F 100%); text-align: center; padding: 4rem 1rem 3rem; color: #fff; }
.guide-hero__inner  { max-width: 700px; margin: 0 auto; }
.guide-hero__tag    { display: inline-block; background: rgba(255,255,255,.18); border-radius: var(--radius-pill); padding: .3rem .9rem; font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .75rem; }
.guide-hero h1      { font-size: clamp(2rem,5vw,3rem); margin: 0 0 .75rem; }
.guide-hero p, .guide-hub-hero p { opacity: .88; font-size: 1.1rem; margin: 0 auto; max-width: 580px; }

/* TOC chips inside hero */
.guide-toc { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.5rem; }
.guide-toc a { background: rgba(255,255,255,.2); color: #fff; border-radius: var(--radius-pill); padding: .3rem .85rem; font-size: .82rem; font-weight: 600; text-decoration: none; }
.guide-toc a:hover { background: rgba(255,255,255,.35); }

/* Two-column layout */
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem var(--page-pad);
}
@media (max-width: 768px) { .guide-layout { grid-template-columns: 1fr; } }

.guide-body {}
.guide-section { margin-bottom: 3rem; }
.guide-section h2 { font-size: 1.4rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }

/* Step badge */
.guide-step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--chili); color: #fff;
  font-size: .85rem; font-weight: 700; flex-shrink: 0;
}

/* Gear cards */
.guide-gear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.guide-gear-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.25rem;
  border-left: 4px solid transparent;
  position: relative;
}
.guide-gear-card--must  { border-left-color: var(--chili); }
.guide-gear-card--nice  { border-left-color: var(--teal); }
.guide-gear-card h3 { margin: 0 0 .4rem; font-size: 1rem; }
.guide-gear-card p  { margin: 0; font-size: .88rem; color: var(--ink-soft); line-height: 1.6; }
.guide-gear-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: .4rem; color: var(--ink-muted);
}

/* Broth pick chips */
.guide-broth-picks { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.guide-broth-pick {
  display: flex; align-items: center; gap: .9rem;
  padding: .75rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit;
  border-left: 4px solid transparent;
  transition: transform .15s;
}
.guide-broth-pick:hover { transform: translateX(4px); }
.guide-broth-pick--mild  { border-left-color: var(--teal); }
.guide-broth-pick--spicy { border-left-color: var(--chili); }
.guide-broth-pick__emoji { font-size: 1.6rem; flex-shrink: 0; }
.guide-broth-pick strong { display: block; font-size: .95rem; }
.guide-broth-pick span   { font-size: .83rem; color: var(--ink-soft); }

/* Tip box */
.guide-tip-box {
  background: #FFF8E1;
  border-left: 4px solid #F9A825;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: .9rem 1.1rem;
  font-size: .9rem;
  line-height: 1.6;
}

/* Ingredient categories */
.guide-ing-cats { display: flex; flex-direction: column; gap: 1.5rem; }
.guide-ing-cat {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.5rem;
}
.guide-ing-cat h3 { margin: 0 0 .75rem; font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.guide-ing-qty { font-size: .75rem; font-weight: 400; color: var(--ink-muted); background: var(--surface-alt); border-radius: var(--radius-pill); padding: .15rem .55rem; }
.guide-ing-cat ul { margin: 0; padding-left: 1.2rem; }
.guide-ing-cat li { margin-bottom: .4rem; font-size: .9rem; line-height: 1.6; }

/* Sauce formula */
.guide-sauce-formula {
  display: flex; align-items: stretch; gap: .5rem; flex-wrap: wrap;
  margin: 1rem 0 1.5rem;
}
.guide-sauce-part {
  flex: 1; min-width: 140px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}
.guide-sauce-part--base   { border-top: 3px solid #795548; }
.guide-sauce-part--season { border-top: 3px solid var(--teal); }
.guide-sauce-part--kick   { border-top: 3px solid var(--chili); }
.guide-sauce-part--fresh  { border-top: 3px solid #2E7D32; }
.guide-sauce-part__label  { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin-bottom: .5rem; }
.guide-sauce-part ul { margin: 0; padding-left: 1rem; }
.guide-sauce-part li { font-size: .84rem; margin-bottom: .2rem; }
.guide-sauce-arrow { display: flex; align-items: center; font-size: 1.4rem; color: var(--ink-muted); padding: 0 .25rem; }

/* Cooking order list */
.guide-order-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.guide-order-list li { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1rem; }
.guide-order-num { flex-shrink: 0; background: var(--surface-alt); border-radius: var(--radius-pill); padding: .2rem .75rem; font-size: .75rem; font-weight: 700; color: var(--ink-muted); white-space: nowrap; }

/* Safety grid */
.guide-safety-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.guide-safety-item { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1rem; display: flex; gap: .75rem; }
.guide-safety-icon { font-size: 1.5rem; flex-shrink: 0; }
.guide-safety-item div { font-size: .88rem; line-height: 1.6; }

/* CTA bar */
.guide-cta-bar { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-bottom: 2rem; }

/* Sidebar */
.guide-sidebar {}
.guide-sidebar__card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.25rem; margin-bottom: 1rem; }
.guide-sidebar__card h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin: 0 0 .75rem; }
.guide-sidebar__card--cta { background: linear-gradient(135deg, #1B5E20, #2E7D32); color: #fff; }
.guide-sidebar__card--cta h3 { color: rgba(255,255,255,.75); }
.guide-sidebar__card--cta p { font-size: .85rem; opacity: .9; margin: 0 0 .75rem; }
.guide-shop-list { margin: 0; padding-left: 1.1rem; }
.guide-shop-list li { font-size: .87rem; margin-bottom: .3rem; }
.guide-related-list { list-style: none; padding: 0; margin: 0; }
.guide-related-list li { border-bottom: 1px solid var(--line); }
.guide-related-list li:last-child { border-bottom: none; }
.guide-related-list a { display: block; padding: .45rem 0; font-size: .88rem; text-decoration: none; color: var(--ink); }
.guide-related-list a:hover { color: var(--chili); }

/* ---- COOKING TIMES PAGE ---- */
.guide-times-layout { max-width: var(--max-w); margin: 0 auto; padding: 2rem var(--page-pad); }
.guide-times-note {
  background: #FFF3E0;
  border-left: 4px solid #E65100;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: .9rem 1.2rem;
  font-size: .9rem;
  margin-bottom: 2.5rem;
}
.guide-times-section { margin-bottom: 3rem; }
.guide-times-section h2 { font-size: 1.35rem; margin: 0 0 1rem; border-left: 4px solid var(--chili); padding-left: .75rem; }
.guide-times-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.guide-times-table {
  width: 100%; border-collapse: collapse;
  font-size: .875rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.guide-times-table thead { background: var(--surface-alt); }
.guide-times-table th { text-align: left; padding: .7rem 1rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); white-space: nowrap; }
.guide-times-table td { padding: .65rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide-times-table tr:last-child td { border-bottom: none; }
.guide-times-table tr:hover td { background: var(--surface-alt); }
.time-cell { font-weight: 700; color: var(--chili); white-space: nowrap; }
.note-cell { font-size: .78rem; color: var(--teal-dark); }

/* ---- DIPPING SAUCES PAGE ---- */
.sauce-layout { max-width: 900px; margin: 0 auto; padding: 2rem var(--page-pad); }
.sauce-intro-box { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.75rem 2rem; margin-bottom: 2.5rem; }
.sauce-intro-box h2 { margin: 0 0 .75rem; font-size: 1.35rem; }
.sauce-intro-box p { margin: 0 0 1rem; color: var(--ink-soft); }
.sauce-base-note { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .9rem; }
.sauce-base-pill { background: var(--surface-alt); border-radius: var(--radius-pill); padding: .25rem .75rem; font-weight: 600; }
.sauce-grid { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 3rem; }
.sauce-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.sauce-card__header { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem 1rem; background: var(--surface-alt); }
.sauce-card__num { font-size: 2rem; font-weight: 800; color: var(--line); line-height: 1; flex-shrink: 0; }
.sauce-card__name { margin: 0 0 .15rem; font-size: 1.2rem; }
.sauce-card__cn { font-size: .85rem; color: var(--ink-muted); }
.sauce-card__desc { padding: 1rem 1.5rem; margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.65; }
.sauce-card__best { padding: 0 1.5rem .75rem; font-size: .82rem; color: var(--ink-muted); }
.sauce-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.sauce-table th { text-align: left; padding: .6rem 1.5rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); border-bottom: 1px solid var(--line); background: var(--surface-alt); }
.sauce-table td { padding: .55rem 1.5rem; border-bottom: 1px solid var(--line); }
.sauce-table tr:last-child td { border-bottom: none; }
.sauce-amount { font-weight: 600; white-space: nowrap; }
.sauce-note { font-size: .78rem; color: var(--ink-muted); }
.sauce-tip { margin: .5rem 1.5rem 1.25rem; font-size: .85rem; color: var(--teal-dark); background: var(--teal-soft); border-radius: var(--radius); padding: .65rem .9rem; }
.sauce-pantry-box { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.75rem 2rem; margin-bottom: 2rem; }
.sauce-pantry-box h2 { margin: 0 0 .75rem; }
.sauce-pantry-box p { color: var(--ink-soft); margin: 0 0 1.25rem; }
.sauce-pantry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.sauce-pantry-item { background: var(--surface-alt); border-radius: var(--radius); padding: .9rem 1rem; }
.sauce-pantry-item strong { display: block; margin-bottom: .2rem; font-size: .9rem; }
.sauce-pantry-item span { font-size: .82rem; color: var(--ink-muted); }

/* ---- GUIDE HUB CARDS ---- */
.guide-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.guide-hub-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.75rem;
  text-decoration: none; color: inherit;
  border-top: 5px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.guide-hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-hub-card--green { border-top-color: #2E7D32; }
.guide-hub-card--amber { border-top-color: #E65100; }
.guide-hub-card--rust  { border-top-color: #BF360C; }
.guide-hub-card__icon  { font-size: 2.5rem; margin-bottom: .75rem; }
.guide-hub-card h2     { margin: 0 0 .5rem; font-size: 1.2rem; }
.guide-hub-card p      { margin: 0 0 1.25rem; color: var(--ink-soft); font-size: .9rem; line-height: 1.6; flex: 1; }
.guide-hub-card__cta   { font-weight: 700; font-size: .88rem; color: var(--chili); }

/* ================================================================
   HOMEPAGE REDESIGN — NEW SECTIONS
   ================================================================ */

/* ---- START HERE strip ---- */
.start-here-section {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
  padding: 3.5rem var(--page-pad);
}
.start-here-header { text-align: center; color: #fff; margin-bottom: 2rem; }
.start-here-header .section-eyebrow { color: rgba(255,255,255,.7); }
.start-here-header h2 { color: #fff; margin: .25rem 0 .5rem; font-size: 2rem; }
.start-here-header p  { color: rgba(255,255,255,.8); margin: 0; font-size: 1rem; }

.start-here-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.start-here-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: #fff;
  display: flex; flex-direction: column;
  transition: background .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.start-here-card:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-3px);
}
.start-here-card__num {
  font-size: 3.5rem; font-weight: 800;
  line-height: 1; color: rgba(255,255,255,.12);
  position: absolute; top: .75rem; right: 1rem;
}
.start-here-card__icon { font-size: 2rem; margin-bottom: .75rem; }
.start-here-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; color: #fff; }
.start-here-card p  { margin: 0 0 1.25rem; font-size: .88rem; color: rgba(255,255,255,.78); line-height: 1.65; flex: 1; }
.start-here-card__cta { font-size: .85rem; font-weight: 700; color: #A7F3D0; letter-spacing: .02em; }

/* ---- Featured Broths (homepage) ---- */
.home-broth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.home-broth-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.home-broth-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.home-broth-card__img-wrap { position: relative; aspect-ratio: 4/3; background: var(--surface-alt); }
.home-broth-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-broth-card__spice {
  position: absolute; top: .6rem; right: .6rem;
  color: #fff; font-size: .7rem; font-weight: 700;
  border-radius: var(--radius-pill); padding: .2rem .6rem;
  text-transform: uppercase; letter-spacing: .05em;
}
.home-broth-card__body { padding: 1rem 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.home-broth-card__body h3 { margin: 0 0 .15rem; font-size: 1rem; }
.home-broth-card__cn  { font-size: .8rem; color: var(--ink-muted); margin-bottom: .5rem; display: block; }
.home-broth-card__body p  { font-size: .83rem; color: var(--ink-soft); margin: 0 0 .75rem; flex: 1; line-height: 1.5; }
.home-broth-card__link { font-size: .82rem; font-weight: 700; color: var(--chili); }

/* ---- Decoder section redesign ---- */
.decoder-section { background: var(--surface); }
.decoder-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) { .decoder-layout { grid-template-columns: 1fr; } }
.decoder-copy {}
.decoder-feature-list {
  list-style: none; padding: 0; margin: 1rem 0 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.decoder-feature-list li { display: flex; align-items: center; gap: .75rem; font-size: .9rem; color: var(--ink-soft); }
.dfl-icon { font-size: 1.1rem; flex-shrink: 0; }
.decoder-tools-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.decoder-panel-wrap {}
.decoder-examples {
  font-size: .8rem; color: var(--ink-muted);
  margin-bottom: .75rem; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap;
}
.decoder-example-btn {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .15rem .6rem;
  font-size: .8rem; cursor: pointer; color: var(--ink);
}
.decoder-example-btn:hover { background: var(--line); }

/* ================================================================
   BLOG PAGES
   ================================================================ */

/* Hub hero */
.blog-hub-hero {
  background: linear-gradient(135deg, #1A237E 0%, #283593 100%);
  text-align: center;
  padding: 4rem 1rem 3rem;
  color: #fff;
}
.blog-hub-hero__inner { max-width: 600px; margin: 0 auto; }
.blog-hub-hero h1 { font-size: clamp(2rem,5vw,3rem); margin: .25rem 0 .75rem; color: #fff; }
.blog-hub-hero p  { opacity: .85; font-size: 1.1rem; margin: 0; }

/* Category pill */
.blog-cat-pill {
  display: inline-block;
  color: #fff;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  border-radius: var(--radius-pill);
  padding: .2rem .7rem;
  margin-bottom: .5rem;
}
.blog-cat-pill--sm { font-size: .65rem; padding: .15rem .55rem; }

/* Featured card */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .2s;
}
.blog-featured-card:hover { transform: translateY(-3px); }
@media (max-width: 680px) { .blog-featured-card { grid-template-columns: 1fr; } }
.blog-featured-card__img { overflow: hidden; }
.blog-featured-card__img img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.blog-featured-card__body {
  padding: 2rem 2rem 1.75rem;
  display: flex; flex-direction: column; justify-content: center;
}
.blog-featured-card__body h2 { font-size: 1.5rem; margin: .4rem 0 .75rem; }
.blog-featured-card__body p  { color: var(--ink-soft); margin: 0 0 1.25rem; font-size: .95rem; line-height: 1.65; flex: 1; }
.blog-featured-card__meta { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--ink-muted); }
.blog-read-more { font-weight: 700; color: var(--chili); }

/* Card grid */
.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.blog-card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* Blog card */
.blog-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card--sm {}
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--surface-alt); }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.blog-card__body h2 { font-size: 1rem; margin: .4rem 0 .5rem; line-height: 1.45; }
.blog-card__body h3 { font-size: .92rem; margin: .4rem 0 .3rem; line-height: 1.45; }
.blog-card__body p  { font-size: .83rem; color: var(--ink-soft); margin: 0 0 .75rem; flex: 1; line-height: 1.55; }
.blog-card__date { font-size: .75rem; color: var(--ink-muted); margin-top: auto; display: block; }

/* Guide CTA box */
.blog-guide-cta {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}
.blog-guide-cta h3 { margin: 0 0 .5rem; font-size: 1.35rem; color: #fff; }
.blog-guide-cta p  { opacity: .85; margin: 0; }

/* ---- ARTICLE PAGE ---- */
.blog-article-hero {
  position: relative;
  min-height: 380px;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  background-color: #1A237E;
}
.blog-article-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 40%, rgba(0,0,0,.25) 100%);
}
.blog-article-hero__content {
  position: relative; z-index: 1;
  color: #fff;
  padding: 2.5rem var(--page-pad) 2rem;
  max-width: var(--max-w);
  width: 100%; margin: 0 auto;
}
.blog-article-hero__content h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: .4rem 0 .75rem; color: #fff;
  max-width: 800px;
}
.blog-article-hero__sub { opacity: .85; font-size: 1rem; margin: 0 0 1rem; max-width: 680px; }
.blog-article-hero__meta { display: flex; gap: 1.25rem; font-size: .82rem; opacity: .7; }

.blog-article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem var(--page-pad);
}
@media (max-width: 860px) { .blog-article-layout { grid-template-columns: 1fr; } }

/* Article body typography */
.blog-article-content h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; border-left: 3px solid var(--chili); padding-left: .75rem; }
.blog-article-content h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; color: var(--ink); }
.blog-article-content p  { margin: 0 0 1rem; line-height: 1.75; color: var(--ink-soft); }
.blog-article-content ul, .blog-article-content ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.blog-article-content li { margin-bottom: .4rem; line-height: 1.65; color: var(--ink-soft); }
.blog-article-content a  { color: var(--chili); text-decoration: underline; text-underline-offset: 2px; }
.blog-article-content strong { color: var(--ink); }

/* Related */
.blog-related { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--line); }
.blog-related h2 { font-size: 1.25rem; margin: 0 0 1.25rem; }

/* Sidebar */
.blog-article-sidebar {}
.blog-sidebar-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.blog-sidebar-card h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin: 0 0 .75rem; }
.blog-sidebar-card p  { font-size: .85rem; color: var(--ink-soft); margin: 0 0 .75rem; }
.blog-sidebar-card--tool { background: linear-gradient(135deg, #5C3317, #8B4513); color: #fff; }
.blog-sidebar-card--tool h3 { color: rgba(255,255,255,.75); }
.blog-sidebar-card--tool p  { color: rgba(255,255,255,.85); }
.blog-sidebar-links { list-style: none; padding: 0; margin: 0; }
.blog-sidebar-links li { border-bottom: 1px solid var(--line); }
.blog-sidebar-links li:last-child { border-bottom: none; }
.blog-sidebar-links a { display: block; padding: .45rem 0; font-size: .88rem; text-decoration: none; color: var(--ink); }
.blog-sidebar-links a:hover { color: var(--chili); }
