/* Supplied artwork, unchanged. Normalize the visible title glyph height to 89 / 900.
   Original glyph heights: Day1 89px, Day2 90px, Day3 138px, food 138px. */
:root { --plan-emblem-width: clamp(340px, 30vw, 520px); }
.day-row {
  grid-template-columns: var(--plan-emblem-width) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 64px);
}
.day-row--reverse {
  grid-template-columns: minmax(0, 1fr) var(--plan-emblem-width);
}
.food-section {
  grid-template-columns: minmax(0, 1fr) var(--plan-emblem-width);
  gap: clamp(28px, 3vw, 64px);
}
.day-title,
.food-heading {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 900 / 500;
  padding: 0;
  text-align: left;
  isolation: isolate;
  background: var(--page-bg);
}
.day-title::after,
.food-heading::after { content: none; }
.plan-emblem {
  position: absolute;
  inset: auto;
  top: 2%;
  left: var(--art-left);
  width: var(--art-width);
  height: auto;
  max-width: none;
  display: block;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: darken;
}
.day-title--day-1 { --art-width: 96.666667%; --art-left: 1.666667%; }
.day-title--day-2 { --art-width: 93.395062%; --art-left: 3.302469%; }
.day-title--day-3 { --art-width: 93.299517%; --art-left: 3.350242%; }
.food-heading { --art-width: 95.952496%; --art-left: 2.023752%; }
.food-heading .plan-emblem { clip-path: inset(0 .8% 0 .6%); }
/* The artwork includes its typography. Keep real headings for accessibility,
   search, and document structure without rendering duplicate text. */
.day-title > .day-title__copy,
.food-heading h2 {
  position: absolute;
  inset: auto;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .day-row, .day-row--reverse { grid-template-columns: 1fr; gap: 36px; }
  .food-section { grid-template-columns: 1fr; }
  .day-title, .food-heading { width: min(560px, 100%); }
  .day-row--reverse .day-title, .food-heading { justify-self: end; }
}
@media (max-width: 700px) {
  .day-title, .food-heading { width: min(460px, 100%); }
  .day-row, .day-row--reverse { gap: 28px; }
}

/* Add the fourth day label without moving the supplied artwork. */
.food-heading { container-type: inline-size; }
.food-day-label {
  position: absolute;
  z-index: 1;
  left: 22%;
  top: 12%;
  margin: 0;
  color: var(--primary);
  font-family: var(--site-display);
  font-size: 11.111111cqw;
  font-weight: var(--weight-display);
  font-synthesis: none;
  line-height: 1;
}
