/* Mutelet site layout */
:root {
  --site-section-height: 14rem;
}

.site-header {
  padding-bottom: 0;
}

.site-header nav {
  max-width: 45rem;
  margin-inline: auto;
}

.site-header nav ul {
  justify-content: flex-end;
}

main {
  padding-top: 0;
}

main > section {
  min-height: var(--site-section-height);
  display: grid;
  align-content: center;
}

main > .hero {
  min-height: 24rem;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem);
  align-items: center;
  gap: clamp(2rem, 8vw, 6rem);
}

.hero h1 {
  margin-block: 0 1.5rem;
  font-size: clamp(3rem, 10vw, 5rem);
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 36rem;
  margin-block-end: 0;
}

.menu-preview,
.hud-preview video,
.hud-preview img {
  width: 100%;
  opacity: 1;
  border: var(--border-width) solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 12%);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
}

.hud-preview {
  max-width: 48rem;
  margin: 2.5rem auto;
}

.hud-preview-static {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hud-preview video {
    display: none;
  }

  .hud-preview-static {
    display: block;
  }
}

@media only screen and (width <= 720px) {
  :root {
    --site-section-height: 11rem;
  }

  .site-header nav ul {
    justify-content: center;
    gap: 1.5rem;
  }

  main > .hero {
    min-height: 18rem;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .menu-preview {
    width: min(20rem, 100%);
    justify-self: center;
  }
}
