:root {
  color-scheme: dark;
  --bg: #101312;
  --ink: #f3f1e8;
  --muted: #c6c3b8;
  --soft: #9ea59d;
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(16, 19, 18, 0.76);
  --accent: #f2b35d;
  --accent-strong: #ffcf86;
  --cyan: #8cd6cf;
  --shadow: rgba(0, 0, 0, 0.38);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--ink);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.28);
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.site-header nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--accent-strong);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  overflow: hidden;
  padding: min(22vh, 168px) clamp(20px, 6vw, 86px) clamp(42px, 7vh, 76px);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 13, 12, 0.94) 0%, rgba(12, 13, 12, 0.74) 42%, rgba(12, 13, 12, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 19, 18, 0.9) 0%, rgba(16, 19, 18, 0) 44%);
}

.hero-content {
  position: relative;
  max-width: 850px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 15ch;
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 7.8vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 620px;
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.move-note {
  max-width: 680px;
  margin-bottom: 20px;
  color: var(--accent-strong);
  font-size: clamp(1.25rem, 2.05vw, 1.85rem);
  line-height: 1.2;
  font-weight: 700;
}

.hero-summary {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #1a130b;
}

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

.button.primary:hover {
  background: var(--accent-strong);
  color: #1a130b;
}

.section {
  padding: clamp(58px, 9vw, 116px) clamp(20px, 6vw, 86px);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 96px);
  border-top: 1px solid var(--line);
  background: #171a18;
}

.section-intro {
  align-self: start;
}

.about-grid {
  display: grid;
  gap: 16px;
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.publications-section {
  background: #101312;
}

.text-link {
  flex: none;
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

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

.publication-item {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 22px;
  padding: clamp(18px, 3vw, 28px) 0;
  border-top: 1px solid var(--line);
}

.publication-item:last-child {
  border-bottom: 1px solid var(--line);
}

.publication-marker {
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.publication-marker span,
.publication-marker strong {
  display: block;
}

.publication-marker strong {
  margin-top: 7px;
  color: var(--accent-strong);
  font-size: 1.05rem;
  line-height: 1.15;
}

.publication-item h3 a {
  text-decoration: none;
}

.publication-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.subpage {
  background:
    linear-gradient(180deg, rgba(25, 29, 27, 0.92), var(--bg) 440px),
    var(--bg);
}

.page-hero {
  padding: 138px clamp(20px, 6vw, 86px) clamp(34px, 6vw, 68px);
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.page-title {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}

.page-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.publication-tools {
  margin-top: 28px;
}

.record-summary {
  margin: 24px 0 0;
  color: var(--soft);
  font-size: 0.95rem;
}

.record-section {
  padding-top: clamp(34px, 5vw, 64px);
}

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

.record-item {
  padding: clamp(16px, 2.3vw, 24px) 0;
}

.publication-authors {
  max-width: 980px;
}

.publication-extra {
  margin-top: 8px;
  color: var(--soft);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
  color: var(--soft);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent-strong);
  text-decoration: none;
}

@media (max-width: 780px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    gap: 18px;
  }

  .site-header nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 94vh;
    padding-top: 128px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
  }

  .move-note {
    font-size: clamp(1.15rem, 5.6vw, 1.65rem);
  }

  .actions,
  .section-heading,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .publication-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .publication-marker {
    display: flex;
    gap: 10px;
    align-items: baseline;
  }

  .publication-marker strong {
    margin-top: 0;
  }
}
