@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex-sans-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex-sans-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex-sans-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --paper-deep: #ece9e2;
  --surface: #faf9f6;
  --ink: #1b232b;
  --muted: #52606b;
  --quiet: #6d777f;
  --line: #d8d5ce;
  --line-strong: #b9b6af;
  --copper: #9a4f2e;
  --copper-dark: #773a22;
  --blue: #2b5b77;
  --blue-dark: #173f58;
  --diagram-blue: #173b56;
  --white: #ffffff;
  --max-width: 1120px;
  --text-width: 66ch;
  --radius: 2px;
  --shadow: 0 18px 50px rgba(27, 35, 43, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue-dark);
}

p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.85rem, 6vw, 4.9rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.24;
}

::selection {
  background: #d8c4b7;
  color: var(--ink);
}

.container {
  width: min(var(--max-width), calc(100% - 3rem));
  margin-inline: auto;
}

.narrow {
  width: min(760px, calc(100% - 3rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-150%);
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(216, 213, 206, 0.9);
  background: rgba(245, 243, 238, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 4.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.brand-symbol {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--ink);
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.primary-navigation a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation a[aria-current="page"] {
  color: var(--ink);
}

.primary-navigation .nav-contact {
  border-bottom: 1px solid var(--copper);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line-strong);
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0.27rem auto;
  background: var(--ink);
}

.eyebrow,
.kicker,
.publication-meta,
.case-meta,
.role time,
.metric-label,
.caption {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.eyebrow,
.kicker {
  margin-bottom: 1.2rem;
  color: var(--copper-dark);
}

.photo-hero {
  position: relative;
  min-height: clamp(42rem, calc(100svh - 4.4rem), 54rem);
  overflow: hidden;
  background: #071019;
  color: var(--white);
}

.carousel-track,
.carousel-slide,
.carousel-overlay {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  z-index: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

@media (prefers-reduced-motion: no-preference) {
  .photo-hero[data-parallax-hero] .carousel-track {
    inset: -7.5rem 0;
    transform: translate3d(0, var(--hero-parallax-y, 0), 0);
    will-change: transform;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .photo-hero[data-parallax-hero] .carousel-track {
    inset: -3rem 0;
  }
}

.carousel-slide.is-active img {
  animation: hero-drift 7s ease-out both;
}

.slide-a img {
  object-position: center 48%;
}

.slide-b img {
  object-position: 63% 43%;
}

.slide-c img {
  object-position: center 48%;
}

.carousel-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 12, 18, 0.95) 0%, rgba(5, 12, 18, 0.82) 38%, rgba(5, 12, 18, 0.34) 68%, rgba(5, 12, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 12, 18, 0.4), transparent 44%);
}

.carousel-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  align-items: center;
  padding: 5rem 0 7rem;
}

.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 760px;
  animation: hero-copy-in 700ms ease-out both;
}

.photo-hero h1 {
  margin-bottom: 0.65rem;
  color: var(--white);
}

.hero-statement {
  max-width: 760px;
  margin-bottom: 1.2rem;
  color: var(--ink);
  font-size: clamp(1.55rem, 3.25vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.16;
}

.hero-deck,
.page-deck {
  max-width: var(--text-width);
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.68;
}

.leadership-fact {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--copper);
  color: var(--ink);
  font-size: 1rem;
}

.photo-hero .eyebrow {
  color: #e0a58a;
}

.photo-hero .hero-role {
  margin-bottom: 1.35rem;
}

.photo-hero .hero-statement {
  max-width: 700px;
  color: var(--white);
}

.photo-hero .hero-deck {
  max-width: 62ch;
  color: #d1d8dc;
}

.photo-hero .leadership-fact {
  max-width: 62ch;
  border-left-color: #c97852;
  color: #f0f2f3;
}

.photo-hero .button {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.photo-hero .button:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.photo-hero .text-link {
  color: var(--white);
}

.hero-actions,
.page-actions,
.case-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.66rem 1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.button:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.button.secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.carousel-controls {
  position: absolute;
  right: 0;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-controls > button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(5, 12, 18, 0.28);
  color: var(--white);
  cursor: pointer;
  place-items: center;
}

.carousel-controls > button:hover,
.carousel-controls > button:focus-visible {
  border-color: var(--white);
  background: rgba(5, 12, 18, 0.6);
}

.carousel-controls > button[data-carousel-prev] .icon {
  transform: rotate(180deg);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.carousel-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--white);
}

.carousel-count {
  min-width: 2.8rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  text-align: center;
}

.evidence-band {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
}

@keyframes hero-drift {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.055) translate3d(0, -0.8%, 0); }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.evidence-item {
  min-width: 0;
  padding: 1.35rem 1.4rem 1.45rem 0;
}

.evidence-item + .evidence-item {
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
}

.evidence-item .icon {
  margin-bottom: 1.15rem;
  color: var(--copper);
}

.evidence-item span,
.evidence-item strong {
  display: block;
}

.evidence-item span {
  margin-bottom: 0.35rem;
  color: var(--quiet);
  font-size: 0.78rem;
}

.evidence-item strong {
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.42;
}

.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-tint {
  background: var(--paper-deep);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.52fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.section-heading .text-link {
  justify-self: end;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.research-card {
  display: grid;
  grid-template-rows: 46% 54%;
  aspect-ratio: 1 / 1;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.research-card:hover {
  color: var(--ink);
}

.research-diagram,
.research-thumbnail {
  width: 100%;
  height: 100%;
  border-bottom: 1px solid var(--line);
  background: #e7edf0;
}

.research-diagram {
  color: var(--diagram-blue);
}

.research-thumbnail {
  object-fit: cover;
}

.research-card-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  min-height: 0;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
}

.research-card .publication-meta {
  margin-bottom: 0.25rem;
}

.research-authors {
  min-height: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--quiet);
  font-size: 0.84rem;
  line-height: 1.35;
}

.research-card h3 {
  min-height: calc(1.24em * 2);
  margin-bottom: 0.7rem;
}

.publication-meta {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--copper-dark);
}

.research-card p {
  max-width: 55ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.work-list {
  border-top: 1px solid var(--line-strong);
}

.work-row {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr) 9rem;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: start;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
}

.work-type {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--copper-dark);
  font-size: 0.8rem;
  font-weight: 500;
}

.work-copy h3 {
  margin-bottom: 0.55rem;
}

.work-copy p {
  max-width: 65ch;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.metric {
  text-align: right;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.metric span {
  color: var(--quiet);
  font-size: 0.75rem;
  line-height: 1.4;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.capability-grid article {
  padding: 1.8rem 1.5rem 1.7rem 0;
}

.capability-grid article + article {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.capability-grid .icon {
  margin-bottom: 1.5rem;
  color: var(--copper);
}

.capability-grid h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.capability-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.engagement-grid article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.8rem clamp(1.4rem, 2.5vw, 2rem);
}

.engagement-grid article:first-child {
  padding-left: 0;
}

.engagement-grid article + article {
  border-left: 1px solid var(--line);
}

.engagement-grid h3 {
  margin-bottom: 0.7rem;
}

.engagement-grid article > p:not(.publication-meta) {
  flex: 1;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #dfe3e5;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}

.contact-section .kicker {
  color: #d69a7e;
}

.contact-section h2 {
  max-width: 830px;
  margin-bottom: 1.2rem;
  color: var(--white);
}

.contact-section p {
  max-width: 64ch;
  margin-bottom: 0;
  color: #bcc5ca;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.contact-links a {
  color: var(--white);
  font-size: 0.95rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  color-scheme: dark;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  color: #dfe3e5;
  font-size: 0.82rem;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #46515a;
  border-radius: 0;
  background: #121a21;
  color: var(--white);
  font: inherit;
  font-size: 0.95rem;
}

.form-field input,
.form-field select {
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
  padding: 0.75rem;
  line-height: 1.5;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid #d69a7e;
  outline-offset: 2px;
  border-color: #d69a7e;
}

.form-field textarea::placeholder {
  color: #84919a;
}

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

.contact-form-actions {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 1rem;
}

.contact-submit {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.contact-submit:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.contact-section .button {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.contact-section .button:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-size: 0.86rem;
}

.form-status.is-success {
  color: #b8d6c1;
}

.form-status.is-error {
  color: #efb19a;
}

.page-hero {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4rem;
  align-items: end;
}

.page-hero h1 {
  max-width: 930px;
  margin-bottom: 1.45rem;
  font-size: clamp(2.65rem, 6vw, 4.6rem);
  line-height: 1.02;
}

.page-actions {
  justify-content: flex-end;
}

.print-contact {
  display: none;
}

.on-page-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.84rem;
}

.on-page-nav span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.on-page-nav a {
  color: var(--blue);
  text-decoration: none;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.fact-grid > div {
  padding: 1.5rem 1.4rem 1.6rem 0;
}

.fact-grid > div + div {
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
}

.fact-grid strong,
.fact-grid span {
  display: block;
}

.fact-grid strong {
  margin-bottom: 0.25rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.25rem;
  font-weight: 500;
}

.fact-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.fact-grid .fact-label {
  margin-bottom: 0.8rem;
  color: var(--copper-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.profile-fact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.experience-company-list {
  border-top: 1px solid var(--line-strong);
}

.experience-company {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 2.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.institution-identity {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.85rem;
}

.institution-logo-frame {
  display: grid;
  width: 4.75rem;
  height: 4.75rem;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.institution-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.experience-company .institution-logo-frame {
  width: 4.25rem;
  height: 4.25rem;
}

.experience-company .institution-identity h3 {
  margin: 0;
  font-size: 1.18rem;
}

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

.experience-roles li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 0.72rem 0;
}

.experience-roles li:first-child {
  padding-top: 0.12rem;
}

.experience-roles li + li {
  border-top: 1px solid var(--line);
}

.experience-roles time {
  color: var(--quiet);
}

.experience-roles span {
  color: var(--ink);
  font-weight: 600;
}

.role-list {
  border-top: 1px solid var(--line-strong);
}

.education-body {
  display: grid;
  min-width: 0;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
}

.education-copy {
  min-width: 0;
}

.role {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 2.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.role time {
  padding-top: 0.18rem;
  color: var(--quiet);
}

.role h3 {
  margin-bottom: 0.58rem;
}

.role h3 span {
  color: var(--muted);
  font-weight: 400;
}

.role p {
  max-width: 72ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.role ul {
  max-width: 72ch;
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.role li + li {
  margin-top: 0.35rem;
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.recognition-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.15rem;
  padding: 1.4rem;
  background: var(--surface);
}

.recognition-item time {
  padding-top: 0.13rem;
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.recognition-item h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.recognition-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.project-card {
  padding: clamp(1.6rem, 4vw, 2.5rem);
  background: var(--surface);
}

.project-icon {
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 2.2rem;
  border: 1px solid var(--line);
  object-fit: contain;
}

.project-card h2 {
  margin-bottom: 0.65rem;
  font-size: 1.65rem;
}

.project-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.project-card ul {
  margin: 1.3rem 0 1.6rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.project-card li + li {
  margin-top: 0.35rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.blog-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  background: var(--surface);
}

.blog-card > img {
  width: 100%;
  height: clamp(12rem, 28vw, 19rem);
  border-bottom: 1px solid var(--line);
  object-fit: cover;
}

.blog-card-body {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.blog-card .publication-meta {
  margin-bottom: 0.7rem;
}

.blog-card h2 {
  margin-bottom: 0.7rem;
  font-size: 1.5rem;
}

.blog-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.blog-card-body > p:not(.publication-meta) {
  flex: 1;
  color: var(--muted);
  font-size: 0.94rem;
}

.publication-list {
  border-top: 1px solid var(--line-strong);
}

.publication-entry {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  gap: 1.6rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
}

.publication-year {
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
}

.publication-entry h2,
.publication-entry h3 {
  margin-bottom: 0.45rem;
  font-size: 1.18rem;
  letter-spacing: -0.014em;
}

.publication-entry p {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.publication-entry .venue {
  color: var(--copper-dark);
}

.publication-entry .programme-evidence {
  margin-top: 0.55rem;
  color: var(--ink);
}

.publication-links {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 0.9rem;
  font-size: 0.82rem;
}

.publication-video-link {
  position: relative;
  display: block;
  width: 6rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

.publication-site-link {
  position: relative;
  display: block;
  width: 9rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--white);
  text-decoration: none;
}

.publication-video-link img,
.publication-site-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.publication-site-link img.is-contain {
  padding: 0.42rem;
  background: var(--white);
  object-fit: contain;
}

.publication-video-link span,
.publication-site-link span {
  position: absolute;
  right: 0.3rem;
  bottom: 0.28rem;
  padding: 0.12rem 0.28rem;
  background: rgba(7, 16, 25, 0.84);
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.publication-video-link:hover img,
.publication-video-link:focus-visible img,
.publication-site-link:hover img,
.publication-site-link:focus-visible img {
  transform: scale(1.04);
}

.case-hero {
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.case-meta {
  margin-bottom: 1.1rem;
  color: var(--copper-dark);
}

.case-hero h1 {
  max-width: 980px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  line-height: 1.03;
}

.case-summary {
  max-width: 70ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: clamp(3rem, 8vw, 7rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.case-content {
  min-width: 0;
}

.case-content section + section {
  margin-top: 3.8rem;
}

.case-content h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.case-content p,
.case-content li {
  max-width: var(--text-width);
}

.case-content p {
  color: var(--muted);
}

.case-content ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.case-content li + li {
  margin-top: 0.45rem;
}

.case-figure {
  margin: 2.2rem 0 0;
  border: 1px solid var(--line);
  background: #e7edf0;
}

.case-figure svg {
  width: 100%;
  aspect-ratio: 16 / 8;
  color: var(--diagram-blue);
}

.case-figure figcaption {
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--quiet);
  font-size: 0.76rem;
}

.case-sidebar {
  align-self: start;
  border-top: 2px solid var(--ink);
}

.case-sidebar dl {
  margin: 0;
}

.case-sidebar div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.case-sidebar dt {
  margin-bottom: 0.32rem;
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
}

.case-sidebar dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.45;
}

.case-sidebar a {
  overflow-wrap: anywhere;
}

.result-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.result-strip > div {
  padding: 1.2rem 1rem 1.25rem 0;
}

.result-strip > div + div {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.result-strip strong,
.result-strip span {
  display: block;
}

.result-strip strong {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.3rem;
  font-weight: 500;
}

.result-strip span {
  color: var(--quiet);
  font-size: 0.75rem;
  line-height: 1.4;
}

.paper-authors {
  max-width: 75ch;
  margin-top: 1.2rem;
  color: var(--quiet);
  font-size: 0.88rem;
}

.post-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(36rem, 74vh, 50rem);
  align-items: flex-end;
  overflow: hidden;
  background: #071019;
}

.post-hero-media,
.post-hero-overlay {
  position: absolute;
  inset: 0;
}

.post-hero-media {
  z-index: -2;
}

.post-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.06);
}

.post-hero-castes .post-hero-media img {
  object-position: center 47%;
}

.post-hero-monty .post-hero-media img {
  object-position: center 42%;
}

.post-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 12, 18, 0.94) 0%, rgba(5, 12, 18, 0.67) 56%, rgba(5, 12, 18, 0.22) 100%),
    linear-gradient(0deg, rgba(5, 12, 18, 0.78) 0%, transparent 62%);
}

.post-hero-content {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.post-hero .case-meta {
  color: #e0a58a;
}

.post-hero h1 {
  max-width: 980px;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  line-height: 0.99;
}

.post-hero .page-deck {
  max-width: 62ch;
  color: #d7dde0;
  font-size: 1.12rem;
}

@media (prefers-reduced-motion: no-preference) {
  .post-hero[data-parallax-hero] .post-hero-media {
    inset: -7rem 0;
    transform: translate3d(0, var(--hero-parallax-y, 0), 0);
    will-change: transform;
  }
}

.post-header {
  padding: clamp(4.5rem, 9vw, 7rem) 0 2.5rem;
}

.post-header h1 {
  max-width: 900px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.03;
}

.post-cover {
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.post-cover img {
  width: 100%;
  max-height: 36rem;
  border: 1px solid var(--line);
  object-fit: cover;
}

.post-article {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.post-article h2 {
  margin: 3.5rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.post-article h3 {
  margin: 2.6rem 0 0.85rem;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

.post-article p,
.post-article li {
  color: #35424b;
}

.post-article p {
  margin-bottom: 1.35rem;
}

.post-article ul,
.post-article ol {
  margin-bottom: 1.6rem;
  padding-left: 1.25rem;
}

.post-article li + li {
  margin-top: 0.45rem;
}

.post-article blockquote,
.post-article .hypothesis {
  margin: 2rem 0;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--copper);
  background: var(--paper-deep);
}

.post-article blockquote p:last-child,
.post-article .hypothesis p:last-child {
  margin-bottom: 0;
}

.post-article code {
  padding: 0.12em 0.3em;
  background: var(--paper-deep);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86em;
}

.post-article pre {
  max-width: 100%;
  margin: 2rem 0;
  padding: 1.2rem;
  overflow-x: auto;
  border: 1px solid #303b43;
  background: var(--ink);
  color: #edf0f1;
  font-size: 0.82rem;
  line-height: 1.55;
}

.post-article pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

/* Shared syntax palette for Pandoc and Prism code output. */
.post-article pre code .co,
.post-article pre code .token.comment,
.post-article pre code .token.prolog,
.post-article pre code .token.doctype,
.post-article pre code .token.cdata {
  color: #aab7bf;
  font-style: italic;
}

.post-article pre code .kw,
.post-article pre code .cf,
.post-article pre code .im,
.post-article pre code .pp,
.post-article pre code .token.atrule,
.post-article pre code .token.attr-value,
.post-article pre code .token.keyword {
  color: #f0a9c4;
}

.post-article pre code .fu,
.post-article pre code .bu,
.post-article pre code .token.function {
  color: #8fd7d2;
}

.post-article pre code .st,
.post-article pre code .ch,
.post-article pre code .sc,
.post-article pre code .vs,
.post-article pre code .ss,
.post-article pre code .token.selector,
.post-article pre code .token.attr-name,
.post-article pre code .token.string,
.post-article pre code .token.char,
.post-article pre code .token.builtin,
.post-article pre code .token.inserted {
  color: #c7db91;
}

.post-article pre code .dv,
.post-article pre code .fl,
.post-article pre code .bn,
.post-article pre code .cn,
.post-article pre code .token.boolean,
.post-article pre code .token.number,
.post-article pre code .token.constant,
.post-article pre code .token.symbol {
  color: #f2bd83;
}

.post-article pre code .dt,
.post-article pre code .an,
.post-article pre code .at,
.post-article pre code .token.property,
.post-article pre code .token.tag,
.post-article pre code .token.class-name {
  color: #9fc8f4;
}

.post-article pre code .va,
.post-article pre code .token.regex,
.post-article pre code .token.variable {
  color: #edf0f1;
}

.post-article pre code .op,
.post-article pre code .token.operator,
.post-article pre code .token.entity,
.post-article pre code .token.url,
.post-article pre code .token.punctuation {
  color: #d7dde0;
}

.post-article pre code .al,
.post-article pre code .er,
.post-article pre code .token.deleted {
  color: #ff9f9f;
}

.post-article pre code .token.important,
.post-article pre code .token.bold {
  font-weight: 700;
}

.post-article pre code .token.italic {
  font-style: italic;
}

.post-article img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
}

.post-article .math.display {
  display: block;
  max-width: 100%;
  margin: 1.5rem 0;
  overflow-x: auto;
}

.post-article hr {
  margin: 3rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--quiet);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav {
    min-height: 4rem;
  }

  .nav-toggle {
    display: block;
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 0.55rem 1rem 0.9rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .primary-navigation a {
    width: 100%;
    padding: 0.62rem 0;
  }

  .primary-navigation .nav-contact {
    border-bottom: 0;
  }

  .photo-hero .hero-copy {
    max-width: 690px;
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

  .research-card {
    grid-template-rows: auto 1fr;
    aspect-ratio: auto;
  }

  .research-diagram,
  .research-thumbnail {
    height: auto;
    aspect-ratio: 16 / 7.5;
  }

  .research-card h3,
  .research-authors {
    min-height: 0;
  }

  .engagement-grid {
    grid-template-columns: 1fr;
  }

  .engagement-grid article,
  .engagement-grid article:first-child {
    padding: 1.5rem 0;
  }

  .engagement-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .evidence-grid,
  .capability-grid,
  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-item:nth-child(3),
  .capability-grid article:nth-child(3),
  .fact-grid > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .evidence-item:nth-child(4),
  .capability-grid article:nth-child(4),
  .fact-grid > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .work-row {
    grid-template-columns: 8rem minmax(0, 1fr) 7.5rem;
    gap: 2rem;
  }

  .case-layout {
    grid-template-columns: minmax(0, 1fr) 15rem;
    gap: 3rem;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1rem;
  }

  .container,
  .narrow {
    width: min(100% - 2rem, var(--max-width));
  }

  .photo-hero {
    min-height: 46rem;
  }

  .carousel-content {
    align-items: center;
    padding: 4rem 0 6.5rem;
  }

  .carousel-overlay {
    background:
      linear-gradient(90deg, rgba(5, 12, 18, 0.94) 0%, rgba(5, 12, 18, 0.72) 100%),
      linear-gradient(0deg, rgba(5, 12, 18, 0.58), transparent 50%);
  }

  .photo-hero h1 {
    font-size: clamp(3rem, 13.7vw, 3.4rem);
  }

  .photo-hero .hero-statement {
    font-size: clamp(1.55rem, 7.4vw, 2rem);
  }

  .photo-hero .hero-deck {
    font-size: 1rem;
  }

  .post-hero {
    min-height: 42rem;
  }

  .post-hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 12, 18, 0.91), rgba(5, 12, 18, 0.53)),
      linear-gradient(0deg, rgba(5, 12, 18, 0.88) 0%, rgba(5, 12, 18, 0.16) 75%);
  }

  .post-hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.65rem);
  }

  .post-hero .page-deck {
    font-size: 1rem;
  }

  .post-hero-castes .post-hero-media img {
    object-position: center 43%;
  }

  .evidence-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .evidence-item,
  .evidence-item + .evidence-item,
  .evidence-item:nth-child(3),
  .evidence-item:nth-child(4) {
    display: grid;
    grid-template-columns: 1.4rem minmax(0, 1fr);
    gap: 0 0.8rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .evidence-item:first-child {
    border-top: 0;
  }

  .evidence-item .icon {
    grid-row: 1 / 3;
    margin: 0.22rem 0 0;
  }

  .section-heading,
  .page-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    align-items: start;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .section-heading .text-link,
  .page-actions {
    justify-self: start;
    justify-content: flex-start;
  }

  .research-grid,
  .project-list,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card > img {
    height: calc((100vw - 2rem) * 0.5625);
  }

  .work-row {
    grid-template-columns: 1fr auto;
    gap: 0.8rem 1rem;
    padding: 1.6rem 0;
  }

  .work-type {
    grid-column: 1 / -1;
  }

  .metric {
    min-width: 5.5rem;
  }

  .capability-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid article,
  .capability-grid article + article,
  .capability-grid article:nth-child(3),
  .capability-grid article:nth-child(4),
  .fact-grid > div,
  .fact-grid > div + div,
  .fact-grid > div:nth-child(3),
  .fact-grid > div:nth-child(4) {
    padding: 1.3rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .capability-grid article:first-child,
  .fact-grid > div:first-child {
    border-top: 0;
  }

  .contact-links {
    align-items: flex-start;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .role {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .experience-company {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .experience-company .institution-identity {
    align-items: center;
    flex-direction: row;
  }

  .experience-company .institution-logo-frame {
    width: 3.5rem;
    height: 3.5rem;
  }

  .experience-roles li {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 1rem;
  }

  .education-body {
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 1rem;
  }

  .education-body .institution-logo-frame {
    width: 4.25rem;
    height: 4.25rem;
  }

  .recognition-grid {
    grid-template-columns: 1fr;
  }

  .recognition-item {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.8rem;
    padding: 1.25rem 1rem;
  }

  .publication-entry {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.7rem 1rem;
  }

  .publication-links {
    grid-column: 2;
    justify-content: flex-start;
  }

  .publication-entry.has-video {
    grid-template-columns: 3.5rem minmax(0, 1fr) clamp(4rem, 22vw, 5rem);
  }

  .publication-entry.has-video .publication-links {
    grid-row: 1;
    grid-column: 3;
    justify-self: end;
  }

  .publication-entry.has-video .publication-video-link {
    width: 100%;
  }

  .case-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .case-sidebar {
    grid-row: 1;
  }

  .result-strip {
    grid-template-columns: 1fr;
  }

  .result-strip > div,
  .result-strip > div + div {
    padding: 0.9rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .result-strip > div:first-child {
    border-top: 0;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.2rem 0;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .post-hero[data-parallax-hero] .post-hero-media {
    inset: -3rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .carousel-slide {
    transition: none;
  }

  .carousel-slide.is-active img,
  .hero-copy {
    animation: none;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm 14mm;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 9pt;
    line-height: 1.35;
  }

  .site-header,
  .on-page-nav,
  .page-actions,
  .contact-section,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  .container,
  .narrow {
    width: 100%;
  }

  .page-hero {
    padding: 0 0 5mm;
  }

  .page-hero h1 {
    margin-bottom: 3mm;
    font-size: 25pt;
  }

  .page-deck {
    font-size: 10pt;
  }

  .print-contact {
    display: block;
    margin: 2mm 0 0;
    color: #52606b;
    font-family: "IBM Plex Mono", monospace;
    font-size: 7.5pt;
  }

  .section {
    padding: 4mm 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 2mm;
    margin-bottom: 3mm;
  }

  .section-heading h2 {
    font-size: 16pt;
  }

  .section-heading > p {
    max-width: none;
    font-size: 8.5pt;
  }

  .fact-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .profile-fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-grid > div {
    padding: 3mm;
  }

  .fact-grid strong {
    font-size: 10pt;
  }

  .role {
    grid-template-columns: 27mm 1fr;
    gap: 4mm;
    padding: 2.5mm 0;
    break-inside: avoid;
  }

  .experience-company {
    grid-template-columns: 27mm 1fr;
    gap: 4mm;
    padding: 2.5mm 0;
    break-inside: avoid;
  }

  .experience-company .institution-identity h3,
  .experience-roles span {
    font-size: 10pt;
  }

  .institution-logo-frame,
  .experience-company .institution-logo-frame,
  .education-body .institution-logo-frame {
    width: 11mm;
    height: 11mm;
  }

  .education-body {
    grid-template-columns: 11mm 1fr;
    gap: 3mm;
  }

  .experience-roles li {
    grid-template-columns: 24mm 1fr;
    gap: 3mm;
    padding: 1mm 0;
  }

  .role h3 {
    margin-bottom: 1mm;
    font-size: 10pt;
  }

  .role p,
  .role ul {
    font-size: 8pt;
    line-height: 1.32;
  }

  .role ul {
    margin-top: 1.5mm;
  }

  .recognition-item {
    grid-template-columns: 12mm 1fr;
    gap: 2mm;
    padding: 1.5mm;
    break-inside: avoid;
  }

  .recognition-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #recognition .section-heading > p {
    display: none;
  }

  .recognition-item time {
    font-size: 7pt;
  }

  .recognition-item h3 {
    margin-bottom: 0.7mm;
    font-size: 8.5pt;
  }

  .recognition-item p {
    font-size: 7.2pt;
    line-height: 1.3;
  }
}
