@charset "UTF-8";

:root {
  --at-ground: #d9e5f1;
  --at-ink: #182a47;
  --at-accent: #3434ad;
  --at-white: #ffffff;
  --at-sand: #c9b99a;
  --at-width: 1200px;
  color-scheme: light;
  color: var(--at-ink);
  background: var(--at-ground);
  font-family: "Arimo", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.6;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-padding-block-start: 30px; }
body { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-color .18s ease, background-color .18s ease; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--at-ink); outline-offset: 6px; background: var(--at-white); }
::selection { color: var(--at-white); background: var(--at-ink); }
img { display: block; max-inline-size: 100%; font: 16px/1.5 "Arimo", Arial, sans-serif; }
p { margin: 0 0 1.2em; }
h1, h2, h3 { font-family: "Tenor Sans", Arial, sans-serif; font-weight: 400; }
h1 { font-size: clamp(2.7rem, 5.2vw, 3.9rem); line-height: 1.06; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
h2 { font-size: 1.95rem; line-height: 1.17; letter-spacing: -.035em; margin: 0 0 .8em; text-wrap: balance; }
h3 { font-size: 1.55rem; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 .7em; }
figure { margin: 0; }
.at-frame { inline-size: min(var(--at-width), calc(100% - 80px)); margin-inline: auto; }
.at-skip { position: absolute; z-index: 10; inset-block-start: -100px; inset-inline-start: 20px; padding: 10px 18px; background: var(--at-white); }
.at-skip:focus { inset-block-start: 12px; }
.at-icon { display: inline-block; inline-size: 1.1em; margin-inline-end: .7em; text-align: center; font-size: .95em; vertical-align: -.04em; }

/* An inhabited reading matrix, with its name held in the open centre. */
.at-anchor-matrix { padding-block: 25px 0; }
.at-matrix-layout { display: grid; grid-template-columns: 1fr 2.1fr 1fr; grid-template-rows: auto 112px auto; column-gap: 38px; }
.at-name { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: center; font-family: "Tenor Sans", Arial, sans-serif; font-size: 2.85rem; line-height: 1; letter-spacing: -.065em; text-decoration: none; white-space: nowrap; }
.at-name:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.at-reading-nav { display: contents; }
.at-reading-link { position: relative; display: block; padding-block: 13px 14px; border-block-start: 1px solid var(--at-ink); text-decoration: none; }
.at-reading-link::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: -1px; inline-size: 40px; border-block-start: 3px solid var(--at-ink); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.at-reading-link:hover::after, .at-reading-link[aria-current="page"]::after { transform: scaleX(1); }
.at-reading-link:hover { background: rgb(255 255 255 / 48%); }
.at-reading-link strong { display: flex; align-items: baseline; font-size: 1.02rem; font-weight: 400; }
.at-reading-link span { display: block; font-size: .76rem; line-height: 1.4; margin-block-start: 5px; }
.at-reading-link:nth-child(1) { grid-column: 1; grid-row: 1; }
.at-reading-link:nth-child(2) { grid-column: 2; grid-row: 1; }
.at-reading-link:nth-child(3) { grid-column: 3; grid-row: 1; }
.at-reading-link:nth-child(4) { grid-column: 1; grid-row: 2; align-self: center; }
.at-reading-link:nth-child(5) { grid-column: 3; grid-row: 2; align-self: center; }
.at-reading-link:nth-child(6) { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: baseline; gap: 38px; padding-block: 13px; border-block-end: 1px solid var(--at-ink); }
.at-reading-link:nth-child(6) span { margin: 0; }

/* Type and the real comparison table are the first beat. No photo overprint. */
.at-home-opening { min-block-size: 100svh; }
.at-opening-copy { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 90px; align-items: end; padding-block: 50px 56px; }
.at-opening-copy h1 { max-inline-size: 16ch; }
.at-reading-note { position: relative; max-inline-size: 34ch; padding: 20px 0 8px 30px; }
.at-reading-note::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0; inline-size: 2px; block-size: 64px; background: var(--at-ink); transform-origin: top; animation: at-open-rule .7s cubic-bezier(.2,.7,.3,1) both; }
.at-reading-note h2 { font-family: "Arimo", Arial, sans-serif; font-size: 1rem; letter-spacing: 0; margin-block-end: 12px; }
.at-reading-note p { margin: 0; font-size: .98rem; }
.at-comparison { margin-block-end: 54px; }
.at-comparison > h2 { font-size: 1.55rem; margin-block-end: 8px; }
.at-status-note { font-size: .9rem; margin-block-end: 20px; }
.at-atlas-table { inline-size: 100%; border-collapse: collapse; table-layout: fixed; font-size: .95rem; line-height: 1.5; }
.at-atlas-table caption { text-align: start; font-size: .85rem; padding-block-end: 22px; }
.at-atlas-table th, .at-atlas-table td { text-align: start; vertical-align: top; }
.at-atlas-table thead th { padding: 15px 18px; border-block: 1px solid var(--at-accent); font-weight: 400; font-size: .9rem; }
.at-atlas-table thead .at-icon { margin-inline-end: .55em; }
.at-atlas-table th:first-child { inline-size: 17%; }
.at-atlas-table th:nth-child(2) { inline-size: 23%; }
.at-atlas-table th:nth-child(3) { inline-size: 26%; }
.at-atlas-table th:nth-child(4) { inline-size: 19%; }
.at-atlas-table th:nth-child(5) { inline-size: 15%; }
.at-atlas-table tbody th, .at-atlas-table td { padding: 27px 18px 29px; background: var(--at-white); border-block-end: 1px solid var(--at-accent); }
.at-atlas-table tbody th { color: var(--at-accent); font-family: "Tenor Sans", Arial, sans-serif; font-size: 1.21rem; line-height: 1.35; font-weight: 400; overflow-wrap: anywhere; }
.at-atlas-table tbody th a { text-decoration: none; }
.at-atlas-table tbody th a:hover { text-decoration: underline; }
.at-atlas-table tbody tr:hover > * { background: #f5f8fc; }
.at-atlas-table tbody tr:focus-within > * { background: #f5f8fc; }
.at-atlas-table tbody tr:nth-child(4) > * { border-block-start: 12px solid var(--at-ground); }
.at-atlas-table td a { text-decoration-color: #a1aabe; }
.at-atlas-table td a:hover { text-decoration-color: var(--at-ink); }
.at-atlas-table dl, .at-atlas-table dd { margin: 0; }
.at-mobile-label { display: none; }
.at-row-separator { display: block; color: var(--at-ink); font-family: "Arimo", Arial, sans-serif; font-size: .73rem; line-height: 1.45; margin-block-start: 14px; }

/* A full, uninterrupted photograph is the second beat; its note stays outside. */
.at-second-beat { padding-block: 38px 76px; }
.at-second-beat h2 { position: relative; max-inline-size: 27ch; margin-block-end: 32px; padding-inline-start: 46px; font-size: 2.5rem; }
.at-second-beat h2::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: -38px; inline-size: 2px; block-size: 84px; background: var(--at-ink); }
.at-home-photo { inline-size: 100%; aspect-ratio: 5 / 3; object-fit: cover; object-position: center; background: var(--at-white); }
.at-photo-afterword { margin: 12px 0 0; font-size: .88rem; }

/* One open white reading field, with medicine headings stepping out of the grid. */
.at-introductions { position: relative; isolation: isolate; padding-block: 52px 82px; margin-block-end: 65px; }
.at-introductions::before { content: ""; position: absolute; z-index: -1; inset: 0 -40px 0; background: var(--at-white); }
.at-introductions > h2 { margin-block-end: 48px; }
.at-entry-run { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px; padding-block-end: 40px; }
.at-entry-run article { position: relative; padding-block-start: 26px; border-block-start: 1px solid var(--at-accent); }
.at-entry-run article::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: -18px; block-size: 18px; border-inline-start: 1px solid var(--at-accent); }
.at-entry-run article:nth-child(2) { margin-block-start: 24px; }
.at-entry-run article:nth-child(3) { margin-block-start: 48px; }
.at-entry-run h3 { color: var(--at-accent); font-size: 1.95rem; }
.at-entry-run h3 a { text-decoration: none; }
.at-entry-run h3 a:hover { text-decoration: underline; }
.at-entry-run p { font-size: 1rem; margin: 0; }

/* Wide photographs interrupt a sustained reading column; small headings hang left. */
.at-inner-title { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 90px; align-items: end; padding-block: 54px 64px; }
.at-inner-title h1 { max-inline-size: 19ch; }
.at-inner-title > p { max-inline-size: 34ch; margin: 0; padding-inline-start: 30px; border-inline-start: 2px solid var(--at-ink); }
.at-content .at-passage, .at-home-tail .at-passage { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0 80px; padding-block: 44px 35px; border-block-start: 1px solid rgb(24 42 71 / 35%); }
.at-passage > h2 { grid-column: 1; grid-row: 1 / span 6; position: sticky; inset-block-start: 30px; align-self: start; font-size: 1.7rem; max-inline-size: 17ch; }
.at-passage > p { grid-column: 2; max-inline-size: 65ch; }
.at-passage:has(.at-band) > h2 { grid-column: 1 / -1; grid-row: auto; position: static; max-inline-size: 29ch; font-size: 2.2rem; margin-block-end: 30px; }
.at-band { grid-column: 1 / -1; margin-block: 0 38px; }
.at-band img { inline-size: 100%; block-size: 340px; object-fit: cover; background: var(--at-white); }
.at-band figcaption { font-size: .87rem; margin-block-start: 12px; }

/* An open column stops at the question. The sand passage has a square step. */
.at-unsettled { position: relative; margin: 32px -40px 68px 0; padding: 65px 90px 55px 360px; background: var(--at-sand); clip-path: polygon(0 26px, 280px 26px, 280px 0, 100% 0, 100% 100%, 0 100%); }
.at-unsettled::before { content: ""; position: absolute; inset-inline-start: 312px; inset-block-start: 0; inline-size: 2px; block-size: 83px; background: var(--at-ink); }
.at-unsettled h2 { max-inline-size: 26ch; font-size: 2.1rem; }
.at-unsettled p { max-inline-size: 65ch; }
.at-unsettled p:last-child { margin-block-end: 0; }
.at-home-tail > .at-unsettled { margin-block-end: 0; }
.at-source-index { padding-block: 25px 52px; }
.at-source-index > h2 { margin-block-end: 30px; }
.at-source-list { list-style: none; margin: 0; padding: 0; }
.at-source-list li { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 25px 28px; border-block-start: 1px solid var(--at-ink); }
.at-source-list li:nth-child(2n+1) { background: rgb(255 255 255 / 70%); }
.at-source-list li:last-child { border-block-end: 1px solid var(--at-ink); }
.at-source-list a { max-inline-size: 40ch; text-decoration-thickness: 1px; }
.at-source-list p { margin: 0; font-size: .95rem; }
.at-footer { margin-block-start: 90px; padding-block: 34px 40px; border-block-start: 2px solid var(--at-ink); }
.at-footer-intro { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; }
.at-footer-intro p { max-inline-size: 53ch; font-family: "Tenor Sans", Arial, sans-serif; font-size: 1.35rem; line-height: 1.35; letter-spacing: -.025em; }
.at-footer nav { display: flex; flex-wrap: wrap; align-content: start; gap: 18px 26px; }
.at-footer nav a { font-size: .92rem; }
.at-footer .at-icon, .at-missing-entry .at-icon { margin-inline: .65em 0; }
.at-copyright { font-size: .84rem; margin: 32px 0 0; }
.at-missing-entry { max-inline-size: 840px; padding-block: 65px 75px; }
.at-missing-entry h1 { margin-block-end: 34px; }

/* Only this rule grows. No text waits for animation or JavaScript. */
@keyframes at-open-rule { from { transform: scaleY(.45); } to { transform: scaleY(1); } }

@media (max-width: 1150px) {
  .at-matrix-layout { column-gap: 26px; }
  .at-name { font-size: 2.1rem; }
  .at-opening-copy, .at-inner-title { gap: 40px; }
  .at-atlas-table thead .at-icon { display: block; margin-block-end: 7px; }
  .at-atlas-table tbody th, .at-atlas-table td, .at-atlas-table thead th { padding-inline: 12px; }
  .at-atlas-table tbody th { font-size: 1.07rem; }
  .at-content .at-passage, .at-home-tail .at-passage { grid-template-columns: 230px minmax(0, 1fr); gap: 0 50px; }
  .at-unsettled { padding-inline: 280px 50px; margin-inline-end: 0; }
  .at-unsettled::before { inset-inline-start: 248px; }
  .at-entry-run { gap: 32px; }
  .at-entry-run h3 { font-size: 1.65rem; }
}

@media (max-width: 700px) {
  :root { font-size: 18px; }
  .at-frame { inline-size: calc(100% - 40px); }
  h1 { font-size: 2.4rem; line-height: 1.08; letter-spacing: -.04em; }
  h2 { font-size: 1.8rem; }
  .at-anchor-matrix { padding-block: 24px 0; }
  .at-matrix-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 0 20px; }
  .at-name { grid-column: 1 / -1; grid-row: 1; justify-content: start; font-size: 2.1rem; letter-spacing: -.06em; padding-block-end: 25px; }
  .at-reading-link:nth-child(n) { grid-column: auto; grid-row: auto; display: block; align-self: stretch; padding-block: 11px 13px; border-block-end: 0; }
  .at-reading-link strong { font-size: .94rem; }
  .at-reading-link span { font-size: .75rem; line-height: 1.4; margin-block-start: 5px; }
  .at-reading-link .at-icon { margin-inline-end: .5em; font-size: .85em; }
  .at-opening-copy { display: block; padding-block: 28px 38px; border-block-start: 1px solid var(--at-ink); }
  .at-opening-copy h1 { max-inline-size: 16ch; }
  .at-reading-note { max-inline-size: none; padding: 0 0 0 24px; margin-block-start: 26px; }
  .at-reading-note::before { block-size: 50px; }
  .at-reading-note h2 { font-size: 1rem; margin-block-end: 9px; }
  .at-reading-note p { font-size: 1rem; }
  .at-comparison { margin-block-end: 36px; }
  .at-comparison > h2 { font-size: 1.55rem; max-inline-size: 20ch; }
  .at-status-note { font-size: .9rem; margin-block-end: 20px; }
  .at-atlas-table, .at-atlas-table tbody { display: block; inline-size: 100%; }
  .at-atlas-table { font-size: 1rem; }
  .at-atlas-table caption { display: block; font-size: .85rem; padding-block-end: 20px; }
  .at-atlas-table thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .at-atlas-table tbody tr { display: block; padding: 23px 18px 26px; background: var(--at-white); border-block-start: 1px solid var(--at-accent); }
  .at-atlas-table tbody tr:last-child { border-block-end: 1px solid var(--at-accent); }
  .at-atlas-table tbody tr:nth-child(4) { margin-block-start: 25px; }
  .at-atlas-table tbody th:nth-child(n), .at-atlas-table td { display: block; inline-size: 100%; padding: 0; border: 0; background: transparent; }
  .at-atlas-table tbody tr:nth-child(4) > * { border-block-start: 0; }
  .at-atlas-table tbody tr:hover > *, .at-atlas-table tbody tr:focus-within > * { background: transparent; }
  .at-atlas-table tbody th { font-size: 1.55rem; margin-block-end: 22px; }
  .at-atlas-table dl { display: grid; grid-template-columns: 91px minmax(0, 1fr); gap: 10px; padding-block-end: 18px; }
  .at-atlas-table td:last-child dl { padding-block-end: 0; }
  .at-mobile-label { display: block; font-size: .85rem; line-height: 1.5; margin-block-start: 2px; }
  .at-atlas-table dd { min-inline-size: 0; }
  .at-row-separator { margin-block-start: 8px; font-size: .8rem; }
  .at-second-beat { padding-block: 20px 48px; }
  .at-second-beat h2 { padding-inline-start: 26px; font-size: 1.9rem; margin-block-end: 25px; }
  .at-second-beat h2::before { inset-block-start: -20px; block-size: 52px; }
  .at-home-photo { block-size: 260px; aspect-ratio: auto; object-position: 56% center; }
  .at-photo-afterword { font-size: .85rem; margin-block-start: 12px; }
  .at-introductions { padding-block: 33px 14px; margin-block-end: 40px; }
  .at-introductions::before { inset-inline: -20px; }
  .at-introductions > h2 { max-inline-size: 17ch; margin-block-end: 35px; }
  .at-entry-run { display: block; padding: 0; }
  .at-entry-run article { padding-block: 22px 32px; }
  .at-entry-run article:nth-child(n) { margin-block-start: 18px; }
  .at-entry-run article:nth-child(2) { margin-inline-start: 14px; }
  .at-entry-run article:nth-child(3) { margin-inline-start: 28px; }
  .at-entry-run h3 { font-size: 1.8rem; }
  .at-inner-title { display: block; padding-block: 28px 38px; border-block-start: 1px solid var(--at-ink); }
  .at-inner-title h1 { max-inline-size: 18ch; }
  .at-inner-title > p { margin-block-start: 26px; padding-inline-start: 24px; max-inline-size: none; }
  .at-content .at-passage, .at-home-tail .at-passage { display: block; padding-block: 30px 18px; }
  .at-passage > h2, .at-passage:has(.at-band) > h2 { position: static; font-size: 1.65rem; max-inline-size: 22ch; }
  .at-band { margin-block: 24px 28px; }
  .at-band img { block-size: 235px; }
  .at-band figcaption { font-size: .85rem; }
  .at-unsettled { margin: 14px 0 38px; padding: 44px 22px 30px 32px; clip-path: polygon(0 15px, 24px 15px, 24px 0, 100% 0, 100% 100%, 0 100%); }
  .at-unsettled::before { inset-inline-start: 15px; block-size: 58px; }
  .at-unsettled h2 { font-size: 1.8rem; }
  .at-source-index { padding-block: 10px 30px; }
  .at-source-list li { display: block; padding: 23px 16px; }
  .at-source-list p { font-size: .94rem; margin-block-start: 10px; }
  .at-footer { margin-block-start: 55px; padding-block: 28px 32px; }
  .at-footer-intro { display: block; }
  .at-footer-intro p { font-size: 1.2rem; }
  .at-footer nav { gap: 18px 25px; padding-block-start: 10px; }
  .at-copyright { margin-block-start: 30px; }
}

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

@media print {
  .at-anchor-matrix, .at-skip, .at-footer nav { display: none; }
  :root { background: white; font-size: 12pt; }
  .at-frame { inline-size: 100%; }
  .at-home-opening { min-block-size: auto; }
  .at-content .at-passage, .at-home-tail .at-passage { display: block; }
  .at-passage > h2 { position: static; }
  .at-unsettled { margin-inline: 0; padding: 24px; break-inside: avoid; clip-path: none; }
  .at-unsettled::before { display: none; }
  a { text-decoration: underline; }
}
