/* Self-critique stamp (pre-emit): hierarchy yes (one H1 per page, leg numeral > leg title > rows); rhythm yes (ruled rows, dashed course line, no card grid); contrast checked on tokens (ink on paper above 12:1, magenta on paper above 6:1); tap targets 44px+; no horizontal scroll at 320/375; roman headings; no stock imagery; no re-drawn browser chrome. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.65; font-optical-sizing: auto; overflow-wrap: break-word; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-style: normal; font-weight: 700; line-height: 1.14; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 var(--space-4); }
a { color: var(--mag); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-thickness .12s; }
a:hover { text-decoration-thickness: 3px; color: var(--mag-2); }
:focus-visible { outline: 3px dashed var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--paper); border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: var(--space-3) var(--space-4); z-index: 99; }
.skip:focus { left: var(--space-3); top: var(--space-3); }

/* Small caps-style mono tag line */
.tag { display: flex; flex-wrap: wrap; gap: var(--space-1) 0; margin: 0 0 var(--space-4); padding: 0; font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.tag span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 .7em; border: 1.5px solid var(--mag); border-radius: 50%; vertical-align: .1em; }

/* Top bar: wordmark, you-are-here gauge, chart index */
.bar { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 2px solid var(--ink); }
.bar__in { max-width: 78rem; margin: 0 auto; padding: var(--space-2) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand btn" "gauge gauge"; gap: var(--space-1) var(--space-3); align-items: center; }
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink); text-decoration: none; min-height: 44px; }
.brand svg { width: 2rem; height: 2rem; flex: none; }
.brand__t { white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.m-ring { fill: var(--paper); stroke: var(--ink); stroke-width: 2.4; }
.m-needle { fill: var(--ink); }
.m-north { fill: var(--mag); }
.m-pivot { fill: var(--paper); }
.gauge { grid-area: gauge; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-3); font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); padding-bottom: var(--space-1); }
.gauge__k { color: var(--mag); }
.gauge__v { color: var(--ink); font-weight: 500; }
.gauge__n { margin-left: auto; }
.chartbtn { grid-area: btn; }
.chartbtn__s { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4) 0 var(--space-3); background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .05em; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.chartbtn__s::-webkit-details-marker { display: none; }
.chartbtn__s:focus-visible { outline: 3px dashed var(--paper); outline-offset: -6px; box-shadow: none; }
.chartbtn__i svg { width: 1.7rem; height: 1.7rem; }
.c-ring { fill: none; stroke: var(--paper); stroke-width: 1.6; }
.c-tick { stroke: var(--paper); stroke-width: 1.4; }
.c-star { fill: var(--sea); }
.chartbtn[open] .chartbtn__s { background: var(--mag); }
.sheet { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 3px solid var(--ink); box-shadow: 0 18px 30px -18px color-mix(in oklch, var(--ink) 45%, transparent); max-height: calc(100vh - var(--bar-h) - 2rem); overflow-y: auto; }
.sheet__grid { max-width: 78rem; margin: 0 auto; padding: var(--space-5) var(--gutter) var(--space-6); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--space-5) var(--space-6); }
.sheet__leg h2 { font-size: var(--text-md); display: flex; align-items: center; gap: var(--space-2); padding-bottom: var(--space-2); margin-bottom: var(--space-2); border-bottom: 2px dashed var(--line); }
.sheet__leg h2 span { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; }
.sheet__leg ul { list-style: none; margin: 0; padding: 0; }
.sheet__leg li a { display: block; padding: .45rem 0; font-size: var(--text-sm); line-height: 1.3; color: var(--ink); text-decoration: none; border-bottom: 1px dotted var(--hair); }
.sheet__leg li a:hover { color: var(--mag); }
.sheet__leg li a[aria-current="page"] { color: var(--mag); font-weight: 700; }
@media (min-width: 48rem) {
  .bar__in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand gauge btn"; gap: var(--space-5); padding-block: var(--space-2); }
  .gauge { justify-content: center; padding: 0; font-size: var(--text-sm); }
  .gauge__n { margin-left: 0; }
}

/* Hero */
.hero { background-color: var(--paper); background-image: linear-gradient(var(--paper-2) 1px, transparent 1px), linear-gradient(90deg, var(--paper-2) 1px, transparent 1px); background-size: 56px 56px; border-bottom: 2px solid var(--ink); }
.hero__in { max-width: 78rem; margin: 0 auto; padding: var(--space-7) var(--gutter) var(--space-7); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.hero h1 { font-size: var(--text-3xl); font-weight: 800; letter-spacing: -.015em; max-width: 17ch; margin-bottom: var(--space-4); }
.hero__dek { font-size: var(--text-lg); max-width: 38rem; color: var(--ink-2); }
.hero__go { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.hero__fig { max-width: 22rem; width: 100%; justify-self: center; }
.cr-disc { fill: var(--land); }
.cr-ring { fill: none; stroke: var(--ink); stroke-width: 3; }
.cr-ring--thin { stroke-width: 1; }
.cr-tick { stroke: var(--ink); stroke-width: 1; }
.cr-tick--long { stroke-width: 2.4; }
.cr-major { fill: var(--ink); }
.cr-major-hi { fill: var(--paper); opacity: .85; }
.cr-north { fill: var(--mag); }
.cr-minor { fill: var(--ink-2); }
.cr-hub { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.cr-pin { fill: var(--mag); }
.cr-bearing { fill: none; stroke: var(--mag); stroke-width: 2.4; stroke-dasharray: 7 6; stroke-linecap: round; }
.cr-n { font-family: var(--font-display); font-weight: 800; font-size: 20px; fill: var(--ink); paint-order: stroke; stroke: var(--land); stroke-width: 4px; }
@media (min-width: 56rem) {
  .hero__in { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); align-items: center; padding-block: var(--space-8); }
  .hero__fig { justify-self: end; }
}
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-5); background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer))); transition: background .15s; }
.btn:hover { background: var(--mag); color: var(--paper); }
.btn:focus-visible { outline: 3px dashed var(--paper); outline-offset: -7px; box-shadow: none; }
.btn--ghost { background: var(--land-2); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ghost:focus-visible { outline-color: var(--ink); }

/* The passage plan: five legs on a drawn course line */
.plan__in { max-width: 78rem; margin: 0 auto; padding: var(--space-7) var(--gutter) var(--space-6); }
.plan__intro { font-size: var(--text-lg); max-width: 44rem; margin: 0 0 var(--space-6) 2.25rem; color: var(--ink-2); }
.legs { list-style: none; margin: 0; padding: 0; position: relative; }
.legs::before { content: ""; position: absolute; left: 0.8rem; top: 0.4rem; bottom: 0.4rem; border-left: 3px dashed var(--line); }
.leg { position: relative; padding: 0 0 var(--space-7) 2.25rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.leg::before { content: ""; position: absolute; left: 0; top: .25rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); box-shadow: inset 0 0 0 4px var(--mag); }
.leg:last-child { padding-bottom: var(--space-4); }
.leg__n { display: flex; align-items: baseline; gap: var(--space-3); margin: 0 0 var(--space-1); font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--mag); }
.leg__n span { font-family: var(--font-mono); font-weight: 500; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.leg__title h2 { font-size: var(--text-2xl); font-weight: 800; }
.leg__sum { margin: var(--space-2) 0 var(--space-4); color: var(--ink-2); }
.leg__fig { border: 2px solid var(--ink); background: var(--paper-2); max-width: 22rem; }
.vig { width: 100%; height: auto; }
.il-sea { fill: var(--paper-2); }
.il-ink { fill: var(--ink); }
.il-land { fill: var(--land-2); stroke: var(--ink); stroke-width: 2; }
.il-mag { fill: var(--mag); }
.il-paper { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.il-wave { fill: none; stroke: var(--line); stroke-width: 1.6; stroke-linecap: round; }
.il-hatch { stroke: var(--paper); stroke-width: 1.4; opacity: .7; }
.il-ray { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.il-dash { fill: none; stroke: var(--mag); stroke-width: 2.4; stroke-dasharray: 6 5; stroke-linecap: round; }
.il-beam { fill: var(--land); opacity: .9; }
.il-mast { stroke: var(--ink); stroke-width: 2.4; }
.il-spoke { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.il-ring-bold { fill: none; stroke: var(--ink); stroke-width: 7; }
.il-ring-thin { fill: none; stroke: var(--ink); stroke-width: 2; }
.leg__lead { max-width: 40rem; margin: 0 0 var(--space-4); color: var(--ink-2); }
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: none; }
.row { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: var(--space-1) var(--space-3); padding: var(--space-3) var(--space-2); text-decoration: none; color: var(--ink); border-bottom: 1px dotted var(--line); transition: background .12s; }
.row:hover { background: var(--land); color: var(--ink); }
.row:hover b { color: var(--mag); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.row__n { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--mag); padding-top: .35rem; }
.row__t { display: flex; flex-direction: column; min-width: 0; }
.row__t b { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; line-height: 1.25; }
.row__t small { font-size: var(--text-sm); color: var(--ink-2); line-height: 1.45; margin-top: .15rem; }
.row__k { grid-column: 2; font-family: var(--font-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
@media (min-width: 56rem) {
  .leg { grid-template-columns: minmax(0, .8fr) minmax(0, 1.55fr); gap: var(--space-7); padding-left: 3.5rem; }
  .legs::before { left: 1.15rem; }
  .leg::before { left: .35rem; }
  .plan__intro { margin-left: 3.5rem; }
  .leg__title { position: sticky; top: 6.25rem; align-self: start; }
  .row { grid-template-columns: 2.4rem minmax(0, 1fr) auto; align-items: baseline; }
  .row__k { grid-column: 3; }
}
.end { background: var(--land); border-top: 2px solid var(--ink); }
.end__in { max-width: 78rem; margin: 0 auto; padding: var(--space-7) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.end__note h2 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
@media (min-width: 56rem) { .end__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-7); } }

/* Help panel */
.helpbox { border: 2px solid var(--ink); background: var(--paper); padding: var(--space-4) var(--space-5); margin: var(--space-6) 0; clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%); }
.helpbox h2 { font-family: var(--font-mono); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; color: var(--mag); margin-bottom: var(--space-2); }
.helpbox p { margin: 0; font-size: var(--text-sm); line-height: 1.6; }
.end__help .helpbox { margin: 0; background: var(--paper); }

/* Article */
.art__head { background: var(--land); border-bottom: 2px solid var(--ink); position: relative; }
.art__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 22px); }
.art__wrap { max-width: 54rem; margin: 0 auto; padding-inline: var(--gutter); }
.art__head .art__wrap { padding-block: var(--space-6) var(--space-6); }
.art__head h1 { font-size: var(--text-3xl); font-weight: 800; letter-spacing: -.012em; max-width: 20ch; }
.art__dek { margin: var(--space-4) 0 var(--space-3); font-size: var(--text-lg); color: var(--ink-2); max-width: 40rem; }
.art__meta { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); margin: 0; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-2); }
.art > .art__wrap { padding-top: var(--space-7); padding-bottom: var(--space-7); }
.route { margin: 0 0 var(--space-6); padding: var(--space-3) 0 var(--space-4); border-top: 2px solid var(--ink); border-bottom: 1px dotted var(--line); }
.route__k { margin: 0 0 var(--space-2); font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--mag); }
.route ol { list-style: none; counter-reset: wp; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); }
.route li { counter-increment: wp; }
.route a { display: inline-flex; align-items: baseline; gap: var(--space-2); min-height: 32px; font-size: var(--text-sm); color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.route a::before { content: counter(wp, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--text-xs); color: var(--mag); }
.route a:hover { border-bottom-color: var(--mag); }

.prose { counter-reset: sec; font-size: var(--text-lg); line-height: 1.72; }
.prose > * { max-width: 40rem; }
.prose h2 { counter-increment: sec; position: relative; font-size: var(--text-2xl); margin: var(--space-7) 0 var(--space-4); padding-top: var(--space-4); border-top: 2px dashed var(--line); }
.prose h2::before { content: counter(sec, decimal-leading-zero); display: block; font-family: var(--font-mono); font-weight: 500; font-size: var(--text-xs); letter-spacing: .1em; color: var(--mag); margin-bottom: var(--space-2); }
.prose h3 { font-size: var(--text-xl); margin: var(--space-5) 0 var(--space-3); }
.prose > p:first-child:not(.answer) { font-size: 1.28rem; line-height: 1.6; }
.prose ul, .prose ol { padding: 0; margin: 0 0 var(--space-4); list-style: none; }
.prose li { position: relative; padding-left: 1.7rem; margin-bottom: var(--space-2); }
.prose ul > li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: .6rem; height: .6rem; border: 2px solid var(--mag); border-radius: 50%; }
.prose ol { counter-reset: it; }
.prose ol > li { counter-increment: it; }
.prose ol > li::before { content: counter(it) "."; position: absolute; left: 0; top: .1em; font-family: var(--font-mono); font-size: .9em; color: var(--mag); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: var(--space-5) 0; padding: var(--space-2) 0 var(--space-2) var(--space-5); border-left: 6px double var(--mag); color: var(--ink-2); }
.prose blockquote p { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.4; }
.answer { position: relative; margin: 0 0 var(--space-6); padding: var(--space-5) var(--space-5) var(--space-4); background: var(--land); border-left: 8px solid var(--mag); font-size: 1.28rem; line-height: 1.55; clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%); }
.answer::before { content: "Short answer"; display: block; margin-bottom: var(--space-2); font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--mag-2); }
.prose table.data { width: 100%; max-width: 100%; border-collapse: collapse; margin: var(--space-5) 0; font-size: var(--text-sm); line-height: 1.45; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.data caption { text-align: left; font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding: var(--space-2) 0; caption-side: top; }
.data th { text-align: left; font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--mag-2); border-bottom: 2px solid var(--ink); padding: var(--space-2) var(--space-3) var(--space-2) 0; }
.data td { padding: var(--space-2) var(--space-3) var(--space-2) 0; border-bottom: 1px dotted var(--line); vertical-align: top; overflow-wrap: anywhere; }
.prose abbr { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }

.sources { margin: var(--space-7) 0 0; padding: var(--space-5); background: var(--land); border-top: 3px double var(--ink); font-size: var(--text-sm); line-height: 1.55; }
.sources h2 { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; color: var(--mag-2); margin-bottom: var(--space-3); }
.sources ul { list-style: none; counter-reset: ref; margin: 0; padding: 0; }
.sources li { counter-increment: ref; position: relative; padding-left: 2.2rem; margin-bottom: var(--space-3); }
.sources li::before { content: "[" counter(ref) "]"; position: absolute; left: 0; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--mag-2); top: .15em; }
.sources a { overflow-wrap: anywhere; }

/* Previous / next: a ticket pair that makes the library one route */
.seq { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); margin-top: var(--space-6); }
.seq__a { display: block; padding: var(--space-4) var(--space-5); background: var(--ink); color: var(--paper); text-decoration: none; clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer))); transition: background .15s; }
.seq__a small { display: block; font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--sea); margin-bottom: var(--space-1); }
.seq__a b { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; }
.seq__a:hover { background: var(--mag); color: var(--paper); }
.seq__a:hover small { color: var(--paper); }
.seq__a:focus-visible { outline: 3px dashed var(--paper); outline-offset: -8px; box-shadow: none; }
.seq__a--next { text-align: right; }
.seq__end { display: block; padding: var(--space-4) var(--space-5); border: 2px dashed var(--line); font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
@media (min-width: 40rem) { .seq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Footer: a course line with five stops */
.foot { background: var(--deep); color: var(--on-deep); margin-top: 0; }
.foot__in { max-width: 78rem; margin: 0 auto; padding: var(--space-7) var(--gutter) var(--space-6); }
.foot a { color: var(--on-deep); }
.foot a:hover { color: var(--sea); }
.foot :focus-visible { outline-color: var(--sea); box-shadow: 0 0 0 6px var(--deep); }
.course { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.course li { position: relative; padding-left: 2.2rem; min-height: 3rem; display: flex; align-items: center; }
.course li::after { content: ""; position: absolute; left: .7rem; top: 50%; height: 100%; border-left: 2px dashed var(--on-deep-2); }
.course li:last-child::after { display: none; }
.course a { text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); display: inline-flex; gap: var(--space-2); align-items: baseline; padding: var(--space-1) 0; }
.course a b { font-family: var(--font-mono); font-weight: 500; font-size: var(--text-xs); color: var(--sea); }
.course i { position: absolute; left: 0; top: 50%; width: 1.5rem; height: 1.5rem; margin-top: -.75rem; border-radius: 50%; border: 3px solid var(--on-deep); background: var(--deep); z-index: 1; box-shadow: inset 0 0 0 3px var(--sea); }
@media (min-width: 48rem) {
  .course { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .course li { padding: 2.4rem 0 0; flex-direction: column; align-items: flex-start; min-height: 0; }
  .course li::after { left: 1.5rem; top: .75rem; width: 100%; height: 0; border-left: 0; border-top: 2px dashed var(--on-deep-2); }
  .course i { left: 0; top: 0; margin-top: 0; }
}
.foot__notice { max-width: 46rem; font-size: var(--text-md); margin: 0 0 var(--space-4); }
.foot__links { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-family: var(--font-mono); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .05em; }
.foot__links a { display: inline-block; padding: .6rem 0; }
.foot__fine { max-width: 52rem; margin: 0; font-size: var(--text-sm); line-height: 1.6; color: var(--on-deep-2); border-top: 1px dotted var(--on-deep-2); padding-top: var(--space-4); }

/* 404 and contact form */
.lost__in { max-width: 40rem; margin: 0 auto; padding: var(--space-8) var(--gutter); }
.lost h1 { font-size: var(--text-3xl); margin-bottom: var(--space-4); }
.mailform { margin: var(--space-5) 0; padding: var(--space-5); background: var(--land); border-top: 3px solid var(--ink); max-width: 40rem; }
.mailform label { display: block; margin: 0 0 var(--space-1); font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.mailform input, .mailform textarea { width: 100%; margin: 0 0 var(--space-4); padding: .7rem .8rem; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 0; }
.mailform textarea { min-height: 9rem; resize: vertical; }
.mailform button { cursor: pointer; border: 0; font-family: var(--font-mono); }
