:root {
  --ink: #252126;
  --muted: #746d75;
  --paper: #f7f3ef;
  --white: #fffdfb;
  --plum: #6f3154;
  --plum-dark: #50203d;
  --peach: #d88968;
  --line: #dfd8d4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ===== TOPBAR ===== */
.topbar {
  height: 82px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(111, 49, 84, .12);
  background: rgba(247, 243, 239, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--plum); color: white;
  font: 700 20px/1 Georgia, serif;
  flex-shrink: 0;
}
.brand-text strong { display: block; font: 700 12px/1.2 Arial, sans-serif; letter-spacing: .16em; }
.brand-text small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.brand span:not(.brand-mark) { display: block; }
.topbar nav { display: flex; gap: 36px; font-size: 13px; }
.topbar nav a { position: relative; transition: color .2s; }
.topbar nav a::after {
  content: ""; position: absolute; left: 0; right: 100%;
  bottom: -8px; height: 2px; background: var(--plum); transition: .25s;
}
.topbar nav a:hover::after { right: 0; }
.sync-state { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.sync-state i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5e9a73; box-shadow: 0 0 0 4px rgba(94,154,115,.12);
  display: inline-block;
}

/* ===== HERO ===== */
.hero {
  min-height: 600px;
  padding: 90px clamp(24px, 7vw, 110px) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr);
  align-items: center;
  gap: 68px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 42%, rgba(216,137,104,.16), transparent 27%),
    linear-gradient(120deg, #fbf8f5 0%, #f5eeec 100%);
}
.eyebrow { color: var(--plum); font: 700 11px/1.2 Arial, sans-serif; letter-spacing: .2em; margin-bottom: 20px; }
.hero h1 { font-size: clamp(48px, 5.7vw, 82px); line-height: 1.08; letter-spacing: -.055em; font-weight: 650; }
.hero h1 em { color: var(--plum); font-family: "Songti SC", "SimSun", serif; font-weight: 400; font-style: normal; }
.hero-description { max-width: 590px; margin: 30px 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.hero-meta strong { color: var(--ink); }
.verified { padding: 5px 10px; color: #437553; background: #e5f1e8; border-radius: 999px; font-size: 11px; }

.hero-visual { min-height: 420px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(111,49,84,.18); border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 295px; height: 295px; border-style: dashed; animation: spin 28s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.month-seal {
  width: 220px; height: 260px; padding: 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 110px 110px 28px 28px;
  color: white; background: linear-gradient(155deg, var(--plum), #3c172f);
  box-shadow: 0 32px 80px rgba(80,32,61,.28);
  position: relative; z-index: 2;
}
.month-seal small { font: 700 10px/1 Arial; letter-spacing: .28em; opacity: .65; }
.month-seal strong { font: 400 98px/.95 Georgia, serif; letter-spacing: -.08em; }
.month-seal span { font: 700 9px/1.45 Arial; letter-spacing: .2em; text-align: center; opacity: .75; }
.floating-note {
  position: absolute; z-index: 3; min-width: 108px; padding: 14px 18px;
  border: 1px solid rgba(111,49,84,.1); border-radius: 16px;
  background: rgba(255,253,251,.9); box-shadow: 0 16px 36px rgba(73,46,61,.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: baseline; gap: 7px;
}
.floating-note b { font: 400 32px/1 Georgia, serif; color: var(--plum); }
.floating-note span { font-size: 11px; color: var(--muted); }
.note-one { left: 0; top: 84px; }
.note-two { right: 0; top: 150px; }
.note-three { left: 52px; bottom: 50px; }

/* ===== SECTIONS ===== */
.section { padding: 90px clamp(24px, 7vw, 110px); }
.section-heading {
  margin-bottom: 38px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -.04em; }
.section-heading > p { color: var(--muted); font-size: 12px; margin-bottom: 5px; }

/* ===== KPI ===== */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr .72fr; gap: 18px; }
.kpi-card, .summary-card { min-height: 260px; padding: 30px; border-radius: 24px; }
.kpi-card { color: white; display: flex; flex-direction: column; }
.kpi-card.primary { background: linear-gradient(145deg, #713455, #482038); }
.kpi-card.warm { background: linear-gradient(145deg, #ce7b5e, #a95047); }
.kpi-top { display: flex; align-items: center; justify-content: space-between; }
.kpi-top span { font-weight: 600; }
.kpi-top b { font: 400 22px/1 Georgia, serif; }
.kpi-value { margin: auto 0 26px; display: flex; align-items: baseline; gap: 10px; }
.kpi-value strong { font: 400 72px/.9 Georgia, serif; }
.kpi-value span { opacity: .68; }
.progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,.2); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: white; transition: width .6s ease; }
.kpi-card footer { margin-top: 14px; font-size: 11px; opacity: .72; display: flex; align-items: center; justify-content: space-between; }

.summary-card { background: var(--white); border: 1px solid var(--line); }
.summary-card > p { color: var(--muted); font-size: 12px; margin-bottom: 28px; }
.summary-card .summary-row {
  margin: 10px 0; display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid #eee7e4; padding-bottom: 10px;
}
.summary-card strong { font: 400 34px/1 Georgia, serif; color: var(--plum); }
.summary-card span { color: var(--muted); font-size: 11px; }
.summary-card small { display: block; margin-top: 24px; color: var(--muted); font-size: 11px; }

/* ===== PROJECTS ===== */
.projects { background: #eee8e4; }
.project-heading { align-items: center; }
.filters {
  padding: 5px; display: flex; gap: 4px;
  border: 1px solid #d8cfca; border-radius: 999px; background: rgba(255,255,255,.6);
}
.filters button {
  border: 0; padding: 9px 15px; border-radius: 999px;
  color: var(--muted); background: transparent; font-size: 12px;
  transition: all .2s;
}
.filters button:hover { color: var(--ink); }
.filters button.active { color: white; background: var(--plum); }

.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(225px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.board::-webkit-scrollbar { height: 6px; }
.board::-webkit-scrollbar-thumb { background: rgba(111,49,84,.2); border-radius: 999px; }
.board-column { min-width: 225px; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.48); }
.board-column header {
  padding: 4px 4px 16px; display: flex; align-items: center; justify-content: space-between;
}
.board-column h3 { font-size: 14px; font-weight: 600; }
.board-column header span {
  width: 25px; height: 25px; display: grid; place-items: center;
  border-radius: 50%; background: white; color: var(--muted); font-size: 11px;
}
.card-stack { display: grid; gap: 10px; }
.project-card {
  padding: 20px; min-height: 184px; border-radius: 15px;
  background: var(--white); border-top: 3px solid var(--plum);
  box-shadow: 0 6px 18px rgba(58,40,50,.05);
  transition: transform .2s, box-shadow .2s;
}
.project-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(58,40,50,.1); }
.project-card.peach { border-top-color: var(--peach); }
.project-card.blue { border-top-color: #6b8099; }
.project-card.green { border-top-color: #62876d; }
.project-type { font-size: 10px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.project-card h4 { margin: 12px 0 10px; font-size: 16px; font-weight: 600; }
.project-card p { min-height: 52px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.project-card footer {
  margin-top: 15px; padding-top: 13px; border-top: 1px solid #eee8e5;
  display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px;
}
.project-card footer i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--plum);
  display: inline-block; flex-shrink: 0;
}
.empty { padding: 24px 8px; color: var(--muted); font-size: 11px; text-align: center; }

/* ===== UPDATES ===== */
.updates { background: var(--white); }
.timeline { max-width: 980px; }
.update-row { display: grid; grid-template-columns: 78px 32px 1fr; gap: 18px; }
.date-block { padding-top: 4px; }
.date-block strong { display: block; font: 400 23px/1 Georgia, serif; color: var(--plum); }
.date-block span { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.timeline-line { position: relative; display: flex; justify-content: center; }
.timeline-line::before {
  content: ""; position: absolute; top: 9px; bottom: -10px;
  width: 1px; background: var(--line);
}
.update-row:last-child .timeline-line::before { bottom: 70%; }
.timeline-line i {
  margin-top: 6px; width: 9px; height: 9px; border-radius: 50%;
  background: #b9afb5; z-index: 1; display: block;
}
.timeline-line i.current { background: var(--plum); box-shadow: 0 0 0 6px rgba(111,49,84,.12); }
.update-content { padding: 0 0 42px; }
.update-content h3 { font-size: 17px; margin-bottom: 10px; }
.update-content p { max-width: 800px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.tags { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { padding: 6px 10px; border-radius: 999px; color: var(--plum); background: #f4ecef; font-size: 10px; }

/* ===== FOOTER ===== */
.page-footer {
  padding: 34px clamp(24px, 7vw, 110px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  color: var(--muted); background: #272127; font-size: 11px;
}
.page-footer div { display: flex; align-items: center; gap: 10px; color: white; }
.brand-mark.small { width: 27px; height: 27px; font-size: 14px; background: white; color: var(--plum); }
.page-footer a { color: white; white-space: nowrap; }
.page-footer p { flex: 1; }

/* ===== TABLET ===== */
@media (max-width: 980px) {
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-meta { justify-content: center; }
  .hero-visual { min-height: 390px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .summary-card { grid-column: 1 / -1; min-height: auto; }
  .summary-card .summary-row { display: inline-flex; width: 48%; margin-right: 1%; }
  .board { grid-template-columns: repeat(4, 280px); }
}

/* ===== MOBILE ===== */
@media (max-width: 640px) {
  .topbar { height: 68px; padding: 0 18px; }
  .sync-state { font-size: 0; }
  .sync-state::after { content: "18:00 更新"; font-size: 10px; }
  .brand-mark { width: 34px; height: 34px; font-size: 17px; }
  .hero { padding: 58px 22px 56px; gap: 30px; min-height: auto; }
  .hero h1 { font-size: 42px; }
  .hero-description { font-size: 14px; }
  .hero-meta { flex-wrap: wrap; }
  .hero-visual { min-height: 330px; transform: scale(.86); margin: -20px -30px; }
  .section { padding: 64px 22px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading > p { line-height: 1.6; }
  .kpi-grid { grid-template-columns: 1fr; }
  .summary-card { grid-column: auto; }
  .summary-card .summary-row { width: 100%; margin-right: 0; }
  .project-heading { align-items: flex-start; }
  .filters { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .filters button { flex: 0 0 auto; }
  .board { margin-right: -22px; grid-template-columns: repeat(4, 82vw); }
  .update-row { grid-template-columns: 60px 24px 1fr; gap: 10px; }
  .date-block strong { font-size: 19px; }
  .page-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit-two { animation: none; }
  .project-card { transition: none; }
}
