:root {
  --primary: #173b57;
  --primary-dark: #102b40;
  --accent: #e6b84a;
  --accent-green: #3f9b76;
  --text: #263238;
  --muted: #607d8b;
  --background: #f5f7f9;
  --card: #ffffff;
  --border: #dfe6eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  width: min(1100px, 92%);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

nav a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

nav a:hover,
nav a.active { color: var(--primary); }

main {
  width: min(1000px, 92%);
  margin: 42px auto;
}

.hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 42px;
  align-items: center;
  padding: 38px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.profile-photo {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

.hero h1 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 2.55rem;
  line-height: 1.15;
}

.role {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.affiliation { margin: 0 0 18px; }

.profile-links a,
.button {
  display: inline-block;
  margin: 4px 12px 4px 0;
  padding: 9px 15px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 7px;
  font-weight: 600;
  text-decoration: none;
}

.profile-links a:hover,
.button:hover { background: var(--primary-dark); }

.content-card {
  margin-top: 28px;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.content-card h1,
.content-card h2 {
  margin-top: 0;
  color: var(--primary);
}
.content-card h2 { margin-top: 26px; }
.simple-list { padding-left: 20px; }
.note { color: var(--muted); }

.lab-page { width: min(1100px, 92%); }
.lab-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 46px;
  color: #ffffff;
  text-align: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 34%),
    linear-gradient(135deg, #103b58 0%, #17617d 58%, #347f70 100%);
  box-shadow: 0 16px 40px rgba(18, 63, 93, 0.16);
}
.lab-hero::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -95px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.lab-kicker {
  display: inline-block;
  margin: 0 0 17px;
  padding: 7px 15px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lab-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 4.8rem);
  line-height: 1.08;
}
.alive-word { color: #ffd56a; letter-spacing: 0.08em; }
.lab-full-name {
  margin: 20px auto 0;
  font-size: clamp(1.08rem, 2.5vw, 1.45rem);
  font-weight: 600;
}
.lab-full-name span {
  color: #ffd56a;
  font-size: 1.16em;
  font-weight: 800;
}
.lab-intro {
  max-width: 780px;
  margin: 24px auto 0;
  color: #edf7fa;
  font-size: 1.05rem;
}
.lab-section {
  margin-top: 30px;
  padding: 30px 34px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.section-heading { margin-bottom: 14px; }
.eyebrow {
  margin: 0 0 3px;
  color: var(--accent-green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.section-heading h2,
.join-card h2 {
  margin: 0;
  color: var(--primary);
  font-size: 1.7rem;
}
.join-card {
  margin-top: 30px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #eef6f3);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.join-card p { margin-bottom: 0; }
.coming-soon {
  padding: 18px;
  color: var(--primary-dark);
  background: #ffffff;
  border-left: 4px solid var(--accent);
  border-radius: 9px;
}

footer {
  width: min(1100px, 92%);
  margin: 20px auto 0;
  padding: 24px 0 36px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Fancy homepage highlights */
.highlights-section {
  margin-top: 28px;
}

.section-title-wrap {
  margin-bottom: 18px;
}

.home-eyebrow {
  color: #7a4fe0;
}

.section-title-wrap h2 {
  margin: 0;
  color: var(--primary);
  font-size: 2rem;
}

.section-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.highlight-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(17, 43, 64, 0.08);
}

.award-card {
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 24%);
}

.paper-card {
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 24%);
}

.highlight-badge {
  display: inline-block;
  margin: 18px 18px 0;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.award-card .highlight-badge {
  color: #7a5600;
  background: #fff1c9;
}

.paper-card .highlight-badge {
  color: #234d99;
  background: #dfeafe;
}

.highlight-media {
  padding: 16px 18px 0;
}

.highlight-media img {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #eadfb3;
}

.paper-preview {
  margin: 16px 18px 0;
  padding: 0;
}

.paper-preview-inner {
  min-height: 215px;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #173b57 0%, #2d5f96 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.paper-icon {
  font-size: 2rem;
  line-height: 1;
}

.paper-label {
  margin: 8px 0 10px;
  color: rgba(255, 255, 255, 0.84);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}

.paper-preview-inner h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.35;
}

.paper-meta {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.highlight-content {
  padding: 18px 20px 22px;
}

.highlight-date {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.highlight-content h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.18rem;
  line-height: 1.35;
}

.highlight-content p {
  margin: 0 0 10px;
}

.highlight-authors {
  color: #556a76;
  font-size: 0.95rem;
}

.secondary-button {
  background: linear-gradient(135deg, #173b57, #2a6a8f);
}

.secondary-button:hover {
  background: linear-gradient(135deg, #102b40, #1f5673);
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
    gap: 14px;
  }

  main { margin-top: 24px; }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }

  .profile-photo {
    width: 190px;
    height: 190px;
    margin: 0 auto;
  }

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

  .lab-hero {
    padding: 42px 22px;
    border-radius: 14px;
  }

  .lab-section,
  .join-card {
    padding: 24px 20px;
  }

  .join-card {
    grid-template-columns: 1fr;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

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

  .paper-preview-inner {
    min-height: auto;
  }
}

/* PRIME 2025 award highlight */
.prime-card {
  background: linear-gradient(180deg, #f4fff9 0%, #ffffff 24%);
}

.prime-card .highlight-media img {
  border: 1px solid #cfe8dc;
}
.prime-card .highlight-badge {
  color: #176448;
  background: #daf6e7;
}
.prime-preview {
  margin: 16px 18px 0;
}
.prime-preview-inner {
  min-height: 242px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(125deg, #184a42 0%, #237c73 64%, #348dab 100%);
}
.prime-kicker,
.prime-source {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #d5f6ec;
}
.prime-preview-inner h3 {
  margin: 14px 0 8px;
  font-size: 1.55rem;
  line-height: 1.2;
}
.prime-preview-inner p {
  margin: 0 0 14px;
  line-height: 1.45;
}
.highlight-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.highlight-links .button {
  margin: 4px 0;
}
