/* ==========================================
   安博看台 ANBO — 共享样式 /assets/site.css
   深蓝数据档案系统 · 全站基础组件
   ========================================== */

/* ---------- 重置 ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #0A1F44;
  background-color: #F5F7FA;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

hr {
  border: none;
  border-top: 1px solid rgba(10, 31, 68, 0.10);
  margin: var(--s-4) 0;
}

a {
  color: var(--c-orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--c-teal);
}

[id] {
  scroll-margin-top: calc(var(--header-top) + var(--nav-h) + var(--s-2));
}

:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

::selection {
  background: var(--c-orange);
  color: var(--c-deep);
}

/* ---------- 设计变量 ---------- */
:root {
  --c-ink: #0A1F44;
  --c-orange: #FF6B35;
  --c-teal: #00C2A8;
  --c-mist: #F5F7FA;
  --c-white: #FFFFFF;
  --c-rock: #B4BECB;
  --c-iron: #5E6C84;
  --c-deep: #060D1F;
  --c-orange-light: #FFD2BC;
  --c-teal-light: #CEF3EF;

  --f-headline: 'Impact', 'Arial Narrow', 'Arial Black', sans-serif;
  --f-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 64px;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-pill: 999px;

  --header-top: 16px;
  --nav-h: 58px;
  --ease-fast: 120ms;
  --ease-base: 400ms;
  --container-w: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
}

/* ---------- 标题与正文 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-headline);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-deep);
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
}

h3 {
  font-size: clamp(22px, 3vw, 28px);
}

h4 {
  font-size: clamp(18px, 2.5vw, 20px);
}

p {
  margin-bottom: var(--s-2);
}

/* ---------- 工具类 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skiplink {
  position: fixed;
  top: -56px;
  left: var(--s-2);
  z-index: 700;
  padding: 10px 22px;
  background: var(--c-orange);
  color: var(--c-deep);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r-pill);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(6, 13, 31, 0.25);
  transition: top var(--ease-fast) ease;
}

.skiplink:focus {
  top: var(--s-2);
  color: var(--c-deep);
  text-decoration: none;
}

.main-content {
  padding-top: calc(var(--header-top) + var(--nav-h) + var(--s-4));
  min-height: 70vh;
}

/* ---------- 滚动进度条 ---------- */
.site-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-teal));
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 800;
  pointer-events: none;
}

/* ---------- 悬浮胶囊导航 ---------- */
.site-header {
  position: fixed;
  top: var(--header-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  width: min(calc(100% - 32px), var(--container-w));
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding: 8px 8px 8px 22px;
  background: rgba(10, 31, 68, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-pill);
  box-shadow: 0 12px 40px rgba(6, 13, 31, 0.35);
  transition: border-color var(--ease-fast) ease;
}

.site-header__inner:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-brand:hover {
  text-decoration: none;
}

.site-brand__mark {
  font-family: var(--f-headline);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--c-orange);
  padding: 6px 10px;
  background: var(--c-deep);
  border: 2px solid currentColor;
  border-radius: 4px;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.site-brand__name {
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-white);
}

.site-brand__tagline {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-teal);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.site-nav__item {
  list-style: none;
}

.site-nav__link {
  display: inline-block;
  padding: 9px 14px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-radius: var(--r-pill);
  transition: color var(--ease-fast) ease, background var(--ease-fast) ease;
}

.site-nav__link:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.site-nav__link[aria-current="page"] {
  background: var(--c-orange);
  color: var(--c-deep);
  font-weight: 700;
}

.site-header__note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--c-teal);
  background: rgba(0, 194, 168, 0.12);
  border: 1px solid rgba(0, 194, 168, 0.25);
  border-radius: var(--r-pill);
}

.site-header__note::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-teal);
  box-shadow: 0 0 8px rgba(0, 194, 168, 0.8);
}

.site-nav__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background var(--ease-fast) ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 2px;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--ease-fast) ease, opacity var(--ease-fast) ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--ease-fast) ease, color var(--ease-fast) ease,
    border-color var(--ease-fast) ease, transform var(--ease-fast) ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--c-orange);
  color: var(--c-deep);
}

.btn--primary:hover {
  background: #E85A2A;
  color: var(--c-deep);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.40);
  color: var(--c-white);
}

.btn--ghost:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
  background: rgba(255, 107, 53, 0.08);
}

.btn--ink {
  background: var(--c-ink);
  color: var(--c-white);
}

.btn--ink:hover {
  background: var(--c-deep);
  color: var(--c-teal);
}

.btn--small {
  padding: 7px 14px;
  font-size: 13px;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--s-3);
  font-size: 13px;
  list-style: none;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-iron);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  color: var(--c-rock);
}

.breadcrumb__link {
  color: var(--c-iron);
  text-decoration: none;
  transition: color var(--ease-fast) ease;
}

.breadcrumb__link:hover {
  color: var(--c-orange);
}

.breadcrumb__item[aria-current="page"] {
  color: var(--c-deep);
  font-weight: 600;
}

/* ---------- 标签与标注 ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--s-2);
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-orange);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.module-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--c-white);
  color: var(--c-iron);
  border: 1px solid var(--c-rock);
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(6, 13, 31, 0.06);
  pointer-events: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: var(--r-pill);
  background: var(--c-mist);
  color: var(--c-iron);
  border: 1px solid var(--c-rock);
}

.tag--orange {
  background: var(--c-orange-light);
  border-color: transparent;
  color: #6B2D14;
}

.tag--teal {
  background: var(--c-teal-light);
  border-color: transparent;
  color: #0B5C52;
}

.tag--solid {
  background: var(--c-ink);
  border-color: transparent;
  color: var(--c-white);
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: var(--s-3);
  background: var(--c-white);
  border: 1px solid var(--c-rock);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--ease-fast) ease, border-color var(--ease-fast) ease,
    box-shadow var(--ease-fast) ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-2px);
  border-color: var(--c-orange);
  box-shadow: 0 6px 24px rgba(6, 13, 31, 0.08);
}

.card--dark {
  background: var(--c-ink);
  border-color: transparent;
  color: var(--c-white);
}

.card--dark h1,
.card--dark h2,
.card--dark h3,
.card--dark h4,
.card--dark .stat__value {
  color: var(--c-white);
}

.card--dark .stat__label {
  color: var(--c-rock);
}

.card--teal-edge {
  border-top: 3px solid var(--c-teal);
}

.card--orange-edge {
  border-top: 3px solid var(--c-orange);
}

/* ---------- Bento 网格 ---------- */
.bento {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
}

.bento__cell {
  position: relative;
  display: block;
  min-height: 140px;
  background: var(--c-white);
  border: 1px solid rgba(10, 31, 68, 0.08);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--ease-fast) ease, box-shadow var(--ease-fast) ease;
}

.bento__cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 13, 31, 0.10);
}

.bento__cell--3  { grid-column: span 3; }
.bento__cell--4  { grid-column: span 4; }
.bento__cell--6  { grid-column: span 6; }
.bento__cell--8  { grid-column: span 8; }
.bento__cell--12 { grid-column: span 12; }

.bento__cell--tall {
  grid-row: span 2;
  min-height: 280px;
}

.bento__cell--dark {
  background: var(--c-ink);
  border-color: transparent;
}

.bento__cell--orange {
  background: var(--c-orange);
  border-color: transparent;
}

.bento__cell--teal {
  background: var(--c-teal);
  border-color: transparent;
}

.bento__content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: var(--s-3);
}

/* ---------- 数据组件 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__value {
  font-family: var(--f-headline);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-deep);
}

.stat__value--orange {
  color: var(--c-orange);
}

.stat__value--teal {
  color: #0B8F7B;
}

.stat__label {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--c-iron);
  letter-spacing: 0.04em;
}

.table-wrap {
  overflow-x: auto;
  background: var(--c-white);
  border: 1px solid var(--c-rock);
  border-radius: var(--r-md);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(10, 31, 68, 0.08);
}

.table th {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--c-mist);
  color: var(--c-iron);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover td {
  background: rgba(0, 194, 168, 0.04);
}

.notice-bar {
  position: relative;
  padding: 14px 18px 14px 50px;
  background: var(--c-teal-light);
  border-left: 4px solid var(--c-teal);
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--c-deep);
}

.notice-bar::before {
  content: '核';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--c-teal);
  color: var(--c-deep);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

/* ---------- 媒体占位 ---------- */
.media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 31, 68, 0.04), transparent 60%),
    var(--c-mist);
  border: 1px solid var(--c-rock);
  border-radius: var(--r-md);
}

.media::before {
  content: attr(data-placeholder);
  position: relative;
  z-index: 1;
  padding: 6px 12px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-iron);
  background: var(--c-white);
  border: 1px solid var(--c-rock);
  border-radius: 3px;
}

.media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 31, 68, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 68, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.media--dark {
  background: var(--c-ink);
  border-color: transparent;
}

.media--dark::before {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--c-rock);
}

.media--dark::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.media--ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.media--ratio-1-1 {
  aspect-ratio: 1 / 1;
}

.media--ratio-21-9 {
  aspect-ratio: 21 / 9;
}

/* ---------- 折叠内容 ---------- */
.expandable {
  background: var(--c-white);
  border: 1px solid var(--c-rock);
  border-radius: var(--r-md);
  overflow: hidden;
}

.expandable summary {
  position: relative;
  padding: 16px 48px 16px 20px;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-deep);
  list-style: none;
  transition: color var(--ease-fast) ease;
}

.expandable summary::-webkit-details-marker {
  display: none;
}

.expandable summary:hover {
  color: var(--c-orange);
}

.expandable summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: var(--c-mist);
  border-radius: 50%;
  color: var(--c-iron);
  font-weight: 700;
  transform: translateY(-50%);
  transition: transform var(--ease-fast) ease, background var(--ease-fast) ease;
}

.expandable[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: var(--c-orange);
  color: var(--c-deep);
}

.expandable__content {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--c-iron);
}

/* ---------- 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity var(--ease-base) ease, transform var(--ease-base) ease;
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- 斜切工具 ---------- */
.clip-slant {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
}

.clip-slant--flip {
  clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: var(--s-6);
  padding: var(--s-6) 0 0;
  background: var(--c-deep);
  color: var(--c-white);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-teal));
  z-index: 1;
  pointer-events: none;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.site-footer__mark {
  display: inline-block;
  margin-bottom: var(--s-3);
  padding: 6px 12px;
  font-family: var(--f-headline);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--c-orange);
  border: 2px solid currentColor;
  border-radius: 4px;
}

.site-footer__line {
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__heading {
  margin-bottom: var(--s-2);
  padding-bottom: 8px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-rock);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__contacts p,
.site-footer__service p {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__links ul {
  list-style: none;
}

.site-footer__links li {
  margin-bottom: 2px;
}

.site-footer__links a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color var(--ease-fast) ease, transform var(--ease-fast) ease;
}

.site-footer__links a:hover {
  color: var(--c-orange);
  transform: translateX(2px);
  text-decoration: none;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding: var(--s-3) 0;
}

.site-footer__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.50);
}

.site-footer__icp {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.40);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento__cell--3,
  .bento__cell--4 {
    grid-column: span 3;
  }

  .bento__cell--6,
  .bento__cell--8,
  .bento__cell--12 {
    grid-column: span 6;
  }
}

@media (max-width: 880px) {
  :root {
    --header-top: 12px;
    --nav-h: 54px;
  }

  .site-header__inner {
    padding: 10px 12px;
    border-radius: 20px;
  }

  .site-brand__mark {
    font-size: 22px;
    padding: 4px 8px;
  }

  .site-brand__name {
    font-size: 15px;
  }

  .site-brand__tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header__note {
    display: none;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 2px;
  }

  .site-nav__link {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
  }

  .site-nav__cta {
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .main-content {
    padding-top: calc(var(--header-top) + var(--nav-h) + var(--s-3));
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 26px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }

  .site-footer__bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

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

  .bento__cell--3,
  .bento__cell--4,
  .bento__cell--6,
  .bento__cell--8,
  .bento__cell--12 {
    grid-column: span 1;
  }

  .bento__cell--tall {
    min-height: 200px;
  }

  .clip-slant,
  .clip-slant--flip {
    clip-path: none;
  }

  .expandable summary {
    font-size: 14px;
  }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .site-progress {
    display: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
