:root {
  --ink: #151b1a;
  --muted: #536260;
  --paper: #fafbf8;
  --panel: #ffffff;
  --line: #d9e1de;
  --soft: #edf1ef;
  --teal: #0f7074;
  --plum: #684764;
  --shadow: 0 16px 44px rgba(21, 27, 26, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfcf8 0%, #f6f8f4 54%, #fbfcf8 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  padding: 0 clamp(24px, 5vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 251, 248, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 760;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #33413f;
  font-size: 15px;
}

main {
  max-width: 1440px;
  margin: 0 auto;
}

.hero,
.section {
  padding-left: clamp(24px, 5vw, 68px);
  padding-right: clamp(24px, 5vw, 68px);
}

.hero {
  padding-top: 64px;
  padding-bottom: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.eyebrow,
.tag,
.paper-meta {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow {
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: #b68132;
}

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

h1 {
  margin-bottom: 10px;
  font-size: clamp(44px, 6vw, 58px);
  line-height: 1.04;
  font-weight: 760;
}

.topic-line {
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.topic-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topic-line span:not(:last-child)::after {
  content: "•";
  color: #b68132;
}

.lead {
  max-width: 780px;
  margin-bottom: 28px;
  color: #31413e;
  font-size: clamp(19px, 2.1vw, 21px);
  line-height: 1.48;
}

.vision {
  max-width: 840px;
  margin-bottom: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.vision h2 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 760;
}

.vision p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  color: #ffffff;
  background: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: #cbd5d1;
}

.profile-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-card img {
  width: 100%;
  height: 326px;
  display: block;
  object-fit: cover;
}

.profile-card div {
  padding: 20px;
}

.profile-card h2 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 760;
}

.profile-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.profile-links {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding-top: 34px;
  padding-bottom: 34px;
}

.section-head {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 760;
}

.section-head p {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.project-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-image img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tag {
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft);
}

.project-copy h3 {
  max-width: 840px;
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 760;
}

.project-subtitle {
  color: #31413e;
  font-size: 18px;
  font-weight: 700;
}

.project-copy p {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.project-points {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
}

.project-points li {
  padding-top: 12px;
  border-top: 2px solid var(--line);
  color: #31413e;
  font-size: 14px;
  line-height: 1.45;
}

.paper-list {
  display: grid;
  gap: 12px;
}

.paper-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 178px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(21, 27, 26, 0.04);
}

.paper-image {
  display: block;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--soft);
}

.paper-image img,
.paper-image video {
  width: 100%;
  height: 100%;
  min-height: 178px;
  display: block;
  object-fit: cover;
}

.paper-image-crop-top video {
  height: calc(100% + 48px);
  min-height: 226px;
  transform: translateY(-48px);
}

.paper-copy {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.paper-meta {
  margin-bottom: 0;
}

.paper-copy h3 {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 760;
}

.paper-citation,
.paper-venue,
.paper-impact {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.paper-venue {
  color: #31413e;
  font-weight: 700;
}

.paper-impact {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: #293936;
}

.paper-impact strong {
  color: var(--plum);
}

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 760;
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .profile-card {
    max-width: 360px;
  }

  .section-head,
  .project-card,
  .paper-card {
    display: block;
  }

  .section-head h2 {
    margin-bottom: 10px;
  }

  .project-image,
  .paper-image {
    border-right: 0;
  }

  .project-image img {
    height: 220px;
    margin-bottom: 18px;
  }

  .project-points {
    grid-template-columns: 1fr;
  }

  .paper-image img,
  .paper-image video {
    height: 190px;
  }
}
