/* paradigmcc.com: the whole site's styles (home page, blog, 404). One look, "Route": a transit map, where each
 * service is a coloured line with its stops, all four stop at "Your business", and an
 * engagement is a route with four stations. Chosen by Scott on 2026-11-11/12 from the
 * design project in ~/Developer/Sites/webdesign-dashboard/designs/paradigmcc (final/ is
 * this design with its tweak bar; the values here are that design's defaults, which he
 * kept unchanged).
 *
 * Light only, on purpose: the design was chosen light, and a dark version was an option
 * he did not take. No text is smaller than 16px (Scott finds small text hard to read).
 * Colours are checked for contrast: each pair's ratio is noted where it is defined.
 */

@font-face { font-family: "Barlow"; src: url("../assets/fonts/Barlow-400.woff2?v=b9b596c7d6") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/Barlow-500.woff2?v=be69dfa362") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/Barlow-600.woff2?v=862116afc1") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/BarlowCondensed-700.woff2?v=db3da8cffd") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;

  /* the map sheet */
  --paper: #f1f3f2;
  --sheet: #ffffff;          /* stations and form fields */
  --ink: #0f1b24;            /* 15.5:1 on paper */
  --muted: #4a535a;          /* secondary text: 7.0:1 on paper (ink mixed 74% into paper) */
  --rule: #bfc4c5;

  /* sign panels: header, the promises strip, the approach section, footer */
  --panel: #0f1b24;
  --panel-text: #f1f3f2;     /* 15.5:1 on the panel */
  --panel-muted: #b9c4ca;    /* 9.8:1 on the panel */
  --panel-rule: rgba(255, 255, 255, 0.2);

  /* the four lines. White letters sit on red, blue and green (4.8, 5.9 and 4.7:1; the
     letters are 24px bold); ink sits on yellow (9.5:1). */
  --red: #d6331f;            /* M: Managed services */
  --blue: #1560c9;           /* C: Small business consulting */
  --green: #0c8457;          /* A: AI services */
  --yellow: #f2b705;         /* W: Website design and hosting */

  --accent: #1560c9;         /* button hover and focus rings: 5.3:1 on paper */
  --ok: #0a6e49;             /* form messages: 5.6:1 on paper (the line green is only 4.2:1) */
  --err: #b3261a;            /* 5.9:1 on paper (the line red is only 4.3:1) */

  --sign: "Barlow Condensed", "Arial Narrow", sans-serif;   /* headings: the highway-sign face */
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 6px;
  --rule-w: 2px;
  --bar: 10px;               /* the lines in the services and approach sections */
  --ring: 4px;               /* a station's outline */
  --dot: 1.75rem;            /* a station on a service line */
  --station: 2.4rem;         /* a station on the approach route */
  --bullet: 2.5rem;          /* a line's letter */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.1875rem/1.55 var(--body); }
::selection { background: var(--yellow); color: var(--ink); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--radius); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: 0.75rem 1rem; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 1rem; }
/* keeps a hyphenated word on one line ("full-time" broke after its hyphen at phone width) */
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

h1, h2, h3 { font-family: var(--sign); font-weight: 700; line-height: 0.98; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.4vw, 6rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }

/* ---------- sign panels ---------- */
.panel { background: var(--panel); color: var(--panel-text); }
.panel :focus-visible { outline-color: var(--panel-text); }

/* ---------- header: a sign strip ---------- */
.site-header { position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 2rem; min-height: 4.5rem; padding-block: 0.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; font: 700 1.6rem/1 var(--sign); letter-spacing: 0.01em; }
/* The star's left ray is a hairline for its first few pixels (it is under half a pixel
   thick until about 4px in), so the star looks indented next to the menu and headline
   that share its left edge (Scott, 2026-11-12, at phone width where the menu wraps under
   it). Pulling it left by that much lines up what the eye sees. */
.brand svg { width: 2rem; height: 2rem; margin-left: -0.25rem; fill: currentColor; }
.brand small { font: 500 1rem/1 var(--body); color: var(--panel-muted); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); font-weight: 600; font-size: 1.0625rem; }
.nav a { text-decoration: none; padding: 0.6rem 0; }
.nav a:hover { text-decoration: underline; }

/* ---------- buttons: sign plates with an arrow ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 3.25rem; padding: 0.7rem 1.4rem; border: var(--rule-w) solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); font: 600 1.125rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.btn svg { width: 1.25rem; height: 1.25rem; flex: none; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:hover svg { transform: translateX(4px); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn:disabled:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; gap: 1.75rem 3rem; }
.lede { max-width: 34rem; color: var(--muted); font-size: 1.25rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: 7fr 5fr; align-items: end; }
}

/* The system map: four lines meeting at one station. It is drawn 1200x300 and sliced to
   its box (preserveAspectRatio "slice" in templates/index.html), so on a phone the middle, where the
   lines meet, stays at a readable size and the ends run off both edges. The numbers in
   the drawing are map units: at phone width one unit is about 0.6px, which is why the
   "Your business" label is 28 units (17px there). */
.system { margin-top: clamp(2rem, 4vw, 3.5rem); }
.map { display: block; width: 100%; height: clamp(11.5rem, 25vw, 30rem); }
.map .line { fill: none; stroke-width: 12; stroke-linejoin: round; transition: opacity .25s; }
.map .line.m { stroke: var(--red); } .map .line.c { stroke: var(--blue); }
.map .line.a { stroke: var(--green); } .map .line.w { stroke: var(--yellow); }
.map .stop { fill: var(--sheet); stroke: var(--ink); stroke-width: 4; transition: opacity .25s; }
.map .hub { fill: var(--sheet); stroke: var(--ink); stroke-width: 5; }
.map text { font: 600 28px var(--body); fill: var(--ink); }
/* pointing at a service in the key picks out its line (static/assets/site.js sets data-on) */
.system[data-on] .line, .system[data-on] .stop { opacity: 0.16; }
.system[data-on="m"] .m, .system[data-on="c"] .c, .system[data-on="a"] .a, .system[data-on="w"] .w { opacity: 1; }
/* The lines draw themselves in once, on load. The drawn state is the default: the hidden
   start exists only inside the animation, so with reduced motion (or if the animation
   never runs) the map is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .map .line { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.4s cubic-bezier(.16,1,.3,1) both; }
  .map .line.c { animation-delay: .08s; } .map .line.a { animation-delay: .16s; } .map .line.w { animation-delay: .24s; }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}

/* the key under the map doubles as the way into each service */
.key { display: grid; gap: 0.25rem 2rem; padding-block: 1.25rem clamp(2.5rem, 5vw, 4rem); }
.key a { display: flex; align-items: center; gap: 0.8rem; padding: 0.55rem 0; font-weight: 600; text-decoration: none; }
.key a:hover span:last-child { text-decoration: underline; text-decoration-thickness: 2px; }
@media (min-width: 40rem) { .key { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68rem) { .key { grid-template-columns: repeat(4, auto); justify-content: space-between; } }

/* a line's letter. l-m, l-c, l-a and l-w give an element its line's colour (--c) and the
   colour of a letter on it (--on). */
.bullet { display: inline-grid; place-items: center; flex: none; width: var(--bullet); height: var(--bullet); border-radius: 50%; background: var(--c); color: var(--on); font: 700 1.5rem/1 var(--sign); }
.l-m { --c: var(--red); --on: #fff; } .l-c { --c: var(--blue); --on: #fff; }
.l-a { --c: var(--green); --on: #fff; } .l-w { --c: var(--yellow); --on: var(--ink); }

/* ---------- how we run it: one long sign panel ---------- */
.promises { display: grid; }
.promises li { padding: 1.75rem 0; border-top: 1px solid var(--panel-rule); }
.promises li:first-child { border-top: 0; }
.promises strong { display: block; font: 700 1.75rem/1.05 var(--sign); letter-spacing: -0.005em; margin-bottom: 0.4rem; }
.promises span { color: var(--panel-muted); }
@media (min-width: 48rem) {
  .promises { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .promises li:nth-child(2) { border-top: 0; }
}
@media (min-width: 72rem) {
  .promises { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .promises li { border-top: 0; border-left: 1px solid var(--panel-rule); padding: 2.5rem 1.75rem; }
  .promises li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- services: one row per line ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section > .wrap > h2 { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.lines { border-bottom: var(--rule-w) solid var(--ink); }
.line-row { display: grid; gap: 1.5rem 3rem; padding-block: 2.5rem; border-top: var(--rule-w) solid var(--ink); }
.line-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.line-head h3 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.line-row p { max-width: 32rem; color: var(--muted); }
/* the stops: a vertical line on small screens, a horizontal one from 62rem. A row holds
   three or four stops; they share the width equally, so a fifth would still fit. */
.stops { position: relative; display: grid; gap: 1.1rem; padding-left: calc(var(--dot) + 0.85rem); align-self: center; font-weight: 600; }
.stops::before { content: ""; position: absolute; left: calc((var(--dot) - var(--bar)) / 2); top: 0.3rem; bottom: 0.3rem; width: var(--bar); border-radius: 999px; background: var(--c); }
.stops li { position: relative; }
.stops li::before { content: ""; position: absolute; left: calc((var(--dot) + 0.85rem) * -1); top: 0.15rem; width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--sheet); border: var(--ring) solid var(--ink); }
@media (min-width: 62rem) {
  .line-row { grid-template-columns: 5fr 7fr; }
  .stops { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1rem; padding: calc(var(--dot) + 1.15rem) 0 0; }
  /* right: -100vw runs the line off the right edge of the page; .services clips it there */
  .stops::before { left: 0; right: -100vw; top: calc((var(--dot) - var(--bar)) / 2); bottom: auto; width: auto; height: var(--bar); border-radius: 999px 0 0 999px; }
  .stops li::before { left: 0; top: calc((var(--dot) + 1.15rem) * -1); }
  .services { overflow-x: clip; }
}

/* ---------- approach: one route, four stations, on a sign panel ---------- */
.approach { overflow: hidden; }   /* the route line runs past the last station and off the panel */
.approach h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.route { position: relative; display: grid; gap: 2.25rem; padding-left: calc(var(--station) + 1rem); }
.route::before { content: ""; position: absolute; left: calc((var(--station) - var(--bar)) / 2); top: 0.4rem; bottom: -3rem; width: var(--bar); background: var(--panel-text); }
.route li { position: relative; }
.route li::before { content: ""; position: absolute; left: calc((var(--station) + 1rem) * -1); top: 0; width: var(--station); height: var(--station); border-radius: 50%; background: var(--panel); border: 6px solid var(--panel-text); }
.route h3 { font-size: 2.25rem; margin-bottom: 0.5rem; }
.route p { color: var(--panel-muted); max-width: 26rem; }
@media (min-width: 62rem) {
  .route { grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: calc(var(--station) + 1.85rem) 0 0; }
  .route::before { left: 0; right: -100vw; top: calc((var(--station) - var(--bar)) / 2); bottom: auto; width: auto; height: var(--bar); }
  .route li::before { left: 0; top: calc((var(--station) + 1.85rem) * -1); }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 2.5rem 4rem; }
.contact-grid h2 { margin-bottom: 1.25rem; }
.contact-grid p { color: var(--muted); max-width: 30rem; }
.contact-form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 0.8rem 0.9rem; border: var(--rule-w) solid var(--ink); border-radius: var(--radius); background: var(--sheet); color: var(--ink); font: 400 1.125rem/1.4 var(--body); caret-color: var(--accent); }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* a field the form's check has flagged (static/assets/site.js): thicker, not only recoloured */
.field [aria-invalid="true"] { border-color: var(--err); border-width: 3px; }
/* honeypot: off-screen rather than display:none, which bots skip */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.contact-form .form-note { color: var(--muted); max-width: none; }
@media (min-width: 62rem) { .contact-grid { grid-template-columns: 5fr 7fr; } }

/* ---------- footer ---------- */
.site-footer { color: var(--panel-muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.75rem; }
.site-footer nav { display: flex; gap: 1.75rem; }
.site-footer a { color: var(--panel-text); padding: 0.4rem 0; }

/* ---------- the not-found page (templates/404.html): the end of the line ---------- */
.notfound { padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 9vw, 7.5rem); overflow-x: clip; }
.notfound .lede { margin-top: 1.5rem; }
/* a line that comes in from the left edge and stops at a last station */
.terminus { position: relative; width: min(100%, 26rem); height: var(--station); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.terminus::before { content: ""; position: absolute; left: -100vw; right: calc(var(--station) / 2); top: calc((var(--station) - var(--bar)) / 2); height: var(--bar); background: var(--red); }
.terminus::after { content: ""; position: absolute; right: 0; top: 0; width: var(--station); height: var(--station); border-radius: 50%; background: var(--sheet); border: 6px solid var(--ink); }

/* ---------- the blog (templates/blog.html and post.html) ---------- */
/* the top of a page that isn't the home page: a heading and one line under it */
.page-head { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lede { margin-top: 1rem; }
/* the blog's title is a link to its first page that looks like a plain title: no underline,
   no colour change on hover; a keyboard user still gets the focus ring */
.page-head h1 a { color: inherit; text-decoration: none; }

/* The index: one line down the left with a station for each post. The line starts at the
   first station. On a page with older posts after it (.more) the line carries on past
   the last one; on the last page it stops at the last station. */
.blog { padding-bottom: clamp(4rem, 9vw, 7.5rem); }
.timetable { --pad: 1.6rem; --top: calc(var(--pad) + 0.1rem); position: relative; padding-left: calc(var(--dot) + 1.25rem); }
.timetable::before { content: ""; position: absolute; left: calc((var(--dot) - var(--bar)) / 2); top: calc(var(--top) + var(--dot) / 2); bottom: 0; width: var(--bar); background: var(--ink); }
.timetable.more::before { bottom: -1.5rem; }
.timetable li { position: relative; padding-block: var(--pad); }
.timetable li::before { content: ""; position: absolute; z-index: 1; left: calc((var(--dot) + 1.25rem) * -1); top: var(--top); width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--sheet); border: var(--ring) solid var(--ink); }
/* the last page: paper over the line below its last station */
.timetable:not(.more) li:last-child::after { content: ""; position: absolute; left: calc((var(--dot) + 1.25rem) * -1); top: calc(var(--top) + var(--dot) / 2); bottom: 0; width: var(--dot); background: var(--paper); }
.timetable h2 { font-size: clamp(1.7rem, 2.8vw, 2.15rem); line-height: 1.05; }
.timetable h2 a { text-decoration: none; }
.timetable h2 a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.timetable a.permalink { display: block; width: fit-content; margin-top: 0.5rem; font-weight: 600; font-size: 1.0625rem; }
.timetable p { margin-top: 0.6rem; max-width: 44rem; color: var(--muted); }
/* a link post's mark: the arrow and the site its article is on, in words (not a link) */
.timetable .source { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.45rem; font-weight: 600; font-size: 1.0625rem; }
.timetable .source .ext { width: 0.85em; height: 0.85em; margin-left: 0; }
@media (min-width: 62rem) {
  /* the date moves to a column of its own, between the line and the title */
  .timetable li { display: grid; grid-template-columns: 11.5rem 1fr; column-gap: 1.5rem; grid-template-areas: "date title" "date source" "date text"; }
  .timetable .source { grid-area: source; }
  .timetable h2 { grid-area: title; }
  .timetable a.permalink { grid-area: date; margin-top: 0.35rem; align-self: start; }
  .timetable p { grid-area: text; }
}
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; }
.pager span { color: var(--muted); font-weight: 600; }
.pager .btn:last-child { margin-left: auto; }
.btn .back { transform: scaleX(-1); }
.btn:hover .back { transform: scaleX(-1) translateX(4px); }

/* A post's date is a link to the post's own page, on the list and on the post. It looks
   like the plain date it was (underlined only when pointed at), except on a link post's
   own page, where the title leaves the site and the date is the page's address, so it
   is always underlined there. */
a.permalink { color: var(--muted); text-decoration: none; }
a.permalink:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.link-post a.permalink { text-decoration: underline; text-decoration-thickness: 1px; }
.link-post a.permalink:hover { text-decoration-thickness: 2px; }
/* A link post's page: the title leads to another site. The arrow after it is sized to
   the title's own letters. (On the list a link post has the mark styled at .timetable .source.) */
.ext { display: inline-block; width: 0.66em; height: 0.66em; margin-left: 0.16em; vertical-align: 0.02em; }
.post-head h1 a { text-decoration: none; }
.post-head h1 a:hover { text-decoration: underline; text-decoration-thickness: 3px; }

/* one post */
.post { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 9vw, 7.5rem); }
.post-head h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); max-width: 56rem; }
/* the date, then the categories: one under the other on a phone, side by side with a rule
   between them from 40rem */
.post-meta { display: grid; gap: 0.2rem; margin-top: 1.25rem; color: var(--muted); font-weight: 600; }
@media (min-width: 40rem) {
  .post-meta { display: flex; gap: 1.25rem; }
  .post-meta span { padding-left: 1.25rem; border-left: var(--rule-w) solid var(--rule); }
}
/* "Written in 2009…": a service notice. The yellow "!" is decoration; the words carry it. */
.notice { display: flex; align-items: center; gap: 0.8rem; width: fit-content; max-width: 100%; margin-top: 1.5rem; padding: 0.7rem 1.1rem 0.7rem 0.8rem; border: var(--rule-w) solid var(--ink); border-radius: var(--radius); background: var(--sheet); font-weight: 600; }
.notice .bullet { width: 2rem; height: 2rem; font-size: 1.3rem; }

/* A post's text. The reset at the top of this file takes margins and list markers off
   everything, so they are put back here. Old posts are HTML from WordPress, tidied by
   tools/blog-import/import-posts.py; the classes it writes are align-left, align-right,
   align-center, center, table-scroll and gallery. */
.prose { max-width: 42rem; margin-top: clamp(2rem, 4vw, 3rem); overflow-wrap: break-word; }
.prose::after { content: ""; display: block; clear: both; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2, .prose h3, .prose h4 { margin-top: 2.5rem; line-height: 1.05; }
.prose h2 { font-size: 2.1rem; }
.prose h3 { font-size: 1.7rem; }
.prose h4 { font: 700 1.4rem/1.1 var(--sign); }
.prose a { color: var(--accent); }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.6rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li, .prose li > ul, .prose li > ol { margin-top: 0.45rem; }
.prose li::marker { font-weight: 600; }
/* a quotation hangs off a piece of line */
.prose blockquote { margin-inline: 0; padding: 0.15rem 0 0.15rem 1.4rem; border-left: var(--bar) solid var(--ink); }
.prose blockquote > * + * { margin-top: 1rem; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 0.4rem; color: var(--muted); font-size: 1rem; }
.prose .center, .prose .align-center { text-align: center; }
.prose img.align-center { display: block; margin-inline: auto; }
.prose hr { border: 0; border-top: var(--rule-w) solid var(--ink); margin-block: 2.25rem; }
.prose code, .prose pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1rem; }
.prose pre { margin-inline: 0; padding: 1rem; overflow-x: auto; border: var(--rule-w) solid var(--ink); border-radius: var(--radius); background: var(--sheet); line-height: 1.5; }
.table-scroll { overflow-x: auto; }
.prose table { border-collapse: collapse; }
.prose td, .prose th { padding: 0.5rem 0.75rem; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1rem; }
/* pictures WordPress floated beside the text: beside it from 40rem, above it on a phone */
@media (min-width: 40rem) {
  .prose .align-right { float: right; max-width: 50%; margin: 0.3rem 0 1rem 1.75rem; }
  .prose .align-left { float: left; max-width: 50%; margin: 0.3rem 1.75rem 1rem 0; }
}
@media (max-width: 39.99rem) {
  .prose img.align-right, .prose img.align-left { display: block; margin-bottom: 1rem; }
}

/* under a post: the posts either side of it, then the way back to the list */
.post-nav { max-width: 42rem; margin-top: 3.5rem; border-top: var(--rule-w) solid var(--ink); }
.post-nav a { display: block; padding-block: 1.1rem; border-bottom: var(--rule-w) solid var(--ink); text-decoration: none; }
.post-nav span { display: block; color: var(--muted); font-weight: 600; font-size: 1.0625rem; }
.post-nav strong { display: block; margin-top: 0.2rem; font: 700 1.6rem/1.08 var(--sign); }
.post-nav a:hover strong { text-decoration: underline; text-decoration-thickness: 3px; }
.post-all { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
