  :root{
    --paper:#EFEFE7;
    --paper-2:#E7E7DC;
    --ink:#1C2B26;
    --ink-soft:#435048;
    --line:#C9C7B8;
    --rose:#B15D5B;
    --gold:#9C7A2E;
    --white:#FBFBF7;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:'IBM Plex Sans', sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3{
    font-family:'IBM Plex Serif', serif;
    font-weight:500;
    line-height:1.15;
    margin:0;
  }
  p{margin:0;}
  a{color:inherit;}
  .mono{
    font-family:'IBM Plex Mono', monospace;
    font-size:0.78rem;
    letter-spacing:0.02em;
  }

  /* ---------- Spine ---------- */
  .spine{
    position:fixed;
    top:0; left:0; bottom:0;
    width:64px;
    border-right:1px solid var(--line);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:28px 0;
    z-index:50;
    background:var(--paper);
  }
  .spine-mark{
    writing-mode:vertical-rl;
    transform:rotate(180deg);
    font-family:'IBM Plex Serif', serif;
    font-size:0.95rem;
    letter-spacing:0.08em;
    white-space:nowrap;
  }

  .shell{margin-left:64px;}

  /* ---------- Nav ---------- */
  header.site{
    position:sticky;
    top:0;
    background:rgba(239,239,231,0.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line);
    z-index:40;
  }
  nav{
    max-width:1120px;
    margin:0 auto;
    padding:18px 40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:36px;
    flex-wrap:wrap;
  }
  .brand{display:flex; align-items:center;}
  .brand img{height:82px; width:auto; display:block;}
  .navlinks{display:flex; align-items:center; gap:36px; flex-wrap:wrap;}
  nav a.navlink{
    font-size:0.92rem;
    text-decoration:none;
    color:var(--ink-soft);
    border-bottom:1px solid transparent;
    padding-bottom:2px;
    transition:border-color .15s ease, color .15s ease;
  }
  nav a.navlink:hover{color:var(--ink); border-color:var(--rose);}
  .btn{
    display:inline-block;
    font-family:'IBM Plex Sans', sans-serif;
    font-size:0.92rem;
    font-weight:500;
    text-decoration:none;
    padding:11px 20px;
    border:1px solid var(--ink);
    color:var(--ink);
    background:transparent;
    transition:background .15s ease, color .15s ease;
  }
  .btn:hover{background:var(--ink); color:var(--paper);}
  .btn.solid{background:var(--ink); color:var(--paper);}
  .btn.solid:hover{background:var(--rose); border-color:var(--rose); color:var(--white);}

  section{padding:96px 40px;}
  section[id]{scroll-margin-top:var(--header-h, 100px);}
  .inner{max-width:1120px; margin:0 auto;}

  /* ---------- Hero ---------- */
  .hero{padding-top:64px; padding-bottom:80px;}
  .hero .inner{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:56px;
    align-items:center;
  }
  .kicker{
    color:var(--gold);
    font-family:'IBM Plex Mono', monospace;
    font-size:0.8rem;
    margin-bottom:22px;
    display:block;
  }
  .hero h1{
    font-size:clamp(1.43rem, 3.33vw, 2.53rem);
    max-width:16ch;
  }
  .hero .lede{
    margin-top:26px;
    max-width:46ch;
    color:var(--ink-soft);
    font-size:1.08rem;
  }
  .hero .actions{margin-top:36px; display:flex; gap:16px; flex-wrap:wrap;}

  .diagram{width:100%; height:auto;}
  .diagram .edge{
    stroke:var(--ink-soft);
    stroke-width:1;
    fill:none;
    stroke-dasharray:340;
    stroke-dashoffset:340;
    animation:draw 1.6s ease forwards;
  }
  .diagram .edge.accent{stroke:var(--rose);}
  .diagram .node{opacity:0; animation:appear .5s ease forwards;}
  @keyframes draw{to{stroke-dashoffset:0;}}
  @keyframes appear{to{opacity:1;}}
  @media (prefers-reduced-motion: reduce){
    .diagram .edge{stroke-dashoffset:0; animation:none;}
    .diagram .node{opacity:1; animation:none;}
  }

  /* ---------- Philosophy (dark) ---------- */
  .philosophy{
    background:var(--ink);
    color:var(--paper);
  }
  .philosophy .inner{max-width:820px;}
  .philosophy blockquote{
    margin:0;
    font-family:'IBM Plex Serif', serif;
    font-size:clamp(1.5rem, 3vw, 2.1rem);
    font-weight:500;
    line-height:1.35;
  }
  .philosophy .cite{
    margin-top:28px;
    color:#B9C2BA;
    font-size:1rem;
    max-width:62ch;
    line-height:1.75;
  }

  /* ---------- Section headings ---------- */
  .section-head{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    border-bottom:1px solid var(--line);
    padding-bottom:18px;
    margin-bottom:48px;
    gap:24px;
    flex-wrap:wrap;
  }
  .section-head h2{font-size:clamp(1.5rem, 2.4vw, 2rem);}
  .section-head .doc-id{color:var(--ink-soft); white-space:nowrap;}

  /* ---------- Services (clauses, not cards) ---------- */
  .clause{
    display:grid;
    grid-template-columns:96px 1fr;
    gap:28px;
    padding:30px 0;
    border-top:1px solid var(--line);
  }
  .clause:last-child{border-bottom:1px solid var(--line);}
  .clause .num{
    color:var(--gold);
    font-size:0.85rem;
    padding-top:4px;
  }
  .clause h3{font-size:1.25rem; margin-bottom:10px;}
  .clause p{color:var(--ink-soft); max-width:58ch;}

  /* ---------- Approach ---------- */
  .phases{
    position:relative;
    padding-left:36px;
  }
  .phases::before{
    content:"";
    position:absolute;
    left:9px; top:6px; bottom:6px;
    width:1px;
    background:var(--line);
  }
  .phase{
    position:relative;
    padding-bottom:52px;
  }
  .phase:last-child{padding-bottom:0;}
  .phase::before{
    content:"";
    position:absolute;
    left:-36px; top:4px;
    width:19px; height:19px;
    border-radius:50%;
    background:var(--paper);
    border:1px solid var(--ink);
  }
  .phase .phase-num{
    font-family:'IBM Plex Mono', monospace;
    font-size:0.78rem;
    color:var(--ink-soft);
    display:block;
    margin-bottom:8px;
  }
  .phase h3{font-size:1.2rem; margin-bottom:10px;}
  .phase p{color:var(--ink-soft); max-width:60ch;}

  /* ---------- Industries ---------- */
  .industries{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
  }
  .industry{
    background:var(--white);
    padding:34px 30px;
  }
  .industry h3{font-size:1.1rem; margin-bottom:14px;}
  .industry p{color:var(--ink-soft); font-size:0.96rem;}

  /* ---------- Why VMH ---------- */
  .why{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:64px;
  }
  .why h2{font-size:clamp(1.7rem, 3vw, 2.3rem); max-width:14ch;}
  .why .body p{margin-bottom:20px; color:var(--ink-soft); max-width:58ch;}
  .why .body p:last-child{margin-bottom:0;}
  .why .body strong{color:var(--ink); font-weight:500;}

  /* ---------- CTA / Footer ---------- */
  .cta{
    background:var(--paper-2);
    border-top:1px solid var(--line);
  }
  .cta .inner{
    display:grid;
    grid-template-columns:0.8fr 1.2fr;
    gap:64px;
    align-items:start;
  }
  .cta h2{font-size:clamp(1.6rem, 3vw, 2.2rem); max-width:14ch;}
  .cta .cta-copy p{margin-top:18px; color:var(--ink-soft); max-width:36ch;}
  .cta .cta-copy .direct{margin-top:28px; font-size:0.9rem;}
  .cta .cta-copy .direct a{color:var(--ink); text-decoration:none; border-bottom:1px solid var(--rose);}

  form.contact{display:grid; gap:20px;}
  form.contact .row{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
  .field{display:flex; flex-direction:column; gap:8px;}
  .field label{font-size:0.85rem; font-weight:500;}
  .field .opt{color:var(--ink-soft); font-weight:400;}
  .field input, .field select, .field textarea{
    font-family:inherit;
    font-size:0.98rem;
    color:var(--ink);
    background:var(--white);
    border:1px solid var(--line);
    border-radius:0;
    padding:12px 14px;
    width:100%;
  }
  .field textarea{min-height:140px; resize:vertical;}
  .field input:focus, .field select:focus, .field textarea:focus{
    outline:2px solid var(--rose);
    outline-offset:1px;
    border-color:var(--ink);
  }
  .hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
  .form-actions{display:flex; align-items:center; gap:20px; flex-wrap:wrap;}
  button.btn{cursor:pointer;}
  button.btn:disabled{opacity:0.6; cursor:default;}
  .form-status{font-size:0.9rem; color:var(--rose); min-height:1.2em;}
  .form-status a{color:inherit;}

  /* ---------- Confirmation page ---------- */
  .confirmation{padding:120px 40px; min-height:70vh;}
  .confirmation .inner{max-width:640px;}
  .confirm-mark{width:56px; height:56px; display:block; margin-bottom:28px;}
  .confirm-mark circle{fill:none; stroke:var(--rose); stroke-width:2;}
  .confirm-mark path{
    fill:none; stroke:var(--rose); stroke-width:3;
    stroke-linecap:round; stroke-linejoin:round;
    stroke-dasharray:44; stroke-dashoffset:44;
    animation:draw 0.7s ease forwards 0.2s;
  }
  .confirmation h1{font-size:clamp(1.8rem, 3.4vw, 2.5rem); max-width:20ch;}
  .confirmation .lede{margin-top:22px; max-width:50ch; color:var(--ink-soft); font-size:1.08rem;}
  .confirmation .actions{margin-top:36px; display:flex; gap:16px; flex-wrap:wrap;}
  @media (prefers-reduced-motion: reduce){
    .confirm-mark path{stroke-dashoffset:0; animation:none;}
  }

  footer{padding:40px; border-top:1px solid var(--line);}
  footer .inner{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:24px;
    flex-wrap:wrap;
    color:var(--ink-soft);
    font-size:0.88rem;
  }
  footer .foot-links{display:flex; gap:24px;}
  footer a{text-decoration:none; color:var(--ink-soft);}
  footer a:hover{color:var(--rose);}

  @media (max-width:860px){
    .spine{
      position:relative;
      width:auto;
      height:auto;
      flex-direction:row;
      border-right:none;
      border-bottom:1px solid var(--line);
      padding:16px 20px;
    }
    .spine-mark{writing-mode:horizontal-tb; transform:none;}
    .shell{margin-left:0;}
    nav{justify-content:space-between; padding:16px 20px;}
    .brand img{height:66px;}
    section{padding:64px 20px;}
    .hero .inner{grid-template-columns:1fr;}
    .hero .diagram-wrap{order:-1;}
    .industries{grid-template-columns:1fr;}
    .why{grid-template-columns:1fr; gap:32px;}
    .clause{grid-template-columns:56px 1fr; gap:16px;}
    .cta .inner{grid-template-columns:1fr; gap:36px;}
    form.contact .row{grid-template-columns:1fr;}
    .confirmation{padding:72px 20px;}
  }

  /* ---------- Form errors (server-side validation) ---------- */
  .form-errors{
    padding:14px 18px;
    border:1px solid var(--rose);
    background:var(--white);
    font-size:0.92rem;
  }
  .form-errors strong{color:var(--rose); font-weight:600;}
  .form-errors ul{margin:8px 0 0; padding-left:18px;}
