/* ==========================================================
   花间探影 · Site.css
   共享基础样式 · 版本 2024-B14
   ========================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --bg-deep: #0B0910;
  --bg-panel: #16121F;
  --accent-primary: #A475FF;
  --accent-pink: #FF4FD8;
  --accent-amber: #F5B841;
  --text-light: #FFF3E0;
  --bg-cyan: #1E4F4A;
  --bg-wine: #6E1E3C;
  --bg-indigo: #1E2C4F;
  --grid-line: #3A2E5A;

  --font-display: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', Georgia, serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Cascadia Mono', 'Consolas', 'Courier New', monospace;

  --container-max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --trans: 0.25s ease;
  --header-h: 92px;
}

/* ---------- 2. Reset 与基础 ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-attachment: fixed;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(164, 117, 255, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

body::after {
  content: '+';
  position: fixed;
  bottom: 10px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--grid-line);
  opacity: 0.7;
  pointer-events: none;
  z-index: 9998;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

ul, ol {
  list-style: none;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--trans), border-color var(--trans), background var(--trans), box-shadow var(--trans);
}

a:hover {
  color: var(--accent-pink);
}

p {
  margin-bottom: 1em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

::selection {
  background: var(--accent-primary);
  color: var(--bg-deep);
}

:focus-visible {
  outline: 2px solid var(--accent-pink);
  outline-offset: 2px;
}

/* ---------- 3. 版式与中文印刷 ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.display-font {
  font-family: var(--font-display);
}

/* ---------- 4. 焦点与跳转链接 ---------- */
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  background: var(--accent-amber);
  color: var(--bg-deep);
  padding: 8px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  z-index: 10000;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- 5. 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-pink));
  z-index: 10001;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 9, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 3px solid var(--accent-primary);
  border-bottom: 1px solid var(--grid-line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.site-header::before,
.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  width: 22px;
  height: 22px;
  border-color: var(--grid-line);
  border-style: solid;
  pointer-events: none;
}

.site-header::before {
  left: 0;
  border-width: 0 0 2px 2px;
  border-bottom-left-radius: 4px;
}

.site-header::after {
  right: 0;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 4px;
}

.header-coordinate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4px var(--gutter);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--grid-line);
  white-space: nowrap;
  overflow: hidden;
  border-bottom: 1px dashed rgba(58, 46, 90, 0.5);
}

.header-coord-center {
  color: var(--accent-primary);
  opacity: 0.7;
}

.header-coord-loc {
  font-size: 11px;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px var(--gutter);
  min-height: 58px;
}

/* ---------- 品牌 ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 42px;
  flex-shrink: 0;
}

.orchid-stem {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 26px;
  background: linear-gradient(to top, var(--grid-line), var(--accent-primary));
  border-radius: 2px;
  transform: translateX(-50%);
}

.orchid-stem::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -1px;
  width: 12px;
  height: 5px;
  background: linear-gradient(135deg, var(--bg-cyan), var(--accent-primary));
  border-radius: 100% 0 100% 0;
  transform: rotate(-18deg);
  opacity: 0.8;
}

.orchid-petal {
  position: absolute;
  left: 50%;
  bottom: 23px;
  filter: drop-shadow(0 0 4px rgba(255, 79, 216, 0.35));
}

.orchid-petal-left {
  width: 14px;
  height: 11px;
  background: linear-gradient(145deg, var(--accent-pink), var(--accent-primary));
  border-radius: 80% 20% 70% 30%;
  transform: translateX(-120%) rotate(-28deg);
  opacity: 0.9;
}

.orchid-petal-right {
  width: 14px;
  height: 11px;
  background: linear-gradient(35deg, var(--accent-primary), var(--accent-pink));
  border-radius: 20% 80% 30% 70%;
  transform: translateX(20%) rotate(28deg);
  opacity: 0.9;
}

.orchid-petal-top {
  width: 16px;
  height: 17px;
  background: linear-gradient(to bottom, var(--accent-pink), var(--accent-primary));
  border-radius: 50% 50% 45% 55%;
  transform: translateX(-50%) translateY(-18%);
  opacity: 0.92;
}

.orchid-core {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 5px;
  height: 5px;
  background: var(--accent-amber);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent-amber);
  z-index: 2;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-light);
  line-height: 1.2;
  white-space: nowrap;
}

.brand:hover .brand-text {
  color: var(--accent-pink);
  text-shadow: 0 0 18px rgba(255, 79, 216, 0.4);
}

/* ---------- 批次标签 ---------- */
.brand-batch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--grid-line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--accent-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.batch-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-pink);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 79, 216, 0.6);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 79, 216, 0);
    opacity: 0.75;
  }
}

/* ---------- 导航 ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--grid-line);
  border-radius: 4px;
  margin-left: auto;
  flex-shrink: 0;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
}

.nav-toggle:hover {
  border-color: var(--accent-pink);
  box-shadow: 0 0 14px rgba(255, 79, 216, 0.2);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.nav-toggle-text {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--accent-primary);
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--accent-pink);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--accent-pink);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--accent-pink);
}

.site-nav {
  margin-left: auto;
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid transparent;
  border-radius: 3px;
  position: relative;
  transition: color var(--trans), border-color var(--trans), background var(--trans), transform var(--trans), box-shadow var(--trans);
}

.nav-link:hover {
  color: var(--accent-pink);
  border-color: var(--accent-pink);
  background: rgba(255, 79, 216, 0.05);
  transform: translateY(2px);
  box-shadow: 0 0 14px rgba(255, 79, 216, 0.15);
}

.nav-link[aria-current="page"] {
  color: var(--accent-pink);
  border-color: var(--accent-pink);
  background: rgba(255, 79, 216, 0.07);
  box-shadow: 0 0 12px rgba(255, 79, 216, 0.18), inset 0 0 8px rgba(255, 79, 216, 0.06);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-primary);
  opacity: 0.85;
  letter-spacing: 0;
}

.nav-link[aria-current="page"] .nav-index {
  color: var(--accent-pink);
  opacity: 1;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--grid-line);
  border-bottom: 3px solid var(--accent-primary);
  position: relative;
  margin-top: 80px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-pink), var(--bg-cyan), var(--accent-amber));
  opacity: 0.8;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px var(--gutter) 40px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.brand--footer .brand-mark {
  transform: scale(0.9);
}

.brand--footer .brand-text {
  font-size: 20px;
}

.footer-trust {
  font-size: 14px;
  color: rgba(255, 243, 224, 0.75);
  line-height: 1.85;
  border-left: 2px solid var(--bg-cyan);
  border-radius: 0 4px 4px 0;
  background: rgba(30, 79, 74, 0.15);
  padding: 12px 16px;
  margin: 0;
}

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

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent-primary);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(58, 46, 90, 0.6);
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 24px;
  height: 1px;
  background: var(--accent-pink);
}

.footer-col-list li {
  margin-bottom: 6px;
}

.footer-col-list a {
  font-size: 14px;
  color: var(--text-light);
  opacity: 0.85;
  transition: color var(--trans), opacity var(--trans), padding-left var(--trans);
}

.footer-col-list a:hover {
  color: var(--accent-pink);
  opacity: 1;
  padding-left: 6px;
}

.footer-contact-block {
  background: var(--bg-panel);
  border: 1px solid var(--grid-line);
  padding: 18px 20px;
  border-radius: 4px;
  align-self: start;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-primary);
  background: rgba(164, 117, 255, 0.1);
  border: 1px solid transparent;
  padding: 0 4px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-address {
  font-family: var(--font-body);
  font-size: 13px;
}

.footer-contact-note {
  font-size: 11px;
  color: var(--grid-line);
  margin: 8px 0 0;
  border-top: 1px dashed var(--grid-line);
  padding-top: 8px;
}

.footer-legal-bar {
  border-top: 1px solid var(--grid-line);
  background: var(--bg-panel);
}

.footer-legal-inner,
.footer-legal-links {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 243, 224, 0.6);
}

.footer-legal-links {
  padding-top: 0;
  padding-bottom: 18px;
  border-top: 1px dashed rgba(58, 46, 90, 0.4);
}

.footer-legal-inner {
  padding-bottom: 4px;
}

.footer-legal-links a {
  font-size: 12px;
  color: var(--accent-primary);
}

.footer-legal-links a:hover {
  color: var(--accent-pink);
}

.legal-item {
  line-height: 1.6;
}

.legal-sep {
  font-size: 9px;
  color: var(--accent-pink);
  opacity: 0.5;
  margin: 0 2px;
}

.legal-icp {
  letter-spacing: 1px;
}

/* ---------- 8. 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 50px;
  height: 50px;
  background: var(--bg-cyan);
  border: 1px solid var(--accent-primary);
  border-radius: 4px;
  color: var(--text-light);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color var(--trans), box-shadow var(--trans);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent-pink);
  box-shadow: 0 0 20px rgba(255, 79, 216, 0.35);
}

.back-to-top-symbol {
  font-size: 20px;
  line-height: 1;
  color: var(--accent-amber);
  font-weight: 500;
}

.back-to-top-text {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--accent-primary);
}

/* ---------- 9. 布局容器 ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

#main-content {
  min-height: 60vh;
  display: block;
}

/* ---------- 10. 栅格 ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

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

/* ---------- 11. 分区标题 ---------- */
.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-primary);
  letter-spacing: 1px;
  white-space: nowrap;
  padding: 3px 8px;
  background: rgba(164, 117, 255, 0.08);
  border-left: 2px solid var(--accent-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 2px;
  margin: 0;
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--grid-line), transparent);
  align-self: center;
  min-width: 40px;
}

/* ---------- 12. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent-amber);
  color: var(--bg-deep);
  border: 1px solid var(--accent-amber);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans), color var(--trans);
}

.btn:hover {
  background: var(--text-light);
  border-color: var(--text-light);
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 184, 65, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

.btn-ghost:hover {
  background: rgba(164, 117, 255, 0.12);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  box-shadow: 0 0 20px rgba(164, 117, 255, 0.2);
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

/* ---------- 13. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grid-line);
}

.breadcrumb li + li::before {
  content: '→';
  color: var(--grid-line);
  margin-right: 8px;
}

.breadcrumb a {
  color: var(--accent-primary);
}

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

.breadcrumb li[aria-current="page"] {
  color: var(--accent-pink);
}

/* ---------- 14. 面板卡片 ---------- */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--grid-line);
  border-radius: 4px;
  padding: 24px;
  position: relative;
  transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans);
}

.panel:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 28px rgba(164, 117, 255, 0.1);
  transform: translateY(-2px);
}

.panel--indigo {
  background: var(--bg-indigo);
}

.panel--wine {
  background: var(--bg-wine);
}

.panel--teal {
  background: var(--bg-cyan);
}

/* ---------- 15. 图片容器 ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--grid-line);
  border-radius: 4px;
  transition: border-color var(--trans), box-shadow var(--trans);
}

.img-frame::before {
  content: 'IMG · FLOWER';
  position: absolute;
  top: 8px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent-primary);
  background: rgba(11, 9, 16, 0.5);
  padding: 2px 8px;
  border-radius: 2px;
  z-index: 1;
  transition: color var(--trans);
}

.img-frame:hover {
  border-color: var(--accent-pink);
  box-shadow: 0 0 24px rgba(255, 79, 216, 0.15);
}

.img-frame:hover::before {
  color: var(--accent-pink);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.img-frame:hover img {
  transform: scale(1.03);
}

.img-frame--landscape {
  aspect-ratio: 16 / 9;
}

.img-frame--portrait {
  aspect-ratio: 3 / 4;
}

.img-frame--square {
  aspect-ratio: 1 / 1;
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1024px) {
  :root {
    --header-h: 84px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: 640px;
  }

  .footer-contact-block {
    grid-column: 2;
    justify-self: start;
    width: 100%;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 13px;
  }

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

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

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--bg-panel);
    border-left: 1px solid var(--grid-line);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    padding: 110px 28px 48px;
    z-index: 999;
    box-shadow: none;
    margin-left: 0;
  }

  .site-nav[data-open="true"] {
    transform: translateX(0);
    box-shadow: -16px 0 50px rgba(0, 0, 0, 0.55);
  }

  .site-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-pink));
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-link {
    padding: 14px 18px;
    font-size: 16px;
    border: 1px solid transparent;
    border-left: 3px solid transparent;
    border-radius: 0;
  }

  .nav-link:hover {
    border-color: var(--accent-pink);
    border-left-color: var(--accent-pink);
    background: rgba(255, 79, 216, 0.06);
    transform: translateX(4px);
  }

  .nav-link[aria-current="page"] {
    border-left-color: var(--accent-pink);
  }

  .footer-content {
    grid-template-columns: 1fr;
    padding: 44px var(--gutter) 28px;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-nav-block {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-contact-block {
    grid-column: auto;
  }

  .back-to-top {
    right: 14px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 560px) {
  .header-main {
    padding: 10px 16px;
    gap: 10px;
  }

  .brand-mark {
    transform: scale(0.82);
    transform-origin: center left;
  }

  .brand-text {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .brand-batch {
    font-size: 9px;
    padding: 3px 8px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .nav-toggle-line {
    width: 18px;
  }

  .footer-nav-block {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-legal-inner,
  .footer-legal-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 11px;
  }

  .footer-legal-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-line {
    display: none;
  }
}

/* ---------- 17. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
