:root {
  --page-bg: #f3f7fb;
  --surface: #ffffff;
  --surface-muted: #f7fafc;
  --text: #172230;
  --text-muted: #5d6b7b;
  --brand: #176fb8;
  --brand-dark: #0f4f87;
  --brand-soft: #e8f3fc;
  --accent: #18a7a0;
  --border: #dce6ef;
  --shadow: 0 16px 40px rgba(20, 68, 108, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  margin: 0;
}

.student-page {
  margin: 0 auto;
  max-width: 1480px;
  padding: 2rem clamp(1rem, 3vw, 3rem) 5rem;
}

.student-hero {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.25) 0 8rem, transparent 8.1rem),
    linear-gradient(125deg, #0f4f87 0%, #187cc8 58%, #1ba49c 120%);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  color: #fff;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.7fr);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  position: relative;
}

.student-hero__eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0 0 0.75rem;
  opacity: 0.8;
}

.student-hero h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.14;
  margin: 0;
}

.student-hero__intro {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.85;
  margin: 1.25rem 0 0;
  max-width: 48rem;
  opacity: 0.9;
}

.student-stats {
  align-content: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
}

.student-stat {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.9rem;
  padding: 1.25rem;
}

.student-stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.student-stat span {
  font-size: 0.9rem;
  opacity: 0.82;
}

.section-jump {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(20, 68, 108, 0.08);
  display: inline-flex;
  gap: 0.25rem;
  margin: 1.5rem 0 0;
  padding: 0.35rem;
}

.section-jump a {
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.section-jump a:hover,
.section-jump a:focus-visible {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.student-section {
  scroll-margin-top: 1rem;
  padding-top: clamp(3rem, 6vw, 5rem);
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-heading__label {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
}

.section-heading__note {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.student-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.student-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(20, 68, 108, 0.06);
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.student-card:hover {
  border-color: #b7d5ec;
  box-shadow: 0 14px 32px rgba(20, 68, 108, 0.12);
  transform: translateY(-2px);
}

.student-card__portrait {
  background: #d9e7f2;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.student-card__body {
  min-width: 0;
  padding: 1.15rem 1.2rem 1.25rem;
}

.student-card__group {
  background: var(--brand-soft);
  border-radius: 999px;
  color: var(--brand-dark);
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  padding: 0.25rem 0.55rem;
}

.student-card h3 {
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0;
}

.student-card__direction {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0.45rem 0 0.9rem;
}

.student-card__direction strong {
  color: var(--text);
}

.achievement-block + .achievement-block {
  border-top: 1px dashed var(--border);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.achievement-block h4 {
  color: var(--brand-dark);
  font-size: 0.85rem;
  margin: 0 0 0.35rem;
}

.achievement-block ul {
  color: #364657;
  font-size: 0.82rem;
  line-height: 1.55;
  list-style: none;
  margin: 0;
  padding: 0;
}

.achievement-block li {
  overflow-wrap: anywhere;
  padding-left: 0.8rem;
  position: relative;
}

.achievement-block li::before {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  height: 0.3rem;
  left: 0;
  position: absolute;
  top: 0.62em;
  width: 0.3rem;
}

.patent-note {
  background: #eef9f7;
  border-radius: 0.5rem;
  color: #14766f;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0.7rem 0 0;
  padding: 0.5rem 0.65rem;
}

.alumni-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.alumni-table {
  border-collapse: collapse;
  width: 100%;
}

.alumni-table th,
.alumni-table td {
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: middle;
}

.alumni-table th {
  background: var(--brand-dark);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.alumni-table tbody tr:nth-child(even) {
  background: var(--surface-muted);
}

.alumni-table tbody tr:hover {
  background: var(--brand-soft);
}

.alumni-table td:first-child {
  color: var(--brand-dark);
  font-weight: 800;
  white-space: nowrap;
}

.alumni-destination {
  color: #136f69;
  font-weight: 700;
}

.student-invitation {
  align-items: center;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.18) 0 6rem, transparent 6.1rem),
    linear-gradient(120deg, #0f4f87 0%, #197bbf 58%, #18a7a0 120%);
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
  color: #fff;
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
}

.student-invitation > .material-icons {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  display: flex;
  flex: 0 0 auto;
  font-size: 2rem;
  height: 4rem;
  justify-content: center;
  width: 4rem;
}

.student-invitation__eyebrow {
  font-size: 0.74rem !important;
  font-weight: 800;
  letter-spacing: 0.17em;
  margin-bottom: 0.4rem !important;
  opacity: 0.72;
}

.student-invitation p {
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  font-weight: 600;
  line-height: 1.9;
  margin: 0;
  position: relative;
}

@media (max-width: 1180px) {
  .student-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-hero {
    grid-template-columns: 1fr;
  }

  .student-stats {
    max-width: 32rem;
  }
}

@media (max-width: 720px) {
  .student-page {
    padding: 1rem 0.75rem 3rem;
  }

  .student-hero {
    border-radius: 0.9rem;
    padding: 2rem 1.25rem;
  }

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

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .student-card {
    grid-template-columns: 9rem minmax(0, 1fr);
  }

  .student-card__portrait {
    min-height: 18rem;
  }

  .alumni-table thead {
    display: none;
  }

  .alumni-table,
  .alumni-table tbody,
  .alumni-table tr,
  .alumni-table td {
    display: block;
    width: auto;
  }

  .alumni-table tr {
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 1rem;
  }

  .alumni-table td {
    border: 0;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 6.2rem minmax(0, 1fr);
    padding: 0.4rem 0;
  }

  .alumni-table td::before {
    color: var(--text-muted);
    content: attr(data-label);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .student-invitation {
    align-items: flex-start;
  }

  .student-invitation > .material-icons {
    height: 3rem;
    width: 3rem;
  }

}

@media (max-width: 430px) {
  .student-card {
    grid-template-columns: 1fr;
  }

  .student-card__portrait {
    aspect-ratio: 16 / 11;
    min-height: 0;
    object-position: center 22%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .student-card {
    transition: none;
  }
}
