    :root {
      --outer-bg: #dcd8ce;
      --chrome-bg: #1e2b28;
      --chrome-text: #f1f5f3;
      --surface: #f7f4ec;
      --surface-subtle: #efeae0;
      --border: #dbd4c6;
      --text: #1f2624;
      --muted: #525e5a;
      --accent: #c85a44;
      --accent-hover: #b24934;
      --accent-soft: #f0dfd9;
      --accent-soft-text: #9d3e2b;
      --shadow: 0 4px 20px rgba(30, 43, 40, 0.07);
    }

    html.dark {
      --outer-bg: #0f1514;
      --chrome-bg: #151f1d;
      --chrome-text: #e8eeec;
      --surface: #182220;
      --surface-subtle: #1f2b28;
      --border: #2c3b37;
      --text: #e8eeec;
      --muted: #9eb0aa;
      --accent: #e6816b;
      --accent-hover: #f09581;
      --accent-soft: #332522;
      --accent-soft-text: #f0a392;
      --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    body {
      margin: 0;
      background-color: var(--outer-bg);
      color: var(--text);
      transition: background-color 0.2s ease, color 0.2s ease;
      line-height: 1.65;
    }

    .site-shell {
      max-width: 980px;
      margin: 0 auto;
      background-color: var(--surface);
      min-height: 100vh;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      transition: background-color 0.2s ease, border-color 0.2s ease;
    }

    .chrome-bar {
      background-color: var(--chrome-bg);
      color: var(--chrome-text);
    }

    .accent-text {
      color: var(--accent);
    }

    .chrome-bar a.header-link:hover,
    .chrome-bar a.header-link:focus-visible {
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    .accent-pill {
      background-color: var(--accent-soft);
      color: var(--accent-soft-text);
    }

    .research-area-link:hover,
    .research-area-link:focus-visible {
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .bg-accent {
      background-color: var(--accent);
    }

    .accent-link {
      color: var(--accent);
      text-decoration: none;
      transition: color 0.15s ease;
    }

    .accent-link:hover {
      color: var(--accent-hover);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .accent-btn {
      background-color: var(--accent);
      color: #ffffff;
      transition: background-color 0.15s ease, transform 0.15s ease;
    }

    .accent-btn:hover {
      background-color: var(--accent-hover);
    }

    .surface-card {
      background-color: var(--surface-subtle);
      border: 1px solid var(--border);
      transition: border-color 0.15s ease, transform 0.15s ease;
    }

    .surface-card:hover {
      border-color: var(--accent);
    }

    .author-pill {
      background-color: var(--accent-soft);
      color: var(--accent-soft-text);
      padding: 1px 7px;
      border-radius: 9999px;
      font-style: italic;
      font-weight: 500;
    }

    .tab-btn {
      color: var(--muted);
      border-bottom: 2px solid transparent;
      transition: all 0.15s ease;
    }

    .tab-btn:hover {
      color: var(--text);
    }

    .tab-btn.active {
      background-color: var(--accent);
      color: #ffffff;
      border-radius: 6px 6px 0 0;
    }

    .header-tab-btn {
      color: rgba(255, 255, 255, 0.78);
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 0.8125rem;
      font-weight: 500;
      transition: all 0.15s ease;
    }

    .header-tab-btn:hover {
      color: #ffffff;
      background-color: rgba(255, 255, 255, 0.08);
    }

    .header-tab-btn.active {
      background-color: var(--accent);
      color: #ffffff;
    }

    .filter-chip {
      border: 1px solid var(--border);
      color: var(--muted);
      background-color: var(--surface);
      transition: all 0.15s ease;
    }

    .filter-chip:hover {
      border-color: var(--accent);
      color: var(--text);
    }

    .filter-chip.active {
      background-color: var(--accent);
      border-color: var(--accent);
      color: #ffffff;
    }

    .social-btn {
      border: 1px solid var(--border);
      color: var(--accent);
      background-color: var(--surface-subtle);
      transition: all 0.15s ease;
    }

    .social-btn:hover {
      background-color: var(--accent);
      border-color: var(--accent);
      color: #ffffff;
      transform: translateY(-1px);
    }

    .footer-social-btn {
      border: 1px solid rgba(255, 255, 255, 0.18);
      color: var(--accent);
      background-color: rgba(255, 255, 255, 0.04);
      transition: all 0.15s ease;
    }

    .footer-social-btn:hover {
      background-color: var(--accent);
      border-color: var(--accent);
      color: #ffffff;
    }

    .timeline-line {
      border-left: 2px solid var(--border);
    }

    .timeline-dot {
      background-color: var(--accent);
      border: 3px solid var(--surface);
    }

    .blog-main {
      flex: 1;
      padding: clamp(1.5rem, 5vw, 3rem) clamp(1.25rem, 6vw, 3.5rem);
    }

    .blog-page,
    .blog-article {
      width: min(100%, 48rem);
      margin: 0 auto;
    }

    .blog-page-title {
      margin: 0 0 1.5rem;
      color: var(--text);
      font-size: clamp(1.75rem, 4vw, 2.25rem);
      letter-spacing: -0.035em;
    }

    .blog-post-card,
    .blog-page > article,
    .blog-article {
      padding: clamp(1.25rem, 4vw, 2rem);
      border: 1px solid var(--border);
      border-radius: 0.75rem;
      background-color: var(--surface-subtle);
      box-shadow: var(--shadow);
    }

    .blog-post-card + .blog-post-card {
      margin-top: 1.25rem;
    }

    .blog-page h1,
    .blog-page h2,
    .blog-article h1,
    .blog-article h2,
    .blog-article h3 {
      color: var(--text);
      letter-spacing: -0.025em;
    }

    .blog-page header h1,
    .blog-article header h1 {
      margin: 0 0 0.35rem;
      font-size: clamp(1.35rem, 3vw, 1.75rem);
    }

    .blog-page header h1 a,
    .blog-article header h1 a {
      color: var(--text);
      text-decoration: none;
    }

    .blog-page header h1 a:hover,
    .blog-article header h1 a:hover {
      color: var(--accent);
    }

    .blog-page time,
    .blog-article time {
      color: var(--muted);
      font-size: 0.875rem;
    }

    .blog-page p,
    .blog-article p,
    .blog-article li {
      color: var(--text);
    }

    .blog-page a,
    .blog-article a {
      color: var(--accent);
      text-decoration-color: var(--accent-soft-text);
      text-underline-offset: 0.2em;
    }

    .blog-page a:hover,
    .blog-article a:hover {
      color: var(--accent-hover);
    }

    .blog-page .more {
      margin-top: 1rem;
      font-weight: 600;
    }

    .blog-article blockquote,
    .blog-article pre {
      padding: 1rem;
      overflow-x: auto;
      border: 1px solid var(--border);
      border-radius: 0.5rem;
      background-color: var(--surface);
    }

    .blog-article img {
      max-width: 100%;
      height: auto;
    }

    .blog-shell .card-layout {
      display: flex;
      flex-direction: column;
      gap: 1.5em;
    }

    .blog-shell .card {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5em;
      padding: 1.5em;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: var(--surface-subtle);
      box-shadow: var(--shadow);
    }

    .blog-shell .card-title {
      flex: 0 0 160px;
      border-right: 2px solid var(--accent);
      padding-right: 1em;
    }

    .blog-shell .card-content {
      flex: 1 1 300px;
    }

    @media (max-width: 600px) {
      .blog-shell .card-title {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 2px solid var(--accent);
        padding: 0 0 0.5em;
      }
    }
