/* Editorial reading panels, composed for the wide page before narrow screens. */
:root {
  color-scheme: light;
  --ink: #272438;
  --paper: #fffaf1;
  --canvas: #eee9df;
  --violet: #ddd8f5;
  --violet-deep: #51438a;
  --coral: #f7b99f;
  --quiet: #605b6b;
  --rule: #b6b0c1;
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', Palatino, serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 18px/1.65 var(--serif); }
button, summary, table { font: inherit; }
button { cursor: pointer; }
a { color: var(--violet-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #8d321d; outline-offset: 4px; }
h1, h2, h3, h4, p { margin: 0; }
h2, h3, h4 { line-height: 1.2; text-wrap: balance; }
h2 { font-size: 2.25rem; font-weight: 500; letter-spacing: -0.03em; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.125rem; }
p + p { margin-top: 0.85rem; }
ul, ol { margin: 0; padding-left: 1.35rem; }
li + li { margin-top: 0.55rem; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--coral); }

.shell__skip { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 30; padding: 0.7rem 1rem; background: var(--paper); border: 2px solid var(--ink); transform: translateY(-200%); }
.shell__skip:focus { transform: none; }
.shell__header { background: var(--ink); color: var(--paper); position: relative; z-index: 10; }
.shell__utility { max-width: 1320px; min-height: 88px; padding: 16px 40px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.shell__identity { color: var(--paper); display: flex; align-items: baseline; gap: 1.2rem; min-height: 44px; padding-block: 6px; text-decoration: none; }
.shell__identity-main { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.04em; }
.shell__identity-note { font-size: 1rem; color: #e2dcee; }
.shell__tools { display: flex; align-items: center; gap: 1rem; }
.shell__toggle, .shell__menu-button { min-height: 48px; border: 1px solid #948ca7; background: transparent; color: var(--paper); padding: 8px 16px; font-size: 1rem; }
.shell__toggle[aria-pressed='true'] { background: var(--violet); color: var(--ink); border-color: var(--violet); }
.shell__menu { position: relative; }
.shell__menu-button { display: flex; align-items: center; gap: 1rem; cursor: pointer; list-style: none; }
.shell__menu-button::-webkit-details-marker { display: none; }
.shell__menu-button span { font-size: 1.35rem; line-height: 1; }
.shell__menu[open] .shell__menu-button { background: var(--paper); color: var(--ink); }
.shell__menu[open] .shell__menu-button span { transform: rotate(45deg); }
.shell__menu-panel { position: absolute; inset: calc(100% + 12px) 0 auto auto; width: 290px; padding: 12px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); box-shadow: 7px 7px 0 var(--violet-deep); }
.shell__menu-list { list-style: none; padding: 0; }
.shell__menu-list li + li { margin: 0; }
.shell__menu-link { display: block; padding: 11px 12px; min-height: 48px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.shell__menu-link:hover { background: var(--violet); }
.shell__main { max-width: 1320px; padding: 38px 40px 0; margin-inline: auto; }

.opening { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border: 2px solid var(--ink); background: var(--paper); position: relative; box-shadow: 8px 8px 0 #c5bdd9; }
.opening__copy { padding: 42px 12px 38px 48px; position: relative; z-index: 1; }
.opening__eyebrow { font-size: 1rem; font-weight: 700; letter-spacing: 0.015em; max-width: 28rem; margin-bottom: 1.4rem; }
.opening__title { font-size: 3.8rem; font-weight: 500; line-height: 1.06; letter-spacing: -0.055em; text-wrap: balance; margin-bottom: 1.6rem; }
.opening__intro { max-width: 36rem; font-size: 1.15rem; line-height: 1.6; }
.opening__start { color: var(--ink); display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 52px; padding: 10px 18px; margin-top: 1.6rem; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: var(--coral); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.opening__start:hover { background: #ffcfb6; }
.opening__art { position: relative; align-self: stretch; padding: 40px 26px 30px; display: flex; flex-direction: column; justify-content: center; }
.opening__art::before { content: ''; position: absolute; inset: 0; background: var(--violet); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.opening__drawing { width: 100%; height: auto; position: relative; display: block; overflow: visible; }
.opening__ink, .opening__accent, .opening__orbit { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.opening__ink--fine { stroke-width: 1.8; }
.opening__moon { fill: var(--paper); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.opening__orbit { stroke: var(--violet-deep); stroke-width: 1; stroke-dasharray: 5 8; }
.opening__accent { stroke: var(--violet-deep); stroke-width: 3; }
.opening__caption { position: relative; font-size: 1rem; line-height: 1.5; text-align: center; padding-inline: 15px; margin-top: 12px; }
.opening__takeaway { grid-column: 1 / -1; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 210px minmax(0, 1fr); padding: 18px 48px; gap: 18px; align-items: center; background: #f1ede5; }
.opening__takeaway-label { font-size: 1rem; font-weight: 700; }
.opening__takeaway-text { font-size: 1.1rem; max-width: 48rem; }

.shell__reading-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 44px; margin-top: 58px; }
.rail { min-width: 0; }
.rail__inner { position: sticky; top: 28px; padding: 18px 0; border-top: 3px solid var(--ink); }
.rail__label { font-size: 1.1rem; font-weight: 700; padding: 0 8px 16px; }
.rail__list { list-style: none; padding: 0; }
.rail__list li + li { margin: 0; }
.rail__link { min-height: 52px; display: flex; align-items: center; color: var(--ink); font-size: 1rem; padding: 10px 8px; border-bottom: 1px solid var(--rule); text-decoration: none; line-height: 1.4; }
.rail__link::before { content: '↗'; color: var(--violet-deep); margin-right: 12px; }
.rail__link:hover { background: var(--violet); }
.rail__note { font-size: 1rem; line-height: 1.5; color: var(--quiet); padding: 20px 8px; }
.guide { min-width: 0; }
.guide__section { margin-bottom: 44px; border: 1px solid var(--ink); background: var(--paper); scroll-margin-top: 24px; }
.guide__summary { background: var(--violet); border-bottom: 2px solid var(--ink); padding: 32px 38px 28px; position: relative; }
.guide__summary::after { content: ''; width: 28px; height: 28px; position: absolute; top: 0; right: 0; background: var(--paper); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.guide__section:nth-child(even) .guide__summary { background: #f4d1bd; }
.guide__chapter { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.guide__summary h2 { margin-bottom: 16px; max-width: 34rem; }
.guide__summary > p:last-child { max-width: 68ch; margin-top: 0; }
.guide__depth { padding: 30px 38px 36px; }
.guide__depth > p { max-width: 68ch; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 205px; gap: 24px; padding: 28px 0; border-top: 1px solid var(--rule); margin-top: 28px; }
.pair + .pair { margin-top: 0; }
.pair__claim { min-width: 0; }
.pair__label { color: var(--quiet); font-size: 1rem; line-height: 1.4; margin: 0 0 10px; }
.pair__heading { margin-bottom: 15px; }
.pair__source { border-left: 1px solid var(--rule); padding-left: 20px; }
.pair__note { font-size: 1rem; line-height: 1.5; margin-bottom: 12px; }
.pair__link { font-size: 1rem; line-height: 1.5; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 12px; min-height: 48px; overflow-wrap: anywhere; }
.pair__link + .pair__link { border-top: 1px solid var(--rule); }
.pair__link span { flex-shrink: 0; }
.guide__word-help { padding: 18px 20px; background: #f0ece0; border-left: 4px solid var(--violet-deep); font-size: 1.05rem; line-height: 1.6; max-width: 68ch; }
.guide__word-label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 5px; }
.guide__question-note { border: 1px solid var(--ink); padding: 22px 24px; background: #f0ece0; margin-top: 18px; }
.guide__question-note h3 { margin-bottom: 15px; }
.guide__howto { margin-top: 30px; }
.guide__howto > h3 { margin-bottom: 18px; }
.guide__steps { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide__step { margin: 0 !important; padding: 20px 18px; border: 1px solid var(--ink); border-top: 5px solid var(--violet-deep); background: #f0ece0; font-size: 1rem; line-height: 1.6; }
.guide__step h4 { margin-bottom: 12px; }
.guide__cost-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; line-height: 1.6; margin-bottom: 25px; }
.guide__cost-table caption { text-align: left; font-size: 1.35rem; font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
.guide__cost-table th, .guide__cost-table td { padding: 16px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.guide__cost-table thead { background: var(--ink); color: var(--paper); }
.guide__cost-table tbody th { width: 28%; font-weight: 700; }
.guide__cost-table tr:nth-child(even) { background: #f0ece0; }
.guide__urgent { border: 2px solid var(--ink); border-left-width: 8px; background: #f8d7c4; padding: 24px 28px; margin: 30px 0; }
.guide__urgent-label { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.guide__urgent h3 { font-size: 1.6rem; margin-bottom: 18px; }
.guide__urgent-action { font-size: 1.2rem; font-weight: 700; }
.guide__urgent .pair__link { color: var(--ink); margin-top: 12px; }
.guide__questions { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.guide__question-group { padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.guide__question-group:last-child { grid-column: 1 / -1; }
.guide__question-group h3 { margin-bottom: 18px; }
.guide__question-group ul { font-size: 1.05rem; }
.guide__closing { font-size: 1.3rem; line-height: 1.45; font-style: italic; margin-top: 28px; }
.guide__return { display: inline-flex; align-items: center; gap: 16px; min-height: 52px; padding: 12px 0; font-size: 1.05rem; margin-top: 16px; }

.shell__footer { max-width: 1240px; margin: 12px auto 0; padding: 32px 0 40px; border-top: 2px solid var(--ink); display: flex; align-items: flex-start; justify-content: space-between; gap: 44px; }
.shell__footer-note { max-width: 60ch; font-size: 1rem; line-height: 1.6; }
.shell__footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.shell__footer-link { display: inline-flex; align-items: center; min-height: 48px; padding-block: 10px; font-size: 1rem; white-space: nowrap; }
.shell__main--missing { min-height: 70vh; display: grid; align-items: center; }
.missing { max-width: 800px; margin: 24px auto 70px; padding: 50px; background: var(--paper); border: 2px solid var(--ink); border-top: 14px solid var(--violet-deep); box-shadow: 9px 9px 0 var(--coral); }
.missing__eyebrow { font-size: 1rem; margin-bottom: 18px; }
.missing__title { font-size: 3.3rem; font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 25px; }

@media (max-width: 1120px) {
  .shell__utility { padding-inline: 28px; }
  .shell__main { padding-inline: 28px; }
  .opening__copy { padding-left: 32px; }
  .opening__title { font-size: 3.15rem; }
  .opening__takeaway { padding-inline: 32px; }
  .shell__reading-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 28px; }
  .guide__summary, .guide__depth { padding-inline: 28px; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pair__source { border-left: 0; padding: 14px 0 0; border-top: 1px dashed var(--rule); }
  .pair__link { max-width: 40rem; }
  .guide__steps { grid-template-columns: minmax(0, 1fr); }
  .shell__footer { margin-inline: 28px; }
}

@media (max-width: 820px) {
  .shell__identity { flex-direction: column; gap: 0; align-items: flex-start; }
  .opening { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .opening__title { font-size: 2.6rem; }
  .opening__copy { padding: 32px 12px 30px 28px; }
  .opening__art { padding-inline: 12px; }
  .opening__takeaway { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .shell__reading-layout { display: block; margin-top: 44px; }
  .rail__inner { position: static; padding-block: 16px 28px; }
  .rail__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .rail__note { padding: 16px 8px 0; max-width: 38rem; }
  .pair { grid-template-columns: minmax(0, 1fr) 195px; }
  .pair__source { border-top: 0; border-left: 1px solid var(--rule); padding: 0 0 0 18px; }
  .shell__footer { gap: 24px; }
}

@media (max-width: 600px) {
  body { font-size: 17px; line-height: 1.65; }
  .shell__utility { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .shell__identity { flex-direction: row; align-items: baseline; gap: 12px; width: 100%; min-height: 44px; }
  .shell__identity-main { font-size: 1.4rem; }
  .shell__identity-note { font-size: 1rem; }
  .shell__tools { width: 100%; justify-content: space-between; gap: 12px; }
  .shell__toggle { flex: 1 1 auto; padding-inline: 10px; text-align: left; }
  .shell__menu { flex: 0 0 auto; }
  .shell__menu:only-child { margin-inline-start: auto; }
  .shell__menu-button { padding-inline: 12px; gap: 8px; }
  .shell__menu-panel { max-width: calc(100vw - 32px); width: 300px; }
  .shell__main { padding: 22px 16px 0; }
  .opening { grid-template-columns: minmax(0, 1fr); box-shadow: 5px 5px 0 #c5bdd9; }
  .opening__copy { padding: 26px 22px 30px; }
  .opening__eyebrow { font-size: 1rem; margin-bottom: 20px; }
  .opening__title { font-size: 2.6rem; line-height: 1.06; margin-bottom: 21px; letter-spacing: -0.05em; }
  .opening__intro { font-size: 1.0625rem; line-height: 1.6; }
  .opening__start { font-size: 1rem; margin-top: 23px; gap: 12px; padding-inline: 14px; }
  .opening__art { padding: 8px 12px 18px; flex-direction: row; gap: 6px; align-items: center; border-top: 1px solid var(--ink); }
  .opening__art::before { clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
  .opening__drawing { width: 54%; flex-shrink: 0; }
  .opening__caption { width: 46%; font-size: 1rem; text-align: left; padding: 0 8px 0 0; margin: 0; }
  .opening__takeaway { padding: 16px 22px; }
  .opening__takeaway-text { font-size: 1.0625rem; }
  .shell__reading-layout { margin-top: 36px; }
  .rail__list { grid-template-columns: minmax(0, 1fr); }
  .rail__link { min-height: 48px; }
  .guide__section { margin-bottom: 28px; }
  .guide__summary { padding: 24px 22px; }
  .guide__summary h2 { font-size: 1.85rem; }
  .guide__depth { padding: 24px 22px 28px; }
  .pair { grid-template-columns: minmax(0, 1fr); padding-block: 23px; gap: 18px; margin-top: 23px; }
  .pair__source { border-left: 0; padding: 13px 0 0; border-top: 1px dashed var(--rule); }
  .pair__heading { font-size: 1.3rem; }
  .guide__word-help { padding: 16px; font-size: 1.0625rem; }
  .guide__question-note { padding: 20px 18px; }
  .guide__cost-table { font-size: 1rem; }
  .guide__cost-table th, .guide__cost-table td { padding: 13px 8px; overflow-wrap: anywhere; }
  .guide__cost-table tbody th { width: 32%; }
  .guide__urgent { padding: 22px 18px; border-left-width: 5px; }
  .guide__urgent h3 { font-size: 1.4rem; }
  .guide__urgent-action { font-size: 1.125rem; }
  .guide__questions { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .guide__questions ul { font-size: 1.0625rem; }
  .guide__question-group:last-child { grid-column: auto; }
  .guide__closing { font-size: 1.2rem; }
  .shell__footer { margin-inline: 16px; padding: 24px 6px 30px; display: block; }
  .shell__footer-nav { margin-top: 16px; }
  .shell__footer-link { white-space: normal; }
  .missing { padding: 30px 24px; margin: 18px 0 45px; }
  .missing__title { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media print {
  body { background: white; color: black; font-size: 16px; }
  .shell__header, .shell__skip, .rail, .opening__art, .shell__footer-nav, .guide__return, .opening__start { display: none; }
  .shell__main { max-width: none; padding: 0; }
  .shell__reading-layout, .opening { display: block; }
  .opening, .guide__section { box-shadow: none; border-color: #555; }
  .opening__copy { padding: 24px; }
  .opening__title { font-size: 2.6rem; }
  .guide__summary { background: white !important; }
  .guide__section { break-inside: auto; margin-bottom: 24px; }
  .pair, .guide__urgent, .guide__step, .guide__question-group { break-inside: avoid; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .pair__source { border-left: 0; padding: 0; }
  a { color: black; }
  .shell__footer { margin: 0; }
}
