/* saklama.com — "Bir Notun Yolculuğu" hikaye sayfası (koyu, tam ekran scroll sahnesi) */

body.story-dark {
  background: #070d0b;
  color: #eaf2ef;
}

body.story-dark .site-header {
  background: rgba(7, 13, 11, 0.82);
  border-bottom: 1px solid rgba(124, 143, 137, 0.18);
  backdrop-filter: blur(8px);
}
body.story-dark .site-header .logo,
body.story-dark .site-header .nav a {
  color: #eaf2ef;
}
body.story-dark .site-header .nav a:hover { color: #ffcf6b; }

body.story-dark .site-footer {
  background: #0a1512;
}

/* ---- sahne ---- */
.story-stage { position: relative; height: 820vh; }

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

#story-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.story-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 42%, transparent 40%, rgba(3, 7, 6, 0.55) 100%);
  z-index: 2;
}

/* ---- alt yazılar ---- */
.story-captions { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

.story-cap {
  position: absolute;
  left: 50%;
  bottom: clamp(12%, 16vh, 20%);
  transform: translate(-50%, 12px);
  width: min(92vw, 640px);
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.story-cap.on { opacity: 1; transform: translate(-50%, 0); }

.story-cap .step {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #7c8f89;
  margin: 0 0 0.7rem;
}
.story-cap p:not(.step) {
  margin: 0;
  font-size: clamp(1.15rem, 3.4vw, 1.7rem);
  line-height: 1.45;
  text-wrap: balance;
  color: #eaf2ef;
}
.story-cap em { font-style: normal; color: #ffcf6b; }
.story-cap .cold { color: #45b8c9; }
.story-cap .ember { color: #ff7a4d; }

/* ---- giriş ---- */
.story-intro {
  position: absolute;
  left: 50%;
  top: clamp(12%, 16vh, 20%);
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  width: min(92vw, 680px);
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.story-intro .eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #2ea187;
  margin: 0 0 0.9rem;
}
.story-intro h1 {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-wrap: balance;
  color: #eaf2ef;
}

.story-hint {
  position: absolute;
  left: 50%;
  bottom: 3.5vh;
  transform: translateX(-50%);
  z-index: 3;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #7c8f89;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.5s ease;
}
.story-hint .dash {
  width: 1px;
  height: 34px;
  background: linear-gradient(#7c8f89, transparent);
  animation: story-drop 1.9s ease-in-out infinite;
}
@keyframes story-drop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ---- kapanış ---- */
.story-outro {
  position: relative;
  z-index: 4;
  background: linear-gradient(#070d0b, #0a1512);
  padding: clamp(4rem, 12vh, 8rem) 1.5rem clamp(5rem, 14vh, 9rem);
  text-align: center;
}
.story-outro .word {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #2ea187;
  margin: 0 0 1.1rem;
}
.story-outro h2 {
  margin: 0 auto 1.4rem;
  max-width: 22ch;
  font-size: clamp(1.6rem, 4.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: #eaf2ef;
}
.story-outro > p:not(.word):not(.story-foot) {
  margin: 0 auto 2.2rem;
  max-width: 48ch;
  color: #b9c7c2;
  font-size: 1.02rem;
  line-height: 1.6;
}
.story-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: #f4a825;
  color: #241700;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}
.story-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px rgba(244, 168, 37, 0.55);
}
.story-cta:focus-visible { outline: 2px solid #ffcf6b; outline-offset: 3px; }

.story-foot {
  margin-top: 2.4rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #7c8f89;
}

@media (prefers-reduced-motion: reduce) {
  .story-hint .dash { animation: none; }
}
