/* ==========================================================================
   冠竞体育主站 · 共享样式 /assets/site.css
   档案纸页 × 球场边线 —— reset、变量、排版、头部轨道、页脚、通用组件
   ========================================================================== */

/* ---------- 1. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 0 0 var(--rail-w);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(11, 61, 46, 0.12) 1px, transparent 1.1px);
  background-size: 5px 5px;
  color: var(--carbon);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video { max-width: 100%; }

img { height: auto; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

/* ---------- 2. 令牌 ---------- */
:root {
  --paper: #F4F1E8;
  --carbon: #14181A;
  --green: #0B3D2E;
  --green-deep: #072A1F;
  --green-light: #CBE3D8;
  --orange: #FF6B35;
  --orange-light: #FFD9C7;
  --blue: #1E90FF;
  --blue-light: #7FC1FF;
  --silver: #C0C0C0;
  --gray: #E6E8E6;
  --red: #D64545;

  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo,
    Consolas, "Liberation Mono", monospace;

  --rail-w: 88px;
  --topbar-h: 62px;
  --shell: 1180px;
  --gutter: clamp(20px, 4vw, 56px);

  --line: rgba(11, 61, 46, 0.18);
  --shadow-card: 6px 6px 0 rgba(7, 42, 31, 0.16);
  --ease: ease-out;
}

/* ---------- 3. 基础排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.55em;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--green-deep);
}

h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; letter-spacing: 0; }
h5 { font-size: 1rem; letter-spacing: 0; }

p { margin: 0 0 1.2em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--green-deep); }

small { font-size: 0.8125rem; }

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.18s var(--ease);
}

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

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

hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

code,
kbd,
samp,
.mono,
.data-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 1;
}

code { font-size: 0.9375em; }

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

/* ---------- 4. 焦点与无障碍 ---------- */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.section--green :focus-visible,
.site-footer :focus-visible,
.site-header :focus-visible {
  outline-color: var(--blue-light);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 10px;
  top: -120px;
  z-index: 200;
  padding: 11px 20px;
  background: var(--orange);
  color: var(--green-deep);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid var(--green-deep);
  transition: top 0.16s var(--ease);
}

.skip-link:focus {
  top: 10px;
  color: var(--green-deep);
}

/* ---------- 5. 头部 · 侧边轨道 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 80;
  background: var(--green);
  color: var(--paper);
  border-right: 2px solid var(--green-deep);
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px 8px 12px;
  gap: 14px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.site-header__inner::-webkit-scrollbar { display: none; }

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 2px 0 10px;
  text-decoration: none;
  color: var(--paper);
  border-bottom: 1px solid rgba(203, 227, 216, 0.22);
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--green-deep);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 50% 100%, 0 76%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.brand__name {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: center;
  color: var(--paper);
}

.brand__desc {
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--green-light);
  opacity: 0.75;
  text-align: center;
}

.caliber {
  margin: 0;
  align-self: center;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--green-light);
  padding: 10px 4px;
  border: 1px solid rgba(203, 227, 216, 0.28);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  background: transparent;
  border: 2px solid rgba(244, 241, 232, 0.35);
  color: var(--paper);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav-toggle:hover { border-color: var(--orange); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
  flex: none;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.18s var(--ease), top 0.18s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }

.site-header[data-nav-open] .nav-toggle__bars::before {
  top: 5px;
  transform: rotate(45deg);
}

.site-header[data-nav-open] .nav-toggle__bars::after {
  top: 5px;
  transform: rotate(-45deg);
}

.nav-toggle__label { line-height: 1; }

/* 导航 */
.site-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-nav__item { margin: 0; }

.site-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 9px 4px;
  color: rgba(244, 241, 232, 0.72);
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: center;
  border-left: 3px solid transparent;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--paper);
  background: rgba(244, 241, 232, 0.09);
}

.site-nav__link[aria-current="page"] {
  color: var(--green-deep);
  background: var(--orange);
  border-left-color: var(--paper);
  font-weight: 800;
}

.site-nav__icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
}

.site-nav__icon svg { display: block; width: 100%; height: 100%; }

.site-nav__label { display: block; }

.rail-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(203, 227, 216, 0.22);
}

.rail-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  padding: 10px 4px;
  border: 2px solid var(--orange);
  color: var(--orange);
  background: transparent;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.rail-cta:hover,
.rail-cta:focus-visible {
  background: var(--orange);
  color: var(--green-deep);
}

.rail-meta {
  margin: 0;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  color: rgba(203, 227, 216, 0.6);
  text-align: center;
}

.rail-progress {
  flex: none;
  height: 3px;
  background: rgba(203, 227, 216, 0.2);
  overflow: hidden;
}

.rail-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange);
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--green);
  color: var(--paper);
  border-top: 4px solid var(--orange);
}

.site-footer a {
  color: var(--green-light);
  text-decoration: none;
}

.site-footer a:hover { color: var(--orange); }

/* 跑马灯 */
.marquee {
  display: flex;
  align-items: stretch;
  background: var(--green-deep);
  border-bottom: 2px solid var(--orange);
  color: var(--green-light);
}

.marquee__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: 11px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
}

.marquee__track:hover { animation-play-state: paused; }

.marquee[data-paused] .marquee__track { animation-play-state: paused; }

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--orange);
  transform: rotate(45deg);
  flex: none;
}

.marquee__toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  background: transparent;
  border: 0;
  border-left: 2px solid var(--orange);
  color: var(--green-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.marquee__toggle:hover,
.marquee__toggle:focus-visible {
  background: var(--orange);
  color: var(--green-deep);
}

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* 页脚主体 */
.site-footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) var(--gutter) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid rgba(203, 227, 216, 0.2);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand__name {
  margin: 0;
  max-width: none;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.footer-brand__desc {
  margin: 0;
  max-width: 32ch;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--green-light);
}

.footer-brand__domain {
  margin: 0;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--blue-light);
}

.footer-col__title {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col__list a {
  display: inline-block;
  font-size: 0.9375rem;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-col__list a:hover,
.footer-col__list a:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px 32px;
  padding: clamp(28px, 4vw, 44px) 0 18px;
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-contact__label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--silver);
}

.footer-contact__value {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: var(--paper);
  word-break: break-word;
}

.footer-contact__note {
  margin: 0 0 clamp(24px, 3vw, 36px);
  max-width: 70ch;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: rgba(203, 227, 216, 0.72);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 30px;
  border-top: 1px solid rgba(203, 227, 216, 0.2);
  font-size: 0.8125rem;
  color: rgba(203, 227, 216, 0.7);
}

.footer-bottom__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0;
  max-width: none;
}

.footer-icp {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.footer-note {
  margin: 0;
  max-width: none;
  font-size: 0.75rem;
  color: rgba(203, 227, 216, 0.55);
}

/* ---------- 7. 布局基元 ---------- */
.wrap {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(56px, 9vw, 132px) 0; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }

.section--dark {
  background: var(--green-deep);
  color: var(--paper);
  background-image: radial-gradient(rgba(244, 241, 232, 0.08) 1px, transparent 1.1px);
  background-size: 5px 5px;
}

.section--green {
  background: var(--green);
  color: var(--paper);
}

.section--gray { background: var(--gray); }

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--green h1,
.section--green h2,
.section--green h3,
.section--green h4 {
  color: var(--paper);
}

.section--dark a,
.section--green a { color: var(--blue-light); }

.section--dark a:hover,
.section--green a:hover { color: var(--orange); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: clamp(28px, 4vw, 56px) 0;
}

.section--dark .rule,
.section--green .rule { border-top-color: rgba(203, 227, 216, 0.22); }

/* 前导标签与编号 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--orange);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--orange);
  flex: none;
}

.idx {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--silver);
}

.section--dark .idx,
.section--green .idx { color: rgba(203, 227, 216, 0.65); }

/* 网格 */
.grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--offset { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* ---------- 8. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--green-deep);
  background: var(--paper);
  color: var(--green-deep);
  box-shadow: 4px 4px 0 var(--green-deep);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
    background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--green-deep);
  color: var(--green-deep);
  background: var(--paper);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--green-deep);
}

.btn--solid {
  background: var(--orange);
  color: var(--green-deep);
}

.btn--solid:hover { background: var(--orange); color: var(--green-deep); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--green-light);
  box-shadow: 4px 4px 0 rgba(203, 227, 216, 0.3);
}

.btn--ghost:hover {
  background: transparent;
  color: var(--paper);
  box-shadow: 2px 2px 0 rgba(203, 227, 216, 0.3);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  background: var(--gray);
  color: var(--green-deep);
  border: 1px solid var(--line);
}

.tag--accent { background: var(--orange); color: var(--green-deep); border-color: var(--green-deep); }
.tag--blue { background: var(--blue); color: #FFFFFF; border-color: var(--blue); }
.tag--warn { background: var(--orange-light); color: var(--green-deep); border-color: var(--orange); }
.tag--fix { background: var(--red); color: #FFFFFF; border-color: var(--red); }

.card {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  background: var(--paper);
  border: 2px solid var(--green-deep);
  box-shadow: var(--shadow-card);
}

.card--flat { box-shadow: none; }

.card--deep {
  background: var(--green-deep);
  color: var(--paper);
  border-color: var(--green-deep);
}

.card--deep h2,
.card--deep h3,
.card--deep h4 { color: var(--paper); }

.card--deep a { color: var(--blue-light); }

.card__title {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

/* 数据表 */
.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--green-deep);
  background: var(--paper);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

table.data caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green-deep);
  border-bottom: 1px solid var(--line);
}

table.data th,
table.data td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

table.data thead th {
  background: var(--green);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

table.data tbody tr:nth-child(even) { background: var(--gray); }

table.data td.num,
table.data th.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--silver);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

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

.section--dark .breadcrumb,
.section--green .breadcrumb { color: rgba(203, 227, 216, 0.6); }

.section--dark .breadcrumb a,
.section--green .breadcrumb a { color: var(--green-light); }

/* 图片容器基础规则 */
.figure {
  position: relative;
  margin: 0;
  background: var(--gray);
  border: 2px solid var(--green-deep);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.figure__frame {
  position: relative;
  display: block;
  width: 100%;
  background: var(--green-deep);
}

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

.figure--16x9 .figure__frame { aspect-ratio: 16 / 9; }
.figure--4x3 .figure__frame { aspect-ratio: 4 / 3; }
.figure--1x1 .figure__frame { aspect-ratio: 1 / 1; }
.figure--21x9 .figure__frame { aspect-ratio: 21 / 9; }

.figure__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 241, 232, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 232, 0.14) 1px, transparent 1px);
  background-size: 32px 32px;
}

.figure__art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(203, 227, 216, 0.5);
}

.figure__art svg { width: 100%; height: 100%; display: block; }

.figure figcaption {
  padding: 10px 14px;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--green-deep);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.figure--skew { clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%); }

.figure--deep {
  background: var(--green-deep);
  color: var(--paper);
  border-color: var(--green-deep);
}

.figure--deep figcaption {
  background: var(--green-deep);
  color: var(--green-light);
  border-top-color: rgba(203, 227, 216, 0.25);
}

/* 时间轴 */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--green), rgba(11, 61, 46, 0.12));
}

.section--dark .timeline::before,
.section--green .timeline::before {
  background: linear-gradient(180deg, var(--orange), rgba(203, 227, 216, 0.14));
}

.timeline__item {
  position: relative;
  padding: 0 0 30px 34px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--paper);
  border: 2px solid var(--silver);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.section--dark .timeline__item::before,
.section--green .timeline__item::before { background: var(--green-deep); }

.timeline__item.is-active::before {
  border-color: var(--orange);
  background: var(--orange);
}

/* 分段控件 */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid var(--green-deep);
}

.tabs__tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 11px 18px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green-deep);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.tabs__tab:hover { background: rgba(255, 107, 53, 0.12); }

.tabs__tab[aria-selected="true"] {
  border-bottom-color: var(--orange);
  background: rgba(255, 107, 53, 0.14);
  color: var(--green-deep);
}

.section--dark .tabs__list,
.section--green .tabs__list { border-bottom-color: var(--green-light); }

.section--dark .tabs__tab,
.section--green .tabs__tab { color: var(--green-light); }

.tabs__panel { padding-top: 22px; }

.tabs__panel[hidden] { display: none; }

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

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

/* ---------- 9. 断点 ---------- */
@media (max-width: 1023px) {
  body {
    padding-left: 0;
    padding-top: var(--topbar-h);
  }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: var(--topbar-h);
    border-right: 0;
    border-bottom: 2px solid var(--green-deep);
  }

  .site-header__inner {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 0 14px;
    overflow: visible;
  }

  .brand {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0;
    border-bottom: 0;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .brand__text {
    align-items: flex-start;
    gap: 1px;
  }

  .brand__name {
    font-size: 0.875rem;
    text-align: left;
    letter-spacing: 0.08em;
  }

  .brand__desc {
    font-size: 0.625rem;
    text-align: left;
    letter-spacing: 0.06em;
  }

  .caliber { display: none; }

  .nav-toggle { display: inline-flex; }

  .rail-progress {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    height: 2px;
    z-index: 85;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    z-index: 95;
    padding: 18px 14px 22px;
    background: var(--green);
    border-right: 2px solid var(--green-deep);
    box-shadow: 12px 0 0 rgba(7, 42, 31, 0.18);
    transform: translateX(-102%);
    transition: transform 0.22s var(--ease);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav[data-open] { transform: translateX(0); }

  .site-nav__list {
    flex: 1 1 auto;
    gap: 4px;
  }

  .site-nav__link {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
    color: rgba(244, 241, 232, 0.82);
  }

  .site-nav__icon { width: 20px; height: 20px; }

  .rail-foot { margin-top: 12px; }

  .rail-cta {
    font-size: 0.875rem;
    padding: 13px 10px;
  }

  .rail-meta { font-size: 0.6875rem; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .grid--2,
  .grid--3,
  .grid--offset { grid-template-columns: 1fr; }

  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }

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

  .footer-contact { grid-template-columns: 1fr; }

  .marquee__toggle { padding: 0 12px; font-size: 0.6875rem; }

  .marquee__item { font-size: 0.75rem; }

  .btn { width: 100%; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .breadcrumb { font-size: 0.75rem; }
}

/* ---------- 10. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .marquee__track {
    animation: none !important;
    transform: none !important;
  }

  .marquee__viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }

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