/* Visual palette and spacing remain from the original paper/orange template. */
html { scroll-behavior: smooth; }
body { font-family: Inter, "Helvetica Neue", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #c2410c; outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; color: #fff; background: #1c1917; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-brand span { font-size: 12px; font-weight: 400; color: #78716c; margin-left: 6px; }
.nav-link { position: relative; padding: 4px 0; font-size: 15px; color: #57534e; transition: color 250ms; }
.nav-link::after { position: absolute; content: ""; width: 100%; height: 2px; left: 0; bottom: -2px; background: #c2410c; transform: scaleX(0); transition: transform 250ms; }
.nav-link:hover, .nav-link.is-current { color: #1c1917; }
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); }
#mobile-menu { padding: 12px 20px 20px; border-top: 1px solid #e7e5e4; background: white; }
#mobile-menu .nav-link { display: block; padding: 12px 0; }
#mobile-menu .nav-link::after { display: none; }
.secondary-button { display: inline-flex; justify-content: center; align-items: center; border: 1px solid #1c1917; border-radius: 6px; padding: 12px 24px; font-size: 16px; font-weight: 500; color: #1c1917; background: transparent; transition: color 200ms, background 200ms; }
.secondary-button:hover { background: #1c1917; color: #fafaf9; }
.stat-value { color: #c2410c; font-size: 36px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.workbench { position: relative; min-width: 0; min-height: 450px; border: 1px solid #d6d3d1; border-radius: 9px; padding: 28px; background: linear-gradient(90deg,transparent 31px,#e7e5e4 32px,transparent 33px), linear-gradient(transparent 31px,#e7e5e4 32px,transparent 33px), #f5f3ef; background-size: 32px 32px; box-shadow: 12px 12px 0 #f0ede7; }
.workbench-top, .bench-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #78716c; font-size: 11px; letter-spacing: .08em; }
.workbench-top { padding-bottom: 20px; border-bottom: 1px solid #d6d3d1; }
.bench-title { font-size: 31px; font-weight: 600; line-height: 1.55; letter-spacing: -.03em; color: #292524; margin: 32px 0; }
.bench-flow { display: flex; flex-direction: column; gap: 10px; }
.bench-node { display: grid; grid-template-columns: 25px 50px 1fr; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #e7e5e4; border-radius: 5px; background: rgba(255,255,255,.92); }
.bench-node span { font-size: 11px; color: #c2410c; font-variant-numeric: tabular-nums; }
.bench-node strong { font-size: 15px; color: #292524; font-weight: 600; }
.bench-node small { font-size: 12px; color: #78716c; }
.bench-bottom { margin-top: 25px; }
.bench-dot { width: 6px; height: 6px; background: #c2410c; border-radius: 100%; }
.topic-chip { display: inline-block; padding: 9px 16px; font-size: 14px; color: #57534e; border: 1px solid #e7e5e4; border-radius: 100px; background: #fafaf9; transition: color 200ms, border-color 200ms, background 200ms; }
a.topic-chip:hover { color: #c2410c; border-color: #c2410c; background: #fff7ed; }
.thoughts-list { display: grid; gap: 30px; }
.thought-quote { padding: 5px 0 5px 24px; border-left: 2px solid #c2410c; }
.thought-quote p { font-size: 22px; font-weight: 500; line-height: 1.65; color: #292524; }
.thought-quote cite { display: block; margin-top: 14px; font-size: 13px; font-style: normal; }
.thought-quote .reading-link { padding: 0; color: #78716c; font-size: 13px; }
.reading-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; color: #57534e; font-size: 14px; line-height: 1.7; transition: color 200ms; }
.reading-link svg { flex: 0 0 15px; }
.reading-link:hover { color: #c2410c; }
.archive-tools { display: flex; gap: 22px; align-items: flex-end; }
.archive-search { position: relative; flex: 1; min-width: 0; }
.archive-tools label { display: block; font-size: 13px; font-weight: 500; color: #57534e; margin-bottom: 8px; }
.archive-tools input, .archive-tools select { width: 100%; height: 46px; border: 1px solid #d6d3d1; border-radius: 6px; padding: 0 14px; background: #fafaf9; color: #292524; font-size: 15px; }
.archive-tools input { padding-right: 70px; }
.archive-tools input::placeholder { color: #a8a29e; }
.archive-tools input:focus, .archive-tools select:focus { outline: 1px solid #c2410c; outline-offset: 0; border-color: #c2410c; }
.archive-search button { position: absolute; right: 12px; bottom: 14px; font-size: 13px; color: #c2410c; }
.archive-month { width: 190px; }
.archive-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.category-filter { padding: 8px 16px; color: #57534e; border: 1px solid #e7e5e4; border-radius: 100px; font-size: 14px; background: #fafaf9; transition: color 200ms, border-color 200ms, background 200ms; }
.category-filter:hover { color: #c2410c; border-color: #c2410c; }
.category-filter[aria-pressed="true"] { background: #c2410c; border-color: #c2410c; color: white; }
.archive-count { margin: 25px 0; color: #78716c; font-size: 13px; }
.blog-card { min-width: 0; }
.article-card { display: flex; flex-direction: column; height: 100%; border: 1px solid #e7e5e4; border-radius: 8px; overflow: hidden; background: white; transition: border-color 250ms, transform 250ms, box-shadow 250ms; }
.article-card:hover { border-color: #d6d3d1; transform: translateY(-4px); box-shadow: 0 8px 20px rgba(41,37,36,.06); }
.article-thumb { aspect-ratio: 900/383; width: 100%; overflow: hidden; background: #f5f3ee; border-bottom: 1px solid #e7e5e4; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms; }
.article-card:hover img { transform: scale(1.03); }
.card-copy { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.card-copy h2 { margin-top: 14px; font-size: 19px; font-weight: 600; line-height: 1.65; color: #292524; letter-spacing: -.02em; }
.article-card:hover h2 { color: #c2410c; }
.card-copy p { margin-top: 10px; color: #78716c; font-size: 14px; line-height: 1.8; }
.card-read-time { display: flex; justify-content: space-between; align-items: center; color: #a8a29e; font-size: 12px; padding-top: 22px; margin-top: auto; }
.empty-results { padding: 60px 20px; text-align: center; color: #57534e; border: 1px dashed #d6d3d1; border-radius: 8px; }
.empty-results h2 { font-size: 22px; color: #292524; }
.empty-results p { margin: 12px 0 24px; }
.practice-grid { display: grid; gap: 48px; }
.practice-group { min-width: 0; padding-top: 24px; border-top: 1px solid #d6d3d1; }
.practice-index { display: inline-block; color: #c2410c; font-size: 12px; margin-bottom: 12px; }
.practice-group h2 { font-size: 25px; font-weight: 600; color: #292524; letter-spacing: -.025em; }
.practice-caption { font-size: 13px; color: #a8a29e; margin-top: 9px; }
.practice-description { font-size: 15px; line-height: 1.85; color: #57534e; margin: 20px 0; }
.practice-reading { border-top: 1px solid #e7e5e4; }
.practice-reading .reading-link { border-bottom: 1px solid #e7e5e4; }
.work-steps { display: grid; gap: 32px; }
.work-step { min-width: 0; padding: 24px 0 0; border-top: 1px solid #d6d3d1; }
.step-number { color: #c2410c; font-size: 13px; }
.work-step h3 { margin-top: 18px; color: #292524; font-size: 19px; font-weight: 600; }
.work-step p { margin-top: 12px; color: #57534e; font-size: 14px; line-height: 1.9; }
.work-step .reading-link { margin-top: 12px; font-size: 13px; color: #a8a29e; }
.work-step .reading-link:hover { color: #c2410c; }
.about-grid { display: grid; gap: 32px; }
.about-copy p { font-size: 17px; line-height: 2; color: #57534e; margin-bottom: 22px; }
.public-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: 17px; font-weight: 500; color: #1c1917; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex-shrink: 0; color: #a8a29e; transition: transform 250ms; }
.faq-item[open] summary { color: #c2410c; }
.faq-item[open] summary svg { transform: rotate(180deg); color: #c2410c; }
.faq-item p { max-width: 768px; padding-bottom: 24px; font-size: 15px; line-height: 1.8; color: #57534e; }
.article-deck { font-size: 16px; line-height: 1.85; color: #78716c; margin-top: 22px; }
.article-cover { overflow: hidden; border: 1px solid #e7e5e4; border-radius: 8px; background: #f5f3ee; }
.article-cover img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.article-toc { margin-bottom: 40px; border-top: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4; padding: 18px 0; color: #78716c; font-size: 14px; }
.article-toc summary { font-weight: 500; color: #57534e; cursor: pointer; }
.article-toc ul { padding-left: 20px; margin: 12px 0; list-style: disc; }
.article-toc li { margin: 7px 0; line-height: 1.7; }
.article-toc a:hover { color: #c2410c; }
.article-prose { color: #44403c; font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.article-prose > :first-child { margin-top: 0; }
.article-prose p { margin: 22px 0; }
.article-prose h1, .article-prose h2, .article-prose h3, .article-prose h4 { color: #292524; font-weight: 600; line-height: 1.6; letter-spacing: -.02em; scroll-margin-top: 100px; }
.article-prose h1, .article-prose h2 { font-size: 26px; margin: 44px 0 20px; }
.article-prose h3 { font-size: 21px; margin: 32px 0 16px; }
.article-prose h4 { font-size: 19px; margin: 28px 0 16px; }
.article-prose ul, .article-prose ol { padding-left: 26px; margin: 22px 0; }
.article-prose ul { list-style: disc; }
.article-prose ol { list-style: decimal; }
.article-prose li { margin: 9px 0; padding-left: 3px; }
.article-prose li p { margin: 10px 0; }
.article-prose li ul, .article-prose li ol { margin: 10px 0; }
.article-prose li::marker { color: #c2410c; }
.article-prose blockquote { margin: 28px 0; border-left: 3px solid #c2410c; background: #fff7ed; padding: 6px 22px; color: #57534e; }
.article-prose blockquote p { margin: 12px 0; }
.article-prose a { color: #c2410c; text-decoration: underline; text-underline-offset: 4px; }
.article-prose strong { color: #292524; font-weight: 600; }
.article-prose hr { margin: 36px 0; border: 0; border-top: 1px solid #e7e5e4; }
.article-prose code { font-family: "SFMono-Regular", Consolas, monospace; font-size: .85em; background: #f0ede7; padding: 3px 5px; border-radius: 4px; color: #9a3412; }
.article-prose pre { padding: 22px; margin: 28px 0; border-radius: 7px; overflow-x: auto; max-width: 100%; background: #292524; color: #e7e5e4; font-size: 13px; line-height: 1.85; white-space: pre; overflow-wrap: normal; tab-size: 4; }
.article-prose pre code { color: inherit; background: none; padding: 0; font-size: inherit; border-radius: 0; }
.article-prose figure { margin: 30px 0; }
.article-prose img { max-width: 100%; height: auto; border: 1px solid #e7e5e4; border-radius: 6px; margin: 24px auto; }
.article-prose figure img { margin: 0 auto; }
.article-prose figcaption { color: #a8a29e; font-size: 12px; line-height: 1.7; margin-top: 12px; text-align: center; }
.table-scroll { margin: 28px 0; max-width: 100%; overflow-x: auto; border: 1px solid #e7e5e4; border-radius: 6px; }
.article-prose table { border-collapse: collapse; min-width: 520px; width: 100%; font-size: 14px; line-height: 1.8; background: white; }
.article-prose th, .article-prose td { padding: 12px 15px; border-bottom: 1px solid #e7e5e4; vertical-align: top; text-align: left; }
.article-prose th { background: #f5f3ee; color: #292524; font-weight: 600; }
.article-prose tbody tr:last-child td { border-bottom: 0; }
.article-paging { display: grid; gap: 24px; border-top: 1px solid #d6d3d1; margin-top: 60px; padding-top: 28px; }
.article-paging > div { min-width: 0; }
.article-paging span { color: #a8a29e; font-size: 12px; }
.article-ending { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 40px; padding: 24px; background: #f5f3ee; border-radius: 6px; color: #78716c; font-size: 14px; }
.js-motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity 500ms, transform 500ms; }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }
@media (min-width: 768px) {
  #mobile-menu { display: none !important; }
  .stat-value { font-size: 44px; }
  .practice-grid, .about-grid { grid-template-columns: 1fr 1fr; gap: 52px; }
  .work-steps { grid-template-columns: 1fr 1fr; }
  .article-paging { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) { .work-steps { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 767px) {
  .workbench { min-height: 400px; padding: 23px; box-shadow: 8px 8px 0 #f0ede7; margin-right: 8px; }
  .bench-title { font-size: 27px; margin: 26px 0; }
  .bench-node { padding: 12px; gap: 9px; grid-template-columns: 22px 42px 1fr; }
  .bench-node small { font-size: 11px; }
  .archive-tools { flex-direction: column; align-items: stretch; gap: 16px; }
  .archive-month { width: 100%; }
  .archive-tools input { font-size: 14px; }
  .archive-tools input::placeholder { font-size: 12px; }
  .category-filter { font-size: 13px; padding: 7px 12px; }
  .thought-quote p { font-size: 19px; }
  .about-copy p { font-size: 16px; }
  .article-prose { font-size: 16px; line-height: 1.95; }
  .article-prose h2 { font-size: 24px; }
  .article-prose pre { padding: 16px; font-size: 12px; }
  .article-prose blockquote { padding: 4px 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } .js-motion .reveal { opacity: 1; transform: none; } }
