/* ==========================================================================
   凤凰体育站 · 共享站点样式 /assets/site.css
   坐标浮岛页头 + 地貌切片页脚 + 编辑部栅格基础件
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --fh-orange: #E4572E;
  --fh-orange-hot: #F27C38;
  --fh-blue: #102A43;
  --fh-blue-2: #1F4B6E;
  --fh-sand: #D8B48C;
  --fh-sand-light: #F3D9B1;
  --fh-ivory: #FFF8EF;
  --fh-graphite: #2B2F36;
  --fh-teal: #4FD1C5;

  --fh-ink: var(--fh-graphite);
  --fh-ink-soft: #5C6470;
  --fh-on-dark: rgba(255, 248, 239, 0.86);
  --fh-on-dark-soft: rgba(255, 248, 239, 0.6);

  --fh-line: rgba(16, 42, 67, 0.14);
  --fh-line-soft: rgba(16, 42, 67, 0.08);
  --fh-line-dark: rgba(255, 248, 239, 0.18);
  --fh-glass: rgba(255, 255, 255, 0.18);

  --fh-font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --fh-font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --fh-font-mono: "IBM Plex Mono", "Roboto Mono", "SFMono-Regular", Consolas, monospace;

  --fh-radius-s: 10px;
  --fh-radius: 16px;
  --fh-radius-l: 26px;
  --fh-gap: clamp(16px, 2.4vw, 28px);

  --fh-shell: min(1240px, calc(100% - 40px));
  --fh-shell-narrow: min(740px, calc(100% - 40px));

  --fh-shadow: 0 22px 52px -28px rgba(16, 42, 67, 0.5);
  --fh-shadow-soft: 0 12px 30px -20px rgba(16, 42, 67, 0.42);
  --fh-header-pad: 14px;
}

/* ---------- 2. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--fh-ivory);
  color: var(--fh-ink);
  font-family: var(--fh-font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[id] { scroll-margin-top: 112px; }

::selection {
  background: var(--fh-orange);
  color: var(--fh-ivory);
}

/* ---------- 3. 中文排版 ---------- */
h1, h2, h3, h4 {
  font-family: var(--fh-font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--fh-blue);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.55rem); }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1em; }

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

.muted { color: var(--fh-ink-soft); }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.8;
  color: var(--fh-ink-soft);
  max-width: 62ch;
}

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

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.coord-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--fh-line);
  background: rgba(216, 180, 140, 0.22);
  font-family: var(--fh-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--fh-blue-2);
}

.coord-tag::before {
  content: "+";
  color: var(--fh-orange);
  font-size: 13px;
  line-height: 1;
}

/* ---------- 4. 版心与栅格 ---------- */
.container { width: var(--fh-shell); margin-inline: auto; }
.container--narrow { width: var(--fh-shell-narrow); margin-inline: auto; }

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

.span-3 { grid-column: span 3; }
.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-9 { grid-column: span 9; }
.span-10 { grid-column: span 10; }
.span-12 { grid-column: span 12; }

.section {
  position: relative;
  padding-block: clamp(44px, 6.5vw, 92px);
}

.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: clamp(22px, 3vw, 38px);
}

.band--dark {
  background: linear-gradient(160deg, var(--fh-blue), #0C2135 62%, var(--fh-blue-2));
  color: var(--fh-on-dark);
}

.band--dark h1,
.band--dark h2,
.band--dark h3 { color: var(--fh-ivory); }

.rule {
  height: 1px;
  border: 0;
  margin: clamp(26px, 4vw, 48px) 0;
  background: linear-gradient(90deg, var(--fh-sand), var(--fh-line) 42%, transparent);
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.72em 1.4em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--fh-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.btn--primary {
  background: var(--fh-orange);
  color: var(--fh-ivory);
  box-shadow: 0 12px 26px -16px rgba(228, 87, 46, 0.95);
}

.btn--primary:hover { background: var(--fh-orange-hot); }

.btn--ghost {
  background: transparent;
  color: var(--fh-blue);
  border-color: rgba(16, 42, 67, 0.26);
}

.btn--ghost:hover { border-color: var(--fh-orange); color: var(--fh-orange); }

.btn--sand {
  background: var(--fh-sand-light);
  color: var(--fh-blue);
}

.btn--on-dark {
  background: transparent;
  color: var(--fh-ivory);
  border-color: rgba(255, 248, 239, 0.4);
}

.btn--on-dark:hover { background: rgba(255, 248, 239, 0.12); border-color: var(--fh-sand); }

/* ---------- 6. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 clamp(16px, 2vw, 26px);
  padding: 0;
  list-style: none;
  font-family: var(--fh-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--fh-ink-soft);
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 0.5em; }

.breadcrumb li + li::before {
  content: "/";
  color: rgba(16, 42, 67, 0.32);
}

.breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.breadcrumb a:hover { color: var(--fh-orange); border-bottom-color: currentColor; }
.breadcrumb [aria-current="page"] { color: var(--fh-blue); font-weight: 600; }

/* ---------- 7. 正文容器 ---------- */
.prose {
  max-width: 70ch;
  color: var(--fh-ink);
}

.prose h2 { margin-top: 1.9em; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.prose h3 { margin-top: 1.6em; }
.prose ul,
.prose ol { margin: 0 0 1.1em; padding-left: 1.35em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--fh-orange); }
.prose a { color: var(--fh-orange); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 3px solid var(--fh-orange);
  background: rgba(243, 217, 177, 0.4);
  border-radius: 0 var(--fh-radius-s) var(--fh-radius-s) 0;
  color: var(--fh-blue);
}
.prose code {
  font-family: var(--fh-font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(16, 42, 67, 0.07);
}

/* ---------- 8. 卡片 / 玻璃 / 注释 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  background: #FFFFFF;
  box-shadow: var(--fh-shadow-soft);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--fh-orange), var(--fh-teal));
}

.glass {
  background: var(--fh-glass);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--fh-radius-l);
}

.note {
  padding-left: 16px;
  border-left: 2px solid var(--fh-sand);
  font-size: 14px;
  line-height: 1.7;
  color: var(--fh-ink-soft);
}

.note strong { color: var(--fh-blue); }

/* ---------- 9. 图片容器基础规则 ---------- */
.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--fh-radius);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(31, 75, 110, 0.9), transparent 60%),
    linear-gradient(150deg, var(--fh-blue-2), var(--fh-blue));
  isolation: isolate;
}

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

.img-frame--16x9 { aspect-ratio: 16 / 9; }
.img-frame--4x3 { aspect-ratio: 4 / 3; }
.img-frame--1x1 { aspect-ratio: 1 / 1; }

.img-frame--duotone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(148deg, rgba(228, 87, 46, 0.4), rgba(16, 42, 67, 0.46));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.img-frame--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(216, 180, 140, 0.18) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(25deg, rgba(79, 209, 197, 0.12) 0 1px, transparent 1px 34px);
  opacity: 0.9;
}

.img-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 18px;
  font-family: var(--fh-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--fh-ivory);
  background: linear-gradient(180deg, transparent, rgba(16, 42, 67, 0.82));
}

/* ---------- 10. 跳过链接 ---------- */
.fh-skip {
  position: fixed;
  left: 18px;
  top: -96px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 0 0 14px 14px;
  background: var(--fh-blue);
  color: var(--fh-ivory);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--fh-shadow);
  transition: top 0.24s ease;
}

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

/* ---------- 11. 页头：坐标浮岛 ---------- */
.fh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--fh-header-pad) 0 6px;
  background: transparent;
  transition: padding 0.3s ease;
}

.fh-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  width: var(--fh-shell);
  margin-inline: auto;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--fh-line-soft);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 16px 38px -28px rgba(16, 42, 67, 0.7);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.fh-header[data-stuck] { padding-top: 8px; }

.fh-header[data-stuck] .fh-header__inner {
  padding-block: 7px;
  background: rgba(255, 248, 239, 0.95);
  box-shadow: 0 20px 44px -28px rgba(16, 42, 67, 0.62);
}

/* 品牌标记：坐标十字 + 斜切凤羽 */
.fh-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--fh-blue);
}

.fh-brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--fh-orange), var(--fh-orange-hot));
  box-shadow: 0 10px 22px -14px rgba(228, 87, 46, 0.95);
  overflow: hidden;
}

.fh-brand__mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 46%, rgba(16, 42, 67, 0.92) 46%, rgba(16, 42, 67, 0.92) 55%, transparent 55%);
}

.fh-brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  background-image:
    linear-gradient(var(--fh-ivory), var(--fh-ivory)),
    linear-gradient(var(--fh-ivory), var(--fh-ivory));
  background-size: 1.5px 100%, 100% 1.5px;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.fh-brand__mark--lg { width: 44px; height: 44px; border-radius: 14px; }
.fh-brand__mark--lg::after { width: 20px; height: 20px; }

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

.fh-brand__name {
  font-family: var(--fh-font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--fh-blue);
}

.fh-brand__tag {
  font-family: var(--fh-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--fh-ink-soft);
}

/* 导航 */
.fh-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 20px);
  margin-inline-start: auto;
}

.fh-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.9vw, 8px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fh-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fh-blue);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.fh-nav__link:hover { color: var(--fh-orange); background: rgba(228, 87, 46, 0.1); }

.fh-nav__link[aria-current="page"] {
  color: var(--fh-orange);
  background: rgba(228, 87, 46, 0.12);
  font-weight: 700;
}

.fh-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--fh-orange), var(--fh-teal));
}

.fh-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--fh-orange);
  color: var(--fh-ivory);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.fh-cta::after {
  content: "\2192";
  font-family: var(--fh-font-mono);
  transition: transform 0.25s ease;
}

.fh-cta:hover { background: var(--fh-blue); transform: translateY(-1px); }
.fh-cta:hover::after { transform: translateX(3px); }

/* 移动按钮 */
.fh-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  padding: 0;
  border: 1px solid rgba(16, 42, 67, 0.16);
  border-radius: 50%;
  background: rgba(16, 42, 67, 0.05);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.fh-nav-toggle:hover { background: rgba(228, 87, 46, 0.12); border-color: rgba(228, 87, 46, 0.4); }

.fh-nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--fh-blue);
  transition: background-color 0.2s ease;
}

.fh-nav-toggle__bars::before,
.fh-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: inherit;
  transition: transform 0.28s ease, top 0.28s ease;
}

.fh-nav-toggle__bars::before { top: -6px; }
.fh-nav-toggle__bars::after { top: 6px; }

.fh-header[data-open] .fh-nav-toggle__bars { background: transparent; }
.fh-header[data-open] .fh-nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.fh-header[data-open] .fh-nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* 滚动进度 */
.fh-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 130;
  height: 3px;
  background: rgba(16, 42, 67, 0.08);
  pointer-events: none;
}

.fh-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--fh-orange), var(--fh-orange-hot) 58%, var(--fh-teal));
  transition: transform 0.1s linear;
}

/* ---------- 12. 页脚：地貌切片 ---------- */
.fh-footer {
  position: relative;
  margin-top: clamp(46px, 7vw, 96px);
  isolation: isolate;
  overflow: hidden;
  color: var(--fh-on-dark);
  background:
    radial-gradient(120% 82% at 10% 0%, rgba(31, 75, 110, 0.85), transparent 62%),
    linear-gradient(168deg, #102A43 0%, #0C2135 56%, #102A43 100%);
}

.fh-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: repeating-linear-gradient(115deg, rgba(216, 180, 140, 0.1) 0 1px, transparent 1px 26px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
}

.fh-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 2;
  background: linear-gradient(90deg, var(--fh-orange), var(--fh-orange-hot) 40%, var(--fh-sand) 72%, var(--fh-teal));
}

.fh-footer__grid {
  position: absolute;
  right: -10%;
  bottom: -34%;
  z-index: 0;
  width: min(560px, 66vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.7;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(216, 180, 140, 0.18) 0 1px, transparent 1px 24px);
}

.fh-footer__inner {
  position: relative;
  z-index: 1;
  width: var(--fh-shell);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 74px) 0 clamp(22px, 3vw, 32px);
}

.fh-footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) 1.6fr;
  gap: clamp(28px, 4.4vw, 62px);
  align-items: start;
}

.fh-footer__brand { max-width: 46ch; }

.fh-brand--footer {
  gap: 14px;
  margin-bottom: 16px;
  color: var(--fh-ivory);
}

.fh-brand--footer .fh-brand__name {
  font-size: clamp(21px, 2.2vw, 27px);
  color: var(--fh-ivory);
}

.fh-footer__desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--fh-on-dark-soft);
}

.fh-footer__contact {
  display: grid;
  gap: 9px;
  margin: 0;
  font-style: normal;
}

.fh-footer__contact-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--fh-on-dark);
}

.fh-footer__contact-label {
  flex: 0 0 68px;
  font-family: var(--fh-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fh-sand);
}

.fh-footer__value { word-break: break-word; }

.fh-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 36px);
}

.fh-footer__col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-family: var(--fh-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--fh-sand-light);
}

.fh-footer__col-title::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--fh-orange);
}

.fh-footer__list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fh-footer__link {
  display: inline-block;
  font-size: 15px;
  color: var(--fh-on-dark);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.fh-footer__link:hover,
.fh-footer__link:focus-visible { color: var(--fh-sand-light); transform: translateX(3px); }

.fh-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: 18px;
  border-top: 1px solid var(--fh-line-dark);
  font-family: var(--fh-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fh-on-dark-soft);
}

.fh-footer__legal,
.fh-footer__meta { margin: 0; }

/* ---------- 13. 返回顶部（JS 注入） ---------- */
.fh-top {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 110;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 248, 239, 0.34);
  border-radius: 14px;
  background: var(--fh-blue);
  color: var(--fh-ivory);
  cursor: pointer;
  box-shadow: 0 18px 36px -22px rgba(16, 42, 67, 0.95);
  opacity: 0;
  transform: translateY(14px) rotate(-6deg);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, background-color 0.24s ease;
}

.fh-top[data-visible] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.fh-top:hover { background: var(--fh-orange); }

.fh-top::before {
  content: "";
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg) translate(2px, 2px);
}

/* ---------- 14. 入场动效协议 ---------- */
.reveal { transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 0.7, 0.3, 1); }
.fh-js .reveal { opacity: 0; transform: translate3d(-18px, 16px, 0); }
.fh-js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- 15. 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--fh-teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.fh-footer :focus-visible { outline-color: var(--fh-sand-light); }
.fh-skip:focus-visible { outline-offset: 4px; }

.visually-hidden {
  position: absolute !important;
  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;
}

/* ---------- 16. 平板 ---------- */
@media (max-width: 1080px) {
  .fh-nav__link { font-size: 14px; padding: 8px 9px; }
  .fh-brand__tag { display: none; }
  .fh-footer__top { grid-template-columns: 1fr; }
  .fh-footer__brand { max-width: 62ch; }
}

/* ---------- 17. 移动 ---------- */
@media (max-width: 940px) {
  .fh-header__inner {
    padding: 9px 10px 9px 14px;
    gap: 8px;
  }

  .fh-nav-toggle { display: inline-flex; }

  .fh-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 90;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(16, 42, 67, 0.12);
    border-radius: 22px;
    background: rgba(255, 248, 239, 0.98);
    box-shadow: 0 26px 52px -28px rgba(16, 42, 67, 0.7);
  }

  .fh-header[data-open] .fh-nav {
    display: flex;
    animation: fh-drop 0.26s ease-out both;
  }

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

  .fh-nav__link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 16px;
  }

  .fh-nav__link[aria-current="page"] { background: rgba(228, 87, 46, 0.13); }
  .fh-nav__link[aria-current="page"]::after { display: none; }

  .fh-cta {
    justify-content: center;
    padding: 13px 18px;
    font-size: 15px;
  }

  .span-3, .span-4, .span-5, .span-6 { grid-column: span 6; }
  .span-7, .span-8, .span-9, .span-10 { grid-column: span 12; }

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

  /* 无脚本兜底：导航直接展开为列表 */
  html:not(.fh-js) .fh-header__inner { flex-wrap: wrap; border-radius: 24px; }
  html:not(.fh-js) .fh-nav-toggle { display: none; }
  html:not(.fh-js) .fh-nav {
    position: static;
    display: flex;
    width: 100%;
    padding: 0 0 6px;
    border: 0;
    background: transparent;
    box-shadow: none;
    animation: none;
  }
  html:not(.fh-js) .fh-nav__list { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  :root {
    --fh-shell: calc(100% - 28px);
    --fh-shell-narrow: calc(100% - 28px);
  }

  body { font-size: 16.5px; }
  .grid-12 > * { grid-column: span 12; }
  .fh-footer__cols { grid-template-columns: 1fr; gap: 22px; }
  .fh-footer__bottom { flex-direction: column; align-items: flex-start; }
  .fh-footer__contact-row { flex-direction: column; gap: 2px; }
  .fh-footer__contact-label { flex: none; }
  .fh-brand__name { font-size: 17px; }
}

@media (max-width: 380px) {
  .fh-brand__text { display: none; }
}

/* ---------- 18. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fh-js .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .fh-header[data-open] .fh-nav { animation: none; }
  .fh-progress__bar { transition: none; }
}
