:root {
  --ink: #171b1f;
  --ink-soft: #454d53;
  --paper: #ffffff;
  --surface: #f3f6f5;
  --surface-strong: #e8eeec;
  --line: #d3dbd8;
  --charcoal: #151a1e;
  --charcoal-2: #20272c;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --cobalt: #2456a6;
  --amber: #a86612;
  --white: #ffffff;
  --max-width: 1120px;
  --header-height: 64px;
  --radius: 6px;
  --shadow: 0 18px 44px rgba(23, 27, 31, 0.09);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
}

h2 {
  margin-bottom: 0;
  font-size: 36px;
  font-weight: 650;
  max-width: 760px;
}

h3 {
  font-size: 19px;
}

.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: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--teal);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  background: rgba(21, 26, 30, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.nav-shell,
.section-shell,
.metrics-shell,
.footer-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 750;
}

.brand-name {
  font-size: 14px;
  font-weight: 650;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-nav a {
  position: relative;
  padding-block: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #58b6ad;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.active {
  color: var(--white);
}

.primary-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle-lines {
  width: 18px;
  display: grid;
  gap: 4px;
}

.nav-toggle-lines span {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  padding-top: var(--header-height);
  color: var(--white);
  background: var(--charcoal);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: var(--header-height);
  bottom: 0;
  left: calc(50% + 212px);
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-shell {
  position: relative;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 668px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: 64px 0 118px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(650px, 62%);
}

.hero-kicker,
.section-index,
.project-type,
.publication-label {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  color: #62c2b8;
}

.hero h1 {
  margin-bottom: 14px;
  font-size: 58px;
  font-weight: 680;
}

.hero-role {
  margin-bottom: 14px;
  color: #cbd7d3;
  font-size: 20px;
  font-weight: 600;
}

.hero-intro {
  max-width: 630px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--teal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
}

.button-quiet {
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
}

.button-quiet:hover,
.button-quiet:focus-visible {
  color: var(--white);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: rgba(255, 255, 255, 0.61);
  font-size: 13px;
}

.hero-meta span {
  position: relative;
}

.hero-meta span + span::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  width: 3px;
  height: 3px;
  background: #62c2b8;
}

.hero-portrait {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 112px;
  width: 360px;
  margin: 0;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(98, 194, 184, 0.42);
  border-radius: var(--radius);
}

.hero-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.metrics-band {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.metrics-shell {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 22px;
  color: var(--ink);
  border-right: 1px solid var(--line);
}

.metric:first-child {
  border-left: 1px solid var(--line);
}

.metric strong {
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 24px;
  line-height: 1;
}

.metric span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

.section {
  padding: 88px 0;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading.compact .section-index {
  min-width: 140px;
  margin-bottom: 8px;
}

.profile-section {
  padding-top: 104px;
}

.profile-grid,
.research-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
}

.profile-content .lead {
  margin-bottom: 20px;
  font-size: 22px;
  line-height: 1.45;
}

.profile-content > p:not(.lead) {
  color: var(--ink-soft);
}

.lifecycle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.lifecycle span,
.project-signal {
  display: inline-flex;
  padding: 6px 9px;
  color: var(--teal-dark);
  background: #e7f2f0;
  border: 1px solid #c7dfdb;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 650;
}

.highlights-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.highlight-grid,
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.highlight-card,
.expertise-card {
  min-height: 250px;
  padding: 28px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.highlight-number {
  display: block;
  margin-bottom: 48px;
  color: var(--cobalt);
  font-size: 13px;
  font-weight: 750;
}

.highlight-card h3,
.expertise-card h3 {
  margin-bottom: 14px;
  font-size: 20px;
}

.highlight-card p,
.expertise-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

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

.expertise-card {
  position: relative;
  min-height: 190px;
  padding-left: 64px;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 28px;
  width: 8px;
  height: 46px;
  background: var(--teal);
}

.experience-section {
  background: var(--charcoal);
  color: var(--white);
}

.experience-section .section-index {
  color: #62c2b8;
}

.experience-section .section-heading h2 {
  color: var(--white);
}

.timeline {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.role {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.role-when {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.role-status {
  display: block;
  margin-bottom: 10px;
  color: #62c2b8;
  font-weight: 750;
  text-transform: uppercase;
}

.role-company {
  margin-bottom: 8px;
  color: #62c2b8;
  font-size: 14px;
  font-weight: 700;
}

.role-body h3 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: 30px;
}

.role-body ul {
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.74);
}

.role-body li {
  margin-bottom: 10px;
  padding-left: 5px;
}

.role-body li::marker {
  color: #62c2b8;
}

.projects-section {
  background: var(--surface);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  grid-column: span 4;
  min-height: 275px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-card:nth-child(4),
.project-card:nth-child(5) {
  grid-column: span 6;
}

.project-featured {
  border-top: 5px solid var(--teal);
}

.project-type {
  margin-bottom: 30px;
  color: var(--amber);
}

.project-card h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

.project-card > p:not(.project-type) {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 15px;
}

.project-signal {
  align-self: flex-start;
  margin-top: auto;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 96px;
  padding-top: 8px;
}

.credentials-grid h3 {
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 15px;
  text-transform: uppercase;
}

.education-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.education-item:last-child {
  border-bottom: 1px solid var(--line);
}

.education-item p {
  margin-bottom: 5px;
  color: var(--ink-soft);
}

.education-item .degree {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
}

.education-note {
  color: var(--cobalt) !important;
  font-size: 14px;
  font-weight: 650;
}

.certification-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.certification-list li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.certification-list span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.research-section {
  background: #eef2f8;
  border-block: 1px solid #d1d9e7;
}

.research-content {
  display: grid;
  gap: 36px;
}

.publication {
  padding: 30px;
  background: var(--paper);
  border-left: 5px solid var(--cobalt);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.publication-label {
  margin-bottom: 12px;
  color: var(--cobalt);
}

.publication h3 {
  margin-bottom: 22px;
  font-size: 24px;
}

.publication a,
.writing-topics a {
  color: var(--cobalt);
  font-weight: 700;
}

.writing-topics p {
  margin-bottom: 12px;
  font-weight: 700;
}

.writing-topics ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 26px;
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--ink-soft);
}

.contact-section {
  padding: 96px 0;
  color: var(--white);
  background: var(--teal-dark);
}

.contact-shell h2 {
  max-width: 850px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 50px;
}

.contact-shell > p:not(.section-index) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-section .section-index {
  color: #b7e3de;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-link {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.contact-link span {
  margin-bottom: 6px;
  color: #b7e3de;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.62);
  background: var(--charcoal);
  font-size: 13px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-shell p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  color: var(--white);
  background: var(--charcoal);
}

.error-page > div {
  width: min(100%, 680px);
}

.error-page h1 {
  margin-bottom: 18px;
  font-size: 52px;
}

.error-page p:not(.section-index) {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
}

:focus-visible {
  outline: 3px solid #efb34e;
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .hero-shell {
    min-height: 650px;
  }

  .hero-copy {
    width: 62%;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-portrait {
    width: 320px;
  }

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

  .profile-grid,
  .research-grid,
  .credentials-grid {
    gap: 48px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 64px;
  }

  .nav-shell,
  .section-shell,
  .metrics-shell,
  .footer-shell,
  .hero-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .nav-toggle {
    display: grid;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 12px 16px 24px;
    background: var(--charcoal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform 200ms ease, opacity 200ms ease, visibility 200ms ease;
  }

  .primary-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .primary-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero::before {
    display: none;
  }

  .hero-shell {
    min-height: auto;
    display: grid;
    gap: 48px;
    padding: 44px 0 52px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-portrait {
    position: relative;
    right: auto;
    bottom: auto;
    width: 240px;
    margin-inline: auto;
    transform: none;
  }

  .hero h1 {
    font-size: 46px;
  }

  .metrics-band {
    position: static;
  }

  .metrics-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric {
    min-height: 78px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .metric:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .profile-section {
    padding-top: 80px;
  }

  .section {
    padding-block: 72px;
  }

  .profile-grid,
  .research-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-heading.compact {
    display: block;
  }

  .highlight-grid,
  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }

  .role {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 36px;
  }

  .project-card,
  .project-card:nth-child(4),
  .project-card:nth-child(5) {
    grid-column: span 6;
  }

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

@media (max-width: 560px) {
  h2 {
    font-size: 30px;
  }

  .brand-name {
    display: none;
  }

  .hero-shell {
    gap: 40px;
    padding: 32px 0 44px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-role {
    font-size: 18px;
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    width: 100%;
  }

  .button-quiet {
    grid-column: 1 / -1;
  }

  .hero-meta {
    display: grid;
    gap: 6px;
  }

  .hero-meta span + span::before {
    display: none;
  }

  .hero-portrait {
    width: 210px;
  }

  .metric strong {
    font-size: 21px;
  }

  .metric span {
    font-size: 12px;
  }

  .section {
    padding-block: 60px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .profile-content .lead {
    font-size: 19px;
  }

  .highlight-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    min-height: 180px;
  }

  .role {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 38px 0;
  }

  .role-body h3 {
    font-size: 22px;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card:nth-child(4),
  .project-card:nth-child(5) {
    grid-column: 1;
    min-height: 245px;
  }

  .certification-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .writing-topics ul {
    grid-template-columns: 1fr;
  }

  .contact-shell h2 {
    font-size: 34px;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .button-quiet {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  :root {
    --ink: #000000;
    --ink-soft: #333333;
  }

  @page {
    size: A4;
    margin: 14mm;
  }

  body {
    color: #000000;
    background: #ffffff;
    font-size: 10.5pt;
    line-height: 1.4;
  }

  .site-header,
  .hero-actions,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  .hero {
    padding: 0;
    color: #000000;
    background: #ffffff;
    overflow: visible;
  }

  .hero::before,
  .hero-portrait::before {
    display: none;
  }

  .hero-shell {
    min-height: 0;
    width: 100%;
    display: block;
    padding: 0 0 16mm;
    border-bottom: 1px solid #888888;
  }

  .hero-copy {
    width: calc(100% - 42mm);
  }

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

  .hero-kicker,
  .hero-role,
  .hero-intro,
  .hero-meta {
    color: #222222;
  }

  .hero-portrait {
    right: 0;
    bottom: auto;
    top: 0;
    width: 34mm;
    transform: none;
  }

  .hero-portrait img {
    box-shadow: none;
  }

  .metrics-band {
    position: static;
    margin-top: 8mm;
    background: #ffffff;
  }

  .metrics-shell {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
  }

  .metric {
    min-height: 0;
    padding: 3mm;
  }

  .metric strong {
    color: #000000;
    font-size: 15pt;
  }

  .section {
    padding: 10mm 0;
    color: #000000;
    background: #ffffff !important;
    border-color: #aaaaaa;
  }

  .section-shell {
    width: 100%;
  }

  h2 {
    font-size: 20pt;
  }

  h3,
  .role-body h3 {
    color: #000000 !important;
    font-size: 14pt;
  }

  .profile-grid,
  .research-grid,
  .credentials-grid,
  .role {
    grid-template-columns: 1fr;
    gap: 4mm;
  }

  .highlight-grid,
  .expertise-grid,
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-card,
  .expertise-card,
  .project-card,
  .project-card:nth-child(4),
  .project-card:nth-child(5) {
    min-height: 0;
    grid-column: span 1;
    break-inside: avoid;
    color: #000000;
    background: #ffffff;
    border-color: #aaaaaa;
  }

  .role,
  .education-item,
  .publication,
  .certification-list li {
    break-inside: avoid;
  }

  .role-body ul,
  .role-when,
  .role-company,
  .experience-section .section-index,
  .contact-section .section-index,
  .contact-shell > p:not(.section-index) {
    color: #222222;
  }

  .contact-section {
    page-break-before: auto;
  }

  .contact-shell h2 {
    color: #000000;
    font-size: 20pt;
  }

  .contact-actions {
    grid-template-columns: repeat(3, 1fr);
    border-color: #aaaaaa;
  }

  .contact-link,
  .contact-link span {
    min-height: 0;
    color: #000000;
    border-color: #aaaaaa;
  }

  a {
    text-decoration: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
