:root {
  --cream: #dbd1c5;
  --paper: #f5eee6;
  --burgundy: #673338;
  --burgundy-dark: #3f1f24;
  --forest: #13291e;
  --sage: #829174;
  --gold: #d4c472;
  --ink: #292725;
  --muted: #6a625b;
  --shadow: 0 18px 60px rgba(36, 28, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.cover {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 18px;
  overflow-y: auto;
  background: #673338;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.cover.is-open {
  opacity: 0;
  visibility: hidden;
}

.cover__panel {
  width: min(100%, 712px);
  min-height: calc(100vh - 36px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 0 0 28px;
  color: #fff;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.88);
  border-radius: 32px;
  background: #673338;
}

.cover__photo {
  width: min(82vw, 360px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.cover-art {
  position: relative;
  width: 100%;
  min-height: min(70vh, 1010px);
  padding: 28px 70px 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  background: #673338;
}

.cover-art__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.84);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.cover-art__intro {
  margin-top: 104px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-size: clamp(1.05rem, 4vw, 1.34rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.9;
  text-shadow: 0 1px 2px rgba(38, 14, 18, 0.24);
}

.cover-art__intro p {
  margin: 0;
}

.cover-art__names {
  width: min(76%, 430px);
  margin: 22px 12px 0 auto;
  opacity: 0.9;
}

.cover-art__date {
  display: grid;
  gap: 12px;
  width: max-content;
  margin: 8px 0 0 auto;
  color: rgba(255, 255, 255, 0.78);
}

.cover-art__date strong {
  font-size: clamp(1rem, 3.8vw, 1.3rem);
  font-style: italic;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cover-art__date span {
  font-size: clamp(0.78rem, 2.8vw, 0.96rem);
  letter-spacing: 0.12em;
}

.cover-art__basket {
  width: min(64%, 405px);
  margin: 0 0 0 -24px;
}

.eyebrow {
  margin: 0;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
.hero h2,
.closing h2 {
  margin: 0;
  font-size: clamp(3rem, 12vw, 6.8rem);
  font-weight: 400;
  line-height: 0.95;
}

.recipient {
  display: grid;
  gap: 6px;
  text-align: center;
  font-family: pinkerton_script_regular, "Brush Script MT", "Segoe Script", cursive;
  letter-spacing: 0.18em;
}

.recipient span {
  opacity: 0.78;
  font-size: clamp(1.35rem, 4vw, 1.6rem);
}

.recipient strong {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  font-weight: 400;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

#openInvitation {
  min-height: 58px;
  gap: 8px;
  padding: 0 24px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.02);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.18rem, 3.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: none;
}

.open-book {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.open-book svg {
  width: 26px;
  height: 20px;
  fill: currentColor;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.primary-action.dark {
  color: var(--forest);
  background: var(--paper);
}

.secondary-action {
  color: var(--burgundy);
  background: var(--paper);
}

.secondary-action.light {
  color: #fff;
  background: transparent;
}

.icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1;
}

.site-shell {
  padding-bottom: 74px;
}

.section {
  min-height: 100vh;
  padding: clamp(58px, 9vw, 104px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  color: #fff;
  background: var(--burgundy);
}

.hero__media img {
  width: 100%;
  max-height: 82vh;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero__content {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.date-line {
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.7rem);
}

.countdown {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.countdown div {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--burgundy);
  background: rgba(245, 238, 230, 0.94);
}

.countdown strong {
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  line-height: 1;
}

.countdown span {
  color: var(--muted);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.72rem;
}

.intro {
  display: grid;
  gap: 36px;
  align-content: center;
  background: var(--cream);
}

.intro > h2,
.section-heading h2,
.gift h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.couple-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.couple-grid article {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.42);
}

.couple-grid img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.couple-grid h3 {
  margin: 0;
  color: var(--burgundy);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 400;
}

.couple-grid p,
.event-panel p,
.closing p,
.bank-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.event,
.gift {
  color: #fff;
  background: var(--forest);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1.15fr);
  gap: 18px;
  align-items: stretch;
}

.event-panel {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(212, 196, 114, 0.85);
}

.event-panel span {
  color: var(--gold);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-panel strong {
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-weight: 400;
}

.event-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.event-layout iframe {
  width: 100%;
  min-height: 520px;
  border: 3px solid var(--gold);
}

.gallery {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-grid button {
  height: clamp(220px, 35vw, 420px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-grid button:hover img {
  transform: scale(1.04);
}

.wishes {
  background: var(--burgundy);
  color: #fff;
}

.wish-form {
  max-width: 820px;
  display: grid;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.wish-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wish-form input,
.wish-form select,
.wish-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 13px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.wish-form option {
  color: var(--ink);
}

.wish-list {
  max-width: 820px;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.wish-item {
  padding: 16px;
  color: var(--ink);
  background: var(--paper);
}

.wish-item strong {
  display: block;
  color: var(--burgundy);
}

.wish-item span {
  color: var(--sage);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
}

.wish-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.72rem;
}

.wish-item p {
  margin: 8px 0 0;
  line-height: 1.6;
}

.wish-pagination {
  justify-self: center;
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: #fff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.wish-pagination button {
  min-height: 38px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.wish-pagination button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.wish-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.gift__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.75fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.gift img {
  width: 100%;
}

.bank-box {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--gold);
}

.bank-box span {
  color: var(--gold);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.bank-box strong {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.bank-box p {
  color: rgba(255, 255, 255, 0.82);
}

.closing {
  display: grid;
  gap: 24px;
  justify-items: center;
  padding: 70px 18px 120px;
  text-align: center;
  background: var(--cream);
}

.closing img {
  width: min(100%, 680px);
}

.closing p {
  max-width: 720px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 10;
  width: min(calc(100% - 22px), 610px);
  min-height: 54px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid rgba(63, 31, 36, 0.14);
  border-radius: 999px;
  background: rgba(245, 238, 230, 0.92);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.bottom-nav a {
  display: grid;
  place-items: center;
  color: var(--burgundy);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.bottom-nav a:hover {
  background: rgba(103, 51, 56, 0.1);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(19, 10, 8, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 88vh;
  object-fit: contain;
}

.lightbox button {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.music-float {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 12;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  color: #fff;
  background: #673338;
  box-shadow: 0 10px 28px rgba(44, 26, 26, 0.22);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.music-float:hover {
  transform: translateY(-2px);
  background: #7b4147;
}

.music-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.music-float__pause {
  display: none;
}

.music-float.is-playing .music-float__play {
  display: none;
}

.music-float.is-playing .music-float__pause {
  display: block;
}

.music-float.is-unavailable {
  opacity: 0.55;
}

@media (max-width: 860px) {
  .hero,
  .event-layout,
  .gift__inner {
    grid-template-columns: 1fr;
  }

  .hero__media img {
    max-height: 58vh;
  }

  .couple-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .event-layout iframe {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  .cover {
    padding: 12px;
  }

  .cover__panel {
    width: 100%;
    min-height: calc(100vh - 24px);
    border-radius: 28px;
  }

  .cover-art {
    min-height: 64vh;
    padding: 18px 28px 0;
  }

  .cover-art__intro {
    margin-top: 54px;
  }

  #openInvitation {
    min-height: 54px;
    padding: 0 20px;
    border-width: 3px;
  }

  .section {
    padding-inline: 14px;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-nav {
    border-radius: 24px;
  }
}

/* Narrow invitation layout after the cover opens. */
.invitation-page {
  width: min(100%, 476px);
  margin: 0 auto;
  padding-bottom: 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(103, 51, 56, 0.08), 0 24px 80px rgba(49, 36, 30, 0.16);
}

.invite-card {
  min-height: auto;
  padding: 42px 36px;
}

.invite-card h2 {
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
}

.invitation-page .hero,
.invitation-page .note {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
  padding: 8px;
  color: #fff;
  text-align: center;
  background: var(--cream);
}

.first-cover-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.section-cover-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.portrait-frame {
  width: 212px;
  padding: 24px 26px 42px;
  background: #f2eee8;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.script-line {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: pinkerton_script_regular, "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
}

.invitation-page .hero h2,
.date-panel h2 {
  font-family: pinkerton_script_regular, "Brush Script MT", "Segoe Script", cursive;
  font-size: 3.8rem;
  font-weight: 400;
}

.date-panel h2 {
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
}

.note {
  color: var(--burgundy-dark);
  background: var(--paper);
}

.note p {
  max-width: 310px;
  margin: 0;
  font-size: 0.96rem;
  font-style: italic;
  line-height: 1.8;
}

.note__names {
  display: flex;
  justify-content: space-between;
  color: var(--forest);
  font-size: 0.78rem;
}

.polaroid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.polaroid-row img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 9px 22px rgba(68, 48, 37, 0.12);
}

.date-panel {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
  color: #fff;
  background: var(--burgundy);
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
}

.date-panel .eyebrow,
.date-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.bismillah-mark {
  width: min(72%, 285px);
  height: auto;
  opacity: 0.9;
}

.date-strip,
.time-strip {
  width: 100%;
  display: grid;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  text-transform: uppercase;
}

.date-strip {
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding: 12px 0;
}

.date-strip strong {
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.date-strip span,
.time-strip span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.time-strip {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.invitation-page .event {
  display: grid;
  gap: 16px;
  padding: 44px 28px;
  color: #fff;
  background: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
}

.invitation-page .event .eyebrow {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.invitation-page .section-heading {
  justify-items: center;
  gap: 8px;
  margin: 0;
  text-align: center;
}

.invitation-page .section-heading h2 {
  font-size: 2.2rem;
}

.invitation-page .event-panel {
  padding: 18px;
  text-align: center;
  border-color: rgba(255, 255, 255, 0.22);
}

.invitation-page .event-panel strong {
  font-size: 1.3rem;
}

.invitation-page .event iframe {
  width: 100%;
  min-height: 238px;
  border: 0;
  border-radius: 28px 28px 0 0;
}

.story {
  display: grid;
  gap: 22px;
  background: var(--paper);
}

.story h2 {
  color: var(--burgundy);
  font-family: pinkerton_script_regular, "Brush Script MT", "Segoe Script", cursive;
  font-size: 3rem;
  text-align: center;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.story-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
}

.story-grid img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 6px solid #fff;
}

.story-grid h3 {
  margin: 0;
  color: var(--forest);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.invitation-page .gallery {
  display: grid;
  gap: 18px;
  color: #fff;
  background: var(--burgundy);
}

.invitation-page .gallery-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.invitation-page .gallery-grid button {
  height: auto;
  border: 8px solid #f6eee7;
}

.invitation-page .gallery-grid img {
  aspect-ratio: 3 / 4;
}

.invitation-page .wishes {
  display: grid;
  gap: 18px;
  background: var(--burgundy);
}

.invitation-page .wish-form,
.invitation-page .wish-list {
  max-width: none;
}

.invitation-page .wish-form {
  padding: 16px;
  background: rgba(68, 30, 35, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.invitation-page .wish-form input,
.invitation-page .wish-form select,
.invitation-page .wish-form textarea {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  background: #f3ece8;
}

.invitation-page .wish-item {
  border: 1px dashed rgba(103, 51, 56, 0.35);
  border-radius: 10px;
}

.invitation-page .gift {
  color: #fff;
  background: var(--forest);
}

.invitation-page .gift__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.invitation-page .gift h2 {
  text-align: center;
  font-size: 2.4rem;
}

.invitation-page .gift h3 {
  margin: 18px 0 0;
  padding-bottom: 14px;
  border-bottom: 3px double rgba(255, 255, 255, 0.65);
  font-size: 2rem;
  font-weight: 400;
}

.invitation-page .gift p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.invitation-page .bank-box {
  justify-items: center;
  margin-top: 24px;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.invitation-page .bank-box strong {
  width: min(100%, 238px);
  padding: 12px 22px;
  border-radius: 999px;
  color: var(--burgundy-dark);
  background: #fff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1rem;
  text-align: center;
}

.invitation-page .closing {
  display: grid;
  gap: 74px;
  justify-items: stretch;
  min-height: 760px;
  padding: 108px 42px 130px;
  color: var(--forest);
  text-align: left;
  background: var(--cream);
}

.invitation-page .closing h2 {
  color: var(--burgundy);
  font-family: pinkerton_script_regular, "Brush Script MT", "Segoe Script", cursive;
  font-size: 5.8rem;
  font-weight: 400;
  line-height: 0.85;
}

.invitation-page .closing p {
  width: 260px;
  justify-self: end;
  color: var(--forest);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.invitation-page .closing strong {
  justify-self: center;
  color: var(--burgundy);
  font-size: 1.3rem;
  font-style: italic;
  letter-spacing: 0.08em;
}

.bottom-nav {
  width: min(calc(100% - 22px), 420px);
}

@media (max-width: 520px) {
  .invitation-page {
    width: 100%;
  }

  .invite-card {
    padding-inline: 24px;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .invitation-page .closing p {
    width: min(100%, 260px);
  }
}
