/* Shared mechanics only. Each prototype owns its own look. */

html[lang="ar"] [lang="en"]:not(html),
html[lang="en"] [lang="ar"]:not(html) { display: none !important; }

[lang="ar"] { font-family: var(--font-ar, "Amiri", serif); }

/* Sample facts the owner has not confirmed yet. */
.sample {
  text-decoration: underline dotted;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

[data-guests][hidden] { display: none; }

.lang-toggle {
  font: inherit; cursor: pointer; background: none; border: 0; color: inherit;
  padding: 10px 4px; min-height: 44px;
}
.lang-toggle--ar { font-family: var(--font-ar, "Amiri", serif); font-size: 1.1em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* The engine hides entrance content until it reveals it. Keep everything visible
   unless the page has marked that the engine is running, so a slow or failed
   script never hides the invitation or the RSVP form. */
html:not(.motion-on) [data-sc-in],
html:not(.motion-on) [data-sc-stagger] > * { opacity: 1 !important; transform: none !important; }
