/* Shared Golden Book presentation for The Hero's Journey chapters. */
body.hero-chapter-document { background: #170f09; color: #f4ead7; }
.hero-chapter-document .hero-chapter-page { min-width: 0; }
.hero-chapter-visual { position: relative; display: flex; align-items: end; min-height: clamp(35rem, 64vw, 47rem); overflow: hidden; isolation: isolate; background-color: #211207; background-image: linear-gradient(180deg, rgba(27, 13, 5, .12) 0%, rgba(27, 13, 5, .25) 36%, rgba(24, 12, 5, .76) 78%, #1a1009 100%), url("../images/hero-journey/BeyondTimelines-Golden Image 23 Oct 2026, 16_04_41.png"); background-position: center, center 43%; background-size: cover, cover; background-repeat: no-repeat; }
.hero-chapter-intro { position: relative; width: min(100% - 3rem, 74rem); margin: 0 auto; padding: 12rem 0 5.5rem; text-align: center; text-shadow: 0 2px 24px #1d1008; }
.hero-chapter-kicker, .hero-chapter-subtitle { margin: 0; color: #ffe4aa; font-family: var(--mono); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; }
.hero-chapter-kicker { margin-bottom: 1.15rem; }
.hero-chapter-intro h1 { max-width: none; margin: 0; color: #fff5df; font-family: var(--serif); font-size: clamp(2.8rem, 6.3vw, 6.6rem); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.hero-chapter-subtitle { margin-top: 1.7rem; }
.hero-chapter-reading { padding: clamp(3.5rem, 7vw, 7rem) 1.5rem 5rem; background: linear-gradient(180deg, #1a1009, #24170e 58%, #170f09); }
.hero-chapter-prose { width: min(100%, 46rem); margin: 0 auto; color: #f4ead7; font-family: var(--serif); font-size: clamp(1.16rem, 1.35vw, 1.34rem); line-height: 1.82; }
.hero-chapter-prose p { margin: 0 0 1.8em; }
.hero-chapter-prose p:last-child { margin-bottom: 0; }
.hero-chapter-navigation { width: min(100%, 55rem); margin: clamp(4rem, 7vw, 7rem) auto 0; border-top: 1px solid rgba(237,194,122,.32); padding-top: 2rem; }
.hero-chapter-prototype-note { margin: 0 0 1.4rem; color: #e9c58e; font-family: var(--mono); font-size: .73rem; line-height: 1.6; letter-spacing: .03em; text-align: center; }
.hero-chapter-progress { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: .35rem; margin: 0; padding: 0; list-style: none; }
.hero-chapter-progress li { min-width: 0; padding: .58rem .15rem; border-top: 2px solid rgba(237,194,122,.35); color: #cdbb9d; font-family: var(--mono); font-size: .68rem; text-align: center; }
.hero-chapter-progress li[aria-current="step"] { border-color: #ffcf76; color: #fff1d0; background: rgba(255,195,93,.11); }
.hero-chapter-progress a { display: block; min-height: 1.25rem; color: inherit; text-decoration: none; }
.hero-chapter-progress a:hover { color: #fff1d0; }
.hero-chapter-progress a:focus-visible, .hero-chapter-turns a:focus-visible, .hero-chapter-overview-link a:focus-visible { outline: 2px solid #ffcf76; outline-offset: 4px; }
.hero-chapter-prose h2 { margin: 2.2em 0 .8em; color: #ffe4aa; font-family: var(--serif); font-size: 1.25em; font-weight: 400; line-height: 1.35; }
.hero-chapter-prose h2:first-child { margin-top: 0; }
.hero-chapter-page[data-kind="closing"] .hero-chapter-prose h2 { text-align: center; }
.hero-chapter-artwork { width: 100%; margin: 0 auto 2.5rem; text-align: center; }
.hero-chapter-artwork img { display: block; width: 100%; height: auto; margin: 0 auto; border-radius: 2px; }
.hero-chapter-page[data-kind="closing"] .hero-chapter-artwork + h2 { margin-top: 0; }
.hero-chapter-overview-list { padding-left: 1.5em; }
.hero-chapter-overview-list li { margin: 0 0 .7em; }
.hero-chapter-closing { margin-top: 1.8em !important; color: #fff1d0; font-size: 1.2em; text-align: center; }
.hero-chapter-overview-link { margin: 1.25rem 0 0; text-align: center; font-family: var(--mono); font-size: .78rem; }
.hero-chapter-overview-link a, .hero-chapter-turns a { color: #f4d398; text-decoration-color: rgba(244,211,152,.55); text-underline-offset: .22em; }
.hero-chapter-turns > span > span[aria-disabled="true"] { color: #bc9b70; }
.hero-chapter-turns { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.hero-chapter-turns > span { display: grid; gap: .2rem; padding: .8rem 0; color: #ddc8a5; font-family: var(--mono); font-size: .76rem; }
.hero-chapter-turns > span:last-child { text-align: right; }
.hero-chapter-turns small { color: #bc9b70; font-size: .68rem; }
@media (max-width: 768px) { .hero-chapter-visual { min-height: 36rem; } .hero-chapter-intro { padding-bottom: 4rem; } .hero-chapter-reading { padding-inline: 1.5rem; } }
@media (max-width: 520px) { .hero-chapter-visual { min-height: 31rem; background-size: cover, 120% auto; background-position: center, center 23%; } .hero-chapter-intro { width: min(100% - 2.5rem, 74rem); padding: 10rem 0 3.5rem; } .hero-chapter-intro h1 { font-size: clamp(2.5rem, 11vw, 3.7rem); } .hero-chapter-kicker, .hero-chapter-subtitle { font-size: .66rem; letter-spacing: .11em; } .hero-chapter-reading { padding: 3.5rem 1.25rem 4rem; } .hero-chapter-prose { font-size: 1.15rem; line-height: 1.75; } .hero-chapter-turns { gap: .7rem; } .hero-chapter-turns > span { font-size: .69rem; } }
@media (prefers-reduced-motion: reduce) { .hero-chapter-document *, .hero-chapter-document *::before, .hero-chapter-document *::after { scroll-behavior: auto; transition: none; animation: none; } }

/* Chapter 01 introduction: share the footer's centred reading axis. */
.hero-chapter-page[data-kind="overview"] .hero-chapter-prose { width: min(100%, 55rem); text-align: center; }
.hero-chapter-page[data-kind="overview"] .hero-chapter-overview-list { margin: 0 auto; padding: 0; list-style-position: inside; text-align: center; }
.hero-chapter-page[data-kind="overview"] .hero-chapter-overview-list li { margin: 0 0 .7em; }
.hero-chapter-page[data-kind="overview"] .hero-chapter-overview-list a { color: inherit; text-decoration-color: rgba(244,211,152,.55); text-underline-offset: .2em; }
.hero-chapter-page[data-kind="overview"] .hero-chapter-overview-list a:hover { color: #fff1d0; }
.hero-chapter-page[data-kind="overview"] .hero-chapter-overview-list a:focus-visible { outline: 2px solid #ffcf76; outline-offset: 4px; }
.hero-chapter-page[data-kind="overview"] .hero-chapter-artwork { width: 100%; max-width: 55rem; margin: 1.75rem auto 2.5rem; }
.hero-chapter-page[data-kind="overview"] .hero-chapter-artwork img { width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.hero-chapter-page[data-kind="closing"] .hero-chapter-signoff { margin: 1rem 0 0; color: #ffe4aa; font-family: cursive; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.3; text-align: center; }
