.chapter.together-chapter {
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  min-height: 100svh;
  padding: clamp(44px, 6.8vw, 92px) 0;
  border: 0;
  background: radial-gradient(ellipse at 20% 48%, #e8cdb8, transparent 57%), #f7eddf;
  color: #392d29;
  scroll-margin-top: 0;
}
.together-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  grid-template-areas: "photo heading" "photo story";
  column-gap: clamp(24px, 4.5vw, 68px);
  row-gap: 24px;
}
.together-chapter h2 {
  grid-area: heading;
  align-self: end;
  color: #442d2b;
  font-size: clamp(2.55rem, 5.3vw, 4.6rem);
  line-height: 0.97;
}
.together-chapter h2 em { display: block; color: #863e4d; font-weight: 400; }
.together-text { grid-area: story; align-self: start; }
.together-text p { max-width: 32rem; }
.together-text .together-wish {
  margin-top: 27px;
  padding-top: 17px;
  border-top: 1px solid #9455656b;
  color: #7d3347;
  font-size: clamp(1.34rem, 2vw, 1.78rem);
  font-style: italic;
  line-height: 1.28;
}

.together-art {
  grid-area: photo;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "dance hair kiss"
    "portrait hair kiss"
    "caption caption caption";
  align-self: center;
  align-items: center;
  gap: clamp(8px, 1.3vw, 20px);
  justify-self: end;
  width: min(100%, 1130px);
}
.together-picture {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  mask-image:
    radial-gradient(ellipse 77% 80% at 50% 48%, #000 67%, transparent),
    linear-gradient(90deg, transparent, #000 10% 89%, transparent),
    linear-gradient(180deg, transparent, #000 4% 83%, transparent);
  mask-composite: intersect;
}
.together-dance { grid-area: dance; }
.together-portrait { grid-area: portrait; --reveal-delay: 130ms; }
.together-photoshoot-hair { grid-area: hair; --reveal-delay: 230ms; }
.together-photoshoot-kiss {
  grid-area: kiss;
  --reveal-delay: 330ms;
  margin-block-start: clamp(12px, 2vw, 34px);
}
.together-caption {
  grid-area: caption;
  --reveal-delay: 365ms;
  color: #7d3347;
  font: italic 400 clamp(1.15rem, 1.9vw, 1.6rem)/1.28 var(--serif);
  text-align: center;
}
.together-dance img { filter: brightness(1.13) contrast(0.97); }
.together-portrait img { filter: brightness(1.03) contrast(1.025); }
.together-picture::after {
  position: absolute;
  inset: 0 -30%;
  background: linear-gradient(110deg, transparent 32%, #ffe6ba44 49%, #ffedcb66 53%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  content: "";
}

@media (max-width: 760px) {
  .together-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "photo" "story";
    row-gap: 17px;
  }
  .together-art {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "dance dance"
      "portrait portrait"
      "hair kiss"
      "caption caption";
    max-width: 550px;
    justify-self: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .together-picture.is-revealed::after {
    animation: dance-light 1.35s var(--ease-out) calc(95ms + var(--reveal-delay, 0ms)) both;
  }
  @keyframes dance-light {
    0% { opacity: 0; transform: translateX(-27%); }
    42% { opacity: 0.72; }
    100% { opacity: 0; transform: translateX(29%); }
  }
}
