/* ==========================================================================
   大港奥中心 · 共享站点样式 /assets/site.css
   航标条 + 驿站灯箱 + 堆叠画板基础组件
   ========================================================================== */

/* ---------- 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, figure, blockquote, dl, dd, dt, ul, ol {
  margin: 0;
}

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

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

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

a { color: var(--c-copper-deep); text-decoration: none; }

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

/* ---------- 2. 设计变量 ---------- */
:root {
  --c-ivory: #F4F0E8;
  --c-snow: #DCE8E9;
  --c-gobi: #D9B98C;
  --c-mist: #A9C2C6;
  --c-rock: #5E6B70;
  --c-indigo: #1B2A41;
  --c-ink: #0E1826;
  --c-copper: #A8763E;
  --c-copper-deep: #7A4E22;
  --c-moss: #5F7660;
  --c-clay: #B56A4C;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Courier New", monospace;

  --max-w: 1280px;
  --read-w: 42rem;
  --r-s: 4px;
  --r-m: 12px;
  --r-l: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-panel: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 22px 46px -40px rgba(14, 24, 38, .78);
  --header-h: 78px;
}

@media (max-width: 979px) {
  :root { --header-h: 68px; }
}

/* ---------- 3. 中文排版基调 ---------- */
body {
  min-height: 100vh;
  background-color: var(--c-ivory);
  background-image:
    radial-gradient(1200px 620px at 8% -12%, rgba(220, 232, 233, .92), rgba(220, 232, 233, 0) 62%),
    radial-gradient(900px 520px at 96% 2%, rgba(217, 185, 140, .24), rgba(217, 185, 140, 0) 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--c-indigo);
  font-family: var(--font-display);
  font-size: clamp(15.5px, 1.03vw, 17px);
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.012em;
  color: var(--c-indigo);
}

strong, b { font-weight: 700; }

#main-content { scroll-margin-top: calc(var(--header-h) + 18px); }

/* ---------- 4. 跳过导航 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: clamp(12px, 3vw, 24px);
  z-index: 200;
  padding: 12px 22px;
  background: var(--c-indigo);
  color: var(--c-ivory);
  font-size: 14px;
  letter-spacing: .04em;
  border-radius: 0 0 var(--r-m) var(--r-m);
  border: 1px solid var(--c-copper);
  border-top: 0;
  transition: top .22s var(--ease);
}

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

/* ---------- 5. 头部航标条 ---------- */
.site-header {
  --hdr-fg: var(--c-indigo);
  --hdr-accent: var(--c-copper-deep);
  --hdr-muted: var(--c-rock);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  color: var(--hdr-fg);
  isolation: isolate;
  transition: background-color .38s var(--ease), box-shadow .38s var(--ease), border-color .38s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(244, 240, 232, .95), rgba(244, 240, 232, .74) 58%, rgba(244, 240, 232, 0));
  transition: opacity .38s var(--ease);
}

.site-header[data-scrolled="true"] {
  --hdr-fg: var(--c-ivory);
  --hdr-accent: #E0C08E;
  --hdr-muted: var(--c-mist);
  background-color: rgba(27, 42, 65, .97);
  -webkit-backdrop-filter: blur(10px) saturate(118%);
  backdrop-filter: blur(10px) saturate(118%);
  border-bottom-color: rgba(168, 118, 62, .48);
  box-shadow: 0 16px 38px -28px rgba(14, 24, 38, .95);
}

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

.header-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  width: 100%;
  max-width: var(--max-w);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 12px clamp(16px, 4vw, 40px);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hdr-accent);
  display: grid;
  place-items: center;
  transition: border-color .3s var(--ease), transform .4s var(--ease);
}

.brand-mark::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #F0DCBA, var(--c-copper));
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(168, 118, 62, .55);
}

.brand:hover .brand-mark { transform: rotate(24deg); }

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

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.2;
  white-space: nowrap;
  color: inherit;
}

.brand-descriptor {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  line-height: 1.5;
  color: var(--hdr-muted);
  white-space: nowrap;
}

/* 主导航 */
.site-nav { justify-self: end; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.7vw, 24px);
}

.nav-item { display: flex; }

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 1px;
  font-size: 14.5px;
  letter-spacing: .03em;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

.nav-link::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--hdr-accent);
  opacity: .65;
  transition: opacity .25s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible { border-bottom-color: var(--hdr-accent); }

.nav-link:hover::before,
.nav-link:focus-visible::before { opacity: 1; }

.nav-link[aria-current="page"] {
  color: var(--hdr-accent);
  font-weight: 600;
  border-bottom-color: var(--hdr-accent);
}

.nav-link[aria-current="page"]::before { opacity: 1; }

/* 头部动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--hdr-accent);
  border-radius: 999px;
  color: var(--hdr-accent);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .05em;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.header-cta::after {
  content: "\2192";
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
}

.header-cta:hover,
.header-cta:focus-visible {
  background-color: var(--hdr-accent);
  color: var(--c-ink);
  border-color: var(--hdr-accent);
  text-decoration: none;
}

.site-header:not([data-scrolled="true"]) .header-cta:hover,
.site-header:not([data-scrolled="true"]) .header-cta:focus-visible { color: var(--c-ivory); }

/* 移动端切换按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(168, 118, 62, .55);
  border-radius: var(--r-m);
  color: inherit;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}

.nav-toggle:hover { border-color: var(--hdr-accent); }

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 抽屉遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 86;
  background: rgba(14, 24, 38, .58);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

.nav-scrim[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open { overflow: hidden; }

/* ---------- 6. 移动端 / 平板头部 ---------- */
@media (max-width: 979px) {
  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

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

  .site-nav {
    --hdr-accent: #E0C08E;
    --hdr-muted: var(--c-mist);
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 88;
    width: min(86vw, 366px);
    padding: calc(var(--header-h) + 18px) 26px 44px;
    background: linear-gradient(160deg, var(--c-indigo) 0%, var(--c-ink) 100%);
    border-left: 1px solid rgba(168, 118, 62, .42);
    box-shadow: -34px 0 70px -46px rgba(14, 24, 38, .95);
    overflow-y: auto;
    transform: translateX(102%);
    transition: transform .38s var(--ease);
  }

  .site-nav[data-open="true"] { transform: translateX(0); }

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

  .nav-item { border-bottom: 1px solid rgba(169, 194, 198, .16); }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 16px;
    letter-spacing: .04em;
    color: var(--c-ivory);
    border-bottom: 0;
  }

  .nav-link::before {
    order: 2;
    font-size: 11px;
    color: var(--hdr-accent);
  }

  .nav-link:hover,
  .nav-link:focus-visible { border-bottom-color: transparent; color: var(--hdr-accent); }

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

@media (max-width: 700px) {
  .header-cta { padding: 8px 12px; font-size: 12.5px; }
  .header-cta::after { display: none; }
  .brand-descriptor { display: none; }
}

@media (max-width: 430px) {
  .brand-name { font-size: 15px; letter-spacing: .07em; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark::after { inset: 5px; }
  .header-cta { padding: 7px 10px; font-size: 11.5px; letter-spacing: .02em; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* ---------- 7. 页脚驿站灯箱 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 104px);
  color: #E7E3DA;
  font-size: 15px;
  border-top: 1px solid rgba(168, 118, 62, .5);
  background:
    radial-gradient(120% 92% at 84% -14%, rgba(168, 118, 62, .26), rgba(168, 118, 62, 0) 58%),
    linear-gradient(180deg, var(--c-ink) 0%, #0A121C 100%);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(169, 194, 198, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 194, 198, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .8;
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(38px, 5.4vw, 72px) clamp(16px, 4vw, 40px) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid rgba(169, 194, 198, .18);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 30rem;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-ivory);
  text-decoration: none;
}

.footer-brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--c-gobi);
  display: grid;
  place-items: center;
}

.footer-brand-mark::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #F5E4C6, var(--c-copper));
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .14em;
}

.footer-summary {
  color: #C7CBC9;
  font-size: 14.5px;
  line-height: 1.85;
}

.footer-brand-line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--c-mist);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.footer-col { min-width: 0; }

.footer-col-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--c-gobi);
  font-family: var(--font-display);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  display: inline-block;
  font-size: 14.5px;
  color: #DCDAD2;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--c-gobi);
  border-bottom-color: rgba(217, 185, 140, .7);
  text-decoration: none;
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.7fr);
  gap: clamp(22px, 3vw, 48px);
  padding: clamp(26px, 3.4vw, 44px) 0;
  border-bottom: 1px solid rgba(169, 194, 198, .18);
}

.footer-station {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 18px 20px 20px;
  border: 1px solid rgba(217, 185, 140, .45);
  border-radius: var(--r-m);
  background: linear-gradient(150deg, rgba(217, 185, 140, .17), rgba(168, 118, 62, .05) 62%, rgba(14, 24, 38, 0));
  box-shadow: 0 0 0 1px rgba(244, 240, 232, .04) inset, 0 20px 44px -36px rgba(217, 185, 140, .8);
}

.footer-station::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gobi);
  box-shadow: 0 0 0 4px rgba(217, 185, 140, .16);
}

.footer-station-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--c-mist);
}

.footer-station-value {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #F2EBDF;
}

.footer-station-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: #B9BFBE;
}

.footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer-contact-list dt,
.footer-contact-list dd { margin: 0; }

.footer-contact-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--c-mist);
}

.footer-contact-value {
  font-size: 14.5px;
  line-height: 1.7;
  color: #E7E3DA;
  word-break: break-word;
}

.footer-service-note {
  margin-top: 16px;
  max-width: 40rem;
  font-size: 12.5px;
  line-height: 1.85;
  color: #9FA8A7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(18px, 3vw, 40px);
  padding: clamp(20px, 2.6vw, 30px) 0 clamp(26px, 3vw, 38px);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #9FA8A7;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-legal-link {
  font-size: 12.5px;
  color: #C7CBC9;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: var(--c-gobi);
  border-bottom-color: rgba(217, 185, 140, .7);
  text-decoration: none;
}

.footer-icp {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #8E9998;
}

/* ---------- 8. 通用版式组件 ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section { padding-block: clamp(40px, 6vw, 88px); }

.section-head {
  display: grid;
  gap: 10px;
  max-width: 52rem;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.24;
  letter-spacing: -.015em;
}

.section-lead {
  margin: 0;
  max-width: 36em;
  color: var(--c-rock);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.8;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

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

.panel {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  background-color: var(--c-ivory);
  border: 1px solid rgba(169, 194, 198, .75);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-panel);
}

.panel--snow {
  background-image: linear-gradient(135deg, var(--c-snow) 0%, var(--c-ivory) 78%);
}

.panel--ink {
  color: var(--c-ivory);
  border-color: rgba(168, 118, 62, .42);
  background-image: linear-gradient(150deg, var(--c-indigo) 0%, var(--c-ink) 100%);
}

.panel--ink h2,
.panel--ink h3 { color: var(--c-ivory); }

.panel--ink .panel-label { color: var(--c-mist); }

.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-rock);
}

.panel-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--c-copper);
  flex: 0 0 auto;
}

.section-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13.5px;
  letter-spacing: .06em;
  color: var(--c-copper-deep);
}

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}

.btn:active { transform: translateY(1px); }
.btn:hover { text-decoration: none; }

.btn-primary {
  background-color: var(--c-copper);
  border-color: var(--c-copper);
  color: #16110A;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--c-copper-deep);
  border-color: var(--c-copper-deep);
  color: var(--c-ivory);
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--c-indigo);
  color: var(--c-indigo);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: var(--c-indigo);
  color: var(--c-ivory);
}

.btn-quiet {
  background-color: var(--c-snow);
  border-color: rgba(169, 194, 198, .8);
  color: var(--c-indigo);
}

.btn-quiet:hover,
.btn-quiet:focus-visible { background-color: var(--c-mist); }

/* ---------- 10. 面包屑 ---------- */
.breadcrumb { padding-block: 14px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-rock);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--c-mist);
}

.breadcrumb-link {
  color: var(--c-copper-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}

.breadcrumb-link:hover,
.breadcrumb-link:focus-visible { border-bottom-color: var(--c-copper); }

.breadcrumb-current { color: var(--c-indigo); }

/* ---------- 11. 正文 ---------- */
.prose {
  max-width: var(--read-w);
  font-size: clamp(15.5px, 1.05vw, 17.5px);
  line-height: 1.85;
  color: var(--c-indigo);
}

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

.prose h2 {
  margin-top: 2.1em;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
}

.prose h3 {
  margin-top: 1.7em;
  font-size: clamp(17px, 1.5vw, 20px);
}

.prose strong { color: var(--c-indigo); }

.prose a {
  color: var(--c-copper-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose ul { list-style: none; }

.prose ul li {
  position: relative;
  padding-left: 1.35em;
}

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

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 9px;
  height: 1px;
  background: var(--c-copper);
}

.prose ol {
  list-style: decimal;
  padding-left: 1.45em;
}

.prose ol li + li { margin-top: .55em; }
.prose ol li::marker { color: var(--c-copper); font-family: var(--font-mono); }

.prose blockquote {
  margin-inline: 0;
  padding: 14px 0 14px 20px;
  border-left: 2px solid var(--c-gobi);
  color: var(--c-rock);
  font-family: var(--font-serif);
  font-size: 1.02em;
}

/* ---------- 12. 标签 / 时间戳 / 分隔线 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  line-height: 1.9;
  color: var(--c-rock);
  background-color: rgba(244, 240, 232, .65);
}

.tag--copper {
  color: var(--c-copper-deep);
  border-color: rgba(168, 118, 62, .55);
  background-color: rgba(217, 185, 140, .2);
}

.tag--moss {
  color: var(--c-moss);
  border-color: rgba(95, 118, 96, .45);
  background-color: rgba(95, 118, 96, .1);
}

.tag--clay {
  color: var(--c-clay);
  border-color: rgba(181, 106, 76, .5);
  background-color: rgba(181, 106, 76, .1);
}

.timestamp {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--c-rock);
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--c-mist), rgba(169, 194, 198, 0));
}

/* ---------- 13. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(169, 194, 198, .8);
  border-radius: var(--r-m);
  background-image: linear-gradient(158deg, var(--c-snow) 0%, #EDE7DC 54%, rgba(217, 185, 140, .85) 140%);
  box-shadow: var(--shadow-panel);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 107, 112, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 107, 112, .1) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(244, 240, 232, .4);
  pointer-events: none;
}

.media-frame img,
.media-frame picture,
.media-frame video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--portrait { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  line-height: 1.7;
  color: var(--c-rock);
}

/* ---------- 14. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .62s var(--ease), transform .62s var(--ease);
  will-change: opacity, transform;
}

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

/* ---------- 15. 平板 ---------- */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-icp { margin-left: 0; }
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- 16. 手机 ---------- */
@media (max-width: 560px) {
  .footer-columns { grid-template-columns: 1fr; }
  .footer-contact-item { grid-template-columns: 1fr; gap: 2px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 8px 18px; }
  .grid-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn { width: 100%; }
  .breadcrumb-list { font-size: 11.5px; }
}

/* ---------- 17. 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }

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

  .brand:hover .brand-mark { transform: none; }
}
