:root {
    --bg: #f6f3ea; --paper: #fffdf7; --ink: #2b2a26; --muted: #6b6860;
    --green: #4f7a3a; --green-d: #35562a; --earth: #a8663a; --sun: #d9a441; --line: #e3dccb;
    --done: #4f7a3a; --wip: #d9a441; --todo: #b5b0a3;
  }
  * { box-sizing: border-box; }
  body { margin: 0; font: 16px/1.55 Georgia, "Times New Roman", serif; color: var(--ink); background: var(--bg); }
  header { position: relative; isolation: isolate; min-height: clamp(380px, 48vw, 680px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--green-d); color: #fff; padding: 64px 24px 48px; text-align: center; }
  header .hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, transparent 20%, rgba(16, 32, 17, .6) 65%, rgba(16, 32, 17, .95)); }
  header h1 { margin: 0 0 8px; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: .5px; }
  header p { margin: 0 auto; max-width: 42rem; font-size: 1.15rem; opacity: .95; }
  header .meta { margin-top: 20px; font-size: .9rem; opacity: .8; }
  nav { position: sticky; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 24px; display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; font-family: system-ui, sans-serif; font-size: .95rem; }
  nav a { color: var(--green-d); text-decoration: none; font-weight: 600; }
  nav a:hover { text-decoration: underline; }
  main { max-width: 68rem; margin: 0 auto; padding: 16px 24px 64px; }
  section { margin-top: 56px; }
  h2 { font-size: 1.8rem; color: var(--green-d); border-bottom: 2px solid var(--line); padding-bottom: 6px; margin-bottom: 20px; }
  h3 { margin: 0 0 6px; font-size: 1.15rem; }
  .lead { font-size: 1.1rem; max-width: 46rem; }
  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
  .card { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: 8px; padding: 18px 20px; }
  .card.earth { border-left-color: var(--earth); }
  .card.sun { border-left-color: var(--sun); }
  .card p { margin: 0; color: var(--muted); }
  .card ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
  .pillars { counter-reset: p; }
  .pillars .card { position: relative; padding-left: 60px; }
  .pillars .card::before { counter-increment: p; content: counter(p); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font: 700 1rem/30px system-ui, sans-serif; text-align: center; }
  code { overflow-wrap: anywhere; }
  nav { z-index: 10; }
  @media (max-width: 480px) { main { padding: 12px 14px 40px; } .grid { grid-template-columns: minmax(0, 1fr); } .card { min-width: 0; } }
  /* roadmap */
  .timeline { list-style: none; margin: 0; padding: 0; position: relative; }
  .timeline::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 3px; background: var(--line); }
  .timeline li { position: relative; padding: 0 0 26px 48px; }
  .timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 19px; height: 19px; border-radius: 50%; border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--todo); background: var(--todo); }
  .timeline li.done::before { background: var(--done); box-shadow: 0 0 0 2px var(--done); }
  .timeline li.wip::before { background: var(--wip); box-shadow: 0 0 0 2px var(--wip); }
  .timeline .badge { display: inline-block; font: 600 .75rem/1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .5px; padding: 4px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; background: var(--todo); color: #fff; }
  .done .badge { background: var(--done); } .wip .badge { background: var(--wip); color: var(--ink); }
  .timeline p { margin: 4px 0 0; color: var(--muted); }
  .legend { font-family: system-ui, sans-serif; font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
  .legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 6px 0 14px; vertical-align: middle; background: var(--todo); }
  .legend .d::before { background: var(--done); } .legend .w::before { background: var(--wip); }
  table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: .95rem; }
  th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
  th { background: #efe9d8; font-family: system-ui, sans-serif; font-size: .85rem; text-transform: uppercase; letter-spacing: .4px; }
  .table-wrap { overflow-x: auto; }
  .note { background: #fbf3dc; border-left: 4px solid var(--sun); padding: 12px 16px; border-radius: 6px; color: var(--ink); }
  .links a { color: var(--green-d); }
  footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 24px; border-top: 1px solid var(--line); font-family: system-ui, sans-serif; }

.illustrated-card{display:block;padding:0;overflow:hidden;color:var(--green-d);text-decoration:none;border-left:1px solid var(--line)}.illustrated-card img{display:block;width:100%;height:180px;object-fit:cover}.illustrated-card>div{padding:20px}.illustrated-card:hover{border-color:var(--green)}
