/* Appetite-focused homepage */
.home-hero {
  width: min(1280px, calc(100% - 32px));
  min-height: 650px;
  margin: 30px auto 22px;
  padding: clamp(28px, 5vw, 68px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 7% 10%, rgba(255, 206, 107, .34), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(236, 94, 49, .22), transparent 26%),
    linear-gradient(135deg, #211813 0%, #3c2418 53%, #6c2d17 100%);
  color: #fff;
  box-shadow: 0 28px 80px rgba(89, 45, 18, .22);
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(430px, 1.06fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to right, #000, transparent 82%);
  pointer-events: none;
}

.home-hero-copy,
.home-food-stage {
  position: relative;
  z-index: 1;
}

.home-kicker {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(255, 218, 155, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #ffd990;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 680px;
  margin: 20px 0 18px;
  font-size: clamp(3.2rem, 6.2vw, 6.9rem);
  line-height: .88;
  letter-spacing: -.065em;
}

.home-hero-intro {
  max-width: 650px;
  margin: 0;
  color: #f2dfd2;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.recipe-counter {
  width: fit-content;
  margin: 29px 0 23px;
  padding: 13px 17px 13px 14px;
  border: 1px solid rgba(255, 223, 174, .22);
  border-radius: 20px;
  background: rgba(255, 250, 242, .1);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: 14px;
}

.recipe-counter-number {
  min-width: 112px;
  color: #ffca63;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.055em;
}

.recipe-counter-copy {
  display: flex;
  flex-direction: column;
}

.recipe-counter-copy strong {
  font-size: .98rem;
}

.recipe-counter-copy small {
  color: #d9c3b4;
}

.home-search {
  max-width: 760px;
  padding: 8px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(17, 8, 4, .22);
  display: flex;
  gap: 8px;
}

.home-search-field {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 12px;
}

.home-search-field input {
  min-width: 0;
  width: 100%;
  padding: 14px 8px;
  border: 0;
  outline: 0;
  color: #241b17;
  background: transparent;
  font: inherit;
}

.home-actions {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-browse-button {
  background: #ff6a36;
  box-shadow: 0 10px 24px rgba(232, 93, 50, .25);
}

.craving-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.craving-row > span {
  margin-right: 3px;
  color: #d9c3b4;
  font-size: .84rem;
  font-weight: 800;
}

.craving-row a {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #fff4e9;
  text-decoration: none;
  font-size: .79rem;
  font-weight: 750;
  transition: .18s ease;
}

.craving-row a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
}

.craving-row small {
  margin-left: 4px;
  color: #ffcd72;
}

.home-food-stage {
  min-height: 540px;
  transform: rotate(1deg);
}

.food-feature,
.food-tile {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 5px solid rgba(255,255,255,.91);
  background: #e9d6c4;
  box-shadow: 0 26px 60px rgba(15, 7, 3, .34);
  text-decoration: none;
}

.food-feature img,
.food-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

.food-feature:hover img,
.food-tile:hover img {
  transform: scale(1.055);
}

.food-feature {
  inset: 34px 76px 22px 12px;
  border-radius: 34px;
}

.food-feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,10,5,.86), transparent 58%);
}

.food-feature-label {
  position: absolute;
  right: 28px;
  bottom: 27px;
  left: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.food-feature-label small {
  color: #ffd179;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.food-feature-label strong {
  max-width: 520px;
  margin-top: 4px;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  line-height: 1.02;
}

.food-feature-label > span {
  margin-top: 11px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.91);
  color: #4d2817;
  font-size: .82rem;
  font-weight: 900;
}

.food-tile {
  width: 142px;
  height: 142px;
  border-radius: 25px;
}

.food-tile-1 {
  top: 0;
  right: 0;
  transform: rotate(7deg);
}

.food-tile-2 {
  right: 0;
  bottom: 66px;
  transform: rotate(-7deg);
}

.food-tile-3 {
  bottom: -6px;
  left: -16px;
  width: 122px;
  height: 122px;
  transform: rotate(-8deg);
}

.food-tile-4 {
  top: 82px;
  left: -38px;
  width: 108px;
  height: 108px;
  transform: rotate(8deg);
}

.food-feature-empty {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.4rem;
}

.food-feature-empty span {
  font-size: 7rem;
}

.food-steam {
  position: absolute;
  top: -30px;
  width: 25px;
  height: 105px;
  border-left: 4px solid rgba(255,255,255,.18);
  border-radius: 50%;
  filter: blur(2px);
  animation: food-steam 4.4s ease-in-out infinite;
}

.food-steam-1 { left: 39%; }
.food-steam-2 { left: 49%; animation-delay: 1.1s; }
.food-steam-3 { left: 58%; animation-delay: 2.1s; }

@keyframes food-steam {
  0%, 100% { opacity: 0; transform: translateY(18px) rotate(-7deg) scale(.8); }
  35% { opacity: .85; }
  70% { opacity: .15; transform: translateY(-35px) rotate(11deg) scale(1.15); }
}

.home-trust-strip {
  width: min(1120px, calc(100% - 48px));
  margin: -52px auto 50px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 50px rgba(83,58,26,.12);
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.home-trust-strip > div {
  min-width: 0;
  padding: 5px 22px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
}

.home-trust-strip > div:last-child {
  border-right: 0;
}

.home-trust-strip span {
  grid-row: 1 / 3;
  font-size: 1.6rem;
}

.home-trust-strip strong {
  font-size: 1.35rem;
  line-height: 1;
}

.home-trust-strip small {
  color: var(--muted);
}

.home-section-head .eyebrow {
  margin-bottom: 5px;
  color: var(--accent);
}

.home-section-head .split-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.home-outline-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.home-hero + .home-trust-strip + .section .card-image img {
  transform: scale(1.002);
}

@media (max-width: 1060px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-food-stage {
    min-height: 490px;
    width: min(650px, 100%);
    margin: 0 auto;
  }

  .home-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-trust-strip > div:nth-child(2) {
    border-right: 0;
  }

  .home-trust-strip > div:nth-child(-n+2) {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }

  .home-trust-strip > div:nth-child(n+3) {
    padding-top: 16px;
  }
}

@media (max-width: 680px) {
  .home-hero {
    min-height: 0;
    padding: 28px 22px 32px;
    border-radius: 27px;
  }

  .home-hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .recipe-counter {
    width: 100%;
  }

  .recipe-counter-number {
    min-width: 96px;
  }

  .home-search {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .home-search-field {
    min-height: 57px;
    border-radius: 15px;
    background: #fff;
  }

  .home-search .button {
    min-height: 54px;
  }

  .home-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-actions .button {
    width: 100%;
  }

  .craving-row {
    align-items: flex-start;
  }

  .craving-row > span {
    width: 100%;
  }

  .home-food-stage {
    min-height: 385px;
    margin-top: 15px;
  }

  .food-feature {
    inset: 28px 28px 15px 0;
  }

  .food-feature-label {
    right: 19px;
    bottom: 18px;
    left: 19px;
  }

  .food-feature-label strong {
    font-size: 1.55rem;
  }

  .food-tile {
    width: 88px;
    height: 88px;
    border-width: 4px;
    border-radius: 19px;
  }

  .food-tile-1 {
    right: -8px;
  }

  .food-tile-2 {
    right: -8px;
    bottom: 42px;
  }

  .food-tile-3 {
    left: -8px;
    width: 78px;
    height: 78px;
  }

  .food-tile-4 {
    display: none;
  }

  .home-trust-strip {
    width: min(100% - 32px, 560px);
    margin-top: -28px;
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }

  .home-trust-strip > div {
    padding: 12px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-trust-strip span {
    grid-row: auto;
  }

  .home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-section-head .split-actions {
    width: 100%;
  }

  .home-section-head .split-actions .button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .food-steam {
    display: none;
  }

  .food-feature img,
  .food-tile img {
    transition: none;
  }
}
