/* History Underfoot: pages around the map. "Finding Aid" direction.
   Set like a reading-room finding aid: a text serif (Literata) for everything read and tapped, a typewriter face
   (Courier Prime) only for record data (timeline dates, the dam-inventory catalog line, counts, drawdown dates,
   source numbers), acid-free paper, archival-box gray-green and record-ink blue, square ruled layouts.
   Ruling vocabulary: gray-green hairlines for structure, a double rule for the head and foot of the page,
   and the ledger's red margin rule only where a ledger or index card would have one.
   Every page shares one left edge: the 1100px frame's, where the brand starts; text columns stop at 760px. */
:root{
  --bg:#f3f1ea; --panel:#fbfaf6; --panel-2:#e8ebe4; --chip:#e4e8e0;
  --ink:#1d211e; --muted:#535a54; --line:#c9cdc3; --rule:#8b958c;
  --link:#2a4775; --link-hover:#1a3157; --btn:#2a4775; --btn-hover:#1f3860; --btn-ink:#fbfaf6;
  --red:#b24f3e; --ok:#36613f; --warn:#93461f; --mid:#6f5a12;
  --select:#d6deea;
  --serif:"Literata",Georgia,"Times New Roman",serif;
  --mono:"Courier Prime","Courier New",Courier,monospace;
  --display:"Libre Caslon Text",Georgia,"Times New Roman",serif;
  --col:760px;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#1a1b17; --panel:#22241f; --panel-2:#2b2e28; --chip:#2f322b;
    --ink:#e6e2d6; --muted:#aba99c; --line:#3c4038; --rule:#6d7468;
    --link:#a9bddb; --link-hover:#c9d6ea; --btn:#b3c4de; --btn-hover:#c9d6ea; --btn-ink:#1a1b17;
    --red:#b86a5c; --ok:#93c29b; --warn:#e3a27a; --mid:#d4bb6e;
    --select:#3a4556;
    color-scheme:dark;
  }
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--serif);font-size:18px;line-height:1.62;font-optical-sizing:auto;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection{background:var(--select)}
a{color:var(--link);text-decoration-thickness:1px;text-underline-offset:.2em}
a:hover{color:var(--link-hover);text-decoration-thickness:2px}
img{max-width:100%;height:auto;display:block}
b,strong{font-weight:650}
/* the header is sticky only where it fits on one row (900px and up); scroll-padding keeps anchor targets and
   keyboard focus clear of it there, and anchors land just below the top everywhere else */
[id]{scroll-margin-top:16px}
@media (min-width:900px){html{scroll-padding-top:84px}}
.skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:var(--bg);padding:10px 14px;z-index:10;font-weight:600}
.skip:focus{left:4px;top:4px}
:focus-visible{outline:2px solid var(--link);outline-offset:3px}

/* ---------- header and footer: the head and foot of a finding aid, closed by double rules ---------- */
header.site{background:var(--bg);border-bottom:3px double var(--rule);position:sticky;top:0;z-index:5}
@media (max-width:899px){header.site{position:static}}
.brand:focus-visible{outline-offset:-2px}
.bar{max-width:1100px;margin:0 auto;padding:0 16px;display:flex;flex-wrap:wrap;align-items:stretch;gap:0 28px}
.brand{align-self:center;padding:14px 0;font-family:var(--serif);font-weight:700;font-size:22px;line-height:1.2;letter-spacing:-.012em;color:var(--ink);text-decoration:none;white-space:nowrap}
.brand:hover{color:var(--ink)}
.brand .place{font-weight:400;letter-spacing:0;color:var(--muted);margin-left:.4em}
.edition{font-family:var(--serif);font-style:normal;font-size:14px;font-weight:600;letter-spacing:0;color:var(--muted);border:1px solid var(--rule);padding:0 6px;margin-left:10px;vertical-align:3px;white-space:nowrap}
/* the nav never scrolls sideways: it wraps when a screen is too narrow, so no link is ever cut off */
header.site nav{display:flex;flex-wrap:wrap;align-items:stretch;gap:0 2px;margin-left:auto;max-width:100%}
header.site nav::-webkit-scrollbar{display:none}
header.site nav a{display:flex;align-items:center;min-height:60px;padding:0 11px;font-size:17px;font-weight:500;color:var(--ink);text-decoration:none;white-space:nowrap}
header.site nav a:hover{color:var(--link);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.3em}
header.site nav a[aria-current="page"]{font-weight:650;color:var(--ink);box-shadow:inset 0 -3px 0 var(--link)}
header.site nav a[aria-current="page"]:hover{text-decoration:none}
/* the focus ring sits inside the tab's box, so neighbours never cover it */
header.site nav a:focus-visible{outline-offset:-2px}
footer.site{border-top:3px double var(--rule);margin-top:80px;background:var(--bg)}
footer.site .bar{display:block;padding:22px 16px 40px;font-size:16px;line-height:1.6;color:var(--muted)}
footer.site p{margin:0 0 10px;max-width:72ch}
/* the footer's link row: each link gets a full-height tap target */
footer.site .footlinks{margin:0 0 6px}
footer.site .footlinks a{display:inline-block;padding:9px 0}
footer .fine{font-size:15px}

/* ---------- page frames: one left edge for every page ---------- */
main.page,main.wide{max-width:1100px;margin:0 auto;padding:28px 16px 8px}
main.page > *{max-width:var(--col)}
main.wide .prose,main.wide .lede{max-width:var(--col)}
.crumbs{font-size:16px;color:var(--muted);margin:-10px 0 4px}
.crumbs a{display:inline-block;padding:10px 0;color:var(--muted)}
.crumbs a:hover{color:var(--link)}
.lede{margin:4px 0 30px}
/* the kicker is the page's running head: set at the right over a hairline, as a printed finding aid carries its series */
.kicker{font-size:16px;font-weight:400;line-height:1.4;color:var(--muted);text-align:right;margin:0 0 22px;padding:0 0 8px;border-bottom:1px solid var(--line)}
/* a lake page's kicker is its catalog line: status, county, inventory number, typed and left-aligned */
.crumbs + .lede > .kicker,.kicker:has(.badge){font-family:var(--mono);font-size:16px;color:var(--ink);text-align:left;text-wrap:balance}
h1{font-family:var(--serif);font-weight:600;font-size:clamp(34px,5.4vw,50px);line-height:1.1;letter-spacing:-.018em;margin:0 0 14px;text-wrap:balance}
h2{font-family:var(--serif);font-weight:650;font-size:clamp(23px,3.2vw,27px);line-height:1.22;letter-spacing:-.008em;margin:60px 0 14px;padding-top:14px;border-top:1px solid var(--rule);text-wrap:balance}
h3{font-family:var(--serif);font-weight:650;font-size:21.5px;line-height:1.28;letter-spacing:-.004em;margin:36px 0 8px}
h2 + h3{margin-top:22px}
.dek{font-size:21px;line-height:1.5;margin:0 0 16px;max-width:60ch;color:var(--ink)}
p{margin:0 0 14px}
.prose p,.prose li{max-width:68ch}
.prose ul,.prose ol,#questions ul,#leads ul{padding-left:1.25em;margin:0 0 16px}
.prose li,#questions li,#leads li{margin:6px 0;padding-left:.2em;max-width:68ch}
.prose li::marker,#questions li::marker,#leads li::marker{color:var(--muted)}
.prose blockquote{margin:20px 0;padding:2px 0 2px 18px;border-left:2px solid var(--rule);color:var(--muted)}
.prose hr{border:0;border-top:1px solid var(--rule);margin:36px 0}
.prose code{font-family:var(--mono);font-size:.94em}
/* on a text page the first paragraph is the abstract, as in a finding aid */
main.page .lede + .prose > p:first-child{font-size:20px;line-height:1.55}
.muted{color:var(--muted)}
.small{font-size:16px}
/* runs of short items (link rows, tallies): spaced like ledger columns, wrapping whole, no separators to dangle */
ul.inline{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-wrap:wrap;column-gap:1.5em;row-gap:0}
ul.inline li{margin:0}
.stats{font-size:16px;color:var(--muted);font-variant-numeric:lining-nums tabular-nums}
.note{font-size:16px;line-height:1.55;color:var(--muted)}
.meta{font-size:16px;color:var(--muted);border-top:1px solid var(--rule);padding-top:14px;margin-top:56px}
.meta p{margin:0}
.meta ul.inline{margin:2px 0 0}
/* standalone links in running text still get a finger-sized hit area (inline padding moves nothing) */
.meta a,footer.site p a{padding:8px 0}
.count{font-family:var(--mono);font-size:18px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:.45em;white-space:nowrap}
/* confidence is an editor's annotation in the margin of the entry, not a badge */
.tag{font-family:var(--serif);font-style:italic;font-size:16px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--muted);white-space:nowrap}

/* status: a legend key (a filled square) and the status in the record's own words */
.badge{display:inline-flex;align-items:baseline;gap:.45em;font-family:var(--mono);font-size:16px;font-weight:700;letter-spacing:0;text-transform:none;color:var(--muted);white-space:nowrap}
.badge::before{content:"";display:inline-block;width:.62em;height:.62em;background:currentColor;flex:none}
.st-exists{color:var(--ok)}
.st-drained,.st-breached,.st-filled{color:var(--warn)}
.st-partly{color:var(--mid)}
.st-unknown{color:var(--muted)}
.st-unknown::before{background:transparent;box-shadow:inset 0 0 0 1.5px currentColor}

/* ---------- buttons: one plain square button; the second choice is a link, not a ghost button ---------- */
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 26px;margin:24px 0 0}
.btn{display:inline-flex;align-items:center;min-height:48px;padding:10px 20px;font-family:var(--serif);font-weight:600;font-size:17px;line-height:1.25;text-decoration:none;background:var(--btn);color:var(--btn-ink);border:1px solid var(--btn);border-radius:0}
.btn:hover{background:var(--btn-hover);border-color:var(--btn-hover);color:var(--btn-ink);text-decoration:none}
.btn.ghost{background:transparent;border-color:transparent;color:var(--link);padding:10px 0;min-height:44px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em}
.btn.ghost:hover{background:transparent;border-color:transparent;color:var(--link-hover);text-decoration-thickness:2px}

/* ---------- photographs: square prints, labelled underneath like a sleeve ---------- */
.pics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px 16px;margin:26px 0 10px}
@media (min-width:561px){.pics:has(> figure:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:389px){.pics{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}}
.pics figure,.duo figure{margin:0;position:relative;min-width:0}
.pics img,.duo img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:0;background:var(--panel-2);outline:1px solid var(--line);outline-offset:-1px}
figcaption{position:static;margin:6px 0 0;font-family:var(--serif);font-size:16px;line-height:1.35;font-weight:400;font-variant-numeric:lining-nums tabular-nums;color:var(--muted);background:none;padding:0;border-radius:0}

/* ---------- facts: a ledger form, label left, value right ---------- */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));column-gap:32px;margin:20px 0 18px;border-top:1px solid var(--rule)}
.facts div{display:flex;justify-content:space-between;align-items:baseline;gap:6px 18px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--line)}
.facts dt{font-size:16px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--muted)}
.facts dd{margin:0;font-size:17px;font-variant-numeric:lining-nums tabular-nums;text-align:right;color:var(--ink)}
.facts.wide{grid-template-columns:1fr}
.facts.wide div{display:grid;grid-template-columns:11em minmax(0,1fr);gap:4px 20px;padding:12px 0}
.facts.wide dd{text-align:left}

/* ---------- the Watermark: an index card, with the card's red rule under its heading ---------- */
.mark{background:var(--panel);border:1px solid var(--line);border-radius:0;padding:20px 26px 10px;margin:34px 0}
.mark h2{margin:0 0 16px;padding:0 0 10px;border-top:0;border-bottom:2px solid var(--red)}
.mtitle{font-family:var(--serif);font-style:normal;font-weight:650;font-size:21px;line-height:1.3;margin:0 0 10px}
/* a reader's note in the margin, ruled in red like the ledger's margin line */
.cool{background:none;border-left:3px double var(--red);border-radius:0;padding:2px 0 2px 20px;margin:26px 0}
.cool .kicker{font-family:var(--serif);font-size:17px;font-weight:650;color:var(--ink);text-align:left;border:0;padding:0;margin:0 0 4px}
.cool p:last-child{margin:0}

/* ---------- timeline: an accession ledger, typed dates left of a red margin rule ---------- */
.tl{list-style:none;padding:0;margin:14px 0 8px;border-top:1px solid var(--rule)}
.tl li{display:grid;grid-template-columns:9em minmax(0,1fr);gap:0 18px;padding:0;border-bottom:1px solid var(--line)}
.tl .when{padding:16px 0 11px;font-family:var(--mono);font-size:16px;font-weight:700;line-height:1.55;font-variant-numeric:tabular-nums}
.tl .what{padding:10px 0 11px 18px;border-left:3px double var(--red)}
@media (max-width:560px){
  .tl li{grid-template-columns:minmax(0,1fr);border-left:3px double var(--red);padding-left:14px}
  .tl .when{padding:10px 0 0}
  .tl .what{padding:2px 0 11px;border-left:0}
}
.names{margin:14px 0;border-top:1px solid var(--rule)}
.names div{margin:0;padding:11px 0;border-bottom:1px solid var(--line)}
.names dt{font-weight:650}
.names dd{margin:2px 0 0}
.lows{padding-left:1.25em;margin:0 0 16px}
.lows li{margin:8px 0;max-width:68ch}
.lows li::marker{color:var(--muted)}
.lows b{font-family:var(--mono);font-weight:700;font-size:.94em}
/* citation numbers: typed, and padded to a 24px-plus tap target without opening up the line spacing */
a.cite{font-family:var(--mono);font-size:15px;font-weight:700;text-decoration:none;vertical-align:super;line-height:0;margin:0;padding:12px 8px}
a.cite:hover{text-decoration:underline}
a.cite+a.cite{margin-left:0}
/* sources: a numbered box list; native list numbers (so screen readers still hear a list), typed and hung in the margin */
.src{list-style:decimal;margin:14px 0;padding:0 0 0 56px;border-top:1px solid var(--rule)}
.src li{position:relative;margin:0;padding:9px 0 9px 8px;overflow-wrap:anywhere;font-size:17px;line-height:1.5}
.src li::marker{font-family:var(--mono);font-weight:700;font-size:16px;color:var(--muted)}
.src li::after{content:"";position:absolute;left:-56px;right:0;bottom:0;border-bottom:1px solid var(--line)}
.src li:target{background:var(--panel-2);box-shadow:-56px 0 0 var(--panel-2),10px 0 0 var(--panel-2)}

/* ---------- Watermarks: a register, one entry per row, not a grid of boxes ---------- */
.cards{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:22px 0 0;border-top:1px solid var(--rule)}
.card{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);grid-template-rows:repeat(4,min-content) 1fr;column-gap:32px;align-items:start;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:24px 0}
.card .duo{grid-column:1;grid-row:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.card > :not(.duo){grid-column:2;max-width:62ch}
.card h3{font-family:var(--serif);font-style:normal;font-weight:650;font-size:22px;line-height:1.25;margin:0 0 6px}
.card h3 a{color:var(--ink);text-decoration:none}
.card h3 a:hover{color:var(--link);text-decoration:underline;text-decoration-thickness:1px}
.card p{margin:0 0 10px;font-size:17px}
.card .stats{font-size:16px;font-variant-numeric:lining-nums tabular-nums;color:var(--muted);margin-bottom:8px}
.card .links{margin:0;padding-top:0;font-weight:600;font-size:17px;color:var(--muted)}
.card .links a{display:inline-block;padding:8px 0}
@media (max-width:760px){
  .card{grid-template-columns:minmax(0,1fr);grid-template-rows:none}
  .card .duo{grid-column:1;grid-row:auto;margin-bottom:14px}
  .card > :not(.duo){grid-column:1}
}

/* ---------- home site ---------- */
.hero{margin:22px 0 12px}
.hero h1{font-size:clamp(40px,7.4vw,66px);line-height:1.04;letter-spacing:-.024em;margin-bottom:18px}
.hero .dek{font-size:22px}
#places{max-width:var(--col)}
/* the place is filed on a catalog card: its title over the card's red rule, the card's notation at the right */
.place-card{background:var(--panel);border:1px solid var(--line);border-radius:0;overflow:hidden;margin:20px 0 10px;max-width:900px}
.place-card .pimg{display:block}
.place-card .pimg img{width:100%;aspect-ratio:3/1;object-fit:cover;background:var(--panel-2);border-bottom:1px solid var(--line)}
.place-card .pbody{padding:18px 26px 16px}
.place-card .kicker{float:right;font-family:var(--serif);font-size:16px;font-weight:400;color:var(--muted);text-align:right;border:0;padding:0;margin:17px 0 0 16px}
.place-card h3{font-family:var(--serif);font-style:normal;font-weight:650;font-size:34px;line-height:1.1;letter-spacing:-.015em;margin:2px 0 14px;padding-bottom:10px;border-bottom:2px solid var(--red)}
.place-card h3 a{color:var(--ink);text-decoration:none}
.place-card h3 a:hover{color:var(--link);text-decoration:underline;text-decoration-thickness:1px}
.place-card p{max-width:68ch}
.place-card .stats{font-size:16px;font-variant-numeric:lining-nums tabular-nums}
.place-card .links{font-weight:600;font-size:17px;margin:0;color:var(--muted)}
.place-card .links a{display:inline-block;padding:8px 0}
@media (max-width:560px){.place-card .pbody{padding:16px 16px 12px}}

/* ---------- lake index: a contents list with leaders, then a two-column index ---------- */
.jump{display:grid;grid-template-columns:minmax(0,1fr);max-width:620px;margin:26px 0 12px;border-top:1px solid var(--rule)}
.jump a{display:flex;justify-content:space-between;align-items:baseline;gap:16px;min-height:46px;padding:11px 0 9px;font-size:17px;font-weight:500;color:var(--link);text-decoration:none;border-bottom:1px dotted var(--rule)}
.jump a:hover{text-decoration:underline;text-decoration-thickness:1px}
.jump .count{font-size:16px;color:var(--ink);margin-left:0}
.lakelist{list-style:none;padding:0;margin:18px 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));column-gap:44px;border-top:1px solid var(--rule)}
@media (max-width:420px){.lakelist{grid-template-columns:minmax(0,1fr)}}
.lakelist li{border-bottom:1px solid var(--line);min-width:0}
.lakelist a{display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-rows:auto 1fr;gap:0 16px;background:none;border:0;border-radius:0;padding:12px 0;text-decoration:none;color:var(--ink);height:100%}
.lakelist img,.lakelist .noimg{grid-row:1 / span 2;width:72px;height:72px;border-radius:0;object-fit:cover;background:var(--panel-2);outline:1px solid var(--line);outline-offset:-1px}
.lakelist .nm{font-weight:650;font-size:18px;line-height:1.3;color:var(--link);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:color-mix(in srgb,var(--link) 35%,transparent);text-underline-offset:.2em}
.lakelist .sub{align-self:start;font-size:15.5px;color:var(--muted);line-height:1.4;margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lakelist a:hover .nm{text-decoration-color:currentColor;text-decoration-thickness:2px}

/* ---------- phone ---------- */
@media (max-width:560px){
  .ed-w{display:none}
  body{font-size:17px;line-height:1.6}
  .dek,.hero .dek{font-size:19px}
  main.page .lede + .prose > p:first-child{font-size:19px}
  .bar{gap:0}
  .brand{font-size:21px;padding:12px 0 2px}
  /* the nav takes the full row, reaching 6px into each gutter so the links' own padding lines up with the text */
  header.site nav{flex:0 0 calc(100% + 12px);max-width:none;margin:0 -6px;justify-content:space-between;gap:0}
  header.site nav a{min-height:44px;padding:0 6px;font-size:16px}
  main.page,main.wide{padding-top:20px}
  h2{margin-top:48px}
  h3{font-size:18.5px;margin-top:30px}
  .mark{padding:16px 16px 6px;margin-left:-4px;margin-right:-4px}
  .facts.wide div{grid-template-columns:minmax(0,1fr);gap:2px}
  .actions{gap:6px 22px}
}
/* smaller phones (iPhone SE and mini at 375, many Androids at 360): a size smaller, still one row */
@media (max-width:389px){
  header.site nav{flex-basis:calc(100% + 8px);margin:0 -4px}
  header.site nav a{padding:0 4px;font-size:15px}
}
/* narrowest screens: the links wrap onto a second row rather than being cut off */
@media (max-width:359px){
  header.site nav{justify-content:flex-start;column-gap:10px}
}
/* dark mode dims photos as the map dims its imagery, and the pale hillshade, refill and depth plates a step further */
@media (prefers-color-scheme: dark){
  .pics img,.duo img,.lakelist img,.place-card .pimg img{filter:brightness(.82) contrast(1.05)}
  img[src$="/refill.webp"],img[src$="/lidar.webp"],img[src$="/depth.webp"]{filter:brightness(.7) contrast(1.05)}
}
@media (prefers-reduced-motion: reduce){*{scroll-behavior:auto}}

/* ---------- Mix 2: the current site's italic Caslon for the brand, page titles and entry titles ---------- */
.brand{font-family:var(--display);font-style:italic;font-weight:400;font-size:25px;letter-spacing:-.005em}
.brand .place{font-family:var(--serif);font-style:normal;font-size:.8em}
h1{font-family:var(--display);font-style:italic;font-weight:400;letter-spacing:-.012em}
.mtitle,.card h3,.place-card h3{font-family:var(--display);font-style:italic;font-weight:400;letter-spacing:-.005em}
@media (max-width:560px){.brand{font-size:22px}}
/* inside the Watermark card the label steps back so the entry title leads */
.mark h2{font-size:19px;letter-spacing:0}
.mtitle{font-size:24px}
/* entry titles on Watermarks get a finger-sized hit area without moving the layout */
.card h3 a{padding:7px 0}
/* bold run-in phrases in the prose lists become quieter italic run-ins, as a printed guide sets them */
.prose li > strong:first-child{font-weight:inherit;font-style:italic}
/* the lake's catalog line: status, county and inventory number as record fields, never a dangling separator */
.kicker ul.inline{margin:0;column-gap:1.2em}
/* a contents line for the long lake pages, built from their own section headings */
.contents{margin:22px 0 4px;padding:10px 0 12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:16px}
.contents ul.inline{margin:0;column-gap:1.3em;row-gap:2px}
.contents a{display:inline-block;padding:8px 0}
