@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,300..600,100;1,9..144,300..500,100&display=swap");
/* =====================================================================
   EXTRA SECTIONS — verse, photo bands, gentle customs, moments, RSVP form,
   blessing cards, hosts & contact. Everything reads the theme variables, so
   each skin gets its own colours; the theme blocks further down change shape.
   ===================================================================== */

/* ---------- Qur'an verse ---------- */
.x-sec--verse .x-wrap { max-width: 780px; }
.x-verse {
  position: relative;
  text-align: center;
  padding: clamp(40px, 8vw, 70px) clamp(22px, 6vw, 58px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--card-r);
  box-shadow: var(--shadow);
}
.x-verse__star {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 18px;
  background: var(--gold);
  -webkit-mask: var(--glyph) center / contain no-repeat;
  mask: var(--glyph) center / contain no-repeat;
}
.x-verse__ar {
  margin: 0 0 18px;
  font-family: "Scheherazade New", "Amiri", serif;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  line-height: 2.1;
  color: var(--accent);
}
.x-verse__en {
  max-width: 30em;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.6vw, 1.4rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--ink-2);
}
.x-verse__ref {
  margin: 20px 0 0;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- full-width photo bands ---------- */
.x-band {
  position: relative;
  margin: 0;
  height: clamp(240px, 52vw, 460px);
  overflow: hidden;
  background: var(--c-bg, #222);
}
.x-band img { display: block; width: 100%; height: 100%; object-fit: cover; }
.x-band__veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px clamp(24px, 5vw, 46px);
  text-align: center;
  color: #fff;
  background: linear-gradient(to top, rgba(12, 5, 7, .74), rgba(12, 5, 7, .12) 62%, transparent);
}
.x-band__q {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.6vw, 2rem);
  font-style: italic;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.x-band__s {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-l, #e3c989);
}
.x-band__s:empty { display: none; }

/* ---------- section intro line ---------- */
.x-intro {
  max-width: 34em;
  margin: 0 auto clamp(26px, 5vw, 40px);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 3.4vw, 1.28rem);
  line-height: 1.7;
  color: var(--ink-2);
}
.x-intro:empty { display: none; }

/* ---------- gentle customs ---------- */
.x-etq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(12px, 2.4vw, 22px);
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: etq;
}
.x-etq__item {
  counter-increment: etq;
  position: relative;
  padding: 28px 22px 26px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--card-r);
  box-shadow: var(--shadow);
}
.x-etq__ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--accent);
}
.x-etq__ic svg { width: 26px; height: 26px; }
.x-etq__item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
}
.x-sec--etq .x-head { margin-bottom: 4px; }
.x-sec--etq #etiquetteIntro { margin-top: 20px; }
.x-sec--etq .x-etq { margin-top: 30px; }
.x-etq__item p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- RSVP form ---------- */
.x-sec--rsvp .x-rsvp { margin-top: 0; }
.x-rsvpf {
  display: grid;
  gap: 18px;
  max-width: 640px;
  margin: clamp(24px, 5vw, 38px) auto 0;
  padding: clamp(24px, 5vw, 40px);
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--card-r);
  box-shadow: var(--shadow);
}
.x-field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.x-field label,
.x-field legend {
  padding: 0;
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.x-field input[type="text"],
.x-field input[type="tel"],
.x-field input[type="email"],
.x-field select,
.x-field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border: 1px solid var(--line);
  border-radius: min(var(--card-r), 12px);
  transition: border-color .25s, box-shadow .25s;
}
.x-field textarea { resize: vertical; min-height: 92px; }
.x-field input::placeholder,
.x-field textarea::placeholder { color: color-mix(in srgb, var(--ink) 45%, transparent); }
.x-field input:focus,
.x-field select:focus,
.x-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent);
}
.x-field select option { color: #1b1013; background: #fff; }
.x-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .x-two { grid-template-columns: 1fr; } }
.x-choice { grid-template-columns: 1fr 1fr; gap: 10px; }
.x-choice legend { grid-column: 1 / -1; margin-bottom: 2px; }
.x-chip { position: relative; display: block; cursor: pointer; letter-spacing: 0; text-transform: none; }
.x-chip input { position: absolute; opacity: 0; inset: 0; }
.x-chip span {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 8px 10px;
  text-align: center;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: min(var(--card-r), 14px);
  transition: background .25s, color .25s, border-color .25s;
}
.x-chip input:checked + span {
  background: var(--btn-bg, var(--accent));
  border-color: var(--btn-bg, var(--accent));
  color: var(--btn-on, #fff);
}
.x-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.x-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.x-rsvpf__error { min-height: 1.2em; margin: 0; font-size: .92rem; color: #ff8d8d; }
.x-rsvpf__error.is-note { color: var(--ink-2, #8a6f63); }
.x-rsvpf__wa {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 0 24px;
  border: 2px solid var(--burgundy);
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--ivory);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-decoration: none;
  transition: filter .25s ease;
}
.x-rsvpf__wa:hover,
.x-rsvpf__wa:focus-visible { filter: brightness(1.07); }
.x-rsvpf.is-done .x-rsvpf__success {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 6.4vw, 2.6rem);
  line-height: 1.25;
  color: color-mix(in srgb, var(--mauve) 58%, var(--plum));
}
.x-rsvpf__submit { justify-self: center; min-width: 220px; }
.x-rsvpf .x-btn.x-rsvpf__submit {
  background: var(--burgundy);
  color: var(--ivory);
  border-color: var(--burgundy);
}
.x-rsvpf .x-btn.x-rsvpf__submit:hover,
.x-rsvpf .x-btn.x-rsvpf__submit:focus-visible {
  background: var(--burgundy);
  color: var(--ivory);
  filter: brightness(1.07);
}
.x-rsvpf.is-done { justify-items: center; text-align: center; padding-block: clamp(36px, 7vw, 56px); }
.x-rsvpf.is-done h3 { margin: 0; font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); }
.x-rsvpf.is-done p { margin: 0; max-width: 28em; font-family: var(--font-display); font-size: 1.12rem; color: var(--ink-2); }
.x-rsvpf__tick {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--accent);
}
.x-rsvpf__tick svg { width: 30px; height: 30px; stroke-width: 2.4; }

/* ---------- blessing cards ---------- */
.x-giftcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(12px, 2.4vw, 22px);
  max-width: 900px;
  margin: clamp(26px, 5vw, 40px) auto 0;
}
.x-gift {
  padding: 28px 18px 24px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--card-r);
  box-shadow: var(--shadow);
}
.x-gift__ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--accent);
}
.x-gift__ic svg { width: 26px; height: 26px; }
.x-gift h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
}
.x-gift p { margin: 0; font-family: var(--font-display); font-size: 1.04rem; line-height: 1.6; color: var(--ink-2); }

/* ---------- hosts & contact ---------- */
.x-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 3vw, 26px);
  max-width: 820px;
  margin: 0 auto;
}
.x-contact {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  padding: clamp(28px, 5vw, 40px) 24px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--card-r);
  box-shadow: var(--shadow);
}
.x-contact__label {
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}
.x-contact__person {
  margin: 0;
  font-family: var(--x-num-font, var(--font-display));
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--ink);
}
.x-contact__sub { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.55; color: var(--ink-2); }
.x-contact__tel { margin: 0; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .04em; color: var(--ink); }
.x-contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.x-contact .x-contact__actions .x-btn {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
  border-width: 2px;
}
.x-contact .x-contact__actions .x-btn:last-child {
  background: var(--burgundy);
  color: var(--ivory);
}
.x-contact .x-contact__actions .x-btn:hover,
.x-contact .x-contact__actions .x-btn:focus-visible {
  background: color-mix(in srgb, var(--burgundy) 12%, transparent);
  color: var(--burgundy);
}
.x-contact .x-contact__actions .x-btn:last-child:hover,
.x-contact .x-contact__actions .x-btn:last-child:focus-visible {
  background: var(--burgundy);
  color: var(--ivory);
  filter: brightness(1.07);
}

/* ---- Mehr: soft bubbles, pills, pastel ---- */
.x-verse {
  border-radius: 46px;
  background: linear-gradient(165deg, #fff 0%, color-mix(in srgb, var(--lavender) 30%, #fff) 100%);
  box-shadow: var(--shadow), 0 0 0 9px color-mix(in srgb, #fff 55%, transparent);
}
.x-verse { --ink: var(--plum); --ink-2: color-mix(in srgb, var(--plum) 72%, var(--ivory)); --accent: var(--mauve); --gold: color-mix(in srgb, var(--champagne) 90%, var(--plum)); --line: color-mix(in srgb, var(--champagne) 55%, transparent); }
.x-verse__ar { color: var(--mauve); }
.x-verse__star { background: var(--champagne); }

.x-band { height: clamp(230px, 50vw, 420px); margin: 0 auto; width: min(1080px, calc(100% - 32px)); border-radius: 42px; transform: translateZ(0); }
.x-band__q { font-family: var(--font-script); font-style: normal; font-size: clamp(1.7rem, 6vw, 2.8rem); }

.x-etq__item { border-radius: 30px; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.x-etq__item:hover { transform: translateY(-6px); }
.x-etq__ic { border: 0; background: color-mix(in srgb, var(--lavender) 55%, #fff); color: var(--mauve); width: 62px; height: 62px; }

.x-gal--collage { --photo-r: 40px; }

.x-rsvpf { border-radius: 40px; box-shadow: var(--shadow), 0 0 0 9px color-mix(in srgb, #fff 55%, transparent); }
.x-field input[type="text"], .x-field input[type="tel"], .x-field select { border-radius: 999px; padding-inline: 20px; }
.x-field textarea { border-radius: 24px; padding-inline: 20px; }
.x-chip span { border-radius: 999px; }
.x-rsvpf__submit { border-radius: 999px; }

.x-gift { border-radius: 34px; background: linear-gradient(165deg, #fff, color-mix(in srgb, var(--lavender) 24%, #fff)); }
.x-gift__ic { border: 0; background: color-mix(in srgb, var(--mauve) 12%, transparent); color: var(--mauve); }

.x-contact { border-radius: 40px; background: linear-gradient(165deg, #fff, color-mix(in srgb, var(--lavender) 24%, #fff)); }
.x-contact__person { font-family: var(--font-script); font-size: 2.6rem; font-weight: 400; color: var(--mauve); }
.x-contact__phone { border-radius: 999px; }

/* =====================================================================
   VENUE PHOTO — sits inside the venue card, above the name
   ===================================================================== */
.x-venue .x-venue-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0 auto 28px;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  rotate: none;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: var(--b-bg, #222);
}
.x-venue .x-venue-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
.x-venue:hover .x-venue-photo img { transform: scale(1.04); }
.x-venue .x-venue-photo::before { content: none; }

.x-venue .x-venue-photo {
  max-width: 680px;
  border-radius: 40px;
  box-shadow: var(--shadow), 0 0 0 8px color-mix(in srgb, #fff 55%, transparent);
}

/* =====================================================================
   WEDDING EVENTS — one card per celebration
   ===================================================================== */
.x-events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(16px, 2.6vw, 28px);
  max-width: 1040px;
  margin: 0 auto;
}
.x-event {
  position: relative;
  padding: 0 22px 30px;
  overflow: hidden;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--card-r, 8px);
  box-shadow: var(--shadow);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.x-event::before {
  content: "";
  display: block;
  height: 10px;
  margin: 0 -22px 28px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 24px, var(--gold) 24px 48px);
}
.x-event:hover { transform: translateY(-5px); box-shadow: 0 26px 44px color-mix(in srgb, var(--accent) 20%, transparent); }
.x-event.is-main { border-color: var(--gold); box-shadow: 0 22px 44px color-mix(in srgb, var(--accent) 22%, transparent); }
.x-event__badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
  color: var(--accent);
}
.x-event__badge::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold);
  background: color-mix(in srgb, var(--champagne) 22%, transparent);
  transform: rotate(45deg);
}
.x-event__badge svg { position: relative; width: 34px; height: 34px; }
.x-event__ar {
  margin: 0;
  font-family: var(--font-arabic);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--accent);
}
.x-event__name {
  margin: 2px 0 0;
  font-family: var(--x-num-font, var(--font-display));
  font-size: clamp(1.5rem, 4.6vw, 1.9rem);
  font-weight: 400;
  color: var(--ink);
}
.x-event__sub {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.x-event__line { display: block; width: 1px; height: 26px; margin: 16px auto; background: var(--gold); }
.x-event__date { margin: 0; font-family: var(--font-body); font-size: .92rem; color: var(--ink); }
.x-event__time {
  margin: 6px 0 0;
  font-family: var(--x-num-font, var(--font-display));
  font-size: 1.5rem;
  color: var(--accent);
}
.x-event__place { margin: 12px 0 0; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.6; color: var(--ink-2); }
.x-event__map {
  display: inline-block;
  margin-top: 18px;
  padding: 9px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: background .3s, color .3s;
}
.x-event__map:hover { background: var(--accent); color: #fff; }


/* =====================================================================
   MEHENDI — full-width invitation panel (mobile-first)
   ===================================================================== */
.event-panel {
  grid-column: 1 / -1;
  position: relative;
  padding: 24px 20px 28px;
  text-align: center;
  background: linear-gradient(180deg, #fffbf3, var(--ivory));
  border: 1px solid #e4d3b8;
  border-radius: 18px;
  overflow: hidden;
}
.event-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--mauve), var(--champagne) 50%, var(--mauve));
  border-radius: 18px 18px 0 0;
}
.event-panel__mandala {
  display: block;
  margin: 0 auto 2px;
  line-height: 0;
}
.event-panel__mandala svg { display: block; }
.event-panel__title {
  margin: 2px 0 0;
  padding-top: 12px;
  font-family: "Noto Nastaliq Urdu", "Geeza Pro", serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 2.2;
  color: var(--mauve);
}
.event-panel__hosts {
  margin: 8px 0 0;
  font-family: var(--font-script);
  font-size: clamp(19px, 5.4vw, 24px);
  line-height: 1.25;
  white-space: nowrap;
  color: color-mix(in srgb, var(--mauve) 58%, var(--plum));
}
.event-panel__invite {
  margin: 10px auto 0;
  max-width: 24em;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--plum) 70%, var(--ivory));
}
.event-panel__groom {
  margin: 12px 0 0;
  font-family: var(--font-script);
  font-size: clamp(40px, 11vw, 60px);
  line-height: 1.12;
  color: color-mix(in srgb, var(--mauve) 58%, var(--plum));
}
.event-panel__divider {
  display: block;
  width: 64px;
  height: 1px;
  margin: 16px auto;
  background: linear-gradient(90deg, var(--mauve), var(--champagne));
}
.event-panel__date {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--champagne) 60%, var(--plum));
}
.event-panel__schedule {
  list-style: none;
  margin: 0 auto 22px;
  padding: 0;
  max-width: 400px;
  text-align: left;
}
.event-panel__schedule li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dotted #cdbfa3;
}
.event-panel__schedule li:last-child { border-bottom: 0; padding-bottom: 0; }
.event-panel__time {
  flex: 0 0 88px;
  font-weight: 700;
  font-size: .92rem;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.event-panel__what {
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--champagne) 60%, var(--plum));
}
.event-panel__venue { margin: 0 0 24px; }
.event-panel__venue strong {
  display: block;
  font-weight: 700;
  color: var(--plum);
}
.event-panel__venue span {
  display: block;
  margin-top: 2px;
  color: color-mix(in srgb, var(--plum) 72%, var(--ivory));
}
.event-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.event-panel__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 2px solid var(--burgundy);
  border-radius: 999px;
  background: transparent;
  color: var(--burgundy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-decoration: none;
  transition: filter .25s ease, background .25s ease, color .25s ease;
}
.event-panel__btn:last-child {
  background: var(--burgundy);
  color: var(--ivory);
}
.event-panel__btn:nth-child(2):nth-last-child(2) {
  border-color: var(--champagne);
  color: color-mix(in srgb, var(--champagne) 60%, var(--plum));
}
.event-panel__btn:hover { filter: brightness(1.06); }

@media (min-width: 480px) {
  .event-panel__actions { flex-direction: row; justify-content: center; }
  .event-panel__btn { flex: 0 1 240px; }
}
@media (min-width: 700px) {
  .event-panel { padding: 32px 32px 38px; }
}

/* ---- baraat: two-venue schedule groups ---- */
.event-panel__groups { margin: 0 auto 22px; max-width: 400px; }
.event-panel__group + .event-panel__group { margin-top: 20px; }
.event-panel__group-label {
  margin: 0 0 3px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mauve);
}
.event-panel__group-address {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: .95rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--plum) 70%, var(--ivory));
}
.event-panel__group .event-panel__schedule { margin-bottom: 0; text-align: left; }
.event-panel__group .event-panel__schedule li:first-child { padding-top: 6px; }

/* baraat: three buttons — stacked until they genuinely fit */
.event-panel--groups .event-panel__actions { flex-direction: column; }
.event-panel--groups .event-panel__btn { letter-spacing: .12em; flex: none; }
@media (min-width: 560px) {
  .event-panel--groups .event-panel__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .event-panel--groups .event-panel__btn { flex: 1 1 200px; }
}


/* welcome heading: smaller script so the title sits with the text under it */
.x-letter .x-title {
  font-size: clamp(2.5rem, 8.6vw, 4.4rem);
  line-height: 1.12;
  margin: .22em 0 .34em;
}
.x-letter__lead .x-eyebrow { margin-bottom: 4px; }
.x-letter .x-lede { margin-top: 10px; max-width: 30em; }
.x-letter .x-hosts { margin-top: clamp(26px, 5vw, 40px); }

/* venue: tidy the pin / eyebrow / script title stack */
.x-venue__pin { width: 34px; height: 34px; margin: 6px auto 4px; }
.x-venue .x-eyebrow { display: block; margin: 0 0 10px; }
.x-venue .x-title {
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  line-height: 1.15;
  margin: .1em 0 .25em;
}
.x-venue address { margin: 4px auto 24px; }

/* pastel cards inside the dark blessings band: dark ink, not the band's light ink */
.x-gift,
.x-contact {
  --ink: var(--plum);
  --ink-2: color-mix(in srgb, var(--plum) 72%, var(--ivory));
  --accent: var(--mauve);
  --gold: color-mix(in srgb, var(--champagne) 90%, var(--plum));
  --line: color-mix(in srgb, var(--champagne) 55%, transparent);
}

/* closing: the pastel overlay must be light too, otherwise the dark text sinks into it */
.x-close { --band-bg: color-mix(in srgb, var(--lavender) 30%, var(--ivory)); }

/* welcome has no big title any more */
.x-letter__lead .x-eyebrow { margin-bottom: 14px; }

/* welcome: bride / groom roles with an ampersand between the two families */
.x-hosts__amp {
  justify-self: center;
  align-self: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
}
.x-host .x-host__role { color: var(--accent); }
@media (min-width: 700px) {
  .x-hosts { grid-template-columns: 1fr auto 1fr; column-gap: 28px; }
}

/* =====================================================================
   MEHR REFRESH — airy gradients, soft serif headings, pill labels,
   glass tiles. Replaces the old script-and-sparkle look.
   ===================================================================== */
:root {
  --x-title-font: "Fraunces", Georgia, "Times New Roman", serif;
  --x-num-font: "Fraunces", Georgia, "Times New Roman", serif;
  --x-title-weight: 400;
  --x-title-track: -.02em;
  --tex-o: 0;
}

/* page: a soft blush-to-lilac wash instead of flat ivory + star pattern */
main#invitation {
  background:
    radial-gradient(70% 28% at 0% 0%, color-mix(in srgb, var(--lavender) 70%, transparent), transparent 70%),
    radial-gradient(60% 26% at 100% 38%, color-mix(in srgb, var(--lilac) 38%, transparent), transparent 70%),
    radial-gradient(70% 26% at 0% 72%, color-mix(in srgb, var(--lavender) 55%, transparent), transparent 70%),
    var(--ivory);
}
.x-sec--a { background: transparent; }
.x-sec--b { background: color-mix(in srgb, var(--lavender) 34%, transparent); }
.x-sec--a::after, .x-sec--b::after { display: none; }

/* headings: soft serif, no giant script, no sparkle ornament */
.x-title {
  font-size: clamp(2.3rem, 6.2vw, 3.7rem);
  line-height: 1.1;
  margin: .26em 0 .2em;
  font-variation-settings: "SOFT" 100;
}
.x-letter .x-title { font-size: clamp(2.3rem, 6.2vw, 3.7rem); }
.x-head::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mauve), var(--champagne));
  -webkit-mask: none;
  mask: none;
}
.x-bless .x-title::after,
.x-letter__lead .x-eyebrow::before { display: none; }

/* labels become small tinted pills */
.x-eyebrow {
  display: inline-block;
  padding: 7px 16px 7px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .24em;
}
.x-head, .x-letter__lead { text-align: center; }

/* the dark band: a glow instead of plain fill */
.x-sec--c {
  background:
    radial-gradient(60% 70% at 88% 0%, color-mix(in srgb, var(--mauve) 60%, transparent), transparent 62%),
    radial-gradient(50% 60% at 4% 100%, color-mix(in srgb, var(--champagne) 22%, transparent), transparent 65%),
    linear-gradient(160deg, color-mix(in srgb, var(--plum) 90%, #fff), var(--plum));
}

/* countdown: glass tiles */
.x-count { gap: clamp(8px, 2vw, 18px); max-width: 760px; }
.x-count > div {
  padding: clamp(18px, 4vw, 30px) clamp(8px, 2vw, 14px);
  border-radius: 26px;
  background: color-mix(in srgb, #fff 9%, transparent);
  border: 1px solid color-mix(in srgb, #fff 20%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  min-width: 0;
  flex: 1;
}
.x-count > div + div::before { display: none; }
.x-count strong { font-weight: 400; font-size: clamp(2rem, 8vw, 3.6rem); }

/* buttons: gradient pills */
.x-btn:not(.x-btn--ghost) {
  background: linear-gradient(135deg, var(--mauve), color-mix(in srgb, var(--mauve) 55%, var(--plum)));
  border-color: transparent;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--mauve) 30%, transparent);
}
.x-sec--c .x-btn:not(.x-btn--ghost) {
  background: linear-gradient(135deg, var(--gold-l), var(--champagne));
  color: var(--plum);
}

/* cards: clean white glass, soft shadow */
.x-event, .x-etq__item, .x-contact, .x-rsvpf {
  background: color-mix(in srgb, #fff 78%, transparent);
  border: 1px solid color-mix(in srgb, #fff 80%, transparent);
  box-shadow: 0 20px 50px color-mix(in srgb, var(--plum) 9%, transparent);
}
.x-event::before { background: linear-gradient(90deg, var(--mauve), var(--champagne)); height: 6px; }

/* ---- opening: a "click to open" hint, laptop / desktop only (hidden on touch phones) ---- */
@media (hover: hover) and (pointer: fine) and (min-width: 820px) {
  .opening-label {
    display: inline-block;
    padding: 10px 20px 10px 22px;
    border-radius: 999px;
    background: rgba(18, 8, 10, .42);
    border: 1px solid rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    animation: x-open-hint 2.4s ease-in-out infinite;
  }
  .opening-label::before { content: "Click to open"; }
  @keyframes x-open-hint {
    0%, 100% { opacity: .75; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
  }
}

/* =====================================================================
   MOTION & SMOOTHNESS
   ===================================================================== */
html { scroll-behavior: smooth; }
body { animation: x-page-in .9s ease both; }
@keyframes x-page-in { from { opacity: 0; } to { opacity: 1; } }

/* thin read-progress bar */
.x-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, #b0344f), var(--gold, #c9a040));
  transform-origin: 0 50%;
  transform: scaleX(var(--prog, 0));
  pointer-events: none;
}

/* reveal: a soft blur-up on top of the existing fade/rise */
.rv {
  filter: blur(7px);
  transition:
    opacity 1s cubic-bezier(.2,.75,.25,1) calc(var(--i, 0) * 90ms),
    transform 1s cubic-bezier(.2,.75,.25,1) calc(var(--i, 0) * 90ms),
    filter .9s ease calc(var(--i, 0) * 90ms);
}
.rv:not(.is-in) { will-change: opacity, transform; }
.rv.is-in { filter: none; }

/* heading rules draw outwards */
.x-head.rv .x-rule,
.x-head.rv::after {
  opacity: 0;
  transform: scaleX(.15);
  transition: transform 1s cubic-bezier(.2,.75,.25,1) .35s, opacity .8s ease .35s;
}
.x-head.rv.is-in .x-rule,
.x-head.rv.is-in::after { opacity: 1; transform: scaleX(1); }

/* cards: gentle lift + icon nudge */
.x-event, .x-contact, .x-gift, .x-etq__item, .x-giftcards .x-gift {
  transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .55s ease, border-color .4s ease;
}
.x-contact:hover, .x-gift:hover { transform: translateY(-6px); }
.x-event__badge svg, .x-gift__ic svg {
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.x-event:hover .x-event__badge svg,
.x-gift:hover .x-gift__ic svg { transform: scale(1.14) rotate(-6deg); }

/* buttons: press feedback */
.x-btn { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .3s, color .3s; }
.x-btn:active { transform: translateY(0) scale(.97); }

/* quiet ambient motion */
.x-garland img { animation: x-float 8s ease-in-out infinite; }
@keyframes x-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.x-verse__star { animation: x-spin 48s linear infinite; }
@keyframes x-spin { to { transform: rotate(360deg); } }
.x-venue-photo img { transform: scale(1.06); transition: transform 2s cubic-bezier(.2,.8,.2,1); }
.x-venue.is-in .x-venue-photo img,
.x-venue.rv.is-in .x-venue-photo img { transform: scale(1); }

/* countdown: numbers pop on every tick */
.x-pop { animation: x-pop .5s cubic-bezier(.2,.9,.3,1.4); }
@keyframes x-pop {
  0% { transform: translateY(8px) scale(.9); opacity: .4; }
  100% { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="full"]) { scroll-behavior: auto; }
  html:not([data-motion="full"]) body, html:not([data-motion="full"]) .x-garland img, html:not([data-motion="full"]) .x-verse__star, html:not([data-motion="full"]) .x-pop { animation: none; }
  html:not([data-motion="full"]) .rv { filter: none; }
}

/* venue: no pin / pill label — a quiet italic lead-in instead */
.x-venue__pin,
.x-venue .x-eyebrow { display: none; }
.x-venue__text::before {
  content: "We’ll be celebrating at";
  display: block;
  margin: 0 0 4px;
  font-family: var(--x-title-font, var(--font-display));
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
