/* ═══════════════════════════════════════
   ABOUT PAGE — OUR POLICY (section4)
   Scroll-driven: heading stays; each policy
   fades up into focus, then fades up and out
   as the next rises in from the bottom.
═══════════════════════════════════════ */

.policy-scroll {
  position: relative;
  height: 440vh;            /* ≈ 100vh intro + one screen per policy */
  background: var(--bg-primary);
  z-index: 2;
}
.policy-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* heading */
.policy-head {
  position: relative;
  z-index: 3;
}

/* slide indicator bars */
.policy-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 18px;
  margin-bottom: 24px;
}
.policy-bars span {
  width: 6px;
  height: 16px;
  border-radius: 4px;
  background: var(--text-primary-10);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s ease;
}
.policy-bars span.on {
  width: 32px;
  background: var(--brand-gradient);
}
.policy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-primary-30);
  margin-bottom: 22px;
}
.policy-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hero-green);
  box-shadow: 0 0 0 0 rgba(31, 157, 92, 0.5);
  animation: policyBlink 1.8s ease-in-out infinite;
}
@keyframes policyBlink {
  0%   { box-shadow: 0 0 0 0 rgba(31, 157, 92, 0.5); opacity: 1; }
  70%  { box-shadow: 0 0 0 8px rgba(31, 157, 92, 0); opacity: 0.7; }
  100% { box-shadow: 0 0 0 0 rgba(31, 157, 92, 0); opacity: 1; }
}
.policy-head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.policy-head h2 .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* rotating policy lines (stacked, only one visible at a time) */
.policy-stage {
  position: relative;
  width: min(820px, 90%);
  height: 30vh;
  margin-top: 34px;
}
.policy-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  opacity: 0;
  will-change: opacity, transform;
}
.policy-item p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.policy-item .num {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ff8934;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .policy-stage { height: 38vh; }
}

@media (prefers-reduced-motion: reduce) {
  .policy-item { opacity: 1; transform: none; position: static; margin-bottom: 28px; }
  .policy-stage { height: auto; }
}
