/* Triplebit website. Started from the Larvatus website's src/assets/site.css (../ChatGPT/maskedemail-website), whose
   look it shares. The blocks marked SHARED are copied from it, verbatim apart from color values, which here all come
   from the tokens below; keep them in step with Larvatus by hand, as there is no shared package. The blocks marked
   TRIPLEBIT are this site's own. */

/* SHARED (token names). Every color on the site is one of these, so a palette is one block per theme.
   Palette A, "Black", from the MkDocs site: a black band, red links, cyan as a sparing accent. */
:root {
  color-scheme: light dark;
  --page: #fafafa; --surface: #ffffff; --subtle: #ececec; --text: #111111; --muted: #555555;
  --line: #e2e2e2; --accent: #cc0000; --accent-hover: #dd0000; --ink: #cc0000;
  /* Triplebit's tokens for what Larvatus sets by hand: the band (its text, the middle bar of the nav mark, a rule under
     it for a band as light as the page, its focus ring and current-link underline, and the border of its menus), text on the accent, the light
     button on the band (the Donate button), the outline button's hover (a tint of the red), the filled button's shadow (red-tinted on the light page, plain
     dark on the dark one), the focus ring and list markers (cyan where it has
     contrast), highlighted text, the footer (black in the light theme and white in the dark one: its background, rule,
     text, small print and links, group labels, focus ring, and the footer mark, which is the opposite of the footer), the surface behind pictures made for a white page (white in the
     dark theme), and the network map (land dots and the three kinds of pin). The theme-color meta tags in base.njk
     repeat --band. */
  --band: #000000; --band-text: #ffffff; --band-mark: #ffffff; --band-line: transparent; --band-focus: #00ffff; --band-panel-line: #3a3a3a; --on-accent: #ffffff;
  --light-bg: #ffffff; --light-text: #cc0000; --light-hover: #ffe8e8; --light-shadow: none;
  --outline-hover: #ffe8e8; --accent-shadow: 0 8px 22px rgb(204 0 0 / .26); --accent-shadow-hover: 0 12px 28px rgb(204 0 0 / .34);
  --focus: #008b8b; --marker: #008b8b; --highlight: #fff3a3;
  --footer-bg: #000000; --footer-line: transparent; --footer-text: #ffffff; --footer-muted: #b5b5b8; --footer-faint: #8e8e93;
  --footer-focus: #00ffff;
  --logo-back: #ffffff; --logo-front: #000000; --picture-surface: transparent;
  --map-land: #ecc3c3; --pin-core: #cc0000; --pin-edge: #00838f; --pin-soon: #8a8a8a;
  --wrap: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #131313; --surface: #1f1f21; --subtle: #2a2a2d; --text: #f4f4f4; --muted: #b5b5b8;
    --line: #2c2c30; --ink: #ff6b6b;
    --outline-hover: #3a1517; --accent-shadow: 0 8px 22px rgb(0 0 0 / .55); --accent-shadow-hover: 0 12px 28px rgb(0 0 0 / .7);
    --focus: #00ffff; --marker: #00ffff; --highlight: #5c4d00;
    --footer-bg: #ffffff; --footer-text: #111111; --footer-muted: #4d4d52; --footer-faint: #6b6b70; --footer-focus: #007a80;
    --logo-back: #000000; --logo-front: #ffffff; --picture-surface: #ffffff;
    --map-land: #6a4349; --pin-core: #ff4d4d; --pin-edge: #00e5ff; --pin-soon: #8f8f8f;
  }
}

/* SHARED. Montserrat, served from here. The build copies the Latin subset of each weight and style in use from
   @fontsource/montserrat into assets/fonts/ (see eleventy.config.js); every character on the site is in that subset. */
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/montserrat-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/montserrat-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/montserrat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/montserrat-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/montserrat-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: italic; font-weight: 900; font-display: swap;
  src: url(fonts/montserrat-latin-900-italic.woff2) format("woff2"); }

/* SHARED. Base elements. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--text); font: 17px/1.55 Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -.012em; line-height: 1.25; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* SHARED. Buttons. Larvatus's .ghost variant is left out. */
.button { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; background: var(--accent); color: var(--on-accent);
  font-weight: 600; text-decoration: none; transition: background .15s, transform .15s; }
.button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.button.light { background: var(--light-bg); color: var(--light-text); box-shadow: var(--light-shadow); }
.button.light:hover { background: var(--light-hover); }
/* TRIPLEBIT. The quieter button beside a filled one, for MkDocs's plain .md-button. */
.button.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.button.outline:hover { background: var(--outline-hover); }
/* TRIPLEBIT. Larvatus's filled buttons sit flat on its pages and its hero's light button has a shadow; here the filled
   button has a soft shadow of its own (a token per theme), which deepens as it lifts on hover, and the hover color is
   a slightly brighter red rather than a darker one. The light and outline buttons keep their own (no) shadow. The lift
   stays still for readers who ask for less motion. */
.button:not(.light):not(.outline) { box-shadow: var(--accent-shadow); transition: background .15s, transform .15s, box-shadow .15s; }
.button:not(.light):not(.outline):hover { box-shadow: var(--accent-shadow-hover); }
@media (prefers-reduced-motion: reduce) { .button, .button:hover { transform: none; transition: none; } }

/* SHARED. The band: navigation and the page title. Larvatus's gradient and watermark are left out. */
.band { position: relative; overflow: hidden; color: var(--band-text); background: var(--band); }
/* TRIPLEBIT. A rule under the band, drawn inside it so it takes no space; transparent unless a palette needs it. */
.band { box-shadow: inset 0 -1px var(--band-line); }
.band a { color: inherit; }
.band :focus-visible { outline-color: var(--band-focus); }
.nav { position: relative; display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.lockup { display: flex; align-items: center; gap: 11px; margin-right: auto; font-size: 1.35rem; font-weight: 700; letter-spacing: -.012em; text-decoration: none; }
.lockup svg { width: 36px; height: 36px; }
.nav a:not(.lockup):not(.button) { font-size: .95rem; font-weight: 500; text-decoration: none; opacity: .92; }
.nav a:not(.lockup):not(.button):hover { opacity: 1; text-decoration: underline; }
.nav .button { padding: 9px 16px; border-radius: 10px; font-size: .95rem; }
.nav a { white-space: nowrap; }
@media (max-width: 860px) { .nav .hide { display: none; } }

/* TRIPLEBIT. The nav lockup is set like the footer's (see the comment there), with the mark at 36px. The mark has no
   backing square on the dark band, so its viewBox is cut to the bars' width (10 to 54 of 64) and the bars start at the
   edge of the page's column; heights and the vertical arithmetic are unchanged. */
.nav .lockup { --mark: 36px; align-items: baseline; font-size: calc(var(--mark) * 22 / 64 / .7); font-weight: 900; font-style: italic;
  letter-spacing: 0; line-height: 1; text-transform: uppercase; }
.nav .lockup svg { display: inline-block; width: calc(var(--mark) * 44 / 64); height: var(--mark); vertical-align: calc(var(--mark) * -21 / 64); }
.tb-band { fill: var(--band-mark); }
/* The section a page belongs to, marked quietly in the header. */
.nav a[aria-current]:not(.lockup):not(.button) { opacity: 1; text-decoration: underline; text-decoration-color: var(--band-focus);
  text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* TRIPLEBIT. Larvatus's navbar shows its links on wide screens and simply hides them below 860px. This one, by the
   owner's choice (2026-11-24), also shows each section's pages: on wide screens in a panel under the section's link,
   opened by hover or keyboard focus (no script), and on phones in a menu behind a button left of Donate, built on
   <details>. The shared .nav rules above are unchanged, so this block could be ported to Larvatus as it is. The band
   lets the panels hang below it. */
.band { overflow: visible; }
.nav .drop { position: relative; }
.nav .drop > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 2px 3px 7px; border: solid currentColor;
  border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
/* The panel starts right under the link; its top padding bridges the gap so it stays open while the pointer moves
   down to it. */
.nav .drop .panel { display: none; position: absolute; z-index: 10; top: 100%; left: -16px; padding-top: 12px; }
.nav .drop:hover .panel, .nav .drop:focus-within .panel { display: block; }
.nav .drop.end .panel { left: auto; right: -16px; }
.nav .panel .box { min-width: 210px; padding: 8px 0; border: 1px solid var(--band-panel-line); border-radius: 10px; background: var(--band); }
.nav .panel ul { margin: 0; padding: 0; list-style: none; }
.nav .panel a { display: block; padding: 7px 16px; }
/* A group's label: plain text, smaller and fainter than the links, with a little space above. */
.nav .group { font-size: .75rem; font-weight: 600; letter-spacing: .01em; opacity: .6; }
/* Spacing, everywhere group labels appear: a label sits close to its own first link and clearly apart from the group
   above (about three times the space above as below), and the links within a group sit between the two. */
.nav .panel .group { padding: 20px 16px 0; line-height: 1.2; }
.nav .panel .group:first-child { padding-top: 6px; }
/* A link to another site has a small arrow after its label. */
.ext { display: inline-block; width: .62em; height: .62em; margin-left: .35em; vertical-align: .02em; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* The phone menu. Hidden on wide screens, where the links show. */
.menu summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::marker { content: ""; }
.menu summary svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu .close, .menu[open] .open { display: none; }
.menu[open] .close { display: block; }
/* Open, the menu lays the sections out under the header across the band's full width, over the page. */
.menu-panel { position: absolute; z-index: 10; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px 24px; padding: 20px 24px 28px; border-block: 1px solid var(--band-panel-line); background: var(--band); }
.menu-panel p { margin-bottom: 4px; font-size: .95rem; font-weight: 700; }
.menu-panel ul { margin: 0; padding: 0; list-style: none; }
.nav .menu-panel a { display: block; padding: 9px 0; white-space: normal; }
/* A section's heading is a link to its first page that still looks like the heading. */
.nav .menu-panel p > a:not(.lockup):not(.button) { display: inline; padding: 0; font-size: inherit; font-weight: 700; line-height: inherit; opacity: 1; }
.nav .menu { margin-right: -12px; }
@media (min-width: 861px) { .nav .menu { display: none; } }
/* Phones: sections pack. In the menu, and in the footer below 761px, sections two across would line up in rows, so a
   short section under a long one leaves a hole. Instead the grid has small fixed rows and no row gap, and each section
   spans as many rows as it needs (--rows, from base.njk: its heading, its links, a wrapping label and a gap row). Grid
   auto-placement then puts each section in the first free place in nav order, which is the top of the shortest column
   so far: About, then Projects under it, with Services beside them. (CSS columns would balance the column heights and
   put Projects under Services instead.) The rows are sized so a heading, a link and the gap each fill whole rows. */
.menu-panel { grid-auto-rows: 21px; row-gap: 0; }
.menu-panel > div { grid-row: span var(--rows); }
.menu-panel p { height: 21px; margin: 0; padding-top: 4px; line-height: 17px; }
.nav .menu-panel a { line-height: 24px; }
/* A label that wraps (Monero Remote Node) keeps its two lines close: tighter lines, with padding making up the
   difference so a one-line item stays 42px, two rows. */
.nav .menu-panel li a { padding: 11px 0; line-height: 20px; }
/* A group's label fills one row, its text at the bottom. */
.menu-panel .group { height: 42px; padding-top: 25px; line-height: 15px; }
.menu-panel p + .group { height: auto; padding-top: 10px; }

/* SHARED. The footer. */
footer { padding: 40px 0 56px; border-top: 1px solid var(--footer-line); color: var(--footer-muted); font-size: .9rem; }
/* The footer lockup is set so that the T of Triplebit is exactly as tall as the middle bar of the mark and sits level
   with it. In the mark's 64-unit square the bar runs from 21 to 43, so it is 22/64 of the mark's size; Montserrat's
   capitals are 0.7em tall. The font size follows from those two, and the mark is lowered until the bar's foot (21/64
   above the mark's own) rests on the text's baseline. At 2rem the bar and the T are both 11px. */
footer .lockup { --mark: 2rem; align-items: baseline; color: var(--footer-text); font-size: calc(var(--mark) * 22 / 64 / .7); font-weight: 900;
  font-style: italic; letter-spacing: 0; line-height: 1; }
footer .lockup svg { display: inline-block; width: var(--mark); height: var(--mark); vertical-align: calc(var(--mark) * -21 / 64); }
/* The footer lockup is Triplebit's mark, linked to its site, beside a line of text. On Larvatus the mark is white bars
   on black, and black bars on white in the dark theme; on this site, whose footer is itself black or white, the mark is
   the opposite of the footer (the tokens). */
.tb-back { fill: var(--logo-back); }
.tb-front { fill: var(--logo-front); }
footer nav a { color: var(--footer-muted); text-decoration: none; }
footer nav a:hover { color: var(--footer-text); text-decoration: underline; }
/* TRIPLEBIT. Here the text beside the mark is the name, in capitals like the nav lockup. */
footer .lockup span { text-transform: uppercase; }
footer .lockup span a { color: inherit; text-decoration: none; }
/* TRIPLEBIT. Larvatus's footer is one row (lockup, nav, small print) on the page's color; this one is black in the
   light theme and white in the dark theme, in columns, by the owner's choice (2026-11-24), so Larvatus's footer .wrap, footer nav and footer p rules are left out.
   On desktop widths the lockup keeps exactly the place it has on Larvatus: top left of .wrap, under the same padding.
   Beside it, a column per nav section; the columns fill the space and wrap onto further rows, so more sections need no
   change here. On a phone the sections come first, two across, and the brand column (lockup, small print, seal) goes
   full width below them (order; the markup stays brand first), also by the owner's choice (2026-11-24). */
footer { background: var(--footer-bg); }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 48px; align-items: start; }
footer .brand p { margin-top: 16px; max-width: 26em; }
footer .seal { display: inline-block; margin-top: 20px; }
footer .seal img { width: 96px; height: 96px; }
footer nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 28px 32px; }
footer h2 { margin-bottom: 10px; color: var(--footer-text); font-size: .9rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
footer ul { padding: 0; list-style: none; }
footer li + li { margin-top: 6px; }
footer nav a[aria-current] { color: var(--footer-text); }
footer :focus-visible { outline-color: var(--footer-focus); }
/* A group's label: plain text, smaller and fainter than the links, with a little space above. */
footer .group { margin: 20px 0 4px; color: var(--footer-faint); font-size: .78rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2; }
footer h2 + .group { margin-top: 0; }
@media (max-width: 760px) {
  footer .brand { order: 1; }
  /* Phones: sections pack, as in the menu (see there). A row is 15px: a link (24px and its 6px gap) is two. */
  footer nav { grid-auto-rows: 15px; row-gap: 0; margin-bottom: -30px; }
  footer nav > div { grid-row: span var(--rows); }
  /* The heading and each link are 24px with 6px above, two rows each. A group label is 16px with 25px above and 4px
     below, three rows; right under the heading, 10px above, two rows. */
  footer h2 { margin-bottom: 0; line-height: 24px; }
  footer nav ul { margin: 6px 0 0; }
  footer .group { margin: 25px 0 0; line-height: 16px; }
  footer h2 + .group { margin-top: 10px; }
  footer .group + ul { margin-top: 4px; }
  /* A wrapping label keeps its lines close (19px apart); padding keeps a one-line item 24px tall. */
  footer li { padding: 2.5px 0; line-height: 19px; }
}
/* The section headings link to each section's first page and look like the headings they are. */
footer h2 a { color: inherit; }
footer nav h2 a[aria-current] { color: inherit; text-decoration: underline; }
footer nav h2 a:hover { color: inherit; }
/* Desktop: the brand column is as wide as the small print on one line, and the sections are a compact group of columns
   at the right, each as wide as its longest label, wrapping onto further rows when there are more than fit. */
@media (min-width: 761px) {
  footer .wrap { grid-template-columns: max-content minmax(0, 1fr); }
  footer .brand p { max-width: none; white-space: nowrap; }
  footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 28px 56px; }
}

/* SHARED. The title band and the page text. */
.title { position: relative; padding-top: 40px; padding-bottom: 64px; }
.title h1 { font-size: clamp(2.2rem, 4.6vw, 3.25rem); }
.title .date { margin-top: 14px; font-size: .95rem; color: var(--band-text); opacity: .85; }
.prose { max-width: 760px; padding-top: 56px; padding-bottom: 96px; }
.prose h2 { margin: 48px 0 12px; font-size: 1.45rem; letter-spacing: -.016em; line-height: 1.2; }
.prose p, .prose ul { margin: 12px 0; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: 10px 0; }
.prose li::marker { color: var(--marker); }
.prose code { padding: 1px 5px; border-radius: 6px; background: var(--subtle); font: .86em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }

/* TRIPLEBIT. What the MkDocs pages use beyond Larvatus's prose. */
.prose h2 { clear: both; }
.prose h3 { margin: 32px 0 10px; }
.prose ol { margin: 12px 0; padding-left: 1.5rem; }
.prose hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.prose mark { padding: 0 2px; background: var(--highlight); color: inherit; }
/* Code blocks. The bridge lines are very long, so a block scrolls sideways inside itself, never the page. */
.prose pre { margin: 16px 0; padding: 14px 18px; overflow-x: auto; border-radius: 12px; background: var(--subtle);
  font: .8rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.prose pre code { padding: 0; border-radius: 0; background: none; font: inherit; overflow-wrap: normal; }
/* The footnote after a "(1)" in the text (MkDocs showed it as a pop-up). */
.prose ol.note { color: var(--muted); font-size: .88rem; }
.prose ol.note li { margin: 6px 0; }
/* An image beside the text on wide screens, above it on phones. */
.prose .float { float: right; width: 40%; max-width: 256px; margin: 4px 0 16px 28px; }
@media (max-width: 600px) { .prose .float { float: none; width: 100%; margin: 16px auto; } }
/* A row of buttons wraps on a phone. */
.prose p:has(> .button) { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
/* Friends' logos, made for a white page, on a white surface in the dark theme. (The bridge QR codes carry their own
   white.) */
.prose .friends { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 36px; margin: 24px 0;
  padding: 24px; border-radius: 16px; background: var(--picture-surface); }
.prose .friends img { width: auto; height: 3.25rem; }

/* TRIPLEBIT. The projects page: a card per project, shaped like the donation card at the foot of the Larvatus home
   page (its .give .band: radius, padding, heading and text sizes, the light button), in the project's own colors with
   its mark faintly behind. The colors come from the project's class, not from this site's palette, so the card looks
   the same in every theme and palette. A card sets --card-from, --card and --card-to (its gradient), --card-ink (the
   light button's text), --card-hover (that button's hover) and --card-shadow (the button's shadow, as r g b). */
.projects { display: grid; gap: 24px; }
.project { position: relative; overflow: hidden; padding: 56px; border-radius: 28px; color: #fff;
  background: radial-gradient(circle at 18% 12%, var(--card-from), var(--card) 45%, var(--card-to)); }
.project .watermark { position: absolute; pointer-events: none; color: rgb(255 255 255 / .07); }
.project h2 { position: relative; display: flex; align-items: center; gap: 14px; margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700;
  letter-spacing: -.012em; line-height: 1.08; }
.project h2 svg { flex: none; width: 46px; height: 46px; }
.project .sub { position: relative; max-width: 40em; margin: 20px 0 0; font-size: 1.05rem; line-height: 1.5; color: #fff; text-wrap: pretty; }
.project .actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.project .button.light { background: #fff; color: var(--card-ink); box-shadow: 0 10px 28px rgb(var(--card-shadow) / .28); }
.project .button.light:hover { background: var(--card-hover); }
.project :focus-visible { outline-color: #fff; }
@media (max-width: 620px) { .project { padding: 36px 24px; } }
/* Larvatus: its band and button colors, from its site.css. */
.project.larvatus { --card-from: #e43a62; --card: #dd2b55; --card-to: #c4214a; --card-ink: #c4214a; --card-hover: #fff3f5; --card-shadow: 80 0 20; }

/* TRIPLEBIT. The home page: the band carries the opening sentence as its main text, under a heading that is there for
   screen readers only. The main uses the full width of .wrap rather than the prose column: each section is a row,
   its heading in a narrow column on the left and its content (in the prose styles) on the right, with a hairline
   between rows (not above the first). Below 860px a heading sits above its content. Programs are a two-by-two grid of
   plain text blocks, and Organization puts the address beside the documents; both are one column on phones. */
/* Browsers may break "501(c)(3)" between its brackets, and an EIN at its hyphen. */
.nobreak { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  clip-path: inset(50%); white-space: nowrap; border: 0; }
.home-title { padding-top: 32px; padding-bottom: 72px; }
.home-title .lead { max-width: 28em; font-size: clamp(1.45rem, 3.2vw, 2.25rem); font-weight: 500; line-height: 1.32; letter-spacing: -.018em;
  text-wrap: pretty; }
.home { padding: 16px 0 96px; }
.home .row:first-child { border-top: 0; }
.home .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 16px 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.home .row > h2 { font-size: 1.45rem; letter-spacing: -.016em; line-height: 1.2; }
.home .prose { max-width: none; padding: 0; }
.home .prose > p, .home .prose > ul { max-width: 42em; }
.home .prose > :first-child { margin-top: 0; }
.home .prose > :last-child { margin-bottom: 0; }
.home .programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.home .programs > div { padding-top: 16px; border-top: 1px solid var(--line); }
.home .programs h3 { margin: 0 0 8px; }
.home .programs p { margin: 0; }
.home .organization { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.home .organization > div > :first-child { margin-top: 0; }
.home .friends { justify-content: flex-start; margin: 0; }
@media (max-width: 860px) {
  .home .row { grid-template-columns: minmax(0, 1fr); padding: 40px 0; }
}
@media (max-width: 620px) {
  .home .programs, .home .organization { grid-template-columns: minmax(0, 1fr); }
  .home .organization { gap: 0; }
}

/* TRIPLEBIT. The network map: land as a grid of dots (one path of zero-length dashes with round caps, made from the
   owner's map image by tools/make-map.mjs), pins from _data/locations.json, and dashed lines between the core
   locations that flow slowly, unless the reader asks for less motion. The legend is text under the map. */
.map { margin: 28px 0; }
.map > svg { width: 100%; height: auto; overflow: visible; }
.map .land { fill: none; stroke: var(--map-land); stroke-width: .62; stroke-linecap: round; stroke-dasharray: 0 1; }
.map .link { stroke: var(--pin-core); stroke-width: .35; stroke-dasharray: 1.2 .9; stroke-linecap: round; animation: map-flow 4s linear infinite; }
@keyframes map-flow { to { stroke-dashoffset: -8.4; } }
@media (prefers-reduced-motion: reduce) { .map .link { animation: none; } }
.pin { fill-rule: evenodd; }
.pin.core { fill: var(--pin-core); }
.pin.edge { fill: var(--pin-edge); }
.pin.soon { fill: var(--pin-soon); }
.map .legend { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.map .legend li { display: flex; align-items: center; gap: 8px; margin: 0; }
.map .legend svg { width: 14px; height: 18px; }
