/* Home */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #050505;
}

.hero-slides,
.hero-slide,
.hero-slide img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  z-index: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 900ms ease, visibility 900ms;
}

.hero-slide.is-active {
  visibility: visible;
  opacity: 1;
}

.hero-slide img {
  transform: scale(1.025);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 7s linear;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-shade {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.28), transparent 34%),
    linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent 36%),
    linear-gradient(to right, rgba(0, 0, 0, 0.15), transparent 48%);
}

.hero-meta,
.hero-controls,
.hero-work-link {
  position: absolute;
  z-index: 3;
  bottom: 32px;
}

.hero-meta {
  left: var(--page-gutter);
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-meta p {
  margin: 0;
}

.hero-controls {
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-controls > button:not(.hero-play) {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-controls > button:hover {
  opacity: 1;
  transform: scale(1.08);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dots button {
  width: 18px;
  height: 14px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.hero-dots button::after {
  display: block;
  width: 100%;
  height: 1px;
  transform: scaleX(0.35);
  background: white;
  content: "";
  opacity: 0.5;
  transition: transform 240ms var(--ease-out), opacity 240ms ease;
}

.hero-dots button:hover::after,
.hero-dots button[aria-current="true"]::after {
  transform: scaleX(1);
  opacity: 1;
}

.hero-play {
  min-width: 48px;
  padding: 7px 0 7px 8px;
  background: transparent;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-work-link {
  right: var(--page-gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease;
}

.hero-work-link span {
  transition: transform 220ms var(--ease-out);
}

.hero-work-link:hover {
  border-color: white;
}

.hero-work-link:hover span {
  transform: translate(3px, 3px);
}
