.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
}

.hero__collage {
  position: relative;
  height: 36rem;
  perspective: 1200px;
}

.collage-item {
  position: absolute;
  transform: rotate(var(--r, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
}

/* polaroid-style photo cards */
.collage-item--photo {
  width: 48%;
  height: 56%;
  background: var(--paper);
  padding: 0.6rem 0.6rem 2.25rem;
  box-shadow: 0 1.5rem 3rem -1rem var(--ink-30, rgba(0,0,0,.28)), 0 0.25rem 0.5rem var(--ink-08);
}

.collage-item--photo.collage-item--sage {
  top: 2%;
  left: 18%;
  z-index: 2;
}

.collage-item--photo.collage-item--sage .collage-item__frame {
  background:
    radial-gradient(120% 90% at 20% 15%, rgba(255,255,255,.35), transparent 55%),
    linear-gradient(155deg, var(--sage) 0%, var(--sage-dark) 100%);
}

.collage-item--photo.collage-item--plum {
  top: 34%;
  left: 0%;
  z-index: 4;
}

.collage-item--photo.collage-item--plum .collage-item__frame {
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(255,255,255,.3), transparent 55%),
    linear-gradient(155deg, var(--plum) 0%, var(--plum-dark) 100%);
}

.collage-item__frame {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.collage-item__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.collage-item__caption {
  position: absolute;
  bottom: 0.55rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-hand-2);
  font-size: 1.15rem;
  color: var(--ink-50);
}

/* quote card */
.collage-item--quote {
  top: 0;
  right: 0;
  width: 56%;
  z-index: 5;
  background: var(--paper);
  padding: var(--space-5);
  box-shadow: 0 1.5rem 3rem -1rem var(--ink-14), 0 0.25rem 0.5rem var(--ink-08);
  border-left: 3px solid var(--plum);
}

.collage-item--quote p {
  margin: 0 0 0.5rem;
  font-family: var(--font-accent);
  font-weight: 500;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--ink);
}

.collage-item--quote span {
  font-size: var(--step-caption);
  letter-spacing: 0.1em;
  color: var(--plum);
  font-family: var(--font-body);
}

/* stamp */
.collage-item--stamp {
  top: 2%;
  left: 2%;
  z-index: 6;
  width: 17%;
  min-width: 6.5rem;
  filter: drop-shadow(0 0.6rem 1.1rem var(--ink-14));
}

.collage-item--stamp img {
  width: 100%;
  height: auto;
  display: block;
}

/* wax seal */
.collage-item--seal {
  bottom: 8%;
  left: 6%;
  width: 22%;
  min-width: 5.5rem;
  z-index: 7;
  filter: drop-shadow(0 0.75rem 1rem var(--ink-14));
}

.collage-item--seal img {
  width: 100%;
  height: auto;
}

/* handwritten note ribbon */
.collage-item--note {
  bottom: 19%;
  right: 4%;
  z-index: 8;
  background: var(--bg-alt);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-hand-1);
  font-weight: 600;
  font-size: 2.1rem;
  color: var(--plum);
  box-shadow: 0 0.75rem 1.5rem var(--ink-14);
  border: 1px solid var(--ink-08);
}

/* decorative botanical branch */
.collage-item--leaf {
  top: 42%;
  right: -4%;
  width: 15%;
  z-index: 3;
  opacity: 0.92;
}

.collage-item--leaf img {
  width: 100%;
  height: auto;
  display: block;
}

/* teacup */
.collage-item--teacup {
  bottom: -4%;
  right: 18%;
  width: 19%;
  min-width: 6.5rem;
  z-index: 9;
  filter: drop-shadow(0 1rem 1.5rem var(--ink-14));
}

.collage-item--teacup img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__copy {
  max-width: 37rem;
}

.hero__slogan {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-h2);
  font-style: normal;
  letter-spacing: -0.015em;
  line-height: 1.16;
  margin-bottom: var(--space-6);
}

.hero__body {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--step-lead);
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.5;
  margin-bottom: var(--space-6);
  max-width: 32rem;
}

@media (max-width: 64rem) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__collage {
    height: 26rem;
    order: -1;
  }
  .hero__copy {
    max-width: none;
  }
  .hero__slogan {
    font-size: var(--step-h3);
  }
}

@media (max-width: 30rem) {
  .hero__collage {
    height: 20rem;
  }
  .collage-item--note {
    font-size: 1.4rem;
    padding: 0.5rem 1rem;
  }
}
