* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-width: 320px;
  background: #fff;
}

body { color: #111; }

.home-page {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.source-section {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.source-artwork {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080808;
}

.hero-loop {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-logo {
  position: absolute;
  z-index: 1;
  top: 15.8833%;
  left: 15.8833%;
  display: block;
  width: 68%;
  height: auto;
}

.hero-title {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.latest-work-artwork,
.people-artwork { transition: opacity 180ms ease; }

.latest-work-artwork.is-changing,
.people-artwork.is-changing { opacity: .35; }

.latest-arrow {
  position: absolute;
  z-index: 3;
  top: 37%;
  width: 9%;
  height: 27%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.latest-arrow--previous { left: 0; }
.latest-arrow--next { right: 0; }

.latest-arrow:focus-visible,
.people-next:focus-visible,
.contact-envelope-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

.people-stage {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.people-next {
  position: absolute;
  z-index: 3;
  top: 43%;
  right: 1.5%;
  width: 8%;
  height: 16%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.projects-section {
  position: relative;
  width: 100%;
  aspect-ratio: 1921 / 1663;
  background: #9f9f9f;
  touch-action: pan-y;
}

.projects-heading {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 100%;
  height: auto;
}

.projects-viewport {
  position: absolute;
  inset: 27.24% 0 0;
  overflow: hidden;
}

.projects-track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.projects-strip {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  max-width: none;
}

.contact-envelope-link {
  position: absolute;
  z-index: 2;
  top: 36.5%;
  left: 39%;
  width: 22%;
  height: 30%;
  display: block;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 600px) {
  .latest-arrow { width: 12%; }
  .people-next {
    right: 0;
    width: 11%;
  }
  .contact-envelope-link {
    left: 36%;
    width: 28%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero { background-image: url("assets/trio-header-poster.jpg"); background-position: center; background-size: cover; }
  .hero-loop { display: none; }
  .latest-work-artwork,
  .people-artwork { transition: none; }
}
