/* Shared relief surfaces, adapted from the supplied ChaplainUSA reading template. */
:root {
  --stone: #d9d5cc;
  --ivory: #e8e1d2;
  --linen: #efeae0;
  --espresso: #2f2b28;
  --warm-ink: #5c544a;
  --relief-gold: #756a38;
  --raise: 8px 8px 18px rgba(150,139,120,.45), -8px -8px 18px rgba(255,253,247,.92);
  --raise-sm: 5px 5px 11px rgba(150,139,120,.38), -5px -5px 11px rgba(255,253,247,.85);
  --inset: inset 5px 5px 11px rgba(150,139,120,.4), inset -5px -5px 11px rgba(255,253,247,.8);
  --raise-iv: 7px 7px 16px rgba(170,158,134,.42), -6px -6px 14px rgba(255,255,252,.8);
}
.landing-page { background: var(--stone); --paper: var(--linen); --gutter: clamp(24px, 5vw, 64px); }
.landing-page main { max-width: 1320px; margin: 0 auto; }
.landing-page .site-header { background: var(--stone); box-shadow: 0 4px 15px rgba(80,74,62,.12); border-bottom: 1px solid rgba(255,255,255,.4); }
.landing-page .wordmark span { display: inline-block; border: 0; padding: .2em .45em; background: var(--stone); box-shadow: var(--raise-sm); }
.landing-page .hero { margin: 28px 28px 0; border-radius: 20px; box-shadow: var(--raise); overflow: hidden; }
.landing-page .hero-stage { background: var(--stone); }
.landing-page .enter { background: var(--stone); box-shadow: var(--inset); border: 0; }
.landing-page .ruled { border: 0; }
.landing-page .definition { padding: 28px; background: var(--stone); border: 0; border-radius: 20px; box-shadow: var(--inset); }
.landing-page .authority-panel { margin: 0 28px; border-radius: 20px; box-shadow: var(--raise); }
.landing-page .practice-attention, .landing-page .practice-fixing, .landing-page .practice-temperature { margin: 0 28px 28px; border-radius: 20px; box-shadow: var(--raise); overflow: hidden; }
.landing-page .practice-pair { margin: 0 28px 28px; gap: 28px; }
.landing-page .practice-pair > article { padding: 40px; border-radius: 20px; box-shadow: var(--raise); }
.landing-page .practice-movement { background: var(--ivory); }
.landing-page .chapter { background: var(--ivory); border: 0; border-radius: 20px; box-shadow: var(--raise); padding: 10px 10px 0; overflow: hidden; }
.landing-page .chapter-art { border-radius: 20px; overflow: hidden; }
.landing-page .chapter > div { padding: 24px 18px 28px; }
.landing-page .chapter > div > span { font: 600 1.625rem/1 var(--serif); color: var(--gold); }
.landing-page .chapter button { border: 0; border-radius: 20px; padding: 12px 24px; background: var(--ivory); box-shadow: var(--raise-iv); }
.landing-page .chapter button:hover { box-shadow: var(--inset); }
.landing-page .closing { background: var(--stone); border-radius: 20px; box-shadow: var(--inset); margin: 28px 28px 56px; }
.landing-page dialog { border-radius: 20px; background: var(--ivory); }
.landing-page .close { background: var(--ivory); box-shadow: var(--raise-sm); border-radius: 50%; right: 12px; top: 12px; }
.guide-library { padding: 32px var(--gutter) 56px; }
.library-heading { max-width: 860px; margin-bottom: 40px; }
.library-heading h2 { font: 500 clamp(2.5rem, 4.5vw, 4rem)/1.1 var(--serif); margin: 0 0 24px; text-wrap: balance; }
.library-heading > p:not(.eyebrow) { font-size: 1.375rem; }
.library-heading .guide-source-note { font-size: 1.125rem; color: var(--slate); }
.guide-links { display: grid; gap: 16px; }
.guide-link { display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 20px; align-items: center; padding: 24px 28px; border-radius: 20px; background: var(--stone); box-shadow: var(--raise-sm); text-decoration: none; color: inherit; transition: box-shadow .15s, background .15s; }
.guide-link:hover { background: var(--ivory); }
.guide-link:active { box-shadow: var(--inset); }
.guide-number { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; box-shadow: var(--inset); color: var(--relief-gold); font: 600 1.25rem/1 Georgia, serif; }
.guide-link-copy { min-width: 0; }
.guide-link-copy strong { display: block; font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.guide-link-copy > span { display: block; color: var(--warm-ink); font-size: 1.125rem; line-height: 1.4; margin-top: 8px; }
.guide-arrow { color: var(--relief-gold); font-size: 1.25rem; }

/* Reading pages share one quiet, spacious layout across the complete guide. */
.guide-page { box-sizing: border-box; margin: 0; background: var(--stone); color: var(--espresso); font: 400 1.125rem/1.7 'Nunito Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.guide-page *, .guide-page *::before, .guide-page *::after { box-sizing: border-box; }
.guide-page a { color: inherit; }
.guide-page a:focus-visible, .guide-page summary:focus-visible { outline: 3px solid #756a38; outline-offset: 5px; }
.guide-page h1, .guide-page h2, .guide-page h3, .guide-page p, .guide-page a { overflow-wrap: break-word; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 20; padding: 12px 20px; background: var(--ivory); }
.skip-link:focus { top: 12px; }
.reader-topbar { max-width: 1200px; margin: auto; padding: 28px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.reader-topbar > a:last-child { font-size: .875rem; font-weight: 700; text-underline-offset: 5px; }
.reader-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font: 600 1.5rem/1 'Cormorant Garamond', Georgia, serif; letter-spacing: .08em; text-transform: uppercase; }
.reader-brand span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: var(--raise-sm); color: var(--relief-gold); }
.reader-shell { max-width: 1200px; margin: 0 auto; padding: 8px 40px 80px; }
.reader-heading { padding: 44px 48px 32px; border-radius: 20px; background: var(--ivory); box-shadow: var(--raise); }
.guide-page .eyebrow { margin: 0 0 20px; color: var(--relief-gold); font-size: .875rem; font-weight: 700; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.reader-heading h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; margin: 0 0 20px; max-width: 930px; text-wrap: balance; }
.reader-dek { max-width: 820px; margin: 0; font-size: 1.375rem; line-height: 1.5; color: var(--warm-ink); }
.reader-meta { display: flex; flex-wrap: wrap; gap: 12px 32px; border-top: 1px solid #c4beb2; margin-top: 28px; padding-top: 20px; font-size: .875rem; color: var(--warm-ink); }
.reader-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 52px; }
.reader-rail { position: sticky; top: 24px; }
.rail-title { display: block; font-weight: 800; font-size: 1.125rem; line-height: 1.3; text-decoration: none; margin-bottom: 24px; }
.reader-shortcuts { display: grid; padding: 8px; background: var(--stone); border-radius: 20px; box-shadow: var(--inset); }
.reader-shortcuts a { display: block; padding: 12px 10px; font-size: .875rem; line-height: 1.4; text-decoration: none; border-bottom: 1px solid rgba(92,84,74,.15); }
.reader-shortcuts a:last-child { border: 0; }
.reader-shortcuts a:hover { color: var(--relief-gold); text-decoration: underline; }
.series-switcher { margin-top: 22px; font-size: .875rem; }
.series-switcher summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.series-switcher ol { margin: 12px 0 0; padding: 8px; list-style: none; border-radius: 20px; box-shadow: var(--inset); max-height: 46vh; overflow: auto; }
.series-switcher a { display: flex; align-items: baseline; gap: 10px; padding: 12px 8px; line-height: 1.4; text-decoration: none; }
.series-switcher a[aria-current] { background: var(--ivory); border-radius: 20px; font-weight: 800; }
.series-switcher a span { font-size: .875rem; color: var(--relief-gold); }
.reader-column { min-width: 0; }
.reader-article { max-width: 760px; }
.reader-article > p { margin: 0 0 1.4em; text-wrap: pretty; }
.reader-article > p:first-child { font-size: 1.375rem; line-height: 1.55; }
.reader-article > h2 { font-size: 1rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; color: var(--relief-gold); margin: 42px 0 18px; }
.reader-article > ul, .reader-article > ol { padding: 26px 28px 26px 52px; border-radius: 20px; box-shadow: var(--inset); margin: 28px 0; }
.reader-article li { padding-left: 6px; margin-bottom: 18px; }
.reader-article li:last-child { margin-bottom: 0; }
.reader-article li::marker { color: var(--relief-gold); font-weight: 700; }
.thought-experiment { margin: 48px 0 0; padding: 36px 40px; border-radius: 20px; background: #243140; color: #efeae0; box-shadow: 6px 6px 18px rgba(20,28,38,.28), -5px -5px 14px rgba(255,253,247,.8); scroll-margin-top: 24px; }
.thought-experiment .eyebrow { color: #d2b575; margin-bottom: 14px; }
.thought-experiment h2 { margin: 0 0 24px; font-size: 1.75rem; line-height: 1.2; letter-spacing: -.01em; }
.thought-experiment > p { margin: 0 0 1.4em; }
.field-maxim { border-top: 1px solid #6c7780; padding-top: 24px; margin-top: 28px; }
.field-maxim h3 { color: #d2b575; font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.field-maxim p { margin: 0; font-size: 1.375rem; line-height: 1.5; font-style: italic; }
.page-turn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.page-turn a { display: block; border-radius: 20px; box-shadow: var(--raise-sm); padding: 22px; text-decoration: none; }
.page-turn a:hover { background: var(--ivory); }
.page-turn span { display: block; color: var(--relief-gold); font-size: .875rem; margin-bottom: 10px; }
.page-turn strong { font-size: 1rem; line-height: 1.4; display: block; }
.return-index { display: inline-block; margin-top: 30px; font-size: .875rem; font-weight: 700; text-underline-offset: 5px; }
.reader-footer { padding: 30px max(24px, calc((100vw - 1120px) / 2)); background: #243140; color: #efeae0; font-size: .875rem; }
.reader-footer span { display: block; margin-top: 6px; color: #c8c9c7; }
.guide-page .guide-link { padding: 22px; gap: 16px; }
.guide-page .guide-link-copy strong { font-size: 1.125rem; line-height: 1.4; font-weight: 800; }
.guide-page .guide-link-copy > span { font-size: 1rem; }
.reader-article .maxim-list { padding: 0; box-shadow: none; list-style: none; counter-reset: maxims; }
.maxim-list li { padding: 28px; border-radius: 20px; background: var(--ivory); box-shadow: var(--raise-sm); }
.maxim-list a { font-size: .875rem; font-weight: 700; text-underline-offset: 4px; }
.maxim-list p { font-size: 1.375rem; line-height: 1.5; margin: 18px 0 0; }
@media (max-width: 900px) {
  .reader-grid { grid-template-columns: 1fr; gap: 32px; }
  .reader-rail { position: static; }
  .reader-rail > .eyebrow, .rail-title { display: none; }
  .reader-shortcuts { display: flex; flex-wrap: wrap; padding: 12px; gap: 4px 12px; }
  .reader-shortcuts a { border: 0; }
  .series-switcher { margin-top: 12px; }
  .reader-article { max-width: none; }
}
@media (max-width: 800px) {
  .landing-page .hero { margin: 20px 16px 0; }
  .landing-page .authority-panel, .landing-page .practice-attention, .landing-page .practice-temperature, .landing-page .practice-fixing { margin-left: 16px; margin-right: 16px; }
  .landing-page .practice-pair { margin: 0 16px 28px; }
  .landing-page .practice-pair > article { padding: 32px 24px; }
  .landing-page .closing { margin: 20px 16px 40px; }
  .landing-page .gravitas-section-nav { background: var(--stone); }
  .guide-library { padding: 16px 24px 40px; }
  .guide-link { grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 12px; padding: 22px 16px; }
  .guide-number { width: 36px; height: 36px; font-size: 1rem; }
  .guide-link-copy strong { font-size: 1.375rem; }
  .guide-link-copy > span { font-size: 1rem; }
}
@media (max-width: 600px) {
  .reader-topbar { padding: 24px; flex-wrap: wrap; }
  .reader-shell { padding: 0 20px 56px; }
  .reader-heading { padding: 30px 24px 24px; }
  .reader-dek { font-size: 1.125rem; }
  .reader-grid { margin-top: 28px; }
  .reader-article > p:first-child { font-size: 1.25rem; }
  .thought-experiment { padding: 28px 24px; }
  .page-turn { gap: 16px; grid-template-columns: 1fr; }
  .guide-page .guide-link { padding: 20px 14px; grid-template-columns: 32px minmax(0, 1fr); }
  .guide-page .guide-arrow { display: none; }
  .guide-page .guide-number { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .guide-link { transition: none; } }
