@font-face {
  font-family: "Cormorant Garamond Local";
  src: url("assets/fonts/CormorantGaramond-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Great Vibes Local";
  src: url("assets/fonts/GreatVibes-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --olive: #575c40;
  --olive-deep: #444a35;
  --ivory: #f2ecdf;
  --paper: #ece4d6;
  --ink: #5e604f;
  --gold: #b39b68;
  --serif: "Cormorant Garamond Local", "Iowan Old Style", Georgia, serif;
  --script: "Great Vibes Local", "Snell Roundhand", "Apple Chancery", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #25271f; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  background: #25271f;
  -webkit-font-smoothing: antialiased;
}
body.gate-locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.invitation-gate {
  position: fixed;
  z-index: 100;
  inset: 0;
  width: min(100%, 480px);
  height: 100vh;
  height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: max(30px, env(safe-area-inset-top)) 28px max(28px, env(safe-area-inset-bottom));
  color: var(--ivory);
  text-align: center;
  background:
    radial-gradient(circle at 50% 34%, #5f65472e 0 24%, transparent 55%),
    linear-gradient(180deg, #12170fd6 0%, #262b1c66 42%, #11150de8 100%),
    url("assets/church-garden.webp") center/cover no-repeat;
  isolation: isolate;
  transition: opacity .9s ease, visibility .9s ease;
}
.invitation-gate::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, #fff1 43%, transparent 62%);
  transform: translateX(-110%);
  animation: gate-light 7s ease-in-out 1.2s infinite;
}
.invitation-gate__frame {
  position: absolute;
  inset: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  border: 1px solid #e9dfc37a;
  border-radius: 230px 230px 24px 24px;
  box-shadow: inset 0 0 0 5px #ede4cb0c, 0 0 45px #0003;
}
.invitation-gate__frame::before,
.invitation-gate__frame::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid #e9dfc3b0;
  background: #62694a;
  transform: translateX(-50%) rotate(45deg);
}
.invitation-gate__frame::before { top: 13px; }
.invitation-gate__frame::after { bottom: 13px; }
.invitation-gate__content {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  padding: 42px 18px 30px;
  text-shadow: 0 2px 18px #0d110bb8;
  animation: gate-arrive 1.15s cubic-bezier(.2,.75,.25,1) both;
  transition: transform .9s ease;
}
.invitation-gate__eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .92;
}
.invitation-gate__ornament {
  margin: 20px auto 11px;
  font-size: 22px;
  line-height: 1;
  color: #d8c79f;
  opacity: .9;
}
.invitation-gate__names {
  margin: 0;
  font: 400 clamp(58px, 18vw, 78px)/.78 var(--script);
  letter-spacing: -.02em;
}
.invitation-gate__names span { display: block; }
.invitation-gate__names i {
  display: block;
  margin: 7px 0 8px;
  font-size: .46em;
  line-height: 1;
  font-weight: 400;
}
.invitation-gate__date {
  margin: 28px 0 25px;
  font-size: 14px;
  letter-spacing: .23em;
}
.invitation-gate__button {
  position: relative;
  min-width: 206px;
  min-height: 52px;
  padding: 14px 27px 13px;
  overflow: hidden;
  border: 1px solid #f0e9d9;
  border-radius: 999px;
  color: var(--olive-deep);
  background: var(--ivory);
  box-shadow: 0 12px 35px #11170c73, inset 0 0 0 1px #fff9;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 12px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.invitation-gate__button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, #fff9 48%, transparent 69%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.invitation-gate__button span { position: relative; z-index: 1; }
.invitation-gate__button:hover,
.invitation-gate__button:focus-visible {
  transform: translateY(-2px);
  background: #faf5e9;
  box-shadow: 0 15px 42px #11170c8f, inset 0 0 0 1px #fff;
}
.invitation-gate__button:hover::after,
.invitation-gate__button:focus-visible::after { transform: translateX(120%); }
.invitation-gate__button:focus-visible { outline: 2px solid var(--ivory); outline-offset: 4px; }
.invitation-gate__button:active { transform: translateY(1px) scale(.985); }
.invitation-gate__button:disabled { cursor: default; }
.invitation-gate__blessing {
  margin: 18px 0 0;
  font-size: 13px;
  letter-spacing: .06em;
  opacity: .82;
}
.gate-opening .invitation-gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.gate-opening .invitation-gate__content { transform: translateY(-12px) scale(.985); }
@keyframes gate-arrive {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gate-light {
  0%, 72%, 100% { transform: translateX(-110%); }
  88% { transform: translateX(110%); }
}
.invitation {
  width: min(100%, 480px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--olive);
  box-shadow: 0 0 70px #1118;
}

.hero {
  position: relative;
  min-height: 720px;
  padding: max(20px, env(safe-area-inset-top)) 20px 36px;
  color: var(--ivory);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    linear-gradient(180deg, #1c2119c9 0%, #25291d38 42%, #171b14c9 100%),
    url("assets/church-garden.webp") center/cover no-repeat;
}
.hero-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: lowercase;
  opacity: .88;
}
.hero-nav a { color: inherit; text-decoration: none; min-width: 32px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 0; }
.invocation { max-width: 360px; margin: 23px 0 6px; font-size: 13px; line-height: 1.45; letter-spacing: .12em; text-transform: uppercase; }
.envelope-wrap { position: relative; width: min(94vw, 388px); margin-top: 2px; filter: drop-shadow(0 18px 25px #16190f8f); }
.envelope-wrap img { display: block; width: 100%; height: auto; }
.heart-copy {
  position: absolute;
  top: 21%; left: 50%; width: 63%;
  transform: translateX(-50%);
  color: var(--ivory);
  text-shadow: 0 1px 3px #28301d66;
}
.heart-copy h1 { font: 400 39px/.9 var(--script); margin: 0; }
.heart-copy h1 i { display: block; font-size: 27px; font-weight: 400; margin: 1px 0; }
.hero-open { margin-top: -3px; min-height: 44px; border: 0; border-bottom: 1px solid #f2ecdf91; background: transparent; color: inherit; padding: 8px 4px; text-transform: uppercase; letter-spacing: .17em; font-size: 11px; cursor: pointer; }
.hero-blessing { margin: 12px 0 0; font-size: 12px; letter-spacing: .06em; opacity: .82; }

section { position: relative; text-align: center; }
.ivory-arch, .ivory-pill { background: var(--ivory); }
.olive-section { background: var(--olive); color: var(--ivory); }
.story {
  z-index: 2;
  min-height: 920px;
  padding: 78px 37px 104px;
  border-radius: 0 0 50% 50% / 0 0 9% 9%;
  overflow: hidden;
}
.botanical { position: absolute; display: block; height: auto; pointer-events: none; }
.botanical-top { width: 98%; top: 4px; left: 1%; opacity: .88; }
.portrait-frame {
  position: relative; z-index: 1;
  width: 120px; height: 173px;
  margin: 6px auto 23px;
  border: 5px double #d4cabb;
  border-radius: 50%;
  padding: 4px;
  background: #eee6d8;
  box-shadow: 0 0 0 1px #8b8a7338;
  overflow: hidden;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; filter: sepia(.2) contrast(.94); }
.script { font: 400 40px/1.08 var(--script); margin: 0; }
.body-copy { max-width: 350px; margin: 18px auto 8px; font-size: 16px; line-height: 1.55; }
.flourish { font: 19px/1 var(--serif); margin: 14px auto; transform: rotate(0.01deg); opacity: .7; }
.verse { font-size: 13px; line-height: 1.5; font-style: italic; margin: 0 auto; }
.save-date { margin-top: 27px; font-size: 43px; }
.date-line { font-size: 13px; letter-spacing: .12em; margin: 13px 0 7px; }
.microcopy { font-size: 13px; margin: 0; }
.botanical-bottom { width: 101%; left: -.5%; bottom: -17px; mix-blend-mode: multiply; opacity: .8; }

.engagement { padding: 42px 16px 24px; }
.engagement-card {
  position: relative;
  min-height: 970px;
  padding: 154px 32px 170px;
  overflow: hidden;
  color: var(--ink);
  background: var(--ivory);
  border-radius: 220px 220px 34px 34px;
  box-shadow: inset 0 0 0 1px #b39b6838;
}
.engagement-content { position: relative; z-index: 1; }
.engagement-arch { width: 96%; top: 13px; left: 2%; opacity: .86; }
.engagement-wreath { width: 110%; bottom: -38px; left: -5%; mix-blend-mode: multiply; opacity: .78; }
.engagement .eyebrow { margin: 0 0 9px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.engagement-verse { margin: 18px auto 22px; font-size: 14px; line-height: 1.5; font-style: italic; }
.engagement-verse cite { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; font-style: normal; }
.engagement-names { margin: 7px auto 16px; font: 400 43px/.92 var(--script); }
.engagement-names span { display: block; }
.engagement-names i { display: block; margin: 5px 0; font-size: 24px; font-weight: 400; }
.engagement-invite { max-width: 320px; margin: 0 auto 28px; font-size: 15px; line-height: 1.55; }
.engagement-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 350px;
  margin: 0 auto 24px;
  border-block: 1px solid #b39b686b;
}
.engagement-facts article { min-height: 125px; padding: 17px 10px; display: grid; align-content: center; }
.engagement-facts article:nth-child(2) { border-left: 1px solid #b39b686b; }
.engagement-facts article:last-child { grid-column: 1 / -1; border-top: 1px solid #b39b686b; }
.engagement-facts time, .engagement-facts p { margin: 7px 0 0; font-size: 14px; line-height: 1.4; }
.engagement-facts strong { font-size: 23px; font-weight: 500; }
.engagement-facts article:last-child strong { font-size: 16px; letter-spacing: .03em; }
.fact-label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.engagement-rsvp { display: block; width: fit-content; margin: 13px auto 0; color: var(--ink); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-underline-offset: 4px; }

.venue { padding: 88px 24px 48px; min-height: 520px; }
.light { color: var(--ivory); }
.light-text { color: var(--ivory); opacity: .86; }
.venue h3 { margin: 18px 0 7px; font-size: 15px; letter-spacing: .08em; font-weight: 400; }
.venue > p:not(.date-line):not(.amenities) { font-size: 14px; line-height: 1.5; opacity: .9; }
.church-art { width: 112%; margin: 4px -6% -16px; height: auto; mix-blend-mode: screen; opacity: .92; }
.pill {
  display: inline-flex;
  min-width: 148px;
  min-height: 44px;
  padding: 11px 20px 10px;
  align-items: center; justify-content: center;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  cursor: pointer;
}
.light-pill { background: var(--ivory); color: var(--olive-deep); }
.dark-pill { background: var(--olive); color: var(--ivory); }
.amenities { margin: 16px 0 0; font-size: 13px; letter-spacing: .04em; opacity: .86; }

.timeline-wrap { padding: 22px 16px 42px; }
.timeline, .actions {
  position: relative;
  color: var(--ink);
  border-radius: 220px;
  overflow: hidden;
}
.timeline { min-height: 1350px; padding: 165px 36px 185px; }
.timeline-arch { width: 96%; top: 14px; left: 2%; opacity: .88; }
.timeline-intro { max-width: 310px; margin: 14px auto 38px; font-size: 15px; line-height: 1.55; }
.timeline-item { margin: 0 auto; position: relative; z-index: 1; }
.timeline-icon {
  display: block; width: 82px; height: 82px; margin: 0 auto 7px;
  background-size: contain; background-repeat: no-repeat; background-position: center;
  mix-blend-mode: multiply;
}
.icon-1 { background-image: url("assets/icon-welcome.webp?v=2"); }
.icon-2 { background-image: url("assets/icon-holy-matrimony.webp?v=1"); }
.icon-3 { background-image: url("assets/icon-feast.webp?v=2"); }
.icon-4 { background-image: url("assets/icon-farewell.webp?v=2"); }
.timeline-item time { font-size: 20px; display: block; margin-top: 2px; }
.timeline-item h3 { font-size: 13px; font-weight: 400; letter-spacing: .08em; margin: 5px 0; }
.timeline-item p { font-size: 14px; line-height: 1.45; margin: 0; }
.timeline .flourish { margin: 21px auto; }
.timeline-wreath { width: 110%; bottom: -13px; left: -5%; mix-blend-mode: multiply; opacity: .82; }

.details { min-height: 720px; padding: 84px 36px 95px; overflow: hidden; }
.side-flowers { position: absolute; z-index: 0; width: 125%; height: auto; left: -12.5%; bottom: 0; object-fit: contain; opacity: .48; mix-blend-mode: screen; pointer-events: none; }
.details-copy { position: relative; z-index: 1; }
.details p { max-width: 350px; margin: 16px auto; font-size: 15px; line-height: 1.55; opacity: .94; }
.palette { display: flex; justify-content: center; gap: 9px; margin: 25px 0 10px; }
.palette i { width: 29px; height: 29px; background: var(--swatch); border: 1px solid #f1ead9aa; border-radius: 50%; box-shadow: inset 0 0 0 3px #ffffff1a; }
.palette-label { font-size: 12px; letter-spacing: .07em; opacity: .88; }
.details .flourish { margin: 40px auto 30px; }
.details .no-gifts { font-size: 13px; font-style: italic; }

.action-wrap { padding: 20px 16px 34px; }
.actions { min-height: 1090px; padding: 170px 38px 195px; }
.action-arch { width: 96%; left: 2%; top: 13px; opacity: .86; }
.actions article { position: relative; z-index: 1; }
.actions article h2 { font-size: 39px; }
.actions article p { font-size: 15px; line-height: 1.55; margin: 16px auto; max-width: 320px; }
.actions article small { display: block; font-size: 12px; margin-top: 9px; opacity: .85; }
.actions > .flourish { margin: 38px auto; }
.action-wreath { width: 112%; left: -6%; bottom: -20px; opacity: .85; mix-blend-mode: multiply; }

.closing {
  min-height: 510px;
  display: grid;
  place-items: end center;
  padding: 70px 36px max(54px, env(safe-area-inset-bottom));
  color: var(--ivory);
  text-align: center;
  background:
    linear-gradient(180deg, #11140d2e, #161b13e3),
    url("assets/church-garden.webp") center 58%/cover no-repeat;
}
.closing-copy p { font-size: 14px; line-height: 1.55; max-width: 350px; }
.closing-copy span { font-size: 11px; letter-spacing: .13em; opacity: .8; }

.rsvp-dialog { width: min(calc(100% - 28px), 430px); padding: 0; border: 0; border-radius: 28px; color: var(--ink); background: var(--ivory); box-shadow: 0 28px 80px #0008; }
.rsvp-dialog::backdrop { background: #1d2117c9; backdrop-filter: blur(5px); }
.rsvp-card { position: relative; padding: 40px 28px 32px; display: grid; gap: 16px; }
.rsvp-card .eyebrow { text-align: center; margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.rsvp-card h2 { text-align: center; }
.rsvp-card label { display: grid; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.rsvp-card input, .rsvp-card select, .rsvp-card textarea { width: 100%; border: 0; border-bottom: 1px solid #77776088; border-radius: 0; padding: 10px 2px; color: var(--ink); background: transparent; outline: none; font-size: 16px; text-transform: none; letter-spacing: 0; }
.rsvp-card input:focus, .rsvp-card select:focus, .rsvp-card textarea:focus { border-bottom-color: var(--olive); }
.close-dialog { position: absolute; right: 14px; top: 12px; border: 0; background: transparent; color: var(--ink); font-size: 26px; cursor: pointer; }
.submit-rsvp { justify-self: center; margin-top: 4px; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 20; width: min(calc(100% - 32px), 400px); transform: translate(-50%, 120px); padding: 14px 18px; border-radius: 999px; background: var(--ivory); color: var(--olive-deep); text-align: center; font-size: 14px; box-shadow: 0 12px 45px #0007; transition: transform .45s ease; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 355px) {
  .invitation-gate { padding-inline: 22px; }
  .invitation-gate__content { padding-inline: 8px; }
  .invitation-gate__names { font-size: 55px; }
  .hero-nav { font-size: 11px; }
  .envelope-wrap { width: min(94vw, 340px); }
  .heart-copy h1 { font-size: 35px; }
  .story { padding-inline: 27px; }
  .script { font-size: 36px; }
  .engagement { padding-inline: 9px; }
  .engagement-card { padding-inline: 25px; }
  .engagement-names { font-size: 39px; }
  .timeline-wrap, .action-wrap { padding-inline: 9px; }
  .timeline { padding-inline: 29px; }
}
@media (min-width: 481px) {
  body { padding: 30px 0; }
  .invitation { border-radius: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Tanvi & Ashmit — the original ivory and olive invitation palette. */
.invitation-gate, .hero {
  background-image: linear-gradient(180deg, #12170fd6 0%, #262b1c66 42%, #11150de8 100%), url("assets/hero-garden.webp");
}
.divine-blessing { margin: 12px auto 24px; font-size: 15px; line-height: 1.6; letter-spacing: .03em; }
.divine-blessing strong { font-weight: 500; }
.invitation-gate__eyebrow { font-size: 11px; margin-bottom: 28px; }
.invitation-gate__content { padding-top: 20px; }
.invitation-gate__ornament { margin: 8px auto 18px; }
.invitation-gate__blessing { line-height: 1.7; }
.hero { min-height: 790px; padding-bottom: 48px; }
.hero .divine-blessing { margin: 22px 0 0; }
.hero .invocation { margin-top: 18px; font-size: 11px; }
.hero .date-line { margin-top: 0; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; line-height: 1.6; }
.story { padding: 92px 30px 155px; }
.portrait-frame { width: 218px; height: 285px; margin-bottom: 26px; border-radius: 110px 110px 12px 12px; }
.portrait-frame img { object-position: center bottom; filter: none; }
.story h2 { font-size: 54px; }
.weds { display: block; font: italic 17px/2.3 var(--serif); }
.couple-families p { font-size: 15px; line-height: 1.6; margin: 18px auto; }
.couple-families p span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
.couple-families strong { display: block; font-size: 25px; font-weight: 500; margin: 4px 0; }
.story .body-copy { font-size: 15px; }
.engagement-card { min-height: 0; padding: 155px 27px 170px; }
.day-label { margin: 24px auto 30px; padding-block: 13px; border-block: 1px solid #b39b686b; font-size: 13px; letter-spacing: .055em; }
.event-card { position: relative; z-index: 1; }
.event-number { display: block; color: var(--gold); font-size: 12px; letter-spacing: .2em; margin-bottom: 10px; }
.event-card h3 { font-size: 31px; line-height: 1.12; font-weight: 500; margin: 0; }
.event-subtitle { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin: 10px 0; }
.event-tagline { font-size: 16px; font-style: italic; margin: 12px auto 22px; }
.event-time { font-size: 23px; margin: 8px 0; }
.event-location { font-size: 17px; margin: 8px 0 20px; }
.attire { font-size: 15px; line-height: 1.6; margin: 20px auto 0; }
.attire span { display: block; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 5px; }
.engagement-content > .flourish, .timeline > .flourish { margin: 34px auto; }
.timeline { min-height: 0; padding: 155px 28px 185px; border-radius: 220px 220px 50px 50px; }
.wedding-times { display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0; border-block: 1px solid #b39b686b; }
.wedding-times p { margin: 16px 0; font-size: 24px; }
.wedding-times p + p { border-left: 1px solid #b39b686b; }
.wedding-times span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 7px; }
.venue { padding-top: 55px; }
.venue h3 { font-size: 25px; letter-spacing: .01em; }
.venue-brand { letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.resort-frame { margin: 26px auto; max-width: 340px; border: 1px solid #f2ecdf70; padding: 6px; border-radius: 170px 170px 12px 12px; overflow: hidden; }
.resort-frame img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: center bottom; border-radius: inherit; }
.details { min-height: 0; padding-top: 58px; padding-bottom: 110px; }
.family-list { list-style: none; padding: 0; margin: 28px 0; font-size: 18px; line-height: 1.9; }
.details .younger-family { font-size: 23px; }
.actions { min-height: 0; padding: 160px 28px 185px; }
.rsvp-contacts { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 24px 0 15px; }
.rsvp-contacts .pill { min-width: 210px; font-size: 15px; letter-spacing: .04em; }
.closing { min-height: 490px; background-image: linear-gradient(180deg, #11140d2e, #161b13e3), url("assets/tanvi-ashmit.webp"); background-position: center 60%; }
.closing .script { font-size: 48px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
@media (max-height: 740px) {
  .invitation-gate__content { padding-block: 0; }
  .invitation-gate .divine-blessing { font-size: 13px; margin-block: 0 10px; }
  .invitation-gate__eyebrow { margin-bottom: 22px; font-size: 10px; }
  .invitation-gate__names { font-size: 62px; }
  .invitation-gate__date { margin-block: 20px; }
  .invitation-gate__blessing { margin-top: 12px; font-size: 12px; }
}
@media (max-height: 580px) {
  .invitation-gate { overflow-y: auto; place-items: start center; }
  .invitation-gate__frame { position: fixed; }
}

/* Client corrections — 6 November 2026 */
@font-face {
  font-family: "Playfair Display Names";
  src: url("assets/fonts/PlayfairDisplay-Italic-names.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --names: "Playfair Display Names", "Playfair Display", Georgia, serif;
}
[hidden] { display: none !important; }
.story:focus { outline: none; }

/* Opening envelope */
.invitation-gate__content { padding-block: 0; }
.invitation-gate__intro {
  max-width: 290px;
  margin: 0 auto 18px;
  color: #e6d6ad;
  font-size: clamp(17px, 2.5svh, 21px);
  line-height: 1.25;
  letter-spacing: .025em;
}
.gate-envelope {
  position: relative;
  width: min(100%, 37svh, 330px);
  margin: 0 auto;
  container-type: inline-size;
  filter: drop-shadow(0 14px 22px #16190f8f);
}
.gate-envelope img { display: block; width: 100%; height: auto; }
.heart-names {
  position: absolute;
  top: 21%; left: 50%;
  width: 66%;
  margin: 0;
  transform: translateX(-50%);
  color: var(--ivory);
  font: italic 400 10.2cqw/1.06 var(--names);
  text-shadow: 0 1px 3px #28301d66;
}
.heart-names i { display: block; font-size: .72em; line-height: 1.1; }
.invitation-gate .invitation-gate__date { margin: 12px 0 14px; }

/* Names: clear serif italic in place of the script face */
.couple-names { margin: 0; font: italic 400 46px/1.12 var(--names); color: var(--olive-deep); }
.story h2.couple-names { font-size: 48px; }
.story .divine-blessing { margin: 0 auto 22px; font-size: 18px; line-height: 1.45; color: var(--olive-deep); }
.story .divine-blessing strong { font-size: 22px; font-weight: 600; }
.couple-families strong { font-family: var(--names); font-style: italic; font-weight: 400; }

/* Save the date */
.story { padding-bottom: 170px; }
.save-date-card {
  position: relative;
  z-index: 1;
  margin: 30px -6px 0;
  padding: 26px 14px 22px;
  border: 1px solid #b39b6888;
  border-radius: 26px;
  background: #fbf7ec;
  box-shadow: 0 10px 28px #575c4024, inset 0 0 0 4px #f2ecdf;
}
.save-date-card .save-date { margin: 0; font-size: 50px; color: var(--olive-deep); }
.save-date-big { margin: 10px 0 0; color: var(--olive-deep); }
.save-date-big time { display: flex; align-items: center; justify-content: center; gap: 16px; }
.save-date-big span { font-size: 26px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.save-date-big b { font: 600 72px/1 var(--serif); font-variant-numeric: lining-nums; padding-inline: 16px; border-inline: 1px solid #b39b6888; }
.save-date-big sup { font-size: .36em; }
.save-date-year { font-variant-numeric: lining-nums; margin: 2px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: .3em; color: var(--olive-deep); text-indent: .3em; }
.save-date-card .microcopy { font-size: 15px; }
.countdown { margin-top: 18px; padding: 16px 8px 14px; border-radius: 18px; color: var(--ivory); background: var(--olive); }
.countdown-title { margin: 0 0 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.countdown-grid p { margin: 0; }
.countdown-grid p + p { border-left: 1px solid #f2ecdf40; }
.countdown-grid b { display: block; font-size: 32px; font-weight: 600; line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; }
.countdown-grid span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.botanical-bottom { width: 88%; left: 6%; bottom: -12px; }

/* Events */
.event-art { display: block; width: auto; max-width: 190px; height: 150px; margin: 0 auto 12px; object-fit: contain; }
.event-card h3 { color: var(--olive-deep); font-size: 33px; }
.event-subtitle { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: #8a7443; margin: 8px 0; }
.event-tagline { margin: 8px auto 16px; font-size: 17px; }
.event-time { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 10px 0 6px; color: var(--olive-deep); }
.event-time time { font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.event-time span { font-size: 16px; font-style: italic; }
.event-location { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 18px; font-size: 22px; font-weight: 600; color: var(--olive-deep); }
.event-location span { color: var(--gold); font-size: 20px; }
.attire {
  margin: 16px auto 0;
  padding: 12px 16px 13px;
  max-width: 310px;
  border: 1px solid #b39b6880;
  border-radius: 16px;
  background: #f8f1df;
  color: var(--olive-deep);
  font-size: 17px;
  font-weight: 600;
}
.attire span { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: #8a7443; }
.wedding-times { margin: 16px 0; }
.wedding-times p { color: var(--olive-deep); }
.wedding-times time { font-size: 30px; font-weight: 600; line-height: 1.1; font-variant-numeric: lining-nums; }
.wedding-times span { font-size: 13px; font-weight: 600; }
.day-label { font-size: 16px; font-weight: 600; color: var(--olive-deep); }
.engagement-card, .timeline, .actions { padding-bottom: min(62vw, 300px); }

/* Venue */
.venue h3 { font-size: 29px; font-weight: 500; }
.venue > p:not(.date-line):not(.amenities) { font-size: 18px; }
.venue-brand { font-size: 13px; }

/* RSVP */
.rsvp-lead { margin-bottom: 8px !important; }
.rsvp-names { margin: 0 auto 14px !important; color: var(--olive-deep); }
.rsvp-names strong { display: block; font-size: 25px; font-weight: 600; line-height: 1.3; }
.rsvp-contacts .pill { min-width: 240px; min-height: 52px; font-size: 20px; font-weight: 600; font-variant-numeric: lining-nums; }
.rsvp-form { display: grid; gap: 14px; margin: 8px auto; max-width: 320px; text-align: left; }
.actions article .rsvp-form__title { margin: 0; max-width: none; text-align: center; font: 400 34px/1.2 var(--script); color: var(--olive-deep); }
.rsvp-form label, .rsvp-form legend { display: grid; gap: 4px; font-size: 13px; font-weight: 600; letter-spacing: .05em; color: var(--olive-deep); }
.rsvp-form input:not([type="radio"]), .rsvp-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #b39b6888; border-radius: 12px;
  color: var(--olive-deep); background: #fbf7ec; font-size: 16px; font-weight: 400; letter-spacing: 0;
}
.rsvp-form input:focus-visible, .rsvp-form textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.rsvp-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; border: 0; }
.rsvp-form legend { grid-column: 1 / -1; margin-bottom: 6px; padding: 0; }
.rsvp-form .rsvp-choice { position: relative; display: block; }
.rsvp-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rsvp-choice span { display: grid; place-items: center; min-height: 46px; padding: 6px; border: 1px solid #b39b6888; border-radius: 12px; font-size: 14px; text-align: center; background: #fbf7ec; }
.rsvp-choice input:checked + span { color: var(--ivory); background: var(--olive); border-color: var(--olive); }
.rsvp-choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.rsvp-form button { justify-self: center; margin-top: 2px; font-weight: 600; }
.rsvp-monogram { display: block; width: 130px; height: auto; margin: 16px auto 0; }
.hashtag { margin: 10px auto 0 !important; font-size: 20px !important; font-weight: 600; letter-spacing: .04em; color: #8a7443; }

/* Closing photograph */
.closing { position: relative; display: block; min-height: 0; padding: 0; background: #f4e7bd; }
.closing-photo { display: block; width: 100%; height: auto; }
.closing-copy { position: absolute; top: max(30px, 6%); left: 0; right: 0; padding-inline: 24px; color: var(--olive-deep); }
.closing-copy .couple-names { font-size: 44px; }
.closing-copy p { margin: 8px auto; font-size: 17px; font-weight: 500; }
.closing-copy span { font-size: 12px; font-weight: 600; opacity: 1; }
.closing-copy .hashtag { color: var(--olive-deep); }

@media (max-height: 700px) {
  .invitation-gate__content { padding: 0; }
  .invitation-gate__intro { margin-bottom: 10px; font-size: 16px; }
  .gate-envelope { width: min(100%, 34svh); }
  .invitation-gate__button { min-height: 44px; padding-block: 10px; }
}
@media (max-width: 355px) {
  .save-date-card .save-date { font-size: 42px; }
  .save-date-big time { gap: 8px; }
  .save-date-big span { font-size: 21px; }
  .save-date-big b { font-size: 58px; padding-inline: 10px; }
  .story h2.couple-names { font-size: 42px; }
  .event-card h3 { font-size: 28px; }
  .event-location { font-size: 20px; }
  .event-time time { font-size: 30px; }
  .wedding-times time { font-size: 26px; }
  .rsvp-names strong { font-size: 22px; }
  .rsvp-contacts .pill { min-width: 210px; font-size: 18px; }
}
