:root {
  color-scheme: light;
  --ink: #182b2b;
  --ink-soft: #334b49;
  --muted: #697b79;
  --paper: rgba(255,255,255,.78);
  --line: rgba(38,83,75,.13);
  --line-soft: rgba(38,83,75,.07);
  --green: #496b60;
  --green-deep: #244d47;
  --teal: #158d86;
  --coral: #bf745b;
  --red: #9e1424;
  --shadow: 0 28px 80px rgba(37,72,65,.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(110,151,128,.16), transparent 29rem),
    radial-gradient(circle at 90% 78%, rgba(191,116,91,.10), transparent 34rem),
    #f7f8f5;
  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,.68) 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(78,143,124,.17), rgba(191,116,91,.045) 44%, transparent 72%);
}
.site-frame {
  width: min(1380px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.home-frame { grid-template-rows: auto 1fr auto auto; }
.home-team { margin-top:14px; padding:38px 0 10px; border-top:1px solid var(--line); }
.home-team-head { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:22px; }
.home-team-head h2 { margin:0; font-size:clamp(26px,3vw,38px); }
.home-team-head > p { max-width:520px; margin:0; color:var(--muted); line-height:1.75; }
.home-team-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.home-person { overflow:hidden; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.8); box-shadow:0 14px 34px rgba(37,72,65,.07); }
.home-person img { display:block; width:100%; aspect-ratio:3/4; object-fit:cover; object-position:center 22%; background:#eef2ef; }
.home-person > div { padding:15px 16px 17px; }
.home-person strong,.home-person span { display:block; }
.home-person strong { color:var(--ink); font-size:17px; }
.home-person span { margin-top:5px; color:var(--muted); font-size:12px; }
.home-person.lead { border-color:rgba(177,90,73,.28); }
.home-person.lead span { color:var(--coral); font-weight:700; }
.home-team-link { display:inline-flex; align-items:center; gap:8px; margin-top:20px; color:var(--green-deep); font-size:14px; font-weight:750; text-decoration:none; }
.site-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(190px,1fr) auto minmax(190px,1fr);
  align-items: center;
  gap: 30px;
  min-height: 78px;
  padding: 14px 2px 9px;
}
.wordmark { justify-self: start; display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.wordmark-cn { font-family: STKaiti, KaiTi, "Microsoft YaHei", sans-serif; font-size: 26px; font-weight: 800; letter-spacing: .08em; }
.wordmark-en { margin-top: 7px; color: #6c7c76; font-size: 9px; font-weight: 800; letter-spacing: .28em; }
.university-mark { justify-self: end; display: block; width: auto; height: 44px; object-fit: contain; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px,3vw,40px); }
.site-nav a {
  position: relative;
  padding: 10px 0 12px;
  color: #63736f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  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:4px; width:0; height:2px; border-radius:999px; background:linear-gradient(90deg,var(--green),var(--coral)); transform:translateX(-50%); transition:width .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { width: 24px; }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav .nav-system { padding: 9px 15px; border: 1px solid rgba(73,107,96,.2); border-radius: 12px; background: rgba(255,255,255,.62); }
.site-nav .nav-system::after { display: none; }

.hero {
  align-self: center;
  width: min(1180px,100%);
  margin: 0 auto;
  padding: clamp(62px,9vh,108px) 0 clamp(56px,8vh,94px);
  display: grid;
  grid-template-columns: minmax(0,1.18fr) minmax(360px,.82fr);
  align-items: center;
  gap: clamp(50px,8vw,108px);
}
.hero-copy-block { max-width: 750px; }
.eyebrow, .section-kicker { margin:0 0 15px; color:#4d756d; font-size:12px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; }
h1,h2,h3,p { text-wrap: pretty; }
h1 { margin:0; font-size:clamp(38px,5.4vw,72px); line-height:1.14; letter-spacing:-.052em; font-weight:760; }
.typed-headline { min-height:2.28em; }
.typed-headline > span:first-child { white-space:pre-line; }
.typing-cursor { display:inline-block; width:.075em; height:.88em; margin-left:.08em; border-radius:999px; background:currentColor; vertical-align:-.04em; animation:cursor-blink 720ms steps(1,end) infinite; }
@keyframes cursor-blink { 0%,46% { opacity:1; } 47%,100% { opacity:0; } }
.hero-copy { max-width:690px; margin:25px 0 33px; color:var(--muted); font-size:clamp(15px,1.4vw,18px); line-height:1.88; }
.entry-actions { display:flex; align-items:center; flex-wrap:wrap; gap:18px 22px; }
.primary-button {
  --button-x:50%; --button-y:50%;
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:10px; min-width:184px; min-height:54px; padding:0 27px; 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,.23),transparent 60%),linear-gradient(115deg,#456c61,#207f78);
  box-shadow:0 14px 34px rgba(36,77,71,.24),inset 0 1px 0 rgba(255,255,255,.34);
  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 42px rgba(36,77,71,.3),inset 0 1px 0 rgba(255,255,255,.4); }
.primary-button:hover::after { left:118%; }
.primary-button svg { width:18px; height:18px; transition:transform .2s ease; }
.primary-button:hover svg { transform:translateX(3px); }
.secondary-link { color:#5d6f6c; font-size:14px; font-weight:650; text-decoration-color:rgba(73,107,96,.3); text-underline-offset:5px; }

.hero-console { position:relative; overflow:hidden; min-height:460px; padding:24px; border:1px solid rgba(53,94,86,.14); border-radius:30px; background:rgba(255,255,255,.76); box-shadow:var(--shadow); backdrop-filter:blur(18px); }
.hero-console::before { content:""; position:absolute; width:260px; height:260px; right:-92px; top:-90px; border:1px solid rgba(73,107,96,.13); border-radius:50%; box-shadow:0 0 0 38px rgba(73,107,96,.035),0 0 0 76px rgba(191,116,91,.025); }
.console-head { position:relative; display:flex; justify-content:space-between; align-items:center; padding-bottom:18px; border-bottom:1px solid var(--line); font-size:13px; }
.console-head span { font-weight:760; }
.console-head b { color:#77908a; font-size:10px; letter-spacing:.16em; }
.orbit { position:absolute; width:180px; height:180px; right:-40px; top:46px; border:1px solid rgba(73,107,96,.13); border-radius:50%; }
.orbit i { position:absolute; width:8px; height:8px; border-radius:50%; background:var(--coral); box-shadow:0 0 0 6px rgba(191,116,91,.09); }
.orbit i:nth-child(1) { top:29px; left:19px; } .orbit i:nth-child(2) { right:12px; top:82px; background:var(--teal); } .orbit i:nth-child(3) { left:64px; bottom:0; background:var(--green); }
.stage-list { position:relative; z-index:1; list-style:none; margin:10px 0 0; padding:0; }
.stage-list li { display:grid; grid-template-columns:42px 1fr; align-items:center; gap:14px; min-height:71px; border-bottom:1px solid var(--line); }
.stage-list li:last-child { border-bottom:0; }
.stage-list em { color:#91a09d; font-size:11px; font-style:normal; font-weight:800; letter-spacing:.08em; }
.stage-list span { display:flex; justify-content:space-between; align-items:center; gap:18px; }
.stage-list strong { font-size:16px; }
.stage-list small { color:var(--muted); font-size:12px; }
.capability-strip { width:min(1180px,100%); margin:0 auto 28px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-block:1px solid var(--line); }
.capability-strip article { position:relative; padding:26px 24px 28px; border-right:1px solid var(--line); }
.capability-strip article:last-child { border-right:0; }
.capability-strip span { color:var(--coral); font-size:11px; font-weight:800; letter-spacing:.12em; }
.capability-strip h2 { margin:13px 0 8px; font-size:17px; }
.capability-strip p { margin:0; color:var(--muted); font-size:13px; line-height:1.7; }

.content-main { width:min(1180px,100%); margin:0 auto; padding:clamp(64px,8vw,104px) 0 76px; }
.page-intro { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:32px; margin-bottom:30px; }
.page-intro h1 { max-width:880px; font-size:clamp(36px,5vw,60px); }
.page-intro p:not(.eyebrow) { max-width:760px; margin:18px 0 0; color:var(--muted); font-size:16px; line-height:1.8; }
.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:#586e69; font-size:13px; white-space:nowrap; }
.intro-meta::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--coral); box-shadow:0 0 0 5px rgba(191,116,91,.1); }
.document-panel { overflow:hidden; border:1px solid rgba(53,94,86,.14); border-radius:25px; 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:76px; padding:16px 20px; border-bottom:1px solid var(--line); }
.document-title { display:flex; align-items:center; gap:14px; min-width:0; }
.document-title > span:last-child { min-width:0; }
.document-title strong,.document-title small { display:block; }
.document-title strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; }
.document-title small { margin-top:4px; color:var(--muted); font-size:12px; }
.file-mark { display:grid; place-items:center; width:42px; height:42px; flex:0 0 auto; border-radius:12px; color:#fff; background:linear-gradient(145deg,#a32836,#7c0e19); font-size:10px; font-weight:800; letter-spacing:.08em; }
.text-link { flex:0 0 auto; padding:10px 14px; border:1px solid var(--line); border-radius:11px; background:rgba(255,255,255,.86); color:var(--ink-soft); text-decoration:none; font-size:13px; font-weight:650; transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.text-link:hover { transform:translateY(-1px); border-color:rgba(73,107,96,.3); box-shadow:0 8px 20px rgba(37,72,65,.09); }
.pdf-viewer { display:block; width:100%; height:min(76vh,940px); min-height:650px; border:0; background:#eef1ed; }
.pdf-fallback { padding:72px 24px; text-align:center; color:var(--muted); }

.team-main { display:grid; gap:28px; }
.team-story { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:54px; align-items:end; padding:34px; border:1px solid var(--line); border-radius:25px; background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(239,245,241,.82)); box-shadow:0 18px 50px rgba(37,72,65,.08); }
.team-story h2 { margin:0; max-width:580px; font-size:clamp(25px,3.2vw,40px); line-height:1.28; letter-spacing:-.035em; }
.team-story > p { margin:0; color:var(--muted); font-size:15px; line-height:1.9; }
.section-index { display:inline-block; margin-bottom:30px; color:var(--coral); font-size:12px; font-weight:800; letter-spacing:.15em; }
.team-section { padding-top:34px; }
.team-section-head { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:20px; }
.team-section-head h2 { margin:0; font-size:clamp(26px,3vw,38px); }
.team-section-head > p { max-width:520px; margin:0; color:var(--muted); line-height:1.7; }
.mentor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.mentor-card { display:grid; grid-template-columns:110px 1fr; gap:24px; align-items:center; min-height:210px; padding:30px; border-radius:24px; color:#fff; background:linear-gradient(135deg,#294f49,#51766a); box-shadow:0 20px 50px rgba(37,72,65,.18); }
.mentor-photo { width:102px; height:134px; border:1px solid rgba(255,255,255,.22); border-radius:22px; object-fit:cover; object-position:center 22%; background:#f3f5f3; box-shadow:0 12px 26px rgba(13,42,37,.22); }
.person-monogram { display:grid; place-items:center; width:94px; height:112px; border:1px solid rgba(255,255,255,.22); border-radius:22px; background:rgba(255,255,255,.10); font-family:STKaiti,KaiTi,serif; font-size:42px; }
.role-label { display:inline-flex; align-items:center; min-height:28px; padding:0 10px; border-radius:999px; background:rgba(255,255,255,.13); font-size:12px; font-weight:700; }
.mentor-card h3 { margin:13px 0 4px; font-size:28px; }
.mentor-card p { margin:0 0 13px; color:rgba(255,255,255,.72); }
.mentor-card small { color:rgba(255,255,255,.86); font-size:14px; line-height:1.7; }
.member-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:16px; }
.member-card { display:flex; align-items:center; gap:16px; min-height:112px; padding:20px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.77); box-shadow:0 14px 36px rgba(37,72,65,.07); }
.member-card > img { width:58px; height:72px; flex:0 0 auto; border-radius:16px; object-fit:cover; object-position:center 22%; background:linear-gradient(145deg,#e8f1ec,#f8fbf9); box-shadow:0 8px 22px rgba(37,72,65,.10); }
.member-card strong,.member-card small { display:block; }
.member-card strong { font-size:17px; }
.member-card small { margin-top:5px; color:var(--muted); }
.collaboration-band { margin-top:18px; padding:34px; border-block:1px solid var(--line); }
.collaboration-band h2 { margin:0 0 24px; font-size:28px; }
.collaboration-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.collaboration-grid span { padding:14px 16px; border-left:3px solid var(--coral); background:rgba(255,255,255,.62); color:var(--ink-soft); font-size:14px; }
.team-contact { margin:10px 0 0; color:var(--muted); font-size:14px; text-align:center; }
.team-contact a { color:var(--green-deep); text-underline-offset:4px; text-decoration-color:rgba(73,107,96,.3); }

.site-footer { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px 26px; padding:25px 0 28px; color:rgba(51,75,73,.64); font-size:12px; letter-spacing:.025em; }
.reveal { animation:rise .72s cubic-bezier(.2,.75,.24,1) both; }
.delay-1 { animation-delay:.08s; } .delay-2 { animation-delay:.15s; } .delay-3 { animation-delay:.22s; }
@keyframes rise { from { opacity:0; transform:translateY(14px); filter:blur(5px); } to { opacity:1; transform:translateY(0); filter:blur(0); } }
.primary-button:focus-visible,.secondary-link:focus-visible,.site-nav a:focus-visible,.text-link:focus-visible,.wordmark:focus-visible { outline:3px solid rgba(73,107,96,.24); outline-offset:4px; }

@media (max-width: 1000px) {
  .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; }
  .hero { grid-template-columns:1fr; max-width:760px; gap:38px; text-align:center; }
  .hero-copy-block { margin:0 auto; }
  .hero-copy { margin-inline:auto; }
  .entry-actions { justify-content:center; }
  .hero-console { width:min(520px,100%); min-height:430px; margin:0 auto; text-align:left; }
  .capability-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .capability-strip article:nth-child(2) { border-right:0; }
  .capability-strip article:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .home-team-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .site-frame { width:min(100% - 24px,1380px); }
  .site-header { padding-top:10px; }
  .wordmark-cn { font-size:22px; }
  .university-mark { width:min(47vw,210px); height:36px; object-fit:contain; }
  .site-nav { width:100%; justify-content:flex-start; gap:20px; overflow-x:auto; padding-bottom:3px; }
  .site-nav a { flex:0 0 auto; font-size:13px; }
  .site-nav .nav-system { padding:8px 12px; }
  .hero { padding:68px 2px 54px; }
  h1 { font-size:clamp(36px,11vw,52px); letter-spacing:-.045em; }
  .hero-console { min-height:420px; padding:20px; border-radius:24px; }
  .stage-list small { display:none; }
  .capability-strip { grid-template-columns:1fr; }
  .capability-strip article { border-right:0; border-bottom:1px solid var(--line); }
  .capability-strip article:last-child { border-bottom:0; }
  .home-team-head { align-items:start; flex-direction:column; gap:10px; }
  .home-team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .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:42vw; }
  .document-title small { display:none; }
  .pdf-viewer { min-height:68vh; }
  .team-story { grid-template-columns:1fr; gap:24px; padding:25px; }
  .team-section-head { align-items:start; flex-direction:column; gap:10px; }
  .mentor-grid { grid-template-columns:1fr; }
  .mentor-card { grid-template-columns:82px 1fr; gap:18px; padding:22px; }
  .mentor-photo { width:78px; height:104px; border-radius:18px; }
  .person-monogram { width:74px; height:92px; font-size:34px; }
  .member-grid,.collaboration-grid { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
  html { scroll-behavior:auto; }
  .spotlight { display:none; }
  .typing-cursor { display:none; }
}

/* Challenge Cup identity, independent from the original site. */
.challenge-mark { display:block; width:230px; height:auto; }
.university-mark { width:225px; height:auto; max-height:58px; }
.member-lead { border-color:rgba(15,83,197,.26); }
.member-lead small { color:#0f53c5; font-weight:700; }
.mentor-photo { object-fit:contain; object-position:bottom; }
@media (max-width:720px) {
  .challenge-mark { width:min(43vw,200px); }
  .university-mark { width:min(43vw,200px); height:auto; }
}
