/* ==========================================================================
   完美体育365 · 共享外壳样式 /assets/site.css
   夜赛看台 × 计分牌 × 纸质战报档案
   ========================================================================== */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul, ol { padding: 0; }

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

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

button { background: none; border: 0; }

a { color: inherit; }

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

/* ---------- 变量 ---------- */
:root {
  /* 赛场昼夜双色 */
  --green-deep: #0B3B2E;
  --green-night: #145A43;
  --green-turf: #2E7D5B;
  --paper-warm: #F7F1E3;
  --paper-mid: #EFE6D2;
  --orange: #F05A28;
  --orange-deep: #C63F1C;
  --brick: #9D3C2E;
  --metal: #6E7274;
  --ink: #151A18;

  /* 线条与阴影 */
  --line: rgba(21, 26, 24, 0.14);
  --line-strong: rgba(21, 26, 24, 0.28);
  --line-light: rgba(247, 241, 227, 0.22);
  --shadow-paper: 0 18px 32px -22px rgba(11, 59, 46, 0.55);

  /* 动效 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.22s;

  /* 字体 */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-ui: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: "Songti SC", "Noto Serif SC", "Source Han Serif SC", SimSun, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 栅格 */
  --shell: 1240px;
  --gutter: 24px;
  --radius: 2px;
}

/* ---------- 基础排版 ---------- */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--paper-warm);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(36px, 6vw, 96px); }
h2 { font-size: clamp(24px, 3.2vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 24px); }

p { text-wrap: pretty; }

a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

strong { font-weight: 700; }

code, kbd, samp, time, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

::selection {
  background: var(--orange);
  color: #FFFFFF;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 1px;
}

#main-content {
  display: block;
  flex: 1 0 auto;
  scroll-margin-top: 150px;
}

/* ---------- 布局工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-12 { grid-column: span 12; }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--orange);
  color: #FFFFFF;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--orange-deep);
  transform: translateY(-180%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--paper-warm);
  outline-offset: 2px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.btn--accent {
  background: var(--orange);
  color: #FFFFFF;
  box-shadow: 0 3px 0 var(--orange-deep);
}

.btn--accent:hover {
  background: var(--orange-deep);
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--orange-deep);
}

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--green-deep);
}

.btn--ghost:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--paper-warm);
}

.btn--paper {
  background: var(--paper-mid);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--paper:hover {
  background: var(--paper-warm);
  border-color: var(--green-turf);
  color: var(--green-deep);
}

.btn--sm {
  padding: 8px 15px;
  font-size: 13px;
}

/* ---------- 画板与章节头 ---------- */
.panel {
  position: relative;
  padding: clamp(24px, 4vw, 56px);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-paper);
}

.panel--night {
  background: var(--green-deep);
  border-color: rgba(247, 241, 227, 0.16);
  color: var(--paper-warm);
  box-shadow: 0 24px 48px -32px rgba(11, 59, 46, 0.85);
}

.panel--paper {
  background: var(--paper-mid);
}

.panel--slant {
  clip-path: polygon(0 0, 100% 2.5%, 100% 100%, 0 97.5%);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: clamp(20px, 3vw, 36px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-head__title {
  font-size: clamp(22px, 2.6vw, 32px);
}

.section-head__lead {
  max-width: 44ch;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.7;
  color: var(--metal);
}

.panel--night .section-head {
  border-bottom-color: var(--line-light);
}

.panel--night .section-head__lead {
  color: rgba(247, 241, 227, 0.72);
}

/* ---------- 展签与标签 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-night);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--orange);
}

.panel--night .eyebrow {
  color: rgba(247, 241, 227, 0.82);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(46, 125, 91, 0.08);
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--green-deep);
}

.tag--accent {
  background: rgba(240, 90, 40, 0.12);
  border-color: rgba(198, 63, 28, 0.42);
  color: var(--orange-deep);
}

.note {
  margin: 0;
  padding-left: 13px;
  border-left: 2px solid var(--orange);
  font-family: var(--font-ui);
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--metal);
}

.panel--night .note {
  color: rgba(247, 241, 227, 0.72);
}

.rule-dashed {
  height: 0;
  margin: clamp(20px, 3vw, 32px) 0;
  border: 0;
  border-top: 1px dashed var(--line-strong);
}

.panel--night .rule-dashed {
  border-top-color: var(--line-light);
}

/* ---------- 正文容器 ---------- */
.prose {
  max-width: 40em;
  font-family: var(--font-body);
  font-size: clamp(16.5px, 1.05vw, 17.5px);
  line-height: 1.82;
  color: var(--ink);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2,
.prose h3 {
  margin-top: 1.8em;
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

.prose h2 { font-size: clamp(22px, 2.4vw, 28px); }
.prose h3 { font-size: clamp(18px, 1.8vw, 21px); }

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li { margin-top: 0.4em; }

.prose a {
  color: var(--green-night);
  text-decoration-color: var(--orange);
}

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

.prose blockquote {
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--brick);
  font-size: 1.02em;
  color: var(--green-night);
}

.panel--night .prose {
  color: rgba(247, 241, 227, 0.9);
}

.panel--night .prose a { color: var(--paper-warm); }

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  padding-block: 14px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--metal);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__item::after {
  content: "/";
  color: rgba(21, 26, 24, 0.28);
}

.breadcrumbs__item:last-child::after { display: none; }

.breadcrumbs__link {
  color: var(--green-night);
  text-decoration: none;
}

.breadcrumbs__link:hover {
  color: var(--orange-deep);
  text-decoration: underline;
  text-decoration-color: var(--orange);
}

.breadcrumbs__current {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 票根卡片 ---------- */
.ticket {
  --ticket-bg: var(--paper-warm);
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--paper-mid);
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 0 -7px rgba(11, 59, 46, 0.14), 0 1px 0 rgba(21, 26, 24, 0.08);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: var(--ticket-bg);
  border-radius: 50%;
  transform: translateY(-50%);
}

.ticket::before { left: -7px; }
.ticket::after { right: -7px; }

.ticket:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 0 -7px rgba(11, 59, 46, 0.2), 0 1px 0 rgba(21, 26, 24, 0.08);
}

.ticket__stub {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--metal);
}

/* ---------- 计分牌数字格 ---------- */
.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
}

.board__cell {
  padding: 14px 16px 16px;
  background: var(--green-deep);
  border-top: 2px solid var(--green-turf);
  color: var(--paper-warm);
}

.board__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.board__label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(247, 241, 227, 0.7);
}

.board__cell--accent {
  border-top-color: var(--orange);
}

.board__cell--accent .board__num {
  color: var(--orange);
}

/* ---------- 媒体容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--paper-mid);
  border: 1px solid var(--line);
}

.media img,
.media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media--slant {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.media--frame {
  padding: 10px;
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-paper);
}

.media--frame img {
  height: auto;
  aspect-ratio: 4 / 3;
}

.media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background:
    repeating-linear-gradient(135deg, rgba(11, 59, 46, 0.06) 0 12px, transparent 12px 24px),
    var(--paper-mid);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(21, 26, 24, 0.38);
  text-align: center;
}

.media__caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 2px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--metal);
}

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

/* ---------- 筛选 chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.chip:hover {
  border-color: var(--green-turf);
  color: var(--green-deep);
}

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--paper-warm);
}

/* ---------- 标签页 ---------- */
.tabs {
  display: block;
}

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 20px;
  padding: 0;
  border-bottom: 1px dashed var(--line-strong);
}

.tabs__tab {
  position: relative;
  padding: 10px 16px;
  border-bottom: 3px solid transparent;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--metal);
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.tabs__tab:hover { color: var(--green-deep); }

.tabs__tab[aria-selected="true"] {
  color: var(--green-deep);
  border-bottom-color: var(--orange);
}

.tabs__panel { animation: panelIn 0.28s var(--ease); }

.tabs__panel[hidden] { display: none; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 显现动效 ---------- */
[data-reveal][data-reveal-init] {
  opacity: 0;
  transform: translateY(16px);
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
  transition: opacity 0.34s var(--ease), transform 0.34s var(--ease);
}

/* ==========================================================================
   头部
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper-warm);
  color: var(--ink);
}

.header-ribbon {
  background: var(--green-deep);
  color: rgba(247, 241, 227, 0.82);
  border-bottom: 1px solid rgba(247, 241, 227, 0.12);
}

.header-ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  min-height: 40px;
  padding-block: 6px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.header-ribbon__line {
  color: var(--paper-warm);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.header-ribbon__season {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(247, 241, 227, 0.88);
}

.header-ribbon__utility {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(247, 241, 227, 0.58);
  white-space: nowrap;
}

.live-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.24);
  animation: livePulse 2.6s var(--ease) infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.header-main {
  position: relative;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding-block: 10px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 38px;
  padding: 0 8px;
  background: var(--green-deep);
  border-bottom: 3px solid var(--orange);
  color: var(--paper-warm);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

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

.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand__sub {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--metal);
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.site-nav__item { flex: none; }

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 11px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.site-nav__link:hover { color: var(--green-deep); }
.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] { color: var(--green-deep); }

.site-nav__link[aria-current="page"]::after {
  height: 3px;
  transform: scaleX(1);
}

.site-nav__cta { flex: none; white-space: nowrap; }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  background: var(--paper-mid);
  border-color: var(--green-turf);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--green-deep);
  transition: transform var(--dur) var(--ease), opacity 0.16s var(--ease);
}

.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);
}

/* 滚动进度 */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  overflow: hidden;
  background: rgba(11, 59, 46, 0.1);
  pointer-events: none;
}

.header-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--green-deep);
  color: rgba(247, 241, 227, 0.86);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    108deg,
    rgba(247, 241, 227, 0.045) 0 2px,
    transparent 2px 22px
  );
  pointer-events: none;
}

.footer-terrace {
  position: relative;
  height: 16px;
  background: repeating-linear-gradient(
    115deg,
    var(--green-night) 0 14px,
    var(--green-deep) 14px 28px
  );
  border-bottom: 1px solid rgba(247, 241, 227, 0.14);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 48px);
}

.footer-brand__kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--paper-warm);
}

.footer-brand__kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange);
}

.footer-brand__link {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--orange);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--paper-warm);
  text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-brand__link:hover {
  color: #FFFFFF;
  border-bottom-color: var(--orange-deep);
}

.footer-brand__summary {
  max-width: 34ch;
  margin: 16px 0 22px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 241, 227, 0.76);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-col__title {
  position: relative;
  margin: 0 0 14px;
  padding-bottom: 10px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper-warm);
}

.footer-col__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  background: var(--orange);
}

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

.footer-col__link {
  font-family: var(--font-ui);
  font-size: 14px;
  color: rgba(247, 241, 227, 0.74);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-col__link:hover {
  color: var(--paper-warm);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

.footer-contact {
  position: relative;
  padding: 20px 20px 22px;
  background: var(--paper-mid);
  border-top: 3px solid var(--orange);
  color: var(--ink);
  box-shadow: 0 12px 0 -6px rgba(0, 0, 0, 0.22);
}

.footer-contact__title {
  margin-bottom: 14px;
  color: var(--green-deep);
}

.footer-contact__title::after {
  background: var(--brick);
}

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

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-strong);
}

.footer-contact__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-contact__label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--metal);
}

.footer-contact__value {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  word-break: break-word;
}

.footer-contact__note {
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 1.65;
  color: var(--metal);
}

.footer-legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 18px 26px;
  border-top: 1px dashed var(--line-light);
}

.footer-legal__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(247, 241, 227, 0.62);
}

.footer-legal__meta--links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  letter-spacing: 0.08em;
}

.footer-legal__link {
  color: rgba(247, 241, 227, 0.72);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-legal__link:hover {
  color: var(--paper-warm);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 128px);
    overflow-y: auto;
    padding: 8px clamp(16px, 4vw, 40px) 26px;
    background: var(--green-deep);
    border-top: 3px solid var(--orange);
    box-shadow: 0 28px 44px -26px rgba(11, 59, 46, 0.9);
  }

  .site-nav[data-open="true"] {
    display: flex;
    animation: drawerIn 0.24s var(--ease);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .site-nav__item + .site-nav__item {
    border-top: 1px dashed var(--line-light);
  }

  .site-nav__link {
    display: block;
    padding: 16px 10px;
    font-size: 17px;
    color: var(--paper-warm);
  }

  .site-nav__link::after { display: none; }

  .site-nav__link:hover,
  .site-nav__link[aria-current="page"] {
    color: var(--orange);
  }

  .site-nav__link[aria-current="page"] {
    background: rgba(247, 241, 227, 0.07);
  }

  .site-nav__cta {
    align-self: stretch;
    margin-top: 20px;
    width: 100%;
    padding-block: 13px;
  }

  #main-content { scroll-margin-top: 132px; }
}

@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  :root { --gutter: 16px; }

  .col-3, .col-4, .col-5 { grid-column: span 6; }
  .col-6, .col-7, .col-8, .col-9, .col-12 { grid-column: span 12; }

  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .header-ribbon__utility { display: none; }

  .header-main__inner {
    min-height: 68px;
    gap: 14px;
  }

  .brand__name { font-size: 17px; }
}

@media (max-width: 700px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-legal {
    justify-content: flex-start;
    gap: 10px;
  }

  .media--slant { clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }
}

@media (max-width: 620px) {
  .header-ribbon__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding-block: 9px;
    font-size: 11.5px;
  }

  .header-ribbon__line { font-size: 12px; }

  .tabs__tab {
    padding: 9px 12px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  :root { --gutter: 8px; }

  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-12 {
    grid-column: span 12;
  }

  .panel { padding: 22px 18px; }

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

@media (max-width: 440px) {
  .brand__sub { display: none; }
  .brand__mark { min-width: 46px; height: 34px; font-size: 14px; }
  .footer-nav { grid-template-columns: 1fr; }
  .nav-toggle__label { display: none; }
}

/* ==========================================================================
   可访问性与动态偏好
   ========================================================================== */
@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;
    scroll-behavior: auto !important;
  }

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

  .ticket:hover { transform: none; }
  .btn--accent:hover { transform: none; }
}
