/* Guest-facing styles only. Admin pages continue to use app.css. */
html {
  scroll-behavior: smooth;
}
.invitation-cover-shell,
.reference-invite {
  --invite-ink: #5b4938;
  color: var(--invite-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
}
.invitation-cover-shell {
  background: #f5efe6;
}
.invitation-cover {
  background: linear-gradient(135deg, #fbf7f0, #eee3d4);
}
.cover-wash,
.cover-leaf {
  display: none;
}
.invitation-card {
  width: min(600px, 100%);
  min-height: 0;
  padding: 25px 30px 32px;
  background-color: white;
  background-image:
    url("../img/invitation-floral.svg"),
    radial-gradient(ellipse at 90% 0, #e4d5c16b, transparent 45%),
    radial-gradient(ellipse at 10% 100%, #eadfce6b, transparent 40%);
  background-size:
    clamp(145px, 24vw, 220px) auto,
    100% 100%,
    100% 100%;
  background-position: top left;
  background-repeat: no-repeat;
  border-radius: 8px;
  box-shadow: 0 20px 38px #243d4555;
}
.cover-emblem {
  width: 56px;
  height: 56px;
  background: #8c7357;
  margin-bottom: 22px;
}
.cover-names {
  font-family: "Allura", cursive;
  font-size: 46px;
  line-height: 1.05;
  color: #5b4938;
}
.cover-names > span,
.invitation-names > span {
  display: block;
}
.name-amp {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.52em;
  line-height: 1.7;
  font-weight: 400;
}
.cover-divider {
  width: 110px;
  margin: 18px 0 12px;
  font-style: normal;
}
.cover-date {
  font:
    20px "Cormorant Garamond",
    Georgia,
    serif;
  margin-bottom: 18px;
  color: #9e886f00;
}
.cover-message {
  font:
    20px "Cormorant Garamond",
    Georgia,
    serif;
  margin: 6px 0 15px;
  color: #91816f;
}
.cover-guest {
  font-size: 25px;
  margin: 0 0 12px;
}
.cover-open {
  font:
    21px "Cormorant Garamond",
    Georgia,
    serif;
  min-width: 110px;
  min-height: 48px;
  background: #8c7357;
  margin-top: 10px;
}
.reference-invite {
  background: #f7f2ea;
  font-size: 20px;
}
.reference-main {
  position: relative;
  isolation: isolate;
  width: min(900px, 100%);
  padding: 0 0 30px;
  overflow: hidden;
  border-inline: 1px solid #e8e0d4;
  background-color: white;
  background-image:
    url("../img/invitation-floral.svg"), url("../img/invitation-floral.svg"),
    radial-gradient(ellipse at 85% 5%, #e1d2bf80, transparent 22%),
    radial-gradient(ellipse at 5% 33%, #f1e8db90, transparent 30%),
    radial-gradient(ellipse at 95% 60%, #e8dccb80, transparent 28%),
    radial-gradient(ellipse at 25% 90%, #f0e6d790, transparent 27%);
  background-position:
    left top,
    right 1150px,
    0 0,
    0 0,
    0 0,
    0 0;
  background-size:
    290px auto,
    240px auto,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%;
  background-repeat: no-repeat;
}
.reference-main:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.17;
  pointer-events: none;
  background-image: url("../img/watercolor.svg");
  background-size: 100% 1300px;
  background-repeat: repeat-y;
}
.language-switcher {
  position: relative;
  inset: auto;
  display: flex;
  justify-content: flex-end;
  padding: 18px;
  z-index: 2;
}
.language-switcher .btn {
  background: #ffffffa0;
  border: 1px solid #ddd5c6;
  color: #5b4938;
  font-size: 12px;
}
.language-switcher .btn.active {
  background: #8c7357;
  color: white;
}
.invitation-hero {
  min-height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 30px;
}
.invitation-names {
  font-family: "Allura", cursive;
  font-size: 90px;
  font-weight: 400;
  line-height: 1.3;
  color: #5b4938;
  margin: 0;
}
.invitation-names .name-amp {
  font-family: "Allura", cursive;
  font-size: 55px;
  margin: 15px 0;
}
.invitation-ornament {
  font-size: 30px;
  margin-top: 30px;
  color: #a28b6d;
}
.reference-content {
  max-width: 760px;
  text-align: center;
}
.ceremony-section {
  padding: 35px 20px 70px;
}
.reference-main .section-title {
  font:
    500 22px "Cormorant Garamond",
    Georgia,
    serif;
  color: #5b4938;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.invitation-announcement {
  margin: 65px auto 28px;
  font-size: 21px;
  line-height: 1.8;
}
.invitation-guest {
  font-size: 25px;
  margin-bottom: 35px;
}
.ceremony-names {
  font:
    400 65px/1.4 "Allura",
    cursive;
  margin: 50px 0;
}
.reception-section {
  padding: 45px 15px 70px;
}
.venue-name {
  margin: 55px auto 20px;
  font-size: 28px;
}
.reception-time {
  font-size: 35px;
  margin-bottom: 35px;
}
.wedding-date-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  text-transform: uppercase;
  font-size: 17px;
}
.wedding-date-row strong {
  font-size: 44px;
  font-weight: 400;
  padding: 0 24px;
  border-inline: 1px solid #80664b;
}
.reception-year {
  font-size: 27px;
  margin: 25px auto;
}
.wedding-countdown {
  font-size: 18px;
  margin: 40px 0 28px;
  font-variant-numeric: tabular-nums;
}
.wedding-calendar {
  width: min(350px, 100%);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin: 0 auto 28px;
  padding: 15px;
  border: 1px solid #ddd5c6;
  border-radius: 9px;
  background: #ffffffb3;
  font-size: 15px;
}
.calendar-month {
  grid-column: 1/-1;
  font-size: 18px;
  border-bottom: 1px solid #ddd5c6;
  padding-bottom: 15px;
  font-weight: 600;
}
.wedding-calendar span {
  display: grid;
  place-items: center;
  height: 30px;
}
.calendar-weekday {
  color: #998875;
  font-size: 12px;
}
.wedding-day {
  background: #8c735700;
  border-radius: 50%;
  color: white;
}
.calendar-link {
  display: block;
  margin: 25px auto;
  color: #5b4938;
  font-size: 18px;
  text-underline-offset: 4px;
}
.confirm-attendance {
  display: inline-block;
  text-decoration: none;
  border-radius: 30px;
  background: #8c7357;
  color: white;
  padding: 12px 28px;
  margin-top: 25px;
  font-size: 17px;
  letter-spacing: 0.4px;
}
.confirm-attendance:hover {
  color: white;
  background: #5c402e;
}
.reference-main .reference-card {
  background: transparent;
  box-shadow: none;
  padding: 45px 24px;
  margin: 0 !important;
  border: none;
  border-radius: 0;
}
.reference-card .timeline {
  max-width: 480px;
  margin: 35px auto;
  text-align: left;
}
.reference-card .timeline-time {
  min-width: 100px;
  font-size: 20px;
}
.reference-card .timeline-body {
  font-size: 20px;
}
.reference-main .rsvp-card {
  background: #eee5d9;
  border: 1px solid #d6c7b270;
  border-radius: 18px;
  margin: 45px 0 !important;
  padding: 30px;
  text-align: left;
  scroll-margin-top: 20px;
}
.rsvp-card .section-title {
  margin: 0;
}
.rsvp-card .form-control {
  font:
    19px "Cormorant Garamond",
    Georgia,
    serif;
  border-radius: 8px;
  background: #ffffffe0;
}
.reference-card .btn-wedding {
  background: #8c7357;
  border-radius: 25px;
  border: 0;
  font-size: 18px;
  padding: 10px 24px;
}
.reference-card .btn-wedding:hover {
  background: #5c402e;
}
.reference-card .deadline-pill {
  background: #ffffff80;
  font-size: 14px;
}
.reference-card .form-check-input:checked {
  background-color: #8c7357;
  border-color: #8c7357;
}
.venue-illustration {
  border: 1px solid #ddd5c6;
  border-radius: 50% 50% 10px 10px;
  font-size: 100px;
  display: grid;
  place-items: center;
  min-height: 190px;
  color: #a28b6d;
  background: #ffffff70;
}
.reference-card:last-child {
  margin-top: 30px !important;
}
.reference-card:last-child p:first-of-type {
  border: 1px solid #ddd5c6;
  background: #ffffff70;
  border-radius: 18px;
  padding: 20px;
}
.reference-main a:focus-visible,
.invitation-cover a:focus-visible {
  outline: 3px solid #946c4b;
  outline-offset: 5px;
}
html[lang="si"] .invitation-names,
html[lang="si"] .cover-names,
html[lang="si"] .ceremony-names {
  font-family: Georgia, serif;
  font-size: clamp(32px, 6vw, 65px);
}
@media (max-width: 575px) {
  .invitation-cover {
    padding: 25px 18px;
  }
  .invitation-card {
    padding: 28px 20px;
  }
  .reference-main {
    background-size:
      170px auto,
      145px auto,
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%;
  }
  .invitation-hero {
    min-height: 480px;
    padding: 35px 20px;
  }
  .invitation-names {
    font-size: 74px;
  }
  .invitation-names .name-amp {
    font-size: 42px;
  }
  .reference-content {
    padding-inline: 20px !important;
  }
  .ceremony-names {
    font-size: 50px;
  }
  .reference-main .reference-card {
    padding: 35px 5px;
  }
  .reference-main .rsvp-card {
    padding: 25px 18px;
  }
  .wedding-date-row {
    gap: 12px;
    font-size: 14px;
  }
  .wedding-date-row strong {
    padding: 0 16px;
  }
  .venue-name {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .invitation-card {
    animation: none;
  }
  .cover-open {
    transition: none;
  }
}

/* Compact ivory invitation redesign */
.invitation-cover-shell,
.reference-invite,
.invitation-cover,
.reference-main {
  --invite-ink: #544b40;
  --invite-accent: #8c7357;
  color: var(--invite-ink);
  background: #fffef7;
}
.invitation-cover-shell { min-height: 100vh; }
.invitation-cover {
  min-height: 100vh;
  padding: 56px 20px 30px;
  background: #fffef7;
}
.invitee-cover .cover-language {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: max(18px, calc((100vw - 760px) / 2));
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid #ddd5c6;
  border-radius: 999px;
  background: #fffef7;
}
.cover-language a {
  padding: 6px 11px;
  border-radius: 999px;
  color: #776b5e;
  font: 500 12px Inter, sans-serif;
  text-decoration: none;
}
.cover-language a.active { color: #fffef7; background: #8c7357; }
.invitation-card.invitee-cover-card {
  width: min(560px, 100%);
  min-height: 0;
  padding: clamp(42px, 8vw, 74px) 28px;
  border: 1px solid #e7dfd2;
  border-radius: 5px;
  background: #fffef7;
  box-shadow: 0 15px 50px #61523e12;
  background-image: none;
}
.cover-kicker {
  margin: 0 0 16px;
  color: #8c7357;
  font: 500 11px Inter, sans-serif;
  letter-spacing: 2px;
}
.cover-invited {
  margin: 0;
  color: #554a3e;
  font: 500 clamp(38px, 8vw, 58px)/1.08 "Cormorant Garamond", Georgia, serif;
}
.invitee-cover-card .cover-message {
  max-width: 340px;
  margin: 15px auto 13px;
  color: #766d62;
  font: 19px/1.45 "Cormorant Garamond", Georgia, serif;
}
.cover-couple {
  margin: 8px 0 0;
  color: #755d44;
  font: 400 clamp(39px, 8vw, 58px)/1.2 Allura, cursive;
}
.invitee-cover-card .cover-divider { margin: 18px auto 12px; color: #a28b6d; }
.invitee-cover-card .cover-divider span { background: #cfc1aa; }
.invitee-cover-card .cover-open {
  min-height: 44px;
  padding: 8px 23px;
  border-radius: 999px;
  background: #8c7357;
  color: #fffef7;
  font: 500 15px Inter, sans-serif;
  box-shadow: none;
}
.invitee-cover-card .cover-open:hover { background: #715a42; }
.invitee-cover-card { position: relative; }
.invitee-cover-card:after { content: "✦"; position: absolute; top: 15px; left: 50%; display: grid; place-items: center; width: 32px; height: 32px; transform: translateX(-50%); border: 1px solid #9a7756; border-radius: 50%; background: #8c7357; color: #fff8ec; font-size: 14px; box-shadow: 0 2px 8px #49321d30; }
.opening-invitation .invitee-cover-card:after { animation: seal-open 520ms ease-in forwards; }
@keyframes seal-open { 0% { transform: translateX(-50%) rotate(0) scale(1); opacity: 1; } 55% { transform: translateX(-50%) rotate(100deg) scale(1.25); opacity: .75; } 100% { transform: translateX(-50%) rotate(175deg) scale(.25); opacity: 0; } }
.si-title, .si-couple, .si-copy, .si-parents, .si-cover-message { font-family: Georgia, "Noto Serif Sinhala", serif !important; }
.si-title { font-size: clamp(30px, 7vw, 43px); line-height: 1.5; }
.si-cover-message { max-width: 390px !important; font-size: 18px !important; line-height: 1.85 !important; }
.si-couple { font-size: clamp(33px, 7vw, 48px) !important; line-height: 1.55 !important; }
.reference-invite { min-height: 100vh; }
.reference-main.invite-page {
  width: min(100%, 820px);
  padding: 0 28px 28px;
  overflow: visible;
  border: 0;
  background: #fffef7;
  background-image: none;
}
.reference-main.invite-page:before { display: none; }
.invite-page .language-switcher { padding: 14px 0 8px; }
.invite-page .language-switcher .btn {
  min-height: 44px; padding: 8px 17px;
  border-color: #ddd5c6;
  border-radius: 999px;
  color: #766b5e;
  background: #fffef7;
  font: 13px Inter, "Noto Sans Sinhala", sans-serif;
}
.invite-page .language-switcher .btn.active { color: #fffef7; background: #8c7357; }
.invitation-letter {
  max-width: 650px;
  margin: 0 auto;
  padding: 17px 18px 25px;
  text-align: center;
}
.letter-eyebrow { margin: 0 0 8px; color: #9b8264; font: 500 10px Inter, sans-serif; letter-spacing: 2.4px; }
.letter-title { margin: 0 0 14px; color: #5c4e3e; font: 500 clamp(34px, 6vw, 48px)/1.1 "Cormorant Garamond", Georgia, serif; }
.parents { margin: 0 0 12px; font-size: 20px; line-height: 1.35; }
.parents span { font-size: 16px; color: #9b8264; }
.invitation-copy { max-width: 500px; margin: 0 auto 10px; color: #71685d; font-size: 18px; line-height: 1.45; }
.letter-couple { margin: 9px 0; color: #80664b; font: 400 clamp(42px, 8vw, 59px)/1.05 Allura, cursive; }
.ending-copy { margin-top: 2px; }
.si-parents { line-height: 1.75; font-size: 19px; }
.si-copy { font-size: 18px; line-height: 1.9; }
.event-section {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 0.9fr);
  gap: 22px;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 18px 10px 15px;
  border-top: 1px solid #e8e0d4;
  border-bottom: 1px solid #e8e0d4;
}
.event-details { text-align: center; }
.invite-page .event-time,
.invite-page .venue-heading { border-top: 1px solid #e8e0d4; padding-top: 12px; }
.event-time { margin: 0 0 10px; color: #76634e; font-size: 25px; }
.event-date { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0; font: 14px Inter, sans-serif; text-transform: uppercase; }
.event-date strong { padding: 0 14px; border-inline: 1px solid #cbbb9f; color: #755d44; font: 400 38px "Cormorant Garamond", Georgia, serif; }
.event-year { margin: 7px 0 11px; font: 18px Inter, sans-serif; letter-spacing: 2px; }
.venue-heading { display: flex; justify-content: center; align-items: center; gap: 9px; color: #5c4e3e; font-size: 24px; }
.map-pin { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid #bda98a; border-radius: 50%; color: #80664b; font: 25px/1 Arial, sans-serif; text-decoration: none; }
.map-pin:hover { color: #fffef7; background: #8c7357; }
.venue-address { margin: 3px 0 0; color: #8a8074; font: 13px Inter, sans-serif; }
.venue-photo-wrap { margin: 0; overflow: hidden; border-radius: 3px; background: #211e1a; }
.venue-photo { display: block; width: 100%; max-height: 180px; object-fit: cover; }
.calendar-card {
  width: min(360px, 100%);
  margin: 20px auto 0;
  padding: 17px 20px 12px;
  color: #584e43;
  border: 1px solid #e5dbcc;
  background: #fffdf7;
  box-shadow: 0 8px 24px #54442c0b;
  text-align: center;
}
.calendar-month { margin: 0 0 10px; color: #665743; font: 500 14px Inter, sans-serif; letter-spacing: 3px; }
.calendar-month span { margin-left: 5px; color: #97856c; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); align-items: center; gap: 3px 4px; font: 12px Inter, sans-serif; }
.calendar-weekday { padding: 4px 0 6px; color: #9d9386; font-size: 10px; font-style: italic; }
.calendar-date { display: grid; place-items: center; height: 29px; color: #625a50; }
.calendar-date i { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #877457; border-radius: 50%; color: #574b3c; font-style: normal; }
.calendar-empty { height: 29px; }
.save-date { margin: 9px 0 0; color: #746148; font: 400 28px Allura, cursive; }
.calendar-couple { margin: -4px 0 0; color: #8d806d; font: 10px Inter, sans-serif; letter-spacing: 1px; }
.confirm-attendance { margin: 16px auto 0; padding: 10px 23px; color: #fffef7; background: #8c7357; font: 500 13px Inter, sans-serif; text-transform: uppercase; letter-spacing: 1px; }
.confirm-attendance:hover { background: #715a42; }
.rsvp-section { max-width: 690px; margin: 22px auto 0; padding: 18px 20px 20px; border: 1px solid #e7ddce; background: #fffdf8; }
.rsvp-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 12px; }
.rsvp-title { margin: 0; color: #5a4b3b; font: 500 clamp(30px, 5vw, 40px)/1.05 "Cormorant Garamond", Georgia, serif; }
.rsvp-deadline { display: flex; flex-direction: column; margin: 0; color: #938778; text-align: right; font: 10px/1.45 Inter, sans-serif; }
.rsvp-form { display: flex; flex-wrap: wrap; align-items: end; gap: 14px 22px; }
.attendance-options { display: flex; flex: 1 1 360px; flex-wrap: wrap; gap: 10px 18px; }
.attendance-choice { display: inline-flex; align-items: center; gap: 7px; color: #62574b; font: 15px "Cormorant Garamond", Georgia, serif; }
.attendance-choice input { accent-color: #8c7357; width: 16px; height: 16px; }
.guest-count-control { width: 175px; }
.guest-count-control label { display: block; margin-bottom: 5px; color: #6d6256; font: 12px Inter, sans-serif; }
.guest-count-control label small { color: #9a8f82; }
.guest-count-control .form-control { font: 15px Inter, sans-serif; background: #fffef7; }
.guest-count-control .btn { padding-inline: 11px; color: #705b42; border-color: #d8cbb8; }
.rsvp-submit { min-height: 38px; padding: 8px 17px; border: 0; border-radius: 999px; color: #fffef7; background: #8c7357; font: 12px Inter, sans-serif; }
.rsvp-locked { margin: 0; color: #8a6d50; font-size: 13px; }
.invitation-footer { max-width: 690px; margin: 17px auto 0; text-align: center; }
.blessing { margin: 0 auto 10px; color: #786b5d; font: italic 16px/1.4 "Cormorant Garamond", Georgia, serif; }
.contact-row { display: flex; justify-content: center; gap: 22px; }
.contact-row a { color: #78664e; font: 12px Inter, sans-serif; text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }

/* Calendar, RSVP and mobile finishing details. */
.invite-page { font-family: Inter, "Noto Sans Sinhala", sans-serif; color: #514638; }
.invite-page .si-title,
.invite-page .si-couple,
.invite-page .si-copy,
.invite-page .si-parents,
.invite-page [lang="si"] { font-family: "Noto Sans Sinhala", sans-serif !important; }
.invite-page .letter-eyebrow,
.invite-page .invitation-request,
.invite-page .event-date,
.invite-page .confirm-attendance { text-transform: none; letter-spacing: normal; }
.invite-page .parents { color: #776957; font-size: 16px; line-height: 1.45; }
.invite-page .parents strong { color: inherit; font-weight: 400; }
.invite-page .parents span { font-size: 14px; }
.invite-page .invitee-salutation { font-size: clamp(25px, 5vw, 32px); font-weight: 600; color: #563c29; }
.invite-page .map-pin {
  width: auto; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font: 500 12px Inter, "Noto Sans Sinhala", sans-serif; white-space: nowrap;
}
.venue-note { margin: 7px 0 0; color: #6c5b48; font: 12px/1.5 Inter, "Noto Sans Sinhala", sans-serif; }
.venue-note span { font-weight: 600; }
.week-calendar { width: min(460px, 100%); padding: 20px 18px 16px; border: 0; background: transparent; box-shadow: none; }
.week-calendar .calendar-month { margin-bottom: 16px; color: #44372d; font: 500 14px Inter, sans-serif; letter-spacing: 2px; }
.calendar-week-grid { gap: 4px; }
.calendar-day { display: grid; justify-items: center; align-content: start; gap: 10px; min-width: 0; padding: 0 2px; }
.calendar-weekday { color: #514438; font: italic 600 12px "Cormorant Garamond", Georgia, serif; }
.calendar-date { width: 36px; height: 36px; border-radius: 50%; color: #493d33; font: 500 16px "Cormorant Garamond", Georgia, serif; }
.calendar-day.wedding-day { position: relative; }
.calendar-day.wedding-day:before { content: ""; position: absolute; z-index: 0; top: 18px; left: 50%; width: clamp(43px, 8vw, 50px); height: clamp(40px, 7vw, 46px); transform: translateX(-50%); background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 54'%3E%3Cpath d='M30 49C23 42 5 29 5 17 5 3 22 1 30 13 38 1 55 3 55 17c0 12-18 25-25 32Z' fill='none' stroke='%23c7b39a' stroke-width='1.8'/%3E%3C/svg%3E"); }
.calendar-day.wedding-day:after { content: none; }
.calendar-day.wedding-day .calendar-date { position: relative; z-index: 1; color: #3f2c1e; font-weight: 700; }
.save-date { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin: 32px 0 3px; padding: 6px 22px; border-radius: 999px; background: #77553d; color: #fffaf2; font: 500 14px Inter, sans-serif; text-decoration: none; }
.save-date:hover { color: white; background: #5c402e; }
.calendar-google { display: block; min-height: 44px; padding: 9px; color: #6d5039; font: 12px/1.5 Inter, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.calendar-couple { margin: 6px 0 0; letter-spacing: 0; font-size: 12px; }
.confirm-attendance { display: table; min-height: 46px; padding: 13px 23px; }
.rsvp-section { scroll-margin-top: 24px; }
.rsvp-deadline { color: #655745; font-size: 11px; }
.rsvp-deadline strong { margin-top: 3px; color: #765538; font-weight: 600; }
.rsvp-confirmation { display: grid; gap: 4px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #a8b99c; border-radius: 8px; background: #f1f7ed; color: #33492d; font: 13px/1.45 Inter, "Noto Sans Sinhala", sans-serif; }
.rsvp-confirmation strong { font-size: 16px; }
.rsvp-section .alert { color: #51351f; }
.attendance-choice { min-height: 44px; }
.attendance-choice input { width: 20px; height: 20px; }
.guest-count-control .btn { min-width: 48px; min-height: 48px; font-size: 20px; }
.guest-count-control .form-control { min-height: 48px; }
.rsvp-submit { min-height: 46px; padding-inline: 22px; }
.contact-row { flex-wrap: wrap; gap: 12px 28px; }
.contact-card { display: grid; gap: 3px; }
.contact-card > span { color: #594632; font: 600 12px Inter, "Noto Sans Sinhala", sans-serif; }
.contact-row a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #5d472f; font-size: 13px; }
.mobile-rsvp-shortcut { display: none; }
.opening-invitation .invitation-cover { animation: invitation-open 520ms ease-in both; transform-origin: center; }
@keyframes invitation-open { 0% { opacity: 1; transform: scale(1) rotate(0); } 55% { opacity: .85; transform: scale(1.04) rotate(-1deg); } 100% { opacity: 0; transform: scale(.96) rotate(1deg); } }
@media (max-width: 600px) {
  .invite-page .rsvp-heading-row { flex-direction: column; align-items: stretch; }
  .invite-page .rsvp-deadline { text-align: left; }
  .mobile-rsvp-shortcut { position: fixed; z-index: 20; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; min-width: 76px; min-height: 48px; padding: 0 18px; border: 2px solid #fff9ef; border-radius: 999px; background: #684a34; color: #fffaf2; box-shadow: 0 5px 18px #38261855; font: 600 13px Inter, "Noto Sans Sinhala", sans-serif; text-decoration: none; }
  .mobile-rsvp-shortcut:focus-visible { outline: 3px solid #946c4b; outline-offset: 3px; }
  .calendar-day.wedding-day:before { width: 43px, top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .opening-invitation .invitation-cover { animation: none; }
  .opening-invitation .invitee-cover-card:after { animation: none; }
  .opening-invitation { transition: none; }
}

/* Preserve the invitation's original floral feel while keeping the ivory palette. */
.reference-main.invite-page {
  background-color: #fffefb;
  background-image:
    url("../img/invitation-floral.svg?v=20261011c"),
    url("../img/invitation-floral.svg?v=20261011c"),
    url("../img/watercolor.svg?v=20261011c"),
    radial-gradient(ellipse at 85% 5%, #cbbda63b, transparent 22%),
    radial-gradient(ellipse at 5% 33%, #cbbda628, transparent 30%),
    radial-gradient(ellipse at 95% 60%, #cbbda632, transparent 28%),
    radial-gradient(ellipse at 25% 90%, #cbbda628, transparent 27%);
  background-position: left top, right 1150px, center top, 0 0, 0 0, 0 0, 0 0;
  background-size: clamp(150px, 26vw, 250px) auto, clamp(130px, 22vw, 210px) auto, 100% 1300px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: no-repeat, no-repeat, repeat-y, no-repeat, no-repeat, no-repeat, no-repeat;
}
.reference-main.invite-page:before {
  display: none;
}
.invite-page .invitation-letter { padding-top: 22px; }
.invite-page .invitee-salutation {
  margin: 0 auto 9px;
  color: #755d44;
  font: 700 21px/1.35 "Cormorant Garamond", Georgia, serif;
}
.invite-page .invitation-request {
  color: #766b5e;
  font-size: 13px;
  letter-spacing: 1px;
}
.invite-page .event-section { grid-template-columns: 1fr; }
.invite-page .event-details { padding: 2px 0; }
.invite-page .confirm-attendance { display: table; margin: 16px auto 0; }
.invite-page .rsvp-section {
  background: transparent;
}
body.reference-invite { background-color: #fcfaf5; background-image: linear-gradient(180deg, #fcfaf5, #f8f4ec); }
@media (max-width: 600px) {
  .invitation-cover { padding: 52px 16px 20px; }
  .reference-main.invite-page { background-size: 30vw auto, 24vw auto, 100% 1000px, 100% 100%, 100% 100%, 100% 100%, 100% 100%; background-position: left top, right 900px, center top, 0 0, 0 0, 0 0, 0 0; }
  .reference-main.invite-page { padding: 0 16px 22px; }
  .invitation-letter { padding: 12px 4px 19px; }
  .parents { font-size: 18px; }
  .invitation-copy { font-size: 16px; }
  .event-section { grid-template-columns: 1fr; gap: 13px; padding: 14px 4px; }
  .venue-photo { max-height: 155px; }
  .calendar-card { margin-top: 15px; }
  .rsvp-section { padding: 15px 13px; }
  .rsvp-heading-row { align-items: start; flex-direction: column; }
  .rsvp-deadline { text-align: left; }
  .attendance-options { flex-direction: column; gap: 8px; }
  .guest-count-control { width: 100%; }
  .contact-row { flex-direction: column; gap: 5px; }
  .calendar-day.wedding-day:before { width: 46px; height: 43px; top: 32px; }
  .calendar-weekday { font-size: 9px; line-height: 1.2; }
  .invite-page .event-date { gap: 6px; font-size: clamp(10px, 3vw, 13px); }
}

.venue-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #d62828;
    text-decoration: none;
    font-size: 14px;
}

.map-link svg {
    width: 20px;
    height: 20px;
    fill: #d62828;
    stroke: #fff;
    stroke-width: 1.5;
}

.map-link:hover {
    color: #a4161a;
    text-decoration: underline;
}

.venue-name {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.location-icon {
    width: 45px;
    height: 45px;
    fill: #423511;
    stroke: #fff;
    stroke-width: 1.5;
}

.location-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.cover-language,
.language-switcher {
    display: none !important;
}


.invite-page .venue-name {
    }