/* chrome.css (2026-11-09) — the site header and footer for pages that do not
   load /site.css (the help page, which has its own long stylesheet). The rules
   are copied from /site.css so the header, its phone Menu and the footer are
   the same on every page; when they change there, change them here too.
   Everything is scoped to .masthead, .colophon and .skip so nothing else on
   the host page changes. */
.masthead,.colophon,.skip{
  --paper:#F7F3EA;--ink:#17140F;--ink-2:#463F35;--ink-3:#736A5D;--rule:#DCD2BF;
  --sig-ochre:#C2761A;--label:'Manrope', system-ui, -apple-system, sans-serif;
  --text:'Spectral', Georgia, 'Times New Roman', serif;--wrap:1180px}
.masthead,.colophon{font-family:var(--text);line-height:1.62}
.masthead .wrap,.colophon .wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 28px;box-sizing:border-box}
.masthead a,.colophon a{color:inherit}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:12px;z-index:200;background:var(--ink);color:var(--paper);
  padding:10px 16px;font-family:var(--label);font-weight:700;font-size:0.875rem}
/* ── Masthead ─────────────────────────────────────────────────────────── */
.masthead{border-bottom:1px solid var(--ink);background:var(--paper)}
.masthead-top{display:flex;align-items:baseline;justify-content:space-between;
  gap:24px;padding:18px 0 12px;flex-wrap:wrap}
.wordmark{font-size:1.55rem;font-weight:600;letter-spacing:-.01em;text-decoration:none}
/* 2026-09-27. "for Writers" in italic beside the wordmark, on every page. */
.wm-for{font-style:italic;font-weight:400;color:var(--ink-2)}
.imprint{font-family:var(--label);font-size:0.8125rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-3);margin-top:3px}
.masthead nav{display:flex;gap:26px;flex-wrap:wrap}
.masthead nav a{font-family:var(--label);font-weight:600;font-size:0.8125rem;
  letter-spacing:.1em;text-transform:uppercase;text-decoration:none;color:var(--ink-2);
  padding-bottom:2px;border-bottom:1px solid transparent}
.masthead nav a:hover,.masthead nav a[aria-current]{border-bottom-color:var(--ink);color:var(--ink)}

/* ── Masthead on a phone ──────────────────────────────────────────────────
   2026-10-08. On a phone the header is the wordmark and one item on one row,
   with the tagline under them, on every page. Before this the links wrapped
   onto two more rows and the header took 184px of a 390px-wide screen; it
   now takes 83px. These rules were written for /relay/ that afternoon and
   lived in that page; they are here now so there is one copy.

   A grid, so the item on the right can never sit on top of the wordmark
   however narrow the screen: if the two do not fit, the wordmark wraps.

   WHAT THE ONE ITEM IS depends on what the page's links are.

   Links to the page's own sections (/relay/, /pilot/) carry class="nav-in"
   and are left out on a phone: the page is one scroll. Any other link in
   that header (/relay/ has "Give a gift") stays, beside the wordmark.

   Links to the site's other pages are the only route to those pages, so
   they are not left out. A header that carries them has class="has-menu"
   and a button, "Menu", before its <nav>; the links open under the tagline
   as a list when it is pressed. The few lines of script that work the button
   sit in the page directly after the header. That script adds .menu-ready
   last, and nothing below hides a link until it has: with scripts off, or if
   the script stops for any reason, the links are simply shown under the
   tagline and the button is not. A dead "Menu" cannot happen.

   Wider than a phone nothing changes: the button is not shown and the links
   sit in a row, as before. */
.nav-menu{display:none;position:relative;margin:0;padding:6px 10px 5px;min-width:6.4em;
  font-family:var(--label);font-weight:700;font-size:0.8125rem;line-height:1.2;
  letter-spacing:.12em;text-transform:uppercase;text-align:center;
  color:var(--ink);background:none;border:1px solid var(--ink);border-radius:0;
  -webkit-appearance:none;appearance:none;cursor:pointer}
/* The box is small so the row stays one line high; the area that takes a tap
   is larger than the box. */
.nav-menu::after{content:"";position:absolute;top:-10px;right:-10px;bottom:-10px;left:-10px}
/* "Menu" becomes "Close" while the list is open; the box is as wide as the
   longer word from the start, so nothing beside it moves. */
.nav-menu[aria-expanded="true"]{background:var(--ink);color:var(--paper)}
.nav-menu:focus-visible{outline:2px solid var(--sig-ochre);outline-offset:3px}
@media (max-width:700px){
  .masthead-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:0 14px;padding:13px 0 10px}
  .masthead-top > div{display:contents}
  .masthead-top .wordmark{grid-column:1;grid-row:1}
  .masthead-top nav{grid-column:2;grid-row:1}
  .masthead-top .imprint{grid-column:1 / -1;grid-row:2}
  .masthead nav a.nav-in{display:none}

  /* A header with the site's links. Until the script has run they sit under
     the tagline, wrapped, all showing. */
  .has-menu .masthead-top nav{grid-column:1 / -1;grid-row:3;margin-top:10px;gap:8px 22px}
  /* Once it has: the button beside the wordmark, the links closed. */
  .has-menu.menu-ready .nav-menu{display:block;grid-column:2;grid-row:1}
  .has-menu.menu-ready .masthead-top nav{display:none;margin-top:12px;border-top:1px solid var(--rule)}
  .has-menu.menu-ready .masthead-top nav.open{display:block}
  .has-menu.menu-ready nav a,
  .has-menu.menu-ready nav a:hover,
  .has-menu.menu-ready nav a[aria-current]{display:block;padding:14px 0;font-size:0.875rem;
    border-bottom:1px solid var(--rule)}
  .has-menu.menu-ready nav a[aria-current]{color:var(--ink);font-weight:800}
  .has-menu.menu-ready nav a:last-child{border-bottom:0;padding-bottom:6px}
}
/* The narrowest phones (under 360px wide). At full size the wordmark and the
   item beside it do not fit on one row there and the tagline runs to a
   second line, which made the header 139px. A slightly smaller wordmark and
   a tighter tagline keep it to one row and one line: 77px. */
@media (max-width:359px){
  .masthead .wordmark{font-size:1.3rem}
  .masthead .imprint{letter-spacing:.04em}
}

/* ── Colophon ─────────────────────────────────────────────────────────── */
.colophon{background:var(--ink);color:var(--paper);padding:76px 0 52px;margin-top:78px}
.colophon a{color:var(--paper)}
.col-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}
.colophon h2{font-size:1.9rem;font-weight:400;line-height:1.2;margin:14px 0 20px;max-width:20ch}
.colophon p{color:#CFC7B8;max-width:32rem;margin:0 0 1.1em}
.founder{margin:18px 0 0}
/* 2026-09-07 — was a hard 132x132 square with object-fit:cover and the default
   50% 50% origin, which crops a portrait source equally top and bottom and
   takes the chin with it.

   Now a 4:5 portrait frame, which is the shape a headshot actually is, so the
   crop throws away far less. object-position sits slightly ABOVE centre (50%
   42%) because the subject's eyes are above the midpoint of the frame in
   nearly every portrait — centring on the geometric middle pushes the head up
   and the jaw out.

   IF THE CHIN IS STILL CLIPPED, the source file is cropped too tightly and no
   CSS will recover it — the pixels are not there. Recrop the original with
   headroom above the hair and a margin below the chin, export at 264x330
   (2x for retina), and this rule will hold it correctly. */
.founder img{width:132px;height:165px;object-fit:cover;object-position:50% 42%;
  border-radius:1px;
  filter:grayscale(1) contrast(1.04);border:1px solid rgba(247,243,234,.22)}
.col-list{list-style:none;margin:22px 0 0;padding:0}
.col-list li{padding:10px 0;border-bottom:1px solid rgba(247,243,234,.18);
  font-size:.98rem;color:#CFC7B8}
.col-foot{margin:50px 0 0;padding-top:22px;border-top:1px solid rgba(247,243,234,.24);
  display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;
  font-family:var(--label);font-size:0.8125rem;letter-spacing:.13em;
  text-transform:uppercase;color:#9B9184}

.colophon .label{font-family:var(--label);font-weight:800;font-size:0.8125rem;letter-spacing:.12em;
  text-transform:uppercase;color:var(--sig-ochre)!important;margin:0;display:inline;position:static}
.colophon .label::after{display:none}
.colophon h2{font-family:var(--text);color:var(--paper)}
.imprint{font-size:0.875rem}
.masthead nav a{font-size:0.875rem}
.col-foot{font-size:0.875rem}
.col-foot a{display:inline-block;padding:13px 2px;min-height:44px;box-sizing:border-box}
.founder img{width:200px;height:250px}
@media (max-width:900px){.col-grid{grid-template-columns:1fr;gap:32px}}
/* Neutralise host-page element rules that would otherwise reach the chrome. */
.masthead nav{position:static;padding:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;border:0;transition:none}
footer.colophon{border-top:0}
