.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 50px;
  padding: 0.84rem 1.25rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition-property: color, background-color, box-shadow, transform;
  transition-duration: 180ms;
  transition-timing-function: var(--ease);
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(0.96); }
.button-primary { color: var(--ink); background: var(--sun); box-shadow: 0 10px 32px rgba(246, 206, 131, 0.16); }
.button-primary:hover { background: var(--cream); box-shadow: 0 14px 38px rgba(246, 206, 131, 0.24); }
.button-quiet { color: var(--cream); background: rgba(7, 18, 15, 0.24); box-shadow: inset 0 0 0 1px rgba(255, 244, 216, 0.3); backdrop-filter: blur(8px); }
.button-quiet:hover { background: rgba(7, 18, 15, 0.52); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal-up 800ms var(--ease) forwards;
}

.hero .reveal:nth-child(2) { animation-delay: 100ms; }
.hero .reveal:nth-child(3) { animation-delay: 200ms; }
.hero .reveal:nth-child(4) { animation-delay: 300ms; }
.hero .reveal:nth-child(5) { animation-delay: 400ms; }

.feature-art {
  position: absolute;
  z-index: 0;
  width: clamp(330px, 45vw, 670px);
  aspect-ratio: 3 / 2;
  opacity: 0.5;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 92% 90% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.94) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 90% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.94) 70%, transparent 100%);
  filter: saturate(0.86) brightness(0.78);
  pointer-events: none;
  transform: translateY(30px) scale(0.96);
  transition-property: opacity, filter, transform;
  transition-duration: 900ms;
  transition-timing-function: var(--ease);
}

.feature-stop-left .feature-art { inset-inline-end: -8%; }
.feature-stop-right .feature-art { inset-inline-start: -8%; }
.feature-stop.is-active .feature-art { opacity: 0.82; filter: saturate(1) brightness(0.9); transform: translateY(0) scale(1); }

.mini-chart { display: flex; align-items: end; gap: 0.5rem; height: 90px; margin-top: 2rem; padding: 0.8rem 1rem 0; border-bottom: 1px solid var(--line); background: linear-gradient(rgba(134,167,154,.08) 1px, transparent 1px); background-size: 100% 33.333%; }
.mini-chart span { flex: 1; height: var(--bar); background: linear-gradient(var(--sun), var(--ember)); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: chart-grow 1.2s var(--ease) both paused; }
.mini-chart span:nth-child(1) { --bar: 42%; }
.mini-chart span:nth-child(2) { --bar: 68%; }
.mini-chart span:nth-child(3) { --bar: 51%; }
.mini-chart span:nth-child(4) { --bar: 84%; }
.mini-chart span:nth-child(5) { --bar: 72%; }
.mini-chart span:nth-child(6) { --bar: 96%; }
.mini-chart span:nth-child(7) { --bar: 78%; }
.feature-stop.is-active .mini-chart span { animation-play-state: running; }
.chart-caption { margin: 0.65rem 0 0; color: var(--sage); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }

.cta-mountains { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 18, 15, 0.08) 0%, rgba(7, 18, 15, 0.12) 40%, rgba(7, 18, 15, 0.48) 72%, rgba(7, 18, 15, 0.7) 100%), linear-gradient(0deg, rgba(7, 18, 15, 0.72), transparent 34%); }

@keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }
@keyframes chart-grow { from { transform: scaleY(0); } }

@media (max-width: 850px) {
  .feature-stop .feature-art { inset-inline: auto -10%; width: min(82vw, 570px); opacity: 0.2; }
  .feature-stop.is-active .feature-art { opacity: 0.34; filter: saturate(0.82) brightness(0.64); }
}

@media (max-width: 700px) {
  .button { width: 100%; }
  .scene { width: 220px; }
}
