/* Homepage recipe box. Shared navigation, hero artwork, and footer keep their styling. */
.home-page {
  --home-green: #285841;
}

/* Closed menus should not create horizontal overflow or hidden tab stops. */
.home-site .submenu { display: none; }
.home-site .menu-item:hover .submenu,
.home-site .menu-item:focus-within .submenu { display: grid; }

.home-wrap {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}

.home-page :is(#recipes, #family-table) {
  scroll-margin-top: 150px;
}

.home-page a:focus-visible {
  outline: 3px solid var(--herb);
  outline-offset: 6px;
}

.home-page .hero a:focus-visible {
  outline-color: var(--lemon);
}

.family-promise {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  padding-block: 90px 100px;
}

.promise-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 2px dashed var(--home-green);
  border-radius: 50%;
  outline: 1px solid var(--home-green);
  outline-offset: 8px;
  background: #eaf0df;
  color: var(--home-green);
  text-align: center;
  transform: rotate(-9deg);
}

.promise-seal span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promise-seal strong {
  margin-block: 15px;
  font: 700 2.8rem/1 Georgia, serif;
}

.promise-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.12;
  margin-bottom: 24px;
}

.home-page h2 em {
  color: var(--tomato-dark);
  font-weight: 400;
}

.promise-copy > p:not(.eyebrow, .handwritten),
.feature-copy > p,
.sweet-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 640px;
}

.handwritten {
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 1.12rem;
  color: var(--home-green);
}

.promise-copy .handwritten {
  margin: 24px 0 0;
}

.home-recipes {
  position: relative;
  padding-block: 76px;
  background: #f2e9d9;
  border-radius: 50% 50% 0 0 / 24px 24px 0 0;
}

.home-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
}

.home-heading h2 {
  margin-bottom: 0;
}

.home-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
}

.table-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding: 8px 16px 68px;
}

.recipe-snapshot {
  position: relative;
  display: block;
  padding: 12px 12px 18px;
  background: #fffdf7;
  box-shadow: 0 14px 26px #4d38251a;
  transform: rotate(-3deg);
  transition: transform 180ms ease;
}

.recipe-snapshot::before {
  content: "";
  position: absolute;
  top: -15px;
  left: calc(50% - 50px);
  width: 100px;
  height: 30px;
  background: #e2b957a6;
  transform: rotate(5deg);
}

.recipe-snapshot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.recipe-snapshot > span {
  display: block;
  margin-top: 14px;
  text-align: center;
}

.recipe-snapshot:hover {
  transform: rotate(-1deg);
}

.recipe-kicker {
  display: block;
  color: var(--home-green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-copy h3 {
  margin-top: 16px;
  font: 700 clamp(2.6rem, 4.5vw, 4.4rem)/1.03 Georgia, serif;
}

.home-recipe-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding-block: 7px;
  border-bottom: 2px solid var(--tomato);
  color: var(--tomato-dark);
  font-weight: 800;
}

.home-recipe-link span {
  font-size: 1.35rem;
}

.home-recipe-link:hover,
.table-dish h3 a:hover {
  color: var(--home-green);
  border-color: var(--home-green);
}

.table-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 58px);
  padding-top: 28px;
}

.table-dish {
  text-align: center;
}

.dish-photo {
  display: block;
  max-width: 290px;
  margin: 0 auto 28px;
  border-radius: 50%;
}

.dish-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid #fffaf2;
  border-radius: 50%;
  box-shadow: 0 7px 0 #e0d3bf;
  transition: transform 180ms ease;
}

.dish-photo:hover img {
  transform: translateY(-5px);
}

.table-dish:nth-child(2) .dish-photo {
  border-radius: 45% 45% 12px 12px;
}

.table-dish:nth-child(2) .dish-photo img {
  border-radius: inherit;
}

.table-dish h3 {
  font: 700 1.8rem/1.15 Georgia, serif;
}

.table-dish > p:not(.recipe-kicker) {
  color: var(--muted);
  line-height: 1.7;
}

.turkey-note {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
  padding: 24px 0;
  border-block: 1px dashed #b5a58c;
}

.turkey-note img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.turkey-note > span:nth-child(2) {
  display: grid;
  gap: 6px;
}

.turkey-note strong {
  font: 700 1.7rem/1.2 Georgia, serif;
}

.turkey-note > span > span:last-child {
  color: var(--muted);
}

.note-arrow {
  margin-left: auto;
  font-size: 2rem;
  color: var(--tomato-dark);
}

.turkey-note:hover strong {
  color: var(--tomato-dark);
}

.sweet-finish {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  padding-block: 96px 72px;
}

.sweet-copy h2 {
  line-height: 1.1;
  margin-bottom: 24px;
}

.sweet-photo {
  position: relative;
  display: block;
  padding: 18px;
  background: repeating-conic-gradient(#e7eddc 0% 25%, #f2f5e9 0% 50%) 0 / 30px 30px;
  border-radius: 50% 50% 30px 30px;
  transform: rotate(3deg);
}

.sweet-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.15;
  object-fit: cover;
  border-radius: inherit;
}

.sweet-label {
  position: absolute;
  bottom: -16px;
  right: 16px;
  padding: 12px 20px;
  background: #f8d778;
  transform: rotate(-8deg);
}

.table-signoff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-block: 30px 48px;
}

.table-signoff > span {
  color: var(--tomato);
  font-size: 1.6rem;
}

.table-signoff p {
  margin: 0;
  font: italic 1.35rem/1.5 Georgia, serif;
}

.table-signoff a {
  margin-left: 20px;
  padding-block: 10px;
  color: var(--tomato-dark);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .home-site .menu-item:last-child .submenu { left: 0; right: auto; }
  .home-wrap { width: calc(100% - 48px); }
  .family-promise { grid-template-columns: 150px 1fr; gap: 32px; padding-block: 64px; }
  .promise-seal strong { font-size: 2rem; }
  .promise-seal span { font-size: 0.52rem; }
  .home-heading { display: block; }
  .home-heading > p { margin-top: 20px; }
  .table-feature { gap: 32px; padding-inline: 0; }
  .table-trio { gap: 24px; }
  .table-dish h3 { font-size: 1.5rem; }
  .recipe-snapshot .handwritten { font-size: 0.9rem; }
  .table-signoff { flex-wrap: wrap; }
  .table-signoff a { margin-left: 0; }
}

@media (min-width: 601px) and (max-width: 820px) {
  .home-site .menu-item:nth-child(5) .submenu { left: auto; right: 0; }
}

@media (max-width: 600px) {
  .family-promise { grid-template-columns: 1fr; gap: 38px; }
  .promise-seal { width: 154px; margin-inline: auto; }
  .promise-copy h2 { font-size: 2.25rem; }
  .home-page :is(#recipes, #family-table) { scroll-margin-top: 24px; }
  .home-recipes { padding-block: 54px; }
  .table-feature, .table-trio, .sweet-finish { grid-template-columns: 1fr; }
  .table-feature { gap: 38px; padding-bottom: 40px; }
  .recipe-snapshot { margin-inline: 8px; }
  .feature-copy h3 br { display: none; }
  .table-trio { gap: 48px; }
  .table-dish { max-width: 380px; margin-inline: auto; }
  .turkey-note { gap: 16px; margin-top: 44px; }
  .turkey-note img { width: 72px; height: 72px; }
  .turkey-note strong { font-size: 1.35rem; }
  .turkey-note > span > span:last-child { font-size: 0.9rem; }
  .note-arrow { display: none; }
  .sweet-finish { padding-block: 58px 48px; gap: 32px; }
  .sweet-photo { margin: 0 8px 20px; }
  .table-signoff { gap: 8px; text-align: center; }
  .table-signoff p { font-size: 1.15rem; }
  .table-signoff a { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .recipe-snapshot, .dish-photo img { transition: none; }
}
