:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #151514;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #151514;
}

body {
  user-select: none;
}

.viewer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #151514;
}

.viewer::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.07), transparent 18%, transparent 78%, rgba(0, 0, 0, 0.16));
}

.viewport {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  outline: none;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.viewport::-webkit-scrollbar {
  display: none;
}

.viewport:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.viewport.is-dragging {
  cursor: grabbing;
}

.track {
  position: relative;
  height: 100%;
  min-width: 100%;
}

.tile {
  position: absolute;
  overflow: hidden;
  background: #c5c7c1;
}

.tile img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  object-fit: fill;
  user-select: none;
}

.tile.is-loaded img {
  opacity: 1;
}

.chrome {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px 24px;
  color: rgba(10, 13, 12, 0.72);
  pointer-events: none;
  transition: opacity 500ms ease;
}

.wordmark,
.instruction {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.45);
}

.wordmark span {
  margin-left: 8px;
  color: rgba(10, 13, 12, 0.42);
}

.instruction {
  align-self: flex-end;
  transition: opacity 400ms ease, transform 400ms ease;
}

.instruction span {
  display: inline-block;
  margin-left: 8px;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 0;
  vertical-align: -1px;
}

.viewer.has-moved .instruction {
  opacity: 0;
  transform: translateY(5px);
}

.sr-only {
  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) {
  .chrome {
    padding: 16px 17px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chrome,
  .instruction {
    transition: none;
  }
}
