/* =========================================================
   WILLIAMHILL Site Kit — 共享样式 /assets/site.css
   深蓝与金色 · 侧边轨道导航 · 切角面板 · 等宽索引
   ========================================================= */

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

/* ---------- 设计变量 ---------- */
:root {
  --color-navy: #0A1F44;
  --color-navy-deep: #071326;
  --color-gold: #D4AF37;
  --color-gold-bright: #F0D060;
  --color-red: #8B0000;
  --color-bg: #F4F6F9;
  --color-bg-alt: #E8ECF1;
  --color-text: #1A1A1A;
  --color-text-invert: #FFFFFF;
  --color-link: #B8860B;

  --font-head: "Noto Serif SC", "Songti SC", "SimSun", "Times New Roman", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "SF Mono", ui-monospace, Consolas, monospace;

  --header-height: 64px;
  --sidebar-width: 260px;
  --sidebar-collapsed: 84px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 基础 ---------- */
html {
  scroll-behavior: smooth;
  background: var(--color-bg);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

input,
textarea,
select {
  font: inherit;
}

a {
  color: var(--color-link);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-navy);
}

p {
  margin-bottom: 1em;
}

ul,
ol {
  padding-left: 1.35em;
  margin-bottom: 1.2em;
}

li {
  margin-bottom: 0.3em;
}

strong {
  font-weight: 700;
  color: var(--color-navy);
}

blockquote {
  border-left: 3px solid var(--color-gold);
  background: var(--color-bg-alt);
  padding: 16px 20px;
  color: var(--color-text);
  font-size: 15px;
  margin: 1.4em 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: rgba(212, 175, 55, 0.14);
  color: var(--color-navy-deep);
  padding: 2px 6px;
  border-radius: 3px;
}

pre {
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 18px;
  overflow-x: auto;
  border-left: 3px solid var(--color-gold);
  margin-bottom: 1.4em;
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: var(--color-navy-deep);
}

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- 标题与文字 ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.28;
  color: var(--color-navy);
  margin: 1.1em 0 0.45em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.eyebrow::before {
  content: "//";
  color: var(--color-red);
  letter-spacing: -0.1em;
  font-size: 13px;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-link);
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.06);
  border-radius: 2px;
  white-space: nowrap;
}

.meta-tag--red {
  color: var(--color-red);
  border-color: rgba(139, 0, 0, 0.55);
  background: rgba(139, 0, 0, 0.05);
}

.index-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color-link);
  background: var(--color-bg-alt);
  border: 1px solid rgba(10, 31, 68, 0.15);
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.index-key::before {
  content: "#";
  color: var(--color-gold);
}

.index-key:hover {
  color: var(--color-navy);
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--color-gold);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--color-gold);
  color: var(--color-navy-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  background: var(--color-gold-bright);
  color: var(--color-navy-deep);
}

.btn--ghost {
  background: rgba(212, 175, 55, 0.08);
  color: var(--color-gold);
}

.btn--ghost:hover {
  background: rgba(212, 175, 55, 0.18);
  color: var(--color-gold-bright);
}

.btn--dark {
  background: var(--color-navy);
  color: var(--color-gold-bright);
}

.btn--dark:hover {
  background: var(--color-navy-deep);
  color: var(--color-gold-bright);
}

/* ---------- 面板与分割线 ---------- */
.panel {
  background: var(--color-bg-alt);
  border: 1px solid rgba(10, 31, 68, 0.08);
  padding: 28px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.panel--gold {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(212, 175, 55, 0.03));
  border-color: rgba(212, 175, 55, 0.3);
}

.panel--dark {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.82);
}

.panel--dark h1,
.panel--dark h2,
.panel--dark h3,
.panel--dark h4 {
  color: var(--color-text-invert);
}

.section-divider {
  height: 0;
  border: 0;
  border-top: 1px solid rgba(10, 31, 68, 0.1);
  position: relative;
  margin: 2.5em 0;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 160px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-red));
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

/* ---------- 图片容器 ---------- */
.img-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-deep) 70%);
  overflow: hidden;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 55%, rgba(212, 175, 55, 0.22));
  pointer-events: none;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-frame--portrait {
  aspect-ratio: 3 / 4;
}

.img-frame--wide {
  aspect-ratio: 16 / 6;
}

.img-frame--square {
  aspect-ratio: 1 / 1;
}

/* ---------- 栅格 ---------- */
.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
}

.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* ---------- 表格 ---------- */
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-alt);
  margin-bottom: 1.4em;
}

.table th,
.table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-bg);
  text-align: left;
}

.table th {
  background: var(--color-navy);
  color: var(--color-text-invert);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.table tbody tr:hover {
  background: rgba(212, 175, 55, 0.08);
}

/* ---------- 容器 ---------- */
.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.container--narrow {
  width: min(780px, 100% - 48px);
  margin-inline: auto;
}

.container--wide {
  width: min(1500px, 100% - 32px);
  margin-inline: auto;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(10, 31, 68, 0.55);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--color-gold);
}

.breadcrumb a {
  color: var(--color-link);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-navy);
}

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

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 999;
  background: var(--color-gold);
  color: var(--color-navy-deep);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 2px;
  text-decoration: none;
  transform: translateY(calc(-100% - 24px));
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 顶部滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 300;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-bright));
  transition: width 0.1s linear;
  pointer-events: none;
}

.scroll-progress::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 36px;
  background: linear-gradient(90deg, transparent, var(--color-red));
}

/* ---------- 顶部品牌锁定带 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 120;
}

.site-bar {
  position: relative;
  z-index: 101;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 32px);
  background: var(--color-navy-deep);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.site-bar::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 24vw;
  max-width: 340px;
  background: repeating-linear-gradient(-45deg, rgba(212, 175, 55, 0.05) 0 2px, transparent 2px 12px);
  pointer-events: none;
}

.site-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold) 24%, var(--color-red) 24%, var(--color-red) 29%, transparent 29%);
  pointer-events: none;
}

/* ---------- 品牌 ---------- */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-lockup__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(17px, 2.2vw, 22px);
  letter-spacing: 0.08em;
  color: var(--color-text-invert);
  line-height: 1;
  transition: color 0.2s ease;
}

.brand-lockup__sub {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(212, 175, 55, 0.4);
  padding-left: 10px;
  line-height: 1;
}

.brand-lockup__arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 7px solid var(--color-gold);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transform: skew(-14deg);
  animation: arrowPulse 2.4s ease-in-out infinite;
}

.brand-lockup:hover .brand-lockup__name {
  color: var(--color-gold-bright);
}

.brand-lockup:hover .brand-lockup__arrow {
  filter: drop-shadow(0 0 6px rgba(240, 208, 96, 0.9));
}

/* ---------- 头部按钮 ---------- */
.site-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 4px;
  color: var(--color-gold);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
}

.icon-btn.is-active {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
}

.icon-star {
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
}

.icon-star--active {
  color: var(--color-gold-bright);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.icon-btn.is-active .icon-star {
  color: var(--color-gold-bright);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.nav-burger__line {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), width 0.3s ease, opacity 0.2s ease;
}

.nav-burger__line:nth-child(2) {
  width: 70%;
  align-self: flex-end;
}

.nav-burger__line:nth-child(3) {
  width: 45%;
  align-self: flex-end;
}

.icon-btn.is-active .nav-burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.icon-btn.is-active .nav-burger__line:nth-child(2) {
  opacity: 0;
}

.icon-btn.is-active .nav-burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 100%;
}

@media (max-width: 1023px) {
  .icon-btn--star {
    display: none;
  }
}

/* ---------- 抽屉遮罩 ---------- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(7, 19, 38, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .nav-backdrop {
    display: none;
  }
}

/* ---------- 侧边轨道导航 ---------- */
.side-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--color-navy) 0%, var(--color-navy-deep) 75%);
  border-right: 1px solid rgba(212, 175, 55, 0.22);
}

.side-nav__track {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  display: block;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0.8) 0%, rgba(212, 175, 55, 0.15) 30%, rgba(139, 0, 0, 0.4) 82%, transparent 100%);
}

.side-nav__track::after {
  content: "";
  position: absolute;
  top: 0;
  right: -2px;
  width: 5px;
  height: 18px;
  background: linear-gradient(to bottom, var(--color-gold-bright), var(--color-red));
  clip-path: polygon(0 0, 100% 0, 100% 55%, 0 100%);
  animation: trackSlide 3.8s var(--ease-out) infinite alternate;
}

.side-nav__list {
  list-style: none;
  padding: 28px 0 12px;
  display: grid;
  gap: 2px;
}

.side-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, padding 0.3s var(--ease-out);
}

.side-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  background: var(--color-gold);
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.side-nav__link:hover {
  color: var(--color-gold-bright);
  background: rgba(212, 175, 55, 0.06);
  padding-left: 24px;
}

.side-nav__link[aria-current="page"] {
  color: var(--color-gold-bright);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.02));
}

.side-nav__link[aria-current="page"]::before {
  opacity: 1;
}

.side-nav__index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  min-width: 2.2ch;
}

.side-nav__label {
  flex: 1;
}

.side-nav__foot {
  margin-top: auto;
  padding: 16px 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
}

@media (max-width: 1023px) {
  .side-nav {
    width: min(290px, 86vw);
    transform: translateX(-105%);
    visibility: hidden;
    box-shadow: none;
    transition: transform 0.4s var(--ease-out), visibility 0.4s;
  }

  .side-nav[data-open] {
    transform: translateX(0);
    visibility: visible;
    box-shadow: 24px 0 48px rgba(7, 19, 38, 0.5);
  }
}

@media (min-width: 1024px) {
  .side-nav {
    transition: width 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0.4s;
  }

  .side-nav[data-collapsed] {
    width: var(--sidebar-collapsed);
  }

  .side-nav[data-collapsed] .side-nav__label,
  .side-nav[data-collapsed] .side-nav__foot {
    display: none;
  }

  .side-nav[data-collapsed] .side-nav__link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  .side-nav[data-collapsed] .side-nav__link:hover {
    padding-left: 0;
  }

  .side-nav[data-collapsed] .side-nav__link:hover::after {
    content: attr(data-label);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-navy-deep);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-left: 3px solid var(--color-gold);
    color: var(--color-gold-bright);
    font-size: 13px;
    font-family: var(--font-body);
    white-space: nowrap;
    padding: 7px 14px;
    z-index: 30;
    pointer-events: none;
  }
}

/* ---------- 全屏视图 ---------- */
body.is-fullview .side-nav {
  transform: translateX(-105%);
  visibility: hidden;
}

body.is-fullview .site-main {
  margin-left: 0;
}

body.is-fullview .site-footer {
  margin-left: 0;
}

/* ---------- 主内容 ---------- */
.site-main {
  padding-top: var(--header-height);
  min-height: 100dvh;
  background: var(--color-bg);
  transition: margin-left 0.4s var(--ease-out);
}

@media (min-width: 1024px) {
  .site-main {
    margin-left: var(--sidebar-width);
  }

  body.is-collapsed .site-main {
    margin-left: var(--sidebar-collapsed);
  }
}

#main-content {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.68);
  transition: margin-left 0.4s var(--ease-out);
}

.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold) 28%, var(--color-red) 28%, var(--color-red) 33%, rgba(212, 175, 55, 0.2) 33%, rgba(212, 175, 55, 0.2) 42%, transparent 42%);
}

@media (min-width: 1024px) {
  .site-footer {
    margin-left: var(--sidebar-width);
  }

  body.is-collapsed .site-footer {
    margin-left: var(--sidebar-collapsed);
  }
}

.footer-grid {
  display: grid;
  gap: 36px;
  max-width: 1320px;
  margin-inline: auto;
  padding: 56px clamp(24px, 4vw, 48px) 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1.2fr;
  }
}

.footer-brand__mark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--color-gold-bright);
}

.footer-brand__mark::after {
  content: "→";
  font-family: var(--font-mono);
  color: var(--color-gold);
  margin-left: 6px;
}

.footer-brand__desc {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.62);
  max-width: 44ch;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 16px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--color-gold-bright);
}

.footer-contact__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-contact__list li {
  display: flex;
  gap: 10px;
  margin: 0;
}

.footer-contact__list li::before {
  content: "/";
  font-family: var(--font-mono);
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  padding: 18px clamp(16px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 滚动显现 ---------- */
html.js-ready [data-scroll-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

html.js-ready [data-scroll-reveal="left"] {
  transform: translateX(-28px);
}

html.js-ready [data-scroll-reveal="right"] {
  transform: translateX(28px);
}

html.js-ready [data-scroll-reveal="none"] {
  transform: none;
}

html.js-ready [data-scroll-reveal].is-visible {
  opacity: 1;
  transform: none;
}

html.js-ready [data-scroll-reveal-delay="1"] {
  transition-delay: 0.1s;
}

html.js-ready [data-scroll-reveal-delay="2"] {
  transition-delay: 0.2s;
}

html.js-ready [data-scroll-reveal-delay="3"] {
  transition-delay: 0.3s;
}

html.js-ready [data-scroll-reveal-delay="4"] {
  transition-delay: 0.4s;
}

html.js-ready [data-scroll-reveal-delay="5"] {
  transition-delay: 0.5s;
}

html.js-ready [data-scroll-reveal-delay="6"] {
  transition-delay: 0.6s;
}

/* ---------- 动效 ---------- */
@keyframes arrowPulse {
  0%,
  100% {
    transform: skew(-14deg) translateX(0);
  }

  50% {
    transform: skew(-14deg) translateX(4px);
  }
}

@keyframes trackSlide {
  from {
    top: 0;
  }

  to {
    top: calc(100% - 18px);
  }
}

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

  .brand-lockup__arrow,
  .side-nav__track::after {
    animation: none !important;
  }

  .brand-lockup__arrow {
    transform: skew(-14deg);
  }

  .btn,
  .icon-btn,
  .nav-burger__line,
  .side-nav,
  .nav-backdrop,
  .site-main,
  .site-footer,
  .footer-grid {
    transition-duration: 0.01ms !important;
  }

  .scroll-progress {
    transition: none;
  }

  html.js-ready [data-scroll-reveal] {
    opacity: 0;
    transform: none;
    transition: opacity 0.35s ease;
  }

  html.js-ready [data-scroll-reveal].is-visible {
    opacity: 1;
  }
}
