/* Public-page photography. Keep the original artwork and private gift tools clear. */
.photo-intro,
.closing-photo-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
}

.photo-intro-background,
.closing-photo-background,
body[data-page="home"] .home-process-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.photo-intro-background img,
.closing-photo-background img,
body[data-page="home"] .home-process-background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-intro-background {
  left: 34%;
}

.photo-intro-background::after,
.closing-photo-background::after,
body[data-page="home"] .home-process-background::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.photo-intro-background::after {
  background: linear-gradient(90deg, var(--paper), rgba(248,245,238,.86) 18%, rgba(248,245,238,.12) 43%, transparent 65%);
}

.photo-intro .section-shell {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.photo-intro .section-shell::after {
  display: none;
}

.photo-intro-copy {
  width: 46%;
  max-width: 580px;
  min-width: 0;
}

.photo-intro .photo-intro-copy .eyebrow {
  font-size: .875rem;
  letter-spacing: .11em;
  color: var(--evergreen);
  margin-bottom: 20px;
}

.photo-intro .photo-intro-copy h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.16;
}

.photo-intro .photo-intro-copy > p:last-child {
  max-width: 500px;
  margin-top: 24px;
  color: #514a40;
  font-size: 1rem;
  line-height: 1.85;
}

.photo-intro--ideas .photo-intro-background img {
  object-position: 50% 45%;
}

.photo-intro--card-options .photo-intro-background img {
  object-position: 48% 53%;
}

.photo-intro--card-options + .design-collection {
  padding-top: 40px;
}

.photo-intro--how .photo-intro-background {
  left: 0;
  right: 32%;
}

.photo-intro--how .photo-intro-background::after {
  background: linear-gradient(270deg, var(--paper), rgba(248,245,238,.82) 15%, rgba(248,245,238,.05) 38%, transparent 65%);
}

.photo-intro--how .photo-intro-copy {
  margin-left: auto;
  width: 45%;
}

.photo-intro--how .photo-intro-background img {
  object-position: 42% 50%;
}

.photo-intro--story .photo-intro-background img {
  object-position: 50% 48%;
}

.photo-intro + .steps-page {
  padding-top: 56px;
}

.closing-photo-band {
  border-top: 1px solid var(--line);
  background: #e8ded0;
}

.closing-photo-background {
  right: 38%;
}

body[data-page="home"] .closing-photo-background {
  right: 18%;
}

.closing-photo-background::after {
  background: linear-gradient(90deg, transparent 50%, rgba(232,222,208,.16) 76%, #e8ded0 100%);
}

.closing-photo-shell {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 550px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.closing-photo-band .closing-section {
  width: min(46%, 510px);
  padding: 38px clamp(24px, 3vw, 44px) 40px;
  border: 1px solid #d6c7ae;
  background: rgba(255,250,241,.97);
  box-shadow: 0 18px 44px #30261d26;
  border-radius: 3px;
  text-align: left;
}

.closing-photo-band .closing-star {
  font-size: 28px;
  margin-bottom: 20px;
}

.closing-photo-band .closing-section .eyebrow {
  font-size: .875rem;
  line-height: 1.65;
  letter-spacing: .1em;
  color: var(--evergreen);
}

.closing-photo-band .closing-section h2 {
  font-size: clamp(33px, 3.5vw, 48px);
  line-height: 1.2;
}

.closing-photo-band .closing-section .button {
  white-space: normal;
  min-height: 48px;
  font-size: .875rem;
  margin-top: 24px;
}

.closing-photo-band .closing-section > p:last-child {
  margin-top: 18px;
  color: #5f574d;
  font-size: .875rem;
  line-height: 1.75;
}

body[data-page="home"] .home-process-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body[data-page="home"] .home-process-background {
  left: 32%;
  height: 600px;
}

body[data-page="home"] .home-process-background img {
  object-position: 50% 57%;
}

body[data-page="home"] .home-process-background::after {
  background: linear-gradient(90deg, var(--soft-green), rgba(233,237,227,.65) 22%, rgba(233,237,227,.05) 66%), linear-gradient(0deg, var(--soft-green), rgba(233,237,227,.8) 16%, transparent 57%);
}

body[data-page="home"] .home-process-heading {
  min-height: 200px;
  align-items: flex-start;
}

body[data-page="home"] .home-process-heading > .text-link {
  align-self: flex-end;
  background: rgba(255,250,241,.95);
  border: 1px solid #d6c7ae;
  padding: 10px 14px;
}

body[data-page="home"] .home-process-steps li {
  background: rgba(255,250,241,.96);
  padding: 24px;
  border-left: 2px solid #b29469;
}

body[data-page="home"] .home-promise-example > .home-project-photo {
  object-position: 50% 56%;
}

@media (max-width: 920px) {
  .photo-intro .section-shell {
    min-height: 490px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .photo-intro-copy,
  .photo-intro--how .photo-intro-copy {
    width: 50%;
  }

  /* Give groups room before the narrow side-by-side crop reaches the copy. */
  .photo-intro--how,
  .photo-intro--card-options {
    padding-top: clamp(300px, 45vw, 420px);
  }

  .photo-intro--how .photo-intro-background,
  .photo-intro--card-options .photo-intro-background {
    inset: 0 0 auto;
    height: clamp(350px, 50vw, 460px);
  }

  .photo-intro--how .photo-intro-background::after,
  .photo-intro--card-options .photo-intro-background::after {
    background: linear-gradient(180deg, transparent 58%, rgba(248,245,238,.28) 75%, var(--paper) 100%);
  }

  .photo-intro--how .section-shell,
  .photo-intro--card-options .section-shell {
    min-height: 0;
    padding-top: 24px;
  }

  .photo-intro--how .photo-intro-copy,
  .photo-intro--card-options .photo-intro-copy {
    width: 100%;
    max-width: 680px;
  }

  .closing-photo-band .closing-section {
    width: 49%;
    padding: 28px;
  }
}

@media (max-width: 700px) {
  .photo-intro,
  .closing-photo-band {
    padding-top: clamp(235px, 64vw, 340px);
  }

  .photo-intro .photo-intro-background,
  .closing-photo-background,
  body[data-page="home"] .closing-photo-background {
    inset: 0 0 auto;
    height: clamp(265px, 72vw, 390px);
  }

  .photo-intro .photo-intro-background::after {
    background: linear-gradient(180deg, transparent 58%, rgba(248,245,238,.28) 75%, var(--paper) 100%);
  }

  .photo-intro .section-shell {
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .photo-intro-copy,
  .photo-intro--how .photo-intro-copy {
    width: 100%;
    max-width: 580px;
    margin: 0;
  }

  .photo-intro .photo-intro-copy h1 {
    font-size: clamp(34px, 8.2vw, 48px);
  }

  .photo-intro .photo-intro-copy .eyebrow {
    font-size: .8125rem;
    margin-bottom: 16px;
  }

  .photo-intro .photo-intro-copy > p:last-child {
    margin-top: 20px;
  }

  .photo-intro + .steps-page {
    padding-top: 20px;
  }

  .photo-intro--card-options + .design-collection {
    padding-top: 20px;
  }

  .photo-intro--how .photo-intro-background img {
    object-position: 45% 43%;
  }

  .closing-photo-background::after {
    background: linear-gradient(180deg, transparent 64%, #e8ded0 100%);
  }

  .closing-photo-shell {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 36px;
  }

  .closing-photo-band .closing-section {
    width: 100%;
    max-width: 510px;
    margin: 0 auto;
    padding: 28px 24px 30px;
    background: var(--cream);
  }

  .closing-photo-band .closing-section h2 {
    font-size: clamp(32px, 8vw, 42px);
  }

  body[data-page="home"] .home-process {
    padding-top: clamp(245px, 64vw, 350px);
  }

  body[data-page="home"] .home-process-background {
    left: 0;
    height: clamp(290px, 76vw, 420px);
  }

  body[data-page="home"] .home-process-background::after {
    background: linear-gradient(180deg, transparent 50%, rgba(233,237,227,.45) 72%, var(--soft-green) 100%);
  }

  body[data-page="home"] .home-process-heading {
    min-height: 0;
    gap: 20px;
  }

  body[data-page="home"] .home-process-heading > .text-link {
    align-self: auto;
  }

  body[data-page="home"] .home-process-steps li {
    padding: 22px 20px;
  }
}
