:root {
  --text-light: #f3f6f4;
  --text-muted: rgba(243, 246, 244, 0.86);
  --glass: rgba(4, 16, 14, 0.58);
  --glass-border: rgba(255, 255, 255, 0.14);
  --emerald: #44dba0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  overflow: hidden;
  color: var(--text-light);
  background: #000;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  /* Lift typical dark footage slightly so detail reads through the scrim */
  filter: brightness(1.12) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Vignette: darker at edges, opens up bright in the center */
  background:
    radial-gradient(
      ellipse 85% 75% at 50% 46%,
      rgba(0, 0, 0, 0.06) 0%,
      rgba(0, 0, 0, 0.12) 32%,
      rgba(0, 0, 0, 0.6) 56%,
      rgba(0, 0, 0, 0.84) 78%,
      rgba(0, 0, 0, 0.95) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      transparent 28%,
      transparent 72%,
      rgba(0, 0, 0, 0.55) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  width: min(760px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 0;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
}

.hero-logo {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

.hero-logo.round { border-radius: 50%; }
.hero-logo.square {
  border-radius: 50%;
  object-position: center;
  transform: none;
}

h1 {
  margin: 0;
  font-size: clamp(2.08rem, 5.9vw, 3.58rem);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55), 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-title {
  --build-stagger: 0.075s;
  --future-start: 0.62s;
  --dots-start: 1.12s;
  --beam-start: 1.52s;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.22em 0.32em;
  perspective: 720px;
}

.hero-title::after {
  content: "";
  flex-basis: 100%;
  align-self: center;
  width: 0;
  height: 3px;
  margin-top: 0.32em;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(68, 219, 160, 0.5),
    rgba(99, 255, 200, 0.95),
    rgba(68, 219, 160, 0.5),
    transparent
  );
  box-shadow: 0 0 14px rgba(68, 219, 160, 0.35);
  opacity: 0;
  animation:
    beamLay 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    beamPulse 4.4s ease-in-out infinite;
  animation-delay: var(--beam-start), calc(var(--beam-start) + 1.1s);
}

.word-building,
.word-future {
  display: inline-flex;
}

.future-with-dots {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.hero-title .brick,
.hero-title .dot {
  display: inline-block;
  transform-origin: 50% 100%;
}

.hero-title .brick {
  opacity: 0;
  transform: translateY(0.95em) rotateX(-82deg) scale(0.45);
  animation:
    brickStack 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    brickIdle 4.8s ease-in-out infinite;
  animation-delay:
    calc(var(--i) * var(--build-stagger)),
    calc(var(--beam-start) + 0.45s + var(--i) * 0.05s);
}

.hero-title .brick-late {
  animation-delay:
    calc(var(--future-start) + var(--i) * var(--build-stagger)),
    calc(var(--beam-start) + 0.45s + var(--i) * 0.05s);
}

.hero-title .dot {
  opacity: 0;
  transform: translateY(-0.55em) scale(0);
  animation:
    dotDrop 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    dotIdle 1.8s ease-in-out infinite;
  animation-delay:
    calc(var(--dots-start) + var(--i) * 0.11s),
    calc(var(--beam-start) + 1.35s + var(--i) * 0.18s);
}

@keyframes brickStack {
  0% {
    opacity: 0;
    transform: translateY(0.95em) rotateX(-82deg) scale(0.45);
  }
  55% {
    opacity: 1;
    transform: translateY(-0.08em) rotateX(0deg) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
  }
}

@keyframes dotDrop {
  0% {
    opacity: 0;
    transform: translateY(-0.55em) scale(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes beamLay {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: min(17rem, 86vw);
    opacity: 1;
  }
}

@keyframes brickIdle {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg) scale(1);
  }
  50% {
    transform: translateY(-0.055em) rotateX(0deg) scale(1.015);
  }
}

@keyframes dotIdle {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 0.75;
    transform: translateY(-0.08em) scale(1.04);
  }
}

@keyframes beamPulse {
  0%,
  100% {
    opacity: 0.9;
    box-shadow: 0 0 14px rgba(68, 219, 160, 0.35);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 18px rgba(87, 234, 177, 0.52);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title::after {
    animation: none;
    width: min(17rem, 86vw);
    opacity: 0.85;
  }

  .hero-title .brick,
  .hero-title .dot {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.subtext {
  margin: 16px auto 0;
  font-size: clamp(1.03rem, 2.1vw, 1.22rem);
  max-width: 620px;
  line-height: 1.5;
  color: var(--text-muted);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.cta {
  margin-top: 30px;
  display: inline-block;
  padding: 13px 38px;
  border-radius: 9px;
  border: 1px solid rgba(177, 244, 220, 0.65);
  background: rgba(7, 42, 33, 0.42);
  font-weight: 600;
  font-size: 1.01rem;
}

.cta:hover {
  background: rgba(68, 219, 160, 0.18);
}

.tagline {
  position: static;
  margin: 18px 0 0;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(244, 247, 245, 0.9);
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-motto {
  margin: 42px 0 0;
  font-size: clamp(1.35rem, 3.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55), 0 4px 20px rgba(0, 0, 0, 0.45);
}

.hero-line {
  opacity: 0;
  transform: translateY(22px) scale(0.95);
  animation: popUp 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-line-1 { animation-delay: 100ms; }
.hero-line-3 { animation-delay: 1.45s; }
.hero-line-4 { animation-delay: 1.62s; }
.hero-line-5 { animation-delay: 1.78s; }

@keyframes popUp {
  0% { opacity: 0; transform: translateY(22px) scale(0.95); }
  70% { opacity: 1; transform: translateY(-3px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .hero-logo {
    width: 92px;
    height: 92px;
  }
}

@media (max-width: 720px) {
  html,
  body {
    overflow-y: auto;
  }

  .hero-content {
    padding: 70px 0 36px;
  }

  .hero-video {
    object-position: 58% center;
  }

  .logo-row {
    gap: 12px;
    margin-bottom: 20px;
  }

  .hero-logo {
    width: 76px;
    height: 76px;
  }

  .hero-logo.square {
    border-radius: 50%;
    transform: none;
  }

  .tagline {
    margin-top: 14px;
    margin-bottom: 8px;
  }

  .hero-motto {
    margin-top: 34px;
  }
}
