/* Local behaviour for the static Kalima replica. Next.js client bundles are not loaded. */

.opacity-0.translate-y-8 {
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
}

[style*="opacity:0"] {
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
}

video.hero-bg-video {
  visibility: visible !important;
  opacity: 1 !important;
}

/* The statement band is a tall scroll region. Keep the sentence on screen. */
div[style*="height:143vh"] > .h-screen {
  position: sticky;
  top: 0;
}

.hx-light header {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 0, 0, 0.08);
}

.hx-light header img:not(.kalima-logo) {
  filter: brightness(0);
  opacity: 0.8;
}

.hx-light header a > span {
  color: rgba(26, 26, 26, 0.8);
}

.hx-light header a[href^="mailto:"] {
  border-color: rgba(26, 26, 26, 0.22);
  color: #1a1a1a;
}

.hx-light header a[href^="mailto:"]:hover {
  background: #1a1a1a;
  color: #fff;
}

.hx-light header button[aria-label="Open menu"],
.hx-light header button[aria-label="Close menu"] {
  color: rgba(26, 26, 26, 0.75);
}

body.hx-menu-open {
  overflow: hidden;
}

body.hx-menu-open .hx-overlay {
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.hx-menu-open .hx-drawer {
  transform: none !important;
  translate: none !important;
}

body.hx-menu-open .hx-drawer nav a,
body.hx-menu-open .hx-drawer .mt-12,
body.hx-menu-open .hx-drawer .mt-auto {
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
}

#implementation [data-hx-step] {
  cursor: pointer;
}

.hx-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #1a1a1a;
}

a.kalima-mark {
  display: flex;
  align-items: center;
  width: min(168px, 42vw);
  line-height: 0;
  flex-shrink: 0;
}

.kalima-footer-mark {
  width: min(220px, 72vw);
  line-height: 0;
  background: #1a1a1a;
  padding: 0 1.5rem;
}

img.kalima-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

/* White mark on the dark glass header. On light sections, turn it solid black so it stays visible. */
.hx-light header img.kalima-logo {
  filter: brightness(0);
  opacity: 0.88;
}

header {
  height: auto !important;
  min-height: 3.5rem;
}
