:root {
  --ink: #2b1b18;
  --cream: #f8f0df;
  --cream-strong: #eadcc4;
  --crimson: #8f1d21;
  --crimson-deep: #5f1417;
  --crimson-soft: #f4dfdc;
  --limestone: #f8f0df;
  --limestone-strong: #eadcc4;
  --leaf: #526947;
  --gold: #c79a35;
  --muted: #766a61;
  --line: rgba(43, 27, 24, 0.16);
  --white: #fffdf9;
  --shadow: 0 28px 70px rgba(95, 20, 23, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 92px;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(143, 29, 33, 0.42);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  background: rgba(248, 240, 223, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 22px;
  height: 82px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 320px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--crimson-deep), var(--crimson));
  color: var(--white);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  letter-spacing: 0;
  width: 48px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.12;
  max-width: 420px;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 4px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 34px);
}

.site-nav a {
  color: #452b27;
  font-size: 0.93rem;
  font-weight: 700;
  position: relative;
}

.site-nav a::after {
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  bottom: -9px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 8px 6px;
}

.hero {
  min-height: calc(100vh - 82px);
  overflow: hidden;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(43, 27, 24, 0.94), rgba(95, 20, 23, 0.7) 42%, rgba(95, 20, 23, 0.08)),
    linear-gradient(0deg, rgba(43, 27, 24, 0.62), transparent 42%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: var(--white);
  max-width: 980px;
  padding: clamp(82px, 11vw, 150px) clamp(20px, 5vw, 72px) clamp(76px, 9vw, 120px);
  position: relative;
}

.section-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7.7vw, 7rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  max-width: 900px;
}

h3 {
  letter-spacing: 0;
  line-height: 1.18;
}

.hero-lede {
  color: rgba(255, 253, 249, 0.86);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  margin: 26px 0 0;
  max-width: 760px;
}

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

.button {
  align-items: center;
  border: 1px solid rgba(255, 253, 249, 0.72);
  display: inline-flex;
  font-weight: 800;
  min-height: 50px;
  padding: 12px 18px;
}

.button.primary {
  background: var(--white);
  color: var(--ink);
}

.button.secondary {
  background: rgba(95, 20, 23, 0.28);
  color: var(--white);
}

.status-band {
  background: linear-gradient(135deg, var(--crimson-deep), var(--crimson));
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.status-band article {
  background: rgba(255, 255, 255, 0.045);
  min-height: 190px;
  padding: clamp(24px, 4vw, 44px);
}

.status-band span {
  color: #f1d6c4;
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.status-band p {
  font-size: clamp(1.04rem, 1.5vw, 1.25rem);
  font-weight: 650;
  margin: 0;
  max-width: 430px;
}

.section {
  padding: clamp(76px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.section-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
}

.section-heading.split {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
}

.section-heading.split > p {
  color: var(--muted);
  margin: 0;
}

.profile-layout {
  display: grid;
  gap: clamp(32px, 6vw, 78px);
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.58fr);
  padding-top: 42px;
}

.profile-text {
  color: #604f46;
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
}

.profile-text p {
  margin: 0;
  max-width: 820px;
}

.profile-text p + p {
  margin-top: 22px;
}

.profile-note {
  background: var(--white);
  border-left: 5px solid var(--crimson);
  box-shadow: 0 18px 45px rgba(95, 20, 23, 0.1);
  min-height: 280px;
  padding: clamp(24px, 4vw, 38px);
}

.profile-note span,
.publication-item span,
.research-card span {
  color: var(--crimson);
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.profile-note p {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.08;
  margin: 14px 0 0;
}

.research-section {
  background: linear-gradient(180deg, #fff8ea, #f3e5d1);
}

.research-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.research-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(143, 29, 33, 0.16);
  min-height: 330px;
  padding: clamp(22px, 3vw, 30px);
}

.research-card span {
  margin-bottom: 64px;
}

.research-card h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  margin: 0;
}

.research-card p {
  color: var(--muted);
  margin: 11px 0 0;
}

.publication-head {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.45fr);
  padding-bottom: 34px;
}

.publication-head > p {
  color: var(--muted);
  margin: 0;
}

.publication-list {
  border-top: 0;
}

.publication-item {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 28px 0;
}

.publication-item h3 {
  font-size: clamp(1.16rem, 2vw, 1.65rem);
  margin: 8px 0 0;
  max-width: 880px;
}

.publication-item time {
  color: var(--muted);
  font-weight: 750;
  white-space: nowrap;
}

.site-footer {
  align-items: center;
  background: linear-gradient(135deg, var(--ink), var(--crimson-deep));
  color: var(--white);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 34px clamp(20px, 5vw, 72px);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.74);
  margin: 4px 0 0;
  max-width: 760px;
}

.site-footer a {
  color: #f1d6c4;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .site-header {
    gap: 16px;
  }

  .brand {
    min-width: 260px;
  }

  .brand strong {
    max-width: 330px;
  }

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

@media (max-width: 840px) {
  .site-header {
    height: 76px;
    padding-left: 16px;
    padding-right: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.92rem;
    max-width: 220px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 12px 20px 20px;
    position: absolute;
    right: 0;
    top: 76px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(43, 27, 24, 0.95), rgba(95, 20, 23, 0.76)),
      linear-gradient(0deg, rgba(43, 27, 24, 0.58), transparent 44%);
  }

  .hero-content {
    padding-top: 76px;
  }

  .status-band,
  .profile-layout,
  .section-heading.split,
  .publication-head,
  .research-grid {
    grid-template-columns: 1fr;
  }

  .status-band article {
    min-height: 146px;
  }

  .research-card {
    min-height: 250px;
  }

  .research-card span {
    margin-bottom: 38px;
  }

  .publication-item {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    height: 44px;
    width: 44px;
  }

  .brand strong {
    max-width: 190px;
  }

  .button {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
