/* 首页专属布局和排版样式。 */
header.site { border-bottom: none; }

.hero {
  min-height: calc(100vh - 60px);
  min-height: calc(100svh - 60px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  padding: 48px 0 120px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 700; line-height: 1.3; letter-spacing: 1px;
  text-wrap: balance;
  background: linear-gradient(115deg, var(--ink) 45%, var(--accent) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.hero p {
  margin-top: 20px; color: var(--muted); font-size: 16px;
  animation: rise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.12s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 36px;
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: cue 2.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.85; }
}

section { padding: 0; }
h2 {
  font-size: 13px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.sec-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 10px; position: relative; }
.sec-head h2 { margin-bottom: 0; }
.sec-head .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.sec-head .ghost {
  position: absolute;
  left: -6px;
  bottom: -20px;
  font-size: clamp(56px, 8vw, 76px);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--ink);
  opacity: 0.07;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.sec-head h2, .sec-head .rule { position: relative; z-index: 1; }
.posts {
  list-style: none;
  background: rgba(var(--accent-rgb), 0.045);
  border-radius: 22px;
  padding: 10px 20px;
  margin: 0 -20px;
  transition: background 0.4s ease;
}
.posts a {
  display: flex; gap: 26px; align-items: baseline;
  margin: 0 -12px; padding: 20px 14px;
  border-radius: 10px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}
.posts a:hover { background: rgba(var(--accent-rgb), 0.06); }
.posts li:last-child a { border-bottom: none; }
.posts time {
  font-family: var(--mono);
  font-size: 13px; color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0; width: 86px;
}
.posts .t { color: var(--ink); font-size: 16.5px; transition: color 0.25s; }
.posts a:hover .t { color: var(--accent); }

#about p { color: var(--ink-soft); font-size: 15px; max-width: 36em; }
.links { margin-top: 16px; display: flex; gap: 24px; font-size: 14px; }
.links a { color: var(--ink-soft); border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s; }
.links a:hover { color: var(--accent); border-color: var(--accent); }

#about { margin-top: clamp(96px, 13vh, 150px); }

footer { margin-top: clamp(96px, 13vh, 150px); padding-bottom: 44px; }
