/* ==========================================================================
   SCORCH & SAVOR - THE SCOVILLE ARCHIVE
   Handcrafted CSS - Zero external dependencies, pure local performance
   ========================================================================== */

:root {
  --bg-deep: #090a0f;
  --bg-surface: #12141c;
  --bg-card: #181b26;
  --bg-card-hover: #222636;
  --border-subtle: #2d3345;
  --border-active: #f97316;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --flame-green: #22c55e;
  --flame-yellow: #eab308;
  --flame-orange: #f97316;
  --flame-red: #ef4444;
  --flame-crimson: #b91c1c;
  --flame-pepperx: #a855f7;
  
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Source Code Pro", Menlo, Monaco, Consolas, monospace;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 0 25px rgba(249, 115, 22, 0.25);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --transition-fast: 0.15s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basics */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Animated subtle ember background glow */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: radial-gradient(circle at 50% -10%, rgba(234, 88, 12, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--flame-orange);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #fb923c;
  text-decoration: underline;
}

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

/* Layout containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background-color: rgba(18, 20, 28, 0.7);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.85rem;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: var(--radius-full);
  color: var(--flame-orange);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(9, 10, 15, 0.88);
  border-bottom: 1px solid rgba(45, 51, 69, 0.6);
  transition: all var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: #fff;
  transition: all var(--transition-fast);
}

.nav-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--flame-orange);
  text-decoration: none;
}

.nav-btn.primary {
  background: linear-gradient(135deg, #f97316, #dc2626);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.35);
}

.nav-btn.primary:hover {
  filter: brightness(1.15);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  padding: 4.5rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #d8b4fe;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

.hero-record-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.gradient-fire {
  background: linear-gradient(135deg, #fbbf24 10%, #f97316 45%, #ef4444 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-large {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-fire {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

.btn-fire:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.55);
  text-decoration: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--flame-orange);
  text-decoration: none;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h4 {
  font-size: 1.65rem;
  font-family: var(--font-mono);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transition: transform var(--transition-smooth);
}

.hero-visual-card:hover {
  transform: translateY(-4px);
}

.hero-img-wrap {
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  position: relative;
}

.hero-visual-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.hero-overlay-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Sound Synthesizer Widget */
.audio-control-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.audio-control-pill:hover, .audio-control-pill.active {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--flame-orange);
  color: #fff;
}

/* ==========================================================================
   INTERACTIVE #1: THE SCOVILLE ELEVATOR (HEAT-SCALE EXPLORER)
   ========================================================================== */

.elevator-container {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.elevator-sidebar {
  border-right: 1px solid var(--border-subtle);
  padding-right: 1.5rem;
  display: flex;
  flex-direction: column;
}

.elevator-controls-header {
  margin-bottom: 1.25rem;
}

.elevator-controls-header h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.elevator-controls-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Vertical / Grid Pepper Selector List */
.pepper-tier-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  max-height: 520px;
  padding-right: 0.5rem;
}

.pepper-tier-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  position: relative;
}

.pepper-tier-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-subtle);
}

.pepper-tier-btn.active {
  background: rgba(249, 115, 22, 0.12);
  border-color: var(--flame-orange);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.18);
}

.pepper-tier-btn .name-block {
  display: flex;
  flex-direction: column;
}

.pepper-tier-btn .pepper-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.pepper-tier-btn .pepper-category {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pepper-tier-btn .shu-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.4);
}

/* Dynamic Heat Card Display */
.elevator-display {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.08), transparent 70%);
  transition: all var(--transition-smooth);
}

.display-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.display-title-group h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.scientific-name {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.heat-meter-badge-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.heat-meter-badge-box .shu-huge {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 900;
  color: #fb923c;
  line-height: 1;
}

.heat-meter-badge-box .shu-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Heat visual bar & flame animation */
.heat-visual-container {
  margin: 1.5rem 0 2rem 0;
  background: rgba(0, 0, 0, 0.35);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.heat-gauge-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.heat-progress-track {
  height: 16px;
  background: #1e2230;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.heat-progress-bar {
  height: 100%;
  width: 10%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #22c55e, #eab308, #f97316, #ef4444, #a855f7);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.heat-progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Sensory Profile & Real Talk Grid */
.pepper-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.profile-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
}

.profile-card h4 {
  font-size: 0.82rem;
  color: var(--flame-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.profile-card p {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* Action button for rookie vs pro */
.display-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.rookie-tip {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rookie-tip strong {
  color: #fff;
}

/* Scoville History & HPLC Science Cards */
.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

.science-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}

.science-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f97316, #ef4444);
}

.science-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.science-card p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.formula-box {
  background: #0d0e15;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #38bdf8;
  margin: 1.25rem 0;
}

/* ==========================================================================
   SECTION 2: BIOLOGICAL BURN & THE ANTIDOTE PLAYBOOK
   ========================================================================== */

.burn-anatomy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.burn-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  position: relative;
}

.burn-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.burn-image-caption {
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
}

.trpv1-explainer h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.trpv1-explainer p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.stepper-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.stepper-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.step-text h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.step-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* The Antidote Showdown (Does it Work vs Myth) */
.antidote-showdown {
  margin-top: 2rem;
}

.antidote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.antidote-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem;
  position: relative;
  transition: transform var(--transition-fast);
}

.antidote-card:hover {
  transform: translateY(-3px);
}

.antidote-card.effective {
  border-top: 4px solid #22c55e;
}

.antidote-card.myth {
  border-top: 4px solid #ef4444;
}

.antidote-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.antidote-card.effective .antidote-status {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.antidote-card.myth .antidote-status {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.antidote-card h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.65rem;
}

.antidote-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   INTERACTIVE #2: THE HOT SAUCE ALCHEMIST (CRAFT MIXER & LABEL GENERATOR)
   ========================================================================== */

.mixer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.mixer-controls {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.mixer-step {
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mixer-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.mixer-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.mixer-step-badge {
  width: 1.75rem;
  height: 1.75rem;
  background: var(--flame-orange);
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.mixer-step-header h3 {
  font-size: 1.25rem;
  color: #fff;
}

/* Radio Pill Selector for Base */
.base-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.base-option {
  position: relative;
}

.base-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.base-option-card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: block;
}

.base-option input[type="radio"]:checked + .base-option-card {
  background: rgba(249, 115, 22, 0.12);
  border-color: var(--flame-orange);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.2);
}

.base-option-card h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.base-option-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

/* Pepper Blend Sliders */
.pepper-slider-row {
  margin-bottom: 1.25rem;
}

.pepper-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.slider-val-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--flame-orange);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--flame-orange);
  cursor: pointer;
  background: #1e2230;
  height: 6px;
  border-radius: var(--radius-full);
}

/* Aromatics Chips Checkbox */
.aromatics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.aromatic-chip {
  position: relative;
}

.aromatic-chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.aromatic-chip label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.aromatic-chip input[type="checkbox"]:checked + label {
  background: rgba(234, 88, 12, 0.2);
  border-color: var(--flame-orange);
  color: #fff;
}

/* Sauce Name & Bottle Style */
.input-text-dark {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.input-text-dark:focus {
  border-color: var(--flame-orange);
}

/* Output Live Bottle Preview Card */
.mixer-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: sticky;
  top: 5.5rem;
  box-shadow: var(--shadow-card);
}

.bottle-render-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

/* Stylized CSS Custom Bottle */
.virtual-bottle-wrapper {
  position: relative;
  width: 170px;
  height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.bottle-cap {
  width: 44px;
  height: 28px;
  background: #1e1e24;
  border-radius: 4px 4px 1px 1px;
  border: 1px solid #444;
  position: relative;
  z-index: 3;
}

.bottle-neck {
  width: 34px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  border-right: 2px solid rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.bottle-body {
  width: 150px;
  height: 210px;
  border-radius: 20px 20px 14px 14px;
  background: linear-gradient(135deg, #ef4444, #991b1b);
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset -6px 0 12px rgba(0, 0, 0, 0.5), inset 6px 0 12px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

.bottle-label-skin {
  width: 82%;
  height: 68%;
  background: #fef08a;
  border: 2px solid #854d0e;
  border-radius: 8px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  color: #1e1e24;
  transform: rotate(-0.5deg);
}

.label-brand-tiny {
  font-size: 0.62rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #854d0e;
}

.label-title-main {
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.1;
  color: #451a03;
  margin: 0.25rem 0;
  word-break: break-word;
}

.label-shu-stamp {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  background: #dc2626;
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
}

.label-snark {
  font-size: 0.6rem;
  font-style: italic;
  color: #78350f;
  line-height: 1.2;
}

/* Recipe Metrics Breakdown */
.recipe-metrics-box {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.metric-row:last-child {
  margin-bottom: 0;
}

.metric-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
}

.radar-bar-container {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.radar-item {
  display: grid;
  grid-template-columns: 80px 1fr 35px;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.radar-track {
  height: 6px;
  background: #1e2230;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.radar-fill {
  height: 100%;
  background: var(--flame-orange);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.btn-copy-recipe {
  width: 100%;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-copy-recipe:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--flame-orange);
  color: #fff;
}

/* ==========================================================================
   INTERACTIVE #3: WHAT'S YOUR PEPPER SOULMATE QUIZ
   ========================================================================== */

.quiz-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  position: relative;
}

.quiz-question-wrap {
  margin-bottom: 2rem;
}

.quiz-q-num {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--flame-orange);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.quiz-question-wrap h3 {
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.quiz-choices-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.quiz-choice-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  cursor: pointer;
  font-size: 1rem;
  text-align: left;
  transition: all var(--transition-fast);
}

.quiz-choice-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(249, 115, 22, 0.5);
}

.quiz-choice-letter {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Quiz Result Card */
.quiz-result-box {
  display: none;
  animation: fadeIn 0.4s ease forwards;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-badge-big {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ef4444);
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}

.quiz-result-box h3 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.soulmate-tagline {
  font-size: 1.15rem;
  color: var(--flame-orange);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.soulmate-desc {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.quiz-retake-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   SECTION 3: WORLD SAUCE CARTOGRAPHY
   ========================================================================== */

.world-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.world-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.sauce-styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.75rem;
}

.sauce-style-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  position: relative;
}

.sauce-style-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: var(--shadow-card);
}

.style-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.style-origin-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--flame-orange);
  letter-spacing: 0.06em;
}

.style-heat-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.sauce-style-card h3 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.sauce-style-card .style-chili {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 1rem;
}

.sauce-style-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.style-tasting-notes {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.style-tasting-notes strong {
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 4: TOLERANCE LADDER
   ========================================================================== */

.tolerance-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.ladder-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ladder-step-indicator {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--flame-orange);
  margin-bottom: 0.5rem;
}

.ladder-tier-card h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.ladder-tier-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.ladder-golden-rule {
  font-size: 0.78rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid #fbbf24;
  margin-top: auto;
}

/* ==========================================================================
   SECTION 5: THE HOT VAULT (CURATED LINKS OUT)
   ========================================================================== */

.vault-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.vault-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.vault-tab-btn:hover, .vault-tab-btn.active {
  background: var(--flame-orange);
  color: #000;
  border-color: var(--flame-orange);
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

.vault-link-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  position: relative;
}

.vault-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--flame-orange);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.vault-card-top {
  margin-bottom: 1rem;
}

.vault-tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.vault-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--flame-orange);
}

.vault-out-icon {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.vault-link-card h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vault-link-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.worth-the-click-box {
  background: rgba(249, 115, 22, 0.08);
  border-left: 3px solid var(--flame-orange);
  padding: 0.65rem 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: #fdba74;
  line-height: 1.4;
  margin-top: auto;
}

.worth-the-click-box strong {
  color: #fff;
}

/* ==========================================================================
   FOOTER & EMERGENCY MILK
   ========================================================================== */

.footer {
  background: #06070a;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 3rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 0.85rem;
  max-width: 420px;
  font-size: 0.92rem;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating Emergency Milk Button */
.emergency-milk-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  color: #0f172a;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25), 0 4px 10px rgba(0, 0, 0, 0.4);
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.emergency-milk-btn:hover {
  transform: scale(1.06) rotate(-2deg);
  background: #f8fafc;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.35);
}

/* Milk drop canvas overlay */
#milkOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .elevator-container {
    grid-template-columns: 1fr;
  }
  
  .elevator-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-right: 0;
    padding-bottom: 1.5rem;
  }
  
  .pepper-tier-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    max-height: 280px;
  }
  
  .mixer-grid {
    grid-template-columns: 1fr;
  }
  
  .mixer-preview-card {
    position: static;
  }
  
  .burn-anatomy-grid, .world-intro-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    background: #090a0f;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .science-grid {
    grid-template-columns: 1fr;
  }
  
  .antidote-grid {
    grid-template-columns: 1fr;
  }
  
  .pepper-profile-grid {
    grid-template-columns: 1fr;
  }
  
  .base-options-grid {
    grid-template-columns: 1fr;
  }
  
  .quiz-container {
    padding: 1.75rem;
  }
  
  .emergency-milk-btn {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}
