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

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
}

/* Background slideshow */
.slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2000ms ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* Gradient overlay */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(10, 37, 64, 0.85) 0%,
    rgba(10, 37, 64, 0.55) 60%,
    transparent 100%
  );
}

/* Content layout */
.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.logo {
  height: 6rem;
  width: auto;
}

.intro {
  max-width: 42rem;
}

.badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

h1 {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tagline {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 28ch;
}

.contact {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  background: #f5b70a;
  color: #0a2540;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: background 200ms ease;
}

.email-button:hover {
  background: #ffc42a;
}

.hint {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

footer {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Desktop styles */
@media (min-width: 768px) {
  .content {
    padding: 3.5rem 3rem;
  }

  .logo {
    height: 8rem;
  }

  h1 {
    font-size: 3.75rem;
  }

  .tagline {
    font-size: 1.25rem;
    max-width: 40ch;
  }

  .hint {
    text-align: left;
  }

  .email-button {
    align-self: flex-start;
  }
}
