/* ============================================================
   NeverFeeds AU — Recipes
   Warm-palette stylesheet shared by the recipe index and every
   recipe page. Same tokens as the in-game boot splash (ink header
   handing over to a cream body) so this feels like part of the app,
   not a bolted-on brochure page. Edit here once, every recipe page
   picks it up.
   ============================================================ */

:root {
  --ink: #1c1410;
  --ink-2: #2c211a;
  --cream: #fbf6ee;
  --cream-2: #f3e8d6;
  --sun: #ff7a1a;
  --sun-deep: #e85d04;
  --sand: #d7b48a;
  --sand-deep: #b98f5e;
  --leaf: #7a8c4a;
  --leaf-deep: #5f7038;
  --sea: #2f7a8c;
  --sea-deep: #235e6c;
  --gold: #b9862f;
  --gold-deep: #8f6a21;
  --line: rgba(28, 20, 16, 0.12);
  --text-muted: #6b5c4f;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}

a { color: inherit; }

/* ---------------- header / breadcrumb ---------------- */
header.nf-top {
  background: linear-gradient(160deg, var(--ink), var(--ink-2));
  color: var(--cream);
}
.nf-top-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.nf-logo {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--cream);
  white-space: nowrap;
}
.nf-logo .dot { color: var(--sun); }
.nf-crumb { font-size: 0.78rem; color: rgba(251, 246, 238, 0.65); }
.nf-crumb a { text-decoration: none; color: rgba(251, 246, 238, 0.8); }
.nf-crumb a:hover { color: var(--sun); }
.nf-crumb .sep { margin: 0 6px; opacity: 0.5; }
.nf-crumb .here { color: var(--sun); }

/* ---------------- jump nav ---------------- */
.jump-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(160deg, var(--ink), var(--ink-2));
  border-bottom: 1px solid rgba(251, 246, 238, 0.1);
  padding: 10px 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.jump-nav a {
  flex: none;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(251, 246, 238, 0.75);
  background: rgba(251, 246, 238, 0.08);
  border: 1px solid rgba(251, 246, 238, 0.15);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.jump-nav a:hover { filter: brightness(1.12); transform: translateY(-1px); }
.jump-nav a.beef { background: var(--sun-deep); border-color: #b5450a; color: #fff; }
.jump-nav a.pork { background: var(--sun); border-color: var(--sun-deep); color: #fff; }
.jump-nav a.chicken { background: var(--sand-deep); border-color: #8f6d47; color: #fff; }
.jump-nav a.seafood { background: var(--sea); border-color: var(--sea-deep); color: #fff; }
.jump-nav a.veg { background: var(--leaf); border-color: var(--leaf-deep); color: #fff; }
.jump-nav a.rice { background: var(--sand); border-color: var(--sand-deep); color: var(--ink); }

/* ---------------- layout ---------------- */
main.nf-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

/* ---------------- hero ---------------- */
.hero-photo {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin-bottom: 6px;
  background: var(--cream-2);
}
.hero-photo-caption {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.nf-hero {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}
.nf-hero-icon {
  flex: none;
  width: 84px;
  height: 84px;
}
.nf-hero-text .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sun-deep);
  font-weight: 700;
  margin-bottom: 4px;
}
.nf-hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin: 0 0 4px;
  line-height: 1.15;
}
.nf-hero-text .subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 30px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
}
.chip.protein { background: var(--sun); border-color: var(--sun-deep); color: #fff; }
.chip.protein.beef { background: var(--sun-deep); border-color: #b5450a; }
.chip.protein.pork { background: var(--sun); border-color: var(--sun-deep); }
.chip.protein.chicken { background: var(--sand-deep); border-color: #8f6d47; }
.chip.protein.veg { background: var(--leaf); border-color: var(--leaf-deep); }
.chip.protein.seafood { background: var(--sea); border-color: var(--sea-deep); }
.chip.premium { background: var(--gold); border-color: var(--gold-deep); color: #fff; }
.chip.vegan { background: var(--leaf); border-color: var(--leaf-deep); color: #fff; }

.swap-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.86rem;
  color: var(--ink-2);
}
.swap-note strong { color: var(--leaf-deep); }

.intro-text { max-width: 680px; color: var(--ink-2); margin-bottom: 8px; }

/* ---------------- serving picker ---------------- */
.serve-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 28px;
}
.serve-picker .label { font-weight: 700; font-size: 0.85rem; margin-right: 4px; }
.serve-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--sand);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.serve-btn:hover { transform: translateY(-1px); }
.serve-btn.active { background: var(--sun); border-color: var(--sun-deep); color: #fff; }

/* ---------------- two-column body ---------------- */
.nf-cols { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
@media (max-width: 720px) { .nf-cols { grid-template-columns: 1fr; } }

.card {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
}
.card h2, .card h3 { font-family: var(--font-display); margin: 0 0 14px; font-size: 1.1rem; }

.ing-group-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--sun-deep);
  margin: 18px 0 8px;
}
.ing-group-title:first-child { margin-top: 0; }
.ing-list { list-style: none; margin: 0 0 4px; padding: 0; }
.ing-list li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}
.ing-list li:last-child { border-bottom: none; }
.ing-qty {
  flex: none;
  min-width: 66px;
  font-weight: 700;
  color: var(--sun-deep);
}
.ing-name { color: var(--ink-2); }
.pantry-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------------- steps ---------------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  counter-increment: step;
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step::before {
  content: counter(step);
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--sun);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h4 { margin: 0 0 4px; font-size: 0.98rem; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
.step .sub { margin: 8px 0 0; padding-left: 18px; color: var(--text-muted); font-size: 0.86rem; }
.step .sub li { margin-bottom: 4px; }

.tip-box {
  margin-top: 26px;
  background: #fff8ec;
  border: 1px solid var(--sand);
  border-left: 4px solid var(--sun);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.tip-box strong { color: var(--sun-deep); }

/* ---------------- index / protein grouping ---------------- */
.protein-section { margin-bottom: 40px; scroll-margin-top: 66px; }
.protein-section summary {
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}
.protein-section summary .cat-name {
  font-size: 1.2rem;
  font-weight: 800;
}
.protein-section summary::-webkit-details-marker { display: none; }
.protein-section summary::after {
  content: '▾';
  margin-left: auto;
  color: var(--sun-deep);
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}
.protein-section[open] summary::after { transform: rotate(180deg); }
.protein-section .count {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
}
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.recipe-card {
  display: block;
  text-decoration: none;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.recipe-card:hover {
  transform: translateY(-3px);
  border-color: var(--sun);
  box-shadow: 0 10px 24px rgba(28, 20, 16, 0.08);
}
.recipe-card .icon {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  display: block;
  background: var(--cream);
}
.recipe-card h3 { font-family: var(--font-display); font-size: 1.02rem; margin: 0 0 4px; color: var(--ink); }
.recipe-card p { margin: 0 0 10px; font-size: 0.84rem; color: var(--text-muted); }
.coming-soon-card {
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.84rem;
  text-align: center;
  min-height: 140px;
}

/* ---------------- footer ---------------- */
footer.nf-bottom {
  background: linear-gradient(160deg, var(--ink), var(--ink-2));
  color: rgba(251, 246, 238, 0.7);
}
.nf-bottom-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}
.nf-bottom nav a { text-decoration: none; color: rgba(251, 246, 238, 0.7); margin-right: 18px; }
.nf-bottom nav a:hover { color: var(--sun); }
.nf-social { display: flex; gap: 12px; align-items: center; }
.nf-social a { color: inherit; opacity: 0.75; display: inline-flex; transition: opacity 0.2s ease, color 0.2s ease; }
.nf-social a:hover { opacity: 1; color: var(--sun); }
.nf-social svg { width: 17px; height: 17px; display: block; }
