.intro {
  min-height: 65vh;
  display: grid;
  align-content: center;
  padding: clamp(128px, 14vw, 192px) max(24px, 10vw) 80px;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(247, 243, 235, .2), rgba(247, 243, 235, .3)),
    url("../assets/img/papel-amassado.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.intro > * {
  max-width: 65rem;
}

.intro h1 {
  margin: .4rem 0 2rem;
  color: var(--wine);
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  font-weight: 400;
  line-height: 1.04;
}

.intro p:last-child {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.72;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.kicker {
  color: var(--navy);
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.album {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 42px);
  padding: clamp(96px, 9vw, 132px) max(20px, 7vw) clamp(110px, 12vw, 180px);
  overflow: hidden;
  background-color: #f3ecdf;
  background-image: linear-gradient(rgba(247, 243, 235, .48), rgba(239, 229, 215, .62)),
    url("../assets/img/papel-amassado.png");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.album::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 33% -10% auto;
  height: 2px;
  border-top: 2px dashed rgba(123, 14, 45, .3);
  transform: rotate(-3deg);
}

.album::after {
  content: "✦  viagens, encontros e histórias pelo caminho  ✦";
  position: absolute;
  z-index: 1;
  right: 5vw;
  bottom: 3.5rem;
  color: rgba(23, 51, 77, .58);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.story-seal {
  position: absolute;
  z-index: 6;
  top: clamp(64px, 6vw, 94px);
  left: 50%;
  width: min(420px, 60vw);
  height: auto;
  transform: translateX(-50%) rotate(-3deg);
  mix-blend-mode: multiply;
  filter: drop-shadow(0 15px 20px rgba(59, 31, 25, .09));
  display: none;
}

.film-strip {
  position: absolute;
  z-index: 1;
  width: min(780px, 62vw);
  height: auto;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .72;
  filter: sepia(.08) saturate(.9);
}

.film-strip-top {
  top: 18%;
  left: -9%;
  transform: rotate(-8deg);
}

.film-strip-middle {
  top: 60%;
  right: -11%;
  transform: rotate(8deg);
}

.string-lights {
  position: absolute;
  z-index: 5;
  top: 40px;
  left: -2%;
  display: flex;
  justify-content: space-around;
  width: 104%;
  height: 72px;
  border-top: 2px solid rgba(32, 31, 27, .45);
  transform: rotate(1deg);
  pointer-events: none;
}

.string-lights span {
  position: relative;
  width: 8px;
  height: 18px;
  border-radius: 50% 50% 45% 45%;
  background: #f0c56a;
  box-shadow: 0 0 15px 5px rgba(240, 197, 106, .22);
}

.string-lights span:nth-child(even) {
  transform: translateY(18px);
}

.string-lights span::before {
  content: "";
  position: absolute;
  top: -17px;
  left: 3px;
  width: 1px;
  height: 18px;
  background: rgba(32, 31, 27, .5);
}

.photo {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 9px 9px 32px;
  background: #fff;
  box-shadow: 0 13px 28px rgba(44, 27, 22, .13);
  transition: transform .35s, box-shadow .35s;
}

.photo:nth-of-type(3n) {
  transform: rotate(2deg);
}

.photo:nth-of-type(3n + 1) {
  transform: rotate(-2deg);
}

.photo::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 58px;
  height: 22px;
  background: rgba(212, 191, 157, .55);
  transform: translateX(-50%) rotate(-2deg);
  box-shadow: 0 1px 2px rgba(69, 42, 34, .06);
}

.photo:hover {
  z-index: 8;
  transform: rotate(0) translateY(-8px) scale(1.02);
  box-shadow: 0 22px 42px rgba(44, 27, 22, .2);
}

.photo img {
  width: 100%;
  height: clamp(15rem, 28vw, 27rem);
  object-fit: cover;
}

.travel-route {
  grid-column: 1 / -1;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 20px;
  color: var(--navy);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.travel-route i {
  width: clamp(45px, 8vw, 120px);
  border-top: 1px dashed rgba(123, 14, 45, .65);
}

.travel-route i::after {
  content: "✦";
  display: block;
  width: max-content;
  margin: -11px auto 0;
  color: var(--wine);
  background: var(--paper);
  padding: 0 6px;
}

@media (max-width: 900px) {
  .album {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background-attachment: scroll;
  }

  .photo img {
    height: 22rem;
  }

  .film-strip {
    width: 78vw;
    opacity: .5;
  }
}

@media (max-width: 620px) {
  .intro {
    min-height: 58vh;
    padding: 110px 20px 64px;
  }

  .album {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
    padding: 88px 16px 100px;
  }

  .story-seal {
    top: 66px;
    width: min(330px, 76vw);
  }

  .string-lights {
    top: 28px;
  }

  .film-strip {
    display: block;
    width: 105vw;
    opacity: .42;
  }

  .film-strip-top {
    top: 23%;
  }

  .film-strip-middle {
    top: 66%;
  }

  .photo {
    padding: 6px 6px 20px;
  }

  .photo img {
    height: 16rem;
  }

  .travel-route {
    flex-wrap: wrap;
    gap: 7px;
    font-size: .62rem;
    letter-spacing: .1em;
  }

  .travel-route i {
    width: 34px;
  }

  .album::after {
    right: 16px;
    bottom: 2.5rem;
    left: 16px;
    text-align: center;
    font-size: .58rem;
  }
}

@media (max-width: 390px) {
  .photo img {
    height: 13rem;
  }
}
