/* ==========================================================================
   顺发游艺 · /assets/site.css
   共享外骨骼：reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ========================================================================== */

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

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

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

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

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

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

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

input, select, textarea { font: inherit; }

[hidden] { display: none !important; }

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

/* ── 2. 设计令牌 ──────────────────────────────────────────────────────── */
:root {
  /* 墨色系 */
  --ink: #12100F;
  --ink-2: #1E1A18;
  /* 朱红系 */
  --red: #C8342B;
  --red-hot: #E24532;
  --red-deep: #9A241D;
  /* 金系 */
  --gold: #D8A94A;
  --gold-light: #F0D28A;
  /* 纸色系 */
  --paper: #F7F1E6;
  --mist: #B8B0A4;
  /* 点缀 */
  --jade: #2F7D6B;
  --clay: #A8553F;

  /* 线 / 面 */
  --line: rgba(216, 169, 74, 0.22);
  --line-soft: rgba(216, 169, 74, 0.14);
  --line-paper: rgba(247, 241, 230, 0.12);
  --surface: rgba(30, 26, 24, 0.86);
  --surface-2: rgba(18, 16, 15, 0.92);

  /* 字体 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* 字号 */
  --fs-display-xl: clamp(64px, 9vw, 128px);
  --fs-display-l: clamp(44px, 6vw, 84px);
  --fs-h1: clamp(32px, 4vw, 52px);
  --fs-h2: clamp(24px, 2.4vw, 34px);
  --fs-body: clamp(16px, 1.05vw, 18px);
  --fs-index: 12px;
  --fs-mono-version: clamp(20px, 2vw, 28px);

  /* 空间 */
  --gutter: clamp(20px, 5vw, 72px);
  --shell-max: 1240px;
  --space-block: clamp(48px, 8vw, 120px);
  --space-card: clamp(18px, 2vw, 28px);
  --radius-card: 18px;
  --radius-pill: 999px;

  /* 动效 */
  --dur: 200ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── 3. 基础排版 ──────────────────────────────────────────────────────── */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 560px at 10% -12%, rgba(200, 52, 43, 0.16), transparent 62%),
    radial-gradient(900px 520px at 94% 4%, rgba(216, 169, 74, 0.10), transparent 64%),
    radial-gradient(700px 400px at 50% 108%, rgba(168, 85, 63, 0.10), transparent 70%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(226, 69, 50, 0.85);
  color: var(--paper);
}

#main-content { display: block; }
#main-content:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -4px; }

.sf-display {
  font-family: var(--font-display);
  font-size: var(--fs-display-xl);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.sf-h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.sf-h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
}

.sf-lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.75;
  color: var(--mist);
}

.sf-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-index);
  letter-spacing: 0.12em;
}

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

.sf-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.sf-prose {
  max-width: 68ch;
  font-size: var(--fs-body);
  line-height: 1.78;
  color: rgba(247, 241, 230, 0.9);
}

.sf-prose > * + * { margin-top: 1em; }
.sf-prose h2, .sf-prose h3 { margin-top: 1.9em; color: var(--paper); }
.sf-prose ul, .sf-prose ol { padding-left: 1.15em; list-style: revert; }
.sf-prose li + li { margin-top: 0.45em; }
.sf-prose strong { color: var(--gold-light); font-weight: 700; }

/* ── 4. 布局容器与网格 ───────────────────────────────────────────────── */
.sf-container {
  width: min(var(--shell-max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.sf-section { padding-block: clamp(32px, 5vw, 72px); }

.sf-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: clamp(18px, 2.4vw, 32px);
}

.sf-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.sf-grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.sf-grid--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.sf-grid--cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.sf-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(216, 169, 74, 0.55), rgba(216, 169, 74, 0.06) 70%, transparent);
}

/* ── 5. 按钮 ──────────────────────────────────────────────────────────── */
.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

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

.sf-btn--gold {
  color: var(--paper);
  background-image: linear-gradient(125deg, var(--red-hot), var(--red) 58%, var(--red-deep));
  border-color: rgba(216, 169, 74, 0.55);
  box-shadow: 0 12px 26px -16px rgba(226, 69, 50, 0.95), inset 0 1px 0 rgba(240, 210, 138, 0.28);
}

.sf-btn--gold:hover {
  border-color: var(--gold-light);
  box-shadow: 0 16px 32px -14px rgba(226, 69, 50, 0.85), inset 0 1px 0 rgba(240, 210, 138, 0.4);
}

.sf-btn--ghost {
  color: var(--paper);
  border-color: rgba(247, 241, 230, 0.24);
  background-color: rgba(247, 241, 230, 0.03);
}

.sf-btn--ghost:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background-color: rgba(216, 169, 74, 0.10);
}

.sf-btn--quiet {
  color: var(--gold-light);
  border-color: rgba(216, 169, 74, 0.4);
}

.sf-btn--quiet:hover {
  color: var(--ink);
  background-color: var(--gold-light);
  border-color: var(--gold-light);
}

/* ── 6. 标签 / 徽章 / 卡片 ─────────────────────────────────────────────── */
.sf-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(216, 169, 74, 0.35);
  border-radius: var(--radius-pill);
  background-color: rgba(216, 169, 74, 0.09);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.sf-tag--jade {
  color: #8FD3C1;
  border-color: rgba(47, 125, 107, 0.55);
  background-color: rgba(47, 125, 107, 0.18);
}

.sf-tag--clay {
  color: #E3A995;
  border-color: rgba(168, 85, 63, 0.55);
  background-color: rgba(168, 85, 63, 0.20);
}

.sf-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border: 1px solid rgba(216, 169, 74, 0.42);
  border-radius: 8px;
  background-color: rgba(18, 16, 15, 0.6);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.sf-badge__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 169, 74, 0.18);
}

.sf-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--space-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-image: linear-gradient(180deg, rgba(30, 26, 24, 0.94), rgba(18, 16, 15, 0.94));
  box-shadow: 0 18px 40px -34px rgba(0, 0, 0, 0.95);
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.sf-card:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 169, 74, 0.58);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.95);
}

.sf-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.sf-card__title {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--paper);
}

.sf-card__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

/* ── 7. 图片容器 ──────────────────────────────────────────────────────── */
.sf-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background-image:
    radial-gradient(120% 100% at 0% 0%, rgba(200, 52, 43, 0.24), transparent 58%),
    linear-gradient(140deg, #1E1A18, #12100F 62%, #241814);
}

.sf-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sf-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(180deg, transparent 44%, rgba(18, 16, 15, 0.62));
  opacity: 0.9;
}

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

.sf-media__caption {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  color: var(--mist);
  text-transform: uppercase;
}

.sf-media__label {
  position: absolute;
  z-index: 2;
  inset: auto auto 16px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(216, 169, 74, 0.35);
  border-radius: var(--radius-pill);
  background-color: rgba(18, 16, 15, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}

/* ── 8. 面包屑 ────────────────────────────────────────────────────────── */
.sf-breadcrumb { margin-block: clamp(18px, 2.6vw, 32px); }

.sf-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-index);
  letter-spacing: 0.1em;
  color: var(--mist);
}

.sf-breadcrumb__item { display: inline-flex; align-items: center; gap: 6px; }

.sf-breadcrumb__sep {
  color: rgba(216, 169, 74, 0.6);
  font-size: 11px;
}

.sf-breadcrumb__link {
  color: var(--mist);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.sf-breadcrumb__link:hover {
  color: var(--gold-light);
  border-bottom-color: rgba(216, 169, 74, 0.5);
}

.sf-breadcrumb__item[aria-current="page"] { color: var(--paper); }

/* ── 9. 分段切换（标签页） ────────────────────────────────────────────── */
.sf-tabs { width: 100%; }

.sf-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  background-color: rgba(30, 26, 24, 0.7);
}

.sf-tabs__tab {
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--mist);
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1.3;
  transition:
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.sf-tabs__tab:hover { color: var(--paper); background-color: rgba(247, 241, 230, 0.06); }

.sf-tabs__tab[aria-selected="true"] {
  color: var(--paper);
  background-image: linear-gradient(125deg, rgba(226, 69, 50, 0.92), rgba(200, 52, 43, 0.82));
  border-color: rgba(216, 169, 74, 0.5);
  box-shadow: 0 10px 22px -18px rgba(226, 69, 50, 0.95);
}

.sf-tabs__panel { padding-top: clamp(16px, 2vw, 28px); }

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

.sf-tabs__panel:not([hidden]) { animation: sfPanelIn var(--dur) var(--ease) both; }

/* ── 10. 跳过链接 / 进度线 / 显现 ─────────────────────────────────────── */
.sf-skip {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -180%);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background-color: var(--gold-light);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.9);
  transition: transform 180ms var(--ease);
}

.sf-skip:focus-visible { transform: translate(-50%, 0); }

.sf-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  background-color: rgba(247, 241, 230, 0.07);
}

.sf-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-image: linear-gradient(90deg, var(--red-hot), var(--gold) 62%, var(--gold-light));
}

html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}

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

/* ── 11. 悬浮胶囊页头 ────────────────────────────────────────────────── */
.sf-header {
  position: sticky;
  z-index: 90;
  top: 0;
  padding: clamp(10px, 1.2vw, 18px) 0;
  pointer-events: none;
}

.sf-header__shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  width: min(var(--shell-max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(216, 169, 74, 0.26);
  border-radius: var(--radius-pill);
  background-color: rgba(18, 16, 15, 0.84);
  background-image: linear-gradient(120deg, rgba(200, 52, 43, 0.16), transparent 46%, rgba(216, 169, 74, 0.10));
  box-shadow:
    0 16px 38px -26px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(247, 241, 230, 0.07);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  pointer-events: auto;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.sf-header[data-scrolled="true"] .sf-header__shell {
  border-color: rgba(216, 169, 74, 0.52);
  background-color: rgba(18, 16, 15, 0.94);
  box-shadow:
    0 22px 46px -24px rgba(0, 0, 0, 0.98),
    0 0 0 1px rgba(216, 169, 74, 0.08),
    inset 0 1px 0 rgba(240, 210, 138, 0.14);
}

/* 品牌 */
.sf-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sf-seal {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(216, 169, 74, 0.6);
  border-radius: 10px;
  background-image: linear-gradient(140deg, var(--red-hot), var(--red) 55%, var(--red-deep));
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px -12px rgba(226, 69, 50, 0.95), inset 0 1px 0 rgba(240, 210, 138, 0.4);
  transform: rotate(-3deg);
}

.sf-brand__seal { width: 36px; height: 36px; font-size: 19px; }

.sf-brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sf-brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.sf-brand__meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* 导航 */
.sf-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.sf-nav__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
}

.sf-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--mist);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.sf-nav__index {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(216, 169, 74, 0.72);
  transition: color var(--dur) var(--ease);
}

.sf-nav__link:hover {
  color: var(--paper);
  background-color: rgba(247, 241, 230, 0.07);
}

.sf-nav__link:hover .sf-nav__index { color: var(--gold-light); }

.sf-nav__link[aria-current="page"] {
  color: var(--paper);
  border-color: rgba(216, 169, 74, 0.45);
  background-image: linear-gradient(180deg, rgba(226, 69, 50, 0.34), rgba(200, 52, 43, 0.12));
  box-shadow: inset 0 1px 0 rgba(240, 210, 138, 0.22);
}

.sf-nav__link[aria-current="page"] .sf-nav__index { color: var(--gold-light); }

.sf-nav__cta { display: none; }

/* 头部右侧 */
.sf-header__aside {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sf-header__cta { padding: 10px 18px; font-size: 13.5px; }

/* 移动导航按钮 */
.sf-navtoggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(216, 169, 74, 0.32);
  border-radius: 50%;
  background-color: rgba(247, 241, 230, 0.04);
  color: var(--paper);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.sf-navtoggle:hover {
  border-color: var(--gold);
  background-color: rgba(216, 169, 74, 0.14);
}

.sf-navtoggle__bars { display: block; width: 18px; }

.sf-navtoggle__bar {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background-color: currentColor;
  transition: transform 220ms var(--ease), opacity 160ms var(--ease);
}

.sf-navtoggle__bar + .sf-navtoggle__bar { margin-top: 5px; }

.sf-header[data-open="true"] .sf-navtoggle { border-color: var(--gold); background-color: rgba(216, 169, 74, 0.16); }
.sf-header[data-open="true"] .sf-navtoggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.sf-header[data-open="true"] .sf-navtoggle__bar:nth-child(2) { opacity: 0; }
.sf-header[data-open="true"] .sf-navtoggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── 12. 页脚 ────────────────────────────────────────────────────────── */
.sf-footer {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-block);
  border-top: 1px solid rgba(216, 169, 74, 0.24);
  background-image: linear-gradient(180deg, #1E1A18, #12100F 58%);
  color: var(--paper);
}

.sf-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(115deg, rgba(216, 169, 74, 0.055) 0 1px, transparent 1px 26px),
    radial-gradient(620px 320px at 88% -6%, rgba(200, 52, 43, 0.20), transparent 70%),
    radial-gradient(520px 300px at 4% 104%, rgba(47, 125, 107, 0.12), transparent 72%);
}

.sf-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  width: min(var(--shell-max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-block: clamp(38px, 6vw, 76px) clamp(26px, 3.4vw, 44px);
}

.sf-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.sf-footer__seal { width: 44px; height: 44px; font-size: 22px; }

.sf-footer__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.sf-footer__desc {
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.sf-footer__col { display: flex; flex-direction: column; gap: 14px; }

.sf-footer__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.sf-footer__links { display: flex; flex-direction: column; gap: 9px; }

.sf-footer__link {
  display: inline-block;
  width: fit-content;
  color: rgba(247, 241, 230, 0.86);
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.sf-footer__link:hover {
  color: var(--gold-light);
  border-bottom-color: rgba(216, 169, 74, 0.6);
}

.sf-footer__contact { min-width: 0; }

.sf-contact { display: flex; flex-direction: column; gap: 12px; }

.sf-contact__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sf-contact__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(184, 176, 164, 0.9);
}

.sf-contact__value {
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.sf-footer__base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 28px;
  width: min(var(--shell-max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-block: 18px 26px;
  border-top: 1px solid var(--line-paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  line-height: 1.7;
  color: var(--mist);
}

.sf-footer__legal { margin: 0; max-width: 46ch; }

/* ── 13. 响应式 ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .sf-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 14px;
    border: 1px solid rgba(216, 169, 74, 0.26);
    border-radius: 22px;
    background-color: rgba(18, 16, 15, 0.97);
    background-image: linear-gradient(160deg, rgba(200, 52, 43, 0.14), transparent 58%);
    box-shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity var(--dur) var(--ease),
      transform var(--dur) var(--ease),
      visibility var(--dur) var(--ease);
  }

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

  .sf-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }

  .sf-nav__link {
    justify-content: flex-start;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .sf-nav__cta { display: block; margin-top: 10px; }
  .sf-nav__cta .sf-btn { width: 100%; }

  .sf-header__cta { display: none; }
  .sf-navtoggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .sf-grid--5-7,
  .sf-grid--4-8 { grid-template-columns: minmax(0, 1fr); }

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

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

  .sf-footer__brand { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
  .sf-footer__desc { max-width: none; }
}

@media (max-width: 600px) {
  .sf-brand__meta { display: none; }
  .sf-header__shell { padding: 7px 8px 7px 12px; gap: 8px; }
  .sf-seal { width: 34px; height: 34px; font-size: 17px; }
  .sf-brand__name { font-size: 15.5px; letter-spacing: 0.04em; }
  .sf-brand { gap: 9px; }

  .sf-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sf-footer__base { flex-direction: column; align-items: flex-start; gap: 6px; }

  .sf-tabs__list { border-radius: 18px; }
  .sf-tabs__tab { flex: 1 1 auto; text-align: center; padding: 10px 12px; font-size: 13.5px; }

  .sf-media--wide { aspect-ratio: 16 / 9; }
}

/* ── 14. 降低动效偏好 ────────────────────────────────────────────────── */
@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;
  }

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

  .sf-btn:hover,
  .sf-card:hover { transform: none; }

  .sf-skip { transition: none; }
}
