:root {
    --ink: #0e0e0e;
    --ink-muted: #555;
    --paper: #f5f5f5;
    --accent: #1a1aff;
    --rule: hsl(0, 0%, 85.1%);
    --white: #fff;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { font-size: 16px; scroll-behavior: smooth; }
  body {
    background: var(--paper); color: var(--ink);
    font-family: 'DM Sans', sans-serif; font-weight: 400;
    line-height: 1.7; -webkit-font-smoothing: antialiased;
  }

  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.25rem 3rem;
    display: flex; align-items: center; justify-content: space-between;
    background: var(--paper); border-bottom: 1px solid var(--rule);
  }
  .nav-links { display: flex; gap: 2rem; }
  .nav-links a { font-size: 0.85rem; color: var(--ink-muted); text-decoration: none; letter-spacing: 0.03em; transition: color 0.2s; }
  .nav-links a:hover { color: var(--ink); }

  /* LAYOUT */
  .read { max-width: 720px; margin: 0 auto; }
  .wide { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .two-col.center { align-items: center; }

  /* SPACING */
  .py-lg { padding: 5rem 0; }
  .py-md { padding: 4rem 0; }
  .pb-md { padding-bottom: 4rem; }
  .pb-sm { padding-bottom: 2rem; }
  .mt-xs { margin-top: 1.5rem; }
  .mt-sm { margin-top: 2rem; }
  .mb-sm { margin-bottom: 2rem; }

  /* TYPE */
  .meta { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
  h1 { font-family: 'Source Serif 4', serif; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 2rem; }
  h2 { font-family: 'Source Serif 4', serif; font-size: 1.9rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
  h2.on-dark { color: var(--white); }
  .label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
  .label-muted { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
  p { font-size: 0.95rem; line-height: 1.85; color: var(--ink-muted); margin-bottom: 1.25rem; }
  p:last-child { margin-bottom: 0; }
  p.on-dark { color: rgba(255,255,255,0.65); }
  p.lead { font-size: 1.05rem; }
  strong { color: var(--ink); font-weight: 500; }

  .hook, blockquote { font-family: 'Source Serif 4', serif; font-size: 1.5rem; font-style: italic; line-height: 1.5; border-left: 3px solid var(--accent); padding-left: 1.75rem; color: var(--ink); margin: 2.5rem 0; }

  hr { border: none; border-top: 1px solid var(--rule); }
  hr.read { max-width: 720px; margin: 0 auto; }

  /* IMAGES */
  .img-wrap { width: 100%; border-radius: 16px; overflow: hidden; background: var(--white); border: 1px solid var(--rule); }
  .img-wrap img { width: 100%; display: block; }
  .img-ph { width: 100%; border-radius: 16px; background: var(--white); border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: #aaa; }
  .img-caption { font-size: 0.8rem; color: var(--ink-muted); text-align: center; margin-top: 0.75rem; }

  /* PHASE BADGE */
  .phase-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--accent); color: var(--white);
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; padding: 0.35rem 0.85rem;
    border-radius: 100px; margin-bottom: 1rem;
  }
  .phase-badge.soft {
    background: var(--white); color: var(--accent);
    border: 1px solid var(--accent);
  }

  /* STAT CALLOUT */
  .stat-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
    margin: 2rem 0;
  }
  .stat-box {
    padding: 1.5rem; border-radius: 14px; text-align: center;
    background: var(--white); border: 1px solid var(--rule);
  }
  .stat-box.accent { background: var(--accent); border-color: var(--accent); }
  .stat-val { font-family: 'Source Serif 4', serif; font-size: 2.4rem; font-weight: 900; line-height: 1; display: block; margin-bottom: 0.35rem; color: var(--ink); }
  .stat-box.accent .stat-val { color: var(--white); }
  .stat-lbl { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-muted); }
  .stat-box.accent .stat-lbl { color: rgba(255,255,255,0.75); }

  /* BEFORE/AFTER */
  .before-label {
    display: inline-block; font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.25rem 0.7rem; border-radius: 100px;
    margin-bottom: 0.75rem;
  }
  .before-label.before { background: var(--accent); color: var(--white); }
  .before-label.after { background: var(--accent); color: var(--white); }

  /* TIMELINE */
  .timeline { display: flex; flex-direction: column; gap: 0; }
  .tl-item { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
  .tl-item:first-child { padding-top: 0; }
  .tl-item:last-child { border-bottom: none; padding-bottom: 0; }
  .tl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 0.4rem; }
  .tl-body {}
  .tl-date { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.25rem; }
  .tl-title { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
  .tl-desc { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.6; margin: 0; }

  /* OKR CARDS */
  .okr-cards { display: flex; flex-direction: column; gap: 0.75rem; }
  .okr-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 1.25rem 1.5rem; }
  .okr-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem; }
  .okr-title { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }
  .okr-detail { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.5; margin: 0; }
  .okr-progress { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
  .okr-bar-bg { flex: 1; height: 5px; background: #e8e4dc; border-radius: 100px; overflow: hidden; }
  .okr-bar-fill { height: 100%; background: var(--accent); border-radius: 100px; }
  .okr-nums { font-size: 0.78rem; color: var(--ink-muted); white-space: nowrap; }
  .okr-nums strong { color: var(--accent); }

  /* TILES — horizontal row */
  .tile-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  .tile {
    background: var(--white); border: 1px solid var(--rule);
    border-radius: 14px; padding: 1.5rem;
  }
  .tile.tile-accent {
    background: var(--accent); border-color: var(--accent);
  }
  .tile.tile-soft {
    background: #f0f0ff; border-color: #d0d0ff;
  }
  .tile-date {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 0.5rem;
  }
  .tile-accent .tile-date { color: rgba(255,255,255,0.65); }
  .tile-soft .tile-date { color: #8888cc; }
  .tile-title {
    font-family: 'Source Serif 4', serif;
    font-size: 1.6rem; font-weight: 700; line-height: 1.2;
    color: var(--ink); margin-bottom: 0.5rem;
  }
  .tile-accent .tile-title { color: var(--white); }
  .tile-soft .tile-title { color: #333366; }
  .tile-desc {
    font-size: 0.83rem; color: var(--ink-muted); line-height: 1.55; margin: 0;
  }
  .tile-accent .tile-desc { color: rgba(255,255,255,0.75); }
  .tile-soft .tile-desc { color: #555577; }


  .tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
  .tag { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; padding: 0.4rem 0.9rem; border-radius: 100px; }

  /* PRINCIPLES */
  .principles { display: flex; flex-direction: column; gap: 1.25rem; }
  .principle { padding-left: 1.25rem; border-left: 2px solid rgba(255,255,255,0.25); }
  .p-title { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
  .p-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0; }

  .dark { background: var(--ink); }
  .outcome-hed { font-family: 'Source Serif 4', serif; font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.25; color: var(--white); margin-bottom: 1.25rem; }
  .outcome-body { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 1rem; }

  .tile.tile-dark { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
  .tile-dark .tile-date { color: rgba(255,255,255,0.45); }
  .tile-dark .tile-title { color: var(--white); }
  .tile-dark .tile-desc { color: rgba(255,255,255,0.6); }

  .goldman { margin-top: 2rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,0.15); border-radius: 14px; }
  .g-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 0.5rem; }
  .g-val { font-family: 'Source Serif 4', serif; font-size: 2.5rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 0.5rem; }
  .g-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.55; margin: 0; }

  footer { border-top: 1px solid var(--rule); padding: 3rem 2rem; display: flex; justify-content: space-between; align-items: center; max-width: 720px; margin: 0 auto; }
  footer a { font-size: 0.85rem; color: var(--ink-muted); text-decoration: none; }
  footer a:hover { color: var(--ink); }

  .fade-in { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease forwards; }
  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
  .fade-in:nth-child(1) { animation-delay: 0.1s; }
  .fade-in:nth-child(2) { animation-delay: 0.25s; }
  .fade-in:nth-child(3) { animation-delay: 0.4s; }
  .fade-in:nth-child(4) { animation-delay: 0.5s; }

  @media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .read { padding: 0; }
    .wide { padding: 0 1.5rem; }
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .tile-row { grid-template-columns: 1fr 1fr; }
    .stat-row { grid-template-columns: 1fr 1fr; }
    .py-lg { padding: 3.5rem 0; }
    .py-md { padding: 3rem 0; }
    .hook, blockquote { font-size: 1.2rem; }
    footer { flex-direction: column; gap: 1rem; }
  }
