/* s10-technology — Exact lavadental.lv #about Act B (.about-manifest + .scroll-box) */
#technology.ws-manifest-section {
  --man-whole: 1290px;
  --man-pad-x: clamp(1.5rem, 1.3636rem + 0.6061vw, 1.875rem);
  --man-gutter: clamp(1rem, 0.6818rem + 1.4141vw, 1.875rem);
  position: relative;
  z-index: 4;
  background: radial-gradient(ellipse 85% 70% at 15% 20%, #eef7ee 0%, #ddefde 48%, #cde4cf 100%);
  color: #031c14;
  padding: clamp(96px, 9vw, 128px) 0;
  margin-top: calc(-1 * clamp(4rem, 5vw, 6rem));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

#technology .ws-manifest-container {
  width: min(var(--man-whole), calc(100% - var(--man-pad-x) * 2));
  margin-inline: auto;
}

#technology .ws-manifest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1.3636rem + 2.8283vw, 3.75rem) var(--man-gutter);
}

@media screen and (min-width: 720px) {
  #technology .ws-manifest-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  #technology .ws-manifest-aside {
    grid-column: 1 / span 5;
  }

  #technology .ws-manifest-main {
    grid-column: 7 / span 6;
  }

  #technology .ws-tech-carousel {
    max-width: 480px;
    margin: 0;
  }
}

#technology .ws-tech-carousel {
  max-width: 412px;
  margin: 0 auto;
}

#technology .ws-tech-stage {
  position: relative;
  aspect-ratio: 412 / 512;
  width: 100%;
  overflow: hidden;
  background: #c5e0c7;
  transform-style: preserve-3d;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

#technology .ws-tech-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes s10-slide-next-in {
  0% {
    opacity: 0.2;
    transform: perspective(1200px) translate3d(42px, 6px, -48px) rotateY(-7deg) scale(0.96);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) translate3d(0, 0, 0) rotateY(0deg) scale(1);
    filter: blur(0);
  }
}

@keyframes s10-slide-prev-in {
  0% {
    opacity: 0.2;
    transform: perspective(1200px) translate3d(-42px, 6px, -48px) rotateY(7deg) scale(0.96);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) translate3d(0, 0, 0) rotateY(0deg) scale(1);
    filter: blur(0);
  }
}

#technology .ws-tech-slide-img.slide-anim-next {
  animation: s10-slide-next-in 0.54s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#technology .ws-tech-slide-img.slide-anim-prev {
  animation: s10-slide-prev-in 0.54s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#technology .ws-tech-glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle 260px at var(--glare-x, 50%) var(--glare-y, 35%),
    rgba(250, 249, 246, 0.3) 0%,
    rgba(219, 192, 147, 0.1) 45%,
    transparent 76%
  );
  mix-blend-mode: screen;
  transition: opacity 0.35s ease;
}

#technology .ws-tech-sweep {
  position: absolute;
  inset: -45%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    112deg,
    transparent 38%,
    rgba(255, 255, 255, 0.26) 49%,
    rgba(77, 255, 240, 0.18) 52%,
    transparent 62%
  );
  transform: translateX(-115%) rotate(6deg);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

#technology .ws-tech-stage:hover .ws-tech-glare {
  opacity: 1;
}

#technology .ws-tech-stage:hover .ws-tech-sweep {
  transform: translateX(115%) rotate(6deg);
  opacity: 0.9;
}

#technology .ws-tech-caption-row {
  margin-top: 14px;
}

#technology .ws-tech-slide-title {
  margin: 0;
  font-family: 'Josefin Sans', 'Jost', sans-serif;
  font-size: 19px;
  font-weight: 500;
  color: #031c14;
}

#technology .ws-tech-slide-caption {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(3, 28, 20, 0.72);
}

#technology .ws-tech-controls {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

#technology .ws-tech-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background-color: #031c14;
  color: #ddefde;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

#technology .ws-tech-dots {
  height: 40px;
  padding: 0 20px;
  border-radius: 40px;
  background-color: #031c14;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#technology .ws-tech-dot {
  position: relative;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: 0;
  padding: 0;
  background-color: rgba(221, 239, 222, 0.25);
  cursor: pointer;
  overflow: hidden;
  transition: flex-basis 0.4s cubic-bezier(0.33, 0, 0.11, 1), width 0.4s cubic-bezier(0.33, 0, 0.11, 1);
}

#technology .ws-tech-dot.is-active {
  flex: 0 0 32px;
  width: 32px;
}

#technology .ws-tech-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: #ddefde;
  transform: translateX(-100%);
}

#technology .ws-tech-dot.is-active::before {
  animation: s10-dot-fill 4.2s linear forwards;
}

#technology .ws-tech-carousel.is-paused .ws-tech-dot.is-active::before {
  animation: none;
  transform: translateX(0);
}

@keyframes s10-dot-fill {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/* LAVA .scroll-box + Vertical 1px Progress Bar */
#technology .ws-scroll-box {
  position: relative;
  height: 100%;
  padding-left: clamp(2rem, 1.8182rem + 0.8081vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr;
  align-content: space-between;
  gap: clamp(3rem, 2.7273rem + 1.2121vw, 3.75rem) 0;
}

#technology .ws-vertical-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background-color: rgba(3, 28, 20, 0.2);
}

#technology .ws-vertical-progress-fill {
  display: block;
  width: 1px;
  height: 100%;
  background-color: #031c14;
  transform-origin: top center;
  transform: scaleY(0);
}

#technology .ws-manifest-lead {
  margin: 0;
  font-size: clamp(1.25rem, 1.0986rem + 0.6727vw, 1.6663rem);
  font-weight: 500;
  line-height: 1.4;
  color: #031c14;
}

#technology .ws-scroll-box-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#technology .ws-manifest-body {
  margin: 0;
  font-size: clamp(1rem, 0.9091rem + 0.404vw, 1.25rem);
  line-height: 1.5;
  color: rgba(3, 28, 20, 0.85);
}
