/* Screen approximations of the supplied CMYK palette; pale king’s blue assumes K=0. */
:root {
  --umber: #5e4017;
  --blue: #a6e6db;
  --pale: #f2fce8;
  --yellow: #ffb852;
  --ink: #293932;
  --muted: #536459;
  --line: #c9d6c2;
  --paper: #fcfdf8;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--pale);
  color: var(--ink);
  font:
    16px/1.7 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--umber);
  text-underline-offset: 5px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--umber);
  outline-offset: 5px;
}
.site-header,
main,
footer {
  max-width: 1160px;
  margin: auto;
  padding-left: 44px;
  padding-right: 44px;
}
.site-header {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.monogram {
  font: 700 32px var(--serif);
  letter-spacing: -2px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.monogram span {
  width: 9px;
  height: 25px;
  background: var(--yellow);
  transform: skewY(-25deg);
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}
nav a {
  font-size: 14px;
  text-decoration: none;
  padding: 10px 0;
  color: var(--ink);
}
.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
nav .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 44px;
}
.social-link img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}
nav a[aria-current] {
  border-bottom: 2px solid var(--umber);
  color: var(--umber);
}
.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  background: white;
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 74px 0 90px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--umber);
  margin: 0 0 18px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
}
h1 {
  font-size: clamp(52px, 7.8vw, 92px);
  letter-spacing: -4px;
  margin: 0 0 24px;
}
.period {
  color: var(--umber);
}
.role {
  font-size: 19px;
  color: var(--umber);
  margin: 0 0 24px;
}
.intro {
  font: 25px/1.45 var(--serif);
  max-width: 490px;
}
.hero-copy > p:not(.eyebrow):not(.role):not(.intro) {
  max-width: 470px;
  color: var(--muted);
}
.button {
  display: inline-block;
  margin-top: 18px;
  background: var(--umber);
  color: var(--pale);
  padding: 12px 24px;
  text-decoration: none;
  font-size: 14px;
}
.button:hover {
  background: #493110;
}
.portrait {
  position: relative;
  margin: 0;
  padding: 0 0 28px 28px;
}
.portrait:before {
  content: "";
  position: absolute;
  inset: 28px 28px 0 0;
  background: var(--blue);
  z-index: -1;
}
.portrait img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.85);
}
.portrait figcaption {
  font-size: 12px;
  margin: 14px 0 0;
  color: var(--muted);
  letter-spacing: 1px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}
.section-heading h2 {
  font-size: 39px;
  margin: 0;
}
.section-heading > p {
  font-size: 14px;
  color: var(--muted);
}
.career {
  border-top: 1px solid var(--line);
  padding: 48px 0 65px;
}
.timeline {
  padding: 0 0 0 28px;
  margin: 0;
  list-style: none;
  position: relative;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 60px;
  width: 1px;
  background: var(--umber);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 26px;
  padding: 0 0 35px 24px;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: -27px;
  top: 8px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--umber);
  border-radius: 50%;
  background: var(--pale);
}
.timeline li:after {
  content: "↓";
  position: absolute;
  left: -27px;
  bottom: 9px;
  color: var(--umber);
  font-size: 16px;
  background: var(--pale);
  line-height: 1;
}
.timeline li:last-child:after {
  display: none;
}
.date {
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--umber);
}
.timeline .date {
  grid-row: 1/4;
  padding-top: 4px;
}
.timeline h3 {
  font-size: 24px;
  margin: 0 0 7px;
}
.timeline p {
  margin: 0;
  font-size: 15px;
}
.timeline .detail {
  font-size: 15px;
  color: var(--muted);
  margin-top: 10px;
  max-width: 680px;
}
.timeline .detail strong {
  color: var(--umber);
  font-weight: 600;
}
.timeline .current:before {
  background: var(--yellow);
}
.page-intro {
  padding: 64px 0 48px;
  max-width: 800px;
}
.page-intro h1 {
  font-size: clamp(46px, 6vw, 72px);
  letter-spacing: -3px;
}
.lede {
  font: 23px/1.5 var(--serif);
  color: var(--muted);
}
.degree {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 38px 0;
}
.degree h2 {
  font-size: 32px;
  margin: 0 0 14px;
}
.degree p {
  margin: 0;
}
.institution {
  font-weight: 600;
}
dl {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 12px;
  margin: 28px 0 0;
}
dt {
  font-size: 14px;
  font-weight: 600;
}
dd {
  margin: 0;
  color: var(--muted);
}
.education-list {
  padding-bottom: 70px;
}
.bioc-note {
  background: var(--blue);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  padding: 30px;
  margin-bottom: 40px;
}
.bioc-note h2 {
  font-size: 28px;
  margin: 0;
}
.bioc-note p {
  margin-bottom: 0;
}
.resources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 44px;
  padding-bottom: 70px;
}
.resource {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  display: flex;
  gap: 22px;
}
.resource-number {
  font: 16px var(--serif);
  color: var(--umber);
  padding-top: 3px;
}
.resource h2 {
  font-size: 32px;
  margin: 0;
}
.resource .eyebrow {
  margin-bottom: 10px;
}
.resource p:not(.eyebrow) {
  color: var(--muted);
}
.resource a {
  font-size: 14px;
}
.publication-note {
  max-width: 800px;
  color: var(--muted);
  font-size: 14px;
}
.pub-year {
  font-size: 30px;
  margin: 40px 0 20px;
}
.publications {
  list-style: none;
  padding: 0;
}
.publication {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.publication.first-author {
  border-left: 4px solid var(--umber);
  padding-left: 22px;
  background: linear-gradient(90deg, #ffb85220, transparent);
}
.publication h3 {
  font: 22px/1.4 var(--serif);
  margin: 8px 0 12px;
}
.publication h3 a {
  color: var(--ink);
  text-decoration: none;
}
.publication h3 a:hover {
  text-decoration: underline;
}
.authors {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 8px;
}
.journal {
  font-size: 14px;
  margin: 0;
}
.badge {
  display: inline-block;
  background: var(--yellow);
  color: #493110;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.pub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  font-size: 13px;
}
.publications-section {
  padding-bottom: 40px;
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  padding-bottom: 32px;
  font-size: 12px;
  color: var(--muted);
}
footer div {
  display: flex;
  gap: 22px;
}
@media (min-width: 1100px) {
  .hero h1 {
    font-size: 96px;
  }
}
@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .site-header {
    padding-top: 22px;
    padding-bottom: 16px;
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  nav {
    gap: 18px;
  }
  nav a {
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 55px;
  }
  .hero h1 {
    font-size: 68px;
  }
  .portrait {
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }
  .portrait img {
    height: 360px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .timeline li {
    grid-template-columns: 1fr;
    padding-left: 12px;
  }
  .timeline .date {
    grid-row: auto;
    margin-bottom: 8px;
  }
  .timeline h3 {
    font-size: 22px;
  }
  .degree,
  .bioc-note {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .degree h2 {
    font-size: 27px;
  }
  dl {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  dd {
    margin-bottom: 12px;
  }
  .resources {
    grid-template-columns: 1fr;
  }
  .page-intro {
    padding-top: 42px;
  }
  .page-intro h1 {
    letter-spacing: -2px;
    overflow-wrap: anywhere;
  }
  .publication h3 {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.career-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.career-links .button {
  margin-top: 0;
}

.home .button {
  background: var(--blue);
  color: var(--ink);
  font-weight: 700;
}
.home .button:hover {
  background: #92d4c9;
}

/* Decorative kākāpō stroll between the monogram and navigation. */
.site-header { position: relative; gap: 20px; }
.kakapo-track {
  position: relative;
  flex: 1 1 120px;
  min-width: 64px;
  max-width: 260px;
  height: 64px;
  pointer-events: none;
}
.kakapo-walker {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 56px;
  height: 56px;
  animation: kakapo-stroll 12s linear infinite;
}
.kakapo-sprite {
  display: block;
  width: 56px;
  height: 56px;
  background-image: url("../images/kakapo-walkingcycle-frames.png");
  background-repeat: no-repeat;
  background-size: 336px 112px;
  background-position: 0 -28px;
  animation: kakapo-steps 0.9s steps(6) infinite;
}
@keyframes kakapo-stroll {
  0%, 49% { transform: scaleX(1); }
  50%, 99% { transform: scaleX(-1); }
  0%, 100% { left: 0; }
  49%, 50% { left: calc(100% - 56px); }
}
@keyframes kakapo-steps {
  from { background-position: 0 -28px; }
  to { background-position: -336px -28px; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .site-header { flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; gap: 12px 20px; }
  .kakapo-track { max-width: none; }
  .site-header nav { width: 100%; }
}
@media (max-width: 760px) {
  .kakapo-track { position: absolute; top: 12px; left: 124px; right: 24px; max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .kakapo-walker, .kakapo-sprite { animation: none; }
}
@media print { .kakapo-track { display: none; } }
