/* ==========================================================================
   东莞高级中学 · 官网改版
   base.css — 设计令牌、基础排版、全站组件
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #17242f;
  --ink-2: #22384a;
  --brand: #143750;
  --brand-deep: #0d2739;
  --brand-soft: #e7edf1;
  --accent: #a04a33;
  --accent-soft: #f2e7e2;
  --paper: #f6f4ee;
  --paper-2: #eeebe2;
  --white: #ffffff;
  --line: #ded8cb;
  --line-strong: #c9c2b3;
  --muted: #6f7878;
  --moss: #5f6f5a;
  --danger: #a33a2c;

  --font-serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-num: Georgia, "Times New Roman", serif;

  --container: 1240px;
  --gutter: 24px;
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-sm: 0 10px 30px rgba(23, 36, 47, .06);
  --shadow-md: 0 24px 60px rgba(23, 36, 47, .12);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.28; font-family: var(--font-serif); }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 18px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout utilities ---------- */
.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section--soft { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--ink { background: var(--brand-deep); color: #f3f0e7; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6;
}
.section--ink .eyebrow { color: rgba(243, 240, 231, .58); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-bottom: 52px;
}
.section-head__main { display: flex; flex-direction: column; gap: 12px; }
.section-head__index {
  font-family: var(--font-num); font-size: 13px; letter-spacing: .08em;
  color: var(--accent); display: flex; align-items: center; gap: 12px;
}
.section-head__index::after { content: ""; width: 40px; height: 1px; background: var(--accent); opacity: .45; }
.section-head h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  letter-spacing: .01em;
  line-height: 1.2;
}
.section-head__lead { color: var(--muted); max-width: 58ch; font-size: 15px; line-height: 1.9; }
.section-head__more {
  font-size: 13px; letter-spacing: .04em; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: color .2s, border-color .2s;
}
.section-head__more:hover { color: var(--accent); border-color: var(--accent); }
.section--ink .section-head { border-color: rgba(243,240,231,.18); }
.section--ink .section-head h2 { color: #f3f0e7; }
.section--ink .section-head__more { border-color: rgba(243,240,231,.55); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 4. Type helpers ---------- */
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.9; color: var(--ink-2); }
.muted { color: var(--muted); }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.serif { font-family: var(--font-serif); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; border-bottom: 1px solid var(--line-strong);
  padding-bottom: 5px; transition: color .2s, border-color .2s, gap .2s;
}
.link-arrow::after { content: "→"; font-size: 13px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover::after { transform: translateX(3px); }

.tag {
  display: inline-block; padding: 3px 9px 4px;
  border: 1px solid var(--line-strong);
  font-size: 11px; letter-spacing: .08em; line-height: 1.5;
  color: var(--muted); background: transparent;
}
.tag--accent { color: var(--accent); border-color: rgba(160, 74, 51, .38); background: var(--accent-soft); }
.tag--brand { color: var(--brand); border-color: rgba(20, 55, 80, .25); background: var(--brand-soft); }

/* ---------- 5. Buttons ---------- */
.btn {
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 46px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 0;
  font-size: 14px; letter-spacing: .04em;
  transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.btn::after { content: "→"; font-size: 13px; }
.btn--primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--brand-deep); border-color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: #863c29; border-color: #863c29; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 6. Header ---------- */
.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  letter-spacing: .1em;
}
.topbar__inner {
  min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.topbar__motto { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__motto span { color: rgba(255,255,255,.38); }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar__links a { transition: color .2s; }
.topbar__links a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 238, .96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.is-stuck {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(23, 36, 47, .06);
  background: rgba(250, 249, 245, .97);
}
.header__inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark {
  width: 42px; height: 42px; background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 23px; line-height: 1;
  position: relative;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,.28);
}
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__text strong {
  font-family: var(--font-serif); font-size: 21px; font-weight: 600; letter-spacing: .08em;
  line-height: 1.2;
}
.brand__text em {
  font-style: normal; font-size: 8.5px; letter-spacing: .16em; color: var(--muted);
  text-transform: uppercase; white-space: nowrap;
}

.mainnav { margin-left: auto; }
.mainnav > ul { display: flex; align-items: stretch; gap: 2px; }
.mainnav__item { position: static; }
.mainnav__link {
  display: flex; align-items: center; height: var(--header-h);
  padding: 0 12px; font-size: 14.5px; letter-spacing: .04em;
  position: relative; color: var(--ink-2); white-space: nowrap;
}
.mainnav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 18px;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.mainnav__link:hover, .mainnav__link[aria-current="page"] { color: var(--brand); }
.mainnav__link:hover::after, .mainnav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.icon-btn {
  width: 40px; height: 40px; border: 0; background: transparent;
  display: grid; place-items: center; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--paper-2); color: var(--brand); }
.icon-btn svg { width: 19px; height: 19px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong);
  background: transparent; padding: 0; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1px; background: var(--ink); content: "";
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px rgba(23, 36, 47, .08);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 60;
}
.mainnav__item:hover > .mega,
.mainnav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px;
  padding: 40px 0 44px;
}
.mega__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.mega__group-title {
  font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.mega__group li + li { margin-top: 2px; }
.mega__group a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0; font-size: 14px; color: var(--ink-2);
  transition: color .18s, padding-left .2s;
}
.mega__group a:hover { color: var(--accent); padding-left: 4px; }
.mega__group a::after { content: "↗"; font-size: 10px; opacity: 0; transition: opacity .18s; }
.mega__group a:hover::after { opacity: .7; }
.mega__feature { position: relative; display: block; min-height: 210px; overflow: hidden; background: var(--paper-2); }
.mega__feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mega__feature:hover img { transform: scale(1.03); }
.mega__feature span {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 22px 20px 18px; color: #fff;
  background: linear-gradient(transparent, rgba(10, 25, 38, .82));
  font-family: var(--font-serif); font-size: 17px;
}
.mega__feature small { display: block; font-family: var(--font-sans); font-size: 10px; letter-spacing: .16em; opacity: .7; margin-bottom: 5px; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 80; background: var(--paper);
  transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--paper); z-index: 2;
}
.mobile-nav__close { border: 0; background: transparent; font-size: 24px; line-height: 1; padding: 6px; }
.mobile-nav__body { padding: 8px var(--gutter) 40px; }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  padding: 17px 0; font-family: var(--font-serif); font-size: 19px; cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; font-family: var(--font-sans); font-size: 18px; color: var(--muted); }
.mobile-nav details[open] summary::after { content: "−"; }
.mobile-nav__sub { padding: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.mobile-nav__sub a { font-size: 14px; padding: 7px 0; color: var(--muted); }
.mobile-nav__direct { display: block; padding: 17px 0; font-family: var(--font-serif); font-size: 19px; border-bottom: 1px solid var(--line); }
.mobile-nav__foot { margin-top: 28px; display: grid; gap: 12px; }
.mobile-nav__foot .btn { justify-content: space-between; }
.mobile-nav__contact { font-size: 13px; color: var(--muted); line-height: 2; }

/* Search dialog */
.search-dialog {
  border: 0; padding: 0; background: transparent; width: min(720px, calc(100% - 32px));
  max-height: 82vh; margin: 12vh auto auto;
}
.search-dialog::backdrop { background: rgba(13, 39, 57, .62); backdrop-filter: blur(3px); }
.search-panel { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.search-panel__head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.search-panel__head input {
  flex: 1; border: 0; background: transparent; font-size: 20px; font-family: var(--font-serif); outline: none;
}
.search-panel__head input::placeholder { color: #a5a39a; }
.search-panel__close { border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--muted); }
.search-panel__body { padding: 18px 24px 24px; max-height: 54vh; overflow-y: auto; }
.search-hint { font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-bottom: 10px; }
.search-result { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-result:last-child { border-bottom: 0; }
.search-result strong { display: block; font-family: var(--font-serif); font-size: 17px; margin-bottom: 4px; }
.search-result span { font-size: 12px; color: var(--muted); }
.search-result:hover strong { color: var(--accent); }
.search-empty { padding: 28px 0; color: var(--muted); font-size: 14px; }
.search-panel__foot { border-top: 1px solid var(--line); padding: 12px 24px; font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--brand-deep);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; filter: saturate(.9); }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 25, 37, .82) 0%, rgba(9, 25, 37, .55) 42%, rgba(9, 25, 37, .12) 72%, rgba(9, 25, 37, .3) 100%),
    linear-gradient(0deg, rgba(9, 25, 37, .55), transparent 45%);
}
.hero__inner {
  position: relative; z-index: 2;
  min-height: clamp(560px, 72vh, 720px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 96px 0 44px;
}
.hero__kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .24em; color: rgba(255,255,255,.72);
  margin-bottom: 28px;
}
.hero__kicker::before { content: ""; width: 44px; height: 1px; background: rgba(255,255,255,.6); }
.hero h1 {
  font-size: clamp(46px, 6.4vw, 84px); line-height: 1.16; letter-spacing: .04em;
  font-weight: 600; text-wrap: balance; max-width: 15ch;
}
.hero h1 span { display: block; }
.hero__bottom {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
  margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.26);
}
.hero__intro { max-width: 46ch; font-size: 15px; line-height: 1.95; color: rgba(255,255,255,.82); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero__aside { text-align: right; font-size: 11px; letter-spacing: .16em; color: rgba(255,255,255,.66); line-height: 2; }
.hero__aside strong { display: block; font-family: var(--font-serif); font-size: 15px; letter-spacing: .1em; color: #fff; font-weight: 500; }

/* Notice strip */
.notice-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.notice-strip__inner { display: flex; align-items: center; gap: 26px; min-height: 62px; }
.notice-strip__label {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .14em; color: var(--accent);
  border-right: 1px solid var(--line); padding-right: 26px; align-self: stretch;
}
.notice-strip__label::before { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.notice-strip__list { display: flex; align-items: center; gap: 38px; overflow: hidden; flex: 1; }
.notice-strip__item { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; white-space: nowrap; overflow: hidden; }
.notice-strip__item span { font-family: var(--font-num); font-size: 12px; color: var(--muted); }
.notice-strip__item:hover { color: var(--accent); }
.notice-strip__more { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* Quick entries */
.quick { background: var(--paper); border-bottom: 1px solid var(--line); }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick__item {
  padding: 30px 26px 28px; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; position: relative;
  transition: background .25s, color .25s;
}
.quick__item:last-child { border-right: 1px solid var(--line); }
.quick__item:hover { background: var(--white); }
.quick__item span:first-child { font-family: var(--font-num); font-size: 11px; color: var(--accent); letter-spacing: .08em; }
.quick__item strong { font-family: var(--font-serif); font-size: 19px; font-weight: 600; }
.quick__item em { font-style: normal; font-size: 10px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.quick__item::after { content: "→"; position: absolute; right: 24px; bottom: 28px; color: var(--muted); transition: transform .22s, color .22s; }
.quick__item:hover::after { transform: translateX(4px); color: var(--accent); }

/* ---------- 8. News layouts ---------- */
.news-layout { display: grid; grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr); gap: 56px; }
.news-lead { display: block; }
.news-lead__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.news-lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-lead:hover .news-lead__media img { transform: scale(1.025); }
.news-lead__body { padding-top: 22px; }
.news-lead__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-lead h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.42; margin-bottom: 12px; text-wrap: balance; }
.news-lead:hover h3 { color: var(--accent); }
.news-lead p { color: var(--muted); font-size: 14.5px; line-height: 1.85; max-width: 60ch; }

.news-side { border-top: 1px solid var(--line); }
.news-side__row {
  display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.news-side__date { font-family: var(--font-num); font-size: 12px; color: var(--muted); line-height: 1.6; }
.news-side__date strong { display: block; font-size: 22px; font-weight: 400; color: var(--ink-2); }
.news-side__row h4 { font-size: 17px; line-height: 1.55; font-weight: 600; }
.news-side__row:hover h4 { color: var(--accent); }
.news-side__row p { font-size: 12px; color: var(--muted); margin-top: 5px; }

.notice-list { margin-top: 36px; }
.notice-list__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.notice-list__head h3 { font-size: 18px; letter-spacing: .04em; }
.notice-list__head a { font-size: 12px; color: var(--muted); }
.notice-list__row { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.notice-list__row span { flex: 0 0 auto; font-family: var(--font-num); font-size: 12px; color: var(--muted); }
.notice-list__row a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-list__row a:hover { color: var(--accent); }

/* ---------- 9. Philosophy / stats ---------- */
.philosophy { position: relative; overflow: hidden; }
.philosophy::before {
  content: "莞"; position: absolute; right: 4%; top: -12%;
  font-family: var(--font-serif); font-size: 42vw; line-height: 1;
  color: rgba(255, 255, 255, .028); pointer-events: none;
}
.philosophy__grid { display: grid; grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr); gap: 72px; position: relative; }
.philosophy blockquote {
  font-family: var(--font-serif); font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.55; letter-spacing: .02em; color: #f5f1e6;
  border-left: 2px solid var(--accent); padding-left: 30px;
}
.philosophy blockquote small { display: block; margin-top: 24px; font-family: var(--font-sans); font-size: 12px; letter-spacing: .14em; color: rgba(245,241,230,.55); }
.philosophy__note { margin-top: 30px; color: rgba(245,241,230,.68); font-size: 14.5px; max-width: 52ch; line-height: 1.95; }
.style-list { border-top: 1px solid rgba(245,241,230,.2); }
.style-list__item { padding: 20px 0; border-bottom: 1px solid rgba(245,241,230,.2); display: grid; grid-template-columns: 66px 1fr; gap: 20px; align-items: baseline; }
.style-list__item dt { font-size: 11px; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.style-list__item dd { margin: 0; font-family: var(--font-serif); font-size: 16px; line-height: 1.8; color: rgba(245,241,230,.9); }

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__item { padding: 38px 28px; border-left: 1px solid var(--line); }
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__value { font-family: var(--font-num); font-size: clamp(42px, 4.2vw, 58px); line-height: 1; letter-spacing: -.02em; color: var(--brand); }
.stats__value small { font-size: 15px; font-family: var(--font-sans); margin-left: 5px; color: var(--accent); letter-spacing: 0; }
.stats__label { margin-top: 12px; font-size: 14px; letter-spacing: .06em; }
.stats__note { margin-top: 4px; font-size: 12px; color: var(--muted); }

/* ---------- 10. Cards / gallery ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 21px; line-height: 1.5; }
.card__body p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; font-size: 11px; color: var(--muted); letter-spacing: .08em; }

.photo-card { position: relative; display: block; overflow: hidden; background: var(--brand-deep); aspect-ratio: 4 / 3; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); filter: saturate(.92); }
.photo-card:hover img { transform: scale(1.035); }
.photo-card__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,25,37,.78), rgba(9,25,37,.05) 55%, rgba(9,25,37,.16)); }
.photo-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px; color: #fff; }
.photo-card__body em { font-style: normal; font-size: 10px; letter-spacing: .18em; color: rgba(255,255,255,.65); }
.photo-card__body h3 { font-size: 24px; margin: 6px 0 8px; }
.photo-card__body p { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.8; }
.photo-card__body span { display: inline-block; margin-top: 12px; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 3px; }

/* ---------- 11. Page hero / breadcrumb / subnav ---------- */
.page-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 34px 0 54px; position: relative; overflow: hidden; }
.page-hero--image { color: #fff; background: var(--brand-deep); border: 0; padding: 0; }
.page-hero--image .page-hero__media { position: absolute; inset: 0; }
.page-hero--image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.page-hero--image .page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,25,37,.82), rgba(9,25,37,.38)); }
.page-hero--image .container { position: relative; z-index: 2; padding-top: 34px; padding-bottom: 58px; }
.page-hero--image .breadcrumb, .page-hero--image h1, .page-hero--image p { color: #fff; }
.page-hero--image .breadcrumb a { color: rgba(255,255,255,.7); }
.page-hero--image h1 { color: #fff; }
.page-hero--image p { color: rgba(255,255,255,.75); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span::before { content: "/"; margin-right: 8px; opacity: .45; }
.page-hero h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: .02em; margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 62ch; font-size: 15px; line-height: 1.9; }
.page-hero__meta { margin-top: 22px; display: flex; gap: 24px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(246,244,238,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { position: relative; padding: 16px 0 14px; font-size: 13.5px; white-space: nowrap; color: var(--muted); }
.subnav a:hover, .subnav a.is-active { color: var(--ink); }
.subnav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }

/* ---------- 12. Two column content ---------- */
.with-aside { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 64px; align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 28px); }
.aside__title { font-size: 11px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 6px; }
.aside__list a { display: block; padding: 9px 0; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); transition: color .18s, padding-left .18s; }
.aside__list a:hover, .aside__list a.is-active { color: var(--accent); padding-left: 5px; }
.aside__card { margin-top: 28px; padding: 22px; background: var(--white); border: 1px solid var(--line); }
.aside__card h3 { font-size: 17px; margin-bottom: 8px; }
.aside__card p { font-size: 12.5px; color: var(--muted); line-height: 1.85; }
.aside__card .link-arrow { margin-top: 14px; font-size: 12.5px; }

/* ---------- 13. Entries (list pages) ---------- */
.entry-list { border-top: 1px solid var(--ink); }
.entry {
  display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 26px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.entry__date { font-family: var(--font-num); color: var(--muted); line-height: 1.5; padding-top: 3px; }
.entry__date strong { display: block; font-size: 27px; font-weight: 400; color: var(--ink-2); }
.entry__date span { font-size: 11px; letter-spacing: .06em; }
.entry__body h3 { font-size: 19px; line-height: 1.55; margin-bottom: 7px; }
.entry__body h3 a:hover { color: var(--accent); }
.entry__body p { font-size: 13.5px; color: var(--muted); line-height: 1.85; max-width: 72ch; }
.entry__meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 11px; color: var(--muted); }
.entry__thumb { width: 176px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.entry__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.entry:hover .entry__thumb img { transform: scale(1.03); }
.entry--no-thumb { grid-template-columns: 82px minmax(0, 1fr); }
.entry:hover .entry__body h3 { color: var(--accent); }

.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tabs button {
  border: 1px solid var(--line-strong); background: transparent; padding: 7px 15px;
  font-size: 12.5px; color: var(--muted); transition: all .2s;
}
.filter-tabs button:hover { border-color: var(--ink); color: var(--ink); }
.filter-tabs button.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-search { position: relative; }
.filter-search input {
  width: 220px; border: 0; border-bottom: 1px solid var(--line-strong);
  background: transparent; padding: 8px 26px 8px 0; font-size: 13px; outline: none;
}
.filter-search input:focus { border-color: var(--brand); }
.filter-search::after { content: "⌕"; position: absolute; right: 2px; top: 4px; font-size: 17px; color: var(--muted); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 42px; }
.pagination button {
  min-width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; font-size: 13px;
}
.pagination button:hover:not(:disabled) { border-color: var(--ink); }
.pagination button.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination button:disabled { opacity: .35; cursor: default; }

/* ---------- 14. Prose / article ---------- */
.prose { max-width: 760px; }
.prose p { margin-bottom: 1.45em; font-size: 16.5px; line-height: 2.02; color: #26323c; }
.prose--dropcap p:first-of-type::first-letter { font-family: var(--font-serif); font-size: 3.1em; float: left; line-height: .86; padding: 8px 10px 0 0; color: var(--brand); }
.prose h2 { font-size: 25px; margin: 2em 0 .8em; padding-top: .6em; border-top: 1px solid var(--line); }
.prose h3 { font-size: 20px; margin: 1.6em 0 .6em; }
.prose ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .5em; line-height: 1.95; }
.prose blockquote { border-left: 2px solid var(--accent); padding: 6px 0 6px 22px; margin: 1.6em 0; color: var(--ink-2); font-family: var(--font-serif); font-size: 19px; line-height: 1.8; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(160,74,51,.35); }
.prose strong { font-weight: 600; }

.article-head { max-width: 860px; margin-bottom: 34px; }
.article-head h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.42; letter-spacing: .01em; margin: 16px 0 18px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.article-cover { margin: 8px 0 40px; background: var(--paper-2); }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.article-cover figcaption { padding: 10px 0; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); }
.article-foot { max-width: 760px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.9; }
.article-foot a { color: var(--accent); }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 0; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; border-top: 1px solid var(--ink); padding-top: 22px; }
.article-nav a { display: block; padding: 4px 0; }
.article-nav span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .1em; margin-bottom: 6px; }
.article-nav strong { font-family: var(--font-serif); font-size: 16px; font-weight: 500; line-height: 1.6; }
.article-nav a:hover strong { color: var(--accent); }
.article-nav__next { text-align: right; }

/* ---------- 15. Info blocks ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.info-cell { background: var(--white); padding: 26px 28px; }
.info-cell dt { font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.info-cell dd { margin: 0; font-size: 15px; line-height: 1.8; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.timeline__item { position: relative; padding: 0 0 34px 0; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -28px; top: 9px; width: 9px; height: 9px;
  background: var(--paper); border: 1px solid var(--accent); border-radius: 50%;
}
.timeline__year { font-family: var(--font-num); font-size: 22px; color: var(--accent); line-height: 1.2; margin-bottom: 4px; }
.timeline__text { font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.data-table { min-width: 640px; font-size: 13.5px; }
.data-table th {
  text-align: left; font-weight: 500; font-size: 10.5px; letter-spacing: .12em;
  color: var(--muted); text-transform: uppercase;
  padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.data-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.7; }
.data-table tr:hover td { background: rgba(255,255,255,.55); }
.data-table td:first-child, .data-table th:first-child { padding-left: 0; }
.data-table td:last-child, .data-table th:last-child { padding-right: 0; }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-serif); font-size: 17px; line-height: 1.65;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 18px;
  font-family: var(--font-sans); font-size: 19px; color: var(--muted); font-weight: 300;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { color: var(--brand); }
.faq .faq__body { padding: 0 40px 22px 0; font-size: 14px; color: var(--muted); line-height: 1.95; }

.note {
  padding: 16px 18px; background: var(--paper-2); border-left: 2px solid var(--line-strong);
  font-size: 12.5px; color: var(--muted); line-height: 1.9;
}
.note strong { color: var(--ink-2); }

/* ---------- 16. Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.form__row { display: flex; flex-direction: column; gap: 7px; }
.form__row--full { grid-column: 1 / -1; }
.form label { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.form label span { color: var(--accent); }
.form input, .form select, .form textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-strong);
  background: transparent; padding: 10px 2px; font-size: 14.5px; outline: none;
  border-radius: 0; transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); }
.form textarea { min-height: 110px; resize: vertical; }
.form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__hint { font-size: 11.5px; color: var(--muted); }
.form__status { font-size: 13px; color: var(--moss); }
.form__status.is-error { color: var(--danger); }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--danger); }

/* ---------- 17. WeChat ---------- */
.wechat-hero { background: var(--brand-deep); color: #f3f0e7; padding: 54px 0; position: relative; overflow: hidden; }
.wechat-hero::after {
  content: "微"; position: absolute; right: 3%; bottom: -30%; font-family: var(--font-serif);
  font-size: 30vw; color: rgba(255,255,255,.03); line-height: 1;
}
.wechat-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; position: relative; z-index: 1; }
.wechat-hero h1 { font-size: clamp(32px, 3.8vw, 46px); margin: 12px 0 12px; }
.wechat-hero p { color: rgba(243,240,231,.65); font-size: 14px; max-width: 58ch; line-height: 1.9; }
.wechat-status { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; font-size: 12px; color: rgba(243,240,231,.6); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #79a178; display: inline-block; margin-right: 6px; }
.status-dot.is-cache { background: #c6a15b; }
.status-dot.is-error { background: #b45a4c; }
.wechat-account { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); padding: 20px 24px; }
.wechat-account img { width: 78px; height: 78px; object-fit: cover; background: #fff; }
.wechat-account strong { display: block; font-family: var(--font-serif); font-size: 17px; font-weight: 500; }
.wechat-account span { font-size: 11px; color: rgba(243,240,231,.55); letter-spacing: .06em; }

.wechat-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-bottom: 1px solid var(--line); }
.wechat-toolbar__left { display: flex; gap: 6px; flex-wrap: wrap; }
.wechat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 36px; }
.wechat-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.wechat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.wechat-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.wechat-card__media img { width: 100%; height: 100%; object-fit: cover; }
.wechat-card__body { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.wechat-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.wechat-card h3 { font-size: 18px; line-height: 1.55; }
.wechat-card p { font-size: 12.5px; color: var(--muted); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wechat-card__foot { margin-top: auto; padding-top: 12px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.skeleton { background: linear-gradient(90deg, var(--paper-2) 25%, #f8f6f1 37%, var(--paper-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.skeleton-card { height: 330px; border: 1px solid var(--line); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.wechat-empty { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 14px; border: 1px dashed var(--line-strong); grid-column: 1 / -1; }
.wechat-more { display: flex; justify-content: center; margin-top: 40px; }
.wechat-source { margin-top: 34px; font-size: 11.5px; color: var(--muted); line-height: 1.9; border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--brand-deep); color: rgba(243,240,231,.66); padding: 64px 0 0; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px;
  border: 1px solid rgba(255,255,255,.06); border-radius: 50%;
}
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid rgba(243,240,231,.16); position: relative; }
.footer__brand h2 { font-family: var(--font-serif); font-size: 26px; color: #f3f0e7; letter-spacing: .06em; margin-bottom: 6px; }
.footer__en { font-size: 9px; letter-spacing: .18em; color: rgba(243,240,231,.4); margin-bottom: 22px; }
.footer__motto { font-family: var(--font-serif); font-size: 14px; letter-spacing: .24em; color: rgba(243,240,231,.72); }
.footer__address { margin-top: 20px; font-size: 12px; line-height: 2; font-style: normal; }
.footer__address a:hover { color: #fff; }
.footer__col h3 { font-size: 11px; letter-spacing: .16em; color: rgba(243,240,231,.42); font-family: var(--font-sans); font-weight: 400; margin-bottom: 14px; text-transform: uppercase; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { font-size: 12.5px; color: rgba(243,240,231,.7); }
.footer__col a:hover { color: #fff; }
.footer__wechat { display: flex; flex-direction: column; gap: 10px; }
.footer__wechat img { width: 86px; height: 86px; background: #fff; padding: 4px; }
.footer__wechat span { font-size: 11px; color: rgba(243,240,231,.5); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 11px; color: rgba(243,240,231,.42); flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }
.footer__seal {
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25);
  display: grid; grid-template-columns: 1fr 1fr; place-items: center;
  font-family: var(--font-serif); font-size: 14px; line-height: 1.1; color: rgba(255,255,255,.55);
  align-self: start;
}

/* ---------- 19. Mobile bottom bar ---------- */
.mobile-bar { display: none; }

/* ---------- 20. Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1180px) {
  .mainnav__link { padding: 0 9px; font-size: 14px; }
  .mainnav__link::after { left: 9px; right: 9px; }
  .brand__text em { display: none; }
  .header__cta { display: none; }
  .news-layout { gap: 40px; }
  .philosophy__grid { gap: 48px; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr auto; }
  .footer__col--hide { display: none; }
}

@media (max-width: 1024px) {
  .section { padding: 76px 0; }
  .mainnav { display: none; }
  .nav-toggle { display: grid; }
  .header__inner { min-height: 68px; }
  :root { --header-h: 68px; }
  .brand__text strong { font-size: 19px; }
  .news-layout { grid-template-columns: 1fr; gap: 44px; }
  .news-side { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .news-side__row:nth-child(1), .news-side__row:nth-child(2) { border-top: 1px solid var(--line); }
  .card-grid { gap: 24px; }
  .with-aside { grid-template-columns: 1fr; gap: 32px; }
  .aside { position: static; }
  .aside__list { display: flex; gap: 20px; overflow-x: auto; border-top: 1px solid var(--line); padding-top: 12px; }
  .aside__list a { border: 0; white-space: nowrap; padding: 4px 0; }
  .aside__card { display: none; }
  .philosophy__grid { grid-template-columns: 1fr; gap: 40px; }
  .philosophy blockquote { font-size: clamp(28px, 4.4vw, 40px); }
  .wechat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__wechat { display: none; }
}

@media (max-width: 767px) {
  :root { --gutter: 18px; }
  .topbar { display: none; }
  .site-header { top: 0; }
  .section { padding: 58px 0; }
  .section--tight { padding: 46px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .section-head__more { justify-self: start; }
  .section-head h2 { font-size: 28px; }
  .section-head__lead { font-size: 14px; }
  .brand__mark { width: 36px; height: 36px; font-size: 20px; }
  .brand__text strong { font-size: 17px; letter-spacing: .05em; }
  .icon-btn { width: 36px; height: 36px; }
  .nav-toggle { width: 38px; height: 38px; }
  .header__inner { gap: 8px; }
  .header__actions { gap: 2px; }

  .hero__inner { min-height: 540px; padding: 72px 0 30px; }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 26px; margin-top: 30px; }
  .hero__intro { font-size: 14px; }
  .hero__aside { text-align: left; }
  .hero__actions .btn { min-height: 44px; padding: 0 18px; font-size: 13px; }

  .notice-strip__inner { gap: 14px; min-height: 54px; }
  .notice-strip__label { padding-right: 14px; }
  .notice-strip__list { gap: 24px; overflow-x: auto; }
  .notice-strip__item:nth-child(n+2) { display: none; }
  .notice-strip__more { display: none; }

  .quick__grid { grid-template-columns: 1fr 1fr; }
  .quick__item { padding: 20px 16px; border-bottom: 1px solid var(--line); }
  .quick__item:nth-child(odd) { border-left: 0; }
  .quick__item strong { font-size: 17px; }
  .quick__item::after { right: 16px; bottom: 20px; }
  .quick__item em { font-size: 9px; }

  .news-side { grid-template-columns: 1fr; }
  .news-side__row:nth-child(2) { border-top: 0; }
  .news-lead h3 { font-size: 23px; }
  .notice-strip__label::before { display: none; }

  .philosophy blockquote { font-size: 27px; padding-left: 20px; }
  .philosophy__note { font-size: 13.5px; }
  .style-list__item { grid-template-columns: 52px 1fr; gap: 12px; }
  .style-list__item dd { font-size: 14.5px; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__item { padding: 24px 18px; border-bottom: 1px solid var(--line); }
  .stats__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats__item:nth-child(n+3) { border-bottom: 0; }
  .stats__value { font-size: 38px; }

  .card-grid, .wechat-grid { grid-template-columns: 1fr; gap: 22px; }
  .photo-card { aspect-ratio: 4 / 3; }
  .photo-card__body h3 { font-size: 22px; }

  .page-hero { padding: 24px 0 36px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 14px; }
  .subnav { top: var(--header-h); }
  .subnav__inner { gap: 22px; }

  .entry { grid-template-columns: 58px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .entry__thumb { display: none; }
  .entry__date strong { font-size: 21px; }
  .entry__body h3 { font-size: 17px; }
  .entry__body p { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  .filter-bar { align-items: flex-start; }
  .filter-search { width: 100%; }
  .filter-search input { width: 100%; }

  .prose p { font-size: 16px; line-height: 1.95; }
  .article-head h1 { font-size: 30px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav__next { text-align: left; }

  .info-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; gap: 18px; }

  .wechat-hero { padding: 34px 0; }
  .wechat-hero__inner { grid-template-columns: 1fr; }
  .wechat-account { justify-self: start; }
  .wechat-toolbar { align-items: flex-start; }
  .wechat-toolbar .filter-search { width: 100%; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 34px; }
  .footer__brand { grid-column: 1 / -1; }
  .site-footer { padding-top: 46px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 76px; }
  .footer__seal { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--line); border-top: 1px solid var(--line);
  }
  .mobile-bar a { background: var(--paper); padding: 12px 10px; text-align: center; font-size: 13px; letter-spacing: .04em; }
  .mobile-bar a:last-child { background: var(--brand); color: #fff; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { border-left: 0; padding-left: 0; }
}

/* ---------- 22. Print ---------- */
@media print {
  .site-header, .topbar, .mobile-bar, .site-footer, .subnav, .search-dialog, .mobile-nav { display: none !important; }
  body { background: #fff; }
  .section { padding: 20px 0; }
  .page-hero { background: #fff; border-bottom: 1px solid #000; padding: 0 0 12px; }
  .page-hero h1 { font-size: 24pt; }
  a { text-decoration: none; }
  .article-head h1 { font-size: 20pt; }
}

/* ---------- 23. Home additions ---------- */
#main { display: block; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.home-wechat { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: 72px; align-items: start; }
.home-wechat__intro h2 { font-size: clamp(28px, 3vw, 38px); margin: 12px 0 16px; }
.home-wechat__intro > p { color: var(--muted); font-size: 14.5px; line-height: 1.95; max-width: 40ch; }
.home-wechat__qr { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.home-wechat__qr img { width: 78px; height: 78px; border: 1px solid var(--line); background: #fff; padding: 4px; }
.home-wechat__qr strong { display: block; font-family: var(--font-serif); font-size: 15px; font-weight: 500; }
.home-wechat__qr span { font-size: 11px; color: var(--muted); }
.home-wechat__status { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.home-wechat__list { border-top: 1px solid var(--ink); }
.wechat-compact-list { border-top: 1px solid var(--ink); }
.wechat-compact {
  display: grid; grid-template-columns: 54px minmax(0, 1fr) 18px; gap: 20px; align-items: start;
  padding: 19px 0; border-bottom: 1px solid var(--line); transition: color .2s, padding-left .2s;
}
.wechat-compact__date { font-family: var(--font-num); font-size: 13px; color: var(--muted); padding-top: 3px; }
.wechat-compact__body strong { display: block; font-family: var(--font-serif); font-size: 17px; font-weight: 600; line-height: 1.55; }
.wechat-compact__body em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.75; }
.wechat-compact__arrow { color: var(--muted); font-size: 13px; padding-top: 4px; }
.wechat-compact:hover { padding-left: 5px; }
.wechat-compact:hover .wechat-compact__body strong { color: var(--accent); }

.campus-links { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 24px; }
.campus-links a { padding: 18px 20px; border-left: 1px solid var(--line); font-size: 13.5px; display: flex; align-items: center; justify-content: space-between; transition: background .2s, color .2s; }
.campus-links a:first-child { border-left: 0; padding-left: 0; }
.campus-links a:hover { color: var(--accent); background: rgba(255,255,255,.45); }
.campus-links a::after { content: "→"; font-size: 12px; color: var(--muted); }

.admission-band { position: relative; overflow: hidden; color: #fff; background: var(--brand-deep); }
.admission-band__media { position: absolute; inset: 0; }
.admission-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; filter: saturate(.85); }
.admission-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,25,37,.9), rgba(9,25,37,.56) 55%, rgba(9,25,37,.36)); }
.admission-band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; padding: 78px 0; align-items: center; }
.admission-band h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.35; margin: 14px 0 18px; color: #fff; }
.admission-band p { color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.95; max-width: 52ch; }
.admission-band__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.admission-facts { border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.04); padding: 26px 28px; }
.admission-facts__row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 13px; color: rgba(255,255,255,.66); }
.admission-facts__row:last-child { border-bottom: 0; }
.admission-facts__row strong { font-family: var(--font-num); font-size: 24px; font-weight: 400; color: #fff; }
.admission-facts__row strong small { font-size: 11px; font-family: var(--font-sans); color: rgba(255,255,255,.6); margin-left: 3px; }

/* ---------- 24. Sitemap ---------- */
.sitemap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.sitemap__group { border-top: 1px solid var(--ink); padding-top: 14px; }
.sitemap__group h2 { font-size: 19px; margin-bottom: 10px; }
.sitemap__group h2 a:hover { color: var(--accent); }
.sitemap__group ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.sitemap__group li { border-bottom: 1px solid var(--line); }
.sitemap__group li a { display: block; padding: 7px 0; font-size: 12.5px; color: var(--muted); }
.sitemap__group li a:hover { color: var(--accent); }

/* ---------- 25. Misc ---------- */
.loading-block { padding: 60px 0; text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.badge-year { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border: 1px solid rgba(160,74,51,.35); color: var(--accent); font-size: 11px; letter-spacing: .1em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.sticky-note { background: var(--white); border: 1px solid var(--line); padding: 26px 28px; }
.sticky-note h3 { font-size: 18px; margin-bottom: 10px; }
.sticky-note p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.inline-list { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.inline-list a { color: var(--muted); border-bottom: 1px solid transparent; }
.inline-list a:hover { color: var(--accent); border-color: var(--accent); }
.anchor-title { font-family: var(--font-serif); font-size: 26px; margin: 0 0 18px; padding-top: 10px; border-top: 1px solid var(--ink); }

@media (max-width: 1024px) {
  .home-wechat { grid-template-columns: 1fr; gap: 36px; }
  .admission-band__inner { grid-template-columns: 1fr; gap: 32px; padding: 62px 0; }
  .sitemap { grid-template-columns: 1fr 1fr; }
  .split, .split--wide { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 767px) {
  .campus-links { grid-template-columns: 1fr 1fr; }
  .campus-links a:nth-child(3) { border-left: 0; padding-left: 0; }
  .campus-links a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .home-wechat__qr img { width: 68px; height: 68px; }
  .admission-band__inner { padding: 48px 0; }
  .sitemap { grid-template-columns: 1fr; gap: 30px; }
  .wechat-compact { grid-template-columns: 48px minmax(0,1fr) 14px; gap: 12px; }
  .wechat-compact__body strong { font-size: 15.5px; }
}

/* ---------- 26. Section previews & about ---------- */
.preview-list { margin-top: 14px; border-top: 1px solid var(--line); }
.preview-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.preview-list a:hover { color: var(--accent); }
.preview-list span { flex: 0 0 auto; font-family: var(--font-num); font-size: 11.5px; color: var(--muted); }
.preview-list em { font-style: normal; flex: 1; }

.message-block { background: var(--paper-2); padding: 56px 0 60px; }
.message-block__inner { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 54px; align-items: start; }
.message-block__meta { border-top: 1px solid var(--ink); padding-top: 16px; }
.message-block__meta strong { display: block; font-family: var(--font-serif); font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.message-block__meta span { font-size: 12px; color: var(--muted); line-height: 1.9; }
.message-block__body { font-family: var(--font-serif); font-size: clamp(19px, 1.8vw, 23px); line-height: 2; color: var(--ink-2); }
.message-block__body p + p { margin-top: 1.1em; }
.message-block__sign { margin-top: 26px; font-family: var(--font-sans); font-size: 12px; color: var(--muted); letter-spacing: .06em; }

.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.culture-grid__item { padding: 26px 24px 30px; border-left: 1px solid var(--line); }
.culture-grid__item:first-child { border-left: 0; padding-left: 0; }
.culture-grid__item span { font-family: var(--font-num); font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.culture-grid__item h3 { font-size: 20px; margin: 8px 0 10px; }
.culture-grid__item p { font-size: 13px; color: var(--muted); line-height: 1.9; }

.honor-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; border-top: 1px solid var(--ink); }
.honor-list li { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.honor-list li::before { content: ""; width: 4px; height: 4px; background: var(--accent); flex: 0 0 auto; transform: translateY(-3px); }
.honor-list li span { font-family: var(--font-num); font-size: 11px; color: var(--muted); margin-left: auto; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; gap: 12px; }
.gallery-grid figure { position: relative; overflow: hidden; background: var(--paper-2); margin: 0; }
.gallery-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); filter: saturate(.94); }
.gallery-grid figure:hover img { transform: scale(1.025); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; color: #fff; font-size: 11.5px; letter-spacing: .06em; background: linear-gradient(transparent, rgba(9,25,37,.75)); }

.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.hub { background: var(--white); padding: 30px 30px 26px; }
.hub h3 { font-size: 22px; margin-bottom: 6px; }
.hub > p { font-size: 13px; color: var(--muted); line-height: 1.85; min-height: 3.7em; }
.hub .link-arrow { margin-top: 12px; font-size: 12.5px; }

.anthem { text-align: center; max-width: 620px; margin: 0 auto; }
.anthem__title { font-family: var(--font-serif); font-size: clamp(28px, 3vw, 36px); letter-spacing: .12em; margin-bottom: 12px; }
.anthem__note { color: var(--muted); font-size: 13.5px; line-height: 2; }
.anthem__rule { width: 46px; height: 1px; background: var(--accent); margin: 24px auto; }

@media (max-width: 1024px) {
  .message-block__inner { grid-template-columns: 150px minmax(0, 1fr); gap: 32px; }
  .culture-grid { grid-template-columns: 1fr 1fr; }
  .culture-grid__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .culture-grid__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gallery-grid { grid-auto-rows: 180px; }
}
@media (max-width: 767px) {
  .message-block { padding: 38px 0 42px; }
  .message-block__inner { grid-template-columns: 1fr; gap: 20px; }
  .message-block__meta { border-top: 0; padding-top: 0; display: flex; align-items: baseline; gap: 10px; }
  .message-block__meta strong { font-size: 21px; }
  .culture-grid { grid-template-columns: 1fr; }
  .culture-grid__item { border-left: 0; padding: 18px 0 20px; border-top: 1px solid var(--line); }
  .culture-grid__item:first-child { border-top: 0; }
  .honor-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery-grid figure:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-grid figcaption { padding: 20px 10px 8px; font-size: 10.5px; }
  .hub-grid { grid-template-columns: 1fr; }
}

/* ---------- 27. Admissions & contact ---------- */
.talent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.talent { background: var(--white); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.talent em { font-style: normal; font-size: 10px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.talent strong { font-family: var(--font-serif); font-size: 20px; font-weight: 600; }
.talent span { font-family: var(--font-num); font-size: 13px; color: var(--accent); }
.talent p { font-size: 11.5px; color: var(--muted); line-height: 1.75; margin-top: 4px; }

.form-card { background: var(--white); border: 1px solid var(--line); padding: 30px 30px 32px; }
.form-card h3 { font-size: 22px; margin-bottom: 8px; }
.form-card > p { font-size: 12.5px; color: var(--muted); line-height: 1.9; margin-bottom: 20px; }

.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.contact-list { border-top: 1px solid var(--ink); }
.contact-list__row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.contact-list__row dt { font-size: 11px; letter-spacing: .12em; color: var(--muted); padding-top: 4px; }
.contact-list__row dd { margin: 0; line-height: 1.85; }
.contact-list__row a { color: var(--accent); }
.map-card { background: var(--white); border: 1px solid var(--line); }
.map-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.map-card__body { padding: 22px 24px; }
.map-card__body h3 { font-size: 19px; margin-bottom: 6px; }
.map-card__body p { font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.map-card__body .btn { margin-top: 16px; }

@media (max-width: 1024px) {
  .talent-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .talent-grid { grid-template-columns: 1fr 1fr; }
  .talent { padding: 16px; }
  .talent strong { font-size: 17px; }
  .form-card { padding: 22px 20px 24px; }
  .contact-list__row { grid-template-columns: 68px minmax(0,1fr); gap: 12px; }
}

/* ---------- 28. Official logo ---------- */
.brand { gap: 0; }
.brand__logo { height: 46px; width: auto; display: block; }
.footer__logo { height: 42px; width: auto; margin-bottom: 20px; }
.mobile-nav .brand__logo { height: 38px; }

@media (max-width: 1024px) {
  .brand__logo { height: 40px; }
}
@media (max-width: 767px) {
  .brand__logo { height: 34px; }
  .footer__logo { height: 36px; margin-bottom: 16px; }
}

/* ---------- 29. Sticky header fix ---------- */
#site-header { display: contents; }

/* ---------- 30. Hero contrast fix ---------- */
.page-hero--image .container > p { color: rgba(255, 255, 255, .82); }
.page-hero--image .container > .page-hero__meta { color: rgba(255, 255, 255, .62); }
.page-hero--image .breadcrumb span { color: rgba(255, 255, 255, .6); }

/* ---------- 31. Visual refinements ---------- */
.brand__logo { height: 52px; }
.photo-card__scrim { background: linear-gradient(0deg, rgba(9,25,37,.9), rgba(9,25,37,.28) 58%, rgba(9,25,37,.08)); }
.photo-card__body { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.photo-card__body p { color: rgba(255,255,255,.82); }
@media (max-width: 1024px) { .brand__logo { height: 44px; } }
@media (max-width: 767px) { .brand__logo { height: 36px; } }

/* ---------- 32. Mobile overflow & article title ---------- */
html { overflow-x: clip; }
.page-hero__meta { flex-wrap: wrap; row-gap: 6px; }
@media (max-width: 767px) {
  .brand__logo { height: 38px; }
  .article-head h1 { font-size: 26px; line-height: 1.5; }
  body[data-page="article"] .breadcrumb span:last-child { display: none; }
  .page-hero__meta { gap: 8px 16px; font-size: 11px; }
}

/* ---------- 33. Grid min-width fixes ---------- */
.news-layout > *,
.with-aside > *,
.split > *,
.home-wechat > *,
.contact-grid > *,
.wechat-hero__inner > *,
.stats__grid > *,
.card-grid > *,
.hub-grid > *,
.info-grid > * { min-width: 0; }
.table-wrap { max-width: 100%; }
.news-lead, .news-side, .aside { min-width: 0; }

@media (max-width: 767px) {
  .page-hero--image .page-hero__meta { display: none; }
}

/* ---------- 34. Footer friendly links ---------- */
.footer__links {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px;
  padding: 16px 0; border-bottom: 1px solid rgba(243, 240, 231, .16);
  font-size: 12px; color: rgba(243, 240, 231, .55);
}
.footer__links-label {
  font-size: 10.5px; letter-spacing: .16em; color: rgba(243, 240, 231, .38);
}
.footer__links a {
  display: inline-flex; align-items: baseline; gap: 5px;
  color: rgba(243, 240, 231, .72); border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.footer__links a:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.footer__links em { font-style: normal; font-size: 10px; opacity: .55; }
@media (max-width: 767px) {
  .footer__links { padding: 14px 0; gap: 8px 16px; }
}

/* ---------- 35. Admissions statement band ---------- */
.admission-band__inner { grid-template-columns: 1fr; padding: 74px 0; }
.admission-band h2 { max-width: none; }
@media (max-width: 767px) {
  .admission-band__inner { padding: 52px 0; }

}

/* ---------- 36. Demo disclaimers ---------- */
.stats__disclaimer { margin-top: 14px; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.footer__disclaimer { padding: 14px 0 0; font-size: 11px; color: rgba(243, 240, 231, .42); letter-spacing: .02em; line-height: 1.8; }
@media (max-width: 767px) { .footer__disclaimer { padding-top: 12px; } }

/* ---------- 37. Admissions band background ---------- */
.admission-band__media img { object-position: center 42%; }

/* ---------- 38. Band image visibility ---------- */
.admission-band__media::after {
  background: linear-gradient(90deg, rgba(9, 25, 37, .86) 0%, rgba(9, 25, 37, .48) 46%, rgba(9, 25, 37, .18) 100%);
}

/* ---------- 39. AI demo notice ---------- */
body.demo-open { overflow: hidden; }
.demo-sheet {
  position: fixed; top: 0; right: 0; bottom: 0; left: auto;
  width: min(420px, 100%); max-width: none; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink);
  box-shadow: -24px 0 60px rgba(9, 25, 37, .22); overflow-y: auto;
}
.demo-sheet::backdrop { background: rgba(9, 25, 37, .38); backdrop-filter: blur(2px); }
.demo-sheet[open] { animation: demoSheetIn .42s var(--ease); }
@keyframes demoSheetIn { from { transform: translateX(32px); opacity: .4; } to { transform: none; opacity: 1; } }
.demo-sheet__inner {
  position: relative; min-height: 100%; padding: 46px 38px 30px;
  display: flex; flex-direction: column; overflow: hidden;
}
.demo-sheet__inner::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand);
}
.demo-sheet__inner::after {
  content: "AI"; position: absolute; right: 22px; bottom: 92px;
  font-family: var(--font-num); font-size: 180px; line-height: 1;
  color: rgba(20, 55, 80, .045); pointer-events: none;
}
.demo-sheet__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  font-size: 24px; line-height: 1; display: grid; place-items: center;
}
.demo-sheet__close:hover { border-color: var(--ink); color: var(--ink); }
.demo-sheet__mark {
  width: 54px; height: 54px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-family: var(--font-num); font-size: 19px;
  letter-spacing: .08em; margin-bottom: 30px;
}
.demo-sheet h2 { margin: 14px 0 18px; font-size: clamp(30px, 3.2vw, 38px); line-height: 1.4; letter-spacing: .02em; }
.demo-sheet__lead { color: var(--muted); font-size: 15px; line-height: 1.95; max-width: none; }
.demo-sheet__actions { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.demo-sheet__ok { width: 100%; }
.demo-sheet__foot { margin-top: 12px; font-size: 11px; color: var(--muted); text-align: center; letter-spacing: .04em; }
@media (max-width: 520px) {
  .demo-sheet__inner { padding: 40px 26px 24px; }
  .demo-sheet__inner::after { font-size: 130px; right: 12px; bottom: 96px; }
  .demo-sheet h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .demo-sheet[open] { animation: none; } }

/* ---------- 40. Demo sheet focus ---------- */
.demo-sheet:focus { outline: none; }

/* ---------- 41. Footer responsive columns ---------- */
@media (max-width: 1180px) {
  .footer__wechat { display: none; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .footer__top { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
}
