/* ============================================================
   幻影体育 PHANTOM VISION — /assets/site.css
   共享层：reset、变量、中文排版、头部、页脚、基础组件
   ============================================================ */

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

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

html.nav-locked { overflow: hidden; }

body { margin: 0; }

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

/* ---------- 02 Tokens ---------- */
:root {
  --ink-900: #071426;
  --ink-800: #0C2038;
  --ink-700: #102A47;
  --line: #1E3A5F;
  --ice: #E8F2FF;
  --mist: #8FA6BF;
  --cyan: #28E0D0;
  --orange: #FF6B2C;
  --gold: #F2B84B;
  --gold-lift: #FFD27A;
  --live: #FF4D5E;
  --ok: #4ADE80;

  --cut: 18px;
  --shell: 1280px;
  --pad: clamp(20px, 4vw, 64px);
  --gap: 24px;

  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .18s var(--ease);
  --t-mid: .24s var(--ease);
}

/* ---------- 03 Base ---------- */
body {
  background-color: var(--ink-900);
  background-image:
    linear-gradient(rgba(30, 58, 95, .34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, .34) 1px, transparent 1px),
    radial-gradient(1200px 620px at 84% -8%, rgba(40, 224, 208, .10), transparent 62%),
    radial-gradient(900px 520px at 4% 0%, rgba(255, 107, 44, .08), transparent 66%);
  background-size: 24px 24px, 24px 24px, auto, auto;
  color: var(--ice);
  font-family: var(--font-body);
  font-size: clamp(16px, .18vw + 15.4px, 17.5px);
  line-height: 1.75;
  min-height: 100vh;
}

::selection { background: rgba(40, 224, 208, .28); color: #ffffff; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ice);
}

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

/* ---------- 04 Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.container--narrow { max-width: 820px; }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.is-cyan { color: var(--cyan); font-style: normal; }
.is-orange { color: var(--orange); font-style: normal; }

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

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: top var(--t-fast);
}

.skip-link:focus { top: 14px; }

.section { padding-block: clamp(48px, 7vw, 96px); }

.lede {
  max-width: 34em;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
  color: #C7D8EE;
}

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

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

@media (max-width: 960px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: span 6; }
}

@media (max-width: 720px) {
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: 1 / -1; }
}

/* ---------- 06 Typography blocks ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 12px;
  height: 9px;
  flex: none;
  background: var(--orange);
  transform: skewX(-12deg);
}

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

.section-title {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
}

.section-note {
  max-width: 42ch;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

.divider-slash {
  position: relative;
  height: 1px;
  margin: 0;
  background: var(--line);
}

.divider-slash::after {
  content: "";
  position: absolute;
  top: -5px;
  right: 0;
  width: 72px;
  height: 11px;
  background: linear-gradient(90deg, transparent, var(--orange));
  opacity: .85;
  transform: skewX(-12deg);
}

.prose {
  max-width: 68ch;
  color: #CFE0F4;
}

.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
.prose h3 { margin-top: 1.6em; font-size: 20px; font-weight: 700; }
.prose p { margin: 0; }
.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
.prose a:hover { color: var(--orange); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--cyan); }
.prose strong { color: #FFFFFF; }

/* ---------- 07 Buttons & tags ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ice);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-900);
}

.btn--gold:hover { background: var(--gold-lift); border-color: var(--gold-lift); }

.btn--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
}

.btn--cyan:hover { background: #6BF0E4; border-color: #6BF0E4; }

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(40, 224, 208, .08);
}

.btn:focus-visible,
.nav-cta:focus-visible,
.to-top:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  box-shadow: inset 0 0 0 2px var(--ink-900), inset 0 0 0 4px var(--cyan);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.6;
  white-space: nowrap;
}

.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: currentColor;
}

.tag--cyan { color: var(--cyan); border-color: rgba(40, 224, 208, .5); background: rgba(40, 224, 208, .08); }
.tag--orange { color: var(--orange); border-color: rgba(255, 107, 44, .5); background: rgba(255, 107, 44, .08); }
.tag--live { color: var(--live); border-color: rgba(255, 77, 94, .5); background: rgba(255, 77, 94, .1); }
.tag--ok { color: var(--ok); border-color: rgba(74, 222, 128, .45); background: rgba(74, 222, 128, .08); }
.tag--gold { color: var(--gold); border-color: rgba(242, 184, 75, .5); background: rgba(242, 184, 75, .1); }

/* ---------- 08 Panels / data band / crumbs ---------- */
.panel-cut {
  position: relative;
  padding: clamp(20px, 2.6vw, 32px);
  background: var(--ink-800);
  border: 1px solid var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color var(--t-mid);
}

.panel-cut::after {
  content: "";
  position: absolute;
  top: 0;
  left: var(--cut);
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width var(--t-mid);
}

.panel-cut:hover { background: var(--ink-700); }
.panel-cut:hover::after { width: calc(100% - var(--cut)); }

.data-band {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 32, 56, .62);
}

.data-band__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}

.data-band__item:first-child { border-left: 0; }

.data-band__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--cyan);
}

.data-band__label {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mist);
}

@media (max-width: 720px) {
  .data-band { grid-auto-flow: row; grid-auto-columns: auto; }
  .data-band__item { border-left: 0; border-top: 1px solid var(--line); }
  .data-band__item:first-child { border-top: 0; }
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mist);
}

.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--mist); text-decoration: none; transition: color var(--t-fast); }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current="page"] { color: var(--ice); }

/* ---------- 09 Media frames ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background-color: var(--ink-800);
  background-image:
    radial-gradient(120% 90% at 18% 8%, rgba(40, 224, 208, .18), transparent 60%),
    radial-gradient(90% 80% at 92% 92%, rgba(255, 107, 44, .16), transparent 66%),
    linear-gradient(160deg, var(--ink-700), var(--ink-900));
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 242, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 242, 255, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.img-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.96) contrast(1.04);
}

.img-frame__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 8px 18px 8px 14px;
  background: linear-gradient(90deg, rgba(7, 20, 38, .92), rgba(7, 20, 38, 0));
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
}

.img-frame--wide { aspect-ratio: 21 / 9; }
.img-frame--panel { aspect-ratio: 16 / 10; }
.img-frame--tall { aspect-ratio: 4 / 5; }

/* ============================================================
   10 Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(7, 20, 38, .97), rgba(7, 20, 38, .86));
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color var(--t-fast);
}

.site-header.is-compact { background: rgba(7, 20, 38, .99); }

.hdr-rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    var(--cyan) 0%,
    rgba(40, 224, 208, .18) 32%,
    rgba(30, 58, 95, .7) 50%,
    rgba(242, 184, 75, .18) 68%,
    var(--gold) 100%);
}

.hdr-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 78px;
  transition: min-height var(--t-fast);
}

.site-header.is-compact .hdr-inner { min-height: 60px; }

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

.brand__mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  flex: none;
  background: linear-gradient(140deg, rgba(40, 224, 208, .95), rgba(12, 32, 56, .55));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background-color var(--t-fast);
}

.brand__mark i {
  position: absolute;
  display: block;
  background: var(--ink-900);
}

.brand__mark i:first-child { left: 8px; top: 9px; width: 18px; height: 3px; }
.brand__mark i:last-child { left: 8px; top: 17px; width: 11px; height: 3px; }

.brand:hover .brand__mark { background: linear-gradient(140deg, var(--orange), rgba(12, 32, 56, .55)); }

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

.brand__cn {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
}

.brand__en {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .26em;
  color: var(--mist);
}

/* Navigation */
.site-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-item { flex: none; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 12px;
  color: var(--mist);
  font-size: 13px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color var(--t-fast);
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #5D7A9C;
  transition: color var(--t-fast);
}

.nav-text { white-space: nowrap; }

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--t-mid), background-color var(--t-mid);
}

.nav-link:hover { color: var(--ice); }
.nav-link:hover .nav-num { color: var(--cyan); }
.nav-link:hover::after { transform: scaleX(1); background: var(--orange); }

.nav-link[aria-current="page"] { color: var(--ice); }
.nav-link[aria-current="page"] .nav-num { color: var(--cyan); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); background: var(--cyan); }

/* Subscribe CTA — warm gold cut-corner, fixed in 2nd slot */
.nav-item--cta { margin-inline: 8px; }

.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 10px;
  overflow: hidden;
  isolation: isolate;
  background: var(--gold);
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: color var(--t-fast);
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gold-lift);
  transform: translateX(-100%);
  transition: transform var(--t-mid);
}

.nav-cta:hover::before { transform: translateX(0); }

.nav-cta__txt,
.nav-cta__arrow { position: relative; z-index: 1; }

.nav-cta__arrow {
  font-family: var(--font-mono);
  font-size: 12px;
  transition: transform var(--t-fast);
}

.nav-cta:hover .nav-cta__arrow { transform: translate(2px, -2px); }

.nav-foot {
  display: none;
  max-width: 560px;
  margin: 22px auto 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 2;
  color: var(--mist);
}

.nav-foot strong { color: var(--cyan); font-weight: 400; }

/* Tools */
.hdr-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.tool-search {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--mist);
  background: transparent;
  text-decoration: none;
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}

.tool-search__glyph {
  position: relative;
  display: block;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.tool-search__glyph::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.tool-search:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(40, 224, 208, .07);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ice);
  font-size: 13px;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: border-color var(--t-fast), background-color var(--t-fast);
}

.nav-toggle:hover { border-color: var(--cyan); background: rgba(40, 224, 208, .07); }

.nav-toggle__bars { display: grid; gap: 4px; width: 16px; }

.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform var(--t-mid), opacity var(--t-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Scroll progress */
.hdr-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.hdr-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--orange) 65%, var(--gold));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- 11 Header: mobile ---------- */
@media (max-width: 960px) {
  .hdr-inner { min-height: 64px; gap: 12px; }
  .site-header.is-compact .hdr-inner { min-height: 58px; }

  .hdr-tools { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .tool-search { width: 34px; height: 34px; }

  .site-header[data-nav-open] { background: var(--ink-900); }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 70;
    margin: 0;
    padding: 88px var(--pad) 40px;
    overflow-y: auto;
    background-color: var(--ink-900);
    background-image:
      linear-gradient(rgba(30, 58, 95, .42) 1px, transparent 1px),
      linear-gradient(90deg, rgba(30, 58, 95, .42) 1px, transparent 1px),
      radial-gradient(120% 80% at 92% 0%, rgba(40, 224, 208, .12), transparent 62%),
      radial-gradient(90% 70% at 0% 100%, rgba(255, 107, 44, .10), transparent 65%);
    background-size: 32px 32px, 32px 32px, auto, auto;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity var(--t-mid), transform var(--t-mid), visibility var(--t-mid);
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 560px;
    margin-inline: auto;
  }

  .nav-item { border-bottom: 1px solid rgba(30, 58, 95, .75); }
  .nav-item:first-child { border-top: 1px solid rgba(30, 58, 95, .75); }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 6px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ice);
  }

  .nav-num { min-width: 22px; font-size: 11px; }
  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] { color: var(--cyan); }

  .nav-link[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    width: 3px;
    height: 22px;
    background: var(--cyan);
    transform: translateY(-50%);
  }

  .nav-item--cta { border: 0; margin: 16px 0 6px; }

  .nav-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    font-size: 15px;
  }

  .nav-foot { display: block; }
}

/* ============================================================
   12 Footer
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(12, 32, 56, .92), var(--ink-900) 62%),
    var(--ink-900);
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--gold) 34%, rgba(30, 58, 95, .4) 62%, transparent 100%);
}

.foot-band { border-bottom: 1px solid var(--line); background: rgba(7, 20, 38, .55); }

.foot-band__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.foot-band__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 200px;
  padding: 18px 24px;
  border-left: 1px solid rgba(30, 58, 95, .7);
}

.foot-band__item:first-child { border-left: 0; padding-left: 0; }

.foot-band__key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .24em;
  color: var(--mist);
}

.foot-band__val {
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--ice);
  letter-spacing: .02em;
}

.foot-band__val em {
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 720px) {
  .foot-band__item { flex: 1 1 50%; padding: 14px 16px; }
  .foot-band__item:first-child { padding-left: 0; }
  .foot-band__item:nth-child(odd) { border-left: 0; }
}

.foot-main {
  display: grid;
  grid-template-columns: 1.5fr .8fr .85fr .8fr 1.25fr;
  gap: 40px 32px;
  padding-block: clamp(40px, 6vw, 72px) clamp(32px, 4vw, 48px);
}

.foot-brand__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ice);
  line-height: 1.2;
}

.foot-brand__en {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .28em;
  color: var(--cyan);
}

.foot-summary {
  max-width: 34ch;
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.75;
}

.foot-note {
  max-width: 36ch;
  margin-top: 18px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  font-size: 12.5px;
  line-height: 1.8;
  color: #7B93AD;
}

.foot-col__title {
  position: relative;
  margin: 0 0 16px;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--ice);
}

.foot-col__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 3px;
  background: var(--cyan);
  transform: skewX(-12deg);
}

.foot-links {
  display: grid;
  gap: 4px;
}

.foot-link {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  color: var(--mist);
  font-size: 13.5px;
  text-decoration: none;
  transition: color var(--t-fast);
}

.foot-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--t-mid), background-color var(--t-mid);
}

.foot-link:hover { color: var(--ice); }
.foot-link:hover::after { transform: scaleX(1); background: var(--orange); }
.foot-link[aria-current="page"] { color: var(--cyan); }

.foot-contact { min-width: 0; }

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(30, 58, 95, .85);
}

.contact-line:first-of-type { padding-top: 2px; }

.contact-line__key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: #6C87A5;
}

.contact-line__val {
  color: var(--ice);
  font-size: 13.5px;
  line-height: 1.6;
  word-break: break-all;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px 30px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--mist);
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
}

.foot-copyright { font-family: var(--font-body); letter-spacing: .01em; }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}

.to-top:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(242, 184, 75, .1);
}

@media (max-width: 1080px) {
  .foot-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .foot-main { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { width: 100%; justify-content: center; }
}

/* ---------- 13 Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .panel-cut:hover::after { width: calc(100% - var(--cut)); }
}
