:root {
  --bg: #0b0e14;
  --surface: #131722;
  --surface-2: #0f131c;
  --ink: #e6e9ef;
  --muted: #97a1b2;
  --brand: #6aa6ff;
  --brand-ink: #0b0e14;
  --line: #232a38;
  --radius: 0px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: var(--brand);
}

.container {
  width: min(1000px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 72px 0 48px;
}

.hero__content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  text-align: center;
  animation: rise 500ms ease-out;
}

.profile-frame {
  margin: 0 auto 22px;
  width: 200px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  padding: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

h1 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1;
}

.subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.lead {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: 1.07rem;
  text-align: left;
}

.cta-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.button {
  display: inline-block;
  text-decoration: none;
  padding: 9px 15px;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
  border: 1px solid var(--brand);
}

.button--ghost {
  background: transparent;
  color: var(--brand);
}

.button--ghost:hover {
  background: rgba(106, 166, 255, 0.1);
}

.main-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 70px;
}

section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.34rem;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pub-list {
  margin-top: 16px;
}

.year-heading {
  margin: 20px 0 10px;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pub-item {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 15px 16px;
}

.pub-item + .pub-item {
  margin-top: 12px;
}

.pub-authors {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.author-highlight {
  color: var(--ink);
  font-weight: 700;
}

.pub-title {
  margin: 6px 0 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.pub-venue {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pub-footnote {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footnote-mark {
  color: var(--ink);
  font-weight: 700;
}

.pub-media {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pub-media__gif,
.pub-media__video {
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #05070b;
  display: block;
}

.pub-media__gif {
  height: auto;
}

@media (max-width: 760px) {
  .hero {
    padding-top: 40px;
  }

  .hero__content,
  section {
    padding: 20px;
  }
}
