/* ===================================================================
   Refined, light wedding site — styling.
   Warm ivory + soft sand + muted gold. Calligraphic serif type,
   subtle geometric (khatim) motifs. Content lives in config.js.
   =================================================================== */

:root {
  /* Palette — warm ivory, soft sand, muted antique gold */
  --cream:     #f6f0e6;   /* page background */
  --cream-2:   #efe7d8;   /* alternating sections */
  --ivory:     #fcf9f3;   /* cards / surfaces */
  --sand:      #e7dcc6;   /* bands, envelope */
  --sand-2:    #ddccae;
  --gold:      #b8975f;   /* accent */
  --gold-deep: #9a7b45;
  --taupe:     #8a7c69;   /* secondary text */
  --ink:       #463f36;   /* primary text (warm charcoal) */
  --ink-soft:  #7d7163;
  --deep:      #463f36;   /* footer band */
  --white:     #ffffff;

  --font-arabic:  "Amiri", "Cormorant Garamond", serif;
  --font-calligraphy: "Aref Ruqaa", "Amiri", serif;   /* ornate Arabic calligraphy */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-serif:   "Cormorant Garamond", Georgia, serif;
  --font-sans:    "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-soft: 0 18px 50px -30px rgba(90, 70, 40, 0.4);
  --maxw: 1080px;

  /* 8-pointed-star (khatim) tile, two overlapped squares + dot */
  --geo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23b8975f' stroke-width='1'%3E%3Crect x='24' y='24' width='36' height='36'/%3E%3Crect x='24' y='24' width='36' height='36' transform='rotate(45 42 42)'/%3E%3Ccircle cx='42' cy='42' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-snap-type: y mandatory; scroll-padding-top: 0; }

body {
  font-family: var(--font-serif);
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; height: 100vh; }

a { color: inherit; text-decoration: none; }

[hidden] { display: none !important; }

/* ---------- Snap-to-page scrolling ---------- */
.hero, .countdown, .section, .footer { scroll-snap-align: start; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  padding: 0.95rem 2.7rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 28px -16px rgba(154, 123, 69, 0.8);
}
.btn:hover { background: var(--gold-deep); transform: translateY(-2px); }

/* ---------- Monogram crest (gold medallion image) ---------- */
.crest { display: block; margin: 0 auto; height: auto; }
.crest--lg { width: clamp(220px, 62vw, 300px); margin-bottom: 1rem; }
.crest--xl { width: clamp(260px, 70vw, 380px); margin-bottom: 0; }
.crest--sm { width: 150px; margin-bottom: 1rem; }

/* ===================================================================
   ENVELOPE INTRO — full-screen; flap opens in 3D, then the page slips up
   =================================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  background: radial-gradient(125% 120% at 50% 34%, #fdf8ee 0%, var(--cream) 55%, var(--cream-2) 100%);
  transition: transform 1.3s cubic-bezier(0.5, 0, 0.18, 1), opacity 0.6s ease;
  will-change: transform;
}
/* the opening page slips up to reveal the site, casting a shadow below it */
.intro.is-leaving {
  transform: translateY(-112%);
  box-shadow: 0 44px 90px -8px rgba(60, 44, 22, 0.5);
}
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.envelope {
  position: absolute;
  top: 47%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 460px);
  aspect-ratio: 7 / 5;
  perspective: 1900px;
  box-shadow: 0 30px 60px -20px rgba(110, 80, 45, 0.6), 0 3px 10px rgba(110, 80, 45, 0.16);
  transition: opacity 0.5s ease;
}

/* inside lining — revealed as the flap opens (gives 3D depth) */
.env__lining {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, #efe4cf 0%, var(--cream) 58%);
  transition: opacity 0.5s ease;
}
.env__lining::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 64%;
  background: linear-gradient(180deg, rgba(110, 85, 50, 0.26), rgba(110, 85, 50, 0.04) 60%, transparent);
  clip-path: polygon(0 0, 100% 0, 50% 92%);
}

/* front pocket: covers the bottom; top edge dips to the center (chevron) */
.env__pocket {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(168deg, #f4ecd9 0%, #e6d8ba 100%);
  clip-path: polygon(0 0, 50% 50%, 100% 0, 100% 100%, 0 100%);
  transition: opacity 0.5s ease;
}
.env__pocket::after {
  content: ""; position: absolute; inset: 0; clip-path: inherit;
  background: radial-gradient(120% 60% at 50% 0%, rgba(150, 120, 75, 0.16), transparent 60%);
}

/* top flap — opens upward in 3D, slowly and smoothly, casting a shadow */
.env__flap {
  position: absolute; left: 0; top: 0; width: 100%; height: 58%;
  z-index: 5;
  background: linear-gradient(165deg, #f7f0e0 0%, #e8dbbf 72%, #dccba9 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: 50% 0;
  transform: rotateX(0deg);
  transition: transform 1.2s cubic-bezier(0.42, 0.02, 0.16, 1),
              filter 1.1s ease,
              opacity 0.5s ease;
  filter: drop-shadow(0 6px 12px rgba(120, 90, 50, 0.2));
}
.env__flap::after {          /* subtle satin sheen across the flap */
  content: ""; position: absolute; inset: 0; clip-path: inherit;
  background: linear-gradient(108deg, transparent 43%, rgba(255, 255, 255, 0.4) 50%, transparent 57%);
}

/* wax seal — now carries the monogram; rides up with the flap as it opens */
.env__seal {
  position: absolute; left: 50%; top: 50%; z-index: 6;
  width: clamp(88px, 21vw, 124px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #ffffff, #f5eee1 62%, #e9ddc7);
  box-shadow:
    0 12px 26px -6px rgba(120, 90, 50, 0.45),
    inset 0 0 0 5px rgba(255, 255, 255, 0.6),
    inset 0 -3px 12px rgba(150, 120, 80, 0.2);
  transition: opacity 0.5s ease;
}
/* fixed stamp size (independent of the disc) + nudge down ~8% to optically
   centre the crest, which sits high in its own transparent canvas */
/* monogram fills the disc; nudged down ~8% to optically centre the crest,
   which sits high in its own transparent canvas */
.env__seal-mono { width: 105%; height: auto; display: block; transform: translateY(8%); }

.intro__hint {
  position: absolute; left: 0; right: 0; bottom: 13%; z-index: 7; text-align: center;
  font-family: var(--font-sans);
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--taupe);
  animation: hintPulse 2.2s ease-in-out infinite;
}
@keyframes hintPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.95; } }

/* --- OPEN SEQUENCE (driven by JS, one clean transition per state) --- */
/* 1. stamp fades in place */
.intro.is-sealing .env__seal { opacity: 0; }
.intro.is-sealing .intro__hint { opacity: 0; animation: none; transition: opacity 0.3s ease; }
/* 2. flap opens upward in 3D, shadow grows */
.intro.is-opening .env__flap {
  transform: rotateX(178deg);
  filter: drop-shadow(0 26px 30px rgba(80, 55, 25, 0.35));
}
/* 3. the whole envelope (paper + its cast shadow) fades out to the plain cream page */
.intro.is-blank .envelope { opacity: 0; }
/* 4. is-leaving (defined above) slips the blank page up to reveal the site */

@media (prefers-reduced-motion: reduce) {
  .intro { transition: opacity 0.5s ease; }
  .env__flap, .env__seal { transition: opacity 0.4s ease !important; }
  .intro__hint { animation: none; }
}

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1.1rem 2rem;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.nav.is-scrolled {
  background: rgba(246, 240, 230, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px -18px rgba(90, 70, 40, 0.5);
  padding: 0.65rem 2rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav__links a { color: var(--ink); transition: color 0.25s ease; position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s ease;
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__links a:hover { color: var(--gold-deep); }
.nav__cta {
  color: var(--white) !important;
  background: var(--gold);
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
}
.nav__cta:hover { background: var(--gold-deep); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(76vw, 320px);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    background: rgba(246, 240, 230, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px -20px rgba(90, 70, 40, 0.55);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 1.5rem 5.5rem;
  background: #2a2018;             /* fallback behind the video */
  overflow: hidden;
}

/* blurred wedding-table video background */
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);         /* hides the soft blurred edges */
  filter: blur(9px) saturate(1.05);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(34, 26, 17, 0.55) 0%, rgba(34, 26, 17, 0.34) 42%, rgba(34, 26, 17, 0.66) 100%),
    radial-gradient(120% 90% at 50% 42%, transparent 38%, rgba(26, 19, 11, 0.42) 100%);
}
.hero__pattern {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--geo);
  opacity: 0.06;
}

.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero__inner > * { text-shadow: 0 2px 18px rgba(18, 12, 5, 0.55); }

.hero__bismillah {
  /* Thuluth Bismillah calligraphy artwork (recolored gold, transparent PNG) */
  display: block;
  width: min(440px, 80vw);
  height: auto;
  margin: 0 auto 0.9rem;
  filter: drop-shadow(0 2px 12px rgba(18, 12, 5, 0.5));
}
.hero__bismillah-tr {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(0.85rem, 2.6vw, 1.05rem);
  color: rgba(247, 241, 230, 0.86); margin-bottom: 1.5rem;
}
.invite__pretext {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1rem, 3vw, 1.35rem);
  letter-spacing: 0.04em;
  color: rgba(247, 241, 230, 0.92);
  margin: 0.6rem 0 0.1rem;
}
.hero__names {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 10vw, 5.8rem);
  line-height: 1.05;
  color: #fdfaf3;
  letter-spacing: 0.01em;
}
.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3.4vw, 1.85rem);
  color: #e7d3a4;
  margin-top: 0.5rem;
}
.hero__divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin: 1.6rem 0; color: #d9c290; font-size: 1.2rem;
  font-family: var(--font-arabic);
}
.hero__divider span { display: block; width: clamp(40px, 14vw, 120px); height: 1px; background: linear-gradient(to right, transparent, #d9c290); }
.hero__divider span:last-child { transform: scaleX(-1); }
.hero__date {
  font-family: var(--font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: #f4ecdc;
  margin-bottom: 2.2rem;
}
.hero__btn { box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.55); }

/* monogram over the video → soft shadow for separation */
.hero .crest { filter: drop-shadow(0 3px 18px rgba(18, 12, 5, 0.5)); }

/* scroll-to-continue prompt */
.hero__continue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.18rem;
  color: var(--cream); text-shadow: 0 2px 12px rgba(18, 12, 5, 0.6);
  animation: hintPulse 2.4s ease-in-out infinite;
}
.hero__continue-text { font-family: var(--font-sans); font-size: 0.64rem; letter-spacing: 0.3em; text-transform: uppercase; }
.hero__continue-arrow {
  width: 9px; height: 9px; margin-top: 0.3rem;
  border-right: 1.5px solid var(--cream); border-bottom: 1.5px solid var(--cream);
  transform: rotate(45deg); animation: arrowBob 1.8s ease-in-out infinite;
}
@keyframes arrowBob { 0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.7; } 50% { transform: rotate(45deg) translate(2px, 2px); opacity: 1; } }

.hero__petals { display: none; }

/* ===================================================================
   COUNTDOWN
   =================================================================== */
.countdown {
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 5.5rem 1.5rem;
  background: var(--cream-2);
  position: relative;
}
.countdown::before { display: none; }   /* geometric pattern removed per preference */
.countdown__title {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 4.2vw, 2.2rem);
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}
.countdown__date {
  position: relative;
  font-family: var(--font-sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold-deep);
  margin-bottom: 2.2rem;
}
.countdown__grid {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 5vw, 3.5rem);
}
.countdown__unit { min-width: 76px; }
.countdown__unit span {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4rem);
  color: var(--ink);
  line-height: 1;
}
.countdown__unit label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  color: var(--taupe);
  margin-top: 0.5rem;
  display: block;
}

/* ===================================================================
   SECTIONS (shared)
   =================================================================== */
.section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  padding: clamp(5rem, 9vw, 7rem) 1.5rem;
}
.section__inner { max-width: var(--maxw); width: 100%; margin: 0 auto; text-align: center; }
.section--story    { background: var(--cream); }
.section--details  { background: var(--cream-2); }
.section--schedule { background: var(--cream); }
.section--travel   { background: var(--cream-2); }
.section--registry { background: var(--cream); }
.section--rsvp     { background: var(--cream-2); }

.section__eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--gold-deep);
  margin-bottom: 0.8rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 5.6vw, 3.4rem);
  color: var(--ink);
  line-height: 1.12;
  margin-bottom: 2.2rem;
}
.section__flourish { color: var(--gold); font-size: 1.5rem; margin: 0.8rem 0 2.4rem; font-family: var(--font-arabic); }

/* Story / Travel text blocks */
.story__text, .travel__text {
  max-width: 680px; margin: 0 auto;
  font-size: 1.2rem; line-height: 1.9; color: var(--ink);
}

/* ---------- Detail cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}
.card {
  background: var(--ivory);
  border: 1px solid rgba(184, 151, 95, 0.28);
  border-radius: 16px;
  padding: 2.6rem 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.card::before {
  content: ""; position: absolute; inset: 9px; border-radius: 10px;
  border: 1px solid rgba(184, 151, 95, 0.2); pointer-events: none;
}
.card__kicker {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.card__time { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; font-weight: 500; color: var(--ink); }
.card__venue { font-size: 1.3rem; margin-top: 0.4rem; }
.card__addr { font-family: var(--font-sans); font-size: 0.86rem; color: var(--ink-soft); margin-top: 0.5rem; line-height: 1.5; }
.card__map {
  display: inline-block; margin-top: 1.1rem;
  font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-deep);
  border-bottom: 1px solid var(--gold); padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.card__map:hover { color: var(--ink); border-color: var(--ink); }

.dresscode {
  margin-top: 2.6rem; padding: 2rem;
  background: var(--ivory); border-radius: 16px;
  max-width: 640px; margin-left: auto; margin-right: auto;
  box-shadow: var(--shadow-soft);
}
.dresscode p { font-style: italic; font-size: 1.15rem; }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none; max-width: 600px; margin: 0 auto; text-align: left;
  position: relative; padding-left: 2.4rem;
}
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--gold), var(--sand));
}
.timeline li { position: relative; padding: 0 0 2.2rem 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -2.4rem; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--ivory); border: 3px solid var(--gold);
}
.timeline__time {
  font-family: var(--font-sans); font-size: 0.76rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-deep);
}
.timeline__title { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; font-weight: 500; margin-top: 0.15rem; color: var(--ink); }
.timeline__desc { color: var(--ink-soft); }

/* ---------- Registry ---------- */
.registry__note { max-width: 560px; margin: 0 auto 2rem; font-style: italic; font-size: 1.15rem; }
.registry__links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.registry__links a {
  font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-deep);
  background: var(--ivory); border: 1px solid rgba(184, 151, 95, 0.4);
  padding: 0.9rem 2rem; border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.registry__links a:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }

/* ===================================================================
   RSVP FORM
   =================================================================== */
.rsvp__deadline {
  font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2.4rem;
}
.rsvp__form {
  max-width: 540px; margin: 0 auto; text-align: left;
  background: var(--ivory); padding: 2.6rem clamp(1.4rem, 5vw, 2.6rem);
  border-radius: 18px; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(184, 151, 95, 0.22);
}
.field { margin-bottom: 1.5rem; }
.field > label {
  display: block; font-family: var(--font-sans); font-size: 0.76rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 0.55rem;
}
.field > label span { color: var(--gold-deep); }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%; font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink);
  background: var(--cream); border: 1px solid rgba(184, 151, 95, 0.38);
  border-radius: 10px; padding: 0.85rem 1rem; transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 151, 95, 0.16);
}
.radio-row { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.radio {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-serif); font-size: 1.05rem; text-transform: none;
  letter-spacing: normal; color: var(--ink); cursor: pointer; margin: 0;
}
.radio input { accent-color: var(--gold); width: 18px; height: 18px; }
.rsvp__submit { width: 100%; margin-top: 0.6rem; }
.rsvp__status {
  margin-top: 1.2rem; text-align: center; font-style: italic; min-height: 1.4em;
  transition: color 0.3s ease;
}
.rsvp__status.is-success { color: var(--gold-deep); font-style: normal; }
.rsvp__status.is-error   { color: #b4452f; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { text-align: center; padding: 4rem 1.5rem 3rem; background: var(--deep); color: var(--cream); }
.footer__divider {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  color: var(--gold); margin-bottom: 1.4rem; font-family: var(--font-arabic); font-size: 1.2rem;
}
.footer__divider span { display: block; width: 60px; height: 1px; background: var(--gold); opacity: 0.6; }
.footer__names { font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 2.8rem); color: var(--cream); }
.footer__hashtag {
  font-family: var(--font-sans); letter-spacing: 0.2em; text-transform: uppercase;
  font-size: 0.76rem; color: var(--sand); margin-top: 0.6rem; opacity: 0.85;
}
.footer__credit { font-style: italic; color: var(--sand); margin-top: 1.4rem; font-size: 0.95rem; opacity: 0.7; }
.footer__crest { margin-bottom: 1.4rem; }
