:root {
  color: #22291f;
  background: #fcfaf5;
  font-family: system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .17em; }
img { display: block; max-width: 100%; }
h1, h2, p, ul { margin: 0; }
:focus-visible { outline: 3px solid #2867d8; outline-offset: 4px; }
[id] { scroll-margin-top: 105px; }

.food-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 101;
  top: 8px;
  left: 8px;
  padding: .6rem 1rem;
  background: white;
  transform: translateY(calc(-100% - 12px));
}
.skip-link:focus { transform: none; }

.food-directory { padding-top: clamp(14px, 2.75vw, 38px); }
.food-back-link {
  display: flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  margin-bottom: .25rem;
  color: #405f42;
  font-size: .9rem;
  font-weight: 650;
}
.food-channel-title {
  margin-bottom: .5rem;
  font-family: system-ui, sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -.045em;
  line-height: 1.16;
}
.food-channel-lead {
  max-width: 55ch;
  margin-bottom: clamp(18px, 2.2vw, 28px);
  color: #4e604a;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.food-questions h2 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  letter-spacing: -.035em;
  line-height: 1.2;
}
.food-directory-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
  padding: 0;
  list-style: none;
}
.food-directory-grid a {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}
.food-card-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.food-card-title { padding: 13px 14px 0; font-size: 1.02rem; font-weight: 790; line-height: 1.25; }
.food-card-description { padding: 6px 14px 15px; color: #41493e; font-size: .93rem; line-height: 1.42; }
.food-dinner-help { max-width: 65ch; margin-block: 34px 46px; color: #41493e; }

.food-shelves { margin-block: 46px; border-top: 1px solid #d2d0c7; }
.food-shelf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid #d2d0c7;
}
.meal-tone { --shelf-tint: #e2efdf; }
.math-tone { --shelf-tint: #e1eafb; }
.grocery-tone { --shelf-tint: #fbf0ce; }
.bake-tone { --shelf-tint: #f7e3e8; }
.crowd-tone { --shelf-tint: #eae1f3; }
.food-shelf-intro { padding: 20px; border-radius: 12px; background: var(--shelf-tint); }
.food-shelf h2 { margin-bottom: 7px; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.025em; }
.food-shelf-intro p { color: #41493e; }
.food-shelf-intro p + p { margin-top: .65rem; }
.food-tools { display: grid; gap: 7px; align-content: center; list-style: none; padding: 0; }
.food-tools a {
  display: grid;
  gap: 3px;
  padding: 11px 16px;
  border: 1px solid #d8d7cf;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
}
.food-tools a:hover { border-color: #6c8066; background: #f8fbf4; }
.food-tools strong { color: #28472c; text-decoration: underline; text-decoration-thickness: .08em; }
.food-tools span { color: #41493e; }

.food-questions { max-width: 780px; margin-bottom: 52px; }
.food-questions details { border-top: 1px solid #d2d0c7; }
.food-questions summary { padding-block: 13px; cursor: pointer; font-weight: 700; }
.food-questions details p { padding-bottom: 16px; }
.food-privacy { margin-top: 16px; color: #41493e; }

@media (max-width: 960px) {
  .food-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .food-shell { width: calc(100% - 32px); }
  .food-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .food-shelves { margin-block: 32px; }
  .food-shelf { grid-template-columns: minmax(0, 1fr); gap: 9px; padding-block: 16px; }
  .food-shelf-intro { padding: 14px 16px; }
}
@media (max-width: 355px) {
  .food-directory-grid { grid-template-columns: minmax(0, 1fr); }
}
