.story-page { color: var(--ink); background: var(--cream); }
.story-page p { max-width: 38ch; }

.story-hero {
  padding: calc(74px + max(15vh, 120px)) var(--gutter) max(15vh, 120px);
  color: var(--cream);
  background: var(--ink);
}
.story-hero-inner, .story-index-section { width: min(100%, var(--max)); margin: 0 auto; }
.story-eyebrow, .story-index-head > p { margin: 0 0 28px; font-size: .68rem; font-weight: 900; letter-spacing: .17em; }
.story-eyebrow { color: var(--pop); }
.story-hero h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 8.7vw, 9rem);
  font-weight: 900;
  letter-spacing: -.09em;
  line-height: .93;
}
.story-hero h1 span { color: var(--pop); }
.story-intro-row {
  margin-top: max(12vh, 82px);
  padding-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  border-top: 2px solid var(--cream);
}
.story-intro-row p { margin: 0; font-weight: 650; }
.story-admin-link, .post-back { flex: 0 0 auto; padding-bottom: 4px; font-size: .78rem; font-weight: 900; border-bottom: 2px solid currentColor; }
.story-admin-link:hover, .post-back:hover { color: var(--pop); }

.story-index-section { padding: max(15vh, 132px) var(--gutter); }
.story-index-head {
  padding-top: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  border-top: 2px solid var(--ink);
}
.story-index-head > p { margin: 0; }
.story-index-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: 1;
}
.blog-list { margin: max(15vh, 120px) 0 0; padding: 0; list-style: none; border-top: 3px solid var(--ink); }
.blog-card { border-bottom: 1px solid rgba(28, 26, 23, .35); }
.blog-card a {
  min-height: 240px;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 36px;
  align-items: start;
  gap: clamp(26px, 5vw, 76px);
}
.blog-card a:hover { color: var(--pop); }
.blog-card-number { color: var(--pop); font-family: var(--display); font-size: clamp(2rem, 3.5vw, 4rem); font-weight: 900; letter-spacing: -.08em; line-height: 1; }
.blog-card-content time, .post-head time { font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.blog-card-content h3 {
  max-width: 21ch;
  margin: 14px 0 18px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1.12;
}
.blog-card-summary { margin: 0; font-size: .92rem; }
.blog-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 7px; }
.blog-tag { padding: 4px 9px; display: inline-flex; align-items: center; color: var(--ink); border: 1px solid var(--ink); font-size: .66rem; font-weight: 800; }
.blog-card-arrow { font-size: 1.35rem; }
.blog-state { max-width: none; padding: 80px 0; font-weight: 700; text-align: center; }

.post-shell {
  width: min(calc(100% - 40px), 680px);
  min-height: 70svh;
  margin: 0 auto;
  padding: calc(74px + max(12vh, 96px)) 0 max(15vh, 132px);
}
.post-back { display: inline-flex; align-items: center; gap: 16px; }
#post-content { min-height: 380px; }
.post-article { padding-top: max(10vh, 72px); }
.post-head h1, .post-notfound h1 {
  margin: 16px 0 24px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: 1;
}
.post-meta { margin: 0; font-size: .8rem; font-weight: 700; }
.post-rule { width: 100%; margin: 52px 0; border: 0; border-top: 3px solid var(--ink); }
.post-body { font-size: 1.04rem; line-height: 1.95; }
.post-body p { max-width: none; margin: 0 0 1.7em; }
.post-body h2, .post-faq h2 {
  margin: 2.4em 0 .8em;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.2;
}
.post-body ul { margin: 0 0 1.7em; padding-left: 1.25em; }
.post-body li { margin-bottom: .5em; }
.post-body li::marker { color: var(--pop); }
.post-note { margin: 0 0 52px; padding: 22px; color: var(--cream); background: var(--ink); border-left: 8px solid var(--pop); }
.post-note strong { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 1.05rem; }
.post-note p { max-width: none; margin: 0; }
.post-cta { min-height: 54px; margin-top: 38px; padding: 14px 18px; display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; color: var(--ink); background: var(--pop); font-size: .88rem; font-weight: 900; }
.post-cta:hover { color: var(--pop); background: var(--ink); }
.post-faq { margin-top: max(12vh, 84px); }
.post-faq details { padding: 18px 0; border-top: 1px solid rgba(28, 26, 23, .35); }
.post-faq details:last-child { border-bottom: 1px solid rgba(28, 26, 23, .35); }
.post-faq summary { cursor: pointer; font-weight: 900; list-style: none; }
.post-faq summary::-webkit-details-marker { display: none; }
.post-faq summary::before { content: "Q. "; color: var(--pop); }
.post-faq p { max-width: none; margin: 12px 0 0; }
.post-sources { margin-top: 54px; padding-top: 18px; border-top: 2px solid var(--ink); font-size: .82rem; }
.post-sources h2 { font-size: .7rem; letter-spacing: .12em; }
.post-sources ol { padding-left: 1.2em; }
.post-sources a { text-decoration: underline; text-underline-offset: 4px; }
.post-neighbors { margin-top: max(15vh, 108px); padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; border-top: 3px solid var(--ink); }
.post-neighbors a { min-width: 0; padding: 18px 0; display: flex; flex-direction: column; gap: 8px; }
.post-neighbors a:hover { color: var(--pop); }
.post-neighbor-label { font-size: .66rem; font-weight: 900; letter-spacing: .12em; }
.post-neighbors strong { font-family: var(--display); font-size: 1.12rem; line-height: 1.3; }
.post-neighbors .next { text-align: right; }
.post-notfound { padding: max(15vh, 108px) 0; }
.post-notfound p { margin: 0 0 30px; }
.post-notfound a { padding-bottom: 4px; font-weight: 900; border-bottom: 2px solid var(--ink); }

@media (max-width: 700px) {
  .story-hero { padding-top: calc(68px + max(15vh, 108px)); }
  .story-hero h1 { font-size: clamp(3.6rem, 16vw, 5.7rem); }
  .story-intro-row, .story-index-head { align-items: flex-start; flex-direction: column; }
  .story-index-section { padding-top: max(15vh, 108px); padding-bottom: max(15vh, 108px); }
  .blog-list { margin-top: max(15vh, 108px); }
  .blog-card a { min-height: 0; grid-template-columns: 54px minmax(0, 1fr) 24px; gap: 18px; }
  .blog-card-content h3 { font-size: 1.9rem; }
  .post-shell { width: min(calc(100% - 40px), 680px); padding-top: calc(68px + max(10vh, 76px)); }
  .post-neighbors { grid-template-columns: 1fr; }
  .post-neighbors .next { text-align: left; }
}

@media (max-width: 390px) {
  .blog-card a { grid-template-columns: 42px minmax(0, 1fr) 20px; gap: 12px; }
  .blog-card-number { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
