/* John & Merna: palette and type taken from the original Joy site */
:root {
  --bg: #fcfbf7;
  --paper: #ffffff;
  --ink: #82716d;
  --ink-strong: #5f504c;
  --muted: #a3958f;
  --accent: #a08169;
  --line: #e9e3dc;
  --title-on-photo: #ddd3cb;
  --yes: #7d8b6f;
  --no: #b07a6e;
  --shadow: 0 1px 2px rgba(95, 80, 76, .06), 0 8px 30px rgba(95, 80, 76, .07);

  --f-title: 'Libre Baskerville', Georgia, serif;
  --f-heading: 'EB Garamond', Georgia, serif;
  --f-body: 'Raleway', 'Tajawal', system-ui, sans-serif;
  --f-date: 'Open Sans', 'Tajawal', system-ui, sans-serif;
  --f-button: 'Montserrat', 'Tajawal', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
[lang="ar"], .ar { font-family: 'Tajawal', var(--f-body); }
.ar { direction: rtl; }
[hidden] { display: none !important; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; justify-content: center; padding: 14px 16px;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex; gap: 4px; align-items: center;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(252, 251, 247, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled .nav-pill { background: rgba(252, 251, 247, .92); box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(95, 80, 76, .08); }
.nav a {
  color: var(--accent); text-decoration: none; font-size: 14.5px; font-weight: 400;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--ink-strong); }
.nav a.active { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav { justify-content: flex-end; }
  .nav-pill { display: none; }
  .nav-toggle {
    pointer-events: auto; display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(252, 251, 247, .85); backdrop-filter: blur(10px); color: var(--ink-strong);
  }
  .nav.open .nav-pill {
    display: flex; flex-direction: column; position: fixed; inset: 0; border-radius: 0;
    justify-content: center; gap: 10px; background: rgba(252, 251, 247, .98);
  }
  .nav.open .nav-pill a { font-size: 22px; font-family: var(--f-heading); }
  .nav.open .nav-toggle { position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #3c3532; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 37%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.22) 100%); }
.hero h1 {
  position: absolute; z-index: 1; left: 9%; top: 50%; transform: translateY(-50%); margin: 0;
  font: 400 clamp(54px, 9.5vw, 128px)/1.05 var(--f-title); color: var(--title-on-photo);
  text-shadow: 0 2px 30px rgba(0,0,0,.18); letter-spacing: -.01em;
}
.hero .scroll-cue {
  position: absolute; z-index: 1; left: 50%; bottom: 26px; transform: translateX(-50%);
  color: var(--title-on-photo); opacity: .85; animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
@media (max-width: 640px) {
  .hero img { object-position: 46% 50%; }
  .hero h1 { left: 0; right: 0; padding: 0 28px; text-align: center; top: auto; bottom: 16%; transform: none; font-size: clamp(48px, 14vw, 64px); }
}

/* ---------- Layout ---------- */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; margin: 0 auto; }
section { padding: 72px 0; }
.center { text-align: center; }
.section-photo { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; margin-bottom: 56px; }
.section-photo.tall { object-position: 50% 30%; }
h2 {
  font: 400 clamp(36px, 5vw, 48px)/1.15 var(--f-heading); color: var(--ink-strong);
  margin: 0 0 28px; text-align: center;
}
h3 { font: 300 26px/1.3 var(--f-body); margin: 0 0 8px; color: var(--ink-strong); }
p { margin: 0 0 14px; }
.lead { font-size: 18px; }
.eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.divider { width: 1px; height: 56px; background: var(--line); margin: 0 auto; }

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .section-photo { aspect-ratio: 4 / 3; margin-bottom: 40px; }
}
/* Q&A: edge-to-edge strip. Registry: the whole portrait photo, uncropped. */
.section-photo.bleed { aspect-ratio: 2.1 / 1; object-position: 50% 26%; }
.section-photo.whole { aspect-ratio: auto; height: auto; }
.section-photo.portrait { aspect-ratio: auto; width: min(100%, 780px); height: auto; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .section-photo.bleed { aspect-ratio: 5 / 4; object-position: 50% 24%; } }

/* ---------- Intro (date, place, countdown) ---------- */
.intro { padding-top: 88px; text-align: center; }
.intro .date { font: 400 clamp(26px, 3.6vw, 32px)/1.3 var(--f-date); color: var(--ink); margin-bottom: 8px; }
.intro .place { font: 400 clamp(20px, 3vw, 26px)/1.3 var(--f-date); margin-bottom: 40px; }
.countdown { display: flex; justify-content: center; gap: clamp(18px, 5vw, 44px); margin: 0 0 40px; }
.countdown div { min-width: 56px; }
.countdown b { display: block; font: 400 clamp(28px, 4vw, 38px)/1 var(--f-heading); color: var(--ink-strong); }
.countdown span { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 400 15px/1 var(--f-button); color: var(--ink); text-decoration: none;
  background: transparent; border: 1px solid var(--ink); border-radius: 999px;
  padding: 14px 30px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s;
  min-height: 46px;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover { background: var(--ink-strong); border-color: var(--ink-strong); }
.btn.small { padding: 10px 18px; font-size: 13px; min-height: 38px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link-btn {
  background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--accent);
  font: 400 13px/1.8 var(--f-body); letter-spacing: 1.3px; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line);
}
.link-btn:hover { color: var(--ink-strong); }

label.field { display: block; text-align: left; margin-bottom: 18px; }
label.field > span { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; color: var(--muted); }
label.field > span small { text-transform: none; letter-spacing: 0; font-size: 13px; }
input[type=text], input[type=tel], input[type=number], input[type=email], input[type=password], textarea, select {
  width: 100%; font: 300 17px/1.4 var(--f-body); color: var(--ink-strong);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(160, 129, 105, .12); }
textarea { resize: vertical; min-height: 84px; }
.form-error { color: var(--no); font-size: 15px; min-height: 1em; margin: 6px 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Schedule ---------- */
.schedule-day { font: 400 20px/1.3 var(--f-body); letter-spacing: 4px; text-transform: uppercase; margin: 0 0 30px; }
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.event { position: relative; padding-bottom: 44px; }
.event:last-child { padding-bottom: 0; }
.event::before {
  content: ''; position: absolute; left: -32px; top: 7px; width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--ink); background: var(--bg);
}
.event .time { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.event h3 { font-size: 28px; }
.event .meta { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; margin: 6px 0; }
.event .meta svg { flex: none; margin-top: 3px; }
.event .meta a { text-decoration: none; }
.event .meta a:hover { text-decoration: underline; }
.event .desc { margin-top: 12px; }
.event-actions { display: flex; gap: 22px; margin-top: 12px; flex-wrap: wrap; }

/* ---------- Travel ---------- */
.travel-card { padding: 34px 0; border-top: 1px solid var(--line); }
.travel-card:first-of-type { border-top: 0; padding-top: 0; }
.travel-list { max-width: 960px; margin: 0 auto; }
.travel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.travel-head h3 { font-size: 24px; margin: 0; }
.travel-icon { flex: none; color: var(--ink); }
@media (min-width: 861px) {
  .travel-card { display: grid; grid-template-columns: 2fr 3fr; gap: 56px; padding: 46px 0; }
  .travel-head { margin: 0; align-self: start; }
  .travel-icon { width: 36px; height: 36px; }
  .travel-head h3 { font-size: 30px; line-height: 1.2; padding-top: 1px; }
  .travel-body p { margin-bottom: 18px; }
}
.travel-links { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; font-size: 15.5px; }
.travel-links a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; }
.travel-links a:hover { text-decoration: underline; }
.map-img { width: 100%; border-radius: 12px; margin-top: 18px; border: 1px solid var(--line); }

/* ---------- Q&A ---------- */
.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 2px; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 20px; font-weight: 400; margin: 0; }
.qa summary::after {
  content: ''; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 1.4px solid var(--ink); border-bottom: 1.4px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .25s;
}
.qa[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.qa summary:hover h3 { color: var(--ink); }
.qa .qa-body { padding: 0 2px 22px; animation: rise .3s ease both; }
.qa .qa-body p:last-child { margin-bottom: 0; }

/* ---------- Wedding party ---------- */
.party-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 28px; }
.vip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; margin-bottom: 16px; background: var(--line); }
.vip h3 { font: 500 21px/1.3 var(--f-body); margin: 0; }
.vip .role { font-size: 14.5px; margin-bottom: 10px; }
.vip p { font-size: 15.5px; }

/* ---------- RSVP ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(24px, 5vw, 44px); box-shadow: var(--shadow);
}
.rsvp-card { max-width: 620px; margin: 0 auto; }
.view { animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.rsvp-head { text-align: center; margin-bottom: 26px; }
.rsvp-head h3 { font: 400 32px/1.25 var(--f-heading); }
.rsvp-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 22px; }
.notice { background: #f6f1ea; border-radius: 12px; padding: 12px 16px; font-size: 15px; margin-bottom: 18px; text-align: center; }

.member { padding: 22px 0; border-top: 1px solid var(--line); }
.member:first-of-type { border-top: 0; padding-top: 0; }
.member-name { font: 400 24px/1.3 var(--f-heading); color: var(--ink-strong); margin-bottom: 12px; }
.member.plus { margin-left: 20px; padding-left: 18px; border-left: 2px solid var(--line); border-top: 0; padding-top: 4px; }
.member.plus .member-name { font-size: 20px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice {
  font: 400 14px/1.25 var(--f-button); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 10px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px; transition: all .15s;
}
.choice small { font-family: 'Tajawal', sans-serif; font-size: 13px; opacity: .8; }
.choice:hover { border-color: var(--ink); }
.choice.on.yes { background: var(--yes); border-color: var(--yes); color: #fff; }
.choice.on.no { background: var(--no); border-color: var(--no); color: #fff; }
.plus-name { margin-top: 12px; }
.member.plus:not(.yes) .plus-name { display: none; }
.match-list { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 4px; }
.match {
  text-align: left; font: 400 17px var(--f-body); color: var(--ink-strong); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer;
}
.match:hover { border-color: var(--ink); }
.summary { text-align: left; background: var(--bg); border-radius: 12px; padding: 16px 20px; margin: 18px 0 6px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.summary .yes { color: var(--yes); } .summary .no { color: var(--no); }

/* ---------- Registry ---------- */
.reg-toolbar { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 36px; }
.chip {
  font: 400 13.5px var(--f-button); color: var(--ink); background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
}
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.reg-subtitle { font: 400 26px var(--f-heading); color: var(--ink-strong); text-align: center; margin: 10px 0 22px; }
.reg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.gift {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.gift:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.gift .img { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.gift .img img { width: 100%; height: 100%; object-fit: cover; }
.gift .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gift .title { font-size: 15.5px; font-weight: 400; color: var(--ink-strong); line-height: 1.35; flex: 1; }
.gift .price { font: 400 15px var(--f-date); }
.gift .tag { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.gift .btn { margin-top: 6px; }
.gift.clickable { cursor: pointer; }
.gift.clickable:hover .btn.solid { background: var(--ink-strong); border-color: var(--ink-strong); }
.gift.taken { opacity: .62; }
.gift.taken:hover { transform: none; box-shadow: none; }
.gift.featured { grid-column: 1 / -1; flex-direction: row; max-width: 760px; margin: 0 auto 10px; width: 100%; }
.gift.featured .img { width: 46%; aspect-ratio: auto; min-height: 280px; border-bottom: 0; border-right: 1px solid var(--line); display: grid; place-items: center; padding: 14px; }
.gift.featured .img img { height: auto; max-height: 320px; object-fit: contain; }
.gift.featured .body { padding: 28px; justify-content: center; }
.gift.featured .title { flex: 0; font-size: 21px; }
.reg-grid.funds { grid-template-columns: repeat(auto-fit, minmax(220px, 300px)); justify-content: center; }
.reg-separator { display: flex; align-items: center; gap: 16px; color: var(--accent); max-width: 520px; margin: 64px auto 30px; }
.reg-separator span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent); }
/* Two-row sideways gift strip */
.reg-carousel { position: relative; --gap: 24px; --cols: 3.4; --fade: 64px; }
.reg-track {
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--fade);
  scrollbar-width: none; padding: 4px 2px 10px; outline: none;
  --l: 1; --r: 1;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,var(--l)) 0, #000 var(--fade), #000 calc(100% - var(--fade)), rgba(0,0,0,var(--r)) 100%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,var(--l)) 0, #000 var(--fade), #000 calc(100% - var(--fade)), rgba(0,0,0,var(--r)) 100%);
}
.reg-track::-webkit-scrollbar { display: none; }
.reg-track > .gift { scroll-snap-align: start; }
.reg-track > .gift:hover { transform: none; }
.reg-carousel.can-left .reg-track { --l: .12; }
.reg-carousel.can-right .reg-track { --r: .12; }
.reg-arrow {
  position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--ink-strong);
  background: rgba(252, 251, 247, .96); border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .25s, background .2s, transform .2s;
}
.reg-arrow:hover { background: var(--ink); color: var(--bg); }
.reg-arrow.prev { left: -20px; }
.reg-arrow.next { right: -20px; }
.reg-carousel.can-left .reg-arrow.prev, .reg-carousel.can-right .reg-arrow.next { opacity: 1; pointer-events: auto; }
.reg-hint { text-align: center; margin: 14px 0 0; }
@media (max-width: 1100px) { .reg-arrow.prev { left: 4px; } .reg-arrow.next { right: 4px; } }
@media (max-width: 860px) { .reg-carousel { --cols: 2.5; } }
@media (max-width: 640px) {
  .reg-carousel { --gap: 12px; --cols: 1.75; --fade: 34px; }
  .reg-track { scroll-padding: 0; }
  .reg-arrow { width: 40px; height: 40px; margin-top: -20px; }
}
.progress { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 6px 0 2px; }
.progress i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
@media (max-width: 640px) {
  .reg-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gift .body { padding: 10px 12px 12px; }
  .gift .title { font-size: 14px; }
  .gift .btn.small { padding: 9px 10px; font-size: 12px; }
  .gift.featured { flex-direction: column; }
  .gift.featured .img { width: 100%; min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .gift.featured .body { padding: 18px; }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(60, 50, 47, .42); animation: fade .2s; }
.modal .card { width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; position: relative; }
.modal-close { position: absolute; right: 14px; top: 12px; background: none; border: 0; font-size: 26px; color: var(--muted); cursor: pointer; line-height: 1; padding: 6px; }
.modal h3 { font: 400 26px/1.25 var(--f-heading); padding-right: 30px; }
.modal-item { display: flex; gap: 14px; align-items: center; margin: 6px 0 20px; }
.modal-item img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; }
.address { white-space: pre-line; background: var(--bg); border-radius: 12px; padding: 12px 16px; font-size: 15px; }
@keyframes fade { from { opacity: 0; } }
.claim-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.claim-row img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.claim-row div { flex: 1; font-size: 15px; }

/* ---------- Footer ---------- */
footer { text-align: center; padding: 70px 16px calc(130px + env(safe-area-inset-bottom)); }
footer .mono { font: 400 34px var(--f-title); color: var(--ink-strong); margin-bottom: 6px; }

/* ---------- Floating RSVP ---------- */
.float-rsvp {
  position: fixed; z-index: 45; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 30px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  background: rgba(130, 113, 109, .94); color: var(--bg);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(95, 80, 76, .28), 0 2px 6px rgba(95, 80, 76, .18);
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .35s, background .2s;
}
.float-rsvp::before { content: ''; position: absolute; inset: 4px; border-radius: inherit; border: 1px solid rgba(252, 251, 247, .38); pointer-events: none; }
.float-rsvp.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.float-rsvp:hover { background: rgba(95, 80, 76, .97); }
.float-rsvp b { font: 500 13px/1 var(--f-button); letter-spacing: 3.5px; padding-left: 3.5px; }
.float-rsvp i { width: 5px; height: 5px; transform: rotate(45deg); border: 1px solid currentColor; opacity: .75; }
.float-rsvp span { font: 400 14.5px/1 var(--f-heading); font-style: italic; letter-spacing: .3px; opacity: .92; }
@media (max-width: 640px) { .float-rsvp { padding: 14px 24px; gap: 10px; } }

.demo-banner { position: fixed; left: 12px; bottom: 12px; z-index: 60; background: var(--ink-strong); color: #fff; font-size: 12.5px; padding: 8px 12px; border-radius: 10px; opacity: .9; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; background: var(--ink-strong); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; box-shadow: var(--shadow); animation: rise .3s; }

/* WhatsApp help */
.help { text-align: center; margin: 18px 0 4px; }
.help p { margin-bottom: 10px; }
.btn.whatsapp { border-color: #5f8a6a; color: #4f7a5a; }
.btn.whatsapp:hover { background: #4f7a5a; border-color: #4f7a5a; color: #fff; }

/* Personal invite greeting above the date */
.greeting { font: italic 400 clamp(24px, 3.4vw, 30px)/1.3 var(--f-heading); color: var(--accent); margin: 0 0 14px; }
