@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 {
  font-family: var(--serif);
  font-size: 39px;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -3px;
}
.wordmark > span {
  font-size: 20px;
  font-style: italic;
  vertical-align: 3px;
  margin: 0 3px;
}
.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-page:not(.unlocking) .gate-scene .envelope-object {
  animation: envelope-arrival 1.8s var(--ease) backwards;
}
.gate-page:not(.unlocking) .gate-scene wedding-envelope {
  animation: envelope-settle 2.6s ease-in-out 1.8s;
}
.gate-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(.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 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 */
.site-header {
  height: 94px;
  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;
  border: 1px solid #f5eee380;
  border-radius: 50%;
  padding: 13px 24px;
}
.site-header.scrolled .nav-rsvp {
  border-color: var(--line);
}
.site-nav svg {
  width: 14px;
  height: 14px;
}
.nav-toggle {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 780px;
  height: 100svh;
  max-height: 1200px;
  color: var(--paper-light);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-landscape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center;
  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: 118px 28px 30px;
  border: 1px solid #ece6c939;
  pointer-events: none;
}
.hero-copy {
  text-align: center;
  margin-top: 24px;
  animation: arrive 1.5s var(--ease) both;
}
.hero-copy > .eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  margin: auto auto 24px;
}
.hero h1 {
  display: flex;
  flex-direction: column;
  font-size: 132px;
  line-height: 0.85;
  letter-spacing: -3px;
}
.hero h1 i {
  font-size: 64px;
  line-height: 0.9;
  margin: 2px auto 10px;
  color: #e7d4b4;
}
.hero-place {
  font: italic 28px var(--serif);
  margin: 30px auto 0;
}
.hero-date {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 4px;
  margin: 20px auto 0;
}
.hero-date > span {
  height: 1px;
  width: 35px;
  background: #f5eee36b;
}
.hero-bottom {
  position: absolute;
  bottom: 53px;
  left: 5vw;
  right: 5vw;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.5px;
}
.hero-bottom > span:last-child {
  text-align: right;
}
.scroll-cue {
  display: grid;
  place-items: center;
  border: 1px solid #f5eee370;
  width: 42px;
  height: 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: center;
}
.welcome-title > .eyebrow {
  margin-bottom: 30px;
}
.welcome-copy {
  position: relative;
  max-width: 480px;
}
.welcome-copy h3 {
  font-size: 30px;
  margin-bottom: 20px;
}
.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 30px -22px;
}
.welcome h2 em {
  color: var(--olive);
}
.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-window img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 72% center;
  border-radius: 49% 49% 0 0;
}
.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 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  max-width: 1500px;
  margin: auto;
}
.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: 420px;
  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-content {
  margin-top: 25px;
  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;
}
.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;
}
.site-footer .wordmark {
  font-size: 38px;
}

/* 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;
  }
  .hero h1 {
    font-size: 156px;
  }
  .hero h1 i {
    font-size: 80px;
  }
  .hero-copy > .eyebrow {
    margin-bottom: 40px;
  }
  .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;
  }
  .hero h1 {
    font-size: 118px;
  }
  .hero {
    min-height: 750px;
  }
}
@media (max-width: 800px) {
  .gate-header {
    padding: 22px 6vw;
  }
  .gate-header > .eyebrow {
    display: none;
  }
  .gate-main {
    grid-template-columns: 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;
  }
  .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(100px) scale(1.1);
  }
  .cinema-curtain span {
    font-size: 42px;
  }
  .gate-copy {
    transition: opacity 0.5s;
  }
  .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 h2 {
    font-size: 49px;
  }
  .welcome-copy > p {
    font-size: 12px;
  }
  .welcome-copy h3 {
    font-size: 27px;
  }
  .embroidered-mark {
    width: 112px;
    height: 112px;
    margin-bottom: 25px;
  }
  .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;
  }
  .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 15px;
    gap: 12px;
  }
  .site-header {
    height: 80px;
  }
  .hero-frame {
    inset: 100px 20px 20px;
  }
  .hero {
    height: 100svh;
    min-height: 720px;
    max-height: 1050px;
  }
  .hero h1 {
    font-size: 114px;
  }
  .hero h1 i {
    font-size: 53px;
  }
  .hero-copy > .eyebrow {
    font-size: 8px;
    letter-spacing: 2px;
  }
  .hero-place {
    font-size: 25px;
  }
  .hero-bottom {
    bottom: 42px;
  }
  .hero-landscape {
    object-position: 58% center;
  }
  .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 {
    height: 76px;
    padding: 0 24px;
  }
  .site-header .wordmark {
    font-size: 35px;
  }
  .site-header.scrolled {
    height: 66px;
  }
  .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: center;
    padding: 60px 10vw;
    gap: 30px;
    font: 35px var(--serif);
    height: 100svh;
  }
  .site-nav.nav-open .nav-rsvp {
    border-color: var(--olive);
    font: 13px var(--sans);
    margin-top: 20px;
    padding: 18px 30px;
  }
  .site-header:has(.nav-open) {
    color: var(--ink);
  }
  .site-header:has(.nav-open) > .wordmark {
    z-index: 35;
  }
  .hero {
    min-height: 670px;
    height: 100svh;
    max-height: 950px;
  }
  .hero-frame {
    inset: 94px 13px 16px;
  }
  .hero-copy {
    margin-top: 5px;
    padding: 0 20px;
  }
  .hero-copy > .eyebrow {
    max-width: 240px;
    font-size: 8px;
    letter-spacing: 1.6px;
    line-height: 1.9;
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: 92px;
    letter-spacing: -1.5px;
  }
  .hero h1 i {
    font-size: 47px;
    margin: 7px 0 12px;
  }
  .hero-place {
    font-size: 25px;
    margin-top: 28px;
  }
  .hero-date {
    font-size: 10px;
    letter-spacing: 3px;
  }
  .hero-date > span {
    width: 20px;
  }
  .hero-bottom {
    bottom: 38px;
    left: 29px;
    right: 29px;
    font-size: 8px;
    gap: 10px;
  }
  .scroll-cue {
    width: 36px;
    height: 54px;
  }
  .hero-bottom > span {
    max-width: 110px;
  }
  .hero-landscape {
    object-position: 58% bottom;
  }
  .welcome {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .welcome h2 {
    font-size: 55px;
  }
  .welcome-title > .eyebrow {
    margin-bottom: 23px;
  }
  .welcome-copy {
    max-width: 100%;
  }
  .embroidered-mark {
    width: 110px;
    height: 110px;
    margin-left: -18px;
    margin-bottom: 22px;
  }
  .welcome-copy h3 {
    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;
  }
  .hero h1 {
    font-size: 80px;
  }
  .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;
  }
  .hero-bottom {
    font-size: 7px;
  }
  .rsvp h2 {
    font-size: 47px;
  }
}
@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: .8;
}
.sea-sound:hover, .sea-sound:focus-visible { opacity: 1; background: #a5a58d26; }
.sea-sound svg { width: 21px; height: 21px; }
.sea-sound-waves { opacity: .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; } }
