:root {
  --bg: #f5f3ed;
  --paper: rgba(255, 253, 248, 0.93);
  --paper-edge: #e7e0d2;
  --ink: #2d2b28;
  --muted: #6e6962;
  --line: rgba(45, 43, 40, 0.14);
  --line-soft: rgba(45, 43, 40, 0.1);
  --highlight: rgba(241, 225, 153, 0.62);
  --highlight-border: rgba(188, 171, 101, 0.3);
  --shadow: 0 18px 40px rgba(80, 74, 60, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Crimson Pro", Georgia, serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(60, 58, 54, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 58, 54, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f8f6f1 0%, #f3f0e8 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    radial-gradient(circle at 20% 18%, rgba(0, 0, 0, 0.06) 0.04rem, transparent 0.08rem),
    radial-gradient(circle at 68% 62%, rgba(0, 0, 0, 0.04) 0.04rem, transparent 0.08rem);
  background-size: 11rem 11rem, 13rem 13rem;
}

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

.page-shell {
  min-height: 100vh;
  padding: 2.5rem 1rem 4rem;
}

.paper {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 2.7rem 2.35rem 2.8rem;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  box-shadow: var(--shadow);
  position: relative;
}

.paper::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(45, 43, 40, 0.045);
  pointer-events: none;
}

.page-header {
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  margin: 0;
  font-family: "Patrick Hand", cursive;
  font-size: clamp(3.2rem, 10vw, 4.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.intro-section {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1.35rem;
  padding: 1.45rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}

.portrait {
  width: 84px;
  height: 84px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(45, 43, 40, 0.22);
  box-shadow: 0 6px 14px rgba(45, 43, 40, 0.1);
}

.intro-column p,
.section-body p,
.page-footer p {
  margin: 0 0 0.9rem;
  font-size: 1.08rem;
  line-height: 1.72;
}

.highlight-box {
  margin-top: 0.5rem;
  padding: 0.72rem 0.88rem;
  background: var(--highlight);
  border: 1px solid var(--highlight-border);
}

.highlight-box p {
  margin: 0;
}

.button-section {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 1rem 0 1.15rem;
  border-bottom: 1px solid var(--line);
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 0.62rem 0.95rem;
  border: 1px solid rgba(45, 43, 40, 0.24);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 3px 10px rgba(45, 43, 40, 0.06);
  font-size: 0.98rem;
  transition: transform 140ms ease, background-color 140ms ease;
}

.link-button:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.content-section {
  padding: 1.25rem 0 0.2rem;
  border-bottom: 1px solid var(--line);
}

.content-section:last-of-type {
  border-bottom: 0;
}

.section-heading {
  margin-bottom: 0.85rem;
}

.section-heading h2 {
  margin: 0;
  font-family: "Patrick Hand", cursive;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.section-body {
  padding-left: 0;
}

.news-list {
  display: grid;
}

.news-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1.05rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--line-soft);
}

.news-item:last-child {
  border-bottom: 0;
}

.news-date {
  margin: 0;
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.news-content p {
  margin: 0;
}

.publications-list {
  display: grid;
  gap: 1rem;
}

.publication-item {
  padding: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.publication-item:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.publication-card {
  display: block;
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid rgba(45, 43, 40, 0.18);
  background: rgba(255, 249, 223, 0.72);
  box-shadow: 0 6px 16px rgba(45, 43, 40, 0.05);
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.publication-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(45, 43, 40, 0.09);
  background: rgba(255, 245, 206, 0.9);
}

.publication-title,
.publication-authors,
.publication-venue {
  display: block;
}

.publication-title {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.24em;
  text-decoration-color: rgba(233, 192, 49, 0.8);
}

.publication-authors {
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.publication-venue {
  font-size: 1.05rem;
  line-height: 1.5;
  font-style: italic;
}

.page-footer {
  padding-top: 1.2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.98rem;
  color: var(--muted);
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .paper {
    padding: 1.55rem 1.1rem 1.9rem;
  }

  .intro-section,
  .news-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .portrait {
    width: 78px;
    height: 78px;
  }
}
