@font-face {
  font-family: Golos;
  src: url("golos-text.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: BeforewordInk;
  src: url("ballpoint.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf9f5;
  --ink: #232420;
  --blue: #263f79;
  --faint: #d2d0c7;
  --muted: #596054;
  --gutter: clamp(1.15rem, 5vw, 5.5rem);
  --measure: 76rem;
  font-family: Golos, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--blue); }
a:focus-visible { outline: 3px solid #2758a2; outline-offset: 5px; }
::selection { background: #e5da96; color: #1a242e; }
.wrap { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: .5rem auto auto .5rem; transform: translateY(-180%); padding: .65rem 1rem; background: #fff; }
.skip:focus { transform: translateY(0); }
.mast { position: sticky; z-index: 4; top: 0; background: var(--paper); border-bottom: 1px solid var(--faint); }
.mast-inner { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0; flex-shrink: 0; text-decoration: none; color: var(--ink); }
.brand img { display: block; width: 122px; height: auto; }
.mast nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.65rem; }
.mast nav a, .byline { font-size: .88rem; }
.mast nav a { padding: .6rem 0; }
.byline { color: var(--muted); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.055em; }
.editions, .cover { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); column-gap: clamp(2.5rem, 6vw, 6.3rem); align-items: center; }
.editions { padding-block: clamp(2.5rem, 6vw, 7rem); }
.slip a.edition-title { color: var(--ink); text-decoration-thickness: 1px; text-decoration-color: transparent; text-underline-offset: .12em; }
.slip a.edition-title:hover { text-decoration-color: var(--blue); }
.slip-title { font-size: clamp(2rem, 3.7vw, 3.6rem); line-height: 1.065; }
.slip + .slip { margin-top: clamp(1.7rem, 3.4vw, 3.4rem); padding-top: clamp(1.6rem, 3.3vw, 3rem); border-top: 1px solid var(--faint); }
.slip .action-link { margin-top: 1rem; }
.gate-art, .cover-art, .chapter-art { background: transparent; }
.gate-art img, .cover-art img, .chapter-art img { width: 100%; height: auto; display: block; object-fit: contain; mix-blend-mode: multiply; }
.gate-art img, .cover-art img { max-height: min(63vh, 37rem); }
.cover { padding-block: clamp(2.75rem, 7vw, 7rem); }
.author, .eyebrow { color: var(--blue); font-size: .87rem; line-height: 1.5; letter-spacing: .01em; }
.author { margin-bottom: 1.15rem; }
.cover h1 { font-size: clamp(2.65rem, 5.5vw, 5.9rem); line-height: 1.01; }
.cover .subtitle { margin-top: 1.35rem; line-height: 1.48; font-size: clamp(1.1rem, 1.5vw, 1.4rem); max-width: 40ch; }
.cover .cover-note { font-size: 1.02rem; line-height: 1.56; margin-top: 1.05rem; max-width: 53ch; }
.cover .actions { margin-top: 1.75rem; }
.action-link { display: inline-flex; align-items: center; justify-content: center; min-height: 2.65rem; padding: .6rem 1.02rem; border: 1px solid var(--blue); color: var(--blue); border-radius: 2px; font-size: .93rem; line-height: 1.45; text-decoration: none; }
.action-link:hover { background: var(--blue); color: white; }
.quiet-link { font-size: .93rem; color: var(--blue); }
.toc, .chapter, .references { border-top: 1px solid var(--faint); }
.toc { scroll-margin: 4rem; padding-block: clamp(2.15rem, 4.8vw, 4.4rem); }
.toc h2, .references h2 { font-size: clamp(1.65rem, 2.8vw, 2.55rem); line-height: 1.12; }
.toc ol { column-count: 2; column-gap: clamp(1.5rem, 6vw, 6rem); padding: 0; margin: 1.45rem 0 0; list-style-position: inside; }
.toc li { break-inside: avoid; padding: .45rem 0; line-height: 1.36; }
.toc li::marker { font-size: .83rem; color: var(--blue); font-variant-numeric: tabular-nums; }
.toc a { text-decoration-thickness: 1px; }
.chapter { scroll-margin: 4rem; padding-block: clamp(3rem, 7.4vw, 7.3rem); }
.spread { display: grid; align-items: start; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "heading figure" "prose figure"; column-gap: clamp(2.7rem, 7vw, 7.1rem); }
.chapter:nth-child(even) .spread { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-areas: "figure heading" "figure prose"; }
.chapter-heading { grid-area: heading; }
.chapter h2 { font-size: clamp(2.05rem, 3.9vw, 3.7rem); line-height: 1.06; overflow-wrap: break-word; }
.chapter .eyebrow { display: block; margin-bottom: .65rem; }
.chapter-art { grid-area: figure; margin: 0; align-self: center; }
.chapter-art img { max-height: 32rem; }
.prose { grid-area: prose; max-width: 60ch; font-size: clamp(1.08rem, 1.45vw, 1.24rem); line-height: 1.57; margin-top: 1.55rem; }
.prose p + p { margin-top: .92em; }
.prose .question { color: var(--blue); font-size: 1.13em; line-height: 1.41; margin-top: 1.15em; padding-left: .78em; border-inline-start: 2px solid #768ab3; }
.references { padding-block: clamp(2rem, 5vw, 4.8rem); }
.references ul { padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .8rem 2rem; list-style: none; line-height: 1.45; }
footer { background: #f2f1e9; border-top: 1px solid var(--faint); }
.footer-inner { padding-block: 1.45rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: .875rem; }
.footer-inner a { color: var(--blue); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(100%); overflow: hidden; white-space: nowrap; }
@media (max-width: 45em) {
  :root { --gutter: clamp(1.05rem, 5vw, 2.3rem); }
  .mast-inner { min-height: 3.45rem; }
  .mast nav { gap: .7rem 1.15rem; }
  .editions, .cover, .spread, .chapter:nth-child(even) .spread { grid-template-columns: minmax(0, 1fr); }
  .cover { gap: 2rem; }
  .editions { row-gap: 2rem; }
  .editions .gate-art img, .cover .cover-art img { max-height: 20rem; }
  .cover h1 { font-size: clamp(2.5rem, 9.5vw, 4.2rem); }
  .cover .subtitle { max-width: 35ch; }
  .chapter, .toc { scroll-margin: 3.45rem; }
  .spread, .chapter:nth-child(even) .spread { grid-template-areas: "heading" "figure" "prose"; }
  .chapter-art { margin-top: 1.35rem; }
  .chapter-art img { max-height: 20rem; }
  .prose { margin-top: 1.5rem; }
  .toc ol { column-count: 1; }
  .footer-inner { align-items: flex-start; }
}
@media (max-width: 365px) {
  .mast nav { gap: .6rem; }
  .mast nav a { font-size: .8rem; }
}
@media print {
  .mast, .skip, .cover .actions, .toc, .references, footer { display: none; }
  .wrap { width: 100%; }
  .chapter { break-before: page; }
  .cover, .chapter { padding-block: 1rem; }
  .chapter-art img { max-height: 12rem; }
}
.author { font: 400 clamp(1.18rem, 1.8vw, 1.55rem)/1.22 BeforewordInk, Golos, sans-serif; }
.plate { margin: 1.2rem auto 0; max-width: 31rem; color: var(--blue); }
.plate-label { font: 500 .82rem/1.4 Golos, sans-serif; margin: 0 0 .65rem; }
.plate-label:has(+ .plate-note) { margin-bottom:.15rem; }
.plate-note { margin:0 0 .65rem; color:var(--muted); font:400 .85rem/1.4 Golos,sans-serif; }
.plate-lines { border-block: 1px solid #c4ccd9; padding: .55rem 0; }
.plate-lines p { font: 400 clamp(1.02rem, 1.5vw, 1.25rem)/1.45 Golos, sans-serif; }
.plate-lines p + p { border-top: 1px solid #dce0e4; margin-top: .45rem; padding-top: .45rem; }
.measured-pair { margin: 0; }
.measured-pair > div { display: grid; grid-template-columns: minmax(5.4rem, 32%) minmax(0, 1fr); align-items: baseline; gap: .75rem; padding: .6rem 0; }
.measured-pair > div + div, .copy-sample { border-top: 1px solid #dce0e4; }
.measured-pair dt, .copy-sample small { color: var(--muted); font: 400 .9rem/1.4 Golos, sans-serif; }
.measured-pair dd { margin: 0; font: 400 1.17rem/1.45 Georgia, serif; }
.measured-pair.readings dd { font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.time-value, .prediction-note { white-space: nowrap; }
.prediction-note { display: inline-block; margin-left: .55em; font: 400 1.4rem/1.1 BeforewordInk, cursive; }
.copy-sample { padding-top: .7rem; }
.copy-sample > div { display: flex; justify-content: center; gap: 2rem; margin-block: .3rem; font: 400 3.25rem/1.2 Georgia, serif; }
.birth-record { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem 1.2rem; margin:.15rem 0 .35rem; }
.birth-record > div { display:flex; align-items:baseline; gap:.45rem; min-width:0; }
.birth-record > div:first-child { grid-column:1 / -1; }
.birth-record dt,.record-unit { font-size:.85rem; line-height:1.3; }
.birth-record dd { flex:1; min-width:1.1rem; margin:0; display:flex; align-items:baseline; gap:.28rem; }
.record-entry { display:inline-block; flex:1; min-width:.6rem; min-height:1em; border-bottom:1px solid #9daec5; font:400 1.25rem/1.15 BeforewordInk,sans-serif; white-space:nowrap; }
.record-unit { font-family:Golos,sans-serif; }
@media(max-width:380px){ .birth-record { gap:.65rem .85rem; } .birth-record dt,.record-unit{font-size:.8rem;} }
.cover h1, .slip-title, .chapter h2, .cover .subtitle { text-wrap: balance; }
.prose p, .cover-note, .plate-lines p { text-wrap: pretty; }
.preface { border-top: 1px solid var(--faint); scroll-margin-top: 4rem; }
.preface-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0,.78fr); align-items: center; gap: clamp(2rem,5vw,5rem); padding-block: clamp(2.5rem,6vw,6rem); }
.preface h2 { margin-top: .55rem; font-size: clamp(2rem,3.8vw,3.5rem); line-height: 1.1; text-wrap: balance; }
.preface .prose { max-width: 61ch; }
.preface figure img { display: block; width: 100%; height: auto; max-height: 21rem; object-fit: contain; mix-blend-mode: multiply; }
.preface-link { display: grid; gap:.55rem; margin-top: 1.35rem; color: var(--blue); }
.author-refs { display:grid; gap:.4rem; margin:1.5rem 0 0; padding:0; list-style:none; font-size:.9rem; line-height:1.45; color:var(--blue); }
@media(max-width:45em) {
  .preface-inner { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .preface { scroll-margin-top: 3.45rem; }
  .preface figure img { max-height: 12rem; width: auto; max-width: 100%; }
}

.copybook{padding:.75rem 0 .2rem;border-top:1px solid #d2d8e0}
.copybook span{font-size:.83rem}
.plate-lines .copybook .practice-row{font:400 1.9rem/1.45 BeforewordInk,sans-serif;white-space:pre;padding:0;border:0}
.copybook button{font:inherit;font-size:.85rem;color:var(--blue);background:transparent;border:0;padding:.45rem 0;text-decoration:underline;text-underline-offset:.2em;cursor:pointer}
