/* Homepage photography and copy; the shared intro, navigation and waves remain in style.css. */
.home-hero.has-curve {
  min-height: min(800px, calc(100svh - 84px));
  padding: clamp(52px, 6vw, 88px) 0 calc(clamp(44px, 5vw, 72px) + clamp(60px, 8vw, 120px));
  text-align: left;
  background: var(--green-2);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 82% 30%, rgba(217, 137, 159, 0.12), transparent 56%);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: clamp(32px, 4vw, 62px);
}

.home-hero-copy {
  min-width: 0;
}

.home-hero .eyebrow {
  justify-content: flex-start;
  margin-bottom: 22px;
}

.home-hero .home-hero-title {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 4.1vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.home-hero-title .line:nth-child(3) > span {
  transition-delay: 0.23s;
}

.home-signature {
  margin: 0 0 23px;
  color: var(--pink-200);
  font-family: var(--script);
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  line-height: 1.3;
}

.home-hero .lead {
  max-width: 37ch;
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.75;
}

.home-hero .btn-row {
  justify-content: flex-start;
  gap: 12px;
}

.home-hero .btn {
  padding: 16px 22px;
  font-size: 11px;
  letter-spacing: 0.11em;
}

.home-hero-photos {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  aspect-ratio: 1.04;
  min-width: 0;
}

.home-product {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 5px solid var(--pink-100);
  border-radius: 22px;
  background: var(--green);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  transform: rotate(var(--photo-tilt, 0deg));
  transition: transform 0.4s var(--ease);
}

.home-product:hover {
  transform: translateY(-4px) rotate(var(--photo-tilt, 0deg));
}

.home-product:focus-visible {
  outline: 3px solid var(--pink-200);
  outline-offset: 6px;
}

.home-product::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(5, 26, 19, 0.82));
}

.home-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-product-cake {
  --photo-tilt: -2deg;
  grid-row: 1 / 3;
  border-radius: 150px 150px 22px 22px;
}

.home-product-cake img {
  object-position: 51% 50%;
}

.home-product-macarons {
  --photo-tilt: 3deg;
  margin-top: -9px;
  margin-bottom: 9px;
}

.home-product-icecream {
  --photo-tilt: 2deg;
}

.home-product-icecream img {
  object-position: 50% 58%;
  transform: scale(1.18);
  transform-origin: 50% 62%;
}

.home-photo-caption {
  position: absolute;
  inset: auto 16px 16px;
  z-index: 1;
  color: var(--cream);
}

.home-photo-caption b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  font-weight: 500;
  line-height: 1.15;
}

.home-photo-caption > span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .home-hero .home-hero-title {
    font-size: clamp(2.1rem, 4.1vw, 2.8rem);
  }

  .home-hero .btn-row {
    gap: 10px;
  }

  .home-hero .btn {
    padding: 14px 16px;
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  .home-hero.has-curve {
    min-height: auto;
    padding: 32px 0 calc(35px + clamp(60px, 8vw, 120px));
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 610px;
  }

  .home-hero .eyebrow {
    margin-bottom: 16px;
  }

  .home-hero .home-hero-title {
    margin-bottom: 12px;
    font-size: clamp(2.1rem, 7.7vw, 3.2rem);
    line-height: 1.1;
  }

  .home-signature {
    margin-bottom: 16px;
    font-size: 1.95rem;
  }

  .home-hero .lead {
    max-width: 38ch;
    margin-bottom: 22px;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .home-hero .btn-row .btn {
    padding: 14px 8px;
    font-size: 10.5px;
  }

  .home-hero-photos {
    aspect-ratio: 1.45;
    gap: 12px;
  }

  .home-product {
    border-width: 4px;
    border-radius: 17px;
  }

  .home-product-cake {
    border-radius: 100px 100px 17px 17px;
  }

  .home-product-macarons {
    margin-top: -4px;
    margin-bottom: 4px;
  }

  .home-photo-caption {
    inset: auto 11px 11px;
  }

  .home-photo-caption b {
    font-size: 1.1rem;
  }

  .home-photo-caption > span {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 360px) {
  .home-hero .home-hero-title {
    font-size: 1.85rem;
  }

  .home-hero-photos {
    aspect-ratio: 1.3;
  }

  .home-photo-caption {
    inset: auto 9px 10px;
  }

  .home-photo-caption b {
    font-size: 1rem;
  }
}
