/* 明亮版样式（2026-10-29 用户选「第 1 档 · 只换样式」）：参照越南站 beaconedu.vn ——
   白底、彩色照片、logo 灯塔红做强调色、圆角卡片、浅蓝灰底区块；页面结构和文字不变。
   深蓝 #141E54 只留在页脚（Charlie 指定的网站主色；公司没有正式品牌色）。
   旧版（仿 2018 年 Squarespace 模板：黑白大图、Futura 大写标题）见 git 历史。 */
:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --red: #EC0000;        /* 取自官方 logo 文件里灯塔的红 */
  --red-dark: #C40000;
  --blue: #141E54;       /* 页脚深蓝 */
  --ink: #1B1F2A;        /* 标题 */
  --ink-2: #1B1F2A;
  --gray: #4A5161;       /* 正文 */
  --muted: #7A8193;
  --line: #E6E8EE;
  --tint: #F3F6FB;       /* 浅蓝灰底 */
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--gray); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-weight: 700; font-size: 52px; }
h2 { font-weight: 700; font-size: 32px; }
h3 { font-weight: 600; font-size: 22px; }
h4 { font-weight: 600; font-size: 18px; }
.caps { text-transform: uppercase; letter-spacing: .04em; }
.center { text-align: center; }

/* ---------- header：所有页面统一白底 + 黑色 logo ---------- */
.site-header { position: sticky; top: 0; z-index: 20; height: 72px; padding: 0 max(24px, calc((100vw - 1100px) / 2)); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); color: var(--ink); }
.brand img { width: 119px; height: auto; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav > a, .nav .folder > span, .nav .folder > a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 6px 0; cursor: pointer; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"], .nav .folder.current > span, .nav .folder.current > a { color: var(--red); border-color: var(--red); }
.nav > a:hover, .nav .folder:hover > span, .nav .folder:hover > a { color: var(--red); }
.folder { position: relative; }
.folder > span, .folder > a { display: block; line-height: 1.2; color: inherit; }
.nav > a { line-height: 1.2; }
.folder .drop { display: none; position: absolute; top: 100%; left: -16px; background: #fff; padding: 10px 0; min-width: 250px; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(20,30,84,.10); }
.folder:hover .drop, .folder:focus-within .drop { display: block; }
.drop a { display: block; padding: 8px 18px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); }
.drop a:hover, .drop a[aria-current="page"] { color: var(--red); background: var(--tint); }
.menu-toggle { display: none; background: none; border: 0; font-size: 28px; color: inherit; cursor: pointer; }

/* ---------- hero：彩色大图，文字靠左，左侧轻遮罩 ---------- */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; color: #fff; background: #ccd center / cover no-repeat; padding: 110px max(24px, calc((100vw - 1100px) / 2)); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,50,.48) 0%, rgba(10,20,50,.22) 45%, rgba(10,20,50,0) 75%); }   /* 2026-10-29 调浅：用户觉得原来太暗 */
.hero-inner { position: relative; max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1, .hero p { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero p { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.95); max-width: 560px; margin-bottom: 30px; }
.hero .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.scroll { position: absolute; bottom: 26px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); opacity: .8; }

/* ---------- 无大图页面的标题 ---------- */
.page-title { text-align: center; padding: 84px 24px 20px; background: linear-gradient(180deg, #EEF4FB 0%, #fff 100%); }
.page-title h1 { max-width: 860px; margin: 0 auto; font-size: 46px; }

/* ---------- sections ---------- */
.section { padding: 96px 100px; }
.narrow { max-width: 680px; margin: 0 auto; }
.mid { max-width: 900px; margin: 0 auto; }
.wide { max-width: 1100px; margin: 0 auto; }
.lead { text-align: center; }
.lead h2 + h2 { margin-top: 1em; }
.lead h2 { margin-bottom: 0; font-size: 22px; font-weight: 500; line-height: 1.55; letter-spacing: 0; color: var(--gray); }
hr { border: 0; height: 1px; background: var(--line); width: 100%; max-width: 1100px; margin: 72px auto; }

/* 首页 mission：浅蓝灰底，标题 + 三张并排卡片（和下面三项特点卡片同一样式） */
.gold { background: var(--tint); }
.mission { max-width: 1100px; margin: 0 auto; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 0 0 12px; }
.mission h2 { max-width: 760px; margin: 0 auto 44px; font-size: 30px; }
.mission-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.mission-cards > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.mission-cards h4 { margin-bottom: .4em; }
.mission-cards p { font-size: 15px; line-height: 1.7; margin: 0; }

/* 照片横幅（首页团队区块） */
.photo-bg { position: relative; color: #fff; background: #556 center / cover no-repeat; }
.photo-bg::before { content: ""; position: absolute; inset: 0; background: rgba(10,20,50,.55); }
.photo-bg p { color: rgba(255,255,255,.95); }
.photo-bg > * { position: relative; }
.photo-bg h2 { color: #fff; }

/* ---------- 首页（2026-10-29 统一结构）：每块同一个开头（红色小字 + 标题 + 一句话，靠左），白 / 浅灰蓝交替，间距一致 ---------- */
.home-sec { padding: 96px 24px; }
.home-sec.tint { background: var(--tint); }
.home-wrap { max-width: 1100px; margin: 0 auto; }
.sec-head { max-width: 680px; margin-bottom: 40px; }
.sec-head h2 { font-size: 32px; margin-bottom: .35em; }
.sec-head p:last-child { margin: 0; font-size: 17px; }
/* 合作院校校徽一排：每个校徽显示面积相同，宽的矮、窄的高（官方文件见 Beacon_AI/brand/logo/合作院校） */
.partner-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.partner-row img { height: calc(var(--h) * .9); width: auto; }   /* 7 个校徽一排放进 1100px */
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-cards .card { text-decoration: none; }
.home-cards .card .more { padding: 0 22px; margin-top: auto; color: var(--red); font-weight: 600; font-size: 15px; }
.home-cards .card .more::after { content: "→"; margin-left: 6px; }
.where { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.city-grid { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.city-grid li { font-weight: 600; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.city-grid small { font-weight: 500; color: var(--red); margin-left: 8px; font-size: 13px; }
.where-map { width: 100%; max-width: 460px; justify-self: center; }
/* 首页联系：院校、学生两张同样大的卡片（学生入口不再是小字） */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; align-items: flex-start; }
.contact-card h3 { font-size: 22px; margin-bottom: .4em; }
.contact-card p { margin-bottom: 24px; }
/* Connect 页联系：院校和学生合成一块，一个邮箱、一个按钮 */
.contact-one { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--tint); border-radius: 22px; padding: 48px 56px; }
.contact-one h2 { font-size: 32px; margin-bottom: .35em; }
.contact-one p:last-child { margin: 0; max-width: 640px; font-size: 17px; }
.contact-one .btn { flex-shrink: 0; }
/* 两张卡片底部用同一种按钮网格（每格一样宽），左右分量一致 */
.contact-card .card-btn { margin-top: auto; }
/* 学生卡片：和院校卡片一样只有一个按钮，点开是各地区网站 */
.region-menu { margin-top: auto; position: relative; }
.region-menu summary { list-style: none; cursor: pointer; }
.region-menu summary::-webkit-details-marker { display: none; }
.region-menu summary::after { content: "▾"; margin-left: 8px; font-size: 12px; }
.region-menu[open] summary::after { content: "▴"; }
.region-list { position: absolute; left: 0; bottom: calc(100% + 10px); min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(20,30,84,.14); padding: 8px 0; z-index: 10; }
.region-list::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; } /* 补上和按钮之间 10px 的空隙，鼠标往上移时菜单不会收起 */
.region-list a { display: flex; justify-content: space-between; gap: 18px; padding: 10px 18px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.region-list a:hover { background: var(--tint); color: var(--red); }
.region-list span { font-weight: 400; color: var(--muted); }
.region-row { display: flex; justify-content: space-between; gap: 18px; padding: 10px 18px; font-weight: 600; font-size: 15px; color: var(--ink); }
.region-list .region-row .rname { font-weight: 600; color: var(--ink); }
.region-list .region-row .rlangs { font-weight: 400; color: var(--muted); }
.region-list .region-row a { display: inline; padding: 0; font-weight: 400; color: var(--muted); }
.region-list .region-row a:hover { background: none; color: var(--red); }
.card-actions { margin-top: auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-actions .btn { justify-content: center; text-align: center; padding: 12px 14px;; white-space: nowrap; }

/* ---------- 图文左右 ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1000px; margin: 0 auto; }
.row + hr + .row { margin-top: 0; }
.row + .row { margin-top: 90px; }
.lead + .row { margin-top: 70px; }
.mid + .feature, .mid + .feats { margin-top: 70px; }
.feature.light + .feature.light { margin-top: 28px; }
.person + .person { margin-top: 56px; }
.row.flip .row-img { order: 2; }
.row h3 { text-align: left; }
.row p { font-size: 16px; line-height: 1.75; }
.row-img img { border-radius: var(--radius); }
/* Services 子页面：配图统一 340px 正方形，Teaching 页横幅同高 */
.svc .row { grid-template-columns: 340px 1fr; gap: 60px; max-width: 900px; }
.svc .row.flip { grid-template-columns: 1fr 340px; }
.svc .row-img img { width: 340px; height: 340px; object-fit: cover; }
.svc-banner { width: 100%; max-width: 680px; aspect-ratio: 2 / 1; object-fit: cover; margin: 40px auto 56px; border-radius: var(--radius); }

/* ---------- 图标卡片（首页三项）和图标行（Career Development） ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.feats .feature { display: block; margin: 0; max-width: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.feats .feature .icon { width: 52px; margin-bottom: 18px; }
.feature { display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: start; max-width: 900px; margin: 0 auto 28px; }
.feature.flip { grid-template-columns: 60px 1fr; }
.feature.flip .icon { order: 0; }
.feature.flip .feature-text { text-align: left; }
.feature .icon { width: 60px; }
.feature.light { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.feature p { font-size: 16px; line-height: 1.75; margin: 0; }
.feature p + p { margin-top: .8em; }
.feature.light h3 { font-size: 21px; margin-bottom: .4em; }

/* ---------- 卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; padding-bottom: 24px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 34px rgba(20,30,84,.10); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 0 20px; }
.card h4, .card p { padding: 0 22px; }
.card h4 { margin-bottom: .5em; }
.card p { font-size: 15px; line-height: 1.7; }
.cards.four, .cards.prog { grid-template-columns: repeat(4, 1fr); max-width: 1160px; }
.cards.four .card p:last-child { margin: auto 0 0; }   /* Learn more 对齐到底部 */
.card .btn { border: 0; padding: 0; background: none; color: var(--red); font-weight: 600; }
.card .btn::after { content: "→"; margin-left: 6px; }
.card .btn:hover { background: none; color: var(--red-dark); }
/* Teaching 页四张纯文字卡片 */
.cards.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.cards.two .card { padding: 28px 6px 18px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; padding: 12px 26px; font-family: var(--font); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.9); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-white { background: #fff; border-color: #fff; color: var(--ink); }
.btn-white:hover { background: transparent; color: #fff; }

/* ---------- 首页底部：团队横幅 + 联系引导 ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 900px; margin: 0 auto 1.4em; }
.photo-split { text-align: left; padding-top: 120px; padding-bottom: 120px; }
.photo-split::before { background: linear-gradient(90deg, rgba(10,20,50,.72) 0%, rgba(10,20,50,.45) 50%, rgba(10,20,50,.1) 100%); }
.split-inner { max-width: 1100px; margin: 0 auto; }
.split-inner h2 { font-size: 34px; margin-bottom: .5em; max-width: 540px; }
.split-inner p { max-width: 540px; margin-bottom: 1.8em; }
.cta-split .cta-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; text-align: left; background: var(--tint); border-radius: 22px; padding: 48px 56px; }
.cta-split h2 { margin: 0; max-width: 680px; font-size: 28px; }
.cta-split .btn { flex-shrink: 0; }

/* ---------- Team：领导简介 ---------- */
.person { display: grid; grid-template-columns: 180px 1fr; gap: 44px; max-width: 900px; margin: 0 auto; align-items: start; }
.person img { width: 180px; aspect-ratio: 1; object-fit: cover; object-position: center top; border-radius: var(--radius); }
.person h4 { margin: 0 0 .15em; font-size: 22px; }
.person .role { font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 1em; }
.person p { font-size: 16px; line-height: 1.75; }

/* ---------- Connect ---------- */
.connect { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; max-width: 1100px; margin: 0 auto 80px; }
.connect h4 { font-size: 22px; }
.offices { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; align-items: center; max-width: 1100px; margin: 0 auto 64px; }
.offices h1 { font-size: 52px; margin-bottom: 22px; }
.offices > div > p:first-of-type { font-size: 17px; line-height: 1.7; }
.offices .region { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 28px 0 6px; }
.offices ul { list-style: none; margin: 0; padding: 0; }
.offices li { font-weight: 600; font-size: 16px; color: var(--ink); padding: 7px 0; border-bottom: 1px solid var(--line); }
.offices li span { font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-left: 10px; }   /* 总部标注用红色，跟地图上香港的红点呼应 */
.offices-map { width: 100%; max-width: 480px; height: auto; justify-self: center; }   /* 地图收小一点，整块不那么高，重心不往下沉 */
.contact-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-boxes > div { background: var(--tint); border-radius: var(--radius); padding: 28px; }
.contact-boxes p { font-size: 16px; line-height: 1.75; }
.contact-boxes .btn { background: var(--red); border-color: var(--red); color: #fff; }
.contact-boxes .btn:hover { background: var(--red-dark); border-color: var(--red-dark); }

.note { font-size: 13px; text-align: center; margin-top: 30px; color: var(--muted); }

/* ---------- footer：深蓝，左右两栏 ---------- */
.site-footer { background: var(--blue); color: #fff; padding: 64px 24px 36px; font-size: 15px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.footer-logo { width: 119px; height: auto; margin: 0 0 22px; }
.site-footer p { margin: 0 0 6px; }
.site-footer .addr { line-height: 1.6; margin-bottom: 12px; color: rgba(255,255,255,.85); }
.footer-side { text-align: right; padding-top: 4px; }
.socials { display: flex; justify-content: flex-end; gap: 10px; margin: 0 0 22px; }
.social { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--blue); align-items: center; justify-content: center; }
.social svg { width: 15px; height: 15px; fill: currentColor; }
a.social { transition: background .15s, color .15s; }
a.social:hover { background: var(--red); color: #fff; }
.site-footer .langs { font-size: 13px; color: rgba(255,255,255,.7); max-width: 560px; margin-left: auto; line-height: 1.7; }
.site-footer .langs a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer .langs a:hover { color: #fff; }
.site-footer .langs .nw { white-space: nowrap; }   /* 每个地区不拆行 */
.site-footer .langs a span { opacity: .7; }
.site-footer .copy { max-width: 1100px; margin: 44px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; color: rgba(255,255,255,.45); }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  h1 { font-size: 36px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  .site-header { padding: 0 16px; height: 64px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 16px 18px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav > a, .nav .folder > span, .nav .folder > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .folder .drop { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .drop a { padding: 8px 0; }
  .hero { min-height: 520px; padding: 80px 16px; }
  .hero::before { background: rgba(10,20,50,.5); }
  .hero p { font-size: 17px; }
  .section { padding: 64px 16px; }
  .page-title { padding: 48px 16px 12px; }
  .page-title h1 { font-size: 32px; }
  .lead h2 { font-size: 19px; }
  .mission h2 { font-size: 24px; margin-bottom: 28px; }
  .mission-cards { grid-template-columns: 1fr; gap: 16px; }
  .row + .row, .person + .person { margin-top: 56px; }
  .lead + .row, .mid + .feature, .mid + .feats { margin-top: 44px; }
  .row, .cards, .cards.two, .cards.four, .cards.prog, .feats, .connect, .contact-boxes, .offices { grid-template-columns: 1fr; gap: 24px; }
  .offices h1 { font-size: 36px; }
  .offices-map { max-width: 420px; margin: 0 auto; }
  .row.flip .row-img { order: 0; }
  .home-sec { padding: 64px 16px; }
  .partner-row { flex-wrap: wrap; justify-content: center; gap: 22px 30px; }
  .partner-row img { height: calc(var(--h) * .78); }
  .sec-head h2 { font-size: 26px; }
  .home-cards, .where, .contact-cards { grid-template-columns: 1fr; gap: 24px; }
  .contact-card { padding: 26px; }
  .contact-one { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 24px; }
  .contact-one h2 { font-size: 26px; }
  .card-actions { gap: 10px; }
  .card-actions .btn { font-size: 14px; padding: 11px 6px; }
  .svc .row, .svc .row.flip { grid-template-columns: 1fr; }
  .svc .row-img img { width: 100%; max-width: 340px; height: auto; aspect-ratio: 1; margin: 0 auto; }
  .feature, .feature.flip { grid-template-columns: 48px 1fr; gap: 16px; }
  .feature .icon { width: 48px; }
  .feature.light, .feats .feature { padding: 24px; }
  .person { grid-template-columns: 1fr; gap: 18px; }
  .person img { width: 140px; }
  .photo-split { padding-top: 80px; padding-bottom: 80px; }
  .photo-split::before { background: rgba(10,20,50,.6); }
  .split-inner h2 { font-size: 26px; }
  .cta-split .cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 24px; }
  .cta-split h2 { font-size: 22px; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-side { text-align: left; }
  .socials { justify-content: flex-start; }
  .site-footer .langs { margin-left: 0; }
  hr { margin: 44px auto; }
}

/* ---------- Programs 合作院校校徽：横向匀速滚动（2026-10-31），两端渐隐 ---------- */
.logo-marquee { max-width: 1100px; margin: 36px auto 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%); }
.logo-track { display: flex; align-items: center; gap: 72px; width: max-content; padding-right: 72px; animation: logo-slide 40s linear infinite; }
.logo-track img { height: calc(var(--h) * .9); width: auto; flex: none; }   /* 跟原来一排时的大小一样，每个校徽显示面积相同 */
@keyframes logo-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-right: 0; row-gap: 32px; } .logo-marquee { -webkit-mask-image: none; mask-image: none; padding: 0 16px; } }   /* 手机开了「减弱动态效果」：不滚动，校徽只排一份（脚本也不再复制） */
@media (max-width: 900px) { .logo-track { gap: 48px; padding-right: 48px; animation-duration: 30s; } .logo-track img { height: calc(var(--h) * .8); } }
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .logo-track { gap: 28px 40px; padding-right: 0; } }

