/* =========================================================
   君临国际 / 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, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol { padding: 0; }

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

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

a { color: inherit; }

html.jl-nav-open { overflow: hidden; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0A0A0B;
  --ink-2: #141416;
  --char: #232326;
  --gold: #C9A35C;
  --gold-lt: #E6C987;
  --pine: #617D6C;
  --pine-d: #3E5548;
  --sand: #D8C3A5;
  --warm: #F3EEE5;
  --mute: #9C968B;

  --rail-w: 104px;
  --status-h: 44px;
  --radius: 2px;
  --container: 1440px;
  --gutter: clamp(18px, 4vw, 56px);

  --line: rgba(243, 238, 229, 0.12);
  --line-gold: rgba(201, 163, 92, 0.26);

  --ease: cubic-bezier(0.22, 0.72, 0.24, 1);

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-num: "Barlow Condensed", "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--warm);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.06; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 26px); }

strong, b { font-weight: 700; }

::selection { background: rgba(201, 163, 92, 0.35); color: var(--warm); }

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 4. 容器与节奏 ---------- */
.jl-main {
  display: block;
  position: relative;
  z-index: 1;
}

.jl-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.jl-section { padding-block: clamp(30px, 4.6vw, 68px); }

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

.jl-rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--line-gold), rgba(201, 163, 92, 0));
}

/* ---------- 5. 文字组件 ---------- */
.jl-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin: 0;
}

.jl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.jl-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

.jl-lead {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.8;
  color: var(--sand);
  max-width: 48ch;
}

.jl-prose {
  max-width: 66ch;
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(243, 238, 229, 0.86);
}

.jl-prose p + p { margin-top: 1.05em; }

.jl-num {
  font-family: var(--font-num);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.jl-tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(201, 163, 92, 0.08);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--gold-lt);
  line-height: 1.6;
}

/* ---------- 6. 按钮 ---------- */
.jl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.72em 1.25em;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: transparent;
  color: var(--warm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.jl-btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #0A0A0B;
  font-weight: 700;
}

.jl-btn--gold:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  color: #0A0A0B;
}

.jl-btn--ghost:hover {
  border-color: var(--gold-lt);
  color: var(--gold-lt);
  background: rgba(201, 163, 92, 0.1);
}

.jl-btn--sm {
  padding: 0.46em 0.9em;
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

/* ---------- 7. 网格 / 卡片 / 媒体 ---------- */
.jl-grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

.jl-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jl-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jl-grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.jl-grid--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

.jl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--char);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.jl-card:hover {
  border-color: var(--line-gold);
  background: #26262a;
}

.jl-card--glass {
  background: rgba(20, 20, 22, 0.58);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: var(--line-gold);
}

.jl-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.3;
}

.jl-card__meta {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.jl-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(201, 163, 92, 0.18), transparent 60%),
    linear-gradient(150deg, #1c1c1f 0%, #101012 55%, #17181a 100%);
}

.jl-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0) 45%, rgba(10, 10, 11, 0.6) 100%);
  pointer-events: none;
}

.jl-media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.jl-media__tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--sand);
}

/* ---------- 8. 索引行 / 标签 / 步骤 / 折叠 / 横向带 ---------- */
.jl-index-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--warm);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.jl-index-row:hover {
  color: var(--gold-lt);
  border-bottom-color: var(--line-gold);
}

.jl-index-row__idx {
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--mute);
}

.jl-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45em 0.95em;
  border: 1px solid rgba(243, 238, 229, 0.16);
  border-radius: 999px;
  background: rgba(243, 238, 229, 0.04);
  color: var(--sand);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.jl-chip:hover { border-color: var(--line-gold); color: var(--warm); }

.jl-chip--active,
.jl-chip[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #0A0A0B;
  font-weight: 700;
}

.jl-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jl-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.jl-step__num {
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}

.jl-step__body {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(243, 238, 229, 0.86);
}

.jl-accordion { border-top: 1px solid var(--line); }

.jl-accordion > summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.5;
  color: var(--warm);
}

.jl-accordion > summary::-webkit-details-marker { display: none; }

.jl-accordion > summary::after {
  content: "+";
  font-family: var(--font-num);
  font-size: 18px;
  color: var(--gold);
  flex: 0 0 auto;
}

.jl-accordion[open] > summary::after { content: "–"; }

.jl-accordion__body {
  padding: 0 2px 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mute);
}

.jl-band {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  scrollbar-color: rgba(201, 163, 92, 0.4) transparent;
}

.jl-band > * {
  flex: 0 0 clamp(240px, 32vw, 360px);
  scroll-snap-align: start;
}

/* ---------- 9. 面包屑 ---------- */
.jl-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--mute);
}

.jl-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.jl-breadcrumb__item + .jl-breadcrumb__item::before {
  content: "/";
  color: rgba(156, 150, 139, 0.55);
}

.jl-breadcrumb a {
  color: var(--mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.jl-breadcrumb a:hover {
  color: var(--gold-lt);
  border-bottom-color: var(--line-gold);
}

.jl-breadcrumb [aria-current="page"] { color: var(--sand); }

/* ---------- 10. 显现动效 ---------- */
.jl-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

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

/* ---------- 11. 跳转链接 ---------- */
.jl-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 0.7em 1.15em;
  background: var(--gold);
  color: #0A0A0B;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

.jl-skip:focus { transform: none; }

/* =========================================================
   头部外壳：默认（移动 / 平板）
   ========================================================= */
.jl-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10, 10, 11, 0.97);
  border-bottom: 1px solid var(--line-gold);
}

.jl-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px 6px;
  width: 100%;
}

/* 品牌 */
.jl-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--warm);
}

.jl-brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  border-radius: 1px;
  background: rgba(201, 163, 92, 0.1);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.jl-brand:hover .jl-brand__mark {
  background: var(--gold);
  color: #0A0A0B;
}

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

.jl-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.jl-brand__tag {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--mute);
  white-space: nowrap;
}

/* 抽屉按钮 */
.jl-navtoggle {
  display: none;
  align-items: center;
  gap: 9px;
  position: relative;
  z-index: 2;
  padding: 9px 12px;
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  color: var(--gold-lt);
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  cursor: pointer;
}

.jl-navtoggle__box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 10px;
}

.jl-navtoggle__box span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.22s var(--ease);
}

.jl-navtoggle[aria-expanded="true"] .jl-navtoggle__box span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.jl-navtoggle[aria-expanded="true"] .jl-navtoggle__box span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* 导航（无 JS 时为展开列表） */
.jl-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 4px 18px 12px;
}

.jl-nav__list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jl-nav__item { width: 100%; }

.jl-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--warm);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.jl-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.22s var(--ease);
}

.jl-nav__link:hover { color: var(--gold-lt); padding-left: 8px; }

.jl-nav__link[aria-current="page"] { color: var(--gold-lt); }
.jl-nav__link[aria-current="page"]::before { transform: scaleY(1); }

.jl-nav__idx {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--mute);
}

.jl-nav__label { display: inline-block; }

.jl-rail__foot { display: none; }

/* 状态条（移动） */
.jl-statusbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 10px;
}

.jl-statusbar__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jl-statusbar__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pine);
  box-shadow: 0 0 0 3px rgba(97, 125, 108, 0.22);
}

.jl-statusbar__spacer { flex: 1 1 auto; }

/* 阅读进度 */
.jl-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 95;
  pointer-events: none;
}

.jl-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--pine), var(--gold) 55%, var(--gold-lt));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.1s linear;
}

/* 抽屉（仅 JS 增强、仅小屏） */
@media (max-width: 1023px) {
  .jl-js .jl-navtoggle { display: inline-flex; }

  .jl-js .jl-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    padding: 116px 22px 40px;
    background: var(--ink);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s linear;
  }

  .jl-js .jl-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .jl-js .jl-nav[data-open] .jl-nav__link { border-bottom-color: rgba(243, 238, 229, 0.14); }
}

/* =========================================================
   头部外壳：桌面侧边轨道
   ========================================================= */
@media (min-width: 1024px) {
  body {
    padding-left: var(--rail-w);
    padding-top: var(--status-h);
  }

  .jl-header {
    position: static;
    background: none;
    border: 0;
  }

  .jl-rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: var(--rail-w);
    padding: 20px 10px 16px;
    background: linear-gradient(180deg, #141416 0%, #0B0B0D 100%);
    border-right: 1px solid var(--line-gold);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  .jl-rail::-webkit-scrollbar { display: none; }

  .jl-brand {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    flex: 0 0 auto;
  }

  .jl-brand__mark {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .jl-brand__text {
    align-items: center;
    gap: 9px;
  }

  .jl-brand__name {
    font-size: 12.5px;
    letter-spacing: 0.14em;
  }

  .jl-brand__tag {
    writing-mode: vertical-rl;
    font-size: 9.5px;
    letter-spacing: 0.3em;
    line-height: 1.1;
  }

  .jl-navtoggle { display: none; }

  .jl-nav {
    width: 100%;
    padding: 0;
    flex: 0 0 auto;
  }

  .jl-nav__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 10px 6px 10px 14px;
    border-bottom: 0;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    line-height: 1.5;
    color: var(--mute);
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
  }

  .jl-nav__link::before {
    top: 50%;
    bottom: auto;
    height: 0;
    transform: translateY(-50%);
    transform-origin: 50% 50%;
    transition: height 0.22s var(--ease);
  }

  .jl-nav__link:hover {
    padding-left: 14px;
    color: var(--warm);
    background: rgba(243, 238, 229, 0.04);
  }

  .jl-nav__link:hover::before { height: 14px; transform: translateY(-50%); }

  .jl-nav__link[aria-current="page"] {
    color: var(--gold-lt);
    background: rgba(201, 163, 92, 0.06);
  }

  .jl-nav__link[aria-current="page"]::before {
    height: 26px;
    transform: translateY(-50%);
  }

  .jl-nav__link[aria-current="page"] .jl-nav__idx { color: var(--gold); }

  .jl-nav__idx {
    font-size: 10px;
    letter-spacing: 0.18em;
    opacity: 0.75;
    transition: color 0.2s var(--ease);
  }

  .jl-rail__foot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(243, 238, 229, 0.08);
  }

  .jl-rail__foottext {
    writing-mode: vertical-rl;
    font-size: 9.5px;
    letter-spacing: 0.26em;
    color: var(--mute);
  }

  .jl-statusbar {
    position: fixed;
    top: 0;
    left: var(--rail-w);
    right: 0;
    z-index: 70;
    height: var(--status-h);
    gap: 18px;
    padding: 0 clamp(18px, 2.6vw, 34px);
    background: rgba(10, 10, 11, 0.86);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
    border-bottom: 1px solid var(--line-gold);
  }

  .jl-statusbar__chip { font-size: 12.5px; overflow: visible; }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .jl-brand__tag { display: none; }
}

/* =========================================================
   页脚
   ========================================================= */
.jl-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 6vw, 88px);
  background: linear-gradient(180deg, #0A0A0B 0%, #101012 46%, #141416 100%);
  border-top: 1px solid var(--line-gold);
  color: var(--warm);
}

.jl-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 163, 92, 0), rgba(201, 163, 92, 0.72), rgba(201, 163, 92, 0));
}

.jl-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 68px) var(--gutter) clamp(22px, 3vw, 34px);
}

.jl-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(26px, 4vw, 60px);
  padding-bottom: clamp(26px, 3.6vw, 48px);
  border-bottom: 1px solid var(--line);
}

.jl-footer__wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0.04em;
}

.jl-footer__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(34px, 3.4vw, 44px);
  height: clamp(34px, 3.4vw, 44px);
  border: 1px solid var(--gold);
  background: rgba(201, 163, 92, 0.1);
  color: var(--gold);
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1;
}

.jl-footer__tagline {
  margin: 0 0 16px;
  font-size: 12.5px;
  letter-spacing: 0.26em;
  color: var(--gold);
}

.jl-footer__summary {
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mute);
}

.jl-footer__contact {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: rgba(201, 163, 92, 0.05);
}

.jl-footer__cline {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--sand);
  word-break: break-word;
}

.jl-footer__clabel {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.jl-footer__note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(243, 238, 229, 0.1);
  font-size: 12px;
  line-height: 1.7;
  color: var(--mute);
}

.jl-footer__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(26px, 3.6vw, 46px) 0;
  border-bottom: 1px solid var(--line);
}

.jl-footer__col { min-width: 148px; }

.jl-footer__coltitle {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.jl-footer__links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jl-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--warm);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.jl-footer__link::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.2s var(--ease);
}

.jl-footer__link:hover { color: var(--gold-lt); }
.jl-footer__link:hover::before { width: 14px; }

.jl-footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-top: clamp(16px, 2.4vw, 24px);
}

.jl-footer__legal {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--mute);
}

.jl-footer__watermark {
  position: absolute;
  right: -0.06em;
  bottom: -0.16em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(96px, 16vw, 240px);
  line-height: 0.8;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 163, 92, 0.14);
  pointer-events: none;
  user-select: none;
}

/* =========================================================
   响应式收束
   ========================================================= */
@media (max-width: 900px) {
  .jl-grid--2,
  .jl-grid--3,
  .jl-grid--5-7,
  .jl-grid--4-8 { grid-template-columns: minmax(0, 1fr); }

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

@media (max-width: 560px) {
  body { font-size: 16px; }

  .jl-rail { padding: 10px 14px 4px; }

  .jl-statusbar { padding: 0 14px 9px; }

  .jl-statusbar__chip { font-size: 10.5px; letter-spacing: 0.04em; }

  .jl-step { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }

  .jl-footer__grid { gap: 26px; }

  .jl-footer__col { min-width: 130px; }
}

/* =========================================================
   动效降级 & 打印
   ========================================================= */
@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;
  }

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

  .jl-progress__bar { transition: none; }

  .jl-js .jl-nav {
    transform: none;
    transition: opacity 0.001ms linear, visibility 0.001ms linear;
  }
}

@media print {
  .jl-header,
  .jl-skip,
  .jl-progress { display: none !important; }

  body {
    padding: 0;
    background: #fff;
    color: #000;
  }

  .jl-footer { border-top: 1px solid #999; background: #fff; color: #000; }
  .jl-footer__watermark { display: none; }
}
