:root {
  --ground: #E6E6E2;
  --ink: #18181B;
  --blue: #2B59C3;
  --orange: #F28F3B;
  --edge: max(36px, calc((100vw - 1200px) / 2));
  --text: "Gentium Plus", Georgia, serif;
  --display: "BenchNine", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; color: var(--ink); background: var(--ground); font: 400 21px/1.65 var(--text); }
::selection { background: var(--orange); color: var(--ink); }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: text-decoration-color .18s ease; }
a:hover { text-decoration-thickness: 2px; text-decoration-color: var(--blue); }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; background: var(--orange); }
img { display: block; max-width: 100%; height: auto; color: var(--ink); font: 18px/1.5 var(--text); }
figure { margin: 0; }
i[data-lucide] { display: inline-block; width: 24px; height: 24px; flex: 0 0 24px; }
svg.lucide { width: 24px; height: 24px; flex: 0 0 24px; stroke-width: 1.5; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(64px, 6.6vw, 96px); letter-spacing: -.012em; }
h2 { font-size: clamp(46px, 4.7vw, 68px); letter-spacing: -.01em; }
h3 { font-size: 44px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.15em; }
li { margin-bottom: .65em; }
.at-skip { position: absolute; z-index: 5; left: 12px; top: -150px; padding: 10px 20px; background: var(--orange); }
.at-skip:focus { top: 10px; }

/* The deep name field and three low, unequal baselines are the masthead. */
.at-name-gutter { min-height: 160px; padding: 16px var(--edge) 0; display: flex; flex-direction: column; justify-content: space-between; }
.at-wordmark { display: block; align-self: flex-start; font: 700 62px/1.05 var(--display); text-decoration: none; white-space: nowrap; letter-spacing: -.025em; }
.at-wordmark:hover { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.at-topic-tabs { display: grid; grid-template-columns: 205px 230px 280px; gap: 22px; align-items: end; }
.at-topic-tabs a { display: flex; gap: 13px; position: relative; align-items: center; min-height: 48px; padding: 7px 0 15px; font-size: 22px; line-height: 1.2; text-decoration: none; }
.at-topic-tabs a::after { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--blue); content: ""; transition: width .22s ease, background-color .22s ease; }
.at-topic-tabs a:nth-child(1)::after { width: 58px; }
.at-topic-tabs a:nth-child(2)::after { width: 116px; }
.at-topic-tabs a:nth-child(3)::after { width: 184px; }
.at-topic-tabs a:hover::after, .at-topic-tabs a:focus-visible::after { width: 100%; background: var(--ink); }
.at-topic-tabs svg, .at-topic-tabs i { height: 21px; width: 21px; flex-basis: 21px; }

/* The upper right stays empty. The lower field grows out of the addendum origin. */
.at-first-movement { min-height: calc(100svh - 160px); display: grid; grid-template-columns: 555px 1fr; grid-template-rows: 1fr auto auto; padding-top: 58px; margin-left: var(--edge); }
.at-first-movement h1 { grid-column: 1; grid-row: 1 / 3; align-self: start; max-width: 430px; margin-left: 90px; padding-bottom: 34px; font-size: clamp(80px, 6.8vw, 98px); line-height: .98; }
.at-first-movement h1 span { display: block; }
.at-first-movement h1 span + span { max-width: 390px; }
.at-conditions { grid-column: 2; grid-row: 2; position: relative; isolation: isolate; padding: 30px 0 58px; align-self: end; }
.at-conditions::before { position: absolute; inset: 0; z-index: -1; content: ""; background: var(--blue); clip-path: polygon(54px 0, 100% 0, 100% 100%, 0 100%, 0 54px); transform-origin: right bottom; animation: at-unfold .8s cubic-bezier(.2,.6,.3,1) both; }
.at-conditions p { position: relative; width: calc(100% - 64px); max-width: 690px; margin-left: -42px; padding: 19px 36px 25px 42px; background: var(--ground); font-size: 23px; line-height: 1.5; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); }
.at-definition { grid-column: 1; grid-row: 3; width: 310px; margin: 0 0 35px 90px; padding-right: 10px; font-size: 19px; line-height: 1.55; align-self: center; }
@keyframes at-unfold { from { transform: scaleX(.72); } to { transform: scaleX(1); } }

/* A solitary, unframed second beat: 820 by 760, flush right in 1200. */
.at-opening-photo { position: relative; width: min(1200px, calc(100% - 2 * var(--edge))); margin: 76px auto 144px; }
.at-opening-photo::before { position: absolute; content: ""; top: 66%; left: 0; width: calc(100% - 820px); height: 1px; background: var(--blue); }
.at-opening-photo img { width: 820px; aspect-ratio: 820 / 760; margin-left: auto; object-fit: cover; background: #d5d5d1; }
.at-opening-photo figcaption { width: 820px; max-width: 100%; margin-left: auto; padding: 24px 0 0; display: grid; grid-template-columns: 28px 1fr; gap: 18px; font-size: 20px; line-height: 1.5; }
.at-opening-photo figcaption svg { margin-top: 3px; color: var(--blue); }
.at-opening-photo figcaption span { max-width: 620px; }

/* A title across the spread; the prose beneath repeatedly returns to 740px. */
.at-ledger-title { position: relative; margin: 0 var(--edge) 96px; display: grid; grid-template-columns: 555px 1fr; gap: 0; align-items: end; padding-bottom: 34px; border-bottom: 1px solid var(--blue); }
.at-ledger-title h2 { position: relative; max-width: 410px; padding-right: 32px; font-size: 72px; color: var(--blue); }
.at-ledger-title h2 svg, .at-ledger-title h2 i { position: absolute; left: -48px; top: 7px; width: 26px; height: 26px; }
.at-ledger-title p { max-width: 490px; margin: 0; padding: 0 0 4px 36px; font-size: 22px; line-height: 1.5; }
.at-ledger-entry { margin: 0 0 118px; }
.at-main-measure { width: min(740px, calc(100% - 2 * var(--edge))); margin-left: var(--edge); padding-bottom: 42px; }
.at-main-measure h2 { max-width: 690px; margin-bottom: 30px; }
.at-main-measure p { max-width: 675px; }
.at-main-measure ul { max-width: 670px; }

/* The thin extension attaches an implication, with no card or boxed edge. */
.at-added { position: relative; margin-left: calc(var(--edge) + 555px); padding: 39px max(36px, calc((100vw - 1200px) / 2)) 0 36px; border-top: 1px solid var(--blue); }
.at-added::before { content: ""; position: absolute; width: 185px; height: 36px; right: 100%; top: -36px; border-bottom: 1px solid var(--blue); border-left: 1px solid var(--blue); }
.at-added h3 { position: relative; max-width: 565px; margin: 0 0 24px; line-height: 1.06; }
.at-added h3::before { position: absolute; content: ""; width: 9px; height: 29px; left: -36px; top: 6px; background: var(--orange); }
.at-added p { max-width: 610px; }
.at-added p:first-of-type { font-size: 24px; line-height: 1.55; }

/* Inner-page headings stay typographic; their photographs keep their own section. */
.at-page-intro { position: relative; margin: 64px var(--edge) 100px; max-width: 1060px; }
.at-crumbs { display: flex; gap: 14px; align-items: center; font-size: 18px; margin-bottom: 36px; }
.at-crumbs > svg, .at-crumbs > i { color: var(--blue); width: 22px; height: 22px; flex-basis: 22px; margin-right: 5px; }
.at-crumbs span::before { content: "/"; display: inline-block; padding-right: 14px; }
.at-page-intro h1 { max-width: 1000px; margin: 0 0 39px; }
.at-page-intro > p { max-width: 740px; margin-left: 185px; padding-top: 24px; border-top: 1px solid var(--blue); font-size: 25px; line-height: 1.5; }
.at-section-photo { width: min(1100px, calc(100% - var(--edge) - 185px)); margin: 6px 0 58px auto; }
.at-section-photo img { width: 100%; height: auto; aspect-ratio: 1200 / 520; object-fit: cover; background: #d5d5d1; }
.at-section-photo figcaption { display: grid; grid-template-columns: 28px 1fr; gap: 18px; margin-left: -185px; max-width: 690px; padding-top: 22px; font-size: 20px; line-height: 1.5; }
.at-section-photo figcaption svg { color: var(--blue); margin-top: 3px; }
.at-source-entry .at-main-measure { margin-top: 76px; padding-bottom: 30px; }
.at-source-entry h2 { font-size: 43px; max-width: 700px; }
.at-source-entry .at-source-byline { display: block; margin-bottom: 16px; font-size: 19px; }
.at-source-entry .at-added { padding-top: 26px; padding-bottom: 18px; }
.at-source-entry .at-added::before { height: 22px; top: -22px; }
.at-source-entry h3 { font-size: 32px; margin-bottom: 15px; }
.at-source-entry h3::before { height: 20px; }
.at-source-entry .at-added p { font-size: 21px; }
.at-page-references .at-page-intro h1 { max-width: 1040px; font-size: clamp(48px, 4.8vw, 70px); line-height: 1.1; }
.at-page-references .at-page-intro { max-width: 1080px; }

.at-reading-end { position: relative; margin: 94px var(--edge) 110px; padding-top: 30px; border-top: 1px solid var(--blue); display: flex; align-items: baseline; justify-content: space-between; gap: 30px; }
.at-reading-end::before { position: absolute; content: ""; left: 0; top: -25px; height: 24px; width: 1px; background: var(--blue); }
.at-reading-end p { max-width: 650px; font-size: 36px; line-height: 1.25; margin: 0; }
.at-reading-end a { flex-shrink: 0; padding: 10px 0; font-size: 21px; text-underline-offset: .35em; }
.at-footer { padding: 52px var(--edge) 36px; background: #DADAD6; }
.at-footer-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 26px; margin-bottom: 48px; }
.at-footer-links a { font-size: 20px; padding: 8px 0; text-decoration: none; }
.at-footer-links a:hover { text-decoration: underline; }
.at-footer p { max-width: 740px; font-size: 19px; line-height: 1.55; }
.at-footer .at-copyright { font-size: 18px; margin-top: 25px; }
.at-page-404 .at-page-intro { min-height: 50svh; }

@media (min-width: 1700px) {
  .at-first-movement { grid-template-columns: 555px 1fr; }
  .at-conditions { max-width: 1000px; }
}
@media (max-width: 1100px) {
  :root { --edge: 32px; }
  .at-topic-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .at-topic-tabs a { font-size: 20px; }
  .at-first-movement { grid-template-columns: 47% 53%; padding-top: 58px; }
  .at-first-movement h1, .at-definition { margin-left: 32px; }
  .at-first-movement h1 { font-size: 78px; max-width: 340px; padding-right: 20px; }
  .at-definition { width: 290px; padding-right: 24px; }
  .at-conditions { padding-bottom: 40px; }
  .at-conditions p { width: calc(100% - 24px); margin-left: -20px; padding-left: 20px; padding-right: 24px; font-size: 21px; }
  .at-added { margin-left: 44%; padding-right: 32px; }
  .at-added::before { width: 100px; }
  .at-opening-photo img, .at-opening-photo figcaption { width: 78%; }
  .at-opening-photo::before { width: 22%; }
  .at-ledger-title { grid-template-columns: 47% 53%; }
  .at-ledger-title h2 { font-size: 60px; padding-left: 36px; }
  .at-ledger-title h2 svg, .at-ledger-title h2 i { left: 0; }
  .at-page-intro > p { margin-left: 100px; }
  .at-section-photo { width: calc(100% - var(--edge) - 100px); }
  .at-section-photo figcaption { margin-left: -100px; padding-right: 32px; }
  .at-reading-end p { font-size: 30px; }
}
@media (max-width: 700px) {
  :root { --edge: 22px; }
  html { scroll-padding-top: 24px; }
  body { font-size: 20px; line-height: 1.65; }
  .at-name-gutter { min-height: 220px; padding-top: 21px; }
  .at-wordmark { font-size: clamp(30px, 9.5vw, 37px); letter-spacing: -.03em; }
  .at-topic-tabs { grid-template-columns: 1fr 1fr; column-gap: 18px; row-gap: 13px; }
  .at-topic-tabs a { font-size: 18px; gap: 8px; padding: 6px 0 11px; }
  .at-topic-tabs a:nth-child(1)::after { width: 46px; }
  .at-topic-tabs a:nth-child(2)::after { width: 80px; }
  .at-topic-tabs a:nth-child(3) { grid-column: 1 / -1; width: 215px; }
  .at-topic-tabs a:nth-child(3)::after { width: 145px; }
  .at-topic-tabs a:hover::after, .at-topic-tabs a:focus-visible::after { width: 100%; }
  .at-topic-tabs svg, .at-topic-tabs i { width: 18px; height: 18px; flex-basis: 18px; }
  .at-first-movement { min-height: calc(100svh - 220px); display: flex; flex-direction: column; margin: 0; padding: 40px 0 0; }
  .at-first-movement h1 { max-width: none; font-size: clamp(58px, 16.5vw, 68px); line-height: 1; margin: 0 30px 38px; padding: 0; }
  .at-first-movement h1 span + span { max-width: 320px; }
  .at-conditions { margin: 0 0 26px 22px; padding: 24px 0 44px; align-self: stretch; }
  .at-conditions::before { clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%, 0 32px); }
  .at-conditions p { width: calc(100% - 24px); max-width: none; margin-left: 0; padding: 18px 24px 24px 8px; font-size: 20px; line-height: 1.55; }
  .at-definition { width: auto; margin: 0 30px 30px; padding: 0; font-size: 18px; align-self: stretch; }
  .at-opening-photo { width: calc(100% - 22px); margin: 54px 0 94px 22px; }
  .at-opening-photo img { width: calc(100% - 24px); margin-left: 24px; aspect-ratio: 820 / 760; }
  .at-opening-photo::before { width: 24px; }
  .at-opening-photo figcaption { width: auto; margin: 0 22px 0 24px; padding-top: 20px; grid-template-columns: 22px 1fr; gap: 12px; font-size: 18px; }
  .at-opening-photo figcaption svg, .at-opening-photo figcaption i { width: 21px; height: 21px; }
  .at-ledger-title { display: block; margin-bottom: 65px; padding-bottom: 26px; }
  .at-ledger-title h2 { max-width: 310px; padding-left: 0; padding-right: 0; margin-bottom: 23px; font-size: 49px; }
  .at-ledger-title h2 svg, .at-ledger-title h2 i { position: static; display: block; width: 24px; height: 24px; margin-bottom: 17px; }
  .at-ledger-title p { padding: 0 0 0 36px; font-size: 20px; }
  .at-ledger-entry { margin-bottom: 82px; }
  .at-main-measure { padding-bottom: 32px; }
  .at-main-measure h2 { font-size: 49px; margin-bottom: 25px; }
  .at-added { margin-left: 58px; padding: 29px 22px 0 20px; }
  .at-added::before { width: 36px; height: 24px; top: -24px; }
  .at-added h3 { font-size: 37px; line-height: 1.08; margin-bottom: 21px; }
  .at-added h3::before { left: -20px; width: 7px; height: 24px; top: 5px; }
  .at-added p:first-of-type { font-size: 22px; line-height: 1.55; }
  .at-page-intro { margin-top: 45px; margin-bottom: 74px; }
  .at-page-intro h1 { font-size: 62px; margin-bottom: 32px; }
  .at-page-intro > p { margin-left: 36px; padding-top: 23px; font-size: 22px; line-height: 1.55; }
  .at-crumbs { flex-wrap: wrap; column-gap: 10px; row-gap: 6px; margin-bottom: 28px; }
  .at-crumbs > svg, .at-crumbs > i { margin-right: 0; }
  .at-crumbs span::before { padding-right: 10px; }
  .at-section-photo { width: calc(100% - 46px); margin: 4px 0 43px auto; }
  .at-section-photo figcaption { grid-template-columns: 22px 1fr; gap: 12px; margin: 0 22px 0 -24px; padding: 19px 0 0; font-size: 18px; }
  .at-section-photo figcaption svg, .at-section-photo figcaption i { width: 21px; height: 21px; }
  .at-source-entry .at-main-measure { margin-top: 52px; }
  .at-source-entry .at-main-measure h2 { font-size: 37px; overflow-wrap: anywhere; }
  .at-source-entry .at-added p { font-size: 20px; }
  .at-page-references .at-page-intro h1 { font-size: 43px; }
  .at-reading-end { margin-top: 76px; margin-bottom: 76px; flex-direction: column; gap: 18px; }
  .at-reading-end p { max-width: 300px; font-size: 31px; }
  .at-reading-end a { font-size: 20px; }
  .at-footer { padding-top: 33px; }
  .at-footer-links { grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-bottom: 34px; }
  .at-footer-links a { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
