.case-hero {
  background: var(--paper);
  padding: clamp(26px, 4vw, 64px) 0 clamp(36px, 5vw, 75px);
}

.case-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
}

.case-copy h1 {
  max-width: 11.5ch;
  font-size: clamp(39px, 6vw, 85px);
  line-height: .99;
  text-wrap: initial;
}

.case-copy > p {
  max-width: 34ch;
  margin: 16px 0 21px;
  color: #514e47;
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.44;
}

.case-scene {
  min-width: 0;
  aspect-ratio: 1.14;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
  border: 1px solid #e4ddd1;
  box-shadow: inset 0 1px 0 #fff8;
}

.case-scene img { width: 100%; height: auto; }

.photo-scene {
  background: radial-gradient(ellipse at 38% 23%, #f8efda, transparent 75%), #e7d4b5;
}

.photo-frame {
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 49%;
  width: min(91%, 480px);
  transform: translate(-50%, -50%) rotate(-8deg);
}

.photo-back {
  position: absolute;
  width: 63%;
  aspect-ratio: 1.29;
  left: 29%;
  top: 16%;
  background: #f7efdf;
  border-radius: 2px;
  border: 1px solid #fef4dd;
  box-shadow: 0 2px 2px #60482438, 0 19px 35px -16px #634e3963;
  transform: rotate(9deg);
}

.art-scene {
  background: radial-gradient(ellipse at 55% 26%, #f9f3e1, transparent 76%), #e8ebdf;
  border-color: #e0e1d5;
}

.art-instant, .art-flowers { position: absolute; }
.art-instant {
  top: 50%;
  right: 10%;
  width: min(58%, 315px);
  transform: translateY(-49%) rotate(9deg);
}
.art-flowers {
  left: 10%;
  top: 22%;
  width: 44%;
  transform: rotate(-12deg);
}

.case-details { padding: clamp(38px, 6vw, 84px) 0 clamp(30px, 5vw, 65px); }

.case-method {
  display: grid;
  gap: clamp(30px, 5.3vw, 76px);
  grid-template-columns: minmax(0, 1fr) minmax(0, .98fr);
  align-items: center;
}

.case-method figure { margin: 0; }
.album-example img { width: 100%; height: auto; border-radius: 18px; }
.album-example figcaption, .keepsakes-guide .keepsakes-image figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.case-page h2, .keepsakes-cta h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.case-method ol { padding-left: 2ch; margin: 18px 0 0; }
.case-method li, .keepsakes-list li { margin-bottom: 10px; padding-left: .5ch; }
.case-method li:last-child, .keepsakes-list li:last-child { margin-bottom: 0; }
.case-method li::marker { color: #866737; font-weight: 700; }

.gallery-example {
  display: grid;
  place-items: center;
  aspect-ratio: 1.35;
  overflow: hidden;
  background: radial-gradient(ellipse at 38% 25%, #fff9e9, transparent 95%), #e3e9dc;
  border-radius: 18px;
}
.gallery-example .device {
  width: clamp(132px, 17.5vw, 217px);
  padding: 1%;
  margin-top: 7%;
  transform: rotate(-9deg);
}

.case-faq {
  width: min(720px, 100%);
  margin: clamp(40px, 7vw, 90px) auto 0;
}
.case-faq dl { margin: 18px 0 0; }
.case-faq dl div { padding: 13px 0; border-top: 1px solid var(--line); }
.case-faq dt { font-weight: 700; }
.case-faq dd { margin: 6px 0 0; color: var(--muted); }

.case-cta {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: clamp(28px, 5vw, 65px);
  padding: clamp(28px, 4vw, 58px) 20px;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 40%, #fcf1d4, transparent 85%), #f7f1e6;
  text-align: center;
}
.case-cta p, .case-related { max-width: 55ch; }
.case-related { margin: 22px auto 0; text-align: center; font-size: 15px; }

.keepsakes-guide .keepsakes-image { max-width: 650px; }
.keepsakes-guide .keepsakes-image img { height: auto; }
.keepsakes-guide .guide-byline { color: var(--muted); margin: 12px 0; font-size: 14px; }
.keepsakes-guide .keepsakes-cta .store { margin-top: 14px; }
.keepsakes-guide .keepsakes-cta { padding: 20px; }

@media (max-width: 700px) {
  .case-hero-inner, .case-method { grid-template-columns: 1fr; }
  .case-copy h1 { max-width: 14ch; }
  .case-scene { aspect-ratio: 1.21; border-radius: 19px; }
  .case-method-copy { grid-row: 1; }
  .gallery-example { aspect-ratio: 1.36; }
  .gallery-example .device { width: 44%; max-width: 168px; }
}
