@charset "UTF-8";

:root {
  --ink: #1C4232;
  --paper: #fcf9f9;
  --mist: #e8ecea;
  --line: #c7c9c9;
  --line-2: #dce0d5;
  --grey: #7e7d7d;
  --grey-2: #274D3D;

  --brand: #0d6118d0;

  /* 仅用于页脚按钮 hover 的文字色；页头/页尾背景改下面 4 个渐变色值，改这里不影响背景 */
  --chrome-bg-rgb: 21, 149, 98;
  --chrome-bg: rgb(var(--chrome-bg-rgb));

  /* 页头渐变（上/下）+ 透明度，滚动后由 .header.is-stuck 自动加深 */
  --chrome-bg-header-top-rgb: 29, 178, 120;
  --chrome-bg-header-bottom-rgb: 26, 180, 118;
  --header-alpha: .72;
  --header-alpha-stuck: .94;

  /* 页脚渐变（上/下） */
  --chrome-bg-footer-top: #47c28c;
  --chrome-bg-footer-bottom: #23af7a;
  --chrome-fg-rgb: 255, 255, 255;
  --chrome-fg: rgb(var(--chrome-fg-rgb));

  --chrome-footer-text-shadow: 0 1px 2px rgba(0, 0, 0, .32);

  --brand-lit: #9ed4bba4;

  --fs-d1: clamp(38px, 6vw, 88px);
  --fs-d2: clamp(28px, 3.1vw, 46px);
  --fs-h4: clamp(18px, 1.4vw, 21px);
  --fs-body: 14px;
  --fs-lede: clamp(17px, 1.3vw, 19px);
  --fs-sm: 14px;
  --fs-label: 12px;
  --fs-read: 13px;
  --fs-nav: 15px;
  --fs-micro: 11px;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 48px;
  --sp-10: 64px;
  --sp-11: 96px;

  --gutter: clamp(20px, 3.2vw, 48px);

  --gap-cards: clamp(var(--sp-4), 1.5vw, var(--sp-5));

  --sect-y: clamp(20px, 8vw, 30px);
  --sect-y-sm: clamp(44px, 4.2vw, 64px);
  --sect-y-tight: clamp(40px, 3.6vw, 56px);

  --header-h: 72px;
  --header-h-stuck: 60px;

  --ab-lift: 60px;

  --page-gap: clamp(var(--sp-9), 6vw, var(--sp-11));
  --page-top: calc(var(--header-h) + var(--page-gap));
  --page-top-bleed: calc(var(--page-top) + var(--ab-lift));

  --ease: cubic-bezier(.22, .61, .36, 1);

  --r: 10px;
  --r-pill: 50rem;
  --shell: 1200px;

  --font: "Noto Sans SC", "Source Han Sans SC", "Noto Sans CJK SC",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("../font/NotoSansSC-subset.woff2?v=20261117") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);

  text-rendering: optimizeLegibility;
  font-kerning: normal;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
p,
figure,
ul,
ol,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--brand);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sect {
  padding-block: var(--sect-y);
}

.sect--mist {
  background: var(--mist);
}

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--sp-6);
}

.grid12>.col-8 {
  grid-column: span 8;
}

.grid12>.col-12 {
  grid-column: span 12;
}

.d2 {
  font-size: var(--fs-d2);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.005em;
}

.small {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--grey);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.4;
}

.label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: none;
}

.sect-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(var(--sp-6), 4vw, var(--sp-11));
  align-items: end;
  margin-bottom: clamp(var(--sp-8), 4.4vw, var(--sp-10));
}

.sect-head__title {
  margin-top: var(--sp-5);
  max-width: 22em;
  text-wrap: balance;
}

@media (max-width: 900px) {
  .sect-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: var(--sp-5);
  }

}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  height: 52px;
  padding: 0 var(--sp-7);
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--fs-read);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease),
    border-color .25s var(--ease);
}

.btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--solid:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.btn--block {
  width: 100%;
}

.arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-read);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink);
}

.arrow::after {
  content: "→";
  font-size: var(--fs-sm);
  transition: transform .3s var(--ease);
}

.arrow--noicon::after {
  content: none;
}

.arrow--noicon {
  gap: 0;
}

.arrow:hover {
  color: var(--brand);
}

.arrow:hover::after {
  transform: translateX(6px);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--header-h);

  background: linear-gradient(180deg,
      rgba(var(--chrome-bg-header-top-rgb), var(--header-alpha)) 0%,
      rgba(var(--chrome-bg-header-bottom-rgb), var(--header-alpha)) 100%);
  /* 半透明下用背景模糊保证导航文字清晰 */
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), border-color .3s var(--ease);
}

.header.is-stuck {
  height: var(--header-h-stuck);
  --header-alpha: var(--header-alpha-stuck);
  border-bottom-color: rgba(var(--chrome-fg-rgb), .16);
}

/* 首页首屏是纯黑背景图，页头更透一些，让标题区更开阔 */
body[data-page="home"] .header {
  --header-alpha: .45;
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  backdrop-filter: blur(6px) saturate(1.2);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}

body[data-page="home"] .header.is-stuck {
  --header-alpha: var(--header-alpha-stuck);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(var(--sp-6), 3vw, var(--sp-10));
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand__logo {
  display: block;
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(var(--sp-5), 2.1vw, var(--sp-7));
  margin-left: auto;
}

.nav>a {
  position: relative;
  font-size: var(--fs-nav);
  font-weight: 700;
  letter-spacing: .04em;

  color: rgba(var(--chrome-fg-rgb), .88);
  padding-block: var(--sp-2);
  white-space: nowrap;
}

.nav>a:hover {
  color: var(--chrome-fg);
}

.nav>a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;

  background: var(--brand-lit);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav>a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--chrome-fg);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  position: relative;
  align-items: center;
  justify-content: center;
}

.burger i {
  display: block;
  width: 20px;
  height: 1.5px;

  background: var(--chrome-fg);
  position: relative;
  transition: background-color .2s;
}

.burger i::before,
.burger i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--chrome-fg);
  transition: transform .25s var(--ease), top .25s var(--ease);
}

.burger i::before {
  top: -6px;
}

.burger i::after {
  top: 6px;
}

.burger[aria-expanded="true"] i {
  background: transparent;
}

.burger[aria-expanded="true"] i::before {
  top: 0;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] i::after {
  top: 0;
  transform: rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 89;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: var(--sp-2) var(--gutter) var(--sp-7);
  display: none;
}

.drawer.is-open {
  display: block;
}

.drawer a {
  display: block;
  padding: var(--sp-4) 0;
  font-size: var(--fs-lede);
  border-bottom: 1px solid var(--line);
}

.drawer a.drawer__sub {
  padding: var(--sp-3) 0 var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--grey);
  border-bottom: 0;
}

.drawer a:not(.drawer__sub):not(.btn)+a.drawer__sub {
  padding-top: var(--sp-1);
}

.drawer .btn {
  margin-top: var(--sp-6);
}

.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  max-height: 1040px;
  overflow: hidden;
  background: #08090a;
  color: #fff;
  isolation: isolate;
}

/* 首屏背景图：纯黑底图，铺满并居中裁切 */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__body {
  position: absolute;
  inset: auto 0 0;
  padding-bottom: clamp(var(--sp-7), 3vw, var(--sp-9));
}

.hero h1 {
  font-size: var(--fs-d1);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  max-width: 20em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: #fff;
}

@keyframes drop {
  0% {
    transform: scaleY(.2);
    transform-origin: top;
    opacity: 0;
  }

  40% {
    transform: scaleY(1);
    opacity: 1;
  }

  100% {
    transform: scaleY(.2);
    transform-origin: bottom;
    opacity: 0;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.step {
  border-top: 1px solid var(--ink);
  padding: var(--sp-6) var(--sp-5) 0 0;
  transition: border-color .3s;
}

.step:hover {
  border-top-color: var(--brand);
}

.step__no {
  font-size: var(--fs-micro);
  letter-spacing: .16em;
  color: var(--grey-2);
  font-feature-settings: "tnum";
}

.step__title {
  margin-top: var(--sp-6);
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.4;
}

.step__desc {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--grey);
}

@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 var(--sp-6);
  }

  .step {
    padding-bottom: var(--sp-6);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.ntabs {
  position: sticky;
  top: var(--header-h-stuck);
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.ntabs__inner {
  display: flex;
  align-items: center;
  gap: clamp(var(--sp-5), 3vw, var(--sp-9));
  overflow-x: auto;
  scrollbar-width: none;
}

.ntabs__inner::-webkit-scrollbar {
  display: none;
}

.ntabs__tab {
  position: relative;
  flex: 0 0 auto;
  padding-block: var(--sp-5) var(--sp-5);
  font-size: var(--fs-sm);
  line-height: 1.2;
  color: var(--grey);
  white-space: nowrap;
  transition: color .22s;
}

.ntabs__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease);
}

.ntabs__tab:hover {
  color: var(--ink);
}

.ntabs__tab.is-on {
  color: var(--ink);
}

.ntabs__tab.is-on::after {
  transform: scaleX(1);
}

.nlist {
  background: var(--mist);
  padding-block: var(--sect-y-sm);
}

.ncards {
  --ncard-media: clamp(104px, 9.4vw, 150px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(var(--sp-4), 1.6vw, var(--sp-7));
}

.ncard {
  display: grid;
  grid-template-columns: var(--ncard-media) minmax(0, 1fr);
  gap: clamp(var(--sp-5), 2vw, var(--sp-7));
  padding: clamp(var(--sp-5), 1.7vw, var(--sp-6));
  background: var(--paper);
}

.ncard__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9e8e4;
}

.ncard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.ncard:hover .ncard__media img {
  transform: scale(1.05);
}

.ncard__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-block: var(--sp-1);
}

.ncard__cat {
  font-size: var(--fs-label);
  letter-spacing: .14em;
  color: var(--brand);
}

.ncard__title {
  display: -webkit-box;
  margin-top: var(--sp-3);
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.45;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s;
}

.ncard:hover .ncard__title {
  color: var(--brand);
}

.ncard__desc {
  display: -webkit-box;
  margin-top: var(--sp-3);
  font-size: var(--fs-read);
  line-height: 1.7;
  color: var(--grey);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ncard__meta {
  margin-top: auto;
  padding-top: var(--sp-5);
  font-size: var(--fs-label);
  letter-spacing: .04em;
  color: var(--grey-2);
  font-feature-settings: "tnum";
}

.nlist__note {
  max-width: 62em;
  margin-top: clamp(var(--sp-6), 3vw, var(--sp-8));
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-2);
  font-size: var(--fs-label);
  line-height: 1.85;
  color: var(--grey-2);
}

@media (max-width: 1080px) {
  .ncards {
    --ncard-media: 118px;
  }
}

@media (max-width: 900px) {
  .ncards {
    grid-template-columns: 1fr;
  }

  .ntabs__tab {
    padding-block: var(--sp-5) var(--sp-4);
    font-size: var(--fs-sm);
  }

  .ntabs__inner {
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
  }
}

@media (max-width: 640px) {

  .ntabs__inner {
    gap: var(--sp-4);
  }

  .ntabs__tab {
    padding-block: var(--sp-4) var(--sp-4);
    font-size: var(--fs-sm);
  }

  .ncard {
    --ncard-media: 92px;
    gap: var(--sp-4);
    padding: var(--sp-4);
  }

  .ncard__desc {
    display: none;
  }

  .ncard__title {
    margin-top: var(--sp-2);
    -webkit-line-clamp: 2;
  }

  .ncard__meta {
    padding-top: var(--sp-3);
    font-size: var(--fs-label);
  }

  .ab-hero--lead.ab-hero--news .ab-hero__inner {
    padding-top: var(--page-top-bleed);
  }
}

.pager {
  position: relative;
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  margin-top: var(--sp-9);
}

.pager__count {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--fs-label);
  color: var(--grey-2);
  letter-spacing: .04em;
}

@media (max-width: 640px) {
  .pager__count {
    position: static;
    transform: none;
    width: 100%;
    text-align: center;
    margin-bottom: var(--sp-2);
  }

  .pager {
    flex-wrap: wrap;
  }
}

.pager button {
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  font-size: var(--fs-read);
  color: var(--grey);
  transition: all .2s;
  font-feature-settings: "tnum";
}

.pager button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.pager button.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.pager button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: var(--fs-label);
  letter-spacing: .04em;
  color: var(--grey-2);
  margin-bottom: var(--sp-1);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.footer {

  background: linear-gradient(180deg,
      var(--chrome-bg-footer-top) 0%,
      var(--chrome-bg-footer-bottom) 100%);
  color: rgba(var(--chrome-fg-rgb), .9);
  text-shadow: var(--chrome-footer-text-shadow);
  font-size: var(--fs-read);
  padding-block: clamp(var(--sp-7), 4vw, var(--sp-9)) clamp(var(--sp-6), 2.6vw, var(--sp-8));
}

.footer .btn {
  border-color: rgba(var(--chrome-fg-rgb), .7);
  color: var(--chrome-fg);
}

.footer .btn:hover {
  background: var(--brand-lit);
  border-color: var(--brand-lit);

  color: var(--chrome-bg);
  text-shadow: none;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4) var(--sp-6);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(var(--chrome-fg-rgb), .3);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) clamp(var(--sp-5), 2.2vw, var(--sp-8));
}

.footer__nav a,
.footer__social {
  font-size: var(--fs-label);
  letter-spacing: .02em;
  color: rgba(var(--chrome-fg-rgb), .96);
}

.footer__nav a:hover,
.footer__social:hover {
  color: var(--chrome-fg);
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer__social svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: currentColor;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-7) var(--sp-8);
  padding-top: clamp(var(--sp-7), 3.4vw, var(--sp-9));
}

.footer__office p {
  margin: 0;
  font-size: var(--fs-label);
  line-height: 2.1;
  color: rgba(var(--chrome-fg-rgb), .9);
}

.footer__office p a {
  color: var(--chrome-fg);
  border-bottom: 1px solid rgba(var(--chrome-fg-rgb), .55);
}

.footer__office p a:hover {
  color: var(--chrome-fg);
  border-color: var(--chrome-fg);
}

.footer__legal {
  justify-self: end;
  max-width: 40em;
  font-size: var(--fs-label);
  line-height: 1.9;
  color: rgba(var(--chrome-fg-rgb), .86);
}

.footer__copy {
  margin: 0;
}

.footer__copy a {
  border-bottom: 1px solid rgba(var(--chrome-fg-rgb), .5);
}

.footer__copy a:hover {
  color: var(--chrome-fg);
}

.footer__disc {
  margin: var(--sp-3) 0 0;
  color: rgba(var(--chrome-fg-rgb), .8);
}

@media (max-width: 900px) {

  .footer {
    padding-top: 30px;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-7);
  }

  .footer__legal {
    justify-self: start;
    max-width: none;
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
}

.modal.is-open {
  display: flex;
}

.modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, .62);
  backdrop-filter: blur(2px);
}

.modal__panel {
  position: relative;
  width: min(400px, 100%);
  background: #fff;
  padding: var(--sp-8) var(--sp-8) var(--sp-7);
  text-align: center;
  animation: pop .28s var(--ease);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.modal__x {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 40px;
  height: 40px;
  font-size: var(--fs-h4);
  color: var(--grey);
  line-height: 1;
}

.modal__x:hover {
  color: var(--ink);
}

.modal__title {
  font-size: var(--fs-h4);
  font-weight: 700;
}

.modal__desc {
  margin-top: var(--sp-2);
  font-size: var(--fs-read);
  line-height: 1.7;
  color: var(--grey);
}

.modal__qr {
  margin: var(--sp-6) auto 0;
  width: 176px;
  height: 176px;
  border: 1px solid var(--line);
  padding: var(--sp-3);
  background: #fff;
}

.modal__qr svg {
  width: 100%;
  height: 100%;
}

/* 后台换成真实二维码图片后显示，占位 SVG 隐藏；未配置时保持 hidden 不占位 */
.modal__qr img:not([hidden]) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 有真实二维码时彻底隐藏占位 SVG，避免两个 150px 高元素撑破 176px 容器 */
.modal__qr:has(img:not([hidden])) svg {
  display: none;
}

.modal__privacy {
  margin-top: var(--sp-5);
  font-size: var(--fs-label);
  color: var(--grey-2);
  line-height: 1.7;
}

.modal__fallback {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-label);
  color: var(--grey);
}

.modal__fallback a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.map {
  border: 1px solid var(--line);
  overflow: hidden;
  background: #eef0f2;
}

.map svg {
  width: 100%;
  height: auto;
  display: block;
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map--embed {
  aspect-ratio: 16 / 9;
}

.map__link {
  margin-top: var(--sp-3);
  font-size: var(--fs-read);
}

.contact-grid__map .map--embed {
  height: clamp(280px, 32vw, 460px);
  aspect-ratio: auto;
}

.prose {
  max-width: 44em;
}

.prose>*+* {
  margin-top: 1.1em;
}

.prose p {
  font-size: var(--fs-body);
  line-height: 1.95;
  color: #2e2e2c;
}

.prose h2 {
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.4;
  margin-top: 1.1em;
  padding-top: 1.1em;
  border-top: 1px solid var(--line);
}

.prose h3 {
  font-size: var(--fs-lede);
  font-weight: 700;
  margin-top: 1.7em;
}

.prose ul {
  margin: 1.1em 0;
}

.prose li {
  position: relative;
  padding-left: var(--sp-5);
  font-size: var(--fs-body);
  line-height: 1.9;
  color: #2e2e2c;
  margin-bottom: .55em;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: 10px;
  height: 1px;
  background: var(--brand);
}

.prose strong {
  font-weight: 700;
  color: var(--ink);
}

.prose blockquote {
  border-left: 2px solid var(--brand);
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-6);
  font-size: var(--fs-lede);
  line-height: 1.9;
  color: var(--ink);
  background: var(--mist);
  padding-right: var(--sp-6);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  line-height: 1.7;
}

.prose th {
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  border-bottom: 1px solid var(--ink);
}

.prose tbody tr:hover {
  background: var(--mist);
}

.rise {
  opacity: 1;
  transform: none;
}

.js-anim .rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js-anim .rise.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-anim .rise {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 1080px) {

  .nav {
    gap: var(--sp-5);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 60px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }
}

@media (max-width: 640px) {

  :root {
    --sect-y: var(--sect-y-tight);
  }

  .brand__logo {
    height: 32px;
  }

  .sect-head__title {
    margin-top: var(--sp-4);
  }
}

@media (max-width: 640px) {
  .hide-sm {
    display: none;
  }
}

.sect--tight {
  padding-block: var(--sect-y-tight);
}

.mt-s {
  margin-top: var(--sp-4);
}

@media (max-width: 1080px) {
  .grid12>* {
    grid-column: 1 / -1 !important;
  }

  .grid12 {
    gap: var(--sp-7) 0;
  }
}

@media (max-width: 720px) {
  .prose blockquote {
    padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
    padding-right: var(--sp-5);
  }
}

body[data-page="home"] main>section.hero {
  height: 100svh;
  min-height: 100svh;
  max-height: none;
}

body[data-page="home"] main>section[id] {
  scroll-margin-top: calc(var(--header-h) + var(--sp-2));
}

body[data-page="home"] .sect-head__title {
  margin-top: 0;
}

@media (min-height: 1100px) {
  body[data-page="home"] main>section.hero {
    max-height: 100svh;
  }
}

.hx-inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hx {
  padding-block: var(--sect-y-sm);
}

.hx+.hx {
  border-top: 1px solid var(--line);
}

/* 实践团队（浅底）与成果展示（白底）之间不画分隔线，靠底色差异区分即可 */
#cases.hx {
  border-top: 0;
}

.hx.hx--tint {
  background: var(--mist);
  border-top: 0;
}

.hx-head {
  max-width: 720px;
  margin: 0 auto clamp(var(--sp-6), 2.8vw, var(--sp-8));
  text-align: center;
}

.hx-head--wide {
  max-width: 820px;
}

.hx-eyebrow {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.5;
  color: var(--brand);
}

.hx-eyebrow--light {

  color: rgba(255, 255, 255, .8);
}

.hx-hero .hx-eyebrow {
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 500;
}

.hx-title {
  margin: var(--sp-3) 0 0;
  font-size: var(--fs-d2);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -.005em;
  text-wrap: balance;
}

.hx-lead {
  margin: var(--sp-4) auto 0;
  max-width: 620px;
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--grey);

  text-wrap: balance;
}

.hx-head__more {
  margin-top: var(--sp-4);
}

.hx-head__more .arrow {
  font-size: var(--fs-sm);
  letter-spacing: .01em;
  gap: var(--sp-2);
}

.btn--pill {
  border-radius: var(--r-pill);
}

.btn--lg {
  height: 54px;
  padding: 0 var(--sp-8);
  font-size: var(--fs-sm);
}

.btn--ghost-w {
  border-color: rgba(255, 255, 255, .62);
  color: #fff;
}

.btn--ghost-w:hover {
  background: #fff;
  border-color: #fff;
  color: var(--brand);
}

.hero--center .hero__body {
  inset: 0;
  display: flex;
  align-items: center;
  padding-bottom: 0;
}

.hero--center .hx-hero {
  text-shadow: 0 2px 20px rgba(0, 0, 0, .7);
}

.hx-hero {

  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-inline: var(--gutter);
  padding-block: calc(var(--header-h) + 12px) 0;
  text-align: center;
}

.hero--center h1 {
  max-width: 1320px;
  margin: var(--sp-3) auto 0;

  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 600;
  line-height: 1.1;

  letter-spacing: 1px;

  text-wrap: wrap;
}

.hx-hero__sub {

  margin: 20px auto 0;
  max-width: 30em;
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, .75);
}

.hx-hero__cta {

  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}

.hx-hero__cta .btn--ghost-w {

  font-size: var(--fs-sm);
  font-weight: 400;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .hx-hero .hx-eyebrow {
    font-size: 14px;
  }

  .hero--center h1 {
    font-size: 34px;
    line-height: 1.22;
  }

  .hx-hero__sub {
    margin-top: 14px;
    font-size: 18px;
  }

  .hx-hero__cta {
    margin-top: 28px;
  }
}

.hx-hero__cta .btn--ghost-w:hover {
  color: var(--ink);
}

.hx-cards {
  display: grid;
  gap: var(--gap-cards);
}

.hx-cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hx-cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hx-tut {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.hx-tut:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}

.hx-tut__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--mist);
}

.hx-tut__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.hx-tut:hover .hx-tut__media img {
  transform: scale(1.04);
}

.hx-tut__body {
  display: block;
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
  text-align: center;
}

.hx-tut__name {
  display: block;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.4;
}

.hx-tut__name em {
  font-style: normal;
  margin-left: var(--sp-2);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--grey);
}

.hx-tut__role {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-read);
  line-height: 1.55;
  color: var(--grey);
}

.hx-tut__meta {
  display: block;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: var(--fs-label);
  line-height: 1.55;

  color: var(--grey);
}

.hx-news {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.hx-news:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}

.hx-news__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mist);
}

.hx-news__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.hx-news:hover .hx-news__media img {
  transform: scale(1.04);
}

.hx-news__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-5) clamp(var(--sp-4), 1.6vw, var(--sp-5)) var(--sp-5);
}

.hx-news__cat {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.5;
  color: var(--brand);
}

.hx-news__title {
  margin: var(--sp-2) 0 0;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hx-news__x {
  display: block;
  margin: var(--sp-2) 0;
  font-size: var(--fs-label);
  line-height: 1.68;
  color: var(--grey);
}

@media (max-width: 1080px) {
  .hx-cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hx-cards--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hx {
    padding-block: var(--sp-8);
  }

  .hx-cards--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hx-cards--4 {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-3);
  }

  .hx-tut {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .hx-tut__media {
    aspect-ratio: auto;
    min-height: 118px;
  }

  .hx-tut__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--sp-4) var(--sp-4);
    text-align: left;
  }

  .hx-tut__role {
    font-size: var(--fs-read);
    line-height: 1.5;
  }

  .hx-tut__meta {
    margin-top: var(--sp-2);
    padding-top: var(--sp-2);
    font-size: var(--fs-label);
    line-height: 1.5;
  }

  .hx-tut:hover {
    transform: none;
  }

  .hx-hero__cta .btn {
    width: 100%;
  }

  .hx-news__media {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 900px) and (max-height: 860px) {
  .hx {
    padding-block: var(--sp-9);
  }

  .hx-head {
    margin-bottom: var(--sp-6);
  }

  .hx-tut__media {
    aspect-ratio: 4 / 4.4;
  }
}

@media (max-width: 560px) {
  .ab-hero--art {
    height: auto;
  }

  .ab-hero--art .ab-hero__inner {
    height: auto;
    padding-top: var(--page-top-bleed);
  }
}

.pd-list {
  list-style: none;
  margin: var(--sp-4) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.pd-list li {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-read);
  line-height: 1.7;
  color: var(--grey);
}

.pd-list li::before {
  content: "—";
  flex: none;
  color: var(--brand);
  font-size: var(--fs-label);
  line-height: 1.9;
}

.pd-list .no {
  color: var(--grey-2);
}

.pd-list .no::before {
  content: "×";
  color: var(--grey-2);
}

.pd-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: clamp(var(--sp-7), 3.6vw, var(--sp-9));
  padding-top: clamp(var(--sp-5), 2.2vw, var(--sp-7));
  border-top: 1px solid var(--ink);
}

.pd-switch a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-read);
}

.pd-switch span {
  font-size: var(--fs-label);
  color: var(--grey-2);
  letter-spacing: .06em;
}

.pd-switch strong {
  font-weight: 700;
}

.pd-item[hidden] {
  display: none !important;
}

.prose .pd-list {
  margin: 1.2em 0 0;
}

.prose .pd-list li {
  padding-left: 0;
  font-size: var(--fs-sm);
  line-height: 1.85;
}

.prose .pd-list li::before {
  content: "—";
  position: static;
  width: auto;
  height: auto;
  background: none;
  color: var(--brand);
  font-size: var(--fs-label);
  line-height: 2.4;
}

.prose .pd-list li.no {
  color: var(--grey-2);
}

.prose .pd-list li.no::before {
  content: "×";
  color: var(--grey-2);
}

.pd-item .prose h2 {
  border-top: 0px solid var(--line);
}

.pd-item .prose>h2:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.pd-item.grid12 {
  display: block;
}

.pd-item {
  max-width: 1100px;
  margin-inline: auto;
}

.pd-item .prose {
  max-width: none;
}

.pd-item .prose {
  font-size: var(--fs-read);
}

.pd-item .prose>*+* {
  margin-top: 2.4em;
}

.pd-item .prose p {
  font-size: var(--fs-read);
  line-height: 1.92;
}

.pd-item .prose li {
  font-size: var(--fs-read);
  line-height: 1.9;
}

.pd-item .prose h2 {
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 2.2em;
  padding-top: 1.1em;
}

.pd-item .prose .pd-list li {
  font-size: var(--fs-read);
  line-height: 1.9;
}

.pd-item .prose .pd-list li::before {
  font-size: var(--fs-micro);
  line-height: 2.2;
}

.ab-hero {
  position: relative;

  margin-top: calc(var(--ab-lift) * -1);
  height: clamp(372px, 42vw, 532px);

  overflow: hidden;
  background: #2a2a28;
}

.ab-hero__media {
  position: absolute;
  inset: 0;
}

.ab-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;

  filter: brightness(1.14) saturate(1.06);
}

.ab-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(16, 16, 16, .14) 0%,
      rgba(16, 16, 16, .02) 32%,
      rgba(16, 16, 16, .64) 100%);
}

.ab-hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(var(--sp-6), 3.4vw, var(--sp-9));
  color: #fff;
}

.ab-hero__crumb {
  color: rgba(255, 255, 255, .68);
  margin-bottom: clamp(var(--sp-4), 1.6vw, var(--sp-6));
}

.ab-hero__crumb a:hover {
  color: #fff;
}

.ab-hero__title {
  font-size: var(--fs-d2);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.005em;
}

.ab-hero__en {
  margin-top: var(--sp-4);
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.ab-hero--lead .ab-hero__media::after {
  background: linear-gradient(180deg,
      rgba(16, 16, 16, .15) 0%,
      rgba(16, 16, 16, .05) 22%,
      rgba(16, 16, 16, .34) 48%,
      rgba(16, 16, 16, .66) 100%);
}

.ab-hero__lead {
  max-width: 46rem;
  margin-top: clamp(var(--sp-4), 1.9vw, var(--sp-6));
  font-size: var(--fs-sm);
  line-height: 1.78;
  color: rgba(255, 255, 255, .86);
  text-wrap: pretty;
}

.ab-art__body {
  max-width: 60rem;
  margin-inline: auto;
}

.ab-art {
  padding-block: var(--sect-y-sm);
}

/* about 页「服务内容 → 发展历程」是同一篇文章的两段：本节点底部不再留一份 section 留白，
   否则会和下一节自己的 padding-top 叠成一大段空白（两节的内容列本来就对齐）。 */
.ab-art--flush {
  padding-bottom: 0;
}

.ab-art .prose {
  max-width: none;
}

.ab-art__body>.prose {
  margin-top: 1.45em;
}

.ab-art__body>.prose:first-child {
  margin-top: 0;
}

.ab-art .prose p {
  font-size: var(--fs-body);
  line-height: 1.85;
  text-wrap: pretty;
}

.ab-art .prose>*+* {
  margin-top: 1.35em;
}

.ab-art .prose li {
  font-size: var(--fs-body);
  line-height: 1.85;
}

.ab-art .prose h2 {
  margin-top: 2em;
  padding-top: 1em;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.ab-run strong {
  margin-right: .45em;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--brand);
}

.ab-art__fig {
  max-width: 40rem;
  margin: 2.3em auto 2.5em;
}

.ab-art__fig img {
  display: block;
  width: 100%;

  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 26%;
  background: #e9e8e4;
}

.ab-art__fig figcaption {
  margin-top: var(--sp-3);
  font-size: var(--fs-label);
  line-height: 1.65;
  color: var(--grey);
}

.ab-svc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(var(--sp-5), 3.4vw, var(--sp-9));
  margin-top: 1.6em;
  border-top: 1px solid var(--line);
}

.ab-svc__list li {
  border-bottom: 1px solid var(--line);
}

.ab-svc__list a {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  padding-block: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink);
  transition: color .25s var(--ease);
}

.ab-svc__list a span {
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  color: var(--grey-2);
  font-feature-settings: "tnum";
}

.ab-svc__list a:hover {
  color: var(--brand);
}

.ab-art__foot {
  margin-top: 1.4em;
}

.ab-wall {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(152px, 16.5vw, 208px);
  gap: clamp(var(--sp-3), 1.2vw, var(--sp-4));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  padding-bottom: var(--sp-1);
  -webkit-overflow-scrolling: touch;
}

.ab-wall__item {
  display: block;
  scroll-snap-align: start;
}

.ab-wall__item img {
  display: block;
  width: 100%;

  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
  background: #e4e2dd;
  transition: opacity .35s var(--ease);
}

.ab-wall__item:hover img {
  opacity: .86;
}

.ab-wall__cap {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

.ab-wall__cap em {
  display: block;
  margin-top: var(--sp-1);
  font-style: normal;
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--grey-2);
}

.ab-wall__hint {
  margin-top: var(--sp-4);
  font-size: var(--fs-label);
  letter-spacing: .04em;
  color: var(--grey-2);
}

/* 紧接 ab-art--flush 之后：只留一份紧凑上边距 + 标题自带的分隔线 */
#history {
  padding-top: var(--sp-7);
}

#history .prose>h2:first-child {
  margin-top: 0;
}

#team {
  padding-block: var(--sect-y-sm);
}

#team .sect-head {
  margin-bottom: clamp(var(--sp-7), 3vw, var(--sp-8));
}

#team .sect-head__title {
  margin-top: 0;
}

.ab-hero--news .ab-hero__media img {
  object-position: center 34%;
}

.ab-era {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-1) var(--sp-7);
}

.ab-era__years {
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--grey);
  font-feature-settings: "tnum";
  white-space: nowrap;
}

.ab-tl {
  margin-top: 1.6em;
}

.ab-tl__item {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  column-gap: var(--sp-6);
  padding-bottom: 2.2em;
}

.ab-tl__item:last-child {
  padding-bottom: 0;
}

.ab-tl__item::before {
  content: "";
  position: absolute;
  left: 87px;
  top: .75em;
  bottom: 0;
  width: 1px;

  background: #c3c6c8;
}

.ab-tl__item:last-child::before {
  display: none;
}

.ab-tl__item::after {
  content: "";
  position: absolute;
  left: 87px;
  top: .75em;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: #fff;
}

.ab-tl__year {

  text-align: right;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--ink);
  font-feature-settings: "tnum";
}

.ab-art .prose .ab-tl__title {
  margin-top: 0;
  font-size: var(--fs-lede);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--ink);
}

.ab-art .prose .ab-tl__desc {
  margin-top: .55em;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--grey);
  text-wrap: pretty;
}

.ab-tl__notes {
  display: grid;
  gap: var(--sp-2);
  margin-top: 1.05em;
  padding-top: .95em;
  border-top: 1px dashed var(--line);
}

.ab-tl__notes>div {
  display: grid;
  grid-template-columns: 6.2em minmax(0, 1fr);
  column-gap: var(--sp-5);
}

.ab-tl__notes dt {
  font-size: var(--fs-label);
  line-height: 2;
  letter-spacing: .04em;
  color: var(--grey);
}

.ab-tl__notes dd {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: #2e2e2c;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .ab-wall {
    grid-auto-columns: clamp(132px, 25vw, 176px);
  }

  .ab-tl__item {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: var(--sp-6);
  }

  .ab-tl__item::before {
    left: 75px;
  }
}

@media (max-width: 560px) {
  .ab-hero {
    height: clamp(298px, 62vw, 360px);
  }

  .ab-hero--lead {
    height: auto;
  }

  .ab-hero--lead .ab-hero__inner {
    height: auto;
    padding-top: var(--page-top-bleed);
  }

  .ab-hero__lead {
    margin-top: var(--sp-4);
    font-size: var(--fs-sm);
    line-height: 1.75;
  }

  .ab-hero__title {
    font-size: var(--fs-d2);
  }

  .ab-svc__list {
    grid-template-columns: 1fr;
  }

  .ab-wall {
    grid-auto-columns: 148px;
  }

  .ab-wall__cap {
    font-size: var(--fs-label);
  }

  .ab-tl__item {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: var(--sp-4);
    padding-bottom: 1.8em;
  }

  .ab-tl__item::before {
    left: 60px;
  }

  .ab-tl__year {
    font-size: var(--fs-sm);
  }

  .ab-art .prose .ab-tl__title {
    font-size: var(--fs-body);
  }

  .ab-art .prose .ab-tl__desc {
    font-size: var(--fs-sm);
  }

  .ab-tl__notes {
    margin-top: .9em;
    padding-top: .8em;
    gap: var(--sp-3);
  }

  .ab-tl__notes>div {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-1);
  }

  .ab-tl__notes dt {
    font-size: var(--fs-label);
    line-height: 1.9;
  }

  .ab-tl__notes dd {
    font-size: var(--fs-sm);
  }

  .ab-era {
    gap: var(--sp-1) var(--sp-4);
  }

  .ab-era__years {
    font-size: var(--fs-label);
  }
}

.plc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(var(--sp-4), 1.5vw, var(--sp-6));
}

.plc {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;

  box-shadow: 0 1px 2px rgba(16, 16, 16, .04);
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.plc:hover {
  border-color: #d9d4c8;
  box-shadow: 0 20px 40px -24px rgba(16, 16, 16, .38);
}

.plc__media {
  display: block;

  aspect-ratio: 17 / 24;
  overflow: hidden;
  background: #eceae4;
}

.plc__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  object-position: center 58%;

  filter: saturate(.92) brightness(1.07) contrast(1.02);
  transition: transform .85s var(--ease), filter .5s var(--ease);
}

.plc:hover .plc__media img {
  transform: scale(1.045);
  filter: saturate(1) brightness(1.1) contrast(1);
}

.plc__body {
  display: flex;
  flex-direction: column;
  flex: 1;

  padding: 0 clamp(var(--sp-4), 1.2vw, var(--sp-5)) clamp(var(--sp-4), 1.4vw, var(--sp-6));
  text-align: center;
}

.plc__name {
  position: relative;
  z-index: 1;
  display: block;
  width: fit-content;
  margin: -18px auto 0;
  padding: var(--sp-1) var(--sp-4) var(--sp-2);
  border-radius: 8px;
  background: #fff;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
}

.plc__desc {
  display: block;

  margin-top: -4px;

  min-height: 3.4em;
  min-height: 2lh;
  font-size: var(--fs-read);
  line-height: 1.7;
  color: #5c5c56;
  text-wrap: pretty;
}

body[data-page="teachers"] #roster {
  padding-top: clamp(var(--sp-9), 5.6vw, var(--sp-11));
  padding-bottom: var(--sp-7);
}

@media (min-width: 1024px) {
  body[data-page="teachers"] #roster {
    padding-top: clamp(var(--sp-5), 2.4vw, var(--sp-6));
  }

  body[data-page="teachers"] .plc-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));

    max-width: 1340px;
    margin-inline: auto;
  }
}

@media (min-width: 861px) and (max-width: 1023px) {
  body[data-page="teachers"] #roster {
    padding-top: clamp(var(--sp-5), 2.4vw, var(--sp-6));
  }

  body[data-page="teachers"] .plc-grid {
    max-width: 1000px;
    margin-inline: auto;
  }
}

@media (min-width: 861px) and (max-height: 930px) {
  body[data-page="teachers"] #roster {
    padding-top: var(--sp-2);
  }

  body[data-page="teachers"] .plc__media {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 860px) {

  .plc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .plc-grid {
    gap: var(--sp-3);
  }

  .plc__body {
    padding: 0 var(--sp-3) var(--sp-4);
  }

  .plc__name {
    margin-top: -16px;
    padding: var(--sp-1) var(--sp-3) var(--sp-1);
    font-size: var(--fs-sm);
  }

  .plc__desc {
    margin-top: -4px;
    font-size: var(--fs-label);
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plc__media img {
    transition: none;
  }

  .plc:hover .plc__media img {
    transform: none;
  }
}

.tp-hero {
  padding-top: var(--page-top);
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.tp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, clamp(280px, 35vw, 452px)) minmax(0, 1fr);
  gap: clamp(var(--sp-6), 5vw, var(--sp-11));
  align-items: center;
  padding-bottom: clamp(var(--sp-7), 4.4vw, var(--sp-10));

  padding-left: max(0px, calc((100% - var(--tp-col, 1028px)) / 2));
}

.tp-hero__media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.tp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;

  filter: brightness(1.10) saturate(1);
}

@media (min-width: 901px) {
  .tp-hero {
    height: 657px;

    padding-top: calc(var(--header-h) + var(--sp-4));
    padding-bottom: 0;
  }

  .tp-hero>.shell {
    height: 100%;
  }

  .tp-hero__grid {
    height: 100%;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: stretch;
    padding-bottom: 0;
  }

  .tp-hero__media {
    width: auto;
    height: 100%;
  }

  .tp-hero__body {
    align-self: center;
    margin-left: var(--sp-9);
  }
}

.tp-hero__name {
  font-size: var(--fs-d2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.005em;
}

.tp-hero__role {
  margin-top: var(--sp-5);
  font-size: var(--fs-lede);
  font-weight: 500;
  line-height: 1.6;
  color: var(--grey);
}

.tp-hero,
.tp-body {
  --tp-text: 650px;
  --tp-photo: 320px;
  --tp-gap: clamp(32px, 4vw, 72px);
  --tp-col: calc(var(--tp-text) + var(--tp-photo) + var(--tp-gap));
}

.tp-body {
  padding-block: var(--sect-y-sm) var(--sp-11);
}

.tp-body__grid {
  display: grid;
  grid-template-columns: minmax(0, var(--tp-text)) minmax(0, 1fr);
  gap: var(--tp-gap);
  align-items: start;
  max-width: calc(var(--tp-col) + 2 * var(--gutter));
  margin-inline: auto;
}

.tp-aside {
  align-self: start;
}

.tp-aside__photo {
  max-width: 320px;
  margin: 0;
}

.tp-aside__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(1.06) saturate(.98);
}

.tp-body__main .prose p,
.tp-body__main .prose li {
  font-size: var(--fs-read);
}

.tp-body__main .prose>*+*:not(h2) {
  margin-top: 1.8em;
}

.tp-body__main .prose p+p {
  margin-top: 1.8em;
}

.tp-body__main .prose .t-panel>ul {
  margin-top: 1.8em;
}

.prose .tp-body__lead {
  margin: 0 0 clamp(var(--sp-7), 3vw, var(--sp-8));
  padding: 0;
  border: 0;
  background: none;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: #2e2e2c;
  text-wrap: pretty;
}

.tp-body__main .prose>.t-panel:not([hidden]) {
  margin-top: 0;
}

@media (max-width: 1080px) {

  .tp-hero,
  .tp-body {
    --tp-col: var(--tp-text);
  }

  .tp-aside {
    display: none;
  }

  .tp-body__grid {
    grid-template-columns: minmax(0, var(--tp-text));
    max-width: calc(var(--tp-text) + 2 * var(--gutter));
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .tp-hero__grid {
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    gap: clamp(var(--sp-5), 3vw, var(--sp-7));
  }
}

@media (max-width: 640px) {
  .tp-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    align-items: start;
    padding-bottom: clamp(var(--sp-7), 4vw, var(--sp-8));
  }

  .tp-hero__name {
    margin-top: var(--sp-3);
  }
}

.ab-hero--art .ab-hero__media img {
  object-position: center 42%;
}

.ab-hero--art .ab-hero__media::after {
  background: linear-gradient(180deg,
      rgba(16, 16, 16, .24) 0%,
      rgba(16, 16, 16, .08) 24%,
      rgba(16, 16, 16, .36) 50%,
      rgba(16, 16, 16, .72) 76%,
      rgba(16, 16, 16, .84) 100%);
}

.ab-hero--art .ab-hero__title {
  max-width: 22em;
  text-wrap: balance;

  text-shadow: 0 2px 22px rgba(10, 10, 10, .45);
}

.ab-hero--art .ab-hero__crumb {
  font-size: var(--fs-label);
  letter-spacing: .1em;
}

.art-hero__date {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: clamp(var(--sp-4), 1.8vw, var(--sp-6));
  font-size: var(--fs-read);
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .8);
  text-shadow: 0 1px 14px rgba(10, 10, 10, .4);
}

.art-hero__date .art-hero__more span {
  color: rgba(255, 255, 255, .5);
}

.art-body {

  --fs-art: 17px;
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-11);
}

.art-body__inner {
  max-width: 1100px;
  margin-inline: auto;
}

.art-body .prose {
  max-width: none;
  font-size: var(--fs-art);
}

.art-body .prose>*+* {
  margin-top: 1.9em;
}

.art-body .prose p {
  font-size: var(--fs-art);
  line-height: 1.92;
  color: #2e2e2c;
  text-wrap: pretty;
}

.art-body .prose li {
  font-size: var(--fs-art);
  line-height: 1.9;
}

.art-body .prose h2 {
  margin-top: 1.7em;
  padding-top: 1.1em;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.5;
}

.art-body .prose .art-lead {
  font-size: var(--fs-art);
  line-height: 1.92;
  font-weight: 500;
  color: #26262a;
  letter-spacing: 0;
}

.art-body .prose blockquote {
  padding-block: var(--sp-4);
  font-size: var(--fs-art);
  line-height: 1.9;
}

.art-body .prose blockquote cite {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-read);
  font-style: normal;
  letter-spacing: .04em;
  color: var(--grey);
}

.to-top {
  position: fixed;
  right: clamp(14px, 2.4vw, 32px);
  bottom: clamp(14px, 2.4vw, 30px);
  z-index: 60;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: var(--fs-sm);
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease),
    visibility .3s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.to-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--brand);
  color: var(--brand);
}

@media (max-width: 900px) {
  .ab-hero--art .ab-hero__title {
    max-width: 26em;
  }
}

@media (max-width: 640px) {

  .ab-hero--art .ab-hero__crumb {
    font-size: var(--fs-micro);
    letter-spacing: .08em;
  }

  .ab-hero--art .ab-hero__crumb>a:first-child,
  .ab-hero--art .ab-hero__crumb>span:first-of-type {
    display: none;
  }

  .art-body .prose p,
  .art-body .prose li {
    font-size: var(--fs-art);
    line-height: 1.95;
  }

  .art-body .prose blockquote {
    padding-right: var(--sp-5);
  }

  .to-top {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .to-top {
    transform: none;
    transition: opacity .01s, visibility .01s;
  }
}

.ab-hero--svc .ab-hero__media img {
  object-position: center 42%;
}

.ntabs__short {
  display: none;
}

body[data-page="services"] .ncard__meta {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

body[data-page="services"] .ncard__title {
  -webkit-line-clamp: 2;
}

body[data-page="services"] .ncard__desc {
  -webkit-line-clamp: 3;
}

.sect--flow {
  background: var(--paper);
}

@media (max-width: 640px) {

  .ab-hero--lead.ab-hero--svc .ab-hero__inner {
    padding-top: var(--page-top-bleed);
  }

  body[data-page="services"] .ncard__meta {
    padding-top: var(--sp-4);
    font-size: var(--fs-label);
  }

  body[data-page="services"] .ntabs__inner {
    gap: var(--sp-3);
  }

  body[data-page="services"] .ntabs__tab {
    font-size: var(--fs-sm);
  }

  body[data-page="services"] .ntabs__full {
    display: none;
  }

  body[data-page="services"] .ntabs__short {
    display: inline;
  }
}

/* ============================================================
   首页 · 成果展示：录取记录滚动墙
   一行一条记录，两段相同列表首尾相接，位移 50% 实现无缝循环
   ============================================================ */
.hx-roll {
  --roll-row: 66px;
  /* 不画外框、不加底色：滚动内容直接落在页面上，只保留上下渐隐 */
  background: transparent;
  overflow: hidden;
}

.hx-roll__row {
  display: grid;
  /* 四列按内容定宽并整体居中：列间距统一且紧凑，不会在右侧留下大块空白 */
  grid-template-columns:
    clamp(50px, 4.2vw, 62px) clamp(64px, 5.6vw, 78px) clamp(136px, 12vw, 158px) clamp(150px, 17vw, 208px);
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  padding-inline: clamp(var(--sp-4), 2.6vw, var(--sp-8));
}

.hx-roll__view {
  height: calc(var(--roll-row) * 6);
  overflow: hidden;
  /* 上下边缘渐隐，滚出时不出现硬切口 */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 44px, #000 calc(100% - 44px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 44px, #000 calc(100% - 44px), transparent 100%);
}

/* is-roll 由脚本在复制出第二段列表后添加：复制失败时列表静止，不会滚空 */
.hx-roll__track.is-roll {
  animation: qd-roll 26s linear infinite;
  will-change: transform;
}

.hx-roll__view:hover .hx-roll__track.is-roll,
.hx-roll__view:focus-within .hx-roll__track.is-roll {
  animation-play-state: paused;
}

@keyframes qd-roll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -50%, 0);
  }
}

.hx-roll__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hx-roll__row {
  height: var(--roll-row);
  /* 行间不画分隔线：靠行高与留白区分，避免表格感 */
  font-size: clamp(15px, 1.15vw, 17px);
  transition: background .2s var(--ease);
}

.hx-roll__row:hover {
  background: rgba(21, 149, 98, .06);
}

.hx-roll__pv {
  color: var(--grey);
}

.hx-roll__score {
  font-size: clamp(22px, 1.9vw, 27px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.hx-roll__subj {
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: .02em;
  color: var(--grey);
}

.hx-roll__school {
  font-weight: 600;
  color: var(--brand);
}

/* ============================================================
   首页 · 成果展示：左侧滚动记录 + 右侧图片轮播
   轮播一次只显示一张：所有图绝对定位叠放，靠 opacity + blur 做
   「当前图虚化淡出 → 下一张由虚转实淡入」，没有硬切换
   ============================================================ */
.hx-cases {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 26%, 340px);
  gap: clamp(var(--sp-4), 1.8vw, var(--sp-7));
  align-items: stretch;
}

/* 记录行用一套固定列轨道：四列宽度与内容无关，分数、选科才能上下对齐。
   末列 1fr 吸收剩余宽度，行仍撑满左列，不会把空白堆到图片那一侧。 */
.hx-cases .hx-roll__row {
  grid-template-columns:
    clamp(56px, 5vw, 78px) clamp(72px, 6.8vw, 98px) clamp(136px, 12vw, 158px) minmax(150px, 1fr);
  justify-content: stretch;
}

/* 末列吸收剩余宽度后，院校名靠右贴齐列尾：列左边缘仍与上面几列同轴，
   文字长短的差异全部落在右侧，不会把整列推歪。 */
.hx-cases .hx-roll__school {
  text-align: right;
}

/* 分数与选科在各自单元格内水平居中：列轨道固定，居中后每行仍严丝合缝对齐 */
.hx-cases .hx-roll__score,
.hx-cases .hx-roll__subj {
  text-align: center;
}

.hx-carousel {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  /* 相框：8px 白卡纸衬边 + 1px 外压线 + 落地投影。
     白边在白色页面上几乎只留出「留白」，靠外压线和投影把照片立起来；
     虚化过渡时透出的也是这层白边，不会闪灰。 */
  background: #fff;
  border: 8px solid #fff;
  box-shadow: 0 0 0 1px rgba(16, 16, 16, .18), 0 16px 38px rgba(16, 16, 16, .12);
}

.hx-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* 未激活的图预先虚化并微放大，切换时才有「由虚到实」的层次 */
  filter: blur(18px);
  transform: scale(1.06);
  transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1.6s var(--ease);
  will-change: opacity, filter;
}

.hx-carousel img.is-on {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

@media (max-width: 900px) {
  .hx-cases {
    grid-template-columns: 1fr;
  }

  /* 单列时轮播落到记录墙下方，给固定高度，避免按宽高比撑得过高 */
  .hx-carousel {
    height: clamp(220px, 52vw, 320px);
    min-height: 0;
    /* 小屏相框收窄一档，免得衬边吃掉太多画面 */
    border-width: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hx-carousel img {
    transition: opacity .2s linear;
  }
}

/* ============================================================
   首页 · 数据展示：数据成就长图
   白底卡片 + 低透明度校园衬底图 + 品牌色大数字
   卡片内为「品牌头 / 3-4-3 数据阵列 / 口径页脚」三段结构
   ============================================================ */
.hx-wall {
  /* 比正文容器（1200）更宽：以视口中线为准向两侧外扩，最大 1440 */
  --wall-w: min(1440px, calc(100vw - 2 * var(--gutter)));
  position: relative;
  isolation: isolate;
  width: var(--wall-w);
  margin-inline: calc(50% - var(--wall-w) / 2);
  padding: clamp(var(--sp-6), 3.4vw, var(--sp-9)) clamp(var(--sp-5), 4vw, var(--sp-10)) clamp(var(--sp-5), 3vw, var(--sp-7));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.hx-wall__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .07;
  filter: grayscale(1);
}

/* ---- 数据阵列：12 栅格里按 3 / 4 / 3 排布 ---- */
.hx-wall__list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(var(--sp-5), 2.8vw, var(--sp-9)) clamp(var(--sp-4), 2vw, var(--sp-6));
  margin: 0;
  padding: 0;
  list-style: none;
}

.hx-stat {
  display: flex;
  align-items: flex-end;
  gap: clamp(6px, .5vw, 10px);
  grid-column: span 4;
  min-width: 0;
}

/* 第 4–7 项缩成 4 列（一行 4 条），首尾两行保持一行 3 条 */
.hx-stat:nth-child(n+4):nth-child(-n+7) {
  grid-column: span 3;
}

/* 首行三组数据整体右移 50px（纯视觉平移，不占用栅格宽度） */
.hx-stat:nth-child(-n+3) {
  transform: translateX(50px);
}

/* 第三行首个数据（专业查职业 / 785）单独右移 50px，同行其余不动 */
.hx-stat:nth-child(8) {
  transform: translateX(50px);
}

.hx-stat__num {
  flex: none;
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 说明文字在数字右侧，固定宽度排成两行：加粗、加大、深色 */
.hx-stat__label {
  flex: none;
  width: 6.4em;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .02em;
  color: var(--ink);
  /* keep-all：中文不在词内断行，只在两段说明之间的空格处换行 */
  word-break: keep-all;
}

@media (max-width: 900px) {
  .hx-stat,
  .hx-stat:nth-child(n+4):nth-child(-n+7) {
    grid-column: span 6;
  }

  /* 窄屏取消平移，避免顶到卡片边缘 */
  .hx-stat:nth-child(-n+3),
  .hx-stat:nth-child(8) {
    transform: none;
  }
}

@media (max-width: 560px) {
  .hx-stat,
  .hx-stat:nth-child(n+4):nth-child(-n+7) {
    grid-column: span 12;
  }
}

@media (max-width: 720px) {
  .hx-roll {
    --roll-row: 60px;
  }

  .hx-roll__row {
    grid-template-columns: 56px 78px minmax(0, 1fr);
    font-size: 15px;
    gap: var(--sp-3);
  }

  /* 窄屏收起「选科」一列，保留省份 / 分数 / 院校 */
  .hx-roll__subj {
    display: none;
  }

  .hx-roll__view {
    height: calc(var(--roll-row) * 5);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  }

  .hx-roll__score {
    font-size: 21px;
  }
}

/* 用户要求减少动效时不做无缝滚动，列表保持静止 */
@media (prefers-reduced-motion: reduce) {
  .hx-roll__track.is-roll {
    animation: none;
  }
}