/* ============================================
   VSD Consulting LLC — Main Stylesheet
   Palette: Deep Indigo #1B1B3A, Electric Blue #3B82F6, Light Grey #F1F5F9, Steel #64748B
   Fonts: IBM Plex Sans + IBM Plex Serif
   ============================================ */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:'IBM Plex Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:1rem;line-height:1.7;color:#1E293B;
  background:#F1F5F9;min-width:320px;-webkit-font-smoothing:antialiased
}
a{text-decoration:none;color:inherit}
ul,ol{list-style:none}
button,input,textarea,select{font-family:inherit;font-size:1rem}
:focus-visible{outline:3px solid #3B82F6;outline-offset:2px;border-radius:2px}
.skip{position:absolute;top:-100%;left:1rem;background:#1B1B3A;color:#F1F5F9;padding:.75rem 1.5rem;z-index:9999;font-weight:600;border-radius:0 0 8px 8px}
.skip:focus{top:0}
.container{max-width:1200px;margin:0 auto;padding:0 2rem}

/* --- SIDEBAR --- */
.sidebar{position:fixed;top:0;left:0;bottom:0;width:80px;background:#1B1B3A;z-index:1000;display:flex;flex-direction:column;align-items:center;padding:1rem 0}
.sb-brand{display:block;font-family:'IBM Plex Serif',serif;font-weight:700;font-size:1.2rem;color:#3B82F6;padding:.5rem;margin-bottom:2rem;letter-spacing:1px}
.sb-links{flex:1;display:flex;flex-direction:column;gap:.75rem}
.sb-links a{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.4rem;border-radius:8px;transition:background .2s}
.sb-links a:hover,.sb-active{background:rgba(59,130,246,.1)}
.sb-dot{width:8px;height:8px;border-radius:50%;background:#64748B;transition:background .2s}
.sb-links a:hover .sb-dot,.sb-active .sb-dot{background:#3B82F6}
.sb-label{font-size:.6rem;color:#64748B;text-transform:uppercase;letter-spacing:.5px;font-weight:500}
.sb-legal{display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:.5rem}
.sb-legal a{font-size:.6rem;color:#64748B;text-transform:uppercase;letter-spacing:.5px}
.sb-legal a:hover{color:#3B82F6}

/* --- MOBILE HEADER --- */
.mob-header{display:none;position:fixed;top:0;left:0;right:0;z-index:1000;background:#1B1B3A;height:60px;align-items:center;justify-content:space-between;padding:0 1.5rem}
.mob-brand{font-family:'IBM Plex Serif',serif;font-weight:700;color:#3B82F6;font-size:1.2rem}
.mob-trigger{background:none;border:none;padding:.5rem;cursor:pointer}
.mob-trigger span{display:block;width:22px;height:2px;background:#F1F5F9;margin:5px 0;transition:transform .3s,opacity .3s}
.mob-trigger[aria-expanded="true"] span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.mob-trigger[aria-expanded="true"] span:nth-child(2){opacity:0}
.mob-trigger[aria-expanded="true"] span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}
.mob-menu{display:none;position:fixed;top:60px;left:0;right:0;background:#1B1B3A;padding:1rem;flex-direction:column}
.mob-menu.open{display:flex}
.mob-menu a{color:#94A3B8;padding:.75rem 1rem;border-radius:6px;font-weight:500}
.mob-menu a:hover{background:rgba(59,130,246,.1);color:#3B82F6}

/* --- TYPOGRAPHY --- */
h1,h2{font-family:'IBM Plex Serif',Georgia,serif;font-weight:600;line-height:1.2}
h1{font-size:clamp(2.2rem,5vw,3.8rem)}
h2{font-size:clamp(1.6rem,3.5vw,2.6rem);color:#1B1B3A;margin-bottom:.75rem}
h3{font-size:1.15rem;font-weight:600;color:#1B1B3A}
.hl{color:#3B82F6}
.seg{padding:5rem 0}
.seg-tag{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:2.5px;color:#3B82F6;margin-bottom:.5rem;display:block}
.seg-text{color:#64748B;max-width:680px;margin:.5rem 0 2.5rem;font-size:1rem}

.btn{display:inline-flex;align-items:center;justify-content:center;padding:.85rem 2rem;border-radius:8px;font-weight:600;font-size:.93rem;transition:all .3s;cursor:pointer;border:2px solid transparent}
.btn-primary{background:#3B82F6;color:#FFFFFF;border-color:#3B82F6}
.btn-primary:hover{background:#5a96f8;border-color:#5a96f8;transform:translateY(-2px);box-shadow:0 6px 20px rgba(59,130,246,.25)}
.btn-line{background:transparent;color:#FFFFFF;border-color:rgba(255,255,255,.3)}
.btn-line:hover{border-color:#3B82F6;color:#3B82F6}
.btn-block{width:100%}

/* --- LEAD (HERO) --- */
.lead{background:#1B1B3A;padding:0;color:#FFFFFF}
.lead-split{display:grid;grid-template-columns:1fr 1fr;min-height:85vh}
.lead-a{display:flex;align-items:center;padding:6rem 4rem 4rem}
.lead-a-inner{max-width:540px}
.lead-chip{font-size:.78rem;color:#3B82F6;font-weight:500;margin-bottom:1.25rem;display:block}
.lead h1{color:#FFFFFF;margin-bottom:1rem}
.lead p{color:#94A3B8;font-size:1.05rem;line-height:1.8;margin-bottom:2rem}
.lead-actions{display:flex;gap:1rem;flex-wrap:wrap}
.lead-b{display:flex;align-items:center;justify-content:center;padding:4rem;background:rgba(59,130,246,.03);position:relative}
.lead-graph{position:relative;width:300px;height:300px}
.lg-node{position:absolute;padding:.35rem .7rem;background:rgba(59,130,246,.08);border:1px solid rgba(59,130,246,.2);border-radius:6px;font-size:.75rem;color:#94A3B8;font-weight:500}
.lg-lines{position:absolute;top:0;left:0;width:100%;height:100%}
.lg-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:80px;height:80px;border-radius:50%;background:#3B82F6;color:#FFFFFF;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.75rem;letter-spacing:1px}
.lead-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.lm-item{text-align:center;padding:2rem 1rem;border-top:1px solid rgba(255,255,255,.06)}
.lm-item:nth-child(-n+3){border-right:1px solid rgba(255,255,255,.06)}
.lm-num{font-family:'IBM Plex Serif',serif;font-size:2.2rem;font-weight:600;color:#3B82F6}
.lm-sym{font-family:'IBM Plex Serif',serif;font-size:1.6rem;color:#3B82F6}
.lm-label{display:block;font-size:.78rem;color:#64748B;margin-top:.2rem;font-weight:500}

/* --- CORE (Deck) --- */
.core{background:#FFFFFF}
.deck{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.deck-card{background:#F1F5F9;border-radius:16px;overflow:hidden;position:relative;min-height:340px;cursor:pointer;transition:box-shadow .3s}
.deck-card:hover{box-shadow:0 8px 30px rgba(27,27,58,.06)}
.dc-front{padding:2.5rem 2rem;height:100%;display:flex;flex-direction:column}
.dc-icon{font-size:2rem;color:#3B82F6;margin-bottom:1rem}
.dc-front h3{font-family:'IBM Plex Serif',serif;font-size:1.3rem;font-weight:600;margin-bottom:auto}
.dc-cta{font-size:.85rem;font-weight:600;color:#3B82F6;margin-top:1.5rem}
.dc-back{position:absolute;top:0;left:0;right:0;bottom:0;background:#1B1B3A;padding:2rem;display:none;overflow-y:auto;border-radius:16px}
.deck-card:hover .dc-back{display:block}
.dc-back p{font-size:.85rem;color:#94A3B8;line-height:1.6;margin-bottom:1rem}
.dc-back li{font-size:.82rem;color:#64748B;padding:.3rem 0 .3rem 1rem;position:relative}
.dc-back li::before{content:'';position:absolute;left:0;top:.65rem;width:4px;height:4px;background:#3B82F6;border-radius:50%}

/* --- DATA STRIP --- */
.data-strip{background:#3B82F6;padding:2.5rem 0}
.ds-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center}
.ds-big{font-family:'IBM Plex Serif',serif;font-size:2rem;font-weight:600;color:#FFFFFF;display:block;line-height:1}
.ds-sm{font-size:.78rem;color:#BFDBFE;font-weight:500;display:block;margin-top:.25rem}

/* --- SERVE (Tag cloud + cards) --- */
.serve{background:#FFFFFF}
.serve-cloud{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:2.5rem;padding:1.5rem 0;border-top:1px solid #E2E8F0;border-bottom:1px solid #E2E8F0}
.sc-tag{display:inline-block;padding:.4rem 1rem;background:#F1F5F9;border-radius:50px;color:#1E293B;font-weight:500;transition:background .2s,color .2s}
.sc-tag:hover{background:#3B82F6;color:#FFFFFF}
.serve-detail{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.sd-card{background:#F1F5F9;border-radius:12px;padding:1.75rem;border:1px solid #E2E8F0;transition:border-color .3s}
.sd-card:hover{border-color:#3B82F6}
.sd-icon{font-size:1.5rem;color:#3B82F6;display:block;margin-bottom:.75rem}
.sd-card h4{font-size:.95rem;font-weight:700;color:#1E293B;margin-bottom:.5rem}
.sd-card p{font-size:.85rem;color:#64748B;line-height:1.6}

/* --- ROUTE (Process) --- */
.route{background:#F1F5F9}
.route-track{max-width:800px;margin:0 auto}
.rt-stop{display:grid;grid-template-columns:50px 1fr;gap:1.5rem;padding-bottom:2rem;position:relative}
.rt-pin{display:flex;flex-direction:column;align-items:center}
.rt-num{width:36px;height:36px;border-radius:50%;background:#3B82F6;color:#FFFFFF;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;position:relative;z-index:2}
.rt-line{width:2px;flex:1;background:#CBD5E1;margin-top:.5rem}
.rt-stop:last-child .rt-line{display:none}
.rt-body h3{font-size:1.05rem;margin-bottom:.35rem}
.rt-body p{font-size:.88rem;color:#64748B;line-height:1.65}

/* --- CTA STRIP --- */
.cta-strip{background:linear-gradient(135deg,#1B1B3A,#2d2d5e);padding:4rem 0;text-align:center}
.cta-inner{max-width:650px;margin:0 auto}
.cta-inner h2{color:#FFFFFF;margin-bottom:.75rem}
.cta-inner p{color:#94A3B8;font-size:1rem;margin-bottom:2rem;line-height:1.7}

/* --- REACH --- */
.reach{background:#FFFFFF}
.reach-panel{display:grid;grid-template-columns:1.3fr 1fr;gap:2.5rem;align-items:start;background:#F1F5F9;border-radius:16px;padding:2.5rem}
.rf{display:flex;flex-direction:column;gap:.75rem}
.rf-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.rf input,.rf select,.rf textarea{width:100%;padding:.7rem 1rem;border:1px solid #CBD5E1;border-radius:8px;background:#FFFFFF;color:#1E293B;font-size:.9rem;transition:border-color .25s}
.rf input:focus,.rf select:focus,.rf textarea:focus{border-color:#3B82F6;box-shadow:0 0 0 3px rgba(59,130,246,.1);outline:none}
.rf textarea{resize:vertical;min-height:100px}
.rf-info{padding:1rem 0}
.rf-info strong{font-family:'IBM Plex Serif',serif;font-size:1.1rem;color:#1B1B3A;display:block;margin-bottom:.75rem}
.rf-info p{font-size:.9rem;color:#64748B;margin-bottom:.4rem;line-height:1.6}
.rf-info a{color:#3B82F6;font-weight:500}
.rf-info a:hover{text-decoration:underline}

/* --- FOOTER --- */
.ft{background:#0f0f23;color:#64748B;padding:3.5rem 0 2rem}
.ft-row{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.ft-brand{font-family:'IBM Plex Serif',serif;font-weight:600;font-size:1.05rem;color:#F1F5F9;display:block;margin-bottom:.5rem}
.ft-copy p{font-size:.82rem;line-height:1.7}
.ft-links h4{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:1.5px;color:#F1F5F9;margin-bottom:.75rem}
.ft-links a{display:block;font-size:.82rem;color:#64748B;margin-bottom:.4rem;transition:color .25s}
.ft-links a:hover{color:#3B82F6}
.ft-links p{font-size:.82rem;line-height:1.5;margin-bottom:.4rem}
.ft-base{border-top:1px solid rgba(100,116,139,.1);padding-top:1.5rem;font-size:.78rem;text-align:center}

/* --- ANIMATIONS --- */
.fade-up{opacity:0;transform:translateY(25px);transition:opacity .6s,transform .6s}
.fade-up.visible{opacity:1;transform:translateY(0)}

/* --- RESPONSIVE --- */
@media(max-width:1024px){
  .lead-split{grid-template-columns:1fr}
  .lead-b{display:none}
  .lead-a{padding:5rem 2rem 2rem}
  .lead-metrics{grid-template-columns:repeat(2,1fr)}
  .lm-item:nth-child(-n+3){border-right:none}
  .deck{grid-template-columns:1fr}
  .serve-detail{grid-template-columns:repeat(2,1fr)}
  .reach-panel{grid-template-columns:1fr}
  .ft-row{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .sidebar{display:none}
  .mob-header{display:flex}
  .lead-a{padding:5rem 1.5rem 2rem}
  .lead-metrics{grid-template-columns:1fr 1fr}
  .lm-item:nth-child(2){border-right:none}

  .serve-detail{grid-template-columns:1fr}

  .rf-row{grid-template-columns:1fr}

  .ft-row{grid-template-columns:1fr;gap:1.5rem}
  .seg{padding:3.5rem 0}
  .data-strip .ds-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}
}
@media(max-width:480px){
  .container{padding:0 1rem}
  .lead-metrics{grid-template-columns:1fr}
  .lead-actions{flex-direction:column}
  .btn{width:100%}
}
