:root {
  --accent: #8c0f0a;
  --accent-hover: #a8140d;
  --ink: #f5f5f5;
  --bg: #0a0a0a;
  --overlay-opacity: 0.25; /* darkening overlay */
}

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

html,
body {
  height: 100%;
}

body {
  font-family: "Jost", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

/* Fullscreen background video (with dark brand fallback behind it) */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  background:
    radial-gradient(120% 120% at 50% 0%, #1a1a1a 0%, var(--bg) 60%);
}

/* Darkening overlay */
.overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #000;
  opacity: var(--overlay-opacity);
}

/* Centered content */
.content {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  gap: 1.5rem;
}

.logo {
  width: min(280px, 60vw);
  height: auto;
  /* Even dark halo so the white logo stays visible even over a light/white video frame */
  filter:
    drop-shadow(0 0 6px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 18px rgba(0, 0, 0, 0.45))
    drop-shadow(0 6px 22px rgba(0, 0, 0, 0.4));
}

.headline {
  font-weight: 500;
  font-size: clamp(1.6rem, 5vw, 3rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.claim {
  font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  letter-spacing: 0.04em;
  color: rgba(245, 245, 245, 0.82);
  max-width: 38ch;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.claim::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 1.2rem;
}

/* Contact menu wrapper (email + whatsapp click-to-choose) */
.contact-menu {
  position: relative;
  display: inline-flex;
}

/* Primary CTA — email */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.15rem);
  letter-spacing: 0.03em;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Secondary contacts */
.socials {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(245, 245, 245, 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.icon-btn:hover,
.contact-menu .icon-btn[aria-expanded="true"] {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Popover with the two choices */
.menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 190px;
  padding: 6px;
  background: rgba(18, 18, 18, 0.97);
  border: 1px solid rgba(245, 245, 245, 0.16);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  z-index: 5;
}

.menu[hidden] {
  display: none;
}

.menu--up {
  top: auto;
  bottom: calc(100% + 10px);
}

.menu-item {
  display: block;
  width: 100%;
  padding: 0.62rem 1rem;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.menu-item:hover {
  background: var(--accent);
  color: #fff;
}

.menu-item.copied,
.menu-item.copied:hover {
  background: transparent;
  color: var(--accent);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .cta,
  .icon-btn,
  .menu-item {
    transition: none;
  }
}
