/* ============================================================
   /assets/site.css — 新宝体育中文站 · 共享外壳与基础组件
   北境赛场 / 技术蓝图网格 / 高密度索引
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

ul, ol { padding: 0; list-style: none; }

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; }

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

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #08122B;
  --blue: #0B3D91;
  --blue-line: #1D5FD1;
  --orange: #FF6B1A;
  --ice: #7FE3E1;
  --neon: #2AD4C8;
  --snow: #F3F7FF;
  --ridge: #DCE6F5;
  --warm: #FFF8F2;
  --frost: #6F7F9E;

  --line-ice: rgba(127, 227, 225, 0.24);
  --line-ink: rgba(8, 18, 43, 0.12);
  --grid-line: rgba(127, 227, 225, 0.12);

  --font-display: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 76px;
  --maxw: 1240px;
  --radius-l: 22px;
  --radius-m: 14px;
  --radius-s: 9px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 3. Typography ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--ink);
}

h1 { font-size: clamp(34px, 5.2vw, 62px); font-weight: 900; }
h2 { font-size: clamp(26px, 3.6vw, 42px); }
h3 { font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }

p { line-height: 1.78; }

strong, b { font-weight: 700; }

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

/* ---------- 4. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

#main-content { padding-top: var(--header-h); }

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

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

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

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  flex: 0 0 auto;
}

.blueprint-grid {
  background-image:
    linear-gradient(90deg, rgba(29, 95, 209, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(29, 95, 209, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---------- 5. Sections ---------- */
.section {
  position: relative;
  padding: clamp(52px, 7vw, 100px) 0;
}

.section--deep {
  background: linear-gradient(158deg, #0B3D91 0%, #08214F 58%, #08122B 100%);
  color: var(--snow);
}

.section--deep h1,
.section--deep h2,
.section--deep h3,
.section--deep h4 { color: var(--warm); }

.section--deep .eyebrow { color: var(--ice); }

.section--snow { background: var(--snow); }
.section--paper { background: var(--warm); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--orange);
  color: #08122B;
  box-shadow: 0 16px 28px -18px rgba(255, 107, 26, 0.95);
}
.btn--primary:hover { background: #FF7F38; }

.btn--solid {
  background: var(--blue);
  color: #FFFFFF;
  box-shadow: 0 16px 28px -20px rgba(11, 61, 145, 0.95);
}
.btn--solid:hover { background: var(--blue-line); }

.btn--ghost {
  border-color: rgba(127, 227, 225, 0.5);
  background: rgba(127, 227, 225, 0.07);
  color: var(--ice);
}
.btn--ghost:hover {
  background: rgba(127, 227, 225, 0.16);
  border-color: var(--ice);
  color: #FFFFFF;
}

.btn--quiet {
  border-color: var(--ridge);
  background: #FFFFFF;
  color: var(--ink);
}
.btn--quiet:hover { border-color: var(--blue-line); color: var(--blue-line); }

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 10px;
}

/* ---------- 7. Tags & cards ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  background: var(--ridge);
  color: var(--blue);
}

.tag--ice {
  background: rgba(127, 227, 225, 0.18);
  border-color: rgba(127, 227, 225, 0.55);
  color: #0A3A6B;
}

.tag--orange {
  background: rgba(255, 107, 26, 0.14);
  border-color: rgba(255, 107, 26, 0.45);
  color: #8F3300;
}

.section--deep .tag--ice { color: var(--ice); }
.section--deep .tag--orange { color: #FFBE94; }

.card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--ridge);
  border-radius: var(--radius-m);
  padding: 22px;
  box-shadow: 0 20px 44px -34px rgba(8, 18, 43, 0.6);
}

.card--deep {
  background: rgba(8, 18, 43, 0.55);
  border-color: rgba(127, 227, 225, 0.26);
  color: var(--snow);
  box-shadow: none;
}

/* ---------- 8. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-m);
  border: 1px solid rgba(127, 227, 225, 0.3);
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(127, 227, 225, 0.24), transparent 62%),
    linear-gradient(158deg, #0B3D91, #08122B);
  isolation: isolate;
}

.media-frame > img,
.media-frame > picture,
.media-frame > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(243, 247, 255, 0.06) 0 1px,
    transparent 1px 4px
  );
  mix-blend-mode: screen;
  opacity: 0.6;
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* ---------- 9. Tabs ---------- */
.tabs { position: relative; }

.tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--ridge);
  overflow-x: auto;
  scrollbar-width: thin;
}

.tab-btn {
  position: relative;
  padding: 11px 16px;
  border-radius: 10px 10px 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--frost);
  cursor: pointer;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.tab-btn:hover { color: var(--blue-line); background: rgba(29, 95, 209, 0.07); }

.tab-btn[aria-selected="true"] {
  color: #08122B;
  background: rgba(127, 227, 225, 0.42);
  font-weight: 600;
}

.tab-btn[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--orange);
}

.tab-panel { padding-top: 22px; }
[data-tab-panel][hidden] { display: none; }

/* ---------- 10. Breadcrumbs ---------- */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--frost);
}

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

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

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(111, 127, 158, 0.65);
}

.breadcrumb-link { color: var(--blue-line); }
.breadcrumb-link:hover { color: var(--orange); }
.breadcrumb-current { color: var(--ink); }

/* ---------- 11. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--warm);
  background: var(--ink);
  border-bottom: 1px solid var(--line-ice);
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 100%;
  opacity: 0.55;
}

.site-header[data-overlay="true"] {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.site-header[data-scrolled="true"] {
  background: rgba(8, 18, 43, 0.97);
  border-bottom-color: rgba(127, 227, 225, 0.28);
  box-shadow: 0 18px 40px -30px rgba(8, 18, 43, 0.95);
}

.site-header.is-nav-open {
  background: var(--ink);
  border-bottom-color: var(--line-ice);
}

body.nav-open { overflow: hidden; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: #08122B;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

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

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--warm);
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 12px 4px 12px 4px;
  background: linear-gradient(140deg, #FF8A3D, var(--orange) 58%, #D64F00);
  box-shadow: 0 10px 20px -12px rgba(255, 107, 26, 0.95);
  transition: transform 0.2s var(--ease);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 46%,
    rgba(8, 18, 43, 0.8) 46%,
    rgba(8, 18, 43, 0.8) 54%,
    transparent 54%
  );
}

.brand:hover .brand-mark { transform: rotate(-6deg); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.brand-note {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.9;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

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

.site-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  border-radius: var(--radius-s);
  font-size: 14px;
  font-weight: 500;
  color: rgba(243, 247, 255, 0.84);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.site-nav-link:hover {
  color: #FFFFFF;
  background: rgba(127, 227, 225, 0.12);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ice);
  opacity: 0.85;
}

.site-nav-link[aria-current="page"] {
  background: var(--orange);
  color: #08122B;
  font-weight: 700;
}

.site-nav-link[aria-current="page"] .nav-index {
  color: rgba(8, 18, 43, 0.62);
  opacity: 1;
}

.site-nav-link[aria-current="page"]:hover { background: #FF7F38; }

.nav-quick { display: none; }

.nav-quick-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.nav-quick-note {
  font-size: 13px;
  color: rgba(243, 247, 255, 0.72);
}

/* 右侧操作 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  flex: 0 0 auto;
}

.quick-rank {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px 9px 13px;
  border: 1px solid rgba(127, 227, 225, 0.5);
  border-radius: 999px;
  background: rgba(127, 227, 225, 0.08);
  color: var(--ice);
  transition:
    background-color 0.18s var(--ease),
    color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.quick-rank:hover {
  background: var(--ice);
  border-color: var(--ice);
  color: #08122B;
  transform: translateY(-1px);
}

.quick-rank-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.55);
  animation: rankPulse 2.6s var(--ease) infinite;
}

.quick-rank:hover .quick-rank-dot {
  background: #08122B;
  animation: none;
}

.quick-rank-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

@keyframes rankPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(255, 107, 26, 0); }
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(127, 227, 225, 0.45);
  border-radius: 12px;
  background: rgba(127, 227, 225, 0.08);
  color: var(--ice);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav-toggle:hover {
  background: rgba(127, 227, 225, 0.18);
  border-color: var(--ice);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.15s var(--ease);
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }

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

/* ---------- 12. Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 76px) 0 26px;
  background: linear-gradient(180deg, #08122B 0%, #0B2350 56%, #08122B 100%);
  border-top: 1px solid var(--line-ice);
  color: rgba(243, 247, 255, 0.76);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(127, 227, 225, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(127, 227, 225, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.7;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 107, 26, 0));
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr) minmax(0, 0.95fr) minmax(0, 1.3fr);
  gap: 40px 36px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--warm);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.footer-brand-summary {
  margin-top: 18px;
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(243, 247, 255, 0.72);
}

.footer-brand-meta {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.85;
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice);
}

.footer-col-title::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--orange);
  flex: 0 0 auto;
}

.footer-links { display: grid; gap: 2px; }

.footer-link {
  display: inline-block;
  padding: 5px 0;
  font-size: 14.5px;
  color: rgba(243, 247, 255, 0.78);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

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

.footer-contact-list { display: grid; gap: 0; }

.footer-contact-item {
  display: grid;
  gap: 2px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(127, 227, 225, 0.18);
}

.footer-contact-item:first-child { padding-top: 0; }
.footer-contact-item:last-child { border-bottom: 0; }

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frost);
}

.footer-contact-value {
  font-size: 14.5px;
  color: var(--warm);
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid rgba(127, 227, 225, 0.18);
}

.footer-copy {
  font-size: 13px;
  color: rgba(243, 247, 255, 0.6);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal-link {
  font-size: 13px;
  color: rgba(243, 247, 255, 0.72);
  border-bottom: 1px solid rgba(127, 227, 225, 0.34);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-legal-link:hover {
  color: var(--ice);
  border-bottom-color: var(--ice);
}

.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--frost);
}

/* ---------- 13. Scroll progress & reveal ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
  background: linear-gradient(90deg, var(--orange), var(--neon));
  transition: width 0.1s linear;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

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

/* ---------- 14. Responsive ---------- */
@media (max-width: 1180px) {
  .site-nav-link { font-size: 13px; padding: 9px 9px; }
  .header-inner { gap: 12px; }
}

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .quick-rank { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px 0 22px;
    margin-left: 0;
    background: linear-gradient(180deg, #08122B 0%, #0B2F6E 140%);
    border-top: 1px solid var(--line-ice);
    border-bottom: 1px solid var(--line-ice);
    box-shadow: 0 36px 60px -34px rgba(8, 18, 43, 0.95);
  }

  .site-nav[data-open="true"] {
    display: block;
    animation: navDrop 0.22s var(--ease) both;
  }

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

  .site-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 16px;
  }

  .site-nav-link {
    display: flex;
    width: 100%;
    padding: 15px 14px;
    font-size: 15px;
    border-radius: 0;
    border-bottom: 1px solid rgba(127, 227, 225, 0.14);
  }

  .site-nav-link[aria-current="page"] {
    border-radius: 12px;
    border-bottom-color: transparent;
    margin: 6px 0;
  }

  .nav-index { font-size: 11px; }

  .nav-quick {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 16px 16px 4px;
    padding: 14px 16px;
    border: 1px dashed rgba(255, 107, 26, 0.6);
    border-radius: 14px;
    background: rgba(255, 107, 26, 0.08);
  }

  .nav-quick:hover { background: rgba(255, 107, 26, 0.16); }
}

@media (max-width: 700px) {
  :root { --header-h: 64px; }

  .header-inner { padding: 0 16px; gap: 10px; }
  .container { padding: 0 18px; }
  .footer-inner { padding: 0 18px; }

  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 18px; }
  .brand-note { font-size: 9px; letter-spacing: 0.16em; }

  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom { justify-content: flex-start; }
  .section { padding: 44px 0; }
}

@media (max-width: 420px) {
  .brand-note { display: none; }
}

/* ---------- 15. Reduced motion ---------- */
@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;
    scroll-behavior: auto !important;
  }

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

  .quick-rank-dot { animation: none; }
}
