:root {
  --paper: #ffffff;
  --wash: #f5f8fb;
  --ink: #1d2528;
  --muted: #607078;
  --line: #dbe5ee;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --link: #1f5fa8;
  --shadow: 0 18px 55px rgba(31, 42, 38, 0.1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 228, 220, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand {
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.91rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(200px, 0.48fr) minmax(360px, 1.52fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  padding: clamp(16px, 3vh, 28px) 0;
}

.hero-media img {
  width: 100%;
  max-height: 390px;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  font-size: 4.6rem;
  font-weight: 820;
}

h2 {
  max-width: 34ch;
  font-size: 2.45rem;
  font-weight: 780;
}

.lede {
  margin: 14px 0 0;
  color: #314046;
  font-size: 1.18rem;
  line-height: 1.48;
  text-wrap: pretty;
}

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

.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 7px 13px 7px 9px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--paper);
}

.button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--paper);
}

.button.primary:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--paper);
}

.button-thumb {
  width: 24px;
  height: 24px;
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
}

.button-thumb img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.quick-facts {
  display: grid;
  grid-template-columns: 110px 1fr;
  column-gap: 18px;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
}

.quick-facts dt,
.quick-facts dd {
  border-top: 1px solid var(--line);
  padding-top: 7px;
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0;
  color: #2f3d42;
}

.section {
  padding: clamp(22px, 3.8vw, 42px) 0;
}

.band {
  background: var(--wash);
}

.section-head {
  margin-bottom: 14px;
}

.section-head.compact {
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(340px, 1.22fr);
  gap: clamp(16px, 2.6vw, 28px);
  align-items: start;
}

.copy p {
  margin: 0 0 10px;
  color: #34454b;
  font-size: 1.02rem;
  text-wrap: pretty;
}

.feature-image {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 8px;
  max-width: 600px;
  justify-self: end;
}

.feature-image img {
  width: 100%;
  height: auto;
}

.work-list,
.publication-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-list {
  display: grid;
  gap: 0;
}

.work-list li,
.publication-list li {
  border-top: 1px solid var(--line);
  padding: 8px 0;
}

.work-list li:last-child,
.publication-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.work-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.work-card:hover,
.work-card:hover strong {
  color: var(--accent-strong);
}

.work-card img {
  width: 150px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--paper);
}

.work-card strong {
  display: inline;
  color: var(--ink);
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  text-wrap: pretty;
}

.work-card span span {
  display: inline;
  margin-top: 0;
  color: inherit;
  text-wrap: pretty;
}

.more-link {
  max-width: 780px;
  margin: 14px 0 0;
  color: #405158;
  text-wrap: pretty;
}

.work-list li,
.publication-list li {
  color: #36484e;
  text-wrap: pretty;
}

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

.talk-list {
  display: grid;
  gap: 8px;
}

.press-list {
  display: grid;
  gap: 8px;
  max-width: 780px;
}

.press-list a {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 8px;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
}

.press-list a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.press-list strong,
.press-list span span {
  display: block;
  text-wrap: pretty;
}

.press-list span span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.talk-list a {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 7px;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
}

.talk-list a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.talk-list img {
  width: 96px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.talk-list strong,
.talk-list span span {
  display: block;
  text-wrap: pretty;
}

.talk-list span span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.software-grid a {
  min-height: 76px;
  border: 1px solid var(--line);
  padding: 10px;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
}

.software-grid a:hover {
  border-color: var(--accent);
}

.software-grid strong,
.software-grid span {
  display: block;
  text-wrap: pretty;
}

.software-grid strong {
  font-size: 1.08rem;
}

.software-grid span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.38;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
}

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

.timeline li {
  border-top: 1px solid var(--line);
  padding: 7px 0;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  margin-top: 3px;
  color: var(--muted);
  text-wrap: pretty;
}

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

.link-grid a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 7px 9px;
  color: var(--ink);
  font-weight: 690;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  background: var(--paper);
  text-wrap: pretty;
}

.link-grid a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.link-thumb {
  width: 30px;
  height: 30px;
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--wash);
}

.link-thumb img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.personal {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(16px, 2.6vw, 28px);
  align-items: center;
}

.personal-copy p:last-child {
  margin-bottom: 0;
  color: #34454b;
  text-wrap: pretty;
}

.personal img {
  width: 100%;
  max-height: 400px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}

.footer-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.94rem;
}

.footer-disclaimer {
  margin-top: -4px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
}

@media (max-width: 920px) {
  .hero,
  .split,
  .personal,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    max-height: 310px;
  }

  .feature-image {
    justify-self: stretch;
    max-width: none;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: none;
    font-size: 3.4rem;
  }

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

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

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0;
    gap: 6px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    gap: 13px;
    padding-bottom: 3px;
    white-space: nowrap;
  }

  .hero {
    padding-top: 18px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .lede {
    font-size: 1.06rem;
  }

  .work-card {
    display: block;
  }

  .work-card img {
    width: 88px;
  }

  .quick-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quick-facts dt {
    padding-bottom: 0;
  }

  .quick-facts dd {
    border-top: 0;
    padding-top: 3px;
    padding-bottom: 10px;
  }

  .talk-list a {
    grid-template-columns: 72px 1fr;
    gap: 8px;
  }

  .talk-list img {
    width: 72px;
  }

  .software-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }
}
