:root {
  --ink: #17212b;
  --muted: #5f6b75;
  --paper: #f7f3ec;
  --surface: #ffffff;
  --line: #d9d3c8;
  --teal: #0d706f;
  --red: #a63737;
  --gold: #b88a2d;
  --shadow: 0 18px 48px rgba(23, 33, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 5vw;
  background: rgba(247, 243, 236, 0.9);
  border-bottom: 1px solid rgba(217, 211, 200, 0.82);
  backdrop-filter: blur(16px);
}

.site-mark {
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
  border-color: var(--teal);
}

.hero {
  min-height: 82svh;
  display: flex;
  align-items: center;
  padding: 110px 5vw 70px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(8, 15, 22, 0.88), rgba(8, 15, 22, 0.65) 54%, rgba(8, 15, 22, 0.18)),
    url("assets/current-superlimb.png") center right / cover no-repeat;
}

.hero-content {
  width: min(760px, 100%);
}

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

.hero .eyebrow {
  color: #8ee3d9;
}

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

h1 {
  margin-bottom: 20px;
  font-size: 4.8rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 2.35rem;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-meta {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
}

.hero-meta span {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.42);
}

.hero-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.site-footer .button:not(.button-primary),
.hero .button:not(.button-primary) {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.54);
}

.section-pad {
  padding: 86px 5vw;
}

.section-heading {
  width: min(940px, 100%);
  margin-bottom: 36px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 40px;
  align-items: start;
}

.intro-grid > p {
  max-width: 760px;
  font-size: 1.14rem;
  color: #35424d;
}

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

.interest-list span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: var(--surface);
  border-left: 4px solid var(--teal);
  box-shadow: 0 8px 24px rgba(23, 33, 43, 0.06);
}

.split-section,
.publication-section {
  background: var(--surface);
}

.split-layout,
.honor-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.96fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.current-section .split-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
}

.current-section .text-stack {
  max-width: 980px;
}

.current-section .media-frame img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-frame,
.award-frame {
  margin: 0;
}

.media-frame img,
.award-frame img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.text-stack {
  color: #33404a;
}

.text-stack p {
  font-size: 1.04rem;
}

.fact-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.fact-list div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.fact-list dt {
  color: var(--red);
  font-weight: 800;
}

.fact-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.project-band {
  background: #efe9df;
}

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

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 33, 43, 0.08);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.project-copy {
  padding: 22px;
}

.project-kicker {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.project-copy p {
  color: #40505b;
}

.metric {
  margin-bottom: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 720;
}

.publication-list {
  display: grid;
  gap: 18px;
  max-width: 1060px;
  margin: 0;
  padding-left: 22px;
  color: #34414b;
}

.publication-list li {
  padding-left: 8px;
}

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

.honor-section {
  background: var(--paper);
}

.award-frame img {
  object-fit: contain;
}

.education-section {
  background: #16202a;
  color: #ffffff;
}

.education-section .eyebrow {
  color: #e0b760;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline article {
  min-height: 210px;
  padding: 26px;
  background: #1d2a35;
}

.timeline span {
  display: block;
  margin-bottom: 18px;
  color: #8ee3d9;
  font-weight: 800;
}

.timeline p {
  max-width: 34ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 60px 5vw 34px;
  color: #ffffff;
  background: #111820;
}

.site-footer .eyebrow {
  color: #8ee3d9;
}

.site-footer h2 {
  max-width: 720px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .project-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  }

  .project-card img {
    height: 100%;
    min-height: 260px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .hero {
    min-height: 78svh;
    padding-top: 82px;
    background-position: center;
  }

  .hero-meta span {
    display: none;
  }

  .hero-meta {
    display: grid;
    gap: 8px;
  }

  .intro-grid,
  .split-layout,
  .honor-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .current-section .split-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .section-pad {
    padding: 64px 22px;
  }

  .site-header {
    padding: 14px 22px;
  }

  .hero {
    min-height: 76svh;
    padding: 76px 22px 48px;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 1.66rem;
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .interest-list,
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card img {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
