/* =========================================================
   Melissa & Darren - Baby Shower invitation
   Soft daylight build
   ========================================================= */

:root {
  /* Palette - soft girly with pink lead */
  --bg-warm-1: #fdf2ec;
  --bg-warm-2: #f8dfd6;
  --bg-warm-3: #efc4ba;
  --paper: #fffaf6;
  --paper-2: #fbeee5;
  --paper-3: #fdf4ed;
  --ink: #4a2f33;
  --ink-soft: #715059;
  --ink-faint: #998088;

  /* Pink family (primary) */
  --pink: #f3b3c1;
  --pink-soft: #f9d2db;
  --pink-light: #fce3e9;
  --pink-deep: #d57a8e;
  --pink-deeper: #b35a72;
  --rose-gold: #c98aa0;

  /* Secondary accents */
  --gold: #b39158;
  --gold-soft: #d6bb86;
  --gold-deep: #8a6e3a;
  --sage: #b9c7a3;
  --sage-deep: #8a9a72;
  --sage-soft: #d6dec3;
  --blush: #f2c2bd;
  --blush-deep: #d99893;
  --lilac: #d8c4dc;

  /* Type */
  --f-script: 'Great Vibes', 'Snell Roundhand', 'Apple Chancery', cursive;
  --f-display: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --f-body: 'Cormorant Garamond', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;

  /* Spacing */
  --r-pill: 999px;
  --r-card: 22px;
  --r-card-lg: 28px;
  --shadow-card: 0 18px 40px rgba(74, 63, 51, 0.12);
  --shadow-paper: 0 30px 70px rgba(74, 63, 51, 0.16), 0 6px 16px rgba(74, 63, 51, 0.08);
  --shadow-pill: 0 6px 18px rgba(74, 63, 51, 0.14);
  --max: 1100px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }

html {
  background: var(--bg-warm-1);
}

body.page {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg-warm-1);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================================================
   Soft daylight backdrop with floating petals
   ========================================================= */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.backdrop__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 20%, rgba(255, 235, 240, 0.9), transparent 70%),
    radial-gradient(80% 60% at 50% 110%, rgba(243, 179, 193, 0.45), transparent 70%),
    linear-gradient(180deg, var(--bg-warm-1) 0%, var(--bg-warm-2) 100%);
}

.petal {
  position: absolute;
  width: 28px;
  height: 28px;
  background-image: url('../assets/images/petal.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.8;
  animation: float 18s ease-in-out infinite;
}

.petal--1 { top: 8%; left: 8%; transform: rotate(15deg); }
.petal--2 { top: 18%; right: 10%; transform: rotate(-25deg); animation-delay: -3s; }
.petal--3 { top: 32%; left: 4%; transform: rotate(45deg); width: 22px; height: 22px; animation-delay: -7s; }
.petal--4 { top: 44%; right: 16%; transform: rotate(-10deg); width: 32px; height: 32px; animation-delay: -10s; }
.petal--5 { top: 56%; left: 12%; transform: rotate(20deg); width: 20px; height: 20px; animation-delay: -14s; }
.petal--6 { top: 68%; right: 8%; transform: rotate(-30deg); width: 26px; height: 26px; animation-delay: -5s; }
.petal--7 { top: 82%; left: 6%; transform: rotate(40deg); width: 24px; height: 24px; animation-delay: -12s; }
.petal--8 { top: 92%; right: 18%; transform: rotate(-15deg); width: 18px; height: 18px; animation-delay: -16s; }

.leaf {
  position: absolute;
  background-image: url('../assets/images/leaves.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.7;
}

.leaf--tl { top: -20px; left: -30px; width: 280px; height: 280px; transform: rotate(-15deg); }
.leaf--br { bottom: -40px; right: -40px; width: 320px; height: 320px; transform: rotate(170deg); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .petal { animation: none; }
}

/* =========================================================
   Surprise banner (sticky top)
   ========================================================= */

.surprise-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(90deg, var(--pink-deep) 0%, var(--pink-deeper) 100%);
  color: var(--paper);
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(140, 60, 80, 0.18);
}

.surprise-banner__label {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  font-weight: 600;
  letter-spacing: 0.28em;
}

.surprise-banner__text {
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: none;
  font-size: 13px;
  line-height: 1.3;
}

/* Inline surprise callout inside the letter */
.surprise-callout {
  margin: 0 0 28px;
  padding: 16px 18px;
  background: linear-gradient(180deg, var(--pink-light) 0%, #ffffff 100%);
  border: 1px dashed var(--pink-deep);
  border-radius: 16px;
  text-align: center;
}

.surprise-callout__label {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pink-deeper);
  margin: 0 0 6px;
}

.surprise-callout__text {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .surprise-banner { flex-direction: column; gap: 6px; padding: 10px 12px; }
  .surprise-banner__text { font-size: 12px; letter-spacing: 0.12em; }
}

/* =========================================================
   Quick floating actions
   ========================================================= */

.quick-actions {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 247, 250, 0.9);
  color: var(--pink-deeper);
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(213, 122, 142, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-pill);
  transition: transform 0.2s ease, background 0.2s ease;
}

.quick-actions__btn:hover { transform: translateY(-2px); background: var(--pink-light); }

/* =========================================================
   Eyebrow / labels
   ========================================================= */

.eyebrow {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin: 0 0 14px;
}

.eyebrow--small { font-size: 11px; letter-spacing: 0.28em; }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 70px 22px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
}

.hero__title {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(60px, 11vw, 132px);
  line-height: 1;
  margin: 0 0 18px;
  color: var(--pink-deeper);
  text-shadow: 0 2px 12px rgba(255, 247, 250, 0.7);
}

.hero__date { margin-top: 28px; }

/* Pills */
.pill {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(213, 122, 142, 0.35);
  background: rgba(255, 247, 250, 0.7);
  color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-pill);
  text-decoration: none;
  text-align: center;
}

button.pill { cursor: pointer; }
.pill--ghost { max-width: 460px; line-height: 1.55; }

/* =========================================================
   Envelope - cream and sage version
   ========================================================= */

.envelope {
  margin: 38px auto 6px;
  width: min(420px, 86vw);
  aspect-ratio: 1.6 / 1;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease;
  filter: drop-shadow(0 24px 36px rgba(74, 63, 51, 0.18));
}

.envelope:hover { transform: translateY(-4px) scale(1.02); }
.envelope:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 8px; border-radius: 14px; }

.envelope__body {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--pink-light) 100%);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(213, 122, 142, 0.22);
}

.envelope__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(213, 122, 142, 0.05) 0 2px, transparent 2px 7px);
  opacity: 0.7;
}

.envelope__body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(180, 90, 110, 0.08) 100%),
    linear-gradient(135deg, var(--pink-light) 0%, var(--paper) 50%, var(--pink-light) 100%);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  z-index: 1;
}

.envelope__flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(180deg, var(--paper) 0%, var(--pink-light) 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  box-shadow: inset 0 -2px 4px rgba(180, 90, 110, 0.1);
  z-index: 2;
  transform-origin: top center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.envelope.is-open .envelope__flap { transform: rotateX(180deg); }

.envelope__paper {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 14%;
  bottom: 14%;
  background: linear-gradient(180deg, #ffffff 0%, var(--paper-3) 100%);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(74, 63, 51, 0.12);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14%;
  z-index: 1;
}

.envelope__paper span {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.envelope__seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--pink-soft) 0%, var(--pink-deep) 55%, var(--pink-deeper) 100%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 14px rgba(140, 50, 80, 0.35),
    inset -2px -3px 8px rgba(110, 30, 60, 0.45),
    inset 2px 3px 6px rgba(255, 255, 255, 0.3);
}

.envelope__seal::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.45);
}

.envelope__seal span {
  font-family: var(--f-display);
  font-size: clamp(10px, 1.6vw, 14px);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--paper);
  z-index: 1;
}

/* =========================================================
   Invitation
   ========================================================= */

.invitation { display: block; padding: 60px 22px 80px; }
.invitation[hidden] { display: none; }

/* Letter */
.letter {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  border-radius: var(--r-card-lg);
  padding: 56px 28px 80px;
  box-shadow: var(--shadow-paper);
  text-align: center;
  color: var(--ink);
  overflow: hidden;
}

.letter::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(213, 122, 142, 0.28);
  border-radius: calc(var(--r-card-lg) - 8px);
  pointer-events: none;
}

.letter__eyebrow { margin-bottom: 30px; }

.letter__lead {
  color: var(--ink-soft);
  margin: 8px 0 24px;
  font-style: italic;
  font-size: 19px;
}

.letter__title {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 1;
  margin: 8px 0 28px;
  color: var(--pink-deeper);
}

.letter__intro {
  margin: 0 0 36px;
  font-size: 19px;
}

.letter__quote {
  margin: 28px 0 0;
  padding: 0 14px;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  border: 0;
}

.divider {
  display: inline-block;
  margin: 28px auto 0;
  color: var(--pink);
}

.letter__florals {
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  pointer-events: none;
  height: 80px;
}

.floral {
  position: absolute;
  width: 110px;
  height: 110px;
  background-repeat: no-repeat;
  background-size: contain;
}

.floral--left {
  left: 12px;
  bottom: -20px;
  background-image: url('../assets/images/floral-sage.svg');
}

.floral--right {
  right: 12px;
  bottom: -20px;
  background-image: url('../assets/images/floral-blush.svg');
}

/* Info grid */
.info-grid {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.info-card {
  background: var(--paper-3);
  border-radius: 18px;
  padding: 22px 18px 24px;
  box-shadow: 0 1px 0 rgba(213, 122, 142, 0.1) inset, 0 8px 18px rgba(74, 47, 51, 0.05);
  text-align: center;
  border: 1px solid rgba(213, 122, 142, 0.2);
}

.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(243, 179, 193, 0.28);
  color: var(--pink-deeper);
  margin-bottom: 12px;
}

.info-card__value {
  margin: 6px 0 0;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.4;
}

.info-card__link {
  text-decoration: underline;
  text-decoration-color: rgba(74, 63, 51, 0.5);
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Location + QR card */
.location {
  margin: 18px 0 24px;
  background: var(--paper-3);
  border-radius: 22px;
  padding: 26px 22px 26px;
  border: 1px solid rgba(213, 122, 142, 0.28);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

.location__title {
  font-size: 21px;
  margin: 4px 0 8px;
  color: var(--ink);
  font-weight: 500;
}

.location__note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.location__qr { display: flex; justify-content: center; }

.qr-box {
  width: 168px;
  height: 168px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px dashed rgba(213, 122, 142, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(74, 47, 51, 0.08);
}

.qr-box svg, .qr-box canvas, .qr-box img {
  width: 100%;
  height: 100%;
}

.qr-box__placeholder {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  line-height: 1.6;
}

.qr-box__placeholder small { font-size: 9px; opacity: 0.7; }

@media (min-width: 640px) {
  .location { grid-template-columns: 1fr auto; gap: 24px; }
  .location__text { text-align: left; }
}

/* RSVP block */
.rsvp {
  margin: 12px 0 0;
  background: linear-gradient(180deg, var(--pink-light) 0%, var(--paper-3) 100%);
  border-radius: 22px;
  padding: 30px 22px 32px;
  border: 1px solid rgba(213, 122, 142, 0.28);
  box-shadow: 0 8px 22px rgba(140, 60, 80, 0.06);
}

.rsvp__line {
  margin: 0 0 18px;
  font-size: 18px;
}

.rsvp__note {
  color: var(--ink-soft);
  margin: 4px 0 18px;
  font-size: 16px;
}

/* Contact buttons (call to RSVP) */
.contacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 14px 0 18px;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid rgba(213, 122, 142, 0.32);
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(140, 60, 80, 0.04);
}

.contact:hover {
  transform: translateY(-2px);
  border-color: var(--pink-deep);
  box-shadow: 0 8px 18px rgba(213, 122, 142, 0.18);
}

.contact__role {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pink-deep);
}

.contact__num {
  font-family: var(--f-body);
  font-size: 22px;
  font-weight: 500;
  color: var(--pink-deeper);
}

@media (min-width: 480px) {
  .contacts { grid-template-columns: 1fr 1fr; }
}

/* Tag chips */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 14px 0 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--pink-light);
  border: 1px solid rgba(213, 122, 142, 0.3);
  border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-deeper);
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink-deep);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--pink-deep);
  color: var(--paper);
  box-shadow: 0 8px 20px rgba(213, 122, 142, 0.4);
}

.btn--primary:hover { transform: translateY(-2px); background: var(--pink-deeper); }

.btn--ghost {
  background: transparent;
  color: var(--pink-deeper);
  border-color: rgba(213, 122, 142, 0.5);
}

.btn--ghost:hover { background: var(--pink-light); }

/* =========================================================
   The Afternoon
   ========================================================= */

.evening {
  max-width: var(--max);
  margin: 70px auto 0;
  background: rgba(255, 247, 250, 0.7);
  border: 1px solid rgba(213, 122, 142, 0.22);
  border-radius: var(--r-card-lg);
  padding: 36px 24px;
  color: var(--ink);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.evening__title {
  font-family: var(--f-body);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 22px;
  color: var(--ink);
}

.evening__details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 26px;
}

.evening__col {
  background: #ffffff;
  border: 1px solid rgba(213, 122, 142, 0.22);
  border-radius: 18px;
  padding: 22px 20px;
}

.evening__lead {
  font-family: var(--f-body);
  font-size: 22px;
  margin: 4px 0 8px;
  color: var(--ink);
}

.evening__copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

/* =========================================================
   Card row
   ========================================================= */

.cards {
  max-width: var(--max);
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, var(--paper-3) 100%);
  border-radius: var(--r-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.card .tag-row { justify-content: flex-start; margin: 10px 0 14px; }

.card__title {
  font-family: var(--f-body);
  font-size: 26px;
  font-weight: 500;
  margin: 6px 0 6px;
  color: var(--ink);
}

.card__copy {
  margin: 8px 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.card__highlight {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--pink-light);
  border: 1px dashed rgba(213, 122, 142, 0.5);
  border-radius: 14px;
  color: var(--pink-deeper);
  font-weight: 500;
  font-size: 15px;
}

/* =========================================================
   CTA
   ========================================================= */

.cta {
  max-width: var(--max);
  margin: 60px auto 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--pink-light) 100%);
  border-radius: var(--r-card-lg);
  padding: 44px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(213, 122, 142, 0.28);
}

.cta__title {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  margin: 8px 0 20px;
  color: var(--pink-deeper);
}

.cta__copy {
  max-width: 540px;
  margin: 0 auto 26px;
  color: var(--ink-soft);
  font-size: 17px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  text-align: center;
  padding: 40px 22px 80px;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-family: var(--f-display);
  text-transform: uppercase;
  color: var(--pink-deep);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .evening__details { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .invitation { padding: 80px 32px 100px; }
  .letter { padding: 64px 56px 90px; }
  .evening { padding: 48px 40px; }
  .evening__intro { max-width: 720px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .cta { padding: 64px 40px; }
  .quick-actions { right: 24px; bottom: 24px; flex-direction: row; }
}

@media (min-width: 1200px) {
  .invitation { padding: 100px 40px 120px; }
  .letter { padding: 72px 72px 100px; }
}

/* Print */
@media print {
  .backdrop, .quick-actions { display: none !important; }
  body.page { background: #fff; color: #000; }
  .invitation[hidden] { display: block !important; }
  .envelope { display: none; }
}
