.story-page {
  --story-ink: #1a2430;
  --story-muted: #5b6674;
  --story-gold: #d4a017;
  --story-cream: #f7f1e4;
  --story-paper: #fffaf2;
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(212, 160, 23, 0.16), transparent 55%),
    radial-gradient(900px 420px at 100% 8%, rgba(22, 143, 47, 0.08), transparent 50%),
    linear-gradient(180deg, #fbf7ee 0%, #fff 42%, #f7f1e4 100%);
  color: var(--story-ink);
}

.story-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  place-items: end center;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
  background: #1a2430;
}

.story-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.story-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 26, 0.18) 0%, rgba(12, 18, 26, 0.55) 58%, rgba(12, 18, 26, 0.88) 100%);
}

.story-hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  padding: 0 0 56px;
  text-align: center;
  color: #fffaf2;
}

.story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 120, 0.45);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffe9a8;
}

.story-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(1.7rem, 4.4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.story-hero p {
  margin: 0 auto;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 250, 242, 0.88);
}

.story-wrap {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 24px;
}

.story-chapter {
  margin: 0 0 72px;
}

.story-chapter h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.story-h-ico {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin-top: 2px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f3c84a, #d4a017);
  color: #3d2800;
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(212, 160, 23, 0.28);
}

.story-quote {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.story-quote i {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--story-gold);
  font-size: 1.05rem;
}

.story-beats,
.story-places,
.story-roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}

.story-beat,
.story-place,
.story-role {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px 12px;
  border-radius: 16px;
  background: #fffaf2;
  border: 1px solid rgba(212, 160, 23, 0.22);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #4a3a24;
}

.story-beat i,
.story-place i,
.story-role i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 160, 23, 0.14);
  color: #b8860b;
  font-size: 0.95rem;
}

.story-roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.story-inline-ico {
  color: var(--story-gold);
  margin-right: 4px;
}

.story-kicker i { color: #ffe9a8; }

.story-prose p {
  margin: 0 0 1.05rem;
  font-size: 1.08rem;
  line-height: 1.9;
  color: #2a3340;
}

.story-prose p:last-child { margin-bottom: 0; }

.story-quote {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--story-gold);
  border-radius: 0 16px 16px 0;
  background: rgba(212, 160, 23, 0.1);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.6;
  color: #3d2800;
}

.story-illust {
  margin: 28px 0 8px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(26, 36, 48, 0.16);
  background: #efe6d4;
}

.story-illust img {
  display: block;
  width: 100%;
  height: auto;
}

.story-illust figcaption {
  margin: 0;
  padding: 10px 14px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--story-muted);
  background: var(--story-paper);
}

.story-cta {
  position: relative;
  margin: 12px auto 80px;
  width: min(880px, calc(100% - 32px));
  padding: 28px 24px 32px;
  border-radius: 28px;
  overflow: hidden;
  text-align: center;
  color: #fffaf2;
  background: #1a2430;
  box-shadow: 0 24px 60px rgba(26, 36, 48, 0.22);
}

.story-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.story-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 26, 36, 0.55), rgba(18, 26, 36, 0.88));
}

.story-cta-inner {
  position: relative;
  z-index: 1;
}

.story-cta h2 i {
  display: block;
  margin: 0 auto 10px;
  color: #ffe9a8;
  font-size: 1.45rem;
}

.story-cta p {
  margin: 0 auto 22px;
  max-width: 34rem;
  line-height: 1.75;
  color: rgba(255, 250, 242, 0.9);
}

.story-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(92vw, 320px);
  min-height: 64px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3c84a, #d4a017);
  color: #3d2800 !important;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(212, 160, 23, 0.45), 0 0 0 6px rgba(255, 233, 168, 0.18);
  animation: storyCtaPulse 2.4s ease-in-out infinite;
}

.story-cta-btn:hover {
  transform: translateY(-2px);
  color: #2a1b00 !important;
}

@keyframes storyCtaPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(212, 160, 23, 0.45), 0 0 0 6px rgba(255, 233, 168, 0.18); }
  50% { box-shadow: 0 14px 34px rgba(212, 160, 23, 0.6), 0 0 0 10px rgba(255, 233, 168, 0.28); }
}

.story-sticky-cta {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  display: flex;
  justify-content: center;
  pointer-events: none;
  margin: 0 16px 16px;
}

.story-sticky-cta a {
  pointer-events: auto;
  min-width: min(88vw, 280px);
  min-height: 52px;
  font-size: 1.05rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

@media (max-width: 720px) {
  .story-hero { min-height: 62vh; border-radius: 0 0 24px 24px; }
  .story-chapter { margin-bottom: 52px; }
  .story-prose p { font-size: 1.02rem; }
  .story-cta-btn { min-height: 58px; font-size: 1.12rem; }
  .story-beats,
  .story-places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-h-ico { width: 36px; height: 36px; border-radius: 12px; font-size: 0.92rem; }
}
