/* Food guide pages — /food and /food/<slug> (2026-09-28). Own styles, not Tailwind utilities:
   the Tailwind build purges unused classes, and these pages should look right regardless.
   Tokens from theme.css. */
* { box-sizing: border-box; }
/* Small text needs ≥4.5:1 on cream (design critique 2026-09-28): darker shades of the same hues. */
:root { --fp-muted: #665e53; --fp-label: #95641c; --fp-leaf: #4f6a3a; }
.lm-eyebrow { color: var(--fp-label); }
body { margin: 0; -webkit-font-smoothing: antialiased; background: var(--cream); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.fp-wrap { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }

.fp-top { position: sticky; top: 0; z-index: 10; background: rgba(253,250,242,.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid #efe7d6; }
.fp-top .fp-wrap { display: flex; align-items: center; justify-content: space-between; height: 3.25rem; }
.fp-brand { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.fp-brand span { color: var(--sambal); }
.fp-toplinks { display: flex; align-items: center; gap: .9rem; font-size: .85rem; }
.fp-toplinks .fp-guide { color: var(--muted); font-weight: 500; }
.fp-try { background: var(--ink); color: #fff; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; font-size: .8rem; }

.fp-hero { position: relative; overflow: hidden; padding: 1.4rem 0 4.6rem; }
.fp-crumbs { font-size: .78rem; color: var(--fp-muted); margin-bottom: .9rem; }
.fp-crumbs a { color: var(--fp-label); font-weight: 600; }
.fp-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center; }
.fp-hero h1 { font-size: 2.45rem; line-height: 1.02; font-weight: 800; letter-spacing: -.025em; margin: .35rem 0 .6rem; }
.fp-hero h1 small { display: block; font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-top: .45rem; font-family: 'Inter', sans-serif; }
.fp-lead { font-size: 1rem; line-height: 1.55; color: #5b544a; margin: 0; max-width: 30rem; }
.fp-illu { width: 8.5rem; height: 8.5rem; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(120,80,20,.18)); }

.fp-number { position: relative; margin-top: -3.4rem; padding: 1.35rem 1.35rem 1.2rem; }
.fp-number-top { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.fp-cal { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 3.6rem; line-height: .9; letter-spacing: -.03em; }
.fp-cal span { font-size: 1.1rem; font-weight: 700; letter-spacing: 0; color: var(--muted); margin-left: .3rem; }
.fp-per { font-size: .88rem; color: var(--fp-muted); margin-top: .45rem; }
.fp-checked { display: inline-flex; align-items: center; gap: .35rem; background: #eef3e8; color: var(--fp-leaf);
  font-weight: 700; font-size: .75rem; padding: .35rem .65rem; border-radius: 999px; white-space: nowrap; }

.fp-bar { display: flex; height: .8rem; border-radius: 999px; overflow: hidden; margin: 1.25rem 0 .9rem; background: #f3ece0; }
.fp-bar div { height: 100%; }
.fp-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.fp-macro { background: #fbf7ee; border-radius: .9rem; padding: .7rem .75rem; }
.fp-macro-name { display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: var(--fp-muted); font-weight: 600; }
.fp-dot { width: .55rem; height: .55rem; border-radius: 999px; }
.fp-macro-g { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.45rem; margin-top: .15rem; }
.fp-macro-pct { font-size: .74rem; color: var(--fp-muted); }

.fp-range { margin-top: 1rem; padding-top: .95rem; border-top: 1px dashed #e8dcc4; font-size: .85rem; color: #5b544a; }
.fp-range strong { color: var(--ink); }

.fp-soft-cta { display: flex; justify-content: center; gap: .35rem; margin: 1.1rem -1.35rem -1.2rem; padding: .85rem;
  border-top: 1px solid #f3ece0; border-radius: 0 0 1.25rem 1.25rem; background: #fffaf0;
  font-weight: 600; font-size: .9rem; color: var(--sambal-deep); }
.fp-soft-cta:active { background: #fdf0dc; }
section.fp-sec { margin-top: 1.9rem; }
.fp-sec h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; margin: .3rem 0 .8rem; }
.fp-card { padding: 1.1rem 1.15rem; }

.fp-parts { display: flex; flex-wrap: wrap; gap: .5rem; }
.fp-part { display: inline-flex; align-items: center; gap: .35rem; background: #fff; border: 1px solid #efe7d6;
  border-radius: 999px; padding: .5rem .85rem; font-size: .88rem; font-weight: 500; }
a.fp-part { border-color: #f0dca8; background: #fffaf0; }
a.fp-part::after { content: '→'; color: var(--fp-label); font-weight: 700; }
.fp-note { font-size: .8rem; color: var(--fp-muted); margin: .75rem 0 0; line-height: 1.5; }

.fp-change { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid #f3ece0; }
.fp-change:last-child { border-bottom: 0; }
.fp-change-label { font-size: .92rem; font-weight: 500; }
.fp-change-total { font-size: .75rem; color: var(--fp-muted); margin-top: .15rem; }
.fp-delta { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; padding: .3rem .6rem; border-radius: .6rem; white-space: nowrap; }
.fp-up { background: #fdf0dc; color: var(--sambal-deep); }
.fp-down { background: #eef3e8; color: var(--fp-leaf); }

table.fp-label { width: 100%; border-collapse: collapse; font-size: .9rem; }
.fp-label th { text-align: right; font-size: .72rem; color: var(--fp-muted); font-weight: 600; padding: 0 0 .45rem; }
.fp-label th:first-child { text-align: left; }
.fp-label td { padding: .55rem 0; border-top: 1px solid #f3ece0; text-align: right; font-variant-numeric: tabular-nums; }
.fp-label td:first-child { text-align: left; font-weight: 500; }
.fp-label tr.fp-strong td { font-weight: 700; border-top: 2px solid var(--ink); }

.fp-how { padding: 1.1rem 1.15rem; }
.fp-steps { margin: .8rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.fp-steps li { counter-increment: step; position: relative; padding: 0 0 .85rem 2.3rem; font-size: .88rem; line-height: 1.6; color: #4d463c; }
.fp-steps li::before { content: counter(step); position: absolute; left: 0; top: .05rem; width: 1.55rem; height: 1.55rem;
  border-radius: 999px; background: #fff; border: 1px solid #f0dca8; color: var(--fp-label);
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.fp-steps li strong { color: var(--ink); }
.fp-how p { margin: .2rem 0 0; padding-top: .85rem; border-top: 1px dashed #ecd6a4; font-size: .82rem; line-height: 1.55; color: var(--fp-muted); }
.fp-how p strong { color: var(--ink); }

.fp-cta { background: var(--ink); color: #fff; border-radius: 1.4rem; padding: 1.5rem 1.35rem; position: relative; overflow: hidden; }
.fp-cta h2 { color: #fff; font-size: 1.35rem; margin: 0 0 .45rem; }
.fp-cta p { color: #d8cfbf; font-size: .92rem; line-height: 1.55; margin: 0 0 1.1rem; }
.fp-cta .fp-fine { font-size: .72rem; color: #a59b8a; margin: .8rem 0 0; }
.fp-cta .fp-fine a { text-decoration: underline; }

.fp-related { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.fp-rel { padding: .85rem .95rem; }
.fp-rel-name { font-weight: 600; font-size: .92rem; }
.fp-rel-cal { font-size: .78rem; color: var(--fp-muted); margin-top: .2rem; }

.fp-faq { margin-top: .6rem; padding: .95rem 1.05rem; }
.fp-faq summary { font-weight: 600; font-size: .92rem; display: flex; justify-content: space-between; gap: .75rem; }
.fp-faq p { font-size: .88rem; color: #4d463c; line-height: 1.55; margin: .6rem 0 0; }

footer.fp-foot { margin-top: 2.6rem; background: var(--ink); padding: 2rem 1rem; text-align: center; }
.fp-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; font-size: .85rem; color: #cfc6b6; margin-bottom: .7rem; }
.fp-foot p { font-size: .75rem; color: #8b8170; margin: 0; }

@media (min-width: 640px) {
  .fp-hero { padding-top: 2.2rem; }
  .fp-hero h1 { font-size: 3.2rem; }
  .fp-illu { width: 11rem; height: 11rem; }
  .fp-number { padding: 1.7rem 1.8rem 1.5rem; }
  .fp-soft-cta { margin: 1.3rem -1.8rem -1.5rem; }
  .fp-cal { font-size: 4.4rem; }
  .fp-related { grid-template-columns: repeat(3, 1fr); }
}
/* /food index */
.fi-group { margin-top: 1.8rem; }
.fi-list { display: grid; grid-template-columns: 1fr; gap: .55rem; }
.fi-item { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1rem; }
.fi-item-name { font-weight: 600; font-size: .95rem; }
.fi-item-sub { font-size: .78rem; color: var(--fp-muted); margin-top: .15rem; }
.fi-item-cal { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.fi-item-cal span { font-size: .75rem; font-weight: 600; color: var(--fp-muted); margin-left: .15rem; }
@media (min-width: 640px) { .fi-list { grid-template-columns: repeat(2, 1fr); } }
