html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-scroller {
  width: 100dvw;
  height: 100dvh;
  overflow-x: auto;
  overflow-y: hidden;
  overflow-anchor: none;
  overscroll-behavior: none;
  scrollbar-width: none;
  padding-block: var(--grid-gap);
  box-sizing: border-box;
}

.project-scroller::-webkit-scrollbar {
  display: none;
}

.project-track {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: var(--grid-gap);
  width: max-content;
}

.project-set {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: var(--grid-gap);
}

.project-shot {
  display: block;
  height: 100%;
  width: auto;
  flex-shrink: 0;
  background: var(--surface);
}

.project-shot img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}

.project-bar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  pointer-events: none;
}

.project-bar__card {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 12.5rem;
  min-height: 3rem;
  padding: 0.35rem 0.35rem 0.35rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(12, 12, 12, 0.5);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-bar__who {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.project-bar__title {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}

.project-bar__date {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.project-bar__grid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  text-decoration: none;
}

.project-bar__grid svg {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
}

@media (max-width: 560px) {
  html,
  body {
    height: auto;
    overflow: auto;
  }

  .project-scroller {
    width: 100%;
    height: auto;
    overflow: visible;
    padding: var(--grid-gap);
  }

  .project-track,
  .project-set {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: var(--grid-gap);
  }

  .project-shot {
    width: 100%;
    height: auto;
  }

  .project-shot img {
    width: 100%;
    height: auto;
    max-width: none;
  }

  .project-bar {
    left: auto;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .project-bar__title {
    font-size: 0.65rem;
  }
}
