:root {
  --ivory: #f5efe6;
  --ivory-soft: #fbf8f2;
  --ivory-deep: #e8ddcc;
  --ink: #171814;
  --muted: #655f53;
  --emerald: #062f25;
  --emerald-deep: #021712;
  --emerald-bright: #134b3a;
  --gold: #ad8846;
  --gold-light: #d7bd7a;
  --line: rgba(30, 28, 22, .16);
  --light-line: rgba(215, 189, 122, .25);
  --serif: "Bodoni Moda", Didot, "Times New Roman", serif;
  --script: "Cormorant Garamond", Georgia, serif;
  --sans: Montserrat, Arial, sans-serif;
  --ar-serif: Amiri, "Noto Naskh Arabic", serif;
  --ar-sans: "Noto Kufi Arabic", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: .11;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}

::selection { background: var(--emerald); color: var(--ivory); }
button, a { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.paper { background: var(--ivory); }
.emerald { background: var(--emerald); color: var(--ivory); }

.progress {
  position: fixed;
  z-index: 950;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #f3dc9b);
}

.eyebrow, .section-no {
  margin: 0;
  font: 500 .59rem/1.4 var(--sans);
  letter-spacing: .35em;
  text-transform: uppercase;
}

.eyebrow { color: var(--gold-light); }
.eyebrow.ink, .section-no { color: #7e6638; }
.section-no.light { color: var(--gold-light); }
.small-script {
  margin: 19px 0 2px;
  color: #403b32;
  font: italic clamp(1.45rem, 2.4vw, 2.2rem)/1.1 var(--script);
}
.small-script.gold { color: var(--gold-light); }

/* Opening: the invitation behaves like a living emerald object. */
.opening {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  perspective: 1600px;
  background: var(--emerald-deep);
  color: var(--ivory);
  transition: visibility 0s linear 1.65s;
}

.cover-art {
  position: absolute;
  inset: -4%;
  background:
    linear-gradient(180deg, rgba(1, 18, 13, .12), rgba(1, 18, 13, .35)),
    url("opening-garden-original.webp") center / cover no-repeat;
  transform: scale(1.045);
  animation: coverBreathe 9s ease-in-out infinite alternate;
  transition: transform 1.55s cubic-bezier(.15, .72, .22, 1), filter 1.3s ease, opacity 1.25s ease .18s;
}
.cover-art::before, .cover-art::after { content: ""; display: none; position: absolute; top: 0; bottom: 0; width: 58%; pointer-events: none; }

.opening::before,
.opening::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(231, 207, 144, .34);
}

.opening::after {
  inset: 27px;
  border-color: rgba(231, 207, 144, .1);
}

.opening-wing {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 64%;
  pointer-events: none;
  transition: transform 1.45s cubic-bezier(.72, 0, .2, 1), opacity .9s ease .3s;
}

.opening-wing-left {
  left: 0;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(1, 18, 13, .92) 0%, rgba(3, 31, 24, .64) 57%, rgba(6, 47, 37, .18) 82%, transparent 100%);
}
.opening-wing-right {
  right: 0;
  transform-origin: right center;
  background: linear-gradient(-90deg, rgba(1, 18, 13, .92) 0%, rgba(3, 31, 24, .64) 57%, rgba(6, 47, 37, .18) 82%, transparent 100%);
}

.cover-copy {
  position: relative;
  z-index: 7;
  width: min(560px, calc(100vw - 50px));
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .46);
  animation: coverCopyIn 1.25s cubic-bezier(.2, .76, .25, 1) both;
  transition: opacity .48s ease, transform .7s cubic-bezier(.4, 0, 1, 1), filter .5s ease;
}

.cover-kicker {
  margin: 0 0 25px;
  color: #eadab6;
  font: 400 .56rem/1.4 var(--sans);
  letter-spacing: .38em;
  text-transform: uppercase;
}

.cover-names {
  margin: 0;
  font: 400 clamp(2.75rem, 6vw, 5.3rem)/1 var(--serif);
  letter-spacing: -.055em;
}
.cover-names i { color: var(--gold-light); font: italic .58em var(--script); }

.cover-date {
  width: min(430px, 90%);
  margin: 24px auto 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 17px;
  color: #dfd3bd;
}
.cover-date span { font: 400 .48rem var(--sans); letter-spacing: .25em; text-transform: uppercase; }
.cover-date span:first-child { text-align: right; }
.cover-date span:last-child { text-align: left; }
.cover-date strong {
  padding: 0 17px;
  border-right: 1px solid rgba(215, 189, 122, .5);
  border-left: 1px solid rgba(215, 189, 122, .5);
  color: #f0dfb5;
  font: 400 .69rem var(--sans);
  letter-spacing: .24em;
}

.seal {
  position: relative;
  appearance: none;
  border: 0;
  width: min(210px, 62vw);
  padding: 0;
  background: none;
  color: #f1e4c9;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .48);
}
.wax-seal-art {
  position: relative;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .48));
  transition: transform .42s cubic-bezier(.2, .75, .2, 1), filter .42s ease;
  animation: waxHover 5.5s ease-in-out infinite;
}
.wax-seal-art::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 25%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255, 235, 174, .18), transparent 58%);
  pointer-events: none;
}
.wax-seal-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.seal-instruction {
  display: block;
  margin-top: 10px;
  font: 500 .78rem/1.2 var(--sans);
  letter-spacing: .25em;
  text-transform: uppercase;
}
.seal-action {
  margin-top: 7px;
  color: rgba(240, 226, 198, .68);
  font: 500 .75rem/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.seal-action i { color: var(--gold-light); font-style: normal; }
.seal:hover .wax-seal-art { transform: translateY(-5px) rotate(-2deg) scale(1.065); filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .55)) brightness(1.04); animation: none; }
.seal:active .wax-seal-art { transform: translateY(-1px) scale(.97); }
.seal:focus-visible { outline: 2px solid #f4dfaa; outline-offset: 8px; }

.opening-hint {
  position: absolute;
  z-index: 8;
  bottom: 25px;
  margin: 0;
  color: rgba(242, 229, 202, .65);
  font: 400 .45rem var(--sans);
  letter-spacing: .25em;
  text-transform: uppercase;
}

.language-switch {
  appearance: none;
  border: 1px solid rgba(215, 189, 122, .48);
  border-radius: 999px;
  padding: 8px 14px 9px;
  background: rgba(4, 38, 29, .46);
  color: #f0dfb5;
  font: 500 .72rem/1 var(--ar-sans);
  letter-spacing: 0;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.language-switch:hover { background: rgba(215, 189, 122, .14); border-color: rgba(239, 218, 163, .8); transform: translateY(-1px); }
.language-switch:focus-visible { outline: 2px solid #f4dfaa; outline-offset: 3px; }
.opening-language { position: absolute; z-index: 12; top: max(24px, env(safe-area-inset-top)); right: max(24px, env(safe-area-inset-right)); }
.nav-language { background: transparent; color: #70572c; border-color: rgba(112, 87, 44, .32); }

.cover-spark { position: absolute; z-index: 6; width: 3px; height: 3px; border-radius: 50%; background: #f8e7ae; box-shadow: 0 0 18px 6px rgba(248, 231, 174, .45); animation: spark 4.8s ease-in-out infinite; }
.cover-spark-a { left: 27%; top: 28%; }
.cover-spark-b { right: 23%; bottom: 31%; animation-delay: -2.2s; }

.opening.is-opening .cover-copy { opacity: 0; transform: translateY(-12px) scale(.96); filter: blur(4px); }
.opening.is-opening .cover-art { opacity: 0; transform: scale(1.18); filter: blur(7px); }
.opening.is-opening .opening-wing-left { transform: translateX(-102%) rotateY(-20deg); opacity: .2; }
.opening.is-opening .opening-wing-right { transform: translateX(102%) rotateY(20deg); opacity: .2; }
.opening.is-opening .wax-seal-art { animation: waxOpen .72s cubic-bezier(.17, .84, .3, 1) both; }
.opening.is-open { visibility: hidden; pointer-events: none; }
.opening.is-skipped { display: none; }

/* Persistent controls */
.music-toggle {
  position: fixed;
  z-index: 850;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 64px;
  height: 64px;
  border: 1px solid rgba(216, 190, 124, .55);
  border-radius: 50%;
  background: rgba(4, 38, 29, .92);
  color: var(--gold-light);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease, visibility .5s;
  backdrop-filter: blur(12px);
}
.invitation-opened .music-toggle { opacity: 1; visibility: visible; transform: none; }
.music-bars { height: 15px; display: flex; align-items: center; justify-content: center; gap: 2px; }
.music-bars i { width: 1px; height: 5px; background: currentColor; transform-origin: bottom; }
.music-toggle.is-playing .music-bars i { animation: equalize .8s ease-in-out infinite alternate; }
.music-toggle.is-playing .music-bars i:nth-child(2) { animation-delay: -.52s; }
.music-toggle.is-playing .music-bars i:nth-child(3) { animation-delay: -.28s; }
.music-toggle.is-playing .music-bars i:nth-child(4) { animation-delay: -.68s; }
.music-word { display: block; margin-top: 5px; font: 400 .4rem var(--sans); letter-spacing: .18em; text-transform: uppercase; }

.site-nav {
  position: fixed;
  z-index: 800;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5vw;
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, height .4s ease, box-shadow .4s ease;
}
.site-nav.scrolled { height: 68px; background: rgba(245, 239, 230, .88); border-color: var(--line); box-shadow: 0 10px 30px rgba(28, 22, 12, .05); backdrop-filter: blur(15px); }
.nav-monogram { justify-self: start; text-decoration: none; color: var(--ink); font: italic 1.75rem var(--serif); }
.nav-monogram span { color: var(--gold); font-family: var(--script); font-size: .68em; margin: 0 1px; }
.nav-date { margin: 0; color: #746a59; font: 400 .51rem var(--sans); letter-spacing: .32em; }
.nav-links { justify-self: end; display: flex; align-items: center; gap: 27px; }
.nav-links a { position: relative; color: var(--ink); text-decoration: none; font: 500 .55rem var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.nav-links a:not(.nav-rsvp)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 1px; background: var(--gold); transition: width .3s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-rsvp { padding: 10px 15px; border: 1px solid rgba(78, 64, 36, .66); }
.menu { display: none; justify-self: end; width: 38px; height: 38px; padding: 9px; border: 0; background: none; cursor: pointer; }
.menu span { display: block; height: 1px; margin: 6px 0; background: var(--ink); transition: transform .3s ease; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

html[dir="rtl"] body { font-family: var(--ar-sans); }
html[dir="rtl"] .cover-kicker,
html[dir="rtl"] .cover-date span,
html[dir="rtl"] .seal-instruction,
html[dir="rtl"] .seal-action,
html[dir="rtl"] .opening-hint,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .section-no,
html[dir="rtl"] .nav-links a,
html[dir="rtl"] .hero-date-top,
html[dir="rtl"] .hero-date > b,
html[dir="rtl"] .moment time em,
html[dir="rtl"] footer p:not(.footer-script),
html[dir="rtl"] footer small { font-family: var(--ar-sans); letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .cover-names,
html[dir="rtl"] .hero h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .footer-mark { font-family: var(--ar-serif); letter-spacing: 0; }
html[dir="rtl"] .small-script,
html[dir="rtl"] .story-sign,
html[dir="rtl"] .moment p,
html[dir="rtl"] .moment-cue strong,
html[dir="rtl"] .venue-title > p:last-child,
html[dir="rtl"] .details-head > p:last-child,
html[dir="rtl"] .rsvp-inner > p:not(.section-no, .small-script),
html[dir="rtl"] .footer-script { font-family: var(--ar-serif); font-style: normal; }
html[dir="rtl"] .hero-copy { left: auto; right: 6vw; text-align: right; }
html[dir="rtl"] .story-copy { margin-left: 0; margin-right: 42vw; text-align: right; }
html[dir="rtl"] .venue-title { padding-left: 0; padding-right: 3vw; margin-right: 0; margin-left: -3vw; text-align: right; }
html[dir="rtl"] .details,
html[dir="rtl"] .rsvp,
html[dir="rtl"] .invitation { direction: rtl; }
html[dir="rtl"] .accordion details { text-align: right; }

/* Hero: the couple is the world; the venue is only a signature. */
.hero {
  position: relative;
  min-height: max(780px, 100svh);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 48%, rgba(223, 207, 176, .44), transparent 33%),
    linear-gradient(135deg, var(--ivory-soft), var(--ivory) 52%, #eee5d8);
  border-bottom: 1px solid var(--line);
}
.hero::before { content: ""; position: absolute; z-index: 1; left: -12vw; bottom: -28vw; width: 58vw; height: 58vw; border: 1px solid rgba(165, 129, 63, .17); border-radius: 50%; }
.hero-halo { position: absolute; z-index: 1; right: 7vw; top: 14vh; width: min(47vw, 670px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(155, 122, 63, .27); }
.hero-halo::before, .hero-halo::after { content: ""; position: absolute; inset: 17px; border: 1px dotted rgba(155, 122, 63, .22); border-radius: 50%; }
.hero-halo::after { inset: 46%; border: 0; width: 8px; height: 8px; background: var(--gold); box-shadow: 0 0 0 8px rgba(173, 136, 70, .1); }

.hero-copy { position: absolute; z-index: 6; left: 6vw; top: 20vh; width: min(65vw, 1000px); pointer-events: none; opacity: 0; transform: translateY(28px); transition: opacity 1.05s ease .5s, transform 1.2s cubic-bezier(.18, .74, .24, 1) .5s; }
.hero-kicker { margin-left: .8vw; }
.hero h1 { position: relative; margin: 22px 0 0; font-weight: 400; }
.hero .name { display: block; width: max-content; font: 400 clamp(5.7rem, 11.5vw, 11.5rem)/.72 var(--serif); letter-spacing: -.075em; transform: translateY(0); }
.hero .name-ghadeer { margin-left: clamp(46px, 10vw, 160px); }
.hero h1 > i { position: absolute; left: clamp(170px, 31vw, 475px); top: 48%; color: var(--gold); font: italic clamp(2.6rem, 5vw, 5.4rem)/1 var(--script); transform: translateY(4px) rotate(-10deg); }
.hero-portrait { --px: 0px; --py: 0px; --hero-opacity: 1; position: absolute; z-index: 3; right: -1.4vw; bottom: -6.5vh; width: min(49vw, 730px); height: 92vh; opacity: 0; transform: translate3d(var(--px), calc(var(--py) + 28px), 0); transition: transform .9s cubic-bezier(.2, .7, .2, 1) .42s, opacity 1.2s ease .42s; }
.hero-portrait img { position: relative; z-index: 2; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; mix-blend-mode: normal; filter: saturate(.92) contrast(1.02); animation: coupleFloat 7s ease-in-out infinite; }
.portrait-aura { position: absolute; z-index: 1; left: 21%; right: 10%; bottom: 12%; height: 42%; border-radius: 50%; background: radial-gradient(ellipse, rgba(205, 179, 121, .25), transparent 66%); filter: blur(16px); }

.hero-date { position: absolute; z-index: 7; right: 4.7vw; top: 16vh; width: 160px; padding: 17px 13px 19px; text-align: center; color: #534a3b; background: rgba(245, 239, 230, .5); opacity: 0; transform: translateY(-16px); transition: opacity .9s ease .82s, transform 1s cubic-bezier(.18, .74, .24, 1) .82s; backdrop-filter: blur(5px); }
.hero-date::before, .hero-date::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-date::before { top: 0; }.hero-date::after { bottom: 0; }
.hero-date-top { font: 500 .43rem var(--sans); letter-spacing: .29em; text-transform: uppercase; }
.hero-date > div { display: flex; align-items: center; justify-content: center; gap: 3px; margin: 9px 0 5px; }
.hero-date strong { font: 400 3.55rem/.8 var(--serif); letter-spacing: -.09em; }
.hero-date div i { color: var(--gold); font: italic 1.45rem var(--script); }
.hero-date > b { font: 400 .4rem/1.7 var(--sans); letter-spacing: .21em; text-transform: uppercase; }
.hero-flourish { position: absolute; z-index: 5; left: 50%; bottom: 6vh; display: flex; align-items: center; gap: 11px; color: var(--gold); }
.hero-flourish span { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.hero-flourish span:last-child { transform: scaleX(-1); }
.hero-flourish i { font-size: .55rem; }
.scroll-cue { position: absolute; z-index: 7; left: 5vw; bottom: 29px; display: flex; gap: 14px; align-items: center; text-decoration: none; color: #5d5547; font: 500 .5rem var(--sans); letter-spacing: .23em; text-transform: uppercase; }
.scroll-cue i { color: var(--gold); font-size: 1rem; animation: nudge 2s ease-in-out infinite; }
.invitation-opened .hero-copy { opacity: 1; transform: none; }
.invitation-opened .hero-portrait { opacity: var(--hero-opacity); transform: translate3d(var(--px), var(--py), 0); }
.invitation-opened .hero-date { opacity: 1; transform: none; }

/* Editorial chapters */
.invitation { position: relative; min-height: max(880px, 100svh); display: grid; place-items: center; overflow: hidden; padding: 150px 25px; text-align: center; }
.invitation::before { content: ""; position: absolute; inset: 32px; border: 1px solid rgba(105, 88, 51, .13); }
.invitation-index { position: absolute; left: -.04em; top: -.17em; color: rgba(21, 22, 18, .027); font: 400 clamp(20rem, 45vw, 45rem)/1 var(--serif); letter-spacing: -.13em; }
.invitation-inner { position: relative; z-index: 3; width: min(790px, 100%); }
.invitation h2 { margin: 18px 0 34px; font: 400 clamp(3.8rem, 8.2vw, 7.8rem)/.89 var(--serif); letter-spacing: -.06em; }
.invitation-copy { max-width: 650px; margin: auto; color: #514b40; font: 400 1.25rem/1.78 var(--script); }
.mini-date { margin: 52px auto 0; display: flex; justify-content: center; align-items: center; gap: 28px; }
.mini-date span { font: 500 .5rem var(--sans); letter-spacing: .23em; text-transform: uppercase; }
.mini-date strong { padding: 0 25px; border-right: 1px solid #9a7c45; border-left: 1px solid #9a7c45; color: #876a34; font: 400 2.25rem var(--serif); }
.invitation-bloom { position: absolute; width: 250px; height: 480px; opacity: .14; filter: blur(.2px); }
.invitation-bloom::before, .invitation-bloom::after { content: ""; position: absolute; width: 90px; height: 190px; border: 1px solid #315d4d; border-radius: 100% 0 100% 0; transform: rotate(30deg); }
.invitation-bloom::after { left: 80px; top: 110px; width: 70px; height: 150px; transform: scaleX(-1) rotate(22deg); }
.bloom-left { left: -70px; bottom: -40px; transform: rotate(-23deg); }
.bloom-right { right: -78px; top: -20px; transform: rotate(158deg); }

.story { position: relative; min-height: max(930px, 100svh); overflow: hidden; }
.story::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 23, 18, .98) 5%, rgba(2, 23, 18, .84) 48%, rgba(2, 23, 18, .95)), url("opening-garden-original.webp") center / cover no-repeat; opacity: .34; filter: saturate(.78); }
.story-word { position: absolute; z-index: 1; left: -3vw; top: 50%; color: rgba(255, 255, 255, .04); font: 400 clamp(15rem, 34vw, 35rem)/.72 var(--serif); letter-spacing: -.13em; transform: translateY(-50%) rotate(-90deg); transform-origin: center; }
.story-orbit { position: absolute; z-index: 2; left: 9vw; top: 50%; width: 260px; height: 260px; display: flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid rgba(215, 189, 122, .26); border-radius: 50%; transform: translateY(-50%); color: var(--gold-light); }
.story-orbit::before { content: "10"; position: absolute; color: rgba(245, 239, 230, .82); font: 400 8rem/.8 var(--serif); }
.story-orbit span { position: relative; z-index: 2; margin-top: 122px; font: 500 .46rem var(--sans); letter-spacing: .24em; }
.story-orbit i { position: relative; z-index: 2; margin-top: 122px; }
.story-copy { position: relative; z-index: 3; width: min(700px, 48vw); margin-left: 43vw; padding: 155px 6vw 150px 0; }
.story h2 { margin: 25px 0 39px; font: 400 clamp(3.8rem, 6.6vw, 6.8rem)/.92 var(--serif); letter-spacing: -.055em; }
.story-copy > p:not(.section-no, .small-script) { max-width: 610px; color: #d8cebd; font: 400 1.22rem/1.82 var(--script); }
.story-sign { margin-top: 38px; color: var(--gold-light); font: italic 2.1rem var(--script); }
.story-place { position: absolute; z-index: 3; left: 6vw; bottom: 50px; margin: 0; color: rgba(232, 220, 197, .7); font: 500 .48rem var(--sans); letter-spacing: .23em; text-transform: uppercase; }
.story-place i { color: var(--gold-light); font: italic 1.3rem var(--script); letter-spacing: 0; text-transform: none; }

.date-stage { min-height: max(900px, 100svh); display: grid; place-items: center; padding: 130px 25px; text-align: center; overflow: hidden; }
.date-stage-copy { width: min(1100px, 100%); }
.date-whisper { margin: 22px 0 -12px; color: #786945; font: italic 1.45rem var(--script); }
.date-art { position: relative; max-width: 990px; margin: 52px auto 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; }
.date-art::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(58vw, 620px); aspect-ratio: 1; border: 1px solid rgba(151, 116, 52, .16); border-radius: 50%; transform: translate(-50%, -50%); }
.date-art .day { position: relative; z-index: 2; font: 400 clamp(8.5rem, 20vw, 19rem)/.68 var(--serif); letter-spacing: -.13em; }
.date-art > i { position: relative; z-index: 3; margin-left: -1.2vw; color: var(--gold); font: italic clamp(4rem, 8vw, 7.5rem) var(--script); }
.date-art > b { position: absolute; z-index: 3; right: 1%; bottom: -.2em; color: #7e6330; font: 400 clamp(1.1rem, 2.2vw, 2rem) var(--serif); letter-spacing: .5em; writing-mode: vertical-rl; }
.date-stage-copy > p:last-of-type { color: #665e51; font: italic 1.4rem var(--script); }
.countdown { margin: 57px 0 42px; display: flex; justify-content: center; gap: clamp(26px, 7vw, 87px); }
.countdown strong { display: block; color: #816534; font: 400 clamp(2.4rem, 4.8vw, 4.4rem)/1 var(--serif); }
.countdown span { display: block; margin-top: 9px; color: #615a4e; font: 500 .47rem var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.fine-button { min-height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; text-decoration: none; font: 500 .52rem var(--sans); letter-spacing: .21em; text-transform: uppercase; transition: color .3s ease, background .3s ease, transform .3s ease; }
.fine-button.dark { border: 1px solid #6a5734; color: var(--ink); }
.fine-button.dark:hover { background: var(--ink); color: var(--ivory); transform: translateY(-2px); }

/* The schedule is a gallery of floating moments: no rails, boxes or dividers. */
.schedule { position: relative; overflow: hidden; padding: 145px 6vw 80px; background: linear-gradient(180deg, #eee6da, var(--ivory) 46%, #ece3d5); color: var(--ink); }
.schedule::before { content: "THE EVENING"; position: absolute; top: 8.5%; left: 50%; color: rgba(20, 24, 18, .025); font: 400 clamp(8rem, 20vw, 20rem)/1 var(--serif); letter-spacing: -.1em; white-space: nowrap; transform: translateX(-50%); }
.schedule .section-no.light { color: #755d30; }
.schedule .small-script.gold { color: #896d38; }
.schedule-head { position: relative; z-index: 2; max-width: 830px; margin: 0 auto 120px; text-align: center; }
.schedule-head h2 { margin: 10px 0 25px; font: 400 clamp(4rem, 7.7vw, 7.4rem)/.9 var(--serif); letter-spacing: -.06em; }
.schedule-head > p:last-child { max-width: 580px; margin: auto; color: #625b50; font: 400 1.1rem/1.65 var(--script); }
.moments { position: relative; width: min(1180px, 100%); margin: auto; }
.moment { position: relative; min-height: 420px; display: grid; grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr); align-items: center; gap: clamp(15px, 6vw, 90px); margin: 0 auto clamp(52px, 8vh, 92px); isolation: isolate; }
.moment::before { content: attr(data-nothing); position: absolute; z-index: -1; width: 62%; height: 82%; right: 0; top: 9%; border-radius: 50%; background: radial-gradient(ellipse, rgba(197, 174, 128, .16), transparent 70%); filter: blur(8px); }
.moment.reverse { grid-template-columns: minmax(420px, 1.22fr) minmax(280px, .78fr); }
.moment.reverse .moment-copy { grid-column: 2; grid-row: 1; text-align: right; }
.moment.reverse figure { grid-column: 1; grid-row: 1; }
.moment.reverse::before { right: auto; left: 0; }
.moment-copy { position: relative; z-index: 4; padding: 25px 0; }
.moment-no { display: block; margin-bottom: 28px; color: #92743c; font: italic 1.05rem var(--script); }
.moment time { display: flex; align-items: baseline; gap: 9px; margin-bottom: 16px; }
.moment.reverse time { justify-content: flex-end; }
.moment time strong { font: 400 clamp(3.6rem, 6vw, 6.3rem)/.78 var(--serif); letter-spacing: -.08em; }
.moment time em { color: #8b6d36; font: 500 .48rem var(--sans); letter-spacing: .22em; }
.moment-cue { margin-bottom: 17px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.moment.reverse .moment-cue { align-items: flex-end; }
.moment-cue span { color: #8b6d36; font: 500 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.moment-cue strong { color: #4f493f; font: italic 1.45rem/1.05 var(--script); font-weight: 400; }
.moment h3 { margin: 0 0 10px; font: 400 clamp(2.1rem, 4vw, 3.7rem)/1 var(--serif); letter-spacing: -.035em; }
.moment p { margin: 0; color: #625b4f; font: 400 1.05rem/1.5 var(--script); }
.moment figure { position: relative; z-index: 2; height: 420px; margin: 0; padding: 12px; display: grid; place-items: center; overflow: visible; -webkit-mask-image: radial-gradient(ellipse 94% 90% at center, #000 68%, rgba(0, 0, 0, .82) 82%, transparent 100%); mask-image: radial-gradient(ellipse 94% 90% at center, #000 68%, rgba(0, 0, 0, .82) 82%, transparent 100%); }
.moment figure::after { content: ""; position: absolute; inset: 18% 8%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, rgba(22, 65, 49, .08), transparent 70%); filter: blur(17px); }
.moment figure img { width: min(540px, 100%); height: auto; max-height: 100%; object-fit: contain; opacity: .87; mix-blend-mode: multiply; filter: saturate(.58) sepia(.08) contrast(1.06); transform: scale(.94) translateY(14px); transition: transform 1.3s cubic-bezier(.16, .76, .25, 1), opacity 1.3s ease; }
.moment.seen figure img { opacity: .9; transform: scale(.99) translateY(0); }

/* The architecture appears only where it belongs: the venue chapter. */
.venue { padding: 145px 6vw 150px; overflow: hidden; }
.venue-intro { position: relative; width: min(1220px, 100%); margin: auto; display: grid; grid-template-columns: .82fr 1.38fr; align-items: center; gap: 0; }
.venue-title { position: relative; z-index: 3; padding-left: 3vw; margin-right: -3vw; text-align: left; }
.venue-title h2 { margin: 9px 0 25px; font: 400 clamp(4rem, 7.4vw, 7rem)/.86 var(--serif); letter-spacing: -.06em; }
.venue-title > p:last-child { color: #625b4f; font: 400 1.08rem/1.7 var(--script); }
.venue-sketch-wrap { position: relative; min-height: 420px; margin-left: -5vw; display: grid; place-items: center start; }
.venue-sketch-wrap::before { content: ""; position: absolute; width: 540px; max-width: 85%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(195, 168, 111, .17), transparent 67%); }
.venue-building { position: relative; z-index: 1; display: block; width: min(790px, 112%); max-width: none; opacity: .9; mix-blend-mode: multiply; transform: translateX(-1%); -webkit-mask-image: radial-gradient(ellipse 82% 76% at 53% center, #000 52%, rgba(0, 0, 0, .72) 73%, transparent 100%); mask-image: radial-gradient(ellipse 82% 76% at 53% center, #000 52%, rgba(0, 0, 0, .72) 73%, transparent 100%); }

.map-frame { position: relative; width: min(1120px, 100%); margin: 70px auto 0; padding: 25px; background: #e6dccb; box-shadow: 0 32px 90px rgba(45, 35, 19, .14); }
.map-frame::before { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(126, 100, 52, .62); pointer-events: none; }
.map-label { position: relative; z-index: 2; height: 57px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.map-label span { font: 500 .47rem var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.map-label strong { color: #765e31; font: italic 1.65rem var(--script); }
.map-frame iframe { position: relative; z-index: 2; display: block; width: 100%; height: 490px; border: 0; filter: grayscale(1) sepia(.25) contrast(.93); }
.map-actions { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 28px 18px 9px; text-align: left; }
.map-actions .small-script { margin: 0; color: #765e31; font-size: 1.23rem; }
.map-actions h3 { margin: 5px 0 0; font: 400 1.8rem var(--serif); }
.map-compass { position: absolute; z-index: 4; top: 82px; right: 45px; width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid rgba(74, 60, 37, .48); border-radius: 50%; color: #5d4d30; background: rgba(244, 238, 227, .76); backdrop-filter: blur(7px); }
.map-compass span { position: absolute; top: 7px; font: 500 .4rem var(--sans); }
.map-compass i { width: 1px; height: 27px; background: currentColor; transform: rotate(27deg); }
.map-compass b { position: absolute; font-size: .47rem; }

.details { position: relative; overflow: hidden; padding: 145px 7vw; }
.details::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 25%, rgba(27, 82, 63, .55), transparent 45%); }
.details-mark { position: absolute; right: -.07em; bottom: -.32em; color: rgba(255, 255, 255, .025); font: italic clamp(18rem, 42vw, 42rem)/1 var(--serif); letter-spacing: -.13em; }
.details-head { position: relative; z-index: 2; max-width: 760px; margin: 0 auto 80px; text-align: center; }
.details-head h2 { margin: 14px 0 23px; font: 400 clamp(4rem, 7.6vw, 7rem)/.9 var(--serif); letter-spacing: -.055em; }
.details-head > p:last-child { color: #bcb19f; font: 400 1.12rem var(--script); }
.accordion { position: relative; z-index: 2; max-width: 960px; margin: auto; border-top: 1px solid var(--light-line); }
.accordion details { padding: 31px 0; border-bottom: 1px solid var(--light-line); }
.accordion summary { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; list-style: none; cursor: pointer; font: 400 clamp(1.5rem, 3vw, 2.2rem) var(--serif); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--gold-light); font: italic 1rem var(--script); }
.accordion summary::after { content: "+"; color: var(--gold-light); font: 300 1.3rem var(--sans); }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { max-width: 650px; margin: 18px 0 0 72px; color: #bcb19f; font: 400 1.05rem/1.72 var(--script); }
.contact-actions { margin: 20px 0 2px 72px; }
.call-link { display: inline-flex; min-height: 52px; align-items: center; gap: 22px; padding: 0 20px; border: 1px solid rgba(215, 189, 122, .52); color: var(--ivory); text-decoration: none; transition: color .3s ease, background .3s ease, transform .3s ease; }
.call-link span { color: var(--gold-light); font: 500 .48rem var(--sans); letter-spacing: .19em; text-transform: uppercase; }
.call-link strong { font: 400 1.08rem var(--serif); letter-spacing: .025em; }
.call-link:hover { color: var(--emerald-deep); background: var(--gold-light); transform: translateY(-2px); }
.call-link:hover span { color: var(--emerald-deep); }

.rsvp { position: relative; min-height: max(780px, 100svh); display: grid; place-items: center; overflow: hidden; padding: 145px 25px; text-align: center; }
.rsvp::before { content: ""; position: absolute; inset: 29px; border: 1px solid var(--line); }
.rsvp-orbit { position: absolute; width: min(72vw, 720px); aspect-ratio: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 8%; border: 1px solid rgba(155, 121, 59, .18); border-radius: 50%; color: rgba(130, 101, 48, .35); font: 400 3rem var(--serif); animation: slowTurn 34s linear infinite; }
.rsvp-orbit::before { content: ""; position: absolute; inset: 22px; border: 1px dotted rgba(155, 121, 59, .14); border-radius: 50%; }
.rsvp-orbit i { font-size: .6rem; color: var(--gold); }
.rsvp-inner { position: relative; z-index: 2; width: min(760px, 100%); }
.rsvp h2 { margin: 12px 0 25px; font: 400 clamp(4.3rem, 9vw, 8.4rem)/.82 var(--serif); letter-spacing: -.07em; }
.rsvp-inner > p:not(.section-no, .small-script) { color: #655e51; font: italic 1.4rem var(--script); }
.rsvp-status { max-width: 590px; margin: 50px auto 0; padding: 28px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 16px; border-top: 1px solid #998054; border-bottom: 1px solid #998054; text-align: left; }
.rsvp-status > span { width: 8px; height: 8px; grid-row: 1 / 3; border: 1px solid #846b3d; border-radius: 50%; }
.rsvp-status strong { font: 400 1.25rem var(--serif); }
.rsvp-status small { color: #71695b; font-size: .64rem; line-height: 1.6; }

footer { position: relative; overflow: hidden; padding: 108px 22px 48px; background: var(--emerald-deep); color: var(--ivory); text-align: center; }
footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(2, 23, 18, .76), rgba(2, 23, 18, .94)), url("opening-garden-original.webp") center / cover no-repeat; opacity: .4; }
footer > * { position: relative; z-index: 2; }
.footer-script { margin: 0 0 12px; color: var(--gold-light); font: italic 1.45rem var(--script); text-transform: none; letter-spacing: 0; }
.footer-mark { color: var(--gold-light); font: 400 5rem var(--serif); }
.footer-mark i { margin: 0 8px; font: italic 2rem var(--script); }
footer p:not(.footer-script) { margin: 14px 0 0; font: 500 .55rem var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.footer-place { color: #aaa08f; }
footer small { display: block; margin-top: 45px; color: #746f65; font: 500 .5rem var(--sans); letter-spacing: .2em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s cubic-bezier(.18, .7, .25, 1); }
.reveal.seen { opacity: 1; transform: none; }

@keyframes coverBreathe { from { transform: scale(1.045); } to { transform: scale(1.085); } }
@keyframes coverCopyIn { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes waxHover { 0%, 100% { transform: translateY(0) rotate(-.25deg); } 50% { transform: translateY(-4px) rotate(.35deg); } }
@keyframes waxOpen { 0% { transform: scale(1); } 40% { transform: translateY(-5px) scale(1.14) rotate(-2deg); opacity: 1; } 100% { transform: translateY(12px) scale(.72) rotate(5deg); opacity: 0; } }
@keyframes spark { 0%, 100% { opacity: .15; transform: translateY(0) scale(.6); } 50% { opacity: .85; transform: translateY(-14px) scale(1); } }
@keyframes coupleFloat { 0%, 100% { transform: translateY(0) rotate(.15deg); } 50% { transform: translateY(-8px) rotate(-.15deg); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes equalize { from { transform: scaleY(.45); } to { transform: scaleY(2.1); } }
@keyframes slowTurn { to { transform: rotate(360deg); } }

@media (max-width: 1060px) {
  .hero-copy { top: 22vh; left: 5vw; }
  .hero .name { font-size: clamp(5rem, 11.5vw, 8.5rem); }
  .hero-portrait { right: -5vw; width: 53vw; }
  .hero-date { right: 3vw; top: 12vh; }
  .story-orbit { left: 5vw; width: 220px; height: 220px; }
  .story-copy { width: 55vw; margin-left: 39vw; }
  .moment { grid-template-columns: minmax(230px, .8fr) minmax(360px, 1.2fr); }
  .moment.reverse { grid-template-columns: minmax(360px, 1.2fr) minmax(230px, .8fr); }
  .venue-intro { grid-template-columns: .75fr 1.25fr; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 0; }
  .site-nav { height: 70px; padding: 0 23px; }
  .site-nav.scrolled { height: 64px; }
  .nav-date { display: none; }
  .site-nav { grid-template-columns: 1fr auto; }
  .menu { display: block; }
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; display: flex; align-items: flex-start; flex-direction: column; gap: 22px; padding: 32px 24px 38px; background: rgba(245, 239, 230, .97); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s ease, transform .3s ease, visibility .3s; backdrop-filter: blur(15px); }
  .nav-language { order: 6; }
  .site-nav.scrolled .nav-links { top: 64px; }
  .nav-links.show { opacity: 1; visibility: visible; transform: none; }
  .hero { min-height: max(760px, 100svh); }
  .hero-copy { top: 17vh; left: 6vw; width: 82vw; }
  html[dir="rtl"] .hero-copy { left: auto; right: 6vw; }
  .hero .name { font-size: clamp(5rem, 17vw, 8.2rem); }
  .hero .name-ghadeer { margin-left: 7vw; }
  .hero h1 > i { left: 38vw; top: 48%; }
  .hero-portrait { --hero-opacity: .84; right: -6vw; bottom: -8vh; width: 61vw; height: 76vh; }
  .hero-halo { right: -4vw; top: 31vh; width: 59vw; }
  .hero-date { top: auto; bottom: 14vh; left: 5vw; right: auto; width: 132px; }
  .hero-date strong { font-size: 2.9rem; }
  .story-orbit { left: -65px; width: 210px; height: 210px; opacity: .62; }
  .story-copy { width: 68vw; margin-left: 27vw; padding-right: 5vw; }
  .moment, .moment.reverse { grid-template-columns: minmax(210px, .78fr) minmax(300px, 1.22fr); gap: 15px; }
  .moment.reverse .moment-copy { grid-column: 2; }
  .moment figure { height: 350px; }
  .venue-intro { grid-template-columns: 1fr; gap: 0; }
  .venue-title { max-width: 620px; padding-left: 2vw; }
  .venue-sketch-wrap { min-height: 350px; margin: -25px 0 0; place-items: center; }
  .map-frame iframe { height: 410px; }
}

@media (max-width: 620px) {
  .opening::before { inset: 9px; }
  .opening::after { inset: 16px; }
  .cover-art {
    inset: -3%;
    background: radial-gradient(ellipse 82% 54% at 50% 48%, #124838 0%, #082f25 46%, var(--emerald-deep) 100%);
  }
  .cover-art::before,
  .cover-art::after {
    display: block;
    top: -2%;
    bottom: -2%;
    width: 70%;
    background-image: url("opening-garden-original.webp");
    background-repeat: no-repeat;
    background-size: auto 104%;
    filter: saturate(.92) brightness(.9);
    opacity: .96;
  }
  .cover-art::before {
    left: -2%;
    background-position: left center;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 54%, rgba(0, 0, 0, .72) 69%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 54%, rgba(0, 0, 0, .72) 69%, transparent 100%);
  }
  .cover-art::after {
    right: -2%;
    background-position: right center;
    -webkit-mask-image: linear-gradient(-90deg, #000 0%, #000 54%, rgba(0, 0, 0, .72) 69%, transparent 100%);
    mask-image: linear-gradient(-90deg, #000 0%, #000 54%, rgba(0, 0, 0, .72) 69%, transparent 100%);
  }
  .opening-wing { width: 72%; opacity: .78; }
  .cover-copy { width: calc(100vw - 44px); }
  .cover-kicker { margin-bottom: 18px; font-size: .46rem; }
  .cover-names { font-size: clamp(2.6rem, 12vw, 4rem); }
  .cover-date { gap: 9px; margin: 19px auto 22px; }
  .cover-date strong { padding: 0 10px; font-size: .55rem; letter-spacing: .13em; }
  .cover-date span { font-size: .39rem; letter-spacing: .17em; }
  .seal { width: min(200px, 61vw); }
  .wax-seal-art { width: 126px; height: 126px; }
  .opening-hint { bottom: 17px; font-size: .38rem; letter-spacing: .15em; }
  .music-toggle { right: 15px; bottom: 15px; width: 57px; height: 57px; }

  .hero { min-height: max(810px, 100svh); }
  .hero-copy { top: 126px; left: 21px; width: calc(100vw - 42px); }
  html[dir="rtl"] .hero-copy { left: auto; right: 21px; }
  .hero .name { font-size: clamp(4.15rem, 20vw, 6.15rem); line-height: .76; }
  .hero .name-ghadeer { margin-left: 21px; }
  .hero h1 > i { position: relative; left: 39%; top: auto; display: block; width: max-content; margin: 2px 0 -8px; font-size: 2.8rem; line-height: .7; }
  .hero-portrait { --hero-opacity: .9; right: -17vw; bottom: -35px; width: 94vw; height: 560px; }
  .hero-halo { top: auto; right: -21vw; bottom: 35px; width: 100vw; }
  .hero-date { left: 20px; bottom: 45px; width: 104px; padding: 12px 6px 13px; background: rgba(245, 239, 230, .68); }
  .hero-date strong { font-size: 2.35rem; }
  .hero-date-top, .hero-date > b { font-size: .34rem; }
  .hero-flourish, .scroll-cue { display: none; }

  .invitation { min-height: max(740px, 100svh); padding: 110px 29px; }
  .invitation::before { inset: 12px; }
  .invitation h2 { font-size: 3.55rem; }
  .invitation-copy { font-size: 1.12rem; }
  .mini-date { gap: 10px; }
  .mini-date span { font-size: .4rem; letter-spacing: .14em; }
  .mini-date strong { padding: 0 12px; font-size: 1.8rem; }
  .invitation-bloom { opacity: .08; }

  .story { min-height: max(860px, 100svh); }
  .story::before { background-position: center; opacity: .27; }
  .story-word { left: -27vw; font-size: 16rem; }
  .story-orbit { top: 17%; left: auto; right: -69px; width: 180px; height: 180px; transform: none; }
  .story-orbit::before { font-size: 5.7rem; }
  .story-orbit span, .story-orbit i { margin-top: 82px; }
  .story-copy { width: auto; margin: 0; padding: 115px 27px 125px; }
  .story h2 { font-size: 3.55rem; }
  .story-copy > p:not(.section-no, .small-script) { font-size: 1.12rem; }
  .story-place { left: 27px; bottom: 32px; }

  .date-stage { min-height: max(770px, 100svh); padding: 105px 19px; }
  .date-art { margin-top: 68px; }
  .date-art .day { font-size: 7.4rem; }
  .date-art > b { right: -4px; font-size: .76rem; }
  .countdown { gap: 15px; margin-top: 52px; }
  .countdown strong { font-size: 2.2rem; }
  .countdown span { font-size: .39rem; letter-spacing: .12em; }

  .schedule { padding: 108px 18px 55px; }
  .schedule-head { margin-bottom: 90px; padding: 0 5px; }
  .schedule-head h2 { font-size: 3.65rem; }
  .schedule-head > p:last-child { font-size: 1rem; }
  .moment, .moment.reverse { min-height: 330px; grid-template-columns: 44% 56%; gap: 0; margin-bottom: 42px; }
  .moment.reverse .moment-copy { grid-column: 2; grid-row: 1; padding-left: 4px; }
  .moment.reverse figure { grid-column: 1; grid-row: 1; }
  .moment-copy { padding: 15px 2px; }
  .moment-no { margin-bottom: 18px; font-size: .87rem; }
  .moment time { margin-bottom: 14px; gap: 5px; }
  .moment time strong { font-size: clamp(2.65rem, 12vw, 3.6rem); }
  .moment time em { font-size: .39rem; }
  .moment h3 { font-size: clamp(1.65rem, 7vw, 2.2rem); line-height: .98; }
  .moment p { font-size: .91rem; line-height: 1.35; }
  .moment-cue { margin-bottom: 14px; gap: 4px; }
  .moment-cue span { font-size: .62rem; letter-spacing: .16em; }
  .moment-cue strong { font-size: 1.15rem; }
  .moment figure { height: 300px; padding: 6px; -webkit-mask-image: radial-gradient(ellipse 96% 92% at center, #000 69%, rgba(0, 0, 0, .8) 84%, transparent 100%); mask-image: radial-gradient(ellipse 96% 92% at center, #000 69%, rgba(0, 0, 0, .8) 84%, transparent 100%); }
  .moment figure img { width: min(285px, 100%); max-width: none; height: auto; max-height: 100%; }

  .venue { padding: 105px 18px 110px; }
  .venue-title { padding-left: 7px; }
  .venue-title h2 { font-size: 4rem; }
  .venue-sketch-wrap { min-height: 300px; margin-top: -22px; }
  .venue-building { width: 114%; transform: none; }
  .map-frame { margin-top: 35px; padding: 15px; }
  .map-frame::before { inset: 7px; }
  .map-label { height: 48px; padding: 0 4px; }
  .map-label span { font-size: .37rem; letter-spacing: .14em; }
  .map-frame iframe { height: 365px; }
  .map-actions { display: block; padding: 24px 5px 6px; text-align: center; }
  .map-actions .fine-button { margin-top: 21px; }
  .map-compass { top: 71px; right: 27px; width: 53px; height: 53px; }

  .details { padding: 108px 23px; }
  .details-head { margin-bottom: 62px; }
  .details-head h2 { font-size: 3.85rem; }
  .accordion summary { grid-template-columns: 47px 1fr auto; font-size: 1.4rem; }
  .accordion details p { margin-left: 47px; }
  .contact-actions { margin-left: 47px; }
  .call-link { width: calc(100% - 47px); justify-content: space-between; gap: 14px; padding: 0 15px; }

  .rsvp { min-height: max(700px, 100svh); padding: 110px 28px; }
  .rsvp::before { inset: 12px; }
  .rsvp-orbit { width: 112vw; }
  .rsvp h2 { font-size: 4.45rem; }
  .rsvp-status { padding: 22px 4px; }
  .footer-mark { font-size: 4.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .opening.is-opening { display: none; }
  .hero-portrait { transform: none !important; }
}

/* Arabic type needs its own rhythm and correct inline alignment. */
html[dir="rtl"] .hero .name { font-family: var(--ar-serif); letter-spacing: 0; line-height: 1.1; margin-left: 0; }
html[dir="rtl"] .hero h1 > i { position: static; display: block; transform: none; width: auto; font-family: var(--ar-serif); font-style: normal; line-height: .7; margin: 0; }
html[dir="rtl"] h2, html[dir="rtl"] h3 { line-height: 1.35; }
html[dir="rtl"] .hero-copy { left: 6vw; right: auto; text-align: left; }
html[dir="rtl"] .hero .name { margin-right: auto; }
html[dir="rtl"] .hero h1 > i { text-align: center; max-width: 330px; }
html[dir="rtl"] .hero .name-ghadeer { margin-left: 4vw; }
html[dir="rtl"] .cover-names { line-height: 1.4; }
html[dir="rtl"] .accordion details p { margin-left: 0; margin-right: 47px; }
html[dir="rtl"] .moment time, .countdown, .cover-date strong, .nav-date, .map-actions span { direction: ltr; }
html[dir="rtl"] .story-copy { margin-right: 0; margin-left: 42vw; }
@media (max-width: 1000px) {
  html[dir="rtl"] .hero-copy { left: 6vw; right: auto; }
  html[dir="rtl"] .story-copy { margin-left: 25vw; margin-right: 0; }
}
@media (max-width: 620px) {
  html[dir="rtl"] .hero-copy { left: 21px; right: auto; }
  html[dir="rtl"] .hero .name { font-size: clamp(3.4rem, 16vw, 4.6rem); }
  html[dir="rtl"] .hero h1 > i { font-size: 2rem; max-width: 160px; }
  html[dir="rtl"] .hero .name-ghadeer { margin-left: 21px; }
  html[dir="rtl"] .story-copy { margin: 0; }
  html[dir="rtl"] .moment time em { font-size: .75rem; }
  html[dir="rtl"] .cover-kicker, html[dir="rtl"] .cover-date span, html[dir="rtl"] .opening-hint, html[dir="rtl"] .section-no, html[dir="rtl"] .countdown span { font-size: .75rem; }
}

/* Keep the Arabic names together and the invitation details readable. */
html[dir="rtl"] .hero h1 { display: flex; align-items: baseline; justify-content: flex-start; gap: .16em; width: max-content; max-width: 100%; direction: rtl; }
html[dir="rtl"] .hero .name { margin: 0; font-size: clamp(4rem, 7.5vw, 8rem); line-height: 1.3; }
html[dir="rtl"] .hero h1 > i { position: static; display: inline; width: auto; max-width: none; margin: 0; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.3; text-align: inherit; }
html[dir="rtl"] .mini-date span { font-family: var(--ar-sans); font-size: 1rem; line-height: 1.6; letter-spacing: 0; }
html[dir="rtl"] .story-word, html[dir="rtl"] .story-orbit { display: none; }
html[dir="rtl"] .footer-mark { font-family: var(--serif); }
html[dir="rtl"] .moment h3 { font-family: var(--ar-serif); line-height: 1.45; }
@media (max-width: 620px) {
  html[dir="rtl"] .hero h1 { gap: .14em; }
  html[dir="rtl"] .hero .name { font-size: clamp(2.6rem, 13vw, 4.6rem); margin: 0; }
  html[dir="rtl"] .hero h1 > i { font-size: 1.8rem; margin: 0; max-width: none; }
  html[dir="rtl"] .mini-date { gap: 12px; }
  html[dir="rtl"] .mini-date span { font-size: .9rem; }
}

/* Arabic hero and confirmation align within the viewport. */
html[dir="rtl"] .hero-copy { text-align: right; }
html[dir="rtl"] .hero-kicker { margin-left: 0; text-align: right; }
html[dir="rtl"] .hero h1 { width: 100%; box-sizing: border-box; padding-right: 18px; gap: 12px; }
html[dir="rtl"] .hero .name { width: auto; min-width: 0; flex: 0 0 auto; }
html[dir="rtl"] .hero h1 > i { flex: 0 0 auto; }
html[dir="rtl"] .rsvp-status { direction: rtl; text-align: center; grid-template-columns: 1fr; justify-items: center; }
html[dir="rtl"] .rsvp-status > span { display: none; }
html[dir="rtl"] .rsvp-status strong, html[dir="rtl"] .rsvp-status small { width: 100%; font-family: var(--ar-sans); }
@media (max-width: 620px) {
  html[dir="rtl"] .hero h1 { padding-right: 14px; gap: 10px; }
  html[dir="rtl"] .hero .name { font-size: clamp(2.2rem, 11.5vw, 4rem); }
  html[dir="rtl"] .hero h1 > i { font-size: 1.5rem; }
}

/* Keep language switching available outside the collapsed mobile menu. */
.nav-language { position: absolute; right: 5vw; white-space: nowrap; min-height: 40px; font-size: .875rem; }
.nav-links { padding-right: 155px; }
.opening-language { min-height: 44px; font-size: .875rem; }
@media (max-width: 1000px) {
  .nav-language { right: 76px; }
  .nav-links { padding-right: 24px; }
}
@media (max-width: 620px) {
  .nav-language { right: 62px; padding: 8px 12px; }
}
/* Fine gold chevrons, with generous invisible touch targets. */
.scroll-arrows { position: fixed; z-index: 840; right: max(21px, env(safe-area-inset-right)); bottom: max(108px, calc(env(safe-area-inset-bottom) + 94px)); display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.invitation-opened .scroll-arrows { opacity: 1; visibility: visible; }
.scroll-arrow { appearance: none; border: 0; background: transparent; padding: 8px; width: 44px; height: 44px; color: var(--gold); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.scroll-arrow svg { display: block; width: 28px; height: 20px; overflow: visible; filter: drop-shadow(0 1px 2px rgba(0,0,0,.12)); }
.scroll-arrow path { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.scroll-arrow-up svg { animation: goldChevronUp 3.4s ease-in-out infinite; }
.scroll-arrow-down svg { animation: goldChevronDown 3.4s ease-in-out infinite; }
.scroll-arrow:disabled { opacity: .2; cursor: default; }
.scroll-arrow:disabled svg { animation: none; }
.scroll-arrow:hover:not(:disabled) { color: var(--gold-light); }
.scroll-arrow:focus-visible { outline: 1px solid var(--gold); outline-offset: 1px; border-radius: 5px; }
@keyframes goldChevronUp { 0%, 70%, 100% { transform: translateY(0); } 35% { transform: translateY(-3px); } }
@keyframes goldChevronDown { 0%, 70%, 100% { transform: translateY(0); } 35% { transform: translateY(3px); } }
@media (max-width: 620px) { .scroll-arrows { right: 21px; bottom: max(91px, calc(env(safe-area-inset-bottom) + 79px)); } }
@media (prefers-reduced-motion: reduce) { .scroll-arrow svg { animation: none; } }
