/* PONNI LANDING PAGE
   Edit colors, typography, spacing and photo placement in this file.
   All text and image references are in ../index.html. No external resources are needed. */

:root {
  --background-color: #fbebca;
  --text-color: #171717;
  --gallery-border-color: #ffffff;
  --content-width: 1264px;
  --font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background-color);
  color: var(--text-color);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}
figure { margin: 0; }
.landing-page { min-height: 100vh; overflow: hidden; }
.hero {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding-top: 116px;
  padding-bottom: 115px;
  display: grid;
  grid-template-columns: 550px 674px;
  column-gap: 74px;
  align-items: start;
}
.hero-copy { min-width: 0; }
.hero-copy h1,
.hero-copy p {
  font-weight: 400;
  font-size: 22px;
  line-height: 1.21;
  letter-spacing: -0.22px;
  margin-top: 0;
}
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .locations { margin-bottom: 26px; }
.hero-copy .fresh { margin-bottom: 25px; }
.hero-copy .promise { margin-bottom: 25px; }
.hero-copy .shipping { margin-bottom: 26px; }
.hero-copy .coming-soon { margin-bottom: 0; }
.hero-copy .coming-soon strong { font-weight: 700; }
.hero-copy .brand-logo {
  display: block;
  width: 295px;
  height: auto;
  margin-top: 16px;
  margin-left: -8px;
}
.brand-details { margin-top: 6px; }
.brand-details p { margin: 0 !important; }
.brand-details a {
  display: inline-block;
  color: inherit;
  font-size: 22px;
  line-height: 1.23;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.1px;
}
.brand-details a:hover, .brand-details a:focus-visible { text-decoration: underline; }

/* Positions are percentages of the collage so the images remain aligned on mobile. */
.hero-gallery {
  position: relative;
  width: 674px;
  max-width: 100%;
  aspect-ratio: 674 / 522;
  margin-top: 9px;
  isolation: isolate;
}
.photo {
  position: absolute;
  overflow: hidden;
  background: var(--gallery-border-color);
  padding: 1.78%;
}
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-family {
  z-index: 1;
  left: 0; top: 0;
  width: 45.85%; height: 34.48%;
  border-radius: 16px 16px 0 0;
}
.photo-main-box {
  z-index: 0;
  left: 0; top: 32.18%;
  width: 73.0%; height: 65.52%;
  border-radius: 0 0 15px 15px;
}
.photo-small-tin {
  z-index: 3;
  left: 54.90%; top: 9.39%;
  width: 28.93%; height: 37.16%;
  border-radius: 23px;
}
.photo-small-tin img { border-radius: 11px; }
.photo-round-tin {
  z-index: 4;
  left: 62.46%; top: 51.34%;
  width: 37.69%; height: 48.66%;
  border-radius: 50%;
}
.photo-round-tin img { border-radius: 50%; }

@media (max-width: 1350px) and (min-width: 1051px) {
  .hero {
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    gap: 0;
  }
  .hero-gallery { width: 100%; }
  .hero-copy h1, .hero-copy p, .brand-details a { font-size: clamp(17px, 1.52vw, 22px); }
  .desktop-break { display: none; }
}

/* Tablet and phone: stack the editable text and the complete picture collage. */
@media (max-width: 1050px) {
  .hero {
    display: flex;
    flex-direction: column;
    width: min(680px, calc(100% - 44px));
    padding-top: 56px;
    padding-bottom: 58px;
    gap: 42px;
  }
  .hero-gallery { width: 100%; margin-top: 0; }
  .hero-copy h1, .hero-copy p, .brand-details a { font-size: clamp(18px, 3.2vw, 22px); }
}
@media (max-width: 600px) {
  .hero { padding-top: 34px; padding-bottom: 48px; gap: 30px; }
  .hero-copy h1 { margin-bottom: 21px; }
  .hero-copy .locations { margin-bottom: 22px; }
  .hero-copy .fresh { margin-bottom: 22px; }
  .hero-copy .promise { margin-bottom: 22px; }
  .hero-copy .shipping { margin-bottom: 22px; }
  .desktop-break { display: none; }
  .hero-copy .brand-logo { width: min(255px, 72vw); }
  .brand-details { margin-top: 0; }
  .hero-gallery .photo-family { border-radius: 10px 10px 0 0; }
  .hero-gallery .photo-main-box { border-radius: 0 0 10px 10px; }
  .hero-gallery .photo-small-tin { border-radius: 15px; }
}
