/* Pink Lotus Editorial Homepage Gallery */
:root {
  --pl-ink: #211a17;
  --pl-paper: #f5f0ea;
  --pl-line: rgba(255,255,255,.28);
}

.pl-editorial-gallery {
  position: relative;
  background: var(--pl-ink);
  color: #fff;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
}

.pl-gallery-intro {
  position: absolute;
  z-index: 5;
  top: clamp(24px, 5vw, 72px);
  left: clamp(22px, 5vw, 76px);
  pointer-events: none;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

.pl-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .24em;
  font-weight: 600;
}

.pl-gallery-intro h2 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(30px, 5vw, 66px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.035em;
}

.pl-dek {
  margin: 16px 0 0;
  font-size: 13px;
  letter-spacing: .12em;
  opacity: .82;
}

.pl-gallery-track {
  display: flex;
  height: 92vh;
  min-height: 640px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.pl-gallery-track::-webkit-scrollbar { display:none; }

.pl-gallery-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  overflow: hidden;
  background: #171311;
}

.pl-gallery-image-link,
.pl-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.pl-gallery-slide img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 1.6s cubic-bezier(.2,.7,.2,1), filter 1s ease;
  filter: saturate(.94);
}

.pl-gallery-slide.is-active img {
  transform: scale(1.055);
}

.pl-gallery-slide::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.36) 0%, rgba(0,0,0,0) 32%),
    linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 48%);
}

.pl-gallery-caption {
  position:absolute;
  z-index:3;
  left:clamp(22px,5vw,76px);
  right:clamp(22px,5vw,76px);
  bottom:clamp(70px,8vw,110px);
  display:flex;
  align-items:flex-start;
  gap:20px;
}

.pl-gallery-number {
  font-size:12px;
  letter-spacing:.18em;
  padding-top:6px;
  opacity:.72;
}

.pl-gallery-caption h3 {
  margin:0;
  font-size:clamp(22px,3vw,40px);
  font-weight:400;
  line-height:1.05;
}

.pl-gallery-caption h3 a {
  color:#fff;
  text-decoration:none;
}

.pl-gallery-caption p {
  margin:8px 0 0;
  max-width:600px;
  font-size:13px;
  line-height:1.55;
  opacity:.78;
}

.pl-gallery-controls {
  position:absolute;
  z-index:5;
  right:clamp(22px,5vw,76px);
  bottom:28px;
  display:flex;
  align-items:center;
  gap:14px;
}

.pl-gallery-controls button {
  width:42px;
  height:42px;
  border:1px solid var(--pl-line);
  background:rgba(0,0,0,.18);
  color:#fff;
  border-radius:50%;
  cursor:pointer;
  font-size:18px;
  transition:background .25s ease, transform .25s ease;
}

.pl-gallery-controls button:hover {
  background:rgba(255,255,255,.14);
  transform:translateY(-1px);
}

.pl-gallery-count {
  font-size:11px;
  letter-spacing:.14em;
}

.pl-gallery-cta {
  position:absolute;
  z-index:5;
  left:clamp(22px,5vw,76px);
  bottom:28px;
}

.pl-gallery-cta a {
  color:#fff;
  text-decoration:none;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  border-bottom:1px solid rgba(255,255,255,.5);
  padding-bottom:5px;
}

@media (max-width: 700px) {
  .pl-editorial-gallery,
  .pl-gallery-track { min-height: 620px; height: 82vh; }
  .pl-gallery-intro h2 { max-width: 330px; }
  .pl-gallery-caption { bottom:86px; }
  .pl-gallery-controls { bottom:22px; right:22px; }
  .pl-gallery-cta { bottom:22px; left:22px; }
}
