:root {
  --navy: #07384a;
  --navy-deep: #032937;
  --teal: #087b82;
  --teal-bright: #16a8a1;
  --cyan-soft: #dff4f4;
  --red: #c6293d;
  --gold: #bd850f;
  --ink: #102c38;
  --muted: #667c86;
  --line: #d8e4e8;
  --paper: #ffffff;
  --bg: #f3f7f8;
  --shadow: 0 18px 50px rgba(10, 49, 63, .14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.65;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
  border-radius: 4px;
}
.skip-link:focus { top: 12px; }

.section-wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 790px;
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep) url("assets/hero-gate.jpg") center 52% / cover no-repeat;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 25, 34, .88) 0%, rgba(2, 37, 47, .62) 48%, rgba(1, 45, 60, .2) 82%), linear-gradient(0deg, rgba(1, 28, 39, .76) 0%, transparent 42%);
}
.topbar {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.23);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
}
.brand-mark span { font-size: 32px; line-height: 1; font-weight: 300; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 18px; }
.brand-copy small { margin-top: 4px; opacity: .78; font-size: 10px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav-links a { opacity: .88; }
.nav-links a:hover { opacity: 1; }
.print-button {
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 4px;
  padding: 9px 14px;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}
.print-button:hover { background: rgba(255,255,255,.16); }

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding-top: 110px;
}
.edition {
  position: absolute;
  right: 0;
  top: 78px;
  padding: 11px 20px;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 999px;
  background: var(--red);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(69, 5, 16, .22);
}
.eyebrow, .kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
}
.eyebrow { color: #b7e7ea; }
.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(52px, 6.3vw, 82px);
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: 0;
}
.hero-subtitle { margin: 22px 0 0; font-size: 19px; font-weight: 600; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.95);
  font-size: 13px;
  font-weight: 700;
}
.hero-tags b { padding: 3px 7px; border-radius: 999px; color: #fff; background: var(--red); font-size: 11px; }
.hero-stats {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 65px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-width: 470px;
  border-top: 1px solid rgba(255,255,255,.35);
}
.hero-stats div { padding: 17px 20px 0; border-left: 1px solid rgba(255,255,255,.24); }
.hero-stats strong { display: block; font-size: 28px; line-height: 1.15; }
.hero-stats span { font-size: 12px; opacity: .72; }

.quick-start {
  position: relative;
  z-index: 3;
  margin-top: -30px;
  padding: 38px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}
.section-heading h2, .intro-copy h2, .schedule-copy h2, .final-callout h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.25;
  letter-spacing: 0;
}
.section-heading p:not(.kicker), .schedule-copy > p, .final-callout p { margin: 8px 0 0; color: var(--muted); }
.kicker { color: var(--teal); }
.quick-heading { margin-bottom: 26px; }
.update-pill { padding: 8px 14px; border-radius: 999px; color: #096a75; background: #e7f4f5; font-size: 13px; font-weight: 700; white-space: nowrap; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick-grid a {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 13px;
  border: 1px solid #e0eaed;
  border-radius: 6px;
  background: #f8fbfc;
  transition: transform .2s ease, box-shadow .2s ease;
}
.quick-grid a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(8, 65, 79, .09); }
.quick-grid a:nth-child(1), .quick-grid a:nth-child(6) { background: #fff3f4; }
.quick-grid a:nth-child(2), .quick-grid a:nth-child(4) { background: #eef8f7; }
.quick-grid a:nth-child(3) { background: #fff8e8; }
.quick-grid a:nth-child(5) { background: #f3f1fa; }
.quick-grid b {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  margin-right: 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--teal);
}
.quick-grid a:nth-child(1) b, .quick-grid a:nth-child(6) b { background: var(--red); }
.quick-grid a:nth-child(3) b { background: var(--gold); }
.quick-grid a:nth-child(5) b { background: #7152a5; }
.quick-grid span { display: flex; flex-direction: column; }
.quick-grid strong { font-size: 17px; }
.quick-grid small { color: var(--muted); }

.intro-band { margin-top: 95px; padding: 88px 0; background: #e3f2f2; }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.intro-copy h2 { max-width: 600px; }
.intro-copy > p { margin: 22px 0 0; color: #385863; }
blockquote { margin: 30px 0 0; padding: 18px 0 18px 20px; border-left: 4px solid var(--red); }
blockquote span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
blockquote strong { font-size: 23px; }
.image-button { position: relative; border: 0; padding: 0; color: inherit; background: none; cursor: zoom-in; text-align: left; overflow: hidden; }
.image-button img { transition: transform .35s ease; }
.image-button:hover img { transform: scale(1.015); }
.image-button > span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 4px;
  color: #fff;
  background: rgba(3, 41, 55, .86);
  font-size: 12px;
  font-weight: 700;
}
.intro-image { height: 510px; border-radius: 6px; box-shadow: 0 22px 45px rgba(7, 56, 74, .18); }
.intro-image img { height: 100%; object-fit: cover; object-position: center top; }

.content-section { padding-top: 105px; padding-bottom: 105px; }
.progress-box { min-width: 190px; text-align: right; }
.progress-box span { font-weight: 800; }
.progress-track { height: 6px; margin-top: 8px; overflow: hidden; border-radius: 99px; background: #dce6e8; }
.progress-track i { display: block; width: 0; height: 100%; background: var(--red); transition: width .25s ease; }
.checklist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.checklist-grid label {
  display: flex;
  gap: 13px;
  min-height: 100px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.checklist-grid label:has(input:checked) { border-color: #8ac9c4; background: #eff9f7; }
.checklist-grid input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.checklist-grid span { display: flex; flex-direction: column; }
.checklist-grid small { margin-top: 4px; color: var(--muted); }
.notice-line { margin: 24px 0 0; padding: 16px 18px; border-left: 4px solid var(--gold); background: #fff8e8; color: #5c4a24; }

.process-band { padding: 90px 0; color: #fff; background: var(--navy); }
.light-heading .kicker { color: #72d2ce; }
.light-heading p:not(.kicker) { color: rgba(255,255,255,.7); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 40px 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 0 26px; border-left: 1px solid rgba(255,255,255,.2); }
.timeline li:first-child { padding-left: 0; border-left: 0; }
.timeline li::after { content: ""; position: absolute; top: 23px; left: 64px; right: 0; height: 1px; background: rgba(255,255,255,.23); }
.timeline b { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red); }
.timeline div { display: flex; flex-direction: column; margin-top: 18px; }
.timeline strong { font-size: 17px; }
.timeline span { margin-top: 6px; color: rgba(255,255,255,.68); font-size: 13px; }

.fee-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: start; }
.fee-table { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.fee-row { display: grid; grid-template-columns: 1fr 220px; align-items: center; min-height: 79px; border-top: 1px solid var(--line); }
.fee-row:first-child { border-top: 0; }
.fee-row > span, .fee-row > strong { padding: 14px 18px; }
.fee-row > strong { color: var(--red); font-size: 16px; text-align: right; }
.fee-row span { display: flex; flex-direction: column; }
.fee-row small { color: var(--muted); }
.fee-head { min-height: 46px; color: #fff; background: var(--navy); font-weight: 700; }
.fee-head span:last-child { text-align: right; }
.major-cloud { display: flex; flex-wrap: wrap; gap: 9px; padding: 3px; }
.major-cloud span { padding: 8px 11px; border: 1px solid #cce1e2; border-radius: 4px; background: #eaf6f5; font-size: 13px; }
.major-cloud .major-featured { border-color: #f2c7cd; color: #9e1d30; background: #fff1f3; font-weight: 700; }
.plan-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.plan-gallery .image-button { height: 490px; border-radius: 6px; background: #dff4f4; }
.plan-gallery img { height: 100%; object-fit: cover; object-position: center top; }
.source-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.campus-life { padding: 105px 0; background: #edf3f4; }
.life-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.image-tile { position: relative; border: 0; padding: 0; overflow: hidden; border-radius: 5px; background: var(--navy); cursor: zoom-in; }
.image-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.image-tile:hover img { transform: scale(1.035); }
.image-tile::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0, 23, 31, .82)); }
.image-tile span { position: absolute; z-index: 1; left: 16px; bottom: 12px; color: #fff; font-weight: 700; }
.tile-wide { grid-column: span 2; }
.tile-tall { grid-row: span 2; }

.dorm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dorm-card { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.dorm-card .image-button { width: 100%; height: 270px; }
.dorm-card img { width: 100%; height: 100%; object-fit: cover; }
.dorm-card > div { padding: 20px; }
.dorm-card > div > span { color: var(--red); font-size: 12px; font-weight: 800; }
.dorm-card h3 { margin: 5px 0 7px; font-size: 18px; }
.dorm-card p { margin: 0; color: var(--muted); font-size: 13px; }
.dorm-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.dorm-tips div { display: flex; flex-direction: column; }
.dorm-tips b { color: var(--teal); }
.dorm-tips span { margin-top: 5px; color: var(--muted); font-size: 13px; }

.maps-band { padding: 100px 0; color: #fff; background: #063c4c; }
.map-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.map-tabs button { padding: 9px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 4px; color: rgba(255,255,255,.76); background: transparent; cursor: pointer; }
.map-tabs button[aria-selected="true"] { border-color: #fff; color: var(--navy); background: #fff; font-weight: 700; }
.map-panel { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 560px; border: 1px solid rgba(255,255,255,.18); background: #fff; }
.map-image { min-height: 560px; background: #e8efeb; }
.map-image img { height: 100%; object-fit: contain; background: #f3f3e9; }
.map-copy { display: flex; flex-direction: column; justify-content: center; padding: 55px; color: var(--ink); background: #fff; }
.map-label { margin: 0; color: var(--red); font-size: 12px; font-weight: 800; }
.map-copy h3 { margin: 8px 0 14px; font-size: 28px; line-height: 1.35; }
.map-copy > p:not(.map-label) { margin: 0; color: var(--muted); }
.map-keys { display: flex; flex-direction: column; gap: 7px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.map-panel.map-empty { grid-template-columns: 1fr; }
.map-panel.map-empty .map-image { display: none; }
.map-panel.map-empty .map-copy { min-height: 340px; }

.schedule-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 65px; }
.schedule-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.schedule-points div { padding: 16px; border-left: 3px solid var(--teal); background: #e8f3f3; }
.schedule-points b { display: block; font-size: 22px; }
.schedule-points span { color: var(--muted); font-size: 12px; }
.schedule-image { height: 480px; border-radius: 6px; background: #e8f2ee; }
.schedule-image img { width: 100%; height: 100%; object-fit: contain; }

.final-callout { padding: 80px 0; color: #fff; background: var(--red); }
.final-callout .kicker { color: #ffd6dc; }
.final-callout p { color: rgba(255,255,255,.78); }
.final-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.back-top { flex: 0 0 auto; padding: 10px 15px; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; }
footer { padding: 34px 0; color: #d5e2e6; background: var(--navy-deep); }
.footer-inner { display: flex; justify-content: space-between; gap: 50px; align-items: center; }
.footer-inner div { display: flex; flex-direction: column; }
.footer-inner span, .footer-inner p { color: #8da6af; font-size: 12px; }
.footer-inner p { max-width: 560px; margin: 0; text-align: right; }

.lightbox { width: min(94vw, 1120px); max-width: none; height: min(92vh, 980px); padding: 44px 20px 20px; border: 0; border-radius: 6px; color: #fff; background: rgba(2, 27, 36, .98); box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox::backdrop { background: rgba(0, 14, 20, .82); backdrop-filter: blur(3px); }
.lightbox img { width: 100%; height: calc(100% - 34px); object-fit: contain; }
.lightbox p { margin: 10px 0 0; text-align: center; font-size: 13px; }
.lightbox-close { position: absolute; right: 13px; top: 8px; width: 34px; height: 34px; border: 0; color: #fff; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; }

@media (max-width: 900px) {
  .nav-links a { display: none; }
  .hero { min-height: 760px; }
  .hero-stats { left: 24px; right: 24px; min-width: 0; bottom: 45px; }
  .intro-grid, .fee-layout, .map-panel, .schedule-layout { grid-template-columns: 1fr; }
  .intro-grid { gap: 38px; }
  .intro-image { height: 430px; }
  .checklist-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline li { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 0; border: 0; }
  .timeline li::after { left: 23px; top: 46px; bottom: -22px; width: 1px; height: auto; }
  .timeline li:last-child::after { display: none; }
  .timeline div { margin-top: 0; }
  .map-panel { min-height: 0; }
  .map-image { min-height: 500px; }
  .map-copy { padding: 36px; }
  .schedule-layout { gap: 35px; }
}

@media (max-width: 680px) {
  .section-wrap, .topbar, .hero-content { width: min(100% - 28px, var(--max)); }
  .hero { min-height: 700px; background-position: 46% center; }
  .topbar { height: 76px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-mark span { font-size: 25px; }
  .brand-copy strong { max-width: 170px; font-size: 14px; }
  .brand-copy small { display: none; }
  .print-button { padding: 7px 9px; font-size: 12px; }
  .hero-content { padding-top: 92px; }
  .edition { position: static; display: inline-block; margin-bottom: 44px; padding: 8px 13px; font-size: 12px; }
  .hero h1 { font-size: 40px; }
  .hero-subtitle { font-size: 15px; }
  .hero-tags { gap: 7px; }
  .hero-tags span { font-size: 11px; }
  .hero-stats { left: 14px; right: 14px; bottom: 30px; grid-template-columns: repeat(4, 1fr); }
  .hero-stats div { padding: 12px 5px 0; text-align: center; }
  .hero-stats strong { font-size: 20px; }
  .hero-stats span { font-size: 9px; }
  .quick-start { width: calc(100% - 20px); margin-top: -22px; padding: 24px 18px; }
  .section-heading { align-items: flex-start; margin-bottom: 22px; }
  .section-heading h2, .intro-copy h2, .schedule-copy h2, .final-callout h2 { font-size: 30px; }
  .quick-heading { flex-direction: column; gap: 12px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .quick-grid a { min-height: 73px; padding: 9px; }
  .quick-grid b { width: 38px; height: 38px; flex-basis: 38px; margin-right: 9px; font-size: 12px; }
  .quick-grid strong { font-size: 14px; }
  .quick-grid small { font-size: 10px; }
  .intro-band { margin-top: 68px; padding: 66px 0; }
  .intro-image { height: 380px; }
  .content-section, .campus-life, .maps-band { padding-top: 72px; padding-bottom: 72px; }
  .section-heading:not(.quick-heading) { flex-direction: column; gap: 16px; }
  .progress-box { width: 100%; text-align: left; }
  .checklist-grid { grid-template-columns: 1fr; }
  .checklist-grid label { min-height: 86px; }
  .process-band { padding: 70px 0; }
  .fee-row { grid-template-columns: 1fr; padding: 12px 0; }
  .fee-row > strong { padding-top: 0; text-align: left; }
  .fee-head { display: none; }
  .major-cloud { margin-top: 10px; }
  .plan-gallery { grid-template-columns: 1fr; }
  .plan-gallery .image-button { height: 440px; }
  .life-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .tile-tall { grid-row: span 1; }
  .dorm-grid { grid-template-columns: 1fr; }
  .dorm-card .image-button { height: 230px; }
  .dorm-tips { grid-template-columns: 1fr; gap: 16px; }
  .map-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .map-tabs button { padding: 9px 6px; font-size: 12px; }
  .map-image { min-height: 460px; }
  .map-copy { padding: 28px 22px; }
  .map-copy h3 { font-size: 23px; }
  .schedule-image { height: 360px; }
  .final-grid, .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { gap: 20px; }
  .footer-inner p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  body { background: #fff; }
  .topbar, .hero-tags, .print-button, .back-top, .lightbox, .update-pill { display: none !important; }
  .hero { min-height: 410px; background-position: center; }
  .hero-content { padding-top: 75px; }
  .edition { top: 45px; }
  .hero-stats { bottom: 25px; }
  .quick-start { margin-top: 0; box-shadow: none; }
  .intro-band, .process-band, .campus-life, .maps-band, .final-callout { break-inside: avoid; }
  .content-section { padding: 55px 0; }
  .image-button > span { display: none; }
}
