:root{
    --bg: #0A0E17;
    --bg-soft: #0F1524;
    --surface: #141B2D;
    --surface-2: #1B2439;
    --line: #262F47;
    --text: #EEF1F8;
    --text-muted: #8892A8;
    --blue: #5B8DEF;
    --blue-dim: #3A5FB8;
    --coral: #FF6B4A;
    --mint: #4ADE9B;
    --display: 'Space Grotesk', sans-serif;
    --body: 'IBM Plex Sans', sans-serif;
    --mono: 'JetBrains Mono', monospace;
  }

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:var(--body);
    overflow-x:hidden;
    line-height:1.5;
    position:relative;
  }
  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
  }

  /* Scroll progress bar */
  .scroll-progress{
    position:fixed; top:0; left:0; height:2px; width:0%; z-index:200;
    background:linear-gradient(90deg, var(--blue), var(--coral));
    box-shadow:0 0 10px rgba(91,141,239,0.6);
  }

  /* Custom cursor (fine pointers only) */
  @media (hover:hover) and (pointer:fine){
    body{ cursor:none; }
    .cursor-dot, .cursor-ring{
      position:fixed; top:0; left:0; z-index:9999; pointer-events:none;
      transform:translate(-50%,-50%);
    }
    .cursor-dot{
      width:6px; height:6px; border-radius:50%; background:var(--blue);
      transition:opacity 0.2s ease;
    }
    .cursor-ring{
      width:34px; height:34px; border-radius:50%; border:1px solid var(--blue-dim);
      transition:width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    }
    .cursor-ring.hovering{
      width:56px; height:56px; border-color:var(--blue); background:rgba(91,141,239,0.08);
    }
    a, button, .btn{ cursor:none; }
  }

  /* Ambient floating blocks across whole page */
  .ambient-field{
    position:absolute; top:0; left:0; width:100%; height:100%; z-index:0;
    pointer-events:none; overflow:hidden;
  }
  .ambient-block{
    position:absolute; border-radius:8px; border:1px solid var(--line);
    background:linear-gradient(135deg, rgba(91,141,239,0.06), rgba(255,107,74,0.04));
    animation:drift ease-in-out infinite;
  }
  @keyframes drift{
    0%,100%{ transform:translate(0,0) rotate(0deg); }
    50%{ transform:translate(var(--dx,20px), var(--dy,-24px)) rotate(var(--dr,8deg)); }
  }

  a{color:inherit;text-decoration:none;}
  ::selection{background:var(--blue); color:#fff;}

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

  /* Background ambient grid */
  .bg-grid{
    position:fixed; inset:0; z-index:0; pointer-events:none; opacity:0.35;
    background-image:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size:64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  }
  .bg-glow{
    position:fixed; z-index:0; pointer-events:none; border-radius:50%;
    filter:blur(120px); opacity:0.28;
  }
  .glow-1{ width:600px; height:600px; background:var(--blue); top:-200px; left:-100px; }
  .glow-2{ width:500px; height:500px; background:var(--coral); top:20%; right:-150px; }

  /* Nav */
  nav{
    position:fixed; top:0; left:0; right:0; z-index:100;
    background:rgba(10,14,23,0.7);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom:1px solid var(--line);
    transition:padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  }
  nav.scrolled{
    background:rgba(10,14,23,0.92);
    box-shadow:0 8px 30px -12px rgba(0,0,0,0.5);
  }
  .nav-inner{
    max-width:1240px; margin:0 auto; padding:18px 32px;
    display:flex; align-items:center; justify-content:space-between;
    transition:padding 0.35s ease;
  }
  nav.scrolled .nav-inner{ padding:12px 32px; }
  .logo{
    font-family:var(--display); font-weight:700; font-size:19px;
    letter-spacing:-0.02em; display:flex; align-items:center; gap:9px;
  }
  .logo-mark{
    width:22px; height:22px; position:relative; flex-shrink:0;
  }
  .logo-mark span{
    position:absolute; width:9px; height:9px; background:var(--blue); border-radius:2px;
    animation:mark-pulse 2.6s ease-in-out infinite;
  }
  .logo-mark span:nth-child(1){top:0; left:0;}
  .logo-mark span:nth-child(2){top:0; right:0; background:var(--coral); animation-delay:0.2s;}
  .logo-mark span:nth-child(3){bottom:0; left:0; background:var(--mint); animation-delay:0.4s;}
  .logo-mark span:nth-child(4){bottom:0; right:0; animation-delay:0.6s;}
  @keyframes mark-pulse{
    0%,100%{transform:scale(1); opacity:1;}
    50%{transform:scale(0.75); opacity:0.6;}
  }
  .nav-links{display:flex; align-items:center; gap:36px;}
  .nav-links a{
    font-size:14px; color:var(--text-muted); font-weight:500;
    transition:color 0.2s ease; position:relative;
  }
  .nav-links a:not(.btn)::after{
    content:''; position:absolute; left:0; bottom:-4px; width:0; height:1px;
    background:var(--blue); transition:width 0.25s ease;
  }
  .nav-links a:not(.btn):hover{color:var(--text);}
  .nav-links a:not(.btn):hover::after{width:100%;}
  .btn{
    font-family:var(--body); font-weight:600; font-size:13.5px;
    padding:10px 20px; border-radius:8px; cursor:pointer;
    display:inline-flex; align-items:center; gap:8px;
    border:1px solid transparent; transition:transform 0.2s ease, box-shadow 0.2s ease;
  }
  .btn-primary{
    background:var(--blue); color:#fff;
    box-shadow:0 0 0 0 rgba(91,141,239,0.5);
  }
  .btn-primary:hover{ transform:translateY(-2px); box-shadow:0 8px 24px -6px rgba(91,141,239,0.6); }

  /* Hero */
  .hero{
    position:relative; z-index:1;
    min-height:100vh;
    display:flex; align-items:center;
    padding:140px 0 80px;
  }
  .hero-inner{
    max-width:1240px; margin:0 auto; padding:0 32px;
    display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;
  }
  .eyebrow{
    font-family:var(--mono); font-size:12.5px; letter-spacing:0.12em; text-transform:uppercase;
    color:var(--blue); display:flex; align-items:center; gap:10px; margin-bottom:22px;
    opacity:0; animation:rise 0.7s ease forwards; animation-delay:0.1s;
  }
  .eyebrow::before{
    content:''; width:22px; height:1px; background:var(--blue);
  }
  h1{
    font-family:var(--display); font-weight:700; font-size:clamp(38px, 4.6vw, 60px);
    line-height:1.05; letter-spacing:-0.02em; margin-bottom:24px;
    opacity:0; animation:rise 0.8s ease forwards; animation-delay:0.22s;
  }
  h1 em{ font-style:normal; color:var(--blue); position:relative; }
  .hero p{
    font-size:17px; color:var(--text-muted); max-width:460px; margin-bottom:34px;
    opacity:0; animation:rise 0.8s ease forwards; animation-delay:0.34s;
  }
  .hero-cta{
    display:flex; gap:14px; align-items:center;
    opacity:0; animation:rise 0.8s ease forwards; animation-delay:0.46s;
  }
  .btn-ghost{
    border-color:var(--line); color:var(--text);
  }
  .btn-ghost:hover{ border-color:var(--blue); background:rgba(91,141,239,0.08); }
  @keyframes rise{
    from{opacity:0; transform:translateY(16px);}
    to{opacity:1; transform:translateY(0);}
  }

  /* Hero visual: assembling blocks */
  .hero-visual{
    position:relative; height:460px;
  }
  .hv-block{
    position:absolute;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:10px;
    opacity:0;
    box-shadow:0 20px 40px -20px rgba(0,0,0,0.6);
    animation:assemble 0.85s cubic-bezier(.2,.9,.25,1) forwards;
  }
  @keyframes assemble{
    0%{ opacity:0; transform: translate(var(--fx), var(--fy)) scale(0.7) rotate(var(--fr)); }
    60%{ opacity:1; }
    100%{ opacity:1; transform: translate(0,0) scale(1) rotate(0deg); }
  }
  .hv-topbar{ top:0; left:0; right:0; height:44px; --fx:-60px; --fy:-80px; --fr:-6deg; animation-delay:0.5s;
    display:flex; align-items:center; padding:0 14px; gap:6px;}
  .hv-topbar i{width:8px;height:8px;border-radius:50%;background:var(--line);}
  .hv-sidebar{ top:64px; left:0; width:100px; bottom:0; --fx:-140px; --fy:20px; --fr:-8deg; animation-delay:0.65s; padding:14px 10px;}
  .hv-side-item{height:9px; border-radius:3px; background:var(--surface-2); margin-bottom:10px; width:70%;}
  .hv-side-item:nth-child(2){width:50%;}
  .hv-side-item:nth-child(3){width:85%;}

  .hv-card{ top:64px; height:78px; --fy:-40px; }
  .hv-card1{ left:114px; right:230px; --fx:70px; --fr:10deg; animation-delay:0.78s;}
  .hv-card2{ left:auto; right:114px; width:110px; --fx:100px; --fr:12deg; animation-delay:0.9s;}
  .hv-card-fill{margin:14px; height:8px; width:60%; border-radius:3px; background:var(--blue); opacity:0.7;}
  .hv-card2 .hv-card-fill{background:var(--coral);}
  .hv-num{ font-family:var(--mono); font-size:20px; font-weight:500; margin:14px 14px 4px; color:var(--text);}
  .hv-lab{ font-size:10.5px; color:var(--text-muted); margin:0 14px;}

  .hv-chart{ top:156px; left:114px; right:230px; bottom:0; --fx:-50px; --fy:60px; --fr:-10deg; animation-delay:1.02s;
    display:flex; align-items:flex-end; gap:8px; padding:16px;}
  .hv-bar{ flex:1; background:linear-gradient(180deg, var(--blue), var(--blue-dim)); border-radius:4px 4px 0 0; opacity:0.85;
    animation:bar-grow 1s cubic-bezier(.2,.9,.25,1) forwards; animation-delay:1.3s; transform-origin:bottom; transform:scaleY(0);}
  @keyframes bar-grow{ to{ transform:scaleY(1); } }
  .hv-bar:nth-child(1){height:40%;} .hv-bar:nth-child(2){height:65%; animation-delay:1.36s;}
  .hv-bar:nth-child(3){height:50%; animation-delay:1.42s;} .hv-bar:nth-child(4){height:85%; animation-delay:1.48s;}
  .hv-bar:nth-child(5){height:60%; animation-delay:1.54s;} .hv-bar:nth-child(6){height:95%; animation-delay:1.6s; background:linear-gradient(180deg, var(--mint), #2fa373);}

  .hv-panel{ top:156px; right:114px; width:110px; bottom:0; --fx:60px; --fy:70px; --fr:8deg; animation-delay:1.14s; padding:14px;}
  .hv-dot-row{display:flex; align-items:center; gap:8px; margin-bottom:12px;}
  .hv-dot{width:22px; height:22px; border-radius:50%; background:var(--surface-2); flex-shrink:0;}
  .hv-line{height:7px; border-radius:3px; background:var(--surface-2); flex:1;}

  .hv-accent{
    position:absolute; width:10px; height:10px; border-radius:50%;
    animation:assemble 0.7s ease forwards, float 3.4s ease-in-out infinite;
    animation-delay:1.7s, 2.4s;
  }
  @keyframes float{ 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
  .hv-a1{ top:40px; right:180px; background:var(--coral); --fx:30px; --fy:-30px; --fr:0deg;}
  .hv-a2{ bottom:20px; left:90px; background:var(--mint); --fx:-30px; --fy:30px; --fr:0deg; animation-delay:1.8s, 2.6s;}

  .hv-svg{ position:absolute; inset:0; overflow:visible; }
  .hv-svg path{
    fill:none; stroke:var(--blue); stroke-width:1.4; opacity:0.45;
    stroke-dasharray:6 6; stroke-dashoffset:200;
    animation:draw-line 1.4s ease forwards; animation-delay:1.9s;
  }
  @keyframes draw-line{ to{ stroke-dashoffset:0; } }

  .scroll-cue{
    position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
    display:flex; flex-direction:column; align-items:center; gap:8px;
    color:var(--text-muted); font-family:var(--mono); font-size:10.5px; letter-spacing:0.1em;
    opacity:0; animation:rise 0.8s ease forwards; animation-delay:1.2s;
  }
  .scroll-cue-line{ width:1px; height:30px; background:var(--line); position:relative; overflow:hidden;}
  .scroll-cue-line::after{
    content:''; position:absolute; top:-30px; left:0; width:100%; height:30px; background:var(--blue);
    animation:cue-drop 1.8s ease-in-out infinite;
  }
  @keyframes cue-drop{ 0%{top:-30px;} 100%{top:30px;} }

  /* Section shared */
  section{ position:relative; z-index:1; padding:120px 0; }
  .section-head{ max-width:600px; margin-bottom:64px; }
  .section-head .eyebrow{ animation:none; opacity:1; }
  h2{
    font-family:var(--display); font-weight:600; font-size:clamp(28px,3.2vw,40px);
    letter-spacing:-0.015em; line-height:1.1;
  }
  .section-head p{ color:var(--text-muted); margin-top:14px; font-size:15.5px; max-width:520px;}

  .reveal{
    opacity:0;
    transform:translate(var(--tx,0px), var(--ty,34px)) rotate(var(--rot,0deg)) scale(var(--sc,1));
    filter:blur(6px);
    transition:opacity 0.75s cubic-bezier(.2,.8,.2,1), transform 0.75s cubic-bezier(.2,.8,.2,1), filter 0.75s ease;
    will-change:transform, opacity;
  }
  .reveal.in{ opacity:1; transform:translate(0,0) rotate(0deg) scale(1); filter:blur(0); }

  /* Stats */
  .stats{ padding:70px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
  .stat-num{ font-family:var(--display); font-size:clamp(30px,4vw,44px); font-weight:700; color:var(--text); }
  .stat-num span{ color:var(--blue); }
  .stat-lab{ font-size:13px; color:var(--text-muted); margin-top:6px; font-family:var(--mono); letter-spacing:0.03em;}

  /* Services */
  .services-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
  .service-card{
    background:var(--surface); border:1px solid var(--line); border-radius:14px;
    padding:28px 24px; transition:transform 0.35s cubic-bezier(.2,.9,.25,1), border-color 0.3s ease, box-shadow 0.35s ease;
    position:relative; overflow:hidden;
  }
  .service-card::before{
    content:''; position:absolute; inset:0; opacity:0; transition:opacity 0.35s ease;
    background:radial-gradient(300px circle at var(--mx,50%) var(--my,50%), rgba(91,141,239,0.14), transparent 60%);
  }
  .service-card:hover::before{ opacity:1; }
  .service-card:hover{ transform:translateY(-6px); border-color:var(--blue-dim); box-shadow:0 24px 48px -24px rgba(91,141,239,0.35); }
  .service-icon{
    width:38px; height:38px; border-radius:9px; background:var(--surface-2);
    display:flex; align-items:center; justify-content:center; margin-bottom:20px;
    font-family:var(--mono); font-size:14px; color:var(--blue);
    transition:transform 0.5s cubic-bezier(.2,.9,.25,1), background 0.3s ease, color 0.3s ease;
  }
  .service-card:hover .service-icon{
    transform:rotate(-14deg) scale(1.12);
    background:var(--blue); color:#fff;
  }
  .service-card h3{ font-family:var(--display); font-size:18px; font-weight:600; margin-bottom:10px; transition:color 0.3s ease; }
  .service-card:hover h3{ color:var(--blue); }
  .service-card p{ font-size:13.5px; color:var(--text-muted); line-height:1.6; }

  /* Why cards */
  .why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
  .why-card{
    background:linear-gradient(160deg, var(--surface), var(--bg-soft));
    border:1px solid var(--line); border-radius:14px; padding:26px 22px;
    transition:transform 0.4s cubic-bezier(.2,.9,.25,1), border-color 0.3s ease;
  }
  .why-card:hover{ transform:translateY(-6px) rotate(-0.5deg); border-color:var(--coral); }
  .why-num{
    font-family:var(--mono); font-size:12px; color:var(--coral); letter-spacing:0.06em;
    margin-bottom:14px; opacity:0.85;
  }
  .why-card h3{ font-family:var(--display); font-size:16px; font-weight:600; margin-bottom:8px; }
  .why-card p{ font-size:13px; color:var(--text-muted); line-height:1.6; }

  /* Playground */
  #playground{ --pg-accent: var(--blue); }
  .pg-layout{
    display:grid; grid-template-columns:240px 1fr; gap:24px;
    background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:22px;
  }
  .pg-controls{ display:flex; flex-direction:column; gap:10px; }
  .pg-group-label{ font-family:var(--mono); font-size:11px; color:var(--text-muted); letter-spacing:0.06em; margin-top:10px; margin-bottom:2px; }
  .pg-group-label:first-child{ margin-top:0; }
  .pg-chips{ display:flex; flex-wrap:wrap; gap:8px; }
  .pg-chip{
    font-family:var(--body); font-size:12.5px; font-weight:500; color:var(--text-muted);
    background:var(--surface-2); border:1px solid var(--line); border-radius:8px; padding:8px 12px;
    cursor:pointer; transition:all 0.2s ease; text-align:left;
  }
  .pg-chip:hover{ color:var(--text); border-color:var(--blue-dim); transform:translateY(-1px); }
  .pg-chip.active{ background:var(--pg-accent); border-color:var(--pg-accent); color:#0A0E17; font-weight:600; }
  .pg-swatches{ display:flex; gap:10px; }
  .pg-swatch{
    width:26px; height:26px; border-radius:50%; background:var(--sw); border:2px solid var(--line);
    cursor:pointer; transition:transform 0.2s ease, border-color 0.2s ease;
  }
  .pg-swatch:hover{ transform:scale(1.15); }
  .pg-swatch.active{ border-color:#fff; box-shadow:0 0 0 3px var(--sw); }
  .pg-shuffle{
    margin-top:14px; font-family:var(--body); font-size:12.5px; font-weight:600; color:var(--text);
    background:var(--surface-2); border:1px solid var(--line); border-radius:8px; padding:10px 12px;
    cursor:pointer; transition:all 0.2s ease;
  }
  .pg-shuffle:hover{ border-color:var(--pg-accent); color:var(--pg-accent); }
  .pg-hint{ font-size:11.5px; color:var(--text-muted); margin-top:6px; line-height:1.5; }

  .pg-canvas{
    position:relative; min-height:420px; border-radius:14px; overflow:hidden;
    background:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size:24px 24px;
    background-color:var(--bg-soft);
    border:1px solid var(--line);
  }
  .pg-empty{
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
    color:var(--text-muted); font-size:13.5px; font-family:var(--mono); text-align:center; padding:20px;
    pointer-events:none;
  }
  .pg-block{
    position:absolute; background:var(--surface); border:1px solid var(--line); border-radius:10px;
    box-shadow:0 16px 32px -18px rgba(0,0,0,0.6);
    cursor:grab; user-select:none; touch-action:none;
    animation:pg-in 0.5s cubic-bezier(.2,.9,.25,1);
    transition:box-shadow 0.2s ease, left 0.5s cubic-bezier(.2,.9,.25,1), top 0.5s cubic-bezier(.2,.9,.25,1);
  }
  .pg-block.dragging{ cursor:grabbing; box-shadow:0 24px 48px -18px rgba(0,0,0,0.7); z-index:50; transition:box-shadow 0.2s ease; }
  .pg-block.removing{ animation:pg-out 0.3s ease forwards; }
  @keyframes pg-in{ from{ opacity:0; transform:scale(0.7) rotate(-6deg); } to{ opacity:1; transform:scale(1) rotate(0); } }
  @keyframes pg-out{ to{ opacity:0; transform:scale(0.6) rotate(8deg); } }
  .pg-block-fill{ margin:12px; height:8px; border-radius:3px; background:var(--pg-accent); opacity:0.75; }
  .pg-block .pgb-label{ font-family:var(--mono); font-size:10px; color:var(--text-muted); margin:0 12px 10px; }
  .pg-block .pgb-num{ font-family:var(--mono); font-size:18px; font-weight:500; margin:12px 12px 2px; }
  .pg-bar-row{ display:flex; align-items:flex-end; gap:6px; padding:12px; height:100%; }
  .pg-bar{ flex:1; border-radius:3px 3px 0 0; background:var(--pg-accent); opacity:0.7; }
  .pg-list-row{ display:flex; align-items:center; gap:8px; padding:10px 12px; }
  .pg-list-dot{ width:16px; height:16px; border-radius:50%; background:var(--pg-accent); opacity:0.6; flex-shrink:0; }
  .pg-list-line{ height:6px; border-radius:3px; background:var(--surface-2); flex:1; }

  /* Process */
  .process{ background:var(--bg-soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .process-track{ position:relative; }
  .process-line{
    position:absolute; top:19px; left:0; right:0; height:2px; background:var(--line);
  }
  .process-line-fill{
    position:absolute; top:0; left:0; height:100%; width:0%; background:var(--blue);
    transition:width 1.4s cubic-bezier(.2,.9,.25,1);
  }
  .process-line-dot{
    position:absolute; top:50%; left:0%; width:8px; height:8px; border-radius:50%;
    background:var(--coral); transform:translate(-50%,-50%);
    box-shadow:0 0 12px 3px rgba(255,107,74,0.6);
    transition:left 1.4s cubic-bezier(.2,.9,.25,1);
  }
  .process-steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:20px; position:relative; }
  .process-step .pnum{
    width:40px; height:40px; border-radius:50%; background:var(--bg-soft); border:2px solid var(--line);
    display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:13px;
    margin-bottom:22px; position:relative; z-index:2; color:var(--text-muted); transition:all 0.4s ease;
  }
  .process-step.in .pnum{ border-color:var(--blue); color:var(--blue); background:var(--bg-soft); box-shadow:0 0 0 4px rgba(91,141,239,0.12); }
  .process-step h4{ font-family:var(--display); font-size:15.5px; font-weight:600; margin-bottom:8px; }
  .process-step p{ font-size:13px; color:var(--text-muted); line-height:1.55; }

  /* Work */
  .work-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
  .work-card{
    border-radius:14px; overflow:hidden; border:1px solid var(--line);
    background:var(--surface); transition:transform 0.15s ease-out, box-shadow 0.3s ease;
    transform-style:preserve-3d; will-change:transform; position:relative;
  }
  .work-card:hover{ box-shadow:0 30px 60px -30px rgba(91,141,239,0.4); }
  .work-shot{ position:relative; }
  .work-shot::after{
    content:''; position:absolute; top:0; left:-150%; width:60%; height:100%;
    background:linear-gradient(100deg, transparent, rgba(255,255,255,0.08), transparent);
    transition:left 0.7s ease;
  }
  .work-card:hover .work-shot::after{ left:150%; }
  .work-shot{
    height:170px; position:relative; overflow:hidden;
    display:flex; flex-direction:column;
  }
  .work-shot .ws-bar{ height:26px; background:var(--surface-2); display:flex; align-items:center; gap:5px; padding:0 10px;}
  .work-shot .ws-bar i{ width:6px; height:6px; border-radius:50%; background:var(--line); }
  .work-shot .ws-body{ flex:1; padding:14px; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .ws-block{ border-radius:6px; background:var(--surface-2); }
  .work-card:nth-child(1) .ws-body .ws-block:nth-child(1){ grid-column:span 2; height:34px; background:linear-gradient(135deg,var(--blue),var(--blue-dim)); opacity:0.75;}
  .work-card:nth-child(2) .ws-body .ws-block{ height:40px;}
  .work-card:nth-child(2) .ws-body .ws-block:nth-child(2){ background:linear-gradient(135deg,var(--coral),#c14b30); opacity:0.75;}
  .work-card:nth-child(3) .ws-body .ws-block:nth-child(1){ grid-column:span 2; height:50px; background:linear-gradient(135deg,var(--mint),#2fa373); opacity:0.75;}
  .work-card:nth-child(4) .ws-body .ws-block{ height:36px; }
  .work-card:nth-child(4) .ws-body .ws-block:nth-child(3){ background:linear-gradient(135deg,var(--blue),var(--coral)); opacity:0.75;}
  .work-info{ padding:18px 20px 22px; }
  .work-info .wtag{ font-family:var(--mono); font-size:11px; color:var(--blue); letter-spacing:0.04em; }
  .work-info h3{ font-family:var(--display); font-size:16.5px; margin:6px 0 6px; }
  .work-info p{ font-size:13px; color:var(--text-muted); }

  /* Testimonials marquee */
  .marquee-wrap{ overflow:hidden; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:48px 0; background:var(--bg-soft); }
  .marquee{ display:flex; gap:24px; width:max-content; animation:scroll-left 32s linear infinite; }
  .marquee-wrap:hover .marquee{ animation-play-state:paused; }
  @keyframes scroll-left{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
  .quote-card{
    width:340px; flex-shrink:0; background:var(--surface); border:1px solid var(--line); border-radius:12px;
    padding:24px; font-size:14px; color:var(--text-muted); line-height:1.6;
  }
  .quote-card .qwho{ margin-top:16px; font-family:var(--mono); font-size:12px; color:var(--text); }

  /* CTA */
  .cta-section{ text-align:center; padding:140px 0; }
  .cta-section h2{ max-width:640px; margin:0 auto 28px; }
  .cta-buttons{ display:flex; gap:16px; justify-content:center; }

  footer{
    border-top:1px solid var(--line); padding:48px 0; position:relative; z-index:1;
  }
  .footer-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; }
  .footer-links{ display:flex; gap:28px; }
  .footer-links a{ font-size:13px; color:var(--text-muted); }
  .footer-links a:hover{ color:var(--text); }
  .copyright{ font-size:12.5px; color:var(--text-muted); font-family:var(--mono); }

  .logo{
    display:flex; align-items:center;
  }
  .logo img{
    height:40px; width:auto; display:block;
  }
  footer .logo img{ height:26px; }

  /* Page header (used on Team / Mission / Contact) */
  .page-header{
    padding:160px 0 70px; position:relative; z-index:1;
  }
  .page-header .eyebrow{ opacity:1; animation:none; justify-content:flex-start; }
  .page-header h1{
    font-family:var(--display); font-weight:700; font-size:clamp(34px,4.4vw,54px);
    letter-spacing:-0.02em; line-height:1.08; margin-bottom:18px; max-width:720px;
  }
  .page-header p{ font-size:16px; color:var(--text-muted); max-width:560px; }

  /* Team page */
  .team-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
  .team-card{
    background:var(--surface); border:1px solid var(--line); border-radius:16px;
    overflow:hidden; transition:transform 0.4s cubic-bezier(.2,.9,.25,1), border-color 0.3s ease, box-shadow 0.4s ease;
  }
  .team-card:hover{ transform:translateY(-8px); border-color:var(--blue-dim); box-shadow:0 30px 60px -28px rgba(91,141,239,0.35); }
  .team-photo{
    aspect-ratio:1/1; width:100%; overflow:hidden; background:var(--surface-2);
    position:relative;
  }
  .team-photo img{
    width:100%; height:100%; object-fit:cover; display:block;
    transition:transform 0.6s cubic-bezier(.2,.9,.25,1); filter:grayscale(15%);
  }
  .team-card:hover .team-photo img{ transform:scale(1.06); filter:grayscale(0%); }
  .team-info{ padding:22px 22px 26px; }
  .team-info h3{ font-family:var(--display); font-size:19px; font-weight:600; margin-bottom:4px; }
  .team-role{ font-family:var(--mono); font-size:12px; color:var(--blue); letter-spacing:0.03em; margin-bottom:14px; display:block; }
  .team-info p{ font-size:13.5px; color:var(--text-muted); line-height:1.6; margin-bottom:16px; }
  .team-social{ display:flex; gap:10px; }
  .team-social a{
    width:30px; height:30px; border-radius:8px; background:var(--surface-2); border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center; font-size:12px; color:var(--text-muted);
    transition:all 0.2s ease;
  }
  .team-social a:hover{ background:var(--blue); border-color:var(--blue); color:#fff; }

  /* Mission & Vision page */
  .mv-panels{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:90px; }
  .mv-panel{
    background:linear-gradient(160deg, var(--surface), var(--bg-soft));
    border:1px solid var(--line); border-radius:18px; padding:40px 36px;
    position:relative; overflow:hidden;
  }
  .mv-panel::before{
    content:''; position:absolute; width:200px; height:200px; border-radius:50%;
    filter:blur(70px); opacity:0.25; top:-60px; right:-60px;
  }
  .mv-panel.mission::before{ background:var(--blue); }
  .mv-panel.vision::before{ background:var(--coral); }
  .mv-tag{
    font-family:var(--mono); font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase;
    color:var(--text-muted); margin-bottom:16px; display:block;
  }
  .mv-panel h2{ font-family:var(--display); font-size:26px; font-weight:600; margin-bottom:16px; position:relative; }
  .mv-panel p{ font-size:15px; color:var(--text-muted); line-height:1.7; position:relative; }

  .values-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
  .value-card{
    border:1px solid var(--line); border-radius:14px; padding:26px 22px; background:var(--surface);
    transition:transform 0.35s cubic-bezier(.2,.9,.25,1), border-color 0.3s ease;
  }
  .value-card:hover{ transform:translateY(-6px); border-color:var(--mint); }
  .value-mark{ font-family:var(--mono); font-size:11px; color:var(--mint); margin-bottom:14px; }
  .value-card h3{ font-family:var(--display); font-size:16px; font-weight:600; margin-bottom:8px; }
  .value-card p{ font-size:13px; color:var(--text-muted); line-height:1.6; }

  /* Contact page */
  .contact-layout{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:start; }
  .contact-form{
    background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:36px;
  }
  .form-row{ margin-bottom:20px; }
  .form-row label{
    display:block; font-family:var(--mono); font-size:11.5px; color:var(--text-muted);
    letter-spacing:0.05em; margin-bottom:8px;
  }
  .form-row input, .form-row textarea{
    width:100%; background:var(--surface-2); border:1px solid var(--line); border-radius:9px;
    padding:12px 14px; color:var(--text); font-family:var(--body); font-size:14px;
    transition:border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .form-row input:focus, .form-row textarea:focus{
    outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(91,141,239,0.15);
  }
  .form-row textarea{ min-height:140px; resize:vertical; }
  .form-submit{
    width:100%; justify-content:center; font-size:14.5px; padding:13px 20px;
  }
  .form-note{ font-size:12px; color:var(--text-muted); margin-top:14px; text-align:center; }
  .form-success{
    display:none; background:rgba(74,222,155,0.1); border:1px solid var(--mint); color:var(--mint);
    border-radius:10px; padding:14px 16px; font-size:13.5px; margin-bottom:20px;
  }
  .form-success.show{ display:block; }

  .contact-info{ display:flex; flex-direction:column; gap:18px; }
  .info-card{
    background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:24px;
    transition:border-color 0.3s ease, transform 0.3s ease;
  }
  .info-card:hover{ border-color:var(--blue-dim); transform:translateX(4px); }
  .info-label{ font-family:var(--mono); font-size:11px; color:var(--blue); letter-spacing:0.05em; margin-bottom:8px; display:block; }
  .info-card h4{ font-family:var(--display); font-size:16px; font-weight:600; margin-bottom:4px; }
  .info-card p{ font-size:13.5px; color:var(--text-muted); line-height:1.6; }
  .info-card a{ color:var(--text); }
  .info-card a:hover{ color:var(--blue); }

  @media (max-width: 980px){
    .hero-inner{ grid-template-columns:1fr; }
    .hero-visual{ height:340px; order:-1; }
    .stats-grid{ grid-template-columns:repeat(2,1fr); gap:32px; }
    .services-grid{ grid-template-columns:repeat(2,1fr); }
    .why-grid{ grid-template-columns:repeat(2,1fr); }
    .pg-layout{ grid-template-columns:1fr; }
    .pg-canvas{ min-height:340px; }
    .process-steps{ grid-template-columns:1fr; gap:36px; }
    .process-line{ display:none; }
    .work-grid{ grid-template-columns:1fr; }
    .nav-links{ display:none; }
    .team-grid{ grid-template-columns:1fr; }
    .mv-panels{ grid-template-columns:1fr; }
    .values-grid{ grid-template-columns:repeat(2,1fr); }
    .contact-layout{ grid-template-columns:1fr; }
  }
