@font-face {
  font-family: "Jthsab 5";
  src: url("./assets/fonts/JThSaB5.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Jthsab 7";
  src: url("./assets/fonts/JThSaB7.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Jthsab 9";
  src: url("./assets/fonts/JThSaB9.ttf") format("truetype");
  font-display: swap;
}

:root {
  --cream: #f5f6f7;
  --ink: #191a1a;
  --purple: #140126;
  --pink: #e9009a;
  --footer: #191a1a;
  --muted: rgba(240, 240, 240, 0.5);
  --body: "Open Sans", Arial, sans-serif;
  --heading: "Jthsab 9", Impact, sans-serif;
  --eyebrow: "Jthsab 5", Impact, sans-serif;
  --button: "Jthsab 7", Impact, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--purple);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./assets/images/hero-dj.jpg") center 51% / cover no-repeat;
}

.hero__logo {
  width: min(54vw, 44rem);
  min-width: 32rem;
  height: auto;
  display: block;
  animation: speaker-bounce 522ms ease-in-out infinite;
  transform-origin: center;
}

.main {
  background: var(--purple);
  color: var(--cream);
  min-height: calc(100vh - 30rem);
}

.intro {
  width: min(100% - 8rem, 40rem);
  margin: 0 auto;
  padding: 6rem 0;
  text-align: center;
}

.intro > * {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin: 0 auto 1rem;
  color: var(--pink);
  font-family: var(--eyebrow);
  font-size: clamp(1.8rem, 1.65rem + 0.35vw, 2rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--cream);
  font-family: var(--heading);
  font-size: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  font-weight: 400;
  line-height: 0.85;
  text-transform: uppercase;
}

.body-copy {
  margin: 1rem auto 2rem;
  max-width: 40rem;
  color: #fff;
}

.body-copy a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.phone-link {
  white-space: nowrap;
}

.offer-list {
  margin: 2.5rem auto 2rem;
}

.offer {
  font-family: var(--button);
  font-weight: 700;
  margin: 0 auto 1rem;
}

.offer span {
  color: inherit;
}

.button {
  width: fit-content;
  min-width: 5rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 1rem 2rem;
  border-radius: 2.6rem;
  background: var(--pink);
  color: white;
  font-family: var(--button);
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
}

.button__track {
  height: 1em;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  transition: transform 360ms cubic-bezier(0.19, 1, 0.22, 1);
}

.button:hover .button__track,
.button:focus-visible .button__track {
  transform: translateY(calc(-1em - 0.95rem));
}

.button:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

.footer {
  background: var(--purple);
  color: var(--muted);
  padding: 0 4rem 6rem;
  text-align: center;
}

.footer p {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 0.82rem;
  line-height: 1.45;
}

@keyframes speaker-bounce {
  0%, 100% {
    transform: scale(1);
  }

  18% {
    transform: scale(1.035);
  }

  38% {
    transform: scale(0.995);
  }

  58% {
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo {
    animation: none;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 62vh;
  }

  .hero__logo {
    width: min(108vw, 42rem);
    min-width: 0;
  }

  .intro {
    width: min(100% - 4rem, 40rem);
  }

  .footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 479px) {
  .hero {
    min-height: 57vh;
    background:
      linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
      url("./assets/images/hero-dj.jpg") 40% 0 / auto 100% no-repeat;
  }

  .hero__logo {
    width: min(112vw, 42rem);
  }

  .intro {
    width: min(100% - 3rem, 40rem);
    padding: 4rem 0;
  }

  .eyebrow {
    max-width: 18rem;
    font-size: clamp(1.25rem, 6vw, 1.55rem);
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.25rem);
    max-width: 18rem;
  }

  .body-copy {
    max-width: 21rem;
    margin-left: auto;
    margin-right: auto;
  }

  .footer {
    padding: 0 1.5rem 4rem;
  }
}
