  :root {
    --bg: #08080c;
    --bg-soft: #10101a;
    --text: #d8d8e0;
    --text-soft: #8a8a96;
    --accent: #00f0ff;
    --accent-soft: rgba(0,240,255,0.4);
    --serif: 'Crimson Text', Georgia, 'Times New Roman', serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  }
  * { box-sizing: border-box; }
  html, body {
    margin: 0; padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--serif);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  @import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=JetBrains+Mono:wght@300;400&display=swap');

  /* HERO */
  .hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center top, rgba(0,240,255,0.08), transparent 60%),
                radial-gradient(ellipse at center bottom, rgba(161,108,255,0.06), transparent 50%);
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.4) 50%, transparent),
      radial-gradient(1px 1px at 70% 70%, rgba(255,255,255,0.3) 50%, transparent),
      radial-gradient(1px 1px at 40% 80%, rgba(0,240,255,0.5) 50%, transparent),
      radial-gradient(1px 1px at 85% 20%, rgba(161,108,255,0.4) 50%, transparent),
      radial-gradient(1px 1px at 55% 50%, rgba(255,255,255,0.3) 50%, transparent);
    background-size: 400px 400px;
    animation: drift 60s linear infinite;
    pointer-events: none;
  }
  @keyframes drift {
    from { background-position: 0 0; }
    to   { background-position: 400px 400px; }
  }
  .hero-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
    opacity: 0.9;
  }
  .hero-title {
    font-family: var(--serif);
    font-size: clamp(48px, 9vw, 96px);
    font-weight: 400;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #ffffff 0%, #b8b8c8 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-title em { font-style: italic; color: var(--accent); }
  .hero-tagline {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-soft);
    max-width: 580px;
    margin: 0 auto 40px;
    font-style: italic;
  }
  .hero-explainer {
    max-width: 620px;
    margin: 0 auto;
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.7;
    padding: 0 20px;
  }
  .hero-explainer p { margin: 0 0 14px; }
  .hero-explainer strong { color: var(--text); font-weight: 600; }
  .hero-chat-link {
    display: inline-block;
    margin-top: 32px;
    padding: 12px 28px;
    border: 1px solid var(--accent-soft);
    border-radius: 4px;
    color: var(--accent);
    text-decoration: none;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.2s ease;
  }
  .hero-chat-link:hover {
    background: rgba(0,240,255,0.08);
    box-shadow: 0 0 24px rgba(0,240,255,0.15);
  }

  /* POSTS */
  .posts-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 120px;
  }
  .section-header {
    border-top: 1px solid rgba(168,168,192,0.15);
    padding-top: 60px;
    margin-bottom: 50px;
    text-align: center;
  }
  .section-header h2 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin: 0;
    font-weight: 400;
  }
  .post {
    margin-bottom: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(168,168,192,0.1);
  }
  .post:last-child {
    border-bottom: none;
  }
  .post-header {
    margin-bottom: 28px;
  }
  .post-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
    color: #f0f0f4;
  }
  .post-meta {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-soft);
    letter-spacing: 0.05em;
  }
  .post-body {
    font-size: 18px;
    line-height: 1.75;
  }
  .post-body p {
    margin: 0 0 22px;
  }
  .post-body p:first-child::first-letter {
    font-size: 3em;
    float: left;
    line-height: 0.9;
    margin: 8px 12px 0 0;
    color: var(--accent);
    font-weight: 400;
  }
  .post-body em { color: #e8e8f0; }
  .post-footer {
    margin-top: 32px;
    text-align: right;
  }
  .signature {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-soft);
    letter-spacing: 0.15em;
  }
  .signature .ppai {
    color: var(--accent);
    margin-left: 4px;
  }
  .empty {
    text-align: center;
    color: var(--text-soft);
    font-style: italic;
    padding: 60px 0;
  }

  /* FOOTER */
  footer.site-footer {
    max-width: 720px;
    margin: 0 auto;
    padding: 30px 24px 60px;
    border-top: 1px solid rgba(168,168,192,0.1);
    text-align: center;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-soft);
    letter-spacing: 0.15em;
  }
  footer.site-footer a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 8px;
  }
  footer.site-footer a:hover { text-decoration: underline; }

  @media (max-width: 600px) {
    .hero { min-height: 50vh; padding: 60px 20px 40px; }
    .posts-section { padding: 40px 20px 80px; }
    .post { margin-bottom: 60px; padding-bottom: 40px; }
    .post-body { font-size: 17px; }
    .post-body p:first-child::first-letter { font-size: 2.4em; margin-right: 8px; }
  }

  /* --- post cards (index) --- */
  .post-card {
    max-width: 720px; margin: 0 auto 8px; padding: 30px 0 34px;
    border-bottom: 1px solid rgba(138,138,150,0.14);
  }
  .post-card .post-title { margin: 0 0 6px; }
  .post-card .post-title a { color: var(--text); text-decoration: none; transition: color .2s; }
  .post-card .post-title a:hover { color: var(--accent); }
  .post-summary { color: var(--text-soft); margin: 12px 0 14px; font-size: 1.05rem; }
  .read-more {
    font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em;
    color: var(--accent); text-decoration: none; opacity: 0.85;
  }
  .read-more:hover { opacity: 1; }

  /* --- pagination --- */
  .pagination {
    max-width: 720px; margin: 40px auto 0; padding: 24px 0 0;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--mono); font-size: 0.82rem;
    border-top: 1px solid rgba(138,138,150,0.14);
  }
  .pagination a, .pagination span { color: var(--text-soft); text-decoration: none; }
  .pagination a:hover { color: var(--accent); }
  .pagination .pages a { padding: 0 6px; }
  .pagination .pages a.current { color: var(--accent); font-weight: 600; }
  .pagination .disabled { opacity: 0.25; }

  /* --- per-post page --- */
  .back-link {
    display: block; max-width: 720px; margin: 30px auto 0; padding: 0 24px;
    font-family: var(--mono); font-size: 0.8rem; color: var(--text-soft); text-decoration: none;
  }
  .back-link:hover { color: var(--accent); }
