*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #1a1210;
  color: #f2e8e0;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

:root {
  --ink: #f2e8e0;
  --muted: #a89088;
  --void: #1a1210;
  --panel: #241c18;
  --chili: #e03c24;
  --chili-deep: #b02818;
  --ember: #f07830;
  --cream: #f5ebe3;
  --line: rgba(242,232,224,0.1);
}

/* ——— SCOVILLE HEAT-METER NAV (unique) ——— */
.heatbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #120c0a;
  border-bottom: 1px solid var(--line);
  padding: 14px 20px 18px;
}
.heatbar .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.heatbar .brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.heatbar .brand em {
  font-style: normal;
  color: var(--chili);
}
.heatbar .brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.heatbar .city {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.meters {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.meters a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  transition: color 0.15s;
}
.meters a .gauge {
  width: 22px;
  height: 56px;
  background: #2a201c;
  border-radius: 11px;
  border: 1px solid #3a302c;
  position: relative;
  overflow: hidden;
}
.meters a .gauge .fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0 0 10px 10px;
  transition: height 0.2s;
}
.meters a:nth-child(1) .fill { height: 35%; background: linear-gradient(0deg, #f0c040, #e03c24); }
.meters a:nth-child(2) .fill { height: 55%; background: linear-gradient(0deg, #f07830, #e03c24); }
.meters a:nth-child(3) .fill { height: 75%; background: linear-gradient(0deg, #e03c24, #b02818); }
.meters a:nth-child(4) .fill { height: 95%; background: linear-gradient(0deg, #e03c24, #801010); }
.meters a .lbl {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.meters a:hover { color: var(--ink); }
.meters a:hover .gauge { border-color: var(--chili); }
.meters a.active { color: var(--chili); }
.meters a.active .gauge {
  border-color: var(--chili);
  box-shadow: 0 0 12px rgba(224,60,36,0.35);
}

.mob {
  display: none;
  background: var(--chili);
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* ——— FLAME HERO ——— */
.flame {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 24px 36px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.flame .tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}
.flame h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 14px;
}
.flame h1 em {
  font-style: normal;
  color: var(--chili);
}
.flame p {
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 26px;
  font-size: 1.05rem;
}
.flame .pod {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #3a2820;
  position: relative;
  box-shadow: 0 0 40px rgba(224,60,36,0.12);
}
.flame .pod img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.flame .pod .badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--chili);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
}

.btn {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-chili {
  background: var(--chili);
  color: #fff;
}
.btn-chili:hover { background: var(--chili-deep); box-shadow: 0 0 20px rgba(224,60,36,0.35); }
.btn-ghost {
  background: transparent;
  color: var(--chili);
  box-shadow: inset 0 0 0 1.5px var(--chili);
}
.btn-ghost:hover { background: rgba(224,60,36,0.1); }

/* ——— NOTES ——— */
.notes {
  max-width: 1040px;
  margin: 0 auto 44px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  border-top: 3px solid var(--chili);
}
.note:nth-child(2) { border-top-color: var(--ember); }
.note:nth-child(3) { border-top-color: #f0c040; }
.note .k {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chili);
  margin-bottom: 8px;
}
.note h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.note p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ——— GRIND ——— */
.section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 24px 56px;
}
.section .tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 8px;
}
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
}

.grind-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.g-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.g-card:hover { border-color: rgba(224,60,36,0.45); }
.g-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.g-card .body { padding: 18px; }
.g-card .id {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chili);
  margin-bottom: 6px;
}
.g-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.g-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ——— SEED ——— */
.seed-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 65vh;
}
.seed-split img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}
.seed-split .txt {
  background: var(--panel);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.seed-split .txt .tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}
.seed-split .txt h1 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.seed-split .txt p {
  color: var(--muted);
  margin-bottom: 10px;
}

/* ——— TABLE ——— */
.table-wrap {
  max-width: 1040px;
  margin: 24px auto 56px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 12px;
}
.table-side {
  background: #120c0a;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}
.table-side h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--chili);
  margin-bottom: 20px;
}
.t-row { margin-bottom: 14px; }
.t-row .lbl {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 3px;
}
.t-row p, .t-row a {
  font-size: 0.95rem;
  color: var(--muted);
}
.t-row a:hover { color: var(--chili); }

.table-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.form-group { margin-bottom: 12px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-size: 0.95rem;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--chili);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.ft {
  border-top: 1px solid var(--line);
  padding: 28px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.ft strong { color: var(--chili); }

@media (max-width: 860px) {
  .meters {
    display: none;
    gap: 14px;
  }
  .meters.open { display: flex; }
  .mob { display: inline-block; }
  .flame { grid-template-columns: 1fr; }
  .flame .pod img { height: 240px; }
  .notes { grid-template-columns: 1fr; }
  .grind-grid { grid-template-columns: 1fr; }
  .seed-split { grid-template-columns: 1fr; }
  .seed-split img { min-height: 220px; }
  .table-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
