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

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #0a1420;
  color: #f8f4ec;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url("summitpick_background.png");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  isolation: isolate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(8, 16, 28, 0.35) 0%, rgba(6, 12, 22, 0.7) 100%),
    linear-gradient(180deg, rgba(6, 12, 22, 0.55) 0%, rgba(6, 12, 22, 0.35) 50%, rgba(6, 12, 22, 0.75) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 60rem;
  animation: fadeInUp 1.4s ease-out both;
}

.brand {
  display: inline-block;
  margin: 0 0 2rem;
  padding: 0.45rem 1.1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.headline {
  margin: 0 0 1.5rem;
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 8.5vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.55),
    0 1px 4px rgba(0, 0, 0, 0.45);
}

.subtitle {
  margin: 0 auto;
  max-width: 32rem;
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(248, 244, 236, 0.94);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

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

@media (max-width: 480px) {
  .brand {
    margin-bottom: 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.24em;
  }
  .hero__content {
    padding: 1.5rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content {
    animation: none;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
