:root {
  --navy: #08193a;
  --ink: #0e1d3b;
  --muted: #4d5870;
  --paper: #fbfcff;
  --surface: #ffffff;
  --line: #d8deea;
  --teal: #087f86;
  --blue: #0c55b5;
  --purple: #7650c8;
  --coral: #cc6548;
  --soft-teal: #edfafa;
  --soft-blue: #eef5ff;
  --shadow: 0 16px 38px rgba(8, 25, 58, 0.1);
  --shadow-soft: 0 8px 22px rgba(8, 25, 58, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

#pipelines,
#writing,
#publications,
#about,
#work,
#training,
#highlights,
#credentials,
#teaching,
#training-contact,
#contact {
  scroll-margin-top: 82px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 4%, rgba(10, 166, 170, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 56%, #ffffff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(270px, auto) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 66px;
  padding: 0 3.8vw;
  border-bottom: 1px solid rgba(8, 25, 58, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.header-panel,
.hero-actions,
.contact-actions,
.filter-row,
.post-meta,
.post-footer,
.pipeline-actions,
.publication-links,
.publication-profile-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
}

.brand > span:last-child {
  min-width: 0;
  padding-left: 12px;
  border-left: 2px solid rgba(8, 25, 58, 0.85);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.brand small {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 850;
}

.header-panel {
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
}

.main-nav {
  gap: 24px;
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 800;
}

.main-nav a {
  padding-block: 8px;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.main-nav a[aria-current="page"] {
  color: var(--teal);
}

.menu-toggle {
  display: none;
}

.profile-menu {
  position: relative;
  flex: 0 0 auto;
}

.profile-menu summary,
.menu-toggle {
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(8, 25, 58, 0.12);
  border-radius: 8px;
  color: var(--navy);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(8, 25, 58, 0.05);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  cursor: pointer;
}

.profile-menu summary {
  display: flex;
  list-style: none;
}

.profile-menu summary::-webkit-details-marker {
  display: none;
}

.profile-menu summary svg,
.menu-toggle svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.profile-menu-chevron {
  transition: transform 160ms ease;
}

.profile-menu[open] .profile-menu-chevron {
  transform: rotate(180deg);
}

.profile-menu-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  width: 210px;
  overflow: hidden;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.profile-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 7px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 850;
}

.profile-menu-list a svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.profile-menu-list a:hover {
  color: var(--teal);
  background: var(--soft-teal);
}

.hero-actions svg,
.search-wrap svg,
.evidence-card svg,
.systems-graphic svg,
.pipeline-card svg,
.pipeline-detail svg,
.series-card svg,
.publication-profile-links svg,
.contact-actions svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.hero {
  position: relative;
  display: block;
  min-height: 500px;
  overflow: hidden;
  padding: 74px 3.8vw 72px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 42%, rgba(255, 255, 255, 0.52) 68%, rgba(255, 255, 255, 0.14) 100%),
    url("assets/genomics-hero-light.png") right center / min(58vw, 820px) auto no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  isolation: isolate;
}

.hero::after {
  display: none;
}

.hero-image,
.hero-overlay,
.hero-badges {
  display: none;
}

.hero-content {
  width: min(650px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--teal);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 5.15vw, 5.35rem);
  font-weight: 800;
  line-height: 0.94;
}

.hero-copy {
  max-width: 610px;
  margin: 18px 0 0;
  color: #1d2944;
  font-size: 1.06rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-badges span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(8, 127, 134, 0.46);
  border-radius: 8px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.primary-action,
.secondary-action,
.contact-actions a,
.pipeline-actions a,
.pipeline-actions button,
.pipeline-detail a.repo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
}

.primary-action,
.secondary-action,
.contact-actions a {
  min-height: 46px;
}

.primary-action {
  padding: 12px 20px;
  color: white;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(8, 25, 58, 0.18);
}

.primary-action:hover {
  background: #0d2b62;
}

.secondary-action {
  padding: 11px 19px;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
}

.secondary-action:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, 94vw);
  margin: 14px auto 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 26px rgba(8, 25, 58, 0.04);
}

.stat-card {
  min-height: 112px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  align-items: center;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  background: transparent;
  transition: background 160ms ease;
}

.stat-card:nth-child(4) {
  border-right: 0;
}

.stat-card:hover {
  background: var(--soft-teal);
}

.stat-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 127, 134, 0.24);
  border-radius: 10px;
  color: var(--teal);
  background: var(--soft-teal);
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.quick-stats strong,
.quick-stats span {
  display: block;
}

.quick-stats strong {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.quick-stats span {
  max-width: 150px;
  margin-top: 8px;
  color: var(--navy);
  font-size: 0.91rem;
  line-height: 1.35;
}

.stats-verified {
  grid-column: 1 / -1;
  margin: 0;
  padding: 9px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(247, 251, 255, 0.82);
  font-size: 0.73rem;
  text-align: right;
}

.section-shell {
  width: min(1180px, 94vw);
  margin: 0 auto;
  padding: 54px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.22rem;
  line-height: 1.12;
}

.section-heading > p,
.section-note {
  margin: 0;
  color: var(--muted);
}

.evidence-section {
  padding-bottom: 62px;
}

.evidence-heading {
  align-items: start;
}

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

.evidence-card,
.pipeline-card,
.training-grid article,
.series-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.evidence-card {
  min-height: 230px;
  padding: 22px;
}

.evidence-card svg,
.series-card svg {
  color: var(--coral);
}

.evidence-card h3,
.pipeline-card h3,
.training-grid h3,
.series-card h3 {
  margin: 15px 0 8px;
  color: var(--navy);
  font-size: 1.06rem;
  line-height: 1.25;
}

.evidence-card p,
.pipeline-card p,
.training-grid p,
.series-card p {
  margin: 0;
  color: var(--muted);
}

.systems-graphic {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(8, 127, 134, 0.2);
  border-radius: 8px;
  background: var(--soft-teal);
}

.systems-graphic div {
  min-height: 86px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.systems-graphic span,
.pipeline-updated,
.training-grid span {
  display: block;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.systems-graphic strong {
  display: block;
  margin-top: 6px;
  line-height: 1.25;
}

.systems-graphic svg {
  color: var(--coral);
}

.pipeline-section {
  padding-top: 62px;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pipeline-groups,
.pipeline-group {
  display: grid;
  gap: 22px;
}

.pipeline-group + .pipeline-group {
  margin-top: 14px;
}

.pipeline-group-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  padding: 20px 0 0;
  border-top: 1px solid rgba(8, 127, 134, 0.22);
}

.pipeline-group-heading h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.62rem;
}

.pipeline-group-count {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(8, 127, 134, 0.22);
  border-radius: 8px;
  color: var(--teal);
  background: var(--soft-teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pipeline-card {
  min-height: 330px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 22px;
}

.pipeline-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.pipeline-card svg {
  color: var(--coral);
}

.pipeline-card h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.pipeline-card-kind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pipeline-card-kind svg {
  width: 17px;
  height: 17px;
}

.pipeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pipeline-tags span {
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--blue);
  background: var(--soft-blue);
  font-size: 0.73rem;
  font-weight: 850;
}

.pipeline-snapshot {
  margin: 16px 0 0;
  padding-left: 18px;
}

.pipeline-snapshot li {
  margin: 5px 0;
  color: #40514d;
  font-size: 0.9rem;
}

.pipeline-actions {
  flex-wrap: wrap;
  gap: 9px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pipeline-actions a,
.pipeline-actions button,
.pipeline-detail a.repo-link {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #ffffff;
  cursor: pointer;
}

.pipeline-actions a:hover,
.pipeline-actions button:hover,
.pipeline-detail a.repo-link:hover {
  border-color: rgba(8, 127, 134, 0.42);
  color: var(--teal);
  background: #f7fbff;
}

.pipeline-detail {
  margin-top: 24px;
  padding: 30px;
  border: 1px solid rgba(8, 127, 134, 0.24);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.pipeline-detail header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.pipeline-detail h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.12;
}

.pipeline-detail h4 {
  margin: 24px 0 8px;
  color: var(--navy);
  font-size: 1.05rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.detail-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fcff;
}

.detail-panel h4 {
  margin-top: 0;
}

.pipeline-detail ol,
.pipeline-detail ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.pipeline-detail li {
  margin: 8px 0;
  color: #33425e;
}

.pipeline-detail p {
  color: #33425e;
}

.code-block,
.reader-body pre {
  overflow-x: auto;
  margin: 12px 0 0;
  padding: 16px;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  color: #f0f6f8;
  background: #08193a;
  font-size: 0.86rem;
  line-height: 1.55;
}

.search-wrap {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 20px rgba(8, 25, 58, 0.04);
}

.search-wrap svg {
  color: var(--teal);
}

.search-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.filter-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

#writing .section-heading {
  grid-template-columns: 1fr minmax(220px, 320px);
  align-items: center;
}

.filter-button {
  min-height: 37px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #40514d;
  background: rgba(255, 255, 255, 0.74);
  font: inherit;
  font-weight: 780;
  cursor: pointer;
}

.filter-button[aria-pressed="true"] {
  color: white;
  border-color: var(--navy);
  background: var(--navy);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.static-post-links {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(8, 127, 134, 0.2);
  border-radius: 8px;
  background: #ffffff;
}

.static-post-links[hidden] {
  display: none;
}

.static-post-links a {
  color: var(--navy);
  font-weight: 800;
}

.static-post-links a:hover {
  color: var(--teal);
}

.post-card {
  min-height: 330px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(8, 25, 58, 0.04);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 127, 134, 0.36);
  box-shadow: var(--shadow-soft);
}

.post-card:hover h3 {
  color: var(--teal);
}

.post-meta,
.post-footer {
  flex-wrap: wrap;
  gap: 8px;
}

.post-meta span,
.tag {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--teal);
  background: var(--soft-teal);
  font-size: 0.74rem;
  font-weight: 850;
}

.post-meta time {
  color: var(--muted);
  font-size: 0.8rem;
}

.post-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.56rem;
  line-height: 1.14;
}

.post-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.post-footer {
  justify-content: space-between;
  color: var(--teal);
  font-weight: 900;
}

.empty-state {
  margin: 28px 0 0;
  color: var(--muted);
}

.publication-section {
  padding-bottom: 20px;
}

.publication-heading {
  align-items: start;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.publication-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.publication-meta span {
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--teal);
  background: var(--soft-teal);
  font-weight: 850;
  text-transform: uppercase;
}

.publication-card h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
  line-height: 1.16;
}

.publication-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.publication-card .publication-venue {
  margin-top: 0;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 850;
}

.publication-links {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.publication-links a,
.publication-profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(8, 127, 134, 0.28);
  border-radius: 8px;
  color: var(--teal);
  background: var(--soft-teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.publication-links a:hover,
.publication-profile-links a:hover {
  color: white;
  border-color: var(--navy);
  background: var(--navy);
}

.publication-profile-links {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.reader {
  width: min(900px, 94vw);
  margin: 34px auto 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.reader-header {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.reader-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 900;
}

.reader h2 {
  margin: 14px 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  line-height: 1.08;
}

.reader-body h3 {
  margin: 34px 0 8px;
  color: var(--navy);
  font-size: 1.25rem;
}

.reader-body p,
.reader-body li,
.reader-references li {
  color: #33425e;
}

.reader-body code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #eef2f8;
}

.reader-body pre code {
  padding: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
}

.reader-references {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.reader-references h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.reader-references ol,
.reader-body ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.reader-references li {
  margin: 8px 0;
}

.reader-references a {
  color: var(--teal);
  font-weight: 800;
}

.static-main {
  width: min(980px, 94vw);
  margin: 0 auto;
  padding: 42px 0 64px;
}

.static-article {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.static-article header {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.static-article h1 {
  margin: 12px 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 3.7rem);
  line-height: 1.02;
}

.static-article h2 {
  margin-top: 34px;
  font-size: 1.55rem;
}

.static-article h3 {
  margin: 28px 0 8px;
  color: var(--navy);
}

.static-article p,
.static-article li {
  color: #33425e;
}

.static-article ul,
.static-article ol {
  padding-left: 22px;
}

.static-article li {
  margin: 8px 0;
}

.static-article pre {
  overflow-x: auto;
  padding: 16px;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  color: #f0f6f8;
  background: #08193a;
}

.static-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.static-meta span,
.static-meta a {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--teal);
  background: var(--soft-teal);
  font-weight: 850;
}

.static-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 900;
}

.portfolio-map-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.portfolio-map-table th,
.portfolio-map-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.portfolio-map-table th {
  color: var(--navy);
  background: var(--soft-blue);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.portfolio-map-table tr:last-child td {
  border-bottom: 0;
}

.portfolio-map-table a {
  color: var(--teal);
  font-weight: 900;
}

.portfolio-evidence {
  margin-top: 48px;
}

.portfolio-evidence header {
  margin-bottom: 20px;
}

.portfolio-evidence header p:last-child {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 42px;
  align-items: start;
}

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

.series-card {
  min-height: 210px;
  padding: 22px;
}

.series-card svg {
  color: var(--coral);
}

.series-card h3 {
  margin: 16px 0 8px;
  font-size: 1.05rem;
}

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  width: min(1180px, 94vw);
  margin: 62px auto 0;
  padding: 54px;
  overflow: hidden;
  border-radius: 12px;
  color: white;
  background:
    radial-gradient(circle at 18% 12%, rgba(10, 166, 170, 0.25), transparent 25%),
    linear-gradient(135deg, #061632, #092354);
  box-shadow: var(--shadow);
}

.legacy-anchor {
  position: absolute;
  top: -82px;
}

.about-portrait {
  margin: 0;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.about-portrait figcaption {
  display: grid;
  gap: 3px;
  margin-top: 14px;
}

.about-portrait strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.about-portrait span,
.about-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.about-copy .section-kicker {
  color: #77dee0;
}

.about-copy h2 {
  margin-bottom: 16px;
  color: white;
}

.about-copy p {
  margin: 10px 0 0;
}

.about-copy .about-lead {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.08rem;
}

.about-copy .focus-list {
  margin-top: 22px;
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.focus-list span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 750;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.about-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 850;
}

.about-links a:hover {
  color: var(--navy);
  background: white;
}

.about-links svg {
  width: 17px;
  height: 17px;
}

.training-section {
  padding-top: 62px;
}

.training-heading {
  align-items: start;
}

.training-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.training-feature-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.training-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dfe9f4;
}

.training-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.training-card-image:hover img {
  transform: scale(1.025);
}

.training-role,
.engagement-label {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.training-role {
  position: absolute;
  left: 14px;
  bottom: 14px;
  box-shadow: 0 7px 18px rgba(8, 25, 58, 0.22);
}

.training-role-delivered,
.engagement-label-delivered {
  background: var(--teal);
}

.training-role-meeting,
.engagement-label-meeting {
  background: var(--blue);
}

.training-role-attended,
.engagement-label-training {
  background: var(--purple);
}

.training-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.training-card-meta,
.engagement-label-row,
.credential-card-top,
.credential-group-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.training-card-meta {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.training-card-meta time {
  color: var(--teal);
}

.training-card-copy h3 {
  margin: 14px 0 9px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
}

.training-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.training-evidence,
.credential-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.training-evidence:hover,
.credential-source:hover,
.training-page-link:hover,
.credential-verification a:hover {
  color: var(--blue);
}

.training-evidence svg,
.credential-source svg,
.training-page-link svg {
  width: 16px;
  height: 16px;
}

.training-proof-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(8, 127, 134, 0.24);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--soft-teal), #f8fbff);
}

.training-proof-strip p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.proof-label {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.training-page-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 900;
}

.training-page-main {
  width: min(1180px, 94vw);
  margin: 0 auto;
}

.training-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: 46px;
  align-items: center;
  margin-top: 32px;
  padding: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 12%, rgba(8, 127, 134, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f1f7ff 100%);
  box-shadow: var(--shadow);
}

.training-hero-copy h1 {
  max-width: 690px;
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.98;
}

.training-hero-copy > p:not(.section-kicker) {
  max-width: 650px;
  margin: 20px 0 0;
  color: #2e3d58;
  font-size: 1.03rem;
}

.training-hero-actions,
.training-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.training-hero-actions svg,
.training-contact-actions svg {
  width: 18px;
  height: 18px;
}

.training-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.training-hero-facts li {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(8, 127, 134, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.training-hero-facts strong,
.training-hero-facts span {
  display: block;
}

.training-hero-facts strong {
  color: var(--teal);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.training-hero-facts span {
  margin-top: 7px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.training-hero-gallery {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 480px;
}

.training-hero-gallery figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  border-radius: 9px;
  background: #dfe9f4;
  box-shadow: 0 10px 24px rgba(8, 25, 58, 0.11);
}

.training-gallery-primary {
  grid-row: 1 / 3;
}

.training-hero-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.training-hero-gallery figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  color: #ffffff;
  background: rgba(6, 22, 50, 0.82);
  backdrop-filter: blur(10px);
}

.training-hero-gallery figcaption strong,
.training-hero-gallery figcaption span {
  display: block;
}

.training-hero-gallery figcaption strong {
  font-size: 0.77rem;
  text-transform: uppercase;
}

.training-hero-gallery figcaption span {
  margin-top: 2px;
  font-size: 0.72rem;
}

.training-page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.training-page-nav a {
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 850;
}

.training-page-nav a:hover {
  color: var(--teal);
  background: var(--soft-teal);
}

.training-page-section {
  padding-top: 72px;
}

.training-page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: end;
  margin-bottom: 24px;
}

.training-page-heading > p {
  margin: 0;
  color: var(--muted);
}

.engagement-list {
  display: grid;
  gap: 22px;
}

.engagement-record {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.engagement-record-reverse .engagement-image {
  order: 2;
}

.engagement-image {
  display: block;
  min-height: 420px;
  overflow: hidden;
  background: #dfe9f4;
}

.engagement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.engagement-image:hover img {
  transform: scale(1.02);
}

.engagement-copy {
  padding: 34px;
}

.engagement-label-row time {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.engagement-location {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.engagement-location svg {
  width: 16px;
  height: 16px;
  color: var(--coral);
}

.engagement-copy h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.72rem;
  line-height: 1.15;
}

.engagement-copy > p:not(.engagement-location) {
  margin: 14px 0 0;
  color: #33425e;
}

.engagement-points {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.engagement-points li {
  position: relative;
  padding-left: 19px;
  color: var(--muted);
  font-size: 0.9rem;
}

.engagement-points li::before {
  position: absolute;
  top: 0.56em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.credential-section {
  padding-bottom: 10px;
}

.credential-group + .credential-group {
  margin-top: 36px;
}

.credential-group-heading {
  margin-bottom: 14px;
}

.credential-group-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.15rem;
}

.credential-group-heading span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.credential-card {
  display: flex;
  min-height: 260px;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.credential-card:nth-child(3n + 2) {
  border-top-color: var(--blue);
}

.credential-card:nth-child(3n) {
  border-top-color: var(--purple);
}

.credential-card-top time {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.credential-mark {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 6px 9px;
  border-radius: 6px;
  color: var(--teal);
  background: var(--soft-teal);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.03em;
}

.credential-card h4 {
  margin: 22px 0 9px;
  color: var(--navy);
  font-size: 1.03rem;
  line-height: 1.28;
}

.credential-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
}

.credential-tags span {
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--navy);
  background: var(--soft-blue);
  font-size: 0.7rem;
  font-weight: 850;
}

.credential-source {
  margin-top: 12px;
  padding-top: 0;
}

.credential-verification {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid rgba(8, 127, 134, 0.24);
  border-radius: 9px;
  background: var(--soft-teal);
}

.credential-verification > svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.credential-verification strong {
  color: var(--navy);
}

.credential-verification p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.credential-verification a {
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 900;
}

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

.teaching-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.teaching-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--teal);
  background: var(--soft-teal);
}

.teaching-icon svg {
  width: 22px;
  height: 22px;
}

.teaching-grid h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.teaching-grid p {
  margin: 0;
  color: var(--muted);
}

.training-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin-top: 72px;
  padding: 34px 38px;
  border-radius: 10px 10px 0 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 25% 0%, rgba(10, 166, 170, 0.28), transparent 30%),
    linear-gradient(135deg, #061632, #092b5f);
  box-shadow: var(--shadow);
}

.training-contact h2,
.training-contact .section-kicker {
  color: #ffffff;
}

.training-contact p:not(.section-kicker) {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.training-contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.training-contact-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  font-weight: 850;
}

.training-contact-actions a:hover {
  color: var(--navy);
  background: #ffffff;
}

.training-page-footer {
  margin-top: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 30px;
  padding: 30px 38px;
  border-radius: 8px 8px 0 0;
  color: white;
  background:
    radial-gradient(circle at 30% 10%, rgba(10, 166, 170, 0.22), transparent 22%),
    linear-gradient(135deg, #061632, #092354);
  box-shadow: var(--shadow);
}

.contact-section h2,
.contact-section .section-kicker {
  color: white;
}

.contact-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.contact-actions a {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.contact-actions a:hover {
  color: var(--navy);
  background: white;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 94vw);
  margin: 0 auto 22px;
  padding: 20px 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0 0 8px 8px;
  color: rgba(255, 255, 255, 0.82);
  background: #061632;
  font-size: 0.86rem;
}

@media (max-width: 1200px) and (min-width: 1061px) {
  .header-panel,
  .main-nav {
    gap: 14px;
  }

  .main-nav {
    font-size: 0.86rem;
  }
}

@media (max-width: 1060px) {
  html {
    scroll-padding-top: 82px;
  }

  #pipelines,
  #writing,
  #publications,
  #about,
  #work,
  #training,
  #contact {
    scroll-margin-top: 82px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding-block: 10px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-panel {
    display: none;
    grid-column: 1 / -1;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .header-panel.is-open {
    display: grid;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }

  .site-header > .main-nav {
    grid-column: 1 / -1;
  }

  .main-nav a {
    padding: 8px 10px;
    border-radius: 7px;
    background: #f7fbff;
    text-align: center;
  }

  .profile-menu summary {
    justify-content: flex-start;
  }

  .profile-menu-list {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }

  .contact-section,
  .section-heading,
  #writing .section-heading,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
    padding-top: 330px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.86) 43%, #ffffff 100%),
      url("assets/genomics-hero-light.png") center top / min(118vw, 780px) auto no-repeat,
      linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  }

  .quick-stats,
  .post-grid,
  .publication-grid,
  .pipeline-grid,
  .training-grid,
  .series-grid,
  .evidence-grid,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card:nth-child(2) {
    border-right: 0;
  }

  .stat-card:nth-child(1),
  .stat-card:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .about-section {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 34px;
    padding: 42px;
  }

  .pipeline-group-heading,
  .pipeline-detail header {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 9px 18px;
  }

  .brand {
    gap: 8px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    white-space: normal;
    font-size: 0.65rem;
  }

  .brand-mark {
    font-size: 1.68rem;
  }

  .brand > span:last-child {
    padding-left: 9px;
  }

  .menu-toggle {
    padding-inline: 10px;
  }

  .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 0.86rem;
  }

  .hero {
    min-height: 0;
    padding: 205px 18px 44px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.9) 34%, #ffffff 100%),
      url("assets/genomics-hero-light.png") center top / 145vw auto no-repeat,
      linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  }

  .hero .eyebrow {
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: 2.52rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions a,
  .section-actions a {
    width: 100%;
  }

  .quick-stats,
  .post-grid,
  .publication-grid,
  .pipeline-grid,
  .training-grid,
  .series-grid,
  .evidence-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .stat-card:nth-child(2),
  .stat-card:nth-child(4) {
    min-height: 94px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-verified {
    text-align: left;
  }

  .section-shell,
  .reader,
  .pipeline-detail {
    width: calc(100vw - 36px);
  }

  .section-shell {
    padding-top: 46px;
  }

  h2,
  .section-heading h2 {
    font-size: 2rem;
  }

  .publication-card,
  .pipeline-card,
  .post-card {
    min-height: 0;
  }

  .reader,
  .pipeline-detail {
    padding: 22px;
  }

  .about-section {
    grid-template-columns: 1fr;
    width: calc(100vw - 28px);
    gap: 28px;
    padding: 26px;
  }

  .about-portrait {
    width: min(235px, 100%);
    margin-inline: auto;
  }

  .contact-section,
  .site-footer {
    width: calc(100vw - 28px);
    margin-inline: auto;
    padding: 24px 22px;
  }

  .site-footer {
    flex-direction: column;
  }

  .portfolio-map-table,
  .portfolio-map-table tbody,
  .portfolio-map-table tr,
  .portfolio-map-table td {
    display: block;
    width: 100%;
  }

  .portfolio-map-table {
    border: 0;
  }

  .portfolio-map-table thead {
    display: none;
  }

  .portfolio-map-table tr {
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
  }

  .portfolio-map-table td,
  .portfolio-map-table tr:last-child td {
    padding: 9px 14px;
    border-bottom: 0;
    overflow-wrap: anywhere;
  }

  .portfolio-map-table td:first-child {
    padding-top: 14px;
  }

  .portfolio-map-table td:last-child {
    padding-bottom: 14px;
  }

  .portfolio-map-table td::before {
    display: block;
    margin-bottom: 3px;
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .portfolio-map-table td:nth-child(1)::before {
    content: "Area";
  }

  .portfolio-map-table td:nth-child(2)::before {
    content: "Repository";
  }

  .portfolio-map-table td:nth-child(3)::before {
    content: "Evidence";
  }

  .portfolio-evidence-table td:nth-child(1)::before {
    content: "Output";
  }

  .portfolio-evidence-table td:nth-child(2)::before {
    content: "Public record";
  }

  .portfolio-evidence-table td:nth-child(3)::before {
    content: "Portfolio evidence";
  }
}

@media (max-width: 1060px) {
  .training-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-feature-card:last-child {
    grid-column: 1 / -1;
  }

  .training-feature-card:last-child .training-card-image {
    aspect-ratio: 16 / 7;
  }

  .training-page-hero {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .training-hero-gallery {
    min-height: 430px;
  }

  .engagement-record {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  }

  .engagement-copy {
    padding: 28px;
  }

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

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

  .training-contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .training-feature-grid,
  .credential-grid,
  .credential-grid-compact,
  .teaching-grid {
    grid-template-columns: 1fr;
  }

  .training-feature-card:last-child {
    grid-column: auto;
  }

  .training-feature-card:last-child .training-card-image,
  .training-card-image {
    aspect-ratio: 4 / 3;
  }

  .training-proof-strip,
  .credential-verification {
    grid-template-columns: 1fr;
  }

  .training-proof-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .training-page-main {
    width: calc(100vw - 28px);
  }

  .training-page-hero {
    gap: 30px;
    margin-top: 14px;
    padding: 28px 22px;
  }

  .training-hero-copy h1 {
    font-size: 2.72rem;
  }

  .training-hero-actions a,
  .training-contact-actions a {
    width: 100%;
  }

  .training-hero-facts {
    grid-template-columns: 1fr;
  }

  .training-hero-facts li {
    min-height: 0;
  }

  .training-hero-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .training-gallery-primary {
    grid-row: auto;
  }

  .training-hero-gallery figure {
    aspect-ratio: 4 / 3;
  }

  .training-page-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-page-nav a {
    text-align: center;
  }

  .training-page-section {
    padding-top: 54px;
  }

  .training-page-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .engagement-record-reverse .engagement-image {
    order: 0;
  }

  .engagement-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .engagement-copy {
    padding: 24px 20px;
  }

  .engagement-label-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .engagement-copy h3 {
    font-size: 1.43rem;
  }

  .credential-card {
    min-height: 230px;
  }

  .credential-verification {
    justify-items: start;
  }

  .training-contact {
    margin-top: 54px;
    padding: 28px 22px;
  }

  .training-page-footer {
    width: calc(100vw - 28px);
  }
}
