/* ============================================
   陈萱宜增长转化体系 - 全站样式
   设计理念：专业、克制、有温度
   ============================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "DM Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(196, 181, 160, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(196, 181, 160, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 72%);
  z-index: -1;
}

/* ---- Design Tokens ---- */
:root {
  --bg: #faf9f7;
  --bg-soft: #f5f3ef;
  --bg-card: rgba(245, 243, 239, 0.72);
  --bg-elevated: #ffffff;
  --text: #1a1a1a;
  --text-soft: rgba(42, 42, 42, 0.75);
  --text-muted: rgba(42, 42, 42, 0.58);
  --accent: #c4b5a0;
  --accent-strong: #c4b5a0;
  --danger: #b91c1c;
  --accent-soft: rgba(196, 181, 160, 0.16);
  --accent-glow: rgba(196, 181, 160, 0.16);
  --border: rgba(196, 181, 160, 0.4);
  --border-soft: rgba(232, 230, 225, 0.9);
  --shadow-soft: 0 24px 70px rgba(196, 181, 160, 0.22);
  --radius: 2px;
  --radius-lg: 6px;
  --max-width: 860px;
  --max-width-wide: 1080px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Instrument Serif", Georgia, serif;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}
h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
p { margin-bottom: 1.2em; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--danger); }
strong { color: var(--text); font-weight: 600; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section[style*="background: var(--bg-soft)"],
.contact-section[style*="background: var(--bg-soft)"] {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(196, 181, 160, 0.12);
}
.nav-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-seal img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--danger); }
.nav-toggle { display: none; }
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(196, 181, 160, 0.6);
  background: transparent;
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.language-toggle:hover {
  color: var(--danger);
  border-color: var(--danger);
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 56px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(250, 249, 247, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .language-toggle {
    margin-left: auto;
    margin-right: 8px;
  }
  .nav-toggle span {
    width: 20px; height: 2px;
    background: var(--text-soft);
    border-radius: 1px;
  }
}

/* ---- Hero ---- */
.editorial-hero {
  padding: 96px 24px 48px;
  background: var(--bg);
}
.editorial-hero-image {
  width: min(1080px, calc(100vw - 48px));
  margin: 0 auto;
  text-align: center;
}
.editorial-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}
.editorial-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero {
  min-height: auto;
  display: block;
  padding: 92px 24px 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(180deg, rgba(250, 249, 247, 0.78), rgba(250, 249, 247, 0)),
    radial-gradient(ellipse at 50% 28%, var(--accent-glow), transparent 62%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-image-first {
  text-align: center;
}
.hero-brand-frame {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}
.hero-brand-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.hero-support {
  width: min(860px, 100%);
  margin: 30px auto 0;
  text-align: center;
}
.hero-tag {
  font-size: 0.8rem;
  color: var(--accent-strong);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0 auto 18px;
  max-width: 760px;
  font-size: clamp(1.7rem, 3.7vw, 2.85rem);
  line-height: 1.14;
}
.hero-subtitle {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto 28px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}
.hero-stat {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text-soft);
  backdrop-filter: blur(10px);
}
.hero-stat strong { color: var(--accent-strong); }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 860px) {
  .editorial-hero {
    padding: 80px 14px 32px;
  }
  .editorial-hero-image {
    width: min(100%, calc(100vw - 28px));
  }
  .editorial-hero-image img {
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .editorial-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero {
    padding: 80px 14px 44px;
  }
  .hero-brand-frame {
    width: min(100%, calc(100vw - 28px));
  }
  .hero-brand-frame img {
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .hero-support {
    margin-top: 24px;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .hero-stat {
    width: calc(50% - 6px);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid var(--text);
  cursor: pointer;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.btn-primary {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-primary:hover {
  background: transparent;
  border-color: var(--danger);
  color: var(--danger);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(196, 181, 160, 0.65);
}
.btn-secondary:hover {
  border-color: var(--danger);
  color: var(--danger);
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}
.section-label {
  font-size: 0.75rem;
  color: var(--accent-strong);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ---- Cards / Grid ---- */
.grid {
  display: grid;
  gap: 18px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: rgba(245, 243, 239, 0.54);
  border: 1px solid rgba(196, 181, 160, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.card:hover {
  border-color: rgba(196, 181, 160, 0.68);
  background: rgba(255, 255, 255, 0.54);
  transform: translateY(-1px);
}
.card-number {
  font-size: 0.68rem;
  color: var(--accent-strong);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-soft); font-size: 0.9rem; }
.card h3,
.identity-card h3 {
  color: var(--text);
}

/* ---- Identity Cards ---- */
.identity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.identity-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.identity-card:hover {
  border-color: rgba(196, 181, 160, 0.58);
  transform: translateY(-2px);
  background: var(--bg-elevated);
}
.identity-tag {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--accent-strong);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.identity-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.identity-card p { font-size: 0.85rem; color: var(--text-soft); }

/* ---- Stats Bar ---- */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(245, 243, 239, 0.72);
}
.stat-item {
  flex: 1;
  min-width: 150px;
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-strong);
  display: block;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .stat-item { flex: 1 1 50%; border-bottom: 1px solid var(--border); }
}

/* ---- Article / Content ---- */
.article {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px 60px;
}
.article-header { margin-bottom: 40px; }
.article-header h1 { margin-bottom: 16px; }
.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.article-body h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
.article-body h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--accent-strong);
}
.article-body p { margin-bottom: 1.2em; }
.article-body ul, .article-body ol {
  margin-bottom: 1.2em;
  padding-left: 1.5em;
}
.article-body li { margin-bottom: 0.5em; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.85rem;
  background: rgba(245, 243, 239, 0.72);
}
.article-body th, .article-body td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-body th {
  background: var(--bg-elevated);
  color: var(--accent-strong);
  font-weight: 600;
}
.article-body td { color: var(--text-soft); }

/* ---- Blog List ---- */
.blog-list { display: flex; flex-direction: column; gap: 0; }
.blog-item {
  display: block;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left var(--transition);
}
.blog-item:hover { padding-left: 12px; }
.blog-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.blog-item:hover .blog-item-title { color: var(--accent); }
.blog-item-excerpt {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.blog-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- Contact Section ---- */
.contact-section {
  text-align: center;
  padding: 80px 24px;
}
.contact-section h2 { margin-bottom: 20px; }
.contact-section .lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto 40px;
}
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: transparent;
  border: 1px solid rgba(196, 181, 160, 0.55);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: all var(--transition);
}
.contact-method:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(245, 243, 239, 0.72);
}
.contact-method strong { color: var(--accent-strong); }

/* ---- Diagnosis Page ---- */
.diagnosis-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.diagnosis-intro p { color: var(--text-soft); }
.dimension-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: border-color var(--transition);
}
.dimension-card:hover { border-color: rgba(196, 181, 160, 0.58); }
.dimension-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-size: 1.1rem;
}
.dimension-content h3 { font-size: 1.05rem; margin-bottom: 6px; }
.dimension-content p { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 0; }

/* ---- Services Page ---- */
.service-hero {
  padding: 100px 24px 40px;
  text-align: center;
}
.service-hero h1 { margin-bottom: 16px; }
.service-hero .lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto;
}
.service-section { padding: 48px 0; }
.service-list { list-style: none; }
.service-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.service-list li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
}

/* ---- Lead Magnet ---- */
.checklist-section {
  margin-bottom: 40px;
}
.checklist-section h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--accent-strong);
}
.checklist-table { font-size: 0.85rem; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  background: #f5f3ef;
}
.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.6;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-soft { color: var(--text-soft); }
.text-accent { color: var(--accent); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* ---- Highlight Quote ---- */
.highlight-quote {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 40px 0;
}
.highlight-quote::before, .highlight-quote::after {
  content: '"';
  color: var(--accent-strong);
  font-size: 1.5rem;
}

/* ---- Animations ---- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.6s ease-out; }

/* ---- Photo Hero (original CN brand visual) ---- */
.photo-hero {
  padding: 88px 0 28px;
  background: var(--bg);
  overflow: hidden;
}
.photo-hero-plane {
  width: 100%;
  margin: 0;
  line-height: 0;
  animation: photoHeroVeil 0.9s ease-out both;
}
.photo-hero-plane img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(82vh, 900px);
  object-fit: contain;
  object-position: center top;
  background: var(--bg);
  animation: photoHeroZoom 18s ease-out forwards;
}
.photo-hero-support {
  padding-top: 28px;
  padding-bottom: 8px;
  text-align: center;
  animation: photoHeroCopy 0.85s ease-out 0.12s both;
}
.photo-hero-lead {
  margin: 0 auto 22px;
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}
.photo-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@keyframes photoHeroZoom {
  from { transform: scale(1.03); }
  to { transform: scale(1); }
}
@keyframes photoHeroVeil {
  from { opacity: 0.75; }
  to { opacity: 1; }
}
@keyframes photoHeroCopy {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .photo-hero-plane,
  .photo-hero-plane img,
  .photo-hero-support {
    animation: none;
  }
  .photo-hero-plane img {
    transform: none;
  }
}

/* ---- OS Map section ---- */
.os-map-section {
  padding-top: 56px;
  padding-bottom: 28px;
  background: var(--bg);
}
.os-map-header {
  margin-bottom: 28px;
}
.os-map-header p {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---- OS Hero (legacy helpers kept for map nodes) ---- */
.os-hero {
  padding: 96px 24px 40px;
  background: var(--bg);
}
.os-hero-inner { max-width: var(--max-width-wide); margin: 0 auto; }
.os-hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 28px;
}
.os-hero-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.os-hero h1 {
  max-width: 720px;
  margin-bottom: 16px;
}
.os-hero-lead {
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 36px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.os-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.os-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 100%;
  transition: border-color var(--transition), background var(--transition);
}
.os-card:hover {
  border-color: rgba(196, 181, 160, 0.58);
  background: var(--bg-elevated);
}
.os-card-primary {
  border-color: rgba(185, 28, 28, 0.22);
  background: rgba(255, 255, 255, 0.78);
}
.os-card-number {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}
.os-card-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 0.62rem;
  background: rgba(185, 28, 28, 0.08);
  color: var(--accent-hover);
  border-radius: 100px;
  vertical-align: middle;
}
.os-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.os-card p {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 16px;
  flex: 1;
}
.os-card-action {
  font-size: 0.85rem;
  color: var(--accent-hover);
}
.os-more-entries {
  margin-top: 16px;
}
.os-more-summary {
  cursor: pointer;
  color: var(--text-soft);
  font-size: 0.9rem;
  list-style: none;
  padding: 8px 0;
}
.os-more-summary::-webkit-details-marker { display: none; }
.os-more-entries .os-grid-secondary {
  margin-top: 16px;
}
@media (min-width: 769px) {
  .os-more-summary { display: none; }
  .os-more-entries .os-grid-secondary {
    display: grid;
    margin-top: 16px;
  }
}
@media (max-width: 768px) {
  .os-hero { padding-top: 84px; }
  .os-grid { grid-template-columns: 1fr; }
  .photo-hero {
    padding-top: 72px;
  }
  .photo-hero-plane img {
    max-height: none;
    object-fit: contain;
    object-position: center top;
  }
  .photo-hero-support {
    padding-left: 18px;
    padding-right: 18px;
  }
  .photo-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .photo-hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Identity fold ---- */
.identity-fold {
  border: none;
  background: var(--bg-soft);
}
.identity-fold-summary {
  cursor: pointer;
  list-style: none;
  text-align: center;
  padding: 48px 24px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.identity-fold-summary::-webkit-details-marker { display: none; }
.identity-fold-summary h2 { margin: 12px 0 8px; }
.identity-fold-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}
.identity-fold-body { padding-bottom: 48px; }

/* ---- OS System Map ---- */
.os-system-map {
  position: relative;
  margin-top: 8px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(250,249,247,0.95) 100%);
}
.os-map-caption {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.os-map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}
.os-map-grid::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.os-map-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 20px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.os-map-node:hover,
.os-map-node:focus-visible,
.os-map-node.is-active {
  border-color: rgba(196, 181, 160, 0.75);
  transform: translateY(-2px);
  outline: none;
}
.os-map-node-primary {
  border-color: rgba(185, 28, 28, 0.28);
  background: rgba(255, 255, 255, 0.92);
}
.os-map-node-id {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.os-map-node-title {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 1.05rem;
  line-height: 1.3;
}
.os-map-node-tag {
  margin-top: 8px;
  font-size: 0.62rem;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(185, 28, 28, 0.08);
  color: var(--accent-hover);
}
.os-map-panel {
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent-hover);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.os-map-panel strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 500;
}
.os-map-panel p { margin: 0; }
.os-map-panel span {
  display: block;
  margin-top: 10px;
  color: var(--accent-hover);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* ---- Toolbox ---- */
.toolbox-header p {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.toolbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.toolbox-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.toolbox-item:hover,
.toolbox-item:focus-visible {
  border-color: rgba(196, 181, 160, 0.75);
  background: var(--bg-elevated);
  transform: translateY(-1px);
  outline: none;
}
.toolbox-item-primary {
  border-color: rgba(185, 28, 28, 0.24);
  background: linear-gradient(90deg, rgba(185, 28, 28, 0.04) 0%, rgba(255, 255, 255, 0.92) 18%);
}
.toolbox-item-index {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--accent);
  text-align: center;
}
.toolbox-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.toolbox-item-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.toolbox-item-title {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 1.08rem;
  line-height: 1.3;
}
.toolbox-badge {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(185, 28, 28, 0.08);
  color: var(--accent-hover);
}
.toolbox-badge-muted {
  background: rgba(196, 181, 160, 0.18);
  color: var(--text-muted);
}
.toolbox-item-desc {
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.45;
}
.toolbox-item-cta {
  font-size: 0.84rem;
  color: var(--accent-hover);
  white-space: nowrap;
}
.toolbox-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 0.84rem;
}
.toolbox-foot a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 181, 160, 0.45);
  transition: color var(--transition), border-color var(--transition);
}
.toolbox-foot a:hover {
  color: var(--accent-hover);
  border-color: rgba(185, 28, 28, 0.35);
}

/* ---- Asset preview (homepage) ---- */
.asset-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.asset-preview-col {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--bg-card);
}
.asset-preview-heading {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text);
}
.asset-preview-col .blog-item {
  border: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 960px) {
  .asset-preview-grid { grid-template-columns: 1fr; }
}

/* ---- Cases / project practice ---- */
.cases-boundary {
  max-width: 40rem;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.case-block {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 100%;
}
.case-tag {
  margin: 0 0 14px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.case-block h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--text);
}
.case-org {
  margin: 0 0 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.case-facts {
  margin: 0 0 24px;
  display: grid;
  gap: 14px;
  flex: 1;
}
.case-facts dt {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.case-facts dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-soft);
}
.case-block .btn {
  align-self: flex-start;
}
.cases-preview .case-block h3 {
  font-size: 1.1rem;
}
.cases-foot {
  margin-top: 28px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.92rem;
}
.cases-foot a {
  color: var(--accent-hover);
}
.cases-more-note {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.judgment-principles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  max-width: 40rem;
}
.judgment-principles li {
  position: relative;
  padding-left: 14px;
  font-size: 0.92rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.judgment-principles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-strong);
}
.identity-card a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .cases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .os-map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .os-map-grid::before { display: none; }
  .toolbox-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 16px;
  }
  .toolbox-item-cta {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }
  .case-block .btn {
    width: 100%;
    justify-content: center;
  }
}


