/* Editorial monochrome foundation with the requested cream secondary color. */
:root { --blog-secondary: #FFFDF5; color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #1a1c23; background: #FFFFFF; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1a1c23; outline-offset: 5px; }
.cta a:focus-visible, .site-footer a:focus-visible { outline-color: var(--blog-secondary); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: pretty; }
::selection { color: white; background: #1a1c23; }
.skip-link { position: absolute; top: -100px; left: 20px; background: white; padding: 16px; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 90px; padding: 20px max(5vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #d7d5ce; background: #fff; }
.wordmark { font: 700 36px Georgia, serif; letter-spacing: -2px; text-decoration: none; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-header nav a, .site-footer nav a { text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { text-decoration: underline; }
.nav-cta { border: 1px solid #1a1c23; padding: 12px 18px; }
.article-hero { padding: 40px max(5vw, 24px) 88px; border-bottom: 1px solid #d7d5ce; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #676862; margin-bottom: 56px; }
.breadcrumbs a { text-decoration: none; }
.hero-grid { max-width: 1220px; margin: auto; display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.eyebrow { display: block; font-size: 11px; letter-spacing: .13em; font-weight: 650; line-height: 1.8; }
.eyebrow span { margin: 0 8px; color: #99988e; }
h1 { font-family: Georgia, "Noto Serif TC", "PMingLiU", serif; font-size: clamp(32px, 3.4vw, 52px); font-weight: 600; line-height: 1.42; letter-spacing: .015em; margin-bottom: 24px; }
.hero-description { max-width: 660px; font-size: 16px; line-height: 1.9; color: #62635e; margin-bottom: 28px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px 24px; font-size: 12px; color: #62635e; border-top: 1px solid #d7d5ce; padding-top: 20px; margin-bottom: 32px; }
.text-link { font-size: 13px; font-weight: 650; text-decoration: none; }
.text-link span { margin-left: 12px; }
.hero-note { border: 1px solid #bdbbae; padding: 32px 24px; transform: rotate(2deg); background: var(--blog-secondary); }
.note-number { display: block; font: italic 52px Georgia, serif; letter-spacing: -3px; border-bottom: 1px solid #aaa797; padding-bottom: 22px; }
.hero-note p { font-size: 21px; font-family: Georgia, "PMingLiU", serif; line-height: 1.8; margin: 28px 0; }
.hero-note a { font-size: 12px; font-weight: 650; }
.reading-layout { max-width: 1440px; padding: 96px 48px 128px; margin: auto; display: grid; grid-template-columns: minmax(0, 960px); justify-content: center; align-items: start; }
.article-toc { margin-bottom: 56px; border-top: 2px solid #1a1c23; border-bottom: 1px solid #d7d5ce; }
.toc-toggle { display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 16px 4px; cursor: pointer; list-style: none; }
.toc-toggle::-webkit-details-marker { display: none; }
.toc-toggle strong { font-size: 15px; letter-spacing: .06em; }
.toc-toggle span { margin-left: auto; color: #62635e; font-size: 13px; }
.toc-toggle::after { content: '+'; width: 24px; color: #1a1c23; font-size: 24px; line-height: 1; text-align: right; }
.article-toc[open] .toc-toggle::after { content: '−'; }
.toc { border-top: 1px solid #d7d5ce; padding: 12px 4px 24px; }
.toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; list-style: decimal-leading-zero; padding-left: 28px; margin: 0; }
.toc li { font-size: 14px; padding: 14px 0 14px 5px; line-height: 1.7; color: #62635e; border-bottom: 1px solid #e6e5df; }
.toc li:nth-last-child(-n+2) { border-bottom: 0; }
.toc a { text-decoration: none; }
.toc a:hover { color: #1a1c23; text-decoration: underline; }
.article-content { min-width: 0; font-size: 18px; line-height: 2.05; overflow-wrap: anywhere; }
.article-content > p:first-child { font-size: 24px; line-height: 1.8; color: #1a1c23; font-weight: 550; }
.article-content p { margin-bottom: 32px; color: #44463f; }
.article-content h2 { font-size: 30px; line-height: 1.6; margin: 80px 0 36px; border-top: 1px solid #d7d5ce; padding-top: 40px; }
.article-content h3 { font-size: 24px; line-height: 1.7; margin: 48px 0 28px; }
.article-content h2, .article-content h3, #article-content { scroll-margin-top: 24px; }
.article-content li { margin-bottom: 16px; padding-left: 5px; }
.article-content ol, .article-content ul { padding-left: 26px; }
.article-content strong { font-weight: 650; color: #1a1c23; }
.article-content blockquote { border: 1px solid #d7d5ce; border-top: 3px solid #1a1c23; margin: 40px 0; padding: 28px 32px; background: var(--blog-secondary); }
.article-content blockquote p { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid #d7d5ce; line-height: 1.6; }
.article-content blockquote p strong { font-size: 15px; }
.article-content blockquote ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; list-style: none; padding: 0; margin: 0; }
.article-content blockquote li { margin: 0; padding: 13px 0; border-bottom: 1px solid #e3e2dc; color: #62635e; font-size: 14px; line-height: 1.6; }
.article-content blockquote li strong { display: block; margin-bottom: 3px; color: #1a1c23; font-size: 15px; }
.article-content blockquote li:last-child { grid-column: 1 / -1; border-bottom: 0; }
.article-content hr { border: 0; border-top: 1px solid #d7d5ce; margin: 36px 0; }
.article-content em { font-size: 14px; color: #62635e; }
.table-scroll { overflow-x: auto; margin: 40px 0; border: 1px solid #d7d5ce; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 16px; text-align: left; }
th, td { border-bottom: 1px solid #d7d5ce; padding: 18px 22px; vertical-align: top; }
th { background: #1a1c23; color: #fff; font-weight: 550; white-space: nowrap; }
td { background: #fff; }
tbody tr:last-child td { border-bottom: 0; }
.cta { padding: 44px; margin-top: 64px; background: #1a1c23; color: #fff; }
.cta .eyebrow { color: var(--blog-secondary); margin-bottom: 16px; }
.cta h2 { font-family: Georgia, "PMingLiU", serif; font-size: 28px; line-height: 1.5; border: 0; padding: 0; margin: 0 0 16px; }
.cta p { font-size: 14px; color: #d0d1ca; line-height: 1.9; margin-bottom: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 15px 20px; background: var(--blog-secondary); color: #1a1c23; text-decoration: none; font-size: 14px; font-weight: 650; border: 1px solid transparent; line-height: 1.5; }
.button:hover { background: #1a1c23; color: var(--blog-secondary); border-color: currentColor; }
.cta small { display: block; margin-top: 14px; color: #b8bab3; font-size: 11px; line-height: 1.7; }
.back-link { display: inline-block; font-size: 13px; margin-top: 32px; }
.site-footer { background: #1a1c23; color: #fff; padding: 44px max(5vw, 24px); display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.site-footer p { color: #babbb5; font-size: 13px; margin: 0; }
.site-footer nav { margin-left: auto; font-size: 12px; }
.mobile-cta { display: none; }
.journal-heading { padding: 80px max(5vw, 24px); max-width: 1320px; margin: auto; }
.journal-heading h1 { font-size: clamp(36px, 5vw, 66px); margin-bottom: 24px; }
.journal-heading > p:not(.eyebrow) { color: #62635e; line-height: 1.9; }
.post-list { max-width: 1220px; margin: 0 auto; padding: 0 32px; }
.list-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 2px solid #1a1c23; }
.list-heading h2 { font-size: 20px; margin: 0; }
.list-heading > span { font-size: 12px; color: #62635e; }
.post-card { display: grid; grid-template-columns: 320px 1fr; align-items: center; gap: 48px; padding: 40px 0; text-decoration: none; }
.post-card h3 { font-size: 28px; line-height: 1.6; margin-bottom: 16px; }
.post-card p:not(.eyebrow) { font-size: 14px; color: #62635e; line-height: 1.9; margin-bottom: 28px; }
.post-card:hover h3 { text-decoration: underline; text-underline-offset: 7px; }
.post-art { display: flex; flex-direction: column; justify-content: space-between; background: var(--blog-secondary); padding: 28px; height: 270px; border: 1px solid #d7d5ce; }
.post-art span { font-size: 10px; letter-spacing: .15em; }
.post-art strong { font: italic 120px Georgia, serif; align-self: center; line-height: 1; }
.index-cta { max-width: 1220px; margin: 0 auto 80px; padding: 0 32px; }
@media (max-width: 1000px) {
  .hero-grid { gap: 36px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .reading-layout { padding: 64px 32px 96px; }
  .hero-note { padding: 24px 18px; }
}
@media (max-width: 720px) {
  .site-header { min-height: 76px; padding: 16px 20px; }
  .wordmark { font-size: 30px; }
  .site-header nav { gap: 16px; font-size: 12px; }
  .site-header .nav-cta { display: none; }
  .article-hero { padding: 24px 22px 40px; }
  .breadcrumbs { margin-bottom: 36px; font-size: 11px; gap: 8px; }
  .hero-grid { display: block; }
  .hero-note { display: none; }
  h1 { font-size: 32px; line-height: 1.5; }
  .hero-description { font-size: 14px; }
  .article-meta { font-size: 11px; }
  .reading-layout { display: flex; flex-direction: column; padding: 40px 24px 72px; gap: 0; }
  .article-toc { width: 100%; margin-bottom: 40px; }
  .toc-toggle span { display: none; }
  .toc-toggle::after { margin-left: auto; }
  .toc ol { grid-template-columns: 1fr; }
  .toc li, .toc li:nth-last-child(-n+2) { font-size: 15px; border-bottom: 1px solid #e6e5df; }
  .toc li:last-child { border-bottom: 0; }
  .article-content { font-size: 17px; line-height: 2; width: 100%; }
  .article-content > p:first-child { font-size: 22px; }
  .article-content p { margin-bottom: 28px; }
  .article-content h2 { margin-top: 56px; padding-top: 32px; font-size: 26px; }
  .article-content h3 { margin-top: 40px; font-size: 21px; }
  .article-content blockquote { padding: 22px; }
  .article-content blockquote ul { grid-template-columns: 1fr; }
  .article-content blockquote li:last-child { grid-column: auto; }
  .cta { padding: 28px 22px; }
  .cta h2 { font-size: 24px; }
  .cta .button { width: 100%; gap: 12px; }
  .mobile-cta { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 5; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--blog-secondary); border-top: 1px solid #d7d5ce; }
  .mobile-cta .button { width: 100%; background: #1a1c23; color: var(--blog-secondary); }
  .mobile-cta .button:hover { background: var(--blog-secondary); color: #1a1c23; }
  body:has(.mobile-cta) { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .site-footer { padding: 36px 22px; gap: 20px; }
  .site-footer nav { margin: 0; flex-basis: 100%; gap: 24px; }
  .journal-heading { padding: 48px 22px; }
  .post-list, .index-cta { padding: 0 22px; }
  .post-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
  .post-card h3 { font-size: 24px; }
  .post-art { height: 230px; }
}
@media print {
  .site-header, .site-footer, .article-toc, .mobile-cta, .cta, .hero-note, .back-link, .text-link { display: none; }
  .reading-layout, .hero-grid { display: block; padding: 0; }
  .article-hero { padding: 0; }
  body:has(.mobile-cta) { padding-bottom: 0; }
}
