:root { color-scheme: dark; }
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 3.5rem 1.25rem 4rem;
  background: #14120f;
  color: #e6e0d4;
  font: 16px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
main { max-width: 34rem; margin: 0 auto; }
.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8d8577;
}
/* clamp() because the widest heading this page ever prints is "Sighting 999999999", and at
   360px - a small phone held in one hand, on a gravel road - 1.7rem of monospace is wider
   than the 320px of usable width and pushes the page sideways. */
h1 { margin: 0 0 0.35rem; font-size: clamp(1.35rem, 6vw, 1.7rem); font-weight: 600; letter-spacing: 0.01em; }
.lede { margin: 0 0 2.5rem; color: #b7ae9e; }
h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8d8577;
  font-weight: 600;
}
ul, ol { margin: 0; padding-left: 1.15rem; }
/* A product title is a string someone typed into a shop's admin panel and a slug is a
   machine word: either can be one long unbreakable token, and one long unbreakable token
   is the only thing that gives a 360px phone a horizontal scrollbar. */
li { margin: 0.2rem 0; overflow-wrap: anywhere; }
.slug { color: #8d8577; }
.trail li { color: #b7ae9e; }
footer { margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid #2b2721; }
footer p { margin: 0.25rem 0; }
.small { color: #8d8577; font-size: 0.85rem; }
/* Underlined, not just coloured. Every link on these pages is the only link on its page,
   so colour was the entire affordance, and colour on its own is not one. */
a { color: #e6e0d4; text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: #8d8577; }
a:hover, a:focus-visible { text-decoration-color: #e6e0d4; }
/* Drawn rather than left to the user agent, so it cannot be lost to a later reset and so
   it is the same ring on the sighting page, the 404 and the error page. */
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid #d9a939; outline-offset: 3px; border-radius: 2px; }
/* The one form any page has: the unsubscribe confirmation's single button. Big enough to
   hit with a thumb, and drawn as a button rather than a link, because it does something. */
form { margin: 0 0 2rem; }
button {
  font: inherit;
  padding: 0.7rem 1.4rem;
  min-height: 2.75rem;
  background: #e6e0d4;
  color: #14120f;
  border: 1px solid #e6e0d4;
  border-radius: 3px;
  cursor: pointer;
}
/* Screen-reader-only text, for the one place a bare status code is not a heading a person
   could say out loud. A class, never a style attribute: rule 1 above is no inline style. */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* The card (src/lib/cards): drawn plates in the page's own ink, a field note, then whatever has been stamped on it. Every colour
   is a class here; the SVG carries presentation attributes only, so the CSP never needs 'unsafe-inline'. */
.card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 2.25rem;
  padding: 1rem 1rem 0.9rem;
  border: 1px solid #2b2721;
  border-radius: 3px;
}
.plate { margin: 0; min-width: 0; }
.plate svg { display: block; width: 100%; height: auto; color: #e6e0d4; }
.plate-sky svg { max-width: 12rem; }
figcaption { margin-top: 0.45rem; font-size: 0.78rem; line-height: 1.5; color: #8d8577; }
.track .contour { fill: none; stroke: #3a352d; stroke-width: 0.8; }
.track .litter { fill: none; stroke: #4a443a; stroke-width: 0.9; stroke-linecap: round; }
.prints { fill: none; stroke: currentColor; stroke-width: 0.5; }
.prints .hatch { stroke-width: 0.32; }
.prints .second { opacity: 0.45; }
.sky .stars { fill: currentColor; }
.sky .figure { fill: none; stroke: #4a443a; stroke-width: 0.6; stroke-dasharray: 1.5 2.5; }
.sky .hatch { fill: none; stroke: #6f6759; stroke-width: 0.5; }
.sky .moonlit { fill: currentColor; }
.sky .disc { fill: #14120f; }
.sky .limb, .sky .ridge, .sky .trees { fill: none; stroke: #8d8577; stroke-width: 0.8; }
.field-note { margin: 0; padding: 0 0 0 0.9rem; border-left: 2px solid #3a352d; align-self: center; }
.field-note p { margin: 0; color: #b7ae9e; font-style: italic; }
.stamps { margin: -1rem 0 2.25rem; }
.stamps > * { margin: 1rem 0 0; }
.clue { padding-top: 0.8rem; border-top: 1px dashed #3a352d; color: #b7ae9e; font-size: 0.9rem; }
.moved strong { font-weight: 600; color: #d9a939; }
.when { color: #8d8577; }
.found { display: flex; gap: 1rem; align-items: center; }
.found img { width: 2.6rem; height: auto; flex: none; }
.found figcaption { margin: 0; }
.founder img { display: block; width: 6.5rem; height: auto; margin: -1rem 0 0.75rem; }
.stirred { color: #b7ae9e; }
/* Keep and follow (src/lib/keep-pages.js): a quiet part above the footer. Every control is hidden until /assets/keep.js has
   checked the browser can do it, so a page with scripts off shows only the letter form. */
.keep { margin: 2.5rem 0 0; }
.keep-lead { margin: 0 0 1.1rem; color: #b7ae9e; }
.keep-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0 0 1.4rem; }
.keep-actions .small, .keep-actions .keep-status { flex: 1 1 100%; margin: 0; }
.keep-status:empty { display: none; }
[hidden] { display: none !important; }
button.quiet { background: transparent; color: #e6e0d4; border-color: #4a443a; }
button.quiet:hover { border-color: #8d8577; }
.keep-mail { margin: 0 0 1.25rem; padding: 1rem 0 0; border-top: 1px dashed #3a352d; }
.keep-mail label { display: block; margin: 0 0 0.5rem; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: #8d8577; }
.keep-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.keep-row input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: #e6e0d4;
  background: #1c1915;
  border: 1px solid #4a443a;
  border-radius: 3px;
}
.keep-row input[type="email"]:focus-visible { outline: 2px solid #d9a939; outline-offset: 2px; }
.keep-mail .small { margin: 0.6rem 0 0; }
.kept-list li { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; }
.kept-list button.quiet { padding: 0.35rem 0.8rem; min-height: 2.25rem; font-size: 0.85rem; }
@media (min-width: 34rem) {
  .card { grid-template-columns: 11rem 1fr; column-gap: 1.25rem; }
  .plate-track { grid-column: 1 / -1; }
}
@media (prefers-color-scheme: light) {
  .card { border-color: #ded7c9; }
  .plate svg { color: #221f1a; }
  .track .contour { stroke: #ded7c9; }
  .track .litter { stroke: #cfc6b4; }
  .sky .figure { stroke: #b9b09f; }
  .sky .hatch { stroke: #9a917f; }
  .sky .limb, .sky .ridge, .sky .trees { stroke: #6f6759; }
  .sky .moonlit { fill: #f6f3ec; }
  .sky .disc { fill: #f6f3ec; }
  .field-note { border-left-color: #ded7c9; }
  .field-note p, .clue, .stirred { color: #4a443a; }
  .clue { border-top-color: #ded7c9; }
  .moved strong { color: #7f5d06; }
  .when, figcaption { color: #6f6759; }
  .keep-lead { color: #4a443a; }
  button.quiet { background: transparent; color: #221f1a; border-color: #b9b09f; }
  .keep-mail { border-top-color: #ded7c9; }
  .keep-mail label { color: #6f6759; }
  .keep-row input[type="email"] { color: #221f1a; background: #fffdf8; border-color: #b9b09f; }
  .keep-row input[type="email"]:focus-visible { outline-color: #9c7208; }
}
@media (prefers-color-scheme: light) {
  /* color-scheme goes back to light with everything else. Left on dark, the page renders
     light while the scrollbar and any control still render dark, which reads as a bug. */
  :root { color-scheme: light; }
  body { background: #f6f3ec; color: #221f1a; }
  .lede, .trail li { color: #4a443a; }
  .eyebrow, h2, .slug, .small { color: #6f6759; }
  footer { border-top-color: #ded7c9; }
  a { color: #221f1a; text-decoration-color: #6f6759; }
  a:hover, a:focus-visible { text-decoration-color: #221f1a; }
  a:focus-visible, summary:focus-visible, button:focus-visible { outline-color: #9c7208; }
  button { background: #221f1a; color: #f6f3ec; border-color: #221f1a; }
}
