/* =========================================================
   /assets/site.css — 新世纪服务 共享外壳
   深海蓝 + 暖沙 + 珊瑚橙；连续画布；极细边界
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

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

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

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

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

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

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --deep: #08232F;
  --navy: #0E3547;
  --mist: #D9E8EE;
  --sand: #F6EBDD;
  --coral: #FF6B4A;
  --coral-soft: #FFB09C;
  --mint: #66D9C0;
  --gold: #D6A84F;
  --ink: #132A35;
  --slate: #4C6572;
  --paper: #FFFDF8;

  --font-display: "Archivo Black", "Arial Black", "Helvetica Neue", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Source Serif 4", "Noto Serif SC", Georgia, "Songti SC", "SimSun", serif;
  --font-body: Inter, "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "Noto Sans Mono SC", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1220px;
  --gutter: clamp(18px, 4vw, 44px);
  --header-h: 78px;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;

  --hair: rgba(19, 42, 53, 0.14);
  --shadow-1: 0 1px 2px rgba(8, 35, 47, 0.06), 0 10px 26px -18px rgba(8, 35, 47, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. Base typography ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: 0;
}

h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.5;
}

p { text-wrap: pretty; }

strong { font-weight: 700; }

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

::selection {
  background: var(--coral);
  color: var(--deep);
}

/* ---------- 4. Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(48px, 7vw, 96px);
  background: var(--sand);
}

.section--sand { background: var(--sand); }
.section--mist { background: var(--mist); }
.section--paper { background: var(--paper); }

.section--deep {
  background: var(--deep);
  color: var(--paper);
  --ink: #EFF6F8;
  --slate: #A9C3CD;
  --hair: rgba(255, 253, 248, 0.18);
}

.divider {
  height: 1px;
  border: 0;
  background: var(--hair);
}

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 34px);
}

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

.stack > * + * { margin-top: 1rem; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 46px;
  padding: 0.55rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}

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

.btn-coral {
  background: var(--coral);
  color: #08232F;
  box-shadow: 0 8px 20px -12px rgba(255, 107, 74, 0.95);
}
.btn-coral:hover { background: #FF8367; }

.btn-dark {
  background: var(--deep);
  color: var(--paper);
}
.btn-dark:hover { background: var(--navy); }

.btn-ghost {
  border-color: rgba(19, 42, 53, 0.28);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(19, 42, 53, 0.06);
}

.btn-ghost-light {
  border-color: rgba(255, 253, 248, 0.34);
  color: var(--paper);
  background: transparent;
}
.btn-ghost-light:hover {
  border-color: var(--paper);
  background: rgba(255, 253, 248, 0.1);
}

.btn-sm {
  min-height: 44px;
  padding: 0.4rem 1.05rem;
  font-size: 0.85rem;
}

/* ---------- 6. Tags & eyebrow ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  padding: 0.5em 0.82em;
  border: 1px solid rgba(19, 42, 53, 0.2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--navy);
  background: transparent;
}

.tag--coral {
  background: var(--coral);
  border-color: transparent;
  color: #08232F;
}

.tag--mint {
  background: rgba(102, 217, 192, 0.24);
  border-color: rgba(102, 217, 192, 0.65);
  color: #0A4A3F;
}

.tag--sand {
  background: var(--sand);
  border-color: rgba(214, 168, 79, 0.6);
  color: #6B4E14;
}

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

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--coral);
  flex: none;
}

/* ---------- 7. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5em;
  color: rgba(76, 101, 114, 0.5);
}

.breadcrumb a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(76, 101, 114, 0.45);
  transition: color 0.16s var(--ease), text-decoration-color 0.16s var(--ease);
}

.breadcrumb a:hover {
  color: var(--coral);
  text-decoration-color: var(--coral);
}

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

.section--deep .breadcrumb { color: rgba(255, 253, 248, 0.62); }
.section--deep .breadcrumb [aria-current="page"] { color: var(--paper); }
.section--deep .breadcrumb a { text-decoration-color: rgba(255, 253, 248, 0.4); }

/* ---------- 8. Prose ---------- */
.prose {
  max-width: min(68ch, 100%);
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--ink);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.015em;
}

.prose h3 {
  margin-top: 1.8em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.6;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: 0.45em; }

.prose blockquote {
  margin-inline: 0;
  padding: 0.2em 0 0.2em 1.1em;
  border-left: 3px solid var(--coral);
  font-family: var(--font-serif);
  font-size: 1.08em;
  color: var(--navy);
}

.prose a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 107, 74, 0.65);
}

.prose a:hover { color: var(--coral); }

.section--deep .prose a { color: var(--coral-soft); }

/* ---------- 9. Media frame ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--mist);
  box-shadow: var(--shadow-1);
  isolation: isolate;
}

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

.media-frame[data-ratio="21x9"] { aspect-ratio: 21 / 9; }
.media-frame[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.media-frame[data-ratio="4x3"]  { aspect-ratio: 4 / 3; }
.media-frame[data-ratio="1x1"]  { aspect-ratio: 1 / 1; }
.media-frame[data-ratio="3x4"]  { aspect-ratio: 3 / 4; }

.media-frame[data-tint="mint"]  { background: linear-gradient(135deg, #66D9C0 0%, #D9E8EE 100%); }
.media-frame[data-tint="coral"] { background: linear-gradient(135deg, #FFB09C 0%, #F6EBDD 100%); }
.media-frame[data-tint="deep"]  { background: linear-gradient(135deg, #0E3547 0%, #08232F 100%); }
.media-frame[data-tint="gold"]  { background: linear-gradient(135deg, #D6A84F 0%, #F6EBDD 100%); }

/* ---------- 10. Skip link ---------- */
.skip-link {
  position: absolute;
  top: -120px;
  left: var(--gutter);
  z-index: 300;
  padding: 0.72rem 1.15rem;
  border-radius: 0 0 12px 12px;
  background: var(--paper);
  color: var(--deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7);
  transition: top 0.18s var(--ease);
}

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

/* ---------- 11. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  color: var(--paper);
  background: transparent;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(8, 35, 47, 0.95) 0%,
    rgba(8, 35, 47, 0.78) 58%,
    rgba(8, 35, 47, 0) 100%
  );
  transition: opacity 0.2s var(--ease);
}

.site-header[data-scrolled="true"] {
  background: var(--deep);
  box-shadow: 0 12px 32px -22px rgba(0, 0, 0, 0.95);
}

.site-header[data-scrolled="true"]::before { opacity: 0; }

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 28px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  min-height: 44px;
}

.brand-glyph {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background:
    radial-gradient(circle at 30% 24%, var(--coral-soft) 0%, rgba(255, 176, 156, 0) 58%),
    linear-gradient(140deg, var(--coral) 0%, var(--gold) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
  transition: transform 0.24s var(--ease);
}

.brand-glyph::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1.5px solid rgba(8, 35, 47, 0.72);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-45deg);
}

.brand:hover .brand-glyph { transform: rotate(28deg); }

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.brand-sub {
  margin-top: 0.28em;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.19em;
  color: rgba(255, 253, 248, 0.6);
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 253, 248, 0.82);
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}

.nav-link:hover {
  color: var(--paper);
  background: rgba(255, 253, 248, 0.09);
}

.nav-link[aria-current="page"] {
  color: var(--paper);
  background: rgba(255, 107, 74, 0.18);
  box-shadow: inset 0 -2px 0 0 var(--coral);
}

.nav-utility { display: none; }

/* header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: none;
}

.header-utility {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255, 253, 248, 0.72);
  padding-block: 0.75rem;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.header-utility:hover {
  color: var(--coral-soft);
  border-bottom-color: var(--coral-soft);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.07);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 253, 248, 0.15);
  border-color: rgba(255, 253, 248, 0.52);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.site-nav[data-open="true"] ~ .header-actions .nav-toggle-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-nav[data-open="true"] ~ .header-actions .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.site-nav[data-open="true"] ~ .header-actions .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* reading progress */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.12);
}

.header-progress > span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--coral) 0%, var(--gold) 46%, var(--mint) 100%);
  transition: transform 0.12s linear;
}

/* ---------- 12. Header responsive ---------- */
@media (max-width: 1100px) {
  .nav-link {
    font-size: 0.86rem;
    padding: 0.5rem 0.6rem;
  }
  .header-utility { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }

  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    width: 100%;
    margin: 0;
  }

  .site-nav[data-open] {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: -1;
    max-height: 100dvh;
    overflow-y: auto;
    padding: 5.4rem var(--gutter) 2.2rem;
    background: linear-gradient(180deg, #0A2C3B 0%, var(--deep) 62%, var(--deep) 100%);
    border-bottom: 1px solid rgba(102, 217, 192, 0.22);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease),
                visibility 0.26s var(--ease);
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .nav-link {
    display: flex;
    justify-content: space-between;
    min-height: 52px;
    padding: 0.7rem 0.15rem;
    border-radius: 6px;
    border-bottom: 1px solid rgba(255, 253, 248, 0.1);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.32rem;
    letter-spacing: -0.01em;
    color: rgba(255, 253, 248, 0.9);
  }

  .nav-link:hover { background: transparent; color: var(--paper); }

  .nav-link[aria-current="page"] {
    background: transparent;
    box-shadow: none;
    color: var(--coral);
    border-bottom-color: rgba(255, 107, 74, 0.5);
  }

  .nav-link[aria-current="page"]::after {
    content: "当前";
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    align-self: center;
    color: var(--coral-soft);
  }

  .nav-utility {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.7rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 253, 248, 0.16);
  }

  .nav-utility-link {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.18em;
    color: var(--mint);
    padding-block: 0.35rem;
  }

  .nav-utility .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 0.98rem; }
  .brand-sub { font-size: 10px; letter-spacing: 0.15em; }
  .brand-glyph { width: 30px; height: 30px; border-radius: 9px; }
}

/* ---------- 13. Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(46px, 6vw, 84px) 0;
  background: var(--deep);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--gold) 34%, var(--mint) 66%, rgba(102, 217, 192, 0) 100%);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 8%;
  right: -8%;
  width: min(560px, 62vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(102, 217, 192, 0.14) 0%, rgba(102, 217, 192, 0) 62%);
  pointer-events: none;
}

.site-footer > .wrap { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.25fr 1.15fr;
  gap: clamp(28px, 4vw, 58px);
  padding-bottom: clamp(32px, 4vw, 54px);
}

.footer-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--paper);
}

.footer-line {
  margin-top: 0.95rem;
  max-width: 30ch;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.78;
  color: rgba(255, 253, 248, 0.78);
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.footer-chips li {
  padding: 0.46em 0.78em;
  border: 1px solid rgba(102, 217, 192, 0.42);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--mint);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 38px);
}

.site-footer .footer-col-title {
  margin-bottom: 1.05rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.26em;
  color: var(--coral-soft);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  display: inline-block;
  padding-block: 0.2rem;
  font-size: 0.95rem;
  color: rgba(255, 253, 248, 0.8);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-links a:hover {
  color: var(--paper);
  border-bottom-color: var(--coral);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255, 253, 248, 0.48);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--paper);
  word-break: break-word;
}

.contact-note {
  margin-top: 1.15rem;
  max-width: 34ch;
  font-size: 0.82rem;
  line-height: 1.72;
  color: rgba(255, 253, 248, 0.58);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.6rem;
  padding-block: 1.35rem 1.8rem;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(255, 253, 248, 0.6);
}

.footer-copy { color: rgba(255, 253, 248, 0.62); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-legal a {
  color: rgba(255, 253, 248, 0.74);
  border-bottom: 1px solid transparent;
  padding-block: 0.2rem;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-legal a:hover {
  color: var(--coral-soft);
  border-bottom-color: var(--coral-soft);
}

.footer-icp { color: rgba(255, 253, 248, 0.44); }

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

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bar { flex-direction: column; align-items: flex-start; }
}

/* ---------- 14. Reveal (JS 可选驱动) ---------- */
html[data-js="true"] [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  will-change: opacity, transform;
}

html[data-js="true"] [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ---------- 15. Global responsive ---------- */
@media (max-width: 900px) {
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body { font-size: 16px; line-height: 1.78; }
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .btn { width: auto; }
}

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  html[data-js="true"] [data-reveal],
  html[data-js="true"] [data-reveal][data-revealed="true"] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .brand:hover .brand-glyph { transform: none; }

  .header-progress > span { transition: none; }
}
