/* ==========================================================
   BSPORT 登录入口中文站 · 全站共享样式
   深海蓝主色 / 荧光绿CTA / 橙红数据 / 锐利直角 / Bento网格
   ========================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --c-navy: #0B1F3A;
  --c-navy-deep: #06101F;
  --c-green: #00FF88;
  --c-orange: #FF4D00;
  --c-cream: #F8F4E8;
  --c-mist: #B7C5D9;
  --c-ink: #0A0A0A;
  --c-gold: #FFCE00;

  --font-head: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --container-w: 1200px;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --shadow: 0 18px 44px rgba(2, 8, 20, 0.45);
}

/* ---------- 2. Reset 与基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--c-navy);
  color: var(--c-cream);
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--c-green);
  color: var(--c-ink);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  color: var(--c-cream);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p {
  text-wrap: pretty;
}

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

/* ---------- 3. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.main-content {
  display: block;
  outline: none;
}

.content {
  padding-block: clamp(1.6rem, 4vw, 3.4rem);
}

.content--tight {
  padding-top: 0.8rem;
}

.section-slam {
  position: relative;
  padding-block: clamp(2.4rem, 5vw, 4.4rem);
}

.slant-bg {
  position: relative;
  isolation: isolate;
}

.slant-bg::before {
  content: "";
  position: absolute;
  inset: -12% -6%;
  z-index: -1;
  background: var(--c-navy-deep);
  transform: skewY(-1.6deg);
  transform-origin: left center;
}

/* ---------- 4. 无障碍辅助 ---------- */
.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;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 2000;
  background: var(--c-cream);
  color: var(--c-ink);
  padding: 0.7em 1.3em;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  transition: top 0.25s var(--ease);
}

.skip-link:focus-visible {
  top: 14px;
  outline-color: var(--c-orange);
}

/* ---------- 5. 标题系统 ---------- */
.title-section {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1.2rem;
}

.title-section::before {
  content: "";
  width: 34px;
  height: 4px;
  flex: none;
  background: var(--c-orange);
  transform: skewX(-24deg);
}

.title-section--green::before {
  background: var(--c-green);
}

.title-section__sub {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--c-mist);
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-green);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  flex: none;
  background: var(--c-orange);
  transform: skewX(-24deg);
}

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

.kicker--orange::before {
  background: var(--c-green);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  font-weight: 900;
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--c-cream);
}

.hero-title em {
  font-style: italic;
  color: var(--c-green);
}

.hero-lede {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--c-mist);
  max-width: 62ch;
  margin-top: 1em;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 46px;
  padding: 0.7em 1.5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  background: transparent;
  border: 1px solid var(--c-mist);
  color: var(--c-cream);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--c-green);
  border-color: var(--c-green);
  color: var(--c-ink);
  box-shadow: 0 6px 24px rgba(0, 255, 136, 0.3);
}

.btn--primary:hover {
  background: var(--c-cream);
  border-color: var(--c-cream);
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.4);
}

.btn--orange {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #fff;
  box-shadow: 0 6px 22px rgba(255, 77, 0, 0.32);
}

.btn--orange:hover {
  background: var(--c-cream);
  border-color: var(--c-cream);
  color: var(--c-ink);
}

.btn--outline {
  border-color: rgba(183, 197, 217, 0.55);
}

.btn--outline:hover {
  border-color: var(--c-green);
  color: var(--c-green);
}

.btn--sm {
  min-height: 38px;
  padding: 0.45em 1em;
  font-size: 0.86rem;
}

.btn--lg {
  min-height: 54px;
  padding: 0.9em 2em;
  font-size: 1.12rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

/* ---------- 7. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 136, 0.28);
}

.site-header__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-green), var(--c-orange));
  transform: scaleX(0);
  transform-origin: left;
}

.site-header__ribbon {
  background: var(--c-navy-deep);
  border-bottom: 1px solid rgba(183, 197, 217, 0.12);
}

.site-header__ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 36px;
  font-size: 0.8rem;
  color: var(--c-mist);
}

.site-header__slogan {
  display: flex;
  align-items: center;
  gap: 0.6em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.site-header__slogan::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--c-green);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
  animation: diamond-pulse 2.6s var(--ease) infinite;
}

@keyframes diamond-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.site-header__meta {
  display: flex;
  align-items: center;
  gap: 0.6em;
  flex: none;
}

.site-header__meta a {
  color: var(--c-cream);
  transition: color 0.2s;
}

.site-header__meta a:hover {
  color: var(--c-green);
}

.site-header__dot {
  width: 3px;
  height: 3px;
  flex: none;
  background: var(--c-orange);
}

.site-header__bar-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 76px;
}

/* 品牌标识 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.brand__logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--c-green);
  color: var(--c-ink);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 82% 100%, 0 100%);
  transition: background-color 0.25s;
}

.brand__logo::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(6, 16, 31, 0.45);
  clip-path: inherit;
}

.brand__name {
  display: grid;
  line-height: 1.08;
}

.brand__name strong {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-cream);
  transition: color 0.2s;
}

.brand__name small {
  margin-top: 0.2em;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--c-mist);
  text-transform: uppercase;
}

.brand:hover .brand__logo {
  background: var(--c-cream);
}

.brand:hover .brand__name strong {
  color: var(--c-green);
}

.brand--footer .brand__logo {
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
}

.brand--footer .brand__name strong {
  font-size: 1.3rem;
}

/* 主导航 */
.site-nav {
  margin-left: auto;
}

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

.site-nav__list a {
  position: relative;
  display: block;
  padding: 0.5em 0.72em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-mist);
  white-space: nowrap;
  transition: color 0.2s;
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0.8em;
  right: calc(100% - 0.8em);
  bottom: 0.3em;
  height: 2px;
  background: var(--c-orange);
  transition: right 0.25s var(--ease);
}

.site-nav__list a:hover {
  color: var(--c-cream);
}

.site-nav__list a:hover::after {
  right: 0.8em;
}

.site-nav__list a[aria-current="page"] {
  color: var(--c-green);
}

.site-nav__list a[aria-current="page"]::after {
  right: 0.8em;
  background: var(--c-green);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
}

/* 收藏按钮 */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header__actions .btn::before {
  content: "☆";
  order: -1;
}

.site-header__actions .btn:hover::before {
  content: "★";
  color: var(--c-orange);
}

/* 移动导航按钮：桌面隐藏 */
.nav-toggle {
  display: none;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--c-navy-deep);
  border-top: 2px solid rgba(0, 255, 136, 0.35);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--c-orange) 0 10px, transparent 10px 22px);
  opacity: 0.9;
  pointer-events: none;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2rem;
  padding-block: clamp(2.2rem, 5vw, 3.6rem) clamp(1.6rem, 3vw, 2.4rem);
}

.site-footer__brand {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.site-footer__desc {
  font-size: 0.88rem;
  color: var(--c-mist);
  max-width: 36ch;
}

.site-footer__trust {
  font-size: 0.8rem;
  color: rgba(183, 197, 217, 0.7);
  border: 1px solid rgba(183, 197, 217, 0.18);
  border-left: 3px solid var(--c-green);
  padding: 0.6em 0.9em;
  background: rgba(11, 31, 58, 0.5);
}

.site-footer__title {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 0.9rem;
}

.site-footer__title::before {
  content: "";
  width: 14px;
  height: 2px;
  flex: none;
  background: var(--c-orange);
}

.site-footer__links {
  display: grid;
  gap: 0.45em;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.88rem;
  color: var(--c-mist);
  transition: color 0.2s, transform 0.2s;
}

.site-footer__links a::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid var(--c-orange);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  opacity: 0;
  transition: opacity 0.2s;
}

.site-footer__links a:hover {
  color: var(--c-cream);
  transform: translateX(3px);
}

.site-footer__links a:hover::before {
  opacity: 1;
}

.site-footer__links--contact a::before {
  width: 6px;
  height: 6px;
  border: 0;
  background: var(--c-green);
  transform: rotate(45deg);
  opacity: 0.75;
}

.site-footer__note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(183, 197, 217, 0.65);
}

.site-footer__bottom {
  border-top: 1px solid rgba(183, 197, 217, 0.16);
  padding-block: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(183, 197, 217, 0.72);
}

.site-footer__icp {
  color: var(--c-green);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  padding-block: 1.2rem 0.4rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55em;
  font-size: 0.82rem;
  color: var(--c-mist);
}

.breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}

.breadcrumb__list li:not(:last-child)::after {
  content: "/";
  color: var(--c-orange);
  font-weight: 700;
}

.breadcrumb__list a {
  transition: color 0.2s;
}

.breadcrumb__list a:hover {
  color: var(--c-green);
}

.breadcrumb__list [aria-current="page"] {
  color: var(--c-cream);
}

/* ---------- 10. 卡片与 Bento ---------- */
.card {
  position: relative;
  background: var(--c-cream);
  color: var(--c-ink);
  border: 1px solid rgba(11, 31, 58, 0.14);
  padding: clamp(1.2rem, 2.2vw, 1.9rem);
}

.card--dark {
  background: var(--c-navy);
  color: var(--c-cream);
  border-color: rgba(183, 197, 217, 0.18);
  box-shadow: var(--shadow);
}

.card--green {
  background: var(--c-green);
  color: var(--c-ink);
  border-color: var(--c-green);
  box-shadow: 0 14px 34px rgba(0, 255, 136, 0.22);
}

.card--orange {
  background: var(--c-orange);
  color: #fff;
  border-color: var(--c-orange);
  box-shadow: 0 14px 34px rgba(255, 77, 0, 0.25);
}

.card__label {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-orange);
}

.card--dark .card__label {
  color: var(--c-green);
}

.card--green .card__label {
  color: rgba(6, 16, 31, 0.72);
}

.card--orange .card__label {
  color: rgba(255, 255, 255, 0.9);
}

.card__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0.35em 0 0.45em;
  color: inherit;
}

.card__text {
  font-size: 0.9rem;
  color: rgba(10, 10, 10, 0.72);
}

.card--dark .card__text {
  color: var(--c-mist);
}

.card--green .card__text,
.card--orange .card__text {
  color: rgba(6, 16, 31, 0.78);
}

.card--orange .card__text {
  color: rgba(255, 255, 255, 0.88);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.6rem, 1.4vw, 1.1rem);
}

.bento > * {
  grid-column: 1 / -1;
}

@media (min-width: 720px) {
  .bento__span-4 { grid-column: span 4; }
  .bento__span-5 { grid-column: span 5; }
  .bento__span-6 { grid-column: span 6; }
  .bento__span-7 { grid-column: span 7; }
  .bento__span-8 { grid-column: span 8; }
  .bento__span-12 { grid-column: span 12; }
}

/* ---------- 11. 数据组件 ---------- */
.stat {
  display: grid;
  gap: 0.1rem;
}

.stat__num {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1;
  color: var(--c-orange);
  font-variant-numeric: tabular-nums;
}

.stat__num--green {
  color: var(--c-green);
}

.stat__num--gold {
  color: var(--c-gold);
}

.stat__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mist);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.7em 0.9em;
  color: var(--c-mist);
  border-bottom: 2px solid rgba(0, 255, 136, 0.45);
}

.data-table td {
  padding: 0.7em 0.9em;
  color: var(--c-cream);
  border-bottom: 1px solid rgba(183, 197, 217, 0.14);
  font-size: 0.9rem;
}

.data-table tbody tr {
  transition: background-color 0.2s;
}

.data-table tbody tr:hover {
  background: rgba(0, 255, 136, 0.06);
}

.timeline {
  position: relative;
  padding-left: 1.6rem;
  display: grid;
  gap: 1.2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-green) 0 60%, var(--c-orange) 60% 100%);
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 0.5em;
  width: 10px;
  height: 10px;
  background: var(--c-navy);
  border: 2px solid var(--c-green);
  transform: rotate(45deg);
}

.timeline__meta {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-orange);
}

.timeline__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-cream);
  margin: 0.15em 0 0.25em;
}

.timeline__text {
  font-size: 0.88rem;
  color: var(--c-mist);
  max-width: 60ch;
}

/* ---------- 12. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--c-navy-deep);
  border: 1px solid rgba(183, 197, 217, 0.25);
  aspect-ratio: 16 / 9;
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(-45deg, rgba(0, 255, 136, 0.07) 0 10px, transparent 10px 20px),
    linear-gradient(135deg, rgba(11, 31, 58, 0.4), transparent 65%);
  pointer-events: none;
}

.media > img,
.media > video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media--portrait {
  aspect-ratio: 4 / 5;
}

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

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

.media__tag {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 0;
  background: var(--c-orange);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.32em 0.85em;
  box-shadow: 4px 4px 0 rgba(6, 16, 31, 0.45);
}

.media__tag--green {
  background: var(--c-green);
  color: var(--c-ink);
  box-shadow: 4px 4px 0 rgba(6, 16, 31, 0.25);
}

.media__tag--gold {
  background: var(--c-gold);
  color: var(--c-ink);
  box-shadow: 4px 4px 0 rgba(6, 16, 31, 0.25);
}

/* ---------- 13. 索引与标签 ---------- */
.index-list {
  display: grid;
  gap: 0.15rem;
  counter-reset: index;
}

.index-list a {
  display: flex;
  align-items: baseline;
  gap: 0.9em;
  padding: 0.42em 0;
  border-bottom: 1px dashed rgba(183, 197, 217, 0.22);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-cream);
  transition: color 0.2s, padding-left 0.25s var(--ease);
}

.index-list a::before {
  counter-increment: index;
  content: "0" counter(index);
  font-size: 0.62em;
  font-weight: 900;
  font-style: italic;
  color: var(--c-orange);
}

.index-list a:hover {
  color: var(--c-green);
  padding-left: 0.4em;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.26em 0.8em;
  border: 1px solid rgba(183, 197, 217, 0.45);
  color: var(--c-mist);
}

.tag--green {
  color: var(--c-green);
  border-color: rgba(0, 255, 136, 0.5);
}

.tag--orange {
  color: var(--c-orange);
  border-color: rgba(255, 77, 0, 0.5);
}

.tag--gold {
  color: var(--c-gold);
  border-color: rgba(255, 206, 0, 0.5);
}

/* ---------- 14. 滚动显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 实用工具 ---------- */
.text-green { color: var(--c-green); }
.text-orange { color: var(--c-orange); }
.text-cream { color: var(--c-cream); }
.text-mist { color: var(--c-mist); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.divider-slash {
  display: block;
  height: 4px;
  border: 0;
  background: repeating-linear-gradient(-45deg, var(--c-orange) 0 8px, transparent 8px 16px);
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 960px) {
  .site-header__ribbon-inner {
    justify-content: center;
    min-height: 32px;
  }

  .site-header__meta {
    display: none;
  }

  .site-header__bar-inner {
    min-height: 64px;
    gap: 0.5rem;
  }

  .brand__logo {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .brand__name strong {
    font-size: 1.32rem;
  }

  .site-header__actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    margin-left: auto;
  }

  .nav-toggle__bars {
    display: grid;
    gap: 4px;
    justify-items: center;
  }

  .nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-cream);
    transition: transform 0.3s var(--ease), opacity 0.25s;
  }

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

  .nav-toggle__text {
    font-family: var(--font-head);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-mist);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--c-navy-deep);
    border-top: 1px solid rgba(0, 255, 136, 0.25);
    border-bottom: 1px solid rgba(183, 197, 217, 0.14);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.38s var(--ease), opacity 0.3s, visibility 0.3s;
  }

  .site-nav[data-open] {
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 24px 40px rgba(6, 16, 31, 0.55);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 0 0.8rem;
  }

  .site-nav__list a {
    padding: 0.82rem var(--gutter);
    border-bottom: 1px solid rgba(183, 197, 217, 0.08);
    font-size: 1.1rem;
    white-space: normal;
  }

  .site-nav__list a::after {
    left: 0;
    top: 10%;
    bottom: 10%;
    right: auto;
    width: 3px;
    height: auto;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s var(--ease);
  }

  .site-nav__list a:hover::after {
    transform: scaleY(1);
  }

  .site-nav__list a[aria-current="page"]::after {
    transform: scaleY(1);
    background: var(--c-green);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
  }
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

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

/* ---------- 17. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
