:root {
  --paper: #fff;
  --ink: #4F605E;
  --muted: #696e68;
  --mist: #bcc9c7;
  --mist-deep: #9eafac;
  --olive: #aebc91;
  --olive-dark: #88966e;
  --blue: #6e8794;
  --blue-deep: #435f70;
  --monogram: #a0735d;
  --botanical-main: #EBB5A9;
  --botanical-complement: #A9DFEB;
  --card-complement: rgba(219, 241, 246, .72);
  --card-complement-soft: rgba(219, 241, 246, .62);
  --white: #fff;
  --sans: "Montserrat", Arial, sans-serif;
  --script: "Italianno", cursive;
  --shadow: 0 18px 50px rgba(50, 55, 46, 0.14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.invitation {
  --botanical-shift: 0px;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: transparent;
}
.invitation::after {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  background: url("assets/images/paper-texture.jpg") center top / 820px auto repeat;
  opacity: .3;
  pointer-events: none;
}
.invitation::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12vh 0;
  display: block;
  background-image: url("assets/images/botanical-border-v3-large.jpg");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: repeat-y;
  mix-blend-mode: multiply;
  opacity: .34;
  filter: contrast(1.03) saturate(.9);
  transform: translate3d(0, var(--botanical-shift), 0);
  pointer-events: none;
  will-change: transform;
}
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(92%, 900px);
  padding: 48px 28px;
  text-align: center;
}
.hero__content .eyebrow { animation: hero-intro .85s cubic-bezier(.2,.72,.2,1) .12s both; }
.hero__content h1 { animation: hero-intro 1s cubic-bezier(.2,.72,.2,1) .3s both; }
.hero__content .hero__date { animation: hero-intro .9s cubic-bezier(.2,.72,.2,1) .52s both; }
.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hero .eyebrow {
  margin-bottom: 16px;
  font-family: var(--script);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: none;
}
.hero h1 {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(4rem, 8vw, 6.8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .9;
  text-transform: none;
}
.hero h1 span {
  display: inline-block;
  margin: 0 .16em;
  color: inherit;
  font-style: normal;
  font-weight: 300;
}
.hero__date {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  row-gap: 14px;
  margin: 32px 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-align: center;
}
.hero__date i {
  color: #9aa09d;
  font-style: normal;
  letter-spacing: 0;
}
.hero__date span {
  flex-basis: 100%;
  margin-top: -2px;
  font-size: 1em;
  letter-spacing: .2em;
  text-align: center;
  white-space: nowrap;
}
.countdown-label {
  min-height: 66px;
  display: grid;
  place-items: center;
  align-content: center;
}
.countdown-label span {
  color: var(--blue-deep);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1.1;
}
.countdown-label small {
  margin-top: 7px;
  color: var(--blue);
  font-size: .62rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-polaroids {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}
.polaroid {
  --rotate: 0deg;
  --delay: 0ms;
  --parallax-y: 0px;
  position: absolute;
  width: clamp(128px, 13.5vw, 184px);
  padding: 9px 9px 7px;
  border: 0;
  border-radius: 2px;
  background: #fffdf8;
  box-shadow: 0 15px 32px rgba(43, 46, 39, .23), 0 2px 5px rgba(43, 46, 39, .12);
  cursor: grab;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(calc(55px + var(--parallax-y))) rotate(calc(var(--rotate) - 12deg)) scale(.72);
  transform-origin: 50% 80%;
  transition:
    opacity .72s ease var(--delay),
    filter .72s ease var(--delay),
    transform 1.05s cubic-bezier(.18,.82,.26,1.16) var(--delay),
    box-shadow .25s ease;
  will-change: transform, opacity, filter;
  pointer-events: none;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}
.polaroid.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(var(--parallax-y)) rotate(var(--rotate)) scale(1);
  pointer-events: auto;
}
.polaroid.is-parallax-ready {
  transition: opacity .2s ease, filter .2s ease, box-shadow .25s ease;
}
.polaroid.is-revealed:hover {
  z-index: 8;
  transform: translateY(calc(var(--parallax-y) - 7px)) rotate(var(--rotate)) scale(1.045);
  box-shadow: 0 22px 42px rgba(43, 46, 39, .3), 0 3px 7px rgba(43, 46, 39, .14);
}
.polaroid.is-dragging,
.polaroid.is-dragging:hover {
  z-index: 30 !important;
  cursor: grabbing;
  transition: none;
  transform: translateY(var(--parallax-y)) rotate(var(--rotate)) scale(1.045);
  box-shadow: 0 25px 50px rgba(43, 46, 39, .34), 0 4px 9px rgba(43, 46, 39, .16);
}
.polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  filter: saturate(.84) contrast(.96);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.polaroid span {
  min-height: 35px;
  display: grid;
  place-items: center;
  padding: 4px 3px 0;
  color: #4F605E;
  font-family: var(--script);
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  font-weight: 400;
  line-height: 1;
}
.polaroid:nth-child(1) { --rotate: -10deg; --delay: 0ms; left: 7%; top: 20%; }
.polaroid:nth-child(2) { --rotate: 7deg; --delay: 130ms; left: 24%; top: 64%; }
.polaroid:nth-child(3) { --rotate: 9deg; --delay: 260ms; right: 27%; top: 18%; }
.polaroid:nth-child(4) { --rotate: -7deg; --delay: 390ms; right: 7%; top: 62%; }
.scroll-cue {
  position: absolute;
  bottom: 27px;
  left: 50%;
  z-index: 6;
  width: 50px;
  height: 50px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.72,.2,1);
}
.scroll-cue.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.scroll-cue.is-hidden-by-scroll {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-5px);
  transition-duration: .25s;
}
.scroll-cue span {
  position: absolute;
  inset: 0;
  animation: float-arrow 1.8s ease-in-out infinite;
}
.scroll-cue span::before,
.scroll-cue span::after {
  content: "";
  position: absolute;
  top: 22px;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}
.scroll-cue span::before { left: 9px; transform: rotate(42deg); }
.scroll-cue span::after { right: 9px; transform: rotate(-42deg); }

.section-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section-shell.narrow { width: min(720px, calc(100% - 48px)); }
.section-space { padding: 65px 0; }
.section-title,
.event-card h2,
.gifts h2,
.dress-code h2,
.rsvp h2,
.modal h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-transform: uppercase;
}
.section-title { text-align: center; }

.countdown {
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 36px 0;
  color: var(--white);
  background: var(--mist-deep);
  text-align: center;
}
.countdown h2 { margin: 0; font-size: 1.45rem; font-weight: 300; }
.countdown .section-kicker { opacity: 0.78; }
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(620px, 100%);
  margin: 28px auto 0;
}
.countdown__grid div { position: relative; }
.countdown__grid div + div::before {
  content: "";
  position: absolute;
  top: 13%;
  left: 0;
  width: 1px;
  height: 72%;
  background: rgba(255,255,255,0.35);
}
.countdown__grid strong { display: block; font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 300; line-height: 1; }
.countdown__grid span { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
.countdown__today p { margin: 8px 0 0; }

.countdown-stage {
  min-height: 72svh;
  display: grid;
  place-items: center;
  padding: clamp(90px, 12vw, 160px) 0;
  scroll-margin-top: 0;
  color: var(--blue-deep);
  text-align: center;
}
.countdown-stage__content {
  position: relative;
  width: min(900px, calc(100% - 48px));
  padding: clamp(48px, 7vw, 78px) clamp(24px, 6vw, 70px);
  border: 1px solid rgba(67, 95, 112, .22);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(67, 75, 69, .13);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.countdown-stage .section-kicker {
  margin-bottom: 18px;
  color: var(--blue);
}
.countdown-stage h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--script);
  font-size: clamp(2.35rem, 6vw, 5.25rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .95;
}
.countdown-stage .countdown__grid {
  width: min(800px, 100%);
  margin-top: clamp(38px, 6vw, 64px);
}
.countdown-stage .countdown__grid div + div::before {
  background: rgba(67, 95, 112, .24);
}
.countdown-stage .countdown__grid strong {
  color: var(--blue-deep);
  font-size: clamp(3.25rem, 5vw, 6.8rem);
  font-weight: 300;
}
.countdown-stage .countdown__grid span {
  display: block;
  margin-top: 12px;
  color: var(--blue);
  font-size: .67rem;
  font-weight: 500;
}
.countdown-stage .countdown-label { min-height: 210px; }
.countdown-stage .countdown-label span {
  font-family: var(--script);
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 400;
  letter-spacing: 0;
}
.countdown-stage .countdown-label small {
  margin-top: 18px;
  font-size: .72rem;
  letter-spacing: .2em;
}

.events { min-height: 418px; display: flex; align-items: center; background: #fff; }
.events__grid { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; }
.events__grid--single { display: block; }
.events__grid--single .event-card { width: min(100%, 540px); margin: 0 auto; }
.event-card { text-align: center; }
.event-card p { margin: 3px 0; }
.event-card__date { margin-top: 18px !important; font-weight: 400; }
.event-card__place { margin-top: 16px !important; font-weight: 500; }
.line-icon {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 23px;
  border: 0;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0;
}
.event-card--ceremony .line-icon::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 22px;
  width: 26px;
  height: 25px;
  border: 2px solid var(--ink);
  background:
    linear-gradient(var(--ink),var(--ink)) 50% 7px / 2px 11px no-repeat,
    linear-gradient(var(--ink),var(--ink)) 50% 100% / 8px 11px no-repeat;
}
.event-card--ceremony .line-icon::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 34px;
  height: 34px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  transform: rotate(45deg) scale(.7);
}
.gift-icon {
  position: relative;
  width: 58px;
  height: 58px;
  margin: 0 auto 24px;
  border: 2px solid rgba(255,255,255,.82);
  border-radius: 2px;
}
.gift-icon::before {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: 12px;
  height: 10px;
  border: 2px solid rgba(255,255,255,.82);
  background: var(--olive);
}
.gift-icon::after {
  content: "";
  position: absolute;
  left: 26px;
  top: -2px;
  width: 2px;
  height: 58px;
  background: rgba(255,255,255,.82);
}
.gift-icon span::before,
.gift-icon span::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 18px;
  height: 15px;
  border: 2px solid rgba(255,255,255,.82);
  border-radius: 14px 14px 2px 14px;
}
.gift-icon span::before { left: 8px; transform: rotate(19deg); }
.gift-icon span::after { right: 8px; transform: scaleX(-1) rotate(19deg); }
.button {
  min-width: 230px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(64,70,56,.14); }
.button:focus-visible, .modal__close:focus-visible { outline: 3px solid #667155; outline-offset: 4px; }
.button--olive { color: var(--white); background: var(--olive-dark); }
.button--olive:hover { background: #75805f; }
.button--outline { color: var(--olive-dark); border-color: var(--olive-dark); background: transparent; }
.button--cream { color: var(--ink); background: var(--paper); }

.gifts { min-height: 399px; display: flex; align-items: center; padding: 55px 0; color: var(--white); background: var(--olive); text-align: center; }
.gifts p:not(.section-kicker) { max-width: 720px; margin: 0 auto; }
.section-kicker--light { color: rgba(255,255,255,.8); }

.dress-code { min-height: 382px; display: flex; align-items: center; padding: 55px 0; color: var(--white); background: var(--mist-deep); text-align: center; }
.dress-code h2 { text-transform: uppercase; letter-spacing: .12em; }
.dress-code p:last-child { margin: 20px 0 0; }
.dress-icon { width: 70px; height: 62px; position: relative; margin: 0 auto 24px; }
.dress-icon::before, .dress-icon::after, .dress-icon span, .dress-icon i { content: ""; position: absolute; border: 2px solid rgba(255,255,255,.8); }
.dress-icon::before { left: 8px; top: 2px; width: 17px; height: 48px; transform: skew(-8deg); border-radius: 2px 2px 7px 7px; }
.dress-icon::after { right: 8px; top: 15px; width: 24px; height: 36px; border-radius: 12px 12px 3px 3px; }
.dress-icon span { left: 12px; top: 10px; width: 9px; height: 4px; border-width: 2px 0 0; }
.dress-icon i { right: 15px; top: 3px; width: 10px; height: 12px; border-radius: 50% 50% 0 0; border-bottom: 0; }

.rsvp { min-height: 600px; display: flex; align-items: center; padding: 58px 0; text-align: center; }
.rsvp__content { position: relative; z-index: 1; }
.rsvp h2 { text-transform: uppercase; letter-spacing: .08em; }
.rsvp p:not(.section-kicker) { margin: 18px auto 0; }
.rsvp__deadline { color: var(--muted); font-size: .75rem; }
.calendar { margin-top: 48px; padding-top: 0; border-top: 0; }
.calendar__icon { width: 58px; height: 54px; display: grid; place-items: center; margin: 0 auto 23px; border: 2px solid var(--ink); border-radius: 4px; font-size: 1.6rem; }
.calendar h3 { margin: 0; font-family: var(--sans); font-size: 1rem; font-weight: 300; }
.calendar__menu-wrap { position: relative; width: fit-content; margin: 0 auto; }
.calendar__menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  left: 50%;
  width: 280px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  text-align: left;
}
.calendar__menu a, .calendar__menu button { width: 100%; display: block; padding: 11px 14px; border: 0; border-radius: 9px; color: var(--ink); background: transparent; cursor: pointer; text-decoration: none; font-size: .78rem; }
.calendar__menu a:hover, .calendar__menu button:hover { background: #f0f2e9; }

.button--blue { color: #fff; background: var(--blue-deep); }
.button--blue:hover { background: #314e5f; }

.celebration {
  position: relative;
  min-height: 100vh;
  padding: clamp(70px, 9vw, 125px) 0 clamp(90px, 11vw, 150px);
  overflow: hidden;
  background: transparent;
}
.celebration__content { position: relative; z-index: 1; }
.closing-mark {
  display: grid;
  place-items: center;
  padding: 72px 24px 96px;
}
.closing-mark img {
  width: min(124px, 32vw);
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}
.celebration__header { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.celebration__header .section-kicker { color: var(--blue); }
.celebration__header h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--script);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .95;
}
.event-feature {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(67,95,112,.2);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 65px rgba(75,84,75,.11);
  backdrop-filter: blur(8px);
}
.primary-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}
.event-feature__media {
  position: relative;
  height: clamp(190px, 20vw, 235px);
  overflow: hidden;
  background: var(--mist);
}
.event-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(24, 38, 43, .5));
}
.event-feature__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.event-feature:hover .event-feature__media img { transform: scale(1.035); }
.event-feature__label {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 24px;
  color: #fff;
  font-family: var(--script);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 2px 9px rgba(67,95,112,.78);
  text-transform: none;
}
.event-feature__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 4vw, 38px);
}
.event-feature__heading { padding: clamp(26px, 4vw, 38px) clamp(26px, 4vw, 38px) 22px; }
.event-feature__heading h3 {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--script);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}
.event-feature__details { margin: 0; }
.event-feature__details p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 5px 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.4;
}
.detail-icon {
  flex: 0 0 18px;
  color: var(--blue-deep);
  font-size: 1rem;
  text-align: center;
}
.event-feature .button { margin: auto 0 0; }
.event-feature__map {
  min-width: 210px;
  padding: 11px 22px;
  border-color: var(--blue-deep);
  color: var(--blue-deep);
  background: transparent;
  font-size: .6rem;
  letter-spacing: .07em;
  line-height: 1;
}
.event-feature__map:hover { color: var(--blue-deep); background: rgba(67,95,112,.06); }
.maps-pin {
  position: relative;
  width: 10px;
  height: 10px;
  display: inline-block;
  flex: 0 0 10px;
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 0;
  background: transparent;
  transform: rotate(-45deg);
}
.maps-pin::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: currentColor;
}
.rsvp-feature {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 52px);
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background: var(--monogram);
  box-shadow: 0 22px 65px rgba(110,72,54,.22);
}
.rsvp-feature::after {
  content: "?";
  position: absolute;
  right: -16px;
  bottom: -92px;
  color: rgba(255,255,255,.055);
  font-size: 16rem;
  font-weight: 600;
  line-height: 1;
}
.rsvp-feature .section-kicker { position: relative; z-index: 1; margin-bottom: 10px; color: rgba(255,255,255,.65); }
.rsvp-feature h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--script);
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .9;
}
.rsvp-feature > p:not(.section-kicker) { position: relative; z-index: 1; max-width: 360px; margin: 0; color: rgba(255,255,255,.78); font-size: .88rem; }
.rsvp-feature__button {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: 0;
  min-width: 222px;
  padding: 11px 22px;
  border-color: rgba(255,255,255,.78);
  color: #fff;
  background: transparent;
}
.rsvp-feature__button:hover { color: #fff; background: rgba(255,255,255,.08); }
.annex-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.annex-card {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(67,95,112,.16);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(75,84,75,.08);
  backdrop-filter: blur(7px);
}
.annex-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -52px;
  bottom: -55px;
  border: 1px solid rgba(110,135,148,.2);
  border-radius: 50%;
}
.annex-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.annex-card h3 {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--script);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1;
}
.annex-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.annex-card__note { margin-top: 0; color: var(--blue); font-family: var(--script); font-size: 1.75rem; }
.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid rgba(67,95,112,.4);
  color: var(--blue-deep);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.modal {
  inset: 0;
  width: 100vw;
  height: 100svh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}
.modal[open] { display: grid; place-items: center; }
.modal::backdrop { background: rgba(26,31,27,.72); backdrop-filter: blur(5px); }
.modal__panel {
  position: relative;
  width: min(500px, calc(100vw - 32px));
  height: min(780px, calc(100svh - 32px));
  max-height: calc(100svh - 32px);
  display: flex;
  flex-direction: column;
  padding: 13px 13px 0;
  overflow: hidden;
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(18, 24, 22, .35), 0 4px 12px rgba(18, 24, 22, .2);
  text-align: center;
}
.modal__close {
  position: absolute;
  z-index: 5;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--blue-deep);
  background: rgba(255,255,255,.88);
  box-shadow: 0 4px 16px rgba(32,42,38,.15);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}
.bank-polaroid__photo {
  position: relative;
  height: 235px;
  overflow: hidden;
  border-radius: 15px;
  background: var(--mist);
}
.bank-polaroid__header {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  background: #fffdf8;
}
.bank-polaroid__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(24,31,29,.32));
}
.bank-polaroid__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}
.bank-polaroid__photo span {
  position: absolute;
  z-index: 1;
  right: 25px;
  bottom: 17px;
  color: #fff;
  font-family: var(--script);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(20,25,23,.34);
  transform: rotate(-5deg);
}
.bank-polaroid__heading { padding: 24px 0 18px; }
.bank-polaroid__heading .section-kicker { margin-bottom: 6px; color: var(--blue); }
.bank-polaroid__heading h2 { color: var(--blue-deep); }
.bank-polaroid__heading h2 {
  font-family: var(--script);
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}
.bank-polaroid__scroll {
  min-height: 0;
  flex: 1 1 auto;
  padding: 0 clamp(18px, 5vw, 38px) 22px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.bank-details { min-width: 0; margin: 0; text-align: left; }
.bank-region + .bank-region { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(67,95,112,.17); }
.bank-region__title {
  margin: 0 0 13px;
  color: var(--blue-deep);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.bank-account {
  min-width: 0;
  padding: 14px 16px 5px;
  border: 1px solid rgba(67,95,112,.13);
  border-radius: 14px;
  background: rgba(169,223,235,.12);
}
.bank-account + .bank-account { margin-top: 11px; }
.bank-account__name { margin: 0 0 4px; color: var(--blue); font-size: .72rem; font-weight: 500; letter-spacing: .06em; }
.bank-account dl { min-width: 0; margin: 0; }
.bank-account dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid rgba(79,96,94,.1); }
.bank-account dt { grid-column: 1; }
.bank-account dd { grid-column: 1 / -1; }
.bank-account .copy-button { grid-column: 2; grid-row: 1; }
.bank-account dl > div:last-child { border-bottom: 0; }
.bank-details dt { color: var(--muted); font-size: .6rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.bank-details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; word-break: break-word; font-size: .78rem; }
.copy-button {
  width: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border: 1px solid rgba(136,150,110,.35);
  border-radius: 6px;
  color: var(--olive-dark);
  background: rgba(174,188,145,.18);
  cursor: pointer;
  font-size: .65rem;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.copy-button:hover {
  border-color: var(--olive-dark);
  color: #fff;
  background: var(--olive-dark);
  transform: translateY(-1px);
}
.copy-button:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 2px; }
.copy-button.is-copied,
.copy-button.is-copied:hover {
  border-color: var(--olive-dark);
  color: #fff;
  background: var(--olive-dark);
  transform: none;
}
.copy-button.is-copy-error { border-color: #9b6b65; color: #7c4d48; background: rgba(155,107,101,.1); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s ease, transform .85s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 761px) {
  .event-feature__body { gap: 24px; }
  .bank-polaroid { width: min(760px, calc(100vw - 48px)); }
  .bank-region {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 11px;
  }
  .bank-region__title { grid-column: 1 / -1; }
  .bank-account + .bank-account { margin-top: 0; }
}

@keyframes float-arrow {
  0%, 100% { transform: translateY(0); opacity: .65; }
  50% { transform: translateY(8px); opacity: 1; }
}

@keyframes hero-intro {
  from { opacity: 0; filter: blur(5px); transform: translateY(18px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@media (max-width: 760px) {
  .invitation::before { opacity: .52; }
  body { font-size: 15px; }
  .section-shell, .section-shell.narrow { width: min(100% - 32px, 620px); }
  .section-space { padding: 65px 0; }
  .closing-mark { padding: 56px 20px 50svh; }
  .closing-mark img { width: min(104px, 30vw); }
  .hero { background-position: center; }
  .hero h1 { font-size: clamp(3.25rem, 16vw, 4.8rem); line-height: .9; letter-spacing: 0; }
  .hero h1 span { display: inline-block; margin: 0 .08em; font-size: 1em; }
  .hero__date { column-gap: 10px; row-gap: 14px; font-size: .72rem; }
  .hero__content { width: 100%; padding: 32px 12px 50px; }
  .polaroid { width: clamp(94px, 28vw, 112px); padding: 6px 6px 5px; }
  .polaroid span { min-height: 29px; font-size: 1.35rem; }
  .polaroid:nth-child(1) { left: 8%; top: 22%; }
  .polaroid:nth-child(2) { left: 10%; top: 61%; bottom: auto; }
  .polaroid:nth-child(3) { right: 8%; top: 20%; }
  .polaroid:nth-child(4) { right: 10%; top: 59%; bottom: auto; }
  .countdown__grid { margin-top: 23px; }
  .countdown__grid strong { font-size: 2.3rem; }
  .countdown__grid span { font-size: .55rem; }
  .countdown-stage { min-height: 66svh; padding: 88px 0 100px; }
  .countdown-stage__content {
    width: min(100% - 28px, 520px);
    padding: 46px 16px 50px;
    border-radius: 25px;
  }
  .countdown-stage h2 { font-size: clamp(1.45rem, 10vw, 2.6rem); letter-spacing: normal; white-space: nowrap; }
  .countdown-stage .countdown__grid { margin-top: 42px; }
  .countdown-stage .countdown__grid strong { font-size: clamp(1.75rem, calc(11vw - 4px), 2.9rem); }
  .countdown-stage .countdown__grid span { margin-top: 9px; font-size: .53rem; }
  .countdown-stage .countdown-label span { font-size: clamp(3.4rem, 18vw, 5.5rem); }
  .events { min-height: auto; padding: 65px 0 55px; }
  .events__grid { grid-template-columns: 1fr; gap: 36px; }
  .event-card { max-width: 390px; margin: 0 auto; }
  .gifts, .dress-code { min-height: 382px; padding: 55px 0; }
  .gifts h2, .dress-code h2, .rsvp h2 { font-size: 1.55rem; }
  .rsvp { min-height: 650px; padding: 62px 0; }
  .calendar { margin-top: 52px; padding-top: 0; }
  .calendar__menu { width: 260px; }
  .celebration { padding: 68px 0 88px; }
  .celebration__header { margin-bottom: 34px; }
  .celebration__header h2 { font-size: 2.4rem; }
  .primary-grid { grid-template-columns: 1fr; gap: 12px; }
  .event-feature { gap: 0; padding: 0; text-align: left; }
  .event-feature__media { height: 205px; }
  .event-feature__label { top: 17px; left: 18px; font-size: 2.55rem; }
  .event-feature__heading { padding: 27px 24px 20px; }
  .event-feature__body { padding: 27px 24px 30px; }
  .event-feature__details p { align-items: center; gap: 7px; font-size: .78rem; white-space: nowrap; }
  .event-feature .button { width: calc(100% - 8px); margin: 24px auto 0; padding: 10px 16px; }
  .rsvp-feature { min-height: 360px; padding: 36px 28px; text-align: center; }
  .rsvp-feature h3 { font-size: 4.2rem; }
  .rsvp-feature > p:not(.section-kicker) { margin-inline: auto; }
  .rsvp-feature__button { width: calc(100% - 8px); min-width: 0; align-self: center; padding: 10px 16px; }
  .annex-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .annex-card { min-height: 230px; padding: 28px; }
  .annex-card h3 { margin: 0; }
  .modal__panel { width: min(410px, calc(100vw - 18px)); height: calc(100svh - 18px); max-height: calc(100svh - 18px); padding: 9px 9px 0; border-radius: 18px; }
  .bank-polaroid__photo { height: 190px; }
  .bank-polaroid__photo span { right: 18px; bottom: 13px; font-size: 3.1rem; }
  .bank-polaroid__heading { padding: 20px 10px 14px; }
  .bank-polaroid__scroll { min-width: 0; padding: 0 10px 17px; }
  .bank-account { padding: 12px 12px 4px; }
  .bank-account dl > div { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
  .bank-account dt { grid-column: 1; }
  .bank-account dd { grid-column: 1 / -1; }
  .bank-account .copy-button { grid-column: 2; grid-row: 1; }
  .bank-account .copy-button { width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
