/* ==========================================================
   BEAUTY & PRAISE — FOODS PAGE
   One calm system: ivory page, white cards, olive accents,
   serif headings, photographs with soft rounded corners.
   ========================================================== */
.fp { --fp-r: 14px; --fp-line: rgba(48, 58, 44, .12); --fp-card: #fff; display: block; background: var(--paper, #fbf8f1); color: var(--charcoal, #30322e); }
.fp .container { width: min(calc(100% - 48px), 1200px); margin: 0 auto; }
.fp h1, .fp h2, .fp h3 { font-family: var(--serif); color: var(--olive-dark, #303a2c); font-weight: 600; letter-spacing: -.01em; }
.fp a { color: inherit; }
.fp-eyebrow { margin: 0 0 12px; color: var(--terracotta, #b87961); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* buttons */
.fp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--olive-dark, #303a2c); border-radius: 999px; background: var(--olive-dark, #303a2c); color: #fff !important; font-family: var(--sans); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s ease, color .2s ease; }
.fp-btn:hover { background: var(--olive, #48533f); }
.fp-btn-ghost { background: transparent; color: var(--olive-dark, #303a2c) !important; }
.fp-btn-ghost:hover { background: var(--olive-dark, #303a2c); color: #fff !important; }

/* photographs (filled in by js/pages.js): soft corners, no frames */
.fp .gilt { display: block; margin: 0; }
.fp .gilt .gilt-canvas { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border: 0 !important; border-image: none !important; border-radius: var(--fp-r); background: #ece4d6; box-shadow: none !important; }
.fp .gilt .gilt-canvas::after { display: none; }
.fp .gilt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: fp-in .6s ease both; }
.fp .placard { display: none !important; }
@keyframes fp-in { from { opacity: 0; } to { opacity: 1; } }

/* hero */
.fp-hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--ivory, #f7f2e8), var(--paper, #fbf8f1)); }
.fp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.fp-hero .crumbs { margin-bottom: 28px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #6f7169); }
.fp-hero .crumbs a { text-decoration: none; }
.fp-hero h1 { margin: 0; font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; }
.fp-hero h1 em { display: block; color: var(--terracotta, #b87961); font-weight: 500; }
.fp-lead { max-width: 520px; margin: 22px 0 32px; color: var(--muted, #6f7169); font-size: 18px; line-height: 1.7; }
.fp-hero-copy .fp-btn + .fp-btn { margin-left: 10px; }
.fp-hero-photo .gilt-canvas { aspect-ratio: 5 / 4; box-shadow: 0 30px 70px rgba(33, 39, 30, .16) !important; }

/* verse */
.fp-verse { padding: 64px 0; background: var(--olive-dark, #303a2c); color: #fff; text-align: center; }
.fp-verse blockquote, .fp-close blockquote { max-width: 820px; margin: 0 auto; font-family: var(--serif); font-size: clamp(26px, 3.2vw, 38px); font-style: italic; line-height: 1.3; }
.fp-verse cite, .fp-close cite { display: block; margin-top: 16px; color: #e3cf9d; font-family: var(--sans); font-size: 12px; font-style: normal; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* section heads */
.fp-section { padding: 96px 0; }
.fp-head { max-width: 640px; margin-bottom: 44px; }
.fp-head h2 { margin: 0 0 12px; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; }
.fp-head p:not(.fp-eyebrow) { margin: 0; color: var(--muted, #6f7169); font-size: 17px; line-height: 1.7; }
.fp-head-split { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 32px; }
.fp-head-split > div { max-width: 640px; }

/* featured collections */
.fp-collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.fp-col h3 { margin: 18px 0 6px; font-size: 26px; }
.fp-col > p { margin: 0; color: var(--muted, #6f7169); font-size: 15px; line-height: 1.6; }
.fp-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px !important; }
.fp-links a { color: var(--olive, #48533f); font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(72, 83, 63, .3); }
.fp-links a:hover { border-color: var(--olive, #48533f); }

/* the full guide */
.fp-guide { background: #fff; border-top: 1px solid var(--fp-line); border-bottom: 1px solid var(--fp-line); }
.fp-search { max-width: 640px; margin: 0 0 28px; }
.fp .fp-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.fp .fp-cats .fd-cat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 0; padding: 14px 16px; border: 1px solid var(--fp-line); border-radius: 12px; background: var(--paper, #fbf8f1); color: var(--olive-dark, #303a2c); text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.fp .fp-cats .fd-cat:hover { border-color: var(--olive, #48533f); }
.fp .fp-cats .fd-cat.active { border-color: var(--olive-dark, #303a2c); background: var(--olive-dark, #303a2c); color: #fff; }
.fp .fp-cats .fd-cat-n { display: none; }
.fp .fp-cats .fd-cat-t { font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.3; }
.fp .fp-cats .fd-cat-d { font-size: 12.5px; line-height: 1.45; opacity: .75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fp .library-reset { margin: 4px 0 26px; }
.fp .fd-subhead h3 { margin: 56px 0 22px; font-size: 32px; }

/* food cards */
.fp .swatch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.fp .food-swatch { display: flex; flex-direction: column; overflow: hidden; min-height: 0; padding: 0 0 18px; border: 1px solid var(--fp-line); border-radius: var(--fp-r); background: var(--fp-card) !important; color: var(--charcoal, #30322e); text-decoration: none; box-shadow: none; transition: box-shadow .25s ease, transform .25s ease; }
.fp .food-swatch:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(33, 39, 30, .1); }
.fp .food-swatch .swatch-art { position: relative; display: block; aspect-ratio: 4 / 3; margin: 0 0 16px; overflow: hidden; border: 0; border-image: none; border-radius: 0; background: #ece4d6; box-shadow: none; }
.fp .food-swatch .swatch-art::after { display: none; }
.fp .food-swatch .swatch-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fp .food-swatch:hover .swatch-art img { transform: scale(1.04); }
.fp .food-swatch small { padding: 0 18px; color: var(--terracotta, #b87961); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.fp .food-swatch strong { margin: 6px 0 2px; padding: 0 18px; color: var(--olive-dark, #303a2c); font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.fp .food-swatch em { padding: 0 18px; color: var(--muted, #6f7169); font-family: var(--serif); font-size: 16px; }
.fp .food-swatch > span:last-child { margin-top: 8px; padding: 0 18px; color: var(--muted, #6f7169); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* remedies */
.fp-rem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.fp-rem { display: grid; grid-template-columns: 148px 1fr; gap: 20px; align-items: center; padding: 14px; border: 1px solid var(--fp-line); border-radius: var(--fp-r); background: #fff; text-decoration: none; transition: box-shadow .25s ease; }
.fp-rem:hover { box-shadow: 0 14px 32px rgba(33, 39, 30, .09); }
.fp-rem .gilt .gilt-canvas { aspect-ratio: 1 / 1; border-radius: 10px; }
.fp-rem small { color: var(--terracotta, #b87961); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.fp-rem h3 { margin: 4px 0 6px; font-size: 26px; }
.fp-rem p { margin: 0; color: var(--muted, #6f7169); font-size: 15px; line-height: 1.55; }
.fp-needs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.fp-needs a { padding: 9px 18px; border: 1px solid var(--fp-line); border-radius: 999px; background: #fff; color: var(--olive-dark, #303a2c); font-size: 14px; font-weight: 600; text-decoration: none; }
.fp-needs a:hover { border-color: var(--olive-dark, #303a2c); }

/* closing: Scripture and safety */
.fp-close { padding: 88px 0; background: var(--ivory, #f7f2e8); border-top: 1px solid var(--fp-line); }
.fp-close-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fp-close blockquote { margin: 0; color: var(--olive-dark, #303a2c); text-align: left; }
.fp-close cite { color: var(--terracotta, #b87961); }
.fp-safety { padding: 36px; border-radius: var(--fp-r); background: #fff; border: 1px solid var(--fp-line); }
.fp-safety h2 { margin: 0 0 10px; font-size: 32px; }
.fp-safety p { margin: 0; color: var(--muted, #6f7169); font-size: 16px; line-height: 1.7; }
.fp-safety-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px !important; }

/* responsive */
@media (max-width: 1080px) {
  .fp-collections, .fp .swatch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fp .fp-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .fp-hero-grid, .fp-close-grid { grid-template-columns: 1fr; gap: 40px; }
  .fp-rem-grid { grid-template-columns: 1fr; }
  .fp-head-split { flex-direction: column; align-items: flex-start; }
  .fp-collections, .fp .swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp .fp-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .fp .container { width: calc(100% - 32px); }
  .fp-hero { padding: 32px 0 48px; }
  .fp-section { padding: 64px 0; }
  .fp-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .fp-col h3 { margin-top: 12px; font-size: 21px; }
  .fp-col > p { font-size: 13.5px; }
  .fp-links a { font-size: 12.5px; }
  .fp .swatch-grid { gap: 12px; }
  .fp .food-swatch strong { font-size: 21px; }
  .fp .food-swatch em, .fp .food-swatch > span:last-child { display: none; }
  .fp .food-swatch small { font-size: 10px; letter-spacing: .1em; }
  .fp-rem { grid-template-columns: 96px 1fr; gap: 14px; }
  .fp-rem h3 { font-size: 22px; }
  .fp-hero-copy .fp-btn { width: 100%; }
  .fp-hero-copy .fp-btn + .fp-btn { margin: 10px 0 0; }
  .fp-safety { padding: 26px; }
}

/* featured collections as clean tiles: a band of the food's own color, words and links */
.fp-col { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border: 1px solid var(--fp-line); border-radius: var(--fp-r); background: #fff; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.fp-col:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(33, 39, 30, .09); }
.fp-col::before { position: absolute; inset: 0 0 auto; height: 6px; background: var(--c); content: ""; }
.fp-swatch { display: block; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55), transparent 45%), var(--c); box-shadow: 0 6px 14px rgba(0, 0, 0, .12); }
.fp-col h3 { margin: 0 0 8px !important; }
.fp-col .fp-links { margin-top: auto !important; padding-top: 16px; }
.fp-col-berry { --c: #8e2f55; } .fp-col-citrus { --c: #e8a33a; } .fp-col-green { --c: #4f7a3f; } .fp-col-root { --c: #d06a2c; }
.fp-col-olive { --c: #7c8a3a; } .fp-col-herb { --c: #5f8f6a; } .fp-col-pom { --c: #b8323f; } .fp-col-honey { --c: #d9a23a; }
@media (max-width: 560px) { .fp-col { padding: 22px 16px 18px; } .fp-swatch { width: 34px; height: 34px; margin-bottom: 12px; } }

/* collections with a photograph across the top of each tile */
.fp-col { padding: 0; }
.fp-col::before { display: none; }
.fp-col .fp-col-photo .gilt-canvas { aspect-ratio: 4 / 3; border-radius: 0; }
.fp-col-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; border-top: 4px solid var(--c); }
.fp-col h3 { margin: 0 0 6px !important; }
.fp-col .fp-links { padding-top: 14px; }
@media (max-width: 560px) { .fp-col-body { padding: 14px 14px 16px; } }
