:root {
  --ink: #20252b;
  --muted: #66717e;
  --soft: #f5f7f9;
  --line: #dfe4e8;
  --link: #1266a8;
  --link-hover: #9b4a19;
  --award-bg: #fff7df;
  --award-border: #ead8a1;
  --award-ink: #76570b;
  --featured-bg: #fffdf7;
  --shadow: 0 12px 30px rgba(27, 39, 51, 0.07);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: var(--link);
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 150ms ease, text-decoration-color 150ms ease, border-color 150ms ease,
    transform 150ms ease, box-shadow 150ms ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(18, 102, 168, 0.28);
  outline-offset: 3px;
}

.site-shell {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 68px 0 44px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 58px;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  color: #14181c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h2 {
  margin-bottom: 0;
  color: #181d22;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 670px;
  margin-bottom: 14px;
}

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

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.profile-links a,
.publication-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccd7df;
  border-radius: 999px;
  background: #ffffff;
  color: #284d68;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.profile-links a {
  padding: 8px 13px;
}

.profile-links a:hover,
.publication-links a:hover {
  border-color: #92a8b8;
  color: #123d5c;
  box-shadow: 0 4px 12px rgba(32, 57, 75, 0.08);
  transform: translateY(-1px);
}

.portrait-wrap {
  display: flex;
  justify-content: center;
}

.profile-img {
  display: block;
  width: 248px;
  height: auto;
  aspect-ratio: 1;
  border: 8px solid #f1f3f5;
  border-radius: 50%;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.section {
  padding-top: 58px;
}

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

.section-intro {
  max-width: 760px;
  margin-bottom: 28px;
  color: #48535f;
  font-size: 16px;
}

.publication-list {
  display: grid;
  gap: 18px;
}

.publication-grid {
  display: grid;
  grid-template-columns: minmax(230px, 32%) minmax(0, 1fr);
  gap: 24px;
}

.publication {
  align-items: start;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #ffffff;
}

.publication-featured {
  border-color: var(--award-border);
  background: linear-gradient(135deg, var(--featured-bg), #ffffff 72%);
}

.publication-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid #e4e7ea;
  border-radius: 10px;
  background: #eef1f3;
  text-decoration: none;
}

.publication-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.publication-media-printed-helicoid img {
  object-position: center bottom;
}

.publication-media:hover img {
  transform: scale(1.025);
}

.publication-media.contain {
  background: #f7f8f9;
}

.publication-media.contain img {
  object-fit: contain;
}

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

.publication-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.venue {
  color: #4f5a65;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.award-badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid var(--award-border);
  border-radius: 999px;
  background: var(--award-bg);
  color: var(--award-ink);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
}

.award-badge-neutral {
  border-color: #d7dfe5;
  background: #f5f7f8;
  color: #58636e;
}

.publication-title {
  margin-bottom: 7px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.35;
}

.publication-title a {
  color: #1e3547;
  text-decoration: none;
}

.publication-title a:hover {
  color: var(--link-hover);
}

.authors {
  margin-bottom: 8px;
  color: #58636d;
  font-size: 12.5px;
  line-height: 1.48;
}

.authors strong {
  color: #29323a;
}

.publication-summary {
  margin-bottom: 12px;
  color: #3f4a54;
  font-size: 13.5px;
  line-height: 1.52;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.publication-links a {
  min-height: 30px;
  padding: 7px 11px;
  font-size: 11px;
}

.subsection-label {
  margin: 38px 0 14px;
  color: #333d46;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.publication-list-secondary .publication {
  background: #fbfcfd;
}

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

.experience-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}

.experience-card:hover {
  border-color: #b9c7d1;
  box-shadow: var(--shadow);
  color: inherit;
  transform: translateY(-2px);
}

.company-media {
  grid-row: 1 / span 3;
  display: block;
  width: 72px;
  height: 72px;
  align-self: start;
  overflow: hidden;
  border: 1px solid #e0e5e9;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  pointer-events: none;
}

.experience-company {
  color: #252d34;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.3;
}

.experience-role {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
}

.experience-summary {
  margin-top: 9px;
  color: #46515b;
  font-size: 12.5px;
  line-height: 1.48;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding: 13px 16px 13px 38px;
  border-left: 3px solid #dbe3e8;
  border-radius: 0 9px 9px 0;
  background: var(--soft);
  color: #414b54;
}

.detail-list li::before {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #71808d;
  content: "";
}

.footer {
  margin-top: 60px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
  color: #7a848d;
  font-size: 11.5px;
  text-align: center;
}

.footer p {
  margin-bottom: 7px;
}

.footer a {
  color: #687581;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 32px, 620px);
    padding-top: 38px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 38px;
  }

  .portrait-wrap {
    grid-row: 1;
    justify-content: flex-start;
  }

  .profile-img {
    width: 164px;
    border-width: 6px;
  }

  h1 {
    margin-bottom: 16px;
  }

  .section {
    padding-top: 46px;
  }

  .publication-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .publication {
    gap: 18px;
    padding: 14px;
  }

  .publication-media {
    width: 100%;
  }
}

@media (max-width: 460px) {
  body {
    font-size: 14px;
  }

  .site-shell {
    width: min(100% - 24px, 420px);
  }

  .profile-links {
    gap: 7px;
  }

  .profile-links a {
    min-height: 38px;
    padding: 9px 12px;
  }

  .publication-title {
    font-size: 16px;
  }

  .publication-kicker {
    align-items: flex-start;
    flex-direction: column;
  }

  .experience-card {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 13px;
    padding: 14px;
  }

  .company-media {
    width: 58px;
    height: 58px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-shell {
    width: 100%;
    padding: 0;
  }

  .profile-links a,
  .publication-links a {
    border: 0;
    padding: 0 8px 0 0;
  }

  .publication,
  .experience-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
