/* ============================================================
   Tariq & Jude — Wedding Invitation
   Aesthetic: royal blue + antique gold + cream · evening luxe
   ============================================================ */

:root {
  /* palette */
  --royal-900: #0b1a36;
  --royal-800: #11254b;
  --royal-700: #1c3766;
  --royal-600: #2a4f93;
  --ivory:       #f6efe1;
  --ivory-soft:  #efe6d4;
  --parchment:   #fbf6ec;
  --gold:        #c9a24b;
  --gold-bright: #e6c878;
  --gold-deep:   #a9823a;
  --ink:         #232c46;

  /* roles */
  --bg:          var(--parchment);
  --bg-dark:     var(--royal-800);
  --text:        #26304c;
  --text-dark:   #ece2cf;
  --text-muted:  #8a93a8;

  /* type — Marcellus for all English; Parisienne reserved for the couple's names only */
  --serif:  "Marcellus", Georgia, serif;
  --display-en: "Parisienne", cursive;     /* ONLY for bride+groom names */
  --label:  "Marcellus", Georgia, serif;
  --arabic: "Reem Kufi", sans-serif;
  --arabic-display: "Reem Kufi", sans-serif;
  --arabic-quran: "Reem Kufi", sans-serif;

  /* metrics */
  --maxw: 1180px;
  --gut: clamp(1.25rem, 5vw, 5rem);
  --r: 2px;
  --shadow-card: 0 24px 60px -30px rgba(5, 12, 28, 0.55);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif);
  background: var(--bg);
  color: var(--text);
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.2rem);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--royal-900); }
/* keep the HTML `hidden` attribute authoritative over component display rules */
[hidden] { display: none !important; }

/* film grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ============================================================
   Typography helpers
   ============================================================ */
.eyebrow {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: clamp(0.66rem, 0.4vw + 0.55rem, 0.8rem);
  color: var(--gold-deep);
  margin: 0 0 1.4rem;
}
.eyebrow--center { text-align: center; }
.section--dark .eyebrow { color: var(--gold-bright); }

.section__title {
  font-family: var(--display-en);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.8vw, 4.6rem);  /* scripts read smaller, bump size up */
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
}
body[data-lang="ar"] .section__title { font-family: var(--arabic-display); font-size: clamp(2.2rem, 5vw, 4rem); }
.section--dark .section__title { color: var(--ivory); }

.section__head { max-width: 760px; margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); }

/* ---------- dividers & sprigs ---------- */
.divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 2rem auto; max-width: 420px; }
.divider__line { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.sprig { width: 120px; height: 26px; color: var(--gold); flex: none; }
.sprig--lg { width: 150px; height: 30px; margin: 0 auto 1.6rem; display: block; }
.divider--footer { margin: 1.8rem auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 1.05em 2.2em;
  border-radius: var(--r);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, background .35s, color .35s;
  position: relative;
  will-change: transform;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: var(--royal-900);
  box-shadow: 0 14px 30px -14px rgba(201,162,75,.7);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -16px rgba(201,162,75,.85); }
.btn--ghost {
  border: 1px solid currentColor;
  color: var(--gold-deep);
  background: transparent;
}
.section--dark .btn--ghost { color: var(--gold-bright); }
.btn--ghost:hover { background: var(--gold); color: var(--royal-900); border-color: var(--gold); transform: translateY(-3px); }
.btn--block { width: 100%; padding: 1.2em; font-size: 0.85rem; }

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.1rem, 4vw, 2.6rem);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.topbar.is-scrolled {
  background: rgba(11, 26, 54, 0.82);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 1px 0 rgba(201,162,75,.18);
  padding-top: .75rem; padding-bottom: .75rem;
}
.monogram {
  font-family: var(--display-en);
  font-size: 1.9rem; letter-spacing: 0; color: var(--royal-800);
  display: inline-flex; align-items: baseline; line-height: 1;
}
.topbar.is-scrolled .monogram { color: var(--ivory); }
.monogram__amp { color: var(--gold); font-size: .8em; margin: 0 .12em; font-style: italic; }

.nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.9rem); }
.nav a {
  font-family: var(--label);
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--royal-700); opacity: .9; transition: opacity .3s, color .3s; position: relative;
}
.nav a::after {
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:1px;
  background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .35s;
}
.nav a:hover { opacity: 1; color: var(--gold-deep); }
.nav a:hover::after { transform: scaleX(1); }
.nav__cta {
  border: 1px solid var(--gold); color: var(--gold-deep) !important;
  padding: .55em 1.25em; border-radius: var(--r); opacity: 1 !important;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--gold); color: var(--royal-900) !important; }

.lang-toggle {
  font-family: var(--label); letter-spacing: .1em; font-size: .82rem;
  color: var(--royal-800); display: inline-flex; gap: .35em; align-items: center;
  padding: .4em .7em; border: 1px solid rgba(201,162,75,.4); border-radius: 999px;
  transition: border-color .3s, background .3s;
}
.lang-toggle:hover { border-color: var(--gold); }
.lang-toggle__sep { opacity: .5; }
.lang-toggle .lang-toggle__ar { font-family: var(--arabic); }
body[data-lang="en"] .lang-toggle__en, body[data-lang="ar"] .lang-toggle__ar { color: var(--gold-deep); }
body[data-lang="en"] .lang-toggle__ar, body[data-lang="ar"] .lang-toggle__en { opacity: .55; }

/* The bar sits on the cream hero with dark text; once scrolled it gains a navy
   panel, so flip text back to light for contrast. */
.topbar.is-scrolled .nav a { color: var(--text-dark); }
.topbar.is-scrolled .nav__cta { color: var(--gold-bright) !important; }
.topbar.is-scrolled .lang-toggle { color: var(--ivory); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: clamp(4.5rem, 8vh, 6rem) var(--gut) clamp(1.8rem, 3.5vh, 2.8rem);
  color: var(--text);
  background:
    radial-gradient(120% 90% at 50% 8%, #fffdf8 0%, var(--parchment) 45%, var(--ivory-soft) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 38% at 50% 35%, rgba(201,162,75,.16), transparent 70%),
    radial-gradient(80% 60% at 50% 122%, rgba(222,208,178,.55), transparent);
  animation: glowPulse 7s ease-in-out infinite alternate;
}
@keyframes glowPulse { from { opacity:.75; } to { opacity:1; transform: scale(1.04); } }

.hero__inner { max-width: 760px; position: relative; z-index: 1; }

.eyebrow.reveal { color: var(--gold-deep); }

.hero__names {
  font-family: var(--display-en);
  font-weight: 400;
  color: var(--gold-deep);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1.1; letter-spacing: .01em;
  display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; gap: .35em;
}
.hero__name { display: inline-block; }
.hero__amp {
  font-style: italic; color: var(--gold-deep);
  font-size: .75em; font-weight: 400;
}
.hero__names-ar {
  font-family: var(--arabic-display);
  color: var(--gold-deep);
  font-size: clamp(1.7rem, 6vw, 3rem);
  margin-top: .4rem; line-height: 1.35;
}
.hero__date {
  display: flex; flex-direction: column; gap: .55rem; align-items: center;
  font-family: var(--label); text-transform: uppercase;
  letter-spacing: .3em; font-size: clamp(.72rem, .5vw + .6rem, .9rem);
  color: var(--royal-700);
}
.hero__date-num {
  font-family: var(--serif); font-size: 1.5em; letter-spacing: .12em;
  color: var(--gold-deep); text-transform: none; font-weight: 500;
}
.hero .btn--gold { margin-top: clamp(1.4rem, 3vh, 2rem); }
.hero .divider { margin: clamp(1rem, 2.5vh, 1.6rem) auto; }

/* corner flourishes */
.flourish { position: absolute; width: clamp(110px, 18vw, 230px); height: auto; color: var(--gold-deep); opacity: .42; z-index: 0; pointer-events: none; }
.flourish--tl { top: 4%;  left: 2%; }
.flourish--tr { top: 4%;  right: 2%; transform: scaleX(-1); }
.flourish--bl { bottom: 3%; left: 2%; transform: scaleY(-1); }
.flourish--br { bottom: 3%; right: 2%; transform: scale(-1,-1); }

/* scroll cue */
.scroll-cue {
  margin-top: clamp(1.5rem, 3.5vh, 2.6rem);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .25em;
  font-size: .65rem; color: var(--royal-700); opacity: .75;
}
.scroll-cue__line { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: cueDrop 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cueDrop { 0%,100%{ transform: scaleY(.4); opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }
/* on very short screens, drop the cue rather than crowd the button */
@media (max-height: 640px) { .scroll-cue { display: none; } }

/* ============================================================
   Generic sections
   ============================================================ */
.section { padding: clamp(4.5rem, 11vw, 9rem) var(--gut); position: relative; }
.section--dark {
  background:
    radial-gradient(90% 120% at 50% 0%, var(--royal-700), var(--royal-800) 55%, var(--royal-900));
  color: var(--text-dark);
}
.section--dark::before, .section--dark::after {
  content:""; position:absolute; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,75,.45), transparent);
}
.section--dark::before { top: 0; }
.section--dark::after { bottom: 0; }

/* Venue photo backdrop — the photo sits beneath a royal-blue scrim so gold/ivory
   text stays legible. Each section sets its own --bg-photo (see index.html).
   With no photo it falls back to solid navy, so nothing ever looks broken. */
.section--photo {
  background:
    linear-gradient(180deg, rgba(250,245,234,.62), rgba(250,245,234,.5)),
    var(--bg-photo, none) center / cover no-repeat fixed,
    var(--ivory);
  color: var(--text);
}
@media (max-width: 768px) {
  .section--photo { background-attachment: scroll; } /* smoother on iOS/Android */
}

/* ============================================================
   VERSE
   ============================================================ */
.verse {
  background: linear-gradient(180deg, var(--parchment), var(--ivory-soft));
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.verse__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.verse__ar {
  font-family: var(--arabic); font-weight: 400;
  font-size: clamp(1.55rem, 4.2vw, 2.7rem); line-height: 1.9;
  color: var(--royal-700); margin: 1rem 0 2rem;
}
.verse__en {
  font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--text); max-width: 620px; margin: 0 auto 1.4rem; line-height: 1.6;
}
.verse__ref { font-family: var(--label); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--gold-deep); }

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown { text-align: center; }
.countdown__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.7rem, 2.5vw, 2rem); max-width: 760px; margin: 0 auto; }
.count-cell {
  flex: 1 1 110px; max-width: 160px;
  padding: clamp(1.1rem, 3vw, 1.9rem) .5rem;
  border: 1px solid rgba(201,162,75,.5);
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255,255,255,.82), rgba(255,255,255,.62));
  box-shadow: 0 18px 40px -28px rgba(11,26,54,.45);
  position: relative;
}
.count-cell::before {
  content:""; position:absolute; inset:6px; border:1px solid rgba(201,162,75,.3); border-radius: 1px; pointer-events:none;
}
.count-cell__num {
  display: block; font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 300; line-height: 1;
  color: var(--royal-800); font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.count-cell__label { display: block; margin-top: .7rem; font-family: var(--label); text-transform: uppercase; letter-spacing: .24em; font-size: .68rem; color: var(--gold-deep); }
.countdown__done { font-size: 1.6rem; font-style: italic; color: var(--royal-700); max-width: 600px; margin: 0 auto; }

/* ============================================================
   NOTE
   ============================================================ */
.note { background: var(--parchment); text-align: center; }
.note__inner { max-width: 760px; margin: 0 auto; color: var(--royal-700); }
.note__lead { font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 400; line-height: 1.4; margin-bottom: 1.3rem; }
.note__body { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text); max-width: 600px; margin: 0 auto; }

/* ============================================================
   DETAILS cards
   ============================================================ */
.details__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 2rem); max-width: 820px; margin: 0 auto; align-items: stretch; }
.card {
  text-align: center; padding: clamp(2rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(201,162,75,.4);
  background: rgba(255,255,255,.74);
  box-shadow: 0 18px 44px -30px rgba(11,26,54,.45);
  color: var(--text);
  border-radius: var(--r); position: relative;
  display: flex; flex-direction: column; align-items: center; gap: .65rem;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), border-color .4s, box-shadow .4s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201,162,75,.75); box-shadow: 0 34px 64px -34px rgba(11,26,54,.45); }
.card--center { background: rgba(255,255,255,.88); border-color: rgba(201,162,75,.7); }
.card__icon { width: 36px; height: 36px; color: var(--gold-deep); margin-bottom: .4rem; }
.card__title { font-family: var(--label); text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: var(--gold-deep); font-weight: 400; }
.card__lead { font-size: 1.15rem; color: var(--text); line-height: 1.5; }
.card__big { font-size: 1.7rem; font-weight: 500; color: var(--royal-800); letter-spacing: .01em; }
.card__sub { color: var(--text); opacity: .8; font-size: 1rem; }

/* Venue/details over the Grand Hyatt photo: darker veil, NO boxes, clear light text */
/* Unified info card (eyebrow + title + date + venue all in one box) */
.details__card {
  max-width: 680px; margin: 0 auto;
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.4rem, 3.5vw, 2.4rem);
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(201,162,75,.45);
  border-radius: 10px;
  box-shadow: 0 18px 44px -30px rgba(11,26,54,.45);
  text-align: center;
}
.details__card .section__title { margin: .1rem 0 .4rem; }
.details__card .eyebrow { margin-bottom: 0; }
.details__block { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.details__block + .details__block { padding-top: .8rem; border-top: 1px solid rgba(201,162,75,.3); margin-top: .2rem; width: 100%; }

/* Photo box below the card */
.details__photo {
  max-width: 680px; margin: clamp(1.2rem, 3vw, 2rem) auto 0;
  aspect-ratio: 16 / 9;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  border: 1px solid rgba(201,162,75,.4);
  border-radius: 10px;
  box-shadow: 0 18px 44px -30px rgba(11,26,54,.45);
}
/* Map button centered under the photo */
.details__map-wrap {
  display: flex; justify-content: center;
  margin: clamp(1.2rem, 3vw, 2rem) auto 0;
  max-width: 680px;
}
.card .btn { margin-top: .8rem; }

/* ============================================================
   PROGRAMME timeline
   ============================================================ */
.timeline { list-style: none; padding: 0; max-width: 620px; margin: 0 auto; position: relative; }
.timeline::before { content:""; position:absolute; left: 96px; top: 8px; bottom: 8px; width:1px; background: linear-gradient(var(--gold), rgba(201,162,75,.15)); }
.tl { display: grid; grid-template-columns: 84px 28px 1fr; align-items: center; gap: 0; padding: .95rem 0; }
.tl__time { font-family: var(--serif); font-size: 1.45rem; color: var(--royal-700); font-weight: 500; text-align: right; padding-right: 6px; letter-spacing: .02em; white-space: nowrap; }
.tl__mer { font-family: var(--label); font-size: .6rem; letter-spacing: .12em; margin-left: .25em; vertical-align: super; color: var(--gold-deep); }
.tl__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--gold); margin: 0 auto; box-shadow: 0 0 0 4px rgba(201,162,75,.18); position: relative; z-index: 1; }
.tl__label { font-size: 1.25rem; color: var(--text); padding-left: 6px; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery__grid {
  display: grid; gap: clamp(.7rem, 1.6vw, 1.2rem);
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  max-width: var(--maxw); margin: 0 auto;
}
.frame { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid rgba(201,162,75,.3); margin: 0; }
.frame--tall { grid-row: span 2; }
.frame--wide { grid-column: span 2; }
.frame__ph, .frame__img { width: 100%; height: 100%; object-fit: cover; }
.frame__ph {
  display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(201,162,75,.18), transparent 60%),
    linear-gradient(150deg, var(--royal-600), var(--royal-800));
}
.frame__mono { font-family: var(--serif); font-size: 2rem; letter-spacing: .08em; color: rgba(230,200,120,.55); }
.frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1rem .8rem; text-align: center;
  font-family: var(--label); letter-spacing: .15em; text-transform: uppercase; font-size: .7rem; color: var(--ivory);
  background: linear-gradient(transparent, rgba(5,12,28,.82));
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s;
}
.frame:hover figcaption { opacity: 1; transform: none; }
.frame .frame__ph, .frame .frame__img { transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.frame:hover .frame__ph, .frame:hover .frame__img { transform: scale(1.06); }

/* ============================================================
   RSVP
   ============================================================ */
.rsvp { background: linear-gradient(180deg, var(--ivory-soft), var(--parchment)); overflow: hidden; }
.flourish--rsvp { color: var(--gold); opacity: .14; top: -20px; right: -30px; transform: scaleX(-1); }
.rsvp__deadline { text-align: center; color: var(--text-muted); font-style: italic; margin-top: 1rem; font-size: 1.1rem; }
/* Match the RSVP section title to the deadline-line size */
#rsvp .section__title,
body[data-lang="ar"] #rsvp .section__title {
  font-size: 1.1rem;
  font-style: normal;
  margin: 0 0 .8rem;
}
.rsvp__invite {
  margin: 1.2rem auto 0; max-width: 560px;
  font-family: var(--serif), var(--arabic); font-size: 1.25rem; color: var(--royal-800);
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.45));
  border: 1px solid rgba(201,162,75,.45); border-radius: 14px;
  padding: .9rem 1.4rem; box-shadow: 0 6px 18px -12px rgba(11,26,54,.4);
  display: flex; flex-direction: column; gap: .25rem; text-align: center;
}
.rsvp__invite-line { font-size: 1.15em; }
.rsvp__invite-tag {
  font-size: .7em; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep); opacity: .82; text-align: center; margin-top: .1rem;
}
body[data-lang="ar"] .rsvp__invite-tag { letter-spacing: 0; text-transform: none; font-size: .85em; }
.rsvp__invite-count { font-size: .9em; color: var(--gold-deep); text-align: center; }

.rsvp__form {
  max-width: 680px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.4rem;
  background: rgba(255,255,255,.4);
  border: 1px solid rgba(201,162,75,.35);
  border-radius: var(--r);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
  position: relative;
}
.field { display: flex; flex-direction: column; gap: .5rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label {
  font-family: var(--label); letter-spacing: .14em; text-transform: uppercase;
  font-size: .72rem; color: var(--gold-deep);
}
.field__opt { text-transform: none; letter-spacing: 0; font-style: italic; color: var(--text-muted); font-family: var(--serif); }
.field input, .field select, .field textarea {
  font-family: var(--serif); font-size: 1.1rem; color: var(--ink);
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(120,100,60,.3);
  border-radius: var(--r); padding: .8em .9em;
  transition: border-color .3s, box-shadow .3s, background .3s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 3.2em; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,75,.18); background: #fff;
}
.field__err { color: #9c3a2e; font-size: .85rem; font-style: italic; display: none; }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input, .field.is-invalid select { border-color: #b5483a; }

/* Guests number picker: plain legible figures — the serif made "1" look like "I" */
#guests { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .04em; }
#guests option { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 1rem; color: var(--ink); background: #fff; }

/* ---------- Fancy custom dropdown (replaces the native guests <select> UI) ---------- */
.cselect { position: relative; }
.cselect__native {                                   /* keep the real <select> for the form value, visually hidden */
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cselect__trigger {
  position: relative; width: 100%; display: block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.1rem; letter-spacing: .04em; color: var(--ink); text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.7));
  border: 1px solid rgba(201,162,75,.5); border-radius: var(--r);
  padding: .8em 2.5em; cursor: pointer;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.cselect__value { display: inline-block; }
.cselect__trigger .cselect__chev { position: absolute; inset-inline-end: .95em; top: 50%; transform: translateY(-50%); }
.cselect.is-open .cselect__trigger .cselect__chev { transform: translateY(-50%) rotate(180deg); }
.cselect__trigger:hover { border-color: var(--gold); }
.cselect.is-open .cselect__trigger,
.cselect__trigger:focus-visible {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.2); background: #fff; outline: none;
}
.cselect__chev { width: .85em; height: .85em; flex: none; color: var(--gold-deep); transition: transform .28s ease; }
.cselect.is-open .cselect__chev { transform: rotate(180deg); }

.cselect__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 7px); z-index: 40;
  margin: 0; padding: .35rem; list-style: none;
  background: linear-gradient(180deg, #fffdf7, var(--parchment));
  border: 1px solid rgba(201,162,75,.55); border-radius: 10px;
  box-shadow: 0 22px 48px -20px rgba(11,26,54,.5), inset 0 0 0 1px rgba(255,255,255,.5);
  max-height: 260px; overflow: auto;
  opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top center; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.cselect.is-open .cselect__list { opacity: 1; transform: none; pointer-events: auto; }
.cselect__opt {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem; letter-spacing: .04em; color: var(--ink);
  padding: .62em .85em; border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .15s ease, color .15s ease;
}
.cselect__opt:hover, .cselect__opt.is-active {
  background: linear-gradient(90deg, rgba(201,162,75,.22), rgba(201,162,75,.08));
  color: var(--royal-800);
}
.cselect__opt[aria-selected="true"] { color: var(--royal-800); }
.cselect__opt[aria-selected="true"]::after { content: "✓"; color: var(--gold-deep); font-size: .95em; margin-left: .6em; }

/* attendance choice */
.choice { display: flex; gap: 1rem; flex-wrap: wrap; }
.choice__opt { flex: 1 1 180px; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  display: block; text-align: center; padding: .95em 1em;
  border: 1px solid rgba(120,100,60,.35); border-radius: var(--r);
  font-family: var(--label); letter-spacing: .08em; font-size: .82rem; text-transform: uppercase;
  color: var(--text); background: rgba(255,255,255,.5);
  transition: all .3s;
}
.choice__opt:hover .choice__box { border-color: var(--gold); }
.choice__opt input:checked + .choice__box {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--royal-900);
  border-color: var(--gold); box-shadow: 0 10px 22px -12px rgba(201,162,75,.7);
}
.choice__opt input:focus-visible + .choice__box { box-shadow: 0 0 0 3px rgba(201,162,75,.3); }

/* confirmation */
.rsvp__thanks { max-width: 600px; margin: 0 auto; text-align: center; padding: clamp(2rem,5vw,3.5rem) 1rem; }
.rsvp__check { width: 84px; height: 84px; color: var(--gold-deep); margin: 0 auto 1.5rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rsvp__check circle { stroke-dasharray: 233; stroke-dashoffset: 233; animation: drawCircle .7s ease forwards; }
.rsvp__check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawCheck .5s ease .55s forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.rsvp__thanks-title { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 400; color: var(--royal-700); line-height: 1.25; margin-bottom: .8rem; }
.rsvp__thanks-sub { color: var(--text); font-size: 1.15rem; margin-bottom: 2rem; }
.rsvp__thanks-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--royal-900); color: var(--text-dark);
  text-align: center; padding: clamp(3.5rem, 8vw, 6rem) var(--gut) 3rem;
}
.footer__mono { font-family: var(--display-en); font-size: 3.6rem; color: var(--ivory); margin-bottom: 1.2rem; display: inline-flex; align-items: baseline; }
.footer__sep { color: var(--gold-bright); opacity: .85; margin: 0 .5em; }
.footer__names { font-family: var(--display-en); color: var(--ivory-soft); letter-spacing: 0; font-size: 1.55rem; }
.footer__names[lang="ar"] { font-family: var(--arabic); font-size: 1.4rem; letter-spacing: .02em; }
.footer__names[lang="ar"] { font-family: var(--arabic); font-size: 1.4rem; margin-top: .3rem; color: var(--gold-bright); }
.footer__tag { font-family: var(--label); text-transform: uppercase; letter-spacing: .25em; font-size: .78rem; color: var(--gold); margin-top: .4rem; }
.footer__hash { font-family: var(--label); letter-spacing: .12em; color: var(--text-muted); margin-top: .6rem; font-size: .9rem; }

/* Simple footer (just the names) — navy background */
.footer--simple {
  background: var(--royal-900);
  padding: clamp(2.5rem, 6vw, 4rem) var(--gut);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
}
.footer--simple .footer__names { color: var(--gold-bright); font-size: clamp(2rem, 5vw, 3rem); margin: 0; }
.footer--simple .footer__names[lang="ar"] { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-top: 0; }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal-on-scroll { opacity: 0; transform: translateY(26px); }
/* Hero reveals stay hidden only while the JS intro is in play; they animate in
   once the envelope is dismissed (body.go is added). No-JS => visible at once. */
html.js .reveal { opacity: 0; transform: translateY(26px); }
body.go .reveal { animation: rise .9s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: .15s; }
body.go .reveal[data-delay="1"] { animation-delay: .35s; }
body.go .reveal[data-delay="2"] { animation-delay: .55s; }
body.go .reveal[data-delay="3"] { animation-delay: .75s; }
body.go .reveal[data-delay="4"] { animation-delay: .95s; }
body.go .reveal[data-delay="5"] { animation-delay: 1.2s; }
.reveal-on-scroll.is-visible { animation: rise .9s cubic-bezier(.2,.7,.3,1) forwards; }
.reveal-on-scroll.is-visible[data-delay="1"] { animation-delay: .12s; }
.reveal-on-scroll.is-visible[data-delay="2"] { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ============================================================
   RTL / Arabic mode
   ============================================================ */
body[data-lang="ar"] { font-family: var(--arabic); font-weight: 400; }
/* Aref Ruqaa only ships 400 & 700 — keep all Arabic at the regular weight so it
   never renders heavy/chunky (default-bold headings would otherwise jump to 700). */
body[data-lang="ar"] h1, body[data-lang="ar"] h2, body[data-lang="ar"] h3, body[data-lang="ar"] h4,
body[data-lang="ar"] .section__title, body[data-lang="ar"] .note__lead, body[data-lang="ar"] .rsvp__thanks-title,
body[data-lang="ar"] strong, body[data-lang="ar"] b, body[data-lang="ar"] .frame__mono {
  font-weight: 400;
}
.intro__welcome-ar, .footer__names[lang="ar"], .rsvp__invite { font-weight: 400; }
body[data-lang="ar"] .eyebrow,
body[data-lang="ar"] .btn,
body[data-lang="ar"] .nav a,
body[data-lang="ar"] .card__title,
body[data-lang="ar"] .field label,
body[data-lang="ar"] .field__label,
body[data-lang="ar"] .choice__box,
body[data-lang="ar"] .count-cell__label,
body[data-lang="ar"] .footer__tag,
body[data-lang="ar"] .verse__ref { font-family: var(--arabic); letter-spacing: 0; text-transform: none; }
body[data-lang="ar"] .verse__en { display: none; }   /* AR mode: verse is complete; no English line */
body[data-lang="ar"] .section__title,
body[data-lang="ar"] .note__lead,
body[data-lang="ar"] .rsvp__thanks-title { font-family: var(--arabic-display); }
body[data-lang="ar"] .eyebrow {
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--arabic);
  font-size: clamp(1rem, 2vw + .6rem, 1.45rem);
}
html[dir="rtl"] .timeline::before { left: auto; right: 96px; }
html[dir="rtl"] .tl { grid-template-columns: 84px 28px 1fr; }
html[dir="rtl"] .tl__time  { grid-column: 1; text-align: left; padding-right: 0; padding-left: 6px; }
html[dir="rtl"] .tl__dot   { grid-column: 2; }
html[dir="rtl"] .tl__label { grid-column: 3; text-align: right; padding-left: 0; padding-right: 6px; }
html[dir="rtl"] .tl__mer { margin-left: 0; margin-right: .25em; }
html[dir="rtl"] .flourish--tl { right: 2%; left: auto; transform: scaleX(-1); }
html[dir="rtl"] .flourish--tr { left: 2%; right: auto; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .nav a:not(.nav__cta) { display: none; }
  .details__grid { grid-template-columns: 1fr; max-width: 460px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .frame--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .rsvp__form { grid-template-columns: 1fr; }
  .count-cell { flex-basis: 38%; }
  .gallery__grid { grid-auto-rows: 140px; }
  .timeline::before { left: 78px; }
  .tl { grid-template-columns: 66px 24px 1fr; }
  .tl__time { font-size: 1.2rem; }
  html[dir="rtl"] .timeline::before { right: 78px; }
  html[dir="rtl"] .tl { grid-template-columns: 66px 24px 1fr; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Intro — tap-to-open envelope (flap opens, card slides out)
   ============================================================ */
#intro { display: none; }
html.intro-lock { overflow: hidden; }
html.js #intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 9999; cursor: pointer;
  background: #000; overflow: hidden;
  transition: opacity .9s ease;
}
#intro.is-gone { opacity: 0; pointer-events: none; }

/* full-bleed intro video (first 4s only — capped in script.js) */
.intro__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; background: #000;
  transition: opacity .5s ease; will-change: opacity, transform;
  animation: introDrift 7s ease-in-out infinite;   /* gentle floating */
}
.intro__video.vidB { opacity: 0; }                  /* second crossfade layer starts hidden */
@keyframes introDrift {
  0%, 100% { transform: scale(1.02) translateY(0); }
  50%      { transform: scale(1.05) translateY(-1.1%); }
}

/* personalized welcome on the intro — EN then AR, both dark navy, same size */
.intro__welcome {
  position: absolute; left: 0; right: 0; top: auto; bottom: clamp(8%, 11vh, 13%);
  z-index: 2; text-align: center; padding: 0 1.4rem; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  transition: opacity .4s ease;
}
.intro__welcome-en, .intro__welcome-ar {
  margin: 0; color: var(--royal-900);
  font-size: clamp(1rem, 2.7vw, 1.5rem); line-height: 1.3; max-width: min(92vw, 42ch);
  text-shadow: 0 1px 18px rgba(255,255,255,.6), 0 0 2px rgba(255,255,255,.55);
}
.intro__welcome-en { font-family: var(--serif); font-weight: 600; }
.intro__welcome-ar { font-family: var(--arabic); font-weight: 400; line-height: 1.55; }

/* warm cream-gold luxury backdrop */
.intro__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 110% at 22% 18%, #fffef9 0%, rgba(255,254,249,0) 55%),
    linear-gradient(135deg, #fdf6e3 0%, #f4e8c6 55%, #ecdcad 100%);
}
/* flowing gold contour lines — gently pulsing glow */
.intro__waves {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  pointer-events: none;
  animation: wavePulse 4.5s ease-in-out infinite;
}
@keyframes wavePulse {
  0%, 100% { opacity: .5;  filter: drop-shadow(0 0 0 rgba(214,184,94,0)); }
  50%      { opacity: 1;   filter: drop-shadow(0 0 5px rgba(214,184,94,.6)); }
}

/* the envelope */
.intro__stage { position: relative; z-index: 1; perspective: 1500px; padding: 1.5rem; transform: translateY(-7%); }
.env {
  position: relative; width: min(92vw, 710px); aspect-ratio: 1.5 / 1;
  transform-style: preserve-3d; transform: rotateX(4deg);
  filter: drop-shadow(0 40px 64px rgba(11,26,54,.26));
  animation: envIn 1s cubic-bezier(.2,.7,.3,1) both, envFloat 4.5s ease-in-out 1s infinite;
}
@keyframes envIn { from { opacity: 0; transform: translateY(22px) rotateX(4deg) scale(.94); } to { opacity: 1; transform: rotateX(4deg); } }
@keyframes envFloat { 0%,100% { transform: rotateX(4deg) translateY(0); } 50% { transform: rotateX(4deg) translateY(-9px); } }
.env > * { position: absolute; }

/* back panel of the envelope */
.env__back {
  inset: 0; border-radius: 9px; z-index: 0;
  background: linear-gradient(158deg, #fbf5e8, #e9dec9);
  box-shadow: inset 0 0 0 1px rgba(201,162,75,.5), inset 0 0 18px rgba(120,90,40,.06);
}
.env__back::after { content: ""; position: absolute; inset: 9px; border-radius: 5px; border: 1px solid rgba(201,162,75,.45); }

/* the card that slides out */
.env__letter {
  left: 7%; right: 7%; top: 9%; height: 82%; border-radius: 6px; z-index: 1;
  background: linear-gradient(180deg, #fffefb, #f8f2e6); border: 1px solid rgba(201,162,75,.4);
  box-shadow: 0 8px 20px -12px rgba(11,26,54,.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  transition: transform 1.05s cubic-bezier(.45,0,.15,1) .5s, box-shadow .6s ease .5s;
}
.env__letter-mono { font-family: var(--serif); font-size: clamp(2rem, 8vw, 3rem); color: var(--royal-800); letter-spacing: .03em; line-height: 1; }
.env__letter-mono .amp { color: var(--gold-deep); font-style: italic; }
.env__letter-sub { font-family: var(--label); text-transform: uppercase; letter-spacing: .34em; font-size: .62rem; color: var(--gold-deep); }

/* front pocket (hides the card until it lifts out) */
.env__pocket {
  left: 0; right: 0; bottom: 0; height: 64%; border-radius: 0 0 9px 9px; z-index: 3;
  background: linear-gradient(158deg, #efe6d4, #e2d6be);
  box-shadow: inset 0 2px 6px rgba(255,255,255,.5), inset 0 -10px 22px rgba(120,90,40,.07), 0 -1px 0 rgba(201,162,75,.3);
}
.env__pocket::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 100' preserveAspectRatio='none'%3E%3Cpath d='M1 100 L75 30 L149 100' fill='none' stroke='%23000' stroke-opacity='0.06' stroke-width='0.8'/%3E%3Cpath d='M1 99 L75 29' stroke='%23fff' stroke-opacity='0.4' stroke-width='0.5'/%3E%3Cpath d='M149 99 L75 29' stroke='%23fff' stroke-opacity='0.4' stroke-width='0.5'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

/* top flap */
.env__flap {
  top: 0; left: 0; right: 0; height: 50%; z-index: 4;
  background: linear-gradient(168deg, #f7efdc, #e4d6ba);
  box-shadow: inset 0 3px 5px rgba(255,255,255,.4), inset 0 -4px 9px rgba(120,90,40,.08);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center; transform: rotateX(0deg);
  transition: transform .85s cubic-bezier(.6,.02,.2,1);
  filter: drop-shadow(0 7px 8px rgba(11,26,54,.16));
}

/* wax seal on the flap tip — circular, monogram pressed into the wax */
.env__seal {
  left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 5;
  width: clamp(58px, 17%, 132px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; white-space: nowrap; line-height: 1;
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.05rem, 2.6vw, 2.15rem); letter-spacing: .02em;
  color: #16315f;                                   /* same family as the wax → reads as debossed, no gold */
  text-shadow: 0 -1px 1px rgba(0,0,0,.55), 0 1px 1px rgba(255,255,255,.22); /* pressed-in relief */
  background: radial-gradient(circle at 40% 34%, #3c5da9 0%, #22427c 46%, #112a52 100%);
  box-shadow: inset 0 3px 6px rgba(255,255,255,.18), inset 0 -6px 12px rgba(0,0,0,.45), 0 6px 14px rgba(11,26,54,.4);
  transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .45s ease;
}
.env__seal .amp { color: #16315f; font-style: italic; }
.env__seal::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.25); box-shadow: inset 0 1px 2px rgba(0,0,0,.45), inset 0 -1px 1px rgba(255,255,255,.12); }

/* tagline + hint */
.intro__copy { position: absolute; left: 0; right: 0; bottom: clamp(2%, 3vh, 4%); z-index: 2; text-align: center; padding: 0 1.5rem; }
.intro__tagline {
  font-family: "Pinyon Script", "Cormorant Garamond", cursive; font-weight: 400;
  font-size: clamp(2.1rem, 6.6vw, 3.7rem); line-height: 1.02; color: var(--royal-800);
  max-width: 18ch; margin: 0 auto; text-shadow: 0 1px 1px rgba(255,255,255,.6);
}
.intro__tagline-ar { font-family: var(--arabic); font-size: clamp(1rem, 2.8vw, 1.35rem); color: var(--gold-deep); margin-top: .4rem; }
.intro__hint {
  font-family: var(--label); text-transform: uppercase; letter-spacing: .32em;
  font-size: clamp(.85rem, 2.2vw, 1.05rem); color: var(--gold-bright);
  margin: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,.5), 0 0 3px rgba(0,0,0,.45);
  animation: hintPulse 1.9s ease-in-out infinite;
}
@keyframes hintPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* opening: flap lifts, seal fades, card slides up out of the pocket, then flash to page */
.intro__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity .7s ease; z-index: 10; }
#intro.is-opening { cursor: default; }
#intro.is-opening .env { animation: none; }
#intro.is-opening .env__flap { transform: rotateX(172deg); z-index: 0; }   /* drop behind the card so it can't clip the monogram */
#intro.is-opening .env__seal { transform: translate(-50%,-50%) scale(.35); opacity: 0; }
#intro.is-opening .env__letter { transform: translateY(-66%) scale(1.03); box-shadow: 0 38px 60px -24px rgba(11,26,54,.4); }
#intro.is-opening .intro__copy,
#intro.is-playing .intro__copy,
#intro.is-opening .intro__welcome,
#intro.is-playing .intro__welcome { opacity: 0; transition: opacity .4s ease; }
#intro.is-playing { cursor: default; }
#intro.is-opening .intro__waves { opacity: 0; transition: opacity .5s ease; animation: none; }
#intro.is-flashing .intro__flash { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .env, .intro__waves, .intro__video { animation: none !important; }
}

/* ============================================================
   ALL-GOLD + LOCKED FONTS (user request)
   - Every text element + numbers turn gold (var(--gold-deep))
   - English: Marcellus everywhere  ·  Parisienne ONLY for the couple's names
   - Arabic: Reem Kufi everywhere
   ============================================================ */
body, body *,
input, select, textarea, button, option {
  color: var(--gold-deep) !important;
  font-family: "Marcellus", Georgia, serif !important;
}
/* Couple's names — the ONLY place Parisienne is used */
.hero__names, .hero__names *,
.footer--simple .footer__names,
.footer--simple .footer__names * {
  font-family: "Parisienne", cursive !important;
}
/* All Arabic stays in Reem Kufi (overrides the Marcellus default + Parisienne overrides) */
body[data-lang="ar"], body[data-lang="ar"] *,
[lang="ar"], [lang="ar"] *,
.footer--simple [lang="ar"], .footer--simple [lang="ar"] * {
  font-family: "Reem Kufi", sans-serif !important;
}
/* Couple's names + J&T monogram: ALWAYS Parisienne, regardless of UI language.
   Higher specificity than the AR body override above, so it wins in Arabic mode too. */
body .hero__names, body .hero__names *,
html .monogram, html .monogram *,
body .footer--simple .footer__names:not([lang]),
body .footer--simple .footer__names:not([lang]) * {
  font-family: "Parisienne", cursive !important;
}
/* Footer on navy: lighter gold so it reads well on the dark background */
body .footer--simple .footer__names,
body .footer--simple .footer__names * { color: var(--gold-bright) !important; }

/* Hero intro: three stacked lines (بمشيئة الله / تتشرّف العائلتان / بدعوتكم) */
.hero__intro {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  margin: 0 auto 1.4rem; max-width: 60ch;
}
.hero__intro .eyebrow { margin: 0; line-height: 1.5; }
/* Reset color on decorative graphics so backgrounds/icons stay intact */
svg, .frame__ph, .intro__video, .intro__waves, .intro__bg { color: revert !important; }
/* The verse keeps gold */
.verse__ar, .verse__en, .verse__ref { color: var(--gold-deep) !important; }
input::placeholder, textarea::placeholder { color: var(--gold) !important; opacity: .6; }
