/* ---------------------------------------------------------------------
   Christopher Soghoian — site stylesheet

   One system, used everywhere:
   - Serif for reading (body copy, page and section titles); sans for
     apparatus (navigation, dates, tags, counts, buttons, card text).
   - Every inner page opens with the same header band: section eyebrow,
     title, lede. Long pages get an "On this page" rail on the left; list
     pages use the same rail for filters.
   - Rules and quiet surfaces rather than heavy boxes. One accent colour,
     used for links, the active state and the one mark under a heading.
   - Density is managed by disclosure: summaries first, detail one click
     away (source lists, talk examples, secondary filters).
   --------------------------------------------------------------------- */

/* Self-hosted rather than fetched from a font service. */
@font-face {
  font-family: "Source Sans 3 Web";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-roman.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3 Web";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Serif Web";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-serif-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Serif Web";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-serif-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1a1a1f;
  --ink-soft: #3f3f47;
  --muted: #676770;
  --muted-light: #8b8b93;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --band: #f2f0ea;
  --paper-sunk: #f2f0ea;
  --line: #e2dfd6;
  --line-strong: #c3bfb4;
  --accent: #1d3d66;
  --accent-hover: #122a49;
  --accent-soft: #e9eef5;
  --accent-ink: #ffffff;
  --flag: #8a5a1f;
  --flag-soft: #f7efe2;

  --serif: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --measure: 40rem;
  --max-width: 72rem;
  --rail: 13.5rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 20, 30, 0.04), 0 4px 16px rgba(20, 20, 30, 0.04);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ecebe6;
    --ink-soft: #c9c7c0;
    --muted: #9d9aa3;
    --muted-light: #7d7a84;
    --paper: #141418;
    --surface: #1b1b20;
    --band: #1a1a1f;
    --paper-sunk: #1e1e24;
    --line: #2e2e36;
    --line-strong: #464652;
    --accent: #95b8e6;
    --accent-hover: #b9d0ef;
    --accent-soft: #1f2a3a;
    --accent-ink: #0f1420;
    --flag: #d9a866;
    --flag-soft: #2a2319;
    --shadow: none;
  }
}

/* --- base ------------------------------------------------------------ */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; }

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem;
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  margin: 3rem 0 1rem;
}

h3 {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.005em;
  margin: 2rem 0 0.5rem;
}

code { font-family: var(--mono); font-size: 0.86em; }
img { max-width: 100%; height: auto; }

.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.small { font-size: 0.9rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Apparatus type: dates, labels, counts. */
.meta, .eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted);
}
.eyebrow { color: var(--accent); margin: 0 0 0.6rem; }

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0;
}

/* Kept for templates that still mark a heading this way. */
.ruled { display: inline; }

/* --- skip link / focus ---------------------------------------------- */

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1rem; font-family: var(--sans);
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* --- header ---------------------------------------------------------- */

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem var(--gutter);
}

.site-name { text-decoration: none; color: var(--ink); line-height: 1.2; }
.site-name:hover { color: var(--ink); }
.site-name-main { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.site-name-sub { display: block; font-family: var(--sans); font-size: 0.74rem; color: var(--muted); letter-spacing: 0.01em; margin-top: 0.15rem; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; font-family: var(--sans); }

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}
.site-nav a:hover { color: var(--ink); background: var(--band); }
.site-nav a[aria-current] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.site-nav a.site-nav-cta { border: 1px solid var(--line-strong); margin-left: 0.35rem; }
.site-nav a.site-nav-cta[aria-current] { border-color: transparent; }

/* The second row: the current section's pages. */
.subnav { border-top: 1px solid var(--line); }
.subnav-inner {
  display: flex;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  font-family: var(--sans);
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex-shrink: 0;
  padding: 0.7rem 0 0.6rem;
  font-size: 0.84rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }

/* --- layout ---------------------------------------------------------- */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) 3rem;
}

/* The header band that opens every inner page. Full-bleed background from
   inside the centred column, so no template needs an extra wrapper. */
.page-head {
  position: relative;
  padding-block: 2.75rem 2.25rem;
  margin-bottom: 2.5rem;
  border-image: conic-gradient(var(--band) 0 0) fill 0 // 0 100vmax;
}
.page-head h1 { max-width: 28ch; }
.page-head .lede + .lede,
.page-head-note { margin-top: 1rem; }
.page-head-note { max-width: var(--measure); color: var(--ink-soft); }

.page > p, .page > ul, .page > ol, .page > h2, .page > h3,
.page > .notice, .page > details { max-width: var(--measure); }

.prose > h2:first-child,
.prose > .notice:first-child + h2,
.prose > .notice:first-child + img + h2 { margin-top: 0; }

/* Rail beside the main column: filters on list pages, "On this page" on
   long prose pages. Below the breakpoint it stacks above the content. */
.with-rail {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}
/* The rail scrolls on its own when it is taller than the window. Its links
   bleed 0.55rem left for their hover background, so the rail is padded by
   the same amount and pulled back; otherwise that bleed makes the rail
   scroll sideways (overflow-y: auto forces overflow-x to auto too). */
.rail {
  position: sticky;
  top: 1.5rem;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  overflow-x: hidden;
  padding-inline: 0.55rem;
  margin-inline: -0.55rem;
}

@media (max-width: 62rem) {
  .with-rail { grid-template-columns: 1fr; gap: 1.5rem; }
  .rail { position: static; max-height: none; overflow: visible; }
  .rail:has(.toc) { display: none; }
}

.rail-group { margin-bottom: 1.6rem; }

.rail-group h2,
.rail-group h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
  font-weight: 650;
}

/* Foldable filter groups. */
.rail-fold > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.4rem;
}
.rail-fold > summary::-webkit-details-marker { display: none; }
.rail-fold > summary h2 { margin: 0; }
.rail-fold > summary::after {
  content: "";
  width: 0.45rem; height: 0.45rem;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s;
}
.rail-fold[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.rail-fold > summary:hover h2 { color: var(--ink); }

.rail-list { list-style: none; margin: 0; padding: 0; font-family: var(--sans); }
.rail-list li { margin: 0; }

.rail-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.3rem 0.55rem;
  margin: 0 -0.55rem;
  border-radius: 6px;
  font-size: 0.86rem;
  line-height: 1.35;
  text-decoration: none;
  color: var(--ink-soft);
}
.rail-list a:hover { color: var(--ink); background: var(--band); }
.rail-list a[aria-current="true"],
.rail-list a.is-active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }

.citation-list li + li { margin-top: 0.35rem; }
.citation-list a { display: block; padding-block: 0.45rem; }
.citation-list .small { display: block; margin-top: 0.15rem; color: var(--muted); }

.court-opinions { margin-top: 3rem; }
.court-opinions > .small { max-width: var(--measure); margin: 0 0 1.25rem; line-height: 1.55; }
.court-case { border-top: 1px solid var(--line); }
.court-case:last-child { border-bottom: 1px solid var(--line); }
.court-case summary {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0.35rem;
  cursor: pointer;
  list-style: none;
}
.court-case summary::-webkit-details-marker { display: none; }
.court-case summary::after { content: "+"; margin-left: auto; color: var(--accent); font-size: 1.35rem; line-height: 1; }
.court-case[open] summary::after { content: "\2212"; }
.court-case summary:hover { background: var(--band); }
.court-case summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.court-case-number { color: var(--muted); font-family: var(--sans); font-size: 0.8rem; font-variant-numeric: tabular-nums; min-width: 1.4rem; }
.court-case-title { display: block; flex: 1; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.court-case-meta { display: block; color: var(--muted); font-family: var(--sans); font-size: 0.78rem; font-style: normal; font-weight: 400; margin-top: 0.12rem; }
.court-case-body { padding: 0 2.75rem 1.1rem; max-width: var(--measure); }
.court-case-body p { margin: 0.65rem 0; line-height: 1.55; }
.court-case-context { color: var(--accent); font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
@media (max-width: 40rem) { .court-case-body { padding-inline: 0.35rem; } }

.rail-count { font-size: 0.74rem; color: var(--muted-light); font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* In-page contents: a hairline track with the current section marked. */
.toc { border-left: 1px solid var(--line); }
.toc a { margin: 0; border-radius: 0; padding: 0.3rem 0 0.3rem 0.9rem; margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover { background: none; }
.toc a.is-active { background: none; border-left-color: var(--accent); }

/* --- figures --------------------------------------------------------- */

.figures {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.75rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}
.figure { font-family: var(--sans); min-width: 5rem; }
.figure-link { text-decoration: none; }
.figure-link:hover .figure-value,
.figure-link:hover .figure-label { color: var(--accent); }
.figure-value {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.figure-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
  max-width: 14rem;
  line-height: 1.35;
}

/* --- buttons --------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: 1px solid var(--accent);
  white-space: nowrap;
}
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.button-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button-quiet:hover { background: var(--band); color: var(--ink); border-color: var(--line-strong); }

/* --- cards ----------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 2rem;
}
.card-grid-tight { grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); }
.cta-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem 1.2rem;
  font-family: var(--sans);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.4rem; font-size: 0.98rem; line-height: 1.3; }
.card p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink-soft); }
.card p + p { margin-top: 0.6rem; }
.card .card-kicker {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.media-poster {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: -1.15rem -1.25rem 1rem;
  padding: 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(135deg, var(--accent), #47709f);
  color: #fff;
  font-family: var(--sans);
}
.media-poster span { max-width: 75%; font-size: 0.82rem; font-weight: 700; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.06em; }
.media-poster b { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex: 0 0 auto; border-radius: 50%; background: rgba(255,255,255,0.94); color: var(--accent); font-size: 0.9rem; padding-left: 0.12rem; }
.media-poster-ted { background: linear-gradient(135deg, #b71c1c, #e53935); }

a.card-link { text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
a.card-link h3 { color: var(--ink); }
a.card-link h3::after { content: " \2192"; color: var(--accent); opacity: 0.7; transition: opacity 0.15s; }
a.card-link:hover { border-color: var(--accent); color: var(--ink); }
a.card-link:hover h3 { color: var(--accent); }
a.card-link:hover h3::after { opacity: 1; }

/* Fact cards on the About page: grouped CV lists. */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 2rem;
}
.fact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem 0.6rem;
  box-shadow: var(--shadow);
}
.fact-card h3 { margin: 0 0 0.7rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.fact-card .facts-list { font-size: 0.9rem; font-family: var(--sans); }
.fact-card .facts-list li { padding-block: 0.5rem; }

.advisory-rows { margin: 1rem 0 2.25rem; border-bottom: 1px solid var(--line); max-width: 48rem; }
.advisory-rows > section {
  display: grid;
  grid-template-columns: minmax(10rem, 0.55fr) minmax(16rem, 1.45fr);
  gap: 1.5rem;
  padding: 1.25rem 0 1.35rem;
  border-top: 1px solid var(--line);
}
.advisory-rows h3 { margin: 0; font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.advisory-rows p { margin: 0; color: var(--ink-soft); }
.services-combine { margin: -0.65rem 0 2rem; max-width: 42rem; }
.board-intro { font-size: 1.12rem; color: var(--ink-soft); }
.board-governance {
  max-width: 48rem;
  margin: 1rem 0 1.35rem;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}
.board-governance h3 { margin: 0 0 0.55rem; font-family: var(--serif); font-size: 1.25rem; }
.board-governance p:last-child { margin-bottom: 0; }
.board-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  max-width: 54rem;
  margin: 1rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.board-evidence section { padding: 1.2rem 0 1.35rem; border-top: 1px solid var(--line); }
.board-evidence h3 { margin: 0 0 0.55rem; font-family: var(--serif); font-size: 1.05rem; }
.board-evidence h3 a { text-decoration: none; }
.board-evidence p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.board-credentials { margin-top: 2.75rem; }
.publication-proof {
  max-width: var(--max-width);
  margin: -0.25rem 0 2rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  font-family: var(--sans);
  font-size: 0.92rem;
}
.publication-proof a { margin-left: 0.35rem; text-decoration: none; font-weight: 600; }

/* Speaking: an editorial portfolio, with the strongest proof first. */
.speaking-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.65rem;
  margin: -0.35rem 0 2rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}
.speaking-formats span { white-space: nowrap; }
.speaking-institutions span { color: var(--accent); padding-inline: 0.28rem; }

.speaking-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(15rem, 0.7fr);
  gap: 2.25rem;
  align-items: center;
  margin: 0 0 3.5rem;
}
.speaking-video {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  min-height: 20rem;
  padding: 1.5rem;
  overflow: hidden;
  background: linear-gradient(145deg, #861717 0%, #c52121 58%, #e4453d 100%);
  color: #fff;
  text-decoration: none;
}
.speaking-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(70, 0, 0, 0.44));
  pointer-events: none;
}
.speaking-video > * { position: relative; z-index: 1; }
.speaking-video-label,
.speaking-video-action {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.speaking-video-play {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #fff;
  color: #b51e1e;
  padding-left: 0.18rem;
  transition: transform 0.15s;
}
.speaking-video strong {
  grid-column: 1 / -1;
  align-self: end;
  max-width: 24rem;
  margin: 4rem 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.08;
  text-wrap: balance;
}
.speaking-video-action { grid-column: 1 / -1; }
.speaking-video:hover { color: #fff; }
.speaking-video:hover .speaking-video-play { transform: scale(1.06); }
.speaking-feature-copy > p { max-width: 22rem; }
.speaking-stat {
  margin: 0.2rem 0 0.7rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.talk-list { margin: 1rem 0 3rem; border-bottom: 1px solid var(--line); }
.talk-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.65rem 0 1.75rem;
  border-top: 1px solid var(--line);
}
.talk-number {
  margin: 0;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.talk-copy h3 { margin: -0.15rem 0 0.65rem; font-family: var(--serif); font-size: 1.32rem; font-weight: 600; }
.talk-copy > p { max-width: 42rem; }
.talk-audience {
  margin: 0.85rem 0 0 !important;
  font-family: var(--sans) !important;
  font-size: 0.82rem !important;
  color: var(--muted) !important;
}

.speaking-institutions {
  margin: 0 0 3.25rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
}
.speaking-institutions p { max-width: none; margin: 0; font-size: 0.92rem; }
.speaking-institutions .eyebrow { margin-bottom: 0.45rem; }

.speaking-archive {
  margin: 2.25rem 0 2.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.speaking-archive > summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 600;
}
.speaking-archive > summary::-webkit-details-marker { display: none; }
.speaking-archive > summary::after { content: "+"; color: var(--accent); font-family: var(--sans); font-size: 1.35rem; font-weight: 400; }
.speaking-archive[open] > summary::after { content: "\2212"; }
.speaking-archive-body { padding: 1.25rem 0 0.25rem; }
.speaking-archive-body h3 { margin-top: 2rem; }
.speaking-archive-body h4 { margin-top: 1.5rem; }

/* --- disclosure ------------------------------------------------------ */

.disclosure > summary,
.attribution-note > summary {
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.disclosure > summary::-webkit-details-marker,
.attribution-note > summary::-webkit-details-marker { display: none; }
.disclosure > summary::before,
.attribution-note > summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.15rem; height: 1.15rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.8rem;
  line-height: 1;
}
.disclosure[open] > summary::before,
.attribution-note[open] > summary::before { content: "\2212"; }
.disclosure > p { font-size: 0.95rem; color: var(--ink-soft); margin: 0.7rem 0 0; }

.attribution-note { max-width: var(--measure); margin: 1.25rem 0 0; font-size: 0.95rem; color: var(--ink-soft); }
.attribution-note p { margin: 0.8rem 0 0; }

/* --- lists ----------------------------------------------------------- */

/* A CV-style list: no bullets, hairlines between items. */
.facts-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; max-width: var(--measure); }
.facts-list > li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.facts-list > li:first-child { border-top: 1px solid var(--line); }
.fact-card .facts-list > li:first-child { border-top: 0; padding-top: 0; }
.fact-card .facts-list > li:last-child { border-bottom: 0; }

/* Topic lists: bold lead-in, then the explanation, set as a two-level list. */
.topic-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; max-width: var(--measure); }
.topic-list > li { padding: 0.75rem 0 0.75rem 1.1rem; position: relative; border-bottom: 1px solid var(--line); }
.topic-list > li::before {
  content: "";
  position: absolute; left: 0; top: 1.4rem;
  width: 0.4rem; height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}
.topic-list > li > strong { display: block; font-family: var(--sans); font-size: 0.95rem; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 1rem 0 1.5rem; max-width: var(--measure); }
.steps > li { counter-increment: step; position: relative; padding: 0.2rem 0 1rem 2.6rem; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0.1rem;
  width: 1.8rem; height: 1.8rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
}

.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-family: var(--sans); }
.chip-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-right: 0.3rem; }
.chip {
  font-size: 0.8rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}
.chip:hover { background: var(--accent); color: var(--accent-ink); }

.section-summary { font-size: 1.1rem; color: var(--ink); font-weight: 500; }

.highlight {
  font-family: var(--sans);
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.2rem;
}

.more { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; }
.more a { text-decoration: none; }

/* --- entry list ------------------------------------------------------ */

.entries { list-style: none; margin: 0; padding: 0; }

.entry { padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.entry:first-child { padding-top: 0.25rem; }

/* The same entries as a card grid, where only a handful are shown. */
.entries-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}
.entries-cards .entry,
.entries-cards .entry:first-child {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.entries-cards .entry-summary { font-size: 0.93rem; }
.entries-cards .entry-foot { margin-top: auto; padding-top: 0.5rem; }

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  margin-bottom: 0.45rem;
}

.entry-date {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.entry-date.is-undated { color: var(--muted-light); font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; }

.entry-outcome {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  text-decoration: none;
}
a.entry-outcome:hover { background: var(--accent); color: var(--accent-ink); }

.entry-title {
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.38;
  margin: 0 0 0.4rem;
  max-width: var(--measure);
}
.entry-title a { color: var(--ink); text-decoration: none; }
.entry-title a:hover { color: var(--accent); text-decoration: underline; }

.entry-summary { margin: 0 0 0.6rem; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; max-width: var(--measure); }

.entry-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
}

.entry-areas { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.entry-areas a {
  color: var(--ink-soft);
  text-decoration: none;
  background: var(--band);
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
}
.entry-areas a:hover { color: var(--accent); background: var(--accent-soft); }

.entry-source-count { color: var(--muted); text-decoration: none; margin-left: auto; white-space: nowrap; }
.entry-source-count:hover { color: var(--accent); text-decoration: underline; }

.entry-sources { color: var(--muted); max-width: var(--measure); }
.entry-sources a { color: var(--muted); }
.no-link { color: var(--muted-light); border-bottom: 1px dotted var(--line-strong); cursor: help; }

/* Year headings inside a list. */
.year-rule {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2.5rem 0 0.4rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line-strong);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 1;
}
.entries .year-rule:first-child { margin-top: 0; }

#result-count { margin: 0 0 1.25rem; }

/* --- project page ---------------------------------------------------- */

.project-head h1 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem); max-width: 30ch; line-height: 1.22; margin-top: 0.4rem; }
.project-dek { margin-top: 0.9rem; }

.project-body { font-size: 1.1rem; max-width: var(--measure); }

.project-facts {
  list-style: none;
  margin: 2.5rem 0;
  padding: 0.25rem 1.35rem;
  max-width: 48rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
}
.project-facts > li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.project-facts > li:last-child { border-bottom: 0; }
@media (max-width: 34rem) { .project-facts > li { grid-template-columns: 1fr; gap: 0.2rem; } }

.fact-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  padding-top: 0.12rem;
}
.project-facts .fact-value { margin: 0; }
.project-facts ul { list-style: none; margin: 0; padding: 0; }
.project-facts li li { padding: 0.15rem 0; border: 0; display: block; }

.project-role {
  font-size: 1.06rem;
  max-width: var(--measure);
  margin: 1.75rem 0 0;
  padding: 0.9rem 1.1rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  color: var(--ink);
}

.project-achievement { max-width: var(--measure); margin: 1.75rem 0 0; color: var(--ink-soft); font-size: 0.98rem; }
.project-achievement .fact-label { display: block; margin-bottom: 0.2rem; }

.keyword-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.keyword-list li { font-size: 0.8rem; color: var(--ink-soft); background: var(--band); border-radius: 999px; padding: 0.1rem 0.55rem; }

.source-archive {
  margin-left: 0.4rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0.02rem 0.32rem;
  text-decoration: none;
  white-space: nowrap;
}
.source-archive:hover { color: var(--accent); border-color: var(--accent); }

.source-dead {
  margin-left: 0.4rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--flag);
  background: var(--flag-soft);
  border-radius: 4px;
  padding: 0.02rem 0.35rem;
  white-space: nowrap;
}
.source-print { font-style: italic; }

/* --- notices --------------------------------------------------------- */

.notice {
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.55;
  padding: 0.8rem 1rem;
  background: var(--band);
  border-left: 3px solid var(--line-strong);
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
  color: var(--ink-soft);
  max-width: var(--measure);
}
.notice-flag { background: var(--flag-soft); border-left-color: var(--flag); }
.notice strong { color: var(--ink); }
.notice-flag strong { color: var(--flag); }
.prose > .notice:first-child { margin-top: 0; }

.tag-suggested { font-size: 0.66rem; color: var(--flag); font-family: var(--sans); letter-spacing: 0.05em; text-transform: uppercase; }
.note-inline { max-width: var(--measure); font-size: 0.95rem; color: var(--ink-soft); margin-top: 1rem; }

/* --- hubs ------------------------------------------------------------ */

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}
.hub-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  font-family: var(--sans);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.hub-item h3 { margin: 0 0 0.35rem; font-size: 0.98rem; }
.hub-item h3 a { color: var(--ink); text-decoration: none; }
.hub-item h3 a::after { content: ""; position: absolute; inset: 0; }
.hub-item { position: relative; transition: border-color 0.15s; }
.hub-item:hover { border-color: var(--accent); }
.hub-item:hover h3 a { color: var(--accent); }
.hub-item p { margin: 0; font-size: 0.87rem; line-height: 1.5; color: var(--ink-soft); }
.hub-item .meta { display: block; margin-top: auto; padding-top: 0.7rem; }

/* --- breadcrumb ------------------------------------------------------ */

.crumb { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); margin: 0 0 1rem; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); text-decoration: underline; }

/* --- homepage -------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem 3rem;
}
.hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.3rem); margin-bottom: 1rem; }
.hero-lede { font-size: 1.28rem; line-height: 1.5; color: var(--ink-soft); max-width: 36rem; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.75rem 0 0; }
.hero-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
@media (max-width: 46rem) {
  .hero { grid-template-columns: 1fr; gap: 1.75rem; padding-top: 2.5rem; }
  .hero-portrait { width: 8rem; border-radius: 50%; aspect-ratio: 1; }
}

.figures-band { margin: 0 0 1rem; padding: 1.75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); justify-content: space-between; }

.home-section { margin: 3.5rem 0; }
.section-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
}
.section-bar h2 { margin: 0; }
.section-more { font-family: var(--sans); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.section-more:hover { text-decoration: underline; }

/* The closing call to action. */
.contact-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  margin: 3.5rem 0 1rem;
  padding: 1.6rem 1.75rem;
  background: var(--band);
  border-radius: var(--radius);
  max-width: none !important;
}
.contact-cta p { margin: 0; }
.contact-cta-title { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; }
.contact-cta-text { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); margin-top: 0.2rem !important; }

/* --- about ----------------------------------------------------------- */

.headshot {
  float: right;
  width: 13rem;
  margin: 0 0 1.25rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 40rem) { .headshot { float: none; display: block; width: 9rem; margin: 0 0 1.5rem; } }

.contact-direct { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; }
.contact-options { max-width: 60rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.contact-options .card { display: flex; flex-direction: column; min-height: 8.5rem; }
.contact-options .card p { color: var(--ink-soft); }
.contact-card-action { display: block; margin-top: auto; padding-top: 0.9rem; font-size: 0.82rem; font-weight: 600; color: var(--accent); }

/* --- pull quote ------------------------------------------------------ */

.pull-quote { margin: 2.5rem 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--accent); max-width: var(--measure); }
.pull-quote p { font-size: 1.2rem; line-height: 1.5; color: var(--ink); margin: 0; }
.pull-quote cite { display: block; margin-top: 0.7rem; font-family: var(--sans); font-size: 0.85rem; font-style: normal; color: var(--muted); }

.talk-meta { font-size: 0.85rem; color: var(--muted); font-family: var(--sans); }

/* --- tables ---------------------------------------------------------- */

.table-scroll { overflow-x: auto; margin: 1rem 0; }

table.data, .archive-table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: 0.86rem; }

table.data th, table.data td,
.archive-table th, .archive-table td {
  text-align: left;
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
table.data th, .archive-table th {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
table.data td.num { font-variant-numeric: tabular-nums; }
.archive-table tbody tr:hover td { background: var(--band); }

.archive-kind { display: inline-block; margin-left: 0.45rem; font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-light); }
.archive-date { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.archive-project { color: var(--ink-soft); }

@media (max-width: 40rem) {
  .archive-table thead th:last-child,
  .archive-table td:last-child { display: none; }
}

/* --- track record ---------------------------------------------------- */

.flagship { margin-bottom: 3rem; }
.flagship > h2 { margin-top: 0; }
.flagship-note { max-width: var(--measure); color: var(--muted); font-size: 0.95rem; margin: 0 0 1.5rem; }
.flagship .entries { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem; }
.flagship .entry,
.flagship .entry:first-child {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.flagship .entry-title { font-size: 1.05rem; }
.flagship .entry-summary { font-size: 0.92rem; }
.flagship .entry-foot { margin-top: auto; padding-top: 0.4rem; }
#full-record { margin-top: 3rem; }

.section-head { margin-top: 3rem; }

/* --- footer ---------------------------------------------------------- */

.site-footer { background: var(--band); margin-top: 4rem; font-family: var(--sans); font-size: 0.86rem; color: var(--muted); }

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem var(--gutter) 2rem;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 52rem) { .site-footer-inner { grid-template-columns: repeat(2, 1fr); } .footer-id { grid-column: 1 / -1; } }

.site-footer p { margin: 0 0 0.35rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-name { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.footer-head { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 650; color: var(--muted); margin-bottom: 0.6rem !important; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 0.35rem; }

.site-footer-base {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-size: 0.8rem;
}

/* --- print ----------------------------------------------------------- */

@media print {
  .site-nav, .subnav, .rail, .skip-link, .crumb, .contact-cta, .site-footer-inner, .hero-actions { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-head { border-image: none; padding: 0; }
  .with-rail { grid-template-columns: 1fr; }
  .entry, .card { break-inside: avoid; box-shadow: none; }
  details > * { display: block !important; }
  a { text-decoration: none; color: #000; }
  .entry-sources a::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
}

/* --- small screens --------------------------------------------------- */

.fact-grid { align-items: start; }

@media (max-width: 40rem) {
  .site-header-inner { display: block; padding-block: 0.75rem; }
  .site-name-sub { display: none; }
  .site-nav {
    width: calc(100% + var(--gutter));
    max-width: 100vw;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0.45rem 0 -0.25rem calc(-1 * var(--gutter));
    padding: 0 calc(var(--gutter) + 1.5rem) 0 var(--gutter);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 1.75rem), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 1.75rem), transparent 100%);
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 0.7rem; font-size: 0.86rem; flex-shrink: 0; }
  .site-nav a.site-nav-cta { border: 0; margin: 0; }
  .page-head { padding-block: 2rem 1.75rem; margin-bottom: 1.75rem; }
  .lede { font-size: 1.1rem; }
  .figures { gap: 1rem 1.75rem; }
  .figure-value { font-size: 1.6rem; }
  .contact-cta { padding: 1.25rem; }
  .cta-row { grid-template-columns: 1fr; }
  .speaking-feature { grid-template-columns: 1fr; gap: 1.35rem; margin-bottom: 2.75rem; }
  .speaking-video { min-height: 16.5rem; padding: 1.15rem; }
  .speaking-video strong { margin-top: 3rem; }
  .speaking-feature-copy > p { max-width: none; }
  .talk-item { grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.65rem; padding-block: 1.35rem; }
  .speaking-institutions span { padding-inline: 0.12rem; }
  .contact-cta .button { width: 100%; text-align: center; }
  .advisory-rows > section { grid-template-columns: 1fr; gap: 0.45rem; padding-block: 1.1rem; }
  .board-evidence { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 40rem) {
  .figures-band { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Professional pages only: keep the separately maintained track record
   presentation unchanged. These rules improve small-screen navigation,
   long-page orientation, and contact affordances without adding scripts. */
.professional-site .site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.professional-site .site-nav a.site-nav-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.professional-site .site-nav a.site-nav-cta:hover { background: var(--accent-hover); }
.professional-site .button { justify-content: center; white-space: normal; text-align: center; }
.professional-site .fact-grid { grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); }
@media (min-width: 720px) { .professional-site .expert-proof { grid-template-columns: repeat(3, 1fr); } }
.professional-site .contact-options { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.professional-site .page a { overflow-wrap: anywhere; }
.professional-site .site-footer-inner { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); }
.professional-site .footer-col a { display: inline-block; padding-block: 0.3rem; }
.professional-site .footer-col li { margin-bottom: 0.1rem; }

@media screen and (max-width: 62rem) {
  /* Retain section shortcuts on phones and tablets instead of hiding them. */
  .professional-site .rail:has(.toc) { display: block; }
  .professional-site .rail:has(.toc) .rail-group {
    margin-bottom: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .professional-site .toc { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; border-left: 0; }
  .professional-site .toc a {
    margin: 0;
    padding: 0.55rem 0.75rem;
    min-height: 44px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
  }
  .professional-site .toc a:hover,
  .professional-site .toc a.is-active { border-color: var(--accent); background: var(--accent-soft); }
}

@media screen and (max-width: 52rem) {
  .professional-site .site-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 40rem) {
  /* Show every destination, especially Contact, without a hidden horizontal scroll. */
  .professional-site .site-nav {
    width: 100%;
    max-width: none;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin: 0.65rem 0 0;
    padding: 0;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .professional-site .site-nav a { padding-inline: 0.65rem; }
  .professional-site .site-nav a.site-nav-cta { padding-inline: 1rem; }
  .professional-site .subnav-inner { flex-wrap: wrap; gap: 0 1.1rem; overflow: visible; }
  .professional-site .subnav a { min-height: 44px; }
  .professional-site .hero-lede { font-size: 1.15rem; }
  .professional-site .hero-actions .button { flex: 1 1 13rem; }
  .professional-site .card-grid:not(.card-grid-tight) { grid-template-columns: 1fr; }
  .professional-site .contact-cta .button { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .professional-site a.card-link,
  .professional-site a.card-link h3::after { transition: none; }
}

/* Keep the four homepage credentials balanced at intermediate widths. */
.professional-site .figures-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media screen and (max-width: 62rem) {
  .professional-site .figures-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- professional site: editorial treatment -------------------------
   The public record deliberately keeps the archival system above. The
   professional pages use a quieter, less component-driven visual language. */

.professional-site {
  --accent: #a43f2b;
  --accent-hover: #782b1e;
  --accent-soft: #f3e5df;
  --accent-ink: #fffaf4;
  --paper: #f7f3eb;
  --surface: #fdfbf7;
  --band: #ece6dc;
  --line: #d8d0c3;
  --line-strong: #91887b;
  --radius: 2px;
  --shadow: none;
  --footer-bg: #1a1917;
  --footer-text: #bdb6aa;
  --footer-link: #f7f3eb;
  --footer-line: #45433e;
  --serif: "IBM Plex Serif Web", Charter, "Bitstream Charter", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3 Web", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--sans);
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

@media (prefers-color-scheme: dark) {
  .professional-site {
    --ink: #f2ede4;
    --ink-soft: #ddd7ce;
    --muted: #b8afa4;
    --muted-light: #817a73;
    --paper: #171817;
    --surface: #1d1e1c;
    --band: #22231f;
    --paper-sunk: #22231f;
    --line: #3b3a35;
    --line-strong: #777167;
    --accent: #e37b5e;
    --accent-hover: #f29a80;
    --accent-soft: #3a2923;
    --accent-ink: #171817;
    --footer-bg: #0e0f0e;
    --footer-text: #c7c0b6;
    --footer-link: #f2ede4;
    --footer-line: #3b3a35;
  }
}

.professional-site h1,
.professional-site h2,
.professional-site .contact-cta-title,
.professional-site .footer-name {
  font-family: var(--serif);
}

.professional-site h1,
.professional-site h2,
.professional-site h3 { text-wrap: pretty; }

/* Use the display face's native metrics throughout the professional site. */
.professional-site h1,
.professional-site h2,
.professional-site .site-name-main,
.professional-site .figure-value,
.professional-site .cta-row .card h3,
.professional-site .card-grid-tight .card h3,
.professional-site .advisory-rows h3,
.professional-site .advisory-specialties .card h3,
.professional-site .board-governance h3,
.professional-site .board-evidence h3,
.professional-site .talk-copy h3,
.professional-site .speaking-archive > summary,
.professional-site .entry-title,
.professional-site .contact-options .card h3,
.professional-site .expert-proof .fact-card h3,
.professional-site .contact-cta-title {
  font-kerning: auto;
  letter-spacing: normal;
}

.professional-site .site-header {
  background: var(--paper);
  border-bottom-color: var(--line-strong);
}
.professional-site .site-header-inner { padding-block: 1.2rem; }
.professional-site .site-name-main { font-size: 1.05rem; }
.professional-site .site-name-sub { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.professional-site .site-nav { gap: 1.2rem; }
.professional-site .site-nav a {
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  font-size: 0.78rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.professional-site .site-nav a:hover { background: transparent; border-bottom-color: var(--ink); }
.professional-site .site-nav a[aria-current] { background: transparent; border-bottom-color: var(--accent); }
.professional-site .site-nav a.site-nav-cta,
.professional-site .site-nav a.site-nav-cta[aria-current] {
  margin-left: 0.35rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}
.professional-site .site-nav a.site-nav-cta:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.professional-site .subnav { border-top: 0; border-bottom: 1px solid var(--line); }
.professional-site .subnav a { font-size: 0.78rem; }

.professional-site main { padding-bottom: 5rem; }
.professional-site .page-head {
  padding-block: 4.5rem 3.25rem;
  margin-bottom: 3.5rem;
  border-image: none;
  border-bottom: 1px solid var(--line-strong);
}
.professional-site .page-head h1 { font-size: clamp(2.5rem, 1.7rem + 3vw, 4.4rem); font-weight: 600; letter-spacing: normal; }
.professional-site .page-head .lede { max-width: 46rem; font-size: 1.18rem; }
.professional-site .post-head h1 { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); max-width: 34ch; }

.professional-site .hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(13rem, 0.65fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  padding-block: clamp(3.5rem, 7vw, 5.75rem) 3rem;
}
.professional-site .hero-kicker {
  margin: 0 0 1.35rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.professional-site .hero h1 {
  max-width: 20ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 2.25rem + 2.5vw, 4.3rem);
  font-weight: 600;
  line-height: 1.01;
  text-wrap: pretty;
}
.professional-site .hero-line { display: block; }
.professional-site .hero-lede { max-width: 38rem; font-size: clamp(1.18rem, 1rem + 0.5vw, 1.45rem); line-height: 1.48; }
.professional-site .hero-context { max-width: 38rem; margin: 1rem 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.professional-site .hero-context.hero-context-more { margin-top: 0.5rem; }
.professional-site .hero-actions { align-items: center; gap: 1.3rem; margin-top: 2rem; }
.professional-site .hero-actions .text-link { font-size: 0.86rem; font-weight: 700; text-decoration: none; }
.professional-site .hero-figure { margin: 3rem 0 0; }
.professional-site .hero-portrait { aspect-ratio: 4 / 5.15; border-radius: 0; filter: saturate(0.72) contrast(1.04); }
.professional-site .hero-figure figcaption {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.professional-site .button { border-radius: 0; padding: 0.8rem 1.1rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.055em; }
.professional-site .figures-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 0;
  padding: 0;
  border-color: var(--line-strong);
}
.professional-site .figures-band .figure { min-height: 7.25rem; padding: 1.35rem 1.25rem 1.15rem 0; }
.professional-site .figures-band .figure + .figure { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.professional-site .figure-value { font-size: 1.65rem; font-weight: 500; }
.professional-site .figure-label { font-size: 0.75rem; }

.professional-site .home-section { margin-block: 5.5rem; }
.professional-site .section-bar {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-strong);
}
.professional-site .section-bar-simple { grid-template-columns: minmax(0, 1fr) auto; }
.professional-site .section-bar h2 { font-size: clamp(1.65rem, 1.3rem + 1vw, 2.25rem); font-weight: 600; }
.professional-site .section-more { font-size: 0.78rem; }

.professional-site .cta-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 0; }
.professional-site .cta-row .card {
  min-height: 12rem;
  padding: 1.5rem 2.2rem 1.65rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.professional-site .cta-row .card:nth-child(even) { padding-left: 2.2rem; border-left: 1px solid var(--line); }
.professional-site .cta-row .card h3 { margin: 0 0 0.65rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.professional-site .cta-row .card p { max-width: 29rem; font-size: 0.91rem; }
.professional-site .cta-row .card-kicker { margin-bottom: 1.5rem; font-size: 0.75rem; }
.professional-site .entry-outcome { font-size: 0.75rem; }
.professional-site .cta-row a.card-link:hover { border-bottom-color: var(--accent); background: linear-gradient(90deg, var(--accent-soft), transparent 72%); }

.professional-site .card-grid-tight { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 0; }
.professional-site .card-grid-tight .card {
  padding: 1.25rem 1.1rem 1.4rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.professional-site .card-grid-tight .card:first-child { padding-left: 0; }
.professional-site .card-grid-tight .card + .card { border-left: 1px solid var(--line); }
.professional-site .card-grid-tight .card h3 { font-family: var(--serif); font-size: 0.94rem; line-height: 1.25; }
.professional-site .card-grid-tight .card p { font-size: 0.79rem; }

.professional-site .fact-card { border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; background: transparent; }
.professional-site .contact-cta {
  padding: 1.8rem 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
}
.professional-site .site-footer { background: var(--footer-bg); color: var(--footer-text); }
.professional-site .site-footer a,
.professional-site .footer-name { color: var(--footer-link); }
.professional-site .site-footer-base { border-top-color: var(--footer-line); }

@media screen and (max-width: 62rem) {
  .professional-site .card-grid-tight { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .professional-site .card-grid-tight .card:first-child { padding-left: 1.1rem; }
  .professional-site .card-grid-tight .card + .card { border-left: 0; }
  .professional-site .card-grid-tight .card:nth-child(even) { border-left: 1px solid var(--line); }
}

@media screen and (max-width: 64rem) {
  .professional-site .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.5rem 2rem; }
  .professional-site .hero-figure { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; align-items: end; margin-top: 0; }
  .professional-site .hero-portrait { width: 10rem; aspect-ratio: 4 / 5; border-radius: 0; }
  .professional-site .hero-figure figcaption { margin: 0; }
}

@media screen and (max-width: 46rem) {
  .professional-site .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.5rem 2rem; }
  .professional-site .hero h1 { max-width: 20ch; font-size: clamp(1.9rem, 9.4vw, 4.4rem); }
  .professional-site .hero-figure { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; align-items: end; margin-top: 0; }
  .professional-site .hero-portrait { width: 7rem; aspect-ratio: 4 / 5; border-radius: 0; }
  .professional-site .hero-figure figcaption { margin: 0; }
  .professional-site .cta-row { grid-template-columns: 1fr; }
  .professional-site .cta-row .card,
  .professional-site .cta-row .card:nth-child(even) { min-height: 0; padding: 1.35rem 0; border-left: 0; }
  .professional-site .section-bar { grid-template-columns: 2rem minmax(0, 1fr); }
  .professional-site .section-bar-simple { grid-template-columns: 1fr; }
  .professional-site .section-more { grid-column: 2; }
  .professional-site .section-bar-simple .section-more { grid-column: 1; min-height: 44px; margin-top: 0.35rem; }
  .professional-site .speaking-formats { gap-inline: 0.55rem; font-size: 0.76rem; }
}

@media screen and (max-width: 40rem) {
  .professional-site .site-nav { flex-wrap: wrap; gap: 0 0.75rem; }
  .professional-site .site-nav a { padding-inline: 0; font-size: 0.8rem; }
  .professional-site .site-nav a.site-nav-cta,
  .professional-site .site-nav a.site-nav-cta[aria-current] {
    margin-left: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
  }
  .professional-site .site-nav a.site-nav-cta:hover {
    border-bottom-color: var(--accent);
    background: transparent;
    color: var(--accent);
  }
  .professional-site .page-head { padding-block: 3rem 2.25rem; margin-bottom: 2.5rem; }
  .professional-site .figures-band { grid-template-columns: 1fr 1fr; }
  .professional-site .figures-band .figure { min-height: 7.5rem; padding: 1.1rem; }
  .professional-site .figures-band .figure:nth-child(odd) { padding-left: 0; border-left: 0; }
  .professional-site .card-grid-tight { grid-template-columns: 1fr; }
  .professional-site .card-grid-tight .card,
  .professional-site .card-grid-tight .card:first-child { padding-inline: 0; border-left: 0; }
  .professional-site .card-grid-tight .card h3 { font-size: 1rem; }
}

@media screen and (max-width: 22rem) {
  .professional-site .site-nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    gap: 0 1rem;
  }
  .professional-site .site-nav a { font-size: 0.8rem; }
  .professional-site .subnav-inner { gap: 0 0.5rem; }
  .professional-site .subnav a { font-size: 0.72rem; }
  .professional-site .speaking-formats {
    display: grid;
    grid-template-columns: repeat(2, max-content);
  }
}

/* Final polish for the professional pages. Everything in this block remains
   deliberately scoped away from the separately maintained public record. */
@media screen and (min-width: 46.01rem) {
  .professional-site .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--line-strong) 55%, transparent);
  }
}

/* Homepage links share one hover language: preserve the editorial rules and
   surfaces, and emphasize the linked heading rather than the container. */
.professional-site .home-section a.card-link:hover {
  border-color: var(--line);
  background: transparent;
}
.professional-site .home-section a.card-link:hover h3 {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.professional-site .home-section .entries-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
}
.professional-site .home-section .entries-cards .entry,
.professional-site .home-section .entries-cards .entry:first-child {
  padding: 1.5rem 2rem 1.65rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.professional-site .home-section .entries-cards .entry:nth-child(even) {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}
.professional-site .home-section .entries-cards .entry-title {
  font-size: 1.08rem;
  line-height: 1.38;
}

@media screen and (max-width: 46rem) {
  .professional-site .home-section .entries-cards { grid-template-columns: 1fr; }
  .professional-site .home-section .entries-cards .entry,
  .professional-site .home-section .entries-cards .entry:first-child,
  .professional-site .home-section .entries-cards .entry:nth-child(even) {
    padding: 1.35rem 0;
    border-left: 0;
  }
}

.professional-site .page-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: clamp(3rem, 8vw, 5.5rem);
  height: 3px;
  background: var(--accent);
}

.professional-site .page.prose > p,
.professional-site .page.prose > ul,
.professional-site .page.prose > ol {
  line-height: 1.72;
}

/* Blog posts: larger type and a wider column (about 80 characters a line) for long reads. */
.professional-site .post-body {
  --measure: 48rem;
  font-size: 1.1875rem;
}

.professional-site .lede,
.professional-site .page-intro,
.professional-site .hero-lede,
.professional-site .hero-context,
.professional-site .card p,
.professional-site .entry-title,
.professional-site .entry-summary,
.professional-site .section-summary,
.professional-site .contact-cta p,
.professional-site .talk-copy p,
.professional-site .more a {
  text-wrap: pretty;
}

.professional-site .page-intro {
  max-width: 48rem;
  margin: 0 0 2.75rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: clamp(1.12rem, 1rem + 0.35vw, 1.32rem);
  line-height: 1.55 !important;
}

/* These cards are content sections, so their headings follow the same serif
   display voice as the engagement labels above them. */
.professional-site .advisory-specialties .card h3 {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
}

.professional-site .hero-text { position: relative; }
.professional-site .hero-text::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: -1.35rem;
  width: 2px;
  height: 4.6rem;
  background: var(--accent);
}
.professional-site .hero-actions .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid transparent;
}
.professional-site .hero-actions .text-link:hover { border-bottom-color: currentColor; }

.professional-site .card-link { position: relative; }
.professional-site .card-link:focus-visible { outline-offset: 4px; }
.professional-site .chip-static {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}
.professional-site .section-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.professional-site .contact-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  border-bottom: 1px solid var(--line-strong);
}
.professional-site .contact-options .card {
  min-height: 9.5rem;
  padding: 1.4rem 2rem 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
}
.professional-site .contact-options .card:nth-child(even) {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}
.professional-site .contact-options .card:hover {
  background: linear-gradient(90deg, var(--accent-soft), transparent 78%);
}
.professional-site .contact-options .card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
}
.professional-site .contact-location { margin-top: 2rem; }

.professional-site .expert-proof {
  max-width: 54rem;
  margin-block: 2.75rem 3.5rem;
}
.professional-site .expert-proof .fact-card { padding-top: 1.25rem; }
.professional-site .expert-proof .fact-card h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 550;
  letter-spacing: normal;
  text-transform: none;
}

.professional-site .site-footer { color: var(--footer-text); }
.professional-site .site-footer a { color: var(--footer-link); }

@media screen and (max-width: 76rem) {
  .professional-site .hero-text::before { display: none; }
}

@media screen and (max-width: 46rem) {
  .professional-site .page-intro { margin-bottom: 2.25rem; }
  .professional-site .contact-options { grid-template-columns: 1fr; }
  .professional-site .contact-options .card,
  .professional-site .contact-options .card:nth-child(even) {
    min-height: 0;
    padding: 1.25rem 0;
    border-left: 0;
  }
}

/* --- homepage pop (2026-10-22) ---------------------------------------- */

.professional-site .hero h1 { max-width: none; font-size: clamp(2.2rem, 1rem + 2.6vw, 2.9rem); font-weight: 650; }
.professional-site .hero-accent { color: var(--accent); }
.professional-site .hero-context { color: var(--ink-soft); font-size: 1rem; }
.professional-site .hero { grid-template-columns: minmax(0, 1fr) 14rem; gap: 3rem; }
@media (min-width: 62rem) { .professional-site .hero-line { white-space: nowrap; } }

.professional-site .figures-band .figure-value { font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 600; color: var(--accent); white-space: nowrap; }
.professional-site .figures-band .figure { min-height: 0; }
.professional-site .figures-band .figure-label { color: var(--ink-soft); font-size: 0.78rem; }

.professional-site .cta-row .card { min-height: 0; padding-block: 1.25rem 1.35rem; }
.professional-site .cta-row .card-kicker { margin-bottom: 0.7rem; }
.professional-site .cta-row .card h3 { margin: 0; }

.proof-cards { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.proof-card a {
  display: flex; flex-direction: column; height: 100%;
  padding: 1.5rem 1.4rem; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 3px solid var(--accent); box-shadow: var(--shadow);
}
.proof-card a:hover { border-color: var(--accent); }
.proof-figure { font-family: var(--serif); font-size: clamp(2.4rem, 1.6rem + 2vw, 3.4rem); font-weight: 600; line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.proof-figure-label { margin: 0.45rem 0 1rem; font-family: var(--sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.proof-title { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; line-height: 1.4; }
@media (max-width: 52rem) { .proof-cards { grid-template-columns: 1fr; } }
@media (max-width: 62rem) { .professional-site .hero { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; } }

.professional-site .home-section { margin-block: 4rem; }
.professional-site .hero { padding-bottom: 2.5rem; }
.professional-site .hero-lede { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); color: var(--ink); }
.professional-site .hero-portrait { border-bottom: 3px solid var(--accent); }
@media (min-width: 62rem) { .professional-site .hero { grid-template-columns: minmax(0, 1fr) 16rem; } }

.figures-caption { margin: 0 0 0.75rem; font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.figures-caption span { margin-left: 0.75rem; font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.professional-site .figures-band .figure-value { font-size: clamp(2.6rem, 1.6rem + 2.6vw, 3.8rem); }

.proof-lede { max-width: 46rem; margin: 1.25rem 0 0; font-family: var(--sans); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--ink); }
.proof-strip .proof-cards { margin-top: 1.75rem; }

/* --- home: methods and services (designer pass) --- */

.professional-site .methods-intro { max-width: 46rem; margin: 2rem 0 0; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); line-height: 1.55; color: var(--ink); }

.professional-site .methods {
  list-style: none; counter-reset: method;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem;
  margin: 2.75rem 0 0; padding: 0;
}
.professional-site .method {
  counter-increment: method;
  display: flex; flex-direction: column;
  padding-top: 1.1rem; border-top: 2px solid var(--accent);
}
.professional-site .method-name {
  margin: 0 0 0.75rem; font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 0.5vw, 1.55rem);
  font-weight: 600; line-height: 1.2; color: var(--ink);
}
.professional-site .method-name::before {
  content: "0" counter(method); display: block; margin-bottom: 0.5rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; color: var(--accent);
}
.professional-site .method p { margin: 0; }
.professional-site .method-how { font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.professional-site .method-case,
.professional-site .method-now { font-size: 0.93rem; line-height: 1.55; color: var(--ink-soft); }
.professional-site .method-case { margin-top: 1.5rem !important; padding-top: 1rem; border-top: 1px solid var(--line); }
.professional-site .method-now {
  margin-top: auto !important; padding: 0.9rem 0 0 0.9rem; border-left: 2px solid var(--accent);
}
.professional-site .method-case + .method-now { margin-top: 1.25rem !important; }
.professional-site .method-label {
  display: block; margin-bottom: 0.3rem;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.professional-site .method-now .method-label { color: var(--accent); }
.professional-site .method-case a {
  display: inline-block; margin-top: 0.35rem; padding-block: 0.4rem;
  font-family: var(--sans); font-size: 0.86rem; font-weight: 600; text-decoration: none;
}
.professional-site .method-case a:hover { text-decoration: underline; }
.professional-site .method-case a,
.professional-site .methods-breadth a,
.professional-site .hero-actions .text-link { border-radius: 2px; }
.professional-site .method-case a:focus-visible,
.professional-site .methods-breadth a:focus-visible,
.professional-site .hero-actions a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.professional-site .methods-breadth {
  max-width: 46rem; margin: 3rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-size: 1.02rem; line-height: 1.6; color: var(--ink-soft);
}
.professional-site .methods-breadth a { font-family: var(--sans); font-size: 0.88rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.professional-site .methods-breadth a:hover { text-decoration: underline; }

@media (max-width: 62rem) {
  .professional-site .methods { grid-template-columns: 1fr; gap: 2.25rem; }
  .professional-site .method { display: block; }
  .professional-site .method-name::before { display: inline; margin: 0 0.7rem 0 0; vertical-align: 0.15em; }
}

/* services: odd fifth card becomes a full-width closing row */
.professional-site .cta-row .card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  display: flex; align-items: baseline; gap: 1.5rem; flex-wrap: wrap;
}
.professional-site .cta-row .card:last-child:nth-child(odd) .card-kicker { margin: 0; min-width: 11rem; }
.professional-site .cta-row .card a.card-link:focus-visible,
.professional-site .cta-row a.card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* rhythm */
.professional-site .home-section { margin-block: 4.5rem; }
.professional-site .contact-cta { margin-top: 4.5rem; }

@media (max-width: 46rem) {
  .professional-site .home-section { margin-block: 3.25rem; }
  .professional-site .methods-intro { margin-top: 1.5rem; }
  .professional-site .methods-breadth { margin-top: 2.25rem; }
  .professional-site .hero-actions { gap: 0.25rem 1.5rem; }
  .professional-site .hero-actions .button { flex: 1 1 100%; text-align: center; justify-content: center; margin-bottom: 0.5rem; }
  .professional-site .hero-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .professional-site .cta-row .card:last-child:nth-child(odd) { display: block; }
  .professional-site .cta-row .card:last-child:nth-child(odd) .card-kicker { margin-bottom: 0.7rem; }
  .professional-site .section-more, .professional-site .methods-breadth a { display: inline-block; padding-block: 0.6rem; }
}

/* methods: align rows across columns, keep link on its own line */
.professional-site .method-case a { display: block; width: fit-content; }
.professional-site .cta-row .card:last-child:nth-child(odd) h3 { margin: 0; }
@media (min-width: 62.01rem) {
  .professional-site .methods { grid-template-rows: auto auto auto auto; row-gap: 0; }
  .professional-site .method { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .professional-site .method-name { margin-bottom: 0.75rem; }
  .professional-site .method-now { margin-top: 1.25rem !important; align-self: start; }
}

/* hero: let headline lines wrap when the portrait column leaves too little room (fixes clipping at ~1024px) */
@media (min-width: 62rem) and (max-width: 77rem) {
  .professional-site .hero-line { white-space: normal; }
}

/* --- home: what I do, the record, how I work (converged rewrite) ------ */
.do-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem; }
.do-list li { border-top: 2px solid var(--accent); padding-top: 1.1rem; }
.do-list h3 { margin: 0 0 0.55rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.do-list p { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.55; color: var(--ink-soft); max-width: 24rem; }

.record-list { list-style: none; margin: 0.25rem 0 0; padding: 0; }
.record-list li { border-bottom: 1px solid var(--line); }
.record-list a { display: block; padding: 1.05rem 2rem 1.05rem 0; position: relative; font-family: var(--sans); font-size: 1.08rem; line-height: 1.5; color: var(--ink); text-decoration: none; }
.record-list a::after { content: "\2192"; position: absolute; right: 0.25rem; top: 1.05rem; color: var(--accent); }
.record-list a:hover, .record-list a:focus-visible { color: var(--accent); }
.record-credentials { margin: 1.25rem 0 0; font-family: var(--sans); font-size: 0.95rem; color: var(--muted); }
.how-i-work { max-width: 46rem; margin: 3rem 0 0; font-family: var(--sans); font-size: 0.95rem; line-height: 1.55; color: var(--muted); }

@media (max-width: 62rem) {
  .do-list { grid-template-columns: 1fr; gap: 1.75rem; }
  .do-list p { max-width: none; }
  .record-list a { padding-block: 0.95rem; min-height: 44px; }
}
@media (max-width: 30rem) {
  .site-nav a { padding-inline: 0.32rem; font-size: 0.76rem; letter-spacing: 0.02em; }
  .professional-site .site-nav { gap: 0 0.15rem; }
}

/* home: design review fixes */
@media (max-width: 64rem) {
  .professional-site .hero { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
}
.professional-site .hero-text::before { display: none; }
.professional-site main:has(> .hero) { padding-bottom: 2rem; }
.professional-site main > .home-section:last-child { margin-bottom: 0; }
.professional-site .site-footer { margin-top: 3rem; }
.do-section .section-bar { border-bottom: 0; padding-bottom: 0.5rem; }
.record-list a { max-width: none; padding-right: max(2rem, calc(100% - 62rem)); }
.professional-site .hero-actions .text-link { font-size: 0.95rem; padding-block: 0.6rem; }
@media (max-width: 40rem) {
  .professional-site .hero h1 { text-wrap: balance; }
  .professional-site .hero-line { display: inline; }
}

/* home: ways to work together, one ruled row */
.professional-site .ways-label { font: 750 0.75rem/1 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.9rem; }
.ways-row { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-block: 1px solid var(--line-strong); }
.ways-row li + li { border-left: 1px solid var(--line); }
.ways-row a { display: block; padding: 1rem 1.1rem; font: 600 1.05rem var(--serif); color: var(--ink); text-decoration: none; }
.ways-row li:first-child a { padding-left: 0; }
.ways-row a::after { content: "\2192"; margin-left: 0.4rem; color: var(--accent); }
.ways-row a:hover, .ways-row a:focus-visible { color: var(--accent); }
@media (max-width: 40rem) {
  .ways-row { grid-template-columns: 1fr 1fr; }
  .ways-row li:nth-child(3) { border-left: 0; }
  .ways-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ways-row a { padding-left: 0; }
  .ways-row li:nth-child(even) a { padding-left: 1.1rem; }
}

/* contact page */
.contact-methods { max-width: 40rem; margin: 2.5rem 0 1.5rem; border-top: 1px solid var(--line-strong); }
.contact-methods > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-methods dt { font: 750 0.75rem/1.9 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.contact-methods dd { margin: 0; font: 600 1.25rem var(--serif); overflow-wrap: anywhere; }
.contact-methods small { display: block; font: 400 0.88rem var(--sans); color: var(--muted); margin-top: 0.2rem; }
.contact-notes { max-width: 40rem; margin: 0 0 1.5rem; padding-left: 1.1rem; color: var(--ink-soft); }
.contact-notes li { margin: 0.35rem 0; }
@media (max-width: 40rem) { .contact-methods > div { grid-template-columns: 1fr; gap: 0.25rem; } }

/* footer: three link columns, no name block */
.professional-site .site-footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 40rem) {
  .professional-site .site-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .professional-site .site-footer-base { flex-direction: column; }
}

/* design consistency pass */
.professional-site .section-more { font-size: 0.88rem; font-weight: 700; }
.professional-site .hero-actions .text-link { font-size: 0.88rem; }
@media (max-width: 64rem) { .professional-site .hero-figure { max-width: 26rem; } }
.contact-notes { list-style: none; padding: 0; }
.contact-notes li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-methods dd a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* footer headings: use the footer text colour so they stay legible on the dark band in light mode */
.professional-site .footer-head { color: var(--footer-text); }

/* home: the record, scale line and outcome tags */
.record-scale { max-width: 46rem; margin: 1.25rem 0 0.5rem; font-size: 1.05rem; line-height: 1.55; color: var(--ink-soft); }
.record-tag { display: block; margin-bottom: 0.25rem; font: 750 0.7rem/1.4 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); }

/* services page: rows, no cards */
.service-rows { margin: 0; border-top: 1px solid var(--line-strong); }
.service-rows > div { display: grid; grid-template-columns: minmax(14rem, 22rem) minmax(0, 40rem); gap: 2.2rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.service-rows dt a { font: 600 1.3rem/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.service-rows dt a::after { content: "\00a0\2192"; color: var(--accent); }
.service-rows dt a:hover, .service-rows dt a:focus-visible { color: var(--accent); }
.service-rows dd { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }
.services-more { margin-top: 1.5rem; font-size: 0.92rem; }
.services-more a { font-weight: 700; text-decoration: none; }
@media (max-width: 48rem) { .service-rows > div { grid-template-columns: 1fr; gap: 0.35rem; } }

/* section sub-navigation: the overview item is set apart from its siblings */
.professional-site .subnav a:first-child { padding-right: 1.1rem; border-right: 1px solid var(--line); }
@media (max-width: 40rem) {
  .professional-site .subnav-inner { gap: 0 0.4rem; }
  .professional-site .subnav a:first-child { padding-right: 0.5rem; }
}

/* services page: spacing, title width, steady strip */
.service-rows { border-top: 0; }
body:has(.service-rows) .page-head { padding-bottom: 2rem; margin-bottom: 0.5rem; }
body:has(.service-rows) main { padding-bottom: 2.5rem; }
.service-rows > div { grid-template-columns: 25rem minmax(0, 40rem); }
@media (max-width: 48rem) { .service-rows > div { grid-template-columns: 1fr; } }
.professional-site .subnav a[aria-current="page"] { font-weight: inherit; }
@media (max-width: 40rem) { .professional-site .site-nav a.site-nav-cta { border-bottom: 0; } }

/* Board page: plain (unlinked) row titles, section spacing, fit line */
.service-rows dt { font: 600 1.3rem/1.3 var(--serif); color: var(--ink); }
.professional-site h2 + .service-rows, .professional-site h2 + .record-list { margin-top: 0.75rem; }
.board-fit { margin-top: 2rem; color: var(--ink-soft); }

/* board page redesign */
.page > .board-section { margin-block: 3.75rem 0; max-width: none; }
.page > .board-section:first-of-type { margin-top: 3rem; }
.board-section .section-bar h2 { margin: 0; }
.board-section .do-list { margin-top: 1.5rem; }
.board-section .record-list a { max-width: none; padding-right: max(2rem, calc(100% - 62rem)); }
.row-meta { display: block; margin-top: .35rem; font: 400 .85rem/1.4 var(--sans); color: var(--muted); letter-spacing: 0; }
.xp-label { margin: 1.75rem 0 .5rem; font: 750 .75rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.xp-facts { margin: 0; font-family: var(--sans); font-size: .95rem; }
.xp-facts > div { display: grid; grid-template-columns: 25rem minmax(0,1fr) 6rem; gap: 2.2rem; padding: .7rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.xp-facts dt { font-weight: 600; color: var(--ink); }
.xp-facts dd { margin: 0; color: var(--ink-soft); }
.xp-facts .xp-years { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.page > .contact-cta { max-width: none; margin-top: 4rem; }
@media (max-width: 48rem) {
  .board-section .do-list { grid-template-columns: 1fr; gap: 1.5rem; }
  .xp-facts > div { grid-template-columns: minmax(0,1fr) auto; gap: .15rem 1rem; }
  .xp-facts dt { grid-column: 1; }
  .xp-facts .xp-years { grid-column: 2; grid-row: 1; }
  .xp-facts dd:not(.xp-years) { grid-column: 1 / -1; }
}
.board-section .section-bar { border-bottom: 0; padding-bottom: .25rem; }
.xp-label { padding-bottom: .6rem; border-bottom: 1px solid var(--line-strong); margin-bottom: 0; }
.xp-lead > div:last-child { border-bottom: 0; }
.board-section .record-list { border-top: 1px solid var(--line-strong); margin-top: .75rem; }
.page > .contact-cta { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1rem 3rem; align-items: center; }
.page > .contact-cta .contact-cta-text { max-width: 44rem; }
@media (max-width: 40rem) { .page > .contact-cta { grid-template-columns: 1fr; } }
.professional-site .page > .page-intro:first-child { margin-top: 2.25rem; }

/* Board page: calmer scale (second pass) */
.board-section .section-bar h2 { font-size: 1.75rem; }
.page > .board-section { margin-block-start: 3rem; }
.board-section .do-list h3 { font-size: 1.1rem; }
.professional-site .page > .page-intro:first-child { font-size: 1.15rem; line-height: 1.6; max-width: 46rem; }
.xp-lead > div, .xp-facts > div { grid-template-columns: 19rem minmax(0,1fr) 6rem; }
.xp-lead > div { grid-template-columns: 19rem minmax(0,1fr); }
.xp-lead dt { font-size: 1.15rem; }
@media (max-width: 48rem) { .xp-lead > div { grid-template-columns: 1fr; } .xp-facts > div { grid-template-columns: minmax(0,1fr) auto; } }

/* Expert Witness page: proof numerals and drawer summaries */
.expert-proof .proof-num { font-family: var(--serif); font-size: 2.4rem; line-height: 1; margin: 0 0 0.45rem; color: var(--ink); }
.expert-proof .fact-card h3 { text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: var(--accent); }
.expert-drawer { border-block: 0; margin-block: 1rem; }
.expert-drawer > summary { border: 1px solid var(--line-strong); padding: 1rem 1.25rem; }
.expert-drawer > summary > span { display: block; font-weight: 600; }
.expert-drawer > summary small { display: block; font-family: var(--sans); margin-top: 0.25rem; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 719px) {
  .expert-proof .fact-card { display: grid; grid-template-columns: 4.6rem 1fr; column-gap: 0.9rem; align-items: start; }
  .expert-proof .proof-num { grid-row: 1 / span 2; font-size: 1.6rem; margin: 0; }
  .expert-drawer > summary { min-height: 44px; }
}
.expert-drawer > summary small { color: var(--ink-soft); }
.expert-drawer > summary::after { font-size: 1.5rem; }
.expert-drawer > summary:hover { border-color: var(--accent); }
.expert-proof { align-items: stretch; }
.page .facts-list li, .page .speaking-archive-body li { overflow-wrap: anywhere; }

/* Expert Witness page: layout pass (designer round 9) */
.professional-site .expert-proof { max-width: 46rem; margin-block: 2rem 2.5rem; }
body:has(.expert-proof) .page-head { padding-bottom: 1.75rem; margin-bottom: 0; }
body:has(.expert-proof) .page > .page-intro:first-child { margin-top: 1.5rem; margin-bottom: 1.25rem; }
.nowrap { white-space: nowrap; }
.page .roles { max-width: 46rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.page .roles strong { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.topic-list > li > strong { font-size: 1.05rem; color: var(--ink); }
.expert-drawer { margin-top: 1.75rem; }
.expert-drawer[open] { border: 1px solid var(--line-strong); }
.expert-drawer[open] > summary { border: 0; }
.expert-drawer[open] > .speaking-archive-body { padding: 0 1.25rem 1rem; }
.expert-drawer .speaking-archive-body h3 { font-size: 1.05rem; font-family: var(--serif); margin-top: 1.5rem; }
@media (max-width: 719px) {
  .professional-site .expert-proof { margin-block: 1.25rem 1.5rem; }
  .professional-site .expert-proof .fact-card { padding-top: 0.9rem; padding-bottom: 0.35rem; }
}
/* Expert Witness drawers: no stacked space after the last entry */
.expert-drawer[open] { padding-block: 0; }
.expert-drawer .speaking-archive-body > :last-child { margin-bottom: 0; }
.expert-drawer .speaking-archive-body .facts-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.expert-drawer[open] > .speaking-archive-body { padding-bottom: 1.25rem; }

/* Research page: quieter venue tags, tighter regulatory rows, no rail on phones */
body:has(.publication-proof) .entry-outcome { background: none; padding: 0; color: var(--muted); font-size: 0.8rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
body:has(.publication-proof) .entry-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body:has(.publication-proof) .expert-drawer .entry-summary { display: block; }
.patents-list { font-size: 0.95rem; }
@media (max-width: 40rem) { body:has(.publication-proof) .with-rail > .rail { display: none; } }

/* Phones (Chris, 2026-12-04): a compact header with the menu in two even rows, and the portrait as a small picture
   beside the name line at the top of the home page instead of a lone photo after the buttons. */
@media screen and (max-width: 40rem) {
  .professional-site .site-header-inner { padding-block: 0.9rem 0.35rem; }
  .professional-site .site-nav { display: grid; grid-template-columns: repeat(4, max-content); justify-content: start; gap: 0 1.15rem; margin-top: 0.35rem; }
  .professional-site .site-nav a,
  .professional-site .site-nav a.site-nav-cta,
  .professional-site .site-nav a.site-nav-cta[aria-current] { min-height: 40px; font-size: 0.78rem; letter-spacing: 0.06em; }

  .professional-site .hero {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    column-gap: 1rem;
    row-gap: 0;
    padding-block: 1.75rem 1.5rem;
  }
  .professional-site .hero-text { display: contents; }
  .professional-site .hero-text > * { grid-column: 1 / -1; }
  .professional-site .hero-figure { grid-column: 1; grid-row: 1; margin: 0; max-width: none; display: block; }
  .professional-site .hero-portrait { width: 5rem; height: 5rem; aspect-ratio: 1; object-fit: cover; object-position: 50% 15%; border-radius: 50%; border-bottom: 0; }
  .professional-site .hero-kicker { grid-column: 2; grid-row: 1; align-self: center; margin: 0; line-height: 1.6; }
  .professional-site .hero-kicker .kicker-name,
  .professional-site .hero-kicker .kicker-role { display: block; }
  .professional-site .hero-kicker .kicker-sep { display: none; }
  .professional-site .hero h1 { margin-top: 1.5rem; }
}
