/* ==========================================================================
   九博娱乐会馆 — /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;
  scroll-padding-top: 104px;
}

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

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

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

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

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

/* 2. 变量 ---------------------------------------------------------------- */
:root {
  /* 品牌色 */
  --ink: #0B1B2B;
  --ink-2: #122A40;
  --ink-3: #1B3A56;
  --copper: #C08A3E;
  --copper-soft: #E0B36A;
  --cinnabar: #C4473A;
  --jade: #2F8F7A;
  --amber: #D99A2B;
  --cream: #F3EADB;
  --warm: #F7F1E7;
  --soot: #17120E;

  /* 描边与层次 */
  --line: rgba(192, 138, 62, .34);
  --line-strong: rgba(224, 179, 106, .62);
  --line-paper: rgba(23, 18, 14, .14);
  --glass: rgba(18, 42, 64, .74);
  --glass-deep: rgba(11, 27, 43, .95);

  /* 排版 */
  --font-display: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", "Consolas", "Courier New", monospace;

  /* 版面 */
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-plaque: 0 20px 44px -30px rgba(11, 27, 43, .8);
}

/* 3. 基础排版 ------------------------------------------------------------ */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--soot);
  background-color: var(--cream);
  background-image:
    radial-gradient(120% 72% at 50% -12%, rgba(192, 138, 62, .16), transparent 62%),
    repeating-linear-gradient(135deg, rgba(23, 18, 14, .018) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #F6EEE1 0%, var(--cream) 40%, #EDE1CE 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.005em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.3rem); }
h3 { font-size: clamp(1.18rem, 1.9vw, 1.45rem); }
h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .01em;
}

p { text-wrap: pretty; }
p + p { margin-top: 1em; }

strong, b { font-weight: 700; color: var(--ink); }
small { font-size: 13px; }

::selection {
  background: rgba(192, 138, 62, .36);
  color: var(--ink);
}

/* 4. 通用工具类 ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 860px; }

.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;
}

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.82;
  color: rgba(23, 18, 14, .8);
}

.lead--light { color: rgba(247, 241, 231, .82); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: #8A5F22;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .85;
}

.eyebrow--light { color: var(--copper-soft); }

.index-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--copper);
}

/* 状态点 */
.dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.dot--jade { background: var(--jade); box-shadow: 0 0 0 3px rgba(47, 143, 122, .2); }
.dot--amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(217, 154, 43, .2); }
.dot--cinnabar { background: var(--cinnabar); box-shadow: 0 0 0 3px rgba(196, 71, 58, .2); }

/* 状态胶囊 */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.6;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.pill--jade { color: #1F6B5B; border-color: rgba(47, 143, 122, .5); background: rgba(47, 143, 122, .1); }
.pill--amber { color: #8A5F11; border-color: rgba(217, 154, 43, .55); background: rgba(217, 154, 43, .14); }
.pill--cinnabar { color: #983529; border-color: rgba(196, 71, 58, .5); background: rgba(196, 71, 58, .1); }
.pill--copper { color: #7E5520; border-color: rgba(192, 138, 62, .5); background: rgba(192, 138, 62, .12); }

.pill--on-dark { color: var(--copper-soft); border-color: rgba(224, 179, 106, .45); background: rgba(224, 179, 106, .1); }

/* 5. 按钮 ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.3;
  border-radius: 3px;
  border: 1px solid transparent;
  transition:
    transform .18s var(--ease),
    background-color .18s var(--ease),
    border-color .18s var(--ease),
    color .18s var(--ease),
    box-shadow .18s var(--ease);
}

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

.btn--primary {
  color: var(--ink);
  background: linear-gradient(180deg, var(--copper-soft), var(--copper));
  border-color: rgba(224, 179, 106, .9);
  box-shadow: 0 14px 28px -20px rgba(192, 138, 62, .95);
}
.btn--primary:hover { box-shadow: 0 18px 32px -18px rgba(192, 138, 62, .9); }

.btn--ghost {
  color: var(--ink);
  background: rgba(247, 241, 231, .62);
  border-color: var(--line-paper);
}
.btn--ghost:hover {
  background: var(--warm);
  border-color: var(--copper);
}

.btn--cinnabar {
  color: var(--warm);
  background: var(--cinnabar);
  border-color: #A93728;
}
.btn--cinnabar:hover { background: #B23C2E; }

.btn--outline-light {
  color: var(--warm);
  background: rgba(11, 27, 43, .34);
  border-color: rgba(224, 179, 106, .5);
}
.btn--outline-light:hover {
  background: rgba(192, 138, 62, .18);
  border-color: var(--copper-soft);
}

/* 6. 跳转链接 ------------------------------------------------------------ */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 300;
  transform: translate(-50%, -160%);
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  background: var(--copper-soft);
  border: 1px solid #A93728;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* 7. 头部 ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  color: var(--warm);
  background: linear-gradient(180deg, rgba(18, 42, 64, .97) 0%, rgba(11, 27, 43, .98) 100%);
  border-bottom: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(224, 179, 106, .16),
    0 26px 52px -38px rgba(0, 0, 0, .98);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(192, 138, 62, 0) 0%,
    rgba(192, 138, 62, .85) 18%,
    rgba(224, 179, 106, 1) 50%,
    rgba(192, 138, 62, .85) 82%,
    rgba(192, 138, 62, 0) 100%);
  opacity: .9;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: var(--wrap);
  min-height: 76px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 品牌印 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 10px 0;
  border-radius: 3px;
}

.brand-seal {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  color: var(--cream);
  background: linear-gradient(158deg, #C4473A 0%, #8E2E24 100%);
  border: 1px solid rgba(224, 179, 106, .58);
  border-radius: 3px;
  box-shadow:
    inset 0 0 0 2px rgba(11, 27, 43, .28),
    0 8px 18px -10px rgba(0, 0, 0, .95);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.brand:hover .brand-seal {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 2px rgba(11, 27, 43, .2),
    0 12px 22px -10px rgba(196, 71, 58, .85);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.25;
  color: var(--warm);
}

.brand-tagline {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.4;
  color: rgba(224, 179, 106, .8);
}

/* 移动开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--warm);
  background: rgba(18, 42, 64, .6);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}

.nav-toggle:hover,
.site-header[data-open] .nav-toggle {
  border-color: var(--copper-soft);
  background: rgba(192, 138, 62, .16);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--copper-soft);
  transition: transform .22s var(--ease), top .22s var(--ease), bottom .22s var(--ease);
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

.site-header[data-open] .nav-toggle-bars::before {
  top: 5px;
  transform: rotate(45deg);
}
.site-header[data-open] .nav-toggle-bars::after {
  bottom: 5px;
  transform: rotate(-45deg);
}

.nav-toggle-label { line-height: 1; }

/* 导航 */
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
  margin-left: auto;
}

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

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 11px 12px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.5;
  color: rgba(247, 241, 231, .78);
  border-radius: 3px;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--copper);
  opacity: .8;
  transition: color .18s var(--ease), opacity .18s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: var(--copper-soft);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--warm);
  background: rgba(192, 138, 62, .1);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after { transform: scaleX(1); }

.nav-list a[aria-current="page"] {
  color: var(--warm);
  background: rgba(192, 138, 62, .08);
}
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--copper-soft);
}
.nav-list a[aria-current="page"] .nav-index {
  color: var(--cinnabar);
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.4;
  color: var(--ink);
  background: linear-gradient(180deg, var(--copper-soft), var(--copper));
  border: 1px solid rgba(224, 179, 106, .92);
  border-radius: 3px;
  box-shadow: 0 12px 24px -16px rgba(192, 138, 62, .95);
  transition: transform .18s var(--ease), filter .18s var(--ease), box-shadow .18s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 26px -14px rgba(192, 138, 62, .9);
}

.nav-cta__arrow { font-size: 13px; }

/* 滚动光带 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  z-index: 2;
  background: rgba(192, 138, 62, .16);
  pointer-events: none;
}

.scroll-meter__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cinnabar), var(--copper-soft) 55%, var(--jade));
  transition: width .12s linear;
}

/* 8. 页脚 ---------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 112px);
  color: rgba(247, 241, 231, .82);
  background:
    radial-gradient(120% 92% at 50% 0%, rgba(192, 138, 62, .18), transparent 62%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 52%, #07131F 100%);
  border-top: 1px solid rgba(192, 138, 62, .42);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: -1px;
  left: 50%;
  display: block;
  width: min(680px, 74%);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--copper-soft), transparent);
  opacity: .95;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 1.55fr) minmax(250px, 1fr);
  gap: clamp(28px, 4vw, 60px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(42px, 6vw, 76px) var(--gutter) clamp(30px, 4vw, 46px);
}

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-radius: 3px;
}

.footer-seal {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  color: var(--cream);
  background: linear-gradient(158deg, #C4473A 0%, #8E2E24 100%);
  border: 1px solid rgba(224, 179, 106, .55);
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px rgba(11, 27, 43, .3);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .07em;
  color: var(--warm);
}

.footer-brand__note {
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(247, 241, 231, .7);
}

.footer-brand__status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(247, 241, 231, .66);
}

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

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--copper-soft);
  border-bottom: 1px solid rgba(192, 138, 62, .28);
}

.footer-col__list { display: grid; gap: 2px; }

.footer-col__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: 15px;
  letter-spacing: .02em;
  color: rgba(247, 241, 231, .76);
  border-radius: 2px;
  transition: color .18s var(--ease), transform .18s var(--ease);
}

.footer-col__link::before {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--copper);
  opacity: .55;
  transition: width .2s var(--ease), opacity .2s var(--ease);
}

.footer-col__link:hover {
  color: var(--warm);
  transform: translateX(3px);
}
.footer-col__link:hover::before {
  width: 18px;
  opacity: 1;
}

.footer-contact__title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--copper-soft);
  border-bottom: 1px solid rgba(192, 138, 62, .28);
}

.footer-contact__list { display: grid; gap: 14px; }

.footer-contact__row { display: grid; gap: 3px; }

.footer-contact__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  color: rgba(224, 179, 106, .82);
}

.footer-contact__value {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--warm);
  overflow-wrap: anywhere;
}

.footer-base {
  position: relative;
  background: rgba(7, 19, 31, .72);
  border-top: 1px solid rgba(192, 138, 62, .22);
}

.footer-base__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 16px var(--gutter);
  font-size: 13px;
  letter-spacing: .03em;
  color: rgba(247, 241, 231, .6);
}

.footer-legal { margin: 0; }

.footer-legal__note {
  margin: 0;
  color: rgba(247, 241, 231, .48);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--copper-soft);
  border: 1px solid rgba(192, 138, 62, .42);
  border-radius: 3px;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}

.to-top:hover {
  background: rgba(192, 138, 62, .16);
  border-color: var(--copper-soft);
  transform: translateY(-2px);
}

/* 9. 通用内容组件 -------------------------------------------------------- */
.breadcrumb {
  padding: 20px 0 4px;
  font-size: 13px;
  letter-spacing: .05em;
  color: rgba(23, 18, 14, .62);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--copper);
}

.breadcrumb a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(192, 138, 62, .55);
  text-underline-offset: 3px;
}
.breadcrumb a:hover { text-decoration-color: var(--copper); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: clamp(22px, 3vw, 34px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-paper);
}

.section-head__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--copper);
}

.section-head__title { margin: 0; }

.section-head__note {
  margin: 0;
  font-size: 14px;
  color: rgba(23, 18, 14, .6);
}

.plaque {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--warm);
  border: 1px solid rgba(192, 138, 62, .38);
  border-radius: 4px;
  box-shadow: var(--shadow-plaque);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.plaque:hover {
  transform: translateY(-3px);
  border-color: var(--copper-soft);
  box-shadow: 0 26px 50px -32px rgba(11, 27, 43, .85);
}

.glass-panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  color: var(--warm);
  background: linear-gradient(180deg, rgba(18, 42, 64, .9), rgba(11, 27, 43, .94));
  border: 1px solid rgba(192, 138, 62, .32);
  border-radius: 4px;
  box-shadow: 0 32px 62px -44px rgba(0, 0, 0, .95);
}

.glass-panel h2,
.glass-panel h3 { color: var(--warm); }

.paper-panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--cream);
  border: 1px solid var(--line-paper);
  border-radius: 4px;
  box-shadow: 0 18px 40px -34px rgba(23, 18, 14, .8);
}

.frame-corners { position: relative; }

.frame-corners::before,
.frame-corners::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--copper);
  opacity: .8;
  pointer-events: none;
}

.frame-corners::before {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.frame-corners::after {
  right: 0;
  bottom: 0;
  border-top: 0;
  border-left: 0;
}

/* 图片容器基础规则（页面阶段放 <img> 即可） */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 90% at 50% 10%, rgba(224, 179, 106, .26), transparent 62%),
    linear-gradient(150deg, var(--ink-3), var(--ink) 72%);
  border: 1px solid rgba(192, 138, 62, .32);
  border-radius: 4px;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(224, 179, 106, .22),
    inset 0 -60px 80px -40px rgba(0, 0, 0, .9);
}

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

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

.media__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 43, 0) 34%, rgba(11, 27, 43, .88) 100%);
  pointer-events: none;
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 14px 16px;
  font-size: 13px;
  letter-spacing: .06em;
  line-height: 1.6;
  color: var(--warm);
}

/* 10. 焦点可见 ------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--copper-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

a:focus-visible,
button:focus-visible {
  outline-offset: 3px;
}

/* 11. 响应式 -------------------------------------------------------------- */
@media (max-width: 1080px) and (min-width: 920px) {
  .nav-list a {
    padding: 10px 8px;
    font-size: 13.5px;
  }
  .nav-list a .nav-index { display: none; }
  .nav-cta {
    padding: 9px 14px;
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand__note { max-width: 52ch; }
}

@media (max-width: 919px) {
  html { scroll-padding-top: 88px; }

  .header-inner {
    min-height: 66px;
    gap: 12px;
  }

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

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 12px var(--gutter) 22px;
    background: linear-gradient(180deg, rgba(11, 27, 43, .99), rgba(7, 19, 31, .99));
    border-bottom: 1px solid rgba(192, 138, 62, .4);
    box-shadow: 0 30px 50px -32px rgba(0, 0, 0, .96);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-header[data-open] .primary-nav { display: flex; }

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

  .nav-list a {
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid rgba(192, 138, 62, .16);
    border-radius: 0;
  }

  .nav-list a::after {
    left: 4px;
    right: auto;
    bottom: -1px;
    width: 42px;
  }

  .nav-list a[aria-current="page"] {
    background: rgba(192, 138, 62, .1);
  }

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

@media (max-width: 720px) {
  body { font-size: 16.5px; }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .footer-brand { grid-column: auto; }
  .footer-nav { gap: 20px; }
  .footer-base__inner {
    justify-content: flex-start;
    gap: 10px 20px;
  }
}

@media (max-width: 560px) {
  .brand-tagline { display: none; }
  .brand-name { font-size: 17.5px; letter-spacing: .05em; }
  .brand-seal { width: 36px; height: 36px; font-size: 19px; }
  .nav-toggle-label { display: none; }
  .footer-brand__name { font-size: 17.5px; }
}

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

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

  .btn:hover,
  .nav-cta:hover,
  .plaque:hover,
  .to-top:hover,
  .footer-col__link:hover,
  .brand:hover .brand-seal {
    transform: none;
  }
}
