@font-face {
  font-family: "Tausend Soft";
  src: url("../fonts/TausendSoftVAR.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: "Tausend Soft", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 300;
  color: #fff;
  background: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.hero__tile {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111;
}

.hero__fade-top {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 30%;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.hero__carousel--images {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__carousel--images .hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__carousel--images .hero__slide--active {
  opacity: 1;
}

.hero__carousel--images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 10%;
  text-align: center;
}

.hero__logo {
  display: block;
  width: 90%;
  opacity: 0.4;
  line-height: 0;
}

.hero__logo img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.hero__subtitle {
  position: absolute;
  bottom: 30px;
  left: 0;
  z-index: 5;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .hero__carousel--images .hero__slide {
    transition: none;
  }
}
