  :root{
    --bg:#faf9f5;
    --paper:#ffffff;
    --ink:#16302e;
    --ink-soft:#3d5654;
    --teal:#1f6e69;
    --teal-deep:#123f3c;
    --teal-light:#6fbbb5;
    --green:#7cb342;
    --green-soft:#c7e0a3;
    --clay:#e2854b;
    --line:rgba(22,48,46,0.14);
    --line-strong:rgba(22,48,46,0.26);
    --radius:2px;
    --maxw:1180px;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family:'Inter', sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.display{
    font-family:'Fraunces', serif;
    font-weight:600;
    letter-spacing:-0.01em;
    color:var(--teal-deep);
    margin:0;
  }
  .mono{ font-family:'JetBrains Mono', monospace; }
  a{color:inherit;}
  img{max-width:100%; display:block;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
  @media (max-width:640px){ .wrap{padding:0 20px;} }

  a:focus-visible, button:focus-visible{outline:2px solid var(--teal); outline-offset:3px;}
  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
  }

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(250,249,245,0.92);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  .nav-row{ display:flex; align-items:center; justify-content:space-between; height:76px; }
  .brand{display:flex; align-items:center; gap:12px; text-decoration:none;}
  .brand img{height:40px; width:auto;}
  .brand-text{display:flex; flex-direction:column; line-height:1.1;}
  .brand-text strong{font-family:'Fraunces', serif; font-size:1.15rem; font-weight:600; color:var(--teal-deep);}
  .brand-text span{font-family:'JetBrains Mono', monospace; font-size:0.62rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--teal-light);}

  nav.main-nav{display:flex; gap:2.2rem; align-items:center;}
  nav.main-nav a{
    text-decoration:none; color:var(--ink-soft); font-size:0.92rem; font-weight:500;
    position:relative; padding:6px 0;
  }
  nav.main-nav a::after{
    content:""; position:absolute; left:0; bottom:0; height:2px; width:0%;
    background:var(--clay); transition:width .25s ease;
  }
  nav.main-nav a:hover::after, nav.main-nav a:focus-visible::after{width:100%;}
  nav.main-nav a.current{color:var(--teal-deep); font-weight:600;}
  nav.main-nav a.current::after{width:100%; background:var(--teal);}

  .menu-toggle{
    display:none; background:none; border:1px solid var(--line-strong); border-radius:var(--radius);
    width:42px; height:42px; cursor:pointer; position:relative;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{
    content:""; position:absolute; left:11px; width:20px; height:2px; background:var(--teal-deep);
  }
  .menu-toggle span{top:20px;}
  .menu-toggle span::before{top:-6px;}
  .menu-toggle span::after{top:6px;}

  @media (max-width:860px){
    nav.main-nav{
      position:absolute; top:76px; left:0; right:0;
      background:var(--paper); flex-direction:column; align-items:stretch; gap:0;
      border-bottom:1px solid var(--line);
      max-height:0; overflow:hidden; transition:max-height .3s ease;
    }
    nav.main-nav.open{max-height:480px;}
    nav.main-nav a{padding:14px 32px; border-top:1px solid var(--line); font-size:1rem;}
    .menu-toggle{display:block;}
  }

  /* ---------- HERO (compact, single column) ---------- */
  .hero{ padding:64px 0 48px; position:relative; overflow:hidden; }
  .hero-inner{ max-width:64ch; }
  .eyebrow{
    font-family:'JetBrains Mono', monospace; font-size:0.72rem; letter-spacing:0.16em;
    text-transform:uppercase; color:var(--green); font-weight:600; margin-bottom:18px;
    display:flex; align-items:center; gap:10px;
  }
  .eyebrow::before{content:""; width:22px; height:1px; background:var(--green);}
  h1.hero-title{ font-size:clamp(2rem, 4vw, 3rem); line-height:1.1; margin-bottom:20px; }
  h1.hero-title em{ font-style:italic; color:var(--teal); }
  .hero-sub{ font-size:1.05rem; color:var(--ink-soft); max-width:52ch; margin-bottom:0; }
  @media (max-width:640px){ .hero{padding:40px 0 32px;} }

  .breath-divider{ width:100%; height:64px; display:block; }

  /* ---------- SECTION SHELL ---------- */
  .section{padding:0 0 96px;}
  .section-head{max-width:640px; margin-bottom:44px;}
  .section-tag{
    font-family:'JetBrains Mono', monospace; font-size:0.72rem; letter-spacing:0.16em;
    text-transform:uppercase; color:var(--clay); font-weight:600; margin-bottom:14px; display:block;
  }

  /* ---------- TIMELINE ---------- */
  .timeline{ position:relative; max-width:760px; }
  .timeline::before{
    content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px;
    background:var(--line-strong);
  }
  @media (max-width:560px){ .timeline::before{left:5px;} }

  .tl-entry{ position:relative; padding-left:44px; padding-bottom:48px; }
  .tl-entry:last-child{ padding-bottom:0; }
  @media (max-width:560px){ .tl-entry{padding-left:30px;} }

  .tl-dot{
    position:absolute; left:0; top:6px; width:20px; height:20px; border-radius:50%;
    background:var(--paper); border:2px solid var(--teal); z-index:1;
  }
  .tl-dot::after{
    content:""; position:absolute; inset:4px; border-radius:50%; background:var(--teal);
  }
  @media (max-width:560px){
    .tl-dot{ width:12px; height:12px; }
    .tl-dot::after{ inset:2px; }
  }

  .tl-card{
    background:var(--paper); border:1px solid var(--line); border-left:3px solid var(--teal);
    padding:26px 28px;
  }
  .tl-card.c-green{ border-left-color:var(--green); }
  .tl-card.c-clay{ border-left-color:var(--clay); }

  .tl-meta{
    display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:12px;
  }
  .tl-date{
    font-family:'JetBrains Mono', monospace; font-size:0.78rem; color:var(--teal); font-weight:600;
  }
  .tl-tag{
    font-family:'JetBrains Mono', monospace; font-size:0.66rem; letter-spacing:0.08em; text-transform:uppercase;
    padding:3px 9px; border-radius:2px; background:var(--green-soft); color:var(--teal-deep); font-weight:600;
  }
  .tl-tag.tag-alt{ background:rgba(31,110,105,0.12); color:var(--teal); }
  .tl-tag.tag-warn{ background:rgba(226,133,75,0.16); color:#a35a26; }

  .tl-card h3{ font-size:1.15rem; margin-bottom:10px; }
  .tl-card p{ font-size:0.94rem; color:var(--ink-soft); margin:0 0 14px; }
  .tl-card p:last-of-type{ margin-bottom:0; }

  .tl-media{
    margin:0 0 18px; border:1px solid var(--line); background:var(--bg); overflow:hidden;
  }
  .tl-media img{ width:100%; height:auto; max-height:340px; object-fit:cover; display:block; }
  .tl-media.is-tall img{ max-height:460px; }
  .tl-caption{
    font-family:'JetBrains Mono', monospace; font-size:0.72rem; color:var(--ink-soft);
    margin:-10px 0 16px; font-style:italic;
  }
  /* multiple images in one entry */
  .tl-media-grid{
    display:grid; grid-template-columns:1fr 1fr; gap:1px; margin:0 0 18px;
    border:1px solid var(--line); background:var(--line); overflow:hidden;
  }
  .tl-media-grid img{ width:100%; height:100%; max-height:220px; object-fit:cover; display:block; background:var(--paper); }
  @media (max-width:480px){ .tl-media-grid{ grid-template-columns:1fr; } }

  .tl-footer{
    display:flex; align-items:center; justify-content:space-between; margin-top:16px;
    padding-top:14px; border-top:1px solid var(--line); flex-wrap:wrap; gap:10px;
  }
  .tl-author{
    display:flex; align-items:center; gap:8px; font-size:0.82rem; color:var(--ink-soft);
  }
  .tl-avatar{
    width:22px; height:22px; border-radius:50%; background:var(--teal-deep); color:#fff;
    display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono', monospace;
    font-size:0.62rem; font-weight:600; flex:0 0 auto;
  }
  .tl-link{
    font-size:0.82rem; font-weight:600; color:var(--teal); text-decoration:none;
    display:inline-flex; align-items:center; gap:4px;
  }
  .tl-link:hover{ text-decoration:underline; }

  /* code-style excerpt used in changelog-type posts */
  .tl-code{
    background:var(--teal-deep); color:var(--green-soft); font-family:'JetBrains Mono', monospace;
    font-size:0.8rem; padding:14px 16px; border-radius:2px; margin:0 0 14px; overflow-x:auto; white-space:pre;
  }

  /* ---------- END-OF-FEED MARKER ---------- */
  .feed-end{
    display:flex; align-items:center; gap:14px; margin-top:8px; padding-left:44px;
    font-family:'JetBrains Mono', monospace; font-size:0.78rem; color:var(--ink-soft);
  }
  @media (max-width:560px){ .feed-end{padding-left:30px;} }
  .feed-end::before{ content:"—"; color:var(--teal-light); }

  /* ---------- FOLLOW / CLOSING ---------- */
  .closing{ background:var(--teal-deep); color:#fff; padding:90px 0; text-align:center; }
  .closing h2{ color:#fff; font-size:clamp(1.7rem,3.4vw,2.4rem); max-width:22ch; margin:0 auto 20px; }
  .closing p{ color:rgba(244,244,238,0.75); max-width:52ch; margin:0 auto 34px; font-size:1rem; }
  .hero-cta{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:13px 24px; border-radius:var(--radius);
    font-size:0.94rem; font-weight:600; text-decoration:none;
    border:1px solid transparent; cursor:pointer;
  }
  .btn-primary{background:var(--clay); color:#fff;}
  .btn-primary:hover{background:#c96f38;}
  .btn-ghost{border-color:rgba(255,255,255,0.4); color:#fff;}
  .btn-ghost:hover{border-color:#fff; background:rgba(255,255,255,0.06);}

  footer{ padding:36px 0; border-top:1px solid var(--line); background:var(--bg); }
  .footer-row{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; }
  footer .mono{font-size:0.76rem; color:var(--ink-soft);}
  footer .brand-text span{color:var(--teal-light);}