:root{
    --bg:#0E1522;
    --bg-panel:#141D2E;
    --bg-panel-alt:#1B2740;
    --text:#EDEFF4;
    --text-muted:#9AA6BC;
    --accent:#F0A93B;
    --accent-soft:rgba(240,169,59,0.14);
    --accent-2:#4FD1C5;
    --accent-2-soft:rgba(79,209,197,0.14);
    --border:rgba(255,255,255,0.09);
    --radius:14px;
    --font-display:'Space Grotesk', sans-serif;
    --font-body:'Inter', sans-serif;
    --font-mono:'IBM Plex Mono', monospace;
    --maxw:1180px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:var(--font-body);
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
  }
  body::before{
    content:"";
    position:fixed; inset:0;
    background:
      radial-gradient(700px 420px at 85% -10%, rgba(240,169,59,0.10), transparent 60%),
      radial-gradient(600px 400px at -10% 20%, rgba(79,209,197,0.08), transparent 60%);
    pointer-events:none;
    z-index:0;
  }
  img,svg{display:block; max-width:100%;}
  a{color:inherit; text-decoration:none;}
  ul{list-style:none;}
  h1,h2,h3{font-family:var(--font-display); font-weight:600; letter-spacing:-0.01em;}
  section{position:relative; z-index:1;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px;}
  .skip-link{
    position:absolute; left:16px; top:-60px; z-index:100; background:var(--accent); color:#191207;
    font-family:var(--font-body); font-weight:600; font-size:14px; padding:12px 18px; border-radius:9px;
    transition:top .2s ease;
  }
  .skip-link:focus{top:16px;}
  .eyebrow{
    font-family:var(--font-mono); font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase;
    color:var(--accent); display:inline-flex; align-items:center; gap:8px; margin-bottom:14px;
  }
  .eyebrow::before{content:""; width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px var(--accent-soft);}
  .btn{
    display:inline-flex; align-items:center; gap:8px; font-family:var(--font-body); font-weight:600; font-size:15px;
    padding:14px 24px; border-radius:10px; border:1px solid transparent; cursor:pointer; transition:transform .15s ease, background .2s ease, border-color .2s ease;
  }
  .btn-primary{background:var(--accent); color:#191207;}
  .btn-primary:hover{transform:translateY(-2px);}
  .btn-ghost{border-color:var(--border); color:var(--text);}
  .btn-ghost:hover{border-color:var(--accent-2); color:var(--accent-2);}
  .reveal{opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.in{opacity:1; transform:translateY(0);}
  @media (prefers-reduced-motion: reduce){
    .reveal{opacity:1; transform:none; transition:none;}
    html{scroll-behavior:auto;}
  }

  /* NAV */
  header{
    position:fixed; top:0; left:0; right:0; z-index:50;
    background:rgba(14,21,34,0.82); backdrop-filter:blur(10px);
    border-bottom:1px solid var(--border);
  }
  nav.wrap{display:flex; align-items:center; justify-content:space-between; min-height:68px; gap:14px; padding-top:8px; padding-bottom:8px;}
  .brand{display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:600; font-size:16px;}
  .brand-mark{width:26px; height:26px; flex-shrink:0;}
  .nav-links{display:flex; align-items:center; gap:28px; font-size:14.5px; color:var(--text-muted);}
  .nav-links a:hover{color:var(--text);}
  .nav-cta{display:flex; align-items:center; gap:14px; flex-shrink:0;}
  .nav-cta .btn{padding:10px 18px; font-size:14px; white-space:nowrap;}
  .btn .wa-icon{width:17px; height:17px; flex-shrink:0; fill:currentColor;}
  .menu-toggle{display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;}
  .menu-toggle span{width:22px; height:2px; background:var(--text);}
  @media (max-width:860px){
    .nav-links{display:none;}
    .nav-cta .btn-ghost{display:none;}
    .menu-toggle{display:flex;}
    .cta-optional{display:none;}
  }

  /* HERO */
  .hero{padding:150px 0 90px;}
  .hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;}
  .hero h1{font-size:clamp(32px,4.4vw,52px); line-height:1.08; margin-bottom:22px;}
  .hero h1 em{font-style:normal; color:var(--accent);}
  .hero p.lead{font-size:17.5px; color:var(--text-muted); max-width:520px; margin-bottom:32px;}
  .hero-actions{display:flex; flex-wrap:wrap; gap:14px; margin-bottom:34px;}
  .hero-tags{display:flex; flex-wrap:wrap; gap:10px; font-family:var(--font-mono); font-size:12.5px; color:var(--text-muted);}
  .hero-tags span{padding:6px 12px; border:1px solid var(--border); border-radius:100px;}
  @media (max-width:940px){.hero-grid{grid-template-columns:1fr;} .hero{padding-top:120px;}}

  /* PIPELINE SIGNATURE */
  .pipeline{
    background:var(--bg-panel); border:1px solid var(--border); border-radius:20px; padding:30px 22px;
  }
  .pipeline-title{font-family:var(--font-mono); font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-muted); margin-bottom:22px;}
  .pipeline-flow{display:flex; flex-direction:column; gap:0;}
  .pnode{display:flex; align-items:center; gap:14px; padding:9px 0;}
  .pdot{width:11px; height:11px; border-radius:50%; background:var(--accent-2); flex-shrink:0; box-shadow:0 0 0 5px var(--accent-2-soft);}
  .pnode:nth-child(odd) .pdot{background:var(--accent); box-shadow:0 0 0 5px var(--accent-soft);}
  .plabel{font-family:var(--font-mono); font-size:13.5px; color:var(--text);}
  .pconnector{width:11px; margin-left:0px; height:22px; position:relative; margin-left:5px;}
  .pconnector::before{
    content:""; position:absolute; left:5px; top:0; bottom:0; width:1px;
    background:linear-gradient(var(--border), var(--border));
  }
  .pconnector::after{
    content:""; position:absolute; left:2px; top:0; width:6px; height:6px; border-radius:50%;
    background:var(--accent-2); animation:flowdown 2.6s linear infinite;
  }
  @media (prefers-reduced-motion: reduce){ .pconnector::after{animation:none; top:50%;} }
  @keyframes flowdown{0%{top:-6px; opacity:0;} 12%{opacity:1;} 90%{opacity:1;} 100%{top:100%; opacity:0;}}

  /* SECTION HEADERS */
  .sec-head{max-width:640px; margin-bottom:44px;}
  .sec-head h2{font-size:clamp(24px,3vw,34px); margin-bottom:14px;}
  .sec-head p{color:var(--text-muted); font-size:16px;}
  .section-pad{padding:88px 0;}
  .section-pad.alt{background:var(--bg-panel); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}

  /* NEEDS GRID */
  .needs-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
  .need-card{
    background:var(--bg-panel); border:1px solid var(--border); border-radius:var(--radius); padding:26px;
    transition:border-color .2s ease, transform .2s ease;
  }
  .need-card:hover{border-color:var(--accent-2); transform:translateY(-3px);}
  .need-icon{width:34px; height:34px; margin-bottom:16px; color:var(--accent);}
  .need-card h3{font-size:16.5px; margin-bottom:8px;}
  .need-card p{color:var(--text-muted); font-size:14.5px;}
  @media (max-width:860px){.needs-grid{grid-template-columns:1fr 1fr;}}
  @media (max-width:560px){.needs-grid{grid-template-columns:1fr;}}

  /* SERVICES */
  .services-list{display:flex; flex-direction:column; border-top:1px solid var(--border);}
  .service-row{
    display:grid; grid-template-columns:260px 1fr; gap:36px; padding:36px 0; border-bottom:1px solid var(--border);
  }
  .service-row .num{font-family:var(--font-mono); color:var(--accent); font-size:13px; margin-bottom:10px; display:block;}
  .service-row h3{font-size:21px; margin-bottom:8px;}
  .service-row .tagline{color:var(--text-muted); font-size:14.5px;}
  .service-tags{display:flex; flex-wrap:wrap; gap:8px 10px;}
  .service-tags span{
    font-family:var(--font-mono); font-size:12.5px; color:var(--text); background:var(--bg-panel-alt);
    border:1px solid var(--border); padding:6px 11px; border-radius:8px;
  }
  @media (max-width:760px){.service-row{grid-template-columns:1fr; gap:14px;}}

  /* ADVANTAGE */
  .advantage-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;}
  .advantage-flow{
    background:var(--bg-panel); border:1px solid var(--border); border-radius:20px; padding:28px;
    font-family:var(--font-mono); font-size:13.5px;
  }
  .aflow-step{display:flex; align-items:center; gap:12px; padding:10px 0; color:var(--text-muted);}
  .aflow-step.hot{color:var(--accent-2);}
  .aflow-arrow{color:var(--text-muted); padding-left:5px;}
  @media (max-width:860px){.advantage-grid{grid-template-columns:1fr;}}

  /* PROCESS */
  .process-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--border); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden;}
  .process-step{background:var(--bg); padding:30px 26px;}
  .process-step .pnum{font-family:var(--font-mono); color:var(--accent); font-size:13px; display:block; margin-bottom:14px;}
  .process-step h3{font-size:16.5px; margin-bottom:8px;}
  .process-step p{color:var(--text-muted); font-size:14px;}
  @media (max-width:860px){.process-grid{grid-template-columns:1fr;}}

  /* PORTFOLIO */
  .portfolio-feature{
    background:var(--bg-panel-alt); border:1px solid var(--border); border-radius:20px; padding:40px; margin-bottom:22px;
    display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center;
  }
  .portfolio-feature .tag-featured{
    font-family:var(--font-mono); font-size:12px; color:var(--accent); text-transform:uppercase; letter-spacing:.1em; margin-bottom:12px; display:block;
  }
  .portfolio-feature h3{font-size:26px; margin-bottom:0;}
  .pf-title-row{display:flex; align-items:center; gap:10px; margin-bottom:12px; flex-wrap:wrap;}
  .pf-link{font-family:var(--font-mono); font-size:13px; color:var(--accent-2);}
  .pf-link:hover{text-decoration:underline;}
  .portfolio-feature p{color:var(--text-muted); font-size:15px; margin-bottom:18px;}
  .pf-flow{display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-family:var(--font-mono); font-size:12.5px; color:var(--text-muted); margin-bottom:18px;}
  .pf-flow span.step{color:var(--accent-2);}
  .pf-tech{display:flex; flex-wrap:wrap; gap:8px;}
  .pf-tech span{font-family:var(--font-mono); font-size:12px; background:var(--bg); border:1px solid var(--border); padding:5px 10px; border-radius:7px; color:var(--text);}
  .pf-visual{
    aspect-ratio:4/3; border-radius:14px; background:var(--bg); border:1px solid var(--border);
    display:flex; align-items:center; justify-content:center; padding:24px; cursor:pointer;
    transition:border-color .2s ease;
  }
  .pf-visual:hover{border-color:var(--accent-2);}
  @media (max-width:860px){.portfolio-feature{grid-template-columns:1fr;} .pf-visual{order:-1;}}

  .mini-portfolio{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
  .mini-card{background:var(--bg-panel); border:1px solid var(--border); border-radius:var(--radius); padding:26px;}
  .mini-card .cat{font-family:var(--font-mono); font-size:11.5px; color:var(--accent-2); text-transform:uppercase; letter-spacing:.08em; margin-bottom:10px; display:block;}
  .mini-card h3{font-size:17px; margin-bottom:8px;}
  .mini-card p{color:var(--text-muted); font-size:14px;}
  @media (max-width:640px){.mini-portfolio{grid-template-columns:1fr;}}

  /* TECH */
  .tech-groups{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
  .tech-group h4{font-family:var(--font-mono); font-size:12.5px; color:var(--accent); text-transform:uppercase; letter-spacing:.08em; margin-bottom:14px;}
  .tech-pills{display:flex; flex-wrap:wrap; gap:8px;}
  .tech-pills span{font-family:var(--font-mono); font-size:12.5px; border:1px solid var(--border); padding:6px 11px; border-radius:100px; color:var(--text-muted);}
  @media (max-width:760px){.tech-groups{grid-template-columns:1fr 1fr;}}
  @media (max-width:520px){.tech-groups{grid-template-columns:1fr;}}

  /* ABOUT */
  .about-grid{display:grid; grid-template-columns:200px 1fr; gap:40px; align-items:start;}
  .about-portrait{
    width:100%; aspect-ratio:1; border-radius:16px; background:var(--bg-panel-alt); border:1px solid var(--border);
    display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:44px; color:var(--accent);
  }
  .about-name{font-size:22px; margin-bottom:4px;}
  .about-role{color:var(--accent-2); font-family:var(--font-mono); font-size:13.5px; margin-bottom:18px;}
  .about-bio{color:var(--text-muted); font-size:15px; max-width:600px; margin-bottom:20px;}
  .about-links{display:flex; gap:14px; flex-wrap:wrap;}
  @media (max-width:640px){.about-grid{grid-template-columns:1fr;} .about-portrait{width:88px; height:88px; font-size:30px;}}

  /* FAQ */
  .faq-item{border-bottom:1px solid var(--border);}
  .faq-item summary{
    padding:22px 0; cursor:pointer; font-family:var(--font-display); font-weight:600; font-size:16px;
    display:flex; justify-content:space-between; align-items:center; list-style:none;
  }
  .faq-item summary::-webkit-details-marker{display:none;}
  .faq-item summary::after{content:"+"; font-family:var(--font-mono); color:var(--accent); font-size:20px;}
  .faq-item[open] summary::after{content:"−";}
  .faq-item p{color:var(--text-muted); font-size:14.5px; padding-bottom:22px; max-width:640px;}

  /* CONTACT */
  .contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px;}
  .contact-info h2{font-size:clamp(24px,3vw,32px); margin-bottom:16px;}
  .contact-info p{color:var(--text-muted); margin-bottom:26px; max-width:420px;}
  .contact-channels{display:flex; flex-direction:column; gap:14px;}
  .contact-channel{
    display:flex; align-items:center; gap:12px; padding:14px 16px; border:1px solid var(--border); border-radius:12px; font-size:14.5px;
    transition:border-color .2s ease;
  }
  .contact-channel:hover{border-color:var(--accent-2);}
  .contact-channel .chan-label{font-family:var(--font-mono); font-size:11px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.06em; display:block;}

  form.quote{background:var(--bg-panel); border:1px solid var(--border); border-radius:18px; padding:30px;}
  .field{margin-bottom:16px;}
  .field > label{display:block; font-family:var(--font-mono); font-size:12px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.06em; margin-bottom:7px;}
  .field input, .field textarea{
    width:100%; background:var(--bg); border:1px solid var(--border); border-radius:9px; padding:12px 13px;
    color:var(--text); font-family:var(--font-body); font-size:14.5px; resize:vertical;
  }
  .field input:focus, .field textarea:focus{outline:2px solid var(--accent-2); outline-offset:1px; border-color:transparent;}
  .checks{display:grid; grid-template-columns:1fr 1fr; gap:9px;}
  .check-item{
    display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--text-muted);
    padding:9px 12px; border:1px solid transparent; border-radius:9px; cursor:pointer;
    transition:border-color .2s ease, background .2s ease, color .2s ease;
  }
  .check-item:hover{border-color:var(--border); background:var(--bg-panel-alt);}
  .check-item input{accent-color:var(--accent); width:17px; height:17px; flex-shrink:0; color-scheme:dark;}
  .check-item span{line-height:1.3;}
  .check-item:has(input:checked),
  .check-item.is-checked{
    background:var(--accent-soft); border-color:var(--accent); color:var(--text);
  }
  form.quote .btn{width:100%; justify-content:center; margin-top:6px;}
  @media (max-width:860px){.contact-grid{grid-template-columns:1fr;} .checks{grid-template-columns:1fr;}}

  footer{border-top:1px solid var(--border); padding:34px 0; margin-top:20px;}
  .footer-row{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; font-size:13px; color:var(--text-muted);}
  .footer-row .legal{font-family:var(--font-mono); font-size:11.5px;}

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