/* Shared release shell; landing artwork is first-party and reader text-only stays image-free. */
html {color-scheme:dark;scroll-behavior:auto}
body.site-page {display:block;height:auto;overflow:auto;min-height:100vh;background:#10171b;color:#f4eee2;font:1rem/1.7 system-ui,sans-serif;margin:0}
.site-page main,.site-page header,.site-page footer {max-width:62rem;margin:auto;padding:1.5rem}
.site-page header {display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
a {color:#ffbd79;text-underline-offset:.22em}
a:focus-visible,button:focus-visible,summary:focus-visible {outline:3px solid #ffbd79;outline-offset:4px}
.site-page h1 {font:clamp(2.6rem,8vw,5.2rem)/1.05 Georgia,serif;max-width:13ch;margin:1.1rem 0}
.site-page h2 {font:1.8rem/1.25 Georgia,serif;margin:1rem 0}
.site-page p {max-width:70ch;margin:1rem 0}
.eyebrow,.release-badge {font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:#f1ba7e}
.edition-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin:2rem 0}
.edition-card {display:block;padding:1.6rem;border:1px solid #5b6c73;border-radius:12px;background:#19242a;color:inherit;text-decoration:none}
.edition-card:hover {border-color:#ffbd79;background:#223139}
.edition-card strong {display:block;color:#ffbd79;font-size:1.3rem}
.edition-card span {display:block;margin-top:.75rem}
.site-page ul,.site-page ol {padding-left:1.5rem}
.site-page li {margin:.5rem 0}
.site-page footer {border-top:1px solid #5b6c73;display:flex;gap:1rem;flex-wrap:wrap;font-size:.9rem}
.release-links {display:flex;gap:.8rem;flex-wrap:wrap;font-size:.85rem;margin-top:.8rem}
.release-links a {display:inline-block;min-height:32px}
.reader-notes {font-size:.95rem}
.reader-notes summary {cursor:pointer;min-height:44px;padding:.6rem 0}
.reader-notes p,.reader-notes li {line-height:1.65;margin:.7rem 0}
.reader-notes ul {padding-left:1.4rem}
.pill-btn,.genre-btn,.choice-btn {min-height:44px}
.text-button {min-height:44px}
.text-edition .scene-illustration-box,.text-edition #stage::before {display:none!important;background:none!important}
.text-edition #stage {background-image:none!important}
.text-edition .story-card {background:var(--panel);border-color:var(--panel-border)}
body {--text-muted:#aab8c7}
.story-card p {line-height:1.8}
@media(max-width:650px) {.edition-grid{grid-template-columns:1fr}.site-page main,.site-page header,.site-page footer{padding:1.1rem}.modal-content-area [style*="grid-template-columns"]{grid-template-columns:1fr!important}.modal-content-area>div[style*="display:flex"]{flex-wrap:wrap;gap:1rem}}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after {animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Story Atlas: an illustrated entrance to the existing collection. */
.atlas-home {background:radial-gradient(ellipse at 75% 12%,#263338 0,transparent 45%),#10171b!important}
.atlas-home main,.atlas-home header,.atlas-home footer {max-width:78rem}
.atlas-header {border-bottom:1px solid #354147;padding-top:1.75rem!important;padding-bottom:1.75rem!important}
.atlas-wordmark {font-size:1.05rem;letter-spacing:.17em;font-weight:700;color:#f4eee2;text-decoration:none;white-space:nowrap}
.atlas-wordmark>span {font-size:1.65rem;color:#ffbd79;vertical-align:middle;margin-right:.55rem}
.atlas-header nav {display:flex;gap:1.6rem;margin-left:auto;flex-wrap:wrap}
.atlas-header nav a {font-size:.85rem;color:#c6d0d0;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.atlas-header .release-badge {font-size:.63rem;padding:.25rem .65rem;border:1px solid #74614d;letter-spacing:.09em}
.atlas-hero {display:grid;grid-template-columns:1fr 1.08fr;gap:3rem;align-items:center;padding:4rem 0 5rem}
.hero-copy {position:relative;z-index:1}
.atlas-home .hero-copy h1 {font-size:clamp(3.5rem,6.5vw,6.6rem);letter-spacing:-.055em;margin:1.1rem 0 .7rem;max-width:none;white-space:nowrap}
.atlas-home .hero-tagline {font:clamp(1.9rem,3.2vw,3rem)/1.16 Georgia,serif;margin:.6rem 0 1.5rem;max-width:15ch;color:#f0e6d6}
.hero-tagline em {color:#ffbd79;font-weight:400}
.hero-intro {color:#bec9c9;max-width:43ch!important;font-size:1.06rem}
.hero-actions {display:flex;align-items:center;gap:1.3rem;flex-wrap:wrap;margin:2rem 0 1.2rem}
.primary-link {display:inline-flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:.85rem 1.15rem;background:#ffbd79;color:#182126;border:1px solid #ffbd79;text-decoration:none;font-weight:650;min-height:24px}
.primary-link:hover {background:#ffd4a5}
.quiet-link {font-size:.9rem;color:#f4eee2;text-decoration:none;padding:.6rem 0}
.hero-footnote {font-size:.8rem;color:#aab8bd}
.hero-footnote a {color:#d8b591}
.hero-gallery {height:34rem;display:grid;grid-template-columns:1fr 1fr 1fr;gap:.7rem;align-items:start}
.hero-panel {position:relative;overflow:hidden;margin:0;height:29rem;border:1px solid #67716a;background:#263238;box-shadow:0 18px 45px #0005}
.hero-panel img {width:100%;height:100%;object-fit:cover;display:block}
.hero-panel::after {position:absolute;content:"";inset:45% 0 0;background:linear-gradient(transparent,#081115eb)}
.hero-panel figcaption {position:absolute;z-index:1;left:.8rem;right:.6rem;bottom:.9rem;font:1.08rem/1.2 Georgia,serif;color:#fff5e6}
.hero-panel figcaption span {display:block;font:.62rem/1.5 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#ffcd98;margin-top:.45rem}
.hero-fantasy {margin-top:.5rem}.hero-fantasy img {object-position:48% center}
.hero-space {margin-top:3.5rem}.hero-space img {object-position:40% center}
.hero-haven {margin-top:1.7rem}.hero-haven img {object-position:38% center}
.worlds-section,.reading-section {scroll-margin-top:1.5rem;border-top:1px solid #455055;padding:3rem 0}
.section-heading {display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:2rem}
.section-heading>p {max-width:31ch;font-size:.9rem;color:#b7c3c7}
.atlas-home h2 {font:clamp(1.8rem,3.4vw,2.65rem)/1.14 Georgia,serif;margin:.6rem 0}
.world-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2.2rem 1.2rem}
.world-card {display:block;color:inherit;text-decoration:none;min-width:0}
.world-art {aspect-ratio:1.27;overflow:hidden;background:#25343a;border:1px solid #4f5d60}
.world-art img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.world-card:hover .world-art img {transform:scale(1.04)}
.world-card:hover h3 {color:#ffbd79}
.world-copy {padding:.8rem .1rem 0}
.world-count {font-size:.65rem;text-transform:uppercase;letter-spacing:.1em;color:#b8c4c7}
.world-card h3 {font:1.5rem/1.3 Georgia,serif;margin:.35rem 0;display:flex;justify-content:space-between;align-items:center}
.world-card h3 span {font:1rem system-ui;color:#ffbd79}
.atlas-home .world-card p {font-size:.8rem;line-height:1.5;margin:.35rem 0;color:#b8c4c7}
.atlas-home .world-card .world-name {color:#e6c9a9;font-size:.85rem}
.reading-section>p {color:#bbc6c9;max-width:65ch}
.atlas-home .edition-card {border-radius:0;background:transparent;border-color:#566267}
.atlas-home .edition-card:hover {background:#1e2d33;border-color:#ffbd79}
.edition-card .edition-number {font-size:.72rem;letter-spacing:.12em;color:#aab8bd;margin:0 0 .8rem}
.preview-note {border-top:1px solid #455055;padding:1.5rem 0 2rem;color:#b1bdc1;font-size:.82rem}
.preview-note p {max-width:90ch}
.preview-note strong {color:#e7d9c7}
.atlas-home footer {align-items:center;padding-top:1.5rem;padding-bottom:1.5rem}
.footer-brand {font-size:.75rem;letter-spacing:.12em;color:#e9d6bf;margin-right:auto}
.footer-brand span {color:#ffbd79;margin-left:.5rem}
@media(max-width:1000px) {.atlas-hero{gap:1.7rem}.atlas-home .hero-copy h1{font-size:clamp(3.2rem,7vw,5rem)}.hero-gallery{height:30rem}.hero-panel{height:25rem}.atlas-header .release-badge{display:none}.world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px) {.atlas-hero{grid-template-columns:1fr;padding:2.3rem 0 2.5rem;gap:1.6rem}.hero-copy{max-width:35rem}.atlas-home .hero-copy h1{font-size:clamp(3.2rem,12vw,5rem);white-space:normal}.hero-intro{font-size:1rem}.hero-gallery{height:23rem;gap:.5rem}.hero-panel{height:20rem}.hero-fantasy{margin-top:0}.hero-space{margin-top:2rem}.hero-haven{margin-top:1rem}.hero-panel figcaption{left:.55rem;font-size:.93rem}.hero-panel figcaption span{font-size:.57rem}.section-heading{display:block}.section-heading>p{max-width:50ch}.worlds-section,.reading-section{padding:2rem 0}.world-grid{gap:1.6rem .9rem}.world-card h3{font-size:1.25rem}.atlas-header nav{gap:1rem;margin-left:0}.atlas-header{gap:.3rem 1rem}.atlas-wordmark{font-size:.9rem}.world-art{aspect-ratio:1.05}.atlas-home footer{gap:.7rem 1rem}.footer-brand{width:100%}}

.site-page .skip-link {position:absolute;top:.5rem;left:.5rem;z-index:100;background:#10171b;padding:.5rem 1rem;transform:translateY(-200%)}
.site-page .skip-link:focus {transform:translateY(0)}
@media(max-width:720px) {.hero-gallery{grid-row:1;height:19rem}.hero-panel{height:16rem}}

/* Jim's approved personal welcome, before the genre collection. */
.creator-welcome {display:grid;grid-template-columns:.8fr 1.2fr;gap:4rem;padding:3.5rem 0 4rem;border-top:1px solid #74614d}
.creator-welcome .welcome-heading h2 {max-width:14ch;font-size:clamp(2rem,3.5vw,2.8rem);line-height:1.16}
.welcome-story {max-width:62ch;color:#d1dbdb;font:1.05rem/1.85 Georgia,serif}
.atlas-home .welcome-story p {margin:0 0 1.1rem}
.atlas-home .welcome-story .welcome-signature {color:#ffbd79;font-size:1.35rem;font-style:italic;margin-top:1.7rem;margin-bottom:0}
@media(max-width:720px) {.creator-welcome{grid-template-columns:1fr;gap:1.1rem;padding:2.5rem 0}.creator-welcome .welcome-heading h2{max-width:20ch}.welcome-story{font-size:1rem}}

.public-main{max-width:1100px;margin:3rem auto;padding:0 1.2rem}.public-main h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.15}.public-deck{font-size:1.15rem;line-height:1.8;max-width:70ch}.public-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.6rem;margin:2rem 0}.public-card{padding:1.2rem;border:1px solid #74614d;border-radius:12px;min-width:0}.public-card img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:8px}.public-card h2{font-size:1.4rem}.public-main p,.public-main li{line-height:1.8}.public-main section{margin:2rem 0}.atlas-network{display:block!important;max-width:1200px;margin:3rem auto;padding:2rem 1.2rem;border-top:1px solid #74614d}.atlas-network nav{display:flex;flex-wrap:wrap;gap:1rem;margin:1rem 0}.atlas-network button{color:inherit;background:none;border:0;text-decoration:underline;font:inherit;cursor:pointer}.atlas-network details{margin-top:1.2rem}.public-cover{width:min(100%,450px);height:auto;float:right;margin:0 0 1.5rem 2rem}.reader-shop-note{margin-top:1.5rem;padding:1rem;border:1px solid var(--panel-border)}.reader-info-links{display:flex;gap:1rem;flex-wrap:wrap;padding:1rem}.release-badge{white-space:normal}@media(max-width:650px){.public-cover{float:none;margin:1rem 0;width:100%}.atlas-header{flex-wrap:wrap}.atlas-header nav{flex-wrap:wrap}.public-main{margin-top:1.5rem}}

.release-links button{display:inline;color:#ffbd79;background:none;border:0;padding:0;font:inherit;text-decoration:underline;cursor:pointer}
