:root {
  --bg: #f5f3ee;
  --panel: #ffffff;
  --panel-soft: #fbfaf7;
  --text: #20242a;
  --muted: #5f6873;
  --line: #ddd6ca;
  --line-strong: #cfc5b5;
  --accent: #294f86;
  --accent-soft: #e8eef8;
  --shadow: 0 12px 30px rgba(28, 35, 43, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  line-height: 1.75;
  color: var(--text);
  background: linear-gradient(180deg, #f8f6f1 0%, #f3efe7 100%);
}

.site-wrap {
  min-height: 100vh;
}

.topbar {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(207, 197, 181, 0.7);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-inner {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.brand {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
}

.nav-links a:hover {
  color: var(--accent);
}

.container {
  width: min(1320px, calc(100% - 36px));
  margin: 28px auto 40px;
  padding: 42px 52px 54px;
  background: var(--panel);
  border: 1px solid rgba(221, 214, 202, 0.9);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 280px minmax(0, 1.5fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 3.25rem;
  line-height: 1.05;
  font-weight: 700;
}

.subtitle {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-about {
  max-width: 760px;
  margin: 0;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.button-link {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.button-link:hover {
  opacity: 0.92;
}

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

.profile-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  justify-self: start;
}

.photo-box {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1.5px dashed #b7bfca;
  border-radius: 14px;
  background: linear-gradient(180deg, #f9fbff 0%, #eef2f8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  padding: 18px;
}

.photo-box span {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.profile-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.content-section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
}

.paper {
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(221, 214, 202, 0.75);
}

.paper:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.featured-paper {
  background: linear-gradient(180deg, rgba(251, 250, 247, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(221, 214, 202, 0.85);
  border-radius: 16px;
  padding: 22px 24px;
}

.compact-paper h3 {
  margin-bottom: 4px;
}

.paper h3 {
  margin: 0 0 8px;
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 600;
}

.paper p {
  margin: 8px 0 0;
}

.meta,
.venue,
.status,
.contact-section p {
  color: var(--muted);
}

.paper a,
.contact-section a {
  color: var(--accent);
  text-decoration: none;
}

.paper a:hover,
.contact-section a:hover,
.text-link:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .profile-card {
    max-width: 300px;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .container {
    width: min(100% - 20px, 1320px);
  }

  .topbar-inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .container {
    margin-top: 16px;
    padding: 28px 20px 38px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .section-heading h2 {
    font-size: 1.7rem;
  }

  .paper h3 {
    font-size: 1.28rem;
  }
}


.profile-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
