/* =========================================================
   传旗文化教育 · 校园主页
   设计：Claymorphism（软 3D）+ 马卡龙撞传旗红
   ========================================================= */

:root{
  /* 品牌 */
  --red:        #E81622;   /* 可交互实色（白字 4.8:1） */
  --red-bright: #F4232D;   /* 装饰用纯正红 */
  --red-deep:   #B8101C;
  --red-ink:    #8E1620;

  /* 马卡龙 */
  --pink:   #FFE1E6;
  --peach:  #FFE3CF;
  --butter: #FFF4C9;
  --mint:   #D8F0E3;
  --sky:    #DAE9FF;
  --lilac:  #E7E1FF;

  /* 中性 */
  --cream: #FFFBF6;
  --paper: #FFFFFF;
  --ink:   #2A1A1B;
  --muted: #7A6467;
  --line:  #F1E4DF;
  --night: #241517;

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;

  --shadow-soft: 0 18px 40px -22px rgba(122, 60, 66, .45);
  --shadow-card: 0 26px 60px -28px rgba(122, 60, 66, .55);
  --clay: inset 0 -6px 0 rgba(0,0,0,.045), inset 0 2px 0 rgba(255,255,255,.9);

  --font-display: "Yuanti SC", "YouYuan", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img{ display: block; max-width: 100%; height: auto; }
a{ color: inherit; }

:focus-visible{
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link{
  position: absolute; left: -9999px; top: 10px;
  background: var(--red); color: #fff;
  padding: 10px 16px; border-radius: 10px; z-index: 999;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus{ left: 16px; }

.wrap{ width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }

/* ---------------- 按钮 ---------------- */
.btn{
  --btn-h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--btn-h); padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 700; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .2s linear, color .2s linear;
  will-change: transform;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn--red{
  background: var(--red); color: #fff;
  box-shadow: 0 12px 0 -6px rgba(184,16,28,.35), 0 18px 34px -18px rgba(184,16,28,.75);
}
.btn--red:hover{ background: var(--red-deep); box-shadow: 0 16px 0 -7px rgba(184,16,28,.3), 0 24px 42px -20px rgba(184,16,28,.8); }

.btn--ghost{
  background: var(--paper); color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--clay);
}
.btn--ghost:hover{ border-color: #E9C9C4; background: #FFF6F4; }

.btn--white{ background: #fff; color: var(--red-ink); }
.btn--white:hover{ background: #FFF1F2; }

.btn--sm{ --btn-h: 44px; padding: 0 20px; font-size: 15px; }
.btn--block{ display: flex; width: 100%; }

/* ---------------- 导航 ---------------- */
.nav{
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,251,246,.84);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(241,228,223,.9);
}
.nav.is-over-dark{
  background: #FFFBF6;
  border-bottom-color: rgba(255,255,255,.14);
  box-shadow: 0 10px 30px -22px rgba(0,0,0,.6);
}
.nav__inner{
  max-width: 1180px; margin-inline: auto; padding: 0 24px;
  height: 76px;
  display: flex; align-items: center; gap: 28px;
}
.brand{ display: flex; align-items: center; gap: 12px; text-decoration: none; }
.school-logo{ display: block; overflow: hidden; max-width: 100%; }
.brand .school-logo{ height: 40px; width: auto; }
.brand__sub{
  font-size: 12px; color: var(--muted); letter-spacing: .16em;
  padding-left: 12px; border-left: 1px solid var(--line);
  white-space: nowrap;
}
.nav__links{ margin-left: auto; display: flex; gap: 30px; }
.nav__links a{
  text-decoration: none; font-size: 15.5px; font-weight: 600; color: #4C3A3C;
  padding: 6px 2px; position: relative;
}
.nav__links a::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  border-radius: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__links a:hover{ color: var(--red-ink); }
.nav__links a:hover::after,
.nav__links a[aria-current="true"]::after{ transform: scaleX(1); }

/* ---------------- Hero ---------------- */
.hero{ position: relative; overflow: hidden; isolation: isolate; }
.hero__blobs{ position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob{
  position: absolute; border-radius: 50%;
  filter: blur(64px); opacity: .75;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob--pink{ width: 420px; height: 420px; background: #FFC6CE; top: -140px; left: -120px; }
.blob--mint{ width: 360px; height: 360px; background: #C6EBD8; top: 200px; left: 32%; animation-delay: -6s; }
.blob--butter{ width: 300px; height: 300px; background: #FFE9A8; bottom: -120px; right: 34%; animation-delay: -11s; }
.blob--lilac{ width: 380px; height: 380px; background: #DCD3FF; top: -80px; right: -100px; animation-delay: -3s; }
@keyframes drift{ from{ transform: translate3d(0,0,0) scale(1); } to{ transform: translate3d(24px,-28px,0) scale(1.08); } }

.hero__grid{
  display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center;
  padding-top: 74px; padding-bottom: 96px;
}

.eyebrow{
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 20px;
  padding: 7px 16px 7px 12px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .08em; color: #6B4A4E;
  box-shadow: var(--clay);
}
.eyebrow .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(232,22,34,.14); }

h1{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.6vw, 78px);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--ink);
}
h1 em{
  font-style: normal; position: relative; color: var(--red-ink); white-space: nowrap;
}
h1 em::after{
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .26em;
  background: linear-gradient(90deg, #FFD3D8, #FFE9C4);
  border-radius: 999px; z-index: -1;
  transform: rotate(-.8deg);
}

.hero__en{
  margin: 18px 0 0;
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
  color: #8A6A6E;
}

.lede{ margin: 24px 0 0; max-width: 30em; color: #4A3437; font-size: 19px; font-weight: 500; }

.hero__cta{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.facts{
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 40px 0 0; padding: 0; list-style: none;
}
.facts li{
  display: flex; align-items: baseline; gap: 8px;
  padding: 12px 20px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--clay);
}
.facts b{ font-family: var(--font-display); font-size: 22px; color: var(--red-ink); letter-spacing: -.01em; }
.facts span{ font-size: 13.5px; color: var(--muted); }

/* Hero 图片组 */
.hero__art{ position: relative; padding: 8px 0 40px 26px; }
.snap{
  margin: 0; background: #fff; padding: 10px;
  border-radius: 26px;
  box-shadow: var(--shadow-card);
}
.snap img{ border-radius: 18px; width: 100%; }
.snap--main{ transform: rotate(-2.2deg); }
.snap--float{
  position: absolute; left: -34px; bottom: -26px; width: 45%;
  transform: rotate(3.4deg);
  box-shadow: 0 24px 50px -24px rgba(122,60,66,.6);
}

.sticker{
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px;
  background: var(--butter);
  border: 2px solid #fff;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 15px; color: #6E4C11;
  box-shadow: 0 14px 26px -14px rgba(140,100,20,.65);
}
.sticker--a{ top: -6px; right: -6px; transform: rotate(7deg); }
.sticker--b{ right: 8%; bottom: -8px; background: var(--pink); color: #8E1620; transform: rotate(-5deg); }

/* ---------------- 走马灯 ---------------- */
.marquee{
  background: var(--red); color: #FFF3F1;
  padding: 14px 0;
  transform: rotate(-1.1deg);
  overflow: hidden;
  box-shadow: 0 20px 40px -26px rgba(184,16,28,.9);
}
.marquee__track{
  display: flex; align-items: center; gap: 26px;
  width: max-content;
  animation: slide 30s linear infinite;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; letter-spacing: .06em;
  white-space: nowrap;
}
.marquee__track i{ font-style: normal; opacity: .6; }
@keyframes slide{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---------------- 通用区块 ---------------- */
.section{ padding: 112px 0; scroll-margin-top: 84px; }
.section--tint{ background: linear-gradient(180deg, #FFF4F0 0%, #FFFBF6 100%); }

.sec-head{ max-width: 780px; margin-bottom: 56px; }
.kicker{
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  font-size: 13px; font-weight: 800; letter-spacing: .2em; color: #8A6A6E;
  text-transform: uppercase;
}
.kicker span{
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 13px; letter-spacing: 0;
  box-shadow: 0 8px 16px -8px rgba(184,16,28,.9);
}
.sec-head h2{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.24; letter-spacing: -.015em; font-weight: 800;
}
.sec-head__note{ margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.br-m{ display: none; }

/* ---------------- 关于 ---------------- */
.about{ display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: start; }

.big-quote{
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1.62; font-weight: 700; color: #3B2628;
  padding-left: 22px;
  border-left: 4px solid var(--red);
}
.about__text p{ color: #5D4649; }
.about__text p + p{ margin-top: 14px; }

.pillars{ list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.pillars li{
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--clay);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pillars li:hover{ transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.pillar__ico{
  flex: 0 0 auto; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--c, var(--pink)); color: #5A3A3E;
}
.pillars h3{ margin: 0 0 4px; font-size: 17px; font-weight: 800; font-family: var(--font-display); }
.pillars p{ margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--muted); }

.poster-card{
  margin: 0; position: sticky; top: 104px;
  background: #fff; padding: 12px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transform: rotate(1.4deg);
}
.poster-card img{ border-radius: 20px; }
.poster-card figcaption{
  padding: 18px 12px 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  display: flex; flex-direction: column; gap: 2px;
}
.poster-card small{ font-family: var(--font-body); font-weight: 600; color: var(--muted); font-size: 13px; letter-spacing: .12em; }

/* ---------------- 照片卡 ---------------- */
.gallery, .bento{ display: grid; gap: 22px; }
.gallery{ grid-template-columns: repeat(12, 1fr); }
.bento{ grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(200px, auto); }

.shot{
  margin: 0;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--clay), var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.shot:hover{ transform: translateY(-5px); box-shadow: var(--clay), var(--shadow-card); }
.shot img{
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .6s var(--ease);
}
.shot:hover img{ transform: scale(1.045); }
.shot figcaption{ padding: 17px 20px 20px; margin-top: auto; }
.shot figcaption b{
  display: block; font-family: var(--font-display); font-size: 17px;
  font-weight: 800; margin-bottom: 3px;
}
.shot figcaption span{ font-size: 14px; color: var(--muted); line-height: 1.65; }

.gallery .shot:nth-child(1){ grid-column: span 7; }
.gallery .shot:nth-child(1) img,
.gallery .shot:nth-child(2) img{ height: 366px; aspect-ratio: auto; }
.gallery .shot:nth-child(2){ grid-column: span 5; }
.gallery .shot:nth-child(3),
.gallery .shot:nth-child(4),
.gallery .shot:nth-child(5){ grid-column: span 4; }
.gallery .shot--feature{
  grid-column: span 12;
  display: grid; grid-template-columns: 1.42fr 1fr; align-items: stretch;
}
.gallery .shot--feature img{ height: 100%; aspect-ratio: auto; min-height: 320px; object-position: center 42%; }
.gallery .shot--feature figcaption{
  margin: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 40px 44px;
  background: linear-gradient(160deg, #FFF9F5 0%, #FFF3EE 100%);
  border-left: 1px solid var(--line);
}
.gallery .shot--feature figcaption b{ font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 10px; }
.gallery .shot--feature figcaption span{ font-size: 15px; line-height: 1.8; max-width: 20em; }

.bento .shot:nth-child(1){ grid-column: span 12; }
.bento .shot:nth-child(1) img{ aspect-ratio: 2.45; }
.bento .shot:nth-child(2),
.bento .shot:nth-child(3),
.bento .shot:nth-child(4),
.bento .shot:nth-child(5){ grid-column: span 6; }
.bento .shot:nth-child(n+2) img{ aspect-ratio: 16 / 10; }

/* ---------------- 地图区 ---------------- */
.section--map{
  background: var(--night);
  color: #FFF4F0;
  position: relative;
  overflow: hidden;
}
.section--map::before{
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,35,45,.28), transparent 68%);
  top: -240px; right: -120px; pointer-events: none;
}
.section--map::after{
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,225,230,.12), transparent 70%);
  bottom: -220px; left: -160px; pointer-events: none;
}
.section--map .wrap{ position: relative; z-index: 1; }
.sec-head--light h2{ color: #FFF7F4; }
.sec-head--light .kicker{ color: #C9A9AC; }
.sec-head--light .kicker span{ background: var(--red-bright); }
.sec-head--light .sec-head__note{ color: #C0A5A8; }

.map-grid{ display: grid; gap: 22px; }

.map-card{
  background: var(--cream); color: var(--ink); min-width: 0;
  border-radius: var(--r-lg);
  padding: 20px 20px 22px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.map-card__head{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.map-card__head h3{ margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.map-card__badge{
  font-size: 12px; color: var(--muted);
  background: #fff; border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}

.map-figure{
  position: relative; display: block;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: #FFF6F2;
}
.map-figure img{ display: block; width: 100%; height: auto; }
.map-figure__hint{
  margin: 8px 2px 0; text-align: right;
  font-size: 12.5px; color: var(--muted); letter-spacing: .02em;
}

.map-steps{ display: none; list-style: none; margin: 16px 0 0; padding: 0; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.map-steps li{
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
}
.map-steps b{
  flex: 0 0 auto; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 12.5px; font-weight: 800;
}
.map-steps span{ font-family: var(--font-display); font-size: 14.5px; font-weight: 800; line-height: 1.35; }
.map-steps small{ display: block; margin-top: 2px; font-family: var(--font-body); font-size: 12px; font-weight: 500; color: var(--muted); }
@media (max-width: 900px){ .map-steps{ display: grid; } }

.map-side{ display: grid; grid-template-columns: 1.02fr 1.16fr .82fr; gap: 16px; align-items: stretch; }
.map-side > .info-card{ display: flex; flex-direction: column; }
.map-side .map-actions{ margin-top: auto; }
.info-card{
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.8);
}
.info-card h3{
  margin: 0 0 10px; font-family: var(--font-display);
  font-size: 15px; font-weight: 800; letter-spacing: .06em; color: #8B6F72;
}
.addr{ margin: 0 0 18px; font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1.45; }
.addr small{ display: block; margin-top: 6px; font-family: var(--font-body); font-size: 13.5px; font-weight: 500; color: var(--muted); line-height: 1.7; }
.map-actions{ display: grid; gap: 10px; }

.info-card--tint{ background: #FFF3EE; }
.ways{ list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ways li{ display: flex; gap: 12px; align-items: flex-start; }
.way__ico{
  flex: 0 0 auto; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--c, var(--sky)); color: #4A3A3C;
}
.ways b{ font-size: 14.5px; font-weight: 800; }
.ways p{ margin: 1px 0 0; font-size: 13px; line-height: 1.65; color: #6B5256; }

.info-card--cta{
  background: var(--red); color: #fff;
  box-shadow: 0 30px 60px -30px rgba(232,22,34,.9);
}
.info-card--cta .cta-note{ margin: -4px 0 16px; font-family: var(--font-body); font-size: 13.5px; font-weight: 500; line-height: 1.7; color: rgba(255,255,255,.94); }
.info-card--cta p{ margin: 0 0 14px; font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1.6; }

.sketch{
  margin: 44px 0 0; padding: 26px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.03);
  text-align: center;
}
.sketch img{ width: 100%; max-width: 700px; margin-inline: auto; }
.sketch figcaption{
  margin-top: 10px; font-size: 12.5px; letter-spacing: .22em;
  color: #C9A9AC; text-transform: uppercase;
}

/* ---------------- 页脚 ---------------- */
.footer{ background: #FFF6F1; border-top: 1px solid var(--line); }
.footer__inner{
  display: grid; grid-template-columns: 1.5fr 1fr .9fr; gap: 40px;
  padding-top: 56px; padding-bottom: 44px;
}
.footer__brand .school-logo{ height: 44px; width: auto; }
.footer__brand p{ margin: 14px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.footer__nav{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; align-content: start; }
.footer__nav a{ text-decoration: none; font-size: 14.5px; font-weight: 600; color: #4C3A3C; }
.footer__nav a:hover{ color: var(--red-ink); }
.footer__meta{ font-size: 13.5px; color: #5D4649; }
.footer__meta p{ margin: 0 0 6px; }
.footer__meta .muted{ color: #8A6A6E; }
.footer__bar{ border-top: 1px solid var(--line); padding: 16px 0; font-size: 12.5px; color: #8A6A6E; }

/* ---------------- 动效（滚动进入） ---------------- */
html.js .reveal{ opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.is-in{ opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px){
  .hero__grid{ grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero__art{ max-width: 620px; padding-left: 0; }
  .about{ grid-template-columns: 1fr; gap: 44px; }
  .poster-card{ position: static; max-width: 460px; margin-inline: auto; }
  .map-grid{ grid-template-columns: 1fr; }
  .map-side{ grid-template-columns: 1fr 1fr; }
  .info-card--cta{ grid-column: 1 / -1; }
  .footer__inner{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px){
  .nav__links{ display: none; }
  .nav__inner > .btn{ margin-left: auto; }
  .brand__sub{ display: none; }
  .gallery .shot:nth-child(1),
  .gallery .shot:nth-child(2){ grid-column: span 12; }
  .gallery .shot:nth-child(3),
  .gallery .shot:nth-child(4),
  .gallery .shot:nth-child(5){ grid-column: span 6; }
  .gallery .shot--feature{ grid-template-columns: 1fr; }
  .gallery .shot--feature img{ min-height: 220px; aspect-ratio: 16 / 9; }
  .gallery .shot--feature figcaption{ padding: 22px 22px 24px; }
  .bento .shot--hero,
  .bento .shot:nth-child(2),
  .bento .shot:nth-child(3),
  .bento .shot:nth-child(4),
  .bento .shot:nth-child(5){ grid-column: span 12; grid-row: auto; }
  .bento .shot--hero img{ min-height: 240px; }
}

@media (max-width: 640px){
  body{ font-size: 16px; }
  .section{ padding: 72px 0; }
  .wrap{ padding-inline: 18px; }
  .nav.is-over-dark{
  background: #FFFBF6;
  border-bottom-color: rgba(255,255,255,.14);
  box-shadow: 0 10px 30px -22px rgba(0,0,0,.6);
}
.nav__inner{ padding-inline: 18px; height: 66px; }
  .brand .school-logo{ height: 32px; }
  .nav .btn--sm{ --btn-h: 40px; padding: 0 16px; font-size: 14px; }
  .br-m{ display: initial; }
  .hero__grid{ padding-bottom: 64px; }
  .hero__cta .btn{ flex: 1 1 100%; }
  .facts li{ padding: 10px 14px; }
  .facts b{ font-size: 19px; }
  .snap--float{ position: relative; width: 78%; left: 0; bottom: 0; margin: -30px 4px 0 auto; transform: rotate(2deg); }
  .gallery .shot:nth-child(1) img,
  .gallery .shot:nth-child(2) img{ height: auto; aspect-ratio: 4 / 3; }
  .map-steps{ grid-template-columns: 1fr 1fr; }
  .map-side{ grid-template-columns: 1fr; }
  .big-quote{ font-size: 20px; padding-left: 16px; }
  .br-d{ display: none; }
  .sticker--a{ right: -2px; font-size: 13px; padding: 8px 14px; }
  .sticker--b{ display: none; }
  .gallery .shot,
  .gallery .shot:nth-child(n),
  .bento .shot,
  .bento .shot:nth-child(n){ grid-column: span 12; }
  .gallery .shot:nth-child(6) img{ aspect-ratio: 16 / 9; }
  .map-side{ grid-template-columns: 1fr; }
  .poster-card{ transform: none; }
  .footer__inner{ grid-template-columns: 1fr; gap: 26px; }
}

/* ---------------- 降低动效偏好 ---------------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .marquee__track{ animation: none; }
  html.js .reveal{ opacity: 1; transform: none; }
}

@media print{
  .nav, .marquee, .hero__blobs, .sketch{ display: none; }
  body{ background: #fff; }
  .section{ padding: 24px 0; }
  .reveal{ opacity: 1 !important; transform: none !important; }
}
