:root {
  --ink: #241739;
  --muted: #6e6480;
  --paper: #f7f3ff;
  --paper-2: #eee7fb;
  --white: #ffffff;
  --line: #ded4ef;
  --deep: #241052;
  --green: #7350b6;
  --red: #9d3f9f;
  --gold: #d4b56f;
  --blue: #4f3aa5;
  --violet: #3a1676;
  --violet-2: #5d2fa6;
  --violet-3: #8f65cf;
  --rose: #a43b74;
  --shadow: 0 24px 70px rgba(50, 28, 93, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f9f6ff 0, #f2ecfb 44%, #fbf9ff 100%);
  color: var(--ink);
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  padding: 14px 42px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(34, 13, 82, 0.92), rgba(73, 28, 130, 0.88));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(37, 17, 83, 0.94);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(50, 28, 93, 0.2);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  color: currentColor;
  font-size: 0.94rem;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a:focus-visible,
.site-header.is-open .main-nav a:hover,
.site-header.is-open .main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 72svh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) hue-rotate(22deg) brightness(0.7);
}

.hero-overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 46%, rgba(132, 65, 178, 0.32), transparent 34%),
    linear-gradient(180deg, rgba(37, 14, 83, 0.74), rgba(37, 14, 83, 0.9)),
    linear-gradient(90deg, rgba(27, 10, 61, 0.76), rgba(90, 38, 137, 0.36) 55%, rgba(30, 11, 72, 0.7));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(1160px, calc(100% - 48px));
  min-height: 72svh;
  margin: 0 auto;
  padding: 118px 0 48px;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: #e9d7a3;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 3.15rem;
  line-height: 1.04;
  font-weight: 900;
}

.hero-lede {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.primary-action {
  background: linear-gradient(135deg, var(--violet-2), var(--rose));
  color: var(--white);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  margin-top: 34px;
}

.hero-metrics div {
  min-height: 90px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.notice-bar {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 9px max(24px, calc((100% - 1160px) / 2));
  background: linear-gradient(90deg, #5a2291, #7d3bb1);
  color: var(--white);
}

.notice-bar strong {
  color: #f4db92;
}

.notice-bar a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 0.93rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-bar span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(1160px, calc(100% - 48px));
  margin: 28px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(45, 21, 93, 0.12);
  position: relative;
  z-index: 5;
}

.quick-links a {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 12px;
  color: var(--deep);
  font-weight: 700;
  text-align: center;
}

.quick-links a + a {
  border-left: 1px solid var(--line);
}

.quick-links a:hover,
.quick-links a:focus-visible {
  background: #f0e8ff;
  outline: none;
}

.hero-screen-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hero-screen-slides {
  z-index: 0;
}

.hero-screen-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

#screen-1:checked ~ .hero-media .slide-one,
#screen-2:checked ~ .hero-media .slide-two,
#screen-3:checked ~ .hero-media .slide-three {
  opacity: 1;
  visibility: visible;
}

.hero-news-captions {
  position: relative;
  width: min(640px, 100%);
  min-height: 118px;
  margin-top: 22px;
}

.hero-news-caption {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  justify-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hero-news-caption span {
  display: inline-block;
  color: #f4db92;
  font-size: 0.92rem;
  font-weight: 900;
}

.hero-news-caption h2 {
  margin: 8px 0 0;
  color: var(--white);
  font-size: 1.85rem;
  line-height: 1.15;
}

.hero-news-caption p {
  max-width: 560px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

#screen-1:checked ~ .hero-inner .caption-one,
#screen-2:checked ~ .hero-inner .caption-two,
#screen-3:checked ~ .hero-inner .caption-three {
  opacity: 1;
  visibility: visible;
}

.screen-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(90deg, var(--violet), var(--violet-2));
}

.screen-controls label {
  position: relative;
  display: grid;
  min-height: 54px;
  place-items: center;
  padding: 9px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  cursor: pointer;
}

.screen-controls label::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
}

.screen-controls label + label {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

#screen-1:checked ~ .hero-inner .screen-controls label[for="screen-1"],
#screen-2:checked ~ .hero-inner .screen-controls label[for="screen-2"],
#screen-3:checked ~ .hero-inner .screen-controls label[for="screen-3"] {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.hero.is-auto-playing #screen-1:checked ~ .hero-inner .screen-controls label[for="screen-1"]::after,
.hero.is-auto-playing #screen-2:checked ~ .hero-inner .screen-controls label[for="screen-2"]::after,
.hero.is-auto-playing #screen-3:checked ~ .hero-inner .screen-controls label[for="screen-3"]::after {
  animation: heroTicker 5.2s linear forwards;
}

.hero-screen-controls {
  width: min(520px, 100%);
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(26, 8, 61, 0.16);
}

.section {
  padding: 90px 0;
}

.section-heading,
.gallery-intro,
.cloud-section,
.service-section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 1160px;
}

.news-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.admin-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--violet-2);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(49, 27, 91, 0.08);
}

.admin-action:hover,
.admin-action:focus-visible {
  border-color: var(--violet-3);
  background: #f3ecff;
  outline: none;
}

.section-heading h2,
.cloud-copy h2,
.service-block h2,
.gallery-intro h2 {
  margin: 0;
  color: var(--deep);
  font-size: 2.55rem;
  line-height: 1.16;
}

.section-heading p:last-child,
.cloud-copy > p,
.service-block > div > p,
.gallery-intro p {
  margin: 14px 0 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.info-panel,
.faculty-grid article,
.service-block,
.news-feature {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(49, 27, 91, 0.08);
}

.info-panel {
  min-height: 260px;
  padding: 24px;
}

.profile-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.75fr);
  grid-template-rows: repeat(2, 210px);
  gap: 14px;
  width: min(1160px, calc(100% - 48px));
  margin: 18px auto 0;
}

.profile-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ded7cf;
}

.profile-gallery .profile-photo-primary {
  grid-row: 1 / 3;
}

.profile-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms ease;
}

.profile-gallery figure:hover img {
  transform: scale(1.025);
}

.profile-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(24, 13, 35, 0.78));
  color: var(--white);
}

.profile-gallery figcaption strong,
.profile-gallery figcaption span {
  display: block;
}

.profile-gallery figcaption span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  text-align: right;
}

.panel-index {
  display: inline-block;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 800;
}

.info-panel h3,
.faculty-grid h3,
.news-feature h3,
.route-detail h3,
.art-caption h3 {
  margin: 12px 0 8px;
  color: var(--deep);
  font-size: 1.28rem;
  line-height: 1.25;
}

.info-panel p,
.faculty-grid p,
.news-feature p,
.route-detail p,
.art-caption p {
  margin: 0;
  color: var(--muted);
}

.news-section {
  background: #fbf9ff;
}

.news-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.news-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  min-height: 246px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(242, 234, 255, 0.95)),
    radial-gradient(circle at 80% 10%, rgba(158, 99, 198, 0.14), transparent 40%);
}

.date-badge {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet-2), var(--rose));
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 900;
}

.tag,
.faculty-grid span {
  margin: 0;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
}

.news-list {
  display: grid;
  gap: 10px;
}

.news-list a {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f1ff;
}

.news-list a:hover,
.news-list a:focus-visible {
  border-color: var(--violet-3);
  background: #efe7fb;
  outline: none;
}

.news-list .news-date {
  color: var(--red);
  font-weight: 900;
}

.news-list span {
  color: var(--deep);
  font-weight: 700;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.faculty-grid article {
  min-height: 220px;
  padding: 24px;
}

.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 0;
}

.service-block {
  min-height: 360px;
  padding: 30px;
}

.recruit-block {
  background:
    radial-gradient(circle at 85% 20%, rgba(194, 101, 192, 0.28), transparent 34%),
    linear-gradient(135deg, #2a105f, #4d2082);
  color: var(--white);
}

.recruit-block h2,
.recruit-block .service-list li {
  color: var(--white);
}

.recruit-block p {
  color: rgba(255, 255, 255, 0.76);
}

.service-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding: 13px 14px 13px 36px;
  border-radius: 8px;
  background: rgba(117, 80, 182, 0.1);
  color: var(--deep);
  font-weight: 700;
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.avatar-shell {
  position: relative;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8ddff, #fff);
}

.avatar-person {
  position: relative;
  display: block;
  width: 23px;
  height: 25px;
  margin-top: -8px;
  border: 1px solid rgba(72, 37, 104, 0.12);
  border-radius: 48% 48% 45% 45%;
  background:
    radial-gradient(circle at 35% 50%, #3b2451 0 1px, transparent 1.8px),
    radial-gradient(circle at 65% 50%, #3b2451 0 1px, transparent 1.8px),
    radial-gradient(ellipse at 50% 72%, #b86f78 0 2px, transparent 2.6px),
    #f1c9b6;
  box-shadow: inset 0 -3px 5px rgba(174, 98, 102, 0.12);
}

.avatar-person::before {
  content: "";
  position: absolute;
  top: -4px;
  right: 0;
  left: 0;
  height: 11px;
  border-radius: 12px 12px 7px 7px;
  background: linear-gradient(135deg, #28133f, #654087);
  transform: rotate(-2deg);
}

.avatar-person::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 50%;
  width: 39px;
  height: 22px;
  border-top: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 20px 20px 9px 9px;
  background: linear-gradient(135deg, #64369e, #351962);
  box-shadow: 0 3px 8px rgba(44, 19, 78, 0.2);
  transform: translateX(-50%);
}

.avatar-ring {
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(143, 101, 207, 0.38);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}

.chat-window {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 170px;
  padding: 18px;
  background: #fbf8ff;
  overflow: auto;
}

.chat-window p {
  max-width: 86%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
}

.chat-window .bot {
  align-self: flex-start;
  background: var(--paper-2);
}

.chat-window .user {
  align-self: flex-end;
  background: var(--violet);
  color: var(--white);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
}

.chat-form button,
.route-tabs button,
.gallery-controls button,
.stage-actions button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.chat-form button {
  min-width: 72px;
  min-height: 42px;
  background: var(--violet-2);
  color: var(--white);
  font-weight: 800;
}

.cloud-section {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  height: clamp(650px, 76svh, 760px);
  min-height: 650px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #1d1430;
  color: var(--white);
}

.campus-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.02);
  transform: scale(1.001);
  transition: opacity 320ms ease, transform 900ms ease, filter 320ms ease;
}

.campus-tour-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(23, 11, 48, 0.84) 0%, rgba(28, 14, 54, 0.52) 44%, rgba(19, 10, 35, 0.12) 72%),
    linear-gradient(180deg, rgba(19, 9, 38, 0.28) 0%, rgba(18, 9, 33, 0.08) 36%, rgba(16, 8, 29, 0.9) 100%);
  pointer-events: none;
}

.cloud-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(430px, 1.18fr);
  gap: clamp(40px, 6vw, 82px);
  align-items: stretch;
  width: min(1160px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  padding: 68px 0 48px;
}

.cloud-copy {
  align-self: start;
  max-width: 570px;
}

.cloud-copy .eyebrow {
  color: #f0cf82;
}

.cloud-copy h2 {
  color: var(--white);
  text-shadow: 0 4px 24px rgba(10, 4, 22, 0.28);
}

.cloud-copy > p {
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 14px rgba(9, 4, 18, 0.32);
}

.route-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.route-tabs button,
.gallery-controls button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--deep);
  font-weight: 800;
}

.cloud-section .route-tabs button {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(24, 11, 47, 0.42);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(9, 4, 20, 0.12);
  backdrop-filter: blur(12px);
}

.route-tabs button.active,
.gallery-controls button.active {
  border-color: var(--violet-2);
  background: var(--violet-2);
  color: var(--white);
}

.cloud-section .route-tabs button.active,
.cloud-section .route-tabs button:hover,
.cloud-section .route-tabs button:focus-visible {
  border-color: #e4c476;
  background: rgba(93, 47, 166, 0.88);
  color: var(--white);
  outline: none;
}

.route-detail {
  margin-top: 18px;
  max-width: 540px;
  padding: 9px 0 9px 18px;
  border-left: 3px solid #e4c476;
  transition: opacity 240ms ease, transform 320ms ease;
}

.cloud-section .route-detail h3 {
  color: var(--white);
}

.cloud-section .route-detail p {
  color: rgba(255, 255, 255, 0.74);
}

.campus-tour {
  position: relative;
  align-self: end;
  display: grid;
  min-width: 0;
  padding-bottom: 4px;
}

.campus-tour-counter {
  display: inline-grid;
  min-width: 76px;
  min-height: 38px;
  padding: 7px 12px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(25, 12, 46, 0.46);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(10px);
}

.campus-scene-status {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #f0cf82;
  font-size: 0.82rem;
  font-weight: 900;
  transition: opacity 240ms ease, transform 320ms ease;
}

.campus-tour-copy {
  max-width: 680px;
  margin-top: 14px;
  color: var(--white);
  text-shadow: 0 3px 20px rgba(8, 3, 18, 0.42);
  transition: opacity 240ms ease, transform 320ms ease;
}

.campus-tour-copy h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.campus-tour-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.campus-tour-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 24px;
}

.campus-tour-actions button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(24, 11, 47, 0.48);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.campus-tour-actions button:hover,
.campus-tour-actions button:focus-visible {
  border-color: #e4c476;
  background: rgba(93, 47, 166, 0.84);
  outline: none;
}

.campus-prev-step {
  width: 48px;
  padding: 0;
  font-size: 1.65rem;
  line-height: 1;
}

.campus-next-step {
  gap: 10px;
  min-width: 132px;
  padding: 8px 16px;
  font-weight: 900;
}

.footprint-icon,
.campus-step-mark {
  position: relative;
  display: block;
  width: 31px;
  height: 34px;
  flex: 0 0 auto;
}

.footprint-icon i,
.campus-step-mark i {
  position: absolute;
  width: 11px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 55% 55% 48% 48%;
}

.footprint-icon i:first-child,
.campus-step-mark i:first-child {
  top: 0;
  left: 3px;
  transform: rotate(-22deg);
}

.footprint-icon i:last-child,
.campus-step-mark i:last-child {
  right: 3px;
  bottom: 0;
  transform: rotate(22deg);
}

.campus-scene-strip {
  position: relative;
  display: flex;
  gap: clamp(12px, 3vw, 30px);
  margin-top: 26px;
  transition: opacity 240ms ease, transform 320ms ease;
}

.campus-scene-strip button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
  transition: color 200ms ease, transform 200ms ease;
}

.campus-scene-strip button.active,
.campus-scene-strip button:hover,
.campus-scene-strip button:focus-visible {
  color: #f0cf82;
  transform: translateY(-2px);
  outline: none;
}

.campus-scene-strip button > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cloud-section.is-changing .campus-backdrop {
  opacity: 0.36;
  filter: saturate(0.72) contrast(0.96);
  transform: scale(1.035);
}

.cloud-section.is-changing .route-detail,
.cloud-section.is-changing .campus-scene-status,
.cloud-section.is-changing .campus-tour-copy,
.cloud-section.is-changing .campus-scene-strip {
  opacity: 0;
  transform: translateY(10px);
}

.school-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  margin: 0 0 88px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(45, 21, 93, 0.08);
  backdrop-filter: blur(12px);
}

.school-stats div {
  min-height: 126px;
  padding: 22px 18px;
  text-align: center;
}

.school-stats div + div {
  border-left: 1px solid var(--line);
}

.school-stats strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  color: var(--violet-2);
  font-size: 1.75rem;
  line-height: 1.1;
  white-space: nowrap;
}

.school-stats span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(35, 14, 82, 0.82), rgba(23, 9, 59, 0.92)),
    url("清学美术课和社团优秀作品/2026-06-15 085845.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 26%, rgba(164, 59, 116, 0.34), transparent 28%),
    radial-gradient(circle at 78% 72%, rgba(83, 58, 165, 0.34), transparent 34%);
  pointer-events: none;
}

.gallery-section > * {
  position: relative;
  z-index: 1;
}

.gallery-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.gallery-intro h2,
.gallery-intro p {
  color: var(--white);
}

.gallery-intro p {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.74);
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 360px;
}

.museum-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1160px, calc(100% - 48px));
  margin: 28px auto 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(24, 9, 58, 0.72);
  box-shadow: 0 24px 70px rgba(18, 7, 45, 0.28);
  backdrop-filter: blur(14px);
}

.museum-entry span {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.museum-entry strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1.2;
}

.museum-entry p {
  max-width: 620px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.museum-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.gallery-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.gallery-action.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--violet-2), var(--rose));
}

.gallery-action:hover,
.gallery-action:focus-visible {
  border-color: var(--gold);
  outline: none;
}

.gallery-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 18px;
  width: min(1160px, calc(100% - 48px));
  margin: 34px auto 0;
}

.gallery-photo {
  min-height: 520px;
  padding: 12px;
  overflow: hidden;
  border-radius: 8px;
  background: #eee7dc;
  box-shadow: 0 24px 70px rgba(18, 7, 45, 0.34);
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.96) contrast(0.98);
  transform-origin: center;
  transition: transform 280ms ease;
}

.gallery-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 28%, rgba(143, 101, 207, 0.26), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #160a35;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 24px 70px rgba(18, 7, 45, 0.34);
}

body.museum-mode {
  overflow: hidden;
}

body.museum-mode .site-header {
  transform: translateY(-100%);
}

body.museum-mode .gallery-stage {
  position: fixed;
  inset: 0;
  z-index: 120;
  min-height: 100svh;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(143, 101, 207, 0.2), transparent 36%),
    linear-gradient(180deg, #17082f 0%, #0d061d 100%);
  box-shadow: none;
}

body.museum-mode .floating-assistant {
  display: none;
}

body.museum-mode .gallery-layout {
  z-index: 125;
}

body.museum-mode .art-strip {
  display: none;
}

#gallery3d {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

body.museum-mode #gallery3d {
  min-height: 100svh;
  cursor: grab;
  touch-action: none;
}

body.museum-mode #gallery3d:active {
  cursor: grabbing;
}

body.museum-moving #gallery3d {
  cursor: progress;
}

.museum-tourbar {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: 18px;
  left: 18px;
  z-index: 8;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  pointer-events: none;
}

.museum-tourbar span,
.museum-tourbar strong,
.tour-actions,
.museum-route,
.stage-actions button,
.art-caption {
  box-shadow: 0 18px 46px rgba(9, 3, 26, 0.26);
}

.museum-tourbar span,
.museum-tourbar strong {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(15, 6, 37, 0.62);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.museum-tourbar span {
  color: var(--gold);
  font-weight: 900;
}

.museum-tourbar strong {
  justify-self: center;
  max-width: min(440px, 42vw);
  letter-spacing: 0;
  text-align: center;
  transition: color 220ms ease, border-color 220ms ease;
}

.tour-actions {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(15, 6, 37, 0.62);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.museum-tourbar button {
  min-height: 38px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding: 7px 12px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.museum-tourbar button:first-child {
  border-left: 0;
}

.museum-tourbar .tour-icon-action {
  width: 38px;
  padding-right: 0;
  padding-left: 0;
  font-size: 1.12rem;
  line-height: 1;
}

.museum-tourbar button.active,
.museum-tourbar button[aria-pressed="true"] {
  background: var(--gold);
  color: #241739;
}

body.museum-mode .tour-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.museum-moving .museum-tourbar strong {
  border-color: rgba(212, 181, 111, 0.54);
  color: #f1d38d;
}

.stage-actions {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.stage-actions button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep);
  font-size: 1.6rem;
  line-height: 1;
}

body.museum-mode .stage-actions {
  top: auto;
  right: auto;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}

body.museum-mode .stage-actions button {
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 2rem;
}

.stage-actions button:disabled {
  cursor: default;
  opacity: 0.34;
}

body.museum-zoom .stage-actions button {
  background: rgba(255, 255, 255, 0.84);
}

.art-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 430px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(31, 13, 69, 0.64), rgba(19, 8, 47, 0.5));
  color: var(--white);
  box-shadow: 0 18px 46px rgba(9, 3, 26, 0.2);
  backdrop-filter: blur(16px) saturate(1.1);
}

body.museum-mode .art-caption {
  right: auto;
  bottom: 28px;
  left: 28px;
  max-width: min(430px, calc(100vw - 56px));
}

body.museum-zoom .art-caption {
  transform: translateY(10px);
  opacity: 0.86;
}

body.museum-mode .art-caption,
body.museum-mode .museum-route,
body.museum-mode .stage-actions {
  transition: opacity 280ms ease, transform 280ms ease;
}

body.museum-entering .art-caption,
body.museum-entering .museum-route,
body.museum-entering .stage-actions {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

body.museum-entering .stage-actions {
  transform: translate(-50%, 10px);
}

.art-caption span {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
}

.art-caption h3,
.art-caption p {
  color: var(--white);
}

.art-caption p {
  color: rgba(255, 255, 255, 0.76);
}

.museum-route {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  width: min(360px, 38%);
  gap: 6px;
  overflow-x: auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(16, 6, 38, 0.62);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.museum-route::-webkit-scrollbar {
  display: none;
}

.museum-route-divider {
  flex: 0 0 1px;
  width: 1px;
  height: 22px;
  align-self: center;
  margin: 0 3px;
  background: rgba(212, 181, 111, 0.52);
}

.museum-route button {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
}

.museum-route button.active,
.museum-route button:hover,
.museum-route button:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: #241739;
  outline: none;
}

.museum-route button[data-zone="1"] {
  border-color: rgba(208, 190, 225, 0.36);
}

.museum-route button[data-zone="2"] {
  border-color: rgba(212, 181, 111, 0.38);
}

.museum-route button[data-zone="3"] {
  border-color: rgba(180, 204, 196, 0.4);
}

body.museum-mode .museum-route {
  right: 28px;
  bottom: 28px;
  width: min(430px, 36vw);
}

.art-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: min(1160px, calc(100% - 48px));
  margin: 16px auto 0;
}

.art-thumb {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 78px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  text-align: left;
}

.art-thumb.active,
.art-thumb:hover,
.art-thumb:focus-visible {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.thumb-swatch {
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper-2);
}

.thumb-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-thumb strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
}

.art-thumb span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.artwork-dialog {
  width: min(640px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(18, 7, 45, 0.36);
}

.artwork-dialog::backdrop {
  background: rgba(18, 7, 45, 0.62);
  backdrop-filter: blur(6px);
}

.artwork-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.dialog-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.dialog-heading h2 {
  margin: 0;
  color: var(--deep);
  font-size: 2rem;
  line-height: 1.15;
}

.dialog-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f4ff;
  color: var(--deep);
  cursor: pointer;
  font-size: 1.3rem;
}

.artwork-form label,
.editor-form label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-weight: 800;
}

.artwork-form input,
.artwork-form textarea,
.editor-form input,
.editor-form textarea,
.editor-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--ink);
}

.artwork-form textarea,
.editor-form textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.artwork-preview {
  width: 100%;
  max-height: 280px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--paper);
}

.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dialog-actions span {
  color: var(--muted);
  font-size: 0.9rem;
}

.dialog-actions button,
.editor-form button,
.editor-card-actions button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--violet-2), var(--rose));
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.editor-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 18% 18%, rgba(143, 101, 207, 0.18), transparent 34%),
    linear-gradient(180deg, #f9f6ff, #eee7fb);
}

.editor-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 118px 0 80px;
}

.editor-hero {
  padding: 34px 0 28px;
}

.editor-hero h1 {
  margin: 0;
  color: var(--deep);
  font-size: 2.8rem;
  line-height: 1.12;
}

.editor-hero p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
}

.editor-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.editor-form,
.editor-panel,
.editor-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 60px rgba(45, 21, 93, 0.12);
}

.editor-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.editor-cover-preview {
  width: 100%;
  max-height: 260px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--paper);
}

.switch-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.switch-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--violet-2);
}

.wechat-panel {
  padding: 16px;
  border: 1px solid #e4d8f4;
  border-radius: 8px;
  background: #f7f1ff;
}

.wechat-panel strong {
  color: var(--deep);
}

.wechat-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editor-actions .secondary-button,
.editor-card-actions button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--violet-2);
}

.editor-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--rose);
  font-weight: 800;
}

.editor-panel {
  padding: 24px;
}

.editor-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.editor-panel-head h2 {
  margin: 0;
  color: var(--deep);
  font-size: 1.8rem;
  line-height: 1.16;
}

.editor-panel-head > span {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--violet-2);
  color: var(--white);
  font-weight: 900;
}

.editor-records {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.editor-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8ff;
}

.editor-card h3 {
  margin: 10px 0 6px;
  color: var(--deep);
  font-size: 1.08rem;
  line-height: 1.28;
}

.editor-card p {
  margin: 0;
  color: var(--muted);
}

.editor-card small {
  display: block;
  margin-top: 8px;
  color: var(--rose);
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-right: 6px;
  padding: 3px 8px;
  border-radius: 8px;
  background: #eee7fb;
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.status-pill.published {
  background: #e7ddff;
  color: var(--violet);
}

.status-pill.draft {
  background: #f4e8f2;
  color: var(--rose);
}

.status-pill.wechat {
  background: #f6efd8;
  color: #6f5420;
}

.editor-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.editor-card-actions button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.82rem;
}

.editor-card-actions .danger-button {
  border-color: #e2b7c6;
  background: #fff7fa;
  color: #9a234f;
}

.editor-card-actions .danger-button:hover,
.editor-card-actions .danger-button:focus-visible {
  background: #f9e7ee;
}

.editor-empty {
  margin: 0;
  padding: 20px 4px;
  color: var(--muted);
  text-align: center;
}

.editor-preview {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 26px;
}

.editor-preview h2 {
  margin: 0;
  color: var(--deep);
  font-size: 2rem;
  line-height: 1.18;
}

.editor-preview p {
  margin: 0;
  color: var(--muted);
}

.editor-preview img {
  width: 100%;
  max-height: 360px;
  border-radius: 8px;
  object-fit: cover;
}

.editor-preview strong {
  color: var(--deep);
  font-size: 1.08rem;
}

.editor-page.is-admin-locked {
  overflow: hidden;
}

.admin-auth-shell {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow-y: auto;
  padding: 32px 20px;
  background:
    linear-gradient(115deg, rgba(28, 9, 68, 0.94), rgba(72, 28, 126, 0.82)),
    url("assets/campus/campus-building.webp") center / cover no-repeat;
}

.admin-auth-panel {
  width: min(460px, 100%);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(15, 4, 41, 0.34);
  backdrop-filter: blur(16px);
}

.admin-auth-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.admin-auth-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.admin-auth-brand div {
  display: grid;
  gap: 1px;
}

.admin-auth-brand strong {
  color: var(--deep);
  font-size: 1rem;
}

.admin-auth-brand span {
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-auth-panel h1 {
  margin: 4px 0 0;
  color: var(--deep);
  font-size: 2rem;
  line-height: 1.2;
}

.admin-auth-description {
  margin: 12px 0 22px;
  color: var(--muted);
}

.admin-auth-form,
.admin-setup-fields,
.admin-password-form {
  display: grid;
  gap: 15px;
}

.admin-auth-form label,
.admin-password-form label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-weight: 800;
}

.admin-auth-form input,
.admin-password-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.admin-auth-form input:focus,
.admin-password-form input:focus {
  border-color: var(--violet-2);
  box-shadow: 0 0 0 3px rgba(93, 47, 166, 0.14);
}

.admin-auth-form > button,
.admin-password-form button[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--violet-2), var(--rose));
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.admin-auth-form > button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.admin-auth-status,
.admin-password-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--violet-2);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-auth-status.is-error,
.admin-password-status.is-error {
  color: #9a234f;
}

.admin-auth-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.admin-auth-back {
  display: inline-block;
  margin-top: 14px;
  color: var(--violet-2);
  font-size: 0.88rem;
  font-weight: 800;
}

.admin-nav-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.admin-nav-button:hover,
.admin-nav-button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.admin-security-state {
  width: fit-content;
  margin-top: 16px !important;
  border-left: 3px solid var(--gold);
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--violet-2) !important;
  font-size: 0.88rem;
  font-weight: 800;
}

.admin-password-dialog {
  width: min(460px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(15, 4, 41, 0.34);
}

.admin-password-dialog::backdrop {
  background: rgba(24, 9, 55, 0.72);
  backdrop-filter: blur(8px);
}

.admin-password-form {
  padding: 28px;
}

.admin-password-form h2 {
  margin: 0;
  color: var(--deep);
  font-size: 1.8rem;
  line-height: 1.2;
}

.admin-password-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.admin-password-actions button {
  min-height: 42px;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 900;
}

.admin-password-actions .secondary-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--violet-2);
}

.floating-assistant {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(222, 212, 239, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(35, 14, 82, 0.24);
  backdrop-filter: blur(18px);
}

.assistant-minimize {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.assistant-toggle {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 66px;
  border: 0;
  padding: 10px 52px 10px 12px;
  background: linear-gradient(135deg, rgba(58, 22, 118, 0.96), rgba(93, 47, 166, 0.96));
  color: var(--white);
  cursor: pointer;
  text-align: left;
}

.assistant-toggle .avatar-shell {
  width: 44px;
  height: 44px;
}

.assistant-toggle .avatar-person {
  transform: scale(0.86);
  transform-origin: center;
}

.assistant-toggle strong,
.assistant-toggle small {
  display: block;
  line-height: 1.25;
}

.assistant-toggle small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
}

.assistant-panel {
  display: grid;
  grid-template-rows: 1fr auto;
}

.floating-assistant.is-collapsed {
  width: min(230px, calc(100vw - 32px));
}

.floating-assistant.is-collapsed .assistant-minimize {
  display: none;
}

.floating-assistant.is-collapsed .assistant-panel {
  display: none;
}

.floating-assistant .chat-window {
  max-height: 240px;
}

.floating-assistant .chat-form {
  background: var(--white);
}

.portal-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 20% 18%, rgba(143, 101, 207, 0.18), transparent 34%),
    linear-gradient(180deg, #f9f6ff, #eee7fb);
}

.portal-main {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 120px 24px 48px;
}

.portal-card {
  width: min(560px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(50, 28, 93, 0.18);
}

.portal-card h1 {
  margin: 0;
  color: var(--deep);
  font-size: 2.4rem;
  line-height: 1.15;
}

.portal-card > p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.portal-form {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.portal-form label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-weight: 800;
}

.portal-form input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--ink);
}

.portal-form button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet-2), var(--rose));
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.portal-back {
  display: inline-block;
  margin-top: 18px;
  color: var(--violet-2);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px max(24px, calc((100% - 1160px) / 2));
  background: #170932;
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.staff-portal-link {
  display: inline-block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
}

.staff-portal-link:hover,
.staff-portal-link:focus-visible {
  color: var(--gold);
  outline: none;
}

.site-footer a {
  min-width: 92px;
  color: var(--gold);
  font-weight: 800;
}

.site-footer .staff-portal-link {
  min-width: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  font-weight: 500;
}

.site-footer .staff-portal-link:hover,
.site-footer .staff-portal-link:focus-visible {
  color: var(--gold);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes heroTicker {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-screen-slide,
  .hero-news-caption {
    transition: none;
  }

  .hero.is-auto-playing .screen-controls label::after {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .site-header {
    padding: 14px 24px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 14px 24px 24px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    box-shadow: 0 18px 40px rgba(15, 47, 55, 0.12);
  }

  .site-header.is-open .main-nav {
    display: grid;
  }

  .main-nav a {
    min-height: 48px;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero-news-captions {
    min-height: 112px;
  }

  .about-grid,
  .faculty-grid,
  .art-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-layout,
  .service-section,
  .cloud-section,
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .cloud-section {
    height: clamp(710px, 82svh, 790px);
  }

  .cloud-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 26px;
    padding-top: 56px;
    padding-bottom: 38px;
  }

  .cloud-copy {
    max-width: 760px;
  }

  .campus-tour {
    align-self: end;
  }

  .gallery-photo,
  .gallery-stage,
  #gallery3d {
    min-height: 460px;
  }

  body.museum-mode .gallery-stage,
  body.museum-mode #gallery3d {
    min-height: 100svh;
  }

  .gallery-intro {
    display: block;
  }

  .news-heading {
    align-items: start;
  }

  .museum-entry {
    align-items: flex-start;
  }

  .gallery-controls {
    justify-content: flex-start;
    min-width: 0;
    margin-top: 18px;
  }

  .editor-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    max-width: 190px;
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .main-nav {
    top: 70px;
    grid-template-columns: 1fr;
    padding: 10px 18px 20px;
  }

  .hero,
  .hero-inner {
    min-height: 82svh;
  }

  .hero-inner {
    width: min(100% - 32px, 1160px);
    padding-top: 96px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-metrics,
  .quick-links,
  .about-grid,
  .faculty-grid,
  .art-strip,
  .school-stats {
    grid-template-columns: 1fr;
  }

  .profile-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    width: min(100% - 32px, 1160px);
  }

  .profile-gallery .profile-photo-primary {
    grid-row: auto;
    min-height: 300px;
  }

  .profile-gallery figure:not(.profile-photo-primary) {
    min-height: 220px;
  }

  .profile-gallery figcaption {
    align-items: start;
    flex-direction: column;
    gap: 3px;
  }

  .profile-gallery figcaption span {
    text-align: left;
  }

  .hero-metrics div {
    min-height: 74px;
  }

  .quick-links {
    width: min(100% - 32px, 1160px);
    margin-top: 16px;
  }

  .hero-news-captions {
    min-height: 124px;
  }

  .hero-news-caption h2 {
    font-size: 1.65rem;
  }

  .hero-news-caption p {
    font-size: 0.96rem;
  }

  .screen-controls {
    grid-template-columns: 1fr;
  }

  .hero-screen-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .screen-controls label + label {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  .notice-bar {
    padding-right: 16px;
    padding-left: 16px;
  }

  .school-stats {
    width: 100%;
    margin-bottom: 64px;
  }

  .school-stats div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .quick-links a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading,
  .gallery-intro,
  .museum-entry,
  .service-section,
  .about-grid,
  .faculty-grid,
  .news-layout,
  .gallery-layout,
  .art-strip,
  .profile-gallery {
    width: min(100% - 32px, 1160px);
  }

  .news-heading,
  .museum-entry,
  .dialog-actions,
  .editor-actions {
    display: grid;
    justify-items: start;
  }

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

  .editor-main {
    width: min(100% - 32px, 1180px);
    padding-top: 94px;
  }

  .editor-hero h1 {
    font-size: 2.2rem;
  }

  .section-heading h2,
  .cloud-copy h2,
  .service-block h2,
  .gallery-intro h2 {
    font-size: 2rem;
  }

  .news-feature {
    grid-template-columns: 1fr;
  }

  .news-list a {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .cloud-section {
    width: 100%;
    height: 790px;
    min-height: 790px;
  }

  .cloud-shell {
    width: min(100% - 32px, 1160px);
    gap: 22px;
    padding-top: 48px;
    padding-bottom: 30px;
  }

  .cloud-copy > p {
    margin-top: 10px;
    font-size: 0.94rem;
  }

  .route-tabs {
    margin-top: 18px;
  }

  .cloud-section .route-tabs button {
    min-height: 38px;
    padding: 7px 11px;
  }

  .route-detail {
    margin-top: 14px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .route-detail h3 {
    margin-top: 4px;
    font-size: 1.08rem;
  }

  .route-detail p {
    font-size: 0.85rem;
    line-height: 1.55;
  }

  .campus-tour-copy {
    margin-top: 10px;
  }

  .campus-tour-copy h3 {
    margin-bottom: 7px;
    font-size: 2rem;
  }

  .campus-tour-copy p {
    font-size: 0.9rem;
  }

  .campus-scene-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 17px;
  }

  .campus-scene-strip button {
    display: grid;
    gap: 3px;
    justify-items: center;
    min-width: 0;
    text-align: center;
  }

  .campus-step-mark {
    transform: scale(0.84);
  }

  .campus-scene-strip button > span:last-child {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .campus-tour-actions {
    margin-top: 17px;
  }

  .gallery-photo {
    min-height: 330px;
  }

  .gallery-stage,
  #gallery3d {
    min-height: 500px;
  }

  body.museum-mode .gallery-stage,
  body.museum-mode #gallery3d {
    min-height: 100svh;
  }

  .museum-tourbar {
    grid-template-columns: auto auto;
    align-items: start;
    right: 12px;
    left: 12px;
    gap: 10px;
  }

  .museum-tourbar strong {
    display: none;
  }

  .tour-actions {
    justify-self: end;
  }

  .museum-tourbar button {
    padding-right: 10px;
    padding-left: 10px;
  }

  .museum-route {
    right: 12px;
    bottom: 88px;
    left: 12px;
    width: auto;
    display: none;
  }

  body.museum-mode .museum-route {
    display: flex;
    right: 12px;
    bottom: 96px;
    left: 12px;
    width: auto;
  }

  body.museum-mode .stage-actions {
    bottom: 24px;
  }

  body.museum-mode .art-caption {
    right: 12px;
    bottom: 152px;
    left: 12px;
    max-width: none;
  }

  .art-caption {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .site-footer {
    display: grid;
  }

  .floating-assistant {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .floating-assistant.is-collapsed {
    width: min(220px, calc(100vw - 24px));
  }

  .floating-assistant .chat-window {
    max-height: 190px;
  }
}

/* Homepage information architecture refresh: 2026-09-30 */
section[id] {
  scroll-margin-top: 82px;
}

.site-header {
  min-height: 82px;
  padding: 14px max(28px, calc((100% - 1380px) / 2));
  background: linear-gradient(90deg, rgba(31, 10, 71, 0.94), rgba(70, 22, 119, 0.9));
}

.brand {
  min-width: 260px;
}

.brand-mark {
  width: 48px;
  height: 48px;
}

.brand strong {
  font-size: 1.08rem;
}

.main-nav {
  gap: 0;
}

.main-nav a {
  min-height: 44px;
  padding: 10px 11px;
  font-size: 0.92rem;
}

.hero,
.hero-inner {
  min-height: clamp(650px, 82svh, 820px);
}

.hero-media img {
  filter: saturate(0.84) contrast(1.02) brightness(0.78);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(27, 8, 66, 0.88) 0%, rgba(37, 12, 78, 0.66) 48%, rgba(32, 8, 63, 0.25) 78%),
    linear-gradient(180deg, rgba(25, 7, 59, 0.44) 0%, rgba(25, 7, 59, 0.16) 46%, rgba(25, 7, 59, 0.74) 100%);
}

.hero-inner {
  align-content: end;
  justify-items: start;
  width: min(1240px, calc(100% - 64px));
  padding: 132px 0 70px;
  text-align: left;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(3.4rem, 6vw, 5.45rem);
  line-height: 1.02;
}

.hero-lede {
  max-width: none;
  margin-top: 18px;
  font-size: 1.26rem;
  letter-spacing: 0.08em;
}

.hero-news-captions {
  width: min(660px, 100%);
  min-height: 114px;
  margin-top: 24px;
}

.hero-news-caption {
  justify-items: start;
}

.hero-news-caption h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.hero-news-caption p {
  max-width: 620px;
}

.hero-screen-controls {
  width: min(560px, 100%);
  margin-top: 20px;
}

.hero-actions {
  margin-top: 16px;
}

.notice-bar {
  min-height: 48px;
  padding-right: max(28px, calc((100% - 1240px) / 2));
  padding-left: max(28px, calc((100% - 1240px) / 2));
}

.quick-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1240px, calc(100% - 64px));
  margin-top: 30px;
  box-shadow: 0 18px 54px rgba(45, 21, 93, 0.1);
}

.quick-links a {
  grid-template-columns: auto 1fr;
  gap: 12px;
  justify-content: start;
  min-height: 82px;
  padding: 16px 22px;
  text-align: left;
}

.quick-links a span {
  color: var(--gold);
  font-size: 0.8rem;
}

.section {
  padding: 104px 0;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto 38px;
}

.section-title-row .section-heading {
  width: auto;
  max-width: 760px;
  margin: 0;
}

.section-heading .eyebrow,
.party-content .eyebrow,
.recruit-content .eyebrow {
  color: #9a6b25;
}

.section-heading h2,
.party-content h2,
.recruit-content h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.2vw, 4rem);
  line-height: 1.1;
}

.section-number {
  color: rgba(82, 43, 139, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 8vw, 7.2rem);
  line-height: 0.8;
}

.about-section {
  background: #fbfaf8;
}

.about-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr);
  width: min(1240px, calc(100% - 64px));
  min-height: 500px;
  margin: 0 auto;
  background: #2d145f;
}

.about-showcase figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.about-showcase figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(21, 8, 48, 0.76));
  pointer-events: none;
}

.about-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-showcase figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.about-statement {
  display: grid;
  align-content: center;
  padding: clamp(34px, 5vw, 64px);
  color: var(--white);
}

.about-statement > span {
  color: var(--gold);
  font-weight: 800;
}

.about-statement blockquote {
  margin: 18px 0 24px;
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  font-weight: 700;
  line-height: 1.35;
}

.about-statement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.section-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1240px, calc(100% - 64px));
  margin: 20px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.section-directory a {
  min-height: 112px;
  padding: 24px;
}

.section-directory a + a {
  border-left: 1px solid var(--line);
}

.section-directory span,
.section-directory small {
  display: block;
}

.section-directory span {
  color: var(--deep);
  font-size: 1.05rem;
  font-weight: 900;
}

.section-directory small {
  margin-top: 7px;
  color: var(--muted);
}

.section-directory a:hover,
.section-directory a:focus-visible {
  background: #f4effb;
  outline: none;
}

.party-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  min-height: 590px;
  padding: 0;
  background: #401128;
  color: var(--white);
}

.party-media {
  min-height: 590px;
  overflow: hidden;
}

.party-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.party-content {
  display: grid;
  align-content: center;
  padding: clamp(48px, 6vw, 92px);
  background:
    linear-gradient(135deg, rgba(106, 24, 47, 0.9), rgba(55, 14, 36, 0.98)),
    #401128;
}

.party-content .eyebrow {
  color: #ead08b;
}

.party-content h2 {
  color: var(--white);
}

.party-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.party-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.party-links a {
  min-height: 104px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.party-links strong,
.party-links span {
  display: block;
}

.party-links span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.party-links a:hover,
.party-links a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.news-section {
  background: #f7f4fb;
}

.news-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  gap: 24px;
  width: min(1240px, calc(100% - 64px));
}

.news-feature {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 560px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--white);
}

.news-feature figure {
  min-height: 330px;
  margin: 0;
  overflow: hidden;
}

.news-feature figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-feature-copy {
  position: relative;
  padding: 30px 32px 34px;
}

.news-feature-copy .date-badge {
  position: absolute;
  top: -48px;
  right: 26px;
  width: 82px;
  height: 82px;
}

.news-feature-copy h3 {
  max-width: 620px;
  font-size: 1.55rem;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  margin-top: 18px;
  color: var(--violet-2);
  font-weight: 900;
}

.news-list {
  gap: 14px;
}

.news-list a {
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  min-height: 126px;
  padding: 12px;
  background: var(--white);
}

.news-list a > img {
  width: 118px;
  height: 100px;
  border-radius: 6px;
  object-fit: cover;
}

.news-list a > span {
  align-self: center;
  min-width: 0;
  font-weight: 800;
  line-height: 1.5;
}

.news-list a > span > span,
.news-list .news-date {
  display: block;
}

.news-list .news-date {
  margin-bottom: 5px;
  color: #9a6b25;
  font-size: 0.78rem;
  font-weight: 900;
}

.faculty-section {
  background: #fff;
}

.faculty-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.45fr);
  width: min(1240px, calc(100% - 64px));
  min-height: 430px;
  margin: 0 auto 22px;
  background: #f2eef6;
}

.faculty-showcase figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.faculty-showcase figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(28, 10, 58, 0.72));
}

.faculty-showcase figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-showcase figcaption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  z-index: 1;
  color: var(--white);
  font-weight: 800;
}

.faculty-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.faculty-numbers div {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 180px;
  padding: 24px;
  border-bottom: 1px solid #d9d0e3;
  border-left: 1px solid #d9d0e3;
  text-align: center;
}

.faculty-numbers strong,
.faculty-numbers span {
  display: block;
}

.faculty-numbers strong {
  color: var(--violet-2);
  font-size: 2.55rem;
  line-height: 1;
}

.faculty-numbers span {
  margin-top: 10px;
  color: var(--muted);
}

.faculty-grid {
  gap: 0;
  width: min(1240px, calc(100% - 64px));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faculty-grid article {
  min-height: 190px;
  border: 0;
  border-radius: 0;
  padding: 28px;
  box-shadow: none;
}

.faculty-grid article + article {
  border-left: 1px solid var(--line);
}

.recruit-section {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 0;
  overflow: hidden;
  color: var(--white);
}

.recruit-section > img,
.recruit-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.recruit-section > img {
  object-fit: cover;
}

.recruit-overlay {
  background: linear-gradient(90deg, rgba(28, 9, 65, 0.91) 0%, rgba(39, 13, 76, 0.72) 52%, rgba(29, 8, 58, 0.2) 100%);
}

.recruit-content {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 64px));
  padding: 72px 0;
}

.recruit-content .eyebrow {
  color: var(--gold);
}

.recruit-content h2 {
  max-width: 720px;
  color: var(--white);
}

.recruit-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.recruit-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.recruit-points li {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.alumni-section {
  background: #fbfaf8;
}

.alumni-section .section-heading h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  text-wrap: balance;
}

.alumni-gallery {
  display: grid;
  grid-auto-rows: 250px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.alumni-card {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #ded8d1;
  color: var(--white);
  cursor: zoom-in;
  text-align: left;
}

.alumni-card-wide {
  grid-column: span 2;
}

.alumni-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(20, 9, 36, 0.84));
  pointer-events: none;
}

.alumni-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.alumni-card > span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
}

.alumni-card strong,
.alumni-card small {
  display: block;
}

.alumni-card strong {
  font-size: 1.12rem;
}

.alumni-card small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
}

.alumni-card:hover img,
.alumni-card:focus-visible img {
  transform: scale(1.035);
}

.alumni-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.alumni-lightbox {
  width: min(980px, calc(100% - 32px));
  max-height: calc(100svh - 40px);
  padding: 0;
  overflow: hidden auto;
  border: 0;
  border-radius: 8px;
  background: #171020;
  color: var(--white);
  box-shadow: 0 28px 90px rgba(18, 7, 45, 0.46);
}

.alumni-lightbox::backdrop {
  background: rgba(15, 6, 30, 0.8);
  backdrop-filter: blur(6px);
}

.alumni-lightbox > img {
  width: 100%;
  max-height: 72svh;
  object-fit: contain;
  background: #0c0811;
}

.alumni-lightbox > div {
  padding: 20px 24px 24px;
}

.alumni-lightbox .eyebrow {
  color: var(--gold);
}

.alumni-lightbox h2 {
  margin: 0;
  font-size: 1.45rem;
}

.alumni-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(15, 6, 30, 0.72);
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .alumni-card img {
    transition: none;
  }
}

.cloud-section {
  height: clamp(680px, 78svh, 800px);
  min-height: 680px;
}

.cloud-shell {
  width: min(1240px, calc(100% - 64px));
}

.school-stats {
  margin-bottom: 0;
}

.gallery-section {
  padding-top: 104px;
}

.gallery-intro,
.museum-entry,
.gallery-layout,
.art-strip {
  width: min(1240px, calc(100% - 64px));
}

.site-footer {
  padding-right: max(32px, calc((100% - 1240px) / 2));
  padding-left: max(32px, calc((100% - 1240px) / 2));
}

@media (max-width: 1180px) {
  .site-header {
    min-height: 76px;
    padding: 14px 24px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    top: 76px;
  }

  .about-showcase,
  .faculty-showcase {
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  }

  .party-section {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-inner,
  .quick-links,
  .section-title-row,
  .about-showcase,
  .section-directory,
  .news-layout,
  .faculty-showcase,
  .faculty-grid,
  .recruit-content,
  .alumni-gallery,
  .cloud-shell,
  .gallery-intro,
  .museum-entry,
  .gallery-layout,
  .art-strip {
    width: min(100% - 40px, 1240px);
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero-inner {
    padding-top: 112px;
    padding-bottom: 56px;
  }

  .about-showcase,
  .faculty-showcase,
  .party-section,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .about-showcase figure,
  .party-media,
  .faculty-showcase figure {
    min-height: 420px;
  }

  .party-content {
    padding: 64px 40px;
  }

  .section-directory {
    grid-template-columns: 1fr 1fr;
  }

  .section-directory a:nth-child(3) {
    border-left: 0;
  }

  .section-directory a:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .news-feature {
    min-height: 0;
  }

  .news-list {
    grid-template-columns: 1fr 1fr;
  }

  .news-list a {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .alumni-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding: 11px 16px;
  }

  .main-nav {
    top: 70px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-inner,
  .quick-links,
  .section-title-row,
  .about-showcase,
  .section-directory,
  .news-layout,
  .faculty-showcase,
  .faculty-grid,
  .recruit-content,
  .alumni-gallery,
  .cloud-shell,
  .gallery-intro,
  .museum-entry,
  .gallery-layout,
  .art-strip {
    width: min(100% - 32px, 1240px);
  }

  .hero-inner {
    align-content: end;
    padding: 100px 0 42px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.45rem);
  }

  .hero-lede {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }

  .hero-news-captions {
    min-height: 146px;
  }

  .hero-news-caption h2 {
    font-size: 1.55rem;
  }

  .hero-screen-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-screen-controls label {
    min-height: 48px;
    padding: 8px 5px;
    font-size: 0.78rem;
  }

  .notice-bar span {
    display: none;
  }

  .quick-links {
    grid-template-columns: 1fr 1fr;
  }

  .quick-links a {
    min-height: 68px;
    padding: 13px 14px;
  }

  .quick-links a:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .quick-links a:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 72px 0;
  }

  .section-title-row {
    align-items: start;
    margin-bottom: 28px;
  }

  .section-number {
    display: none;
  }

  .section-heading h2,
  .party-content h2,
  .recruit-content h2 {
    font-size: 2.15rem;
  }

  .about-showcase figure,
  .party-media,
  .faculty-showcase figure {
    min-height: 310px;
  }

  .about-statement {
    padding: 34px 24px;
  }

  .about-statement blockquote {
    font-size: 2rem;
  }

  .section-directory {
    grid-template-columns: 1fr;
  }

  .section-directory a + a,
  .section-directory a:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .party-content {
    padding: 48px 20px 56px;
  }

  .party-links {
    grid-template-columns: 1fr;
  }

  .news-feature figure {
    min-height: 250px;
  }

  .news-feature-copy {
    padding: 26px 22px 30px;
  }

  .news-feature-copy .date-badge {
    top: -36px;
    right: 18px;
    width: 66px;
    height: 66px;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .news-list a {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 112px;
  }

  .news-list a > img {
    width: 96px;
    height: 88px;
  }

  .faculty-numbers div {
    min-height: 134px;
  }

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

  .faculty-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .recruit-section {
    min-height: 600px;
  }

  .recruit-overlay {
    background: linear-gradient(180deg, rgba(28, 9, 65, 0.6), rgba(28, 9, 65, 0.94));
  }

  .recruit-content {
    align-self: end;
    padding: 160px 0 54px;
  }

  .recruit-points {
    display: grid;
  }

  .alumni-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .alumni-section .section-heading h2 {
    font-size: 2.15rem;
  }

  .alumni-card-wide {
    grid-column: auto;
  }

  .cloud-section {
    height: 790px;
    min-height: 790px;
  }

  .gallery-section {
    padding-top: 72px;
  }

  .site-footer p {
    font-size: 0.86rem;
  }

  .floating-assistant.is-collapsed {
    width: 68px;
  }

  .floating-assistant.is-collapsed .assistant-toggle {
    grid-template-columns: 46px;
    min-height: 62px;
    padding: 8px 11px;
  }

  .floating-assistant.is-collapsed .assistant-toggle > span:last-child {
    display: none;
  }
}

@media (max-width: 720px) {
  .admin-auth-shell {
    align-items: start;
    padding: 22px 14px;
  }

  .admin-auth-panel {
    padding: 24px 20px;
  }

  .admin-auth-panel h1 {
    font-size: 1.7rem;
  }

  .admin-nav-button {
    width: 100%;
    min-height: 42px;
    text-align: left;
  }

  .admin-password-form {
    padding: 22px 18px;
  }
}
