/* ==========================================================================
   华体会体育 · 街巷看台 Site Kit
   /assets/site.css — reset / tokens / header / footer / 基础组件
   ========================================================================== */

/* —— 1. 设计变量 —— */
:root {
  --night: #0B1B2B;
  --panel: #14293D;
  --asphalt: #05080C;
  --concrete: #8C949B;
  --concrete-lt: #DCE0E2;
  --chalk: #F5F7F8;
  --flame: #FF4A1C;
  --flame-deep: #C22F0C;
  --neon: #3DF2C0;
  --neon-deep: #18A487;

  --fence: rgba(140, 148, 155, 0.24);
  --fence-strong: rgba(140, 148, 155, 0.44);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-cond: "Arial Narrow", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Courier New", monospace;

  --rail-w: 96px;
  --radius-sign: 2px 16px 2px 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* —— 2. Reset —— */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--chalk);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

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

::selection { background: var(--flame); color: var(--night); }

/* —— 3. 排版元件 —— */
.display {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--chalk);
}

.headline {
  font-family: var(--font-cond);
  font-weight: 800;
  font-stretch: condensed;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--chalk);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-weight: 700;
  letter-spacing: 0;
}

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--concrete);
}

.prose {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--concrete-lt);
}
.prose p + p { margin-top: 1.05em; }
.prose strong { color: var(--chalk); font-weight: 700; }
.prose a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 242, 192, 0.42);
  transition: border-color 180ms var(--ease);
}
.prose a:hover { border-bottom-color: var(--neon); }
.prose h2, .prose h3 { color: var(--chalk); margin-top: 1.6em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 18px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 9px;
  height: 1px;
  background: var(--flame);
}

/* —— 4. 容器与网格 —— */
.container {
  width: min(1240px, 100% - clamp(32px, 6vw, 88px));
  margin-inline: auto;
}
.container--wide {
  width: min(1440px, 100% - clamp(24px, 4vw, 64px));
}

.grid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
}
.grid--5-7 { grid-template-columns: 5fr 7fr; }
.grid--4-8 { grid-template-columns: 4fr 8fr; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--offset > *:nth-child(even) { margin-top: clamp(18px, 3vw, 44px); }

/* —— 5. 跳过链接 —— */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--neon);
  color: var(--asphalt);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 2px 10px 2px 10px;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--chalk);
  outline-offset: 2px;
}

/* —— 6. 页头 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, #0B1B2B 0%, #0B1B2B 74%, #0A1725 100%);
  border-bottom: 1px solid var(--fence);
  box-shadow: 0 1px 0 rgba(255, 74, 28, 0.22);
}

.header-inner {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  align-items: stretch;
}

.brand-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 12px;
  border-right: 1px solid var(--fence);
  background: linear-gradient(180deg, rgba(255, 74, 28, 0.12), rgba(11, 27, 43, 0) 58%);
}

.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--chalk);
}
.brand-mark__slash {
  width: 10px;
  height: 26px;
  background: var(--flame);
  transform: skewX(-16deg);
  border-radius: 1px;
}
.brand-word {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1;
  transition: color 180ms var(--ease);
}
.brand-mark:hover .brand-word,
.brand-mark:focus-visible .brand-word { color: var(--flame); }

.rail-meter {
  position: relative;
  flex: 1 1 auto;
  width: 2px;
  min-height: 34px;
  background: var(--fence);
  border-radius: 2px;
  overflow: hidden;
}
.rail-meter__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--neon) 0%, var(--flame) 100%);
  border-radius: 2px;
  transition: height 120ms linear;
}

.rail-seal {
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--concrete);
  border: 1px dashed var(--fence-strong);
  padding: 6px 3px;
  border-radius: 2px;
}

.nav-zone {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 0 clamp(16px, 2.5vw, 32px);
  border-bottom: 1px dashed var(--fence);
}

.site-nav { display: block; min-width: 0; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.nav-item { display: flex; }
.nav-item + .nav-item { border-left: 1px solid var(--fence); }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px clamp(9px, 1.4vw, 18px);
  font-size: 15px;
  line-height: 1.4;
  color: var(--concrete-lt);
  text-decoration: none;
  transition: color 180ms var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: clamp(9px, 1.4vw, 18px);
  right: clamp(9px, 1.4vw, 18px);
  bottom: 4px;
  height: 1px;
  background: var(--flame);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms var(--ease), height 180ms var(--ease);
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--chalk); }
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--chalk);
  font-weight: 700;
}
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  height: 2px;
  background: var(--flame);
}
.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 0 3px rgba(255, 74, 28, 0.18);
}

.utility-link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--flame);
  border: 1px solid var(--flame-deep);
  border-radius: var(--radius-sign);
  background: rgba(255, 74, 28, 0.08);
  transition: background 180ms var(--ease), color 180ms var(--ease),
    border-color 180ms var(--ease), transform 200ms var(--ease);
}
.utility-link::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 1px;
}
.utility-link:hover,
.utility-link:focus-visible {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--night);
  transform: translate(4px, -4px);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--fence-strong);
  border-radius: var(--radius-sign);
  color: var(--chalk);
  font-size: 13px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}
.nav-toggle:hover { border-color: var(--flame); color: var(--flame); }
.nav-toggle[aria-expanded="true"] { border-color: var(--flame); color: var(--flame); }
.nav-toggle__bar {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
}
.nav-toggle__text { letter-spacing: 0.14em; }

.nav-marker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px clamp(16px, 2.5vw, 32px);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--concrete);
  background: linear-gradient(90deg, rgba(61, 242, 192, 0.09), rgba(61, 242, 192, 0) 58%);
}
.nav-marker__dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(61, 242, 192, 0.16);
}
.nav-marker__text { color: var(--neon); }
.nav-marker__tip {
  position: absolute;
  left: clamp(16px, 2.5vw, 32px);
  top: calc(100% + 6px);
  z-index: 95;
  padding: 7px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--concrete-lt);
  background: var(--asphalt);
  border: 1px solid var(--fence-strong);
  border-left: 2px solid var(--flame);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease),
    visibility 180ms var(--ease);
}
.nav-marker:hover .nav-marker__tip,
.nav-marker:focus-within .nav-marker__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* —— 7. 页脚 —— */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--asphalt);
  color: var(--concrete-lt);
  border-top: 1px solid rgba(255, 74, 28, 0.3);
}
.site-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--flame) 0%,
    var(--flame) 42%,
    var(--neon) 42%,
    var(--neon) 58%,
    var(--panel) 58%,
    var(--panel) 100%
  );
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr 1.3fr;
  gap: clamp(24px, 3vw, 48px);
  width: min(1360px, 100%);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 56px) clamp(28px, 4vw, 44px);
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 20px;
}
.footer-brand__mark {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  color: var(--chalk);
  text-decoration: none;
  transition: color 180ms var(--ease);
}
.footer-brand__mark:hover { color: var(--flame); }
.footer-claim {
  flex: 1 1 150px;
  max-width: 15em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--concrete-lt);
}
.footer-seal {
  align-self: flex-end;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--concrete);
  border: 1px dashed var(--fence-strong);
  padding: 5px 9px;
  border-radius: 2px;
}

.footer-title {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--concrete);
}

.footer-links {
  display: grid;
  gap: 9px;
}
.footer-link {
  position: relative;
  display: inline-block;
  padding-left: 16px;
  font-size: 15px;
  color: var(--concrete-lt);
  text-decoration: none;
  transition: color 180ms var(--ease), transform 200ms var(--ease);
}
.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 9px;
  height: 1px;
  background: var(--concrete);
  transition: width 180ms var(--ease), background 180ms var(--ease);
}
.footer-link:hover,
.footer-link:focus-visible { color: var(--chalk); transform: translateX(2px); }
.footer-link:hover::before,
.footer-link:focus-visible::before { width: 13px; background: var(--flame); }

.contact-list {
  display: grid;
  gap: 14px;
}
.contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.contact-label {
  flex: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--concrete);
}
.contact-value {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  color: var(--chalk);
  word-break: break-all;
}
.copy-btn {
  flex: none;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  background: transparent;
  color: var(--neon);
  border: 1px solid rgba(61, 242, 192, 0.45);
  border-radius: 2px 8px 2px 8px;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease),
    border-color 180ms var(--ease);
}
.copy-btn:hover,
.copy-btn:focus-visible {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--asphalt);
}
.copy-btn[data-state="copied"] {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--asphalt);
}
.copy-btn[data-state="fallback"] {
  background: transparent;
  border-color: var(--flame);
  color: var(--flame);
}

.contact-note {
  margin-top: 16px;
  max-width: 26em;
  padding-left: 12px;
  border-left: 2px solid var(--flame-deep);
  font-size: 12px;
  line-height: 1.8;
  color: var(--concrete);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 14px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--fence);
  background: rgba(11, 27, 43, 0.55);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--concrete);
}
.footer-legal { margin: 0; }
.footer-icp {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.footer-icp::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  vertical-align: 1px;
  background: var(--flame);
  border-radius: 1px;
}

/* —— 8. 按钮 —— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sign);
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease),
    border-color 180ms var(--ease), transform 200ms var(--ease);
}
.btn--primary {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--night);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--flame-deep);
  border-color: var(--flame-deep);
  color: var(--chalk);
  transform: translate(3px, -3px);
}
.btn--ghost {
  background: transparent;
  border-color: var(--fence-strong);
  color: var(--chalk);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--neon);
  color: var(--neon);
  transform: translate(3px, -3px);
}

/* —— 9. 面包屑与索引行 —— */
.breadcrumb {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--concrete);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: "/";
  color: var(--flame-deep);
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms var(--ease);
}
.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: var(--neon); }
.breadcrumb [aria-current="page"] { color: var(--concrete-lt); }

.index-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 10px 0 12px;
  border-bottom: 1px dashed var(--fence-strong);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--concrete);
}
.index-row a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms var(--ease);
}
.index-row a:hover,
.index-row a:focus-visible { color: var(--neon); }

/* —— 10. 色带 —— */
.band {
  display: block;
  padding: clamp(20px, 3vw, 34px) 0;
  border-top: 1px solid var(--fence);
  border-bottom: 1px solid var(--fence);
  background: var(--panel);
}
.band--panel { background: var(--panel); }
.band--flame {
  background: linear-gradient(100deg, var(--flame) 0%, var(--flame) 46%, var(--panel) 46%, var(--panel) 100%);
  color: var(--night);
}
.band--neon {
  background: linear-gradient(100deg, rgba(61, 242, 192, 0.16) 0%, rgba(61, 242, 192, 0.16) 34%, rgba(20, 41, 61, 0.9) 34%, rgba(20, 41, 61, 0.9) 100%);
}

/* —— 11. 卡片 · 路牌 · 标签 —— */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--panel);
  border: 1px solid var(--fence);
  border-radius: 3px;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.card:hover { border-color: var(--fence-strong); }
.card--accent { border-left: 3px solid var(--flame); }
.card--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.signpost {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--chalk);
  background: rgba(20, 41, 61, 0.72);
  border: 1px solid var(--fence-strong);
  border-radius: var(--radius-sign);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease),
    background 200ms var(--ease), color 200ms var(--ease);
}
.signpost:hover,
.signpost:focus-visible {
  transform: translate(4px, -4px);
  border-color: var(--flame);
  background: rgba(255, 74, 28, 0.1);
}
.signpost__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--neon);
  letter-spacing: 0;
}
.signpost__text { font-size: 15px; letter-spacing: 0.06em; }
.signpost__meta {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--concrete);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-size: 11px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  color: var(--neon);
  background: rgba(61, 242, 192, 0.13);
  border: 1px solid rgba(61, 242, 192, 0.34);
}
.tag--flame {
  color: var(--flame);
  background: rgba(255, 74, 28, 0.13);
  border-color: rgba(255, 74, 28, 0.36);
}
.tag--muted {
  color: var(--concrete-lt);
  background: rgba(140, 148, 155, 0.12);
  border-color: var(--fence-strong);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--concrete-lt);
  background: transparent;
  border: 1px solid var(--fence-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease),
    color 180ms var(--ease);
}
.chip:hover { border-color: var(--flame); color: var(--chalk); }
.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--night);
  font-weight: 600;
}

.tilt-strip {
  height: 26px;
  margin-block: -4px;
  background: linear-gradient(90deg, var(--flame), var(--flame-deep));
  transform: skewY(-6deg);
  transform-origin: left center;
}

/* —— 12. 图片容器基础规则 —— */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: var(--panel);
  border-radius: 3px;
  aspect-ratio: 4 / 3;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.94);
  transition: transform 400ms var(--ease);
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(245, 247, 248, 0.14) 0px,
    rgba(245, 247, 248, 0.14) 1px,
    transparent 1px,
    transparent 26px
  );
  opacity: 0.26;
  mix-blend-mode: screen;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 12, 0) 42%, rgba(5, 8, 12, 0.72) 100%);
}
.media-frame figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--concrete-lt);
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--band { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame:hover img { transform: scale(1.03); }

/* —— 13. 工具类 —— */
.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;
}

/* —— 14. 响应式 —— */
@media (max-width: 1024px) {
  .nav-link { font-size: 14px; padding-inline: 10px; }
  .nav-link::after { left: 10px; right: 10px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .grid--5-7,
  .grid--4-8 { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 118px; }

  .header-inner { grid-template-columns: 1fr; }

  .brand-rail {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 10px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--fence);
  }
  .brand-mark { flex-direction: row; align-items: center; gap: 10px; }
  .brand-mark__slash { width: 6px; height: 18px; }
  .brand-word {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 14px;
    letter-spacing: 0.2em;
  }
  .rail-meter { display: none; }
  .rail-seal {
    writing-mode: horizontal-tb;
    margin-left: auto;
    font-size: 9px;
    letter-spacing: 0.2em;
    padding: 4px 8px;
  }

  .nav-top {
    flex-wrap: wrap;
    row-gap: 10px;
    min-height: 0;
    padding: 10px 16px;
  }
  .nav-toggle { display: inline-flex; order: 0; }
  .utility-link { order: 1; margin-left: auto; }
  .site-nav {
    display: none;
    order: 2;
    flex-basis: 100%;
  }
  .site-nav[data-open] {
    display: block;
    animation: nav-drop 200ms var(--ease) both;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    margin-top: 4px;
    border-top: 1px dashed var(--fence);
  }
  .nav-item + .nav-item { border-left: 0; border-top: 1px solid var(--fence); }
  .nav-link { width: 100%; padding: 13px 4px; font-size: 15px; }
  .nav-link::after { left: 4px; right: 4px; bottom: 8px; }
  .nav-link[aria-current="page"]::before { display: none; }

  .nav-marker { padding: 7px 16px; font-size: 10px; letter-spacing: 0.12em; }
  .nav-marker__tip { left: 16px; white-space: normal; max-width: min(280px, 82vw); }

  .footer-inner { grid-template-columns: 1fr; padding-inline: 20px; }
  .footer-brand { flex-direction: column; gap: 14px; }
  .footer-brand__mark {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0.14em;
  }
  .footer-claim { max-width: none; }

  .grid--3 { grid-template-columns: 1fr; }
  .grid--offset > *:nth-child(even) { margin-top: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .band--flame,
  .band--neon { background: var(--panel); color: var(--chalk); }
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (hover: none) {
  .nav-marker__tip { display: none; }
}

/* —— 15. 动效降级 —— */
@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;
  }
  .utility-link:hover,
  .utility-link:focus-visible,
  .signpost:hover,
  .signpost:focus-visible,
  .btn:hover,
  .btn:focus-visible {
    transform: none;
  }
  .media-frame:hover img { transform: none; }
}
