@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin.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 Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/source-serif-4-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/source-serif-4-italic-latin.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 Serif 4';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/source-serif-4-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/source-serif-4-latin.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;
}

/* Width-matched fallbacks for the condensed display headings, so the
   swap to Bricolage does not change line wrapping (no layout shift). */
@font-face {
  font-family: "Display 75 Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Helvetica Bold"), local("Helvetica-Bold");
  font-weight: 700;
  size-adjust: 64.5%;
}
@font-face {
  font-family: "Display 80 Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Helvetica Bold"), local("Helvetica-Bold");
  font-weight: 700;
  size-adjust: 69.8%;
}

:root {
  --band: #16141b;
  --band-ink: #f3eee8;
  --band-muted: #aaa1a6;
  --paper: #f6f3ee;
  --ink: #1e1b26;
  --muted: #645d68;
  --rule: #e0d9d1;
  --link: #1d5c69;
  --accent: #e8735a;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --display-75: "Bricolage Grotesque", "Display 75 Fallback", "Helvetica Neue", Arial, sans-serif;
  --display-80: "Bricolage Grotesque", "Display 80 Fallback", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Serif 4", Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1f1c22;
    --ink: #ece6e0;
    --muted: #a59ca2;
    --rule: #39343c;
    --link: #8fcfda;
  }
}
:root[data-theme="dark"] {
  --paper: #1f1c22;
  --ink: #ece6e0;
  --muted: #a59ca2;
  --rule: #39343c;
  --link: #8fcfda;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text);
  font-optical-sizing: auto;
}
a { color: var(--link); text-decoration-color: color-mix(in srgb, var(--link) 35%, transparent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; display: block; }

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

/* ---------- top bar ---------- */
.band { background: var(--band); color: var(--band-ink); }
.band a { color: var(--band-ink); text-decoration: none; }
.top { position: relative; z-index: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.mark { font: 700 1.125rem/1 var(--display-75); font-stretch: 75%; letter-spacing: -.01em; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 30px); flex-wrap: wrap; font: 500 .98rem/1 var(--display); }
.nav a { color: var(--band-muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--band-ink); }
.nav a[aria-current="page"] { color: var(--band-ink); border-bottom-color: var(--accent); }

/* ---------- home hero ---------- */
/* text and portrait share the content grid, so both line up with the sections below */
.home-top { justify-content: flex-end; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px 64px; align-items: center; padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(40px, 6vw, 72px); }
.name { margin: 0; font: 700 clamp(2.6rem, 6vw, 4.5rem)/1 var(--display-80); font-stretch: 80%; letter-spacing: -.025em; }
.role { max-width: 28rem; margin: 18px 0 0; color: var(--band-muted); font-size: 1.12rem; line-height: 1.55; }
.role b { color: var(--band-ink); font-weight: 600; }
.mantra { margin: 26px 0 0; color: var(--band-ink); font: italic 400 1.05rem/1.4 var(--text); }
.mantra::before { content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 12px .3em 0; background: var(--accent); vertical-align: middle; }
.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 24px 48px -16px rgb(0 0 0 / .6); }
.portrait figcaption { margin-top: 12px; color: var(--band-muted); font: 400 .82rem/1.4 var(--display); }
@media (max-width: 820px) {
  .home-top { justify-content: flex-start; }
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 460px; }
}
@media (prefers-reduced-motion: no-preference) {
  .portrait { animation: develop 1s ease-out both; }
  @keyframes develop { from { opacity: 0; transform: translateY(8px); } }
}

/* ---------- inner page title ---------- */
.page-title { margin: 0; padding: clamp(20px, 3vw, 36px) 0 clamp(24px, 3vw, 36px); font: 700 clamp(2.4rem, 6vw, 3.75rem)/.95 var(--display-75); font-stretch: 75%; letter-spacing: -.03em; }
.lede { max-width: 40rem; margin: -12px 0 0; padding-bottom: clamp(28px, 4vw, 40px); color: var(--band-muted); font-size: 1.08rem; }

/* ---------- sections ---------- */
main { padding-bottom: 40px; }
.section { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 48px; padding: 32px 0; border-top: 1px solid var(--rule); }
.section:first-child { border-top: 0; }
.section > h2 { margin: 0 0 16px; font: 600 1.35rem/1.15 var(--display); letter-spacing: -.01em; }
.section > h2 small { display: block; margin-top: 6px; color: var(--muted); font: 400 .9rem/1.3 var(--display); }
@media (min-width: 821px) { .section > h2 { position: sticky; top: 24px; align-self: start; } }
@media (max-width: 820px) { .section { grid-template-columns: 1fr; padding: 26px 0; } }
.section h3 { margin: 28px 0 8px; font: 600 1.05rem/1.3 var(--display); color: var(--muted); }
.section h3:first-child { margin-top: 0; }

.prose { max-width: 38rem; }
.prose p { margin: 0 0 1.05em; }

/* entries: year column + body */
.entries { list-style: none; margin: 0; padding: 0; }
.entries > li { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: 0 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.entries > li:last-child { border-bottom: 0; }
.entries.plain > li { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 520px) { .entries > li { grid-template-columns: 1fr; } }
.yr { color: var(--muted); font: 500 .92rem/1.75 var(--display); font-variant-numeric: tabular-nums; }
.t { font-weight: 600; }
.meta { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.desc { margin: 6px 0 0; font-size: .98rem; }
.res { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 3px; font: 500 .84rem/1.5 var(--display); }
.res a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.res a:hover { border-bottom-color: var(--accent); }

/* collapsible "more" lists */
details.more { margin-top: 4px; }
details.more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; color: var(--link); font: 500 .95rem/1.2 var(--display); }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; font-size: .9rem; line-height: 1; }
details.more[open] > summary::before { content: "\2212"; }
details.more > summary:hover { color: var(--ink); }
details.more[open] > summary { margin-bottom: 4px; }

/* career */
.career { list-style: none; margin: 0; padding: 0; position: relative; }
.career::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--rule); }
.career li { position: relative; padding: 0 0 18px 26px; }
.career li::before { content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.career .yr { display: block; line-height: 1.4; }
.career b { display: block; font: 600 1rem/1.3 var(--display); }
.career span.org { color: var(--muted); font-size: .95rem; }

.bio { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 0 56px; align-items: start; }
@media (max-width: 960px) { .bio { grid-template-columns: 1fr; } .bio .career { margin-top: 24px; } }

/* focus tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 4px 12px; border: 1px solid var(--rule); border-radius: 999px; font: 500 .9rem/1.4 var(--display); }

/* video cards */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.video { display: block; text-decoration: none; color: inherit; }
.video img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.video .t { display: block; margin-top: 10px; font: 600 1rem/1.35 var(--display); color: var(--ink); }
.video:hover .t { color: var(--link); }

/* ---------- footer ---------- */
.foot { margin-top: 24px; border-top: 1px solid var(--rule); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; padding-top: 20px; padding-bottom: 28px; color: var(--muted); font: 400 .9rem/1.4 var(--display); }
.icons { display: flex; gap: 14px; }
.icons a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--rule); border-radius: 50%; color: var(--muted); }
.icons a:hover, .icons a:focus-visible { color: var(--accent); border-color: var(--accent); }
.icons svg { width: 16px; height: 16px; fill: currentColor; }

@media print {
  .band, .nav, details.more > summary { background: none !important; color: #000 !important; }
  .portrait { display: none; }
  details.more > * { display: block; }
}
