/* ==========================================================================
   OMAR & RAGHDA — LONG-FORM PAGE
   Loaded after site.css. The finished invitation plate is the hero; the
   rest of the page carries the day, the venue and the reply.
   ========================================================================== */

/* ---------- navigation ---------- */

.site-nav {
  background: rgba(248, 242, 230, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  font-family: var(--font-script);
  font-size: 1.6rem;
  letter-spacing: 0;
  text-transform: none;
  gap: 0.18em;
  padding-block: 8px;
}

.brand em {
  font-style: normal;
  font-size: 0.72em;
  color: var(--jute-700);
}

.nav-links a:hover { border-bottom-color: var(--sage-500); }

/* ---------- hero: the invitation plate ---------- */

.hero--invite {
  min-height: calc(100svh - var(--nav-h));
  display: block;
  padding: clamp(1.75rem, 5vw, 3.5rem) 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 12% 0%, #b8b9a8 0%, transparent 55%),
    radial-gradient(110% 100% at 92% 100%, #7c816e 0%, transparent 62%),
    linear-gradient(135deg, #a9aa9a 0%, #9a9c8b 46%, #8d907e 100%);
}

.hero--invite::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(114deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 24px),
    var(--texture-paper);
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero--invite .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  justify-items: center;
  gap: clamp(1.5rem, 3.5vw, 2.25rem);
}

.hero--invite .parchment {
  width: min(540px, 88vw);
}

.hero--invite .invite-actions { margin: 0; }

.hero__scroll {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(0.55rem, 1.4vw, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: rgba(252, 248, 239, 0.66);
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 26px;
  margin: 12px auto 0;
  background: linear-gradient(rgba(252, 248, 239, 0.6), rgba(252, 248, 239, 0));
}

/* ---------- story prints ---------- */

.print {
  background: var(--paper-50);
  border-color: var(--line);
  padding: 9px;
  box-shadow:
    0 22px 40px -24px rgba(47, 50, 39, 0.42),
    0 5px 14px rgba(47, 50, 39, 0.06);
}

.print figcaption { color: var(--ink-400); }

.print--venue { padding: 8px; }

/* ---------- venue ---------- */

.venue__plate {
  background: var(--paper-50);
  border-color: var(--line);
}

/* ---------- reply ---------- */

.reply { background: var(--sage-900); }

.reply .label,
.reply__save { color: var(--jute-300); }

.reply__rule { background: var(--jute-400); }

.reply__when { color: var(--sage-200, #DCE3D1); }

.rfield > span { color: var(--jute-300); }
.rcheck, .rsvp__hint, .reply__note { color: var(--sage-200, #DCE3D1); }

.rfield input:focus,
.rfield select:focus {
  border-color: var(--sage-500);
  box-shadow: 0 0 0 3px rgba(131, 145, 115, 0.28);
}

/* ---------- footer ---------- */

.footer__mark {
  font-family: var(--font-script);
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
}

.footer__mark em {
  font-style: normal;
  font-size: 0.7em;
  color: var(--jute-700);
}

.footer__meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}
.footer__meta a:hover { border-bottom-color: var(--ink-800); }

/* ---------- small screens ---------- */

@media (max-width: 480px) {
  .hero--invite { padding-block: 1.5rem 2.5rem; }
  .hero--invite .parchment { width: 100%; }
  .hero--invite .invite-actions { width: 100%; }
}
