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

:root {
  --bg: #101010;
  --text: #f5efe7;
  --muted: rgba(245, 239, 231, 0.82);
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

p,
a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
}

.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2em;
  display: flex;
  align-items: center;
  z-index: 3;
}

.topbar > div {
  flex: 1;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2em;
}

.floating-copy {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 100vw;
  padding: 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.page-footer {
  position: absolute;
  bottom: 0;
  width: 100vw;
  padding: 2em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 2;
}

.slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slide-active {
  position: absolute;
  inset: 0;
}

.slide-next {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-next-img {
  width: 250px;
  height: 350px;
  overflow: hidden;
  clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.slider-content {
  position: absolute;
  left: 2em;
  bottom: 0;
  width: calc(100% - 2em);
  height: 180px;
  overflow: hidden;
  z-index: 2;
}

.slider-content-active,
.slider-content-next {
  position: absolute;
  left: 0;
  width: 100%;
}

.slider-content-active {
  top: 0;
}

.slider-content-next {
  top: 200px;
}

h1 {
  text-transform: uppercase;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(82px, 11vw, 150px);
  font-weight: 500;
  line-height: 0.9;
  color: var(--text);
  letter-spacing: -0.04em;
  text-align: center;
}

h1 span {
  position: relative;
  display: inline-block;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions,
  .page-footer {
    display: none;
  }

  .brand {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .topbar,
  .floating-copy {
    padding: 1.2em;
  }

  .floating-copy {
    top: 38%;
  }

  .slide-next-img {
    width: 200px;
    height: 280px;
  }

  .slider-content {
    left: 1.2em;
    width: calc(100% - 1.2em);
    height: 110px;
  }

  .slider-content-next {
    top: 140px;
  }

  h1 {
    font-size: 68px;
  }
}
