/* Work library — plein écran, swipe entre projets */
body.work-swiper-page {
  overflow: hidden;
  background: #000;
}

body.work-swiper-page .grain,
body.work-swiper-page .page-wrapper,
body.work-swiper-page .main-wrapper {
  background: #000 !important;
}

/* Nav fixe, transparente, au-dessus de la vidéo */
body.work-swiper-page .nav,
body.work-swiper-page [data-twostep-nav] {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200 !important;
  pointer-events: none;
}

body.work-swiper-page .twostep-nav__wrap,
body.work-swiper-page .twostep-nav__toggle,
body.work-swiper-page .twostep-nav__logo,
body.work-swiper-page .twostep-nav__bg,
body.work-swiper-page a._02px-nav__link,
body.work-swiper-page button {
  pointer-events: auto;
}

body.work-swiper-page .twostep-nav__back-bg {
  background-color: rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none !important;
}

body.work-swiper-page .fixed-bottom,
body.work-swiper-page .fixed-bottom-text-wrapper,
body.work-swiper-page .btn-stop-motion,
body.work-swiper-page .contact-modal,
body.work-swiper-page .footer,
body.work-swiper-page .footer.footer--clean,
body.work-swiper-page section.footer,
body.work-swiper-page .cursor,
body.work-swiper-page .scroll-chev {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Swiper plein écran — vidéo sous la nav */
.work-swiper {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #000;
  padding: 0;
  margin: 0;
}

.work-swiper__track {
  height: 100%;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.work-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #000;
}

.work-slide__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.work-slide__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #000;
  pointer-events: none;
}

.work-slide__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.12) 14%,
    rgba(0, 0, 0, 0.2) 45%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.work-slide__content {
  position: relative;
  z-index: 10;
  padding: 2rem 2rem 5.5rem;
  max-width: 52rem;
  pointer-events: auto;
}

.work-slide__meta {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: Barlow, sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.work-slide__title {
  margin: 0 0 1rem;
  color: #fff;
  font-family: Barlow, sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.work-slide__excerpt {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: Barlow, sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.65;
  max-width: 38rem;
}

.work-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-family: Barlow, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  position: relative;
  z-index: 20;
  pointer-events: auto;
  cursor: pointer;
}

.work-slide__cta:hover {
  border-color: var(--red, #dc2626);
  background: rgba(220, 38, 38, 0.12);
}

.work-slide__hint {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 3;
  color: rgba(255, 255, 255, 0.4);
  font-family: Barlow, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  pointer-events: none;
}

.work-swiper__ui {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  z-index: 210;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.work-swiper__counter {
  color: rgba(255, 255, 255, 0.45);
  font-family: Barlow, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.work-swiper__dots {
  display: flex;
  gap: 0.4rem;
}

.work-swiper__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}

.work-swiper__dot.is-active {
  background: var(--red, #dc2626);
  transform: scale(1.25);
}

@media screen and (max-width: 767px) {
  .work-slide__content {
    padding: 1.25rem 1.25rem 5rem;
  }

  .work-slide__hint {
    display: none;
  }
}
