/* --- Base / Reset --- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

:root {
  --text: #ffffff;
  --overlay: linear-gradient(
    to top,
    rgba(0,0,0,0.90) 0%,
    rgba(0,0,0,0.60) 100%
  );
  --max-width: 720px;
}

/* --- Hero layout --- */
.hero {
  position: relative;
  min-height: 100dvh; /* mobile-safe viewport */
  width: 100%;
  overflow: hidden;
  color: var(--text);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6vh 4vw;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;

}

.overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 1;
}

/* --- Content --- */
.content {
  position: relative;
  z-index: 2;
  width: min(var(--max-width), 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: min(150px, 32vw); /* 50% smaller than before */
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

.subheadline {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  margin: 0.75rem 0 0;
  white-space: nowrap;
  overflow: hidden;

  /* Prevent layout jump when empty */
  display: inline-block;
  min-height: 1.3em; /* equals one line */
}

/* Spacer between subheadline and email area */
.spacer {
  height: clamp(32px, 8vh, 80px);
}

/* Copy above the input */
.lead {
  margin: 0 0 0.75rem;
 font-family: 'Neue Montreal', sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.2vw + 0.6rem, 1.1rem);
  color: #FFFFC5;
}

.email-form input[type="email"] {
  width: min(270px, 92vw);
  padding: 10px 1.1rem;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.4); /* base border */
  color: #fff;
  font-size: 14px;
  outline: none;
  text-align: center;

  /* Transparent black background */
  background: rgba(0, 0, 0, 0.2);

  position: relative;
  z-index: 0;
  overflow: hidden;
}

.email-form input::placeholder {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

/* Shimmer border effect */
.email-form input[type="email"]::before {
  content: "";
  position: absolute;
  inset: -3px; /* thicker shimmer area */
  border-radius: inherit;
  padding: 3px; /* thickness of the shimmer border */
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255,255,255,0.9) 90deg,
    transparent 180deg,
    rgba(255,255,255,0.9) 270deg,
    transparent 360deg
  );
  -webkit-mask: 
    linear-gradient(#000 0 0) content-box, 
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-shimmer 3s linear infinite; /* always running */
  z-index: -1;
}

@keyframes spin-shimmer {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Keep focus consistent */
.email-form input[type="email"]:focus {
  border: 1px solid rgba(255,255,255,0.7);
}


/* Small helpers */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}


.footer {
  position: absolute;
  bottom: 110px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.footer .social-icon {
  width: 25px;
  height: 25px;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer .social-icon:hover {
  opacity: 1;
  transform: scale(1.05);
}





.contact-button {
  display: inline-block;
  padding: 6px 1.6rem;
  border-radius: 40px;
  font-family: 'Neue Montreal', sans-serif;
  font-weight: 400;

  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.25);

  color: #fff;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-decoration: none;
  text-align: center;

  transition: 
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.contact-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

