/* taste deal: paper-grey-brass + system CJK + soft · service / workshop
   body comment: nav-centre · footer-statement · close-type · surface-pairs · solid · wordmark */

:root {
  --p-bg: #e8e8e3;
  --p-surface: #f3f3ee;
  --p-ink: #181715;
  --p-muted: #5c5b56;
  --p-accent: #bfb21a;
  --p-accent-ink: #181715;
  --p-action: #181715;
  --p-action-ink: #e8e8e3;
  --p-inv-bg: #181715;
  --p-inv-surface: #242321;
  --p-inv-ink: #e8e8e3;
  --p-inv-muted: #91908d;
  --p-inv-accent: #bfb21a;
  --p-line: rgba(24, 23, 21, 0.1);

  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui,
    sans-serif;
  --font-text: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui,
    sans-serif;
  --display-weight: 500;
  --display-tracking: -0.025em;
  --display-tracking-xl: -0.035em;

  --wrap: 1120px;
  --nav-h: 68px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-text);
  color: var(--p-muted);
  background: var(--p-bg);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--p-ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-enter] {
    opacity: 1 !important;
    transform: none !important;
  }
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

/* —— skip —— */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--p-ink);
  color: var(--p-action-ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.skip-link:focus {
  top: 12px;
}

/* —— header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(232, 232, 227, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--p-line);
}

.site-header__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img {
  height: 34px;
  width: auto;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--p-ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav a:hover {
  background: rgba(24, 23, 21, 0.06);
}

.nav a.is-active {
  background: var(--p-ink);
  color: var(--p-action-ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.header-actions a:not(.btn) {
  font-size: 13px;
  font-weight: 500;
  color: var(--p-muted);
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.header-actions a:not(.btn):hover,
.header-actions a:not(.btn).is-active {
  color: var(--p-ink);
  background: rgba(24, 23, 21, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 500;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease);
}

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

.btn:active {
  transform: translateY(1px);
}

.btn--solid {
  background: var(--p-action);
  color: var(--p-action-ink);
}

.btn--solid:hover {
  background: #2c2a27;
  color: var(--p-action-ink);
}

.btn--ghost {
  background: transparent;
  color: var(--p-ink);
  border: 1px solid var(--p-line);
}

.btn--ghost:hover {
  background: rgba(24, 23, 21, 0.05);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--p-line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--p-ink);
}

/* —— sections —— */
.main {
  padding: 0;
}

.section {
  padding: 24px 0 40px;
}

.section--tight {
  padding: 20px 0 36px;
}

.section--band {
  background: transparent;
  border-block: none;
}

.section--ink {
  background: var(--p-inv-bg);
  color: var(--p-inv-muted);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  color: var(--p-ink);
  position: relative;
  padding-bottom: 10px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--p-accent);
}

.section--ink .section-head h2 {
  color: var(--p-inv-ink);
}

.link-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
  color: var(--p-muted);
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: color 0.2s var(--ease), background-size 0.25s var(--ease);
}

.link-more:hover {
  color: var(--p-ink);
  background-size: 100% 1px;
}

.section--ink .link-more {
  color: var(--p-inv-muted);
}

.section--ink .link-more:hover {
  color: var(--p-inv-accent);
}

/* —— layout grid —— */
.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: start;
}

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

.rail {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.rail-panel {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--p-line);
  margin-bottom: 28px;
}

.rail-panel:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.rail-panel__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--p-ink);
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rank-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 8px;
  margin: 0 -8px;
  border-radius: var(--radius);
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}

.rank-item:hover {
  background: rgba(24, 23, 21, 0.05);
  transform: translateY(-2px);
}

.rank-item__no {
  flex: 0 0 1.4em;
  font-size: 14px;
  font-weight: 600;
  color: var(--p-muted);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.rank-item:nth-child(-n + 3) .rank-item__no {
  color: var(--p-accent);
}

.rank-item__title {
  flex: 1;
  font-size: 14px;
  line-height: 1.45;
  color: var(--p-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— hero feature —— */
.hero-screen {
  min-height: 0;
  display: block;
  padding: 16px 0 0;
}

.feature {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  width: 100%;
  min-height: 340px;
  border-radius: 0;
  overflow: hidden;
  background: var(--p-inv-bg);
  color: var(--p-inv-ink);
  border: 1px solid var(--p-ink);
}

.feature[data-enter] {
  animation: enter 0.7s var(--ease) both;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.feature__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--p-inv-surface);
}

.feature__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 380px;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.feature:hover .feature__media img {
  transform: scale(1.03);
}

.feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
}

.feature__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p-inv-accent);
}

.feature__eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

.feature__body h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking-xl);
  line-height: 1.25;
  color: var(--p-inv-ink);
  max-width: 16em;
}

.feature__body p {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--p-inv-muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 34em;
}

.feature__more {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 500;
  color: var(--p-inv-ink);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--p-inv-accent), var(--p-inv-accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  transition: color 0.2s var(--ease), background-size 0.25s var(--ease);
}

.feature:hover .feature__more {
  color: var(--p-inv-accent);
  background-size: 40% 1px;
}

/* —— category strip（文字斜线，非胶囊） —— */
.cat-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--p-line);
  font-size: 13px;
}

.cat-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 2px;
  color: var(--p-muted);
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.cat-strip a:hover {
  color: var(--p-ink);
}

.cat-strip a + a::before {
  content: "/";
  margin: 0 10px 0 8px;
  color: rgba(24, 23, 21, 0.28);
  pointer-events: none;
}

/* —— 首页编辑板：主条 + 序号栈 + 双列续读 —— */
.board {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0 28px;
  align-items: stretch;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--p-line);
}

.board-lead {
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
  padding-right: 28px;
  border-right: 1px solid var(--p-line);
  color: inherit;
  transition: opacity 0.2s var(--ease);
  align-content: start;
}

.board-lead:hover {
  opacity: 0.88;
}

.board-lead__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d0cec6;
  border: 1px solid var(--p-line);
}

.board-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.board-lead:hover .board-lead__media img {
  transform: scale(1.03);
}

.board-lead__meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--p-muted);
}

.board-lead__meta .tag {
  color: var(--p-accent-ink);
  background: var(--p-accent);
  padding: 2px 8px;
  font-size: 11px;
}

.board-lead__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  line-height: 1.3;
  color: var(--p-ink);
}

.board-lead__summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--p-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.board-stack {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.board-item {
  display: grid;
  grid-template-columns: 2.2em minmax(0, 1fr);
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid var(--p-line);
  color: inherit;
  transition: background 0.15s var(--ease);
}

.board-item:first-child {
  padding-top: 0;
}

.board-item:last-child {
  border-bottom: none;
}

.board-item:hover {
  background: rgba(24, 23, 21, 0.03);
}

.board-item__no {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  line-height: 1.2;
  color: var(--p-accent);
  font-variant-numeric: tabular-nums;
}

.board-item__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  line-height: 1.4;
  color: var(--p-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stream-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 16px;
}

.stream-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  color: var(--p-ink);
}

.stream-head__hint {
  font-size: 12px;
  color: var(--p-muted);
}

.stream {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.stream-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--p-line);
  align-items: center;
  color: inherit;
  transition: background 0.15s var(--ease);
}

.stream-item:hover {
  background: rgba(24, 23, 21, 0.03);
}

.stream-item__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d0cec6;
  border: 1px solid var(--p-line);
}

.stream-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.stream-item:hover .stream-item__thumb img {
  transform: scale(1.03);
}

.stream-item__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stream-item__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  line-height: 1.35;
  color: var(--p-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stream-item__summary {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--p-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stream-item__meta {
  font-size: 12px;
  color: var(--p-muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.board-item__meta {
  font-size: 12px;
  color: var(--p-muted);
  display: flex;
  gap: 10px;
}

/* 兼容旧类名（列表页等仍可用） */
.article-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.story-card {
  display: none;
}

/* —— type moment —— */
.moment-type {
  padding: 48px 0;
  text-align: left;
  margin-top: 8px;
}

.moment-type__kicker {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--p-inv-accent);
}

.moment-type__word {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: var(--display-tracking-xl);
  line-height: 0.95;
  color: var(--p-inv-ink);
  max-width: 10em;
}

.moment-type__line {
  margin: 22px 0 0;
  max-width: 28em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--p-inv-muted);
}

/* —— article rows —— */
.article-list {
  display: flex;
  flex-direction: column;
}

.article-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--p-line);
  align-items: center;
  transition: background 0.15s var(--ease);
}

.article-row:first-child {
  padding-top: 0;
}

.article-row:hover {
  background: rgba(24, 23, 21, 0.03);
}

.article-row__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  overflow: hidden;
  background: #d9d6cc;
  border: 1px solid var(--p-line);
}

.article-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.article-row:hover .article-row__thumb img {
  transform: scale(1.03);
}

.article-row__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-row__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  color: var(--p-ink);
  line-height: 1.35;
}

.article-row__summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--p-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-row__meta {
  font-size: 12px;
  color: var(--p-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.article-row__tag {
  color: var(--p-ink);
  font-weight: 600;
}

.news-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--p-muted);
}

/* —— page hero —— */
.page-hero {
  padding: 28px 0 20px;
  animation: enter 0.55s var(--ease) both;
  border-bottom: 1px solid var(--p-line);
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p-accent);
}

.page-hero__eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: currentColor;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking-xl);
  color: var(--p-ink);
  max-width: 16em;
  line-height: 1.2;
}

.page-hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--p-muted);
  max-width: 38em;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--p-muted);
}

.crumb a {
  color: var(--p-muted);
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: color 0.2s var(--ease), background-size 0.25s var(--ease);
}

.crumb a:hover {
  color: var(--p-ink);
  background-size: 100% 1px;
}

.crumb__sep {
  opacity: 0.4;
}

/* —— 关于页 —— */
.about-banner {
  padding: 40px 0 36px;
}

.about-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: end;
}

.about-banner__copy h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking-xl);
  line-height: 1.2;
  color: var(--p-inv-ink);
  max-width: 12em;
}

.about-banner__copy p {
  margin: 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--p-inv-muted);
}

.page-hero__eyebrow--inv {
  color: var(--p-inv-accent);
}

.about-banner__mark {
  border-left: 1px solid rgba(232, 232, 227, 0.18);
  padding-left: 28px;
  min-height: 140px;
  display: flex;
  align-items: flex-end;
}

.about-banner__mark span {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: var(--display-tracking-xl);
  line-height: 1;
  color: var(--p-inv-ink);
}

.about-body {
  padding-top: 36px;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr);
  gap: 40px;
  align-items: start;
}

.about-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--p-muted);
}

.prose--lead {
  font-size: 16px;
  max-width: 42em;
}

.audience-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--p-line);
}

.audience-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--p-line);
  font-size: 14px;
  color: var(--p-ink);
  font-weight: 500;
}

.about-focus {
  padding-top: 8px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--p-line);
}

.focus-card {
  padding: 22px 20px 8px 0;
  border-right: 1px solid var(--p-line);
  min-height: 160px;
}

.focus-card:last-child {
  border-right: none;
  padding-right: 0;
}

.focus-card__no {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--p-accent);
  letter-spacing: var(--display-tracking);
}

.focus-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--p-ink);
}

.focus-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--p-muted);
}

.about-cta {
  padding-top: 8px;
  padding-bottom: 48px;
}

.about-cta__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0 0;
  border-top: 1px solid var(--p-line);
}

.about-cta__inner h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--p-ink);
  letter-spacing: var(--display-tracking);
}

.about-cta__inner p {
  margin: 0;
  max-width: 36em;
  font-size: 14px;
  color: var(--p-muted);
  line-height: 1.65;
}

.about-cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

/* —— 联系页 —— */
.page-hero--contact {
  padding-bottom: 24px;
}

.contact-body {
  padding-top: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 40px;
  align-items: start;
}

.contact-panel {
  border-top: 1px solid var(--p-ink);
}

.contact-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--p-line);
  color: inherit;
}

a.contact-row {
  transition: background 0.15s var(--ease);
}

a.contact-row:hover {
  background: rgba(24, 23, 21, 0.03);
}

.contact-row--primary .contact-row__value {
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--p-ink);
}

.contact-row__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p-muted);
}

.contact-row__value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--p-ink);
  line-height: 1.4;
  word-break: break-word;
}

.contact-row__action {
  font-size: 13px;
  font-weight: 500;
  color: var(--p-ink);
  border-bottom: 1px solid var(--p-accent);
  padding-bottom: 2px;
}

.contact-notes {
  padding: 4px 0 0;
}

.note-steps {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: note;
  border-top: 1px solid var(--p-line);
}

.note-steps li {
  counter-increment: note;
  display: grid;
  grid-template-columns: 2em minmax(0, 1fr);
  column-gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--p-line);
}

.note-steps li::before {
  content: counter(note, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--p-accent);
  grid-row: 1 / span 2;
}

.note-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--p-ink);
  grid-column: 2;
}

.note-steps span {
  font-size: 13px;
  line-height: 1.55;
  color: var(--p-muted);
  grid-column: 2;
}

.contact-notes__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tip-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tip-list li {
  position: relative;
  padding: 12px 0 12px 16px;
  border-bottom: 1px solid var(--p-line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--p-muted);
}

.tip-list li:last-child {
  border-bottom: none;
}

.tip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-accent);
}

.related-list .article-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 12px 0;
}

.related-list .article-row__thumb {
  display: none;
}

.related-list .article-row__title {
  font-size: 14px;
}

.related-list .article-row__summary {
  display: none;
}

.pager {
  display: flex;
  gap: 8px;
  margin: 28px 0 0;
  flex-wrap: wrap;
}

.pager button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--p-line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  color: var(--p-ink);
  transition: transform 0.15s var(--ease), background 0.2s var(--ease);
}

.pager button:hover {
  transform: translateY(-2px);
  background: rgba(24, 23, 21, 0.05);
}

.pager button.is-active {
  background: var(--p-action);
  color: var(--p-action-ink);
  border-color: var(--p-action);
}

/* —— detail —— */
.detail h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking-xl);
  color: var(--p-ink);
  line-height: 1.25;
  max-width: 16em;
}

.detail__meta {
  font-size: 13px;
  color: var(--p-muted);
  margin-bottom: 28px;
}

.detail__cover {
  margin-bottom: 28px;
  border-radius: 0;
  overflow: hidden;
  background: #d9d6cc;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--p-line);
}

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

.detail__body,
.prose {
  font-size: 17px;
  line-height: 1.85;
  color: var(--p-ink);
  max-width: 40em;
  overflow-wrap: anywhere;
}

.prose {
  font-size: 16px;
}

.detail__body > *:first-child,
.prose > *:first-child {
  margin-top: 0;
}

.detail__body > *:last-child,
.prose > *:last-child {
  margin-bottom: 0;
}

.detail__body p,
.prose p {
  margin: 0 0 1.1em;
}

.detail__body h2,
.detail__body h3,
.detail__body h4,
.prose h2,
.prose h3,
.prose h4 {
  margin: 1.5em 0 0.65em;
  font-family: var(--font-display);
  color: var(--p-ink);
  line-height: 1.35;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
}

.detail__body h2,
.prose h2 {
  font-size: 1.35rem;
}

.detail__body h3,
.prose h3 {
  font-size: 1.18rem;
}

.detail__body h4,
.prose h4 {
  font-size: 1.05rem;
}

.detail__body ul,
.detail__body ol,
.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
}

.detail__body li,
.prose li {
  margin: 0.35em 0;
}

.detail__body a,
.prose a {
  color: var(--p-ink);
  text-decoration: underline;
  text-decoration-color: var(--p-accent);
  text-underline-offset: 0.15em;
}

.detail__body img,
.detail__body video,
.prose img,
.prose video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.1em 0;
  border-radius: var(--radius);
}

.detail__body blockquote,
.prose blockquote {
  margin: 1.1em 0;
  padding: 0.85em 1em;
  border-left: 3px solid var(--p-accent);
  background: rgba(24, 23, 21, 0.04);
  color: var(--p-muted);
}

.detail__body table,
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.1em 0;
  font-size: 0.95rem;
}

.detail__body th,
.detail__body td,
.prose th,
.prose td {
  border: 1px solid var(--p-line);
  padding: 0.55em 0.7em;
  text-align: left;
}

.detail__body th,
.prose th {
  background: rgba(24, 23, 21, 0.04);
}

.detail__body pre,
.detail__body code,
.prose pre,
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.detail__body pre,
.prose pre {
  overflow: auto;
  padding: 0.9em 1em;
  margin: 1.1em 0;
  background: rgba(24, 23, 21, 0.04);
  border-radius: var(--radius);
}

.detail__body strong,
.prose strong {
  font-weight: 700;
}

.detail__back {
  display: inline-block;
  margin-top: 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--p-ink);
  background-image: linear-gradient(var(--p-accent), var(--p-accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  transition: background-size 0.25s var(--ease);
}

.detail__back:hover {
  background-size: 40% 1px;
}

/* —— form —— */
.form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--p-muted);
}

.form input,
.form textarea {
  font: inherit;
  padding: 14px 16px;
  border: 1px solid var(--p-line);
  border-radius: var(--radius);
  color: var(--p-ink);
  background: var(--p-surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--p-ink);
  box-shadow: 0 0 0 3px rgba(24, 23, 21, 0.08);
}

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

.form button {
  align-self: flex-start;
}

.form-msg {
  font-size: 13px;
  color: var(--p-muted);
}

.form-msg.is-ok {
  color: #1f7a4c;
}

.form-msg.is-err {
  color: #b42318;
}

/* —— footer —— */
.site-footer {
  background: var(--p-inv-bg);
  color: var(--p-inv-muted);
  padding: 64px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  color: var(--p-inv-ink);
}

.site-footer [data-site-desc] {
  max-width: 32em;
  line-height: 1.7;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p-inv-ink);
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 0;
  color: var(--p-inv-muted);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--p-inv-accent);
}

.friend-links a {
  display: inline-block;
  margin-right: 14px;
}

.footer-bottom {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(232, 232, 227, 0.12);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--p-inv-muted);
}

/* —— responsive —— */
@media (max-width: 960px) {
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    justify-content: flex-start;
    background: var(--p-bg);
    border-bottom: 1px solid var(--p-line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    overflow: visible;
  }

  .nav.is-open {
    display: flex;
  }

  .header-actions .hide-sm {
    display: none;
  }

  .hero-screen {
    min-height: 0;
    padding: 12px 0 0;
  }

  .feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .feature__media,
  .feature__media img {
    min-height: 200px;
    max-height: 240px;
  }

  .main-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rail {
    position: static;
  }

  .board {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .board-lead {
    padding-right: 0;
    border-right: none;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--p-line);
  }

  .stream {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stream-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .article-row {
    grid-template-columns: 1fr;
  }

  .article-row__thumb {
    max-width: 200px;
  }

  .footer-grid,
  .about-banner__inner,
  .about-split,
  .focus-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-banner__mark {
    border-left: none;
    border-top: 1px solid rgba(232, 232, 227, 0.18);
    padding-left: 0;
    padding-top: 20px;
    min-height: 0;
  }

  .focus-card {
    border-right: none;
    border-bottom: 1px solid var(--p-line);
    padding: 20px 0;
    min-height: 0;
  }

  .focus-card:last-child {
    border-bottom: none;
  }

  .about-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .contact-row__action {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .section {
    padding: 40px 0;
  }

  .moment-type {
    padding: 48px 0;
  }
}

@media (max-width: 390px) {
  .btn,
  .pager button,
  .cat-strip a,
  .header-actions a:not(.btn) {
    min-height: 44px;
  }

  .page-hero h1 {
    font-size: 28px;
  }
}
