/* Content and navigation remain usable if enhancement scripts never finish. */
.fade, .reveal, .rv, .mask > span, .hero h1 .ch {
  opacity: 1 !important;
  transform: none !important;
}
.statement .word, .manifesto .word, .manifesto .mw { opacity: 1 !important; }
#pre, #mobileMenu, #burger { display: none !important; }
body, a, button, input, select, textarea, label { cursor: auto !important; }
a, button { cursor: pointer !important; }
.g-card, .g-card .cap, .g-card .cap * { cursor: pointer !important; }
.cursor, .cursor-dot, #cur, #curDot { display: none !important; }

/* The desktop gallery must not depend on a scroll-driven translation. */
.gallery .hwrap { height: auto !important; }
.gallery .hpin {
  position: static !important;
  height: auto !important;
  display: block !important;
  overflow: visible !important;
}
.gallery .htrack {
  flex-wrap: wrap;
  justify-content: center;
  transform: none !important;
  overflow: visible !important;
  padding-block: 24px;
}
.gallery .g-arrow { display: none !important; }
.gallery .g-dots, #gDots, #gpagination { display: none !important; }

#header {
  position: relative !important;
  transform: none !important;
  background: var(--night, #060504) !important;
}
#header .nav, #header .wrap {
  flex-wrap: wrap;
  gap: 16px;
}
#header .nav-links {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px 20px;
}
#header .nav-links a { color: #F9F5EF !important; }
#header .nav-cta { display: inline-flex !important; }
@media (max-width: 899px) {
  #header .nav-links { width: 100%; order: 3; }
}

.faq-a {
  max-height: none !important;
  overflow: visible !important;
}
.faq-a[hidden] { display: none !important; }
.faq-item:not(.faq-ready) .faq-q .icon,
.faq-item:not(.faq-ready) .faq-icon { display: none; }

:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #D4805F !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 2px #060504;
}
.skip-link {
  position: fixed;
  z-index: 20000;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  padding: 12px 20px;
  background: #F9F5EF;
  color: #16130E;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.lightbox:not(.open), .th-panel:not(.open), .cookie:not(.show) {
  visibility: hidden;
}
.themer.open .th-panel { visibility: visible; }
body.save-date-page #intro { display: none !important; }
body.save-date-page #app { display: block !important; opacity: 1 !important; }
body.save-date-page .prev:not(.open) { visibility: hidden; }

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