/* Quiet Epoch. Spectral for reading and plate lettering, Sofia Sans Condensed for map labels and figures. */
@font-face { font-family: "Spectral"; src: url("fonts/spectral-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/spectral-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/spectral-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/spectral-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Sofia Sans Condensed"; src: url("fonts/sofia-sans-condensed.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --paper: #ecebe4;
  --paper-deep: #e2e0d6;
  --ink: #1e2326;
  --ink-2: #454b4f;
  --ink-3: #5f6669;
  --rule: #c5c6bd;
  --red: #b8372a;
  --ochre: #cfa24f;
  --serif: "Spectral", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --label: "Sofia Sans Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(18px, 4.4vw, 64px);
  --wide: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .23 0 0 0 0 .24 0 0 0 -1.1 .62'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  font-family: var(--serif);
  font-size: 19.5px;
  line-height: 1.6;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(207, 162, 79, .42); }
p, li, figcaption, blockquote { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(30, 35, 38, .38); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--red); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.sc { font-variant-caps: all-small-caps; letter-spacing: .07em; font-variant-numeric: oldstyle-nums; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 5; padding: 8px 12px; background: var(--ink); color: var(--paper); font: 500 14px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 12px; }

/* Masthead */
/* The masthead is set like the title of a survey sheet: centred over the plate it introduces. */
.masthead {
  max-width: calc(var(--wide) + 2 * var(--pad));
  margin: 0 auto;
  padding: 18px var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "note nav" "title title" "lede lede";
  align-items: baseline;
  column-gap: 32px;
}
.note { grid-area: note; margin: 0; max-width: 26em; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.topnav { grid-area: nav; display: flex; justify-content: flex-end; gap: clamp(16px, 2.4vw, 34px); font: 500 13px/1 var(--label); letter-spacing: .13em; text-transform: uppercase; }
.topnav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.topnav a:hover { border-bottom-color: var(--ink); }
h1 { grid-area: title; justify-self: center; margin: 10px 0 0; font-weight: 300; font-size: clamp(54px, 7.4vw, 106px); line-height: .9; letter-spacing: -.018em; text-align: center; }
.lede { grid-area: lede; justify-self: center; margin: 16px 0 0; max-width: 39em; font-size: clamp(19px, 1.55vw, 22px); line-height: 1.36; text-align: center; }

/* Plate I */
main { display: block; max-width: calc(var(--wide) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.plate { position: relative; margin: 30px 0 0; padding: 16px 24px 20px; border: 1.25px solid var(--ink); }
.plate::before { content: ""; position: absolute; inset: 4px; border: .75px solid rgba(30, 35, 38, .5); pointer-events: none; }
.plate::after {
  content: ""; position: absolute; inset: -22px; pointer-events: none;
  --reg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%235f6669' stroke-width='.7'%3E%3Ccircle cx='8' cy='8' r='4.2'/%3E%3Cpath d='M8 0v16M0 8h16'/%3E%3C/g%3E%3C/svg%3E");
  background: var(--reg) left top / 15px no-repeat, var(--reg) right top / 15px no-repeat, var(--reg) left bottom / 15px no-repeat, var(--reg) right bottom / 15px no-repeat;
}
.plate-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 2px 2px 11px; margin-bottom: 14px; border-bottom: .75px solid var(--rule); }
.plate-no { font-size: 19px; font-variant-caps: all-small-caps; letter-spacing: .16em; white-space: nowrap; }
.plate-title { font-style: italic; font-size: 17.5px; text-align: center; }
.plate-range { font: 500 12px/1.2 var(--label); letter-spacing: .11em; text-transform: uppercase; color: var(--ink-2); text-align: right; }

.plate-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(290px, 26vw, 368px);
  grid-template-areas: "sect core" "scale core" "readout core";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(26px, 3vw, 46px);
}
.sect { grid-area: sect; position: relative; aspect-ratio: 1.68; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.sect:focus { outline: none; }
.sect:focus-visible { outline: 1.5px dashed var(--ink-2); outline-offset: 5px; }
.sect canvas, .sect img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.js .sect { cursor: crosshair; }

.scale { grid-area: scale; padding-top: 12px; }
.scale-row { display: flex; align-items: flex-start; gap: 16px; }
.replay { flex: none; margin-top: 2px; padding: 6px 10px 5px; font: 500 12px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: transparent; border: 1px solid var(--ink); cursor: pointer; }
.replay:hover { background: var(--ink); color: var(--paper); }
.scale-track { position: relative; flex: 1; height: 38px; }
.scale-bar { position: absolute; left: 0; right: 0; top: 9px; height: 7px; display: flex; border: .75px solid var(--ink); }
.scale-bar span { height: 100%; }
.scale-bar .on { background: var(--ink); }
.scale-bar .fault { background: var(--red); }
.scale-bar .compact { background: repeating-linear-gradient(135deg, var(--ink) 0 .8px, transparent .8px 3px); }
.scale-bar .corepart { background: var(--ochre); }
.scale-ticks { position: absolute; left: 0; right: 0; top: 20px; height: 16px; font: 500 11px/1 var(--label); letter-spacing: .04em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.scale-ticks span { position: absolute; top: 2px; transform: translateX(-50%); white-space: nowrap; }
.scale-ticks .word { text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.scale input[type="range"] { -webkit-appearance: none; appearance: none; position: absolute; left: -7px; right: -7px; top: -4px; width: calc(100% + 14px); height: 28px; margin: 0; background: transparent; cursor: ew-resize; touch-action: none; }
.scale input[type="range"]:focus { outline: none; }
.scale input[type="range"]:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.scale input[type="range"]::-webkit-slider-runnable-track { height: 28px; background: transparent; border: 0; }
.scale input[type="range"]::-moz-range-track { height: 28px; background: transparent; border: 0; }
.scale input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 28px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 28'%3E%3Cpath d='M1.5 1.5h11L7 9.5z' fill='%231e2326'/%3E%3Cpath d='M7 9v17' stroke='%231e2326' stroke-width='1.2'/%3E%3C/svg%3E") center / 14px 28px no-repeat; }
.scale input[type="range"]::-moz-range-thumb { width: 14px; height: 28px; border: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 28'%3E%3Cpath d='M1.5 1.5h11L7 9.5z' fill='%231e2326'/%3E%3Cpath d='M7 9v17' stroke='%231e2326' stroke-width='1.2'/%3E%3C/svg%3E") center / 14px 28px no-repeat; }

.readout { grid-area: readout; margin: 6px 0 0; min-height: 4.4em; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.readout .ro-meta { font: 600 12px/1.4 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.readout .ro-words { font-style: italic; color: var(--ink); }
.readout .ro-note { color: var(--ink-2); }
.readout .ro-note.is-flag { color: var(--red); }

.core { grid-area: core; min-width: 0; }
.core-head { padding: 0 0 12px; border-bottom: .75px solid var(--rule); }
.fig-no { margin: 0 0 3px; font: 500 12px/1.2 var(--label); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); }
.fig-title { margin: 0; font-style: italic; font-size: 16.5px; line-height: 1.36; }
.switch { display: inline-flex; margin-top: 13px; border: 1px solid var(--ink); }
.switch button { padding: 9px 12px 8px; font: 500 12.5px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
.switch button + button { border-left: 1px solid var(--ink); }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); cursor: default; }
.switch button[aria-pressed="false"]:hover { background: rgba(30, 35, 38, .08); }

.log { list-style: none; margin: 0; padding: 0; }
.row { position: relative; display: grid; grid-template-columns: 13px minmax(0, 1fr); column-gap: 15px; padding: 13px 0 14px; border-bottom: .75px solid var(--rule); }
.seg {
  width: 13px; border: .75px solid var(--ink); border-radius: 6.5px / 3px;
  background-color: var(--tint, #e0cda2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='24'%3E%3Cpath d='M2 3h.01M7 2h.01M11 5h.01M4 8h.01M9 10h.01M2 13h.01M6 15h.01M11 14h.01M3 19h.01M8 20h.01M11 22h.01M5 23h.01' stroke='%231e2326' stroke-width='1.1' stroke-linecap='round' opacity='.6'/%3E%3Cpath d='M0 17.5c4-.7 8 .7 13 0' stroke='%231e2326' stroke-width='.5' fill='none' opacity='.55'/%3E%3C/svg%3E");
}
.seg.is-replaced { background-image: repeating-linear-gradient(135deg, rgba(69, 75, 79, .75) 0 .8px, transparent .8px 4px); }
.seg.is-pebbles { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='20'%3E%3Cg fill='%23cdb98f' stroke='%231e2326' stroke-width='.6'%3E%3Cellipse cx='4' cy='4' rx='3' ry='2.2'/%3E%3Cellipse cx='9.5' cy='9' rx='2.6' ry='2'/%3E%3Cellipse cx='4' cy='13.5' rx='2.4' ry='1.8'/%3E%3Cellipse cx='9' cy='17.5' rx='3' ry='2'/%3E%3C/g%3E%3C/svg%3E"); }
.seg.is-empty { background: transparent; border-style: dotted; }
.row-meta { margin: 0 0 4px; font: 500 12px/1.35 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-variant-numeric: lining-nums tabular-nums; }
.row-n { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 5px; border: .75px solid var(--ink); border-radius: 50%; font-size: 10.5px; letter-spacing: 0; color: var(--ink); vertical-align: 1px; }
.row-who { margin-left: .5em; color: var(--ink-3); }
.row-words { margin: 0; font-size: 17px; line-height: 1.38; hanging-punctuation: first; }
.row-words.is-none { font-style: italic; color: var(--ink-3); }
.row-status { margin: 6px 0 0; font: 500 12px/1.35 var(--label); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.row-status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; vertical-align: 1px; border: .75px solid currentColor; }
.row-status.is-current::before { background: currentColor; }
.row-status.is-replaced { color: var(--ink-3); }
.row-status.is-replaced::before { background: repeating-linear-gradient(135deg, currentColor 0 .8px, transparent .8px 2.6px); }
.row-status.is-flag { color: var(--red); }
.row-status.is-flag::before { width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; border: 0; }
.row.is-lit { background: linear-gradient(90deg, rgba(207, 162, 79, .16), rgba(207, 162, 79, 0)); }
/* With scripts, each row waits for its piece of the core: an empty slot until the piece lands. */
.js .log .row::before { content: ""; position: absolute; left: 0; top: 13px; bottom: 14px; width: 13px; box-sizing: border-box; border: .75px dashed rgba(30, 35, 38, .45); border-radius: 6.5px / 3px; }
.js .log .row .seg { opacity: 0; transform-origin: 0 0; position: relative; z-index: 3; }
.js .log .row.is-landed .row-words { animation: landed 1.1s ease-out 1; }
@keyframes landed { from { background-color: rgba(207, 162, 79, .32); } to { background-color: rgba(207, 162, 79, 0); } }
.js .log:not([hidden]) { animation: logIn .45s ease-out 1; }
@keyframes logIn { from { opacity: .15; } to { opacity: 1; } }
.seg.t-slate { --tint: #a3acae; } .seg.t-ochre { --tint: #dab775; } .seg.t-sienna { --tint: #d3a27a; } .seg.t-glauc { --tint: #9dae9f; }
.seg.t-buff { --tint: #dfcca2; } .seg.t-chalk { --tint: #e2d6bd; }

.plate-foot { margin-top: 16px; padding-top: 14px; border-top: .75px solid var(--rule); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(196px, 100%), 1fr)); gap: 9px 24px; font: 500 12.5px/1.2 var(--label); letter-spacing: .05em; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend svg { flex: none; width: 34px; height: 18px; box-shadow: 0 0 0 .75px rgba(30, 35, 38, .55); }
.plate-caption { margin: 14px 0 0; max-width: 62em; font-size: 15.5px; line-height: 1.52; color: var(--ink-2); }

/* Text sections */
section { padding-top: clamp(84px, 11vw, 150px); }
h2 { margin: 0; font-weight: 300; font-size: clamp(36px, 4.5vw, 62px); line-height: 1.02; letter-spacing: -.01em; }
h3 { margin: 0 0 .5em; font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -.003em; }
.prose p, .part-text p, .how-intro p, .notes-intro p, .entry-body p { margin: 0 0 1em; max-width: 34em; }

.morning { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(28px, 4vw, 64px); }
.morning h2 { padding-top: .08em; }
.morning .last { margin-top: 1.4em; font-size: 1.32em; line-height: 1.3; }

.how-intro, .notes-intro { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(28px, 4vw, 64px); align-items: start; }
.how-intro p, .notes-intro p { font-size: 21px; line-height: 1.5; padding-top: .55em; }
.part { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.6vw, 40px); align-items: start; margin-top: clamp(70px, 9vw, 120px); }
.part-text { padding-top: 6px; }
.part-record .part-text { padding-top: 64px; }
.part-fig { margin: 0; display: flex; flex-direction: column; }
.part-fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.part-fig svg.strip { height: 214px; overflow: hidden; border-top: .75px solid var(--rule); border-bottom: .75px solid var(--rule); }
.part-fig figcaption { order: 1; margin-top: 14px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); max-width: 40em; }
.fig-key { order: 2; list-style: none; counter-reset: fk; margin: 12px 0 0; padding: 0; max-width: 40em; font-size: 15.5px; line-height: 1.45; }
.fig-key li { counter-increment: fk; position: relative; padding: 0 0 7px 30px; }
.fig-key li::before { content: counter(fk); position: absolute; left: 0; top: 1px; width: 19px; height: 19px; display: grid; place-items: center; border: .9px solid var(--ink); border-radius: 50%; font: 600 11.5px/1 var(--label); }
.fig-key li.is-flag::before { color: var(--red); border-color: var(--red); }
.fk-meta { display: block; font: 600 12px/1.5 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.part-authority .fig-key { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; max-width: none; }
.part-authority figcaption { max-width: 56em; }
.part-record .part-text { grid-column: 1 / span 5; }
.part-record .part-fig { grid-column: 7 / span 6; }
.part-authority .part-text { grid-column: 5 / span 7; }
.part-authority .part-fig { grid-column: 1 / -1; grid-row: 2; margin-top: 34px; }
.part-current .part-fig { grid-column: 1 / span 7; grid-row: 1; }
.part-current .part-text { grid-column: 9 / span 4; grid-row: 1; }
.part-core .part-text { grid-column: 2 / span 4; }
.part-core .part-fig { grid-column: 7 / span 5; }

.notes .entry { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(28px, 4vw, 64px); margin-top: clamp(48px, 6vw, 72px); padding-top: 20px; border-top: .75px solid var(--rule); }
.entry-date { margin: 0; font: 500 13px/1.6 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.entry-body h3 { margin-bottom: .45em; }
.figures { width: 100%; max-width: 34em; margin: 1.1em 0 1.3em; border-collapse: collapse; font-family: var(--label); font-variant-numeric: lining-nums tabular-nums; }
.figures th, .figures td { padding: 9px 0 8px; border-bottom: .75px solid var(--rule); text-align: right; font-weight: 500; }
.figures thead th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1.1px solid var(--ink); }
.figures tbody th { text-align: left; font-weight: 400; font-family: var(--serif); font-size: 17px; padding-right: 18px; }
.figures td { width: 5.5em; font-size: 20px; }
.chart { --c-without: #c4913a; --c-with: #8f4c1a; margin: 1.3em 0 1.6em; max-width: 36em; }
.chart-cap { margin: 0 0 10px; font: 600 12.5px/1.45 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.chart-key { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 6px; font: 500 13px/1.3 var(--label); letter-spacing: .03em; color: var(--ink-2); }
.ck::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 7px; vertical-align: -1px; border-radius: 50%; }
.ck-without::before { box-sizing: border-box; border: 2px solid var(--c-without); background: var(--paper); }
.ck-with::before { background: var(--c-with); }
.dumb-row, .gain-row { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: stretch; height: 50px; }
.dumb-name, .gain-name { align-self: center; font: 500 14.5px/1 var(--label); letter-spacing: .03em; }
.dumb-track, .gain-track { position: relative; background-image: linear-gradient(to right, var(--rule) 1px, transparent 1px); background-size: 25% 100%; box-shadow: inset -1px 0 0 var(--rule); }
.gain-track { background-size: 16.6667% 100%; }
.dumb-link, .stem { position: absolute; top: 50%; height: 2px; margin-top: -1px; background: var(--ink-3); }
.mk { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--paper); }
.mk-without { box-sizing: border-box; border: 2.2px solid var(--c-without); background: var(--paper); }
.mk-with { background: var(--c-with); }
.mk-mean { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 0; background: none; box-shadow: none; }
.mk-mean::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: rotate(45deg) scale(.92); box-shadow: 0 0 0 2px var(--paper); }
.val { position: absolute; left: 50%; bottom: 100%; margin-bottom: 5px; transform: translateX(-50%); font: 600 14px/1 var(--label); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; color: var(--ink); }
.val-r { left: 100%; bottom: auto; top: 50%; margin: 0 0 0 9px; transform: translateY(-50%); }
.val-l { left: auto; right: 100%; bottom: auto; top: 50%; margin: 0 9px 0 0; transform: translateY(-50%); }
.gain-row.is-mean .gain-name { font-weight: 700; }
.gain-head { height: 26px; }
.gain-head .gain-track { background: none; box-shadow: none; }
.gain-bar-label { position: absolute; bottom: 5px; transform: translateX(-50%); font: 600 12px/1 var(--label); letter-spacing: .05em; white-space: nowrap; color: var(--ink); }
.gain-row:not(.gain-head) .gain-track::after { content: ""; position: absolute; top: 0; bottom: 0; left: 66.667%; width: 1.5px; margin-left: -.75px; background: var(--ink); }
.gain-row:not(.gain-head) .gain-track::before { content: ""; position: absolute; top: 0; bottom: 0; left: 16.667%; width: 1px; background: var(--ink-3); }
.axis { position: relative; height: 22px; margin-left: 62px; border-top: 1px solid var(--ink-3); }
.axis span { position: absolute; top: 5px; transform: translateX(-50%); font: 500 12px/1 var(--label); font-variant-numeric: lining-nums tabular-nums; color: var(--ink-2); }
.axis span:first-child { transform: none; }
.x0 { left: 0%; } .x9 { left: 9%; } .x14 { left: 14%; } .x15 { left: 15%; } .x16 { left: 16.667%; } .x25 { left: 25%; } .x33 { left: 33.333%; }
.x50 { left: 50%; } .x52 { left: 52%; } .x57 { left: 57%; } .x66 { left: 66.667%; } .x75 { left: 75%; } .x83 { left: 83.333%; } .x89 { left: 89%; } .x100 { left: 100%; }
.w43 { width: 43%; } .w72 { width: 72.333%; } .w2 { width: 1.667%; } .w35 { width: 35.333%; }
.axis span:last-child { transform: translateX(-100%); }

.partners { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(28px, 4vw, 64px); }
.partners .write { margin-top: 1.6em; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; }
.partners .write a { text-decoration-thickness: 1.2px; text-underline-offset: .18em; }

.foot { max-width: calc(var(--wide) + 2 * var(--pad)); margin: clamp(90px, 11vw, 150px) auto 0; padding: 22px var(--pad) 44px; }
.foot-name { margin: 0; padding-top: 18px; border-top: .75px solid var(--ink-3); font-size: 17px; line-height: 1.5; max-width: 46em; }
.foot-meta { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 12px 0 0; font: 500 12.5px/1.4 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* Narrower screens */
@media (max-width: 1060px) {
  .plate-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sect" "scale" "readout" "core"; }
  .core { margin-top: 18px; }
  .readout { min-height: 3.2em; }
}
@media (max-width: 879px) {
  .masthead { grid-template-columns: minmax(0, 1fr); grid-template-areas: "nav" "title" "lede" "note"; }
  .topnav { justify-content: center; }
  h1 { margin-top: 22px; }
  .lede { max-width: 31em; }
  .note { justify-self: center; text-align: center; margin-top: 12px; max-width: 34em; }
  .morning, .how-intro, .notes-intro, .partners, .notes .entry { grid-template-columns: minmax(0, 1fr); }
  .morning h2, .partners h2 { margin-bottom: .6em; }
  .how-intro p, .notes-intro p { padding-top: .7em; }
  .part { grid-template-columns: minmax(0, 1fr); }
  .part .part-text, .part .part-fig { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .part .part-fig { margin-top: 26px; }
  .notes .entry-date { margin-bottom: .6em; }
  .plate-head { flex-wrap: wrap; row-gap: 2px; }
  .plate-title { order: 3; flex-basis: 100%; text-align: left; }
  .part-authority .fig-key { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  body { font-size: 18px; line-height: 1.58; }
  h1, .lede, .note { justify-self: start; text-align: left; }
  .topnav { justify-content: flex-start; }
  .topnav { gap: 18px; font-size: 12px; letter-spacing: .1em; }
  .plate { margin-top: 26px; padding: 10px 10px 14px; }
  .plate::after { display: none; }
  .plate::before { inset: 3px; }
  .plate-head { flex-wrap: wrap; row-gap: 2px; padding-bottom: 9px; margin-bottom: 10px; }
  .plate-title { text-align: left; font-size: 16px; order: 3; flex-basis: 100%; }
  .plate-range { font-size: 11px; }
  .sect { aspect-ratio: .86; }
  .scale-row { gap: 10px; }
  .scale-ticks { font-size: 10px; }
  .readout { font-size: 15px; min-height: 5.8em; }
  .switch { display: flex; }
  .switch button { flex: 1; padding: 11px 8px 10px; }
  .row-words { font-size: 16.5px; }
  .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; font-size: 12px; }
  .legend li { gap: 7px; }
  .legend svg { width: 28px; height: 15px; }
  .plate-caption { font-size: 15px; }
  .how-intro p, .notes-intro p { font-size: 19px; }
  h3 { font-size: 21px; }
  .figures tbody th { font-size: 16px; }
  .figures td { width: 4.2em; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Not-found page */
.nf { margin: clamp(30px, 4vw, 52px) 0 0; text-align: center; font: 500 14px/1.4 var(--label); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 599px) { .nf { text-align: left; } }
