@font-face {
  font-family: "Ecatherina";
  src: url("/assets/fonts/ecatherina-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: Instrument;
  src: url("/assets/fonts/serif.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: Instrument;
  src: url("/assets/fonts/serif-italic.ttf") format("truetype");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}
@font-face {
  font-family: Inter;
  src: url("/assets/fonts/sans.ttf") format("truetype");
  font-display: swap;
  font-weight: 400 600;
}
:root {
  --olive: #6b705c;
  --fern: #a5a58d;
  --apricot: #b7b7a4;
  --peach: #ffe8d6;
  --rose: #ddbea9;
  --terracotta: #cb997e;
  --paper: #f5eee3;
  --paper-light: #fcf7ef;
  --ink: #303a2a;
  --muted: #626652;
  --line: rgba(48, 58, 42, 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: Instrument, Georgia, serif;
  --sans: Inter, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: url("/assets/art/grain.svg");
  opacity: 0.15;
}
body:has(.nav-open) {
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.03;
}
h2 {
  font-size: 72px;
  letter-spacing: -1.7px;
}
h3 {
  font-size: 33px;
}
em,
i {
  font-weight: 400;
}
p + p {
  margin-top: 18px;
}
p {
  max-width: 65ch;
}
svg {
  width: 22px;
  height: 22px;
  display: block;
}
span[data-icon] {
  display: inline-flex;
  flex-shrink: 0;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--rose);
  color: var(--ink);
}
.eyebrow {
  font-size: 10px;
  line-height: 1.65;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.caption {
  font-size: 12px;
  color: var(--muted);
}
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  display: block;
  margin-top: 28px;
}
.tiny-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  height: 64px;
}
.site-header:not(.scrolled):not(:has(.nav-open)) .wordmark > img {
  filter: grayscale(1) contrast(0.18) brightness(1.95);
}
.wordmark > img {
  display: block;
  width: 64px;
  height: 64px;
  max-width: none;
  object-fit: contain;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  line-height: 1.5;
  transition: gap 0.3s;
}
.text-link:hover {
  gap: 20px;
}
.text-link svg {
  width: 17px;
  height: 17px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding: 18px 24px;
  min-height: 56px;
  font-size: 12px;
  border: 1px solid transparent;
  transition:
    background 0.3s,
    transform 0.3s;
}
.button:hover {
  transform: translateY(-2px);
}
.button.dark {
  background: var(--ink);
  color: var(--paper);
}
.button.dark:hover {
  background: #48553e;
}
.button.light {
  background: var(--paper);
  color: var(--ink);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
}
.back-arrow {
  transform: rotate(180deg);
}
.section-space {
  padding: 112px max(6vw, 24px);
}
.section-heading {
  margin-bottom: 64px;
}
.section-heading .eyebrow {
  margin-bottom: 24px;
}
.section-heading > p:last-child:not(.eyebrow) {
  margin-top: 24px;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  padding: 14px 20px;
  background: var(--paper);
  color: var(--ink);
  z-index: 200;
}
.skip-link:focus {
  top: 16px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 35px #0002;
  padding: 14px 24px;
  max-width: calc(100% - 32px);
  width: max-content;
  font-size: 12px;
  text-align: center;
}
.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

/* The envelope is made of independent paper surfaces. */
wedding-envelope {
  display: block;
  position: relative;
  width: min(100%, 590px);
  aspect-ratio: 1.5;
  perspective: 1800px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  isolation: isolate;
}
.envelope-object {
  position: absolute;
  inset: 0;
  transform: rotateZ(-8deg) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
}
.envelope-shadow {
  position: absolute;
  inset: 9% 0 -6%;
  background: #27301f55;
  filter: blur(21px);
  transform: translate(18px, 30px);
  z-index: -1;
  border-radius: 12%;
}
.envelope-back {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: linear-gradient(145deg, #707b61, #3d4b32);
  box-shadow: inset 0 0 0 1px #313d2844;
}
.envelope-back::after,
.envelope-pocket::after,
.flap-outside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/art/grain.svg");
  mix-blend-mode: soft-light;
  opacity: 0.65;
}
.envelope-pocket {
  position: absolute;
  inset: 0;
  z-index: 4;
  clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(
      146deg,
      transparent 49.7%,
      #26351c33 50%,
      transparent 50.6%
    ),
    linear-gradient(
      214deg,
      transparent 49.7%,
      #26351c55 50%,
      transparent 50.6%
    ),
    linear-gradient(0deg, #606e50, #798568);
}
.envelope-edge {
  position: absolute;
  inset: 0;
  z-index: 5;
  box-shadow: inset 0 0 0 1px #e6e4cc30;
  pointer-events: none;
}
.envelope-flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 58%;
  z-index: 6;
  transform-origin: center top;
  transform-style: preserve-3d;
  transition:
    transform 1.2s var(--ease),
    z-index 0s 0.55s;
  filter: drop-shadow(0 3px 2px #18210f44);
}
.flap-outside,
.flap-lining {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  backface-visibility: hidden;
}
.flap-outside {
  background: linear-gradient(160deg, #77816a, #5a674c);
}
.flap-lining {
  transform: rotateX(180deg);
  background:
    linear-gradient(#e7ddc8cc, #f3ebd6ee),
    url("/assets/art/palm.svg") center 15%/35% auto repeat;
  background-color: var(--paper);
}
.envelope-letter {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 4%;
  height: 91%;
  background: var(--paper-light) url("/assets/art/grain.svg");
  z-index: 2;
  box-shadow: 0 2px 4px #19231122;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 5%;
  transition: transform 1.35s var(--ease) 0.5s;
}
.envelope-letter img {
  width: 32%;
  mix-blend-mode: multiply;
}
.envelope-letter > span {
  font: 30px var(--serif);
  text-align: center;
  white-space: nowrap;
}
.envelope-letter > span i {
  font-size: 22px;
}
.envelope-letter > small {
  font-size: 9px;
  letter-spacing: 3px;
}
.envelope-seal {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 53%;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 22%,
    #e5bea1 0%,
    #c49475 45%,
    #ac795b 90%
  );
  color: #553e2c;
  box-shadow:
    inset 0 0 0 2px #ddab87,
    inset 0 0 0 5px #966b4d44,
    2px 5px 9px #20301855;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) rotate(8deg);
  transition:
    transform 0.7s var(--ease),
    opacity 0.5s 0.1s;
}
.seal-ring {
  position: absolute;
  inset: 10px;
  border: 1px solid #6d4c3166;
  border-radius: 50%;
  box-shadow: 1px 1px 1px #f4cfad55;
}
.envelope-seal > svg {
  width: 27px;
  height: 27px;
  filter: drop-shadow(0 1px #ffe3c388);
}
.lock-shackle {
  transform-origin: 17px 10px;
  transition: transform 0.4s;
}
.unlocked .lock-shackle {
  transform: rotate(-35deg) translateY(-3px);
}
.seal-letters {
  font: 34px/0.65 var(--serif);
  text-align: center;
  transform: translateY(3px);
}
.seal-letters small {
  display: block;
  font-size: 26px;
  margin-top: -2px;
}
.envelope-address {
  position: absolute;
  bottom: 9%;
  width: 100%;
  text-align: center;
  z-index: 5;
  color: #e8e7d1;
  display: grid;
  gap: 4px;
}
.envelope-address > span {
  font: italic 22px var(--serif);
}
.envelope-address > small {
  font-size: 8px;
  letter-spacing: 2.2px;
}
wedding-envelope.is-open .envelope-flap {
  transform: rotateX(-180deg);
  z-index: 1;
}
wedding-envelope.is-open .envelope-letter {
  transform: translateY(-55%);
}
wedding-envelope.is-open .envelope-seal {
  transform: translate(-50%, 20px) rotate(25deg);
  opacity: 0;
}

/* Private entrance */
.gate-page {
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 90% 5%, #fffaf0 0, transparent 55%), var(--paper);
}
.gate-layout {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  /* Clip decorative 3D overflow without clipping the page's natural scroll. */
  overflow: clip;
}
.gate-header,
.gate-footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 30px 4.5vw;
  gap: 20px;
}
.gate-header {
  position: relative;
  z-index: 2;
}
.gate-header > .eyebrow {
  margin-left: 50px;
}
.gate-edition {
  font-size: 10px;
  letter-spacing: 1px;
}
.gate-main {
  width: 100%;
  max-width: 1600px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  padding: 20px 5.5vw 30px 8vw;
  gap: 40px;
  flex: 1;
}
.gate-copy {
  position: relative;
  z-index: 3;
}
.gate-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 28px;
  font-size: 9px;
}
.gate-copy h1 {
  font-size: 86px;
  letter-spacing: -2px;
}
.gate-copy h1 em {
  color: var(--olive);
}
.gate-intro {
  font-size: 13px;
  color: var(--muted);
  margin-top: 25px;
  line-height: 1.9;
}
.access-form {
  max-width: 350px;
  margin-top: 42px;
}
.access-form label {
  display: block;
  font-size: 11px;
  margin-bottom: 10px;
}
.password-field {
  display: flex;
  border-bottom: 1px solid var(--olive);
  align-items: center;
}
.password-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 14px 4px;
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
}
.password-field input::placeholder {
  color: #787866;
}
.password-field input:focus-visible {
  outline: 0;
}
.password-field:focus-within {
  outline: 2px solid var(--olive);
  outline-offset: 4px;
}
.password-field .icon-button {
  opacity: 0.7;
}
.access-submit {
  width: 45px;
  height: 44px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  margin: 0 0 5px 8px;
}
.form-message {
  font-size: 10px;
  min-height: 34px;
  margin-top: 13px;
  color: var(--muted);
}
.form-message.is-error {
  color: #943d27;
}
.gate-scene {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1800px;
}
.gate-scene wedding-envelope {
  width: 95%;
  margin-top: 50px;
  transition: transform 1.3s var(--ease);
}
.gate-scene wedding-envelope:not(.is-open) .flap-lining {
  visibility: hidden;
}
.gate-page:not(.access-link-page):not(.unlocking) .gate-scene .envelope-object {
  animation: envelope-arrival 1.8s var(--ease) backwards;
}
.gate-page:not(.access-link-page):not(.unlocking) .gate-scene wedding-envelope {
  animation: envelope-settle 2.6s ease-in-out 1.8s;
}
.gate-page:not(.access-link-page):not(.unlocking) .gate-scene .envelope-seal > svg {
  transform-origin: 50% 25%;
  animation: lock-greeting 1.3s ease-in-out 0.9s backwards;
}
.gate-scene .envelope-seal::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 40%,
    #fff4de99 50%,
    transparent 60%
  );
  background-size: 300% 100%;
  opacity: 0;
}
.gate-page:not(.access-link-page):not(.unlocking) .gate-scene .envelope-seal::after {
  animation: seal-light 1.7s ease-out 0.8s backwards;
}
@keyframes envelope-arrival {
  from {
    opacity: 0;
    transform: translate3d(24px, 62px, -100px) rotateZ(5deg) rotateX(16deg)
      rotateY(-12deg) scale(0.9);
  }
  65% {
    opacity: 1;
    transform: translate3d(0, -12px, 0) rotateZ(-10deg) rotateX(2deg)
      rotateY(0deg) scale(1);
  }
  to {
    opacity: 1;
    transform: rotateZ(-8deg) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  }
}
@keyframes envelope-settle {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}
@keyframes envelope-arrival-compact {
  from {
    transform: translateY(10px) rotateZ(-5deg);
  }
  to {
    transform: rotateZ(-8deg) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  }
}
@keyframes lock-greeting {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-14deg);
  }
  50% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-5deg);
  }
}
@keyframes seal-light {
  from {
    background-position: 100% 0;
    opacity: 0;
  }
  30%,
  70% {
    opacity: 0.7;
  }
  to {
    background-position: 0 0;
    opacity: 0;
  }
}
.scene-caption {
  position: absolute;
  top: 5%;
  left: 0;
  font: italic 28px var(--serif);
  transform: rotate(-8deg);
  color: var(--olive);
}
.scene-footnote {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: right;
  font: italic 19px/1.4 var(--serif);
  color: var(--olive);
}
.sunlight {
  position: absolute;
  width: 140%;
  height: 125%;
  left: -20%;
  top: -12%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    #fff9e999 44%,
    transparent 55%
  );
  transform: rotate(-15deg);
  pointer-events: none;
}
.botanical-shadow {
  position: absolute;
  right: -5%;
  top: -35%;
  width: 95%;
  height: 130%;
  background: url("/assets/art/palm.svg") center/contain no-repeat;
  opacity: 0.1;
  filter: blur(5px);
  transform: rotate(40deg);
  pointer-events: none;
}
.gate-footer {
  font-size: 9px;
  letter-spacing: 1.5px;
  padding-top: 25px;
  padding-bottom: 25px;
}
.gate-footer > span:first-child {
  font: italic 19px var(--serif);
  letter-spacing: 0;
}
.gate-footer > span:last-child {
  font-size: 9px;
  letter-spacing: 0.5px;
}
.gate-page {
  overflow-x: clip;
}
.unlocking .gate-copy {
  transition:
    opacity 0.7s,
    transform 1s;
  opacity: 0;
  transform: translateX(-20px);
  pointer-events: none;
}
.unlocking .gate-scene wedding-envelope {
  transform: translateX(-15%) scale(1.15);
}
.unlocking .scene-caption,
.unlocking .scene-footnote {
  opacity: 0;
  transition: opacity 0.5s;
}
.skip-cinema {
  position: fixed;
  z-index: 120;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper-light);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 22px;
  font-size: 12px;
  box-shadow: 0 2px 20px #0001;
}
.cinema-curtain {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 110;
  clip-path: inset(100% 0 0);
  transition: clip-path 1s var(--ease);
  display: grid;
  place-items: center;
  pointer-events: none;
  color: var(--paper);
}
.cinema-curtain span {
  font: 52px var(--serif);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s 0.3s,
    transform 0.7s 0.3s;
  text-align: center;
  padding: 24px;
}
.cinema-curtain em {
  display: block;
}
.entering .cinema-curtain {
  clip-path: inset(0);
}
.entering .cinema-curtain span {
  opacity: 1;
  transform: none;
}

/* The wedding site */
body[data-page="site"] {
  --hero-header: clamp(56px, 10svh, var(--hero-header-max, 94px));
}
.site-header {
  height: var(--hero-header);
  padding: 0 5vw;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--paper-light);
  border-bottom: 1px solid #f5eee32b;
  transition: background 0.3s;
}
.site-header.scrolled {
  position: fixed;
  height: 74px;
  background: #f5eee3f5;
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 11px;
}
.nav-rsvp {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 13px 0;
}
.site-nav svg {
  width: 14px;
  height: 14px;
}
.nav-toggle {
  display: none;
}
.hero {
  --hero-intro-height: clamp(44px, 7svh, 64px);
  --hero-frame-top: calc(var(--hero-header) + var(--hero-intro-height));
  --hero-frame-side: clamp(13px, 2.5vw, 28px);
  --hero-frame-bottom: clamp(14px, 2.8svh, 30px);
  --hero-gap: clamp(8px, 2svh, 22px);
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--hero-frame-top) + var(--hero-gap))
    calc(var(--hero-frame-side) + var(--hero-gap))
    calc(var(--hero-frame-bottom) + var(--hero-gap));
  color: var(--paper-light);
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  row-gap: 4px;
  overflow: hidden;
  background: var(--ink);
}
.hero-landscape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 90%;
  z-index: -3;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1e2a1d90 0%, #2833202b 50%, #1e2a1d77);
  z-index: -2;
}
.hero-frame {
  position: absolute;
  inset: var(--hero-frame-top) var(--hero-frame-side) var(--hero-frame-bottom);
  border: 1px solid #ece6c939;
  pointer-events: none;
}
.hero-copy {
  text-align: center;
  animation: arrive 1.5s var(--ease) both;
}
.hero-intro {
  position: absolute;
  z-index: 1;
  top: var(--hero-header);
  left: var(--hero-frame-side);
  right: var(--hero-frame-side);
  min-height: var(--hero-intro-height);
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 10px;
  letter-spacing: 3px;
  padding-inline-start: 3px;
  margin: 0;
}
.hero-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  font-size: clamp(13px, 1vw, 15px);
  text-transform: none;
  letter-spacing: 1px;
}
.hero-instagram svg {
  width: 20px;
  height: 20px;
}
.hero-instagram:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero h1 {
  display: flex;
  flex-direction: column;
  /* Reserve height for the header, location, date and scroll cue. */
  font-size: clamp(1.5rem, min(16vw, 9.4svh, (100svh - 15rem) / 6), 6.85rem);
  padding-bottom: 0.2em;
}
.hero h1 > span {
  font-family: "Ecatherina", cursive;
  font-weight: 400;
  letter-spacing: 0;
  block-size: 2.55em;
  line-height: 0;
  white-space: nowrap;
}
.hero h1 > span::before {
  /* The empty inline block fixes the baseline within the reserved name space. */
  content: "";
  display: inline-block;
  inline-size: 0;
  block-size: 1.9em;
}
.hero h1 i {
  font-size: max(1.5rem, 0.7em);
  line-height: 0.9;
  margin: 0.1em auto;
  color: #e7d4b4;
}
.hero-place {
  font: italic clamp(1.1rem, 3svh, 1.75rem) var(--serif);
  margin: clamp(6px, 1.5svh, 20px) auto 0;
}
.hero-date {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 4px;
  margin: clamp(6px, 1.5svh, 18px) auto 0;
}
.hero-date > span {
  height: 1px;
  width: 35px;
  background: #f5eee36b;
}
.hero-bottom {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  position: relative;
}
.sea-invitation {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 4px;
  color: var(--paper-light);
  font: italic clamp(16px, 1.4vw, 20px) var(--serif);
  white-space: nowrap;
  text-shadow: 0 1px 6px #1e2a1d;
}
.sea-invitation[hidden] {
  display: none;
}
.sea-invitation.is-leaving {
  animation: sea-invitation-leave 720ms ease-in-out both;
  pointer-events: none;
}
@keyframes sea-invitation-leave {
  from { opacity: 1; }
  to { opacity: 0; }
}
.sea-invitation > span {
  transition: transform 500ms ease-out;
}
.sea-invitation.is-leaving > span {
  transform: translateY(-4px);
}
.sea-invitation.is-leaving .sea-gull {
  transform: translate(18px, -26px) rotate(-8deg) scale(0.9);
}
.sea-invitation:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
  border-radius: 2px;
}
.sea-invitation:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sea-gull {
  width: clamp(76px, 6vw, 92px);
  height: 44px;
  flex: none;
  overflow: visible;
  fill: currentColor;
  filter: drop-shadow(0 1px 3px #1e2a1d70);
  transition: transform 720ms cubic-bezier(0.32, 0, 0.3, 1);
}
.sea-gull-flight {
  animation: gull-glide 3.8s ease-in-out infinite;
}
.sea-gull-wing {
  transform-origin: 32px 26px;
  animation: gull-wing-left 3.8s ease-in-out infinite;
}
.sea-gull-wing-right {
  animation-name: gull-wing-right;
}
@keyframes gull-glide {
  0%, 100% { transform: translateY(1px) rotate(-2deg); }
  50% { transform: translateY(-2px) rotate(2deg); }
}
@keyframes gull-wing-left {
  0%, 45%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-12deg); }
  65% { transform: rotate(-5deg); }
}
@keyframes gull-wing-right {
  0%, 45%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(12deg); }
  65% { transform: rotate(5deg); }
}
.scroll-cue {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid #f5eee370;
  width: 44px;
  height: clamp(44px, 7svh, 66px);
  border-radius: 50%;
  transition: background 0.3s;
}
.scroll-cue:hover {
  background: #f5eee322;
}
.scroll-cue svg {
  animation: downward 2.5s ease-in-out infinite;
}
.welcome {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10%;
  max-width: 1500px;
  margin: auto;
  align-items: start;
}
.welcome-title > .eyebrow {
  margin-bottom: 30px;
}
.welcome-copy {
  position: relative;
  max-width: 480px;
}
.welcome-copy h2 {
  font-size: 30px;
  margin-bottom: 20px;
  letter-spacing: normal;
}
.welcome-copy > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.embroidered-mark {
  width: 138px;
  height: 138px;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin: 0 0 0 -22px;
}
.countdown-band {
  background: var(--olive);
  color: var(--paper-light);
  padding: 44px 7vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 45px;
}
.countdown-caption {
  font: 35px var(--serif);
  margin-top: 12px;
}
.countdown {
  display: flex;
  gap: 28px;
  align-items: center;
}
.countdown > div {
  min-width: 70px;
  text-align: center;
}
.countdown strong {
  font: 60px/0.95 var(--serif);
  font-variant-numeric: tabular-nums;
}
.countdown span {
  display: block;
  font-size: 8px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 13px;
}
.countdown > i {
  font: 28px var(--serif);
  opacity: 0.5;
  margin-bottom: 19px;
}
.celebration {
  max-width: 1500px;
  margin: auto;
}
.event-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10%;
  align-items: start;
}
.event-art {
  padding: 20px 20px 0;
}
.arch-window {
  aspect-ratio: 0.7;
  border-radius: 50% 50% 0 0;
  overflow: hidden;
  border: 1px solid var(--olive);
  padding: 10px;
  background: var(--paper);
}
.arch-photo {
  height: 100%;
  overflow: hidden;
  border-radius: 49% 49% 0 0;
}
.arch-window img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% bottom;
  transform: scale(1.55);
  transform-origin: center bottom;
}
.art-label {
  display: block;
  font: italic 21px var(--serif);
  margin-top: 22px;
  text-align: center;
}
.event {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 22px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
}
.event-number {
  font: 70px/0.9 var(--serif);
  color: var(--olive);
}
.event-number span {
  display: block;
  font: 8px/1.8 var(--sans);
  letter-spacing: 0.6px;
  margin-top: 14px;
  text-transform: uppercase;
}
.event-body > .eyebrow,
.reception > .eyebrow {
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-bottom: 18px;
}
.event-body h3 {
  font-size: 32px;
}
.event-body p:not(.eyebrow) {
  font-size: 12px;
  margin-top: 14px;
  color: var(--muted);
}
.pending-place {
  font-size: 10px;
  display: inline-block;
  margin-top: 20px;
  font-style: italic;
}
.event .text-link {
  margin-top: 12px;
}
.reception {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.invitation-feature {
  background: var(--ink);
  color: var(--paper);
  padding: 90px 8vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  position: relative;
}
.invitation-feature::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 750px;
  right: -150px;
  bottom: -350px;
  background: url("/assets/art/palm.svg") center/contain no-repeat;
  filter: brightness(3);
  opacity: 0.07;
  transform: rotate(-25deg);
  pointer-events: none;
}
.feature-copy > .eyebrow {
  margin-bottom: 30px;
  color: var(--rose);
}
.feature-copy h2 {
  font-size: 70px;
}
.feature-copy > p:not(.eyebrow) {
  margin-top: 24px;
  font-size: 13px;
  color: #e3ddce;
}
.feature-copy .button {
  margin-top: 30px;
}
.feature-copy > small {
  display: block;
  font-size: 10px;
  margin-top: 18px;
  color: #c8cebc;
}
.stationery-preview {
  display: block;
  height: 520px;
  position: relative;
  perspective: 1300px;
  isolation: isolate;
}
.mini-card {
  position: absolute;
  color: var(--ink);
  background: var(--paper-light) url("/assets/art/grain.svg");
  box-shadow: 10px 15px 35px #0003;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #dfd3bd;
  padding: 27px 22px;
  transition: transform 1s var(--ease);
}
.mini-card > span {
  font-size: 8px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.mini-card > i {
  font: 44px/0.95 var(--serif);
  margin: 25px 0 15px;
}
.mini-card-main {
  left: 25%;
  top: 32px;
  width: 245px;
  height: 370px;
  transform: rotate(8deg);
  z-index: 2;
}
.mini-card-main img {
  width: 92px;
  margin: -8px auto 18px;
  mix-blend-mode: multiply;
}
.mini-card-main > i {
  margin: 16px 0 20px;
  font-size: 43px;
}
.mini-card-main i small {
  font-size: 28px;
  font-style: italic;
}
.mini-card-main > p {
  font-size: 9px;
  letter-spacing: 2px;
}
.card-bottom-line {
  width: 65%;
  height: 1px;
  background: var(--line);
  margin: 25px auto 0;
}
.mini-card-back {
  left: 0;
  top: 66px;
  width: 210px;
  height: 325px;
  transform: rotate(-12deg);
  background-color: #e7dfcb;
}
.mini-card-back > i {
  margin-top: 85px;
  font-size: 40px;
}
.mini-card-back p {
  font-size: 9px;
  margin-top: 18px;
}
.mini-card-front {
  bottom: 55px;
  left: 39%;
  width: 220px;
  height: 143px;
  transform: rotate(-6deg);
  z-index: 3;
  background-color: var(--rose);
  padding: 22px;
}
.mini-card-front > i {
  font-size: 28px;
  margin-top: 10px;
}
.preview-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1px;
}
.preview-hint svg {
  width: 16px;
}
.stationery-preview:hover .mini-card-main {
  transform: rotate(3deg) translateY(-12px);
}
.stationery-preview:hover .mini-card-back {
  transform: rotate(-17deg) translateX(-12px);
}
.stationery-preview:hover .mini-card-front {
  transform: rotate(-8deg) translate(10px, 10px);
}
.dress {
  --muted: var(--paper-light);
  --line: rgba(252, 247, 239, 0.3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  background: var(--olive);
  color: var(--paper-light);
}
.dress .eyebrow {
  margin-bottom: 25px;
}
.dress-subtitle {
  font: italic 29px var(--serif);
  margin-top: 28px;
}
.dress-details article {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.dress-details .eyebrow {
  display: block;
  margin-bottom: 15px;
}
.dress-details h3 {
  font-size: 31px;
}
.dress-details p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.dress-details .text-link {
  margin-top: 16px;
}
.weather-note {
  display: flex;
  gap: 18px;
  align-items: center;
}
.weather-note > span {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.weather-note p {
  margin: 0;
  font-size: 12px;
}
.weather-note small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.travel {
  background: #e7e5d8;
}
.travel-columns {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 12%;
}
.transport-note > span:first-child {
  margin-bottom: 20px;
}
.transport-note > span:first-child svg {
  width: 36px;
  height: 36px;
}
.transport-note h3 {
  font-size: 42px;
}
.transport-note p {
  font-size: 13px;
  max-width: 400px;
  margin: 22px 0;
  color: var(--muted);
}
.transport-note > .eyebrow {
  font-size: 9px;
}
.travel-accordions details {
  border-top: 1px solid var(--line);
}
.travel-accordions details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.travel-accordions summary {
  font: 30px var(--serif);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.travel-accordions summary > span {
  font: 10px var(--sans);
  opacity: 0.65;
}
.travel-accordions summary::after {
  content: "+";
  font: 25px var(--serif);
  margin-left: auto;
}
.travel-accordions details[open] > summary::after {
  content: "−";
}
.detail-body {
  padding: 0 0 28px;
  font-size: 12px;
  color: var(--muted);
}
.hotel-links {
  display: grid;
  margin: 24px 0;
}
.hotel-links a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.hotel-links a:hover {
  text-decoration: underline;
}
.guide-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
}
.guide-heading .eyebrow {
  margin-bottom: 25px;
}
.guide-heading > p {
  font-size: 12px;
  color: var(--muted);
}
.guide-filters {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-top: 45px;
}
.guide-filters button {
  padding: 17px 0;
  font-size: 11px;
  color: var(--muted);
  position: relative;
}
.guide-filters button[aria-pressed="true"] {
  color: var(--ink);
}
.guide-filters button[aria-pressed="true"]::after {
  content: "";
  height: 2px;
  background: var(--ink);
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.recommendations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 35px;
}
.recommendation {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.recommendation > .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
.recommendation h3 {
  font-size: 28px;
  margin-top: 12px;
}
.recommendation > p:not(.eyebrow) {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.recommendation > a {
  font-size: 11px;
  margin-top: 12px;
}
.gifts {
  text-align: center;
  background: var(--peach);
}
.gifts > h2 {
  margin-top: 25px;
}
.gifts > p:not(.eyebrow) {
  font-size: 13px;
  margin: 25px auto 0;
  color: var(--muted);
}
.gift-details {
  max-width: 940px;
  margin: 30px auto 0;
}
.gift-details summary {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  padding: 12px 0;
  font-size: 12px;
}
.gift-details svg {
  width: 17px;
}
.gift-accounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  margin-top: 25px;
}
.gift-content {
  min-width: 0;
  padding: 28px;
  background: #fcf7ef80;
  border: 1px solid #303a2a20;
}
.gift-content h3 {
  font-size: 28px;
  margin: 18px 0;
}
.gift-content > p {
  margin: 12px auto;
}
.gift-content .caption {
  margin-top: 24px;
}
@media (max-width: 800px) {
  .gift-accounts {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
}
.rsvp {
  background: var(--olive);
  color: var(--paper-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}
.rsvp .eyebrow {
  margin-bottom: 26px;
}
.rsvp h2 {
  font-size: 68px;
}
.rsvp-copy > p:not(.eyebrow) {
  font-size: 13px;
  margin-top: 25px;
}
.rsvp-form {
  background: var(--paper);
  color: var(--ink);
  padding: 38px;
  max-width: 520px;
  width: 100%;
  justify-self: end;
}
.demo-label {
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
}
.rsvp-form > .demo-label {
  color: var(--muted);
  margin-bottom: 30px;
}
.rsvp-form label {
  display: block;
  font-size: 11px;
  margin-bottom: 8px;
}
.rsvp-form input,
.rsvp-form select {
  width: 100%;
  min-height: 48px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--ink);
  font-size: 14px;
  border-radius: 0;
}
.rsvp-form input::placeholder {
  color: #787c6c;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 28px 0 32px;
}
.rsvp-form select {
  font-size: 11px;
  max-width: 100%;
  padding-right: 16px;
}
.rsvp-form .button {
  width: 100%;
}
.form-note {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 18px;
}
.site-footer {
  padding: 40px 5vw;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
}
.site-footer > p {
  font: italic 24px var(--serif);
}
.site-footer > span {
  font-size: 10px;
  letter-spacing: 2px;
}
.site-footer .text-link {
  font-size: 10px;
}

/* Standalone invitation */
.invitation-page {
  background:
    radial-gradient(ellipse at 10% 30%, #fffaf0, transparent 60%), #ece7db;
  min-height: 100svh;
  overflow-x: clip;
}
.invitation-header {
  padding: 24px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.invitation-header .text-link {
  font-size: 10px;
  border: 0;
}
.invitation-header .wordmark {
  font-size: 35px;
}
.invitation-header .demo-label {
  font-size: 8px;
}
.invitation-main {
  padding: 40px 24px 26px;
  text-align: center;
  position: relative;
  isolation: isolate;
}
.invitation-main::before {
  content: "";
  position: absolute;
  left: -90px;
  top: 20%;
  width: 40%;
  height: 600px;
  background: url("/assets/art/palm.svg") center/contain no-repeat;
  opacity: 0.045;
  transform: rotate(25deg);
  z-index: -1;
  pointer-events: none;
}
.invitation-intro > p {
  margin-left: auto;
  margin-right: auto;
}
.invitation-intro .eyebrow {
  font-size: 9px;
}
.invitation-intro h1 {
  font-size: 60px;
  margin-top: 15px;
}
.invitation-intro > p:last-child {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  overflow-wrap: anywhere;
  max-width: 500px;
}
.invitation-studio {
  position: relative;
  width: min(100%, 1000px);
  margin: 26px auto 0;
  min-height: 510px;
  perspective: 1800px;
}
.invitation-envelope-wrap {
  width: 100%;
  padding-top: 80px;
  display: flex;
  align-items: center;
  flex-direction: column;
  transition:
    opacity 0.5s,
    transform 0.9s var(--ease);
}
.invitation-envelope-wrap wedding-envelope {
  width: 520px;
  max-width: 85%;
}
.invitation-envelope-wrap > .button {
  margin-top: 65px;
  z-index: 10;
}
.invitation-envelope-wrap.is-leaving {
  opacity: 0;
  transform: translateY(55px) scale(0.8);
  pointer-events: none;
}
.invitation-envelope-wrap.is-leaving .button {
  visibility: hidden;
}
.invitation-envelope-wrap[hidden] {
  display: none !important;
}
.invitation-deck {
  padding-top: 10px;
  animation: deck-arrive 1.1s var(--ease) both;
}
.deck-stack {
  position: relative;
  width: 390px;
  max-width: calc(100% - 48px);
  height: 550px;
  margin: 0 auto;
  perspective: 1400px;
  touch-action: pan-y;
}
.paper-card {
  position: absolute;
  inset: 0;
  background: var(--paper-light) url("/assets/art/grain.svg");
  border: 1px solid #ded4c1;
  box-shadow:
    4px 10px 18px #30281515,
    16px 26px 40px #30281512;
  transform: translateX(34px) rotate(5deg) scale(0.98);
  transition:
    transform 0.85s var(--ease),
    opacity 0.5s;
  opacity: 0;
  pointer-events: none;
}
.paper-card::before {
  position: absolute;
  inset: 13px;
  content: "";
  border: 1px solid #b7b7a455;
  pointer-events: none;
}
.paper-card.is-active {
  transform: none;
  z-index: 5;
  opacity: 1;
  pointer-events: auto;
}
.paper-card.is-behind-one {
  transform: translate(30px, 8px) rotate(6deg) scale(0.98);
  opacity: 1;
  z-index: 3;
}
.paper-card.is-behind-two {
  transform: translate(-27px, 12px) rotate(-7deg) scale(0.96);
  opacity: 1;
  z-index: 2;
}
.paper-card.is-behind-one .paper-inner,
.paper-card.is-behind-two .paper-inner {
  opacity: 0.15;
}
.paper-inner {
  height: 100%;
  padding: 33px 36px 27px;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  transition: opacity 0.5s;
}
.paper-inner > .eyebrow {
  font-size: 8px;
  letter-spacing: 1.5px;
}
.paper-inner > p:not(.eyebrow) {
  font-size: 11px;
  line-height: 1.7;
  margin: 10px auto 0;
}
.paper-inner h2 {
  font-size: 52px;
  line-height: 0.95;
  letter-spacing: -0.5px;
  margin-top: 25px;
}
.main-paper h2 {
  font-size: 55px;
  margin-top: 16px;
}
.main-paper h2 i {
  font-size: 40px;
}
.card-monogram {
  width: 120px;
  height: 120px;
  mix-blend-mode: multiply;
  margin: 6px auto 2px;
}
.invite-rule {
  width: 45px;
  height: 1px;
  flex-shrink: 0;
  background: var(--olive);
  margin: 22px auto 8px;
}
.paper-inner .invite-date {
  font: 18px var(--serif);
  margin-top: 10px;
}
.card-personal {
  font: italic 17px var(--serif);
  margin: 16px 0 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.paper-number {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 16px;
  color: var(--muted);
}
.events-paper .paper-inner {
  padding-top: 38px;
}
.events-paper h2 {
  font-size: 46px;
}
.invite-schedule {
  margin: 25px 0 0;
  text-align: left;
  width: 100%;
}
.invite-schedule > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.invite-schedule dt {
  font: 21px var(--serif);
  display: flex;
  align-items: center;
  gap: 18px;
}
.invite-schedule dt > span {
  font: 8px var(--sans);
  letter-spacing: 1px;
  flex-shrink: 0;
}
.invite-schedule dd {
  font-size: 10px;
  line-height: 1.7;
  margin: 6px 0 0 55px;
}
.invite-schedule dd > a {
  display: block;
  text-decoration: underline;
  padding: 5px 0;
  min-height: 30px;
}
.invite-schedule small {
  font-size: 9px;
  color: var(--muted);
}
.dress-paper h2,
.travel-paper h2 {
  font-size: 58px;
  line-height: 0.94;
  margin-top: 32px;
}
.dress-paper h3,
.travel-paper h3 {
  font-size: 25px;
  margin-top: 24px;
}
.travel-paper .text-link {
  font-size: 10px;
  margin-top: 24px;
}
.travel-paper {
  background-color: #eeecdf;
}
.dress-paper {
  background-color: #f6e8d9;
}
.card-navigation {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
  margin: 32px auto 0;
}
.card-navigation > .icon-button {
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.2s;
}
.card-navigation > .icon-button:hover {
  background: var(--peach);
}
.card-tabs {
  display: flex;
  gap: 10px;
}
.card-tabs button {
  font-size: 10px;
  width: 34px;
  min-height: 44px;
  border-bottom: 1px solid transparent;
}
.card-tabs button[aria-pressed="true"] {
  border-color: var(--ink);
}
.card-status {
  font-size: 10px;
  color: var(--muted);
  margin: 12px auto 0;
}
.invitation-tools {
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.invitation-tools .text-link {
  font-size: 10px;
}
.invitation-disclaimer {
  font-size: 9px;
  color: var(--muted);
  margin: 22px auto 0;
}
.invitation-studio.is-opening .invitation-envelope-wrap > .button {
  opacity: 0;
  pointer-events: none;
}
.invitation-studio.is-opening wedding-envelope .envelope-object {
  transform: rotate(0deg);
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes downward {
  0%,
  100% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(4px);
  }
}
@keyframes deck-arrive {
  from {
    opacity: 0;
    transform: translateY(55px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.motion-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.motion-enabled [data-reveal].revealed {
  opacity: 1;
  transform: none;
}
@media (min-width: 1600px) {
  .gate-copy h1 {
    font-size: 102px;
  }
  .gate-main {
    padding-left: 100px;
    padding-right: 70px;
  }
  .section-space {
    padding-left: max(calc((100vw - 1320px) / 2), 80px);
    padding-right: max(calc((100vw - 1320px) / 2), 80px);
  }
}
@media (max-width: 1100px) {
  h2 {
    font-size: 62px;
  }
  .gate-copy h1 {
    font-size: 68px;
  }
  .gate-main {
    padding-left: 5vw;
    gap: 25px;
    grid-template-columns: 1fr 1fr;
  }
  .gate-scene {
    min-height: 500px;
  }
  .scene-caption {
    top: 8%;
  }
  .gate-header > .eyebrow {
    margin-left: 0;
  }
  .gate-intro {
    font-size: 12px;
  }
  .envelope-letter > span {
    font-size: 24px;
  }
  .envelope-seal {
    width: 64px;
    height: 64px;
  }
  .envelope-address > span {
    font-size: 20px;
  }
  .section-space {
    padding: 85px 6vw;
  }
  .site-nav {
    gap: 24px;
  }
  .countdown-band {
    gap: 28px;
    padding: 35px 5vw;
  }
  .countdown {
    gap: 14px;
  }
  .countdown-caption {
    font-size: 29px;
  }
  .countdown strong {
    font-size: 50px;
  }
  .countdown > div {
    min-width: 58px;
  }
  .event-layout {
    gap: 7%;
  }
  .event-art {
    padding-left: 0;
    padding-right: 0;
  }
  .event {
    grid-template-columns: 70px 1fr;
    gap: 18px;
  }
  .event-number {
    font-size: 58px;
  }
  .invitation-feature {
    padding: 70px 6vw;
    gap: 20px;
  }
  .feature-copy h2 {
    font-size: 57px;
  }
  .mini-card-main {
    left: 25%;
    width: 210px;
  }
  .mini-card-back {
    width: 180px;
  }
  .mini-card-front {
    left: 32%;
    width: 200px;
  }
  .rsvp h2 {
    font-size: 57px;
  }
  .rsvp-form {
    padding: 28px;
  }
  .form-row {
    gap: 15px;
  }
  .transport-note h3 {
    font-size: 36px;
  }
}
@media (max-width: 800px) {
  .nav-toggle {
    display: flex;
    z-index: 35;
  }
  .site-nav {
    display: none;
  }
  .site-nav.nav-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--paper);
    color: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: safe center;
    padding: max(80px, var(--hero-header)) 10vw 40px;
    gap: clamp(16px, 3.5svh, 30px);
    font: 35px var(--serif);
    height: 100svh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav.nav-open .nav-rsvp {
    font: 13px var(--sans);
    margin-top: 20px;
    padding: 18px 0;
  }
  .site-header:has(.nav-open) {
    color: var(--ink);
  }
  .site-header:has(.nav-open) > .wordmark {
    z-index: 35;
  }
  .gate-header {
    padding: 22px 6vw;
  }
  .sea-invitation {
    gap: 5px;
    font-size: 12.5px;
  }
  .sea-gull {
    width: 30px;
    height: 18px;
  }
  .sea-invitation.is-leaving .sea-gull {
    transform: translate(10px, -14px) rotate(-6deg) scale(0.9);
  }
  .gate-header > .eyebrow {
    display: none;
  }
  .gate-main {
    grid-template-columns: minmax(0, 1fr);
    padding: 15px 7vw 30px;
    gap: 15px;
    max-width: 680px;
  }
  .gate-copy {
    order: 2;
    text-align: center;
  }
  .gate-copy > .eyebrow {
    justify-content: center;
    margin-bottom: 14px;
    font-size: 8px;
  }
  .gate-copy h1 {
    font-size: 58px;
    letter-spacing: -1px;
  }
  .gate-copy h1 br {
    display: none;
  }
  .gate-copy h1 em {
    display: block;
  }
  .gate-intro {
    margin: 16px auto 0;
    font-size: 12px;
  }
  .gate-scene {
    order: 1;
    min-height: 310px;
    margin-top: 5px;
  }
  .gate-scene wedding-envelope {
    max-width: 375px;
    width: 80%;
    margin: 15px 0 0;
  }
  .gate-page:not(.access-link-page):not(.unlocking) .gate-scene .envelope-object {
    animation: envelope-arrival-compact 0.85s var(--ease);
  }
  .gate-scene .envelope-flap {
    filter: none;
  }
  .scene-caption {
    font-size: 21px;
    top: 5px;
    left: 5%;
    z-index: 2;
  }
  .scene-footnote {
    font-size: 15px;
    bottom: -5px;
    right: 3%;
  }
  .botanical-shadow {
    top: -40%;
    right: -10%;
    width: 75%;
    height: 150%;
    transform: rotate(28deg);
  }
  .access-form {
    margin: 25px auto 0;
    max-width: 340px;
    text-align: left;
  }
  .gate-footer {
    padding: 20px 6vw;
  }
  .gate-footer > span:last-child {
    display: none;
  }
  .gate-footer > span:first-child {
    font-size: 17px;
  }
  .gate-edition {
    font-size: 9px;
  }
  .unlocking .gate-scene wedding-envelope {
    transform: translateY(clamp(36px, 9svh, 66px)) scale(1.04);
    transition-delay: 0.25s;
  }
  .unlocking .gate-copy {
    transform: none;
    transition: opacity 0.25s;
  }
  .unlocking .gate-header,
  .unlocking .gate-footer {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
  }
  .gate-page.unlocking {
    min-height: 100svh;
  }
  .envelope-letter > span {
    font-size: 24px;
  }
  .envelope-address > span {
    font-size: 18px;
  }
  .envelope-address > small {
    font-size: 6px;
  }
  .envelope-seal {
    width: 59px;
    height: 59px;
  }
  .envelope-seal > svg {
    width: 22px;
    height: 22px;
  }
  .seal-ring {
    inset: 8px;
  }
  .section-space {
    padding: 70px 7vw;
  }
  h2 {
    font-size: 57px;
  }
  .welcome {
    gap: 8%;
  }
  .welcome-copy > p {
    font-size: 12px;
  }
  .welcome-copy h2 {
    font-size: 27px;
  }
  .embroidered-mark {
    width: 112px;
    height: 112px;
  }
  .countdown-band {
    flex-direction: column;
    text-align: center;
    gap: 28px;
    padding: 36px 24px;
  }
  .countdown-band > div > p {
    margin-left: auto;
    margin-right: auto;
  }
  .countdown {
    gap: 23px;
  }
  .countdown strong {
    font-size: 54px;
  }
  .event-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .event-art {
    max-width: 380px;
    margin: auto;
    width: 100%;
  }
  .arch-window {
    aspect-ratio: 1.3;
    border-radius: 50% 50% 0 0;
  }
  .arch-window img {
    object-position: 50% 85%;
    transform: none;
  }
  .event-list {
    width: 100%;
  }
  .event {
    grid-template-columns: 90px 1fr;
    gap: 30px;
  }
  .event-art .art-label {
    font-size: 20px;
  }
  .section-heading {
    margin-bottom: 40px;
  }
  .invitation-feature {
    grid-template-columns: 1fr;
    padding: 70px 7vw;
    gap: 25px;
  }
  .feature-copy {
    position: relative;
    z-index: 4;
  }
  .feature-copy h2 {
    font-size: 60px;
  }
  .stationery-preview {
    width: 440px;
    max-width: 100%;
    margin: auto;
    height: 470px;
  }
  .mini-card-main {
    left: 28%;
    width: 220px;
  }
  .mini-card-back {
    left: 8%;
  }
  .mini-card-front {
    left: 40%;
  }
  .dress {
    gap: 7%;
  }
  .dress h2 {
    font-size: 55px;
  }
  .dress-details h3 {
    font-size: 27px;
  }
  .dress-details p {
    font-size: 12px;
  }
  .travel-columns {
    gap: 7%;
    grid-template-columns: 1fr 1fr;
  }
  .transport-note h3 {
    font-size: 34px;
  }
  .transport-note p {
    font-size: 12px;
  }
  .guide-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .recommendations {
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }
  .rsvp {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rsvp-copy {
    max-width: 600px;
  }
  .rsvp h2 {
    font-size: 61px;
  }
  .rsvp-form {
    justify-self: start;
    max-width: 100%;
    padding: 35px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer > p {
    font-size: 21px;
  }
  .site-footer > .text-link {
    font-size: 10px;
  }
  .site-nav {
    gap: 17px;
    font-size: 10px;
  }
  .nav-rsvp {
    padding: 11px 0;
    gap: 12px;
  }
  body[data-page="site"] {
    --hero-header-max: 80px;
  }
  .hero-intro {
    font-size: 9px;
    letter-spacing: 2px;
    padding-inline-start: 2px;
  }
  .hero-landscape {
    object-position: 46% bottom;
  }
  .gifts > p:not(.eyebrow) {
    font-size: 12px;
  }
  .invitation-header {
    padding: 20px 24px;
  }
  .invitation-header .wordmark {
    font-size: 30px;
  }
  .invitation-header .demo-label {
    max-width: 100px;
    text-align: right;
    font-size: 7px;
  }
  .invitation-intro h1 {
    font-size: 50px;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 13px;
  }
  .gate-header .wordmark {
    font-size: 33px;
  }
  .gate-main {
    padding-top: 0;
    gap: 5px;
  }
  .gate-scene {
    min-height: 260px;
  }
  .gate-scene wedding-envelope {
    width: 88%;
    max-width: 320px;
  }
  .scene-caption {
    font-size: 19px;
    left: 0;
    top: 8px;
  }
  .scene-footnote {
    font-size: 14px;
    bottom: 0;
  }
  .gate-copy h1 {
    font-size: 51px;
  }
  .gate-copy > .eyebrow {
    font-size: 7px;
    letter-spacing: 1.6px;
  }
  .gate-copy .tiny-line {
    width: 20px;
  }
  .gate-intro {
    font-size: 11px;
    line-height: 1.8;
  }
  .gate-footer {
    padding-top: 12px;
  }
  .gate-footer > span:first-child {
    font-size: 16px;
  }
  .gate-footer > span:nth-child(2) {
    font-size: 8px;
  }
  .access-form {
    margin-top: 20px;
  }
  .form-message {
    font-size: 9px;
  }
  .envelope-letter > span {
    font-size: 21px;
  }
  .envelope-letter > small {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .envelope-seal {
    width: 55px;
    height: 55px;
  }
  .envelope-address > span {
    font-size: 17px;
  }
  .seal-letters {
    font-size: 26px;
  }
  .seal-letters small {
    font-size: 23px;
  }
  .envelope-letter {
    gap: 6px;
  }
  .section-space {
    padding: 64px 24px;
  }
  h2 {
    font-size: 51px;
    letter-spacing: -0.8px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .site-header {
    padding: 0 24px;
  }
  body[data-page="site"] {
    --hero-header-max: 76px;
  }
  .site-header .wordmark {
    font-size: 35px;
  }
  .site-header.scrolled {
    height: 66px;
  }
  .hero-intro {
    left: max(26px, calc((100% - 240px) / 2));
    right: max(26px, calc((100% - 240px) / 2));
    letter-spacing: 1.6px;
    padding-inline-start: 1.6px;
    line-height: 1.9;
  }
  .hero-date {
    font-size: 11px;
    letter-spacing: 3px;
  }
  .hero-date > span {
    width: 20px;
  }
  .welcome {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .welcome-title > .eyebrow {
    margin-bottom: 23px;
  }
  .welcome-copy {
    max-width: 100%;
  }
  .embroidered-mark {
    width: 110px;
    height: 110px;
    margin-left: -18px;
  }
  .welcome-copy h2 {
    font-size: 29px;
  }
  .welcome-copy > p {
    font-size: 12px;
  }
  .signature {
    font-size: 27px;
    margin-top: 25px;
  }
  .countdown {
    gap: 12px;
    justify-content: center;
    width: 100%;
  }
  .countdown > div {
    min-width: 50px;
  }
  .countdown strong {
    font-size: 45px;
  }
  .countdown span {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .countdown > i {
    font-size: 18px;
  }
  .countdown-caption {
    font-size: 30px;
  }
  .event-layout {
    gap: 35px;
  }
  .event-art {
    max-width: 100%;
    padding: 0 20px;
  }
  .event {
    grid-template-columns: 60px 1fr;
    gap: 22px;
    padding: 28px 0;
  }
  .event-number {
    font-size: 54px;
  }
  .event-number span {
    font-size: 7px;
  }
  .event-body h3 {
    font-size: 31px;
  }
  .event-body > .eyebrow,
  .reception > .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .event-body p:not(.eyebrow) {
    font-size: 12px;
  }
  .section-heading > p:last-child:not(.eyebrow) {
    font-size: 12px;
  }
  .event .text-link {
    font-size: 11px;
  }
  .invitation-feature {
    padding: 60px 24px 50px;
    gap: 30px;
  }
  .feature-copy h2 {
    font-size: 57px;
  }
  .feature-copy > p:not(.eyebrow) {
    font-size: 12px;
  }
  .feature-copy > small {
    font-size: 9px;
  }
  .stationery-preview {
    height: 440px;
  }
  .mini-card-main {
    width: 195px;
    height: 330px;
    left: 24%;
    padding: 22px 18px;
  }
  .mini-card-main img {
    width: 75px;
    margin-bottom: 13px;
  }
  .mini-card-main > i {
    font-size: 38px;
    margin-bottom: 18px;
  }
  .mini-card-main > span {
    font-size: 7px;
  }
  .mini-card-main > p {
    font-size: 8px;
  }
  .mini-card-back {
    width: 160px;
    height: 280px;
    left: 1%;
    top: 70px;
    padding: 24px 14px;
  }
  .mini-card-back > i {
    font-size: 34px;
    margin-top: 70px;
  }
  .mini-card-front {
    width: 180px;
    height: 128px;
    left: 35%;
    bottom: 50px;
  }
  .mini-card-front > i {
    font-size: 25px;
  }
  .dress {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dress h2 {
    font-size: 57px;
  }
  .dress-subtitle {
    font-size: 27px;
  }
  .dress-details h3 {
    font-size: 32px;
  }
  .dress-details article {
    margin-bottom: 25px;
    padding-bottom: 25px;
  }
  .dress-details .text-link {
    font-size: 11px;
  }
  .travel-columns {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .travel h2 {
    font-size: 48px;
  }
  .transport-note h3 {
    font-size: 37px;
  }
  .travel-accordions summary {
    font-size: 29px;
  }
  .guide-heading h2 {
    font-size: 55px;
  }
  .guide-filters {
    gap: 25px;
    margin-top: 28px;
  }
  .guide-filters button {
    font-size: 10px;
  }
  .recommendations {
    grid-template-columns: 1fr;
  }
  .recommendation {
    padding: 24px 0;
  }
  .recommendation h3 {
    font-size: 29px;
  }
  .gifts h2 {
    font-size: 55px;
  }
  .gifts > p:not(.eyebrow) {
    font-size: 12px;
  }
  .gift-details summary {
    font-size: 11px;
  }
  .rsvp h2 {
    font-size: 53px;
  }
  .rsvp {
    gap: 35px;
  }
  .rsvp-form {
    padding: 26px 22px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 24px 0;
  }
  .rsvp-form select {
    font-size: 13px;
  }
  .rsvp-form .button {
    font-size: 11px;
    padding: 16px;
    gap: 15px;
  }
  .site-footer {
    padding: 35px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .site-footer > p {
    font-size: 20px;
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .site-footer > span {
    font-size: 9px;
  }
  .site-footer .text-link {
    justify-self: end;
    font-size: 9px;
    gap: 10px;
  }
  .invitation-header {
    padding: 17px 18px;
    gap: 12px;
  }
  .invitation-header .text-link {
    font-size: 9px;
    gap: 7px;
  }
  .invitation-header .wordmark {
    font-size: 29px;
  }
  .invitation-header .demo-label {
    font-size: 6px;
    max-width: 75px;
  }
  .invitation-main {
    padding: 30px 16px 22px;
  }
  .invitation-intro h1 {
    font-size: 45px;
  }
  .invitation-intro .eyebrow {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .invitation-intro > p:last-child {
    font-size: 11px;
  }
  .invitation-studio {
    min-height: 395px;
    margin-top: 22px;
  }
  .invitation-envelope-wrap {
    padding-top: 65px;
  }
  .invitation-envelope-wrap wedding-envelope {
    max-width: 87%;
    width: 350px;
  }
  .invitation-envelope-wrap > .button {
    margin-top: 55px;
    font-size: 11px;
    padding: 15px 20px;
  }
  .deck-stack {
    width: 330px;
    max-width: calc(100% - 32px);
    height: 530px;
  }
  .paper-inner {
    padding: 30px 27px 23px;
  }
  .card-monogram {
    width: 100px;
    height: 100px;
    margin-top: 8px;
  }
  .paper-inner > p:not(.eyebrow) {
    font-size: 10px;
  }
  .main-paper h2 {
    font-size: 51px;
  }
  .main-paper h2 i {
    font-size: 35px;
  }
  .paper-inner .invite-date {
    font-size: 17px;
  }
  .card-personal {
    font-size: 16px;
  }
  .paper-card::before {
    inset: 10px;
  }
  .paper-card.is-behind-one {
    transform: translate(14px, 6px) rotate(4deg) scale(0.97);
  }
  .paper-card.is-behind-two {
    transform: translate(-14px, 9px) rotate(-5deg) scale(0.96);
  }
  .events-paper .paper-inner {
    padding: 33px 24px 22px;
  }
  .events-paper h2 {
    font-size: 42px;
  }
  .invite-schedule {
    margin-top: 23px;
  }
  .invite-schedule dt {
    font-size: 21px;
    gap: 14px;
  }
  .invite-schedule dd {
    margin-left: 49px;
    font-size: 10px;
  }
  .dress-paper h2,
  .travel-paper h2 {
    font-size: 55px;
  }
  .paper-number {
    font-size: 7px;
  }
  .card-navigation {
    gap: 15px;
    margin-top: 27px;
  }
  .card-tabs {
    gap: 5px;
  }
  .card-tabs button {
    width: 30px;
  }
  .invitation-tools {
    gap: 15px 22px;
    margin-top: 23px;
  }
  .invitation-tools .text-link {
    font-size: 9px;
    gap: 9px;
  }
  .invitation-disclaimer {
    font-size: 8px;
    max-width: 290px;
  }
  .invitation-main::before {
    width: 85%;
    left: -30%;
    height: 520px;
  }
  .invitation-header .text-link svg {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 360px) {
  .gate-copy h1 {
    font-size: 45px;
  }
  .gate-scene {
    min-height: 235px;
  }
  .scene-footnote {
    font-size: 12px;
  }
  .countdown {
    gap: 8px;
  }
  .countdown > div {
    min-width: 45px;
  }
  .countdown strong {
    font-size: 40px;
  }
  .mini-card-main {
    left: 20%;
    width: 180px;
  }
  .mini-card-back {
    left: 0;
    width: 145px;
  }
  .mini-card-front {
    left: 32%;
    width: 165px;
  }
  .deck-stack {
    max-width: calc(100% - 28px);
    height: 540px;
  }
  .paper-inner {
    padding-left: 23px;
    padding-right: 23px;
  }
  .paper-inner h2 {
    font-size: 46px;
  }
  .events-paper h2 {
    font-size: 38px;
  }
  .invite-schedule dt {
    font-size: 19px;
  }
  .invite-schedule dd {
    margin-left: 0;
  }
  .card-personal {
    font-size: 15px;
  }
  .invitation-header .wordmark {
    display: none;
  }
  .rsvp h2 {
    font-size: 47px;
  }
}
@media (orientation: landscape) and (max-height: 34rem) {
  .hero h1 {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 3vw, 44px);
    font-size: clamp(1.5rem, min(8vw, 12svh, (100svh - 14.5rem) / 2.9), 5.5rem);
    padding-bottom: 0.35em;
  }
  .hero h1 i {
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .motion-enabled [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero-landscape {
    transform: none !important;
  }
  .gate-scene wedding-envelope,
  .gate-scene .envelope-object,
  .gate-scene .envelope-seal > svg,
  .gate-scene .envelope-seal::after {
    animation: none !important;
  }
}
.paper-card:not(.is-active):not(.is-behind-one):not(.is-behind-two) {
  transform: scale(0.94);
  visibility: hidden;
}
.invitation-deck {
  scroll-margin-top: 24px;
}
@media (max-width: 800px) {
  .gate-copy h1 br {
    display: initial;
  }
  .gate-copy h1 em {
    display: inline;
  }
  .scene-footnote {
    display: none;
  }
}
@media (max-width: 560px) {
  .gate-intro {
    font-size: 13px;
  }
  .access-form label {
    font-size: 12px;
  }
  .form-message {
    font-size: 11px;
  }
  .welcome-copy > p,
  .event-body p:not(.eyebrow),
  .dress-details p,
  .transport-note p,
  .detail-body,
  .gifts > p:not(.eyebrow),
  .rsvp-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .recommendation > p:not(.eyebrow) {
    font-size: 13px;
  }
  .recommendation > .eyebrow {
    font-size: 9px;
  }
  .form-note {
    font-size: 11px;
  }
}
@media print {
  .site-header,
  .invitation-header,
  .invitation-intro,
  .invitation-tools,
  .invitation-disclaimer,
  .card-navigation,
  .card-status,
  .toast {
    display: none !important;
  }
  .invitation-page {
    background: white;
  }
  .invitation-studio {
    margin: 0;
  }
  .invitation-deck {
    display: block !important;
  }
  .invitation-envelope-wrap {
    display: none !important;
  }
  .deck-stack {
    width: 100%;
    height: auto;
  }
  .paper-card {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    page-break-after: always;
    height: 650px;
    width: 450px;
    margin: auto;
    box-shadow: none;
  }
  .paper-inner {
    opacity: 1 !important;
  }
}

/* Quiet sea ambience control, integrated into the main header. */
.site-header .wordmark {
  margin-right: auto;
}
.sea-sound {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-left: 18px;
  padding: 11px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 35;
  opacity: 0.8;
}
.sea-sound:hover,
.sea-sound:focus-visible {
  opacity: 1;
  background: #a5a58d26;
}
.sea-sound svg {
  width: 21px;
  height: 21px;
}
.sea-sound-waves {
  opacity: 0.35;
}
.sea-sound-muted {
  display: none;
}
.sea-sound.is-playing .sea-sound-waves {
  opacity: 1;
}
.sea-sound[data-enabled="false"] .sea-sound-waves {
  display: none;
}
.sea-sound[data-enabled="false"] .sea-sound-muted {
  display: block;
}
@media (max-width: 560px) {
  .sea-sound {
    margin-left: 6px;
    margin-right: 6px;
  }
}
@media print {
  .sea-sound {
    display: none;
  }
}

@media (max-width: 560px) {
  .wordmark {
    width: 48px;
    height: 56px;
  }
  .wordmark > img {
    width: 56px;
    height: 56px;
  }
}

/* Confirmación real e invitación personal */
.rsvp-form input[type="email"],
.rsvp-form input[type="tel"],
.rsvp-form textarea,
.rsvp-form select {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  min-height: 46px;
  font: inherit;
  border-radius: 0;
}
.rsvp-form textarea {
  resize: vertical;
}
.rsvp-form input:disabled,
.rsvp-form select:disabled {
  opacity: 0.55;
}
.invitation-rsvp {
  width: min(680px, 100%);
  margin: 70px auto 0;
  text-align: left;
}
.invitation-rsvp > h2 {
  font-size: 48px;
  margin: 14px 0 30px;
}
.invitation-rsvp .rsvp-form {
  padding: 28px;
}
.rsvp-form #rsvp-status {
  min-height: 50px;
}

/* Transfer details and RSVP guided flow. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.bank-details {
  margin: 24px 0 0;
  text-align: left;
}
.bank-details > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.bank-details dt {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.bank-details dd {
  margin: 6px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
}
.bank-details dd > span {
  overflow-wrap: anywhere;
}
.bank-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 11px;
  border-bottom: 1px solid currentColor;
  min-height: 44px;
}
.bank-copy svg {
  width: 16px;
  height: 16px;
}
#rsvp-form > label {
  margin-top: 20px;
}
#rsvp-start {
  margin-top: 28px;
}
#rsvp-form #rsvp-status {
  min-height: 0;
}
#rsvp-view-invitation {
  margin-top: 18px;
  font-size: 12px;
}
body:has(.rsvp-dialog[open]) {
  overflow: hidden;
}
.rsvp-dialog {
  width: min(650px, calc(100% - 32px));
  max-width: none;
  max-height: min(850px, calc(100dvh - 48px));
  padding: 0;
  color: var(--ink);
  background: var(--paper-light);
  border: 1px solid #6b705c55;
  box-shadow: 0 24px 90px #0004;
  margin: auto;
  overscroll-behavior: contain;
}
.rsvp-dialog::backdrop {
  background: #1f281fc4;
  backdrop-filter: blur(5px);
}
.rsvp-wizard {
  display: flex;
  flex-direction: column;
  max-height: inherit;
}
.rsvp-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px 32px 18px;
  flex: 0 0 auto;
}
.rsvp-dialog-header .eyebrow {
  margin: 0 0 8px;
  font-size: 9px;
}
.rsvp-progress {
  font-size: 12px;
  color: var(--muted);
}
.rsvp-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  font-size: 30px;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.rsvp-progress-track {
  height: 3px;
  background: #6b705c20;
  flex: 0 0 auto;
}
.rsvp-progress-track span {
  height: 100%;
  display: block;
  width: 25%;
  background: var(--olive);
  transition: width 0.25s ease;
}
.rsvp-dialog-content {
  padding: 28px 32px 12px;
  overflow-y: auto;
  min-height: 0;
  overscroll-behavior: contain;
}
.rsvp-dialog #rsvp-dialog-title {
  font-size: clamp(32px, 4vw, 45px);
  letter-spacing: -0.5px;
  margin: 0;
  outline: none;
}
.rsvp-step-description {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 24px;
  line-height: 1.7;
}
.rsvp-dialog fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.rsvp-options {
  display: grid;
  gap: 12px;
}
.rsvp-options > label {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--line);
  cursor: pointer;
  background: transparent;
  font-size: 15px;
}
.rsvp-options > label:has(input:checked) {
  border-color: var(--olive);
  background: #6b705c0d;
}
.rsvp-options small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.6;
}
.rsvp-options input[type="radio"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--olive);
}
.rsvp-dialog label:not(.rsvp-options > label) {
  display: block;
  font-size: 13px;
  margin-top: 20px;
}
.rsvp-dialog input:not([type="radio"]),
.rsvp-dialog select,
.rsvp-dialog textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff5;
  color: var(--ink);
  padding: 12px;
  font: 16px var(--sans);
  margin-top: 8px;
}
.rsvp-dialog textarea {
  resize: vertical;
  line-height: 1.6;
}
.rsvp-dialog :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}
.rsvp-person {
  padding: 20px;
  border: 1px solid var(--line);
  margin-bottom: 16px;
  background: #f5eee380;
}
.rsvp-person > legend {
  font-size: 13px;
  color: var(--olive);
  font-family: var(--sans);
  padding: 0 6px;
}
.rsvp-dialog fieldset.rsvp-person {
  border: 1px solid var(--line);
  padding: 20px;
}
.rsvp-dialog .rsvp-person label:first-of-type {
  margin-top: 0;
}
.rsvp-menu-intro {
  margin: 22px 0 8px;
  font-size: 13px;
  color: var(--muted);
}
.rsvp-dialog fieldset.rsvp-menu-choices > legend {
  font-size: 13px;
  margin-bottom: 12px;
}
.rsvp-menu-choices .rsvp-options {
  gap: 8px;
}
.rsvp-menu-choices .rsvp-options > label {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
}
.rsvp-dialog .rsvp-legacy-note {
  padding: 16px;
  background: #ffe8d660;
  font-size: 13px;
  margin-bottom: 18px;
  white-space: pre-line;
}
.rsvp-review {
  padding: 20px;
  border: 1px solid var(--line);
  background: #6b705c08;
}
.rsvp-review p {
  font-size: 14px;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.rsvp-review p + p {
  margin-top: 12px;
}
.rsvp-review strong {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.rsvp-wizard-error {
  font-size: 13px;
  color: #873b27;
  margin: 16px 0 0;
}
.rsvp-wizard-error:empty {
  margin: 0;
}
.rsvp-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 32px;
  border-top: 1px solid var(--line);
  background: var(--paper-light);
  flex: 0 0 auto;
}
.rsvp-dialog-footer .button {
  margin-left: auto;
  min-width: 150px;
}
.rsvp-dialog-footer .text-link {
  font-size: 13px;
  min-height: 44px;
}
.rsvp-dialog .form-note {
  font-size: 12px;
}
@media (max-width: 560px) {
  .gift-content {
    padding: 22px 18px;
  }
  .bank-details dd {
    font-size: 13px;
  }
  .rsvp-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }
  .rsvp-dialog-header {
    padding: 18px 20px 14px;
  }
  .rsvp-dialog-content {
    padding: 24px 20px 10px;
  }
  .rsvp-dialog-footer {
    padding: 16px 20px;
    gap: 12px;
  }
  .rsvp-dialog-footer .button {
    min-width: 130px;
    padding: 14px 18px;
  }
  .rsvp-options > label {
    padding: 15px;
    font-size: 14px;
  }
  .rsvp-dialog fieldset.rsvp-person {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rsvp-progress-track span {
    transition: none;
  }
}

.rsvp-saved-response {
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rsvp-saved-response summary {
  font-size: 13px;
  cursor: pointer;
}
#rsvp-saved-summary p {
  margin-top: 14px;
  font-size: 13px;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
#rsvp-saved-summary strong {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

#rsvp-edit-contact {
  font-size: 12px;
  margin-top: 12px;
  min-height: 44px;
}
.access-link-page #access-form {
  display: none;
}
#access-link-notice {
  max-width: 46ch;
  margin-top: 25px;
}

/* Readable, viewport-balanced sections on large desktop displays. */
@media (min-width: 1440px) and (min-height: 800px) {
  html:has(body[data-page="site"]) {
    scroll-padding-top: 74px;
  }
  body[data-page="site"] main > .section-space {
    width: 100%;
    max-width: none;
    min-height: calc(100svh - 74px);
    padding-block: clamp(44px, 5svh, 72px);
    padding-inline: max(calc((100vw - 1320px) / 2), 64px);
  }
  body[data-page="site"] :is(.section-space, .countdown-band) .eyebrow {
    font-size: 11px;
  }
  body[data-page="site"] .section-space h2 {
    font-size: clamp(76px, 8svh, 88px);
  }
  body[data-page="site"] .section-heading {
    margin-bottom: clamp(28px, 4svh, 44px);
  }
  body[data-page="site"] :is(
    .section-heading > p:last-child:not(.eyebrow),
    .welcome-copy > p,
    .event-body p:not(.eyebrow),
    .dress-details p,
    .transport-note p,
    .detail-body,
    .recommendation > p:not(.eyebrow),
    .gifts > p:not(.eyebrow),
    .rsvp-copy > p:not(.eyebrow),
    .bank-details dd
  ) {
    font-size: clamp(14px, 0.85vw, 16px);
  }
  body[data-page="site"] :is(.text-link, .button, .guide-filters button) {
    font-size: 14px;
  }
  body[data-page="site"] .site-nav {
    font-size: 14px;
  }
  body[data-page="site"] .site-nav svg {
    width: 17px;
    height: 17px;
  }
  body[data-page="site"] main > .welcome {
    min-height: calc(100svh - 74px - 166px);
    align-items: center;
  }
  body[data-page="site"] .welcome-copy {
    max-width: 560px;
  }
  body[data-page="site"] .welcome-copy h2 {
    font-size: 40px;
  }
  body[data-page="site"] .welcome-copy > p {
    line-height: 1.8;
  }
  body[data-page="site"] .countdown-band {
    min-height: 166px;
    padding-block: 32px;
    padding-inline: max(calc((100vw - 1320px) / 2), 64px);
  }
  body[data-page="site"] .countdown-caption {
    font-size: 38px;
  }
  body[data-page="site"] .countdown strong {
    font-size: 66px;
  }
  body[data-page="site"] .countdown span {
    font-size: 10px;
  }
  body[data-page="site"] main > .celebration {
    padding-block: clamp(32px, 4svh, 64px);
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    column-gap: min(7vw, 100px);
    row-gap: 24px;
    align-content: center;
  }
  body[data-page="site"] .celebration .section-heading {
    grid-column: 1;
    margin-bottom: 0;
  }
  body[data-page="site"] .celebration .section-heading .eyebrow {
    margin-bottom: 14px;
  }
  body[data-page="site"] .celebration .section-heading > p:last-child {
    margin-top: 14px;
  }
  body[data-page="site"] .event-layout {
    display: contents;
  }
  body[data-page="site"] .event-art {
    grid-column: 1;
    grid-row: 2;
    width: clamp(260px, 35.5svh, 460px);
    max-width: 100%;
    padding: 0;
    justify-self: center;
  }
  body[data-page="site"] .event-art .art-label {
    font-size: 23px;
    margin-top: 16px;
  }
  body[data-page="site"] .event-list {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }
  body[data-page="site"] .event {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 20px;
    padding: 18px 0 22px;
  }
  body[data-page="site"] .event-number {
    font-size: 78px;
  }
  body[data-page="site"] .event-number span {
    font-size: 10px;
  }
  body[data-page="site"] :is(.event-body, .reception) > .eyebrow {
    margin-bottom: 12px;
  }
  body[data-page="site"] :is(.event-body, .dress-details) h3 {
    font-size: 36px;
  }
  body[data-page="site"] .event-body p:not(.eyebrow) {
    margin-top: 10px;
  }
  body[data-page="site"] .pending-place {
    font-size: 13px;
    margin-top: 14px;
  }
  body[data-page="site"] .reception {
    margin-top: 20px;
    padding-top: 20px;
  }
  body[data-page="site"] .dress {
    align-items: center;
  }
  body[data-page="site"] .dress-subtitle {
    font-size: 34px;
  }
  body[data-page="site"] :is(.travel, .local-guide, .gifts) {
    display: grid;
    align-content: center;
  }
  body[data-page="site"] .transport-note p {
    max-width: 480px;
  }
  body[data-page="site"] .travel-accordions summary {
    font-size: 34px;
    padding-block: 20px;
  }
  body[data-page="site"] .travel-accordions summary > span {
    font-size: 12px;
  }
  body[data-page="site"] .guide-filters {
    align-self: end;
    margin-top: 0;
  }
  body[data-page="site"] .local-guide {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 40px;
  }
  body[data-page="site"] .recommendations {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 28px;
    margin-top: 24px;
  }
  body[data-page="site"] .recommendation {
    padding-block: 22px;
  }
  body[data-page="site"] .recommendation h3 {
    font-size: 32px;
  }
  body[data-page="site"] .gift-details {
    width: 100%;
    max-width: 1040px;
  }
  body[data-page="site"] .gift-details summary {
    font-size: 14px;
  }
  body[data-page="site"] .gift-content h3 {
    font-size: 34px;
  }
  body[data-page="site"] :is(.bank-details dt, .bank-copy) {
    font-size: 13px;
  }
  body[data-page="site"] .rsvp-form > .demo-label {
    font-size: 11px;
  }
  body[data-page="site"] .rsvp-form label {
    font-size: 13px;
  }
  body[data-page="site"] .rsvp-form :is(input, select, textarea) {
    font-size: 16px;
  }
  body[data-page="site"] .form-note {
    font-size: 12px;
  }
  body[data-page="site"] .site-footer :is(span, .text-link) {
    font-size: 12px;
  }
}
