:root {
  --ivory: #f7f0e6;
  --ivory-deep: #eadfce;
  --paper: #fffaf2;
  --wine: #68172f;
  --wine-deep: #3e101e;
  --wine-soft: #8b3d51;
  --gold: #b58b4c;
  --gold-light: #d8bd85;
  --ink: #2d1a1e;
  --muted: #765f61;
  --serif: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
  --display: Didot, "Bodoni MT", "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 22px 60px rgba(53, 13, 26, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--serif);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}



body.is-locked { overflow: hidden; }

button, a { -webkit-tap-highlight-color: transparent; }

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sample-note {
  position: fixed;
  z-index: 200;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 28px);
  padding: 7px 13px;
  color: #fffaf2;
  background: rgba(56, 12, 27, 0.92);
  border: 1px solid rgba(216, 189, 133, 0.52);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(36, 8, 17, 0.2);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.045em;
  line-height: 1.2;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.sample-note strong {
  color: var(--gold-light);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.intro {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 38%, rgba(170, 72, 96, 0.35), transparent 34%),
    linear-gradient(155deg, #7c2440 0%, var(--wine) 44%, var(--wine-deep) 100%);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro::before, .intro::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(216, 189, 133, 0.48);
  pointer-events: none;
}

.intro::before { inset: 18px; }
.intro::after { inset: 24px; border-color: rgba(216, 189, 133, 0.13); }
.intro.is-opening .envelope__flap { transform: rotateX(180deg); }
.intro.is-opening .envelope__card { transform: translate(-50%, -66%); }

.intro.is-opening .wax-seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.65);
}

.intro.is-opening {
  opacity: 0;
  visibility: hidden;
}

.intro__glow {
  position: absolute;
  width: 42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 207, 148, 0.12), transparent 67%);
  animation: breathe 6s ease-in-out infinite;
}

.intro__content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(90vw, 520px);
  justify-items: center;
  padding: 3rem 0 1rem;
}

.intro__eyebrow {
  margin: 0 0 2rem;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: clamp(0.66rem, 2vw, 0.78rem);
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.intro__help {
  margin: 2.1rem 0 0;
  color: rgba(255, 250, 242, 0.76);
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  animation: softlyPulse 2.4s ease-in-out infinite;
}

.botanical {
  position: absolute;
  width: min(38vw, 250px);
  fill: none;
  stroke: rgba(216, 189, 133, 0.32);
  stroke-linecap: round;
  stroke-width: 1.1;
}

.botanical ellipse { fill: rgba(216, 189, 133, 0.07); }
.botanical--intro-left { bottom: -70px; left: -30px; }
.botanical--intro-right { top: -70px; right: -28px; transform: rotate(180deg); }

.envelope {
  position: relative;
  width: min(76vw, 390px);
  aspect-ratio: 1.45;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  perspective: 1000px;
  filter: drop-shadow(0 24px 22px rgba(25, 2, 10, 0.28));
}

.envelope__shadow {
  position: absolute;
  right: 8%;
  bottom: -12%;
  left: 8%;
  height: 18%;
  background: rgba(23, 3, 9, 0.36);
  border-radius: 50%;
  filter: blur(18px);
}

.envelope__back, .envelope__front, .envelope__flap {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(119, 83, 51, 0.2);
}

.envelope__back {
  background: linear-gradient(140deg, #eadbc5, #f8eddd 62%, #dfcbb0);
  border-radius: 4px;
}

.envelope__front {
  z-index: 3;
  background:
    linear-gradient(31deg, #e2cfb4 49.5%, transparent 50%) bottom left / 50.5% 100% no-repeat,
    linear-gradient(-31deg, #eadac2 49.5%, transparent 50%) bottom right / 50.5% 100% no-repeat,
    linear-gradient(to top, #f2e5d3 0 58%, transparent 58%);
  border-radius: 4px;
  clip-path: polygon(0 21%, 50% 66%, 100% 21%, 100% 100%, 0 100%);
}

.envelope__flap {
  z-index: 4;
  background: linear-gradient(155deg, #f6ebdc, #dfc9ab);
  border-radius: 4px 4px 0 0;
  clip-path: polygon(0 0, 100% 0, 50% 67%);
  transform-origin: top;
  transition: transform 0.72s cubic-bezier(0.42, 0, 0.2, 1);
}

.envelope__card {
  position: absolute;
  z-index: 2;
  top: 54%;
  left: 50%;
  display: flex;
  width: 85%;
  height: 84%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--wine);
  background: radial-gradient(circle at 50% 22%, rgba(181, 139, 76, 0.08), transparent 28%), var(--paper);
  border: 1px solid rgba(181, 139, 76, 0.4);
  box-shadow: 0 10px 35px rgba(48, 15, 24, 0.15);
  transform: translate(-50%, -46%);
  transition: transform 0.92s 0.18s cubic-bezier(0.2, 0.72, 0.22, 1);
}

.envelope__card::before {
  position: absolute;
  inset: 8px;
  content: "";
  border: 1px solid rgba(181, 139, 76, 0.22);
}

.envelope__card-kicker, .envelope__card-date {
  font-family: var(--sans);
  font-size: clamp(0.48rem, 1.8vw, 0.64rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.envelope__card-names {
  margin: 0.75rem 0 0.6rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 7vw, 3rem);
  line-height: 1;
}

.envelope__card-names i { color: var(--gold); font-weight: 400; }

.wax-seal {
  position: absolute;
  z-index: 5;
  top: 56%;
  left: 50%;
  display: inline-flex;
  width: clamp(62px, 17vw, 78px);
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #f1dcae;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.12), transparent 24%),
    radial-gradient(circle, #8e2b44 0 54%, #69162f 55% 72%, #7f243c 73%);
  border: 2px solid rgba(242, 218, 168, 0.25);
  border-radius: 46% 54% 48% 52% / 52% 46% 54% 48%;
  box-shadow: inset 0 0 0 5px rgba(54, 8, 22, 0.18), 0 7px 15px rgba(42, 8, 17, 0.25);
  font-family: var(--display);
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  transform: translate(-50%, -50%);
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.wax-seal b { color: var(--gold-light); font-size: 0.65em; font-weight: 400; }

/* Refined wax-seal envelope */
.intro {
  background:
    radial-gradient(circle at 50% 42%, rgba(142, 62, 79, 0.34), transparent 32%),
    linear-gradient(145deg, #2c171b 0%, #491421 52%, #210d12 100%);
}

.intro::before {
  border-color: rgba(216, 189, 133, 0.34);
}

.intro__glow {
  background: radial-gradient(circle, rgba(216, 189, 133, 0.16), transparent 64%);
}

.intro__eyebrow {
  margin-bottom: 2.7rem;
  color: #dfc999;
  font-size: clamp(0.68rem, 2.1vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.27em;
}

.intro__eyebrow span {
  display: inline-block;
  margin: 0 0.38rem;
  color: rgba(223, 201, 153, 0.55);
}

.envelope {
  width: min(80vw, 430px);
  aspect-ratio: 1.5;
  transition: transform 0.65s ease, filter 0.65s ease;
  filter: drop-shadow(0 30px 29px rgba(9, 2, 4, 0.4));
}

.envelope::before {
  position: absolute;
  z-index: 5;
  inset: 10px;
  content: "";
  border: 1px solid rgba(151, 120, 77, 0.22);
  clip-path: polygon(0 22%, 50% 66%, 100% 22%, 100% 100%, 0 100%);
  pointer-events: none;
}

.envelope__shadow {
  right: 5%;
  bottom: -15%;
  left: 5%;
  height: 20%;
  background: rgba(9, 2, 4, 0.48);
  filter: blur(22px);
}

.envelope__back {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.8), transparent 25%),
    linear-gradient(145deg, #f4eadb, #e8d7bf 60%, #d9c2a3);
  border-color: rgba(130, 91, 50, 0.3);
  border-radius: 3px;
}

.envelope__liner {
  position: absolute;
  z-index: 1;
  inset: 2px;
  background:
    linear-gradient(rgba(88, 17, 38, 0.9), rgba(55, 11, 25, 0.96)),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(216, 189, 133, 0.3) 10px 11px);
  clip-path: polygon(0 0, 100% 0, 50% 68%);
}

.envelope__front {
  background:
    linear-gradient(31deg, #e2cfb2 49.5%, transparent 50%) bottom left / 50.5% 100% no-repeat,
    linear-gradient(-31deg, #eadbc4 49.5%, transparent 50%) bottom right / 50.5% 100% no-repeat,
    linear-gradient(to top, #f5ecdf 0 59%, transparent 59%);
  border-color: rgba(130, 91, 50, 0.28);
  box-shadow: inset 0 -18px 32px rgba(107, 70, 35, 0.06);
}

.envelope__flap {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.44), transparent 42%),
    linear-gradient(155deg, #f6edde, #ddc6a6);
  border-color: rgba(130, 91, 50, 0.24);
  filter: drop-shadow(0 4px 3px rgba(85, 53, 27, 0.12));
}

.envelope__blind-mark {
  position: absolute;
  z-index: 5;
  top: 78%;
  left: 50%;
  color: rgba(108, 77, 47, 0.42);
  font-family: var(--display);
  font-size: clamp(0.72rem, 2.5vw, 0.95rem);
  letter-spacing: 0.34em;
  text-shadow: 0 1px rgba(255, 255, 255, 0.72);
  transform: translateX(-50%);
}

.wax-seal {
  z-index: 7;
  top: 57%;
  width: clamp(92px, 23vw, 116px);
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 224, 204, 0.18), transparent 17%),
    radial-gradient(circle at 58% 66%, #7e263d 0 26%, #68182f 57%, #4b1022 78%, #751f38 100%);
  border: 0;
  border-radius: 49% 51% 45% 55% / 53% 45% 55% 47%;
  box-shadow:
    inset 5px 7px 10px rgba(255, 190, 169, 0.11),
    inset -7px -8px 13px rgba(36, 4, 14, 0.3),
    0 2px 0 rgba(255, 238, 215, 0.3),
    0 12px 18px rgba(45, 7, 18, 0.34);
}

.wax-seal::before {
  position: absolute;
  z-index: 1;
  inset: 5px;
  content: "";
  border: 1px solid rgba(243, 186, 164, 0.18);
  border-radius: 48% 52% 50% 50% / 54% 48% 52% 46%;
  box-shadow: inset 0 0 0 4px rgba(44, 7, 18, 0.08);
}

.wax-seal::after {
  position: absolute;
  z-index: 3;
  top: 10%;
  left: 16%;
  width: 35%;
  height: 15%;
  content: "";
  background: rgba(255, 218, 199, 0.12);
  border-radius: 50%;
  filter: blur(2px);
  transform: rotate(-24deg);
}

.wax-seal__rim {
  position: absolute;
  z-index: 3;
  inset: 10px;
  border: 1px solid rgba(45, 5, 17, 0.34);
  border-radius: 50%;
  box-shadow: 0 1px rgba(255, 213, 190, 0.12), inset 0 1px 2px rgba(36, 4, 14, 0.3);
}

.wax-seal img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.73;
  filter: contrast(1.8) brightness(0.63) saturate(0.6);
  mix-blend-mode: multiply;
  transform: scale(1.06);
}

.intro.is-opening {
  transition-delay: 0.34s;
}

.intro.is-opening .envelope {
  transform: translateY(12px) scale(0.97);
  filter: drop-shadow(0 18px 20px rgba(9, 2, 4, 0.28));
}

.intro.is-opening .wax-seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.68) rotate(-13deg);
}

.intro.is-opening .envelope__flap {
  transform: rotateX(180deg);
}

/* Ivory photographic envelope requested for the opening screen */
.intro {
  color: var(--wine-deep);
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, 0.7), transparent 36%),
    linear-gradient(145deg, #fbf7f0 0%, #f1e7d8 56%, #eadfce 100%);
}

.intro::before,
.intro::after,
.intro .botanical {
  display: none;
}

.intro__glow {
  width: min(92vw, 46rem);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), transparent 67%);
}

.intro__content {
  width: min(96vw, 720px);
  padding: clamp(4.5rem, 11vh, 7rem) 0 2rem;
}

.intro__eyebrow {
  margin-bottom: clamp(1.7rem, 4vh, 2.7rem);
  color: #6c5b52;
  font-size: clamp(0.65rem, 1.7vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.22em;
}

.intro__eyebrow span {
  color: rgba(104, 23, 47, 0.48);
}

.envelope-photo {
  position: relative;
  display: block;
  width: min(88vw, 620px);
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  transition: opacity 0.45s ease, transform 0.6s ease;
}

.envelope-photo__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.envelope-photo__seal {
  position: absolute;
  z-index: 2;
  top: 58.7%;
  left: 49.2%;
  display: grid;
  width: 14.1%;
  aspect-ratio: 1;
  place-items: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.envelope-photo__seal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: sepia(0.3) saturate(0.65) brightness(0.7) contrast(1.2);
  mix-blend-mode: multiply;
}

.intro__help {
  margin-top: clamp(1.25rem, 3vh, 2rem);
  color: rgba(92, 75, 67, 0.76);
  font-size: clamp(0.64rem, 1.7vw, 0.76rem);
  letter-spacing: 0.2em;
}

.intro.is-opening .envelope-photo {
  opacity: 0.9;
  transform: translateY(10px) scale(0.97);
}

.intro.is-opening .envelope-photo__seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72) rotate(-10deg);
}

.experience {
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.7s 0.45s ease;
}

.experience.is-visible { opacity: 1; }

.section {
  position: relative;
  padding: clamp(5rem, 11vw, 8rem) 1.35rem;
}

.section__inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  text-align: center;
}

.section__inner--narrow { width: min(760px, 100%); }

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-align: center;
  text-transform: uppercase;
}

.eyebrow--light { color: var(--gold-light); }

h2 {
  margin: 0 0 2.3rem;
  color: var(--wine);
  font-family: var(--display);
  font-size: clamp(2.3rem, 7vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.section--wine {
  color: var(--ivory);
  background: linear-gradient(rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025)), var(--wine);
}

.section--wine h2, .section--dark h2 { color: var(--ivory); }

.hero {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding-top: max(7rem, 14vh);
  padding-bottom: 4.5rem;
  background:
    radial-gradient(circle at 50% 36%, rgba(181, 139, 76, 0.14), transparent 32%),
    linear-gradient(rgba(247, 240, 230, 0.86), rgba(247, 240, 230, 0.92)),
    repeating-linear-gradient(90deg, rgba(92, 54, 39, 0.05) 0 1px, transparent 1px 5px);
}

.hero::before {
  position: absolute;
  inset: 26px;
  content: "";
  border: 1px solid rgba(181, 139, 76, 0.38);
  pointer-events: none;
}

.hero__texture {
  position: absolute;
  inset: 0;
  opacity: 0.21;
  background-image: radial-gradient(rgba(89, 42, 50, 0.4) 0.45px, transparent 0.55px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
  text-align: center;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  margin: 1.3rem 0 1.7rem;
  color: var(--wine);
  font-family: var(--display);
  font-size: clamp(4rem, 17vw, 9.3rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.7;
}

.hero h1 i {
  z-index: -1;
  margin: -0.05em 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.62em;
  font-weight: 400;
  line-height: 1;
}

.monogram {
  position: relative;
  display: inline-flex;
  width: 92px;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--wine);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.monogram::before, .monogram::after {
  position: absolute;
  width: 76px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(181, 139, 76, 0.35);
  border-radius: 50%;
}

.monogram i { color: var(--gold); font-size: 0.62em; font-weight: 400; }

.monogram--small {
  width: 74px;
  color: var(--gold-light);
  border-color: rgba(216, 189, 133, 0.7);
  font-size: 1.55rem;
}

.monogram--small::before, .monogram--small::after { width: 61px; }

.monogram--art {
  width: clamp(132px, 25vw, 184px);
  aspect-ratio: 1;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.monogram--art::before,
.monogram--art::after {
  display: none;
}

.monogram--art img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
}

.date-lockup {
  display: grid;
  width: min(450px, 90%);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 0 auto;
  color: var(--wine);
  border-top: 1px solid rgba(181, 139, 76, 0.65);
  border-bottom: 1px solid rgba(181, 139, 76, 0.65);
  font-family: var(--sans);
  text-transform: uppercase;
}

.date-lockup span {
  padding: 0.8rem 0.7rem;
  font-size: clamp(0.58rem, 2vw, 0.69rem);
  letter-spacing: 0.12em;
}

.date-lockup strong {
  padding: 0 1rem;
  color: var(--gold);
  border-right: 1px solid rgba(181, 139, 76, 0.38);
  border-left: 1px solid rgba(181, 139, 76, 0.38);
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.22;
}

.hero__place {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: clamp(3rem, 7vh, 5rem);
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  animation: arrowBounce 2s ease-in-out infinite;
}

.corner-flourish {
  position: absolute;
  width: min(38vw, 290px);
  fill: none;
  stroke: rgba(104, 23, 47, 0.32);
  stroke-width: 1;
}

.corner-flourish ellipse { fill: rgba(104, 23, 47, 0.06); }
.corner-flourish--top-left { top: 2.2rem; left: 2.2rem; }
.corner-flourish--bottom-right { right: 2.2rem; bottom: 2.2rem; transform: rotate(180deg); }

.message { text-align: center; background: var(--paper); }

.ornament-rule {
  display: flex;
  width: min(470px, 80%);
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 2.7rem;
  color: var(--gold);
}

.ornament-rule span {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.ornament-rule span:last-child { background: linear-gradient(to left, transparent, var(--gold)); }
.ornament-rule b { font-size: 0.8rem; }

.message blockquote {
  max-width: 900px;
  margin: 0 auto;
  color: var(--wine);
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 4.1rem);
  font-style: italic;
  line-height: 1.18;
}

.message__lead {
  max-width: 590px;
  margin: 2.3rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
}

.countdown::before, .schedule::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.13;
  background-image: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.18) 49%, rgba(255, 255, 255, 0.18) 51%, transparent 52%);
  background-size: 36px 36px;
  pointer-events: none;
}

.countdown__grid {
  display: grid;
  max-width: 690px;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 2.3rem auto 2.5rem;
}

.countdown__grid div {
  padding: 1.4rem 0.4rem 1.25rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(216, 189, 133, 0.36);
}

.countdown__grid strong {
  display: block;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
}

.countdown__grid span {
  display: block;
  margin-top: 0.6rem;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown__today {
  grid-column: 1 / -1;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 4rem);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.45rem;
  color: var(--wine);
  background: transparent;
  border: 1px solid var(--gold);
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.button:hover { color: var(--paper); background: var(--wine); transform: translateY(-2px); }
.button--light { color: var(--ivory); border-color: var(--gold-light); }
.button--light:hover { color: var(--wine-deep); background: var(--gold-light); }
.button--gold { color: var(--wine-deep); background: var(--gold-light); border-color: var(--gold-light); }
.button--gold:hover { color: var(--wine-deep); background: #ead39d; }

.family {
  background: radial-gradient(circle at 50% 45%, rgba(181, 139, 76, 0.09), transparent 34%), var(--ivory);
}

.family__grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: stretch;
  gap: clamp(1.2rem, 5vw, 3.2rem);
  margin-top: 3.3rem;
}

.family__grid i {
  width: 1px;
  background: linear-gradient(transparent, var(--gold), transparent);
}

.family__grid span, .sponsors span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.family__grid p, .sponsors p {
  margin: 0.7rem 0 0;
  color: var(--wine);
  font-family: var(--display);
  font-size: clamp(1.55rem, 4.3vw, 2.4rem);
  line-height: 1.25;
}

.sponsors {
  width: min(510px, 90%);
  margin: 3rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(181, 139, 76, 0.35);
}

.photo-story { background: var(--paper); }

.photo-story__note {
  max-width: 520px;
  margin: -1rem auto 2.8rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
}

.photo-grid {
  display: grid;
  max-width: 790px;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 4vw, 2.6rem);
  margin: 0 auto;
}

.photo-placeholder {
  position: relative;
  margin: 0;
  padding: 0.7rem;
  background: var(--ivory);
  border: 1px solid rgba(181, 139, 76, 0.45);
  box-shadow: var(--shadow);
}

.photo-placeholder--one { transform: rotate(-1.25deg); }
.photo-placeholder--two { transform: translateY(2rem) rotate(1.4deg); }

.photo-placeholder__art {
  position: relative;
  display: grid;
  aspect-ratio: 0.75;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 250, 242, 0.88);
  background:
    radial-gradient(circle at 45% 35%, rgba(255, 244, 225, 0.22), transparent 27%),
    linear-gradient(155deg, #8c3f52, #5d142a 58%, #37101c);
}

.photo-placeholder--two .photo-placeholder__art {
  background:
    radial-gradient(circle at 55% 35%, rgba(255, 244, 225, 0.22), transparent 27%),
    linear-gradient(205deg, #935067, #691830 58%, #3d111e);
}

.photo-placeholder__art svg {
  position: absolute;
  inset: 9% 11%;
  width: 78%;
  height: 82%;
  fill: none;
  stroke: rgba(216, 189, 133, 0.44);
  stroke-width: 1;
}

.photo-placeholder__art span {
  z-index: 2;
  font-family: var(--display);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 400;
}

.photo-placeholder figcaption {
  padding: 0.9rem 0.4rem 0.4rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.59rem;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.venues { background: var(--ivory); }

.venue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 4vw, 2.2rem);
  margin-top: 3rem;
}

.venue-card {
  position: relative;
  padding: clamp(2.3rem, 6vw, 4rem) clamp(1.3rem, 4vw, 2.7rem);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(181, 139, 76, 0.38);
  box-shadow: 0 16px 42px rgba(54, 23, 30, 0.07);
}

.venue-card::after {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px solid rgba(181, 139, 76, 0.16);
  pointer-events: none;
}

.venue-card--accent { background: #f1e4d8; }

.venue-card__icon {
  display: grid;
  width: 74px;
  aspect-ratio: 1;
  margin: 0 auto 1.35rem;
  place-items: center;
  color: var(--wine);
  border: 1px solid rgba(181, 139, 76, 0.6);
  border-radius: 50%;
}

.venue-card__icon svg {
  width: 41px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.venue-card__type {
  margin: 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.venue-card h3 {
  margin: 0.55rem 0 0.7rem;
  color: var(--wine);
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.venue-card time {
  display: block;
  margin: 0 0 1rem;
  color: var(--wine-soft);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.venue-card > p:not(.venue-card__type) {
  min-height: 3.6em;
  margin: 0 0 1.7rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.schedule { background-color: var(--wine-deep); }

.timeline {
  position: relative;
  max-width: 590px;
  margin: 3.2rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 91px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--gold-light), rgba(216, 189, 133, 0.15));
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 42px;
  align-items: start;
  padding: 0 0 2.2rem;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  position: absolute;
  top: 0.37rem;
  left: 85px;
  width: 11px;
  aspect-ratio: 1;
  content: "";
  background: var(--wine-deep);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
}

.timeline time {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.timeline b {
  display: block;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}

.timeline small {
  display: block;
  margin-top: 0.45rem;
  color: rgba(247, 240, 230, 0.62);
  font-family: var(--sans);
  font-size: 0.7rem;
}

.details { background: var(--ivory); }

.details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 3rem;
}

.detail-card {
  position: relative;
  padding: 2.6rem 2rem;
  text-align: left;
  background: var(--paper);
  border-top: 2px solid var(--gold);
}

.detail-card__number {
  display: block;
  margin-bottom: 2.2rem;
  color: rgba(104, 23, 47, 0.18);
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
}

.detail-card h3 {
  margin: 0 0 0.6rem;
  color: var(--wine);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.7;
}

.gift { padding-top: 2rem; background: var(--ivory); }

.gift__card {
  width: min(750px, 100%);
  margin: 0 auto;
  padding: clamp(2.6rem, 8vw, 5rem) clamp(1.6rem, 8vw, 5.5rem);
  text-align: center;
  background: linear-gradient(rgba(255, 250, 242, 0.94), rgba(255, 250, 242, 0.94)), repeating-linear-gradient(45deg, var(--gold) 0 1px, transparent 1px 13px);
  border: 1px solid rgba(181, 139, 76, 0.42);
  box-shadow: var(--shadow);
}

.gift__icon svg {
  width: 65px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.gift h2 { margin-bottom: 1.3rem; }

.gift__card > p:last-child {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
}

.section--dark {
  color: var(--ivory);
  background: radial-gradient(circle at 50% 20%, rgba(147, 63, 83, 0.34), transparent 30%), #2e0d18;
}

.rsvp .section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rsvp .eyebrow { margin-top: 2rem; }
.rsvp h2 { margin-bottom: 1.25rem; }

.rsvp p {
  max-width: 550px;
  margin: 0 0 2rem;
  color: rgba(247, 240, 230, 0.78);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.rsvp small {
  margin-top: 1.2rem;
  color: rgba(247, 240, 230, 0.45);
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer {
  padding: 3.6rem 1.2rem;
  color: var(--ivory);
  background: #210912;
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 2rem;
}

.footer p i { font-family: var(--serif); font-size: 0.7em; font-weight: 400; }

.footer > span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(247, 240, 230, 0.64);
  font-family: var(--sans);
  font-size: 0.63rem;
  letter-spacing: 0.17em;
}

.footer small {
  display: block;
  margin-top: 2rem;
  color: rgba(247, 240, 230, 0.32);
  font-family: var(--sans);
  font-size: 0.58rem;
}

.music-control {
  position: fixed;
  z-index: 110;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(15px, env(safe-area-inset-bottom));
  display: none;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 0.65rem 0.9rem;
  color: var(--ivory);
  cursor: pointer;
  background: rgba(55, 12, 26, 0.92);
  border: 1px solid rgba(216, 189, 133, 0.52);
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(41, 7, 17, 0.2);
  font-family: var(--sans);
  font-size: 0.59rem;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.music-control.is-visible { display: flex; }
.music-control svg { width: 18px; fill: currentColor; }
.music-control__pause { display: none; }
.music-control[aria-pressed="true"] .music-control__play { display: none; }
.music-control[aria-pressed="true"] .music-control__pause { display: block; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-revealed { opacity: 1; transform: none; }

.noscript {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  padding: 2rem;
  place-items: center;
  color: var(--ivory);
  background: var(--wine-deep);
  text-align: center;
}

@keyframes breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.62; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes softlyPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@media (max-width: 720px) {
  .section { padding-right: 1.1rem; padding-left: 1.1rem; }
  .hero::before { inset: 16px; }
  .corner-flourish--top-left { top: 1rem; left: 1rem; }
  .corner-flourish--bottom-right { right: 1rem; bottom: 1rem; }
  .venue-grid, .details__grid { grid-template-columns: 1fr; }
  .venue-card > p:not(.venue-card__type) { min-height: auto; }
}

@media (max-width: 520px) {
  .sample-note span { max-width: 196px; overflow: hidden; text-overflow: ellipsis; }
  .intro::before { inset: 12px; }
  .intro::after { inset: 17px; }
  .date-lockup { width: 100%; }
  .date-lockup span { padding-right: 0.45rem; padding-left: 0.45rem; }
  .date-lockup strong { padding-right: 0.65rem; padding-left: 0.65rem; font-size: 3rem; }
  .countdown__grid { gap: 0.35rem; }
  .countdown__grid div { padding: 1.1rem 0.2rem 1rem; }
  .countdown__grid span { font-size: 0.49rem; letter-spacing: 0.07em; }
  .family__grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .family__grid i { width: 68%; height: 1px; margin: 0 auto; background: linear-gradient(to right, transparent, var(--gold), transparent); }
  .photo-grid { gap: 0.65rem; }
  .photo-placeholder { padding: 0.42rem; }
  .photo-placeholder figcaption { font-size: 0.48rem; }
  .timeline::before { left: 76px; }
  .timeline li { grid-template-columns: 59px 1fr; gap: 35px; }
  .timeline li::before { left: 70px; }
  .music-control span { display: none; }
  .music-control { width: 46px; height: 46px; justify-content: center; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Opening names: bundled calligraphy, independent date, centered wax imprint. */
@font-face {
  font-family: "Great Vibes";
  src: url("GreatVibes-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.intro__content {
  padding: max(4rem, env(safe-area-inset-top)) 0 max(1.5rem, env(safe-area-inset-bottom));
}
.intro__names {
  margin: 0;
  padding: 0.15em 0.12em 0;
  color: #68172f;
  font-family: "Great Vibes", Gabriola, cursive;
  font-size: clamp(2.8rem, 9.5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}
.intro__names span { font-size: 0.72em; }
.intro__date {
  margin: 0.1rem 0 clamp(0.8rem, 2vh, 1.4rem);
  color: #6c5b52;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  line-height: 1.5;
}
@media (max-height: 540px) and (min-width: 600px) {
  .intro__content { padding: 3rem 0 0.6rem; }
  .intro__names { font-size: 2.8rem; }
  .intro__date { margin-bottom: 0.3rem; }
  .envelope-photo { width: min(55vh, 400px); }
  .intro__help { margin-top: 0.5rem; }
}

@font-face {
 font-family: "Cormorant Garamond";
 src: url("CormorantGaramond.ttf") format("truetype");
 font-style: normal; font-weight: 300 700; font-display: swap;
}
:root { --display: "Cormorant Garamond", Georgia, serif; --serif: "Cormorant Garamond", Georgia, serif; --shadow: 0 18px 40px rgba(53, 13, 26, .08); }
::selection { background: #68172f; color: #fffaf2; }
html { scrollbar-color: #b58b4c #f7f0e6; }
.section { padding-block: clamp(4.5rem, 9vw, 7rem); }
h2 { font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1.08; font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
.section .eyebrow { display: none; }
.hero { background: #f7f0e6; padding-top: 5rem; }
.hero__texture { display: none; }
.hero .eyebrow { display: block; max-width: 28rem; margin: 1rem auto 1.8rem; font-size: .65rem; line-height: 1.8; color: #765f61; }
.hero h1 { font-family: "Great Vibes", Gabriola, cursive; font-size: clamp(4.5rem, 14vw, 7.5rem); letter-spacing: 0; line-height: 1.05; margin: .6rem 0 2.4rem; }
.hero h1 i { z-index: auto; font-family: "Great Vibes", Gabriola, cursive; font-size: .48em; line-height: 1; margin: 0; }
.hero .monogram--art { width: clamp(112px, 22vw, 150px); }
.hero__place { font-size: 1.15rem; }
.message { background: #fffaf2; }
.message blockquote { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 25ch; line-height: 1.3; margin-inline: auto; }
.message__lead { font-size: 1.15rem; max-width: 42ch; margin-inline: auto; }
.ornament-rule { margin-bottom: 2.5rem; }
.section--wine, .section--dark { background: #481323; }
.countdown__grid { max-width: 680px; margin-inline: auto; }
.countdown__grid div { background: transparent; border: 0; border-right: 1px solid rgba(216,189,133,.35); }
.countdown__grid div:last-child { border-right: 0; }
.countdown__grid strong { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem,8vw,4.8rem); }
.countdown__grid span { color: #e4cfb1; font-size: .65rem; }
.family__grid span, .sponsors span { color: #806133; font-size: .7rem; }
.family__grid p, .sponsors p { font-size: clamp(1.8rem,4vw,2.8rem); }
.photo-story__note { font-size: .85rem; margin-top: -.8rem; }
.photo-placeholder { box-shadow: none; }
.photo-placeholder__art, .photo-placeholder--two .photo-placeholder__art { background: #eadfce; color: #68172f; }
.photo-placeholder__art svg { display: none; }
.photo-placeholder__art span { font-family: "Great Vibes", cursive; }
.photo-placeholder figcaption { font-size: .65rem; }
.venue-card { background: transparent; border: 0; border-top: 1px solid #b58b4c; box-shadow: none; padding-inline: clamp(1rem,3vw,2rem); }
.venue-card--accent { background: #efe4d4; }
.venue-card::before { display: none; }
.venue-card h3 { font-size: clamp(2.2rem,5vw,3.5rem); }
.venue-card > p:not(.venue-card__type) { font-size: 1.1rem; }
.button { min-height: 48px; padding: .95rem 1.6rem; letter-spacing: .13em; font-size: .68rem; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.timeline b { font-size: 2rem; }
.timeline small { font-size: .8rem; color: #e0cbbb; }
.timeline time { font-size: .8rem; }
.details__grid { gap: 2.5rem; }
.detail-card { padding: 1.8rem 0; background: transparent; border-top: 1px solid #b58b4c; }
.detail-card h3 { font-size: 2.5rem; }
.detail-card p { font-size: .95rem; max-width: 48ch; }
.gift__card { background: #fffaf2; box-shadow: none; border: 1px solid #b58b4c; }
.gift__card > p:last-child { font-size: 1.2rem; }
.monogram--signature, .footer__signature {
 display: block; width: 150px; aspect-ratio: 1; border: 0; border-radius: 0;
 background: #d8bd85;
 -webkit-mask: url("monogram-iv-transparente.png") center / contain no-repeat;
 mask: url("monogram-iv-transparente.png") center / contain no-repeat;
}
.monogram--signature::before, .monogram--signature::after { display: none; }
.rsvp h2 { margin-top: 1.8rem; }
.rsvp p { font-size: 1rem; color: #f0e2d5; }
.rsvp small { color: #d6bca4; font-size: .68rem; }
.footer { background: #350e1b; }
.footer__signature { width: 72px; margin: 0 auto 1.2rem; }
.footer p { font-family: "Great Vibes", cursive; font-size: 2.7rem; }
.footer p i { font-family: inherit; }
.footer small { color: #d6bca4; }
.reveal { opacity: 1; transform: none; transition: none; }
.intro__help { animation: none; color: #6c5b52; }
@media(max-width:520px) {
 .hero { padding-top: 5rem; }
 .photo-placeholder figcaption { font-size: .6rem; letter-spacing: .06em; }
 .countdown__grid span { font-size: .58rem; }
 .date-lockup span { font-size: .62rem; }
}

.monogram--signature, .footer__signature { background: transparent; -webkit-mask: none; mask: none; }
.monogram--signature img, .footer__signature img { display: block; width: 100%; height: 100%; object-fit: contain; filter: brightness(0) saturate(100%) invert(82%) sepia(29%) saturate(460%) hue-rotate(358deg) brightness(91%) contrast(87%); }
