:root {
  --paper: #f7f6f2;
  --paper-deep: #efede6;
  --ink: #182331;
  --muted: #5d6873;
  --navy: #18385d;
  --navy-deep: #102941;
  --orange: #d85a2a;
  --line: #d7d4ca;
  --white: #ffffff;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: var(--orange);
}

a:focus-visible {
  outline: 3px solid rgba(216, 90, 42, 0.35);
  outline-offset: 4px;
  border-radius: 2px;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.45;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 12px;
  padding: 8px 14px;
  color: var(--white);
  background: var(--navy-deep);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(24, 35, 49, 0.12);
  background: rgba(247, 246, 242, 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  flex: 0 0 auto;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 300px);
  gap: clamp(48px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 70px);
  padding-block: 80px;
}

.hero-copy {
  padding-top: 10px;
}

.eyebrow,
.tag,
.section-number {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
}

.role {
  max-width: 740px;
  margin-bottom: 18px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2.3vw, 1.55rem);
  line-height: 1.45;
}

.lede {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 1px solid var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

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

.button-primary:hover {
  color: var(--white);
  background: var(--navy-deep);
}

.profile-links {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-links a,
.card-links a,
.text-link {
  color: var(--navy);
  font-weight: 700;
}

.portrait-wrap {
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  max-width: 300px;
  justify-self: end;
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: cover;
  object-position: 50% 43%;
}

.section {
  padding-block: clamp(84px, 10vw, 132px);
  scroll-margin-top: 68px;
}

.section-heading {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 54px;
}

.section-heading > div > p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.section-number {
  margin: 13px 0 0;
}

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

.affiliation-label {
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.previous-label {
  margin-top: 48px;
}

.research-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 42px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.research-current {
  border-top: 1px solid var(--line);
  border-inline: 0;
}

.research-item h3 {
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: 1.38rem;
}

.research-item p {
  max-width: 760px;
  margin-bottom: 8px;
  color: var(--muted);
}

.item-meta p {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.item-meta p + p {
  color: var(--muted);
  font-weight: 500;
}

.item-meta p + p + p {
  margin-top: 6px;
}

.advisor {
  color: var(--muted) !important;
  font-size: 0.84rem;
  font-style: italic;
}

.section-tint {
  border-block: 1px solid var(--line);
  background: var(--paper-deep);
}

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

.work-card {
  min-height: 320px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.work-card-featured {
  grid-column: 1 / -1;
  min-height: 0;
}

.authors {
  max-width: 880px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.authors strong {
  color: var(--ink);
}

.work-card h3 {
  margin-bottom: 16px;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.work-card > p:not(.tag):not(.advisor) {
  color: var(--muted);
}

.tag {
  margin-bottom: 16px;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  font-size: 0.88rem;
}

.timeline {
  position: relative;
  margin-left: 6px;
  border-left: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 30px;
  padding: 0 0 38px 34px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  position: absolute;
  top: 8px;
  left: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.timeline-date {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.timeline-item h3 {
  color: var(--navy-deep);
  font-size: 1.05rem;
}

.timeline-item h3 span {
  color: var(--muted);
  font-weight: 500;
}

.company-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.company-heading h3 {
  margin-bottom: 0;
}

.company-logo-slot {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.company-logo {
  display: block;
  object-fit: contain;
}

.company-logo-google {
  width: 29px;
  height: 29px;
}

.company-logo-sig {
  position: absolute;
  top: -39px;
  left: -1px;
  width: 118px;
  height: 118px;
  max-width: none;
}

.company-logo-smartsheet {
  width: 34px;
  height: 34px;
  border-radius: 4px;
}

.timeline-item p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.section-dark {
  color: var(--white);
  background: var(--navy-deep);
}

.section-heading-light > div > p {
  color: #bdc9d4;
}

.section-heading-light .section-number {
  color: #f19872;
}

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

.service-grid article {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.service-grid .tag {
  color: #f19872;
}

.service-grid h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.service-grid article > p:last-child {
  margin-bottom: 0;
  color: #bdc9d4;
}

.education-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(50px, 8vw, 100px);
}

.education-list article {
  padding-block: 26px;
  border-top: 1px solid var(--line);
}

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

.education-list h3 {
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.education-list article > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.recognition {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.recognition h3 {
  margin-bottom: 20px;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.recognition ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recognition li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.87rem;
}

.recognition li span:last-child {
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 700;
}

.contact {
  padding-block: clamp(70px, 8vw, 100px);
  border-top: 1px solid var(--line);
}

.contact h2 {
  max-width: 880px;
  margin-bottom: 24px;
}

.text-link {
  font-size: 1.04rem;
}

.footer {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer p {
  margin-bottom: 0;
}

.footer div {
  display: flex;
  gap: 20px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 40px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .education-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    position: static;
  }

  .nav {
    align-items: flex-start;
    padding-block: 18px;
  }

  .nav-links {
    max-width: 290px;
    gap: 6px 16px;
  }

  .nav-links a {
    font-size: 0.72rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 64px 88px;
  }

  .portrait-wrap {
    grid-row: 1;
    max-width: 220px;
    justify-self: start;
  }

  .section-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .research-item,
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .work-card {
    min-height: 0;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 24px;
  }
}

@media (max-width: 480px) {
  .nav {
    display: block;
  }

  .wordmark {
    display: inline-block;
    margin-bottom: 10px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .profile-links {
    gap: 16px;
  }

  .recognition li {
    display: grid;
    gap: 2px;
  }
}

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

@media print {
  .site-header,
  .hero-actions,
  .contact,
  .footer {
    display: none;
  }

  body,
  .section-dark,
  .section-tint {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: 0;
  }
}
