  :root{
    --bg:#141310;
    --bg-alt:#1c1a15;
    --panel:#211f19;
    --accent:#D98F2B;
    --accent-soft:#f0b45f;
    --text:#F2EFE9;
    --text-dim:#b3ab9c;
    --line:#3a352c;
    --max:1180px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:'Work Sans', sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.display{
    font-family:'Big Shoulders Display', sans-serif;
    font-weight:800;
    line-height:0.95;
    letter-spacing:0.2px;
  }
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:var(--max); margin:0 auto; padding:0 32px;}
  ::selection{background:var(--accent); color:#141310;}
  :focus-visible{outline:2px solid var(--accent); outline-offset:3px;}

  /* ---- ticked divider (blueprint annotation feel) ---- */
  .ticks{
    height:24px;
    background-image:repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px 24px);
    background-position:bottom;
    background-size:100% 1px;
    background-repeat:repeat-x;
    background-position-y:100%;
    opacity:0.6;
  }
  .ticks .wrap{position:relative; height:100%;}

  /* ---- header ---- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(20,19,16,0.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line);
  }
  header .wrap{
    display:flex; align-items:center; justify-content:space-between;
    height:76px;
  }
  .brand-group{display:flex; align-items:center; gap:24px;}
  .brand{display:flex; align-items:center; gap:12px;}
  .brand img{height:40px; width:40px;}
  .brand span{font-family:'Big Shoulders Display'; font-weight:800; font-size:22px;}
  .client-login{
    display:inline-flex; align-items:center; gap:7px;
    font-size:13px; font-weight:700; letter-spacing:.2px;
    color:var(--text-dim);
    padding:8px 16px 8px 14px;
    border:1px solid var(--line);
    border-radius:999px;
    background:rgba(217,143,43,0.06);
    white-space:nowrap;
    transition:border-color .2s ease, background .2s ease, color .2s ease;
  }
  .client-login svg{width:13px; height:13px; flex-shrink:0; stroke:var(--accent-soft); transition:stroke .2s ease;}
  .client-login:hover{
    border-color:var(--accent);
    background:rgba(217,143,43,0.14);
    color:var(--accent-soft);
  }
  .client-login:hover svg{stroke:var(--accent);}
  nav.primary{display:flex; align-items:center; gap:32px;}
  nav.primary a{font-size:15px; font-weight:500; color:var(--text-dim); transition:color .15s;}
  nav.primary a:hover{color:var(--text);}
  .btn{
    display:inline-flex; align-items:center; justify-content:center;
    padding:12px 22px;
    font-weight:600; font-size:14px;
    background:var(--accent); color:#000;
    clip-path:polygon(0 0, 100% 0, 100% 70%, 92% 100%, 0 100%);
    border:none; cursor:pointer;
  }
  .btn:hover{background:var(--accent-soft);}
  .btn-ghost{
    background:transparent; color:var(--text); border:1px solid var(--line);
    clip-path:none;
  }
  .btn-ghost:hover{border-color:var(--accent); color:var(--accent-soft);}
  .menu-toggle{display:none; background:none; border:none; color:var(--text); font-size:26px; cursor:pointer;}

  /* ---- hero ---- */
  .hero{
    position:relative;
    padding:96px 0 64px;
    overflow:hidden;
  }
  .hero .wrap{
    display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center;
  }
  .eyebrow-line{
    display:flex; align-items:center; gap:10px;
    color:var(--accent-soft); font-weight:600; font-size:13px;
    letter-spacing:0.3px; margin-bottom:22px;
  }
  .eyebrow-line::before{content:""; width:28px; height:2px; background:var(--accent);}
  .hero h1{font-size:clamp(42px, 6vw, 76px); margin-bottom:22px;}
  .hero h1 em{font-style:normal; color:var(--accent);}
  .hero p.lead{font-size:18px; color:var(--text-dim); max-width:46ch; margin-bottom:34px;}
  .hero-ctas{display:flex; gap:16px; flex-wrap:wrap;}

  .skyline{width:100%; height:auto;}

  .stat-row{
    display:flex; gap:0; margin-top:64px; border-top:1px solid var(--line);
  }
  .stat{
    flex:1; padding:22px 24px 0; border-right:1px solid var(--line);
  }
  .stat:last-child{border-right:none;}
  .stat .num{font-family:'Big Shoulders Display'; font-weight:800; font-size:36px; color:var(--accent-soft);}
  .stat .label{font-size:13px; color:var(--text-dim); margin-top:2px;}

  /* ---- section shell ---- */
  section{padding:88px 0;}
  .section-head{
    display:flex; justify-content:space-between; align-items:flex-end;
    gap:24px; margin-bottom:52px; flex-wrap:wrap;
  }
  .section-head h2{font-size:clamp(32px,4vw,48px);}
  .section-head p{color:var(--text-dim); max-width:42ch; font-size:15px;}
  .tag{
    font-size:13px; font-weight:600; color:var(--accent-soft);
    border:1px solid var(--line); padding:5px 12px;
    display:inline-block; margin-bottom:16px;
  }

  section.alt{background:var(--bg-alt);}

  /* ---- services ---- */
  .services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line);}
  .service-card{
    background:var(--bg-alt);
    padding:36px 28px;
    clip-path:polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
    position:relative;
  }
  section.alt .service-card{background:var(--panel);}
  .service-card .num{
    font-family:'Big Shoulders Display'; font-weight:800; color:var(--line); font-size:44px;
    display:block; margin-bottom:18px;
  }
  .service-card h3{font-size:24px; margin-bottom:12px; font-weight:700;}
  .service-card p{color:var(--text-dim); font-size:14.5px; margin-bottom:16px;}
  .badge-soon{
    font-size:11px; font-weight:700; letter-spacing:0.4px;
    color:#141310; background:var(--accent-soft);
    padding:4px 9px; display:inline-block;
  }
  .service-card.muted{opacity:0.72;}

  /* ---- process ---- */
  .process{display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative;}
  .process::before{
    content:""; position:absolute; top:26px; left:0; right:0; height:1px;
    background:repeating-linear-gradient(to right, var(--line) 0 8px, transparent 8px 16px);
  }
  .step{padding-right:24px; position:relative;}
  .step .marker{
    width:52px; height:52px; border:1px solid var(--accent);
    display:flex; align-items:center; justify-content:center;
    font-family:'Big Shoulders Display'; font-weight:800; font-size:22px; color:var(--accent-soft);
    background:var(--bg); position:relative; z-index:2; margin-bottom:20px;
  }
  .step h3{font-size:19px; margin-bottom:8px;}
  .step p{font-size:14px; color:var(--text-dim);}

  /* ---- portfolio ---- */
  .portfolio-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
  .proj-card{border:1px solid var(--line); position:relative;}
  .proj-frame{
    aspect-ratio:4/3; position:relative; overflow:hidden;
    background:
      linear-gradient(135deg, #232019 25%, transparent 25%) -12px 0/24px 24px,
      linear-gradient(225deg, #232019 25%, transparent 25%) -12px 0/24px 24px,
      linear-gradient(315deg, #232019 25%, transparent 25%) 0 0/24px 24px,
      linear-gradient(45deg, #232019 25%, transparent 25%) 0 0/24px 24px,
      var(--bg-alt);
    display:flex; align-items:center; justify-content:center;
  }
  .proj-frame span{
    font-family:'Big Shoulders Display'; font-weight:700; color:var(--text-dim); font-size:14px;
    letter-spacing:0.3px;
  }
  .corner{position:absolute; width:14px; height:14px; border:2px solid var(--accent);}
  .corner.tl{top:8px; left:8px; border-right:none; border-bottom:none;}
  .corner.br{bottom:8px; right:8px; border-left:none; border-top:none;}
  .proj-info{padding:16px 18px;}
  .proj-info .loc{font-size:12px; color:var(--accent-soft); font-weight:600; margin-bottom:4px;}
  .proj-info h3{font-size:19px; font-weight:700;}

  /* ---- about ---- */
  .about-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:start;}
  .about-grid p{color:var(--text-dim); margin-bottom:18px; font-size:15.5px;}
  .pillars{display:grid; gap:22px;}
  .pillar{display:flex; gap:16px; border-top:1px solid var(--line); padding-top:18px;}
  .pillar .mark{font-family:'Big Shoulders Display'; font-weight:800; color:var(--accent); font-size:24px; width:36px; flex-shrink:0;}
  .pillar h3{font-size:17px; margin-bottom:4px;}
  .pillar p{font-size:14px; color:var(--text-dim); margin:0;}

  /* ---- estimate form ---- */
  .estimate{display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px;}
  .estimate-side h2{font-size:clamp(30px,4vw,44px); margin-bottom:18px;}
  .estimate-side p{color:var(--text-dim); margin-bottom:28px; max-width:38ch;}
  .contact-line{display:flex; gap:14px; align-items:baseline; margin-bottom:14px; border-bottom:1px solid var(--line); padding-bottom:14px;}
  .contact-line .k{font-size:12px; color:var(--text-dim); width:90px; flex-shrink:0; text-transform:uppercase; letter-spacing:0.4px;}
  .contact-line .v{font-size:15px; font-weight:500;}

  form{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
  form .full{grid-column:1/-1;}
  label{display:block; font-size:12.5px; color:var(--text-dim); margin-bottom:7px; text-transform:uppercase; letter-spacing:0.4px;}
  input, select, textarea{
    width:100%; background:var(--bg-alt); border:1px solid var(--line);
    color:var(--text); padding:12px 14px; font-family:inherit; font-size:14.5px;
  }
  input:focus, select:focus, textarea:focus{border-color:var(--accent); outline:none;}
  textarea{resize:vertical; min-height:100px;}
  form .full .btn{margin-top:6px;}

  /* ---- footer ---- */
  footer{border-top:1px solid var(--line); padding:48px 0 28px;}
  .foot-top{display:flex; justify-content:space-between; flex-wrap:wrap; gap:32px; margin-bottom:40px;}
  .foot-brand{display:flex; align-items:center; gap:10px;}
  .foot-brand img{height:30px; width:30px;}
  .foot-brand span{font-family:'Big Shoulders Display'; font-weight:800; font-size:18px;}
  .foot-links{display:flex; gap:48px; flex-wrap:wrap;}
  .foot-links h4{font-size:12px; text-transform:uppercase; letter-spacing:0.4px; color:var(--text-dim); margin-bottom:14px;}
  .foot-links a{display:block; font-size:14px; color:var(--text-dim); margin-bottom:10px;}
  .foot-links a:hover{color:var(--accent-soft);}
  .foot-bottom{display:flex; justify-content:space-between; font-size:13px; color:var(--text-dim); border-top:1px solid var(--line); padding-top:22px; flex-wrap:wrap; gap:10px;}

  @media (max-width:860px){
    nav.primary{position:fixed; top:76px; left:0; right:0; bottom:0; background:var(--bg); flex-direction:column; padding:32px; gap:8px; align-items:stretch; transform:translateX(100%); transition:transform .25s ease; overflow-y:auto;}
    nav.primary.open{transform:translateX(0);}
    nav.primary a{padding:14px 4px; border-bottom:1px solid var(--line); font-size:17px;}
    nav.primary a.btn{border-bottom:none; margin-top:12px; padding:14px 22px; font-size:14px;}
    .menu-toggle{display:flex; align-items:center; justify-content:center; width:44px; height:44px;}
    .hero{padding:56px 0 48px;}
    .hero .wrap{grid-template-columns:1fr; gap:32px;}
    .hero .skyline-wrap{order:-1;}
    .hero-ctas{flex-direction:column; align-items:stretch;}
    .hero-ctas .btn{width:100%;}
    .stat-row{flex-wrap:wrap; margin-top:40px;}
    .stat{flex:1 1 50%; border-right:none; border-bottom:1px solid var(--line); padding-bottom:16px; margin-bottom:16px;}
    section{padding:56px 0;}
    .section-head{margin-bottom:32px;}
    .services-grid, .portfolio-grid{grid-template-columns:1fr;}
    .process{grid-template-columns:1fr 1fr; row-gap:36px;}
    .process::before{display:none;}
    .about-grid, .estimate{grid-template-columns:1fr; gap:36px;}
    form{grid-template-columns:1fr;}
    .wrap{padding:0 20px;}
    .brand-group{gap:12px;}
    .client-login{padding:7px 12px; font-size:12px; gap:5px;}
    .foot-top{gap:28px;}
    .foot-links{gap:32px;}
    .foot-bottom{flex-direction:column; align-items:flex-start;}
  }
  @media (max-width:480px){
    .wrap{padding:0 16px;}
    header .wrap{height:64px;}
    .brand span{font-size:18px;}
    .brand img{height:32px; width:32px;}
    .hero h1{font-size:clamp(34px,9vw,44px);}
    .hero p.lead{font-size:16px;}
    .stat{flex:1 1 100%; border-bottom:1px solid var(--line);}
    .process{grid-template-columns:1fr;}
    input, select, textarea{font-size:16px;}
  }
  @media (max-width:400px){
    .client-login span{display:none;}
    .client-login{padding:8px; border-radius:50%;}
  }
  @media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto;}
    *{transition:none !important;}
  }
  #mpChatToggle{
    position:fixed; right:20px; bottom:20px; z-index:999;
    width:56px; height:56px; border-radius:50%;
    background:var(--accent); color:#000; border:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 6px 20px rgba(0,0,0,0.35);
    transition:transform .15s ease, background .15s ease;
  }
  #mpChatToggle:hover{ transform:scale(1.06); background:var(--accent-soft); }
  #mpChatToggle svg{ width:26px; height:26px; }

  #mpChatPanel{
    position:fixed; right:20px; bottom:88px; z-index:999;
    width:340px; max-width:calc(100vw - 40px);
    height:460px; max-height:calc(100vh - 140px);
    background:var(--panel, #1c1a15); border:1px solid var(--line, #3a352c);
    display:none; flex-direction:column; overflow:hidden;
    box-shadow:0 12px 32px rgba(0,0,0,0.45);
  }
  #mpChatPanel.open{ display:flex; }

  #mpChatHeader{
    padding:14px 16px; border-bottom:1px solid var(--line, #3a352c);
    display:flex; align-items:center; justify-content:space-between;
    background:var(--panel2, #211f19);
  }
  #mpChatHeader strong{ color:var(--text, #F2EFE9); font-family:'Big Shoulders Display'; font-size:16px; }
  #mpChatHeader span{ color:var(--text-dim, #b3ab9c); font-size:11px; display:block; margin-top:1px; }
  #mpChatClose{ background:none; border:none; color:var(--text-dim, #b3ab9c); font-size:18px; cursor:pointer; line-height:1; }
  #mpChatClose:hover{ color:var(--accent-soft, #f0b45f); }

  #mpChatMessages{
    flex:1; overflow-y:auto; padding:14px 14px 8px;
    display:flex; flex-direction:column; gap:10px;
  }
  .mpMsg{ max-width:85%; padding:9px 12px; font-size:13.5px; line-height:1.4; }
  .mpMsg.user{
    align-self:flex-end; background:var(--accent, #D98F2B); color:#000; font-weight:500;
  }
  .mpMsg.bot{
    align-self:flex-start; background:var(--panel2, #211f19);
    border:1px solid var(--line, #3a352c); color:var(--text, #F2EFE9);
  }
  .mpMsg.typing{ color:var(--text-dim, #b3ab9c); font-style:italic; }

  #mpChatInputRow{
    display:flex; gap:8px; padding:12px; border-top:1px solid var(--line, #3a352c);
    background:var(--panel2, #211f19);
  }
  #mpChatInput{
    flex:1; background:var(--bg, #141310); border:1px solid var(--line, #3a352c);
    color:var(--text, #F2EFE9); padding:9px 11px; font-size:13.5px; font-family:inherit;
  }
  #mpChatInput:focus{ outline:none; border-color:var(--accent, #D98F2B); }
  #mpChatSend{
    background:var(--accent, #D98F2B); color:#000; border:none; padding:0 16px;
    font-weight:700; font-size:13px; cursor:pointer;
  }
  #mpChatSend:hover{ background:var(--accent-soft, #f0b45f); }
  #mpChatSend:disabled{ opacity:0.5; cursor:default; }

  @media (max-width:480px){
    #mpChatPanel{ right:12px; left:12px; width:auto; bottom:80px; }
    #mpChatToggle{ right:16px; bottom:16px; }
  }

  /* ---- multi-page additions ---- */
  nav.primary a.active{color:var(--accent-soft);}
  nav.primary a.btn.active{color:#000;}
  .page-hero{padding:72px 0 8px;}
  .page-hero h1{font-size:clamp(40px,6vw,68px); margin-bottom:16px;}
  .page-hero p{color:var(--text-dim); max-width:56ch; font-size:17px;}
  .cta-band{padding:72px 0; border-top:1px solid var(--line); text-align:center;}
  .cta-band h2{font-size:clamp(30px,4vw,44px); margin-bottom:14px;}
  .cta-band p{color:var(--text-dim); margin:0 auto 26px; max-width:46ch;}
  .teaser-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line);}
  .teaser{background:var(--bg-alt); padding:32px 28px; display:block; transition:background .2s;}
  .teaser:hover{background:var(--panel);}
  .teaser h3{font-size:24px; margin-bottom:10px;}
  .teaser p{color:var(--text-dim); font-size:14.5px; margin-bottom:14px;}
  .teaser .more{color:var(--accent-soft); font-size:13px; font-weight:600;}
  nav.primary a.btn, nav.primary a.btn:hover{color:#000;}
  /* ---- app-style bottom tab bar (phones) ---- */
  .app-tabbar{display:none;}
  @media (max-width:860px){
    .teaser-grid{grid-template-columns:1fr;} .page-hero{padding:48px 0 0;}
    body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px));}
    header{padding-top:env(safe-area-inset-top,0px);}
    .app-tabbar{display:block; position:fixed; left:0; right:0; bottom:0; z-index:60; background:rgba(28,26,21,.97); backdrop-filter:blur(8px); border-top:1px solid var(--line); padding-bottom:env(safe-area-inset-bottom,0px);}
    .app-tabbar-in{display:grid; grid-template-columns:repeat(5,1fr); height:64px; max-width:640px; margin:0 auto;}
    .app-tabbar a{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; color:var(--text-dim); font-size:10.5px; font-weight:600; border-top:2px solid transparent;}
    .app-tabbar svg{width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round;}
    .app-tabbar a.active{color:var(--accent-soft); border-top-color:var(--accent);}
    #mpChatToggle{bottom:calc(80px + env(safe-area-inset-bottom,0px));}
    #mpChatPanel{bottom:calc(148px + env(safe-area-inset-bottom,0px));}
  }
