/* ---------- Base ---------- */
:root { --max: 1050px; --pad: 24px; }

body {
  margin: 0;
  font: 16px/1.65 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #111;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
}

a:hover { border-bottom-color: #999; }

h1 { margin: 14px 0 6px; font-size: 24px; }
h2 { margin: 0 0 18px; font-size: 18px; }

section {
  margin: 0 0 72px;
}

.meta, .muted { color: #555; }

.bio-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto 72px;
  padding: 26px 30px;
  border: 2px solid #000;
  border-radius: 18px;
  background: linear-gradient(140deg, #f9ffe8 0%, #f3f9dd 60%, #f8ffe9 100%);
  box-shadow: 0 14px 32px rgba(9, 30, 12, 0.18);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.bio-card::before {
  content: "";
  position: absolute;
  inset: -40% -30%;
  background: radial-gradient(circle, rgba(178, 231, 158, 0.55), transparent 70%);
  opacity: 0;
  transform: translate(0, 0) scale(1);
  filter: blur(40px);
  transition: opacity 320ms ease, transform 420ms ease;
  pointer-events: none;
}

.bio-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.bio-card:hover,
.bio-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(9, 30, 12, 0.28);
}

.bio-card:hover::before,
.bio-card:focus-within::before {
  opacity: 0.25;
}

.bio-card:hover::after,
.bio-card:focus-within::after {
  opacity: 0.8;
}

.bio-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.bio-card p {
  margin: 0 0 16px;
  color: #1c2c16;
}

.bio-card ul {
  margin: 0;
  padding-left: 20px;
  color: #1e2718;
}

.bio-card li + li {
  margin-top: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .bio-card,
  .bio-card::before,
  .bio-card::after {
    transition-duration: 0ms !important;
    animation: none !important;
  }
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: var(--pad);
  display: grid;
  gap: 32px;
  grid-template-columns: 280px 1fr;
}

.sidebar {
  position: sticky;
  top: var(--pad);
  align-self: start;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ---------- Sidebar ---------- */
.contact { margin: 10px 0; }
.links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.links a {
  border-bottom: none;
  text-decoration: none;   /* ← remove underline from <a> */
}

.links a span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: #ddd;
}

.links a:hover span {
  text-decoration-color: #999;
}

.links a + a::before {
  content: "·";
  margin-right: 10px;
  color: #999;
  font-weight: 400;
  text-decoration: none;   /* ← dot never underlined */
}


/* ---------- News ---------- */
.news {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.date {
  display: inline-block;
  width: 90px;
  color: #666;
}

/* ---------- Publications ---------- */
.pubs {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: pub;
}

.pubs > li.pub {
  counter-increment: pub;
  position: relative;
  padding-left: 2.2em;
  margin: 18px 0;
}

.pubs > li.pub::before {
  content: counter(pub) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 400;
  color: #666;
}

.pub-title { font-weight: 500; }
/*.pub-authors, .pub-venue { color: #555; }*/

.pub-authors {
  color: #444;
}

.pub-venue {
  color: #666;
  font-variant: small-caps;
  letter-spacing: 0.03em;
  margin-left: 4px;
  white-space: nowrap;
}

.pub-venue::before {
  content: "— ";
}

.pubs a {
  margin-left: 10px;
  font-size: 13px;
  color: #777;
  border-bottom-color: #eee;
}

.pubs a:hover {
  color: #111;
  border-bottom-color: #999;
}

/* ---------- Track headers ---------- */
.track {margin: 22px 0 16px;}

.track strong {
  font-size: 18px;
  font-weight: 700;
}

.track-note {
  margin-left: 10px;
  color: #666;
  font-size: 14px;
  font-weight: 400;
}

.track:not(:first-child)::before {
  content: "";
  display: block;
  height: 1px;
  background: #f0f0f0;
  margin-bottom: 16px;
}

/*section:not(:last-child) {*/
/*  padding-bottom: 12px;*/
/*  border-bottom: 1px solid #f0f0f0;*/
/*}*/
