    :root {
      --earth:  #1a1408;
      --soil:   #2e1f0a;
      --bark:   #4a3218;
      --straw:  #c9a96e;
      --cream:  #f5edd8;
      --leaf:   #4e7c40;
      --accent: #8ab87a;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      background: var(--earth);
      color: var(--cream);
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      line-height: 1.8;
    }

    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.2rem 3rem;
      background: rgba(26,20,8,0.9);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(201,169,110,0.15);
    }
    .nav-logo {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem; font-weight: 700;
      color: var(--straw); text-decoration: none;
    }
    .nav-links { display: flex; gap: 2rem; list-style: none; }
    .nav-links a {
      color: rgba(245,237,216,0.7);
      text-decoration: none;
      font-size: 0.85rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition: color 0.2s;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--straw); }

    /* PAGE HEADER */
    .page-header {
      padding: 10rem 2rem 5rem;
      text-align: center;
      background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(74,50,24,0.5) 0%, transparent 70%),
        var(--soil);
      border-bottom: 1px solid rgba(201,169,110,0.1);
    }
    .eyebrow {
      display: inline-block;
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
      border: 1px solid rgba(138,184,122,0.4);
      padding: 0.3rem 1rem;
      border-radius: 2rem;
      margin-bottom: 1.5rem;
    }
    h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.5rem, 6vw, 4rem);
      font-weight: 900;
      line-height: 1.1;
      color: var(--cream);
    }
    .meta {
      margin-top: 1rem;
      font-size: 0.8rem;
      color: rgba(245,237,216,0.35);
      letter-spacing: 0.05em;
    }

    /* LAYOUT */
    .doc-layout {
      max-width: 1100px;
      margin: 0 auto;
      padding: 5rem 2rem 6rem;
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 4rem;
      align-items: start;
    }

    /* SIDEBAR TOC */
    .toc {
      position: sticky;
      top: 6rem;
      list-style: none;
      border-left: 1px solid rgba(201,169,110,0.15);
      padding-left: 1.5rem;
    }
    .toc li { margin-bottom: 0.6rem; }
    .toc a {
      font-size: 0.8rem;
      color: rgba(245,237,216,0.4);
      text-decoration: none;
      transition: color 0.2s;
      display: block;
    }
    .toc a:hover { color: var(--straw); }

    /* PROSE */
    .prose h2 {
      font-family: 'Playfair Display', serif;
      font-size: 1.6rem;
      color: var(--straw);
      margin: 3rem 0 1rem;
      padding-top: 1rem;
    }
    .prose h2:first-child { margin-top: 0; }
    .prose p {
      font-size: 0.95rem;
      color: rgba(245,237,216,0.65);
      margin-bottom: 1.1rem;
    }
    .prose ul {
      padding-left: 1.5rem;
      margin-bottom: 1.1rem;
    }
    .prose ul li {
      font-size: 0.95rem;
      color: rgba(245,237,216,0.65);
      margin-bottom: 0.4rem;
    }
    .prose a { color: var(--accent); text-decoration: none; }
    .prose a:hover { text-decoration: underline; }

    .info-box {
      background: rgba(78,124,64,0.1);
      border: 1px solid rgba(78,124,64,0.25);
      border-radius: 4px;
      padding: 1.2rem 1.5rem;
      margin: 1.5rem 0;
      font-size: 0.88rem;
      color: rgba(245,237,216,0.7);
    }
    .info-box strong { color: var(--accent); }

    /* FOOTER */
    footer {
      background: var(--earth);
      border-top: 1px solid rgba(201,169,110,0.12);
      padding: 3rem 2rem;
    }
    .footer-inner {
      max-width: 1100px; margin: 0 auto;
      display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
      gap: 1.5rem;
    }
    .footer-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--straw); font-weight: 700; }
    .footer-links { display: flex; gap: 1.5rem; list-style: none; }
    .footer-links a { font-size: 0.8rem; color: rgba(245,237,216,0.4); text-decoration: none; transition: color 0.2s; }
    .footer-links a:hover { color: var(--straw); }
    .footer-copy { font-size: 0.75rem; color: rgba(245,237,216,0.25); width: 100%; text-align: center; margin-top: 1.5rem; }

    @media (max-width: 768px) {
      .doc-layout { grid-template-columns: 1fr; }
      .toc { display: none; }
      nav { padding: 1rem 1.5rem; }
      .nav-links { display: none; }
    }
  
    /* unified-footer */
    .footer {
      padding: 30px 0;
      color: rgba(245,237,216,0.58);
      background: #2e1f0a;
      border-top: 1px solid rgba(201,169,110,0.16);
      font-size: 0.9rem;
    }
    .footer .footer-inner {
      width: min(1160px, calc(100% - 32px));
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
    }
    .footer .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .footer .footer-links a {
      color: rgba(245,237,216,0.58);
      text-decoration: none;
      font-weight: 750;
      font-size: 0.9rem;
    }
    .footer .footer-links a:hover { color: #8ab87a; }
