.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background-image: url("../src/images/PrimarySplash.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--bg) 18%, transparent),
      color-mix(in srgb, var(--bg) 34%, transparent)
    ),
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.08), transparent 90%);
}

.hero-content{
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  text-align: center;
  color: var(--text);
}

.hero-content h1{
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-content p{
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--muted);
}

.main-content{
  position: relative;
  z-index: 3;
  margin-top: -80px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  box-shadow: var(--shadow);
  padding-top: 36px;
}

.spotlight-header{
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 4rem;
  color: var(--text);
}

.spotlight{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 28px;
}

.spotlight h2{
  font-size: 4rem;
  margin: 30px;
  text-align: center;
}

.spotlight p{
  max-width: 700px;
  margin-bottom: 20px;
}

.spotlight-footer{
  text-align: center;
  margin: auto;
  color: var(--faint);
}

.spotlight-footer-container{
  padding-top: 40px
}

.spotlight-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.spotlight-card{
  grid-column: span 4;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.spotlight-card h3{
  margin-bottom: 8px;
  font-size: 1.1rem;
}

@media (max-width: 820px){
  .spotlight-card{
    grid-column: span 12;
  }
}

/* mobile fallback :/  */
@media (max-width: 900px), (pointer: coarse){
  .hero{
    background-attachment: scroll;
    min-height: 88vh;
  }

  .main-content{
    margin-top: -40px;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
  }
}
