/* ============================================================
   Darkroom: williejackson.com in the photos.jackson2w.com style.
   Sizes, line heights and gaps come only from w4-grt.css (grt.py v2,
   IBM Plex Sans x/cap 0.7393, 18px on a 680px column).
   Two variants share this file:
     .v-rules     Will's website rules win (sentence-case labels,
                  no decorative numbering, no image hover zoom)
     .v-faithful  the photo site's own choices, kept as they are
   ============================================================ */

@font-face { font-family: "Libre Caslon Text"; src: url("/fonts/caslon-text-italic-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face {
  font-family: "Libre Caslon Display";
  src: url("/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Variable";
  src: url("/fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Variable";
  src: url("/fonts/ibm-plex-sans-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 100 700; font-style: italic; font-display: swap;
}

/* Metric-matched fallbacks (the abernathymagazine.com set, same fonts, from the starter's fonts.mjs): while a web font
   loads, the system font is scaled to its size, so text does not jump when it swaps in. */
@font-face { font-family: "Libre Caslon Display Fallback"; src: local("Georgia"); size-adjust: 83.89%; ascent-override: 115.62%; descent-override: 31.71%; line-gap-override: 0.00%; }
@font-face { font-family: "Libre Caslon Text Fallback"; src: local("Georgia"); size-adjust: 107.22%; ascent-override: 90.47%; descent-override: 24.25%; line-gap-override: 0.00%; }
@font-face { font-family: "IBM Plex Sans Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 101.17%; ascent-override: 101.32%; descent-override: 27.18%; line-gap-override: 0.00%; }
@font-face { font-family: "IBM Plex Mono Fallback"; src: local("Courier New"), local("CourierNewPSMT"); size-adjust: 99.98%; ascent-override: 102.52%; descent-override: 27.50%; line-gap-override: 0.00%; }

/* ── Tokens: the photo site's hex palette, converted to OKLCH ──
   Dark is the default and the brand. The photo popup keeps these dark tokens in light mode too (photos read best on a
   near-black field), which is why .lightbox shares the block: composite tokens like --mount recompute on it. */
:root, .lightbox {
  --bg:       oklch(0.160 0.004 286);   /* #0d0d0f */
  --surface:  oklch(0.202 0.006 286);   /* #161619 */
  --text:     oklch(0.935 0.009 85);    /* #ece9e3, 16:1 on bg */
  --read:     oklch(0.865 0.010 85);    /* essay body, ~12.5:1: softer for long reading on black */
  --muted:    oklch(0.667 0.012 90);    /* #97948c, 6.4:1 */
  --accent:   oklch(0.747 0.089 82);    /* #c9a86a gold, 8.6:1 */
  --red:      oklch(0.557 0.165 32);    /* #c1432f safelight: marks only (3.8:1) */
  --red-text: oklch(0.613 0.140 31);    /* #ca5f4e for text (4.9:1) */
  --focus:    oklch(0.723 0.143 265);   /* #7aa2ff */
  --line:     oklch(1 0 0 / 0.11);
  --mount-1:  oklch(1 0 0 / 0.14);
  --mount-2:  oklch(1 0 0 / 0.09);
  --rule:     oklch(0.37 0.010 85);     /* warm grey hairline: the text's hue, quiet on --surface (Will, 2026-11-12) */

  /* mock.css reads these */
  --color-bg: var(--bg); --color-text: var(--text); --color-accent: var(--accent);

  --font-body: "IBM Plex Sans Variable", "IBM Plex Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Libre Caslon Display", "Libre Caslon Display Fallback", Georgia, serif;
  --font-mono: "IBM Plex Mono", "IBM Plex Mono Fallback", ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* the photo site's double-rule "slide mount": hairline, gap of page, hairline */
  --mount: 0 0 0 1px var(--mount-1), 0 0 0 4px var(--bg), 0 0 0 5px var(--mount-2);
  --mount-depth: inset 0 1px 0 oklch(1 0 0 / 0.06), inset 0 -8px 14px -8px oklch(0 0 0 / 0.6);
  --sprockets: repeating-linear-gradient(to right, transparent 0 5px, oklch(0 0 0 / 0.5) 5px 9px, transparent 9px 16px);
  --shadow-lift: oklch(0 0 0 / 0.7);   /* the drop shadow under a lifted print */
  --logo-ink: 0.92;                    /* logo wall: logos flattened to this grey (invert amount) */
  --logo-op: 0.82;

  color-scheme: dark;
}

/* ── Light mode (Will, 2026-11-18): the toggle in the header sets html[data-theme="light"] (js/theme-init.js applies a
   saved choice before first paint). Palette "mat board" (Will picked C of three trials, same day): a pale grey page with
   white panels and prints, like photographs on a mat. Every text colour is 5:1 or better on both the page and the
   panels (checked with an OKLCH-to-sRGB contrast script). Gold becomes a darker brass so links and labels stay
   readable; the photo popup stays dark. ── */
:root[data-theme="light"] {
  --bg:       oklch(0.915 0.003 286);   /* #e3e3e5 */
  --surface:  oklch(0.985 0.002 286);   /* #fafafb */
  --text:     oklch(0.200 0.006 286);   /* #161619, 14:1 on bg */
  --read:     oklch(0.285 0.008 286);   /* #2a2a2e, 11:1 */
  --muted:    oklch(0.455 0.010 286);   /* #56565c, 5.7:1 */
  --accent:   oklch(0.485 0.095 72);    /* #805514 brass, 5.1:1 */
  --red:      oklch(0.557 0.165 32);
  --red-text: oklch(0.48 0.16 31);      /* #a52c1b, 5.5:1 */
  --focus:    oklch(0.47 0.18 265);     /* #274fbe */
  --line:     oklch(0 0 0 / 0.11);
  --mount-1:  oklch(0 0 0 / 0.13);
  --mount-2:  oklch(0 0 0 / 0.07);
  --rule:     oklch(0.80 0.004 286);    /* #bdbdc0 */
  --mount-depth: inset 0 1px 0 oklch(1 0 0 / 0.7), inset 0 -8px 14px -8px oklch(0 0 0 / 0.06);
  --sprockets: repeating-linear-gradient(to right, transparent 0 5px, oklch(0 0 0 / 0.14) 5px 9px, transparent 9px 16px);
  --shadow-lift: oklch(0.3 0.01 270 / 0.22);
  --logo-ink: 0.2;
  --logo-op: 0.78;
  color-scheme: light;
}

/* ── Base ── */
body.dr {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
/* Film grain over every surface, as on the photo site: inline SVG noise, barely there. */
body.dr::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("/img/wj/noise.svg");
}
::selection { background: var(--accent); color: var(--bg); }
html { scrollbar-color: var(--surface) var(--bg); }

.dr :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: var(--grt-space-sm); top: -4rem; padding: var(--grt-space-2xs) var(--grt-space-xs); background: var(--accent); color: var(--bg); z-index: 1000; }
.skip:focus { top: var(--grt-space-sm); }

/* Links: a 1px gold rule that grows in from the left on hover. */
.dr a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: color 0.15s ease, background-size 0.25s ease;
}
.dr a:hover { color: var(--accent); background-size: 100% 1px; }
.dr .wordmark, .dr .button, .dr .video, .dr .mock-bar a { background-image: none; }

.dr h1, .dr h2, .dr h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
}

/* ── View transitions: the featured title morphs into the essay's h1 ── */
::view-transition-group(*) { animation-duration: 0.4s; animation-timing-function: ease; }

/* ── Shell ── */
.wrap {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: clamp(var(--grt-space-sm), 5vw, var(--grt-space-xl));
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;  /* the two-line wordmark centres against the nav (2026-11-13) */
  justify-content: space-between;
  gap: var(--grt-space-xs) var(--grt-space-md);
  padding-block: var(--grt-space-md);
  border-bottom: 1px solid var(--line);
}
/* Wordmark (Will, 2026-11-13: "P1 final answer", after four rounds of trials; mockups history has them). Libre Caslon
   Display capitals, stacked, both lines the same width, a gold hairline between. Fixed at 1.125rem (18px) rather than
   the fluid step-0: with the fluid size the lines matched on desktop but rendered 3px apart at phone width, cause not
   pinned down; at one fixed size they measure the same on both. Tracking measured in the browser: WILLIE 62px + 5 x
   5.4px, JACKSON 77px + 6 x 2px, both 89px.
   Each line cancels its trailing letter-space with a negative margin so both centre on one axis. */
.wordmark {
  display: inline-grid;
  justify-items: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.wordmark .wm-first { order: 1; letter-spacing: 0.3375rem; margin-right: -0.3375rem; }
.wordmark .wm-last { order: 3; letter-spacing: 0.125rem; margin-right: -0.125rem; }
.wordmark::after { content: ""; order: 2; justify-self: stretch; height: 1px; margin-block: 0.2em 0.16em; background: var(--accent); }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--grt-space-2xs) var(--grt-space-md);
  font-size: var(--grt-step--1);
  line-height: var(--grt-step-lh--1);
  color: var(--muted);
}
.site-nav a { letter-spacing: 1px; }
/* nav in capitals (Will, 2026-11-12: Plex has no true small caps, so caps a size down, tracked open) */
.site-nav a { text-transform: uppercase; font-size: 0.82em; letter-spacing: 0.1em; }
/* with the tracking, five links only fit one phone line on a tighter gap */
@media (max-width: 30rem) { .site-nav { column-gap: var(--grt-space-sm); } }
/* Phones (Will, 2026-11-13): wordmark and nav stacked and centred. Each nav link's trailing letter-space is cancelled on
   the last one so the row centres on its letters, as the wordmark's lines already do. */
@media (max-width: 36rem) {
  .site-header { flex-direction: column; align-items: center; }
  .site-nav { justify-content: center; }
  .site-nav a:last-child { margin-right: -0.1em; }
}
.site-nav [aria-current] { color: var(--text); }

.site-main { flex: 1 0 auto; padding-block: var(--grt-space-lg) var(--grt-space-xl); }

.site-footer {
  padding-block: var(--grt-space-lg);
  color: var(--muted);
  text-align: center;
  font-size: var(--grt-step--1);
  line-height: var(--grt-step-lh--1);
}
/* Contact-sheet edge: a strip of frame ticks in place of a plain rule. */
.site-footer::before {
  content: "";
  display: block;
  height: 8px;
  margin-bottom: var(--grt-space-md);
  background-image: repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px 16px);
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--grt-space-2xs) var(--grt-space-md); margin-bottom: var(--grt-space-xs); }
.footer-nav a { color: var(--text); }
.footer-small { margin: 0; }
.footer-small strong { font-weight: 600; color: var(--text); }
/* rules variant (Will, 2026-11-12): no frame-tick strip, and the footer sits closer to the section above */
.v-rules .site-footer::before { display: none; }
.v-rules .site-header, .v-rules .site-footer { max-width: none; padding-inline: max(clamp(var(--grt-space-sm), 5vw, var(--grt-space-xl)), (100% - 62rem) / 2); }
.v-rules .footer-nav a { text-transform: uppercase; font-size: 0.82em; letter-spacing: 0.1em; }
.v-rules .site-footer { padding-top: var(--grt-space-md); }
/* Back to Top (Will, 2026-11-12): phones only, at the very bottom of the footer; darkroom.js makes the scroll smooth */
.back-to-top { display: none; margin: var(--grt-space-sm) 0 0; }
.back-to-top a { color: var(--accent); text-decoration: none; text-transform: uppercase; font-size: 0.82em; letter-spacing: 0.1em; }
.back-to-top a:hover { color: var(--text); }
@media (max-width: 40rem) { .back-to-top { display: block; } }
/* Footer email capture: the newsletter form pared down to one line. */
.footer-signup { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--grt-space-2xs) var(--grt-space-xs); margin-bottom: var(--grt-space-md); }
.footer-signup label { color: var(--text); }
.footer-signup input { width: 14rem; max-width: 100%; padding: var(--grt-space-3xs) var(--grt-space-2xs); font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--mount-1); border-radius: 3px; }
.footer-signup input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.footer-signup button { padding: var(--grt-space-3xs) var(--grt-space-xs); font: inherit; font-weight: 500; color: var(--bg); background: var(--accent); border: 0; border-radius: 3px; cursor: pointer; }
.footer-signup button:hover { background: var(--text); }
.accent { font-family: var(--font-mono); color: var(--accent); animation: accent-glow 1.8s ease-in-out infinite; }
@keyframes accent-glow {
  0%, 100% { text-shadow: 0 0 3px oklch(1 0 0 / 0.5), 0 0 6px oklch(1 0 0 / 0.3); }
  50% { text-shadow: 0 0 6px oklch(1 0 0 / 0.8), 0 0 12px oklch(1 0 0 / 0.6); }
}

/* ── Hero, with print-registration crosshairs in the corners ── */
.hero {
  position: relative;
  max-width: 58rem;
  margin: 0 auto var(--grt-space-xl);
  padding: var(--grt-space-lg) var(--grt-space-md);
  text-align: center;
}
.hero h1 { margin: 0 0 var(--grt-space-xs); font-size: var(--grt-step-5); line-height: var(--grt-step-lh-5); }
.hero .lede { max-width: 34rem; margin: 0 auto; color: var(--muted); }
.regmark {
  position: absolute;
  font: 14px/1 var(--font-mono);
  color: var(--muted);
  opacity: 0.45;
  user-select: none;
}
.regmark.tl { top: -6px; left: -6px; }
.regmark.tr { top: -6px; right: -6px; }
.regmark.bl { bottom: -6px; left: -6px; }
.regmark.br { bottom: -6px; right: -6px; }
@media (max-width: 700px) { .regmark { display: none; } }

/* ── Reading column ── */
.prose { max-width: var(--grt-content-width); }
.prose p { color: var(--read); text-wrap: pretty; }
.prose em { font-style: italic; }
/* Drop cap on the opening paragraph: the literal first letter, in gold Caslon. */
.prose .lede::first-letter, .prose .dropcap::first-letter {
  font-family: var(--font-display);
  color: var(--accent);
  float: left;
  font-size: calc(var(--grt-step-lh-0) * 2.2);
  line-height: 0.82;
  margin: 0.06em var(--grt-space-2xs) 0 0;
}
.prose h2 {
  display: inline-block;
  margin: var(--grt-space-xl) 0 var(--grt-space-sm);
  padding-bottom: var(--grt-space-3xs);
  border-bottom: 2px solid var(--accent);
  font-size: var(--grt-step-3);
  line-height: var(--grt-step-lh-3);
}
.prose a { text-decoration: underline; text-underline-offset: 0.15em; background-image: none; }

.meta { color: var(--muted); font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); font-variant-numeric: tabular-nums; }
.more { margin: var(--grt-space-sm) 0 0; }
.more a { color: var(--accent); }

/* ── Home: featured essay ── */
.featured { max-width: var(--grt-content-width); margin: 0 auto var(--grt-space-xxl); }
.featured-title { margin: 0; font-size: var(--grt-step-4); line-height: var(--grt-step-lh-4); }
.featured .meta { margin: var(--grt-space-2xs) 0 var(--grt-space-md); }

/* ── Home: the rest of the essays, as a table of contents ── */
.essay-index { list-style: none; padding: 0; margin: 0 auto var(--grt-space-md); max-width: var(--grt-content-width); }
/* D: titles only, a dotted leader to the date, like a table of contents. */
.essay-index { display: grid; gap: var(--grt-space-xs); }
.essay-index li { display: flex; align-items: baseline; gap: var(--grt-space-2xs); }
.essay-index a { color: var(--text); font-size: var(--grt-step-1); line-height: var(--grt-step-lh-1); }
.el-leader { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted var(--line); transform: translateY(-0.3em); }
.essay-index time { font-family: var(--font-mono); font-size: var(--grt-step--1); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 30rem) { .essay-index li { flex-direction: column; gap: 0; } .el-leader { display: none; } }
.sheet > h2, .sheet > .more { max-width: var(--grt-content-width); margin-inline: auto; }

/* ── Home: "More essays" ── */
.sheet { margin-bottom: var(--grt-space-xxl); }
.sheet > h2 { margin: 0 auto var(--grt-space-md); font-size: var(--grt-step-3); line-height: var(--grt-step-lh-3); }

/* ── The slide-mount panel (newsletter, bio, stat card) ── */
.mount {
  position: relative;
  max-width: var(--grt-content-width);
  margin-inline: auto;
  padding: var(--grt-space-lg) var(--grt-space-md) var(--grt-space-md);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: var(--mount), var(--mount-depth);
}
.mount::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 9px;
  background-image: var(--sprockets);
  opacity: 0.8;
}
.newsletter { text-align: center; }
.newsletter h2 { margin: 0 0 var(--grt-space-2xs); font-size: var(--grt-step-3); line-height: var(--grt-step-lh-3); }
.newsletter p { color: var(--muted); margin: 0 auto var(--grt-space-sm); max-width: 30rem; }
.nl-form { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--grt-space-xs); }
.nl-form input {
  flex: 1 1 15rem;
  max-width: 22rem;
  padding: var(--grt-space-2xs) var(--grt-space-xs);
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--mount-1);
  border-radius: 2px;
}
.nl-form input::placeholder { color: var(--muted); }
.nl-form button, .button {
  display: inline-block;
  padding: var(--grt-space-2xs) var(--grt-space-sm);
  font: inherit;
  color: var(--bg);
  background: var(--accent);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.dr .button { color: var(--bg); text-decoration: none; }
.nl-form button:hover, .dr .button:hover { color: var(--bg); background: var(--text); }

/* ── Essay page ── */
.breadcrumb {
  display: flex;
  gap: var(--grt-space-2xs);
  max-width: var(--grt-content-width);
  margin: 0 auto var(--grt-space-md);
  color: var(--muted);
  font-size: var(--grt-step--1);
  line-height: var(--grt-step-lh--1);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb-sep { opacity: 0.5; }
.essay { max-width: var(--grt-content-width); margin: 0 auto var(--grt-space-xl); }
.essay-head h1 { margin: 0; font-size: var(--grt-step-5); line-height: var(--grt-step-lh-5); }
.essay-head .meta { margin: var(--grt-space-2xs) 0 var(--grt-space-lg); }
.bio { display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--grt-space-sm); align-items: center; margin: var(--grt-space-lg) 0; padding: var(--grt-space-md) var(--grt-space-sm) var(--grt-space-sm); }
.bio img { width: 4.5rem; height: 4.5rem; object-fit: cover; object-position: 50% 20%; border-radius: 50%; box-shadow: 0 0 0 1px var(--mount-1), 0 0 0 3px var(--surface), 0 0 0 4px var(--mount-2); }
.bio p { margin: 0; color: var(--muted); font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); }
.bio strong { color: var(--text); font-weight: 600; }

/* ── About ── */
.about { margin: 0 auto var(--grt-space-xl); }
.about h1 { margin: 0 0 var(--grt-space-md); font-size: var(--grt-step-5); line-height: var(--grt-step-lh-5); }
/* A photograph shown as a print on a lightbox: slide mount plus the enlarger's soft vignette. */
.print { position: relative; margin: var(--grt-space-lg) auto; border-radius: 3px; overflow: hidden; box-shadow: var(--mount); }
.print::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 60%, oklch(0 0 0 / 0.32) 100%); }
.print img { width: 100%; height: auto; }
.portrait { float: right; width: clamp(7.5rem, 30%, 12.5rem); margin: 0.4em 0 var(--grt-space-sm) var(--grt-space-md); }
.about .hits { clear: both; }
/* The About lede: one large, heavier statement above the headshot; no drop cap. */
.prose .about-lede { margin: 0 0 var(--grt-space-lg); font-size: var(--grt-step-1); line-height: var(--grt-step-lh-1); font-weight: 500; color: var(--text); text-wrap: wrap; max-width: none; }
.prose .about-lede::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
.print img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.specs { list-style: none; padding: 0; margin: 0 0 var(--grt-space-md); display: grid; gap: var(--grt-space-xs); color: var(--read); }
.specs li { display: grid; grid-template-columns: 7rem 1fr; gap: var(--grt-space-sm); padding-bottom: var(--grt-space-xs); border-bottom: 1px solid var(--line); }
.spec-when { font-family: var(--font-mono); font-size: var(--grt-step--1); color: var(--accent); font-variant-numeric: tabular-nums; padding-top: 0.15em; }
.action { text-align: right; }
@media (max-width: 30rem) { .specs li { grid-template-columns: 1fr; gap: 0; } }

/* Greatest Hits: the photo site's About bullets. Red mono "∴", one run of text per item, no rules. */
.section-intro { margin: 0 0 var(--grt-space-sm); color: var(--muted); }
.hits-list, .hits-sub { list-style: none; padding: 0; margin: 0; }
.hits-list { display: grid; gap: var(--grt-space-xs); margin-bottom: var(--grt-space-md); color: var(--muted); }
.hits-sub { display: grid; gap: var(--grt-space-2xs); margin-top: var(--grt-space-2xs); }
.hits-list li { position: relative; padding-left: 1.4em; }
.hits-list li::before { content: "\2234"; position: absolute; left: 0; color: var(--red); font-family: var(--font-mono); }
.hit-title { color: var(--text); font-weight: 600; }
.hit-title a { color: var(--text); }

/* Speaking and testimonials sit outside the article but share its headings. */
.speaking, .praise, .about-close { margin: 0 auto var(--grt-space-xl); }
.speaking { max-width: 58rem; }
.praise, .about-close { max-width: var(--grt-content-width); }
.speaking .section-head { max-width: var(--grt-content-width); margin-inline: auto; }
.speaking h2, .praise > h2, .band-heading {
  display: inline-block;
  margin: 0 0 var(--grt-space-md);
  padding-bottom: var(--grt-space-3xs);
  border-bottom: 3px solid var(--accent);
  font-size: var(--grt-step-3);
  line-height: var(--grt-step-lh-3);
}
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--grt-space-md); }
.reel { margin: 0; }
.video { display: block; margin: 0; aspect-ratio: 16 / 9; }
.video img { height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing::after { display: none; }
/* the live player sits under the photo; clicks pass through the photo to it (darkroom.js) */
.video::after { pointer-events: none; }
.yt-cover { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.yt-cover picture, .yt-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yt-live.is-playing .yt-cover { display: none; }
.yt-live:hover .play { background: oklch(0 0 0 / 0.8); }
.play {
  position: absolute; inset: 0; margin: auto; z-index: 1;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: oklch(0 0 0 / 0.55); box-shadow: 0 0 0 1px var(--accent);
  transition: background 0.15s ease;
}
.play::before { content: ""; position: absolute; left: 1.35rem; top: 1.05rem; border-style: solid; border-width: 0.7rem 0 0.7rem 1.15rem; border-color: transparent transparent transparent var(--accent); }
.video:hover .play, .video:focus-visible .play { background: oklch(0 0 0 / 0.8); }
.reel figcaption { margin-top: var(--grt-space-xs); font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); color: var(--text); }
.reel-place { display: block; font-family: var(--font-mono); color: var(--muted); }

/* Testimonials: all one style, italic, set in from a thin bar so they read as pull quotes. */
.quote { margin: 0 0 var(--grt-space-lg); padding-left: var(--grt-space-sm); border-left: 2px solid var(--muted); }
.quote blockquote { margin: 0; padding: 0; border: 0; }
.quote blockquote p { margin: 0 0 var(--grt-space-xs); color: var(--read); font-style: italic; text-wrap: pretty; }
.quote figcaption { margin-top: var(--grt-space-xs); font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); color: var(--muted); }
.quote figcaption strong { display: block; color: var(--text); font-weight: 600; }
.about-close .action { text-align: center; }

/* ── CV: a reading column; roles split by space, not rules; dates in mono gold ── */
.cv { max-width: var(--grt-content-width); margin: 0 auto var(--grt-space-xl); color: var(--read); }
.cv-head { margin-bottom: var(--grt-space-lg); }
.cv h1 { margin: 0; font-size: var(--grt-step-5); line-height: var(--grt-step-lh-5); }
.cv-headline { margin: var(--grt-space-2xs) 0 0; font-size: var(--grt-step-1); line-height: var(--grt-step-lh-1); color: var(--text); }
.cv-contact { margin: var(--grt-space-2xs) 0 0; color: var(--muted); font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); }
.cv-contact a { color: var(--accent); }
/* title band + breadcrumb lined up with a 680 text column, as About does (CV, Contact, Posts; Will 2026-11-18) */
.col-top { max-width: var(--grt-content-width); margin-inline: auto; }
/* the first heading starts just under the breadcrumb, as content does on About and Events (Will, 2026-11-18) */
.v-rules .cv > section:first-of-type > h2 { margin-top: 0; }
.cv h2 {
  display: inline-block;
  margin: var(--grt-space-lg) 0 var(--grt-space-sm);
  padding-bottom: var(--grt-space-3xs);
  border-bottom: 3px solid var(--accent);
  font-size: var(--grt-step-2);
  line-height: var(--grt-step-lh-2);
}
.cv p { margin: 0 0 var(--grt-space-sm); text-wrap: pretty; }
.cv-skills { margin: 0; display: grid; gap: var(--grt-space-xs); }
.cv-skills div { display: grid; grid-template-columns: 13.5rem 1fr; gap: 0 var(--grt-space-sm); }
.cv-skills dt { color: var(--text); font-weight: 600; }
.cv-skills dd { margin: 0; color: var(--muted); }
.cv-role { margin-bottom: var(--grt-space-md); }
.cv-role-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 var(--grt-space-sm); }
.cv-role h3 { margin: 0; font-family: var(--font-body); font-size: var(--grt-step-0); line-height: var(--grt-step-lh-0); font-weight: 600; color: var(--text); }
.cv .cv-dates { margin: 0; font-family: var(--font-mono); font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); color: var(--accent); }
.cv .cv-org { margin: 0 0 var(--grt-space-2xs); color: var(--muted); font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); }
.cv-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--grt-space-2xs); }
.cv-bullets li { position: relative; padding-left: 1.4em; }
.cv-bullets li::before { content: "\2234"; position: absolute; left: 0; color: var(--red); font-family: var(--font-mono); }
.cv-degree strong { color: var(--text); }
@media (max-width: 40rem) { .cv-skills div { grid-template-columns: 1fr; } }
/* Printing the CV gives plain black on white, with no site chrome. */
@media print {
  .dr .mock-bar, .dr .skip, .dr .site-header, .dr .site-footer, .dr .breadcrumb, .dr .theme-toggle { display: none; }
  .dr, .dr body, .cv, .cv *, .cv-band, .cv-band * { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .v-rules .cv-band { margin: 0; padding: 0 0 0.5rem; border: 0; clip-path: none; }
  .cv h2 { border-color: #000; }
  .cv-role { break-inside: avoid; }
}

/* ── Plain pages (consulting, sessions, contact, notices) ── */
.page { max-width: var(--grt-content-width); margin: 0 auto var(--grt-space-xl); }
.page h1 { margin: 0 0 var(--grt-space-md); font-size: var(--grt-step-5); line-height: var(--grt-step-lh-5); }
.page.short { min-height: 40vh; }
.page .essay-index { margin-inline: 0; }
.page .about-lede { margin-bottom: var(--grt-space-md); }
.page.prose h2 { margin-top: var(--grt-space-lg); }
.prose .essay-index a { text-decoration: none; }
.center { text-align: center; }
.action.center { margin-top: var(--grt-space-lg); }
/* The photo site's About bullets, for any plain list in page content. */
.dr-list { list-style: none; padding: 0; margin: 0 0 var(--grt-space-md); display: grid; gap: var(--grt-space-xs); color: var(--read); }
.dr-list li { position: relative; padding-left: 1.4em; }
.dr-list li::before { content: "\2234"; position: absolute; left: 0; color: var(--red); font-family: var(--font-mono); }
.dr-list strong { color: var(--text); font-weight: 600; }
.session .quote { margin-top: var(--grt-space-sm); }

/* Contact form: the newsletter's fields, stacked with visible labels. */
.dr-form { margin-top: var(--grt-space-md); }
.dr-form p { margin: 0 0 var(--grt-space-sm); }
.dr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--grt-space-sm); }
@media (max-width: 30rem) { .dr-form-row { grid-template-columns: 1fr; } }
.dr-form label { display: block; margin-bottom: var(--grt-space-3xs); color: var(--text); font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); font-weight: 500; }
.dr-form input, .dr-form textarea, .dr-form select { width: 100%; padding: var(--grt-space-2xs) var(--grt-space-xs); font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--mount-1); border-radius: 2px; }
.dr-form textarea { resize: vertical; }
/* iOS Safari gives a date input an intrinsic minimum width (it ran past the other fields on phones, Will 2026-11-17)
   and centres its value; drop the native appearance, let the grid cell shrink it, and keep its height and alignment. */
.dr-form-row > p { min-width: 0; }
.dr-form input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; min-height: calc(1lh + 2 * var(--grt-space-2xs) + 2px); }
.dr-form input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.dr-form input:focus-visible, .dr-form textarea:focus-visible, .dr-form select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.prose .dr-form-note { color: var(--muted); font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.5; }

/* ── All posts: the home page's titles list, grouped by year ── */
.archive { max-width: var(--grt-content-width); margin: 0 auto var(--grt-space-xl); }
.archive h1 { margin: 0; font-size: var(--grt-step-5); line-height: var(--grt-step-lh-5); }
.archive h2 { margin: var(--grt-space-lg) 0 var(--grt-space-sm); font-family: var(--font-mono); font-size: var(--grt-step-0); line-height: var(--grt-step-lh-0); color: var(--accent); font-weight: 400; }
.archive .essay-index { margin-inline: 0; }

/* ════════════════════════════════════════════════════════════
   Faithful variant: the three things Will's rules ban, kept as
   the photo site has them.
   ════════════════════════════════════════════════════════════ */
/* 1. Small uppercase letter-spaced labels */
.v-faithful .site-nav,
.v-faithful .footer-nav,
.v-faithful .meta,
.v-faithful .breadcrumb,
.v-faithful .stat-label { text-transform: uppercase; letter-spacing: 0.12em; font-size: var(--grt-space-xs); }
/* 2. N° numbering: frame badges, the essay's place in the run, a 01-04 spec list */
.frame-badge {
  position: absolute;
  top: 14px; right: 12px;
  padding: 3px 8px 4px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: var(--grt-space-xs);
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--bg);
}
.v-faithful .specs--numbered { counter-reset: spec; }
.v-faithful .specs--numbered li { counter-increment: spec; grid-template-columns: 2.6em 7rem 1fr; }
.v-faithful .specs--numbered li::before { content: counter(spec, decimal-leading-zero); font-family: var(--font-mono); color: var(--accent); }
@media (max-width: 30rem) { .v-faithful .specs--numbered li { grid-template-columns: 2.6em 1fr; } .v-faithful .specs--numbered li > span:last-child { grid-column: 2; } }
.stat-card { margin: var(--grt-space-lg) 0; padding: var(--grt-space-lg) var(--grt-space-md) var(--grt-space-md); }
.stat-grid { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--grt-space-md) var(--grt-space-lg); }
.stat-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat-number { font-family: var(--font-mono); font-size: var(--grt-step-3); line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent); }
.stat-label { margin-top: var(--grt-space-3xs); color: var(--muted); }
/* 3. Photo zoom on hover */
.v-faithful .print img { transition: transform 0.4s ease; }
.v-faithful .print:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ── Homepage intro (Will chose option E, 2026-11-12): who Will is, the signup and his portrait,
   on a full-width raised band above the latest post. Options A–F were mocked as separate home pages and retired. ── */
.intro { display: grid; grid-template-columns: 1fr clamp(7rem, 32%, 19rem); column-gap: var(--grt-space-xl); align-items: start; max-width: 62rem; margin: 0 auto; padding-block: var(--grt-space-xl); }
/* the band starts flush under the nav: cancel the page's top padding, and let the colour change be the separator */
.intro-e { margin-top: calc(-1 * var(--grt-space-lg)); }
body:has(.intro-e) .site-header { border-bottom-color: transparent; }
/* the band: full viewport width without overflow (spread shadow, clipped to the section's own height) */
.intro-e, .posts-band { background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
/* full-width warm-grey hairlines where the band meets the nav and the first post (Will, 2026-11-12).
   border-image-outset paints them edge to edge without widening the page (it is ink overflow, not scroll overflow) */
.intro-e, .posts-band { border-block: 1px solid var(--rule); border-image: linear-gradient(var(--rule) 0 0) 1 / 1px 0 / 0 100vmax; }
/* home rhythm: intro band, then speaking on the page colour, then the posts on a second band that runs down to the footer */
/* one grid for the whole home page (Will, 2026-11-12): every section is the intro's 62rem, left edges shared;
   reading text keeps the post measure but starts on that same edge */
.intro-e + .speaking { max-width: 62rem; margin: 0 auto; padding-block: var(--grt-space-xl); }
.intro-e + .speaking .section-head { max-width: var(--grt-content-width); margin-inline: auto; text-align: center; }
/* centred section headings on home (Will, 2026-11-12, trial): the gold rule stays the width of the words */
.intro-e + .speaking h2, .posts-band .band-heading { display: table; margin-inline: auto; }
.intro-e + .speaking .section-intro { margin-bottom: var(--grt-space-md); color: var(--read); }
.posts-band { max-width: 62rem; padding-top: var(--grt-space-xl); margin: 0 auto calc(-1 * var(--grt-space-xl)); }
.posts-band .latest, .posts-band .sheet > h3, .posts-band .essay-index, .posts-band .sheet > .more { margin-inline: 0; }
.posts-band .latest { max-width: none; }
.posts-band .teaser { max-width: var(--grt-content-width); }
.posts-band .sheet { margin-bottom: 0; padding-bottom: var(--grt-space-xl); }
/* posts band: section heading like the speaking one, then a teaser of the latest post, then the next ten */
.latest { max-width: var(--grt-content-width); margin: 0 auto var(--grt-space-xl); }
.teaser-title { margin: 0; font-size: var(--grt-step-2); line-height: var(--grt-step-lh-2); }
.teaser .meta { margin: var(--grt-space-2xs) 0 var(--grt-space-sm); }
.teaser .prose p { margin: 0; }
.teaser .prose p + p { margin-top: var(--grt-space-sm); }
.posts-band .sheet > h3 { max-width: var(--grt-content-width); margin: 0 0 var(--grt-space-sm); font-size: var(--grt-step-1); line-height: var(--grt-step-lh-1); }
.intro p { margin: 0 0 var(--grt-space-sm); }
.intro .print { margin: 0; box-shadow: var(--mount), 0 24px 48px -16px var(--shadow-lift); }
.intro .intro-portrait { grid-column: 2; grid-row: 1; margin: 0.5rem 0 0; } /* meets the lede's cap height, not its line box */
.intro .intro-text { grid-column: 1; grid-row: 1; }
.intro-portrait-inline { display: none; margin: 0; }
.intro-portrait-inline .print { margin: 0; box-shadow: var(--mount); }
.intro-lede { font-family: var(--font-display); font-weight: 400; font-size: calc(var(--grt-step-4) * 0.9); line-height: 1.16; letter-spacing: -0.005em; color: var(--text); text-wrap: balance; }
.intro .intro-lede { margin-bottom: var(--grt-space-md); }
/* Home speaking line (Will, 2026-11-18): no heading; the sentence takes the lede's display size, on a wider measure */
.intro-e + .speaking-home .section-head { max-width: 50rem; }
.speaking-lede { margin: 0 0 var(--grt-space-lg); font-family: var(--font-display); font-weight: 400; font-size: calc(var(--grt-step-4) * 0.9); line-height: 1.16;
  letter-spacing: -0.005em; color: var(--text); text-wrap: balance; }
/* Will, 2026-11-13: the signup came out of the intro and this paragraph went up a size to fill the space it left */
.intro-now { max-width: 36rem; color: var(--read); font-size: var(--grt-step-1); line-height: 1.5; }
.intro-now a:hover, .speaking .section-intro a:hover { text-decoration-color: var(--accent); }
.intro-now a[href$="contact/"] { white-space: nowrap; }  /* "Get in touch" was breaking after Get */
.intro-portrait figcaption { margin-top: var(--grt-space-md); padding-left: var(--grt-space-xs); border-left: 2px solid var(--accent); color: var(--muted); font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); }
.intro-portrait figcaption strong { font-weight: 600; color: var(--text); }
.intro-portrait figcaption a { color: var(--accent); }
/* the caption is a wall label: a safelight-gold rule on its left */
/* the label stays for screen readers; the paragraph above already says what the field is for */
@media (max-width: 40rem) {
  /* phones: the text wraps under the portrait, as on About */
  .intro { display: block; padding-block: var(--grt-space-lg); }
  /* phones: the photo stays but its caption goes; the text wraps around it (Will, 2026-11-12) */
  .intro { display: flow-root; }
    /* the lede runs full width as a headline; the photo floats right into the paragraph below it (Will chose C) */
  .intro .intro-portrait { display: none; }
  .intro-portrait-inline { display: block; float: right; width: 38%; margin: 0.35em 0 var(--grt-space-xs) var(--grt-space-sm); }
  .intro-lede, .speaking-lede { font-size: calc(var(--grt-step-2) * 0.94); line-height: 1.2; }
  .intro-now { font-size: calc(var(--grt-step-0) * 1.08); line-height: 1.6; }  /* beside the inline photo, step 1 ran 7 lines past it */
  }

/* ── Home section headings + blog spread (Will chose trial 3, 2026-11-12, with option 1's lines) ──
   Section headings: gold Caslon italic, centred between full-width warm-grey hairlines. Post titles stay upright cream. */
.home .speaking h2, .home .band-heading { display: flex; align-items: center; gap: var(--grt-space-md); width: 100%; margin: 0 0 var(--grt-space-lg); padding-bottom: 0; border-bottom: 0; text-align: center; font-family: "Libre Caslon Text", "Libre Caslon Text Fallback", var(--font-display); font-style: italic; font-weight: 400; font-size: var(--grt-step-2); line-height: var(--grt-step-lh-2); color: var(--accent); }
.home .speaking h2::before, .home .speaking h2::after, .home .band-heading::before, .home .band-heading::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.home .speaking .section-head { max-width: none; text-align: center; }
.home .speaking .section-intro { max-width: var(--grt-content-width); margin-inline: auto; }
/* "More posts": a sans-serif subhead, set apart from the Caslon titles */
.home .posts-band .sheet > h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--grt-step-1); line-height: var(--grt-step-lh-1); color: var(--text); }
/* the blog as a spread: heading across the top, the latest post left, the list right, first lines on one baseline */
@media (min-width: 52rem) {
  .home .posts-band { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: var(--grt-space-xl); align-items: baseline; }
  .home .posts-band .latest { display: contents; }
  .home .posts-band .band-heading { grid-column: 1 / -1; }
  .home .posts-band .teaser { grid-column: 1; }
  .home .posts-band .sheet { grid-column: 2; }
  .home .posts-band .sheet > h3 { margin-top: 0; }
  .home .essay-index a { font-size: var(--grt-step-0); line-height: var(--grt-step-lh-0); }
  .home .teaser-title { font-size: var(--grt-step-3); line-height: var(--grt-step-lh-3); }
}

/* ── About, rules variant: brought into line with the home page (Will, 2026-11-12) ──
   Greatest Hits takes the home section heading: gold Caslon italic between hairlines.
   "Read his full CV" is a standalone link: gold, arrow, no underline.
   The close sits nearer the footer, and on phones the portrait matches the home photo (38%). */
.v-rules .about .hits h2 { display: flex; align-items: center; gap: var(--grt-space-md); width: 100%; margin: 0 0 var(--grt-space-lg); padding-bottom: 0; border-bottom: 0; text-align: center; font-family: "Libre Caslon Text", "Libre Caslon Text Fallback", var(--font-display); font-style: italic; font-weight: 400; font-size: var(--grt-step-2); line-height: var(--grt-step-lh-2); color: var(--accent); }
.v-rules .about .hits h2::before, .v-rules .about .hits h2::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.v-rules .about .hits { margin-top: var(--grt-space-xl); }
.v-rules .about .hits .section-intro { text-align: center; }
.v-rules .about .more a { text-decoration: none; }
.v-rules .about .more a:hover { color: var(--text); }
.v-rules .about { margin-bottom: var(--grt-space-lg); }
.v-rules .about-close { margin-bottom: 0; }
@media (max-width: 40rem) {
  .v-rules .about .portrait { width: 38%; margin: 0.35em 0 var(--grt-space-xs) var(--grt-space-sm); }
}
/* About title band (Will, 2026-11-12): the home intro's full-width surface band, flush under the nav, hairline at its lower edge */
.v-rules .title-band { margin: calc(-1 * var(--grt-space-lg)) 0 var(--grt-space-lg); padding-block: var(--grt-space-xl) var(--grt-space-lg); background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); border-bottom: 1px solid var(--rule); border-image: linear-gradient(var(--rule) 0 0) 1 / 0 0 1px / 0 100vmax; }
.v-rules .title-band h1 { margin: 0; }
body:has(.title-band) .site-header { border-bottom-color: transparent; }
/* About close: one centred sentence like the home Speaking intro, inline link underlined cream */
.close-line { margin: 0; text-align: center; color: var(--read); text-wrap: balance; }
.close-line a:hover { text-decoration-color: var(--accent); }
.v-rules .about-close { padding-top: var(--grt-space-lg); border-top: 1px solid var(--rule); }
/* About title line and portrait (Will, 2026-11-12): a subtitle under the name; a larger print that breaks out of the text column.
   Wide screens: half the photo hangs outside the reading column (its right edge lands on the 62rem grid line) and it sits wholly below the title band (Will: no bleed into the header).
   Mid widths: it stays in the column. Phones: a plain float, as on the home page. */
.title-sub { margin: var(--grt-space-2xs) 0 0; font-family: "Libre Caslon Text", "Libre Caslon Text Fallback", var(--font-display); font-style: italic; font-size: var(--grt-step-1); line-height: var(--grt-step-lh-1); color: var(--read); }
.v-rules .about-portrait { position: relative; z-index: 1; width: 40%; margin: 0.4em 0 var(--grt-space-sm) var(--grt-space-md); }
@media (min-width: 66rem) {
  .v-rules .about-portrait { width: 20rem; margin: 0.4em -9.75rem var(--grt-space-sm) var(--grt-space-lg); }
}
@media (max-width: 40rem) {
  .v-rules .about-portrait { width: 38%; margin: 0.35em 0 var(--grt-space-xs) var(--grt-space-sm); }
  .v-rules .title-band { padding-block: var(--grt-space-lg) var(--grt-space-md); }
  .title-sub { font-size: var(--grt-step-0); line-height: var(--grt-step-lh-0); }
}


/* ── Events (Will, 2026-11-12): an index of gatherings and one page per event, rules variant only ──
   Index: contact-sheet rows on the 62rem grid, photo left, text right; dates in mono gold like the CV.
   Event page: the About title band, a full-grid hero print, the reading column, then a contact sheet of photos. */
.event-list { list-style: none; margin: 0 auto; padding: 0; max-width: 62rem; display: grid; gap: var(--grt-space-xl); }
.event-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--grt-space-lg); align-items: center; }
.event-card-photo { display: block; }
.event-card-photo .print { display: block; margin: 0; aspect-ratio: 3 / 2; }
.event-card-photo img { width: 100%; height: 100%; object-fit: cover; }
/* a square group photo cropped to 3:2 keeps the faces (Man Group, 2026-11-17) */
.event-card-photo.pos-top img { object-position: 50% 12%; }
.event-noimg { display: grid !important; place-items: center; background: var(--surface); color: var(--muted); font-family: var(--font-mono); font-size: var(--grt-step--1); }
.event-when { margin: 0 0 var(--grt-space-3xs); font-family: var(--font-mono); font-size: var(--grt-step--1); color: var(--accent); }
.event-title { margin: 0; font-size: var(--grt-step-3); line-height: var(--grt-step-lh-3); }
.event-title a { color: var(--text); text-decoration: none; }
.event-title a:hover { color: var(--accent); }
.event-where { margin: var(--grt-space-2xs) 0 var(--grt-space-xs); color: var(--muted); }
.event-summary { margin: 0 0 var(--grt-space-xs); color: var(--read); }
@media (max-width: 40rem) { .event-card { grid-template-columns: 1fr; gap: var(--grt-space-sm); } }
.v-rules main:has(.event-list) .about-close, .v-rules main:has(.event) .about-close { max-width: var(--grt-content-width); margin-top: var(--grt-space-xl); padding-top: var(--grt-space-lg); border-top: 1px solid var(--rule); }

.event { max-width: 62rem; margin: 0 auto; }
.event-hero { margin: 0 0 var(--grt-space-lg); }
.event-role { white-space: nowrap; }
@media (max-width: 40rem) { .event-role { display: block; white-space: normal; } .event-role > [aria-hidden] { display: none; } }
/* a small square phone photo (886 px) shown at a size it can fill, not stretched to 62rem */
.event-hero.is-square { max-width: 30rem; margin-inline: auto; }
.event-body { max-width: var(--grt-content-width); margin: 0 auto; }
/* sideBySide events (Man Group): photo left, copy right, the Events list's split and breakpoint */
@media (min-width: 40rem) { .event.is-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--grt-space-lg); align-items: center; } .event.is-side .event-hero { max-width: none; margin: 0; } .event.is-side .event-body { max-width: none; margin: 0; } .event.is-side .event-body > :last-child { margin-bottom: 0; } }
.event-sub { margin: var(--grt-space-md) 0 var(--grt-space-2xs); font-family: var(--font-body); font-weight: 600; font-size: var(--grt-step-1); line-height: var(--grt-step-lh-1); }
.event-people { color: var(--read); }
.event-body .more a { text-decoration: none; }
.event-body .more a:hover { color: var(--text); }
.event-photos { margin-top: var(--grt-space-xl); }
.section-rule { display: flex; align-items: center; gap: var(--grt-space-md); margin: 0 0 var(--grt-space-lg); font-family: "Libre Caslon Text", "Libre Caslon Text Fallback", var(--font-display); font-style: italic; font-weight: 400; font-size: var(--grt-step-2); line-height: var(--grt-step-lh-2); color: var(--accent); }
.section-rule::before, .section-rule::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.contact-sheet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: var(--grt-space-sm); }
.contact-sheet .print { display: block; margin: 0; aspect-ratio: 3 / 2; }
.contact-sheet img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
/* tall photos cropped to 3:2 keep the head in frame (portraits of a speaker: face in the top fifth) */
.contact-sheet .is-tall img { object-position: 50% 18%; }
.contact-sheet a:hover img { transform: scale(1.03); }
@media (max-width: 40rem) { .contact-sheet { grid-template-columns: 1fr 1fr; gap: var(--grt-space-2xs); } }
.photo-credit { margin: var(--grt-space-sm) 0 0; color: var(--muted); font-size: var(--grt-step--1); text-align: right; }
.event-pending { max-width: var(--grt-content-width); margin: var(--grt-space-lg) auto 0; color: var(--muted); font-style: italic; }
.event-nav { display: flex; justify-content: space-between; gap: var(--grt-space-md); max-width: 62rem; margin: var(--grt-space-xl) auto 0; padding-top: var(--grt-space-md); border-top: 1px solid var(--rule); }
.event-nav a { max-width: 45%; color: var(--text); text-decoration: none; }
.event-nav a:hover { color: var(--accent); }
.event-nav span { display: block; color: var(--accent); font-size: var(--grt-step--1); text-transform: uppercase; letter-spacing: 0.1em; }
.event-nav-older { margin-left: auto; text-align: right; }
.post-nav { max-width: var(--grt-content-width); }
.event-nav span span { display: inline; color: inherit; font-size: inherit; letter-spacing: 0; }
.post-nav-next { margin-left: auto; text-align: right; }
/* Events: a title band that sits straight in main (not inside an article) lines up with the 62rem grid */
.v-rules main > .title-band { max-width: 62rem; margin-inline: auto; }
.event-title { text-wrap: balance; }

/* ── Photo popup (dr-gallery.js, Will 2026-11-13, the abernathymagazine.com pattern): the photo on a near-black field,
   arrows at the sides, a count beneath; on phones the arrows sit under the photo. Darkroom colours: a cream hairline
   mount, gold on hover/focus. ── */
html.lb-open { overflow: hidden; }
.event a.lb { display: block; cursor: zoom-in; }
.event-hero a.lb img, .event-hero a.lb picture, .event-hero > picture, .event-hero > picture img { display: block; width: 100%; height: auto; }
.lightbox { position: fixed; inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: var(--grt-space-sm); border: 0; background: transparent; color: var(--text); overflow: hidden; }
.lightbox[open] { display: grid; grid-template-columns: 5rem minmax(0, 1fr) 5rem; align-items: center; }
.lightbox::backdrop { background: oklch(0.11 0.004 286 / 0.97); }
@media (prefers-reduced-motion: no-preference) { .lightbox[open], .lightbox[open]::backdrop { animation: lb-in 160ms ease-out; } }
@keyframes lb-in { from { opacity: 0; } }
.lb-fig { grid-column: 2; margin: 0; display: grid; justify-items: center; gap: var(--grt-space-xs); touch-action: pan-y pinch-zoom; user-select: none; }
.lb-img { display: block; max-width: min(100%, 72rem); max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; border-radius: 3px; box-shadow: var(--mount); background: var(--surface); cursor: pointer; }
.lb-count { font-family: var(--font-mono, "IBM Plex Mono", monospace); font-size: var(--grt-step--1); color: var(--muted); }
.lb-btn { width: 3rem; height: 3rem; display: grid; place-items: center; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: var(--surface); color: var(--text);
  font: 400 1.4rem/1 "IBM Plex Sans Variable", system-ui, sans-serif; cursor: pointer; justify-self: center; }
.lb-btn:hover, .lb-btn:focus-visible { color: var(--accent); border-color: var(--accent); }
.lb-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lb-btn:disabled { opacity: 0.3; cursor: default; color: var(--text); border-color: var(--rule); }
.lb-prev { grid-column: 1; grid-row: 1; } .lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: var(--grt-space-sm); right: var(--grt-space-sm); }
@media (max-width: 40rem) {
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; row-gap: var(--grt-space-sm); }
  .lb-fig { grid-column: 1 / -1; grid-row: 1; align-self: center; }
  .lb-img { max-height: calc(100dvh - 10rem); }
  .lb-prev { grid-column: 1; grid-row: 2; justify-self: end; margin-right: var(--grt-space-xs); } .lb-next { grid-column: 2; grid-row: 2; justify-self: start; margin-left: var(--grt-space-xs); }
}

/* A post title morphs into the post's heading (View Transitions). A class per post, not a style attribute, so the CSP
   can drop style-src 'unsafe-inline'; the 11ty build generates one rule per post. */
.vt-agentic-management { view-transition-name: t-agentic-management; }

/* Events index: the title link covers the whole card (one link per card, abernathymagazine.com's pattern) */
.event-card { position: relative; }
.event-title a::after { content: ""; position: absolute; inset: 0; }
.event-card:hover .event-title a { color: var(--accent); }
.event-card:has(.event-title a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
.event-title a:focus-visible { outline: none; }
/* <picture> (dr-pic.njk) fills its print the way the bare <img> did */
.print picture { display: block; width: 100%; height: 100%; }


/* Imported posts (archive review, 2026-11-16): quotes, separators, lists, photos and videos inside a post. */
.prose blockquote { margin: var(--grt-space-md) 0; padding-left: var(--grt-space-sm); border-left: 2px solid var(--accent); }
.prose blockquote p { font-style: italic; }
.prose hr { margin: var(--grt-space-lg) auto; width: 4rem; border: 0; border-top: 1px solid var(--muted); }
.prose ul, .prose ol { padding-left: 1.25em; color: var(--read); }
.prose li + li { margin-top: var(--grt-space-2xs); }
.post-photo, .post-video { margin: var(--grt-space-lg) 0; }
.post-photo .print, .post-video .print { margin: 0; }
/* "wide": WordPress's extend class (Will, n452: the video in a wide format); wider than the text, centred on the page */
.post-photo.is-wide, .post-video.is-wide { width: min(64rem, calc(100vw - 2 * var(--grt-space-sm))); margin-inline: calc(50% - min(32rem, 50vw - var(--grt-space-sm))); }

/* ── Title band, option A (Will chose 2026-11-16): half the old height, a smaller title, the subtitle in Plex Sans
   instead of Caslon italic. The breadcrumb sits just below the band, at the top of the darker content area. ── */
.v-rules .title-band { margin-bottom: var(--grt-space-md); padding-block: var(--grt-space-xs) var(--grt-space-sm); }
.v-rules .title-band h1 { font-size: var(--grt-step-3); line-height: 1.15; text-wrap: balance; }
.v-rules .title-sub { margin-top: var(--grt-space-3xs); font-family: var(--font-body); font-style: normal; font-size: var(--grt-step-0); line-height: var(--grt-step-lh-0); color: var(--muted); }
.v-rules .title-band + .breadcrumb { margin: calc(-1 * var(--grt-space-xs)) 0 var(--grt-space-md); }
.v-rules main > .title-band + .breadcrumb { max-width: 62rem; margin-inline: auto; }
.prose .breadcrumb a { text-decoration: none; }
@media (max-width: 40rem) {
  .v-rules .title-band { padding-block: var(--grt-space-sm); }
  .v-rules .title-band h1 { font-size: var(--grt-step-2); }
  .v-rules .title-sub { font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); }
}

/* ── Speaking (Will, 2026-11-16): booking path first, then the talks, video, the room, proof, the form ── */
.sp-quotes, .sp-clients { max-width: 62rem; margin: 0 auto var(--grt-space-xl); }
/* Hero (Will chose C, 2026-11-17): no photo; the reel leads, wider than the text column (up to the header's 72rem) and
   capped by the viewport height so the whole reel and its Watch pill fit a laptop screen; statement and button centred. */
.sp-hero { max-width: 46rem; margin: 0 auto var(--grt-space-xl); text-align: center; }
/* .sp-reel (below) resets margin, so this needs the extra class. Gap to the line below: half of xl (40.5px; Will
   2026-11-18 "cut the space … roughly in half" from 81px; no GRT step sits at half: md 31, lg 50) */
.sp-reel.sp-hero-reel { left: 50%; transform: translateX(-50%); width: min(72rem, max(20rem, calc((100svh - 19rem) * 16 / 9)), calc(100vw - 2.5rem)); margin-bottom: calc(var(--grt-space-xl) / 2); }
.sp-hero-line { margin: 0 0 var(--grt-space-md); font-family: var(--font-display); font-size: var(--grt-step-3); line-height: 1.2; color: var(--text); text-wrap: balance; }
.sp-hero .action { margin: 0; text-align: center; }
/* Speaker reel (Will, 2026-11-17). darkroom.js swaps the native controls for a gold "Watch the reel" pill, centred
   on the video (Will), until the first click. */
.sp-reel { position: relative; margin: 0; }
.sp-reel video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; box-shadow: var(--mount); }
.reel-play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.65em; padding: 0.6em 1.15em 0.6em 0.95em;
  border: 0; border-radius: 999px; color: var(--bg); background: var(--accent); font: 500 var(--grt-step-0)/1 var(--font-body); cursor: pointer; box-shadow: 0 2px 20px oklch(0 0 0 / 0.5); }
.reel-play::before { content: ""; border-left: 0.72em solid currentColor; border-block: 0.44em solid transparent; }
.reel-play .t { opacity: 0.68; font-variant-numeric: tabular-nums; }
.reel-play:hover, .reel-play:focus-visible { background: var(--text); }
.reel-play:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

@media (max-width: 40rem) { .reel-play { font-size: var(--grt-step--1); } }
/* ── Speaking testimonials (Will, 2026-11-17: chose A, staggered). Each leads with a short verbatim excerpt. ── */
.sp-quotes blockquote { margin: 0; padding: 0; border: 0; }
.sp-quotes blockquote p { margin: 0 0 var(--grt-space-xs); color: var(--read); text-wrap: pretty; }
.sp-quotes figure { margin: 0; }
.sp-quotes figcaption { font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); color: var(--muted); }
.sp-quotes figcaption strong { display: block; color: var(--text); font-weight: 600; }
.sq-pull { margin: 0; font-family: "Libre Caslon Text", "Libre Caslon Text Fallback", var(--font-display); font-style: italic; color: var(--text); text-wrap: balance; }

/* Two columns, the right one set down by half a card, generous air between cards. */
.sq-a-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grt-space-xl); align-items: start; }
.sq-a-col { display: grid; gap: var(--grt-space-xxl); }
.sq-a-col + .sq-a-col { padding-top: calc(var(--grt-space-xxl) * 1.5); }
.sq-card { padding: var(--grt-space-md) var(--grt-space-md) var(--grt-space-md); background: var(--surface); border-top: 2px solid var(--accent); }
.sq-card .sq-pull { margin-bottom: var(--grt-space-sm); font-size: var(--grt-step-2); line-height: 1.25; }
.sq-card blockquote p { font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); }
.sq-card figcaption { margin-top: var(--grt-space-sm); }
@media (max-width: 48rem) { .sq-a-cols { grid-template-columns: 1fr; gap: var(--grt-space-lg); } .sq-a-col { gap: var(--grt-space-lg); } .sq-a-col + .sq-a-col { padding-top: 0; } }

.sp-book { max-width: var(--grt-content-width); margin: 0 auto var(--grt-space-xl); scroll-margin-top: var(--grt-space-md); }
.sp-book h2 { margin-top: 0; }
@media (max-width: 64rem) {
  .sp-talk { grid-template-columns: 1fr; gap: var(--grt-space-md); }
  .sp-talk:nth-of-type(even) .sp-talk-photo { order: 0; }
}

/* ── Speaking: the NVE keynote loop full width behind the title (Will, 2026-11-17) ── */
body:has(.sp-video-band) { overflow-x: clip; }
.v-rules .title-band.sp-video-band { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(20rem, 48vw, min(40rem, 72vh)); padding-block: var(--grt-space-lg); background: transparent; box-shadow: none; clip-path: none; border: 0; border-image: none; }
.sp-video, .sp-video-band::before { position: absolute; top: 0; left: 50%; width: 100vw; height: 100%; transform: translateX(-50%); }
.sp-video { z-index: -2; object-fit: cover; object-position: 50% 10%; background: #000; }
.sp-video-band::before { content: ""; z-index: -1; background: linear-gradient(to top, oklch(0.11 0.004 286 / 0.88) 0%, oklch(0.11 0.004 286 / 0.35) 45%, oklch(0.11 0.004 286 / 0) 75%); }
.v-rules .sp-video-band h1 { font-size: var(--grt-step-4); line-height: 1.1; text-shadow: 0 1px 12px oklch(0 0 0 / 0.5); }
.sp-video-band .title-sub { color: var(--text); text-shadow: 0 1px 8px oklch(0 0 0 / 0.6); }
.sp-video-toggle { position: absolute; right: 0; bottom: var(--grt-space-lg); padding: 0.35em 0.9em; border: 1px solid oklch(1 0 0 / 0.35); border-radius: 999px;
  background: oklch(0 0 0 / 0.45); color: var(--text); font: inherit; font-size: var(--grt-step--1); cursor: pointer; }
.sp-video-toggle:hover, .sp-video-toggle:focus-visible { border-color: var(--accent); color: var(--accent); }
@media (max-width: 40rem) { .v-rules .sp-video-band h1 { font-size: var(--grt-step-3); } .sp-video-toggle { bottom: auto; top: var(--grt-space-sm); } }
.event-loop { margin: 0; aspect-ratio: 16 / 9; }
.event-loop video { display: block; width: 100%; height: 100%; object-fit: cover; }
.event-loop .sp-video-toggle { z-index: 2; right: var(--grt-space-sm); bottom: var(--grt-space-sm); top: auto; }

/* ── Speaking: client logos (Will, 2026-11-17). A fixed grid of equal cells, 6 / 4 / 3 / 2 across; each logo sized by
   area in wjClients.json (scripts/wj-logos.py), centred in its cell. ── */
.lw { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lw li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: var(--grt-space-sm); }
.lw img { display: block; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
@media (max-width: 64rem) { .lw { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .lw { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lw li { padding: var(--grt-space-xs); } }
@media (max-width: 26rem) { .lw { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Monochrome (Will's pick): every logo flattened to the page's text colour, no boxes, hairline grid between cells. */
.lw { border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.lw li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.lw img { filter: brightness(0) invert(var(--logo-ink)); opacity: var(--logo-op); }

/* ── Posts search (Will, 2026-11-17): top of Posts, foot of the homepage's posts band ── */
.post-search { display: flex; gap: var(--grt-space-xs); max-width: var(--grt-content-width); margin: var(--grt-space-md) auto 0; }
.post-search input { flex: 1; min-width: 0; padding: var(--grt-space-2xs) var(--grt-space-xs); font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--mount-1); border-radius: 2px; }
.post-search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.post-search .button { flex: none; cursor: pointer; border: 0; font: inherit; }
.archive .post-search { margin: var(--grt-space-sm) 0 var(--grt-space-md); }
.sheet .post-search { margin-top: var(--grt-space-md); }
.ps-status { margin: 0 0 var(--grt-space-sm); color: var(--muted); font-size: var(--grt-step--1); }
.ps-status:empty { display: none; }
.ps-results { list-style: none; margin: 0 0 var(--grt-space-lg); padding: 0; display: grid; gap: var(--grt-space-md); }
.ps-results:empty { display: none; }
.ps-results li { padding-top: var(--grt-space-sm); border-top: 1px solid var(--rule); }
.archive .ps-title { margin: 0; padding: 0; border: 0; font-family: inherit; font-size: var(--grt-step-1); line-height: var(--grt-step-lh-1); letter-spacing: normal; text-transform: none; }
.archive .ps-title::before, .archive .ps-title::after { content: none; }
.ps-title a { color: var(--text); text-decoration: none; }
.ps-title a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.ps-results time { display: block; margin-top: 0.15rem; font-family: var(--font-mono); font-size: var(--grt-step--1); color: var(--accent); }
.ps-excerpt { margin: var(--grt-space-2xs) 0 0; color: var(--read); font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); }
.ps-excerpt mark { color: var(--bg); background: var(--accent); padding: 0 0.1em; }

/* ── Light/dark toggle (Will, 2026-11-18; studied from paulstamatiou.com) ──
   One button at the end of the header nav. It shows the current mode (sun in light, moon in dark) and says what a press
   will do. The icon morphs: in dark the disc grows and a second circle slides across it through an SVG mask, leaving a
   crescent, while the rays turn half a revolution and fade. The page itself changes behind a soft-edged circle of the
   new colours that spreads from the button (darkroom.js, View Transitions); reduced motion gets an instant swap. */
.theme-toggle { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin: -0.4rem -0.4rem -0.4rem 0; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--muted); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { width: 1.25rem; height: 1.25rem; overflow: visible; }
.tt-body, .tt-rays { transform-box: fill-box; transform-origin: center; }
.tt-body { transform: scale(1); }
.tt-cut { transform: translate(0, 0); }
.tt-rays { opacity: 1; transform: rotate(0) scale(1); }
:root:not([data-theme="light"]) .tt-body { transform: scale(1.55); }
:root:not([data-theme="light"]) .tt-cut { transform: translate(-7px, 6px); }
:root:not([data-theme="light"]) .tt-rays { opacity: 0; transform: rotate(0.5turn) scale(0.75); }
@media (prefers-reduced-motion: no-preference) {
  .theme-toggle { transition: color 0.2s ease, transform 0.2s ease; }
  .theme-toggle:hover { transform: rotate(-12deg); }
  .theme-toggle:active { transform: scale(0.9); }
  .tt-body, .tt-cut { transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
  .tt-rays { transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease; }
}
.theme-toggle:hover, .theme-toggle:focus-visible { color: var(--accent); }
.site-nav .theme-toggle { align-self: center; }

/* The reveal: the new page grows out of the button inside a feathered circle (a radial-gradient mask, so the CSP's
   img-src needs no data: images). darkroom.js animates the mask's size and position on the pseudo-element. Named
   view transitions are switched off for the moment, so every part of the page changes together under the circle. */
.theme-vt * { view-transition-name: none !important; }
.theme-vt::view-transition-old(root), .theme-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-vt::view-transition-old(root) { z-index: -1; }
.theme-vt::view-transition-new(root) { mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-repeat: no-repeat; mask-size: 0 0; }

/* Links with a permanent underline (home intro and speaking line, About's closing line). Will, 2026-11-18: the gold
   hover line sat a pixel below the grey text underline. Both are background lines in one spot: grey always drawn, gold
   growing over it on hover (.dr a:hover's single size value applies to both layers) and in the toggle's wave. The spot is
   where the text underline used to sit (Will: "I GREATLY prefer where the persistent underline was"), measured in the
   browser: at the bottom of the box for IBM Plex Sans (offset 0.2em), 0.118em above it for Libre Caslon Display (0.12em). */
.intro-now a, .speaking .section-intro a, .speaking-lede a, .close-line a { color: var(--text); text-decoration: none; --ul-lift: 0px;
  background-image: linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--muted), var(--muted));
  background-size: 0% 1px, 100% 1px; background-repeat: no-repeat;
  background-position: 0 calc(100% - var(--ul-lift)), 0 calc(100% - var(--ul-lift)); }
.speaking-lede a { --ul-lift: 0.118em; }

/* ── Writing page (Will, 2026-11-18): this year's and last year's posts in full, then earlier headlines ── */
.wo-post { margin: 0 0 var(--grt-space-lg); }
.wo-post + .wo-post { padding-top: var(--grt-space-lg); border-top: 1px solid var(--rule); }
.wo-head .meta { margin: 0 0 var(--grt-space-2xs); font-family: var(--font-mono); }
.archive .wo-title { margin: 0 0 var(--grt-space-md); font-family: var(--font-display); font-weight: 400; color: var(--text); font-size: var(--grt-step-3); line-height: var(--grt-step-lh-3); text-wrap: balance; }
/* .archive h2 (the old page's mono year labels) would otherwise restyle every h2 here */
.archive.wo .section-rule { margin: 0 0 var(--grt-space-lg); font-family: "Libre Caslon Text", "Libre Caslon Text Fallback", var(--font-display); font-style: italic; font-size: var(--grt-step-2); line-height: var(--grt-step-lh-2); color: var(--accent); }
.wo-title a { color: var(--text); text-decoration: none; }
.wo-title a:hover { color: var(--accent); }
.wo-post .prose h3 { margin: var(--grt-space-lg) 0 var(--grt-space-xs); font-size: var(--grt-step-1); line-height: var(--grt-step-lh-1); }
.wo-post .prose > :last-child { margin-bottom: 0; }
.wo-run { margin-top: var(--grt-space-lg); }
/* the signup opens the page, search closes it (Will, 2026-11-18, fifth pass): the original panel's centred content and
   sizes in a plain box (no film-strip frame) */
/* sixth pass: the film-strip frame back (.mount: shadows, no layout space) with the 9px sprocket strip inside the top
   padding; the heading's line box is trimmed to its letters so the space above them matches the space under the button */
.wo-nl.mount { max-width: none; margin: var(--grt-space-sm) 0 var(--grt-space-lg); padding: calc(9px + var(--grt-space-sm)) var(--grt-space-md) var(--grt-space-sm); text-align: center; }
.archive.wo .wo-nl h2 { text-box: trim-both cap alphabetic; margin: 0 0 var(--grt-space-xs); font-family: var(--font-display); font-size: var(--grt-step-3); line-height: var(--grt-step-lh-3); color: var(--text); }
.wo-nl p { margin: 0 auto var(--grt-space-sm); max-width: 30rem; color: var(--muted); }
.wo-signup { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--grt-space-xs); }
.wo-signup input { flex: 1 1 15rem; max-width: 22rem; padding: var(--grt-space-2xs) var(--grt-space-xs); font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--mount-1); border-radius: 2px; }
.wo-signup input::placeholder { color: var(--muted); }
.wo-signup input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.wo-signup button { padding: var(--grt-space-2xs) var(--grt-space-sm); font: inherit; color: var(--bg); background: var(--accent); border: 0; border-radius: 2px; cursor: pointer; }
.wo-signup button:hover { background: var(--text); }
.wo-earlier { scroll-margin-top: var(--grt-space-md); }
.wo-search { margin-top: var(--grt-space-xl); padding-top: var(--grt-space-lg); border-top: 1px solid var(--rule); }
.ps-archive[hidden] + .wo-search { margin-top: 0; padding-top: 0; border-top: 0; }
.wo-earlier { margin-top: var(--grt-space-xl); }
.wo-ylabel { margin: var(--grt-space-md) 0 var(--grt-space-sm); font-family: var(--font-mono); font-size: var(--grt-step-0); line-height: var(--grt-step-lh-0); color: var(--accent); font-weight: 400; }

/* Forms that send (2026-11-18): the honeypot people never see, the spam check, and the message a form shows when the
   Worker sends someone back (?form=… / ?nl=…, darkroom.js). Empty status lines take no room. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; margin: 0 0 var(--grt-space-sm); }
.form-status { flex-basis: 100%; margin: var(--grt-space-2xs) 0 0; color: var(--red-text); font-size: var(--grt-step--1); line-height: var(--grt-step-lh--1); text-align: center; }
.dr-form .form-status { text-align: left; margin: 0 0 var(--grt-space-sm); }
.form-status:empty { display: none; }

/* A note at the end of a post (Will 2026-11-18: "registration is now closed" on the Next Year Starts Now series): a
   plain box on the panel colour with the site's hairline, no accent bar. */
.prose .post-note { margin: var(--grt-space-lg) 0 0; padding: var(--grt-space-sm) var(--grt-space-md); background: var(--surface); border: 1px solid var(--mount-1); border-radius: 3px; }
.prose .post-note p { margin: 0; }
