/* 1100harvard.com, second edition. One stylesheet for every page.
   Source: _build/site.css (copied to dist/site.css by build.py). Edit here, never in dist/.
   Identity: lodge green, brass gold, paper cream, pink Tennessee marble.
   Type: Marcellus (display and small capitals), Poiret One (numerals and large deco lines), Newsreader (text). */

:root {
  --green: #343d31;
  --green-deep: #22261f;
  --gold: #c9a24a;
  --gold-soft: #d9bc7d;
  --paper: #f4efe2;
  --paper-warm: #ede5d2;
  --card: #fffdf9;
  --ink: #23271f;
  --ink-soft: #4c5244;
  --grey: #6a665d;
  --marble: #d9a793;
  --marble-deep: #96573c;
  --on-dark: #f4efe2;
  --on-dark-soft: #e9e4d4;
  --on-dark-mute: #b3ae9c;
  --line: rgba(35, 39, 31, .18);
  --line-soft: rgba(35, 39, 31, .1);
  --rule-gold: rgba(201, 162, 74, .42);
  --shadow: 0 1px 2px rgba(35, 39, 31, .06), 0 4px 14px rgba(35, 39, 31, .07);
  --shadow-lift: 0 2px 4px rgba(35, 39, 31, .08), 0 12px 28px rgba(35, 39, 31, .15);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --deco: "Poiret One", "Marcellus", Georgia, serif;
  --wide: 73.75rem;       /* front-page grids */
  --page: 43rem;          /* reading column: entries, clippings, chapters */
  --page-wide: 56rem;     /* research pages with tables */
  --measure: 40rem;       /* longest comfortable line of text */
  --gutter: clamp(1rem, 4vw, 1.75rem);
  --section: clamp(2.75rem, 6vw, 4.5rem);
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;      /* the footer sits at the foot of short pages */
}
body > * { flex: none; width: 100%; }
body > .colophon { margin-top: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
b, strong { font-weight: 600; }
[id] { scroll-margin-top: 1.25rem; }
::selection { background: var(--gold-soft); color: var(--green-deep); }

/* Focus: dark ring on paper, brass ring on the green surfaces. */
:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 2px; border-radius: 2px; }
.sitenav :focus-visible, .hero :focus-visible, .masthead :focus-visible, .numbers :focus-visible,
.colophon :focus-visible, .lb :focus-visible { outline-color: var(--gold); }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100; width: auto;
  background: var(--gold); color: var(--green-deep);
  padding: .7em 1.1em; font-family: var(--display); letter-spacing: .1em; text-decoration: none;
}
.skip:focus { left: .5rem; top: .5rem; }

/* Small capitals in Marcellus: every label on the site. */
.kicker, .kicker2, .sitenav li a, .jump a, .chstrip li a, .moretl, .tbl th, .card .tag, .numbers .l,
.fromsource h2, .source h2, .colophon .fine, .pn small, .era .thread, .lb button, .lb .orig, .btn {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 400;
}

/* Poiret One has a single hairline weight. Where it sets dates at text size, a fine stroke in the same color
   gives it enough body to read on paper. */
.life .yrs, .rgrid .r .yr, .entry .yr, .clip .yr, .timeline-main .era h2 .years, .timeline-main .era li b,
.jump.eras a, .chstrip li a .n { -webkit-text-stroke: .022em currentColor; }

/* ------------------------------------------------------------ site header */
.sitenav { background: var(--green-deep); color: var(--on-dark); border-bottom: 1px solid var(--rule-gold); }
.sitenav nav {
  max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: .35rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 1.5rem;
}
.sitenav .brand {
  display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem;
  font-family: var(--display); font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; text-decoration: none;
}
.sitenav .brand::before { content: ""; width: .5rem; height: .5rem; background: var(--gold); transform: rotate(45deg); flex: none; }
.sitenav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.6rem; }
.sitenav li a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-size: .8rem; color: var(--gold-soft); text-decoration: none;
  box-shadow: inset 0 -2px 0 transparent; transition: color .15s ease, box-shadow .15s ease;
}
.sitenav li a:hover, .sitenav li a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }

/* ------------------------------------------------------------ hero (timeline) and masthead (front page) */
.hero {
  background: radial-gradient(120% 90% at 50% 0%, rgba(201, 162, 74, .15), transparent 60%), var(--green);
  color: var(--on-dark);
  text-align: center;
  padding: clamp(2.6rem, 7vw, 4.4rem) var(--gutter) clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--rule-gold);
}
.hero .kicker { font-size: .8rem; letter-spacing: .3em; color: var(--gold-soft); margin: 0 0 1.1rem; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 4.6rem); line-height: 1.05; color: #fff; }
.hero .deco {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  margin: 1.15rem 0; color: var(--gold); font-size: .7rem; line-height: 1;
}
.hero .deco::before, .hero .deco::after {
  content: ""; height: 1px; width: clamp(2.5rem, 12vw, 6.5rem);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero .deco::after { background: linear-gradient(90deg, var(--gold), transparent); }
.hero .subtitle {
  font-family: var(--deco); text-transform: uppercase; letter-spacing: .2em;
  font-size: clamp(1rem, 2.3vw, 1.18rem); line-height: 1.5; color: var(--gold-soft); margin: 0 0 1.1rem;
  -webkit-text-stroke: .02em currentColor;
}
.hero .subtitle span { display: block; }          /* the front page sets its two phrases on two lines */
.hero .subtitle .sep { display: none; }
.hero .dek { max-width: var(--measure); margin: 0 auto; font-size: clamp(1.06rem, 2.2vw, 1.2rem); line-height: 1.6; color: var(--on-dark-soft); }
.hero .dek strong { color: var(--gold-soft); }
.hero .dek a { color: var(--gold-soft); text-underline-offset: .18em; }

.masthead {
  background: radial-gradient(90% 110% at 22% 0%, rgba(201, 162, 74, .17), transparent 62%), var(--green);
  color: var(--on-dark);
  border-bottom: 1px solid var(--rule-gold);
}
.masthead-in {
  max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(2.6rem, 6vw, 4.6rem) var(--gutter) clamp(2.2rem, 5vw, 3.8rem);
  display: grid; gap: clamp(1.8rem, 4vw, 3.6rem); align-items: center;
}
.masthead .hero { background: none; border: 0; padding: 0; }
.heroart { margin: 0; text-align: center; }
.heroart .zoom {
  --mat: .55rem; display: block; width: fit-content; max-width: 100%; margin: 0 auto; padding: .55rem .55rem 2.2rem;
  border: 1px solid var(--rule-gold); background: rgba(20, 23, 18, .35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38); cursor: zoom-in;
}
.heroart figcaption {
  color: var(--on-dark-mute); font-size: .88rem; font-style: italic; line-height: 1.5;
  max-width: 34rem; margin: .95rem auto 0;
}
@media (min-width: 62rem) {
  .masthead-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .masthead .hero { text-align: left; }
  .masthead .hero h1 { font-size: clamp(3.4rem, 5.6vw, 4.9rem); }
  .masthead .hero .deco { justify-content: flex-start; }
  .masthead .hero .deco::before { display: none; }
  .masthead .hero .dek { margin: 0; }
}

/* ------------------------------------------------------------ pills: jump nav, chapter strip, timeline button */
.jump {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  padding: 1rem var(--gutter); background: var(--paper-warm); border-bottom: 1px solid var(--line);
}
.jump a, .chstrip li a, .moretl {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: .35rem 1rem;
  font-size: .78rem; line-height: 1.25; color: var(--marble-deep); text-decoration: none;
  background: var(--paper); border: 1px solid rgba(150, 87, 60, .42); border-radius: 2px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.jump a:hover, .chstrip li a:hover, .moretl:hover { background: #fff; border-color: var(--marble-deep); }
.jump.eras {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem;     /* phones: three to a row */
  background: none; border: 0; padding: 1.6rem var(--gutter) 0; max-width: var(--page-wide); margin: 0 auto;
}
.jump.eras a { justify-content: center; font-family: var(--deco); font-size: 1rem; letter-spacing: .04em; text-transform: none; white-space: nowrap; padding-inline: .3rem; }
@media (min-width: 40.01rem) { .jump.eras { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 56rem) {
  /* one row: each link as wide as its years need, the spare width shared out */
  .jump.eras { display: flex; flex-wrap: nowrap; }
  .jump.eras a { flex: 1 1 auto; padding-inline: .5rem; }
}
@media (max-width: 40rem) { .jump.eras a { font-size: .92rem; letter-spacing: 0; } }

.chstrip { list-style: none; margin: 1.3rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chstrip li { display: flex; }
.chstrip li a { background: transparent; text-wrap: balance; }
.chstrip li a .n { font-family: var(--deco); font-size: 1.25rem; letter-spacing: 0; line-height: 1; margin-right: .55em; }
.chstrip li.here a, .chstrip li a[aria-current] { background: var(--green); color: var(--on-dark); border-color: var(--green); }
.chstrip li.here a:hover, .chstrip li a[aria-current]:hover { background:var(--green-deep); color: var(--on-dark); border-color: var(--green-deep); }
.chstrip.chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.chstrip.chapters li a { width: 100%; align-items: baseline; padding-block: .6rem; }
.chstrip.research { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chstrip.research li a { width: 100%; padding-block: .6rem; }
@media (min-width: 56rem) { .chstrip.research { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 40rem) {
  /* phones: six numerals in a row; the titles stay available to screen readers */
  .chstrip.chapters { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .chstrip.chapters li a { justify-content: center; align-items: center; padding: .3rem 0; min-height: 2.75rem; }
  .chstrip.chapters li a .n { margin: 0; font-size: 1.4rem; }
  .chstrip.chapters li a .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

.btn {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.6rem;
  font-size: .86rem; letter-spacing: .16em; text-decoration: none; border-radius: 2px;
  transition: transform .15s ease, background .15s ease;
}
.btn.green { background: var(--green); color: var(--on-dark); }
.btn.green:hover, .btn.green:focus-visible { background: var(--green-deep); color: var(--on-dark); transform: translateY(-1px); }

/* ------------------------------------------------------------ front page */
.lives h2, .onepara h2, .roster h2, .stories h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.15; text-align: center;
  margin: 0 0 clamp(1.5rem, 3vw, 2.1rem);
}
.lives h2::after, .onepara h2::after, .roster h2::after, .stories h2::after {
  content: ""; display: block; width: 3.5rem; height: 1px; background: var(--gold); margin: .85rem auto 0;
}

.lives { padding: var(--section) var(--gutter) calc(var(--section) * .5); }
.lifestrip {
  list-style: none; counter-reset: life; margin: 0 auto; padding: 0; max-width: var(--wide);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem;
}
.life {
  position: relative; counter-increment: life;
  background: var(--card); border-top: 4px solid var(--gold); box-shadow: var(--shadow);
  padding: 1.05rem 1.2rem 1.25rem; transition: transform .18s ease, box-shadow .18s ease;
}
.life .yrs { display: flex; align-items: baseline; gap: .7em; font-family: var(--deco); font-size: 1.1rem; letter-spacing: .12em; color: var(--marble-deep); }
.life .yrs::before { content: counter(life, upper-roman); font-family: var(--display); font-size: .78rem; letter-spacing: .12em; color: var(--grey); min-width: 1.3em; }
.life h3 { font-size: 1.3rem; line-height: 1.2; margin: .35rem 0 .45rem; }
.life h3 a { color: inherit; text-decoration: none; }
.life h3 a::after { content: ""; position: absolute; inset: 0; }
.life p { margin: 0; font-size: .97rem; line-height: 1.5; color: var(--ink-soft); }
.life:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.life:hover h3 { color: var(--marble-deep); }
.life:focus-within { outline: 3px solid var(--green-deep); outline-offset: 2px; }
.life h3 a:focus-visible { outline: none; }
.life.l1 { border-top-color: #b08c3c; }
.life.l2 { border-top-color: #8f6f4e; }
.life.l3 { border-top-color: #6f7d5c; }
.life.l4 { border-top-color: #7d7d7d; }
.life.l5 { border-top-color: #b97f68; }
.life.l6 { border-top-color: #5c7d78; }
@media (max-width: 60rem) { .lifestrip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .lifestrip { grid-template-columns: 1fr; gap: .65rem; } }

.onepara { padding: calc(var(--section) * .7) var(--gutter) var(--section); }
.onepara .inner { max-width: var(--page); margin: 0 auto; }
.onepara .chfig { margin: 0 0 1.6rem; }
.onepara .prose { font-size: 1.1rem; line-height: 1.7; }
.onepara .prose p { margin: 0 0 1.1em; }
.onepara .readon { text-align: center; margin: 1.6rem 0 0; }
@media (min-width: 62rem) {
  .onepara .inner { max-width: var(--wide); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 clamp(2rem, 4vw, 3.6rem); align-items: start; }
  .onepara h2 { grid-column: 1 / -1; }
  .onepara .chfig { margin: .35rem 0 0; }
  .onepara .readon { text-align: left; }
}

.numbers { background: var(--green); color: var(--on-dark); padding: clamp(2rem, 5vw, 3rem) var(--gutter); border-block: 1px solid var(--rule-gold); }
.numgrid { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.numcell { padding: .35rem 1rem; }
.numcell + .numcell { border-left: 1px solid rgba(201, 162, 74, .28); }
.numbers .n { font-family: var(--deco); font-size: clamp(1.75rem, 3.3vw, 2.5rem); line-height: 1.1; letter-spacing: .03em; color: var(--gold); }
.numbers .l { font-size: .78rem; line-height: 1.5; letter-spacing: .16em; color: var(--on-dark-mute); margin-top: .5rem; }
@media (max-width: 48rem) {
  .numgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0; }
  .numcell { padding-inline: .5rem; }
  .numcell:nth-child(odd) { border-left: 0; }
  .numbers .n { font-size: clamp(1.3rem, 6.2vw, 1.75rem); white-space: nowrap; }
}

.roster { padding: var(--section) var(--gutter); }
.roster.community { background: var(--paper-warm); border-block: 1px solid var(--line-soft); }
.roster .inner { max-width: var(--wide); margin: 0 auto; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .6rem .9rem; }
.rgrid .r {
  display: flex; flex-direction: column; gap: .12rem;
  background: var(--card); border-left: 3px solid var(--gold); box-shadow: 0 1px 4px rgba(35, 39, 31, .07);
  padding: .65rem .95rem .7rem;
}
.rgrid .r b { font-size: 1.02rem; line-height: 1.3; color: var(--ink); }
.rgrid .r b a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--gold); }
.rgrid .r b a:hover { color: var(--marble-deep); border-bottom-color: var(--marble-deep); }
.rgrid .r .yr { font-family: var(--deco); font-size: 1.08rem; line-height: 1.3; letter-spacing: .1em; color: var(--marble-deep); }
.rgrid .r .det { font-size: .87rem; line-height: 1.4; color: var(--grey); }
.roster.community .r { border-left-color: #6f7d5c; }
.roster .fineprint { max-width: var(--measure); margin: 1.5rem auto 0; text-align: center; font-size: .88rem; line-height: 1.5; font-style: italic; color: var(--grey); }

.stories { padding: var(--section) var(--gutter); }
.cardgrid { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem; }
.card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 2px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card .cardlink { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.card figure { margin: 0; background: var(--paper-warm); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.card figure img { width: 100%; height: 13rem; object-fit: cover; object-position: top center; filter: sepia(.12); }
.card .cbody { display: flex; flex-direction: column; gap: .55rem; flex: 1; padding: 1.05rem 1.2rem 1.15rem; }
.card .tag { align-self: flex-start; font-size: .78rem; letter-spacing: .16em; color: var(--green-deep); background: #e4d3a3; padding: .28em .8em; border-radius: 2px; }
.card h3 { font-size: 1.25rem; line-height: 1.22; transition: color .15s ease; }
.card p { margin: 0; font-size: .97rem; line-height: 1.55; color: var(--ink-soft); }
.card .receipt { margin-top: auto; padding-top: .65rem; border-top: 1px dashed var(--line); font-size: .84rem; line-height: 1.45; color: var(--grey); }
.card .innerlink { display: block; width: fit-content; margin-top: .3rem; color: var(--marble-deep); font-weight: 600; border-bottom: 1px solid var(--marble); white-space: nowrap; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.card:hover h3 { color: var(--marble-deep); }
.card:hover .innerlink { border-bottom-color: var(--marble-deep); }
.card:focus-within { outline: 3px solid var(--green-deep); outline-offset: 3px; }
.card .cardlink:focus-visible { outline: none; }
.morestories { max-width: var(--measure); margin: 2rem auto 0; text-align: center; font-style: italic; color: var(--ink-soft); }
.morestories a { color: var(--marble-deep); text-underline-offset: .18em; white-space: nowrap; }

/* front-page reveal: added by site.js only when motion is welcome */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ inner pages: shared column */
.crumbs { max-width: var(--page); margin: 0 auto; padding: 1rem var(--gutter) 0; font-size: .88rem; line-height: 1.4; }
.crumbs.wide { max-width: var(--page-wide); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; color: var(--grey); }
.crumbs li { display: inline-flex; align-items: center; min-height: 2.5rem; }
.crumbs li:not(:last-child)::after { content: "\203A"; margin-left: .5rem; color: var(--grey); }
.crumbs a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--marble-deep); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 34rem) {
  /* phones: one link back to the parent ("‹ Timeline era", "‹ Chapters"); the heading below names the page */
  .crumbs li { display: none; }
  .crumbs li:nth-last-child(2) { display: inline-flex; }
  .crumbs li:nth-last-child(2)::before { content: "\2039"; margin-right: .45rem; color: var(--grey); }
  .crumbs li:nth-last-child(2)::after { display: none; }
}

.entry, .clip, .chapter { max-width: var(--page); margin: 0 auto; padding: 1.3rem var(--gutter) clamp(2.8rem, 6vw, 4rem); }
.chapter.research { max-width: var(--page-wide); }
.sitenav + .entry { padding-top: 2.6rem; }      /* the 404 page has no breadcrumb above it */
.kicker2 { font-size: .8rem; letter-spacing: .2em; line-height: 1.5; color: var(--marble-deep); margin: 0; text-wrap: balance; }
.entry h1, .clip h1, .chapter h1 { font-size: clamp(1.9rem, 5.2vw, 2.7rem); line-height: 1.14; margin: .45rem 0 .3rem; text-align: left; }
.entry .yr, .clip .yr { font-family: var(--deco); font-size: 1.35rem; line-height: 1.3; letter-spacing: .14em; color: var(--marble-deep); margin: .5rem 0 0; }
.entry h1::after, .clip h1::after, .chapter h1::after { content: ""; display: block; width: 3.5rem; height: 2px; background: var(--gold); margin-top: .85rem; }

/* text links inside running copy */
.detail a, .prose a, .lede a, .noimg a, .also a, .back a, .oq a, .fine a { color: var(--marble-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.detail a:hover, .prose a:hover, .lede a:hover, .noimg a:hover, .also a:hover, .back a:hover, .oq a:hover { color: var(--ink); }

/* ------------------------------------------------------------ entries */
.entry .detail { margin-top: 1.4rem; font-size: 1.1rem; line-height: 1.7; color: var(--ink); }
.entry .detail p { margin: 0 0 1.05em; }
.fromsource {
  background: var(--card); border-left: 4px solid var(--gold); box-shadow: var(--shadow);
  padding: 1.15rem 1.4rem 1rem; margin: 1.6rem 0 .4rem;
}
.fromsource h2, .source h2 { font-size: .8rem; letter-spacing: .24em; color: var(--marble-deep); margin: 0 0 .75rem; text-align: left; }
.fromsource p { margin: 0 0 .8rem; font-size: 1.04rem; line-height: 1.6; font-style: italic; color: var(--ink); }
.fromsource p b { font-style: normal; letter-spacing: .03em; }
.fromsource .tcite { font-style: normal; font-size: .9rem; color: var(--grey); margin: 0; padding-top: .6rem; border-top: 1px dashed var(--line); }
.source { margin-top: 2rem; background: var(--card); border: 1px solid var(--line-soft); border-top: 3px solid var(--gold); box-shadow: var(--shadow); padding: 1.1rem 1.15rem 1.15rem; }
.source figure { margin: 0 0 1.3rem; }
.source figure:last-child { margin-bottom: 0; }
.source .noimg { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--ink-soft); }
.source .also { margin: 0; font-size: .94rem; line-height: 1.5; color: var(--ink-soft); }

/* ------------------------------------------------------------ figures: clippings shown at their own size on a mat */
figure .zoom { --mat: clamp(.45rem, 1.6vw, .8rem); display: block; position: relative; background: var(--paper-warm); padding: var(--mat) var(--mat) 2.2rem; cursor: zoom-in; }
figure .zoom::after {
  content: "Enlarge"; position: absolute; right: var(--mat); bottom: .45rem; padding: .3rem .6rem;
  font-family: var(--display); font-size: .7rem; line-height: 1; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark); background: var(--green-deep); border-radius: 2px; opacity: .86; transition: opacity .15s ease;
}
figure .zoom:hover::after, figure .zoom:focus-visible::after { opacity: 1; }
figure .zoom img { margin: 0 auto; border: 1px solid rgba(35, 39, 31, .22); box-shadow: 0 1px 5px rgba(35, 39, 31, .16); background: #fff; }
figure.strip .zoom img { max-width: min(100%, 27rem); }   /* long single-column clippings */
figcaption.cite, .clip figcaption, .chfig figcaption { margin: .7rem 0 0; font-size: .92rem; line-height: 1.5; font-style: italic; color: var(--grey); }
.chfig, .clip figure { margin: 1.9rem 0; background: var(--card); border-top: 3px solid var(--gold); box-shadow: var(--shadow); padding: .85rem .9rem .9rem; }

/* previous / next */
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 2.6rem; }
.pn a {
  display: flex; flex-direction: column; justify-content: flex-start; gap: .15rem; min-height: 3.6rem; text-wrap: balance;
  padding: .7rem 1rem; background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 2px;
  color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.3;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pn a small { font-size: .76rem; letter-spacing: .16em; color: var(--marble-deep); }
.pn a.next { grid-column: 2; text-align: right; align-items: flex-end; }
.pn a:hover { border-color: var(--marble-deep); box-shadow: var(--shadow); }
@media (max-width: 34rem) {
  .pn { grid-template-columns: 1fr; }
  .pn a.next { grid-column: 1; }
  .pn span:empty { display: none; }
}

/* ------------------------------------------------------------ clippings */
.clip .lede { margin: 1.2rem 0 0; font-size: 1.08rem; line-height: 1.65; color: var(--ink); }
.clip .back { margin: 2.2rem 0 0; }
.clip .back a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }

/* ------------------------------------------------------------ chapters and research */
.prose { font-size: 1.1rem; line-height: 1.7; }
.prose > p, .prose > ul, .prose > ol, .prose > blockquote { max-width: var(--measure); }
.prose p { margin: 0 0 1.1em; }
.prose h2 {
  font-size: clamp(1.4rem, 3.4vw, 1.6rem); line-height: 1.25; text-align: left;
  margin: 2.6rem 0 .9rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line);
}
.prose h3 { font-size: 1.22rem; line-height: 1.3; margin: 1.9rem 0 .5rem; }
.prose em { font-style: italic; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.4rem; }
.prose li { margin: 0 0 .5em; }
.prose blockquote { margin: 1.4rem 0; padding: .1rem 0 .1rem 1.1rem; border-left: 3px solid var(--gold); font-style: italic; color: var(--ink-soft); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.2rem 0; }
.prose > :first-child { margin-top: 0; }
.oq { padding-left: 1.5rem; }
.oq li { margin: 0 0 1.1em; padding-left: .25rem; }
.oq li b { display: block; line-height: 1.4; margin-bottom: .15rem; }
.prose .series { list-style: none; margin: 0 0 1rem; padding: 0; max-width: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.prose .series li { margin: 0; padding: .3rem .8rem; background: var(--card); border: 1px solid var(--line); border-radius: 2px; font-size: .98rem; line-height: 1.45; color: var(--ink-soft); }
.prose .series li b { font-size: 1.08rem; color: var(--ink); }
.oq li::marker { font-weight: 600; color: var(--marble-deep); }
.fine { font-size: .9rem; line-height: 1.5; color: var(--grey); }

.tbl { overflow-x: auto; margin: 1.3rem 0 1.9rem; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tbl table { border-collapse: collapse; width: 100%; font-size: .97rem; line-height: 1.5; }
.tbl th { white-space: nowrap; text-align: left; font-size: .76rem; letter-spacing: .12em; color: var(--ink-soft); padding: .7rem .85rem; background: var(--paper-warm); border-bottom: 1px solid var(--line); vertical-align: bottom; }
.tbl td { padding: .7rem .85rem; border-top: 1px solid var(--line-soft); vertical-align: top; }
.tbl tbody tr:first-child td { border-top: 0; }
.tbl td:first-child { font-weight: 600; color: var(--ink); min-width: 9.5rem; }
@media (min-width: 40.01rem) {
  [data-page="numbers"] .tbl table { table-layout: fixed; }
  [data-page="numbers"] .tbl th:nth-child(1) { width: 22%; }
  [data-page="numbers"] .tbl th:nth-child(2) { width: 39%; }
}
@media (max-width: 40rem) {
  /* phones: each row becomes a small card, each cell labelled by its column heading */
  .tbl { overflow: visible; }
  .tbl table, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl tr { padding: .8rem .95rem .85rem; }
  .tbl tr + tr { border-top: 1px solid var(--line); }
  .tbl td, .tbl tbody tr:first-child td { padding: 0; border: 0; }
  .tbl td + td { margin-top: .5rem; }
  .tbl td[data-label]::before {
    content: attr(data-label); display: block;
    font-family: var(--display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; color: var(--grey);
  }
  .tbl td:first-child { font-size: 1.06rem; min-width: 0; }
}

/* ------------------------------------------------------------ timeline */
.timeline-main { padding-bottom: clamp(2.6rem, 6vw, 4rem); }
.timeline-main .era { max-width: var(--page-wide); margin: 0 auto; padding: 2.4rem var(--gutter) .2rem; }
.timeline-main .era h2 { font-size: clamp(1.45rem, 3.6vw, 1.75rem); line-height: 1.2; text-align: left; padding-bottom: .4rem; border-bottom: 2px solid var(--gold); }
.timeline-main .era h2 .years { display: block; font-family: var(--deco); font-size: 1.1rem; line-height: 1.3; letter-spacing: .2em; color: var(--marble-deep); margin-bottom: .15rem; }
.timeline-main .era ol { list-style: none; margin: 1.1rem 0 0 .35rem; padding: 0 0 0 1.25rem; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: .2rem; }
.timeline-main .era li { position: relative; }
.timeline-main .era li::before { content: ""; position: absolute; left: calc(-1.25rem - 6px); top: 1.05rem; width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold); }
.timeline-main .era.e2 li::before { background: #8f6f4e; }
.timeline-main .era.e3 li::before { background: #6f7d5c; }
.timeline-main .era.e4 li::before { background: #7d7d7d; }
.timeline-main .era.e5 li::before { background: #b97f68; }
.timeline-main .era.e6 li::before { background: #5c7d78; }
.timeline-main .era li a {
  display: block; position: relative; padding: .55rem 3.2rem .55rem 6.5rem; border-radius: 3px; text-wrap: pretty;
  color: var(--ink-soft); text-decoration: none; font-size: 1.02rem; line-height: 1.55;
  transition: background .15s ease, box-shadow .15s ease;
}
.timeline-main .era li a:hover, .timeline-main .era li a:focus-visible { background: var(--card); color: var(--ink); box-shadow: 0 1px 6px rgba(35, 39, 31, .1); }
.timeline-main .era li b {
  position: absolute; left: .3rem; top: .55rem; width: 5.6rem; text-align: right;
  font-family: var(--deco); font-weight: 400; font-size: 1.08rem; letter-spacing: .04em; color: var(--ink);
}
.timeline-main .era li .go { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); font-size: 0; color: var(--marble-deep); }
.timeline-main .era li .go::after { content: "\2192"; font-size: 1.05rem; line-height: 1; opacity: .8; transition: opacity .15s ease, transform .15s ease; display: inline-block; }
.timeline-main .era li a.ld { min-height: 3.9rem; }      /* a full date ("Mar 23, 1930") stands on two lines */
.timeline-main .era li a:hover .go::after, .timeline-main .era li a:focus-visible .go::after { opacity: 1; transform: translateX(3px); }
.timeline-main .era li .thread { display: inline-block; font-size: .76rem; line-height: 1.5; letter-spacing: .12em; color: var(--on-dark); background: var(--green); border-radius: 2px; padding: .05rem .5rem; margin-right: .4em; vertical-align: .08em; }
.timeline-main .era li:target a { background: var(--card); box-shadow: 0 0 0 2px var(--gold); }
.js .era li.ext { display: none; }
.js .era.open li.ext { display: list-item; }
.moretl { display: none; margin: 1rem 0 0 8.1rem; cursor: pointer; }
.js .moretl { display: inline-flex; }
@media (max-width: 40rem) {
  .timeline-main .era li a { padding: .55rem 2.3rem .55rem .7rem; }
  .timeline-main .era li a.ld { min-height: 0; }
  .timeline-main .era li b { position: static; display: block; width: auto; text-align: left; }   /* the date on its own line */
  .moretl { margin-left: 2.3rem; }
}

/* ------------------------------------------------------------ footer */
.colophon { background: var(--green); color: var(--on-dark-mute); text-align: center; padding: 2.6rem var(--gutter) 3rem; border-top: 3px solid var(--gold); }
.colophon p { max-width: var(--measure); margin: 0 auto .9rem; font-size: .9rem; line-height: 1.6; color: var(--on-dark-mute); }
.colophon .ai { font-style: italic; }
.colophon b { color: var(--on-dark-soft); }
.colophon a { color: var(--gold-soft); text-underline-offset: .18em; }
.colophon .fine { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 .5rem; margin: 1.5rem auto 0; font-size: .78rem; letter-spacing: .18em; color: var(--on-dark-mute); }
.colophon .fine a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 .35rem; text-decoration: none; }
.colophon .fine a:hover { color: #fff; }

/* ------------------------------------------------------------ lightbox: a modal <dialog> */
dialog.lb { border: 0; margin: 0; padding: 0; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: transparent; overflow: auto; overscroll-behavior: contain; }
dialog.lb::backdrop { background: rgba(20, 23, 18, .94); }
.lb .lbstage { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 4rem 1rem 1.25rem; }
.lb img { max-width: 100%; max-height: calc(100vh - 5.25rem); max-height: calc(100dvh - 5.25rem); width: auto; height: auto; background: #fff; cursor: zoom-in; }
.lb.wide img { max-height: none; }
.lb.natural img { max-height: none; max-width: none; cursor: zoom-out; }
.lb.natural .lbstage { justify-content: flex-start; align-items: flex-start; width: max-content; min-width: 100%; }
.lb .lbbar { position: fixed; top: 0; right: 0; display: flex; gap: .5rem; padding: .75rem; z-index: 1; }
.lb button, .lb .orig {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border: 0; border-radius: 2px; cursor: pointer;
  font-size: .78rem; text-decoration: none; background: var(--gold); color: var(--green-deep);
}
.lb .orig { background: rgba(34, 38, 31, .9); color: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--rule-gold); }

/* ------------------------------------------------------------ small screens, motion, print */
@media (max-width: 40rem) {
  .sitenav nav { justify-content: center; }
  .sitenav ul { gap: 0 1.15rem; justify-content: center; }
  .sitenav li a { font-size: .76rem; letter-spacing: .12em; }
  .hero .kicker { letter-spacing: .22em; }
  .hero .subtitle { letter-spacing: .14em; }
  .fromsource { padding: 1rem 1.05rem .9rem; }
  .source { padding: .9rem .8rem 1rem; }
  .chfig, .clip figure { padding: .6rem .6rem .75rem; }
  .rgrid { grid-template-columns: 1fr; }
  .colophon p { text-align: left; }
  .colophon .fine { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 0 2.4rem; }
  .colophon .fine span { display: none; }
  .colophon .fine a { padding: 0; }
  .btn { letter-spacing: .12em; padding-inline: 1.1rem; text-align: center; }
  .onepara .readon .btn { display: flex; justify-content: center; }
  .masthead .hero .dek { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .life, .btn, .pn a, .sitenav li a { transition: none; }
  .card:hover, .life:hover, .btn.green:hover { transform: none; }
}
@media print {
  .sitenav, .skip, .jump, .chstrip, .pn, .moretl, .crumbs, .tap, .back, dialog.lb { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .era li.ext { display: list-item; }
  .hero, .masthead, .numbers, .colophon { background: #fff !important; color: #000 !important; border-color: #999; }
  .hero h1, .hero .kicker, .hero .subtitle, .hero .dek, .hero .dek strong, .hero .dek a, .hero .deco, .numbers .n, .numbers .l,
  .colophon p, .colophon a, .colophon b, .colophon .fine, .heroart figcaption { color: #000 !important; }
  .hero .subtitle { -webkit-text-stroke: 0; }
  .card, .life, .chfig, .source, .fromsource, .tbl, .rgrid .r, .clip figure, .heroart .zoom { box-shadow: none !important; }
  a { text-decoration: none; }
  figure, .card, .life, .tbl tr, .rgrid .r { break-inside: avoid; }
}
