@font-face {
  font-family: "Gap Sans";
  src: url("GapSans-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --gap-white: #ffffff;
  --gap-black: #000000;
  --gap-navy: #002554;
  --pointer-x: 50vw;
  --pointer-y: 50vh;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--gap-white);
  background: var(--gap-black);
  font-family: "Gap Sans";
  font-weight: 500;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.video-scrim {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(0, 37, 84, 0.2), rgba(0, 0, 0, 0.65) 48%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75));
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(0.2rem, 0.8vh, 0.45rem);
  padding: clamp(1rem, 2.2vh, 2rem);
  transform-style: preserve-3d;
}

.logo-shell {
  width: min(72vw, 560px, 34vh);
  padding: 0;
  animation: floatIn 1200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 16px rgba(0, 37, 84, 0.6));
  transform: translateZ(24px);
}

h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.15rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  font-weight: 500;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  animation: riseIn 1100ms ease both;
  animation-delay: 120ms;
}

.leadline {
  margin: 0.15rem 0 0;
  font-size: clamp(0.84rem, 1.4vw, 1.02rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.82;
  animation: riseIn 1100ms ease both;
  animation-delay: 240ms;
}

.notify-form {
  margin-top: 1.15rem;
  display: block;
  width: min(86vw, 460px, 36rem);
  gap: 0;
  align-items: center;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  animation: riseIn 1100ms ease both;
  animation-delay: 300ms;
}

.input-wrap {
  position: relative;
}

.notify-form input {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0.84rem 3.1rem 0.84rem 0.95rem;
  min-height: 46px;
  font-size: 0.92rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--gap-white);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
  transition: background-color 180ms ease;
}

.notify-form input::placeholder {
  font-family: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
}

.notify-form input:focus {
  background: rgba(255, 255, 255, 0.2);
}

.notify-form button {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  background: rgba(0, 37, 84, 0.78);
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.notify-form button::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 1.5px solid var(--gap-white);
  border-right: 1.5px solid var(--gap-white);
  transform: rotate(45deg);
}

.notify-form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.notify-form button:active {
  transform: translateY(0);
}

.form-status {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  animation: riseIn 1100ms ease both;
  animation-delay: 360ms;
}

.form-status.is-visible {
  display: inline-flex;
  margin: 0.6rem 0 0;
}

.form-status.error {
  color: #ffd0d0;
  background: rgba(255, 208, 208, 0.1);
}

.form-status.success {
  color: var(--gap-white);
  background: linear-gradient(135deg, rgba(0, 37, 84, 0.7), rgba(255, 255, 255, 0.08));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

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

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.64);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}

.contact-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 180ms ease;
  pointer-events: auto;
}

.contact-footer a:hover {
  color: var(--gap-white);
}

@media (max-width: 680px) {
  .logo-shell {
    width: min(86vw, 420px, 28vh);
  }

  .notify-form {
    width: min(92vw, 420px);
    padding: 0;
  }
}

@media (max-height: 760px) {
  .hero {
    gap: 0.15rem;
    padding-block: 0.9rem;
  }

  .logo-shell {
    width: min(62vw, 420px, 26vh);
  }

  h1 {
    font-size: clamp(1.05rem, 2.4vw, 2rem);
    margin-top: 0.15rem;
  }

  .leadline {
    font-size: clamp(0.78rem, 1.15vw, 0.92rem);
  }

  .notify-form {
    margin-top: 0.9rem;
  }
}
