/* ==========================================================================
   Hloriso Mohale — site stylesheet
   Editorial system: ivory paper, charcoal ink, restrained bronze.
   ========================================================================== */

:root {
  --paper: #f5f0e7;
  --paper-raised: #fbf8f2;
  --paper-deep: #ece5d8;
  --ink: #1d1c1a;
  --ink-2: #44413b;
  --ink-3: #69645b;
  --rule: #d9d0c0;
  --rule-soft: #e6dfd2;
  --bronze: #7a5b2b;          /* text-safe on paper (≥ 4.9:1) */
  --bronze-line: #a8844a;     /* decorative rules */
  --night: #1f1e1b;
  --night-2: #2a2925;
  --night-ink: #efe8db;
  --night-ink-2: #bdb4a4;
  --night-bronze: #cfac72;
  --error: #9b2c1f;
  --success: #2f5d3a;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --measure: 66ch;
  --section: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--bronze); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
em, i { font-style: italic; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }
::selection { background: #e3d3b4; color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 1px; }
.on-night :focus-visible { outline-color: var(--night-ink); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .7rem 1rem; text-decoration: none; font-size: .9rem;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

html:not(.js) .js-only { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type helpers ---------- */

.label {
  display: inline-block;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bronze);
}
.on-night .label { color: var(--night-bronze); }

.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--ink-3); }
.serif { font-family: var(--serif); }
.small { font-size: .875rem; }

.arrow-link {
  display: inline-flex; align-items: baseline; gap: .45em;
  font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: .1em;
}
.arrow-link::after { content: "→"; transition: transform .25s var(--ease); }
.arrow-link:hover::after { transform: translateX(3px); }
.arrow-link[target="_blank"]::after { content: "↗"; }
.arrow-link[target="_blank"]:hover::after { transform: translate(2px, -2px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 500 .95rem/1.2 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); border-radius: 0;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.on-night .btn-ink { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); }
.on-night .btn-ink:hover { background: var(--night-bronze); border-color: var(--night-bronze); color: var(--night); }
.on-night .btn-line { color: var(--night-ink); border-color: var(--night-ink-2); }
.on-night .btn-line:hover { background: var(--night-ink); color: var(--night); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 231, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(6px); backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.wordmark {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
}
.wordmark-photo {
  width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover;
  background: var(--paper-deep); box-shadow: 0 0 0 1px var(--rule), 0 0 0 3px var(--paper), 0 0 0 4px var(--bronze-line);
}
@media (max-width: 400px) {
  .header-inner { gap: .75rem; }
  .site-header .wordmark { font-size: 1.15rem; gap: .55rem; }
  .site-header .wordmark-photo { width: 34px; height: 34px; }
  .nav-toggle { padding: .5rem .65rem; gap: .45rem; }
}
.footer-brand .wordmark-photo { width: 48px; height: 48px; box-shadow: 0 0 0 1px var(--rule), 0 0 0 3px var(--paper-deep), 0 0 0 4px var(--bronze-line); }
.wordmark:hover { color: var(--ink); }
.wordmark span { color: var(--bronze); }
.site-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font-size: .92rem; text-decoration: none; color: var(--ink-2);
  padding: .4rem 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--bronze-line); }
.nav-toggle {
  display: none; align-items: center; gap: .6rem;
  background: none; border: 1px solid var(--rule); color: var(--ink);
  font: 500 .85rem var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding: .55rem .85rem; min-height: 44px; cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 16px; height: 9px; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s var(--ease);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    display: none;
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .site-nav a { display: block; padding: .85rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule-soft); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--rule-soft); color: var(--bronze); }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: .25rem 1rem; padding: 0 0 .75rem; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav a { padding: .3rem 0; font-size: .9rem; border: 0; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--rule); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: .9rem; max-width: 18em; }
.section-head .lede { margin: 1.1rem 0 0; }
@media (max-width: 700px) { .section-head { grid-template-columns: 1fr; } }

.on-night { background: var(--night); color: var(--night-ink); }
.on-night a:hover { color: var(--night-bronze); }
.section.on-night + .section, .section + .section.on-night { border-top: 0; }
.on-paper-deep { background: var(--paper-deep); }

/* ---------- Home: cover ---------- */

.cover { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 0; }
.cover-meta {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .7rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.cover-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem);
  align-items: end; padding-top: clamp(2.5rem, 6vw, 5rem);
}
.cover-name { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--ink-2); margin: 0 0 1.4rem; }
.cover h1 {
  font-size: clamp(2.9rem, 7.2vw, 6.3rem); line-height: .98; letter-spacing: -.028em;
  font-variation-settings: "opsz" 72;
}
.cover h1 em { display: block; color: var(--bronze); }
.cover .lede { margin: clamp(1.6rem, 3vw, 2.4rem) 0 2.2rem; max-width: 33em; }
.cover-text { padding-bottom: clamp(1rem, 4vw, 3.5rem); }
.cover-portrait { margin: 0; }
.cover-portrait .frame { position: relative; display: block; }
.cover-portrait .frame::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--bronze-line); z-index: -1;
}
.cover-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; background: var(--paper-deep); }
.cover-portrait figcaption { margin-top: 1.6rem; font-size: .82rem; color: var(--ink-3); line-height: 1.5; }
.cover-portrait { isolation: isolate; }

.cover-index {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(3rem, 6vw, 5rem) 0 0; border-top: 1px solid var(--ink);
}
.cover-index > div { padding: 1.4rem 1.5rem 1.6rem 0; }
.cover-index > div + div { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.cover-index dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: .5rem; }
.cover-index dd { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.35; }
.cover-index dd a { text-decoration: none; }
.cover-index dd a:hover { text-decoration: underline; }
.cover-index dd span { display: block; font-family: var(--sans); font-size: .85rem; color: var(--ink-3); margin-top: .25rem; }

@media (max-width: 960px) {
  .cover-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-index > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .cover-index > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 760px) {
  .cover-grid { grid-template-columns: 1fr; align-items: start; }
  .cover-portrait { max-width: 420px; margin-left: 14px; }
  .cover-text { padding-bottom: 0; }
}
@media (max-width: 480px) {
  .cover-index { grid-template-columns: 1fr; }
  .cover-index > div, .cover-index > div + div { padding: 1.1rem 0; border-left: 0; }
  .cover-index > div + div { border-top: 1px solid var(--rule); }
}

/* ---------- Book feature ---------- */

.book-feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.book-cover { margin: 0; justify-self: center; width: min(100%, 340px); }
.book-cover img {
  width: 100%;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 18px 30px -12px rgba(0,0,0,.45), 0 40px 70px -30px rgba(0,0,0,.35);
}
.book-feature h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); margin: 1rem 0 .8rem; }
.book-subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.4; margin-bottom: 1.6rem; }
.on-night .book-subtitle { color: var(--night-ink-2); }
.book-feature p.summary { max-width: 36em; }
.on-night .summary { color: var(--night-ink); opacity: .92; }
.meta-list { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 1.2rem 2.8rem; margin: 2rem 0 2.4rem; padding: 1.3rem 0; border-block: 1px solid var(--rule); }
.on-night .meta-list { border-color: #3d3b36; }
.meta-list dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--bronze); }
.on-night .meta-list dt { color: var(--night-bronze); }
.meta-list dd { margin: .3rem 0 0; font-size: .95rem; }
@media (max-width: 860px) {
  .book-feature { grid-template-columns: 1fr; }
  .book-cover { width: min(70%, 280px); }
  .meta-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- Index rows (work, writing) ---------- */

.rows { border-top: 1px solid var(--ink); }
.row {
  display: grid; grid-template-columns: 4.5rem minmax(0, 4fr) minmax(0, 5fr) minmax(0, 2.6fr);
  gap: 1.5rem 2rem; padding: 2rem 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.row-num { font-family: var(--serif); font-size: 1.05rem; color: var(--bronze); font-variant-numeric: oldstyle-nums; }
.row h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.row h3 a { text-decoration: none; }
.row h3 a:hover { text-decoration: underline; color: inherit; }
.row-role { display: block; margin-top: .45rem; font-size: .85rem; color: var(--ink-3); }
.row p { margin: 0; color: var(--ink-2); }
.row-link { justify-self: end; font-size: .85rem; min-width: 0; max-width: 100%; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .row { grid-template-columns: 3rem minmax(0, 1fr); }
  .row > p, .row-link { grid-column: 2; }
  .row-link { justify-self: start; }
}

/* ---------- Speaking teaser ---------- */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.engagement {
  border: 1px solid var(--ink); padding: clamp(1.5rem, 3vw, 2.4rem); background: var(--paper-raised); position: relative;
}
.engagement + .engagement { margin-top: 1.5rem; }
.status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze-line); }
.status-past::before { background: var(--rule); }
.engagement h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 1rem 0 .9rem; }
.engagement-event { font-family: var(--serif); font-size: 1.2rem; font-style: italic; margin-bottom: .2rem; }
.engagement-where { font-size: .92rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.engagement p:last-child { margin-bottom: 0; }
.engagement-with { font-size: .88rem; color: var(--ink-3); }
.engagement .arrow-link { font-size: .9rem; }

.topic-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); counter-reset: topic; }
.topic-list li { padding: 1rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 2.5rem 1fr; font-family: var(--serif); font-size: 1.22rem; line-height: 1.35; }
.topic-list li::before { counter-increment: topic; content: counter(topic, decimal-leading-zero); font-size: .95rem; color: var(--bronze); padding-top: .2rem; font-variant-numeric: oldstyle-nums; }
.note { font-size: .88rem; color: var(--ink-3); }

/* ---------- Essays grid ---------- */

.essays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.essay { padding: 1.8rem 2rem 2rem 0; display: flex; flex-direction: column; }
.essay + .essay { padding-left: 2rem; border-left: 1px solid var(--rule); }
.essay-meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.essay-meta .label { display: block; font-size: inherit; letter-spacing: inherit; margin-bottom: .25rem; }
.essay h3 { font-size: 1.55rem; line-height: 1.2; margin-bottom: .9rem; }
.essay h3 a { text-decoration: none; }
.essay h3 a:hover { text-decoration: underline; color: inherit; }
.essay p { color: var(--ink-2); font-size: .98rem; }
.essay .arrow-link { margin-top: auto; align-self: flex-start; font-size: .9rem; }
@media (max-width: 900px) {
  .essays { grid-template-columns: 1fr; }
  .essay, .essay + .essay { padding: 1.6rem 0; border-left: 0; }
  .essay + .essay { border-top: 1px solid var(--rule); }
}

/* ---------- Organisation logos ---------- */

.org-logo { display: block; height: 40px; width: auto; max-width: 100%; object-fit: contain; }
.cover-index dt .org-logo { height: 52px; margin-bottom: 1rem; }
.venture-logo { height: 56px; margin: .2rem 0 1.2rem; }
.published-by { display: flex; align-items: center; gap: .9rem; margin: 1rem 0 0; font-size: .82rem; color: var(--ink-3); }
.published-by .org-logo { height: 34px; }

.affiliations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.affiliations li + li { border-left: 1px solid var(--rule); }
.affiliations a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.8rem 1.5rem 1.8rem 0; text-decoration: none; }
.affiliations li + li a { padding-left: 1.5rem; }
.affiliation-logo { display: flex; align-items: center; height: 64px; margin-bottom: 1rem; }
.affiliation-logo .org-logo { height: 52px; }
.affiliations strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.3; }
.affiliations a:hover strong { text-decoration: underline; }
@media (max-width: 960px) {
  .affiliations { grid-template-columns: 1fr 1fr; }
  .affiliations li:nth-child(3) { border-left: 0; }
  .affiliations li:nth-child(3) a { padding-left: 0; }
  .affiliations li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 520px) {
  .affiliations { grid-template-columns: 1fr; }
  .affiliations li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .affiliations li + li a { padding-left: 0; }
}

.event-banner { margin: 0 0 1.8rem; }
.event-banner img { width: 100%; border: 1px solid var(--rule); }
.event-banner figcaption { font-size: .8rem; color: var(--ink-3); margin-top: .6rem; }

/* ---------- Blog ---------- */

.post-thumb { display: block; aspect-ratio: 2 / 1; overflow: hidden; background: var(--paper-deep); border: 1px solid var(--rule); margin-bottom: 1.4rem; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-thumb:hover img, .essay:hover .post-thumb img, .post-card:hover .post-thumb img, .featured-post:hover .post-thumb img { transform: scale(1.025); }

.featured-post { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.featured-post .post-thumb { margin-bottom: 0; }
.featured-post .label { margin-bottom: .8rem; }
.featured-post h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; margin-bottom: 1rem; }
.featured-post h3 a, .post-card h3 a { text-decoration: none; }
.featured-post h3 a:hover, .post-card h3 a:hover { text-decoration: underline; color: inherit; }
.featured-post p { color: var(--ink-2); }
@media (max-width: 860px) { .featured-post { grid-template-columns: 1fr; } }

.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem); padding-top: clamp(2.5rem, 5vw, 4rem); }
.post-card { display: flex; flex-direction: column; }
.post-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); line-height: 1.2; margin-bottom: .8rem; }
.post-card p { color: var(--ink-2); font-size: .98rem; }
.post-card .arrow-link { margin-top: auto; align-self: flex-start; font-size: .9rem; }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }

.article-hero { margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); max-width: 50rem; border: 1px solid var(--rule); background: var(--paper-deep); }
.article-hero img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }

/* ---------- Bio ---------- */

.bio { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.bio-photo { margin: 0; }
.bio-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.bio-text .big { font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.45; color: var(--ink); }
.bio-text p { color: var(--ink-2); }
.bio-text .actions { margin-top: 2rem; }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; } .bio-photo { max-width: 360px; } }

/* ---------- Contact band ---------- */

.contact-band h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em; max-width: 13em; margin: 1rem 0 2.5rem; }
.contact-band h2 em { color: var(--night-bronze); }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #3d3b36; margin-bottom: 2.5rem; }
.channel { padding: 1.4rem 1.5rem 1.4rem 0; }
.channel + .channel { padding-left: 1.5rem; border-left: 1px solid #3d3b36; }
.channel dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--night-bronze); margin-bottom: .4rem; }
.channel dd { margin: 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.7vw, 1.3rem); overflow-wrap: anywhere; }
.channel dd a { text-decoration: none; border-bottom: 1px solid #5a564e; }
.channel dd a:hover { border-bottom-color: currentColor; }
@media (max-width: 760px) {
  .channels { grid-template-columns: 1fr; }
  .channel, .channel + .channel { padding: 1.1rem 0; border-left: 0; border-bottom: 1px solid #3d3b36; }
}

/* ---------- Page head (interior) ---------- */

.page-head { padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; letter-spacing: -.025em; margin: 1rem 0 1.4rem; max-width: 15em; }
.page-head .lede { margin: 0; }
.breadcrumb { font-size: .82rem; color: var(--ink-3); margin-bottom: 1.6rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--rule); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- About ---------- */

.profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.profile-aside { position: sticky; top: 104px; }
.profile-aside figure { margin: 0 0 1.5rem; }
.profile-aside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.profile-aside figcaption { font-size: .82rem; color: var(--ink-3); margin-top: .7rem; }
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts > div { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.facts dd { margin: .25rem 0 0; font-size: .95rem; }
.prose-sans { max-width: var(--measure); }
.prose-sans > p:first-child { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.65rem); line-height: 1.45; color: var(--ink); }
.prose-sans p { color: var(--ink-2); }
@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; }
  .profile-aside { position: static; max-width: 420px; }
}

.focus-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.focus-grid > div { padding: 1.6rem 1.6rem 1.6rem 0; }
.focus-grid > div + div { padding-left: 1.6rem; border-left: 1px solid var(--rule); }
.focus-grid h3 { font-size: 1.4rem; margin-bottom: .7rem; }
.focus-grid p { font-size: .95rem; color: var(--ink-2); margin: 0; }
@media (max-width: 960px) {
  .focus-grid { grid-template-columns: 1fr 1fr; }
  .focus-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .focus-grid > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .focus-grid { grid-template-columns: 1fr; }
  .focus-grid > div, .focus-grid > div + div { padding: 1.3rem 0; border-left: 0; }
  .focus-grid > div + div { border-top: 1px solid var(--rule); }
}

.bio-block { border: 1px solid var(--rule); background: var(--paper-raised); padding: clamp(1.4rem, 3vw, 2.2rem); }
.bio-block + .bio-block { margin-top: 1.5rem; }
.bio-block-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.bio-block-head h3 { font-size: 1.3rem; }
.bio-block p { margin: 0; color: var(--ink-2); max-width: var(--measure); }
.copy-btn {
  font: 500 .82rem var(--sans); letter-spacing: .04em; background: none; color: var(--ink);
  border: 1px solid var(--rule); padding: .5rem .9rem; min-height: 40px; cursor: pointer;
}
.copy-btn:hover { border-color: var(--ink); }
.headshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.headshots figure { margin: 0; }
.headshots img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; width: 100%; }
.headshots figcaption { display: flex; justify-content: space-between; gap: .5rem; font-size: .85rem; margin-top: .6rem; color: var(--ink-3); flex-wrap: wrap; }

/* ---------- Work ---------- */

.venture { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.venture:first-child { border-top: 1px solid var(--ink); }
.venture-num { font-family: var(--serif); color: var(--bronze); font-size: 1.05rem; margin-bottom: .8rem; font-variant-numeric: oldstyle-nums; }
.venture h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: .6rem; }
.venture-role { color: var(--ink-3); font-size: .92rem; margin-bottom: 1.4rem; }
.venture .summary { font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.45; color: var(--ink); }
.venture p { color: var(--ink-2); max-width: var(--measure); }
.tags { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { font-size: .82rem; padding: .35rem .75rem; border: 1px solid var(--rule); color: var(--ink-2); }
@media (max-width: 860px) { .venture { grid-template-columns: 1fr; } }

.practice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.practice > article { padding: 1.8rem 2rem 2rem 0; display: flex; flex-direction: column; }
.practice > article + article { padding-left: 2rem; border-left: 1px solid var(--rule); }
.practice h3 { font-size: 1.55rem; margin-bottom: 1rem; }
.practice p { color: var(--ink-2); font-size: .98rem; }
.practice .arrow-link { margin-top: auto; align-self: flex-start; font-size: .88rem; }
@media (max-width: 900px) {
  .practice { grid-template-columns: 1fr; }
  .practice > article, .practice > article + article { padding: 1.6rem 0; border-left: 0; }
  .practice > article + article { border-top: 1px solid var(--rule); }
}

/* ---------- Book page ---------- */

.book-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.book-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.025em; margin: 1rem 0 1rem; }
.book-hero .book-cover { width: min(100%, 380px); }
.byline { font-size: .95rem; color: var(--ink-3); }
@media (max-width: 860px) {
  .book-hero { grid-template-columns: 1fr; }
  .book-hero .book-cover { width: min(72%, 300px); justify-self: start; }
}

.two-col { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 6vw, 6rem); }
.two-col > h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.two-col .body > p { max-width: var(--measure); color: var(--ink-2); }
.two-col .body > p:first-child { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.ruled-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); max-width: 46em; }
.ruled-list li { padding: 1rem 0 1rem 1.6rem; border-bottom: 1px solid var(--rule); position: relative; color: var(--ink-2); }
.ruled-list li::before { content: ""; position: absolute; left: 0; top: 1.75em; width: .7rem; height: 1px; background: var(--bronze-line); }

.toc { border-top: 1px solid var(--ink); max-width: 46em; }
.toc-part { padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.toc-part h3 { font-size: 1.3rem; line-height: 1.3; }
.toc-part h3 .label { display: block; margin-bottom: .35rem; }
.toc-part ol { margin: .8rem 0 0; padding-left: 2rem; color: var(--ink-2); font-size: .95rem; }
.toc-part li { padding: .2rem 0; }
.toc-part li::marker { color: var(--bronze); font-variant-numeric: tabular-nums; }

/* ---------- Writing index ---------- */

.entries { border-top: 1px solid var(--ink); }
.entry { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 2fr); gap: 1rem 2.5rem; padding: 2rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.entry time, .entry .entry-pub { font-size: .85rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.entry h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin: .5rem 0 .7rem; }
.entry h3 a { text-decoration: none; }
.entry h3 a:hover { text-decoration: underline; color: inherit; }
.entry p { margin: 0; color: var(--ink-2); max-width: 44em; }
.entry-aside { justify-self: end; font-size: .85rem; color: var(--ink-3); text-align: right; }
@media (max-width: 760px) {
  .entry { grid-template-columns: 1fr; gap: .2rem; }
  .entry-aside { justify-self: start; text-align: left; margin-top: .6rem; }
}

.callout { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; border: 1px solid var(--ink); padding: clamp(1.5rem, 3vw, 2.2rem); margin-top: 3rem; }
.callout h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.callout p { margin: 0; color: var(--ink-2); }

/* ---------- Article ---------- */

.article-head { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.article-head .inner { max-width: 50rem; }
.article-head h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -.022em; margin: 1.1rem 0 1.3rem; }
.standfirst { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: var(--ink-2); margin: 0 0 2rem; }
.byline-row { display: flex; align-items: center; gap: .9rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); font-size: .9rem; color: var(--ink-3); }
.byline-row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.byline-row strong { display: block; color: var(--ink); font-weight: 600; }

.prose { max-width: 41rem; font-family: var(--serif); font-size: clamp(1.12rem, 1.4vw, 1.22rem); line-height: 1.7; color: #26241f; padding-bottom: clamp(3rem, 6vw, 5rem); }
.prose > p:first-child::first-letter {
  float: left; font-size: 3.9em; line-height: .82; padding: .07em .1em 0 0; color: var(--bronze); font-weight: 400;
}
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 1.95rem); margin: 2.4em 0 .7em; line-height: 1.2; }
.prose h3 { font-size: 1.35rem; margin: 2em 0 .6em; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--bronze); }
.prose blockquote {
  margin: 1.6em 0; padding: .1em 0 .1em 1.3em; border-left: 2px solid var(--bronze-line);
  font-style: italic; font-size: 1.12em; line-height: 1.5; color: var(--ink);
}
.prose blockquote strong { font-weight: 500; }
.prose code { font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: .82em; background: var(--paper-deep); padding: .1em .35em; }
.prose a { text-decoration-color: var(--bronze-line); }
.prose strong { font-weight: 600; }
.prose .pick { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.8rem; margin: 2.6em 0; padding-top: 2em; border-top: 1px solid var(--rule); align-items: start; }
.prose .pick-cover { margin: 0; }
.prose .pick-cover img { width: 100%; box-shadow: 0 12px 24px -12px rgba(0,0,0,.4); }
.prose .pick h2 { margin: .2em 0 .4em; font-size: 1.5rem; }
.prose .pick-rank { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--bronze); }
.prose .pick-by { font-family: var(--sans); font-size: .88rem; color: var(--ink-3); }
.prose .best-for { font-family: var(--sans); font-size: .92rem; padding: .8rem 1rem; background: var(--paper-deep); }
@media (max-width: 560px) { .prose .pick { grid-template-columns: 110px minmax(0, 1fr); gap: 1.1rem; } }

.author-note { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1.5rem; max-width: 41rem; padding: 2rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.author-note img { width: 88px; height: 88px; object-fit: cover; object-position: 50% 15%; border-radius: 50%; }
.author-note h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.author-note p { font-size: .95rem; color: var(--ink-2); margin-bottom: .8rem; }
.author-note .links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .9rem; }

.book-aside { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.5rem; align-items: center; max-width: 41rem; margin-top: 2.5rem; padding: 1.6rem; background: var(--paper-deep); }
.book-aside img { width: 96px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.45); }
.book-aside p { margin: 0 0 .8rem; color: var(--ink-2); font-size: .95rem; }
.book-aside h2 { font-size: 1.3rem; margin-bottom: .4rem; }

/* ---------- Speaking page ---------- */

.topics { border-top: 1px solid var(--ink); }
.topic { display: grid; grid-template-columns: 3.5rem minmax(0, 5fr) minmax(0, 6fr); gap: 1rem 2.5rem; padding: 2.2rem 0; border-bottom: 1px solid var(--rule); }
.topic-num { font-family: var(--serif); color: var(--bronze); font-size: 1.05rem; font-variant-numeric: oldstyle-nums; }
.topic h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.2; }
.topic-meta { margin: 1rem 0 0; font-size: .85rem; color: var(--ink-3); }
.topic-meta div + div { margin-top: .3rem; }
.topic-meta dt { display: inline; font-weight: 600; color: var(--ink-2); }
.topic-meta dd { display: inline; margin: 0; }
.topic p { margin: 0; color: var(--ink-2); }
.badge { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--rule); padding: .2rem .55rem; margin-top: 1rem; }
@media (max-width: 860px) {
  .topic { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .topic > p { grid-column: 2; }
}

.checklist { list-style: none; padding: 0; margin: 0; counter-reset: c; }
.checklist li { padding: .7rem 0 .7rem 2.2rem; border-bottom: 1px solid var(--rule); position: relative; color: var(--ink-2); }
.checklist li::before { counter-increment: c; content: counter(c); position: absolute; left: 0; top: .7rem; font-family: var(--serif); color: var(--bronze); }

/* ---------- Contact page & form ---------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside { border-top: 1px solid var(--ink); }
.contact-aside .channel-item { padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.contact-aside .channel-item dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: .35rem; }
.contact-aside .channel-item dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; overflow-wrap: anywhere; }
.contact-aside .channel-item dd a { text-decoration-color: var(--rule); }
.contact-aside .channel-item p { font-size: .88rem; color: var(--ink-3); margin: .4rem 0 0; font-family: var(--sans); }

.form h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .6rem; }
.form-intro { color: var(--ink-2); margin-bottom: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { font-size: .9rem; font-weight: 500; color: var(--ink); }
.req { color: var(--bronze); }
.optional { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper-raised); border: 1px solid #b9b0a0; border-radius: 0;
  padding: .8rem .9rem; min-height: 50px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.hint { font-size: .82rem; color: var(--ink-3); }
.error-msg { font-size: .85rem; color: var(--error); font-weight: 500; }
.error-msg:empty { display: none; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.consent input { width: 20px; height: 20px; min-height: 0; margin: .15rem 0 0; accent-color: var(--ink); padding: 0; }
.consent label { font-weight: 400; font-size: .92rem; color: var(--ink-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; margin-top: 2rem; }
.form-actions .note { flex-basis: 100%; margin: .2rem 0 0; }

.form-status { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-left: 3px solid; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-error { border-color: var(--error); background: #f6e6e1; color: #5e1b12; }
.form-status.is-success { border-color: var(--success); background: #e5ede3; color: #1f3f27; }
.form-status.is-info { border-color: var(--bronze-line); background: var(--paper-deep); color: var(--ink); }
.form-status h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: .35rem; letter-spacing: 0; }
.form-status ul { margin: .4rem 0 0; padding-left: 1.2em; }
.form-status a { font-weight: 500; }

/* ---------- Plain prose pages (privacy) ---------- */

.doc { max-width: 46rem; padding-block: clamp(2.5rem, 5vw, 4rem) var(--section); }
.doc h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; }
.doc p, .doc li { color: var(--ink-2); }
.doc li { margin-bottom: .4em; }

/* ---------- Footer ---------- */

.site-footer { background: var(--paper-deep); border-top: 1px solid var(--rule); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 2rem 3rem; }
.footer-brand .wordmark { font-size: 1.6rem; }
.footer-brand p { color: var(--ink-3); margin-top: .8rem; max-width: 26em; }
.footer-col h2 { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--bronze); margin-bottom: .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: .45rem; }
.footer-col a { text-decoration: none; color: var(--ink-2); }
.footer-col a:hover { text-decoration: underline; color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem 2rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: .84rem; }
.footer-base a { color: inherit; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */

.notfound { padding-block: clamp(5rem, 12vw, 10rem); }
.notfound h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 1; letter-spacing: -.03em; margin: 1rem 0 1.5rem; }

/* ---------- Motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .skip-link, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .on-night { background: #fff; color: #000; }
}
