:root {
  color-scheme: light;
  --ink: #10253c;
  --ink-soft: #243b53;
  --muted: #66788a;
  --line: rgba(18, 68, 102, .12);
  --line-soft: rgba(18, 68, 102, .075);
  --paper: rgba(255, 255, 255, .78);
  --blue: #0b5b9c;
  --green: #0a918b;
  --teal: #0aa98f;
  --shadow: 0 24px 70px rgba(28, 64, 92, .12);
  --mouse-x: 50vw;
  --mouse-y: 50vh;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(69, 190, 149, .12), transparent 29rem),
    radial-gradient(circle at 90% 78%, rgba(51, 114, 188, .11), transparent 34rem),
    #f8fbfd;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, .76) 72%, transparent 100%);
}

a { color: inherit; }

.spotlight {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(480px circle at var(--mouse-x) var(--mouse-y), rgba(79, 191, 170, .18), rgba(65, 129, 194, .06) 42%, transparent 72%);
}

.site-frame {
  width: min(1380px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 70px;
  padding: 14px 2px 8px;
}

.event-mark,
.university-mark { display: block; width: auto; height: 43px; object-fit: contain; }
.event-mark { justify-self: start; transform: translateY(8px); }
.event-mark img { display: block; width: auto; height: 43px; }
.university-mark { justify-self: end; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
}

.site-nav a {
  position: relative;
  padding: 9px 0 11px;
  color: #617183;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease;
}

.site-nav a:hover { color: var(--ink); transform: translateY(-1px); }
.site-nav a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--blue)); transform: translateX(-50%); transition: width .2s ease; }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { width: 22px; }
.site-nav a[aria-current="page"] { color: var(--ink); }

.home-frame { min-height: 100svh; }
.hero { position: relative; align-self: center; justify-self: center; width: min(860px, 94vw); padding: clamp(68px, 9vh, 116px) 24px clamp(54px, 7vh, 92px); text-align: center; }
.hero-aura { position: absolute; inset: 16% 10% 12%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(35, 180, 145, .12), rgba(42, 105, 182, .055) 46%, transparent 72%); filter: blur(34px); }
.brand-wrap { width: clamp(205px, 22vw, 285px); margin: 0 auto 20px; }
.brand { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 28px rgba(14, 79, 126, .10)); }

.eyebrow,
.section-kicker { margin: 0 0 14px; color: #3c7183; font-size: 13px; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 820px; margin: 0 auto; font-size: clamp(31px, 4vw, 52px); line-height: 1.2; letter-spacing: -.045em; font-weight: 760; }
.hero-copy { max-width: 660px; margin: 22px auto 32px; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.82; }
.entry-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.primary-button {
  --button-x: 50%;
  --button-y: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 174px;
  min-height: 52px;
  padding: 0 26px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 16px;
  background: radial-gradient(120px circle at var(--button-x) var(--button-y), rgba(255, 255, 255, .25), transparent 60%), linear-gradient(112deg, var(--green), var(--blue));
  box-shadow: 0 14px 32px rgba(3, 82, 121, .24), inset 0 1px 0 rgba(255, 255, 255, .35);
  text-decoration: none;
  font-size: 16px;
  font-weight: 720;
  letter-spacing: .04em;
  transition: transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease;
}

.primary-button::after { content: ""; position: absolute; inset: -2px auto -2px -46%; width: 34%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .30), transparent); transition: left .55s ease; }
.primary-button:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(3, 82, 121, .30), inset 0 1px 0 rgba(255, 255, 255, .4); }
.primary-button:hover::after { left: 118%; }
.primary-button:active { transform: translateY(-1px) scale(.985); }
.primary-button:focus-visible,
.backup-entry:focus-visible,
.site-nav a:focus-visible,
.text-link:focus-visible { outline: 3px solid rgba(13, 110, 170, .25); outline-offset: 4px; }
.primary-button svg { width: 18px; height: 18px; transition: transform .2s ease; }
.primary-button:hover svg { transform: translateX(3px); }

.backup-entry { color: #6b7b8a; font-size: 13px; text-underline-offset: 4px; text-decoration-color: rgba(42, 91, 124, .28); transition: color .2s ease; }
.backup-entry:hover { color: var(--blue); }

.site-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 26px; padding: 24px 0 26px; color: rgba(42, 74, 96, .64); font-size: 12px; letter-spacing: .025em; }

.content-main { width: min(1180px, 100%); margin: 0 auto; padding: clamp(64px, 8vw, 104px) 0 72px; }
.page-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px; margin-bottom: 28px; }
.page-intro h1 { margin: 0; max-width: 760px; font-size: clamp(34px, 5vw, 58px); }
.page-intro p:not(.section-kicker) { max-width: 680px; margin: 16px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.intro-meta { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .68); color: #53677a; font-size: 13px; white-space: nowrap; }
.intro-meta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(10, 169, 143, .10); }

.document-panel { overflow: hidden; border: 1px solid rgba(18, 68, 102, .13); border-radius: 24px; background: rgba(255, 255, 255, .82); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.document-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.document-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.document-title strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.document-title span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.text-link { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink-soft); background: rgba(255, 255, 255, .86); text-decoration: none; font-size: 13px; font-weight: 650; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.text-link:hover { transform: translateY(-1px); border-color: rgba(11, 91, 156, .24); box-shadow: 0 7px 18px rgba(27, 69, 100, .09); }
.pdf-viewer { display: block; width: 100%; height: min(75vh, 920px); min-height: 620px; border: 0; background: #eef2f5; }
.pdf-fallback { padding: 72px 24px; text-align: center; color: var(--muted); }

.team-layout { display: grid; gap: 34px; }
.team-section { padding-top: 8px; }
.team-section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 18px; }
.team-section h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.025em; }
.team-section-head p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.7; }
.mentor-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
.mentor-card,
.member-card { position: relative; overflow: hidden; border: 1px solid rgba(18, 68, 102, .12); background: rgba(255, 255, 255, .78); box-shadow: 0 16px 40px rgba(31, 69, 97, .08); backdrop-filter: blur(14px); }
.mentor-card { min-height: 308px; padding: 22px; border-radius: 22px; }
.mentor-card.featured { color: #fff; border-color: transparent; background: linear-gradient(145deg, #0d668f, #0a8c86); }
.mentor-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -44px; top: -42px; border: 1px solid rgba(77, 145, 170, .12); border-radius: 50%; }
.mentor-card.featured::after { border-color: rgba(255, 255, 255, .16); }
.role-label { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; color: #3f7181; background: rgba(15, 145, 139, .10); font-size: 12px; font-weight: 700; }
.featured .role-label { color: #fff; background: rgba(255, 255, 255, .15); }
.mentor-photo { width: 84px; height: 96px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 10px 13px rgba(25, 65, 94, .14)); }
.mentor-lead-visual { position: relative; height: 118px; margin: -22px 0 0 -22px; }
.mentor-lead-visual .mentor-photo { position: absolute; top: 0; left: 0; width: 196px; height: 130px; object-fit: contain; object-position: left top; }
.mentor-lead-visual .role-label { position: absolute; top: 99px; left: 202px; white-space: nowrap; }
.mentor-card h3 { margin: 17px 0 5px; font-size: 30px; letter-spacing: -.025em; }
.mentor-card .position { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.featured .position { color: rgba(255, 255, 255, .72); }
.mentor-card .bio { margin: 0; color: #506579; font-size: 14px; line-height: 1.72; }
.featured .bio { color: rgba(255, 255, 255, .88); }
.member-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.member-card { display: flex; align-items: center; gap: 17px; min-height: 112px; padding: 19px 20px; border-radius: 20px; }
.member-card.leader { border-color: rgba(10, 145, 139, .34); background: linear-gradient(145deg, rgba(238, 251, 248, .94), rgba(245, 250, 255, .88)); box-shadow: 0 16px 40px rgba(9, 119, 119, .13); }
.member-card.leader strong { color: #087e78; }
.member-avatar { display: block; width: 68px; height: 76px; flex: 0 0 auto; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 8px 11px rgba(25, 65, 94, .13)); }
.member-card strong { display: block; font-size: 16px; }
.member-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.team-contact { margin: 26px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.team-contact a { color: var(--blue); text-decoration-color: rgba(11, 91, 156, .25); text-underline-offset: 4px; }

.reveal { animation: rise .72s cubic-bezier(.2, .75, .24, 1) both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .14s; }
.delay-3 { animation-delay: .20s; }
.delay-4 { animation-delay: .27s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; gap: 14px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .university-mark { grid-column: 2; grid-row: 1; }
  .mentor-grid { grid-template-columns: 1fr 1fr; }
  .mentor-card.featured { grid-column: 1 / -1; }
  .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .site-frame { width: min(100% - 24px, 1380px); }
  .site-header { padding: 8px 0 4px; }
  .event-mark, .university-mark { width: min(42vw, 160px); height: 34px; max-width: none; object-fit: contain; }
  .event-mark img { width: 100%; height: 100%; object-fit: contain; }
  .site-nav { width: 100%; justify-content: center; gap: 17px; overflow-x: auto; }
  .site-nav a { flex: 0 0 auto; padding: 8px 0 10px; text-align: center; font-size: 13px; }
  .hero { padding: 70px 4px 52px; }
  .brand-wrap { width: 205px; }
  h1 { font-size: clamp(30px, 9vw, 42px); letter-spacing: -.035em; }
  .hero-copy { margin-top: 18px; }
  .page-intro { grid-template-columns: 1fr; align-items: start; }
  .content-main { padding-top: 58px; }
  .intro-meta { justify-self: start; }
  .document-toolbar { align-items: flex-start; }
  .document-title strong { max-width: 50vw; }
  .pdf-viewer { min-height: 68vh; }
  .team-section-head { align-items: start; flex-direction: column; gap: 10px; }
  .mentor-grid, .member-grid { grid-template-columns: 1fr; }
  .mentor-card.featured { grid-column: auto; }
}

@media (max-height: 720px) and (min-width: 701px) {
  .hero { padding-block: 38px; }
  .brand-wrap { width: 190px; margin-bottom: 10px; }
  .hero-copy { margin-block: 14px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .spotlight { display: none; }
}
