/* ==========================================================================
   温斯顿合创 · 学术科研官网
   浅蓝苹果式版式 / 全球导师网络 / 20 份导师档案 / 40 人与 18 人班
   ========================================================================== */

.academic-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 0;
  background:
    radial-gradient(55% 55% at 50% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #f5faff 0%, #e8f6ff 100%);
}

.academic-hero::before {
  position: absolute;
  top: 120px;
  left: -180px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 199, 255, 0.16), transparent 68%);
  content: "";
  pointer-events: none;
}

.academic-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 50px;
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px 54px;
}

.academic-copy h1 {
  max-width: 640px;
  font-size: clamp(52px, 4.9vw, 72px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.academic-copy h1 .accent {
  background: linear-gradient(100deg, #0b4d93 0%, #1683f8 48%, #5dc5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.academic-copy .hero-sub {
  max-width: 550px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.62;
  text-wrap: pretty;
}

.academic-copy .hero-actions {
  justify-content: flex-start;
  margin-top: 30px;
}

.academic-hero .hero-note {
  margin-top: 20px;
  color: var(--muted-light);
  font-size: 10px;
  letter-spacing: 0.06em;
}

/* Global network visual */
.global-stage {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 42px;
  background:
    radial-gradient(60% 60% at 50% 48%, #ffffff 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(150deg, #e8f7ff 0%, #c9e9ff 100%);
  box-shadow: 0 60px 120px -56px rgba(10, 82, 150, 0.35);
  isolation: isolate;
}

.global-stage::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 131, 248, 0.22) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 76%);
  opacity: 0.5;
}

.global-stage::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 177, 255, 0.2), transparent 66%);
  content: "";
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.global-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.global-svg .g-line {
  stroke: rgba(22, 131, 248, 0.26);
  stroke-width: 1;
  fill: none;
}

.global-svg .g-line.soft {
  stroke: rgba(22, 131, 248, 0.13);
}

.global-svg .g-dot {
  fill: #fff;
  stroke: #1683f8;
  stroke-width: 1.5;
}

.global-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 188px;
  height: 188px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 70px -28px rgba(9, 67, 120, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  text-align: center;
  transform: translate(-50%, -50%);
}

.global-core strong {
  display: block;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.global-core span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.global-core small {
  display: block;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(12, 52, 86, 0.1);
  color: var(--muted-light);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.global-node {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px -20px rgba(7, 65, 120, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 10px;
  white-space: nowrap;
}

.global-node::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 131, 248, 0.1);
  content: "";
}

.global-node.g1 {
  top: 14%;
  left: 11%;
}

.global-node.g2 {
  top: 17%;
  right: 10%;
}

.global-node.g3 {
  bottom: 21%;
  left: 9%;
}

.global-node.g4 {
  right: 12%;
  bottom: 17%;
}

.global-node.g5 {
  top: 48%;
  right: 3%;
}

.global-card {
  position: absolute;
  z-index: 4;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 38px -24px rgba(7, 65, 120, 0.38);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 10px;
}

.global-card b {
  display: block;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.global-card span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.global-card.c1 {
  top: 33%;
  left: 4%;
}

.global-card.c2 {
  right: 4%;
  bottom: 32%;
}

.global-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  color: rgba(15, 74, 125, 0.5);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.service-strip {
  border-top: 1px solid rgba(12, 52, 86, 0.07);
  border-bottom: 1px solid rgba(12, 52, 86, 0.07);
  background: rgba(255, 255, 255, 0.62);
}

.service-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-strip-inner::-webkit-scrollbar {
  display: none;
}

.service-strip a {
  flex: 0 0 auto;
  padding: 15px 0;
  color: var(--ink-soft);
  font-size: 11px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.service-strip a:hover {
  color: var(--blue-deep);
}

.service-strip a + a {
  margin-left: 22px;
}

.service-strip .strip-cta {
  margin-left: auto;
  color: var(--blue-deep);
  font-weight: 500;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
  padding: 24px;
  border: 1px solid rgba(12, 52, 86, 0.07);
  border-radius: 20px;
  background: linear-gradient(150deg, #fff 0%, #edf8ff 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.project-card:nth-child(2n) {
  background: linear-gradient(150deg, #fff 0%, #e3f4ff 100%);
}

.project-card.project-help {
  border-style: dashed;
  background: #f7fcff;
}

.project-card.project-help .project-no {
  color: var(--muted-light);
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.project-card .project-no {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.project-card h3 {
  font-size: 25px;
  letter-spacing: -0.04em;
}

.project-card h3 span {
  display: block;
  margin-top: 4px;
  color: var(--blue-deep);
  font-family: var(--font-text);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.project-card p {
  margin-top: 10px;
  flex: 1;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  text-wrap: balance;
}

.section-head p,
.info-card p,
.boundary-item p,
.mentor-card .can {
  text-wrap: pretty;
}

.section-head p,
.page-sub {
  text-wrap: balance;
}

.hero-sub,
.body-copy p {
  text-wrap: pretty;
}

.hero-sub {
  text-wrap: balance;
}

.hero-sub span,
.page-sub span {
  display: block;
}

.project-card .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 16px;
}

.project-card .project-tags span {
  padding: 3px 7px;
  border: 1px solid rgba(12, 52, 86, 0.08);
  border-radius: 999px;
  color: var(--muted-light);
  font-size: 8px;
}

.project-card .project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  color: var(--blue-deep);
  font-size: 10px;
}

.project-card .project-link span:last-child {
  font-size: 14px;
}

/* Two class cards */
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  background: linear-gradient(150deg, #ffffff 0%, #e6f5ff 100%);
  box-shadow: var(--shadow-sm);
}

.course-card:nth-child(2) {
  background: linear-gradient(150deg, #e7f6ff 0%, #c9e9ff 100%);
}

.course-number {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 92px;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.86;
}

.course-number small {
  color: var(--muted);
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.course-card .course-en {
  color: var(--muted-light);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.course-card h3 {
  margin-top: 34px;
  font-size: 32px;
  letter-spacing: -0.045em;
}

.course-card > p {
  max-width: 470px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.course-points {
  display: grid;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid rgba(12, 52, 86, 0.1);
}

.course-points li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(12, 52, 86, 0.09);
  color: var(--ink-soft);
  font-size: 12px;
}

.course-points li::before {
  color: var(--blue);
  content: "—";
}

.course-card .course-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 28px;
  color: var(--blue-deep);
  font-size: 12px;
}

.course-card .course-cta span:last-child {
  font-size: 16px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare-card {
  padding: 32px;
  border: 1px solid rgba(12, 52, 86, 0.07);
  border-radius: 24px;
  background: linear-gradient(150deg, #fff 0%, #edf8ff 100%);
  box-shadow: var(--shadow-sm);
}

.compare-card:nth-child(2) {
  background: linear-gradient(150deg, #eaf7ff 0%, #d6eeff 100%);
}

.compare-label {
  color: var(--blue-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.compare-card h3 {
  margin-top: 10px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.compare-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.compare-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.55;
}

.compare-list dt {
  color: var(--muted-light);
  font-size: 10px;
}

.compare-list dd {
  margin: 0;
  color: var(--muted);
}

.compare-card .link-arrow {
  margin-top: 22px;
  font-size: 12px;
}

/* Mentor preview + full cards */
.mentor-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

.mentor-mini {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border: 1px solid rgba(12, 52, 86, 0.07);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mentor-mini .mentor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mentor-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(150deg, #68c8ff, #1683f8 58%, #0752b8);
  box-shadow: 0 10px 24px -12px rgba(0, 102, 214, 0.55);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.mentor-mini .degree,
.mentor-card .degree {
  padding: 3px 7px;
  border: 1px solid rgba(12, 52, 86, 0.08);
  border-radius: 999px;
  color: var(--muted-light);
  font-size: 8px;
}

.mentor-mini h3 {
  font-size: 21px;
  letter-spacing: -0.03em;
}

.mentor-mini .role {
  margin-top: 4px;
  min-height: 2.9em;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
}

.mentor-mini .sci {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--blue-deep);
  font-size: 12px;
}

.mentor-mini .sci span {
  color: var(--muted-light);
  font-size: 9px;
}

.mentor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.mentor-toolbar .mentor-filters {
  justify-content: flex-start;
  margin-bottom: 0;
}

.mentor-search input {
  width: 250px;
  padding: 10px 15px;
  border: 1px solid rgba(12, 52, 86, 0.12);
  border-radius: 999px;
  outline: none;
  color: var(--ink);
  background: #f7fbff;
  font-size: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mentor-search input:focus {
  border-color: rgba(22, 131, 248, 0.6);
  box-shadow: 0 0 0 4px rgba(22, 131, 248, 0.1);
}

.mentor-count {
  margin-bottom: 18px;
  color: var(--muted-light);
  font-size: 10.5px;
}

.mentor-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}

.mentor-page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(12, 52, 86, 0.1);
  border-radius: 9px;
  color: var(--muted);
  background: #fff;
  font-size: 11px;
}

.mentor-page-btn:hover {
  color: var(--blue-deep);
  border-color: rgba(22, 131, 248, 0.3);
}

.mentor-page-btn.is-active {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.mentor-page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.mentor-empty {
  grid-column: 1 / -1;
  padding: 50px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mentor-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-bottom: 34px;
}

.mentor-filter {
  padding: 8px 14px;
  border: 1px solid rgba(12, 52, 86, 0.1);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 11px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mentor-filter:hover {
  color: var(--blue-deep);
  border-color: rgba(22, 131, 248, 0.3);
}

.mentor-filter.is-active {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.mentor-grid-20 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mentor-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 23px;
  border: 1px solid rgba(12, 52, 86, 0.07);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px -28px rgba(11, 77, 137, 0.3);
}

.mentor-card[hidden] {
  display: none;
}

.mentor-card .mentor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.mentor-card h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.mentor-card h3 small {
  margin-left: 5px;
  color: var(--muted-light);
  font-family: var(--font-text);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0;
}

.mentor-card .role {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.mentor-field {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.mentor-field span {
  padding: 3px 7px;
  border: 1px solid rgba(12, 52, 86, 0.08);
  border-radius: 999px;
  color: var(--muted-light);
  font-size: 8.5px;
}

.mentor-card .sci {
  margin-top: 15px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.mentor-card .sci small {
  display: block;
  margin-top: 2px;
  color: var(--muted-light);
  font-family: var(--font-text);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0;
}

.mentor-card .can {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.mentor-card .can b {
  color: var(--ink-soft);
  font-weight: 500;
}

.mentor-card .can + .can {
  margin-top: 4px;
}

.mentor-note {
  max-width: 820px;
  margin: 30px auto 0;
  color: var(--muted-light);
  font-size: 10.5px;
  line-height: 1.7;
  text-align: center;
}

/* Confidentiality */
.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.policy-panel {
  padding: 34px;
  border: 1px solid rgba(12, 52, 86, 0.07);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.policy-panel h3 {
  font-size: 24px;
  letter-spacing: -0.035em;
}

.policy-panel > p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.policy-list {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.6;
}

.policy-list li::before {
  color: var(--blue);
  content: "—";
}

.policy-list.no li::before {
  color: #b45454;
  content: "×";
}

.policy-list b {
  font-weight: 500;
}

.policy-callout {
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(22, 131, 248, 0.13);
  border-radius: 18px;
  background: #f3fbff;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.policy-callout b {
  color: var(--ink);
  font-weight: 500;
}

/* Flag wall */
.flag-wall {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 588px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(12, 52, 86, 0.08);
  border-radius: 40px;
  background:
    radial-gradient(circle at 82% 12%, rgba(89, 184, 255, 0.24), transparent 32%),
    linear-gradient(155deg, #f8fdff 0%, #e2f4ff 58%, #d4edff 100%);
  box-shadow: 0 40px 85px -45px rgba(11, 54, 91, 0.38);
  isolation: isolate;
}

.flag-wall::before {
  position: absolute;
  right: -16%;
  bottom: -26%;
  width: 80%;
  height: 65%;
  border-radius: 50%;
  background: rgba(77, 174, 255, 0.16);
  filter: blur(45px);
  content: "";
  pointer-events: none;
}

.flag-wall-head,
.flag-wall-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flag-wall-head {
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.flag-wall-head > span:last-child {
  color: var(--muted-light);
  font-family: var(--font-text);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0;
}

.flag-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.flag-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 131, 248, 0.1);
}

.flag-grid {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 1;
  min-height: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 8px;
}

.flag-tile {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(12, 52, 86, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px -12px rgba(9, 42, 72, 0.35);
}

.flag-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flag-tile::after {
  position: absolute;
  inset: 60% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 16, 30, 0.7) 100%);
  content: "";
  pointer-events: none;
}

.flag-tile figcaption {
  position: absolute;
  right: 9px;
  bottom: 8px;
  left: 9px;
  z-index: 2;
  color: #fff;
}

.flag-tile figcaption b {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.flag-tile figcaption span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.flag-cn {
  grid-column: span 2;
  grid-row: span 2;
  border: 2px solid #df3b42;
  background: #de2910;
  box-shadow:
    0 0 0 3px rgba(223, 59, 66, 0.12),
    0 14px 30px -14px rgba(143, 22, 32, 0.5);
}

.flag-cn img {
  object-fit: contain;
  object-position: center;
}

.flag-cn figcaption {
  right: 14px;
  bottom: 13px;
  left: 14px;
}

.flag-cn figcaption b {
  font-size: 24px;
  letter-spacing: -0.05em;
}

.flag-cn figcaption span {
  font-size: 8px;
}

.flag-us {
  grid-column: span 2;
  border-color: rgba(30, 73, 147, 0.28);
  box-shadow:
    0 0 0 2px rgba(30, 73, 147, 0.1),
    0 12px 24px -14px rgba(15, 45, 91, 0.4);
}

.flag-us figcaption b {
  font-size: 16px;
}

.flag-wall-foot {
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 8px;
  flex-wrap: wrap;
}

.flag-wall-foot span {
  white-space: nowrap;
}

.flag-wall-foot span + span::before {
  margin-right: 8px;
  color: rgba(12, 52, 86, 0.22);
  content: "/";
}

.flag-wall-foot b {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
}

/* Real Earth (legacy, no longer loaded) */
.earth-panel {
  position: relative;
  width: 100%;
  min-height: 588px;
  overflow: hidden;
  border-radius: 40px;
  background:
    radial-gradient(circle at 66% 28%, rgba(26, 94, 156, 0.55) 0%, rgba(7, 28, 51, 0) 38%),
    radial-gradient(circle at 24% 78%, rgba(12, 74, 124, 0.32) 0%, rgba(3, 16, 30, 0) 48%),
    linear-gradient(155deg, #071a2e 0%, #04101f 58%, #020b16 100%);
  box-shadow: 0 40px 90px -40px rgba(3, 26, 50, 0.55), inset 0 0 0 1px rgba(157, 213, 255, 0.12);
  cursor: grab;
  isolation: isolate;
  touch-action: pan-y;
}

.earth-panel.is-dragging {
  cursor: grabbing;
}

.earth-panel::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 90px 20px rgba(0, 6, 14, 0.5);
  content: "";
  pointer-events: none;
}

.earth-panel [data-earth] {
  position: absolute;
  inset: 0;
}

.earth-panel [data-earth] canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.earth-ui {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.earth-live {
  position: absolute;
  top: 24px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d8efff;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.earth-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6fd3ff;
  box-shadow: 0 0 0 4px rgba(111, 211, 255, 0.14);
  animation: earthPulse 2.4s ease-in-out infinite;
}

@keyframes earthPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.72); }
}

.earth-drag {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(214, 238, 255, 0.56);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.earth-region {
  position: absolute;
  padding: 5px 9px;
  border: 1px solid rgba(180, 224, 255, 0.18);
  border-radius: 999px;
  color: rgba(226, 243, 255, 0.86);
  background: rgba(4, 20, 36, 0.42);
  font-size: 9px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}

.earth-region::before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 5px;
  border-radius: 50%;
  background: #6fd3ff;
  content: "";
}

.earth-region.e1 { top: 18%; left: 12%; }
.earth-region.e2 { top: 17%; right: 12%; }
.earth-region.e3 { top: 47%; right: 7%; }
.earth-region.e4 { bottom: 22%; left: 10%; }
.earth-region.e5 { bottom: 21%; right: 11%; }

.earth-card {
  position: absolute;
  bottom: 22px;
  z-index: 5;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 35px -18px rgba(0, 12, 25, 0.7);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.earth-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.earth-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
}

.earth-card.ec1 { left: 22px; }
.earth-card.ec2 { right: 22px; }

.earth-caption {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  color: rgba(196, 226, 250, 0.4);
  font-size: 7px;
  text-align: center;
  letter-spacing: 0.08em;
}

/* Global band */
.global-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(12, 52, 86, 0.06);
  border-bottom: 1px solid rgba(12, 52, 86, 0.06);
  background: #f2f8fc;
}

.global-band-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 100px 0;
}

.global-band h2 {
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.global-band p {
  max-width: 520px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.global-band .global-stage {
  min-height: 470px;
}

.global-band .global-core {
  width: 150px;
  height: 150px;
}

.global-band .global-core strong {
  font-size: 34px;
}

/* Small utility */
.research-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid rgba(12, 52, 86, 0.14);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.contact-aside .trial-steps {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-aside .trial-steps div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.contact-aside .trial-steps b {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 1120px) {
  .academic-hero-inner {
    gap: 32px;
  }

  .global-stage {
    min-height: 540px;
  }

  .earth-panel {
    min-height: 540px;
  }

  .flag-wall {
    min-height: 540px;
  }

  .mentor-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mentor-grid-20 {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .academic-hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .global-band-inner,
  .course-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .academic-copy {
    max-width: none;
  }

  .academic-copy h1 {
    font-size: clamp(36px, 5.5vw, 52px);
  }

  .academic-copy .hero-sub {
    font-size: 15px;
  }

  .global-stage {
    min-height: 520px;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
  }

  .earth-panel {
    min-height: 520px;
    max-width: 680px;
    margin: 0 auto;
  }

  .flag-wall {
    min-height: 440px;
    max-width: none;
    margin: 0;
  }

  .global-band-inner {
    gap: 38px;
    padding: 82px 0;
  }

  .course-card {
    min-height: 0;
  }

  .mentor-grid-20 {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .academic-hero {
    padding-top: 48px;
  }

  .academic-hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 16px 28px;
  }

  .academic-copy h1 {
    font-size: clamp(28px, 7vw, 40px);
  }

  .academic-copy .hero-sub {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.55;
  }

  .academic-copy .hero-sub span {
    display: inline;
  }

  .academic-copy .hero-sub span + span::before {
    content: " · ";
    color: var(--muted-light);
  }

  .academic-copy .hero-actions {
    margin-top: 18px;
  }

  .academic-copy .hero-actions .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .academic-copy .hero-note {
    font-size: 9px;
  }

  .global-stage {
    min-height: 430px;
    border-radius: 30px;
  }

  .earth-panel {
    min-height: 410px;
    border-radius: 30px;
  }

  .flag-wall {
    min-height: 430px;
    padding: 16px;
    border-radius: 30px;
  }

  .flag-grid {
    gap: 6px;
  }

  .flag-wall-head {
    margin-bottom: 9px;
  }

  .flag-wall-foot {
    margin-top: 9px;
  }

  .flag-cn figcaption b {
    font-size: 20px;
  }

  .flag-us figcaption b {
    font-size: 14px;
  }

  .earth-live {
    top: 18px;
    left: 18px;
  }

  .earth-drag {
    top: 18px;
    right: 18px;
  }

  .earth-region.e4,
  .earth-region.e5 {
    display: none;
  }

  .earth-card {
    bottom: 16px;
    padding: 9px 11px;
  }

  .earth-card.ec1 { left: 14px; }
  .earth-card.ec2 { right: 14px; }

  .earth-card strong {
    font-size: 17px;
  }

  .global-core {
    width: 140px;
    height: 140px;
  }

  .global-core strong {
    font-size: 31px;
  }

  .global-core small {
    margin-top: 10px;
    padding-top: 8px;
  }

  .global-node {
    font-size: 9px;
    padding: 6px 9px;
  }

  .global-card {
    padding: 9px 10px;
  }

  .global-card b {
    font-size: 15px;
  }

  .global-caption {
    display: none;
  }

  .course-card,
  .compare-card {
    padding: 28px;
    border-radius: 26px;
  }

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

  .policy-panel {
    padding: 25px;
  }

  .course-number {
    font-size: 72px;
  }

  .course-card h3 {
    margin-top: 24px;
    font-size: 28px;
  }

  .mentor-preview-grid,
  .mentor-grid-20,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-strip-inner {
    padding: 0 20px;
    justify-content: flex-start;
  }

  .service-strip a + a {
    margin-left: 18px;
  }

  .project-card {
    min-height: 0;
    height: auto;
    padding: 22px;
  }

  .project-card .project-no {
    margin-bottom: 22px;
  }

  .mentor-mini,
  .mentor-card {
    min-height: 0;
    padding: 20px 18px;
  }

  .mentor-mini .role {
    min-height: auto;
  }

  .mentor-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .mentor-search input {
    width: 100%;
  }

  .mentor-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .mentor-filters::-webkit-scrollbar {
    display: none;
  }

  .mentor-filter {
    flex: 0 0 auto;
  }

  .global-band-inner {
    padding: 70px 0;
  }

  .global-band h2 {
    font-size: clamp(38px, 10vw, 50px);
  }

  .global-band .global-stage {
    min-height: 400px;
  }
}

@media (max-width: 430px) {
  .academic-hero-inner {
    grid-template-columns: 1fr 1.05fr;
    gap: 14px;
    padding: 0 12px 22px;
  }

  .academic-copy h1 {
    font-size: 26px;
    letter-spacing: -0.04em;
  }

  .academic-copy .hero-sub {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.5;
  }

  .academic-copy .hero-actions {
    margin-top: 14px;
    gap: 10px;
  }

  .academic-copy .hero-actions .btn {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 20px;
  }

  .academic-copy .hero-note {
    margin-top: 12px;
    font-size: 8px;
  }

  .global-stage {
    min-height: 380px;
  }

  .earth-panel {
    min-height: 360px;
    border-radius: 26px;
  }

  .flag-wall {
    min-height: 390px;
    padding: 13px;
    border-radius: 26px;
  }

  .flag-grid {
    gap: 4px;
  }

  .flag-tile {
    border-radius: 9px;
  }

  .flag-tile figcaption {
    right: 6px;
    bottom: 5px;
    left: 6px;
  }

  .flag-tile figcaption b {
    font-size: 9px;
  }

  .flag-tile figcaption span {
    font-size: 5.5px;
  }

  .flag-cn figcaption b {
    font-size: 18px;
  }

  .flag-us figcaption b {
    font-size: 12px;
  }

  .flag-wall-foot {
    font-size: 7px;
  }

  .earth-region {
    font-size: 8px;
    padding: 4px 7px;
  }

  .earth-card strong {
    font-size: 15px;
  }

  .global-node.g5 {
    display: none;
  }

  .global-card.c1 {
    top: 31%;
    left: 2%;
  }

  .global-card.c2 {
    right: 2%;
    bottom: 29%;
  }
}

/* ===========================
   录用通知墙 & 荣誉展馆
   (替换国旗墙，完全兼容现有样式)
   =========================== */

/* 首页录用通知墙 */
.flag-grid.flag-offers {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
}

.offer-tile {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(12, 52, 86, 0.09);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px -12px rgba(9, 42, 72, 0.35);
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.offer-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -16px rgba(9, 42, 72, 0.45);
}
.offer-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.offer-tile::after {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 16, 30, 0.55) 100%);
  content: "";
  pointer-events: none;
}
.offer-tile .offer-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(22, 131, 248, 0.92);
  color: #fff;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.offer-tile .offer-label {
  position: absolute;
  right: 9px;
  bottom: 8px;
  left: 9px;
  z-index: 2;
  color: #fff;
}
.offer-tile .offer-label b {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.offer-tile .offer-label span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.offer-tile.offer-featured {
  grid-column: span 2;
  grid-row: span 2;
  border: 2px solid rgba(22, 131, 248, 0.45);
  box-shadow: 0 0 0 3px rgba(22, 131, 248, 0.1), 0 14px 30px -14px rgba(12, 52, 86, 0.45);
}
.offer-tile.offer-featured .offer-label {
  right: 14px;
  bottom: 13px;
  left: 14px;
}
.offer-tile.offer-featured .offer-label b {
  font-size: 20px;
  letter-spacing: -0.04em;
}
.offer-tile.offer-featured .offer-label span {
  font-size: 8px;
}

/* 荣誉展馆 */
.gallery-page {
  padding-top: 100px;
}
.gallery-hero {
  text-align: center;
  padding: 60px 20px 40px;
}
.gallery-hero .eyebrow {
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gallery-hero h1 {
  margin: 12px 0 6px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.gallery-hero p {
  color: var(--muted);
  font-size: 14px;
  max-width: 520px;
  margin: 0 auto;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  padding: 0 24px 80px;
  max-width: 1300px;
  margin: 0 auto;
}

.gallery-card {
  position: relative;
  grid-column: span 2;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(12, 52, 86, 0.07);
  background: #fff;
  box-shadow: 0 8px 24px -14px rgba(9, 42, 72, 0.28);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px -16px rgba(9, 42, 72, 0.42);
  z-index: 2;
}
.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.gallery-card::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 12, 24, 0.65) 100%);
  content: "";
  pointer-events: none;
}
.gallery-card .gallery-num {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* 灯箱查看 */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 10, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  padding: 40px;
}
.lightbox.open {
  display: flex;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 42px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.16);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* 响应式 */
@media (max-width: 1100px) {
  .gallery-masonry { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flag-grid.flag-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .gallery-masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 12px 60px; }
  .gallery-card { border-radius: 10px; }
  .flag-grid.flag-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-tile.offer-featured { grid-column: span 2; }
  .lightbox { padding: 16px; }
  .lightbox-nav { width: 36px; height: 36px; font-size: 16px; }
  .lightbox-close { width: 36px; height: 36px; font-size: 18px; top: 12px; right: 16px; }
}
@media (max-width: 480px) {
  .gallery-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

