@font-face {
  font-family: "Cormorant Garamond";
  src: url("https://static.tildacdn.com/tila6331-3235-4838-b030-383531613232/CormorantGaramond.woff") format("woff");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Shelley Volante";
  src: url("https://static.tildacdn.com/tila3433-6661-4365-a333-656630353132/ShelleyVolante.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Shelley Regular";
  src: url("https://static.tildacdn.com/tila3632-6662-4063-b732-633465313934/Shelley-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Full-viewport landscape on the letter cover */
#rec6157691601 .letter-fullscreen-landscape {
  inset: 0 auto auto 0 !important;
  width: 100% !important;
  height: 100% !important;
  zoom: 1 !important;
}

#rec6157691601 .letter-fullscreen-landscape .tn-atom,
#rec6157691601 .letter-fullscreen-landscape .tn-atom__img {
  width: 100%;
  height: 100%;
}

#rec6157691601 .letter-fullscreen-landscape .tn-atom__img {
  object-fit: cover;
}

/* Continuous paper from the greeting through the venue and dress code */
#rec6157691501,
#rec6161847301,
#rec6162638201 {
  --venue-stripe: clamp(17px, 4.722222vw, 22.67px);
}

#rec6161847301 .venue-stripes,
#rec6162638201 .venue-stripes {
  top: 0 !important;
  height: 100% !important;
  zoom: 1 !important;
}

#rec6161847301 .venue-stripes-straight {
  left: 0 !important;
  width: 100% !important;
}

#rec6162638201 .venue-stripes-oval {
  left: -52px !important;
  width: calc(100% + 104px) !important;
}

#rec6157691501 .t396__carrier,
#rec6161847301 .venue-stripes .tn-atom,
#rec6162638201 .venue-stripes .tn-atom {
  background-image: linear-gradient(90deg, #eee6de 0 50%, #f2ece7 50% 100%) !important;
  background-size: calc(var(--venue-stripe) * 2) 100% !important;
  background-position: center top !important;
  background-repeat: repeat-x !important;
}

#allrecords {
  --dress-paper-span: 136.3889vw;
  --program-paper-span: 284.7222vw;
}

/* Repeat at a fixed scale to keep the paper grain crisp on mobile. */
#allrecords .venue-paper {
  inset: 0 auto auto 0 !important;
  width: 100% !important;
  height: 100% !important;
  zoom: 1 !important;
  z-index: 2 !important;
}

#allrecords .venue-paper .tn-atom {
  width: 100% !important;
  height: 100% !important;
  background-color: #f2ece7;
  background-image: url("https://static.tildacdn.com/tila3839-3239-4164-a432-396466623738/fine-paper-texture.webp");
  background-size: 1440px auto;
  background-repeat: repeat;
  background-position: center top;
}

#allrecords .venue-paper .tn-atom__img {
  display: none;
}

#allrecords .venue-paper-before .tn-atom {
  background-position: center bottom;
}

#allrecords .venue-paper-program .tn-atom {
  background-position: center calc(0px - var(--dress-paper-span));
}

#allrecords .venue-paper-countdown .tn-atom {
  background-position: center calc(0px - var(--dress-paper-span) - var(--program-paper-span));
}

@media (min-width: 480px) {
  #allrecords { --dress-paper-span: 101.6667vw; --program-paper-span: 217.9167vw; }
}
@media (min-width: 640px) {
  #allrecords { --dress-paper-span: 78.2813vw; --program-paper-span: 166.7188vw; }
}
@media (min-width: 960px) {
  #allrecords { --dress-paper-span: 55.0000vw; --program-paper-span: 117.8125vw; }
}
@media (min-width: 1200px) {
  #allrecords { --dress-paper-span: 45.3333vw; --program-paper-span: 97.6667vw; }
}

@media (min-width: 480px) {
  #rec6157691501,
  #rec6161847301,
  #rec6162638201 {
    --venue-stripe: 19px;
  }
}

#allrecords { --countdown-paper-span: 80vw; }
@media (min-width: 480px) { #allrecords { --countdown-paper-span: 62.0833vw; } }
@media (min-width: 640px) { #allrecords { --countdown-paper-span: 48.4375vw; } }
@media (min-width: 960px) { #allrecords { --countdown-paper-span: 33.6458vw; } }
@media (min-width: 1200px) { #allrecords { --countdown-paper-span: 27.8333vw; } }

#allrecords :is(.venue-paper-countdown, .venue-paper-kids) > .tn-atom {
  position: relative;
}
#allrecords :is(.venue-paper-countdown, .venue-paper-kids) > .tn-atom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: brightness(0.875) contrast(1.33);
  pointer-events: none;
}
#allrecords .venue-paper-countdown > .tn-atom::before {
  mask-image: linear-gradient(transparent, black 32px);
}
#allrecords .venue-paper-kids .tn-atom {
  background-position: center calc(0px - var(--dress-paper-span) - var(--program-paper-span) - var(--countdown-paper-span));
}
#rec6168062201 .kids-fly-target,
#rec6168062201 .kids-fly-item { cursor: pointer; }
#rec6168062201 .kids-fly-target:focus-visible {
  outline: 2px solid #5a4628;
  outline-offset: 3px;
  border-radius: 50%;
}

/* The same dark paper continues behind the RSVP and the coordinator details. */
#allrecords { --rsvp-paper-span: 156.3889vw; }
#allrecords .wedding-dark-paper {
  inset: 0 auto auto 0 !important;
  width: 100% !important;
  height: 100% !important;
  zoom: 1 !important;
  z-index: 2 !important;
}
#allrecords .wedding-dark-paper .tn-atom {
  width: 100% !important;
  height: 100% !important;
  background: #2d2219 url("https://static.tildacdn.com/tila6339-3534-4334-b638-316261393034/rsvp-contact-paper.webp") center top / 1120px auto repeat;
}
#allrecords .wedding-dark-paper .tn-atom__img { display: none; }
#allrecords .wedding-dark-paper-contact .tn-atom {
  background-position: center calc(0px - var(--rsvp-paper-span));
}
@media (min-width: 480px) { #allrecords { --rsvp-paper-span: 119.375vw; } }
@media (min-width: 640px) { #allrecords { --rsvp-paper-span: 91.875vw; } }
@media (min-width: 960px) { #allrecords { --rsvp-paper-span: 63.3333vw; } }
@media (min-width: 1200px) { #allrecords { --rsvp-paper-span: 51.75vw; } }

/* Keep the original podium and caption above the RSVP section. */
#rec6168062201 { position: relative; z-index: 3; }
#allrecords #rec6168062201 .t396__artboard {
  overflow: visible !important;
}
#rec6168781101 { position: relative; z-index: 1; }
#rec6168974601 { position: relative; z-index: 2; }
#rec6168781101 .wedding-podium-spill {
  display: none;
}
#allrecords.wedding-dark-paper-joined #rec6168781101 .t396__artboard {
  overflow: visible !important;
}
#allrecords.wedding-dark-paper-joined #rec6168781101 .wedding-dark-paper-rsvp {
  height: var(--wedding-dark-paper-height) !important;
}
#allrecords.wedding-dark-paper-joined #rec6168974601 .t396__artboard {
  background-color: transparent !important;
}
#allrecords.wedding-dark-paper-joined #rec6168974601 .wedding-dark-paper-contact {
  visibility: hidden;
}

/* Let the same sheet of dark paper continue behind the farewell collage. */
#allrecords { --contacts-paper-span: 79.7222vw; }
#rec6170874901 { position: relative; z-index: 2; }
#allrecords .wedding-dark-paper-farewell .tn-atom {
  background-position: center calc(0px - var(--rsvp-paper-span) - var(--contacts-paper-span));
}
#allrecords.wedding-dark-paper-joined #rec6170874901 .t396__artboard {
  background-color: transparent !important;
}
#allrecords.wedding-dark-paper-joined #rec6170874901 .wedding-dark-paper-farewell {
  visibility: hidden;
}
@media (min-width: 480px) { #allrecords { --contacts-paper-span: 62.5vw; } }
@media (min-width: 640px) { #allrecords { --contacts-paper-span: 48.9063vw; } }
@media (min-width: 960px) { #allrecords { --contacts-paper-span: 34.5833vw; } }
@media (min-width: 1200px) { #allrecords { --contacts-paper-span: 28.9167vw; } }

@keyframes letter-tassel-sway {
  from { transform: rotate(-2deg); }
  to { transform: rotate(2deg); }
}

@media (prefers-reduced-motion: no-preference) {
  #rec6157691601:not(.letter-curtains-open) [data-elem-id="1795520432062000003"] .tn-atom__img {
    transform-origin: center top;
    animation: letter-tassel-sway 2.4s ease-in-out -1.2s infinite alternate;
  }
}

#rec6168062201 [data-elem-id="1795528560210000006"] .tn-atom {
  text-shadow: 0 1px 2px rgba(45, 31, 19, .88), 0 0 7px rgba(45, 31, 19, .65) !important;
}
