/*
 * Motherland Seed — one stylesheet, hand-written.
 *
 * The palette is copied verbatim from the application's tailwind config so the
 * website and the product are visibly one brand. Shades marked "not for text"
 * fail contrast and are for borders and dividers only; every text colour here
 * was measured against the surface it sits on.
 *
 * No framework. This site is five pages of type on paper — a utility-class
 * library would be more bytes than the site.
 */

:root {
  /* Surfaces, lightest first */
  --paper-50:  #FFFFFF;
  --paper-100: #FBFDFB;
  --paper-200: #F3F8F4;
  --paper-300: #E7EFE9;   /* hairline rules */
  --paper-400: #D3E1D7;   /* firmer borders */

  /* Text, tinted green so it belongs to the brand rather than reading as grey */
  --bark-900: #0B2413;
  --bark-800: #183523;
  --bark-700: #254634;
  --bark-600: #40604D;
  --bark-500: #5A7A66;
  --bark-400: #8AA394;
  --bark-300: #B3C6BB;    /* not for text */

  /* The accent */
  --seed-50:  #EDFBF1;
  --seed-100: #D3F5DC;
  --seed-200: #A1E7B5;    /* not for text */
  --seed-500: #16A34A;
  --seed-600: #12833A;
  --seed-800: #0A5124;

  --warn: #B45309;

  /* Roles, so components never name a shade directly */
  --ground: var(--paper-100);
  --card: var(--paper-50);
  --inset: var(--paper-200);
  --rule: var(--paper-300);
  --rule-firm: var(--paper-400);
  --ink: var(--bark-900);
  --ink-body: var(--bark-700);
  --ink-soft: var(--bark-500);
  --ink-faint: var(--bark-400);
  --accent: var(--seed-600);
  --accent-strong: var(--seed-800);
  --accent-wash: var(--seed-50);
  --accent-edge: var(--seed-200);
  --btn-fg: #FFFFFF;

  --measure: 65ch;
  --radius: 1rem;
  --shadow: 0 1px 2px rgba(11, 36, 19, .04), 0 8px 24px -14px rgba(11, 36, 19, .12);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /*
   * ONE BREAKPOINT FOR THE NAVIGATION, NAMED ONCE.
   *
   * It cannot be used inside @media — custom properties are not allowed there —
   * so it is a note to the reader rather than a mechanism: the four places that
   * switch between the horizontal nav and the menu button all use 820px, and
   * they must change together or the site will show both or neither.
   *
   * 820 and not 940, which is what it was. Measured rather than guessed: the
   * bar needs 672px for the lockup, four links and the Join button, so at 940
   * every tablet from 768 to 939 was being given a hamburger with 268px of
   * empty room beside it. An iPad in portrait is 768 and now keeps the menu
   * button; one in landscape is 1024 and always had the nav. The ones this
   * actually frees are the 820–939 band — a small tablet in landscape, and a
   * laptop window that has been dragged narrower.
   */
  --nav-breakpoint: 820px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  font-weight: 600;
  letter-spacing: -0.012em;
  /*
   * Source Serif 4 is loaded as a variable font with an optical size axis
   * (opsz 8..60), and `auto` is what actually uses it: the heavier, tighter
   * cut at display sizes, the open one with taller x-height at small sizes.
   * Without this the browser renders every size from the same master, which
   * is the single cheapest typographic improvement available here.
   */
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.05rem, 5vw, 3.35rem); line-height: 1.1; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; }
/*
 * 1.22rem, not 1.1.
 *
 * Body text is 17px and h3 was 17.6px — six tenths of a pixel of difference,
 * carrying the entire burden of saying "this is a heading". On the four
 * service cards and the stages of a meeting that produced a page where
 * everything looked like one weight of text and nothing led the eye. The
 * serif face and the darker ink were doing all the work; now the size helps.
 */
h3 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -0.006em; }

/*
 * Widows: a paragraph must not end on one word alone on its last line.
 * `pretty` is ignored by browsers that do not have it, so this costs nothing
 * where it is not supported.
 */
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Skip link — the first thing a keyboard reaches, invisible until then. */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 760px; }

.eyebrow {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin: 0 0 10px;
}
.lede { font-size: 1.12rem; max-width: var(--measure); color: var(--ink-body); }
.muted { color: var(--ink-soft); }
.stack { display: flex; flex-direction: column; }
.gap-sm { gap: 10px; } .gap-md { gap: 18px; } .gap-lg { gap: 30px; }

/*
 * Sections are separated by one full-width hairline — the register rule that
 * runs through the whole design. Vertical padding lives here, once, so no
 * later rule can fight it.
 */
.band { padding-block: clamp(46px, 7vw, 80px); border-top: 1px solid var(--rule); }
.band--flush { border-top: 0; }
.band--inset { background: var(--inset); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.bar { display: flex; align-items: center; gap: 18px; padding-block: 14px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
/*
 * flex-shrink:0 and width:auto are load-bearing, not tidiness.
 *
 * A flex child with a fixed height gives up WIDTH when the row overflows. In
 * the application this rendered the mark at 43% of its correct width on every
 * screen narrow enough to overflow, and nobody noticed for months.
 */
.brand img {
  /* Sized by height, and the whole lockup — 1.669 wide to 1 tall. Bigger than
     the old emblem because it now carries the wordmark too. */
  /* 48px, not 34. The lockup is 1.67 wide to 1 tall and the wordmark occupies
     a small band inside it, so at header sizes the name is only a few pixels
     tall. Height is the only lever without making the header a banner. */
  height: 48px; width: auto; flex-shrink: 0; max-width: none; display: block;
}
@media (max-width: 480px) { .brand img { height: 38px; } }
/* No typographic name beside the mark: the lockup already contains the
   wordmark, and setting it twice — once as artwork, once in a different
   typeface — was printing the company's name in two fonts at once. */

.site-nav { display: none; gap: 24px; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-size: .93rem;
  padding-block: 4px; border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent-edge); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
@media (min-width: 820px) { .site-nav { display: flex; } }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; text-decoration: none;
  font-family: inherit; font-size: .94rem; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--btn-fg); }
.btn--primary:hover { background: var(--accent-strong); }
.btn--quiet { background: var(--card); color: var(--ink); border-color: var(--rule-firm); }
.btn--quiet:hover { background: var(--inset); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------- cards */
.grid { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
.grid > * { background: var(--ground); padding: 26px 0; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid > * { padding: 26px 28px; }
}

.panel {
  background: var(--card); border: 1px solid var(--rule-firm);
  border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow);
}
.panel--wash { background: var(--accent-wash); border-color: var(--accent-edge); box-shadow: none; }
.panel--inset { background: var(--inset); border-color: var(--rule); box-shadow: none; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  border: 1px solid var(--rule-firm); border-radius: 999px; background: var(--card);
  padding: 7px 15px; font-size: .9rem; color: var(--ink-body);
}

/* ------------------------------------------------------------------ stages */
.stages { display: grid; gap: 30px; }
.stage { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
/*
 * Numbering appears in exactly one place on this site, and only because a
 * meeting genuinely runs in an order the reader needs. Numbering the services
 * would be decoration.
 */
.stage-no {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--accent);
  line-height: 1; padding-top: 3px; min-width: 2rem; font-variant-numeric: tabular-nums;
}
.stage-when {
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-faint);
}

/* -------------------------------------------------------- the record block */
.record { border: 1px solid var(--rule-firm); border-radius: var(--radius);
          background: var(--card); box-shadow: var(--shadow); overflow: hidden; margin: 0; }
.record-head {
  padding: 15px 20px; border-bottom: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.record-title { font-family: var(--serif); font-weight: 600; color: var(--ink); }
.record-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.verdict {
  display: inline-flex; align-items: center; gap: 8px; font-size: .76rem;
  letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: var(--warn);
}
.verdict::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: currentColor; }

.tally-wrap { overflow-x: auto; }
table.tally { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 380px; }
table.tally th {
  text-align: left; font-size: .67rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--rule);
}
table.tally th.r, table.tally td.r { text-align: right; }
table.tally td { padding-block: 10px; border-bottom: 1px solid var(--rule); }
table.tally tr:last-child td { border-bottom: 0; }
.nums { font-variant-numeric: tabular-nums; }
.cls { color: var(--ink); font-weight: 600; }
.ok { color: var(--accent); font-weight: 600; }
.no { color: var(--warn); font-weight: 600; }
.record-foot {
  background: var(--inset); border-top: 1px solid var(--rule); padding: 12px 20px;
  font-size: .84rem; color: var(--ink-soft);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* -------------------------------------------------------------------- list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.ticks svg { width: 17px; height: 17px; margin-top: 5px; color: var(--accent); flex-shrink: 0; }

/* -------------------------------------------------------------------- form */
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field small { color: var(--ink-soft); font-size: .8rem; }
.field input, .field textarea {
  font: inherit; font-size: .96rem; color: var(--ink);
  background: var(--card); border: 1px solid var(--rule-firm);
  border-radius: 10px; padding: 11px 14px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
/* The honeypot. Off-screen rather than display:none — some bots skip hidden
   fields, and none of them read this. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .86rem; color: var(--ink-soft); }
.form-msg { font-size: .92rem; border-radius: 10px; padding: 12px 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.good { background: var(--accent-wash); border: 1px solid var(--accent-edge); color: var(--accent-strong); }
.form-msg.bad { background: #FEF3E7; border: 1px solid #F5D3A8; color: var(--warn); }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--rule); padding-block: 30px 44px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .88rem; }
.foot-links a { color: var(--ink-soft); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot small { color: var(--ink-faint); font-size: .83rem; }

/* ------------------------------------------------------------------ layout */
.two-col { display: grid; gap: clamp(30px, 5vw, 54px); }
@media (min-width: 940px) { .two-col { grid-template-columns: 1.05fr .95fr; align-items: center; } }

.contact-grid { display: grid; gap: 24px; }
/* auto-fit, not a fixed three: the page carries two entries now that the
   telephone number is gone, and a fixed third column left a hole. */
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
.contact-line { display: flex; flex-direction: column; gap: 2px; }
.contact-line a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent-edge); width: fit-content; }
.contact-line a:hover { border-bottom-color: var(--accent); }

.todo {
  display: inline-block; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--warn); border: 1px dashed var(--warn);
  border-radius: 4px; padding: 1px 6px; margin-top: 4px; width: fit-content;
}

/*
 * Secondary text on a TINTED panel steps down a shade.
 *
 * bark-500 reaches 4.43:1 against paper-200 — under the 4.5 that body text
 * needs, though it passes comfortably on white. Measured, not guessed: this is
 * precisely what bark-600 exists for.
 */
.panel--inset .muted,
.panel--wash .muted,
.band--inset .muted { color: var(--bark-600); }

/*
 * Anchored sections clear the sticky header.
 *
 * Without this, following /#join scrolls the section's top edge to y=0 — which
 * is underneath the header, so the first line of the section is hidden behind
 * it. Seen by following the link rather than by reading the CSS.
 */
[id] { scroll-margin-top: 84px; }

/* ======================================================================== */
/* RESPONSIVE                                                                */
/*                                                                           */
/* The site had no navigation at all below 1024px — the horizontal nav was    */
/* hidden and nothing replaced it, so on every phone and tablet the only way  */
/* to another page was the footer. What follows is the menu that fixes that,  */
/* plus the constraints that stop wide content pushing the page sideways.     */
/* ======================================================================== */

/* ---- the menu button, shown only when the horizontal nav is not ---------- */
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;              /* a real touch target, not a 24px icon */
  flex-shrink: 0; padding: 0; cursor: pointer;
  background: var(--card); border: 1px solid var(--rule-firm); border-radius: 12px;
}
.menu-btn:hover { background: var(--inset); }
.menu-bars { display: block; width: 18px; }
.menu-bars span {
  display: block; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .18s ease, opacity .14s ease;
}
.menu-bars span + span { margin-top: 4px; }
/* Into an X while open, so the button says what pressing it will do. */
.menu-btn[aria-expanded="true"] .menu-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu-panel { border-top: 1px solid var(--rule); background: var(--card); }
.menu-panel nav { display: flex; flex-direction: column; padding-block: 6px 14px; }
.menu-panel a {
  text-decoration: none; color: var(--ink-body);
  padding: 13px 0;                         /* ≥44px tall with the line-height */
  border-bottom: 1px solid var(--rule); font-size: 1rem;
}
.menu-panel a:last-of-type { border-bottom: 0; }
.menu-panel a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.menu-panel .menu-join {
  margin-top: 14px; border-bottom: 0;
  background: var(--accent); color: var(--btn-fg); font-weight: 600;
  border-radius: 999px; text-align: center; padding: 13px 20px;
}

/* The page behind the open menu does not scroll. */
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---- who is visible at which width -------------------------------------- */
/*
 * One breakpoint governs both, so the horizontal nav and the menu button can
 * never both be showing or both be hidden.
 */
@media (min-width: 820px) {
  .menu-btn, .menu-panel { display: none !important; }
}
@media (max-width: 819.98px) {
  .site-nav { display: none; }
  /* The Join button is the one thing that stays, because it is why a member is
     on the site at all. Below 420px it goes into the menu instead, where the
     logo and the button were otherwise fighting for the same row. */
  .btn--join { padding: 9px 15px; font-size: .88rem; }
}
@media (max-width: 419.98px) {
  .btn--join { display: none; }
}

/* ---- nothing wide may push the PAGE sideways ---------------------------- */
/*
 * A grid or flex child defaults to min-width:auto, which is its content's
 * width — so a 380px table inside a scroll container still forced the page
 * 4px wider at 320px. The container can only do its job if the chain above it
 * is allowed to be narrower than its contents.
 */
.two-col > *, .grid > *, .stage > *, .panel, .record { min-width: 0; }
/*
 * .stack is a flex column, and a flex item defaults to min-width:auto — its
 * content's width. So the 380px results table inside one grew the column rather
 * than scrolling within it, and pushed /privacy 16px wide at 320px. The scroll
 * container can only contain what it is allowed to be narrower than.
 */
.stack > * { min-width: 0; }
.tally-wrap { max-width: 100%; min-width: 0; }

/* ---- the ballot demo scales rather than crowding ------------------------- */
.ballot-demo { max-width: 100%; }
@media (max-width: 400px) {
  /* 300px of phone plus 48px of page padding does not fit a 320px screen. */
  .ballot-demo .phone { transform: scale(.85); transform-origin: top center; }
  .ballot-demo { height: 500px; }
}

/* ---- small-screen typography and rhythm --------------------------------- */
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .lede { font-size: 1.06rem; }
  /* Buttons go full width where they would otherwise wrap awkwardly. */
  .actions { width: 100%; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---- landscape phones: less vertical padding, or a band fills the screen -- */
@media (max-height: 520px) and (orientation: landscape) {
  .band { padding-block: 34px; }
  .site-header { position: static; }
}

/*
 * The questions demo leads with the illustration on wide screens and follows the
 * text on narrow ones — a picture above a heading it has not earned yet reads as
 * decoration.
 */
.qd-holder { order: 2; }
@media (min-width: 940px) {
  .two-col--flip > :first-child { order: 1; }
  .two-col--flip > :last-child { order: 2; }
  .qd-holder { order: 1; }
}

/*
 * Long addresses and URLs wrap rather than pushing the page.
 *
 * "POPIAComplaints@inforegulator.org.za" is 36 unbreakable characters and made
 * /privacy 16px wider than a 320px screen. Found by ignoring anything sitting
 * inside a scroll container — the earlier check kept blaming a table that was
 * scrolling correctly the whole time.
 */
a[href^="mailto:"], a[href^="tel:"], .contact-line a { overflow-wrap: anywhere; }


/*
 * Inline links in body text: colour and weight, not an underline.
 *
 * A link still has to be findable without relying on colour alone, so the
 * underline returns on hover and on keyboard focus, and the colour carries
 * enough contrast against the surrounding text to read as a different thing.
 */
.stack p a,
.lede a,
.muted a,
.panel p a {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}
.stack p a:hover,
.lede a:hover,
.muted a:hover,
.panel p a:hover,
.stack p a:focus-visible,
.lede a:focus-visible,
.muted a:focus-visible,
.panel p a:focus-visible { text-decoration: underline; }


/* ========================================================================= */
/* PRINT                                                                     */
/*                                                                           */
/* This is a business whose clients are company secretaries and trustees,    */
/* and what those people do with a page that sets out an engagement is print */
/* it and put it in the board pack. Until now that produced a sticky header  */
/* stamped across the top of every sheet, a navigation bar, a footer of      */
/* links, and every link's destination invisible — so a printed copy of      */
/* /terms could not be checked against the site it came from.                */
/*                                                                           */
/* Measured on /terms, /privacy and /services, which are the three anybody   */
/* would actually print.                                                     */
/* ========================================================================= */
@media print {
  /* Ink, not screen. A tinted green body text costs a cartridge and reads
     worse on paper than plain black. */
  :root {
    --ground: #fff; --card: #fff; --inset: #fff;
    --ink: #000; --ink-body: #1a1a1a; --ink-soft: #333; --ink-faint: #444;
    --rule: #bbb; --rule-firm: #999;
    --accent: #000; --accent-strong: #000; --accent-wash: #fff; --accent-edge: #999;
  }

  body { font-size: 11pt; line-height: 1.5; background: #fff; }

  /* Navigation is not content. Nor is a button that cannot be pressed. */
  .site-header, .menu-panel, .menu-btn, .skip, .site-footer nav,
  .btn--join, .actions, .qd, .ballot-demo { display: none !important; }

  /* The sticky header leaves a gap at the top of every sheet if it is merely
     hidden rather than taken out of the flow. */
  .site-header { position: static !important; }

  .band { padding-block: 14pt; border-top: 1px solid var(--rule); break-inside: auto; }
  .wrap { max-width: none; padding-inline: 0; }

  /* A heading on the last line of a sheet, with its paragraph on the next, is
     the commonest thing wrong with a printed web page. */
  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }
  h1 { font-size: 20pt; }
  h2 { font-size: 15pt; }
  h3, .h3-size { font-size: 12pt; }
  p, li { orphans: 3; widows: 3; }

  .panel, .record, .stage, .ticks li, tr { break-inside: avoid; page-break-inside: avoid; }
  .panel { box-shadow: none; border: 1px solid var(--rule); }

  /*
   * WHERE A LINK WENT.
   *
   * On paper a link is just underlined words, so a printed page cannot be
   * checked against the site it came from. The href is printed after it —
   * except for in-page anchors and the nav, where it would be noise.
   */
  main a[href^="http"]::after,
  main a[href^="mailto:"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #444;
    word-break: break-all;
  }

  /* The footer keeps only the line that says who this is. */
  .site-footer { border-top: 1px solid var(--rule); padding-block: 10pt 0; }
}

/*
 * A heading that is a level 2 for the document and a level 3 for the eye.
 *
 * Heading LEVEL is structure — a screen-reader user navigating by heading
 * needs 1, 2, 3 in order, and a page whose only subheading is an h3 under the
 * h1 leaves them hunting for a level 2 that does not exist. Heading SIZE is
 * presentation. Conflating the two is how the skip got there in the first
 * place: somebody wanted it smaller and reached for h3.
 */
.h3-size { font-size: 1.22rem; line-height: 1.3; letter-spacing: -0.006em; }
