  :root{
    --navy:#185A9D;
    --teal-dark:#0F5A6F;
    --cyan:#17ABCE;
    --magenta:#D2007E;
    --ink:#0F2430;
    --near-black:#12323A;
    --bg:#F5F6F7;
    --bg-alt:#EEF1F2;
    --paper:#FFFFFF;
    --text:#16232B;
    --text-soft:#4C5B63;
    --line: rgba(15,36,48,0.12);
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:'Inter', sans-serif;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
  }
  img{display:block; max-width:100%;}

  h1,h2,h3,h4{
    font-family:'Barlow Condensed', sans-serif;
    font-weight:700;
    letter-spacing:0.01em;
    text-transform:uppercase;
    line-height:0.98;
    color:var(--ink);
  }

  .mono{
    font-family:'IBM Plex Mono', monospace;
    letter-spacing:0.06em;
    text-transform:uppercase;
    font-weight:600;
  }

  a{color:inherit; text-decoration:none;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 32px;}

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
  }

  /* ===== HEADER ===== */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(245,246,247,0.9);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 32px;
    max-width:1180px; margin:0 auto;
  }
  .brand{display:flex; align-items:center; gap:12px;}
  .brand img{height:40px; width:auto;}

  nav.links{display:flex; gap:2px; align-items:center;}
  nav.links a{
    position:relative;
    font-family:'Barlow Condensed'; font-weight:600; font-size:16px;
    text-transform:uppercase; letter-spacing:0.04em;
    padding:10px 14px;
    color:var(--text-soft);
  }
  nav.links a:hover{color:var(--ink);}
  nav.links a::after{
    content:""; position:absolute; left:14px; right:14px; bottom:6px; height:3px;
    background:var(--cyan); transform:scaleY(0); transform-origin:bottom;
    transition:transform .18s ease;
  }
  nav.links a:hover::after{transform:scaleY(1);}

  .btn{
    display:inline-flex; align-items:center; gap:8px;
    font-family:'Barlow Condensed'; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; font-size:15px;
    padding:12px 22px;
    background:var(--ink); color:#fff;
    border:1px solid var(--ink);
    transition:transform .15s ease, background .15s ease;
    white-space:nowrap;
  }
  .btn:hover{background:var(--magenta); border-color:var(--magenta); transform:translateY(-2px);}
  .btn.ghost{background:transparent; color:var(--ink);}
  .btn.ghost:hover{background:var(--ink); color:#fff;}

  /* ===== HERO ===== */
  .hero{
    position:relative;
    overflow:hidden;
    background:var(--near-black);
    color:#fff;
    padding:120px 0 0;
    min-height:620px;
    display:flex; align-items:flex-end;
  }
  .hero-inner{
    position:relative; z-index:3;
    width:100%;
    padding-bottom:64px;
  }
  .hero .eyebrow{
    font-size:13px; letter-spacing:0.14em; color:var(--cyan);
    margin-bottom:18px;
  }
  .hero h1{
    font-size:clamp(44px, 8vw, 96px);
    color:#fff;
    max-width:820px;
  }
  .hero h1 em{
    font-style:normal;
    background:linear-gradient(90deg, var(--cyan), var(--magenta));
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .hero p.lede{
    margin-top:22px; max-width:540px; font-size:17px; color:rgba(255,255,255,0.72);
  }
  .hero .cta-row{display:flex; gap:14px; margin-top:36px; flex-wrap:wrap;}
  .hero .btn.ghost{color:#fff; border-color:rgba(255,255,255,0.4);}
  .hero .btn.ghost:hover{background:#fff; color:var(--ink);}

  .skyline{
    position:absolute; inset:0; z-index:1;
    display:flex; align-items:flex-end; justify-content:flex-end;
    gap:14px; padding:0 5% 0 0;
    opacity:0.9;
  }
  .skyline .bar{
    width:64px; border-radius:2px 2px 0 0;
    animation:rise 1.1s cubic-bezier(.2,.8,.2,1) both;
  }
  .skyline .bar:nth-child(1){height:38%; background:var(--navy); animation-delay:0.05s;}
  .skyline .bar:nth-child(2){height:64%; background:var(--teal-dark); animation-delay:0.15s;}
  .skyline .bar:nth-child(3){height:92%; background:var(--cyan); animation-delay:0.25s;}
  .skyline .bar:nth-child(4){height:52%; background:var(--near-black); border:1px solid rgba(255,255,255,0.08); animation-delay:0.35s;}
  .skyline .bar:nth-child(5){height:78%; background:var(--magenta); animation-delay:0.45s;}
  .skyline .bar:nth-child(6){height:30%; background:var(--teal-dark); animation-delay:0.55s;}
  @keyframes rise{ from{transform:scaleY(0); transform-origin:bottom;} to{transform:scaleY(1); transform-origin:bottom;} }
  .hero::before{
    content:""; position:absolute; inset:0; z-index:2;
    background:linear-gradient(90deg, var(--near-black) 22%, rgba(18,50,58,0.55) 55%, rgba(18,50,58,0.05) 78%);
  }

  /* ===== QUICK FACTS ===== */
  .stats{ background:var(--paper); border-bottom:1px solid var(--line); }
  .stats .wrap{ display:grid; grid-template-columns:repeat(4,1fr); }
  .stat{ padding:36px 28px; border-left:1px solid var(--line); display:flex; flex-direction:column; gap:10px; }
  .stat:first-child{border-left:none;}
  .stat .bar-mini{width:100%; height:6px; background:var(--bg-alt); position:relative; overflow:hidden;}
  .stat .bar-mini i{position:absolute; left:0; top:0; bottom:0; display:block;}
  .stat:nth-child(1) .bar-mini i{width:100%; background:var(--navy);}
  .stat:nth-child(2) .bar-mini i{width:100%; background:var(--cyan);}
  .stat:nth-child(3) .bar-mini i{width:100%; background:var(--magenta);}
  .stat:nth-child(4) .bar-mini i{width:100%; background:var(--teal-dark);}
  .stat .num{font-family:'Barlow Condensed'; font-weight:800; font-size:38px; color:var(--ink);}
  .stat .label{font-size:12.5px; color:var(--text-soft);}

  /* ===== SECTION generic ===== */
  section{padding:100px 0;}
  .section-head{max-width:680px; margin-bottom:52px;}
  .section-head .eyebrow{font-size:13px; color:var(--magenta); margin-bottom:14px;}
  .section-head h2{font-size:clamp(30px,4.5vw,50px);}
  .section-head p{margin-top:16px; color:var(--text-soft); font-size:16px;}

  /* ===== ABOUT ===== */
  .about-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:60px; align-items:start;}
  .about-copy p{font-size:16.5px; color:var(--text-soft); margin-bottom:20px; max-width:520px;}
  .mvp-card{background:var(--paper); border:1px solid var(--line); padding:26px 28px; margin-bottom:16px;}
  .mvp-card .k{font-size:12px; color:var(--magenta);}
  .mvp-card p{font-size:19px; font-style:italic; color:var(--ink); margin-top:8px; font-family:'Barlow Condensed'; text-transform:none; font-weight:600;}
  .hq-card{background:var(--near-black); color:#fff; padding:28px; margin-top:8px;}
  .hq-card .k{font-size:12px; color:var(--cyan);}
  .hq-card h3{color:#fff; margin-top:8px; font-size:24px;}
  .hq-card p{color:rgba(255,255,255,0.65); font-size:14.5px; margin-top:6px;}

  .sector-list{display:flex; flex-direction:column; gap:0; border-top:1px solid var(--line);}
  .sector-item{display:flex; align-items:center; gap:16px; padding:18px 0; border-bottom:1px solid var(--line);}
  .sector-item .swatch{width:10px; height:34px; flex-shrink:0;}
  .sector-item span{font-family:'Barlow Condensed'; font-weight:700; font-size:19px; letter-spacing:0.02em;}

  /* ===== GRID AUTO (services, divisions, values, strengths) ===== */
  .grid-auto{
    display:grid; grid-template-columns:repeat(auto-fit, minmax(230px,1fr)); gap:1px;
    background:var(--line); border:1px solid var(--line);
  }
  .grid-auto .cell{
    background:var(--paper); padding:32px 26px;
    display:flex; flex-direction:column; gap:14px; min-height:200px;
  }
  .grid-auto .cell:hover{background:var(--bg-alt);}
  .grid-auto .cell h3{font-size:21px;}
  .grid-auto .cell p{font-size:14px; color:var(--text-soft);}
  .cell .glyph{width:34px; height:38px; position:relative;}
  .cell .glyph .b{position:absolute; bottom:0; width:7px; border-radius:1px;}

  /* dark variant for values */
  .values-wrap{background:var(--near-black); color:#fff;}
  .values-wrap .section-head h2{color:#fff;}
  .values-wrap .section-head p{color:rgba(255,255,255,0.65);}
  .values-wrap .section-head .eyebrow{color:var(--cyan);}
  .values-wrap .grid-auto{background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.12);}
  .values-wrap .grid-auto .cell{background:var(--near-black);}
  .values-wrap .grid-auto .cell:hover{background:#0c262c;}
  .values-wrap .grid-auto .cell h3{color:#fff; font-size:19px;}
  .values-wrap .grid-auto .cell p{color:rgba(255,255,255,0.6);}
  .v-idx{font-family:'IBM Plex Mono'; font-size:12px; color:var(--cyan);}

  /* ===== PROJECT PORTFOLIO ===== */
  .project-columns{display:grid; grid-template-columns:repeat(4,1fr); gap:28px;}
  .pcol .pcol-head{display:flex; align-items:center; gap:10px; margin-bottom:18px; padding-bottom:14px; border-bottom:2px solid var(--ink);}
  .pcol .pcol-head i{width:12px; height:12px; display:block; flex-shrink:0;}
  .pcol .pcol-head h4{font-size:17px;}
  .pitem{padding:14px 0; border-bottom:1px solid var(--line);}
  .pitem:last-child{border-bottom:none;}
  .pitem .pname{font-weight:600; font-size:14.5px; color:var(--ink); display:block;}
  .pitem .pscope{font-size:12.5px; color:var(--text-soft); display:block; margin-top:4px;}

  /* ===== FIRE DOOR CALLOUT ===== */
  .fire-callout{
    display:grid; grid-template-columns:0.9fr 1.1fr; gap:0;
    background:var(--near-black); color:#fff;
    border:1px solid var(--line);
  }
  .fire-badge{
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    padding:50px 30px; border-right:1px solid rgba(255,255,255,0.14);
    text-align:center;
  }
  .fire-badge .rating{font-family:'Barlow Condensed'; font-weight:800; font-size:88px; line-height:1; color:var(--magenta);}
  .fire-badge .rlabel{margin-top:10px; font-size:12px; letter-spacing:0.12em;}
  .fire-copy{padding:50px 46px;}
  .fire-copy h3{color:#fff; font-size:30px; margin-bottom:14px;}
  .fire-copy > p{color:rgba(255,255,255,0.68); font-size:15px; margin-bottom:26px; max-width:480px;}
  .fire-steps{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
  .fire-steps div h5{font-family:'Barlow Condensed'; font-size:16px; color:var(--cyan); text-transform:uppercase; letter-spacing:0.03em; margin-bottom:6px;}
  .fire-steps div p{font-size:13px; color:rgba(255,255,255,0.6);}

  /* ===== TECH PARTNERS ===== */
  .partners-strip{display:flex; flex-wrap:wrap; gap:10px;}
  .chip{
    font-family:'IBM Plex Mono'; font-size:12.5px; letter-spacing:0.03em;
    padding:9px 16px; border:1px solid var(--line); background:var(--paper); color:var(--text-soft);
  }

  /* ===== CTA ===== */
  .cta-band{ background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .cta-inner{ display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap; padding:64px 0; }
  .cta-inner h2{font-size:clamp(28px,4vw,44px); max-width:560px;}

  /* ===== FOOTER ===== */
  footer{background:var(--near-black); color:rgba(255,255,255,0.7); padding:60px 0 28px;}
  .foot-grid{display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,0.12);}
  .foot-brand{display:flex; align-items:center; gap:12px; margin-bottom:16px;}
  .foot-brand img{height:34px;}
  footer h5{font-family:'Barlow Condensed'; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; font-size:14px; color:#fff; margin-bottom:16px;}
  footer ul{list-style:none;}
  footer li{margin-bottom:10px; font-size:14.5px;}
  footer li a:hover{color:var(--cyan);}
  .foot-bottom{display:flex; justify-content:space-between; padding-top:22px; font-size:13px; color:rgba(255,255,255,0.45); flex-wrap:wrap; gap:10px;}

  /* ===== responsive ===== */
  @media (max-width:1024px){
    .about-grid{grid-template-columns:1fr;}
    .project-columns{grid-template-columns:repeat(2,1fr);}
    .fire-callout{grid-template-columns:1fr;}
    .fire-badge{border-right:none; border-bottom:1px solid rgba(255,255,255,0.14);}
  }
  @media (max-width:960px){
    nav.links{display:none;}
    .stats .wrap{grid-template-columns:repeat(2,1fr);}
    .stat:nth-child(3){border-left:none;}
    .fire-steps{grid-template-columns:1fr;}
    .foot-grid{grid-template-columns:1fr 1fr;}
  }
  @media (max-width:600px){
    .stats .wrap{grid-template-columns:1fr 1fr;}
    .hero{padding-top:140px;}
    .cta-inner{flex-direction:column; align-items:flex-start;}
    .project-columns{grid-template-columns:1fr;}
  }

  /* ===== CONTACT FORM ===== */
  .contact-section{background:var(--bg-alt);}
  .quote-form{max-width:720px;}
  .field-row{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
  .field{display:flex; flex-direction:column; margin-bottom:20px;}
  .field label{
    font-family:'Barlow Condensed'; font-weight:600; text-transform:uppercase;
    letter-spacing:0.04em; font-size:14px; color:var(--ink); margin-bottom:8px;
  }
  .field input, .field textarea{
    font-family:'Inter', sans-serif; font-size:15px; color:var(--text);
    padding:13px 14px; border:1px solid var(--line); background:var(--paper);
    transition:border-color .15s ease;
  }
  .field input:focus, .field textarea:focus{outline:none; border-color:var(--cyan); box-shadow:0 0 0 2px rgba(23,171,206,0.18);}
  .field textarea{resize:vertical;}
  .quote-form .btn{border:none; cursor:pointer; margin-top:4px;}
  .hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
  .form-note{padding:16px 20px; margin-bottom:28px; font-size:15px; border:1px solid var(--line);}
  .form-ok{background:#e8f6ee; border-color:#a9d9be; color:#1c6b3c;}
  .form-err{background:#fdecef; border-color:#f0b6c2; color:#a01235;}
  @media (max-width:600px){ .field-row{grid-template-columns:1fr;} }
