.scroll-page {
  --progress: 0;
  --studio-bg: #eeeeee;
  --studio-bg-soft: #e8e8e8;
  --text-main: #1a2228;
  --text-muted: #4a5560;
}

.scroll-page *,
.scroll-page *::before,
.scroll-page *::after {
  box-sizing: border-box;
}

body.scroll-page {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background: var(--studio-bg);
  color: var(--text-main);
}

.scroll-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(to bottom, rgba(238, 238, 238, 0.96), rgba(238, 238, 238, 0));
  backdrop-filter: blur(6px);
}

.scroll-topbar a {
  color: #0f5c42;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.scroll-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-topbar-brand img {
  height: 36px;
  width: auto;
}

.scroll-topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scroll-topbar-links a:hover {
  color: #0b7a56;
  text-decoration: underline;
}

.scroll-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--studio-bg);
}

.scroll-stage-glow {
  display: none;
}

.scroll-frames-wrap {
  position: absolute;
  inset: 0;
}

.scroll-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  pointer-events: none;
  background: var(--studio-bg);
}

.scroll-hint {
  position: fixed;
  bottom: 18px;
  left: 50%;
  z-index: 15;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  opacity: calc(1 - var(--progress) * 2.5);
  pointer-events: none;
}

.scroll-hint span:last-child {
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.scroll-content {
  position: relative;
  z-index: 5;
  padding: 0 0 18vh;
}

.scroll-panel {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 88px 24px 48px;
  max-width: 720px;
  margin: 0 auto 0 0;
  opacity: 0.35;
  transform: translateY(28px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.scroll-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-panel-inner {
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid rgba(15, 92, 66, 0.14);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 36px rgba(26, 34, 40, 0.1);
  color: var(--text-main);
}

.scroll-panel-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(15, 157, 110, 0.1);
  border: 1px solid rgba(15, 157, 110, 0.35);
  color: #0f5c42;
  font-size: 0.72rem;
  font-weight: 700;
}

.scroll-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  color: var(--text-main);
}

.scroll-panel p {
  margin: 0 0 12px;
  color: var(--text-muted);
  line-height: 1.75;
}

.scroll-panel ul {
  margin: 0;
  padding: 0 1.1rem 0 0;
  color: var(--text-muted);
}

.scroll-panel li {
  margin-bottom: 8px;
}

.scroll-panel-cta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.scroll-btn-primary {
  background: #0f9d6e;
  color: #fff;
}

.scroll-btn-primary:hover {
  background: #0b7a56;
}

.scroll-btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 34, 40, 0.14);
  color: var(--text-main);
}

.scroll-btn-ghost:hover {
  border-color: rgba(15, 157, 110, 0.45);
  background: rgba(15, 157, 110, 0.08);
}

.scroll-footer {
  position: relative;
  z-index: 5;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.scroll-footer a {
  color: #0f5c42;
}

@media (max-width: 900px) {
  .scroll-panel {
    margin: 0 auto;
    max-width: none;
    padding-inline: 16px;
  }

  .scroll-topbar-links {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-panel {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-hint {
    display: none;
  }
}
