/* Typography and surface colour only. Existing artwork and reader mechanics stay authoritative. */
@import url('/assets/information-fonts.css');
:root{--mineral-paper:#c9c4b5;--mineral-ink:#222923;--mineral-secondary:#41483e;--print-ivory:#e8e4d8;--print-quiet:#c5c8b8;--print-panel:#111c17;--period-heading:'IM Fell French Canon',Georgia,serif}

/* Roman titles carry the period character; controls and legal text remain plain. */
:root :is(.founding,.memory,.play,.races,.invitation,.narrative-intro,.book-after,.reading-intro,.story-end,.access-intro,.entry-copy,.arrival,.first-night,.community,.hero) :is(h1,h2),
:root .prose :is(h1,h2),:root .question-start h2,:root .collection-note h2,:root #application-success h2{font-family:var(--period-heading);font-weight:400;letter-spacing:-.015em;line-height:1.12}
:root :is(.narrative-intro,.reading-intro) h1{font-size:clamp(48px,6.2vw,100px);line-height:1.04}
:root .story-text h2{font-family:var(--period-heading);font-size:20px;line-height:1.4;font-weight:400;letter-spacing:.04em}
:root .story-text{font-family:'Cormorant Garamond',Georgia,serif;font-size:23px;line-height:1.65}
:root :is(.founding-heading>p,.founding-bottom>div,.intro-note>p,.access-lead){font-family:'Cormorant Garamond',Georgia,serif;font-size:22px;line-height:1.55}

/* Broad showcase panels become ink; the book supplies its own paper and images. */
:root :is(.founding,.narrative-intro,.book-after,.arrival){background:var(--print-panel);color:var(--print-ivory)}
:root :is(.founding,.narrative-intro,.book-after,.arrival) :is(h1 em,h2 em){color:#b7ceb4}
:root :is(.arrival-intro p,.arrival-steps p){color:var(--print-quiet)}
:root .arrival-steps li{border-top-color:#7d8a764d}
:root :is(.founding,.narrative-intro,.book-after,.arrival) :is(.text-link,.edition-link){color:var(--print-ivory);border-color:#b7ceb480}
:root :is(.founding,.narrative-intro,.book-after,.arrival) a:hover{color:#b7deb9}
:root .book-after .button{background:var(--print-ivory);color:var(--mineral-ink)}
:root :is(.founding,.narrative-intro,.book-after,.arrival) :focus-visible{outline-color:#a9d6b8}

/* Continuous reading retains a dim, flat mineral paper with strong ink. */
:root :is(.reading-intro,.reading-layout,.story-end){background:var(--mineral-paper);color:var(--mineral-ink)}
:root :is(.reading-intro,.story-end) :is(h1 em,h2 em){color:#364b37}
:root :is(.reading-intro,.reading-layout,.story-end) a:hover{color:#243e2d}
:root .story-end .text-link{color:var(--mineral-ink)}
:root .chapter-index,:root .chapter-index nav a,:root .chapter-index nav :is(.chapter-number,.chapter-cue),:root .reading-return-note{color:var(--mineral-secondary)}
:root .chapter-index nav a[aria-current]{color:var(--mineral-ink)}
:root .chapter-index,:root .chapter-index nav a,:root .chapter-index nav :is(.chapter-number,.chapter-speaker,.chapter-cue){font-size:14px;line-height:1.55}

/* Scope information-page variables without changing the darker product shell. */
body:has(main.layout,main .layout){--paper:var(--mineral-paper);--text:var(--mineral-ink);--muted:var(--mineral-secondary);--rule:#7e8876;background:var(--mineral-paper);color:var(--mineral-ink)}
body:has(main.layout,main .layout) .layout{background:var(--mineral-paper)}
body:has(main.layout,main .layout) :is(input:not([type=checkbox]),select,textarea){background:var(--print-ivory);color:var(--mineral-ink);border-color:#66735f}
body:has(main.layout,main .layout) :is(input:disabled,select:disabled,textarea:disabled){background:#bdbdab}
body:has(main.layout,main .layout) .primary-link{background:var(--print-ivory);color:var(--mineral-ink)}
body:has(main.layout,main .layout) :is(.field-hint,.question-start p,.before-begin .prose,.consent-note,.noscript-note){font-size:15px;line-height:1.65}
body:has(main.layout,main .layout) :is(.field-error,#submit-status){font-size:14px;line-height:1.6}
body:has(main.layout,main .layout) :is(.prose,.check-field label){font-size:16px}

/* Functional reading aids gain legibility without changing their layout. */
:root :is(.edition-link,.narrative-intro .text-link,.book-after .text-link,.founding .text-link){font-size:14px;line-height:1.6}
:root .site-header nav a{font-size:14px;line-height:1.5}
@media(max-width:600px){
 :root :is(.narrative-intro,.reading-intro) h1{font-size:clamp(44px,11vw,60px)}
 :root :is(.founding-heading>p,.founding-bottom>div,.intro-note>p,.access-lead){font-size:20px;line-height:1.6}
 :root .story-text{font-size:22px}
 :root .site-header nav a{font-size:13px}
}

body:has(main.layout,main .layout) .layout a:hover{color:#243e2d}
:root .chapter-index nav .chapter-label{color:inherit}

:root .book-after .button:hover{background:#b7ceb4;color:#111c17}
