:root {
  --sans: "DM Sans", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Baskerville", "Palatino Linotype", Georgia, "Songti SC", SimSun, serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --gutter: clamp(20px, 4.8vw, 88px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
p, h1, h2, figure, dl, dd { margin: 0; }
fieldset { min-inline-size: 0; border: 0; padding: 0; margin: 0; }
.sr-only, .vis-radio { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bounded { width: min(100%, 1750px); padding-inline: var(--gutter); margin-inline: auto; }
.mast, .edition-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.mast { min-height: 68px; }
.mast a, .edition-foot a { text-decoration: none; }
.mast a:hover, .edition-foot a:hover { text-decoration: underline; }
.mast nav, .edition-foot nav { display: flex; align-items: center; gap: clamp(16px, 2.8vw, 46px); }
.mast nav { font-size: 14px; font-weight: 650; }
.switch-edition { padding: 0; min-height: 44px; font: inherit; border: 0; background: transparent; color: inherit; cursor: pointer; }
.switch-edition:hover { text-decoration: underline; text-underline-offset: .25em; }
.switch-edition:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
#edition-menu { inset: 54px max(var(--gutter), calc((100vw - 1750px) / 2 + var(--gutter))) auto auto; margin: 0; padding: 6px 16px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
#edition-menu:popover-open { display: grid; }
#edition-menu a + a { border-top: 1px solid currentColor; }
.mast nav a, .edition-foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.brand { line-height: 1; font-size: 32px; white-space: nowrap; letter-spacing: -.055em; }
.edition-foot { border-top: 1px solid; min-height: 88px; padding-block: 18px; font-size: 14px; }
.edition-foot > span { font-weight: 700; }
.edition-foot i { padding-inline: .35em; opacity: .55; }
.ink-link { display: inline-flex; align-items: center; gap: 1em; width: fit-content; min-height: 44px; font-weight: 700; text-decoration-thickness: 1px; }
.ink-link span { transition: transform .18s ease-out; }
.ink-link:hover span { transform: translateY(2px); }

/* A field journal with a photograph printed across the facing page. */
.notes { --paper: #f4efdf; --ink: #1c3527; --rust: #91462f; }
.notes .mast { position: relative; }
.notes .mast::after { content: ""; position: absolute; inset: auto var(--gutter) 0; border-bottom: 2px solid; }
.notes .brand { font: bold italic 38px/1 var(--serif); letter-spacing: -.07em; }
.notes .brand span { display: inline-block; margin-left: 3px; font: 12px/1 var(--mono); letter-spacing: .02em; vertical-align: super; }
.notes .mast nav { color: var(--rust); }
.notes-cover { display: grid; grid-template-columns: .82fr 1.3fr; align-items: stretch; gap: clamp(20px, 4vw, 80px); padding-block: clamp(28px, 3.8vw, 68px); }
.notes-intro { align-self: center; }
.folio { display: flex; align-items: center; gap: .8em; font: 600 12px/1.5 var(--mono); letter-spacing: .12em; }
.folio i { flex: 0 0 23px; border-top: 1px solid; }
.notes-display { font: italic clamp(94px, 10.7vw, 186px)/.77 var(--serif); letter-spacing: -.095em; margin: .17em 0 .14em -.055em; }
.notes-display span { color: var(--rust); }
.notes-intro h1 { width: fit-content; border-top: 1px solid; padding-top: .34em; font: 750 clamp(25px, 2.55vw, 49px)/1.25 var(--serif); letter-spacing: .02em; }
.notes .lede { max-width: 24em; margin-top: 12px; line-height: 1.8; }
.notes .ink-link { color: var(--rust); margin-top: 10px; }
.notes-photo { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.notes-photo img { height: 100%; min-height: 300px; max-height: 650px; aspect-ratio: 1.47; object-fit: cover; object-position: 53% center; padding: 4px; border: 1px solid var(--ink); }
.notes-photo figcaption, .trail-map figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 9px; font-size: 13px; }
.notes-photo figcaption em { font: italic 17px/1.2 var(--serif); }
.photo-credit, .trail-map figcaption span { margin-left: auto; color: #586250; }
.kit-band { background: #223c2a; color: var(--paper); }
.kit-inner { display: grid; grid-template-columns: .84fr 1fr .66fr; align-items: center; gap: clamp(20px, 4vw, 60px); padding-block: 30px; }
.kit-metric { font: clamp(76px, 9vw, 146px)/1 var(--serif); letter-spacing: -.09em; white-space: nowrap; }
.kit-metric em { margin-left: .07em; font-size: .43em; letter-spacing: -.07em; }
.kit-inner h2 { font: 700 clamp(22px, 2.1vw, 35px)/1.3 var(--serif); }
.kit-inner p { margin-top: .6em; color: #e1e4cf; font-size: 15px; max-width: 34em; }
.kit-inner figure { border: 1px solid #c8cbb855; }
.kit-inner img { aspect-ratio: 1.9; object-fit: cover; }
.trail-spread { padding-block: clamp(48px, 7vw, 110px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: clamp(35px, 8vw, 148px); }
.trail-map img { aspect-ratio: 1.05; border: 1px solid #6f7c64; padding: 5px; object-fit: cover; }
.trail-text h2 { margin: .38em 0 .45em; font: 700 clamp(34px, 4.2vw, 74px)/1.18 var(--serif); letter-spacing: -.055em; }
.trail-text dl { max-width: 32em; }
.trail-text dt { padding-top: 13px; border-top: 1px solid #64765b77; font-weight: 700; }
.trail-text dd { margin: 4px 0 14px; line-height: 1.8; }

/* Cutaway plates on a drafting grid. */
.atlas { --paper: #f6f5f0; --ink: #111411; --blue: #193fc3; }
.atlas .brand { font-family: "Archivo Black", var(--sans); font-weight: 900; }
.drawing-board {
  background-color: var(--blue); color: #fff;
  background-image: linear-gradient(#ffffff11 1px, transparent 1px), linear-gradient(90deg, #ffffff11 1px, transparent 1px);
  background-size: 28px 28px;
}
.atlas-layout { display: grid; grid-template-columns: .73fr 1.27fr; align-items: center; gap: clamp(18px, 4vw, 80px); padding-block: clamp(30px, 4.3vw, 70px); }
.drawing-label { font: 600 12px/1.5 var(--mono); letter-spacing: .115em; }
.drawing-label span { padding-inline: .5em; }
.atlas-title h1 { font: 800 clamp(38px, 4.3vw, 78px)/1.08 var(--sans); letter-spacing: -.055em; margin: .28em 0 .4em; }
.atlas-title h1 strong { display: block; font: 900 clamp(132px, 16vw, 266px)/.88 "Archivo Black", "Arial Black", var(--sans); letter-spacing: -.09em; margin: 0 0 .05em -.06em; }
.atlas-title > p:last-child { line-height: 1.75; font-size: clamp(16px, 1.35vw, 22px); }
.atlas-viewer { position: relative; }
.drawing-sheet {
  --line: #e6edffb5; --corner: 22px;
  background: linear-gradient(var(--line),var(--line)) left top / var(--corner) 1px,
    linear-gradient(var(--line),var(--line)) left top / 1px var(--corner),
    linear-gradient(var(--line),var(--line)) right top / var(--corner) 1px,
    linear-gradient(var(--line),var(--line)) right top / 1px var(--corner),
    linear-gradient(var(--line),var(--line)) left bottom / var(--corner) 1px,
    linear-gradient(var(--line),var(--line)) left bottom / 1px var(--corner),
    linear-gradient(var(--line),var(--line)) right bottom / var(--corner) 1px,
    linear-gradient(var(--line),var(--line)) right bottom / 1px var(--corner);
  background-repeat: no-repeat;
}
.plate { display: none; position: relative; padding: 0 6% 28px; }
.plate img { width: 100%; height: clamp(270px, 29vw, 480px); object-fit: contain; filter: drop-shadow(0 12px 10px #0b195d55); }
.plate figcaption { display: flex; align-items: center; gap: 15px; margin: 0 4%; font: 15px/1.4 var(--mono); }
.plate figcaption::before, .plate figcaption::after { content: ""; flex: 1; height: 11px; background: linear-gradient(currentColor,currentColor) center / 100% 1px no-repeat; }
.plate figcaption::before { border-left: 1px solid; }
.plate figcaption::after { border-right: 1px solid; }
#unit:checked ~ .drawing-sheet .plate-unit, #layers:checked ~ .drawing-sheet .plate-layers, #back:checked ~ .drawing-sheet .plate-back { display: block; }
.view-choices { display: flex; margin-top: 22px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.view-choices label { flex: 1; min-height: 48px; display: flex; justify-content: center; align-items: center; gap: .7em; cursor: pointer; font-weight: 650; }
.view-choices label + label { border-left: 1px solid var(--ink); }
.view-choices label::before { content: ""; width: 10px; height: 10px; border: 1px solid; }
#unit:checked ~ .view-choices [for="unit"], #layers:checked ~ .view-choices [for="layers"], #back:checked ~ .view-choices [for="back"] { background: #111619; color: white; }
#unit:checked ~ .view-choices [for="unit"]::before, #layers:checked ~ .view-choices [for="layers"]::before, #back:checked ~ .view-choices [for="back"]::before { background: currentColor; }
#unit:focus-visible ~ .view-choices [for="unit"], #layers:focus-visible ~ .view-choices [for="layers"], #back:focus-visible ~ .view-choices [for="back"] { outline: 3px solid #ffbd50; outline-offset: -4px; }
.spec-sheet { display: grid; grid-template-columns: .73fr 1.27fr; gap: clamp(18px, 4vw, 80px); padding-block: clamp(48px, 6vw, 96px); }
.spec-sheet h2, .atlas-detail h2 { font: 800 clamp(36px, 4vw, 70px)/1.12 var(--sans); letter-spacing: -.055em; margin: .2em 0 .4em; }
.spec-sheet header .drawing-label { color: var(--blue); }
.spec-sheet header > p:last-child { color: #535751; }
.spec-sheet dl { border-top: 2px solid; }
.spec-sheet dl div { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid #9c9e98; }
.spec-sheet dt { font-size: 15px; }
.spec-sheet dd { font: 600 clamp(20px, 2.1vw, 36px)/1.1 var(--mono); letter-spacing: -.06em; }
.spec-sheet dd small { font-size: .52em; }
.atlas-detail { background: #141614; color: #f5f4ec; }
.atlas-detail > div { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 6vw, 100px); padding-block: clamp(48px, 5vw, 86px); }
.atlas-detail img { aspect-ratio: 1.6; object-fit: cover; }
.atlas-detail p:not(.drawing-label) { max-width: 29em; color: #c8cac4; }
.atlas-detail .ink-link { margin-top: 12px; }

@media (max-width: 760px) {
  .mast { min-height: 57px; }
  .brand, .notes .brand { font-size: 27px; }
  .mast nav { gap: 12px; font-size: 13px; }
  .edition-foot { align-items: flex-start; flex-direction: column; gap: 2px; }
  .edition-foot nav { flex-wrap: wrap; gap: 0 17px; }
  .notes-cover, .trail-spread, .atlas-layout, .spec-sheet, .atlas-detail > div { grid-template-columns: 1fr; }
  .notes-cover { gap: 20px; padding-top: 25px; }
  .notes-display { font-size: clamp(60px, 15.2vw, 102px); line-height: .96; margin: .08em 0; }
  .notes-display br { display: none; }
  .notes-intro h1 { padding-top: .25em; }
  .notes .lede { margin-top: 8px; max-width: 35em; }
  .notes .ink-link { margin-top: 2px; }
  .notes-photo img { min-height: 0; aspect-ratio: 1.55; }
  .kit-inner { grid-template-columns: .72fr 1.28fr; gap: 18px; padding-block: 26px; }
  .kit-metric { font-size: clamp(51px, 11vw, 80px); }
  .kit-inner figure { grid-column: 1/-1; }
  .kit-inner img { aspect-ratio: 2.4; }
  .trail-spread { gap: 24px; }
  .trail-text { grid-row: 1; }
  .trail-map img { aspect-ratio: 1.65; }
  .atlas-layout { gap: 24px; }
  .atlas-title h1 { display: flex; align-items: baseline; gap: .24em; margin: .14em 0; font-size: clamp(32px, 6.5vw, 48px); }
  .atlas-title h1 strong { font-size: clamp(80px, 17vw, 115px); margin: 0; }
  .atlas-title > p:last-child br { display: none; }
  .plate img { height: clamp(205px, 48vw, 320px); }
  .plate { padding-bottom: 16px; }
  .view-choices { margin-top: 15px; }
  .spec-sheet { gap: 20px; }
  .spec-sheet h2 { margin-bottom: .2em; }

}
@media (max-width: 390px) {
  :root { --gutter: 16px; }
  .notes .mast nav { gap: 8px; }
  .kit-inner h2 { font-size: 19px; }
  .atlas-title .drawing-label { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
