/* ── Scroll Video Scrub Section ── */
.svs-wrapper {
  position: relative;
  width: 100%;
  background: #0a0a0a;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.svs-pin-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.svs-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  will-change: opacity, transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.svs-video-container.is-visible {
  opacity: 1;
}

.svs-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  background: #000;
}

.svs-copy-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.svs-copy-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 46%, rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 34%, rgba(0, 0, 0, 0.34));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.svs-copy-overlay.is-active::before {
  opacity: 1;
}

.svs-copy-panel {
  position: absolute;
  left: clamp(24px, 8vw, 120px);
  top: 50%;
  max-width: min(620px, calc(100vw - 48px));
  color: #fff;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.12s ease;
  will-change: opacity, transform;
}

.svs-copy-panel--right {
  left: auto;
  right: clamp(24px, 8vw, 120px);
  text-align: right;
}

.svs-copy-panel--center {
  left: 50%;
  top: 52%;
  width: min(860px, calc(100vw - 48px));
  max-width: none;
  text-align: center;
  transform: translateX(-50%) translateY(-50%);
}

.svs-copy-panel.is-active {
  opacity: 1;
}

.svs-copy-panel--center.is-active {
  transform: translateX(-50%) translateY(-50%);
}

.svs-copy-mask {
  overflow: hidden;
  padding: 0 0 0.18em;
}

.svs-copy-inner {
  transform: translateY(112%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.svs-copy-panel.is-active .svs-copy-inner {
  transform: translateY(0);
}

.svs-copy-kicker {
  margin-bottom: 14px;
  color: rgba(215, 226, 234, 0.78);
  font-family: var(--font-display, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.svs-copy-panel h2 {
  font-family: var(--font-display, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: clamp(2.35rem, 6.4vw, 6.75rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}

.svs-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 5vh, 56px);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  pointer-events: none;
  opacity: 1;
  transform: translateX(-50%);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.svs-scroll-hint.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
}

.svs-scroll-mouse {
  position: relative;
  width: 24px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.svs-scroll-mouse span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  animation: svs-scroll-wheel 1.35s ease-in-out infinite;
}

.svs-scroll-text {
  font-family: var(--font-display, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

@keyframes svs-scroll-wheel {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(13px);
  }
}

.svs-progress-bar {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.svs-progress-bar.is-active {
  opacity: 1;
}

.svs-progress-track {
  width: 3px;
  height: 120px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  .svs-progress-track {
    height: 180px;
  }
}

.svs-progress-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
  border-radius: 3px;
  will-change: height;
  transform: translateZ(0);
}

.svs-progress-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.svs-progress-percent {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  min-width: 36px;
  text-align: center;
}

.svs-next-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  padding: 80px 24px;
  opacity: 0;
  transform: translateY(60px);
  will-change: opacity, transform;
}

.svs-next-section.is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.svs-next-content {
  max-width: 720px;
  text-align: center;
  color: #fff;
}

.svs-next-content h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
}

.svs-next-content p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(15px, 2.5vw, 18px);
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.7;
}

.svs-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  z-index: 10;
  transition: opacity 0.5s ease;
}

.svs-loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.svs-loading-spinner {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #fff;
  border-radius: 50%;
  animation: svs-spin 0.8s linear infinite;
}

@keyframes svs-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
  .svs-copy-panel,
  .svs-copy-panel--right {
    left: 24px;
    right: 24px;
    top: 52%;
    text-align: left;
    max-width: none;
  }

  .svs-copy-panel--center {
    left: 50%;
    right: auto;
    width: calc(100vw - 48px);
    text-align: center;
  }

  .svs-copy-panel h2 {
    font-size: clamp(2.2rem, 12vw, 4.3rem);
  }

  .svs-progress-bar {
    right: 12px;
  }
  .svs-progress-track {
    height: 80px;
  }
}

@supports (-webkit-touch-callout: none) {
  .svs-video {
    -webkit-transform: translateZ(0);
  }
}
