
/* Learn more / scroll story — page-specific */

body.story {
  background: #0c141a;
  color: #fff;
}

.story-page {
  position: relative;
  min-height: 100vh;
}

.story-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.story-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 40%;
  opacity: 0;
  transform: scale(1.08);
  filter: saturate(0.92);
  will-change: opacity, transform;
  transition: opacity 1.4s ease;
  animation: story-drift 28s ease-out forwards;
  pointer-events: none;
}

.story-banner.is-active {
  opacity: 1;
  z-index: 1;
}

@keyframes story-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.story-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to right,
      rgba(28, 32, 36, 0.92) 0%,
      rgba(28, 32, 36, 0.78) 28%,
      rgba(28, 32, 36, 0.35) 58%,
      rgba(28, 32, 36, 0.08) 100%
    ),
    linear-gradient(to top, rgba(20, 24, 28, 0.7) 0%, transparent 42%);
}

.story-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(to bottom, rgba(6, 10, 14, 0.55), transparent);
}

.story-top-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
  padding-right: 1rem;
}

.story-home {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  flex-shrink: 0;
}

.story-home-mark {
  width: 1.15em;
  height: 1.15em;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.story-tag {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

.story-signin {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.story-signin:hover,
.story-home:hover { text-decoration: underline; }

.story-main {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  padding: 6.5rem 1.5rem 5rem;
}

.story-intro {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2.5rem;
}

.story-kicker {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 4.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: rgba(255, 236, 214, 0.92);
}

.story-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  animation: story-hint-pulse 2.4s ease-in-out infinite;
}

.story-hint-arrow {
  display: inline-block;
  margin-left: 0.15em;
  font-size: 1.05em;
  line-height: 1;
}

@keyframes story-hint-pulse {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 0.95; }
}

.story-beat {
  margin: 0 0 18vh;
  max-width: 34rem;
  opacity: 0;
  transform: translateY(2.4rem);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-beat.is-in {
  opacity: 1;
  transform: translateY(0);
}

.story-who {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.story-text {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: rgba(255, 255, 255, 0.96);
}

.story-punch {
  margin-top: 4vh;
  margin-bottom: 10vh;
}

.story-punch .story-text {
  font-size: clamp(1.7rem, 5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(105deg, #fff 0%, #ffe8c8 55%, #ffb26b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.story-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-bottom: 2rem;
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-cta.is-in {
  opacity: 1;
  transform: translateY(0);
}

.story-cta .btn {
  margin-top: 0;
  background: var(--accent);
}

.story-cta .btn:hover { background: #c95712; }

.story-more {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 0.1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.story-more:hover {
  color: #fff;
  border-bottom-color: #fff;
}

@media (max-width: 560px) {
  .story-main { padding: 5.5rem 1.15rem 4rem; }
  .story-banner { object-position: 55% 45%; }
  .story-beat { margin-bottom: 16vh; }
  .story-top { align-items: flex-start; }
  .story-tag { max-width: 18rem; }
}

@media (prefers-reduced-motion: reduce) {
  .story-banner {
    animation: none;
    transform: scale(1);
    transition: none;
  }

  .story-banner.is-active { opacity: 1; }

  .story-hint { animation: none; opacity: 0.72; }

  .story-beat {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .story-cta {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


