/* The scroll story on the Original words pages (owner's pick B, 8 Nov 2026). Each page asks one question and answers it:
   the verse stays pinned while its words change, then the Greek or Hebrew, the evidence and the ending follow.
   The word-by-word view is the page's older layout, reached with ?view=words. Fonts and page colours come from style.css. */
html.story #main { display: none; }
#story { --sa: #2563a8; --sp: #a5402a; --sm: #8f6418; --sbar: #a9a39b; font-size: 18px; line-height: 1.55; }
#story h2, #story h3, .st-q { font-family: var(--head-font); font-weight: 500; margin: 0; text-wrap: balance; }
:where(#story) p { margin: 0; }
.st-gk { font-family: var(--greek-font); }
.st-layout { padding: 0 20px; }
.st-stage { position: sticky; top: var(--st-head, 52px); z-index: 10; background: var(--page); padding: 18px 0 14px; border-bottom: 1px solid var(--line); }
.st-q { font-size: 25px; line-height: 1.18; margin-bottom: 18px; }
.st-line { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; align-items: baseline; padding: 3px 0; transition: opacity .35s; }
.st-line.has-sp { grid-template-columns: 58px 1fr auto; }
.st-sp { font-family: var(--label-font); font-size: 15px; color: var(--muted); }
.st-text { font-size: 18.5px; line-height: 1.3; }
.st-tag { font-style: italic; font-size: 17px; opacity: 0; transition: opacity .35s; white-space: nowrap; }
.st-tag.a { color: var(--sa); } .st-tag.p { color: var(--sp); }
.st-wm { transition: color .35s; border-bottom: 3px solid transparent; }
#story[data-s="words"] .st-tag, #story[data-s="focus"] .st-tag { opacity: 1; }
#story[data-s="words"] .st-wm.a, #story[data-s="focus"] .st-wm.a, #story[data-s="extra"] .st-wm.a { color: var(--sa); border-color: currentColor; }
#story[data-s="words"] .st-wm.p, #story[data-s="focus"] .st-wm.p, #story[data-s="extra"] .st-wm.p { color: var(--sp); border-color: currentColor; border-bottom-style: dotted; }
#story[data-s="focus"] .st-line { opacity: .35; } #story[data-s="focus"] .st-line.focus { opacity: 1; }
.st-big { font-family: var(--head-font); font-size: 36px; line-height: 1.15; }
.st-gkline { font-family: var(--greek-font); font-size: 44px; line-height: 1.2; color: var(--sa); opacity: 0; max-height: 0; overflow: hidden; transition: opacity .35s, max-height .35s; }
.st-gkline small { font-family: var(--body-font); font-style: italic; font-size: 20px; margin-inline-start: 10px; }
#story[data-s="words"] .st-gkline, #story[data-s="extra"] .st-gkline { opacity: 1; max-height: 72px; }
.st-extra { opacity: 0; max-height: 0; overflow: hidden; transition: opacity .35s, max-height .35s; color: var(--sp); }
#story[data-s="extra"] .st-extra { opacity: 1; max-height: 190px; margin-top: 10px; }
.st-extra .l { font-family: var(--label-font); font-size: 15px; color: var(--muted); }
.st-extra .g { font-family: var(--greek-font); font-size: 30px; line-height: 1.2; }
.st-extra .g small { font-family: var(--body-font); font-style: italic; font-size: 18px; margin-inline-start: 8px; }
.st-extra .e { font-size: 17px; line-height: 1.35; }
.st-step { min-height: 64vh; display: flex; align-items: center; padding: 24px 0 84px; }
.st-step:last-child { min-height: 44vh; }
.st-step p { font-size: 21px; line-height: 1.5; }
.st-rest { max-width: 640px; margin: 0 auto; padding: 12px 20px 72px; display: grid; gap: 52px; }
.st-rest > * { min-width: 0; }
.st-rest h2 { font-size: 25px; line-height: 1.22; }
.st-word-list { display: grid; gap: 30px; margin-top: 22px; }
.st-word .g { font-family: var(--greek-font); font-size: 52px; line-height: 1.15; }
.st-word.a .g { color: var(--sa); } .st-word.p .g { color: var(--sp); }
.st-word .s { margin-top: 2px; } .st-word .s i { font-size: 20px; }
.st-word .s span { color: var(--muted); font-family: var(--label-font); font-size: 16px; margin-inline-start: 8px; }
.st-word .m { font-size: 20px; line-height: 1.4; margin-top: 10px; }
.st-word .h { margin-top: 8px; }
.st-word .c, .st-src { font-size: 16px; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.st-bars { display: grid; gap: 22px; margin-top: 20px; }
.st-track { display: flex; gap: 2px; height: 22px; margin: 6px 0; }
.st-track span { display: block; height: 100%; border-start-end-radius: 4px; border-end-end-radius: 4px; }
.st-bar.a .m1 { background: var(--sa); } .st-bar.p .m1 { background: var(--sp); } .st-track .m2 { background: var(--sbar); }
.st-bar .cap { font-size: 16px; color: var(--muted); line-height: 1.4; }
.st-bar .n i { font-size: 20px; }
.st-units { display: grid; gap: 22px; margin-top: 20px; }
.st-squares { display: flex; gap: 5px; margin-bottom: 8px; }
.st-squares i { display: block; width: 30px; height: 30px; border-radius: 4px; }
.a-tone i { background: var(--sa); } .m-tone i { background: var(--sm); }
.o-tone i { background: repeating-linear-gradient(45deg, #a9a39b 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1.5px #8d877f; }
.st-ug h3 { font-family: var(--body-font) !important; font-size: 19px; line-height: 1.3; }
.st-ug p { font-size: 17px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.st-table { display: grid; margin-top: 16px; }
.st-table > div { padding: 12px 0; border-top: 1px solid var(--line); }
.st-table .th { font-style: italic; color: var(--sa); font-size: 19px; }
.st-table .td { font-size: 17px; line-height: 1.45; }
.st-grp { margin-top: 24px; }
.st-grp h3 { font-size: 20px; line-height: 1.25; }
.st-item { margin-top: 16px; }
.st-item .who { font-weight: 500; font-size: 17px; }
.st-foot { margin-top: 14px; font-size: 17px; color: var(--muted); }
.st-end > p { font-size: 20px; line-height: 1.5; margin-top: 14px; }
.st-end blockquote { margin: 22px 0 0; font-family: var(--head-font); font-size: 24px; line-height: 1.28; }
.st-end cite { display: block; font-family: var(--label-font); font-size: 15px; font-style: normal; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.st-end cite i { font-style: italic; }
.st-end .aft { font-size: 18px; }
.st-more { font-family: var(--label-font); font-size: 16px; }
.st-more a { text-underline-offset: 3px; }
.st-cue { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 25; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: var(--band); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; font-family: var(--label-font); font-size: 16px; cursor: pointer; white-space: nowrap; transition: opacity .25s; }
.st-cue svg { width: 16px; height: 16px; flex: none; }
.st-cue.go svg { animation: st-nudge 1.1s ease-in-out 4; }
.st-cue.off { opacity: 0; pointer-events: none; }
@keyframes st-nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(5px); } }
.st-about-lead { font-weight: 500; }
@media (max-width: 480px) {
  html.story #head h1 { white-space: normal; overflow: visible; text-overflow: clip; font-size: 17px; line-height: 1.15; text-wrap: balance; }
  html.story #head .title-long { display: none; } html.story #head .title-short { display: inline; }
}
@media (min-width: 900px) {
  .st-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; max-width: 1120px; margin: 0 auto; padding: 0 32px; }
  .st-stage { top: calc(var(--st-head, 52px) + 36px); align-self: start; border: 0; }
  .st-q { font-size: 34px; margin-bottom: 22px; }
  .st-line.has-sp { grid-template-columns: 64px 1fr auto; } .st-line { padding: 7px 0; }
  .st-text { font-size: 23px; } .st-sp { font-size: 17px; } .st-tag { font-size: 21px; }
  .st-big { font-size: 58px; } .st-gkline { font-size: 62px; }
  #story[data-s="words"] .st-gkline, #story[data-s="extra"] .st-gkline { max-height: 100px; }
  #story[data-s="extra"] .st-extra { max-height: 240px; }
  .st-step p { font-size: 24px; }
  .st-rest { max-width: 680px; }
}
@media (max-width: 374px) { .st-big { font-size: 30px; } .st-gkline { font-size: 36px; } .st-word .g { font-size: 44px; } }
@media (prefers-reduced-motion: reduce) { #story *, .st-cue, .st-cue svg { transition: none !important; animation: none !important; } }
