/* Homepage sections below the seasonal hero. Keep each one short. */

/* Florals marquee: the collection we are selling now. */
.florals-marquee {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--blush);
}
.florals-marquee > img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  min-height: 460px;
  object-fit: cover;
  display: block;
}
.florals-marquee-copy {
  padding: 60px var(--gutter) 60px 48px;
  align-self: center;
}
.florals-marquee-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1;
}
.florals-marquee-copy p {
  max-width: 34ch;
  line-height: 1.6;
  font-size: 19px;
}
.florals-marquee-copy .button {
  display: inline-block;
  margin-top: 26px;
}

/* What is this: one paragraph and one photo. */
.what-is-this {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 80px var(--gutter);
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
}
.what-is-this-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
}
.what-is-this-copy p {
  max-width: 46ch;
  line-height: 1.7;
  font-size: 18px;
}
.what-is-this-copy .arrow-link {
  margin-top: 22px;
}
.what-is-this-photo {
  margin: 0;
}
.what-is-this-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* How it works: the diagram beside three detail rows. No boxes inside boxes. */
.swap-story {
  padding: 72px var(--gutter) 80px;
  background: #fdefae; /* the diagram's own background, so it sits flat on the page */
}
.swap-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 32px;
  margin-bottom: 40px;
}
.swap-heading .eyebrow,
.swap-heading h2,
.swap-heading .swap-sub {
  grid-column: 1;
}
.swap-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.02;
}
.swap-sub {
  margin: 12px 0 0;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.6;
}
.swap-heading .arrow-link {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
}
.swap-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.swap-figure {
  margin: 0;
}
.swap-figure img {
  display: block;
  width: 100%;
  max-height: 600px;
  object-fit: contain;
}
.swap-details {
  list-style: none;
  margin: 0;
  padding: 0;
}
.swap-details li {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid #45233d2e;
}
.swap-details li:last-child {
  border-bottom: 1px solid #45233d2e;
}
.swap-details img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 50%;
}
.swap-details strong {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.15;
}
.swap-details p {
  margin: 8px 0 0;
  line-height: 1.6;
  font-size: 16px;
}

/* Two finishes. */
.home-finishes {
  padding: 75px var(--gutter);
}
.finish-studies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.finish-studies figure {
  margin: 0;
}
.finish-studies img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  padding: 18px;
  border-radius: 50%;
}
.finish-studies h3 {
  font-size: 24px;
  margin: 20px 0 4px;
}
.finish-studies p {
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .florals-marquee {
    grid-template-columns: 1fr;
  }
  .florals-marquee > img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
  .florals-marquee-copy {
    padding: 36px var(--gutter) 44px;
  }
  .what-is-this {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px var(--gutter);
  }
  .swap-layout {
    grid-template-columns: 1fr;
  }
  .swap-figure img {
    max-height: 420px;
  }
}
@media (max-width: 600px) {
  .home-finishes {
    padding: 50px var(--gutter);
  }
  .swap-story {
    padding: 48px var(--gutter) 56px;
  }
  .swap-heading {
    grid-template-columns: 1fr;
  }
  .swap-heading .arrow-link {
    grid-column: 1;
    grid-row: auto;
    margin-top: 8px;
  }
  .swap-details li {
    grid-template-columns: 96px 1fr;
    gap: 16px;
  }
  .swap-details img {
    width: 96px;
    height: 96px;
  }
  .finish-studies {
    gap: 14px;
  }
  .stamps {
    gap: 14px;
  }
  .stamps li {
    width: 108px;
    height: 108px;
    font-size: 11px;
  }
}

/* Stamps: the answers to the questions people ask first. */
.stamps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 56px 0 0;
  padding: 0;
}
.stamps li {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 2px solid var(--plum, #45233d);
  outline: 2px solid var(--plum, #45233d);
  outline-offset: -8px;
  color: var(--plum, #45233d);
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.35;
  transform: rotate(-4deg);
}
.stamps li:nth-child(even) {
  transform: rotate(3deg);
}
