* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #080b10;
}

body {
  color: #fff;
  font-family: "Montserrat", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 700px) {
  .hero {
    min-height: 0;
    height: 70svh;
  }

  .hero__content {
    padding: 16px 0;
  }

  .hero__description {
    margin-top: 20px;
  }

  .download {
    margin-top: 20px;
  }

  .store-buttons {
    margin-top: 16px;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.hero__background,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__background {
  z-index: -2;
  background-image: url("assets/concert-background.jpg");
  background-position: center center;
  background-size: cover;
  transform: scale(1.01);
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 6, 10, .22) 0%, rgba(3, 6, 10, .37) 48%, rgba(3, 6, 10, .72) 100%),
    radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .18) 78%);
}

.hero__content {
  width: min(1040px, calc(100% - 48px));
  margin: auto;
  padding: clamp(48px, 8vh, 88px) 0;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .65);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: clamp(8px, 1.1vh, 13px); */
}

.brand__logo {
  display: block;
  width: min(910px, 94vw);
  height: auto;
  filter: drop-shadow(0 4px 9px rgba(0, 0, 0, .7));
}

.brand__tagline {
  margin: -20px 0 0;
  font-family: "Avenir Next", Avenir, "Montserrat", sans-serif;
  font-size: clamp(1.4rem, 3.4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: .125em;
  text-transform: uppercase;
  text-shadow:
      0 2px 4px rgba(0, 0, 0, 0.9),
      0 4px 14px rgba(0, 0, 0, 0.55);
}

.hero__description {
  max-width: 900px;
  margin: clamp(44px, 9vh, 94px) auto 0;
  font-family: "Avenir Next", Avenir, "Montserrat", sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.72rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.015em;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 4px 14px rgba(0, 0, 0, 0.55);
}

.download {
  /* margin-top: clamp(34px, 5vh, 52px); */
  margin: clamp(44px, 9vh, 94px) auto 0;
}

.download__label {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Montserrat", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.62rem);
  font-weight: 500;
  line-height: 1.4;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 4px 14px rgba(0, 0, 0, 0.55);
}

.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
}

.store-button {
  display: block;
  height: 70px;
  border-radius: 8px;
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
  transition: transform .15s ease, filter .15s ease;
}

.store-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.store-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.store-button img {
  display: block;
  width: auto;
  height: 100%;
}

@media (max-width: 700px) {
  .hero__background {
    /* The source image is very wide. Centering on the DJ keeps the strongest
       concert focal point visible when the image is cropped to portrait. */
    background-position: 57% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(3, 6, 10, .31) 0%, rgba(3, 6, 10, .45) 46%, rgba(3, 6, 10, .8) 100%),
      radial-gradient(circle at 50% 32%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .2) 72%);
  }

  .hero__content {
    width: min(100% - 34px, 560px);
    padding: 44px 0 36px;
  }

  .brand__logo {
    width: min(96vw, 640px);
  }

  .hero__description {
    max-width: 480px;
    margin-top: clamp(38px, 7vh, 58px);
  }

  .download {
    margin-top: 34px;
  }
}

@media (max-width: 430px) {
  .brand__logo {
    width: 98vw;
  }

  .brand__tagline {
    max-width: 390px;
    font-size: clamp(1.05rem, 4.7vw, 1.28rem);
    letter-spacing: .025em;
  }

  .hero__description {
    font-size: 1.16rem;
  }

  .store-buttons {
    gap: 8px;
  }

  .store-button {
    height: clamp(50px, 15vw, 60px);
  }
}

@media (max-height: 650px) and (min-width: 701px) {
  .hero__content {
    padding: 28px 0;
  }

  .brand__logo {
    width: min(720px, 78vw);
  }

  .hero__description {
    margin-top: 28px;
  }

  .download {
    margin-top: 22px;
  }
}

.city-map {
  width: 100%;
  background-color: #606780;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 0;
}

.city-map__image {
  display: block;
  width: 100%;
  max-width: 1280px;
  height: auto;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 24px max(32px, calc((100% - 1280px) / 2));
  background: #080b10;
  color: #a5a9b2;
  font-size: 0.8rem;
}

.footer__copyright {
  margin: 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__links a {
  color: #a5a9b2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #fff;
}

@media (max-width: 700px) {
  .footer {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 24px 16px;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
    gap: 12px 20px;
  }
}
