/* One tactile paper language across the entire invitation. */
body {
  background-color: #a98c72;
  background-image:
    linear-gradient(rgba(169, 140, 114, .78), rgba(169, 140, 114, .78)),
    url('assets/chocolate-wave-texture.jpeg');
  background-size: 900px auto, 640px auto;
  background-blend-mode: screen, normal;
  background-attachment: fixed;
}

.paper-section,
.hero {
  background-color: #eee7dc;
  background-image:
    linear-gradient(rgba(238, 231, 220, .74), rgba(238, 231, 220, .74)),
    url('assets/embossed-paper.jpeg');
  background-size: cover;
  background-position: center;
}

.collage-card,
.dress-note {
  background-color: #eee7dc;
  background-image:
    linear-gradient(rgba(238, 231, 220, .76), rgba(238, 231, 220, .76)),
    url('assets/embossed-paper.jpeg');
  background-size: cover;
  background-position: center;
}

/* The cinematic Hilton location panel intentionally keeps its original look. */
.venue-image {
  background: #1c1511;
  background-image: none;
}

.invitation .calendar-grid {
  border-top-color: rgba(52, 37, 29, .28);
  border-bottom-color: rgba(52, 37, 29, .28);
}

.invitation .calendar-day + .calendar-day {
  border-left-color: rgba(52, 37, 29, .18);
}

.invitation .calendar-day span {
  padding-bottom: 8px;
  margin: 0 10px 8px;
  border-bottom: 1px solid rgba(124, 73, 57, .62);
}

.venue-image > img {
  filter: sepia(.18) saturate(.72) brightness(.72);
}

.venue-frame {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .05);
}

.venue-image-details .venue-frame {
  padding: 34px;
}

.venue-image-details {
  height: 560px;
}

.venue-image-details .venue-frame {
  inset: 11% 18%;
}

.venue-arrival {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin: 0 0 14px;
}

.venue-arrival span {
  font: italic 18px/1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: .04em;
}

.venue-arrival b {
  font: 500 29px/1 "Cormorant Garamond", Georgia, serif;
}

.venue-image-details .venue-frame p {
  margin: 0 0 22px;
  font: 400 15px/1.45 "Cormorant Garamond", Georgia, serif;
}

.venue-image-details .venue-frame a {
  display: inline-block;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  font: 500 8px/1 "Manrope", Arial, sans-serif;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .venue-image-details {
    height: 500px;
  }

  .venue-image-details .venue-frame {
    inset: 10% 8%;
  }

  .venue-image-details .venue-frame {
    padding: 24px 17px;
  }

}

.chocolate-section,
.story-collage,
footer {
  background-color: #a98c72;
  background-image:
    linear-gradient(rgba(169, 140, 114, .78), rgba(169, 140, 114, .78)),
    url('assets/chocolate-wave-texture.jpeg');
  background-size: cover, 620px auto;
  background-position: center;
  background-blend-mode: screen, normal;
  color: #34251d;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

form button {
  background: #7c4939;
}

.facts {
  background-color: #a98c72;
  background-image:
    linear-gradient(rgba(169, 140, 114, .78), rgba(169, 140, 114, .78)),
    url('assets/chocolate-wave-texture.jpeg');
  background-size: cover, 620px auto;
  background-position: center;
  background-blend-mode: screen, normal;
}

.lace-calendar::before {
  background-color: #a98c72;
  background-image:
    linear-gradient(rgba(169, 140, 114, .78), rgba(169, 140, 114, .78)),
    url('assets/chocolate-wave-texture.jpeg');
  background-size: cover, 620px auto;
  background-position: center;
  background-blend-mode: screen, normal;
}

.timeline,
.dresscode,
.invitation,
.wish,
.rsvp {
  overflow: hidden;
}

.timeline::after,
.dresscode::before,
.invitation::after,
.wish::after,
.rsvp::after {
  content: '';
  position: absolute;
  width: 230px;
  height: 340px;
  background: url('assets/baroque-flourish.jpeg') center / contain no-repeat;
  mix-blend-mode: multiply;
  opacity: .14;
  pointer-events: none;
}

.timeline::after {
  right: -70px;
  top: 34px;
}

.dresscode::before {
  left: -74px;
  bottom: 16px;
  transform: scaleX(-1) rotate(-12deg);
}

.dresscode {
  padding-top: 18px;
  grid-template-columns: 1fr;
  text-align: center;
}

.dress-copy {
  width: min(100%, 620px);
  margin: 0 auto;
}

.dress-copy .body-copy {
  margin-left: auto;
  margin-right: auto;
}

.swatches {
  justify-content: center;
}

.palette-label {
  text-align: center;
}

.text-arrow {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-style: normal;
  font-variant-emoji: text;
  line-height: 1;
}

.dress-collage {
  width: min(100%, 350px);
  margin-left: auto;
  margin-right: auto;
}

.timeline {
  padding-bottom: 54px;
}

.timeline-photo {
  width: 100%;
  height: 100%;
  min-height: 444px;
  margin: 0;
  overflow: hidden;
}

.timeline-content {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 46px;
  align-items: stretch;
  margin-top: 72px;
  text-align: left;
}

.timeline-content .timeline-list {
  width: 100%;
  margin: 0;
}

.timeline-content .timeline-list article {
  grid-template-columns: 94px 42px 1fr;
  min-height: 148px;
}

.timeline-content .timeline-list time {
  padding-right: 16px;
  font-size: 17px;
}

.timeline-content .timeline-list h3 {
  font-size: 27px;
}

.timeline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 56%;
  filter: sepia(.08) saturate(.62) brightness(1.42) contrast(.84);
}

.dress-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: 52% 56%;
  filter: sepia(.08) saturate(.62) brightness(1.42) contrast(.84);
}

.invitation::after {
  right: -92px;
  bottom: 24%;
  transform: rotate(16deg);
  opacity: .1;
}

.wish::after {
  right: -82px;
  bottom: -42px;
  transform: rotate(112deg);
  opacity: .12;
}

.rsvp::after {
  right: -68px;
  top: 18px;
  transform: scaleX(-1) rotate(-8deg);
  opacity: .12;
}

.invitation > *,
.wish > :not(.wish-lace),
.rsvp > * {
  position: relative;
  z-index: 1;
}

.calendar-paper {
  color: #34251d;
}

.calendar-grid {
  border-color: rgba(52, 37, 29, .66);
}

.calendar-day + .calendar-day {
  border-left-color: rgba(52, 37, 29, .4);
}

.calendar-heart {
  stroke: #5f3828;
}

.kicker.light,
.facts-grid p,
.wish > p:last-child,
footer {
  color: #34251d;
}

.facts-grid {
  border-color: rgba(52, 37, 29, .28);
}

.facts-grid article + article {
  border-color: rgba(52, 37, 29, .28);
}

.light-button {
  border-color: rgba(52, 37, 29, .55);
  color: #34251d;
}

.wish-lace {
  filter: sepia(.7) saturate(.45) brightness(.75);
  opacity: .2;
}

.wish .detail-copy {
  max-width: 570px;
  margin: 34px auto 0;
  color: #34251d;
  font: 400 19px/1.7 "Cormorant Garamond", Georgia, serif;
}

.wish {
  min-height: 410px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.wish h2,
.wish .detail-copy,
.wish > p.organizer-contact {
  width: min(100%, 450px);
}

.wish .detail-copy a {
  color: #6f7254;
  font-style: italic;
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 114, 84, .4);
}

.wish::before,
.wish::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  width: 310px;
  height: 100%;
  background: url('assets/green-botanical-border.jpeg') center / cover no-repeat;
  mix-blend-mode: multiply;
  filter: sepia(.12) saturate(.62) contrast(.94) brightness(1.04);
  opacity: .34;
  pointer-events: none;
}

.wish::before {
  right: -42px;
}

.wish::after {
  left: -42px;
  right: auto;
  bottom: auto;
  transform: scaleX(-1);
}

.wish > p.organizer-contact {
  max-width: 540px;
  margin: 24px auto 0;
  color: #34251d;
  font: 400 15px/1.6 "Cormorant Garamond", Georgia, serif;
}

.wish > p.organizer-contact a {
  color: #7c4939;
  font-style: italic;
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 73, 57, .35);
}

.collage-caption {
  color: #f1ece2;
  text-shadow: 0 2px 18px rgba(52, 37, 29, .55);
}

footer {
  border-top: 0;
  position: relative;
  overflow: hidden;
  padding-top: 170px;
  padding-bottom: 54px;
}

footer > div {
  font-size: 66px;
  line-height: 1;
}

footer > p {
  margin: 10px 0 0;
}

footer::before,
footer::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 12px;
  width: 145px;
  height: 155px;
  background: url('assets/baroque-flourish.jpeg') center / contain no-repeat;
  mix-blend-mode: multiply;
  opacity: .13;
  pointer-events: none;
}

footer::before {
  left: calc(50% - 145px);
  transform: rotate(-90deg);
}

footer::after {
  right: calc(50% - 145px);
  transform: scaleX(-1) rotate(-90deg);
}

footer > * {
  position: relative;
  z-index: 1;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin: 24px auto 28px;
}

.countdown > div {
  min-width: 72px;
}

.countdown b,
.countdown span {
  display: block;
}

.countdown b {
  font: 400 46px/.9 "Cormorant Garamond", Georgia, serif;
}

.countdown span {
  margin-top: 10px;
  font: 500 7px/1 "Manrope", Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.countdown-finished {
  font: italic 28px/1.2 "Cormorant Garamond", Georgia, serif;
}

@media (max-width: 700px) {
  footer::before,
  footer::after {
    top: 18px;
    width: 105px;
    height: 125px;
    opacity: .1;
  }

  footer::before {
    left: calc(50% - 105px);
  }

  footer::after {
    right: calc(50% - 105px);
  }

  .countdown {
    gap: 10px;
    margin: 22px auto 26px;
  }

  .countdown > div {
    min-width: 62px;
  }

  .countdown b {
    font-size: 38px;
  }

  .wish {
    min-height: 400px;
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .wish::before,
  .wish::after {
    width: 170px;
  }

  .wish::before {
    right: -56px;
  }

  .wish::after {
    left: -56px;
  }

  .dresscode {
    padding-top: 12px;
    grid-template-columns: 1fr;
  }

  .dress-copy {
    width: 100%;
    min-width: 0;
  }

  .dress-copy h2 {
    font-size: clamp(46px, 15vw, 62px);
  }

  .dress-copy .body-copy {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.55;
  }

  .swatches {
    width: min(100%, 252px);
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    gap: 9px;
  }

  .swatches i {
    flex: 0 0 42px;
    height: 54px;
  }

  .palette-label {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }


  .timeline {
    padding-bottom: 38px;
  }

  .timeline-photo {
    width: 88%;
    height: 320px;
    min-height: 0;
    margin: 0 auto;
  }

  .timeline-content {
    grid-template-columns: 1fr;
    gap: 52px;
    margin-top: 56px;
  }

  .timeline-content .timeline-list article {
    grid-template-columns: 55px 1fr;
    min-height: 175px;
  }

  .facts-grid article + article {
    border-top-color: rgba(52, 37, 29, .28);
  }
}

/* Final continuous center canvas: milk paper everywhere except Hilton. */
.chocolate-section,
.story-collage,
.facts,
footer,
.lace-calendar::before {
  background-color: #eee7dc;
  background-image:
    linear-gradient(rgba(238, 231, 220, .74), rgba(238, 231, 220, .74)),
    url('assets/embossed-paper.jpeg');
  background-size: cover;
  background-position: center;
  background-blend-mode: normal;
  color: #34251d;
}

.collage-caption {
  color: #34251d;
  text-shadow: none;
}

.venue-image {
  background: #1c1511;
  background-image: none;
  color: #fff;
}
