/* ============================================================
   盛世品牌 · 共享样式 /assets/site.css
   骨架：12 列蓝图网格 + 顶部命令栏 + 左侧坐标感编号
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd { 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; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; }
hr { border: 0; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --red: #C8102E;
  --red-deep: #9E0C24;
  --gold: #C9A227;
  --gold-deep: #8C6F12;
  --ink: #101014;
  --ivory: #F7F3EA;
  --mist: #EFE2C0;
  --celadon: #2E7D6B;
  --royal: #1B3A8F;
  --graphite: #4A4A52;
  --blush: #F6D9DC;
  --grid: #E4E8EF;

  --ink-06: rgba(16, 16, 20, 0.06);
  --ink-12: rgba(16, 16, 20, 0.12);
  --gold-30: rgba(201, 162, 39, 0.30);
  --mist-20: rgba(239, 226, 192, 0.20);
  --ivory-70: rgba(247, 243, 234, 0.70);

  --font-display: "盛世宋", "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --r-pill: 999px;

  --shell: 1280px;
  --strip-h: 36px;
  --bar-h: 74px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background-color: var(--ivory);
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.14;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.2vw, 68px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.4; }
p { text-wrap: pretty; }
strong, b { font-weight: 700; }

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

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

/* ---------- 4. 布局工具 ---------- */
.shell {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}
@media (max-width: 640px) {
  .shell { width: min(100% - 28px, var(--shell)); }
}

.section { padding: 76px 0; }
.section--tight { padding: 48px 0; }
.section--ink {
  background: var(--ink);
  color: var(--ivory);
  background-image:
    linear-gradient(to right, rgba(201, 162, 39, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 162, 39, 0.10) 1px, transparent 1px);
  background-size: 40px 40px;
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--ivory); }
.section--ink .section-note { color: var(--ivory-70); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 20px;
  margin-bottom: 30px;
}
.section-title { font-size: clamp(26px, 3.4vw, 38px); }
.section-note {
  font-size: 14px;
  color: var(--graphite);
  max-width: 48ch;
  line-height: 1.7;
}

.seam {
  position: relative;
  height: 1px;
  background: var(--mist);
  margin: 56px 0;
}
.seam::after {
  content: "";
  position: absolute;
  left: 0;
  top: -7px;
  width: 132px;
  height: 15px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: skewX(-30deg);
  border-radius: 2px;
  opacity: 0.9;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

/* ---------- 5. 通用组件 ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.coord-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 10px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.coord-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--blush);
  color: var(--red-deep);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}
.pill--gold { background: var(--mist); color: var(--gold-deep); }
.pill--celadon { background: rgba(46, 125, 107, 0.14); color: var(--celadon); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.btn-primary {
  background: var(--red);
  color: var(--ivory);
  box-shadow: 0 12px 26px -18px rgba(200, 16, 46, 0.95);
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-gold {
  background: transparent;
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--mist); transform: translateY(-2px); }
.btn-ghost {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--mist);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--red); }

.section--ink .btn-ghost {
  background: transparent;
  color: var(--mist);
  border-color: rgba(239, 226, 192, 0.4);
}
.section--ink .btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

.card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--mist);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 24px 46px -32px rgba(16, 16, 20, 0.55);
}
.card:hover .stat-value { color: var(--red); }
.card-title { font-family: var(--font-display); font-weight: 800; font-size: 21px; margin-bottom: 8px; }
.card-body { font-size: 15px; color: var(--graphite); line-height: 1.8; }

.section--ink .card {
  background: rgba(247, 243, 234, 0.05);
  border-color: rgba(239, 226, 192, 0.22);
}
.section--ink .card-body { color: var(--ivory-70); }

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.18s var(--ease);
}
.stat-label { font-size: 14px; color: var(--graphite); }

.divider-rule { height: 1px; background: var(--mist); margin: 48px 0; }
.divider-rule--strong { height: 2px; background: var(--red); width: 64px; margin: 24px 0; }

.prose { max-width: 38em; font-size: 17px; line-height: 1.85; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin: 2.2em 0 0.6em; font-size: clamp(24px, 2.6vw, 32px); }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose ul, .prose ol { margin-top: 0.8em; padding-left: 1.3em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose strong { color: var(--red-deep); }
.prose a { color: var(--royal); border-bottom: 1px solid rgba(27, 58, 143, 0.35); }
.prose a:hover { border-bottom-color: var(--royal); }

.breadcrumb { padding-top: 20px; }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.breadcrumb-item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb-item:not(:last-child)::after { content: "›"; color: var(--gold); }
.breadcrumb-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--graphite);
  transition: color 0.18s var(--ease);
}
.breadcrumb-link:hover { color: var(--red); }
.breadcrumb-link[aria-current="page"] { color: var(--ink); font-weight: 700; }

/* 图片占位容器（页面阶段填充 img / svg） */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--mist);
  background:
    linear-gradient(135deg, rgba(200, 16, 46, 0.07), rgba(201, 162, 39, 0.12)),
    var(--mist);
  aspect-ratio: 4 / 3;
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(247, 243, 234, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 243, 234, 0.6) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.media-frame > img,
.media-frame > svg,
.media-frame > video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(16, 16, 20, 0.84);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* 返回顶部（JS 创建） */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 55;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--ink);
  color: var(--mist);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0.2s linear, color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--red); border-color: var(--red); }

/* ---------- 6. Skip link ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -72px;
  z-index: 120;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--ivory);
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 7. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--mist);
  transition: box-shadow 0.24s var(--ease);
}
.site-header.is-condensed { box-shadow: 0 18px 36px -30px rgba(16, 16, 20, 0.6); }

/* 7.1 仪表条 */
.header-strip {
  background: var(--ink);
  color: var(--mist);
  max-height: var(--strip-h);
  overflow: hidden;
  transition: max-height 0.28s var(--ease), opacity 0.28s var(--ease);
}
.site-header.is-condensed .header-strip { max-height: 0; opacity: 0; }
.strip-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--strip-h);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.strip-item { white-space: nowrap; opacity: 0.86; }
.strip-link {
  border-bottom: 1px solid rgba(201, 162, 39, 0.5);
  padding-bottom: 1px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.strip-link:hover { color: var(--gold); border-color: var(--gold); }
.strip-rule {
  flex: 0 0 auto;
  width: 1px;
  height: 12px;
  background: rgba(239, 226, 192, 0.3);
}
.strip-coord {
  margin-left: auto;
  color: var(--gold);
  opacity: 0.72;
  font-size: 11px;
}

/* 7.2 命令栏 */
.header-bar {
  background: rgba(247, 243, 234, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.bar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--bar-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 3px rgba(247, 243, 234, 0.16);
}
.brand-mark-glyph {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  color: var(--mist);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-note {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--graphite);
}

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-idx {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  transition: color 0.18s var(--ease);
}
.nav-link:hover { background: var(--mist); color: var(--red-deep); }
.nav-link:hover .nav-idx { color: var(--red); }
.nav-link[aria-current="page"] { color: var(--red-deep); font-weight: 700; }
.nav-link[aria-current="page"] .nav-idx { color: var(--red); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

.nav-tail { display: none; }
.nav-clock { font-size: 12px; }

.bar-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--mist);
  background: var(--ivory);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle-bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 7.3 滚动进度 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.scroll-meter-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 0.1s linear;
}

/* 7.4 移动导航遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(16, 16, 20, 0.52);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s linear;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

body.nav-open { overflow: hidden; }

/* ---------- 8. Footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  border-top: 2px solid var(--red);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(201, 162, 39, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 162, 39, 0.14) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.55;
  pointer-events: none;
}
.footer-inner { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.3fr);
  gap: 48px;
  padding-top: 60px;
}
.footer-brand .brand { margin-bottom: 14px; }
.brand--footer .brand-name { color: var(--ivory); }
.brand--footer .brand-note { color: rgba(239, 226, 192, 0.68); }
.brand--footer .brand-mark {
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  border-color: rgba(247, 243, 234, 0.28);
  box-shadow: inset 0 0 0 3px rgba(16, 16, 20, 0.18);
}
.brand--footer .brand-mark-glyph { color: var(--ink); }
.footer-tagline {
  font-size: 14px;
  color: rgba(247, 243, 234, 0.7);
  letter-spacing: 0.04em;
}
.footer-coords {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(201, 162, 39, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 14px;
  color: rgba(247, 243, 234, 0.76);
  word-break: break-all;
  transition: color 0.18s var(--ease);
}
.footer-link:hover { color: var(--gold); }
.footer-link[aria-current="page"] { color: var(--gold); font-weight: 600; }
.footer-link--plain { cursor: default; }
.footer-link--plain:hover { color: rgba(247, 243, 234, 0.76); }

.footer-band {
  height: 2px;
  margin: 44px 0 26px;
  background: linear-gradient(
    90deg,
    var(--red) 0 16%,
    var(--gold) 16% 26%,
    rgba(239, 226, 192, 0.22) 26% 100%
  );
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 28px;
  padding-bottom: 34px;
}
.footer-legal {
  font-size: 13px;
  color: rgba(247, 243, 234, 0.6);
}
.footer-legal-link {
  color: rgba(247, 243, 234, 0.78);
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-legal-link:hover { color: var(--gold); border-color: var(--gold); }
.footer-copy {
  margin-left: auto;
  font-size: 13px;
  color: rgba(247, 243, 234, 0.6);
}

/* ---------- 9. 滚动显现 ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1120px) {
  .nav-link { padding: 0 9px; font-size: 14px; }
  .nav-idx { display: none; }
  .nav-link[aria-current="page"]::after { left: 9px; right: 9px; }
  .header-cta { padding: 0 16px; font-size: 14px; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    width: min(88vw, 380px);
    padding: 96px 24px 32px;
    overflow-y: auto;
    background: var(--ink);
    background-image:
      linear-gradient(to right, rgba(201, 162, 39, 0.10) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(201, 162, 39, 0.10) 1px, transparent 1px);
    background-size: 32px 32px;
    border-left: 2px solid var(--gold);
    transform: translateX(103%);
    transition: transform 0.32s var(--ease);
    display: flex;
    flex-direction: column;
  }
  .site-nav[data-open] { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link {
    justify-content: flex-start;
    min-height: 52px;
    padding: 0 16px;
    border-radius: var(--r-md);
    border-bottom: 1px solid rgba(239, 226, 192, 0.14);
    color: var(--ivory);
    font-size: 16px;
  }
  .nav-link .nav-idx { display: inline; color: var(--gold); }
  .nav-link:hover { background: rgba(239, 226, 192, 0.08); color: var(--gold); }
  .nav-link[aria-current="page"] { color: var(--gold); }
  .nav-link[aria-current="page"] .nav-idx { color: var(--red); }
  .nav-link[aria-current="page"]::after {
    left: 0;
    right: auto;
    top: 14px;
    bottom: 14px;
    width: 3px;
    height: auto;
  }
  .nav-tail {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid rgba(239, 226, 192, 0.22);
  }
  .nav-cta { width: 100%; }
  .nav-clock { font-size: 12px; color: rgba(239, 226, 192, 0.6); letter-spacing: 0.1em; }

  .strip-rule, .strip-coord { display: none; }
  .strip-inner { justify-content: space-between; gap: 10px; }

  .grid-12 { gap: 18px; }
  .col-3, .col-4, .col-5, .col-6 { grid-column: span 6; }
  .col-7, .col-8, .col-9 { grid-column: span 12; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-copy { margin-left: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --bar-h: 66px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 { grid-column: span 12; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand-mark-glyph { font-size: 19px; }
  .brand-name { font-size: 17px; }
  .brand-note { display: none; }
  .nav-toggle-text { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 8px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .card { padding: 20px; }
}

/* ---------- 11. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.12s !important;
  }
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 0.12s linear;
    transition-delay: 0ms !important;
  }
  .card:hover, .btn:hover, .to-top { transform: none; }
}
