:root {
  --kraft: #d3be9f;
  --ink: #1c2230;
  --blue: #1d4e89;
  --paper: #e9dfc9;
  --evergreen: #235e50;
  --text-face: "Volkhov", Georgia, serif;
  --display-face: "Fredericka the Great", Georgia, serif;
  --reading-width: 680px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--kraft); font: 400 19px/1.8 var(--text-face); }
img { display: block; max-width: 100%; height: auto; font-size: 18px; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .24em; }
a:hover { color: var(--blue); text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; background: var(--paper); }
::selection { color: var(--paper); background: var(--blue); }
h1, h2, h3, .agefoot-name { font-family: var(--display-face); font-weight: 400; line-height: 1.15; }
h1, h2, h3, p, figure { margin: 0; }
p + p { margin-top: 1.25em; }
h1 { font-size: clamp(40px, 4.8vw, 68px); text-wrap: balance; }
h2 { font-size: clamp(34px, 3.1vw, 46px); text-wrap: balance; }
h3 { font-size: 28px; }
.agefoot-icon { display: inline-block; width: 21px; height: 21px; flex: 0 0 21px; vertical-align: -.16em; stroke-width: 1.5; }
.agefoot-skip { position: absolute; z-index: 4; top: 12px; left: 20px; padding: 10px 18px; background: var(--paper); transform: translateY(-180%); }
.agefoot-skip:focus { transform: translateY(0); }

/* A name, then a real indented reading list. It is the masthead, not a toolbar. */
.agefoot-mast { min-height: 340px; padding: 26px 32px 22px; }
.agefoot-name { display: block; width: fit-content; max-width: 100%; margin: 0 auto; font-size: clamp(52px, 7.25vw, 104px); line-height: 1.03; white-space: nowrap; text-decoration: none; }
.agefoot-name:hover { color: var(--blue); }
.agefoot-branches { width: fit-content; margin: 20px auto 0; font-size: 18px; line-height: 1.55; }
.agefoot-branches ol { margin: 0; padding: 0; list-style: none; }
.agefoot-branches ol ol { padding: 5px 0 3px 24px; }
.agefoot-branches li + li { margin-top: 4px; }
.agefoot-branches a { display: inline-flex; align-items: baseline; gap: 10px; min-height: 28px; text-decoration: none; }
.agefoot-branches a span { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.agefoot-branches a:hover span, .agefoot-branches a[aria-current="page"] span { text-decoration-color: currentColor; }

/* Three baselines have three depths. The H1 is below them on a wide screen. */
.agefoot-first-screen { min-height: calc(100svh - 340px); }
.agefoot-opening { display: flex; flex-direction: column; justify-content: flex-end; width: min(1240px, calc(100% - 96px)); margin: 0 auto; padding: 14px 0 38px; }
.agefoot-words { order: 1; display: flex; flex-direction: column; gap: 4px; }
.agefoot-word { position: relative; display: grid; grid-template-columns: minmax(230px, 1fr) 360px; align-items: center; column-gap: 42px; padding-bottom: 16px; }
.agefoot-word h2 { position: relative; color: var(--blue); font-size: clamp(72px, 6.55vw, 95px); line-height: 1.02; text-wrap: nowrap; }
.agefoot-word p { font-size: 18px; line-height: 1.65; }
.agefoot-word::after { content: ""; position: absolute; left: 0; bottom: 5px; width: 59%; height: 1px; background: var(--blue); transform-origin: left; }
.agefoot-word--years { width: 82%; }
.agefoot-word--measure { width: 92%; margin-left: 8%; }
.agefoot-word--measure::after { bottom: 0; width: 66%; height: 12px; background: var(--evergreen); }
.agefoot-word--doing { width: 87%; margin-left: 3%; }
.agefoot-word--doing::after { width: 74%; }
.agefoot-opening h1 { order: 2; max-width: 1180px; margin-top: 22px; font-size: clamp(46px, 4.25vw, 62px); line-height: 1.12; text-wrap: balance; }
.agefoot-opening .agefoot-intro { order: 3; width: min(100%, var(--reading-width)); margin: 26px auto 0; font-size: 19px; }
.agefoot-reading { padding-bottom: 80px; }

/* Photographs leave the reading measure; the kraft mat and captions stay open. */
.agefoot-section { max-width: var(--reading-width); margin: 110px auto; }
.agefoot-section > h2 { margin-bottom: 30px; }
.agefoot-section > h2 > .agefoot-icon { display: block; width: 25px; height: 25px; margin-bottom: 18px; color: var(--blue); }
.agefoot-section--photo { max-width: 1240px; margin-top: 34px; padding-top: 28px; }
.agefoot-section--photo > h2 { max-width: var(--reading-width); margin: 0 auto 38px; }
.agefoot-section--photo > .agefoot-copy { max-width: var(--reading-width); margin: 50px auto 0; }
.agefoot-figure { margin: 30px 0 44px; }
.agefoot-figure img { width: 100%; object-fit: cover; aspect-ratio: 2 / 1; background: var(--paper); }
.agefoot-figure figcaption { margin-top: 18px; max-width: 650px; font-size: 18px; line-height: 1.65; }
.agefoot-figure--opening { width: min(100%, 1080px); margin: 0 0 0 auto; }
.agefoot-figure--opening img { aspect-ratio: 1080 / 660; }

/* Definition fields remain unboxed, with unequal extensions under their words. */
.agefoot-section--inset-meaning { max-width: 930px; margin-left: max(48px, calc((100% - 1240px) / 2 + 40px)); margin-right: 48px; padding: 28px 0 12px; }
.agefoot-section--inset-meaning > h2 { max-width: 900px; color: var(--blue); font-size: clamp(46px, 5.2vw, 75px); }
.agefoot-section--inset-meaning > h2::after { content: ""; display: block; width: 69%; height: 1px; margin-top: 28px; background: var(--blue); }
.agefoot-section--inset-meaning .agefoot-copy { max-width: var(--reading-width); }
.agefoot-section--wide-meaning { max-width: 1240px; padding-top: 22px; }
.agefoot-section--wide-meaning > h2 { max-width: 1140px; color: var(--blue); font-size: clamp(46px, 5.4vw, 78px); }
.agefoot-section--wide-meaning > h2::after { content: ""; display: block; width: 91%; height: 1px; margin-top: 32px; background: var(--blue); }
.agefoot-section--wide-meaning .agefoot-copy { column-count: 2; column-gap: 80px; }
.agefoot-section--wide-meaning .agefoot-copy p { break-inside: avoid; }
.agefoot-section--connective { max-width: var(--reading-width); }
.agefoot-section--connective > h2 { font-size: 37px; }
.agefoot-section--evidence-note { max-width: 1120px; padding: 50px 60px 58px; background: var(--paper); }
.agefoot-section--evidence-note > h2::after { content: ""; display: block; width: 58%; height: 1px; margin-top: 28px; background: var(--blue); }

/* Inner readings alternate margin headings, long bands and open evidence paper. */
.agefoot-breadcrumbs { max-width: 1240px; margin: 26px auto 0; font-size: 18px; }
.agefoot-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.agefoot-breadcrumbs li + li::before { content: "/"; padding-right: 18px; }
.agefoot-article-head { max-width: 1180px; margin: 42px auto 96px; }
.agefoot-article-head h1 { color: var(--blue); }
.agefoot-article-head .agefoot-intro { max-width: var(--reading-width); margin: 38px auto 0; font-size: 21px; line-height: 1.8; }
.agefoot-inner .agefoot-section:not([class*="agefoot-section--"]) { display: grid; grid-template-columns: minmax(220px, 310px) minmax(0, 680px); gap: 70px; max-width: 1120px; }
.agefoot-inner .agefoot-section:not([class*="agefoot-section--"]) > h2 { position: sticky; top: 28px; align-self: start; margin: 0; font-size: 39px; }
.agefoot-inner .agefoot-section--evidence-note { display: grid; grid-template-columns: minmax(220px, 290px) minmax(0, 680px); gap: 54px; }
.agefoot-inner .agefoot-section--evidence-note > h2 { margin: 0; font-size: 39px; }
.agefoot-section--illustrated { max-width: 1240px; }
.agefoot-section--illustrated > h2 { max-width: 820px; margin-left: 0; }
.agefoot-section--illustrated .agefoot-figure { width: min(100%, 1000px); margin-left: auto; margin-right: 0; }
.agefoot-section--illustrated .agefoot-copy { max-width: var(--reading-width); margin: 0 auto; }
.agefoot-section--inset-meaning.agefoot-section--illustrated { max-width: 1080px; }
.agefoot-section--inset-meaning.agefoot-section--illustrated .agefoot-copy { margin-left: 0; }

/* Reading links are full sentences, laid across the lower margin. */
.agefoot-next-reading { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 45px; max-width: 1120px; margin: 120px auto 0; padding-top: 28px; border-top: 1px solid var(--blue); }
.agefoot-next-reading > p { padding-top: 10px; }
.agefoot-next-reading ul { margin: 0; padding: 0; list-style: none; }
.agefoot-next-reading li + li { border-top: 1px solid var(--blue); }
.agefoot-next-reading a { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 10px 0 20px; font-size: 25px; line-height: 1.5; text-decoration: none; }
.agefoot-next-reading li + li a { padding-top: 20px; }
.agefoot-next-reading a:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.agefoot-next-reading .agefoot-icon { width: 30px; height: 30px; flex-basis: 30px; }
.agefoot-bottom { display: grid; grid-template-columns: 1fr 1.2fr; column-gap: 90px; padding: 54px max(32px, calc((100vw - 1240px) / 2)) 40px; background: var(--paper); }
.agefoot-bottom nav { grid-row: span 2; }
.agefoot-bottom ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.agefoot-bottom p { max-width: 680px; margin: 0; }
.agefoot-copyright { margin-top: 24px !important; font-size: 18px; }
.agefoot-missing { max-width: 1000px; min-height: 55svh; margin: 0 auto; padding: 70px 24px 100px; }
.agefoot-missing p { max-width: var(--reading-width); margin-top: 32px; }

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 160ms ease; }
  .agefoot-word::after { animation: agefoot-baseline 700ms ease-out both; }
  .agefoot-word--measure::after { animation-delay: 100ms; }
  .agefoot-word--doing::after { animation-delay: 200ms; }
  .agefoot-next-reading .agefoot-icon { transition: transform 160ms ease; }
  .agefoot-next-reading a:hover .agefoot-icon { transform: translate(3px, -3px); }
}
@keyframes agefoot-baseline { from { transform: scaleX(.65); } to { transform: scaleX(1); } }

@media (min-width: 1500px) {
  .agefoot-opening { padding-top: 38px; padding-bottom: 64px; }
  .agefoot-words { gap: 14px; }
}
@media (max-width: 1100px) {
  .agefoot-word { grid-template-columns: 1fr 300px; column-gap: 28px; }
  .agefoot-word--years { width: 90%; }
  .agefoot-word--measure { width: 96%; margin-left: 4%; }
  .agefoot-word--doing { width: 94%; }
  .agefoot-section, .agefoot-article-head, .agefoot-breadcrumbs, .agefoot-next-reading { margin-left: 40px; margin-right: 40px; }
  .agefoot-home .agefoot-section--connective, .agefoot-section--photo > .agefoot-copy { margin-left: auto; margin-right: auto; }
  .agefoot-inner .agefoot-section:not([class*="agefoot-section--"]) { grid-template-columns: minmax(190px, 260px) minmax(0, 1fr); gap: 44px; }
  .agefoot-inner .agefoot-section--evidence-note { grid-template-columns: 1fr; gap: 28px; }
  .agefoot-inner .agefoot-section--evidence-note .agefoot-copy { max-width: var(--reading-width); }
  .agefoot-section--wide-meaning .agefoot-copy { column-gap: 48px; }
}
@media (max-width: 760px) {
  body { font-size: 18px; line-height: 1.85; }
  .agefoot-mast { min-height: 240px; padding: 24px 23px; }
  .agefoot-name { margin-left: 0; font-size: clamp(35px, 9.3vw, 60px); line-height: 1.12; white-space: normal; }
  .agefoot-branches { width: 100%; margin: 22px 0 0; font-size: 18px; }
  .agefoot-branches ol ol { padding-left: 16px; }
  .agefoot-branches a { gap: 8px; }
  .agefoot-first-screen { min-height: calc(100svh - 240px); }
  .agefoot-opening { width: auto; margin: 0 23px; padding: 20px 0 40px; }
  .agefoot-opening h1 { order: 1; margin: 0 0 38px; font-size: clamp(36px, 9.5vw, 54px); line-height: 1.2; }
  .agefoot-words { order: 2; gap: 24px; }
  .agefoot-word { display: block; width: 100%; padding-bottom: 16px; }
  .agefoot-word h2 { width: fit-content; font-size: clamp(60px, 17.6vw, 88px); }
  .agefoot-word p { max-width: 310px; margin-top: 14px; font-size: 18px; line-height: 1.75; }
  .agefoot-word::after { width: 62%; }
  .agefoot-word--measure { width: calc(100% - 16px); margin-left: 16px; }
  .agefoot-word--measure::after { width: 100%; height: 10px; }
  .agefoot-word--doing { margin-left: 0; }
  .agefoot-word--doing::after { width: 80%; }
  .agefoot-opening .agefoot-intro { margin-top: 36px; font-size: 18px; }
  .agefoot-section { margin: 74px 23px; }
  .agefoot-section > h2 { margin-bottom: 28px; }
  .agefoot-section > h2 > .agefoot-icon { margin-bottom: 15px; }
  .agefoot-section--photo { margin-top: 0; padding-top: 26px; }
  .agefoot-section--photo > h2 { margin-bottom: 30px; }
  .agefoot-figure--opening { width: calc(100% - 9px); margin-left: 9px; }
  .agefoot-section--photo > .agefoot-copy { margin: 36px 0 0; }
  .agefoot-figure figcaption { margin-top: 15px; }
  .agefoot-section--inset-meaning { margin-left: 39px; padding-top: 20px; }
  .agefoot-section--inset-meaning > h2, .agefoot-section--wide-meaning > h2 { font-size: 43px; }
  .agefoot-section--wide-meaning { padding-top: 10px; }
  .agefoot-section--wide-meaning .agefoot-copy { column-count: 1; }
  .agefoot-home .agefoot-section--connective { margin-left: 23px; margin-right: 23px; }
  .agefoot-section--connective > h2 { font-size: 34px; }
  .agefoot-section--evidence-note { margin-left: 0; margin-right: 0; padding: 38px 23px 44px; }
  .agefoot-article-head { margin: 32px 23px 70px; }
  .agefoot-article-head h1 { font-size: 36px; line-height: 1.24; overflow-wrap: break-word; }
  .agefoot-article-head .agefoot-intro { margin-top: 28px; font-size: 19px; }
  .agefoot-breadcrumbs { margin: 10px 23px 0; }
  .agefoot-inner .agefoot-section:not([class*="agefoot-section--"]), .agefoot-inner .agefoot-section--evidence-note { display: block; }
  .agefoot-inner .agefoot-section:not([class*="agefoot-section--"]) > h2, .agefoot-inner .agefoot-section--evidence-note > h2 { position: static; margin-bottom: 28px; font-size: 34px; }
  .agefoot-section--illustrated .agefoot-figure { width: calc(100% + 9px); max-width: none; margin-left: 0; }
  .agefoot-section--inset-meaning.agefoot-section--illustrated { margin-left: 23px; }
  .agefoot-section--inset-meaning.agefoot-section--illustrated .agefoot-figure { width: 100%; }
  .agefoot-next-reading { display: block; margin: 74px 23px 0; padding-top: 24px; }
  .agefoot-next-reading > p { margin-bottom: 18px; padding: 0; }
  .agefoot-next-reading a { gap: 16px; font-size: 22px; }
  .agefoot-bottom { display: block; padding: 38px 23px; }
  .agefoot-bottom nav { margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
