/* ==========================================================================
   Castellan Capital — 静态版全局样式
   由 Next.js + Tailwind 版本还原为纯 CSS，供宝塔/Nginx 直接部署
   ========================================================================== */

/* ---------- 字体 ---------- */
@import url("https://fonts.googleapis.cn/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap");

/* ---------- 设计变量 ---------- */
:root {
  --radius: 0.375rem;
  /* Castellan Capital palette */
  --pine: #0e231c;
  --pine-2: #143227;
  --pine-3: #1c3d31;
  --gold: #c2a36b;
  --gold-2: #d8c093;
  --ivory: #f6f4ee;
  --moss: #5c6b62;
  --up: #4e8d6e;
  --down: #b4644f;

  --bg: var(--ivory);
  --fg: var(--pine);
  --card: #ffffff;
  --border: rgba(14, 35, 28, 0.16);
  --input: rgba(14, 35, 28, 0.16);
  --ring: var(--gold);

  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Hiragino Kaku Gothic Pro",
    "Yu Gothic", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", "Noto Serif SC", "Songti SC", ui-serif, Georgia,
    Cambria, "Times New Roman", Times, serif;
}

/* ---------- Reset / 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

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

h1, h2, h3, h4 {
  font-weight: 600;
}

input, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* ---------- 通用工具 ---------- */
.container {
  margin: 0 auto;
  max-width: 1320px;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 32px;
  }
}

.serif {
  font-family: var(--font-serif);
}

.text-gold {
  color: var(--gold);
}

.text-gold-2 {
  color: var(--gold-2);
}

.text-pine {
  color: var(--pine);
}

.text-pine-2 {
  color: var(--pine-2);
}

.text-moss {
  color: var(--moss);
}

.text-ivory {
  color: var(--ivory);
}

.bg-ivory {
  background: var(--ivory);
}

.bg-pine {
  background: var(--pine);
}

.bg-pine-2 {
  background: var(--pine-2);
}

.bg-pine-3 {
  background: var(--pine-3);
}

.bg-f0ede4 {
  background: #f0ede4;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.section {
  padding: 96px 0;
}

@media (min-width: 640px) {
  .section {
    padding: 112px 0;
  }
}

.section-title {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.2;
  color: var(--pine);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.4rem;
  }
}

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  transition: background 500ms, border-color 500ms, box-shadow 500ms;
  border-bottom: 1px solid transparent;
}

.site-header.solid {
  border-bottom-color: rgba(14, 35, 28, 0.1);
  background: rgba(246, 244, 238, 0.92);
  box-shadow: 0 1px 18px rgba(14, 35, 28, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 2px;
  border: 1px solid;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 300ms, border-color 300ms;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  position: relative;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 300ms;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 300ms;
}

.header-nav a:hover::after {
  width: 100%;
}

.site-header:not(.solid) .header-nav a {
  color: var(--ivory);
}

.site-header:not(.solid) .header-nav a:hover {
  color: var(--gold-2);
}

.site-header.solid .header-nav a {
  color: var(--pine);
}

.site-header.solid .header-nav a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-link {
  display: none;
  font-size: 0.83rem;
  font-weight: 500;
  transition: color 300ms;
}

@media (min-width: 640px) {
  .header-link {
    display: block;
  }
}

.site-header:not(.solid) .header-link {
  color: var(--ivory);
}

.site-header:not(.solid) .header-link:hover {
  color: var(--gold-2);
}

.site-header.solid .header-link {
  color: var(--pine);
}

.site-header.solid .header-link:hover {
  color: var(--gold);
}

.btn-contact {
  display: none;
  border-radius: 2px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--pine);
  transition: background 300ms, color 300ms;
}

@media (min-width: 640px) {
  .btn-contact {
    display: block;
  }
}

.btn-contact:hover {
  background: var(--gold-2);
}

.menu-toggle {
  display: block;
  line-height: 0;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.site-header:not(.solid) .menu-toggle {
  color: var(--ivory);
}

.site-header.solid .menu-toggle {
  color: var(--pine);
}

/* 语言切换 */
.lang-wrap {
  position: relative;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 300ms;
}

.site-header:not(.solid) .lang-trigger {
  color: var(--ivory);
}

.site-header:not(.solid) .lang-trigger:hover {
  color: var(--gold-2);
}

.site-header.solid .lang-trigger {
  color: var(--pine);
}

.site-header.solid .lang-trigger:hover {
  color: var(--gold);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 50;
  width: 144px;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(14, 35, 28, 0.12);
  background: #fff;
  box-shadow: 0 12px 32px rgba(14, 35, 28, 0.14);
  list-style: none;
}

.lang-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  text-align: left;
  font-size: 0.85rem;
  color: var(--pine);
  transition: background 200ms;
}

.lang-menu button:hover {
  background: #f1ede3;
}

.lang-menu button.active {
  background: var(--pine);
  color: var(--ivory);
}

.lang-menu button .short {
  font-size: 0.7rem;
  opacity: 0.6;
}

/* 移动端菜单 */
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(14, 35, 28, 0.1);
  background: var(--ivory);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
}

.mobile-menu nav a {
  border-bottom: 1px solid rgba(14, 35, 28, 0.08);
  padding: 14px 0;
  font-size: 0.95rem;
  color: var(--pine);
}

.mobile-menu .mobile-cta {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.mobile-menu .mobile-cta button {
  flex: 1;
  border-radius: 2px;
  padding: 10px 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.mobile-menu .mobile-cta .btn-outline {
  border: 1px solid var(--pine);
  color: var(--pine);
}

.mobile-menu .mobile-cta .btn-gold {
  background: var(--gold);
  color: var(--pine);
}

/* ==========================================================================
   Hero 轮播
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1400ms ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 35, 28, 0.72) 0%,
    rgba(14, 35, 28, 0.46) 42%,
    rgba(14, 35, 28, 0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold-2);
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title {
  margin-top: 24px;
  max-width: 46rem;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.14;
  color: var(--ivory);
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.6rem;
  }
}

.hero-lede {
  margin-top: 24px;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(246, 244, 238, 0.82);
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

@media (min-width: 640px) {
  .hero-lede {
    font-size: 1.06rem;
  }
}

.hero-cta {
  margin-top: 36px;
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both;
}

.hero-cta button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ivory);
  transition: color 300ms;
}

.hero-cta button:hover {
  color: var(--gold-2);
}

.hero-cta .arrow {
  transition: transform 300ms;
}

.hero-cta button:hover .arrow {
  transform: translateX(6px);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(246, 244, 238, 0.65);
}

.hero-scroll .chevron {
  animation: bounce 2s infinite;
  color: var(--gold);
}

.hero-tabs {
  position: absolute;
  bottom: 28px;
  right: 24px;
  z-index: 10;
  display: none;
  gap: 10px;
}

@media (min-width: 640px) {
  .hero-tabs {
    right: 40px;
  }
}

@media (min-width: 768px) {
  .hero-tabs {
    display: flex;
  }
}

.hero-tabs button {
  height: 3px;
  transition: width 500ms;
}

.hero-tabs button.inactive {
  width: 20px;
  background: rgba(246, 244, 238, 0.4);
}

.hero-tabs button.active {
  width: 36px;
  background: var(--gold);
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ==========================================================================
   行情跑马灯
   ========================================================================== */
.ticker {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(246, 244, 238, 0.12);
  background: var(--pine);
  color: var(--ivory);
}

.ticker-label {
  flex-shrink: 0;
  z-index: 10;
  border-right: 1px solid rgba(246, 244, 238, 0.12);
  padding: 6px 16px;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold);
  background: var(--pine);
}

.ticker-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.pause-on-hover:hover .ticker-track,
.pause-on-hover:hover .feed-track {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  font-size: 0.74rem;
}

.ticker-item .name {
  font-weight: 500;
}

.ticker-item .value {
  font-variant-numeric: tabular-nums;
  color: rgba(246, 244, 238, 0.85);
}

.ticker-item .chg {
  font-variant-numeric: tabular-nums;
}

.ticker-item .chg.up {
  color: var(--up);
}

.ticker-item .chg.down {
  color: var(--down);
}

.ticker-item .none {
  color: rgba(246, 244, 238, 0.35);
}

/* ==========================================================================
   业务板块
   ========================================================================== */
.biz-header {
  margin-bottom: 56px;
}

.biz-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .biz-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.media-frame {
  display: block;
  overflow: hidden;
  border-radius: 3px;
}

.media-img {
  display: block;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.media-frame:hover .media-img {
  transform: scale(1.04);
}

.media-frame-lg:hover .media-img {
  transform: scale(1.05);
}

.biz-card h3 {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--pine);
}

.biz-card p {
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--moss);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--pine);
  transition: color 300ms;
}

.link-more:hover {
  color: var(--gold);
}

.link-more .arrow {
  transition: transform 300ms;
}

.link-more:hover .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   数据统计
   ========================================================================== */
.stats {
  position: relative;
  overflow: hidden;
  background: var(--pine);
  color: var(--ivory);
}

.stats-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(circle at 85% 20%, var(--gold) 0%, transparent 45%);
}

.stats-grid {
  position: relative;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(246, 244, 238, 0.14);
  background: rgba(246, 244, 238, 0.14);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-cell {
  background: var(--pine-2);
  padding: 48px 40px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--gold-2);
}

@media (min-width: 640px) {
  .stat-num {
    font-size: 2.8rem;
  }
}

.stat-label {
  margin-top: 16px;
  font-size: 0.95rem;
  color: rgba(246, 244, 238, 0.85);
}

.stat-sub {
  margin-top: 4px;
  font-size: 0.9rem;
  color: rgba(246, 244, 238, 0.6);
}

.stat-sub strong {
  font-weight: 600;
  color: var(--ivory);
}

.stat-tag {
  display: inline-block;
  margin-top: 24px;
  border-top: 1px solid rgba(194, 163, 107, 0.4);
  padding-top: 12px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.stats-note {
  position: relative;
  margin-top: 24px;
  font-size: 0.8rem;
  color: rgba(246, 244, 238, 0.5);
}

/* ==========================================================================
   实时动态
   ========================================================================== */
.live-head {
  margin-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.live-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.live-dot {
  position: relative;
  display: flex;
  width: 8px;
  height: 8px;
}

.live-dot .ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--up);
  opacity: 0.7;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.live-dot .core {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--up);
}

.live-sub {
  margin-top: 12px;
  max-width: 40rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--moss);
}

.live-demo-tag {
  border-radius: 999px;
  border: 1px solid rgba(14, 35, 28, 0.14);
  padding: 4px 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--moss);
  white-space: nowrap;
}

.live-cards {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .live-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .live-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.live-card {
  border-radius: 3px;
  border: 1px solid rgba(14, 35, 28, 0.1);
  background: #fff;
  padding: 24px;
}

.live-card .icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.live-card .num {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  color: var(--pine);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
  .live-card .num {
    font-size: 2.1rem;
  }
}

.live-card .num .placeholder {
  color: rgba(14, 35, 28, 0.25);
}

.live-card .label {
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--moss);
}

.live-feeds {
  margin-top: 24px;
  display: grid;
  gap: 24px;
}

@media (min-width: 1024px) {
  .live-feeds {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feed-panel {
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(14, 35, 28, 0.1);
  background: #fff;
}

.feed-panel.dark {
  background: var(--pine);
  color: var(--ivory);
  border-color: transparent;
}

.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(14, 35, 28, 0.08);
  padding: 16px 24px;
}

.feed-panel.dark .feed-head {
  border-bottom-color: rgba(246, 244, 238, 0.12);
}

.feed-title {
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pine);
}

.feed-panel.dark .feed-title {
  color: var(--gold-2);
}

.feed-meta {
  font-size: 0.7rem;
  color: var(--moss);
}

.feed-panel.dark .feed-meta {
  color: rgba(246, 244, 238, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.feed-panel.dark .feed-meta .live-tag {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

.feed-viewport {
  position: relative;
  height: 288px;
  overflow: hidden;
}

.feed-track {
  animation: feed 26s linear infinite;
}

.feed-track.slow {
  animation-duration: 30s;
}

.feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  border-bottom: 1px solid rgba(14, 35, 28, 0.06);
  padding: 0 24px;
}

.feed-panel.dark .feed-row {
  border-bottom-color: rgba(246, 244, 238, 0.08);
}

.feed-row.placeholder {
  font-size: 0.85rem;
  color: rgba(14, 35, 28, 0.3);
}

.feed-panel.dark .feed-row.placeholder {
  color: rgba(246, 244, 238, 0.3);
}

.feed-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0ede4;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--pine-2);
}

.feed-panel.dark .feed-avatar {
  border-radius: 2px;
  border: 1px solid rgba(194, 163, 107, 0.4);
  background: var(--pine-3);
  color: var(--gold-2);
}

.feed-city {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--pine);
}

.feed-city .region {
  font-size: 0.76rem;
  color: var(--moss);
}

.feed-panel.dark .feed-city {
  color: var(--ivory);
}

.feed-panel.dark .feed-city .region {
  color: rgba(246, 244, 238, 0.6);
}

.feed-time {
  font-size: 0.76rem;
  color: var(--moss);
  white-space: nowrap;
}

.feed-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 56px;
  pointer-events: none;
  background: linear-gradient(to top, #fff, transparent);
}

.feed-panel.dark .feed-fade {
  background: linear-gradient(to top, var(--pine), transparent);
}

.feed-deal-client {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.feed-deal-name {
  font-size: 0.85rem;
}

.feed-deal-name .status {
  margin-left: 8px;
  font-size: 0.74rem;
  color: rgba(246, 244, 238, 0.6);
}

.feed-deal-amount {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gold-2);
}

/* ==========================================================================
   洞察
   ========================================================================== */
.insights-head {
  margin-bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.insights-grid {
  display: grid;
  gap: 48px 32px;
}

@media (min-width: 640px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.insight-card h3 {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--pine);
}

.insight-card p {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--moss);
}

/* ==========================================================================
   关于我们
   ========================================================================== */
.about-grid {
  display: grid;
  align-items: center;
  gap: 48px;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
  }
}

.about-img {
  aspect-ratio: 5 / 4;
  background-size: cover;
  background-position: center;
}

.about-body .section-title {
  line-height: 1.2;
}

.about-body p {
  margin-top: 24px;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--moss);
}

.about-body p + p {
  margin-top: 16px;
}

/* ==========================================================================
   新闻轮播
   ========================================================================== */
.news-head {
  margin-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.news-carousel {
  overflow: hidden;
}

.news-track {
  display: flex;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card {
  flex-shrink: 0;
  width: calc((100% - 48px) / 3);
}

@media (max-width: 1023px) {
  .news-card {
    width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 767px) {
  .news-card {
    width: 100%;
  }
}

.news-card h3 {
  margin-top: 12px;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--pine);
}

.news-tag {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.news-date {
  display: block;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--moss);
}

.news-controls {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.news-count {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: var(--moss);
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--pine);
  color: var(--pine);
  transition: background 300ms, color 300ms;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--pine);
  color: var(--ivory);
}

.carousel-btn:disabled {
  cursor: default;
  border-color: rgba(14, 35, 28, 0.18);
  color: rgba(14, 35, 28, 0.25);
}

.carousel-btn svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   交易列表
   ========================================================================== */
.deals-head {
  margin-bottom: 48px;
}

.deals-list {
  border-top: 1px solid rgba(246, 244, 238, 0.14);
}

.deal-row {
  display: grid;
  grid-template-columns: 3.2rem 3.4rem 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
  border-bottom: 1px solid rgba(246, 244, 238, 0.12);
  padding: 20px 0;
  text-align: left;
  transition: background 200ms;
}

.deal-row:hover {
  background: var(--pine-3);
}

@media (min-width: 640px) {
  .deal-row {
    grid-template-columns: 4rem 4.2rem 1fr 9rem;
    gap: 24px;
    padding: 20px 12px;
  }
}

.deal-year {
  font-size: 0.82rem;
  color: rgba(246, 244, 238, 0.55);
}

.deal-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  border: 1px solid rgba(194, 163, 107, 0.42);
  background: var(--pine-2);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-2);
  transition: border-color 300ms;
}

.deal-row:hover .deal-monogram {
  border-color: var(--gold);
}

@media (min-width: 640px) {
  .deal-monogram {
    width: 48px;
    height: 48px;
  }
}

.deal-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(246, 244, 238, 0.82);
  transition: color 200ms;
}

.deal-row:hover .deal-desc {
  color: var(--ivory);
}

@media (min-width: 640px) {
  .deal-desc {
    font-size: 0.95rem;
  }
}

.deal-value {
  display: none;
  text-align: right;
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gold-2);
}

@media (min-width: 640px) {
  .deal-value {
    display: block;
  }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(246, 244, 238, 0.12);
  background: #0a1a14;
  color: var(--ivory);
}

.footer-grid {
  display: grid;
  gap: 48px;
  padding: 72px 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  border: 1px solid rgba(194, 163, 107, 0.45);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-2);
}

.footer-brand-name {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ivory);
}

.footer-tagline {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(246, 244, 238, 0.58);
}

.footer-col h4 {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.footer-col ul {
  list-style: none;
  margin-top: 16px;
}

.footer-col button {
  display: block;
  padding: 6px 0;
  font-size: 0.86rem;
  color: rgba(246, 244, 238, 0.68);
  transition: color 200ms;
}

.footer-col button:hover {
  color: var(--gold-2);
}

.footer-bottom {
  border-top: 1px solid rgba(246, 244, 238, 0.1);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
  font-size: 0.76rem;
  color: rgba(246, 244, 238, 0.5);
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ==========================================================================
   弹窗
   ========================================================================== */
.dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
}

.dialog-overlay.open {
  display: flex;
}

.dialog {
  position: relative;
  width: 100%;
  max-width: calc(100% - 2rem);
  border-radius: 3px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(14, 35, 28, 0.18);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}

.dialog-lg {
  max-width: 36rem;
}

.dialog-md {
  max-width: 32rem;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  color: var(--moss);
  opacity: 0.7;
  transition: opacity 200ms;
}

.dialog-close:hover {
  opacity: 1;
}

.dialog-close svg {
  width: 16px;
  height: 16px;
}

.dialog-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.dialog-title {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--pine);
}

.dialog-body {
  margin-top: 16px;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--moss);
}

.dialog-form {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-size: 0.8rem;
  color: var(--pine);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--input);
  border-radius: 2px;
  background: #fff;
  padding: 9px 12px;
  font-size: 0.95rem;
  color: var(--pine);
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 163, 107, 0.2);
}

.form-field textarea {
  resize: vertical;
  min-height: 72px;
}

.form-error {
  font-size: 0.78rem;
  color: var(--down);
}

.btn-submit {
  width: 100%;
  border-radius: 2px;
  background: var(--pine);
  color: var(--ivory);
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 200ms;
}

.btn-submit:hover {
  background: var(--pine-3);
}

.dialog-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
  text-align: center;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--ivory);
}

.success-icon svg {
  width: 24px;
  height: 24px;
}

.dialog-success .title {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--pine);
}

.dialog-success .sub {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--moss);
}

.btn-dialog {
  margin-top: 24px;
  border-radius: 2px;
  background: var(--pine);
  color: var(--ivory);
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 200ms;
}

.btn-dialog:hover {
  background: var(--pine-3);
}

/* ==========================================================================
   动画关键帧
   ========================================================================== */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes feed {
  0%, 10% {
    transform: translateY(0);
  }
  18%, 28% {
    transform: translateY(-8.333%);
  }
  36%, 46% {
    transform: translateY(-16.667%);
  }
  54%, 64% {
    transform: translateY(-25%);
  }
  72%, 82% {
    transform: translateY(-33.333%);
  }
  90%, 96% {
    transform: translateY(-41.667%);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.72);
  }
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  80%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }
}
