  @import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

  :root {
    --ink: #1C1917;
    --ink-soft: #3A3533;
    --ink-muted: #6B6462;
    --paper: #FAF6EE;
    --paper-tint: #F2EBDC;
    --rule: #D9CFB8;
    --gold: #B58900;
    --gold-soft: #E6C76B;
    --accent: #8C1515;

    /* Ladder rung colors — gradient from cool/low-friction to warm/high-friction */
    --rung-1: #4A9E8F;  /* teal — personal */
    --rung-2: #D4A017;  /* HMC gold — Iris (highlighted rung) */
    --rung-3: #C97A3E;  /* warm orange — Hopper */
    --rung-4: #A85538;  /* terracotta — Laguna */
    --rung-5: #7B2E2E;  /* deep crimson — ACCESS */
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Source Sans 3', -apple-system, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    font-size: 18px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
  }

  /* Subtle paper texture via repeating dot pattern */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(28,25,23,0.025) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
  }

  .wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 28px 120px;
    position: relative;
    z-index: 1;
  }

  /* ============================== HERO ============================== */
  .hero {
    margin-bottom: 72px;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 40px;
  }

  .kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72em;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
  }
  .kicker::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
  }

  h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 24px;
    font-variation-settings: "opsz" 96;
  }

  .byline {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95em;
    color: var(--ink-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
  }
  .byline strong { color: var(--ink); font-weight: 600; }
  .byline .sep { color: var(--rule); }

  /* ============================== PROSE ============================== */
  p {
    margin-bottom: 22px;
    font-size: 1.02em;
    color: var(--ink-soft);
  }

  p.lede {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.28em;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink);
    margin-bottom: 32px;
    font-variation-settings: "opsz" 24;
  }

  p.lede::first-letter {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 3.6em;
    font-weight: 600;
    float: left;
    line-height: 0.85;
    margin: 6px 12px 0 -4px;
    color: var(--gold);
    font-variation-settings: "opsz" 144;
  }

  h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.8em;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    margin: 72px 0 20px;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 48;
    position: relative;
  }

  h2::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 0.55em;
    width: 16px;
    height: 2px;
    background: var(--gold);
  }

  h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.25em;
    font-weight: 600;
    color: var(--ink);
    margin: 40px 0 14px;
    font-variation-settings: "opsz" 24;
  }

  a {
    color: var(--accent);
    text-decoration-color: var(--gold-soft);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
  }
  a:hover { text-decoration-color: var(--accent); }

  strong { color: var(--ink); font-weight: 600; }
  em { font-style: italic; }

  ul, ol { margin: 0 0 22px 26px; }
  li { margin-bottom: 10px; color: var(--ink-soft); }
  li strong { color: var(--ink); }

  /* ============================== LADDER SVG ============================== */
  .ladder-figure {
    margin: 36px -20px 48px;
    padding: 0;
  }
  .ladder-figure svg {
    width: 100%;
    height: auto;
    display: block;
  }
  .figure-caption {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.88em;
    color: var(--ink-muted);
    text-align: center;
    margin-top: 14px;
    font-style: italic;
    padding: 0 10px;
  }

  /* ============================== LADDER TABLE ============================== */
  .ladder-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 40px;
    font-size: 0.92em;
    background: var(--paper-tint);
    border-radius: 6px;
    overflow: hidden;
  }
  .ladder-table th {
    background: var(--ink);
    color: var(--paper);
    padding: 12px 14px;
    text-align: left;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 0.82em;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .ladder-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--rule);
    vertical-align: top;
    color: var(--ink-soft);
  }
  .ladder-table tr:last-child td { border-bottom: none; }
  .ladder-table .rung-cell {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    border-left: 4px solid transparent;
  }
  .ladder-table tr:nth-child(1) .rung-cell { border-left-color: var(--rung-1); }
  .ladder-table tr.iris-row .rung-cell { border-left-color: var(--rung-2); background: rgba(212, 160, 23, 0.08); }
  .ladder-table tr.iris-row td { background: rgba(212, 160, 23, 0.06); }
  .ladder-table tr:nth-child(3) .rung-cell { border-left-color: var(--rung-3); }
  .ladder-table tr:nth-child(4) .rung-cell { border-left-color: var(--rung-4); }
  .ladder-table tr:nth-child(5) .rung-cell { border-left-color: var(--rung-5); }

  /* ============================== IRIS BOX ============================== */
  .iris-callout {
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.08) 0%, rgba(212, 160, 23, 0.02) 100%);
    border-left: 3px solid var(--gold);
    padding: 4px 24px 4px 26px;
    margin: 32px 0;
    border-radius: 0 4px 4px 0;
  }
  .iris-callout h3:first-child { margin-top: 16px; }

  /* ============================== VM SVG ============================== */
  .vm-figure {
    margin: 32px 0 40px;
  }
  .vm-figure svg {
    width: 100%;
    height: auto;
    display: block;
    max-width: 600px;
    margin: 0 auto;
  }

  /* ============================== PULL QUOTE / HIGHLIGHTS ============================== */
  .highlight {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.15em;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink);
    padding: 18px 0 18px 24px;
    margin: 28px 0;
    border-left: 3px solid var(--gold);
    font-variation-settings: "opsz" 36;
  }

  /* ============================== PHOTO PLACEHOLDER ============================== */
  .photo-placeholder {
    background: var(--paper-tint);
    border: 2px dashed var(--rule);
    border-radius: 6px;
    padding: 40px 20px;
    margin: 28px 0;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82em;
    color: var(--ink-muted);
    line-height: 1.6;
  }
  .photo-placeholder strong {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1em;
    color: var(--ink);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  /* ============================== CONTACT ============================== */
  .contact-box {
    background: var(--ink);
    color: var(--paper);
    border-radius: 8px;
    padding: 32px 28px;
    margin: 40px 0;
  }
  .contact-box h2 {
    color: var(--paper);
    margin: 0 0 18px;
    font-size: 1.4em;
  }
  .contact-box h2::before { background: var(--gold); }
  .contact-box p { color: rgba(250,246,238,0.82); margin-bottom: 14px; }
  .contact-box ul { margin-left: 0; list-style: none; }
  .contact-box li {
    color: rgba(250,246,238,0.82);
    padding: 8px 0;
    border-bottom: 1px solid rgba(250,246,238,0.12);
  }
  .contact-box li:last-child { border-bottom: none; }
  .contact-box li strong { color: var(--gold-soft); font-weight: 500; display: inline-block; min-width: 170px; }
  .contact-box a { color: var(--paper); text-decoration-color: var(--gold); }
  .contact-box a:hover { text-decoration-color: var(--paper); }

  /* ============================== AUTHOR FOOTER ============================== */
  .author-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 64px;
    padding-top: 36px;
    border-top: 1px solid var(--rule);
  }
  .author-photo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--gold);
    padding: 3px;
    background: var(--paper);
  }
  .author-text { flex: 1; }
  .author-name {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.15em;
    color: var(--ink);
    margin-bottom: 4px;
  }
  .author-role {
    font-size: 0.94em;
    color: var(--ink-muted);
    margin-bottom: 2px;
  }

  /* ============================== BLOG NAVIGATION ============================== */
  .blog-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 48px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rule);
  }

  .blog-nav-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .blog-nav-link,
  .post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border: 1px solid var(--rule);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(250, 246, 238, 0.7);
    color: var(--ink);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72em;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
  }

  .blog-nav-link:hover,
  .post-card-link:hover {
    border-color: var(--accent);
    background: var(--paper-tint);
    color: var(--accent);
  }

  .blog-index-hero {
    margin-bottom: 44px;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 36px;
  }

  .blog-subtitle {
    max-width: 620px;
    color: var(--ink-soft);
    font-size: 1.08em;
    margin-bottom: 0;
  }

  .post-list {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .post-card {
    padding: 26px 0 28px;
    border-bottom: 1px solid var(--rule);
  }

  .post-card:first-child {
    border-top: 1px solid var(--rule);
  }

  .post-card-kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68em;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
  }

  .post-card h2 {
    margin: 0 0 12px;
    font-size: 1.45em;
  }

  .post-card h2::before {
    display: none;
  }

  .post-card p {
    margin-bottom: 16px;
  }

  .post-card-meta {
    color: var(--ink-muted);
    font-size: 0.92em;
  }

  /* ============================== RESPONSIVE ============================== */
  @media (max-width: 640px) {
    .wrap { padding: 36px 20px 80px; }
    .blog-nav { margin-bottom: 36px; }
    .blog-nav-link,
    .post-card-link { width: 100%; justify-content: center; }
    h2::before { display: none; }
    .ladder-figure { margin: 24px 0 32px; }
    .author-card { flex-direction: column; align-items: center; text-align: center; }
    p.lede::first-letter { font-size: 2.8em; }
    .contact-box li strong { display: block; min-width: 0; margin-bottom: 2px; }
  }

  @media print {
    body { background: white; }
    body::before { display: none; }
    .wrap { max-width: 100%; padding: 20px; }
    a { color: var(--ink); }
  }
