/* ============================= */
/*         Base Layout           */
/* ============================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: #ffffff;
  color: #1f2937;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  gap: 50px;
  min-height: 100vh;
}


/* ============================= */
/*         Sidebar Styles        */
/* ============================= */

.sidebar {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;

  padding-top: 6px;
  padding-left: 3px;
  padding-right: 3px;

  position: sticky;
  top: calc(50vh - 260px);  /* 220 大概是 sidebar 半高度，可以微调 */

  align-self: flex-start;
}




.sidebar-photo {
  width: 150px;
  height: 150px;
  border-radius: 26px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.08),
    0 1px 0 rgba(255,255,255,0.4);
}

.sidebar-name {
  font-size: 1.9rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}


.sidebar-subtitle {
  margin-top: -3px;          /* 原来 -6px，现在稍微放松一点但仍然紧凑 */
  margin-bottom: 2px;        /* 让下面那行更靠近 */
  font-size: 0.92rem;        /* 稍微小一点 */
}

.sidebar-role2 {
  margin-top: -6px;          /* 两行之间更紧凑 */
  font-size: 0.88rem;        /* 比上一行再小一丢丢 */
  color: #6b7280;
  line-height: 1.25;
}


.social-row {
  margin-top: -20px;   /* 原本是 12px，改成更紧凑 */
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.sidebar-links a {
  color: #2563eb;
  text-decoration: none;
  font-size: 1rem;
}

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

.cmu-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  margin-bottom: 0; 
}

.cmu-logo {
  height: 26px;
  opacity: 0.88;
}

.cmu-logo.hcii {
  height: 28px;
  opacity: 0.85;
}

.social-row img {
  width: 28px;
  height: 28px;
  opacity: 0.8;
  transition: all 0.2s ease;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.12));
  border-radius: 6px;
}



/* News */

.sidebar-news {
  margin-top: 24px;
}

.sidebar-news-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
}

.sidebar-news ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar-news li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #374151;
}

.news-tag {
  background: #e5e7eb;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  margin-right: 6px;
  color: #374151;
}

.news-list-small li {
  font-size: 0.75rem;     /* 更小一点 */
  margin-bottom: 8px;
  line-height: 1.35;
}

.news-tag {
  background: #e5e7eb;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.70rem;     /* 年月标签也稍微小一点 */
  margin-right: 6px;
  color: #374151;
}

/* ============================= */
/*      Main Content Area        */
/* ============================= */

.main {
  background: #ffffff;
  position: relative;
  z-index: 2;
  flex: 1;
}

.main h1 {
  font-size: 2.1rem;
  margin-top: 0;
}

.main h2,
.main h3 {
  margin-top: 2.2rem;
}

/* ============================= */
/*      Navigation Bar Area        */
/* ============================= */
html {
  scroll-behavior: smooth;  /* 点击导航平滑滚动 */
}

/* ============================== */
/*       🌙 Apple-style Nav       */
/* ============================== */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 52px;

  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);

  background: rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid rgba(0,0,0,0.06);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999; /* 永远在最上层 */
}

.nav-content {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 28px;
  box-sizing: border-box;
}

.nav-left .nav-logo {
  font-size: 1.3rem;
  font-weight: 600;
  cursor: default;
  opacity: 0.85;
}

.nav-center a {
  margin: 0 18px;

  font-size: 0.95rem;
  color: #1d1d1f;
  text-decoration: none;

  opacity: 0.82;
  transition: opacity .2s ease;
}

.nav-center a:hover {
  opacity: 1;
}

/* 小屏幕：导航间距缩小 */
@media screen and (max-width: 780px) {
  .nav-center a {
    margin: 0 10px;
    font-size: 0.9rem;
  }
}


/* ============================= */
/*   Light Vision Pro Pub Cards  */
/* ============================= */

.pub-card {
  position: relative;
  margin-bottom: 32px;
  padding: 26px 28px;

  border-radius: 26px;

  /* ⛅️ 更浅、更空气感的 VisionOS 背景 */
  background:
    radial-gradient(circle at top left, rgba(210, 225, 255, 0.38), transparent 60%),
    radial-gradient(circle at bottom right, rgba(205, 255, 235, 0.35), transparent 60%),
    rgba(255, 255, 255, 0.88);  /* 白色为主，极浅玻璃 */

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(210, 215, 230, 0.55);

  /* 气垫悬浮阴影更柔一点 */
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.04);

  display: flex;
  gap: 26px;
  color: #1f2937;

  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* hover 时微浮起 */
.pub-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.10),
    0 6px 12px rgba(0, 0, 0, 0.05);
}

/* 内边缘亮光更柔 */
.pub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.75);
  pointer-events: none;
}


.pub-left {
  flex: 1;
}

/* ========================= */
/*   Vision Pro 动效媒体预览   */
/* ========================= */

.pub-right {
  display: flex;
  align-items: center;   /* ← 垂直居中 */
  justify-content: center;
  margin-left: auto;
  padding-right: 8px;
}

/* 预览框：大尺寸 + 大圆角矩形 */
.pub-right img {
  width: 200px;
  height: 150px;
  border-radius: 26px;
  object-fit: cover;

  border: 2px solid rgba(255,255,255,0.8);
  background: radial-gradient(circle at top left, #fff, #eef2ff);

  /* VisionOS 光晕 */
  box-shadow:
    0 0 0 8px rgba(180,196,255,0.35),
    0 12px 30px rgba(15,23,42,0.18),
    inset 0 0 10px rgba(255,255,255,0.5);

  transition:
    transform 0.35s cubic-bezier(.22,1,.36,1),
    box-shadow 0.35s cubic-bezier(.22,1,.36,1),
    filter 0.3s ease;
}

/* 🫧 Apple Vision Pro breathing glow 动效 */
@keyframes vp-glow {
  0% {
    box-shadow:
      0 0 0 8px rgba(180,196,255,0.32),
      0 12px 30px rgba(15,23,42,0.18),
      inset 0 0 12px rgba(255,255,255,0.55);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 0 14px rgba(180,196,255,0.45),
      0 16px 36px rgba(15,23,42,0.22),
      inset 0 0 16px rgba(255,255,255,0.65);
    transform: scale(1.015);
  }
  100% {
    box-shadow:
      0 0 0 8px rgba(180,196,255,0.32),
      0 12px 30px rgba(15,23,42,0.18),
      inset 0 0 12px rgba(255,255,255,0.55);
    transform: scale(1);
  }
}

/* 悬浮：微浮起 + 扩散光圈 + 更亮 */
.pub-card:hover .pub-right img {
  animation: vp-glow 2.2s ease-in-out infinite;
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.06);
}


/* 标题 */
.pub-title {
  font-size: 1.26rem;
  font-weight: 650;
  color: #111827;
  margin-bottom: 8px;
}

/* 作者 */
.pub-authors {
  font-size: 0.96rem;
  line-height: 1.45;
  color: #374151;
}

.pub-authors strong {
  font-weight: 700;
}

.pub-authors a {
  color: #0f172a;
  text-decoration: none;
}

.pub-authors a:hover {
  text-decoration: underline;
}

/* 会议名称 */
.pub-venue {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 6px;
  margin-bottom: 10px;  /* 和按钮之间拉开间距 */
  font-style: italic;
}

/* 标签：浅色柔光胶囊 */
.pub-tags {
  margin-bottom: 6px;
}

.pub-tags span {
  display: inline-block;
  padding: 4px 10px;
  margin-right: 8px;
  margin-bottom: 8px;

  border-radius: 999px;

  background: rgba(220,225,255,0.7);
  border: 1px solid rgba(160,170,210,0.6);

  color: #374151;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  box-shadow: 0 0 12px rgba(180,196,255,0.6);
}

/* 状态 pill：Under Review / To Appear / R&R 等 */
.pub-status {
  display: inline-block;
  padding: 4px 10px;
  margin-left: 6px;

  background: rgba(220, 220, 235, 0.55);
  border: 1px solid rgba(180, 185, 200, 0.6);

  color: #374151;
  font-size: 0.72rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* 按钮：浅色毛玻璃 */
.pub-buttons {
  margin-top: 6px;
}

.pub-buttons a {
  display: inline-block;
  padding: 7px 18px;
  margin-right: 10px;
  margin-top: 6px;

  border-radius: 999px;

  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(200,200,210,0.55);

  color: #1f2937;
  font-size: 0.9rem;
  text-decoration: none;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition: 0.2s ease;
}

/* Hover：亮蓝柔光 */
.pub-buttons a:hover {
  background: rgba(147,197,253,0.9);
  border-color: transparent;
  color: #ffffff;
  box-shadow:
    0 6px 20px rgba(147,197,253,0.65),
    0 0 4px rgba(255,255,255,0.9);
}

/* ============================= */
/*          Responsive           */
/* ============================= */

@media (max-width: 780px) {
  .wrapper {
    flex-direction: column;
    padding: 24px 16px;
  }

  .sidebar {
    width: 100%;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
  }

  .main {
    padding-top: 12px;
  }

  .pub-card {
    flex-direction: column;
  }

  .pub-right {
    margin-left: 0;
    align-self: flex-start;
  }

  .pub-right img {
    width: 64px;
    height: 64px;
  }
}

/* Social icons row */
.social-row {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  margin-bottom: 4px;

  /* 视觉对齐 */
  align-items: center;
}

/* Icons style */
.social-row img {
  width: 28px;
  height: 28px;

  opacity: 0.8;
  transition: all 0.2s ease;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.12));
  border-radius: 6px;
}

/* Hover = Apple 风格亮一点 */
.social-row img:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.18));
}


section, main {
  margin-top: 50px !important;
}

#about.about-section {
  margin-top: 40px !important;  /* 或 0 / 10px，看你想多靠上 */
}

/* ----------------------------------------------------- */
/* Edgeless Full-Width Project Hero Layout               */
/* ----------------------------------------------------- */

.project-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin: 80px 0;
  padding: 0;
  align-items: center;
}

.project-hero-image-right {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  margin: 80px 0;
  padding: 0;
  align-items: center;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.hero-content {
  padding-right: 30px;
}

.project-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.project-title {
  font-size: 2rem;
  margin: 0 0 14px;
  font-weight: 700;
}

.project-desc {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 22px;
}

.project-section-title {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
}

.related-papers {
  font-size: 0.8rem;      /* 比正文小一号 */
  line-height: 1.8;
  color: #374151;         /* 可选：稍微浅一点 */
}


.paper-pill {
  background: #eef2ff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.7rem;
  margin-right: 6px;
}

.team-desc {
  color: #4b5563;
  font-size: 0.95rem;
}

.about-section {
  font-family: inherit;          /* 让它跟全站一致 */
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1f2937;
  max-width: 900px;
}

.about-section a {
  font-weight: 550;
  color: #2563eb;               /* 你站里链接主色一致 */
  text-decoration: none;
  border-bottom: 1px solid rgba(37,99,235,0.28);
}

.about-section a:hover {
  border-bottom-color: rgba(37,99,235,0.75);
}
