/* Homepage-only compact research layout */

body{font-size:17px;line-height:1.58}
.page-width,.nav-wrap{width:min(1420px,calc(100% - 28px))}
.nav-wrap{min-height:58px}
nav a{font-size:.86rem}
.site-name{font-size:1.04rem}

.banner{min-height:250px}
.banner-overlay{align-items:stretch}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:54px;align-items:center;padding:24px 0}
.identity{gap:26px;padding:0;align-items:center}
.identity img{width:158px;height:198px;border-width:4px;border-radius:12px;object-fit:cover;object-position:center 22%;flex:0 0 auto;box-shadow:0 10px 28px rgba(0,0,0,.24)}
.identity h1{font-size:clamp(2.1rem,3.7vw,3.25rem);margin-bottom:5px}
.identity p{font-size:1.1rem;font-weight:600;margin:0}
.identity span{display:block;margin-top:3px;font-size:.88rem}
.identity .identity-location{color:#c7d8e7;font-size:.8rem;margin-top:5px}

.hero-about{border-left:1px solid rgba(255,255,255,.28);padding-left:34px;color:#eef5fb}
.hero-about .hero-kicker{margin:0 0 5px;color:#cfe0ef;font-size:.7rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.hero-about>p:not(.hero-kicker){margin:0;font-size:.92rem;line-height:1.55;color:#eef5fb;max-width:610px}
.hero-about strong{color:#fff}
.hero-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:11px}
.hero-links a{color:#fff;font-size:.82rem;font-weight:600;border-bottom:1px solid rgba(255,255,255,.42)}
.hero-links a:hover{text-decoration:none;border-bottom-color:#fff}

.content{padding-top:10px}
.section-block{padding:22px 0 28px}
.section-title{margin-bottom:12px;padding-left:12px}
.section-title h2{font-size:1.72rem}
.section-title p{font-size:.69rem}

.research-dashboard{display:grid;grid-template-columns:.86fr 1.4fr;gap:30px;align-items:start;padding-top:16px}
.research-dashboard>div{min-width:0}
.dashboard-news .updates{border-top:1px solid var(--line)}
.dashboard-news .updates>div{grid-template-columns:96px 1fr;gap:11px;padding:9px 0}
.dashboard-news .updates time{font-size:.77rem;line-height:1.35}
.dashboard-news .updates p{font-size:.91rem;line-height:1.45}
.dashboard-news .updates>div:first-child{background:var(--surface);border-left:3px solid var(--blue);padding:10px 10px;margin-top:0}
.dashboard-news .updates>div:first-child time{font-weight:700}

/* Keep the latest timeline compact while grouping same-month items with bullets. */
.dashboard-news .updates>div:nth-child(-n+3) time{font-size:0}
.dashboard-news .updates>div:nth-child(-n+3) p{font-size:0}
.dashboard-news .updates>div:nth-child(-n+3) time::after{font-size:.77rem;line-height:1.35;font-weight:700}
.dashboard-news .updates>div:nth-child(-n+3) p::before{font-size:.91rem;line-height:1.45;white-space:pre-line;color:inherit;font-weight:400}
.dashboard-news .updates>div:nth-child(1) time::after{content:"September 2026"}
.dashboard-news .updates>div:nth-child(1) p::before{content:"🎉 Same Sink, Different Plumbing: Reproducing and Refining the Mechanism of Attention Sinks has been accepted to the 9th BlackboxNLP Workshop Special Track: Reproducibility and Reliability in Interpretability Analyses."}
.dashboard-news .updates>div:nth-child(2) time::after{content:"August 2026"}
.dashboard-news .updates>div:nth-child(2) p::before{content:"• Serving as a reviewer for the BlackboxNLP 2026 Reproducibility Track.\A• Happy news! Our ERUF paper, Representation-Aware Unlearning via Activation Signatures: From Suppression to Entity-Signature Erasure, was accepted to EMNLP 2026 Findings."}
.dashboard-news .updates>div:nth-child(3) time::after{content:"July 2026"}
.dashboard-news .updates>div:nth-child(3) p::before{content:"• Continued the BlackboxNLP reproducibility task paper on attention-sink circuits and implementation sensitivity.\A• Began experimental work on new research directions in secure, long-horizon AI agents."}

.dashboard-projects .current-grid{grid-template-columns:repeat(3,1fr);gap:9px}
.dashboard-projects .current-grid article{padding:13px 14px;border-radius:6px;box-shadow:none}
.dashboard-projects .current-grid article:hover{transform:none;box-shadow:0 8px 20px rgba(23,54,93,.08)}
.dashboard-projects .current-grid span{font-size:.62rem;letter-spacing:.07em}
.dashboard-projects .current-grid h3{font-size:1.05rem;line-height:1.25;margin:4px 0 5px}
.dashboard-projects .current-grid p{font-size:.82rem;line-height:1.4;margin:0;color:#59646e}

.publication-list article{padding:18px 0}
.publication-list h3{font-size:1.27rem;margin:4px 0 5px}
.publication-list p{font-size:.93rem}
.publication-list small{font-size:.75rem}

/* BlackboxNLP paper is now accepted rather than in progress. */
.publication-list article:nth-child(3) small,.publication-list article:nth-child(3) h3,.publication-list article:nth-child(3) p{font-size:0}
.publication-list article:nth-child(3) small::after{content:"BlackboxNLP 2026 Special Track · Accepted";font-size:.75rem}
.publication-list article:nth-child(3) h3::after{content:"Same Sink, Different Plumbing: Reproducing and Refining the Mechanism of Attention Sinks";font-size:1.27rem;line-height:1.3}
.publication-list article:nth-child(3) p::after{content:"Accepted to the 9th BlackboxNLP Workshop Special Track: Reproducibility and Reliability in Interpretability Analyses.";font-size:.93rem;line-height:1.55}

.teaching-grid article{padding:19px}
.teaching-grid h3{font-size:1.25rem}
.teaching-grid p{font-size:.93rem}
.teaching-grid small{font-size:.75rem}
.profile-card{font-size:.96rem}
.profile-card h3{font-size:1.06rem}
.profile-card ul{font-size:.96rem}
.quick-links{font-size:.91rem}
.contact{padding-top:26px;padding-bottom:46px}

@media(max-width:1180px){
  .page-width,.nav-wrap{width:min(1160px,calc(100% - 30px))}
  .hero-grid{grid-template-columns:1fr .9fr;gap:36px}
  .identity img{width:148px;height:186px}
  .dashboard-projects .current-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:920px){
  .hero-grid{grid-template-columns:1fr;gap:16px;padding:22px 0}
  .hero-about{border-left:0;border-top:1px solid rgba(255,255,255,.25);padding:14px 0 0}
  .research-dashboard{grid-template-columns:1fr;gap:22px}
  .dashboard-projects .current-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:650px){
  body{font-size:16px}
  .page-width,.nav-wrap{width:calc(100% - 22px)}
  .banner{min-height:0}
  .hero-grid{padding:20px 0}
  .identity{display:grid;grid-template-columns:104px 1fr;gap:15px}
  .identity img{width:104px;height:130px;margin:0;border-radius:9px}
  .identity h1{font-size:1.85rem}
  .identity p{font-size:.98rem}
  .identity span{font-size:.78rem}
  .hero-about>p:not(.hero-kicker){font-size:.86rem}
  .hero-links{gap:10px}
  .content{padding-top:6px}
  .section-block{padding:19px 0 24px}
  .research-dashboard{gap:18px}
  .dashboard-projects .current-grid{grid-template-columns:1fr}
  .dashboard-news .updates>div{grid-template-columns:1fr;gap:2px;padding:8px 0}
  .dashboard-news .updates>div:first-child{padding:9px}
}
