@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500&display=swap');

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: #0a0a0a;
  color: #fafafa;
  min-height: 100vh;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}

body.loaded {
  opacity: 1;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.3;
  filter: grayscale(20%);
  animation: ken-burns 25s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes ken-burns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.12) translate(-1.5%, 1%);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero__name {
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              letter-spacing 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__name.is-visible {
  opacity: 1;
  transform: translateY(0);
  letter-spacing: 0.12em;
}

.hero__tagline {
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__tagline.is-visible {
  opacity: 0.6;
  transform: translateY(0);
}

.socials {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.socials.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.socials__link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fafafa;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.socials__link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.socials__link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Gallery */

.gallery {
  padding: 4rem 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gallery__row {
  overflow: hidden;
  width: 100%;
}

.gallery__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
}

.gallery__row--left .gallery__track {
  animation: scroll-left 60s linear infinite;
}

.gallery__row--right .gallery__track {
  animation: scroll-right 60s linear infinite;
}

.gallery__track img {
  height: 280px;
  width: auto;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Spotify Embed */

.spotify {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.spotify__heading {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.5rem;
}

.spotify iframe {
  border-radius: 12px;
}

/* Bio */

.bio {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.bio__heading {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.5rem;
}

.bio__text {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.8;
  text-align: center;
}

@media (max-width: 768px) {
  .gallery__track img {
    height: 200px;
  }

  .gallery {
    padding: 2rem 0;
    gap: 1rem;
  }

  .gallery__track {
    gap: 1rem;
  }
}

.hero__tagline-break {
  display: none;
}

@media (max-width: 480px) {
  .hero__tagline-break {
    display: block;
  }

  .socials {
    gap: 1.25rem;
  }

  .socials__link svg {
    width: 20px;
    height: 20px;
  }

  .gallery__track img {
    height: 150px;
  }
}
