:root {
  --paper: #f8f5ec;
  --ink: #354e5a;
  --blue: #c7dce9;
  --peach: #edb28d;
  --line: #354e5a30;
  --serif: "Cormorant Garamond", Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #416e8a;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 99;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 5vw;
}
.monogram {
  font: italic 42px var(--serif);
  letter-spacing: -5px;
}
.monogram span {
  font-size: 27px;
  margin: 0 4px;
}
.rsvp-link {
  font-size: 14px;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
}
.rsvp-link span {
  margin-left: 18px;
}
.hero {
  min-height: 850px;
  height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: -8%;
  z-index: -3;
  background: var(--blue) url("garden.webp") center 48% / cover;
  will-change: transform;
}
.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      #f8f5ec65,
      transparent 25%,
      #f8f5ec20 70%,
      var(--paper)
    ),
    radial-gradient(ellipse at 50% 42%, #f8f5ecbd 0, transparent 55%);
}
.hero-copy {
  margin-top: -30px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.3px;
  margin: 0 0 24px;
}
.hero h1 {
  font: 500 clamp(88px, 10vw, 145px)/0.79 var(--serif);
  letter-spacing: -5px;
  margin: 34px 0;
}
.amp {
  display: block;
  font: italic 48px/1.25 var(--serif);
  color: #a46f50;
  letter-spacing: 0;
}
.hero-note {
  font: italic 23px/1.35 var(--serif);
  margin: 30px 0;
}
.date-line {
  font-size: 12px;
  letter-spacing: 2px;
  margin-top: 32px;
}
.date-line span {
  padding: 0 10px;
}
.scroll-cue {
  position: absolute;
  bottom: 57px;
  display: grid;
  justify-items: center;
  gap: 13px;
  font-size: 12px;
  letter-spacing: 1px;
}
.scroll-line {
  height: 40px;
  width: 1px;
  background: var(--ink);
  transform-origin: top;
  animation: line 2.5s ease-in-out infinite;
}
.demo-tag {
  position: absolute;
  bottom: 16px;
  font-size: 12px;
  color: #536973;
}
.chapter {
  padding: 130px max(7vw, 24px);
}
.when {
  text-align: center;
  position: relative;
}
.date-composition {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9vw;
  margin: 50px auto;
}
.script {
  font: italic clamp(42px, 5vw, 70px)/1.1 var(--serif);
  text-align: left;
}
.date-seal {
  border: 1px solid #8baabc;
  border-radius: 50% 50% 4px 4px;
  padding: 40px 45px 32px;
  background: #c7dce93b;
  min-width: 235px;
}
.date-seal span {
  display: block;
  font-size: 14px;
}
.date-seal strong {
  display: block;
  font: 500 112px/0.8 var(--serif);
  margin: -0.225em 0 0.24em;
}
.event-times {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}
.tiny {
  font-size: 12px;
  letter-spacing: 2px;
}
.event-times p {
  font: 48px/1 var(--serif);
  margin: -0.25em 0 -0.1em;
}
.event-times i {
  font-size: 26px;
}
.event-times > div > span:last-child {
  font-size: 14px;
}
.divider {
  height: 85px;
  width: 1px;
  background: var(--line);
}
.small {
  font: italic 22px var(--serif);
  margin-top: 50px;
}
.interlude {
  background: #d8e5ea;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10vw;
  padding: 100px 8vw;
  overflow: hidden;
}
.photo-frame {
  background: #fffaf0;
  padding: 16px 16px 5px;
  width: 330px;
  transform: rotate(-6deg);
  box-shadow: 0 18px 35px #354e5a15;
}
.photo-placeholder {
  height: 355px;
  background:
    radial-gradient(ellipse at 25% 30%, #f3d7ba, transparent 65%),
    linear-gradient(135deg, #f3dfc7, #c1d6d9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 22px;
  color: #49616b;
}
.photo-number {
  font: italic 23px var(--serif);
}
.photo-caption {
  font: 44px/1.1 var(--serif);
}
.photo-label {
  font-size: 10px;
  letter-spacing: 2px;
}
.photo-frame > p,
.memory-card > p {
  font: italic 22px var(--serif);
  text-align: center;
  margin: 17px 0;
}
.interlude-copy {
  max-width: 420px;
}
h2 {
  font: 400 clamp(52px, 6vw, 85px)/1.02 var(--serif);
  letter-spacing: -2px;
  margin: 25px 0 32px;
}
h2 i {
  font-weight: 400;
}
.where {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10vw;
  padding-top: 150px;
  padding-bottom: 150px;
}
.venue-copy {
  max-width: 450px;
}
.venue-name {
  font: 32px var(--serif);
  margin-bottom: 8px;
}
.venue-note {
  font: italic 23px/1.4 var(--serif);
  margin-top: 30px;
}
.location-note {
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
}
.venue-arch {
  width: 350px;
  height: 480px;
  flex-shrink: 0;
  border-radius: 180px 180px 0 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  box-shadow: 12px 14px 0 #e8b49155;
}
.venue-art {
  position: absolute;
  inset: 0;
  background: url("garden.webp") center/cover;
}
.venue-arch > span {
  z-index: 1;
  width: 100%;
  background: linear-gradient(transparent, #f8f5eef0);
  padding: 65px 20px 25px;
  font: italic 24px var(--serif);
}
.memory-strip {
  background: #eee4d8;
  padding: 90px 24px 110px;
}
.memory-title {
  text-align: center;
}
.memories {
  display: flex;
  justify-content: center;
  gap: 55px;
  margin: 55px auto 0;
}
.memory-card {
  width: 290px;
  background: #fffaf1;
  padding: 12px;
  box-shadow: 0 9px 25px #354e5a12;
}
.memory-card:first-child {
  transform: rotate(-5deg);
}
.memory-card:last-child {
  transform: rotate(5deg);
  margin-top: 55px;
}
.memory-card .photo-placeholder {
  height: 300px;
}
.memory-card .photo-caption {
  font-size: 36px;
}
.blue {
  background: linear-gradient(150deg, #e5edf0, #a8c8d9);
}
.peach {
  background: linear-gradient(140deg, #f6e4cd, #e6b99d);
}
.rsvp {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7vw;
  background: radial-gradient(
    ellipse at bottom left,
    #c5dce780,
    transparent 65%
  );
}
.rsvp-intro {
  max-width: 430px;
}
.rsvp-intro > p:not(.eyebrow) {
  max-width: 365px;
}
.reply-by {
  font-size: 14px;
  margin-top: 30px;
}
.form-card {
  width: 450px;
  max-width: 100%;
  flex-shrink: 0;
  padding: 35px;
  background: #fffcf5;
  border: 1px solid #b3c6cc;
  box-shadow: 9px 9px 0 #c4d9e14a;
}
.form-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 2px;
}
.form-progress {
  height: 2px;
  background: #dce4e5;
  margin: 18px 0 30px;
}
.form-progress span {
  display: block;
  height: 100%;
  width: 33.33%;
  background: #6b8fa2;
  transition: width 0.5s;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font: 36px/1.15 var(--serif);
  margin-bottom: 10px;
}
.field-note {
  font-size: 14px;
  margin: 0 0 25px;
}
.choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #b8cbd0;
  padding: 18px;
  margin: 12px 0;
  cursor: pointer;
  transition: background 0.25s;
}
.choice:has(input:checked) {
  background: #dfebef;
  border-color: #6b8fa2;
}
.choice input {
  position: absolute;
  opacity: 0;
}
.choice:focus-within {
  outline: 2px solid #416e8a;
  outline-offset: 3px;
}
.choice small,
.plus-one small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: #61737a;
}
.radio-dot {
  width: 18px;
  height: 18px;
  border: 1px solid #8299a3;
  border-radius: 50%;
  margin-left: 12px;
  flex-shrink: 0;
}
.choice:has(input:checked) .radio-dot {
  background: #6b8fa2;
  box-shadow: inset 0 0 0 4px #dfebef;
}
.input-label {
  display: block;
  font-size: 14px;
  margin: 24px 0 8px;
}
.input-label span {
  font-size: 12px;
  color: #6c7a80;
  margin-left: 7px;
}
input[type="text"],
input:not([type]),
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #b8cbd0;
  border-radius: 0;
  background: #f6f3eb;
  padding: 13px 12px;
  color: var(--ink);
  font-size: 16px;
}
textarea {
  resize: vertical;
  min-height: 130px;
}
.plus-one {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-top: 28px;
  gap: 12px;
}
.plus-one input {
  width: 22px;
  height: 22px;
  accent-color: #54788b;
}
.form-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 25px;
}
.primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  padding: 15px 20px;
  background: #3e5c6c;
  color: #fffdf6;
  border: 0;
  font-size: 14px;
  min-height: 50px;
}
.primary:hover {
  background: #2e4958;
}
#back,
#restart {
  background: none;
  border: 0;
  border-bottom: 1px solid #9aadb4;
  padding: 10px 0;
  color: var(--ink);
  min-height: 44px;
}
.demo-note {
  font-size: 12px;
  line-height: 1.5;
  color: #61737a;
  margin-top: 20px;
}
.form-error {
  font-size: 14px;
  color: #a04c30;
  margin: 10px 0;
}
.form-error:empty {
  display: none;
}
.summary {
  font-size: 14px;
  padding-top: 14px;
}
.confirmation-mark {
  font: 90px var(--serif);
  color: #b57852;
  display: block;
  animation: bloom 1s ease both;
}
#confirmation {
  text-align: center;
  padding: 20px 0;
}
#confirmation h3 {
  font: 48px/1.05 var(--serif);
  margin: 20px 0;
}
footer {
  text-align: center;
  padding: 70px 20px 35px;
  border-top: 1px solid var(--line);
}
.footer-names {
  font: 40px var(--serif);
}
footer p {
  font-size: 12px;
  letter-spacing: 1.5px;
}
footer > span {
  font-size: 12px;
  color: #65777e;
}
.js .reveal {
  opacity: 0;
  translate: 0 38px;
  transition:
    opacity 1s,
    translate 1.1s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.js .reveal.visible {
  opacity: 1;
  translate: 0 0;
}
@keyframes line {
  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}
@keyframes bloom {
  from {
    opacity: 0;
    transform: scale(0.3) rotate(-30deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@media (min-width: 1000px) {
  .hero-art {
    background-size: auto 125%;
    background-repeat: no-repeat;
    background-color: #eeeede;
  }
  .hero h1 {
    font-size: 130px;
  }
  .hero-wash {
    background:
      linear-gradient(180deg, #f8f5ec50, transparent 65%, var(--paper)),
      radial-gradient(ellipse at center, #f8f5ec60, transparent 55%);
  }
}
@media (max-width: 700px) {
  header {
    padding: 18px 24px;
  }
  .monogram {
    font-size: 36px;
  }
  .rsvp-link {
    font-size: 13px;
  }
  .hero {
    height: 100svh;
    min-height: 760px;
    max-height: 1050px;
  }
  .hero-art {
    inset: -3% -17%;
    background-position: center center;
  }
  .hero-copy {
    margin-top: -38px;
  }
  .hero h1 {
    font-size: 91px;
    letter-spacing: -3px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
  }
  .hero-note {
    font-size: 21px;
  }
  .date-line {
    font-size: 10px;
    letter-spacing: 1.4px;
  }
  .scroll-cue {
    bottom: 62px;
  }
  .demo-tag {
    font-size: 10px;
  }
  .chapter {
    padding: 85px 25px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.8px;
  }
  .date-composition {
    gap: 25px;
    margin: 35px 0;
  }
  .script {
    font-size: 39px;
  }
  .date-seal {
    min-width: 155px;
    padding: 28px 15px 23px;
  }
  .date-seal strong {
    font-size: 83px;
  }
  .date-seal span {
    font-size: 12px;
  }
  .event-times {
    gap: 20px;
    align-items: stretch;
  }
  .event-times > div {
    flex: 1;
  }
  .event-times p {
    font-size: 39px;
    margin-bottom: 0.02em;
  }
  .event-times > div > span:last-child {
    font-size: 12px;
    line-height: 1.5;
    display: block;
  }
  .tiny {
    font-size: 10px;
    letter-spacing: 1.4px;
  }
  .small {
    font-size: 21px;
    margin-top: 35px;
  }
  .interlude {
    padding: 65px 25px 75px;
    flex-direction: column;
    gap: 50px;
  }
  .photo-frame {
    width: 250px;
    padding: 12px 12px 3px;
  }
  .photo-placeholder {
    height: 290px;
  }
  .interlude-copy {
    text-align: center;
  }
  h2 {
    font-size: 58px;
    letter-spacing: -1.5px;
    margin: 20px 0 25px;
  }
  .interlude-copy h2 {
    font-size: 68px;
  }
  .where {
    flex-direction: column;
    gap: 42px;
    align-items: stretch;
  }
  .venue-copy {
    text-align: center;
  }
  .venue-arch {
    width: 85%;
    height: 390px;
    align-self: center;
  }
  .memory-strip {
    padding: 65px 24px 80px;
  }
  .memory-title h2 {
    font-size: 49px;
  }
  .memories {
    gap: 15px;
    margin-top: 40px;
    align-items: flex-start;
  }
  .memory-card {
    width: 48%;
    padding: 8px;
  }
  .memory-card .photo-placeholder {
    height: 220px;
    padding: 12px 7px;
  }
  .memory-card .photo-caption {
    font-size: 27px;
  }
  .memory-card .photo-label {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .memory-card > p {
    font-size: 16px;
    line-height: 1.2;
    margin: 13px 0;
  }
  .memory-card:last-child {
    margin-top: 35px;
  }
  .rsvp {
    flex-direction: column;
    gap: 30px;
  }
  .rsvp-intro {
    text-align: center;
  }
  .rsvp-intro h2 {
    font-size: 54px;
  }
  .rsvp-intro > p:not(.eyebrow) {
    font-size: 14px;
  }
  .form-card {
    padding: 26px 23px;
  }
  .form-card legend {
    font-size: 34px;
  }
  .form-card input,
  .form-card textarea {
    font-size: 16px;
  }
  footer {
    padding: 50px 20px 25px;
  }
}
@media (max-width: 360px) {
  .date-composition {
    gap: 15px;
  }
  .script {
    font-size: 32px;
  }
  .date-seal {
    min-width: 140px;
  }
  .rsvp-intro h2 {
    font-size: 47px;
  }
  .chapter {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* The garden is a stack of independently animated transparent artwork layers. */
header {
  position: fixed;
  padding-top: 16px;
  padding-bottom: 16px;
  pointer-events: none;
}
header > a {
  pointer-events: auto;
}
.monogram {
  padding: 0 12px;
  background: #f8f5ecba;
  border-radius: 50%;
  backdrop-filter: blur(8px);
}
.rsvp-link {
  padding: 10px 17px;
  border: 1px solid #49616b44;
  border-radius: 30px;
  background: #f8f5ece8;
  backdrop-filter: blur(10px);
}
.hero {
  height: 235svh;
  min-height: 1500px;
  max-height: none;
  display: block;
  overflow: clip;
  isolation: isolate;
}
.scene-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 600px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.scene-world {
  position: absolute;
  inset: -12px;
  z-index: -3;
  transition: translate 1.6s ease-out;
}
.scene-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(#d6e7ed, #f7f3e6 65%);
}
.scene-distance {
  position: absolute;
  inset: -4%;
  background: url("distance-vivid.webp") center 60% / cover;
  transform-origin: 50% 62%;
  will-change: transform;
}
.scene-haze {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 28%, #fff9eb66, transparent 60%);
  animation: breathe-light 12s ease-in-out infinite alternate;
}
.scene-arch {
  position: absolute;
  inset: -4% -6%;
  background: url("arch-vivid.webp") center/100% 100% no-repeat;
  transform-origin: 50% 55%;
  will-change: transform, opacity;
}
.hero-wash {
  z-index: -1;
  background:
    radial-gradient(
      ellipse at 50% 40%,
      #fff9efbf 0,
      #fff9ef75 22%,
      transparent 52%
    ),
    linear-gradient(0deg, #f8f5ec60, transparent 18%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
  text-shadow: 0 2px 20px #fffaf0;
}
.hero h1 {
  font-size: clamp(95px, 10vw, 145px);
}
.scene-branch {
  position: absolute;
  width: clamp(220px, 34vw, 540px);
  height: clamp(220px, 34vw, 540px);
  will-change: transform;
  pointer-events: none;
}
.branch-left {
  left: -12%;
  top: -10%;
  rotate: 30deg;
  filter: blur(0.3px);
}
.branch-right {
  right: -12%;
  top: 7%;
  rotate: -65deg;
}
.branch-low {
  left: -12%;
  bottom: -15%;
  rotate: 130deg;
  filter: blur(1px);
  width: 40vw;
  height: 40vw;
}
.botanical {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("botanicals.webp");
  background-size: 200% 200%;
  background-repeat: no-repeat;
}
.leafy {
  background-position: 0 0;
}
.flowering {
  background-position: 100% 0;
}
.single-petal {
  background-position: 0 100%;
}
.single-leaf {
  background-position: 100% 100%;
}
.scene-branch > .botanical,
.chapter-sprig > .botanical {
  transform-origin: 15% 85%;
  animation: branch-wind 7s ease-in-out infinite alternate;
}
.branch-right > .botanical {
  animation-duration: 9s;
  animation-delay: -4s;
  transform-origin: 80% 80%;
}
.branch-low > .botanical {
  animation-duration: 6s;
  animation-delay: -2s;
}
.petal-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.drifting-petal {
  position: absolute;
  left: var(--x);
  top: -10%;
  width: var(--size);
  height: var(--size);
  animation: petal-fall var(--duration) var(--delay) linear infinite;
  opacity: 0;
  will-change: transform;
}
.drifting-petal > i {
  animation: petal-tumble 4s ease-in-out infinite alternate;
}
.scene-light {
  position: absolute;
  inset: -25%;
  background: linear-gradient(
    115deg,
    transparent 32%,
    #fff8da27 42%,
    transparent 49%,
    #fff8da22 58%,
    transparent 65%
  );
  mix-blend-mode: screen;
  animation: sunlight 16s ease-in-out infinite alternate;
  pointer-events: none;
}
.journey-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 40%;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-shadow: 0 2px 25px #fffcf1;
}
.journey-caption > p:last-child {
  font: 60px/0.98 var(--serif);
  letter-spacing: -1px;
  margin: 0;
}
.journey-caption .eyebrow {
  margin-bottom: 22px;
}
.journey-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #f8f5ec33;
}
.journey-progress span {
  display: block;
  height: 100%;
  background: #567b8c;
  transform: scaleX(0);
  transform-origin: left;
}
.scene-paused .botanical,
.scene-paused .drifting-petal,
.scene-paused .scene-light,
.scene-paused .scene-haze {
  animation-play-state: paused;
}
.chapter {
  position: relative;
  overflow: clip;
}
.chapter-sprig {
  position: absolute;
  width: 200px;
  height: 200px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.sprig-left {
  left: -70px;
  top: 10px;
  rotate: 25deg;
}
.sprig-right {
  right: -70px;
  bottom: -40px;
  rotate: -90deg;
}
.when > .reveal,
.rsvp > .reveal {
  position: relative;
}
.venue-art {
  inset: -8%;
  background-image: url("distance-vivid.webp");
  animation: garden-breathe 15s ease-in-out infinite alternate;
}
.venue-frame {
  position: absolute;
  inset: 0;
  background: url("arch-vivid.webp") center/100% 100%;
  animation: frame-breathe 9s ease-in-out infinite alternate;
  transform-origin: bottom;
}
.photo-frame,
.memory-card {
  transition: rotate 0.35s ease-out;
  will-change: rotate;
}
.photo-frame {
  transform: none;
  rotate: -5deg;
}
.memory-card:first-child {
  transform: none;
  rotate: -4deg;
}
.memory-card:last-child {
  transform: none;
  rotate: 4deg;
}
fieldset:not([hidden]) {
  animation: form-arrival 0.45s ease both;
}
@keyframes branch-wind {
  0% {
    transform: rotate(-3deg) skewX(-1deg);
  }
  55% {
    transform: rotate(2deg) skewX(1deg);
  }
  100% {
    transform: rotate(5deg) skewX(-2deg);
  }
}
@keyframes petal-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -4vh, 0) rotate(0);
  }
  10% {
    opacity: 0.85;
  }
  50% {
    transform: translate3d(calc(var(--drift) * -0.4), 55vh, 0) rotate(170deg);
  }
  90% {
    opacity: 0.75;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift), 115vh, 0) rotate(330deg);
  }
}
@keyframes petal-tumble {
  from {
    transform: rotate(-35deg) scaleX(0.55);
  }
  to {
    transform: rotate(40deg) scaleX(1);
  }
}
@keyframes sunlight {
  from {
    transform: translateX(-3%) rotate(-4deg);
    opacity: 0.4;
  }
  to {
    transform: translateX(5%) rotate(3deg);
    opacity: 1;
  }
}
@keyframes breathe-light {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}
@keyframes garden-breathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05) translateY(-1%);
  }
}
@keyframes frame-breathe {
  from {
    transform: rotate(-0.5deg) scale(1.01);
  }
  to {
    transform: rotate(0.5deg) scale(1.025);
  }
}
@keyframes form-arrival {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 900px) {
  .scene-arch {
    inset: -20% 0 -30%;
    background-size: 100% 100%;
  }
  .scene-distance {
    background-position: 50% 65%;
  }
  .hero-copy {
    margin-top: 0;
  }
  .branch-left {
    left: -8%;
    top: -18%;
  }
  .branch-right {
    right: -7%;
    top: 2%;
  }
  .hero-wash {
    background: radial-gradient(
      ellipse at 50% 44%,
      #fff9efaa 0,
      transparent 55%
    );
  }
}
@media (max-width: 700px) {
  .hero {
    height: 230svh;
    min-height: 1350px;
  }
  .scene-stage {
    min-height: 590px;
  }
  .scene-arch {
    inset: -1% -20% -4%;
    background-size: 100% 100%;
  }
  .hero h1 {
    font-size: 92px;
  }
  .hero-copy {
    margin-top: -5px;
  }
  .scene-distance {
    inset: -3% -30%;
    background-position: center;
  }
  .branch-left {
    left: -28%;
    top: -3%;
    width: 65vw;
    height: 65vw;
  }
  .branch-right {
    right: -28%;
    top: 15%;
    width: 65vw;
    height: 65vw;
  }
  .branch-low {
    left: -30%;
    bottom: -8%;
    width: 80vw;
    height: 80vw;
  }
  .journey-caption > p:last-child {
    font-size: 54px;
  }
  .scene-stage .scroll-cue {
    bottom: 62px;
  }
  .hero .demo-tag {
    bottom: 17px;
  }
  .chapter-sprig {
    width: 155px;
    height: 155px;
  }
  .sprig-left {
    left: -75px;
    top: 0;
  }
  .sprig-right {
    right: -65px;
    bottom: -40px;
  }
}

/* Warm timber tones and light filtered through the venue's skylights. */
:root {
  --timber: #a88160;
  --woven: #dfc6a3;
}
.form-card {
  border-color: #b39a7c;
  box-shadow: 9px 9px 0 #dbc5a245;
}
.form-top {
  color: #806349;
}
.venue-arch {
  box-shadow: 12px 14px 0 #b9967038;
  border: 1px solid #b9967077;
}
.where {
  background: linear-gradient(
    113deg,
    transparent 27%,
    #dec49e15 27%,
    #dec49e15 28%,
    transparent 28%,
    transparent 53%,
    #dec49e15 53%,
    #dec49e15 54%,
    transparent 54%
  );
}
.date-seal {
  border-color: #a28767;
}
.botanical {
  background-size: 200% 175%;
}
.single-petal,
.single-leaf {
  background-size: 200% 240%;
}
.photo-placeholder {
  position: relative;
}
.location-note {
  display: inline-block;
  padding: 12px 0;
  min-height: 44px;
}
.scene-stage .date-line {
  max-width: 90vw;
  margin-inline: auto;
}

.motion-toggle {
  position: fixed;
  z-index: 20;
  bottom: 16px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f5ecee;
  border: 1px solid #354e5a33;
  border-radius: 24px;
  padding: 10px 14px;
  color: var(--ink);
  font-size: 12px;
  min-height: 44px;
  backdrop-filter: blur(10px);
}
.motion-toggle::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid #668392;
  border-radius: 50%;
  background: #668392;
}
.reduce-motion .motion-toggle::before {
  background: transparent;
}
html.reduce-motion {
  scroll-behavior: auto;
}
.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}
.reduce-motion .hero {
  height: 100svh;
  min-height: 700px;
}
.reduce-motion .scene-stage {
  position: relative;
  height: 100%;
  min-height: 700px;
}
.reduce-motion .scene-world,
.reduce-motion .scene-distance,
.reduce-motion .scene-arch,
.reduce-motion .scene-branch,
.reduce-motion .hero-copy {
  transform: none !important;
  translate: none !important;
  opacity: 1 !important;
}
.reduce-motion .hero-copy {
  visibility: visible !important;
}
.reduce-motion .journey-caption,
.reduce-motion .petal-field,
.reduce-motion .journey-progress {
  display: none;
}
.reduce-motion .photo-frame,
.reduce-motion .memory-card {
  rotate: 0deg !important;
}
.reduce-motion .scroll-cue {
  opacity: 1 !important;
}
.reduce-motion .reveal {
  opacity: 1 !important;
  translate: none !important;
}

.breeze-button {
  position: absolute;
  bottom: 153px;
  z-index: 4;
  color: var(--ink);
  font: italic 18px var(--serif);
  padding: 9px 15px;
  min-height: 44px;
  border: 1px solid #6c887b50;
  border-radius: 24px;
  background: #f8f5ecb0;
  backdrop-filter: blur(5px);
}
.breeze-button span {
  margin-left: 8px;
}
.breeze-button:disabled {
  opacity: 0.6;
}
.gust .scene-branch > .botanical {
  animation: wind-gust 3.5s ease-in-out both;
}
.gust-petal {
  position: absolute;
  width: 30px;
  height: 30px;
  left: var(--start);
  bottom: 18%;
  animation: breeze-burst 3s var(--lag) ease-out both;
  pointer-events: none;
}
.gust-petal > i {
  rotate: var(--turn);
}
@keyframes wind-gust {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(15deg) skewX(-4deg);
  }
  55% {
    transform: rotate(-7deg) skewX(3deg);
  }
  80% {
    transform: rotate(4deg);
  }
}
@keyframes breeze-burst {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0) scale(0.4);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--end), -65vh) rotate(280deg) scale(1.1);
  }
}
.reduce-motion .breeze-button {
  display: none;
}
.breeze-button {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  overflow: hidden;
}
.breeze-button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #7497a8;
  transform: scaleX(0);
  transform-origin: left;
}
.breeze-button.charging::after {
  animation: charge-breeze 0.9s linear forwards;
}
.strong-gust .scene-branch > .botanical {
  animation: strong-wind 3.5s ease-in-out both;
}
@keyframes charge-breeze {
  to {
    transform: scaleX(1);
  }
}
@keyframes strong-wind {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(24deg) skewX(-6deg);
  }
  55% {
    transform: rotate(-10deg) skewX(4deg);
  }
  80% {
    transform: rotate(5deg);
  }
}
/* Ellen & Tommy: open scenery, legible invitation panels, one photo chapter. */
.scene-world {
  inset: -8px;
}
.scene-distance {
  inset: -2%;
  background-size: cover;
  background-position: center 58%;
  width: auto;
}
.scene-arch {
  inset: 0 0 -4%;
  background-size: 100% 100%;
  opacity: 0.8;
}
.scene-branch {
  width: clamp(110px, 17vw, 250px);
  height: clamp(110px, 17vw, 250px);
}
.branch-left {
  left: -4%;
  top: 3%;
  rotate: 22deg;
}
.branch-right {
  right: -4%;
  top: 16%;
  rotate: -45deg;
}
.branch-low {
  left: -5%;
  bottom: -5%;
  width: 23vw;
  height: 23vw;
}
.scene-branch > .botanical {
  rotate: var(--scroll-wind, 0deg);
  transition: rotate 0.7s ease-out;
}
.chapter-sprig {
  width: 100px;
  height: 100px;
  opacity: 0.3;
}
.hero-copy {
  padding: 30px 45px;
  background: #fffaf0e8;
  border: 1px solid #ffffffb3;
  border-radius: 180px 180px 14px 14px;
  box-shadow: 0 15px 65px #3c546412;
  backdrop-filter: blur(7px);
  text-shadow: none;
}
.hero h1 {
  font-size: clamp(76px, 8vw, 112px);
  margin: 25px 0;
}
.hero-copy .eyebrow {
  margin-top: 13px;
}
.hero-note {
  margin: 22px 0;
  font-size: 22px;
}
.hero-copy .date-line {
  margin-top: 24px;
}
.journey-caption {
  left: 50%;
  right: auto;
  top: 40%;
  width: max-content;
  max-width: 88%;
  translate: -50% 0;
  background: #fffaf0ed;
  border: 1px solid #fff8;
  padding: 24px 30px;
  border-radius: 8px;
  backdrop-filter: blur(7px);
  text-shadow: none;
}
.journey-caption > p:last-child {
  font-size: 50px;
}
.scroll-cue > span:first-child {
  background: #fffaf0e8;
  padding: 7px 14px;
  border-radius: 18px;
}
.demo-tag {
  background: #fffaf0de;
  padding: 2px 8px;
  border-radius: 4px;
}
.when {
  background: #d9e8ee;
  padding-top: 100px;
  padding-bottom: 100px;
}
.when > .eyebrow,
.venue-copy > .eyebrow {
  font-size: 15px;
  letter-spacing: 3px;
  font-weight: 600;
}
.date-composition {
  gap: 7vw;
  max-width: 950px;
  margin: 30px auto 55px;
}
.when-heading {
  text-align: left;
}
.when-heading h2 {
  font-size: clamp(65px, 7vw, 100px);
  margin: 0 0 0px;
}
.when-heading > p {
  font-size: 22px;
  margin: 0;
}
.date-seal {
  background: #fffaf0;
  border-color: #7496a6;
  box-shadow: 8px 8px 0 #98b7c033;
  min-width: 250px;
}
.date-seal strong {
  font-size: 128px;
}
.date-seal span {
  font-size: 17px;
}
.event-times {
  background: #fffaf0f0;
  border: 1px solid #87a7b444;
  border-radius: 6px;
  max-width: 760px;
  margin: auto;
  padding: 28px 35px;
  gap: 50px;
}
.event-times p {
  font-size: 54px;
}
.event-times .tiny {
  font-size: 14px;
}
.where {
  background: #f3dfcc;
  padding-top: 100px;
  padding-bottom: 100px;
  gap: 6vw;
}
.venue-copy {
  max-width: 620px;
  background: #fffaf0ee;
  padding: 45px;
  border: 1px solid #b9957040;
  border-radius: 8px;
}
.venue-copy .venue-name {
  font-size: clamp(60px, 6vw, 85px);
  margin: 20px 0;
  line-height: 0.95;
}
.venue-city {
  font-size: 24px;
  font-weight: 500;
}
.venue-copy > p:not(.eyebrow):not(.venue-note) {
  font-size: 19px;
}
.location-note {
  padding: 12px 18px;
  background: #3e5c6c;
  color: #fffaf0;
  border: 0;
  border-radius: 3px;
  font-size: 15px;
}
.venue-arch {
  width: 300px;
  height: 420px;
}
.venue-frame {
  opacity: 0.6;
}
.rsvp-intro {
  padding: 20px;
  background: #f8f5eced;
  border-radius: 8px;
}
.photo-journey {
  height: 340svh;
  position: relative;
  background: #d4e2e6;
}
.photo-stage {
  height: 100svh;
  min-height: 640px;
  position: sticky;
  top: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 75px 20px 20px;
}
.photo-heading {
  text-align: center;
  z-index: 5;
}
.photo-heading .eyebrow {
  margin: 0 0 7px;
}
.photo-heading h2 {
  font-size: clamp(40px, 5vw, 60px);
  margin: 0 0 24px;
}
.photo-stack {
  position: relative;
  width: min(470px, 83vw);
  height: min(56svh, 560px);
  isolation: isolate;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 16px 45px #354e5a25;
  background: #f8f1e4;
}
.journey-photo {
  position: absolute;
  inset: 0;
  margin: 0;
  will-change: transform, opacity;
  background: #f4ede0;
}
.journey-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journey-photo figcaption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  padding: 16px 20px;
  background: #fffaf0f2;
  border: 1px solid #fff;
  border-radius: 4px;
  text-align: center;
}
.journey-photo figcaption span,
.journey-photo figcaption small {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
}
.journey-photo figcaption strong {
  display: block;
  font: 30px/1.1 var(--serif);
  margin: 8px 0;
}
.photo-controls {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  z-index: 5;
}
.photo-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid #7c98a6;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
}
.photo-controls button[aria-current] {
  background: #3e5c6c;
  color: #fffaf0;
}
.photo-scroll-hint {
  font-size: 12px;
  margin: 10px 0 0;
}
.photo-stack:focus-within {
  outline: 2px solid var(--ink);
}
@media (max-width: 700px) {
  .scene-distance {
    inset: -2%;
    background-size: cover;
    background-position: 50% 55%;
  }
  .scene-arch {
    inset: 0 -3%;
    background-size: 100% 100%;
    opacity: 0.75;
  }
  .branch-left {
    left: -7%;
    top: 7%;
    width: 34vw;
    height: 34vw;
  }
  .branch-right {
    right: -8%;
    top: 20%;
    width: 32vw;
    height: 32vw;
  }
  .branch-low {
    left: -8%;
    bottom: -1%;
    width: 40vw;
    height: 40vw;
  }
  .hero-copy {
    width: 82%;
    max-width: 345px;
    padding: 25px 15px 24px;
    border-radius: 150px 150px 12px 12px;
  }
  .hero h1 {
    font-size: 77px;
    letter-spacing: -2px;
  }
  .hero-note {
    font-size: 20px;
    margin: 22px 0;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
    letter-spacing: 1.6px;
  }
  .hero-copy .date-line {
    font-size: 10px;
    letter-spacing: 0.7px;
    line-height: 1.8;
  }
  .hero-copy .date-line span {
    padding: 0 4px;
  }
  .journey-caption > p:last-child {
    font-size: 43px;
  }
  .journey-caption {
    padding: 23px 19px;
  }
  .when,
  .where {
    padding: 75px 22px;
  }
  .date-composition {
    flex-direction: column;
    gap: 28px;
    margin: 25px 0 35px;
  }
  .when-heading {
    text-align: center;
  }
  .when-heading h2 {
    font-size: 66px;
  }
  .when-heading > p {
    font-size: 19px;
  }
  .date-seal {
    padding: 30px 42px 25px;
    min-width: 220px;
  }
  .date-seal strong {
    font-size: 110px;
  }
  .date-seal span {
    font-size: 16px;
  }
  .event-times {
    padding: 22px 16px;
    gap: 13px;
  }
  .event-times .tiny {
    font-size: 11px;
  }
  .event-times p {
    font-size: 43px;
  }
  .event-times > div > span:last-child {
    font-size: 13px;
  }
  .venue-copy {
    padding: 30px 20px;
    max-width: none;
  }
  .venue-copy .venue-name {
    font-size: 65px;
  }
  .venue-city {
    font-size: 22px;
  }
  .venue-arch {
    width: 78%;
    height: 320px;
  }
  .where {
    gap: 35px;
  }
  .photo-stage {
    padding: 74px 18px 18px;
    min-height: 610px;
  }
  .photo-heading h2 {
    font-size: 43px;
    margin-bottom: 22px;
  }
  .photo-stack {
    height: 54svh;
    max-height: 490px;
    width: 87vw;
  }
  .journey-photo figcaption {
    left: 13px;
    right: 13px;
    bottom: 13px;
    padding: 13px 12px;
  }
  .journey-photo figcaption strong {
    font-size: 27px;
  }
  .photo-controls {
    margin-top: 17px;
  }
  .rsvp-intro {
    padding: 15px 0;
  }
  .photo-journey {
    height: 325svh;
  }
}
/* V2: one edge-to-edge world, changing as the invitation passes through it. */
body {
  background: #e5eee9;
  isolation: isolate;
}
main,
footer {
  position: relative;
  z-index: 1;
}
.world-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100lvh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: #d9e7e5;
}
.world-scene {
  position: absolute;
  inset: -2%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, transform;
}
.scene-garden {
  background-image: url("distance-vivid.webp");
  opacity: 1;
  background-position: center 62%;
}
.scene-beach {
  background-image: url("beach.webp");
  background-position: center 55%;
}
.scene-sailing {
  background-image: url("sailing.webp");
  background-position: center 58%;
}
.scene-underwater {
  background-image: url("underwater.webp");
  background-position: center 58%;
}
.world-sunlight {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 28%,
    #fff6d424 35%,
    transparent 43%,
    #fff5d521 51%,
    transparent 59%
  );
  animation: sunlight 18s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
.world-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff9ee15, transparent 35%, #fff9ee15);
}
.hero {
  background: transparent;
  isolation: auto;
}
.scene-stage {
  background: transparent;
}
.scene-world {
  z-index: 0;
  inset: 0;
}
.scene-stage .scene-sky,
.scene-stage .scene-distance,
.scene-stage .scene-haze {
  display: none;
}
.scene-stage .scene-arch {
  background-size: 100% 100%;
  inset: 0;
  opacity: 0.7;
}
.hero-wash {
  z-index: 1;
  background: radial-gradient(ellipse at center, #fffaf022, transparent 65%);
}
.hero-copy {
  z-index: 2;
  background: #ffffff58;
  backdrop-filter: blur(2px);
  border: 1px solid #ffffff38;
  border-radius: 12px;
  box-shadow: none;
  padding: 25px 35px;
  text-shadow: 0 1px 14px #fffdf0c9;
}
.hero-copy .eyebrow {
  margin-top: 0;
}
.hero h1 {
  font-size: clamp(83px, 9vw, 125px);
}
.scene-stage .scroll-cue,
.scene-stage .demo-tag,
.journey-caption {
  z-index: 3;
}
.journey-caption {
  background: #ffffff87;
  backdrop-filter: blur(3px);
}
.when,
.where,
.rsvp,
.photo-journey {
  background: none;
}
.when,
.where {
  min-height: 120svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 110px;
  padding-bottom: 110px;
}
.when > .eyebrow {
  background: #fffaf0db;
  padding: 9px 22px;
  border-radius: 25px;
}
.when-heading {
  padding: 28px 35px;
  background: #fffaf0d9;
  border-radius: 8px;
  backdrop-filter: blur(5px);
}
.date-seal {
  background: #fffaf0e6;
  backdrop-filter: blur(4px);
}
.event-times {
  background: #fffaf0e8;
  backdrop-filter: blur(6px);
}
.when .small {
  background: #fffaf0da;
  border-radius: 20px;
  padding: 9px 22px;
}
.where {
  flex-direction: row;
}
.venue-copy {
  background: #fffaf0e0;
  backdrop-filter: blur(7px);
  box-shadow: 0 12px 60px #344d6012;
}
.venue-arch {
  height: 440px;
  background: #ffffff40;
  box-shadow: 12px 14px 0 #fffaf035;
  border-color: #fff9;
}
.venue-art {
  background-image: url("sailing.webp");
  background-position: 70% center;
}
.venue-frame {
  display: none;
}
.venue-arch > span {
  background: linear-gradient(transparent, #fffaf0ed);
}
.photo-heading {
  background: #fffaf0da;
  padding: 15px 24px 0;
  border-radius: 8px;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.photo-heading h2 {
  margin-bottom: 15px;
}
.photo-heading .eyebrow {
  font-size: 10px;
}
.photo-stack {
  background: #b8d7de;
}
.photo-controls {
  background: #fffaf0e6;
  padding: 6px 10px;
  border-radius: 35px;
  backdrop-filter: blur(5px);
  margin-top: 15px;
}
.photo-scroll-hint {
  color: #fff;
  background: #243f5570;
  border-radius: 14px;
  padding: 4px 12px;
}
.rsvp {
  min-height: 110svh;
  padding-top: 120px;
  padding-bottom: 120px;
}
.rsvp-intro {
  background: #fffaf0e3;
  padding: 30px;
  backdrop-filter: blur(7px);
}
.form-card {
  background: #fffaf0f2;
  backdrop-filter: blur(10px);
}
footer {
  background: #fffaf0e8;
  backdrop-filter: blur(8px);
}
.chapter-sprig {
  display: none;
}
.version-link a {
  display: inline-block;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .scene-stage .scene-arch {
    inset: 0 -1%;
    background-size: 100% 100%;
  }
  .scene-garden {
    background-size: cover;
    background-position: center 66%;
  }
  .scene-stage .branch-left {
    width: 16vw;
    height: 16vw;
    left: -3%;
    top: 5%;
  }
  .scene-stage .branch-right {
    width: 15vw;
    height: 15vw;
    right: -3%;
    top: 12%;
  }
  .scene-stage .branch-low {
    width: 22vw;
    height: 22vw;
    left: -5%;
    bottom: -5%;
  }
}
@media (max-width: 700px) {
  .world-backdrop {
    width: 100%;
    inset: 0;
    height: 100lvh;
  }
  .world-scene {
    inset: -2%;
    background-size: cover;
  }
  .scene-garden {
    background-position: 50% 65%;
  }
  .scene-beach {
    background-position: 48% center;
  }
  .scene-sailing {
    background-position: 65% center;
  }
  .scene-underwater {
    background-position: 67% center;
  }
  .scene-stage .scene-arch {
    inset: 0;
    background-size: 100% 100%;
  }
  .hero-copy {
    width: 83%;
    padding: 24px 15px;
    border-radius: 8px;
    background: #ffffff55;
  }
  .hero h1 {
    font-size: 82px;
  }
  .when,
  .where {
    padding: 90px 22px;
    min-height: 125svh;
  }
  .when-heading {
    padding: 22px 16px;
  }
  .when-heading h2 {
    font-size: 61px;
  }
  .when-heading > p {
    font-size: 18px;
  }
  .date-composition {
    gap: 20px;
    margin: 20px 0 30px;
  }
  .when .small {
    font-size: 19px;
    margin-top: 25px;
  }
  .where {
    flex-direction: column;
  }
  .venue-copy {
    width: 100%;
    padding: 30px 23px;
  }
  .venue-arch {
    height: 270px;
    width: 75%;
  }
  .photo-heading {
    padding: 14px 15px 0;
    margin-bottom: 14px;
    max-width: 92vw;
  }
  .photo-heading h2 {
    font-size: 39px;
  }
  .photo-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .photo-stack {
    height: 50svh;
  }
  .photo-stage {
    padding-top: 70px;
    min-height: 630px;
  }
  .photo-controls {
    margin-top: 12px;
  }
  .photo-scroll-hint {
    margin-top: 5px;
  }
  .rsvp {
    padding: 90px 22px;
    min-height: 120svh;
  }
  .rsvp-intro {
    padding: 25px 18px;
  }
  .rsvp-intro h2 {
    font-size: 49px;
  }
}
/* Stretch the sticky hero stage itself, not only the fixed scenery behind it. */
#home {
  width: 100%;
  justify-items: stretch;
}
#home > .scene-stage {
  width: 100%;
  min-width: 100%;
  max-width: none;
  justify-self: stretch;
  margin-inline: 0;
  left: 0;
  right: 0;
}
#home .scene-world {
  width: 100%;
  inset: 0;
}
#home .scene-arch {
  inset: 0;
  width: 100%;
  background-size: 100% 100%;
}

/* Let the next chapter enter as the hero scrolls away, without a pinned interlude. */
#home {
  height: 100svh;
  min-height: 700px;
  display: block;
}
#home > .scene-stage {
  position: relative;
  height: 100%;
  min-height: inherit;
}
#home .journey-caption,
#home .journey-progress {
  display: none;
}
#when {
  justify-content: flex-start;
  min-height: 0;
  padding-top: 48px;
}

/* A translucent top bar follows scroll direction without reacting to tiny jitter. */
header {
  background: #fffaf08c;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #ffffff55;
  padding-top: max(12px, env(safe-area-inset-top));
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0s;
}
header .monogram {
  background: none;
  backdrop-filter: none;
}
header.bar-hidden {
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0s 0.28s;
}
header.bar-hidden,
header.bar-hidden > a {
  pointer-events: none;
}

/* Keep the lower flower border clear; let this foliage enter from above. */
#home .scene-stage .branch-low {
  left: auto;
  bottom: auto;
  right: -8%;
  top: -7%;
  rotate: -50deg;
}
/* Floral-reference palette: hydrangea blue, orange, golden yellow, a little peach. */
:root {
  --blue: #518eb7;
  --peach: #dfa384;
  --orange: #df742e;
  --gold: #efa73e;
  --ink: #284c65;
  --line: #284c6538;
}
#home .scene-arch {
  opacity: 1;
}
.scene-branch .botanical {
  filter: saturate(1.45);
}
.amp {
  color: #bb5420;
}
.primary,
.location-note {
  background: #28618a;
  color: #fffdf7;
}
.primary:hover,
.location-note:hover {
  background: #1d4c70;
}
.rsvp-link {
  border-color: #518eb7;
  background: #fffaf0ee;
  color: #285879;
}
.when > .eyebrow {
  background: #28618a;
  color: #fffdf7;
}
.date-seal {
  border: 2px solid #518eb7;
  box-shadow: 7px 7px 0 #df742e40;
}
.date-seal strong {
  color: #28618a;
}
.when-heading {
  border-bottom: 3px solid #df742e;
}
.event-times {
  border-top: 3px solid #efa73e;
}
.venue-copy {
  border-color: #dfa384;
  border-top: 3px solid #df742e;
}
.venue-arch {
  box-shadow: 10px 12px 0 #efa73e55;
}
.form-card {
  border-color: #518eb7;
  box-shadow: 8px 8px 0 #dfa38466;
}
.form-progress span {
  background: #df742e;
}
.choice:has(input:checked) {
  background: #518eb72b;
  border-color: #397aa5;
}
.choice:has(input:checked) .radio-dot {
  background: #397aa5;
  box-shadow: inset 0 0 0 4px #e0edf4;
}
.confirmation-mark {
  color: #bb5420;
}
.scene-beach,
.scene-sailing,
.scene-underwater {
  filter: saturate(1.15);
}
.photo-controls button[aria-current] {
  background: #28618a;
  color: #fffdf7;
}
.plus-one input {
  accent-color: #28618a;
}

/* Dissolve the flowers into the continuous scenery before the section boundary. */
#home .scene-world {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 62%,
    #000d 75%,
    #0006 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 62%,
    #000d 75%,
    #0006 88%,
    transparent 100%
  );
}

/* Offset the artwork by the real header height without shrinking the arch. */
#home .scene-stage .scene-arch {
  top: calc(var(--topbar-height, 82px) + 12px);
  bottom: calc(-1 * (var(--topbar-height, 82px) + 12px));
}

/* Preserve the portrait artwork's proportions on wider screens. */
@media (min-width: 701px) {
  #home .scene-stage .scene-arch {
    background-size: min(94vw, 1100px) auto;
    background-position: center top;
    background-repeat: no-repeat;
  }
}
