/* site.css — the one stylesheet for the shell.
   Rule R2 (2026-09-06): the shell lives HERE and nowhere else, so there is no
   second place a palette, a font or a nav style can come from. Pages may still
   carry rules for their own interior; they must not restyle the shell.

   Dark mode is deliberately absent. Three pages of twenty-one supported it,
   which is the proof it was never sustained. One livery, maintained. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #f7f7f5;
  --panel: #ffffff;
  --line: rgba(0,0,0,0.08);
  --line-lt: rgba(0,0,0,0.04);
  --text: #2a2a2a;
  --text-lt: #6a6a6a;
  --ink: #1a1a1a;
  --accent: #b44444;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --measure: 760px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- the bar ------------------------------------------------------------ */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,247,245,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
nav .brand, nav a.brand {
  font-size: 0.85rem; font-weight: 300; letter-spacing: 0.12em;
  color: var(--ink); text-decoration: none;
}
.nav-links { display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap; }
.nav-links a {
  font-size: 0.74rem; letter-spacing: 0.1em;
  color: var(--text); text-decoration: none; padding: 0.3rem 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--ink); }
.nav-links a.cta {
  padding: 0.55rem 1rem; background: var(--ink); color: var(--bg);
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  margin-left: 0.4rem; border: none;
}
.nav-links a.cta:hover { background: var(--text); color: var(--bg); }
@media (max-width: 720px) {
  nav { padding: 0.8rem 1.1rem; }
  .nav-links { gap: 0.8rem; }
}

/* ---- the page ----------------------------------------------------------- */
main { max-width: var(--measure); margin: 0 auto; padding: 0 2rem; }
h1 { color: var(--ink); font-weight: 200; font-size: clamp(1.8rem, 4vw, 2.4rem);
     line-height: 1.15; letter-spacing: -0.01em; }
h2 { color: var(--ink); font-weight: 200; letter-spacing: -0.01em; }
h3 { color: var(--ink); font-weight: 400; }
.eyebrow { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
           color: var(--text-lt); margin-bottom: 1.2rem; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); }
a:hover { text-decoration-color: var(--ink); }

/* ---- the foot ----------------------------------------------------------- */
footer {
  max-width: var(--measure); margin: 0 auto; padding: 2.5rem 2rem 3rem;
  border-top: 1px solid var(--line-lt);
  font-size: 0.78rem; color: var(--text-lt); line-height: 2;
}
footer .foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-bottom: 1.2rem; }
footer a { color: var(--text-lt); text-decoration: underline; text-decoration-color: var(--line); }
footer a:hover { color: var(--ink); text-decoration-color: var(--ink); }
footer .foot-legal { font-size: 0.74rem; opacity: 0.85; }

/* A page note is content, not navigation — attribution, a licence, an address. */
.pagenote { max-width: var(--measure); margin: 0 auto; padding: 1.6rem 2rem;
            font-size: 0.82rem; color: var(--text-lt); line-height: 1.7; }
