/* Programme geometry from Figma Details 5:50 / 180:629 / 180:643.
   Keep all four pieces in the existing row reveal wrapper. */
.programme-line {
  left: calc(158 * var(--d));
  /* The rotated 2px SVG adds 1px to its painted top. */
  top: calc(1205 * var(--d));
  width: calc(288 * var(--d));
}
.programme-row { height: calc(56 * var(--d)); }
.programme-row-one { top: calc(1184 * var(--d)); --time-y: 4.6424560546875; --dot-y: 15.4173583984375; --icon-y: 4; }
.programme-row-two { top: calc(1282.0521240234375 * var(--d)); --time-y: 4.6424560546875; --dot-y: 16.4949951171875; --icon-y: 1.9478759765625; }
.programme-row-three { top: calc(1382.2593994140625 * var(--d)); --time-y: 3.5650634765625; --dot-y: 15.41748046875; --icon-y: .7406005859375; }
.programme-row-four { top: calc(1472.7381591796875 * var(--d)); --time-y: 3.5650634765625; --dot-y: 15.41748046875; --icon-y: 1.2618408203125; }
.programme-row strong {
  left: calc(-114 * var(--d));
  top: calc(var(--time-y) * var(--d));
  height: calc(38.789894104003906 * var(--d));
}

.programme-row .programme-dot {
  position: absolute;
  left: calc(151 * var(--d));
  top: calc(var(--dot-y) * var(--d));
  width: calc(16 * var(--d));
  height: calc(17.24 * var(--d));
}

.programme-row .programme-event {
  position: absolute;
  left: calc(191 * var(--d));
  top: 0;
  width: calc(405 * var(--d));
  height: calc(46.33237838745117 * var(--d));
  color: #fdede7;
  text-align: left;
  text-transform: capitalize;
  font: 500 calc(24 * var(--d)) / 1.8 "EB Garamond";
  white-space: nowrap;
}

.programme-row .programme-art {
  position: absolute;
  display: block;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.programme-row .programme-art img {
  position: absolute;
  display: block;
  max-width: none;
}

.programme-row .programme-reception-icon {
  left: calc(338 * var(--d));
  top: calc(var(--icon-y) * var(--d));
  width: calc(43 * var(--d));
  height: calc(51 * var(--d));
}

.programme-row .programme-reception-icon img {
  left: -414.29%;
  top: -101.19%;
  width: 530.57%;
  height: 201.19%;
}

.programme-row .programme-ceremony-icon {
  left: calc(328 * var(--d));
  top: calc(var(--icon-y) * var(--d));
  width: calc(62 * var(--d));
  height: calc(56 * var(--d));
  border-radius: 0 0 calc(200 * var(--d)) 0;
}

.programme-row .programme-ceremony-icon img {
  left: -264.42%;
  top: -27.08%;
  width: 500.54%;
  height: 252.08%;
}

.programme-row .programme-lunch-icon {
  left: calc(322 * var(--d));
  top: calc(var(--icon-y) * var(--d));
  width: calc(74 * var(--d));
  height: calc(51 * var(--d));
}

.programme-row .programme-lunch-icon img {
  left: -276.2%;
  top: -25.97%;
  width: 381.55%;
  height: 252.2%;
}

.programme-row .programme-culmination-icon {
  left: calc(341 * var(--d));
  top: calc(var(--icon-y) * var(--d));
  width: calc(36 * var(--d));
  height: calc(45 * var(--d));
}

.programme-row .programme-culmination-icon img {
  left: -16.98%;
  top: -13.25%;
  width: 583.96%;
  height: 213.17%;
}

/* Details page: approved All-in-One Get Directions attention rhythm. */
.details-directions.is-visible {
  transform-origin: center;
  animation: details-directions-pulse 3.2s ease-in-out infinite;
}

@keyframes details-directions-pulse {
  0%,
  72%,
  100% {
    transform: scale(1);
  }

  82% {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .details-directions.is-visible {
    animation: none;
  }
}

.details-return {
  top: calc(1772 * var(--d));
}

.details-return-heart {
  left: calc(11 * var(--d));
  top: 0;
  width: calc(58 * var(--d));
  height: calc(62 * var(--d));
  transform-origin: 50% 55%;
}

/* Let the SVG viewport contain the original crop, without offsetting a lazy image. */
.details-return-heart svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.details-return.is-visible .details-return-heart {
  animation: heart-beat 2.6s ease-in-out 1s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .details-return.is-visible .details-return-heart {
    animation: none;
  }
}

.colors-return-heart {
  animation-name: heart-beat;
  animation-duration: 2.6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: 4.6s;
}

@media (prefers-reduced-motion: reduce) {
  .colors-return-heart {
    animation: none;
  }
}

.verse-return-heart {
  animation-delay: 1.7s;
}

.rsvp-return-heart {
  position: absolute;
  left: calc(12 * var(--r));
  top: calc(18 * var(--r));
  width: calc(58 * var(--r));
  height: calc(62 * var(--r));
  overflow: hidden;
  transform-origin: 50% 55%;
  animation: heart-beat 2.6s ease-in-out 1s infinite;
  pointer-events: none;
}

.rsvp-form-reference { height: calc(1100 * var(--r)); }
body.rsvp-active:not(.rsvp-confirmed):not(.rsvp-declined) .story-flow { aspect-ratio: 430 / 1100; }
.rsvp-form-screen { height: calc(1100 * var(--r)); }
.rsvp-return { height: calc(110 * var(--r)); }
.rsvp-return-label {
  position: absolute;
  top: calc(86 * var(--r));
  left: 50%;
  transform: translateX(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: calc(12 * var(--r));
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
  color: #41314B;
  white-space: nowrap;
}

.rsvp-return-heart svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .rsvp-return-heart { animation: none; }
}
