:root {
  --accent: #c96442;
  --accent-deep: #8b4513;
  --ink: #3a2f24;
  --ink-soft: #6b5d4f;
  --bg: #fbf6ef;
  --bg-card: #ffffff;
  --bg-soft: #f5ebd9;
  --border: #e8d9be;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ---------- HEADER ---------- */
.hub-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.hub-header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: white;
  display: grid; place-items: center;
  font-family: "Songti SC", Georgia, serif; font-weight: 700; font-size: 22px;
}
.brand-text strong { display: block; font-size: 15px; letter-spacing: 0.02em; }
.brand-text em { font-style: normal; font-size: 12px; color: var(--ink-soft); }
.hub-nav { display: flex; gap: 28px; font-size: 14px; color: var(--ink-soft); }
.hub-nav a:hover { color: var(--accent); }

/* ---------- MAIN ---------- */
.hub-main { max-width: var(--max); margin: 0 auto; padding: 64px 32px 120px; }

/* ---------- SHELF (first section — Fish's explicit requirement) ---------- */
.shelf-section { margin-bottom: 140px; }
.shelf-kicker {
  font-size: 12px; letter-spacing: 0.22em; color: var(--accent);
  font-weight: 600; margin-bottom: 18px;
}
.shelf-title {
  font-family: "Songti SC", Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700; line-height: 1.18;
  margin-bottom: 24px;
  color: var(--ink);
}
.shelf-title .accent { color: var(--accent); }
.shelf-lede {
  max-width: 640px; font-size: 17px; color: var(--ink-soft);
  margin-bottom: 56px;
}

.shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.mentor-card {
  display: block;
  transition: transform 240ms ease;
}
.mentor-card:not(.coming):hover { transform: translateY(-6px); }
.mentor-card:not(.coming):hover .card-frame {
  box-shadow: 0 20px 50px rgba(139, 69, 19, 0.18);
  border-color: var(--accent);
}

.card-frame {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 26px 26px 28px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(58, 47, 36, 0.05);
  transition: box-shadow 240ms ease, border-color 240ms ease;
  display: flex; flex-direction: column;
}
.card-num {
  position: absolute; top: 22px; right: 24px;
  font-family: Georgia, serif; font-size: 13px;
  color: var(--accent); letter-spacing: 0.1em; font-weight: 600;
}

.portrait-wrap {
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
}
.portrait {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.portrait-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Songti SC", Georgia, serif;
  font-size: 96px; font-weight: 700;
  color: var(--accent);
  background: linear-gradient(135deg, #f5ebd9 0%, #e8d9be 100%);
  display: none;
}
.portrait-fallback.placeholder { display: flex; color: var(--ink-soft); opacity: 0.4; }

.card-meta h3 {
  font-family: "Songti SC", Georgia, serif;
  font-size: 26px; font-weight: 700;
  margin-bottom: 6px;
}
.card-meta .role {
  font-size: 13px; color: var(--accent);
  letter-spacing: 0.04em; margin-bottom: 14px;
}
.card-meta .tagline {
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.6; flex: 1;
  margin-bottom: 18px;
}
.card-meta .enter {
  font-size: 13px; color: var(--accent);
  font-weight: 600; letter-spacing: 0.04em;
}
.card-meta .enter.muted { color: var(--ink-soft); opacity: 0.5; }

.mentor-card.coming .card-frame {
  background: transparent;
  border: 1px dashed var(--border);
  box-shadow: none;
}
.mentor-card.coming .card-meta h3 { color: var(--ink-soft); }

/* ---------- METHOD ---------- */
.method-section { margin-bottom: 120px; }
.kicker {
  font-size: 12px; letter-spacing: 0.22em; color: var(--accent);
  font-weight: 600; margin-bottom: 14px;
}
.method-inner h2,
.about-inner h2 {
  font-family: "Songti SC", Georgia, serif;
  font-size: 36px; font-weight: 700;
  margin-bottom: 40px;
}
.method-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
}
.step-num {
  font-family: Georgia, serif; font-size: 14px;
  color: var(--accent); letter-spacing: 0.1em;
  font-weight: 600; margin-bottom: 10px;
}
.step h4 {
  font-size: 17px; margin-bottom: 10px;
  font-weight: 600;
}
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- ABOUT ---------- */
.about-section { padding: 56px 0; border-top: 1px solid var(--border); }
.about-inner p { font-size: 16px; color: var(--ink-soft); max-width: 680px; }

/* ---------- FOOTER ---------- */
.hub-footer {
  border-top: 1px solid var(--border);
  padding: 32px;
  font-size: 13px; color: var(--ink-soft);
}
.hub-footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: center; align-items: center; gap: 12px;
}
.dot { opacity: 0.4; }
.hub-footer a:hover { color: var(--accent); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .shelf { grid-template-columns: 1fr; gap: 22px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-nav { display: none; }
  .hub-main { padding: 40px 24px 80px; }
  .shelf-section { margin-bottom: 80px; }
}
@media (max-width: 520px) {
  .method-grid { grid-template-columns: 1fr; }
}
