  :root{
    --bg: #0A0A08;
    --surface: #15140F;
    --surface-2: #1A1912;
    --line: #2C2A20;
    --text: #F5F3EC;
    --text-dim: #A39E8F;
    --text-dimmer: #6E6A5C;
    --gold: #B8902E;
    --gold-bright: #E0BB63;
    --silver: #D7DBE2;
    --amber: #FFB020;
  }

  *{margin:0;padding:0;box-sizing:border-box;}

  html{scroll-behavior:smooth;}

  body{
    background: var(--bg);
    color: var(--text);
    font-family:'Manrope', sans-serif;
    line-height:1.5;
    overflow-x:hidden;
  }

  h1,h2,h3, .display{
    font-family:'Sora', sans-serif;
    letter-spacing:-0.02em;
  }

  .mono{
    font-family:'JetBrains Mono', monospace;
    letter-spacing:0.02em;
  }

  a{color:inherit; text-decoration:none;}

  .wrap{
    max-width:1180px;
    margin:0 auto;
    padding:0 32px;
  }

  /* subtle background grid */
  .bg-grid{
    position:fixed;
    inset:0;
    background-image:
      linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events:none;
    z-index:0;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
  }

  /* ============ NAV ============ */
  header{
    position:sticky;
    top:0;
    z-index:50;
    background: rgba(7,11,20,0.75);
    backdrop-filter: blur(10px);
    border-bottom:1px solid var(--line);
  }
  nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:20px 32px;
    max-width:1180px;
    margin:0 auto;
  }
  .logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
    font-size:18px;
  }
  .logo-img{
    height:30px;
    width:auto;
    display:block;
  }
  .footer-brand .logo-img{
    height:34px;
  }
  .nav-links{
    display:flex;
    gap:36px;
    font-size:14px;
    color: var(--text-dim);
  }
  .nav-links a:hover{ color: var(--text); }
  .nav-cta{
    font-size:13px;
    font-weight:600;
    padding:9px 18px;
    border-radius:6px;
    background: var(--gold);
    color:#fff;
    border:1px solid var(--gold-bright);
    transition: all .15s ease;
  }
  .nav-cta:hover{
    background: var(--gold-bright);
    box-shadow: 0 0 20px rgba(184,144,46,0.5);
  }
  @media(max-width:760px){ .nav-links{display:none;} }

  /* ============ HERO ============ */
  .hero{
    position:relative;
    padding:110px 32px 90px;
    text-align:center;
    z-index:1;
  }
  .eyebrow{
    display:block;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color: var(--silver);
    margin-bottom:22px;
  }
  .hero h1{
    font-size: clamp(38px, 6vw, 68px);
    font-weight:700;
    line-height:1.06;
    max-width: 820px;
    margin: 0 auto 22px;
  }
  .hero h1 .accent{
    background: linear-gradient(100deg, var(--gold-bright), var(--silver));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
  }
  .hero p{
    font-size:17px;
    color: var(--text-dim);
    max-width:520px;
    margin: 0 auto 38px;
  }
  .hero-ctas{
    display:flex;
    gap:14px;
    justify-content:center;
    flex-wrap:wrap;
    margin-bottom:80px;
  }
  .btn-primary{
    padding:14px 26px;
    background: var(--gold);
    border:1px solid var(--gold-bright);
    border-radius:7px;
    font-weight:600;
    font-size:14.5px;
    transition:all .15s ease;
  }
  .btn-primary:hover{ background:var(--gold-bright); box-shadow: 0 0 24px rgba(184,144,46,0.55); transform:translateY(-1px);}
  .btn-ghost{
    padding:14px 26px;
    background:transparent;
    border:1px solid var(--line);
    border-radius:7px;
    font-weight:600;
    font-size:14.5px;
    color: var(--text-dim);
    transition:all .15s ease;
  }
  .btn-ghost:hover{ border-color: var(--text-dimmer); color:var(--text); }

  /* circuit signature */
  .circuit-wrap{
    position:relative;
    max-width:960px;
    margin:0 auto;
    height:260px;
  }
  .circuit-wrap svg{ width:100%; height:100%; overflow:visible; }
  .circuit-line-base{
    fill:none;
    stroke: var(--line);
    stroke-width:1.6;
    opacity:0.9;
  }
  .circuit-line{
    fill:none;
    stroke: url(#lineGrad);
    stroke-width:2.4;
    stroke-linecap:round;
    stroke-dasharray: 14 460;
    animation: dash 6s linear infinite;
    opacity:0.95;
    filter: drop-shadow(0 0 4px rgba(224,187,99,0.6));
  }
  .circuit-line.d2{ animation-delay:-2s; }
  .circuit-line.d3{ animation-delay:-4s; }
  @keyframes dash{
    to{ stroke-dashoffset:-800; }
  }
  .node{ fill: var(--surface-2); stroke: var(--gold-bright); stroke-width:1.8; }
  .node.glow{ filter: drop-shadow(0 0 7px var(--silver)); stroke: var(--silver); }
  .node-label{
    font-family:'JetBrains Mono', monospace;
    font-size:11px;
    fill: var(--text);
    opacity:0.85;
  }

  @media (prefers-reduced-motion: reduce){
    .circuit-line{ animation:none; stroke-dasharray:none; }
  }

  /* ============ SECTION HEADS ============ */
  .section{ position:relative; z-index:1; padding:90px 32px; }
  .section-head{
    text-align:center;
    max-width:560px;
    margin:0 auto 56px;
  }
  .section-tag{
    font-family:'JetBrains Mono', monospace;
    font-size:12px;
    color:var(--silver);
    letter-spacing:0.08em;
    text-transform:uppercase;
    display:block;
    margin-bottom:14px;
  }
  .section-head h2{
    font-size: clamp(26px,3.4vw,36px);
    font-weight:600;
    margin-bottom:14px;
  }
  .section-head p{ color:var(--text-dim); font-size:15.5px; }

  /* ============ SERVICES ============ */
  .services-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:20px;
    max-width:1180px;
    margin:0 auto;
  }
  .service-card{
    background: var(--surface);
    border:1px solid var(--line);
    border-radius:12px;
    padding:32px;
    transition: border-color .15s ease, transform .15s ease;
  }
  .service-card:hover{
    border-color: rgba(224,187,99,0.5);
    transform: translateY(-2px);
  }
  .service-icon{
    width:42px; height:42px;
    border-radius:9px;
    background: rgba(184,144,46,0.14);
    border:1px solid rgba(224,187,99,0.3);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:20px;
  }
  .service-card h3{ font-size:19px; font-weight:600; margin-bottom:10px; }
  .service-card p{ color:var(--text-dim); font-size:14.5px; margin-bottom:18px; }
  .service-meta{
    display:flex;
    gap:18px;
    font-family:'JetBrains Mono', monospace;
    font-size:11.5px;
    color: var(--text-dimmer);
    border-top:1px solid var(--line);
    padding-top:16px;
  }
  .service-meta span{ display:flex; align-items:center; gap:6px; }
  .service-meta span::before{
    content:'';
    width:5px;height:5px;
    border-radius:50%;
    background: var(--silver);
  }
  @media(max-width:760px){ .services-grid{grid-template-columns:1fr;} }

  /* ============ QUOTE STRIP ============ */
  .quote-strip{
    position:relative;
    z-index:1;
    padding:60px 32px;
    text-align:center;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    background: linear-gradient(180deg, rgba(184,144,46,0.06), transparent);
  }
  .quote-strip p{
    font-family:'Sora', sans-serif;
    font-size: clamp(18px,2.4vw,24px);
    font-weight:500;
    max-width:680px;
    margin:0 auto;
    color: var(--text);
  }
  .quote-strip p .hl{ color: var(--silver); }

  /* ============ WORK / EXAMPLES ============ */
  .work-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:24px;
    max-width:1180px;
    margin:0 auto;
  }
  .work-card{
    background: var(--surface);
    border:1px solid var(--line);
    border-radius:12px;
    overflow:hidden;
    transition: transform .18s ease, border-color .18s ease;
    display:block;
  }
  .work-card:hover{ transform: translateY(-4px); border-color: rgba(224,187,99,0.55); }

  .browser-chrome{
    display:flex;
    align-items:center;
    gap:6px;
    padding:11px 14px;
    background: #0B1526;
    border-bottom:1px solid var(--line);
  }
  .dot{ width:8px; height:8px; border-radius:50%; background:#2A3757; }
  .chrome-url{
    margin-left:8px;
    font-family:'JetBrains Mono', monospace;
    font-size:10.5px;
    color: var(--text-dimmer);
    background:#0F1B33;
    padding:3px 10px;
    border-radius:4px;
    flex:1;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .work-thumb{
    height:170px;
    position:relative;
    overflow:hidden;
    background: #0A1226;
  }
  .work-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position: top center;
    display:block;
    transition: transform .3s ease;
  }
  .work-card:hover .work-thumb img{
    transform: scale(1.04);
  }
  .work-thumb::after{
    content:'';
    position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(7,11,20,0) 55%, rgba(7,11,20,0.55) 100%);
    pointer-events:none;
  }

  .work-info{ padding:20px; }
  .work-info .kicker{
    font-family:'JetBrains Mono', monospace;
    font-size:11px;
    color: var(--silver);
    margin-bottom:6px;
    display:block;
  }
  .work-info h3{ font-size:17px; font-weight:600; margin-bottom:6px; }
  .work-info p{ font-size:13.5px; color:var(--text-dim); margin-bottom:16px; }
  .visit-link{
    display:inline-flex; align-items:center; gap:6px;
    font-size:13px; font-weight:600; color: var(--gold-bright);
  }
  .visit-link svg{ width:13px; height:13px; transition: transform .15s ease; }
  .work-card:hover .visit-link svg{ transform: translate(2px,-2px); }

  @media(max-width:900px){ .work-grid{grid-template-columns:1fr;} }

  /* ============ CTA / NEWSLETTER STRIP ============ */
  .cta-strip{
    position:relative;
    z-index:1;
    margin: 20px 32px 0;
    max-width:1116px;
    margin-left:auto; margin-right:auto;
    padding:56px 40px;
    border-radius:16px;
    background: linear-gradient(135deg, #101E3C, #0B1226);
    border:1px solid var(--line);
    text-align:center;
    overflow:hidden;
  }
  .cta-strip h2{ font-size: clamp(24px,3vw,32px); font-weight:600; margin-bottom:12px; }
  .cta-strip p{ color:var(--text-dim); font-size:15px; margin-bottom:28px; }
  .cta-form{
    display:flex;
    gap:10px;
    max-width:400px;
    margin:0 auto;
  }
  .cta-form input{
    flex:1;
    padding:12px 16px;
    background: #070B14;
    border:1px solid var(--line);
    border-radius:7px;
    color:var(--text);
    font-size:14px;
    font-family:'Manrope',sans-serif;
  }
  .cta-form input::placeholder{ color: var(--text-dimmer); }
  .cta-form input:focus{ outline:none; border-color: var(--gold-bright); }
  .cta-form button{
    padding:12px 20px;
    background: var(--gold);
    border:1px solid var(--gold-bright);
    border-radius:7px;
    color:#fff;
    font-weight:600;
    font-size:14px;
    cursor:pointer;
    transition: all .15s ease;
  }
  .cta-form button:hover{ background:var(--gold-bright); box-shadow:0 0 20px rgba(184,144,46,0.5); }
  @media(max-width:520px){ .cta-form{ flex-direction:column; } }

  /* ============ FOOTER ============ */
  footer{
    position:relative; z-index:1;
    padding:70px 32px 36px;
    border-top:1px solid var(--line);
    margin-top:60px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap:40px;
    max-width:1180px;
    margin:0 auto 50px;
  }
  .footer-brand p{ color:var(--text-dim); font-size:13.5px; margin-top:14px; max-width:220px; }
  .footer-col h4{
    font-size:12px; text-transform:uppercase; letter-spacing:0.06em;
    color: var(--text-dimmer); margin-bottom:16px; font-weight:600;
  }
  .footer-col a{
    display:block; font-size:13.5px; color:var(--text-dim);
    margin-bottom:11px;
  }
  .footer-col a:hover{ color: var(--text); }
  .footer-bottom{
    max-width:1180px; margin:0 auto;
    padding-top:28px; border-top:1px solid var(--line);
    display:flex; justify-content:space-between; align-items:center;
    font-size:12.5px; color: var(--text-dimmer);
  }
  @media(max-width:760px){
    .footer-grid{ grid-template-columns: 1fr 1fr; }
  }
