:root {
    --ink: #1a1916;
    --ink2: #3d3b35;
    --ink3: #6e6c64;
    --ink4: #9a9890;
    --paper: #faf8f4;
    --paper2: #f2efe9;
    --paper3: #e8e4db;
    --accent: #b5460f;
    --accent2: #d4651c;
    --accent-light: #f5e8df;
    --teal: #1a6b5c;
    --teal-light: #d8ede8;
    --blue: #1c4f82;
    --blue-light: #ddeaf5;
    --rule: rgba(26,25,22,0.12);
    --col: 720px;
  }

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

  html { font-size: 16px; scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.75;
  }

  /* COVER */
  .cover {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--paper);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
  }

  .cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.03) 39px,
      rgba(255,255,255,0.03) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.03) 39px,
      rgba(255,255,255,0.03) 40px
    );
  }

  .cover-inner {
    position: relative;
    max-width: 780px;
    width: 100%;
  }

  .cover-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250,248,244,0.45);
    margin-bottom: 2rem;
  }

  .cover-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--paper);
    margin-bottom: 1.5rem;
  }

  .cover-title em {
    font-style: italic;
    color: #d4a882;
  }

  .cover-subtitle {
    font-size: 15px;
    font-weight: 300;
    color: rgba(250,248,244,0.6);
    max-width: 560px;
    margin-bottom: 3rem;
    line-height: 1.8;
  }

  .cover-meta {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    flex-wrap: wrap;
  }

  .cover-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .cover-meta-label {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(250,248,244,0.35);
  }

  .cover-meta-value {
    font-size: 13px;
    color: rgba(250,248,244,0.7);
  }

  .horizon-band {
    display: flex;
    gap: 0;
    margin-top: 3rem;
    border-radius: 2px;
    overflow: hidden;
    height: 4px;
  }

  .h5 { background: #d4a882; flex: 1; }
  .h10 { background: #b5460f; flex: 2; }
  .h20 { background: #6b2a08; flex: 4; }

  /* LAYOUT */
  .page {
    max-width: var(--col);
    margin: 0 auto;
    padding: 4rem 2rem;
  }

  /* TOC */
  .toc {
    background: var(--paper2);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 2.5rem;
    margin: 4rem auto;
    max-width: var(--col);
  }

  .toc-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink4);
    margin-bottom: 1.5rem;
  }

  .toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 3rem;
  }

  .toc-list a {
    text-decoration: none;
    color: var(--ink2);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid var(--rule);
    transition: color 0.15s;
  }

  .toc-list a:hover { color: var(--accent); }

  .toc-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    color: var(--ink4);
    min-width: 18px;
  }

  /* SECTIONS */
  .section {
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--rule);
  }

  .section:first-of-type { border-top: none; }

  .section-eyebrow {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 400;
  }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 1.5rem;
  }

  .section-lead {
    font-size: 17px;
    font-weight: 300;
    color: var(--ink2);
    line-height: 1.85;
    margin-bottom: 2.5rem;
    max-width: 640px;
  }

  p {
    font-size: 15px;
    color: var(--ink2);
    line-height: 1.85;
    margin-bottom: 1rem;
  }

  /* HORIZON CARDS */
  .horizon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    margin: 2.5rem 0;
  }

  .horizon-card {
    background: var(--paper);
    padding: 1.75rem;
  }

  .horizon-label {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 400;
  }

  .h5-card .horizon-label { color: #b5830f; }
  .h10-card .horizon-label { color: var(--accent); }
  .h20-card .horizon-label { color: #6b2a08; }

  .horizon-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--ink);
  }

  .horizon-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .horizon-items li {
    font-size: 13px;
    color: var(--ink2);
    line-height: 1.6;
    padding: 7px 0;
    border-bottom: 1px solid var(--rule);
    padding-left: 12px;
    position: relative;
  }

  .horizon-items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ink4);
  }

  .horizon-items li:last-child { border-bottom: none; }

  /* CALLOUT BOXES */
  .callout {
    border-left: 3px solid var(--accent);
    background: var(--accent-light);
    padding: 1.25rem 1.5rem;
    border-radius: 0 4px 4px 0;
    margin: 2rem 0;
  }

  .callout.teal {
    border-left-color: var(--teal);
    background: var(--teal-light);
  }

  .callout.blue {
    border-left-color: var(--blue);
    background: var(--blue-light);
  }

  .callout-title {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }

  .callout.teal .callout-title { color: var(--teal); }
  .callout.blue .callout-title { color: var(--blue); }
  .callout:not(.teal):not(.blue) .callout-title { color: var(--accent); }

  .callout p {
    font-size: 14px;
    margin: 0;
    color: var(--ink2);
  }

  /* STACK TABLE */
  .stack-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 13.5px;
  }

  .stack-table th {
    text-align: left;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink4);
    font-weight: 400;
    padding: 0 1rem 0.75rem 0;
    border-bottom: 2px solid var(--rule);
  }

  .stack-table td {
    padding: 0.8rem 1rem 0.8rem 0;
    border-bottom: 1px solid var(--rule);
    vertical-align: top;
    line-height: 1.6;
    color: var(--ink2);
  }

  .stack-table tr:last-child td { border-bottom: none; }

  .tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 2px;
    font-weight: 500;
    vertical-align: middle;
  }

  .tag-now { background: #e8f0e8; color: #2a6628; }
  .tag-soon { background: var(--accent-light); color: var(--accent); }
  .tag-future { background: var(--blue-light); color: var(--blue); }
  .tag-core { background: var(--paper3); color: var(--ink2); }

  /* WORKFLOW */
  .workflow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 2.5rem 0;
    position: relative;
  }

  .workflow::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--rule);
  }

  .wf-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem 0;
    position: relative;
  }

  .wf-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink3);
    position: relative;
    z-index: 1;
  }

  .wf-content { padding-top: 8px; }

  .wf-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 4px;
  }

  .wf-desc {
    font-size: 13.5px;
    color: var(--ink3);
    line-height: 1.7;
    margin: 0;
  }

  .wf-tech {
    font-size: 11.5px;
    color: var(--accent);
    margin-top: 4px;
  }

  /* PRINCIPLE GRID */
  .principle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    margin: 2.5rem 0;
  }

  .principle-card {
    background: var(--paper);
    padding: 1.5rem;
  }

  .principle-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--ink4);
    margin-bottom: 0.5rem;
    display: block;
  }

  .principle-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.5rem;
  }

  .principle-desc {
    font-size: 13px;
    color: var(--ink3);
    line-height: 1.7;
    margin: 0;
  }

  /* QUOTES */
  blockquote {
    border-left: none;
    margin: 2.5rem 0;
    padding: 0;
  }

  blockquote p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-style: italic;
    font-weight: 300;
    color: var(--ink);
    line-height: 1.55;
    margin: 0 0 0.75rem;
  }

  blockquote cite {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink4);
    font-style: normal;
  }

  /* H2/H3 */
  h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ink);
    margin: 2.5rem 0 0.75rem;
  }

  h3 {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink3);
    margin: 2rem 0 0.75rem;
  }

  ul, ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
  }

  li {
    font-size: 14.5px;
    color: var(--ink2);
    line-height: 1.8;
    margin-bottom: 4px;
  }

  strong {
    font-weight: 500;
    color: var(--ink);
  }

  /* FOOTER */
  .footer {
    background: var(--ink);
    color: rgba(250,248,244,0.5);
    text-align: center;
    padding: 3rem 2rem;
    font-size: 12px;
    margin-top: 6rem;
  }

  .footer strong {
    color: rgba(250,248,244,0.85);
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
  }

  /* RESPONSIVE */
  @media (max-width: 680px) {
    .horizon-grid { grid-template-columns: 1fr; }
    .principle-grid { grid-template-columns: 1fr; }
    .toc-list { grid-template-columns: 1fr; }
  }

  .divider {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 1.5rem 0;
  }

  .pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 1rem 0;
  }

  .pill {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid var(--rule);
    color: var(--ink3);
    background: var(--paper2);
  }

  .pill.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
  }