  :root {
    --ink: #14213D;
    --paper: #FAFAF8;
    --paper-dim: #F1EFE7;
    --brass: #A9812F;
    --brass-bright: #C79A3D;
    --ledger-green: #1F5C4C;
    --rule: #D9D5C7;
    --muted: #5B6472;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3 {
    font-family: 'Zilla Slab', serif;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
  }

  .mono { font-family: 'IBM Plex Mono', monospace; }

  a { color: inherit; text-decoration: none; }

  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

  /* ---------- Header ---------- */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--rule);
  }

  header .wrap {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; gap: 12px;
  }

  .brand { font-family: 'Zilla Slab', serif; font-weight: 600; font-size: 1.15rem; letter-spacing: 0.01em; }
  .brand span { color: var(--brass); }

  nav ul { list-style: none; display: flex; gap: 28px; }
  nav a {
    font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
    text-transform: uppercase; color: var(--muted); transition: color 0.2s ease;
  }
  nav a:hover { color: var(--brass); }

  /* ---------- Hero ---------- */
  .hero { padding: 92px 0 84px; border-bottom: 1px solid var(--rule); }

  .eyebrow {
    font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; letter-spacing: 0.07em;
    text-transform: uppercase; color: var(--brass); margin-bottom: 18px;
  }

  .hero h1 { font-size: clamp(2.1rem, 3.8vw, 3.05rem); margin-bottom: 20px; }
  .hero p.lede { font-size: 1.1rem; color: var(--muted); max-width: 48ch; margin-bottom: 32px; }

  .btn {
    display: inline-block; background: var(--ink); color: var(--paper);
    padding: 14px 28px; font-size: 0.92rem; font-weight: 500; letter-spacing: 0.02em;
    border-radius: 2px; transition: background 0.2s ease;
  }
  .btn:hover { background: var(--brass); }
  .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); margin-left: 12px; }
  .btn.ghost:hover { border-color: var(--brass); color: var(--brass); }

  .ledger { background: var(--paper-dim); border: 1px solid var(--rule); padding: 28px 28px 8px; }
  .headshot {
    display: block; width: 132px; height: 132px; border-radius: 50%;
    object-fit: cover; margin: 0 0 22px; border: 3px solid var(--paper);
    box-shadow: 0 0 0 1px var(--rule);
  }
  .ledger-title {
    font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule);
    padding-bottom: 14px; margin-bottom: 4px;
  }
  .ledger-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 15px 0; border-bottom: 1px solid var(--rule); gap: 16px;
  }
  .ledger-row:last-child { border-bottom: none; }
  .ledger-row .label { font-size: 0.9rem; color: var(--ink); }
  .ledger-row .value {
    font-family: 'IBM Plex Mono', monospace; font-size: 0.94rem; font-weight: 500;
    color: var(--brass); white-space: nowrap;
  }

  /* ---------- Section shared ---------- */
  section { padding: 80px 0; border-bottom: 1px solid var(--rule); }
  section:last-of-type { border-bottom: none; }

  .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
  .section-num { font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; color: var(--muted); }
  .section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
  .section-sub { color: var(--muted); font-size: 1rem; max-width: 46ch; margin-top: 6px; }

  /* ---------- Services ---------- */
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
  .service { padding: 30px 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .service:nth-child(3n) { border-right: none; }
  .service .tag {
    font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; color: var(--ledger-green);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; display: block;
  }
  .service h3 { font-size: 1.1rem; margin-bottom: 10px; }
  .service p { color: var(--muted); font-size: 0.92rem; }

  /* ---------- Fit / Approach ---------- */
  .fit-list { list-style: none; }
  .fit-list li {
    position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--rule);
    color: var(--ink); font-size: 0.98rem;
  }
  .fit-list li:last-child { border-bottom: none; }
  .fit-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 6px; height: 6px; background: var(--brass); }
  .approach-box { background: var(--paper-dim); border: 1px solid var(--rule); padding: 28px; }
  .approach-box p { color: var(--muted); font-size: 1.02rem; }

  /* ---------- Background ---------- */
  .bg-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
  .bg-content p { color: var(--muted); margin-bottom: 18px; font-size: 1rem; }
  .bg-content p strong { color: var(--ink); font-weight: 600; }

  .timeline { border-top: 1px solid var(--rule); }
  .tl-row { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .tl-row .stage {
    font-family: 'IBM Plex Mono', monospace; font-size: 0.74rem; color: var(--brass);
    text-transform: uppercase; letter-spacing: 0.05em; padding-top: 3px;
  }
  .tl-row .desc h4 { font-family: 'Zilla Slab', serif; font-size: 1rem; font-weight: 600; margin-bottom: 3px; }
  .tl-row .desc p { color: var(--muted); font-size: 0.88rem; }

  /* ---------- Contact ---------- */
  .contact-box {
    background: var(--ink); color: var(--paper); padding: 56px;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  }
  .contact-box h2 { color: var(--paper); margin-bottom: 14px; }
  .contact-box p { color: #B9C0D0; font-size: 1rem; max-width: 42ch; }
  .contact-list { list-style: none; }
  .contact-list li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .contact-list li:last-child { border-bottom: none; }
  .contact-list .label {
    display: block; font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-bright); margin-bottom: 4px;
  }
  .contact-list a, .contact-list span.val { font-size: 1rem; color: var(--paper); }
  .contact-list a:hover { color: var(--brass-bright); }

  /* ---------- Footer ---------- */
  footer { padding: 28px 0; }
  footer .wrap { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); flex-wrap: wrap; gap: 8px; }

  /* ---------- Scroll reveal ---------- */
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

  /* ---------- Responsive ---------- */
  @media (max-width: 860px) {
    .split-hero { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .service { border-right: none; }
    .service:nth-child(3n) { border-right: none; }
    .bg-content { grid-template-columns: 1fr; gap: 12px; }
    .contact-box { grid-template-columns: 1fr; padding: 40px 28px; }
    nav ul { gap: 18px; flex-wrap: wrap; }
    header .wrap { flex-direction: column; align-items: flex-start; }
  }

  :focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

  /* ---------- Page hero (Services / About) ---------- */
  .page-hero { padding: 100px 0 64px; border-bottom: 1px solid var(--rule); }
  .page-hero .eyebrow { margin-bottom: 16px; }
  .page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
  .page-hero p.lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }

  .split-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: start; }

  /* ---------- Nav active state ---------- */
  nav a[aria-current="page"] { color: var(--ink); }

  /* ---------- About page portrait ---------- */
  .about-portrait {
    display: block; width: 152px; height: 152px; border-radius: 50%;
    object-fit: cover; margin-bottom: 26px; border: 3px solid var(--paper);
    box-shadow: 0 0 0 1px var(--rule);
  }

  /* ---------- Home CTA band ---------- */
  #home-cta { background: var(--paper-dim); }
