/* reset + box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* full-bleed page */
html,
body {
  height: 100%;
  font-family: 'Open Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: black;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  overflow: hidden;
}

html {
  font-size: 130%;
}

.hero {
  position: relative;
  height: 100vh;
  background: url('background.jpg') no-repeat top left/cover;
  overflow: hidden;
  opacity: 0;
  transition: opacity 2s ease-out;
}

.hero.visible {
  opacity: 1;
}

.hero-content {
  position: absolute;
  top: 49%;
  left: 12.5%;
  transform: translateY(-50%);
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.word-leap {
  color: rgba(255, 255, 255, 0.95);
}

.word-tech {
  color: rgba(255, 255, 255, 0.7);
}

.subheading {
  margin-top: 1.8rem;
  margin-left: 0.3rem;
  font-size: clamp(1rem, 3vw, 2.2rem);
  font-weight: 300;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.7);
}

.tagline {
  margin-top: clamp(3rem, 8vw, 5.5rem);
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

.contact {
  margin-top: 0.85rem;
  font-size: clamp(0.9rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

/* RESPONSIVE: center and shrink on smaller devices */
@media (max-width: 768px) {
  .hero-content {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 1rem;
  }
}

/* extra small screens */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .tagline {
    margin-top: 1.5rem;
  }
}