:root {
  --ink: #182028;
  --muted: #5b625f;
  --line: #d8d0c2;
  --paper: #f1eadf;
  --white: #ffffff;
  --blue: #254f83;
  --green: #245f4d;
  --gold: #8c6a3f;
  --panel: #e9e1d4;
  --section: #fbf7ee;
  color-scheme: light;
  font-family: "Source Sans 3", "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.62;
  position: relative;
}

body::before {
  background-image: linear-gradient(90deg, rgba(241, 234, 223, 0), rgba(241, 234, 223, 0.2)), url("/assets/page-side-motif-hero-brush-crop.png");
  background-position: right top;
  background-repeat: repeat-y;
  background-size: min(34vw, 440px) auto;
  bottom: 0;
  content: "";
  opacity: 0.42;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  width: min(34vw, 440px);
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
}

.site-header,
.footer-band {
  position: relative;
  z-index: 2;
}

a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}

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

.site-header {
  background: rgba(241, 234, 223, 0.95);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: flex-end;
  margin: 0 auto;
  max-width: 1120px;
  min-height: 60px;
  padding: 0 24px;
}

nav a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(241, 234, 223, 0.86), rgba(241, 234, 223, 0.34) 52%, rgba(241, 234, 223, 0)),
    url("/assets/hero-abstract-lithograph-emerald-softline-v2.png");
  background-position: center;
  background-size: cover;
  color: var(--ink);
  display: flex;
  min-height: calc(100vh - 60px);
  padding: 108px 24px 96px;
}

.hero-copy {
  margin: 0 auto;
  max-width: 1120px;
  width: 100%;
}

.eyebrow {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(4rem, 9vw, 8.6rem);
  font-weight: 600;
  max-width: 920px;
}

h2 {
  color: var(--ink);
  font-size: 2.15rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.role {
  font-family: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 500;
  line-height: 1.28;
  margin: 24px 0 0;
  max-width: 760px;
}

.institution {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 8px 0 0;
}

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

.button {
  align-items: center;
  border: 1px solid rgba(21, 32, 43, 0.45);
  color: var(--ink);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 650;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
}

.button:hover {
  background: rgba(21, 32, 43, 0.08);
  color: var(--ink);
}

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

.button.primary:hover {
  background: #2a3540;
  color: var(--white);
}

.content {
  margin: 0 auto;
  max-width: 1120px;
  padding: 68px 24px;
}

.band {
  background: var(--section);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.content p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 16px;
  max-width: 850px;
}

.expertise-list,
.link-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

.expertise-list li,
.link-list li {
  border-left: 3px solid var(--gold);
  color: var(--ink);
  font-weight: 620;
  padding: 7px 0 7px 14px;
}

.publication {
  border-left: 3px solid var(--green);
  max-width: 900px;
  padding: 4px 0 4px 18px;
}

.publication + .publication {
  margin-top: 34px;
}

.publication-title {
  align-items: baseline;
  display: flex;
  gap: 22px;
  justify-content: flex-start;
  font-size: clamp(1.18rem, 1.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 14px;
}

.publication-links {
  display: inline-flex;
  flex-shrink: 0;
  gap: 14px;
  white-space: nowrap;
}

.publication-links a {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.publication-format {
  color: var(--green);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-left: 8px;
  text-transform: uppercase;
}

.publication-meta {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0;
}

.publication-abstract {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
  max-width: 880px;
}

.footer-band {
  background: var(--section);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 0;
}

.footer-band p {
  font-weight: 700;
  margin: 0 auto;
  max-width: 1120px;
  padding: 28px 24px 40px;
}

@media (max-width: 760px) {
  body::before {
    display: none;
  }

  nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero {
    background-position: 58% center;
    min-height: calc(100vh - 60px);
    padding: 84px 20px 56px;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5.1rem);
    max-width: 7ch;
  }

  .role {
    font-size: 1.08rem;
    max-width: 22rem;
  }

  .actions {
    gap: 10px;
  }

  .button {
    min-height: 42px;
    padding: 9px 13px;
  }

  .publication-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .expertise-list,
  .link-list {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 48px 20px;
  }
}
