.pleach-heritage-slider,
.pleach-heritage-slider * {
  box-sizing: border-box;
}

.pleach-heritage-slider {
  --pleach-dark: #283021;
  --pleach-accent: #FF7931;
  --pleach-light: #f4f7f2;
  --pleach-overlay-opacity: 0.9;
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: var(--pleach-dark);
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.pleach-heritage-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: var(--pleach-overlay-opacity);
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--pleach-accent) 30%, transparent), transparent 28%),
    radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--pleach-accent) 22%, transparent), transparent 30%),
    linear-gradient(90deg, rgba(5, 3, 1, 0.9), rgba(5, 3, 1, 0.36), rgba(5, 3, 1, 0.75));
}

.pleach-heritage-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 21;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(244,247,242,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,247,242,0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 75%, transparent);
}

.pleach-slides,
.pleach-slide {
  position: absolute;
  inset: 0;
}

.pleach-slide {
  opacity: 0;
  transform: scale(1.04);
  visibility: hidden;
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1), transform 1.8s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1.15s;
  will-change: opacity, transform;
}

.pleach-slide.active {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.pleach-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.08) brightness(0.78);
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--zoom, 1.12));
  transition: transform 0.45s ease-out;
  will-change: transform;
}

.pleach-slide.active img {
  --zoom: 1.08;
}

.pleach-slider-content {
  position: relative;
  z-index: 30;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7vw;
  color: var(--pleach-light);
}

.pleach-content-box {
  max-width: 760px;
}

.pleach-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--pleach-accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.pleach-eyebrow::before {
  content: "";
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--pleach-accent), transparent);
}

.pleach-title {
  max-width: 860px;
  margin: 0;
  color: var(--pleach-light);
  font-size: clamp(54px, 8vw, 132px);
  line-height: 0.88;
  letter-spacing: -5px;
  text-transform: uppercase;
  text-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}

.pleach-title span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.88);
}

.pleach-description {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255, 241, 220, 0.88);
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.8;
}

.pleach-slider-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
}

.pleach-explore-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  height: 58px;
  border-radius: 999px;
  overflow: hidden;
  color: var(--pleach-dark);
  background: var(--pleach-accent);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 22px 55px rgba(255, 121, 49, 0.35);
}

.pleach-explore-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent);
  animation: pleachButtonShine 3s infinite;
}

.pleach-outline-text {
  color: rgba(244,247,242,0.7);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.pleach-floating-card {
  position: absolute;
  right: 7vw;
  bottom: 8vh;
  z-index: 35;
  width: min(360px, 84vw);
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  color: var(--pleach-light);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  animation: pleachFloatCard 5s ease-in-out infinite;
}

.pleach-floating-card small {
  color: var(--pleach-accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.pleach-floating-card p {
  margin: 8px 0 0;
  color: rgba(244,247,242,0.8);
  font-size: 15px;
}

.pleach-progress {
  position: absolute;
  left: 7vw;
  bottom: 7vh;
  z-index: 40;
  display: flex;
  gap: 12px;
}

.pleach-progress span {
  position: relative;
  width: 62px;
  height: 3px;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(244,247,242,0.25);
}

.pleach-progress span::before {
  content: "";
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--pleach-accent);
}

.pleach-progress span.active::before {
  animation: pleachProgressFill var(--pleach-delay, 6s) linear forwards;
}

.pleach-heritage-slider.paused .pleach-progress span.active::before,
.pleach-heritage-slider.paused .pleach-explore-btn::before {
  animation-play-state: paused;
}

.pleach-slider-nav {
  position: absolute;
  right: 7vw;
  top: 50%;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-50%);
}

.pleach-slider-nav button {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(244,247,242,0.35);
  border-radius: 50%;
  color: var(--pleach-light);
  cursor: pointer;
  font-size: 26px;
  background: rgba(244,247,242,0.12);
  backdrop-filter: blur(16px);
  transition: 0.3s ease;
}

.pleach-slider-nav button:hover {
  color: var(--pleach-dark);
  background: var(--pleach-accent);
  transform: scale(1.08);
}

.pleach-video-trigger {
  position: absolute;
  left: 7vw;
  bottom: 15vh;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  color: var(--pleach-light);
  cursor: pointer;
  font-family: inherit;
}

.pleach-video-trigger-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pleach-dark);
  background: var(--pleach-accent);
  box-shadow: 0 16px 45px rgba(255, 121, 49, 0.35);
  transition: transform 0.3s ease, background 0.3s ease;
}

.pleach-video-trigger-icon::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: inherit;
  border: 1px solid rgba(255, 121, 49, 0.5);
  animation: pleachVideoPulse 2s infinite;
}

.pleach-video-trigger-icon svg {
  width: 18px;
  height: 18px;
  margin-left: 3px;
  fill: currentColor;
}

.pleach-video-trigger-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.pleach-video-trigger-text small {
  color: var(--pleach-accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.pleach-video-trigger-text span {
  margin-top: 4px;
  color: rgba(244,247,242,0.88);
  font-size: 14px;
  font-weight: 700;
}

.pleach-video-trigger:hover .pleach-video-trigger-icon {
  transform: scale(1.1);
}

.pleach-video-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  background: rgba(5, 7, 4, 0.9);
  backdrop-filter: blur(14px);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.pleach-video-modal.active {
  opacity: 1;
  visibility: visible;
}

.pleach-video-content {
  position: relative;
  width: min(920px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  border: 1px solid rgba(255, 121, 49, 0.35);
  background: #000;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  transform: scale(0.92) translateY(22px);
  transition: transform 0.35s ease;
}

.pleach-video-modal.active .pleach-video-content {
  transform: scale(1) translateY(0);
}

.pleach-video-content iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px;
  display: block;
}

.pleach-close-video {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244,247,242,0.28);
  border-radius: 50%;
  color: var(--pleach-light);
  background: rgba(244,247,242,0.12);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.pleach-eyebrow.is-animating,
.pleach-description.is-animating,
.pleach-slider-actions.is-animating {
  animation: pleachRevealUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pleach-title.is-animating {
  animation: pleachTitleReveal 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pleach-floating-card.is-animating {
  animation: pleachRevealUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both, pleachFloatCard 5s ease-in-out infinite 1s;
}

@keyframes pleachProgressFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes pleachTitleReveal {
  from { opacity: 0; transform: translateY(80px) rotateX(16deg); filter: blur(14px); }
  to { opacity: 1; transform: translateY(0) rotateX(0); filter: blur(0); }
}

@keyframes pleachRevealUp {
  from { opacity: 0; transform: translateY(34px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes pleachFloatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes pleachButtonShine {
  0% { transform: translateX(-120%) skewX(-22deg); }
  45%, 100% { transform: translateX(145%) skewX(-22deg); }
}

@keyframes pleachVideoPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  75%, 100% { transform: scale(1.45); opacity: 0; }
}

@media (max-width: 900px) {
  .pleach-slider-content {
    align-items: flex-start;
    padding: 110px 26px 40px;
  }

  .pleach-title {
    letter-spacing: -2px;
  }

  .pleach-floating-card {
    right: 26px;
    bottom: 92px;
  }

  .pleach-progress {
    left: 26px;
    bottom: 38px;
  }
}

@media (max-width: 560px) {
  .pleach-description {
    font-size: 15px;
  }

  .pleach-slider-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .pleach-floating-card {
    display: none;
  }

  .pleach-progress span {
    width: 44px;
  }

  .pleach-slider-nav {
    right: 26px;
    top: auto;
    bottom: 28px;
    flex-direction: row;
    transform: none;
  }

  .pleach-slider-nav button {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .pleach-video-trigger {
    left: 26px;
    bottom: 96px;
  }

  .pleach-video-trigger-text {
    display: none;
  }
}
